/** @file
AcpiSmmPlatform.c -- AcpiSmmPlatform
Auto-converted from IDA decompiler output.
Functions: 1
Copyright (c) HR650X BIOS Decompilation Project
**/
#include "AcpiSmmPlatform.h"
// Function: ModuleEntryPoint
EFI_STATUS
ModuleEntryPoint(
EFI_HANDLE ImageHandle,
EFI_SYSTEM_TABLE *SystemTable
)
{
__int64 v2;
EFI_STATUS v3;
sub_5E4(ImageHandle, SystemTable);
qword_77F8 = 0x8000000000000001uLL;
if ( !sub_2C0(&unk_7700) )
{
v2 = sub_C50();
if ( v2 >= 0 || qword_77F8 < 0 )
qword_77F8 = v2;
sub_1F20(&unk_7700);
sub_360(&unk_7700, -1);
sub_223C(
"e:\\hs\\Build\\HR6N0XMLK\\DEBUG_VS2015\\X64\\PurleyPlatPkg\\Acpi\\DxeSmm\\AcpiSmm\\AcpiSmmPlatform\\DEBUG\\AutoGen.c",
626,
"((BOOLEAN)(0==1))");
sub_223C(
"e:\\hs\\Build\\HR6N0XMLK\\DEBUG_VS2015\\X64\\PurleyPlatPkg\\Acpi\\DxeSmm\\AcpiSmm\\AcpiSmmPlatform\\DEBUG\\AutoGen.c",
641,
"((BOOLEAN)(0==1))");
}
v3 = qword_77F8;
if ( qword_77F8 < 0 )
sub_B8C();
return v3;
}