INT64 __fastcall KiMcheckAlternateReturn(UINT64 *a1){
INT64 result;
result = *(unsigned int *)a1;
if( (result & 4) != 0 )
{
WheaAttemptPhysicalPageOffline(a1[1] >> 12, 0, 1u);
result = *(unsigned int *)a1;
}
if( (result & 8) != 0 )
return WheaTerminateProcess();
return result;
}