PopPowerAggregatorModernStandbyExitStateHandler

NTSTATUS __stdcall PopPowerAggregatorModernStandbyExitStateHandler(INT64 a1){
  int v1; 

  v1 = *(_DWORD *)(a1 + 88);
  if( !v1 )
    goto LABEL_7;
  if( v1 == 1 )
  {
LABEL_10:
    PopPowerAggregatorDisengageModernStandby(a1);
    return 0;
  }
  if( v1 > 1 )
  {
    if( v1 > 3 )
    {
      if( v1 != 4 )
        return 0;
LABEL_8:
      if( *(_BYTE *)(a1 + 96) )
      {
        *(_DWORD *)(a1 + 88) = 1;
        goto LABEL_10;
      }
      return 0;
    }
LABEL_7:
    PopReleaseRwLock((_POP_RW_LOCK *)&PopIrpWorkerControlEvent + 187);
    PdcPoPerfOverride();
    PopPdcDisengagePhases();
    PopAcquireRwLockExclusive((_POP_RW_LOCK *)&PopIrpWorkerControlEvent + 187);
    *(_DWORD *)(a1 + 88) = 4;
    goto LABEL_8;
  }
  return 0;
}

Referenced by:

No references.