PopFxAcpiForwardPepAcpiNotifyRequest

LONG __fastcall PopFxAcpiForwardPepAcpiNotifyRequest(ULONG_PTR BugCheckParameter2, int *a2){
  LONG result; 
  __int64 v5[5]; 
  result = PopFxFindAndReferenceAcpiDevice((__int64 *)BugCheckParameter2);
  if( result >= 0 )
  {
    if( !*(_QWORD *)(BugCheckParameter2 + 80) )
      PopFxBugCheck(0x668ui64, BugCheckParameter2, *a2, 0i64);
    v5[1] = *((_QWORD *)&PopFxPlatformInterface + 1);
    v5[0] = 0i64;
    v5[2] = 0i64;
    v5[3] = (__int64)a2;
    ((void(__fastcall *)(__int64 *))PopFxPlatformInterface)(v5);
    result = _InterlockedExchangeAdd((volatile signed __int32 *)(BugCheckParameter2 + 276), 0xFFFFFFFF);
    if( result == 1 )
      return KeSetEvent((PRKEVENT)(BugCheckParameter2 + 280), 0);
  }
  return result;
}

Referenced by:

PopFxProcessWork