VOID __stdcall KeReadyThread(_ETHREAD *Thread){
_EPROCESS *Process;
UINT8 CurrentIrql;
char v4;
Process = Thread->Tcb.ApcState.Process;
if( (Process->Pcb.StackCount.Value & 7) == 0
|| (CurrentIrql = KeGetCurrentIrql(), __writecr8(2ui64), KiInSwapSingleProcess(Thread, Process, CurrentIrql), !v4) )
{
KiFastReadyThread(&Thread->Tcb);
}
}