/** @file
PchInitSmm.c -- PchInitSmm
Auto-converted from IDA decompiler output.
Functions: 1
Copyright (c) HR650X BIOS Decompilation Project
**/
#include "PchInitSmm.h"
// Function: ModuleEntryPoint
EFI_STATUS
ModuleEntryPoint(
EFI_HANDLE ImageHandle,
EFI_SYSTEM_TABLE *SystemTable
)
{
__int64 v3;
EFI_STATUS v4;
sub_5A8(ImageHandle, SystemTable);
qword_A0C8 = 0x8000000000000001uLL;
if ( !sub_330(&unk_9FD0) )
{
v3 = sub_101C(ImageHandle);
if ( v3 >= 0 || qword_A0C8 < 0 )
qword_A0C8 = v3;
sub_329C(&unk_9FD0);
sub_3D0(&unk_9FD0, -1);
sub_33BC(
"e:\\hs\\Build\\HR6N0XMLK\\DEBUG_VS2015\\X64\\PurleySktPkg\\SouthClusterLbg\\PchInit\\Smm\\PchInitSmm\\DEBUG\\AutoGen.c",
549,
"((BOOLEAN)(0==1))");
sub_33BC(
"e:\\hs\\Build\\HR6N0XMLK\\DEBUG_VS2015\\X64\\PurleySktPkg\\SouthClusterLbg\\PchInit\\Smm\\PchInitSmm\\DEBUG\\AutoGen.c",
564,
"((BOOLEAN)(0==1))");
}
v4 = qword_A0C8;
if ( qword_A0C8 < 0 )
sub_AD0();
return v4;
}