// Decompiled: 0xffe0783b
// Function: DwrCheck
// Module: TxtPei.efi (TXTPEI)
bool DwrCheck()
{
int v0; // eax
int v2; // [esp+4h] [ebp-4h] BYREF
v2 = 0; /*0xffe07840*/
PsfGrantCountConfig(&v2); /*0xffe07847*/
if ( !v2 ) /*0xffe07851*/
{
v0 = DebugPrintProtocol(); /*0xffe07853*/
if ( v0 ) /*0xffe0785a*/
(*(void (__cdecl **)(const char *, int, const char *))(v0 + 4))( /*0xffe0786b*/
"e:\\hs\\PurleySktPkg\\SouthClusterLbg\\Library\\PeiDxeSmmPchPmcLib\\PchPmcLib.c",
162,
"PchPwrmBase != 0");
return 0; /*0xffe0786b*/
}
return (*(_DWORD *)(v2 + 300) & 0x8000) != 0; /*0xffe07882*/
}