INT64 *__fastcall CmpAddToDelayedDeref(INT64 a1, INT64 a2){
INT64 *result;
INT64 **v3;
result = *(INT64 **)(a1 + 48);
if( result )
{
v3 = *(INT64 ***)(a2 + 8);
if( *v3 != (INT64 *)a2 )
__fastfail(3u);
*result = a2;
result[1] = (INT64)v3;
*v3 = result;
*(_QWORD *)(a2 + 8) = result;
*(_QWORD *)(a1 + 48) = 0i64;
}
return result;
}