PopStartStopTtmSxTranstion

INT64 __fastcall PopStartStopTtmSxTranstion(CHAR a1){
  unsigned int v1; 
  UINT64 v3; 
  _DWORD v4[4]; 
  _DWORD v5[2]; 
  __int128 v6; 
  v1 = 0;
  v4[2] = 0;
  v6 = 0i64;
  if( a1 )
  {
    if( !*(_BYTE *)PopTtmIsSxTransitionInProgress )
    {
      v5[0] = 5;
      v5[1] = 128;
      v4[0] = 2;
      v4[1] = 1;
      LODWORD(v3) = 1;
      PopExecutePowerAction((INT64)v5, 0i64, (INT64)v4, 4i64, v3);
    }
  }
  else if( *(_BYTE *)PopTtmIsSxTransitionInProgress )
  {
    PopTtmIsSxCompleteNotificationPending = 1;
    return 259;
  }
  return v1;
}

Referenced by:

PoTtmInitiatePowerStateTransition