BOOL __fastcall KiCanSelectSoftParkedProcessor(INT64 a1, INT64 a2){
bool v2;
BOOL result;
int v4;
__int64 v5;
__int64 v6;
v2 = 0;
result = a2;
if( KeSoftParkedQueueThreshold )
{
v5 = 0i64;
v6 = 0i64;
KeQueryReadyQueueStatsProcessor(a2, &v4, &v5, &v4, &v6);
result = KeSoftParkedQueueThreshold;
v2 = v5 + v6 > (unsigned __int64)(unsigned int)KeSoftParkedQueueThreshold;
}
LOBYTE(result) = v2;
return result;
}