PopDiagTraceClearDeepSleepConstraint

VOID __stdcall PopDiagTraceClearDeepSleepConstraint(INT64 a1, INT64 a2, NPTEXTMETRIC *a3){
  REGHANDLE v3; 
  _EVENT_DATA_DESCRIPTOR UserData; 
  int v5; 

  v5 = a1;
  if( PopDiagHandleRegistered )
  {
    v3 = PopDiagHandle;
    if( EtwEventEnabled(PopDiagHandle, &POP_ETW_DEEP_SLEEP_CLEAR_CONSTRAINT) )
    {
      UserData.Reserved = 0;
      UserData.Ptr = (unsigned __int64)&v5;
      UserData.Size = 4;
      EtwWriteEx(v3, &POP_ETW_DEEP_SLEEP_CLEAR_CONSTRAINT, 0i64, 0, 0, 0, 1u, &UserData);
    }
  }
}

Referenced by:

PopDeepSleepClearDisengageReason