INT64 __fastcall HalpStoreFreeCr3(UINT64 a1, INT64 a2){
unsigned int v2;
unsigned int v3;
_QWORD *v4;
v2 = 0;
v3 = 0;
v4 = (_QWORD *)(HiberFreeCR3 + ((unsigned __int64)(unsigned int)a1 << 7));
while( *v4 )
{
++v3;
++v4;
if( v3 >= 0x10 )
goto LABEL_6;
}
*(_QWORD *)(HiberFreeCR3 + 8 * (v3 + 16i64 * (unsigned int)a1)) = a2;
LABEL_6:
if( v3 == 16 )
return(unsigned int)-1073741670;
return v2;
}