PoFxCompleteIdleCondition

VOID __stdcall PoFxCompleteIdleCondition(POHANDLE *Handle, UINT64 Component){
  UINT64 v3; 
  int v4; 
  v3 = (unsigned int)Component;
  v4 = _InterlockedDecrement((volatile signed __int32 *)(*((_QWORD *)Handle[104] + (unsigned int)Component) + 136i64));
  if( !v4 )
  {
    PopFxAddLogEntry((INT64)Handle[6], Component, 13, 1i64);
    PopFxIdleWorkerTail((ULONG_PTR)Handle, (unsigned int)v3, 0i64);
  }
  if( v4 < 0 )
    PopFxBugCheck(0x613ui64, (UINT64)Handle, v3, 2ui64);
}

Referenced by:

HalpInterruptPowerComponentIdleCallback
HalpTimerPowerComponentIdleCallback