Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
#define UNLOADED_FILE 1
#include <idc.idc>
static main(void)
{
// set 'loading idc file' mode
set_inf_attr(INF_GENFLAGS, INFFL_LOADIDC|get_inf_attr(INF_GENFLAGS));
GenInfo(); // various settings
Segments(); // segmentation
Enums(); // enumerations
Structures(); // structure types
ApplyStrucTInfos(); // structure type infos
Patches(); // manual patches
SegRegs(); // segment register values
Bytes(); // individual bytes (code,data)
Functions(); // function definitions
// clear 'loading idc file' mode
set_inf_attr(INF_GENFLAGS, ~INFFL_LOADIDC&get_inf_attr(INF_GENFLAGS));
}
//------------------------------------------------------------------------
// General information
static GenInfo(void) {
delete_all_segments(); // purge database
set_processor_type("ARM", SETPROC_USER);
set_inf_attr(INF_COMPILER, 1);
set_inf_attr(INF_STRLIT_BREAK, 0xA);
set_flag(INF_CMTFLAG, SW_ALLCMT, 0);
set_flag(INF_OUTFLAGS, OFLG_SHOW_VOID, 0);
set_inf_attr(INF_XREFNUM, 2);
set_flag(INF_OUTFLAGS, OFLG_SHOW_AUTO, 1);
set_inf_attr(INF_INDENT, 16);
set_inf_attr(INF_COMMENT, 40);
set_inf_attr(INF_MAXREF, 0x10);
}
//------------------------------------------------------------------------
// Information about segmentation
static Segments(void) {
set_selector(0X1,0);
set_selector(0X2,0X1F01FA80);
set_selector(0X3,0);
set_selector(0X4,0);
set_selector(0X5,0);
set_selector(0X6,0);
;
add_segm_ex(0X40010000,0X40020000,0X1,2,1,2,ADDSEG_NOSREG);
SegRename(0X40010000,".pk1_init");
SegClass (0X40010000,"CODE");
SegDefReg(0x40010000,"T",0x0);
SegDefReg(0x40010000,"DS",0x1);
set_segm_type(0X40010000,2);
add_segm_ex(0X7C010000,0X7C020000,0X1,2,1,2,ADDSEG_NOSREG);
SegRename(0X7C010000,".tzidentity");
SegClass (0X7C010000,"CODE");
SegDefReg(0x7C010000,"T",0x0);
SegDefReg(0x7C010000,"DS",0x1);
set_segm_type(0X7C010000,2);
add_segm_ex(0X1F0000000,0X1F0001000,0X1,2,1,2,ADDSEG_NOSREG);
SegRename(0X1F0000000,".interruptdistributor");
SegClass (0X1F0000000,"IO");
SegDefReg(0x1F0000000,"T",0x0);
SegDefReg(0x1F0000000,"DS",0x1);
add_segm_ex(0X1F0002000,0X1F0003000,0X1,2,1,2,ADDSEG_NOSREG);
SegRename(0X1F0002000,".interruptcontroller");
SegClass (0X1F0002000,"IO");
SegDefReg(0x1F0002000,"T",0x0);
SegDefReg(0x1F0002000,"DS",0x1);
add_segm_ex(0X1F0005000,0X1F0006000,0X1,2,1,2,ADDSEG_NOSREG);
SegRename(0X1F0005000,".uarta");
SegClass (0X1F0005000,"IO");
SegDefReg(0x1F0005000,"T",0x0);
SegDefReg(0x1F0005000,"DS",0x1);
add_segm_ex(0X1F0007000,0X1F0008000,0X1,2,1,2,ADDSEG_NOSREG);
SegRename(0X1F0007000,".clockreset");
SegClass (0X1F0007000,"IO");
SegDefReg(0x1F0007000,"T",0x0);
SegDefReg(0x1F0007000,"DS",0x1);
add_segm_ex(0X1F0009000,0X1F000A000,0X1,2,1,2,ADDSEG_NOSREG);
SegRename(0X1F0009000,".rtcpmc");
SegClass (0X1F0009000,"IO");
SegDefReg(0x1F0009000,"T",0x0);
SegDefReg(0x1F0009000,"DS",0x1);
add_segm_ex(0X1F000B000,0X1F000C000,0X1,2,1,2,ADDSEG_NOSREG);
SegRename(0X1F000B000,".timers");
SegClass (0X1F000B000,"IO");
SegDefReg(0x1F000B000,"T",0x0);
SegDefReg(0x1F000B000,"DS",0x1);
add_segm_ex(0X1F000D000,0X1F000E000,0X1,2,1,2,ADDSEG_NOSREG);
SegRename(0X1F000D000,".system");
SegClass (0X1F000D000,"IO");
SegDefReg(0x1F000D000,"T",0x0);
SegDefReg(0x1F000D000,"DS",0x1);
add_segm_ex(0X1F000F000,0X1F0011000,0X1,2,1,2,ADDSEG_NOSREG);
SegRename(0X1F000F000,".securityengine");
SegClass (0X1F000F000,"IO");
SegDefReg(0x1F000F000,"T",0x0);
SegDefReg(0x1F000F000,"DS",0x1);
add_segm_ex(0X1F0012000,0X1F0013000,0X1,2,1,2,ADDSEG_NOSREG);
SegRename(0X1F0012000,".sysctr0");
SegClass (0X1F0012000,"IO");
SegDefReg(0x1F0012000,"T",0x0);
SegDefReg(0x1F0012000,"DS",0x1);
add_segm_ex(0X1F0014000,0X1F0015000,0X1,2,1,2,ADDSEG_NOSREG);
SegRename(0X1F0014000,".memorycontroller");
SegClass (0X1F0014000,"IO");
SegDefReg(0x1F0014000,"T",0x0);
SegDefReg(0x1F0014000,"DS",0x1);
add_segm_ex(0X1F0016000,0X1F0017000,0X1,2,1,2,ADDSEG_NOSREG);
SegRename(0X1F0016000,".fuses");
SegClass (0X1F0016000,"IO");
SegDefReg(0x1F0016000,"T",0x0);
SegDefReg(0x1F0016000,"DS",0x1);
add_segm_ex(0X1F0018000,0X1F001C000,0X1,2,1,2,ADDSEG_NOSREG);
SegRename(0X1F0018000,".misc");
SegClass (0X1F0018000,"IO");
SegDefReg(0x1F0018000,"T",0x0);
SegDefReg(0x1F0018000,"DS",0x1);
add_segm_ex(0X1F001D000,0X1F001E000,0X1,2,1,2,ADDSEG_NOSREG);
SegRename(0X1F001D000,".flowcontroller");
SegClass (0X1F001D000,"IO");
SegDefReg(0x1F001D000,"T",0x0);
SegDefReg(0x1F001D000,"DS",0x1);
add_segm_ex(0X1F001F000,0X1F0020000,0X1,2,1,2,ADDSEG_NOSREG);
SegRename(0X1F001F000,".iram40002000");
SegClass (0X1F001F000,"DATA");
SegDefReg(0x1F001F000,"T",0x0);
SegDefReg(0x1F001F000,"DS",0x1);
set_segm_type(0X1F001F000,3);
add_segm_ex(0X1F0021000,0X1F0022000,0X1,2,1,2,ADDSEG_NOSREG);
SegRename(0X1F0021000,".i2c5");
SegClass (0X1F0021000,"IO");
SegDefReg(0x1F0021000,"T",0x0);
SegDefReg(0x1F0021000,"DS",0x1);
add_segm_ex(0X1F0023000,0X1F0024000,0X1,2,1,2,ADDSEG_NOSREG);
SegRename(0X1F0023000,".gpio1");
SegClass (0X1F0023000,"IO");
SegDefReg(0x1F0023000,"T",0x0);
SegDefReg(0x1F0023000,"DS",0x1);
add_segm_ex(0X1F0025000,0X1F0026000,0X1,2,1,2,ADDSEG_NOSREG);
SegRename(0X1F0025000,".i2c1");
SegClass (0X1F0025000,"IO");
SegDefReg(0x1F0025000,"T",0x0);
SegDefReg(0x1F0025000,"DS",0x1);
add_segm_ex(0X1F0180000,0X1F0190000,0X1,2,1,2,ADDSEG_NOSREG);
SegRename(0X1F0180000,".iram40020000");
SegClass (0X1F0180000,"DATA");
SegDefReg(0x1F0180000,"T",0x0);
SegDefReg(0x1F0180000,"DS",0x1);
set_segm_type(0X1F0180000,3);
add_segm_ex(0X1F01A0000,0X1F01B0000,0X1,2,1,2,ADDSEG_NOSREG);
SegRename(0X1F01A0000,".tzramraw");
SegClass (0X1F01A0000,"DATA");
SegDefReg(0x1F01A0000,"T",0x0);
SegDefReg(0x1F01A0000,"DS",0x1);
set_segm_type(0X1F01A0000,3);
add_segm_ex(0X1F01C2000,0X1F01C3000,0X1,2,1,2,ADDSEG_NOSREG);
SegRename(0X1F01C2000,".ememse");
SegClass (0X1F01C2000,"DATA");
SegDefReg(0x1F01C2000,"T",0x0);
SegDefReg(0x1F01C2000,"DS",0x1);
set_segm_type(0X1F01C2000,3);
add_segm_ex(0X1F01C3000,0X1F01D3000,0X1,2,1,2,ADDSEG_NOSREG);
SegRename(0X1F01C3000,".ememtz");
SegClass (0X1F01C3000,"DATA");
SegDefReg(0x1F01C3000,"T",0x0);
SegDefReg(0x1F01C3000,"DS",0x1);
set_segm_type(0X1F01C3000,3);
add_segm_ex(0X1F01E0000,0X1F01E6340,0,2,1,5,ADDSEG_NOSREG);
SegRename(0X1F01E0000,".text");
SegClass (0X1F01E0000,"CODE");
SegDefReg(0x1F01E0000,"T",0x0);
SegDefReg(0x1F01E0000,"DS",0x0);
set_segm_type(0X1F01E0000,2);
add_segm_ex(0X1F01E6340,0X1F01EB000,0X1,2,1,2,ADDSEG_NOSREG);
SegRename(0X1F01E6340,".rwdata");
SegClass (0X1F01E6340,"DATA");
SegDefReg(0x1F01E6340,"T",0x0);
SegDefReg(0x1F01E6340,"DS",0x1);
set_segm_type(0X1F01E6340,3);
add_segm_ex(0X1F01F0000,0X1F01F2000,0X1,2,1,2,ADDSEG_NOSREG);
SegRename(0X1F01F0000,".pk2ldr");
SegClass (0X1F01F0000,"CODE");
SegDefReg(0x1F01F0000,"T",0x0);
SegDefReg(0x1F01F0000,"DS",0x1);
set_segm_type(0X1F01F0000,2);
add_segm_ex(0X1F01F6000,0X1F01F7000,0X1,2,1,2,ADDSEG_NOSREG);
SegRename(0X1F01F6000,".armv8bootlow");
SegClass (0X1F01F6000,"DATA");
SegDefReg(0x1F01F6000,"T",0x0);
SegDefReg(0x1F01F6000,"DS",0x1);
set_segm_type(0X1F01F6000,3);
add_segm_ex(0X1F01F8000,0X1F01F9000,0X1,2,1,2,ADDSEG_NOSREG);
SegRename(0X1F01F8000,".armv8boothigh");
SegClass (0X1F01F8000,"DATA");
SegDefReg(0x1F01F8000,"T",0x0);
SegDefReg(0x1F01F8000,"DS",0x1);
set_segm_type(0X1F01F8000,3);
add_segm_ex(0X1F01FA000,0X1F01FB000,0X1,2,1,2,ADDSEG_NOSREG);
SegRename(0X1F01FA000,".exceptionvectors");
SegClass (0X1F01FA000,"CODE");
SegDefReg(0x1F01FA000,"T",0x0);
SegDefReg(0x1F01FA000,"DS",0x1);
set_segm_type(0X1F01FA000,2);
add_segm_ex(0X1F01FC000,0X1F01FD000,0X1,2,1,2,ADDSEG_NOSREG);
SegRename(0X1F01FC000,".tzramlow");
SegClass (0X1F01FC000,"DATA");
SegDefReg(0x1F01FC000,"T",0x0);
SegDefReg(0x1F01FC000,"DS",0x1);
set_segm_type(0X1F01FC000,3);
add_segm_ex(0X1F01FE000,0X1F01FF000,0X1,2,1,2,ADDSEG_NOSREG);
SegRename(0X1F01FE000,".tzramhigh");
SegClass (0X1F01FE000,"DATA");
SegDefReg(0x1F01FE000,"T",0x0);
SegDefReg(0x1F01FE000,"DS",0x1);
set_segm_type(0X1F01FE000,3);
set_inf_attr(INF_LOW_OFF, 0x40010000);
set_inf_attr(INF_HIGH_OFF, 0x1F01FF000);
}
//------------------------------------------------------------------------
// Information about enum types
static Enums(void) {
auto id;
begin_type_updating(UTP_ENUM);
end_type_updating(UTP_ENUM);
}
static ApplyStrucTInfos_0(void) {
auto id;
id = get_struc_id("securityEngine_t");
SetType(get_member_id(id, 0x0), "unsigned int");
SetType(get_member_id(id, 0x4), "unsigned int");
SetType(get_member_id(id, 0x8), "unsigned int");
SetType(get_member_id(id, 0xC), "unsigned int");
SetType(get_member_id(id, 0x10), "unsigned int");
SetType(get_member_id(id, 0x14), "unsigned int");
SetType(get_member_id(id, 0x18), "unsigned int");
SetType(get_member_id(id, 0x1C), "unsigned int");
SetType(get_member_id(id, 0x20), "unsigned int");
SetType(get_member_id(id, 0x24), "unsigned int");
SetType(get_member_id(id, 0x28), "unsigned int");
SetType(get_member_id(id, 0x2C), "unsigned int");
SetType(get_member_id(id, 0x30), "unsigned __int8[32]");
SetType(get_member_id(id, 0x50), "unsigned __int8[32]");
SetType(get_member_id(id, 0x70), "unsigned int");
SetType(get_member_id(id, 0x74), "unsigned __int8[396]");
SetType(get_member_id(id, 0x200), "unsigned int");
SetType(get_member_id(id, 0x204), "unsigned int");
SetType(get_member_id(id, 0x208), "unsigned int");
SetType(get_member_id(id, 0x20C), "unsigned int");
SetType(get_member_id(id, 0x210), "unsigned int");
SetType(get_member_id(id, 0x214), "unsigned int");
SetType(get_member_id(id, 0x218), "unsigned int");
SetType(get_member_id(id, 0x21C), "unsigned int");
SetType(get_member_id(id, 0x220), "unsigned int");
SetType(get_member_id(id, 0x224), "unsigned __int8[92]");
SetType(get_member_id(id, 0x280), "unsigned int");
SetType(get_member_id(id, 0x284), "unsigned int[16]");
SetType(get_member_id(id, 0x2C4), "unsigned __int8[60]");
SetType(get_member_id(id, 0x300), "unsigned int");
SetType(get_member_id(id, 0x304), "unsigned int");
SetType(get_member_id(id, 0x308), "unsigned int[4]");
SetType(get_member_id(id, 0x318), "unsigned int");
SetType(get_member_id(id, 0x31C), "unsigned int");
SetType(get_member_id(id, 0x320), "unsigned int");
SetType(get_member_id(id, 0x324), "unsigned int");
SetType(get_member_id(id, 0x328), "unsigned int");
SetType(get_member_id(id, 0x32C), "unsigned int");
SetType(get_member_id(id, 0x330), "unsigned int");
SetType(get_member_id(id, 0x334), "unsigned __int8[12]");
SetType(get_member_id(id, 0x340), "unsigned int");
SetType(get_member_id(id, 0x344), "unsigned int");
SetType(get_member_id(id, 0x348), "unsigned int");
SetType(get_member_id(id, 0x34C), "unsigned __int8[180]");
SetType(get_member_id(id, 0x400), "unsigned int");
SetType(get_member_id(id, 0x404), "unsigned int");
SetType(get_member_id(id, 0x408), "unsigned int");
SetType(get_member_id(id, 0x40C), "unsigned int");
SetType(get_member_id(id, 0x410), "unsigned int[2]");
SetType(get_member_id(id, 0x418), "unsigned int");
SetType(get_member_id(id, 0x41C), "unsigned int");
SetType(get_member_id(id, 0x420), "unsigned int");
SetType(get_member_id(id, 0x424), "unsigned int");
SetType(get_member_id(id, 0x428), "unsigned __int8[256]");
SetType(get_member_id(id, 0x528), "unsigned __int8[728]");
SetType(get_member_id(id, 0x800), "unsigned int");
SetType(get_member_id(id, 0x804), "unsigned int");
SetType(get_member_id(id, 0x808), "unsigned int");
SetType(get_member_id(id, 0x80C), "unsigned int");
SetType(get_member_id(id, 0x810), "unsigned int");
SetType(get_member_id(id, 0x814), "unsigned int");
SetType(get_member_id(id, 0x818), "unsigned int");
SetType(get_member_id(id, 0x81C), "unsigned int");
SetType(get_member_id(id, 0x820), "unsigned __int8[6112]");
id = get_struc_id("security_carveout_t");
SetType(get_member_id(id, 0x0), "_DWORD");
SetType(get_member_id(id, 0x4), "_DWORD");
SetType(get_member_id(id, 0x8), "_DWORD");
SetType(get_member_id(id, 0xC), "_DWORD");
SetType(get_member_id(id, 0x10), "_DWORD");
SetType(get_member_id(id, 0x14), "_DWORD");
SetType(get_member_id(id, 0x18), "_DWORD");
SetType(get_member_id(id, 0x1C), "_DWORD");
SetType(get_member_id(id, 0x20), "_DWORD");
SetType(get_member_id(id, 0x24), "_DWORD");
SetType(get_member_id(id, 0x28), "_DWORD");
SetType(get_member_id(id, 0x2C), "_DWORD");
SetType(get_member_id(id, 0x30), "_DWORD");
SetType(get_member_id(id, 0x34), "_DWORD");
SetType(get_member_id(id, 0x38), "_BYTE[24]");
id = get_struc_id("registeredInterrupt");
SetType(get_member_id(id, 0x0), "unsigned int");
SetType(get_member_id(id, 0x8), "void (*)(void)");
id = get_struc_id("savedCpuContext");
SetType(get_member_id(id, 0x0), "_QWORD");
SetType(get_member_id(id, 0x8), "_QWORD");
SetType(get_member_id(id, 0x10), "_BYTE");
SetType(get_member_id(id, 0x11), "_BYTE");
SetType(get_member_id(id, 0x18), "_DWORD");
SetType(get_member_id(id, 0x1C), "_DWORD");
SetType(get_member_id(id, 0x20), "_DWORD");
SetType(get_member_id(id, 0x24), "_DWORD");
SetType(get_member_id(id, 0x28), "_DWORD");
SetType(get_member_id(id, 0x2C), "_DWORD");
SetType(get_member_id(id, 0x30), "_DWORD");
SetType(get_member_id(id, 0x34), "_DWORD");
SetType(get_member_id(id, 0x38), "_DWORD");
SetType(get_member_id(id, 0x3C), "_DWORD");
SetType(get_member_id(id, 0x40), "_QWORD");
SetType(get_member_id(id, 0x48), "_QWORD");
SetType(get_member_id(id, 0x50), "_QWORD");
SetType(get_member_id(id, 0x58), "_QWORD");
SetType(get_member_id(id, 0x60), "_QWORD");
SetType(get_member_id(id, 0x68), "_QWORD");
SetType(get_member_id(id, 0x70), "_QWORD");
SetType(get_member_id(id, 0x78), "_QWORD");
SetType(get_member_id(id, 0x80), "_QWORD");
SetType(get_member_id(id, 0x88), "_QWORD");
SetType(get_member_id(id, 0x90), "_QWORD");
SetType(get_member_id(id, 0x98), "_QWORD");
SetType(get_member_id(id, 0xA0), "_QWORD");
SetType(get_member_id(id, 0xA8), "_QWORD");
SetType(get_member_id(id, 0xB0), "_QWORD");
SetType(get_member_id(id, 0xB8), "_QWORD");
SetType(get_member_id(id, 0xC0), "_QWORD");
SetType(get_member_id(id, 0xC8), "_QWORD");
SetType(get_member_id(id, 0xD0), "_QWORD");
SetType(get_member_id(id, 0xD8), "_QWORD");
id = get_struc_id("FlowControllerRegisterOffset");
SetType(get_member_id(id, 0x0), "unsigned __int16");
SetType(get_member_id(id, 0x2), "unsigned __int16");
SetType(get_member_id(id, 0x4), "unsigned __int16");
id = get_struc_id("FuseRegisters");
SetType(get_member_id(id, 0x0), "_DWORD");
SetType(get_member_id(id, 0x4), "_DWORD");
SetType(get_member_id(id, 0x8), "_DWORD");
SetType(get_member_id(id, 0xC), "_DWORD");
SetType(get_member_id(id, 0x10), "_DWORD");
SetType(get_member_id(id, 0x14), "_DWORD");
SetType(get_member_id(id, 0x18), "_DWORD");
SetType(get_member_id(id, 0x1C), "_DWORD");
SetType(get_member_id(id, 0x20), "_DWORD");
SetType(get_member_id(id, 0x24), "_DWORD");
SetType(get_member_id(id, 0x28), "_DWORD");
SetType(get_member_id(id, 0x2C), "_DWORD");
SetType(get_member_id(id, 0x30), "_DWORD");
SetType(get_member_id(id, 0x34), "_DWORD");
SetType(get_member_id(id, 0x38), "_DWORD[50]");
SetType(get_member_id(id, 0x100), "_DWORD");
SetType(get_member_id(id, 0x104), "_DWORD");
SetType(get_member_id(id, 0x108), "_DWORD");
SetType(get_member_id(id, 0x10C), "_DWORD");
SetType(get_member_id(id, 0x110), "_DWORD");
SetType(get_member_id(id, 0x114), "_DWORD");
SetType(get_member_id(id, 0x118), "_DWORD");
SetType(get_member_id(id, 0x11C), "_DWORD");
SetType(get_member_id(id, 0x120), "_DWORD");
SetType(get_member_id(id, 0x124), "_DWORD");
SetType(get_member_id(id, 0x128), "_DWORD");
SetType(get_member_id(id, 0x12C), "_DWORD");
SetType(get_member_id(id, 0x130), "_DWORD");
SetType(get_member_id(id, 0x134), "_DWORD");
SetType(get_member_id(id, 0x138), "_DWORD");
SetType(get_member_id(id, 0x13C), "_DWORD");
SetType(get_member_id(id, 0x140), "_DWORD");
SetType(get_member_id(id, 0x144), "_DWORD");
SetType(get_member_id(id, 0x148), "_DWORD");
SetType(get_member_id(id, 0x14C), "_DWORD");
SetType(get_member_id(id, 0x150), "_DWORD");
SetType(get_member_id(id, 0x154), "_DWORD");
SetType(get_member_id(id, 0x158), "_DWORD");
SetType(get_member_id(id, 0x15C), "_DWORD");
SetType(get_member_id(id, 0x160), "_DWORD");
SetType(get_member_id(id, 0x164), "_DWORD[8]");
SetType(get_member_id(id, 0x184), "_DWORD");
SetType(get_member_id(id, 0x188), "_DWORD");
SetType(get_member_id(id, 0x18C), "_DWORD");
SetType(get_member_id(id, 0x190), "_DWORD");
SetType(get_member_id(id, 0x194), "_DWORD");
SetType(get_member_id(id, 0x198), "_DWORD");
SetType(get_member_id(id, 0x19C), "_DWORD");
SetType(get_member_id(id, 0x1A0), "_DWORD");
SetType(get_member_id(id, 0x1A4), "_DWORD[4]");
SetType(get_member_id(id, 0x1B4), "_DWORD");
SetType(get_member_id(id, 0x1B8), "_DWORD");
SetType(get_member_id(id, 0x1BC), "_DWORD");
SetType(get_member_id(id, 0x1C0), "_DWORD");
SetType(get_member_id(id, 0x1C4), "_DWORD");
SetType(get_member_id(id, 0x1C8), "_DWORD[8]");
SetType(get_member_id(id, 0x1E8), "_DWORD");
SetType(get_member_id(id, 0x1EC), "_DWORD");
SetType(get_member_id(id, 0x1F0), "_DWORD");
SetType(get_member_id(id, 0x1F4), "_DWORD");
SetType(get_member_id(id, 0x1F8), "_DWORD");
SetType(get_member_id(id, 0x1FC), "_DWORD");
SetType(get_member_id(id, 0x200), "_DWORD");
SetType(get_member_id(id, 0x204), "_DWORD");
SetType(get_member_id(id, 0x208), "_DWORD");
SetType(get_member_id(id, 0x20C), "_DWORD");
SetType(get_member_id(id, 0x210), "_DWORD");
SetType(get_member_id(id, 0x214), "_DWORD");
SetType(get_member_id(id, 0x218), "_DWORD");
SetType(get_member_id(id, 0x21C), "_DWORD");
SetType(get_member_id(id, 0x220), "_DWORD");
SetType(get_member_id(id, 0x224), "_DWORD");
SetType(get_member_id(id, 0x228), "_DWORD");
SetType(get_member_id(id, 0x22C), "_DWORD");
SetType(get_member_id(id, 0x230), "_DWORD");
SetType(get_member_id(id, 0x234), "_DWORD");
SetType(get_member_id(id, 0x238), "_DWORD");
SetType(get_member_id(id, 0x23C), "_DWORD");
SetType(get_member_id(id, 0x240), "_DWORD");
SetType(get_member_id(id, 0x244), "_DWORD");
SetType(get_member_id(id, 0x248), "_DWORD");
SetType(get_member_id(id, 0x24C), "_DWORD");
SetType(get_member_id(id, 0x250), "_DWORD");
SetType(get_member_id(id, 0x254), "_DWORD");
SetType(get_member_id(id, 0x258), "_DWORD");
SetType(get_member_id(id, 0x25C), "_DWORD");
SetType(get_member_id(id, 0x260), "_DWORD");
SetType(get_member_id(id, 0x264), "_DWORD");
SetType(get_member_id(id, 0x268), "_DWORD");
SetType(get_member_id(id, 0x26C), "_DWORD");
SetType(get_member_id(id, 0x270), "_DWORD");
SetType(get_member_id(id, 0x274), "_DWORD");
SetType(get_member_id(id, 0x278), "_DWORD");
SetType(get_member_id(id, 0x27C), "_DWORD");
SetType(get_member_id(id, 0x280), "_DWORD");
SetType(get_member_id(id, 0x284), "_DWORD");
SetType(get_member_id(id, 0x288), "_DWORD");
SetType(get_member_id(id, 0x28C), "_DWORD");
SetType(get_member_id(id, 0x290), "_DWORD");
SetType(get_member_id(id, 0x294), "_DWORD");
SetType(get_member_id(id, 0x298), "_DWORD");
SetType(get_member_id(id, 0x29C), "_DWORD");
SetType(get_member_id(id, 0x2A0), "_DWORD");
SetType(get_member_id(id, 0x2A4), "_DWORD");
SetType(get_member_id(id, 0x2A8), "_DWORD");
SetType(get_member_id(id, 0x2AC), "_DWORD");
SetType(get_member_id(id, 0x2B0), "_DWORD");
SetType(get_member_id(id, 0x2B4), "_DWORD");
SetType(get_member_id(id, 0x2B8), "_DWORD");
SetType(get_member_id(id, 0x2BC), "_DWORD");
SetType(get_member_id(id, 0x2C0), "_DWORD");
SetType(get_member_id(id, 0x2C4), "_DWORD");
SetType(get_member_id(id, 0x2C8), "_DWORD");
SetType(get_member_id(id, 0x2CC), "_DWORD");
SetType(get_member_id(id, 0x2D0), "_DWORD");
SetType(get_member_id(id, 0x2D4), "_DWORD");
SetType(get_member_id(id, 0x2D8), "_DWORD");
SetType(get_member_id(id, 0x2DC), "_DWORD");
SetType(get_member_id(id, 0x2E0), "_DWORD");
SetType(get_member_id(id, 0x2E4), "_DWORD");
SetType(get_member_id(id, 0x2E8), "_DWORD");
SetType(get_member_id(id, 0x2EC), "_DWORD");
SetType(get_member_id(id, 0x2F0), "_DWORD");
SetType(get_member_id(id, 0x2F4), "_DWORD");
SetType(get_member_id(id, 0x2F8), "_DWORD");
SetType(get_member_id(id, 0x2FC), "_DWORD");
SetType(get_member_id(id, 0x300), "_DWORD");
SetType(get_member_id(id, 0x304), "_DWORD");
SetType(get_member_id(id, 0x308), "_DWORD");
SetType(get_member_id(id, 0x30C), "_DWORD");
SetType(get_member_id(id, 0x310), "_DWORD");
SetType(get_member_id(id, 0x314), "_DWORD");
SetType(get_member_id(id, 0x318), "_DWORD");
SetType(get_member_id(id, 0x31C), "_DWORD");
SetType(get_member_id(id, 0x320), "_DWORD");
SetType(get_member_id(id, 0x324), "_DWORD");
SetType(get_member_id(id, 0x328), "_DWORD");
SetType(get_member_id(id, 0x32C), "_DWORD");
SetType(get_member_id(id, 0x330), "_DWORD");
SetType(get_member_id(id, 0x334), "_DWORD");
SetType(get_member_id(id, 0x338), "_DWORD");
SetType(get_member_id(id, 0x33C), "_DWORD");
SetType(get_member_id(id, 0x340), "_DWORD");
SetType(get_member_id(id, 0x344), "_DWORD");
SetType(get_member_id(id, 0x348), "_DWORD");
SetType(get_member_id(id, 0x34C), "_DWORD");
SetType(get_member_id(id, 0x350), "_DWORD");
SetType(get_member_id(id, 0x354), "_DWORD");
SetType(get_member_id(id, 0x358), "_DWORD");
SetType(get_member_id(id, 0x35C), "_DWORD");
SetType(get_member_id(id, 0x360), "_DWORD");
SetType(get_member_id(id, 0x364), "_DWORD");
SetType(get_member_id(id, 0x368), "_DWORD");
SetType(get_member_id(id, 0x36C), "_DWORD");
SetType(get_member_id(id, 0x370), "_DWORD[32]");
id = get_struc_id("package2Header");
SetType(get_member_id(id, 0x0), "unsigned __int8[16]");
SetType(get_member_id(id, 0x10), "unsigned __int8[4][16]");
SetType(get_member_id(id, 0x50), "unsigned int");
SetType(get_member_id(id, 0x54), "unsigned int");
SetType(get_member_id(id, 0x58), "unsigned int");
SetType(get_member_id(id, 0x5C), "unsigned __int8");
SetType(get_member_id(id, 0x5D), "unsigned __int8");
SetType(get_member_id(id, 0x5E), "unsigned __int16");
SetType(get_member_id(id, 0x60), "unsigned int[4]");
SetType(get_member_id(id, 0x70), "unsigned int[4]");
SetType(get_member_id(id, 0x80), "unsigned __int8[4][32]");
id = get_struc_id("smc_args_t");
SetType(get_member_id(id, 0x0), "_QWORD[8]");
id = get_struc_id("smc_list");
SetType(get_member_id(id, 0x0), "smc_list_entry *");
SetType(get_member_id(id, 0x8), "signed int");
SetType(get_member_id(id, 0xC), "_DWORD");
id = get_struc_id("smc_list_entry");
SetType(get_member_id(id, 0x0), "_DWORD");
SetType(get_member_id(id, 0x4), "_DWORD");
SetType(get_member_id(id, 0x8), "_QWORD (__fastcall *)(smc_args_t *arg)");
id = get_struc_id("UserPageRef");
SetType(get_member_id(id, 0x0), "void *");
SetType(get_member_id(id, 0x8), "void *");
id = get_struc_id("CryptoUseCaseSeeds");
SetType(get_member_id(id, 0x0), "char[5][16]");
SetType(get_member_id(id, 0x1), "CryptoUseCaseSeeds_seeds");
id = get_struc_id("CryptoUseCaseSeeds_seeds");
SetType(get_member_id(id, 0x0), "char[16]");
SetType(get_member_id(id, 0x10), "char[16]");
SetType(get_member_id(id, 0x20), "char[16]");
SetType(get_member_id(id, 0x30), "char[16]");
SetType(get_member_id(id, 0x40), "char[16]");
id = get_struc_id("AesGcmContext");
SetType(get_member_id(id, 0x0), "_DWORD");
SetType(get_member_id(id, 0x4), "_DWORD");
SetType(get_member_id(id, 0x8), "GcmContext");
id = get_struc_id("GcmContext");
SetType(get_member_id(id, 0x0), "_DWORD");
SetType(get_member_id(id, 0x4), "_DWORD");
SetType(get_member_id(id, 0x8), "AesGcmContext *");
SetType(get_member_id(id, 0x10), "_QWORD");
SetType(get_member_id(id, 0x18), "_QWORD");
SetType(get_member_id(id, 0x20), "__n128");
SetType(get_member_id(id, 0x30), "_QWORD");
SetType(get_member_id(id, 0x38), "_QWORD");
SetType(get_member_id(id, 0x40), "_QWORD");
SetType(get_member_id(id, 0x48), "_QWORD");
SetType(get_member_id(id, 0x50), "__n128");
SetType(get_member_id(id, 0x60), "_QWORD");
SetType(get_member_id(id, 0x68), "_QWORD");
SetType(get_member_id(id, 0x70), "_QWORD");
SetType(get_member_id(id, 0x78), "_QWORD");
SetType(get_member_id(id, 0x80), "_QWORD");
SetType(get_member_id(id, 0x88), "_QWORD");
SetType(get_member_id(id, 0x90), "__n128");
SetType(get_member_id(id, 0xA0), "_QWORD");
SetType(get_member_id(id, 0xA8), "_QWORD");
SetType(get_member_id(id, 0xB0), "_QWORD");
SetType(get_member_id(id, 0xB8), "_QWORD");
SetType(get_member_id(id, 0xC0), "_QWORD");
SetType(get_member_id(id, 0xC8), "_QWORD");
SetType(get_member_id(id, 0xD0), "_QWORD");
SetType(get_member_id(id, 0xD8), "_QWORD");
SetType(get_member_id(id, 0xE0), "_QWORD");
SetType(get_member_id(id, 0xE8), "_QWORD");
SetType(get_member_id(id, 0xF0), "_QWORD");
SetType(get_member_id(id, 0xF8), "_QWORD");
SetType(get_member_id(id, 0x100), "_QWORD");
SetType(get_member_id(id, 0x108), "_QWORD");
SetType(get_member_id(id, 0x110), "_QWORD");
SetType(get_member_id(id, 0x118), "_QWORD");
SetType(get_member_id(id, 0x120), "_QWORD");
SetType(get_member_id(id, 0x128), "_QWORD");
SetType(get_member_id(id, 0x130), "_QWORD");
SetType(get_member_id(id, 0x138), "_QWORD");
SetType(get_member_id(id, 0x140), "_QWORD");
SetType(get_member_id(id, 0x148), "_QWORD");
SetType(get_member_id(id, 0x150), "_QWORD");
SetType(get_member_id(id, 0x158), "_QWORD");
SetType(get_member_id(id, 0x160), "_QWORD");
SetType(get_member_id(id, 0x168), "_QWORD");
SetType(get_member_id(id, 0x170), "_QWORD");
SetType(get_member_id(id, 0x178), "_QWORD");
SetType(get_member_id(id, 0x180), "_QWORD");
id = get_struc_id("__n128");
SetType(get_member_id(id, 0x0), "unsigned __int64[2]");
SetType(get_member_id(id, 0x1), "unsigned __int32[4]");
SetType(get_member_id(id, 0x2), "unsigned __int16[8]");
SetType(get_member_id(id, 0x3), "unsigned __int8[16]");
SetType(get_member_id(id, 0x4), "__int64[2]");
SetType(get_member_id(id, 0x5), "__int32[4]");
SetType(get_member_id(id, 0x6), "__int16[8]");
SetType(get_member_id(id, 0x7), "__int8[16]");
SetType(get_member_id(id, 0x8), "float[4]");
SetType(get_member_id(id, 0x9), "double[2]");
return id;
}
//------------------------------------------------------------------------
// Information about type information for structure members
static ApplyStrucTInfos() {
ApplyStrucTInfos_0();
}
static Structures_0(id) {
auto mid;
id = add_struc(-1,"securityEngine_t",0);
id = add_struc(-1,"security_carveout_t",0);
id = add_struc(-1,"registeredInterrupt",0);
id = add_struc(-1,"savedCpuContext",0);
id = add_struc(-1,"FlowControllerRegisterOffset",0);
id = add_struc(-1,"FuseRegisters",0);
id = add_struc(-1,"package2Header",0);
id = add_struc(-1,"smc_args_t",0);
id = add_struc(-1,"smc_list",0);
id = add_struc(-1,"smc_list_entry",0);
id = add_struc(-1,"UserPageRef",0);
id = add_struc(-1,"CryptoUseCaseSeeds",1);
id = add_struc(-1,"CryptoUseCaseSeeds_seeds",0);
id = add_struc(-1,"AesGcmContext",0);
id = add_struc(-1,"GcmContext",0);
id = add_struc(-1,"__n128",1);
id = get_struc_id("securityEngine_t");
mid = add_struc_member(id,"_0x0", 0, 0x20000400, -1, 4);
mid = add_struc_member(id,"_0x4", 0X4, 0x20000400, -1, 4);
mid = add_struc_member(id,"OPERATION_REG", 0X8, 0x20000400, -1, 4);
mid = add_struc_member(id,"INT_ENABLE_REG", 0XC, 0x20000400, -1, 4);
mid = add_struc_member(id,"INT_STATUS_REG", 0X10, 0x20000400, -1, 4);
mid = add_struc_member(id,"CONFIG_REG", 0X14, 0x20000400, -1, 4);
mid = add_struc_member(id,"IN_LL_ADDR_REG", 0X18, 0x20000400, -1, 4);
mid = add_struc_member(id,"_0x1C", 0X1C, 0x20000400, -1, 4);
mid = add_struc_member(id,"_0x20", 0X20, 0x20000400, -1, 4);
mid = add_struc_member(id,"OUT_LL_ADDR_REG", 0X24, 0x20000400, -1, 4);
mid = add_struc_member(id,"_0x28", 0X28, 0x20000400, -1, 4);
mid = add_struc_member(id,"_0x2C", 0X2C, 0x20000400, -1, 4);
mid = add_struc_member(id,"HASH_RESULT_REG", 0X30, 0x000400, -1, 32);
mid = add_struc_member(id,"_0x50", 0X50, 0x000400, -1, 32);
mid = add_struc_member(id,"SE_CONTEXT_SAVE_CONFIG_REG", 0X70, 0x20000400, -1, 4);
mid = add_struc_member(id,"_0x74", 0X74, 0x000400, -1, 396);
mid = add_struc_member(id,"SHA_CONFIG_REG", 0X200, 0x20000400, -1, 4);
mid = add_struc_member(id,"SHA_MSG_LENGTH_REG", 0X204, 0x20000400, -1, 4);
mid = add_struc_member(id,"_0x20C", 0X208, 0x20000400, -1, 4);
mid = add_struc_member(id,"_0x210", 0X20C, 0x20000400, -1, 4);
mid = add_struc_member(id,"SHA_MSG_LEFT_REG", 0X210, 0x20000400, -1, 4);
mid = add_struc_member(id,"_0x218", 0X214, 0x20000400, -1, 4);
mid = add_struc_member(id,"_0x21C", 0X218, 0x20000400, -1, 4);
mid = add_struc_member(id,"_0x220", 0X21C, 0x20000400, -1, 4);
mid = add_struc_member(id,"_0x224", 0X220, 0x20000400, -1, 4);
mid = add_struc_member(id,"_0x228", 0X224, 0x000400, -1, 92);
mid = add_struc_member(id,"AES_KEY_READ_DISABLE_REG", 0X280, 0x20000400, -1, 4);
mid = add_struc_member(id,"AES_KEYSLOT_FLAGS", 0X284, 0x20000400, -1, 64);
mid = add_struc_member(id,"_0x2C4", 0X2C4, 0x000400, -1, 60);
mid = add_struc_member(id,"_0x300", 0X300, 0x20000400, -1, 4);
mid = add_struc_member(id,"CRYPTO_REG", 0X304, 0x20000400, -1, 4);
mid = add_struc_member(id,"CRYPTO_CTR_REG", 0X308, 0x20000400, -1, 16);
mid = add_struc_member(id,"BLOCK_COUNT_REG", 0X318, 0x20000400, -1, 4);
mid = add_struc_member(id,"AES_KEYTABLE_ADDR", 0X31C, 0x20000400, -1, 4);
mid = add_struc_member(id,"AES_KEYTABLE_DATA", 0X320, 0x20000400, -1, 4);
mid = add_struc_member(id,"_0x324", 0X324, 0x20000400, -1, 4);
mid = add_struc_member(id,"_0x328", 0X328, 0x20000400, -1, 4);
mid = add_struc_member(id,"_0x32C", 0X32C, 0x20000400, -1, 4);
mid = add_struc_member(id,"CRYPTO_KEYTABLE_DST_REG", 0X330, 0x20000400, -1, 4);
mid = add_struc_member(id,"_0x334", 0X334, 0x000400, -1, 12);
mid = add_struc_member(id,"RNG_CONFIG_REG", 0X340, 0x20000400, -1, 4);
mid = add_struc_member(id,"RNG_SRC_CONFIG_REG", 0X344, 0x20000400, -1, 4);
mid = add_struc_member(id,"RNG_RESEED_INTERVAL_REG", 0X348, 0x20000400, -1, 4);
mid = add_struc_member(id,"_0x34C", 0X34C, 0x000400, -1, 180);
mid = add_struc_member(id,"RSA_CONFIG", 0X400, 0x20000400, -1, 4);
mid = add_struc_member(id,"RSA_KEY_SIZE_REG", 0X404, 0x20000400, -1, 4);
mid = add_struc_member(id,"RSA_EXP_SIZE_REG", 0X408, 0x20000400, -1, 4);
mid = add_struc_member(id,"RSA_KEY_READ_DISABLE_REG", 0X40C, 0x20000400, -1, 4);
mid = add_struc_member(id,"RSA_KEYSLOT_FLAGS", 0X410, 0x20000400, -1, 8);
mid = add_struc_member(id,"_0x418", 0X418, 0x20000400, -1, 4);
mid = add_struc_member(id,"_0x41C", 0X41C, 0x20000400, -1, 4);
mid = add_struc_member(id,"RSA_KEYTABLE_ADDR", 0X420, 0x20000400, -1, 4);
mid = add_struc_member(id,"RSA_KEYTABLE_DATA", 0X424, 0x20000400, -1, 4);
mid = add_struc_member(id,"RSA_OUTPUT", 0X428, 0x000400, -1, 256);
mid = add_struc_member(id,"_0x528", 0X528, 0x000400, -1, 728);
mid = add_struc_member(id,"FLAGS_REG", 0X800, 0x20000400, -1, 4);
mid = add_struc_member(id,"ERR_STATUS_REG", 0X804, 0x20000400, -1, 4);
mid = add_struc_member(id,"_0x808", 0X808, 0x20000400, -1, 4);
mid = add_struc_member(id,"_0x80C", 0X80C, 0x20000400, -1, 4);
mid = add_struc_member(id,"_0x810", 0X810, 0x20000400, -1, 4);
mid = add_struc_member(id,"_0x814", 0X814, 0x20000400, -1, 4);
mid = add_struc_member(id,"_0x818", 0X818, 0x20000400, -1, 4);
mid = add_struc_member(id,"_0x81C", 0X81C, 0x20000400, -1, 4);
mid = add_struc_member(id,"_0x820", 0X820, 0x000400, -1, 6112);
set_struc_align(id,2);
id = get_struc_id("security_carveout_t");
mid = add_struc_member(id,"allowed_clients", 0, 0x20000400, -1, 4);
mid = add_struc_member(id,"paddr_low", 0X4, 0x20000400, -1, 4);
mid = add_struc_member(id,"paddr_high", 0X8, 0x20000400, -1, 4);
mid = add_struc_member(id,"size_big_pages", 0XC, 0x20000400, -1, 4);
mid = add_struc_member(id,"flags_0", 0X10, 0x20000400, -1, 4);
mid = add_struc_member(id,"flags_1", 0X14, 0x20000400, -1, 4);
mid = add_struc_member(id,"flags_2", 0X18, 0x20000400, -1, 4);
mid = add_struc_member(id,"flags_3", 0X1C, 0x20000400, -1, 4);
mid = add_struc_member(id,"flags_4", 0X20, 0x20000400, -1, 4);
mid = add_struc_member(id,"flags_5", 0X24, 0x20000400, -1, 4);
mid = add_struc_member(id,"flags_6", 0X28, 0x20000400, -1, 4);
mid = add_struc_member(id,"flags_7", 0X2C, 0x20000400, -1, 4);
mid = add_struc_member(id,"flags_8", 0X30, 0x20000400, -1, 4);
mid = add_struc_member(id,"flags_9", 0X34, 0x20000400, -1, 4);
mid = add_struc_member(id,"padding", 0X38, 0x000400, -1, 24);
set_struc_align(id,2);
id = get_struc_id("registeredInterrupt");
mid = add_struc_member(id,"id", 0, 0x20000400, -1, 4);
mid = add_struc_member(id,"handler", 0X8, 0x35500400, 0XFFFFFFFFFFFFFFFF, 8, 0XFFFFFFFFFFFFFFFF, 0, 0x000009);
set_struc_align(id,3);
id = get_struc_id("savedCpuContext");
mid = add_struc_member(id,"argument", 0, 0x30000400, -1, 8);
mid = add_struc_member(id,"ELR_EL3", 0X8, 0x30000400, -1, 8);
mid = add_struc_member(id,"isActive", 0X10, 0x000400, -1, 1);
mid = add_struc_member(id,"isContextSaved", 0X11, 0x000400, -1, 1);
mid = add_struc_member(id,"OSDTRRX_EL1", 0X18, 0x20000400, -1, 4);
mid = add_struc_member(id,"OSDTRTX_EL1", 0X1C, 0x20000400, -1, 4);
mid = add_struc_member(id,"MDSCR_EL1", 0X20, 0x20000400, -1, 4);
mid = add_struc_member(id,"OSECCR_EL1", 0X24, 0x20000400, -1, 4);
mid = add_struc_member(id,"MDCCINT_EL1", 0X28, 0x20000400, -1, 4);
mid = add_struc_member(id,"DBGCLAIMCLR_EL1", 0X2C, 0x20000400, -1, 4);
mid = add_struc_member(id,"DBGVCR32_EL2", 0X30, 0x20000400, -1, 4);
mid = add_struc_member(id,"SDER32_EL3", 0X34, 0x20000400, -1, 4);
mid = add_struc_member(id,"MDCR_EL2", 0X38, 0x20000400, -1, 4);
mid = add_struc_member(id,"MDCR_EL3", 0X3C, 0x20000400, -1, 4);
mid = add_struc_member(id,"DBGBVR0_EL1", 0X40, 0x30000400, -1, 8);
mid = add_struc_member(id,"DBGBCR0_EL1", 0X48, 0x30000400, -1, 8);
mid = add_struc_member(id,"DBGBVR1_EL1", 0X50, 0x30000400, -1, 8);
mid = add_struc_member(id,"DBGBCR1_EL1", 0X58, 0x30000400, -1, 8);
mid = add_struc_member(id,"DBGBVR2_EL1", 0X60, 0x30000400, -1, 8);
mid = add_struc_member(id,"DBGBCR2_EL1", 0X68, 0x30000400, -1, 8);
mid = add_struc_member(id,"DBGBVR3_EL1", 0X70, 0x30000400, -1, 8);
mid = add_struc_member(id,"DBGBCR3_EL1", 0X78, 0x30000400, -1, 8);
mid = add_struc_member(id,"DBGBVR4_EL1", 0X80, 0x30000400, -1, 8);
mid = add_struc_member(id,"DBGBCR4_EL1", 0X88, 0x30000400, -1, 8);
mid = add_struc_member(id,"DBGBVR5_EL1", 0X90, 0x30000400, -1, 8);
mid = add_struc_member(id,"DBGBCR5_EL1", 0X98, 0x30000400, -1, 8);
mid = add_struc_member(id,"DBGWVR0_EL1", 0XA0, 0x30000400, -1, 8);
mid = add_struc_member(id,"DBGWCR0_EL1", 0XA8, 0x30000400, -1, 8);
mid = add_struc_member(id,"DBGWVR1_EL1", 0XB0, 0x30000400, -1, 8);
mid = add_struc_member(id,"DBGWCR1_EL1", 0XB8, 0x30000400, -1, 8);
mid = add_struc_member(id,"DBGWVR2_EL1", 0XC0, 0x30000400, -1, 8);
mid = add_struc_member(id,"DBGWCR2_EL1", 0XC8, 0x30000400, -1, 8);
mid = add_struc_member(id,"DBGWVR3_EL1", 0XD0, 0x30000400, -1, 8);
mid = add_struc_member(id,"DBGWCR3_EL1", 0XD8, 0x30000400, -1, 8);
set_struc_align(id,3);
id = get_struc_id("FlowControllerRegisterOffset");
mid = add_struc_member(id,"CPUN_CSR_OFS", 0, 0x10000400, -1, 2);
mid = add_struc_member(id,"HALT_CPUN_EVENTS_OFS", 0X2, 0x10000400, -1, 2);
mid = add_struc_member(id,"CC4_COREN_CTRL_OFS", 0X4, 0x10000400, -1, 2);
set_struc_align(id,1);
id = get_struc_id("FuseRegisters");
mid = add_struc_member(id,"FUSE_CTRL", 0, 0x20000400, -1, 4);
mid = add_struc_member(id,"FUSE_REG_ADDR", 0X4, 0x20000400, -1, 4);
mid = add_struc_member(id,"FUSE_REG_READ", 0X8, 0x20000400, -1, 4);
mid = add_struc_member(id,"FUSE_REG_WRITE", 0XC, 0x20000400, -1, 4);
mid = add_struc_member(id,"FUSE_TIME_RD1", 0X10, 0x20000400, -1, 4);
mid = add_struc_member(id,"FUSE_TIME_RD2", 0X14, 0x20000400, -1, 4);
mid = add_struc_member(id,"FUSE_TIME_PGM1", 0X18, 0x20000400, -1, 4);
mid = add_struc_member(id,"FUSE_TIME_PGM2", 0X1C, 0x20000400, -1, 4);
mid = add_struc_member(id,"FUSE_PRIV2INTFC", 0X20, 0x20000400, -1, 4);
mid = add_struc_member(id,"FUSE_FUSEBYPASS", 0X24, 0x20000400, -1, 4);
mid = add_struc_member(id,"FUSE_PRIVATEKEYDISABLE", 0X28, 0x20000400, -1, 4);
mid = add_struc_member(id,"FUSE_DIS_PGM", 0X2C, 0x20000400, -1, 4);
mid = add_struc_member(id,"FUSE_WRITE_ACCESS", 0X30, 0x20000400, -1, 4);
mid = add_struc_member(id,"FUSE_PWR_GOOD_SW", 0X34, 0x20000400, -1, 4);
mid = add_struc_member(id,"_0x38", 0X38, 0x20000400, -1, 200);
mid = add_struc_member(id,"FUSE_PRODUCTION_MODE", 0X100, 0x20000400, -1, 4);
mid = add_struc_member(id,"_0x4", 0X104, 0x20000400, -1, 4);
mid = add_struc_member(id,"_0x8", 0X108, 0x20000400, -1, 4);
mid = add_struc_member(id,"_0xC", 0X10C, 0x20000400, -1, 4);
mid = add_struc_member(id,"FUSE_SKU_INFO", 0X110, 0x20000400, -1, 4);
mid = add_struc_member(id,"FUSE_CPU_SPEEDO_0", 0X114, 0x20000400, -1, 4);
mid = add_struc_member(id,"FUSE_CPU_IDDQ", 0X118, 0x20000400, -1, 4);
mid = add_struc_member(id,"_0x1C", 0X11C, 0x20000400, -1, 4);
mid = add_struc_member(id,"_0x20", 0X120, 0x20000400, -1, 4);
mid = add_struc_member(id,"_0x24", 0X124, 0x20000400, -1, 4);
mid = add_struc_member(id,"FUSE_FT_REV", 0X128, 0x20000400, -1, 4);
mid = add_struc_member(id,"FUSE_CPU_SPEEDO_1", 0X12C, 0x20000400, -1, 4);
mid = add_struc_member(id,"FUSE_CPU_SPEEDO_2", 0X130, 0x20000400, -1, 4);
mid = add_struc_member(id,"FUSE_SOC_SPEEDO_0", 0X134, 0x20000400, -1, 4);
mid = add_struc_member(id,"FUSE_SOC_SPEEDO_1", 0X138, 0x20000400, -1, 4);
mid = add_struc_member(id,"FUSE_SOC_SPEEDO_2", 0X13C, 0x20000400, -1, 4);
mid = add_struc_member(id,"FUSE_SOC_IDDQ", 0X140, 0x20000400, -1, 4);
mid = add_struc_member(id,"_0x44", 0X144, 0x20000400, -1, 4);
mid = add_struc_member(id,"FUSE_FA", 0X148, 0x20000400, -1, 4);
mid = add_struc_member(id,"_0x4C", 0X14C, 0x20000400, -1, 4);
mid = add_struc_member(id,"_0x50", 0X150, 0x20000400, -1, 4);
mid = add_struc_member(id,"_0x54", 0X154, 0x20000400, -1, 4);
mid = add_struc_member(id,"_0x58", 0X158, 0x20000400, -1, 4);
mid = add_struc_member(id,"_0x5C", 0X15C, 0x20000400, -1, 4);
mid = add_struc_member(id,"_0x60", 0X160, 0x20000400, -1, 4);
mid = add_struc_member(id,"FUSE_PUBLIC_KEY", 0X164, 0x20000400, -1, 32);
mid = add_struc_member(id,"FUSE_TSENSOR_1", 0X184, 0x20000400, -1, 4);
mid = add_struc_member(id,"FUSE_TSENSOR_2", 0X188, 0x20000400, -1, 4);
mid = add_struc_member(id,"_0x8C", 0X18C, 0x20000400, -1, 4);
mid = add_struc_member(id,"FUSE_CP_REV", 0X190, 0x20000400, -1, 4);
mid = add_struc_member(id,"_0x94", 0X194, 0x20000400, -1, 4);
mid = add_struc_member(id,"FUSE_TSENSOR_0", 0X198, 0x20000400, -1, 4);
mid = add_struc_member(id,"FUSE_FIRST_BOOTROM_PATCH_SIZE_REG", 0X19C, 0x20000400, -1, 4);
mid = add_struc_member(id,"FUSE_SECURITY_MODE", 0X1A0, 0x20000400, -1, 4);
mid = add_struc_member(id,"FUSE_PRIVATE_KEY", 0X1A4, 0x20000400, -1, 16);
mid = add_struc_member(id,"FUSE_DEVICE_KEY", 0X1B4, 0x20000400, -1, 4);
mid = add_struc_member(id,"_0xB8", 0X1B8, 0x20000400, -1, 4);
mid = add_struc_member(id,"_0xBC", 0X1BC, 0x20000400, -1, 4);
mid = add_struc_member(id,"FUSE_RESERVED_SW", 0X1C0, 0x20000400, -1, 4);
mid = add_struc_member(id,"FUSE_VP8_ENABLE", 0X1C4, 0x20000400, -1, 4);
mid = add_struc_member(id,"FUSE_RESERVED_ODM", 0X1C8, 0x20000400, -1, 32);
mid = add_struc_member(id,"_0xE8", 0X1E8, 0x20000400, -1, 4);
mid = add_struc_member(id,"_0xEC", 0X1EC, 0x20000400, -1, 4);
mid = add_struc_member(id,"FUSE_SKU_USB_CALIB", 0X1F0, 0x20000400, -1, 4);
mid = add_struc_member(id,"FUSE_SKU_DIRECT_CONFIG", 0X1F4, 0x20000400, -1, 4);
mid = add_struc_member(id,"_0xF8", 0X1F8, 0x20000400, -1, 4);
mid = add_struc_member(id,"_0xFC", 0X1FC, 0x20000400, -1, 4);
mid = add_struc_member(id,"FUSE_VENDOR_CODE", 0X200, 0x20000400, -1, 4);
mid = add_struc_member(id,"FUSE_FAB_CODE", 0X204, 0x20000400, -1, 4);
mid = add_struc_member(id,"FUSE_LOT_CODE_0", 0X208, 0x20000400, -1, 4);
mid = add_struc_member(id,"FUSE_LOT_CODE_1", 0X20C, 0x20000400, -1, 4);
mid = add_struc_member(id,"FUSE_WAFER_ID", 0X210, 0x20000400, -1, 4);
mid = add_struc_member(id,"FUSE_X_COORDINATE", 0X214, 0x20000400, -1, 4);
mid = add_struc_member(id,"FUSE_Y_COORDINATE", 0X218, 0x20000400, -1, 4);
mid = add_struc_member(id,"_0x11C", 0X21C, 0x20000400, -1, 4);
mid = add_struc_member(id,"_0x120", 0X220, 0x20000400, -1, 4);
mid = add_struc_member(id,"FUSE_SATA_CALIB", 0X224, 0x20000400, -1, 4);
mid = add_struc_member(id,"FUSE_GPU_IDDQ", 0X228, 0x20000400, -1, 4);
mid = add_struc_member(id,"FUSE_TSENSOR_3", 0X22C, 0x20000400, -1, 4);
mid = add_struc_member(id,"_0x130", 0X230, 0x20000400, -1, 4);
mid = add_struc_member(id,"_0x134", 0X234, 0x20000400, -1, 4);
mid = add_struc_member(id,"_0x138", 0X238, 0x20000400, -1, 4);
mid = add_struc_member(id,"_0x13C", 0X23C, 0x20000400, -1, 4);
mid = add_struc_member(id,"_0x140", 0X240, 0x20000400, -1, 4);
mid = add_struc_member(id,"_0x144", 0X244, 0x20000400, -1, 4);
mid = add_struc_member(id,"FUSE_OPT_SUBREVISION", 0X248, 0x20000400, -1, 4);
mid = add_struc_member(id,"_0x14C", 0X24C, 0x20000400, -1, 4);
mid = add_struc_member(id,"_0x150", 0X250, 0x20000400, -1, 4);
mid = add_struc_member(id,"FUSE_TSENSOR_4", 0X254, 0x20000400, -1, 4);
mid = add_struc_member(id,"FUSE_TSENSOR_5", 0X258, 0x20000400, -1, 4);
mid = add_struc_member(id,"FUSE_TSENSOR_6", 0X25C, 0x20000400, -1, 4);
mid = add_struc_member(id,"FUSE_TSENSOR_7", 0X260, 0x20000400, -1, 4);
mid = add_struc_member(id,"FUSE_OPT_PRIV_SEC_DIS", 0X264, 0x20000400, -1, 4);
mid = add_struc_member(id,"FUSE_PKC_DISABLE", 0X268, 0x20000400, -1, 4);
mid = add_struc_member(id,"_0x16C", 0X26C, 0x20000400, -1, 4);
mid = add_struc_member(id,"_0x170", 0X270, 0x20000400, -1, 4);
mid = add_struc_member(id,"_0x174", 0X274, 0x20000400, -1, 4);
mid = add_struc_member(id,"_0x178", 0X278, 0x20000400, -1, 4);
mid = add_struc_member(id,"_0x17C", 0X27C, 0x20000400, -1, 4);
mid = add_struc_member(id,"FUSE_TSENSOR_COMMON", 0X280, 0x20000400, -1, 4);
mid = add_struc_member(id,"_0x184", 0X284, 0x20000400, -1, 4);
mid = add_struc_member(id,"_0x188", 0X288, 0x20000400, -1, 4);
mid = add_struc_member(id,"_0x18C", 0X28C, 0x20000400, -1, 4);
mid = add_struc_member(id,"_0x190", 0X290, 0x20000400, -1, 4);
mid = add_struc_member(id,"_0x194", 0X294, 0x20000400, -1, 4);
mid = add_struc_member(id,"_0x198", 0X298, 0x20000400, -1, 4);
mid = add_struc_member(id,"FUSE_DEBUG_AUTH_OVERRIDE", 0X29C, 0x20000400, -1, 4);
mid = add_struc_member(id,"_0x1A0", 0X2A0, 0x20000400, -1, 4);
mid = add_struc_member(id,"_0x1A4", 0X2A4, 0x20000400, -1, 4);
mid = add_struc_member(id,"_0x1A8", 0X2A8, 0x20000400, -1, 4);
mid = add_struc_member(id,"_0x1AC", 0X2AC, 0x20000400, -1, 4);
mid = add_struc_member(id,"_0x1B0", 0X2B0, 0x20000400, -1, 4);
mid = add_struc_member(id,"_0x1B4", 0X2B4, 0x20000400, -1, 4);
mid = add_struc_member(id,"_0x1B8", 0X2B8, 0x20000400, -1, 4);
mid = add_struc_member(id,"_0x1BC", 0X2BC, 0x20000400, -1, 4);
mid = add_struc_member(id,"_0x1D0", 0X2C0, 0x20000400, -1, 4);
mid = add_struc_member(id,"FUSE_TSENSOR_8", 0X2C4, 0x20000400, -1, 4);
mid = add_struc_member(id,"_0x1D8", 0X2C8, 0x20000400, -1, 4);
mid = add_struc_member(id,"_0x1DC", 0X2CC, 0x20000400, -1, 4);
mid = add_struc_member(id,"_0x1E0", 0X2D0, 0x20000400, -1, 4);
mid = add_struc_member(id,"_0x1E4", 0X2D4, 0x20000400, -1, 4);
mid = add_struc_member(id,"_0x1E8", 0X2D8, 0x20000400, -1, 4);
mid = add_struc_member(id,"_0x1EC", 0X2DC, 0x20000400, -1, 4);
mid = add_struc_member(id,"_0x1F0", 0X2E0, 0x20000400, -1, 4);
mid = add_struc_member(id,"_0x1F4", 0X2E4, 0x20000400, -1, 4);
mid = add_struc_member(id,"_0x1F8", 0X2E8, 0x20000400, -1, 4);
mid = add_struc_member(id,"_0x1FC", 0X2EC, 0x20000400, -1, 4);
mid = add_struc_member(id,"_0x200", 0X2F0, 0x20000400, -1, 4);
mid = add_struc_member(id,"FUSE_RESERVED_CALIB", 0X2F4, 0x20000400, -1, 4);
mid = add_struc_member(id,"_0x208", 0X2F8, 0x20000400, -1, 4);
mid = add_struc_member(id,"_0x20C", 0X2FC, 0x20000400, -1, 4);
mid = add_struc_member(id,"_0x210", 0X300, 0x20000400, -1, 4);
mid = add_struc_member(id,"_0x214", 0X304, 0x20000400, -1, 4);
mid = add_struc_member(id,"_0x218", 0X308, 0x20000400, -1, 4);
mid = add_struc_member(id,"FUSE_TSENSOR_9", 0X30C, 0x20000400, -1, 4);
mid = add_struc_member(id,"_0x220", 0X310, 0x20000400, -1, 4);
mid = add_struc_member(id,"_0x224", 0X314, 0x20000400, -1, 4);
mid = add_struc_member(id,"_0x228", 0X318, 0x20000400, -1, 4);
mid = add_struc_member(id,"_0x22C", 0X31C, 0x20000400, -1, 4);
mid = add_struc_member(id,"_0x230", 0X320, 0x20000400, -1, 4);
mid = add_struc_member(id,"_0x234", 0X324, 0x20000400, -1, 4);
mid = add_struc_member(id,"_0x238", 0X328, 0x20000400, -1, 4);
mid = add_struc_member(id,"_0x23C", 0X32C, 0x20000400, -1, 4);
mid = add_struc_member(id,"_0x240", 0X330, 0x20000400, -1, 4);
mid = add_struc_member(id,"_0x244", 0X334, 0x20000400, -1, 4);
mid = add_struc_member(id,"_0x248", 0X338, 0x20000400, -1, 4);
mid = add_struc_member(id,"_0x24C", 0X33C, 0x20000400, -1, 4);
mid = add_struc_member(id,"FUSE_USB_CALIB_EXT", 0X340, 0x20000400, -1, 4);
mid = add_struc_member(id,"_0x254", 0X344, 0x20000400, -1, 4);
mid = add_struc_member(id,"_0x258", 0X348, 0x20000400, -1, 4);
mid = add_struc_member(id,"_0x25C", 0X34C, 0x20000400, -1, 4);
mid = add_struc_member(id,"_0x260", 0X350, 0x20000400, -1, 4);
mid = add_struc_member(id,"_0x264", 0X354, 0x20000400, -1, 4);
mid = add_struc_member(id,"_0x268", 0X358, 0x20000400, -1, 4);
mid = add_struc_member(id,"_0x26C", 0X35C, 0x20000400, -1, 4);
mid = add_struc_member(id,"_0x270", 0X360, 0x20000400, -1, 4);
mid = add_struc_member(id,"_0x274", 0X364, 0x20000400, -1, 4);
mid = add_struc_member(id,"_0x278", 0X368, 0x20000400, -1, 4);
mid = add_struc_member(id,"_0x27C", 0X36C, 0x20000400, -1, 4);
mid = add_struc_member(id,"FUSE_SPARE_BIT", 0X370, 0x20000400, -1, 128);
set_struc_align(id,2);
id = get_struc_id("package2Header");
mid = add_struc_member(id,"ctr", 0, 0x000400, -1, 16);
mid = add_struc_member(id,"section_ctrs", 0X10, 0x000400, -1, 64);
mid = add_struc_member(id,"magic", 0X50, 0x20000400, -1, 4);
mid = add_struc_member(id,"base_offset", 0X54, 0x20000400, -1, 4);
mid = add_struc_member(id,"_0x58", 0X58, 0x20000400, -1, 4);
mid = add_struc_member(id,"version_max", 0X5C, 0x000400, -1, 1);
mid = add_struc_member(id,"version_min", 0X5D, 0x000400, -1, 1);
mid = add_struc_member(id,"_0x5E", 0X5E, 0x10000400, -1, 2);
mid = add_struc_member(id,"section_sizes", 0X60, 0x20000400, -1, 16);
mid = add_struc_member(id,"section_offsets", 0X70, 0x20000400, -1, 16);
mid = add_struc_member(id,"section_hashes", 0X80, 0x000400, -1, 128);
set_struc_align(id,2);
id = get_struc_id("smc_args_t");
mid = add_struc_member(id,"X", 0, 0x30000400, -1, 64);
set_struc_align(id,3);
id = get_struc_id("smc_list");
mid = add_struc_member(id,"handlers", 0, 0x35500400, 0XFFFFFFFFFFFFFFFF, 8, 0XFFFFFFFFFFFFFFFF, 0, 0x000009);
mid = add_struc_member(id,"numHandlers", 0X8, 0x20000400, -1, 4);
mid = add_struc_member(id,"padding", 0XC, 0x20000400, -1, 4);
set_struc_align(id,3);
id = get_struc_id("smc_list_entry");
mid = add_struc_member(id,"ID", 0, 0x20000400, -1, 4);
mid = add_struc_member(id,"padding", 0X4, 0x20000400, -1, 4);
mid = add_struc_member(id,"handler", 0X8, 0x35500400, 0XFFFFFFFFFFFFFFFF, 8, 0XFFFFFFFFFFFFFFFF, 0, 0x000009);
set_struc_align(id,3);
id = get_struc_id("UserPageRef");
mid = add_struc_member(id,"userPageAddress", 0, 0x35500400, 0XFFFFFFFFFFFFFFFF, 8, 0XFFFFFFFFFFFFFFFF, 0, 0x000009);
mid = add_struc_member(id,"securePageAddress", 0X8, 0x35500400, 0XFFFFFFFFFFFFFFFF, 8, 0XFFFFFFFFFFFFFFFF, 0, 0x000009);
set_struc_align(id,3);
id = get_struc_id("CryptoUseCaseSeeds_seeds");
mid = add_struc_member(id,"aesKeySeed", 0, 0x000400, -1, 16);
mid = add_struc_member(id,"privateRsaSeed", 0X10, 0x000400, -1, 16);
mid = add_struc_member(id,"publicRsaSeed", 0X20, 0x000400, -1, 16);
mid = add_struc_member(id,"preparedAesKeySeed", 0X30, 0x000400, -1, 16);
mid = add_struc_member(id,"rsaImportSeed", 0X40, 0x000400, -1, 16);
id = get_struc_id("CryptoUseCaseSeeds");
mid = add_struc_member(id,"seeds", 0, 0x000400, -1, 80);
mid = add_struc_member(id,"named_seeds", 0, 0x60000400, get_struc_id("CryptoUseCaseSeeds_seeds"), 80);
id = get_struc_id("__n128");
mid = add_struc_member(id,"n128_u64", 0, 0x30000400, -1, 16);
mid = add_struc_member(id,"n128_u32", 0, 0x20000400, -1, 16);
mid = add_struc_member(id,"n128_u16", 0, 0x10000400, -1, 16);
mid = add_struc_member(id,"n128_u8", 0, 0x000400, -1, 16);
mid = add_struc_member(id,"n128_i64", 0, 0x30000400, -1, 16);
mid = add_struc_member(id,"n128_i32", 0, 0x20000400, -1, 16);
mid = add_struc_member(id,"n128_i16", 0, 0x10000400, -1, 16);
mid = add_struc_member(id,"n128_i8", 0, 0x000400, -1, 16);
mid = add_struc_member(id,"n128_f32", 0, 0x80000400, -1, 16);
mid = add_struc_member(id,"n128_f64", 0, 0x90000400, -1, 16);
set_struc_align(id,4);
id = get_struc_id("GcmContext");
mid = add_struc_member(id,"currentState", 0, 0x20000400, -1, 4);
mid = add_struc_member(id,"_0x00C", 0X4, 0x20000400, -1, 4);
mid = add_struc_member(id,"pAesCtx", 0X8, 0x35500400, 0XFFFFFFFFFFFFFFFF, 8, 0XFFFFFFFFFFFFFFFF, 0, 0x000009);
mid = add_struc_member(id,"blockCipherFunc", 0X10, 0x30000400, -1, 8);
mid = add_struc_member(id,"_0x020", 0X18, 0x30000400, -1, 8);
mid = add_struc_member(id,"GhashOutput", 0X20, 0x60000400, get_struc_id("__n128"), 16);
mid = add_struc_member(id,"_0x038", 0X30, 0x30000400, -1, 8);
mid = add_struc_member(id,"_0x040", 0X38, 0x30000400, -1, 8);
mid = add_struc_member(id,"_0x048", 0X40, 0x30000400, -1, 8);
mid = add_struc_member(id,"_0x050", 0X48, 0x30000400, -1, 8);
mid = add_struc_member(id,"JBlock", 0X50, 0x60000400, get_struc_id("__n128"), 16);
mid = add_struc_member(id,"_0x068", 0X60, 0x30000400, -1, 8);
mid = add_struc_member(id,"_0x070", 0X68, 0x30000400, -1, 8);
mid = add_struc_member(id,"_0x078", 0X70, 0x30000400, -1, 8);
mid = add_struc_member(id,"_0x080", 0X78, 0x30000400, -1, 8);
mid = add_struc_member(id,"_0x088", 0X80, 0x30000400, -1, 8);
mid = add_struc_member(id,"_0x090", 0X88, 0x30000400, -1, 8);
mid = add_struc_member(id,"HBlock", 0X90, 0x60000400, get_struc_id("__n128"), 16);
mid = add_struc_member(id,"_0x0A8", 0XA0, 0x30000400, -1, 8);
mid = add_struc_member(id,"_0x0B0", 0XA8, 0x30000400, -1, 8);
mid = add_struc_member(id,"_0x0B8", 0XB0, 0x30000400, -1, 8);
mid = add_struc_member(id,"_0x0C0", 0XB8, 0x30000400, -1, 8);
mid = add_struc_member(id,"_0x0C8", 0XC0, 0x30000400, -1, 8);
mid = add_struc_member(id,"_0x0D0", 0XC8, 0x30000400, -1, 8);
mid = add_struc_member(id,"_0x0D8", 0XD0, 0x30000400, -1, 8);
mid = add_struc_member(id,"_0x0E0", 0XD8, 0x30000400, -1, 8);
mid = add_struc_member(id,"_0x0E8", 0XE0, 0x30000400, -1, 8);
mid = add_struc_member(id,"_0x0F0", 0XE8, 0x30000400, -1, 8);
mid = add_struc_member(id,"_0x0F8", 0XF0, 0x30000400, -1, 8);
mid = add_struc_member(id,"_0x100", 0XF8, 0x30000400, -1, 8);
mid = add_struc_member(id,"_0x108", 0X100, 0x30000400, -1, 8);
mid = add_struc_member(id,"_0x110", 0X108, 0x30000400, -1, 8);
mid = add_struc_member(id,"_0x118", 0X110, 0x30000400, -1, 8);
mid = add_struc_member(id,"_0x120", 0X118, 0x30000400, -1, 8);
mid = add_struc_member(id,"_0x128", 0X120, 0x30000400, -1, 8);
mid = add_struc_member(id,"_0x130", 0X128, 0x30000400, -1, 8);
mid = add_struc_member(id,"_0x138", 0X130, 0x30000400, -1, 8);
mid = add_struc_member(id,"_0x140", 0X138, 0x30000400, -1, 8);
mid = add_struc_member(id,"_0x148", 0X140, 0x30000400, -1, 8);
mid = add_struc_member(id,"_0x150", 0X148, 0x30000400, -1, 8);
mid = add_struc_member(id,"_0x158", 0X150, 0x30000400, -1, 8);
mid = add_struc_member(id,"_0x160", 0X158, 0x30000400, -1, 8);
mid = add_struc_member(id,"_0x168", 0X160, 0x30000400, -1, 8);
mid = add_struc_member(id,"_0x170", 0X168, 0x30000400, -1, 8);
mid = add_struc_member(id,"_0x178", 0X170, 0x30000400, -1, 8);
mid = add_struc_member(id,"_0x180", 0X178, 0x30000400, -1, 8);
mid = add_struc_member(id,"_0x188", 0X180, 0x30000400, -1, 8);
set_struc_align(id,3);
id = get_struc_id("AesGcmContext");
mid = add_struc_member(id,"keySlot", 0, 0x20000400, -1, 4);
mid = add_struc_member(id,"unk", 0X4, 0x20000400, -1, 4);
mid = add_struc_member(id,"gcmCtx", 0X8, 0x60000400, get_struc_id("GcmContext"), 392);
set_struc_align(id,3);
return id;
}
//------------------------------------------------------------------------
// Information about structure types
static Structures(void) {
auto id;
begin_type_updating(UTP_STRUCT);
id = Structures_0(id);
}
//------------------------------------------------------------------------
// Information about bytes
static Bytes_0(void) {
auto x;
#define id x
update_extra_cmt (0X40010000, E_PREV + 0, "; File Name : C:\\Users\\Michael\\Documents\\secmon\\20160928\\package1.dec");
update_extra_cmt (0X40010000, E_PREV + 1, "; Format : Binary file");
update_extra_cmt (0X40010000, E_PREV + 2, "; Base Address: 0000h Range: 40010000h - 40034D90h Loaded length: 24D90h");
create_insn (0X40014020);
set_name (0X40014020, "coldboot_crt0");
create_insn (x=0X40014028);
op_hex (x, 1);
create_insn (x=0X40014044);
op_hex (x, 1);
create_insn (x=0X40014074);
op_hex (x, 1);
create_qword (0X400141C0);
create_insn (x=0X400141C8);
op_stkvar (x, 1);
set_name (0X400141C8, "coldboot_init");
create_insn (x=0X400141CC);
op_stkvar (x, 1);
create_insn (x=0X400141E8);
op_plain_offset (x, 1, 0);
op_plain_offset (x, 129, 0);
set_cmt (0X400141EC, "void *", 0);
create_insn (x=0X400141EC);
create_insn (x=0X400141F4);
op_plain_offset (x, 1, 0);
op_plain_offset (x, 129, 0);
create_insn (x=0X400141F8);
create_insn (x=0X40014200);
op_plain_offset (x, 1, 0);
op_plain_offset (x, 129, 0);
set_cmt (0X40014204, "void *", 0);
create_insn (x=0X40014204);
set_cmt (0X40014208, "_QWORD", 0);
create_insn (x=0X4001421C);
op_plain_offset (x, 1, 0);
op_plain_offset (x, 129, 0);
create_insn (x=0X40014220);
op_plain_offset (x, 1, 0);
op_plain_offset (x, 129, 0);
set_cmt (0X40014224, "void *", 0);
create_insn (x=0X40014224);
create_insn (x=0X40014228);
set_cmt (0X40014234, "_QWORD", 0);
create_insn (x=0X4001423C);
op_plain_offset (x, 1, 0);
op_plain_offset (x, 129, 0);
create_insn (x=0X40014240);
op_plain_offset (x, 1, 0);
op_plain_offset (x, 129, 0);
set_cmt (0X40014248, "void *", 0);
create_insn (x=0X40014248);
create_insn (x=0X4001424C);
set_cmt (0X40014254, "_QWORD", 0);
create_insn (x=0X40014260);
op_plain_offset (x, 1, 0);
op_plain_offset (x, 129, 0);
create_insn (x=0X40014264);
op_plain_offset (x, 1, 0);
op_plain_offset (x, 129, 0);
create_insn (x=0X40014268);
set_cmt (0X4001426C, "void *", 0);
create_insn (x=0X4001426C);
create_insn (x=0X40014274);
op_hex (x, 1);
set_cmt (0X40014278, "_QWORD", 0);
set_cmt (0X40014284, "void *", 0);
create_insn (x=0X4001428C);
op_plain_offset (x, 1, 0);
op_plain_offset (x, 129, 0);
create_insn (x=0X40014298);
op_plain_offset (x, 1, 0);
op_plain_offset (x, 129, 0);
create_insn (x=0X4001429C);
op_plain_offset (x, 1, 0);
op_plain_offset (x, 129, 0);
create_insn (x=0X400142A0);
op_plain_offset (x, 1, 0);
op_plain_offset (x, 129, 0);
create_insn (x=0X400142B0);
op_plain_offset (x, 1, 0);
op_plain_offset (x, 129, 0);
create_insn (x=0X400142B4);
op_plain_offset (x, 1, 0);
op_plain_offset (x, 129, 0);
create_insn (x=0X400142B8);
op_plain_offset (x, 1, 0);
op_plain_offset (x, 129, 0);
create_insn (x=0X400142BC);
op_plain_offset (x, 1, 0);
op_plain_offset (x, 129, 0);
create_insn (x=0X400142CC);
op_stkvar (x, 1);
create_insn (x=0X400142D0);
op_stkvar (x, 1);
create_insn (0X400142D8);
set_name (0X400142D8, "coldboot_memcpy");
create_insn (x=0X400142DC);
op_stkvar (x, 1);
create_insn (x=0X400142EC);
op_stkvar (x, 1);
create_insn (x=0X400142F0);
op_stkvar (x, 1);
create_insn (x=0X400142F4);
op_stkvar (x, 1);
create_insn (x=0X40014300);
op_stkvar (x, 1);
create_insn (x=0X40014308);
op_stkvar (x, 1);
create_insn (x=0X40014310);
op_stkvar (x, 1);
create_insn (x=0X40014318);
op_stkvar (x, 1);
create_insn (0X40014324);
create_insn (0X4001432C);
create_insn (x=0X40014330);
op_stkvar (x, 1);
create_insn (x=0X40014340);
op_stkvar (x, 1);
create_insn (x=0X40014348);
op_stkvar (x, 1);
create_insn (x=0X4001434C);
op_stkvar (x, 1);
create_insn (x=0X4001435C);
op_stkvar (x, 1);
create_insn (x=0X40014364);
op_stkvar (x, 1);
create_insn (x=0X4001436C);
op_stkvar (x, 1);
create_insn (0X40014374);
create_insn (x=0X4001437C);
op_hex (x, 1);
create_insn (x=0X40014384);
op_hex (x, 1);
create_insn (0X40014390);
create_insn (0X400143A0);
create_insn (x=0X400143D4);
op_hex (x, 1);
create_insn (0X400143F0);
create_insn (x=0X40014430);
op_stkvar (x, 1);
set_name (0X40014430, "setup_memory_mappings");
create_insn (x=0X40014434);
op_stkvar (x, 1);
create_insn (x=0X40014460);
op_stkvar (x, 1);
create_insn (x=0X40014464);
op_stkvar (x, 1);
create_insn (x=0X40014474);
op_stkvar (x, 1);
create_insn (x=0X40014480);
op_stkvar (x, 1);
create_insn (x=0X4001448C);
op_stkvar (x, 1);
create_insn (x=0X400144A0);
op_stkvar (x, 1);
create_insn (x=0X400144AC);
op_stkvar (x, 1);
create_insn (x=0X400144BC);
op_stkvar (x, 1);
create_insn (x=0X400144C8);
op_stkvar (x, 1);
create_insn (x=0X400144E0);
op_stkvar (x, 1);
create_insn (x=0X400144EC);
op_stkvar (x, 1);
create_insn (x=0X40014504);
op_stkvar (x, 1);
create_insn (x=0X40014524);
op_stkvar (x, 1);
create_insn (x=0X4001454C);
op_stkvar (x, 1);
create_insn (x=0X40014570);
op_stkvar (x, 1);
create_insn (x=0X40014598);
op_stkvar (x, 1);
create_insn (x=0X400145BC);
op_stkvar (x, 1);
create_insn (x=0X400145E0);
op_stkvar (x, 1);
create_insn (x=0X40014604);
op_stkvar (x, 1);
create_insn (x=0X4001462C);
op_stkvar (x, 1);
create_insn (x=0X40014650);
op_stkvar (x, 1);
create_insn (x=0X40014678);
op_stkvar (x, 1);
create_insn (x=0X400146A0);
op_stkvar (x, 1);
create_insn (x=0X400146BC);
op_stkvar (x, 1);
create_insn (x=0X400146E8);
op_stkvar (x, 1);
create_insn (x=0X4001470C);
op_stkvar (x, 1);
create_insn (x=0X40014734);
op_stkvar (x, 1);
create_insn (x=0X4001475C);
op_stkvar (x, 1);
create_insn (x=0X4001477C);
op_stkvar (x, 1);
create_insn (x=0X4001479C);
op_stkvar (x, 1);
create_insn (x=0X400147C0);
op_stkvar (x, 1);
create_insn (x=0X400147D8);
op_stkvar (x, 1);
create_insn (x=0X4001482C);
op_stkvar (x, 1);
create_insn (x=0X40014848);
op_stkvar (x, 1);
create_insn (x=0X40014870);
op_stkvar (x, 1);
create_insn (x=0X40014894);
op_stkvar (x, 1);
create_insn (x=0X400148B4);
op_stkvar (x, 1);
create_insn (x=0X400148D8);
op_stkvar (x, 1);
create_insn (x=0X400148FC);
op_stkvar (x, 1);
create_insn (x=0X4001490C);
op_stkvar (x, 1);
create_insn (x=0X40014910);
op_stkvar (x, 1);
create_insn (0X40014918);
create_insn (0X40014924);
create_insn (x=0X40014938);
op_plain_offset (x, 1, 0);
op_plain_offset (x, 129, 0);
set_name (0X40014938, "jump_to_coldboot_main");
create_qword (x=0X40014940);
op_plain_offset (x, 0, 0);
op_plain_offset (x, 128, 0);
create_insn (x=0X40014948);
op_plain_offset (x, 1, 0);
op_plain_offset (x, 129, 0);
set_name (0X40014948, "setup_dma_controllers_veneer");
create_qword (x=0X40014950);
op_plain_offset (x, 0, 0);
op_plain_offset (x, 128, 0);
create_insn (x=0X40014958);
op_plain_offset (x, 1, 0);
op_plain_offset (x, 129, 0);
set_name (0X40014958, "setup_memory_controllers_enable_mmu_veneer");
create_qword (x=0X40014960);
op_plain_offset (x, 0, 0);
op_plain_offset (x, 128, 0);
create_insn (x=0X40014968);
op_plain_offset (x, 1, 0);
op_plain_offset (x, 129, 0);
set_name (0X40014968, "coldboot_memset");
create_qword (x=0X40014970);
op_plain_offset (x, 0, 0);
op_plain_offset (x, 128, 0);
create_qword (0X40014978);
create_qword (0X40014980);
create_qword (0X40014988);
create_qword (0X40014990);
create_insn (0X40014998);
create_insn (x=0X4001499C);
op_stkvar (x, 1);
create_insn (x=0X400149A4);
op_stkvar (x, 1);
create_insn (x=0X400149A8);
op_plain_offset (x, 1, 0);
op_plain_offset (x, 129, 0);
create_insn (x=0X400149AC);
op_plain_offset (x, 1, 0);
op_plain_offset (x, 129, 0);
create_insn (0X400149B4);
create_insn (x=0X400149C8);
op_stkvar (x, 1);
create_insn (x=0X400149CC);
op_stkvar (x, 1);
create_qword (x=0X400149D8);
op_plain_offset (x, 0, 0);
op_plain_offset (x, 128, 0);
create_qword (x=0X400149E0);
op_plain_offset (x, 0, 0);
op_plain_offset (x, 128, 0);
create_qword (0X400149E8);
create_insn (0X7C013000);
set_name (0X7C013000, "warmboot_crt0");
create_insn (x=0X7C013008);
op_hex (x, 1);
create_insn (x=0X7C013024);
op_hex (x, 1);
create_insn (x=0X7C013054);
op_hex (x, 1);
create_insn (x=0X7C013194);
op_plain_offset (x, 1, 0);
op_plain_offset (x, 129, 0);
create_insn (x=0X7C0131AC);
op_plain_offset (x, 1, 0);
op_plain_offset (x, 129, 0);
create_qword (x=0X7C0131C0);
op_plain_offset (x, 0, 0);
op_plain_offset (x, 128, 0);
create_qword (x=0X7C0131C8);
op_plain_offset (x, 0, 0);
op_plain_offset (x, 128, 0);
create_insn (0X7C0131D0);
set_name (0X7C0131D0, "warmboot_acquire_lock");
create_insn (x=0X7C0131D4);
op_hex (x, 1);
create_insn (x=0X7C0131D8);
op_plain_offset (x, 1, 0);
op_plain_offset (x, 129, 0);
create_insn (0X7C013248);
create_qword (x=0X7C013260);
op_plain_offset (x, 0, 0);
op_plain_offset (x, 128, 0);
create_dword (0X7C013268);
create_insn (0X7C01326C);
set_name (0X7C01326C, "warmboot_security_cfg3_is_zero");
create_insn (0X7C013284);
create_insn (x=0X7C01328C);
op_stkvar (x, 1);
create_insn (x=0X7C013294);
op_stkvar (x, 1);
create_insn (x=0X7C01329C);
op_stkvar (x, 1);
create_insn (x=0X7C0132A4);
op_stkvar (x, 1);
create_insn (x=0X7C0132A8);
op_stkvar (x, 1);
create_insn (x=0X7C0132B8);
op_stkvar (x, 1);
create_insn (x=0X7C0132C0);
op_stkvar (x, 1);
create_insn (x=0X7C0132C8);
op_stkvar (x, 1);
create_insn (0X7C0132D0);
create_insn (x=0X7C0132D8);
op_stkvar (x, 1);
set_name (0X7C0132D8, "restore_identity_mapping");
create_insn (x=0X7C0132DC);
op_stkvar (x, 1);
create_insn (x=0X7C0132F8);
op_hex (x, 1);
create_insn (x=0X7C013308);
op_hex (x, 1);
create_insn (x=0X7C013328);
op_stkvar (x, 1);
create_insn (x=0X7C01332C);
op_stkvar (x, 1);
create_insn (0X7C013334);
set_name (0X7C013334, "warmboot_enable_mmu");
create_insn (x=0X7C0133AC);
op_stkvar (x, 1);
set_name (0X7C0133AC, "warmboot_setup_dma_controllers");
create_insn (x=0X7C0133BC);
op_stkvar (x, 1);
create_insn (x=0X7C0133E4);
op_hex (x, 1);
create_insn (x=0X7C013490);
op_hex (x, 1);
create_insn (x=0X7C01349C);
op_stkvar (x, 1);
create_insn (0X7C0134A4);
create_insn (x=0X7C0134B0);
op_hex (x, 1);
create_insn (x=0X7C0134C8);
op_plain_offset (x, 1, 0);
op_plain_offset (x, 129, 0);
set_name (0X7C0134C8, "jump_to_warmboot_main");
create_qword (x=0X7C0134D0);
op_plain_offset (x, 0, 0);
op_plain_offset (x, 128, 0);
create_dword (0X7C0134D8);
create_word (0X1F0009430);
create_dword (0X1F0009438);
set_name (0X1F0009438, "APBDEV_PMC_PWRGATE_STATUS_0");
set_name (0X1F0009C40, "g_panic_code");
create_oword (0X1F0009F18);
set_name (0X1F00149BC, "MC_SECURITY_CFG3_0");
MakeStruct (0X1F0014C08, "security_carveout_t");
make_array (0X1F0014C08, 0X5);
set_name (0X1F0014C08, "g_security_carveouts");
set_name (0X1F001FE08, "MAILBOX_SECMON_BOOT_TIME");
set_name (0X1F001FEF8, "MAILBOX_NX_BOOTLOADER_BOOT_STATE");
set_name (0X1F001FEFC, "MAILBOX_NX_BOOTLOADER_IS_SECMON_AWAKE");
create_byte (0X1F01E04D8);
make_array (0X1F01E04D8, 0X28);
set_name (0X1F01E04D8, "g_per_core_barrier_data");
create_insn (x=0X1F01E0500);
op_plain_offset (x, 1, 0);
op_plain_offset (x, 129, 0);
set_name (0X1F01E0500, "warmboot_main");
create_insn (x=0X1F01E0508);
op_plain_offset (x, 1, 0);
op_plain_offset (x, 129, 0);
create_insn (0X1F01E052C);
set_name (0X1F01E052C, "prepare_jump_lower_el");
set_cmt (0X1F01E0530, "result", 0);
create_insn (x=0X1F01E0538);
op_stkvar (x, 1);
create_insn (x=0X1F01E053C);
op_stkvar (x, 1);
create_qword (x=0X1F01E0568);
op_plain_offset (x, 0, 0);
op_plain_offset (x, 128, 0);
create_qword (x=0X1F01E0570);
op_plain_offset (x, 0, 0);
op_plain_offset (x, 128, 0);
create_insn (0X1F01E0578);
set_name (0X1F01E0578, "get_exception_stack_address");
create_insn (x=0X1F01E057C);
op_hex (x, 1);
create_insn (0X1F01E05A0);
create_insn (0X1F01E05A8);
create_insn (0X1F01E05B0);
create_qword (0X1F01E05B8);
create_qword (0X1F01E05C0);
create_qword (0X1F01E05C8);
create_qword (0X1F01E05D0);
create_insn (0X1F01E05D8);
set_name (0X1F01E05D8, "set_priv_smc_in_progress");
create_insn (x=0X1F01E05DC);
op_hex (x, 1);
create_insn (0X1F01E0658);
create_qword (0X1F01E0678);
create_dword (0X1F01E0680);
create_insn (0X1F01E0684);
set_name (0X1F01E0684, "set_core_barrier_data");
create_insn (x=0X1F01E0694);
op_hex (x, 1);
create_qword (0X1F01E06B8);
create_insn (0X1F01E06C0);
set_name (0X1F01E06C0, "clear_core_barrier_wait_for_interrupt");
create_insn (0X1F01E06D4);
set_name (0X1F01E06D4, "memcmp");
create_insn (x=0X1F01E06D8);
op_hex (x, 1);
create_insn (x=0X1F01E0700);
op_hex (x, 1);
create_insn (x=0X1F01E0704);
op_hex (x, 1);
create_insn (x=0X1F01E0718);
op_hex (x, 1);
create_insn (x=0X1F01E071C);
op_hex (x, 1);
create_insn (x=0X1F01E0730);
op_hex (x, 1);
create_insn (x=0X1F01E0734);
op_hex (x, 1);
create_insn (0X1F01E0754);
create_insn (x=0X1F01E0764);
op_hex (x, 1);
create_insn (0X1F01E0778);
create_insn (0X1F01E07AC);
set_name (0X1F01E07AC, "memcpy");
create_insn (x=0X1F01E07B0);
op_stkvar (x, 1);
create_insn (x=0X1F01E07B4);
op_stkvar (x, 1);
create_insn (x=0X1F01E07C8);
op_stkvar (x, 1);
create_insn (x=0X1F01E07CC);
op_stkvar (x, 1);
create_insn (0X1F01E07D8);
set_name (0X1F01E07D8, "memset32j");
create_insn (x=0X1F01E07DC);
op_stkvar (x, 1);
create_insn (x=0X1F01E07E0);
op_stkvar (x, 1);
create_insn (x=0X1F01E07F4);
op_hex (x, 1);
create_insn (x=0X1F01E080C);
op_stkvar (x, 1);
create_insn (x=0X1F01E0810);
op_stkvar (x, 1);
create_insn (0X1F01E081C);
create_insn (0X1F01E0820);
create_insn (0X1F01E0878);
create_insn (0X1F01E0890);
create_insn (x=0X1F01E0898);
op_hex (x, 1);
create_insn (x=0X1F01E08B0);
op_hex (x, 1);
create_insn (x=0X1F01E08C8);
op_hex (x, 1);
create_insn (x=0X1F01E08E0);
op_hex (x, 1);
create_insn (0X1F01E0904);
create_insn (0X1F01E0908);
create_insn (0X1F01E0964);
create_insn (0X1F01E0968);
create_insn (x=0X1F01E0978);
op_hex (x, 1);
create_insn (x=0X1F01E0988);
op_hex (x, 1);
create_insn (0X1F01E099C);
create_insn (x=0X1F01E09A4);
op_hex (x, 1);
create_insn (x=0X1F01E09C0);
op_hex (x, 1);
create_insn (x=0X1F01E09E8);
op_plain_offset (x, 1, 0);
op_plain_offset (x, 129, 0);
set_name (0X1F01E09E8, "set_flow_cc4_ctrl0_for_core");
create_insn (x=0X1F01E09F4);
create_insn (x=0X1F01E09FC);
op_plain_offset (x, 1, 0);
op_plain_offset (x, 129, 0);
create_insn (x=0X1F01E0A00);
op_plain_offset (x, 1, 0);
op_plain_offset (x, 129, 0);
create_insn (x=0X1F01E0A0C);
op_plain_offset (x, 1, 0);
op_plain_offset (x, 129, 0);
create_insn (x=0X1F01E0A18);
op_hex (x, 1);
set_name (0X1F01E0A18, "set_flow_halt_cpu_events_for_core");
create_insn (x=0X1F01E0A28);
op_plain_offset (x, 1, 0);
op_plain_offset (x, 129, 0);
create_insn (x=0X1F01E0A38);
create_insn (x=0X1F01E0A44);
op_plain_offset (x, 1, 0);
op_plain_offset (x, 129, 0);
create_insn (x=0X1F01E0A48);
op_plain_offset (x, 1, 0);
op_plain_offset (x, 129, 0);
create_insn (x=0X1F01E0A50);
op_plain_offset (x, 1, 0);
op_plain_offset (x, 129, 0);
create_insn (x=0X1F01E0A5C);
op_plain_offset (x, 1, 0);
op_plain_offset (x, 129, 0);
set_name (0X1F01E0A5C, "clear_csr0_and_events_for_core");
create_insn (x=0X1F01E0A68);
create_insn (x=0X1F01E0A70);
op_plain_offset (x, 1, 0);
op_plain_offset (x, 129, 0);
create_insn (x=0X1F01E0A74);
op_plain_offset (x, 1, 0);
op_plain_offset (x, 129, 0);
create_insn (x=0X1F01E0A80);
op_plain_offset (x, 1, 0);
op_plain_offset (x, 129, 0);
create_insn (x=0X1F01E0A90);
op_plain_offset (x, 1, 0);
op_plain_offset (x, 129, 0);
set_name (0X1F01E0A90, "clear_flow_l2_flush_control");
create_insn (x=0X1F01E0A94);
op_plain_offset (x, 1, 0);
op_plain_offset (x, 129, 0);
create_insn (x=0X1F01E0A98);
op_plain_offset (x, 1, 0X60007000);
op_plain_offset (x, 129, 0X60007000);
create_insn (x=0X1F01E0AA0);
op_plain_offset (x, 1, 0);
op_plain_offset (x, 129, 0);
set_name (0X1F01E0AA0, "set_flow_base");
create_insn (x=0X1F01E0AA4);
op_plain_offset (x, 1, 0);
op_plain_offset (x, 129, 0);
create_insn (0X1F01E0AAC);
set_name (0X1F01E0AAC, "set_flow_csr0_for_core");
create_insn (x=0X1F01E0ACC);
op_plain_offset (x, 1, 0);
op_plain_offset (x, 129, 0);
create_insn (x=0X1F01E0AD0);
create_insn (x=0X1F01E0AD4);
op_plain_offset (x, 1, 0);
op_plain_offset (x, 129, 0);
create_insn (x=0X1F01E0ADC);
op_plain_offset (x, 1, 0);
op_plain_offset (x, 129, 0);
create_insn (x=0X1F01E0AE4);
op_plain_offset (x, 1, 0);
op_plain_offset (x, 129, 0);
create_insn (x=0X1F01E0AF0);
op_plain_offset (x, 1, 0);
op_plain_offset (x, 129, 0);
set_name (0X1F01E0AF0, "check_se_flags");
create_insn (x=0X1F01E0AF4);
op_plain_offset (x, 1, 0);
op_plain_offset (x, 129, 0);
create_insn (x=0X1F01E0AFC);
op_hex (x, 1);
create_insn (x=0X1F01E0B08);
op_stkvar (x, 1);
create_insn (x=0X1F01E0B14);
op_stkvar (x, 1);
set_name (0X1F01E0B14, "trigger_se_operation");
create_insn (x=0X1F01E0B18);
op_stkvar (x, 1);
create_insn (x=0X1F01E0B1C);
op_stkvar (x, 1);
create_insn (x=0X1F01E0B20);
op_stkvar (x, 1);
create_insn (x=0X1F01E0B4C);
op_stkvar (x, 1);
create_insn (x=0X1F01E0B6C);
op_stkvar (x, 1);
create_insn (x=0X1F01E0B70);
op_stkvar (x, 1);
create_insn (x=0X1F01E0B88);
op_stkvar (x, 1);
create_insn (x=0X1F01E0B8C);
op_stkvar (x, 1);
create_insn (x=0X1F01E0B98);
op_hex (x, 1);
create_insn (x=0X1F01E0B9C);
op_hex (x, 1);
create_insn (x=0X1F01E0BB4);
op_hex (x, 1);
create_insn (x=0X1F01E0BB8);
op_hex (x, 1);
create_insn (x=0X1F01E0BF0);
op_stkvar (x, 1);
create_insn (x=0X1F01E0BF4);
op_stkvar (x, 1);
create_insn (x=0X1F01E0BF8);
op_stkvar (x, 1);
create_insn (x=0X1F01E0BFC);
op_stkvar (x, 1);
create_insn (x=0X1F01E0C04);
op_stkvar (x, 1);
create_insn (x=0X1F01E0C08);
op_stkvar (x, 1);
create_insn (x=0X1F01E0C0C);
op_stkvar (x, 1);
create_insn (x=0X1F01E0C50);
op_stkvar (x, 1);
create_insn (x=0X1F01E0C54);
op_stkvar (x, 1);
set_cmt (0X1F01E0C58, "dst", 0);
set_cmt (0X1F01E0C5C, "operationRegVal", 0);
set_cmt (0X1F01E0C60, "dstSize", 0);
set_cmt (0X1F01E0C64, "src", 0);
set_cmt (0X1F01E0C68, "srcSize", 0);
create_insn (x=0X1F01E0C6C);
op_stkvar (x, 1);
create_insn (x=0X1F01E0C74);
op_stkvar (x, 1);
set_name (0X1F01E0C74, "set_aes_keyslot_flags");
create_insn (x=0X1F01E0C78);
op_stkvar (x, 1);
create_insn (x=0X1F01E0C90);
op_hex (x, 1);
create_insn (x=0X1F01E0CC4);
op_stkvar (x, 1);
create_insn (x=0X1F01E0CC8);
op_stkvar (x, 1);
create_insn (0X1F01E0CD0);
create_insn (x=0X1F01E0CD4);
op_stkvar (x, 1);
set_name (0X1F01E0CD4, "set_rsa_keyslot_flags");
create_insn (x=0X1F01E0CD8);
op_stkvar (x, 1);
create_insn (x=0X1F01E0CDC);
op_stkvar (x, 1);
create_insn (x=0X1F01E0CF4);
op_hex (x, 1);
create_insn (x=0X1F01E0D00);
op_hex (x, 1);
create_insn (x=0X1F01E0D08);
op_hex (x, 1);
create_insn (x=0X1F01E0D34);
op_stkvar (x, 1);
create_insn (x=0X1F01E0D38);
op_stkvar (x, 1);
create_insn (x=0X1F01E0D3C);
op_stkvar (x, 1);
create_insn (0X1F01E0D44);
create_insn (x=0X1F01E0D48);
op_stkvar (x, 1);
set_name (0X1F01E0D48, "save_se_state");
create_insn (x=0X1F01E0D4C);
op_stkvar (x, 1);
create_insn (x=0X1F01E0D50);
op_stkvar (x, 1);
create_insn (x=0X1F01E0D54);
op_stkvar (x, 1);
create_insn (x=0X1F01E0D58);
op_stkvar (x, 1);
create_insn (x=0X1F01E0D5C);
op_stkvar (x, 1);
set_cmt (0X1F01E0D7C, "dstKeyslot", 0);
set_cmt (0X1F01E0D80, "srcKeyslot", 0);
set_cmt (0X1F01E0D90, "a1", 0);
set_cmt (0X1F01E0D94, "a2", 0);
set_cmt (0X1F01E0D98, "keyslot", 0);
set_cmt (0X1F01E0DAC, "operationRegVal", 0);
set_cmt (0X1F01E0DB0, "dst", 0);
create_insn (x=0X1F01E0DB0);
op_stkvar (x, 1);
set_cmt (0X1F01E0DB4, "dstSize", 0);
set_cmt (0X1F01E0DB8, "src", 0);
set_cmt (0X1F01E0DBC, "srcSize", 0);
create_insn (x=0X1F01E0DCC);
op_stkvar (x, 1);
create_insn (x=0X1F01E0DD4);
op_stkvar (x, 1);
set_cmt (0X1F01E0DF8, "operationRegVal", 0);
set_cmt (0X1F01E0DFC, "dst", 0);
create_insn (x=0X1F01E0DFC);
op_stkvar (x, 1);
set_cmt (0X1F01E0E00, "dstSize", 0);
set_cmt (0X1F01E0E04, "src", 0);
set_cmt (0X1F01E0E08, "srcSize", 0);
create_insn (x=0X1F01E0E10);
op_stkvar (x, 1);
create_insn (x=0X1F01E0E24);
op_stkvar (x, 1);
create_insn (x=0X1F01E0E4C);
op_hex (x, 1);
set_cmt (0X1F01E0E5C, "operationRegVal", 0);
set_cmt (0X1F01E0E60, "dst", 0);
create_insn (x=0X1F01E0E60);
op_stkvar (x, 1);
set_cmt (0X1F01E0E64, "dstSize", 0);
set_cmt (0X1F01E0E68, "src", 0);
set_cmt (0X1F01E0E6C, "srcSize", 0);
create_insn (x=0X1F01E0E74);
op_stkvar (x, 1);
create_insn (x=0X1F01E0E7C);
op_stkvar (x, 1);
set_cmt (0X1F01E0EC0, "operationRegVal", 0);
set_cmt (0X1F01E0EC4, "dst", 0);
create_insn (x=0X1F01E0EC4);
op_stkvar (x, 1);
set_cmt (0X1F01E0EC8, "dstSize", 0);
set_cmt (0X1F01E0ECC, "src", 0);
set_cmt (0X1F01E0ED0, "srcSize", 0);
create_insn (x=0X1F01E0ED8);
op_stkvar (x, 1);
create_insn (x=0X1F01E0EE0);
op_stkvar (x, 1);
set_cmt (0X1F01E0F10, "operationRegVal", 0);
set_cmt (0X1F01E0F14, "dst", 0);
create_insn (x=0X1F01E0F14);
op_stkvar (x, 1);
set_cmt (0X1F01E0F18, "dstSize", 0);
set_cmt (0X1F01E0F1C, "src", 0);
set_cmt (0X1F01E0F20, "srcSize", 0);
create_insn (x=0X1F01E0F28);
op_stkvar (x, 1);
create_insn (x=0X1F01E0F30);
op_stkvar (x, 1);
create_insn (x=0X1F01E0F70);
op_hex (x, 1);
set_cmt (0X1F01E0F80, "operationRegVal", 0);
set_cmt (0X1F01E0F84, "dst", 0);
create_insn (x=0X1F01E0F84);
op_stkvar (x, 1);
set_cmt (0X1F01E0F88, "dstSize", 0);
set_cmt (0X1F01E0F8C, "src", 0);
set_cmt (0X1F01E0F90, "srcSize", 0);
create_insn (x=0X1F01E0F98);
op_stkvar (x, 1);
create_insn (x=0X1F01E0FA0);
op_stkvar (x, 1);
create_insn (x=0X1F01E0FD4);
op_plain_offset (x, 1, 0);
op_plain_offset (x, 129, 0);
set_cmt (0X1F01E0FDC, "operationRegVal", 0);
set_cmt (0X1F01E0FE0, "src", 0);
create_insn (x=0X1F01E0FE0);
set_cmt (0X1F01E0FE4, "dst", 0);
create_insn (x=0X1F01E0FE4);
op_stkvar (x, 1);
set_cmt (0X1F01E0FEC, "dstSize", 0);
set_cmt (0X1F01E0FF0, "srcSize", 0);
create_insn (x=0X1F01E0FFC);
op_stkvar (x, 1);
create_insn (x=0X1F01E1004);
op_stkvar (x, 1);
set_cmt (0X1F01E1010, "operationRegVal", 0);
set_cmt (0X1F01E1014, "dst", 0);
create_insn (x=0X1F01E1014);
op_stkvar (x, 1);
set_cmt (0X1F01E1018, "dstSize", 0);
set_cmt (0X1F01E101C, "src", 0);
set_cmt (0X1F01E1020, "srcSize", 0);
set_cmt (0X1F01E1030, "operationRegVal", 0);
set_cmt (0X1F01E1034, "dst", 0);
create_insn (x=0X1F01E1034);
op_stkvar (x, 1);
set_cmt (0X1F01E1038, "dstSize", 0);
set_cmt (0X1F01E103C, "src", 0);
set_cmt (0X1F01E1040, "srcSize", 0);
create_insn (x=0X1F01E1050);
op_stkvar (x, 1);
create_insn (x=0X1F01E1054);
op_stkvar (x, 1);
create_insn (x=0X1F01E1058);
op_stkvar (x, 1);
create_insn (x=0X1F01E105C);
op_stkvar (x, 1);
create_insn (x=0X1F01E1060);
op_stkvar (x, 1);
create_insn (x=0X1F01E1064);
op_stkvar (x, 1);
create_insn (x=0X1F01E106C);
op_stkvar (x, 1);
set_name (0X1F01E106C, "trigger_se_async_op");
create_insn (x=0X1F01E1070);
op_stkvar (x, 1);
create_insn (x=0X1F01E1090);
op_stkvar (x, 1);
create_insn (x=0X1F01E10A8);
op_stkvar (x, 1);
create_insn (x=0X1F01E10B8);
op_hex (x, 1);
create_insn (x=0X1F01E10BC);
op_hex (x, 1);
create_insn (x=0X1F01E10E8);
op_stkvar (x, 1);
create_insn (x=0X1F01E10EC);
op_stkvar (x, 1);
create_insn (x=0X1F01E10F4);
op_stkvar (x, 1);
set_name (0X1F01E10F4, "clear_aes_keyslot");
create_insn (x=0X1F01E10F8);
op_stkvar (x, 1);
create_insn (x=0X1F01E1130);
op_stkvar (x, 1);
create_insn (x=0X1F01E1134);
op_stkvar (x, 1);
create_insn (0X1F01E113C);
create_insn (x=0X1F01E1140);
op_stkvar (x, 1);
set_name (0X1F01E1140, "clear_rsa_keyslot");
create_insn (x=0X1F01E1144);
op_stkvar (x, 1);
create_insn (x=0X1F01E1158);
op_plain_offset (x, 1, 0);
op_plain_offset (x, 129, 0);
create_insn (x=0X1F01E115C);
create_insn (x=0X1F01E117C);
op_hex (x, 1);
create_insn (x=0X1F01E11B0);
op_stkvar (x, 1);
create_insn (x=0X1F01E11B4);
op_stkvar (x, 1);
create_insn (0X1F01E11BC);
create_insn (0X1F01E11C0);
set_name (0X1F01E11C0, "get_exp_mod_output_w");
create_insn (x=0X1F01E11C4);
op_stkvar (x, 1);
create_insn (x=0X1F01E11C8);
op_stkvar (x, 1);
create_insn (x=0X1F01E11CC);
op_stkvar (x, 1);
create_insn (x=0X1F01E1204);
op_stkvar (x, 1);
create_insn (x=0X1F01E1208);
op_stkvar (x, 1);
create_insn (x=0X1F01E120C);
op_stkvar (x, 1);
create_insn (x=0X1F01E1214);
op_stkvar (x, 1);
set_name (0X1F01E1214, "encrypt_aes_ecb_block");
create_insn (x=0X1F01E1218);
op_stkvar (x, 1);
create_insn (x=0X1F01E121C);
op_stkvar (x, 1);
create_insn (x=0X1F01E1298);
op_stkvar (x, 1);
create_insn (x=0X1F01E12A0);
op_stkvar (x, 1);
create_insn (x=0X1F01E12A4);
op_stkvar (x, 1);
create_insn (x=0X1F01E12AC);
op_stkvar (x, 1);
create_insn (x=0X1F01E12B0);
op_stkvar (x, 1);
create_insn (x=0X1F01E12B4);
op_stkvar (x, 1);
create_insn (0X1F01E12BC);
create_insn (x=0X1F01E12C0);
op_stkvar (x, 1);
set_name (0X1F01E12C0, "set_se_ctr");
create_insn (x=0X1F01E12C4);
op_stkvar (x, 1);
create_insn (x=0X1F01E12D8);
op_stkvar (x, 1);
create_insn (x=0X1F01E12DC);
op_stkvar (x, 1);
create_insn (x=0X1F01E12E4);
op_stkvar (x, 1);
create_insn (x=0X1F01E12F0);
op_stkvar (x, 1);
create_insn (x=0X1F01E12FC);
op_stkvar (x, 1);
create_insn (x=0X1F01E130C);
op_stkvar (x, 1);
create_insn (x=0X1F01E1310);
op_stkvar (x, 1);
create_insn (x=0X1F01E1318);
op_stkvar (x, 1);
create_insn (x=0X1F01E1324);
op_stkvar (x, 1);
create_insn (x=0X1F01E1330);
op_stkvar (x, 1);
create_insn (x=0X1F01E1340);
op_stkvar (x, 1);
create_insn (x=0X1F01E1344);
op_stkvar (x, 1);
create_insn (x=0X1F01E134C);
op_stkvar (x, 1);
create_insn (x=0X1F01E1358);
op_stkvar (x, 1);
create_insn (x=0X1F01E1364);
op_stkvar (x, 1);
create_insn (x=0X1F01E1374);
op_stkvar (x, 1);
create_insn (x=0X1F01E1378);
op_stkvar (x, 1);
create_insn (x=0X1F01E1380);
op_stkvar (x, 1);
create_insn (x=0X1F01E138C);
op_stkvar (x, 1);
create_insn (x=0X1F01E1398);
op_stkvar (x, 1);
create_insn (x=0X1F01E13AC);
op_stkvar (x, 1);
create_insn (x=0X1F01E13B0);
op_stkvar (x, 1);
create_insn (x=0X1F01E13B8);
op_stkvar (x, 1);
set_name (0X1F01E13B8, "set_aes_keyslot_iv");
create_insn (x=0X1F01E13BC);
op_stkvar (x, 1);
create_insn (x=0X1F01E13C0);
op_stkvar (x, 1);
create_insn (x=0X1F01E140C);
op_hex (x, 1);
create_insn (x=0X1F01E1414);
op_stkvar (x, 1);
create_insn (x=0X1F01E1418);
op_stkvar (x, 1);
create_insn (x=0X1F01E1420);
op_stkvar (x, 1);
create_insn (x=0X1F01E142C);
op_stkvar (x, 1);
create_insn (x=0X1F01E1440);
op_stkvar (x, 1);
create_insn (x=0X1F01E1464);
op_stkvar (x, 1);
create_insn (x=0X1F01E1468);
op_stkvar (x, 1);
create_insn (x=0X1F01E146C);
op_stkvar (x, 1);
create_insn (0X1F01E1474);
create_insn (0X1F01E1478);
create_insn (x=0X1F01E14B4);
op_stkvar (x, 1);
set_name (0X1F01E14B4, "calculate_mgf1_and_xor");
create_insn (x=0X1F01E14B8);
op_stkvar (x, 1);
create_insn (x=0X1F01E14BC);
op_stkvar (x, 1);
create_insn (x=0X1F01E14C0);
op_stkvar (x, 1);
create_insn (x=0X1F01E14C4);
op_stkvar (x, 1);
create_insn (x=0X1F01E14C8);
op_stkvar (x, 1);
create_insn (x=0X1F01E14E0);
op_stkvar (x, 1);
create_insn (x=0X1F01E14F4);
op_stkvar (x, 1);
create_insn (x=0X1F01E14F8);
op_stkvar (x, 1);
create_insn (x=0X1F01E150C);
op_stkvar (x, 1);
create_insn (x=0X1F01E1524);
op_hex (x, 1);
set_cmt (0X1F01E1558, "a2", 0);
create_insn (x=0X1F01E1558);
op_stkvar (x, 1);
set_cmt (0X1F01E155C, "a1", 0);
create_insn (x=0X1F01E155C);
op_stkvar (x, 1);
set_cmt (0X1F01E1560, "a3", 0);
create_insn (x=0X1F01E1564);
op_stkvar (x, 1);
set_cmt (0X1F01E1584, "_QWORD", 0);
create_insn (x=0X1F01E1584);
op_stkvar (x, 1);
set_cmt (0X1F01E1588, "_QWORD", 0);
create_insn (x=0X1F01E1588);
op_stkvar (x, 1);
set_cmt (0X1F01E158C, "_QWORD", 0);
create_insn (x=0X1F01E158C);
op_stkvar (x, 1);
create_insn (x=0X1F01E15AC);
op_stkvar (x, 1);
create_insn (x=0X1F01E15E0);
op_stkvar (x, 1);
create_insn (x=0X1F01E15E4);
op_stkvar (x, 1);
create_insn (x=0X1F01E15E8);
op_stkvar (x, 1);
create_insn (x=0X1F01E15EC);
op_stkvar (x, 1);
create_insn (x=0X1F01E15F0);
op_stkvar (x, 1);
create_insn (x=0X1F01E15F4);
op_stkvar (x, 1);
create_insn (0X1F01E15FC);
create_insn (x=0X1F01E1600);
op_stkvar (x, 1);
set_name (0X1F01E1600, "se_get_output");
create_insn (x=0X1F01E1604);
op_stkvar (x, 1);
create_insn (x=0X1F01E1654);
op_stkvar (x, 1);
create_insn (x=0X1F01E1658);
op_stkvar (x, 1);
create_insn (x=0X1F01E1668);
op_stkvar (x, 1);
create_insn (x=0X1F01E167C);
op_stkvar (x, 1);
create_insn (x=0X1F01E1690);
op_stkvar (x, 1);
create_insn (x=0X1F01E16B0);
op_stkvar (x, 1);
create_insn (x=0X1F01E16B4);
op_stkvar (x, 1);
create_insn (x=0X1F01E16BC);
op_stkvar (x, 1);
set_name (0X1F01E16BC, "compute_cmac_internal");
create_insn (x=0X1F01E16C0);
op_stkvar (x, 1);
create_insn (x=0X1F01E16C4);
op_stkvar (x, 1);
create_insn (x=0X1F01E16C8);
op_stkvar (x, 1);
create_insn (x=0X1F01E16CC);
op_stkvar (x, 1);
create_insn (x=0X1F01E16D0);
op_stkvar (x, 1);
create_insn (0X1F01E1728);
set_cmt (0X1F01E172C, "dst", 0);
create_insn (x=0X1F01E172C);
op_stkvar (x, 1);
set_cmt (0X1F01E1730, "dstSize", 0);
set_cmt (0X1F01E1734, "src", 0);
create_insn (x=0X1F01E1734);
op_stkvar (x, 1);
set_cmt (0X1F01E1738, "srcSize", 0);
set_cmt (0X1F01E173C, "configVal", 0);
set_cmt (0X1F01E1740, "keySlot", 0);
create_insn (x=0X1F01E1744);
op_stkvar (x, 1);
create_insn (x=0X1F01E174C);
op_stkvar (x, 1);
create_insn (x=0X1F01E175C);
op_stkvar (x, 1);
create_insn (x=0X1F01E17A0);
op_hex (x, 1);
set_cmt (0X1F01E17C8, "dst", 0);
set_cmt (0X1F01E17CC, "operationRegVal", 0);
set_cmt (0X1F01E17D0, "dstSize", 0);
set_cmt (0X1F01E17D4, "src", 0);
set_cmt (0X1F01E17D8, "srcSize", 0);
create_insn (x=0X1F01E17E4);
op_hex (x, 1);
create_insn (x=0X1F01E1804);
op_stkvar (x, 1);
set_cmt (0X1F01E1814, "a2", 0);
set_cmt (0X1F01E1818, "a1", 0);
set_cmt (0X1F01E181C, "a3", 0);
create_insn (x=0X1F01E1828);
op_stkvar (x, 1);
set_cmt (0X1F01E1848, "operationRegVal", 0);
set_cmt (0X1F01E184C, "src", 0);
set_cmt (0X1F01E1850, "srcSize", 0);
set_cmt (0X1F01E1854, "dst", 0);
set_cmt (0X1F01E1858, "dstSize", 0);
create_insn (x=0X1F01E1880);
op_stkvar (x, 1);
create_insn (x=0X1F01E1884);
op_stkvar (x, 1);
create_insn (x=0X1F01E1894);
op_stkvar (x, 1);
create_insn (x=0X1F01E1898);
op_hex (x, 1);
create_insn (x=0X1F01E18A0);
op_stkvar (x, 1);
create_insn (x=0X1F01E18A8);
op_hex (x, 1);
create_insn (x=0X1F01E18AC);
op_hex (x, 1);
create_insn (x=0X1F01E18B4);
op_stkvar (x, 1);
create_insn (x=0X1F01E18D0);
op_stkvar (x, 1);
create_insn (x=0X1F01E18D4);
op_stkvar (x, 1);
create_insn (x=0X1F01E18D8);
op_stkvar (x, 1);
create_insn (x=0X1F01E18DC);
op_stkvar (x, 1);
create_insn (x=0X1F01E18E0);
op_stkvar (x, 1);
create_insn (x=0X1F01E18E4);
op_stkvar (x, 1);
create_insn (0X1F01E18EC);
create_insn (x=0X1F01E18F0);
op_stkvar (x, 1);
set_name (0X1F01E18F0, "crypt_aes_async_by_mode");
create_insn (x=0X1F01E18F4);
op_stkvar (x, 1);
create_insn (x=0X1F01E18F8);
op_stkvar (x, 1);
create_insn (x=0X1F01E18FC);
op_stkvar (x, 1);
create_insn (x=0X1F01E1900);
op_stkvar (x, 1);
create_insn (x=0X1F01E1940);
op_hex (x, 1);
create_insn (x=0X1F01E194C);
op_hex (x, 1);
create_insn (x=0X1F01E196C);
op_hex (x, 1);
set_cmt (0X1F01E1980, "result", 0);
create_insn (x=0X1F01E199C);
op_stkvar (x, 1);
create_insn (x=0X1F01E19A0);
op_stkvar (x, 1);
create_insn (x=0X1F01E19A4);
op_stkvar (x, 1);
create_insn (x=0X1F01E19A8);
op_stkvar (x, 1);
create_insn (x=0X1F01E19AC);
op_stkvar (x, 1);
create_insn (x=0X1F01E19B4);
op_stkvar (x, 1);
create_insn (x=0X1F01E19B8);
op_stkvar (x, 1);
create_insn (x=0X1F01E19BC);
op_stkvar (x, 1);
create_insn (x=0X1F01E19C0);
op_stkvar (x, 1);
create_insn (x=0X1F01E19C4);
op_stkvar (x, 1);
create_insn (0X1F01E19CC);
create_insn (x=0X1F01E19D0);
op_stkvar (x, 1);
create_insn (x=0X1F01E19D4);
op_stkvar (x, 1);
create_insn (x=0X1F01E19D8);
op_stkvar (x, 1);
create_insn (x=0X1F01E1A18);
op_stkvar (x, 1);
create_insn (x=0X1F01E1A1C);
op_stkvar (x, 1);
create_insn (x=0X1F01E1A28);
op_stkvar (x, 1);
create_insn (x=0X1F01E1A30);
op_stkvar (x, 1);
create_insn (x=0X1F01E1A3C);
op_stkvar (x, 1);
create_insn (x=0X1F01E1A78);
op_stkvar (x, 1);
create_insn (x=0X1F01E1A7C);
op_stkvar (x, 1);
create_insn (x=0X1F01E1A80);
op_stkvar (x, 1);
create_insn (x=0X1F01E1A88);
op_stkvar (x, 1);
set_name (0X1F01E1A88, "decrypt_single_aes_ecb_block");
create_insn (x=0X1F01E1A8C);
op_stkvar (x, 1);
create_insn (x=0X1F01E1A90);
op_stkvar (x, 1);
create_insn (x=0X1F01E1AF4);
op_stkvar (x, 1);
create_insn (x=0X1F01E1AFC);
op_stkvar (x, 1);
create_insn (x=0X1F01E1B00);
op_stkvar (x, 1);
create_insn (x=0X1F01E1B08);
op_stkvar (x, 1);
create_insn (x=0X1F01E1B0C);
op_stkvar (x, 1);
create_insn (x=0X1F01E1B10);
op_stkvar (x, 1);
create_insn (0X1F01E1B18);
create_insn (0X1F01E1B1C);
set_name (0X1F01E1B1C, "encrypt_single_aes_128_ecb_block");
create_insn (0X1F01E1B3C);
set_name (0X1F01E1B3C, "encrypt_single_aes_256_ecb_block");
set_cmt (0X1F01E1B48, "configVal", 0);
set_cmt (0X1F01E1B4C, "keySlot", 0);
set_cmt (0X1F01E1B50, "src", 0);
set_cmt (0X1F01E1B54, "srcSize", 0);
create_insn (x=0X1F01E1B5C);
op_stkvar (x, 1);
set_name (0X1F01E1B5C, "generate_random_aes_key");
create_insn (x=0X1F01E1B60);
op_stkvar (x, 1);
create_insn (x=0X1F01E1B64);
op_stkvar (x, 1);
set_cmt (0X1F01E1BAC, "dst", 0);
set_cmt (0X1F01E1BB0, "operationRegVal", 0);
set_cmt (0X1F01E1BB4, "dstSize", 0);
set_cmt (0X1F01E1BB8, "src", 0);
set_cmt (0X1F01E1BBC, "srcSize", 0);
set_cmt (0X1F01E1BD4, "dst", 0);
create_insn (x=0X1F01E1BD8);
op_stkvar (x, 1);
set_cmt (0X1F01E1BDC, "operationRegVal", 0);
create_insn (x=0X1F01E1BE0);
op_stkvar (x, 1);
set_cmt (0X1F01E1BE4, "dstSize", 0);
set_cmt (0X1F01E1BE8, "src", 0);
set_cmt (0X1F01E1BEC, "srcSize", 0);
create_insn (x=0X1F01E1BF0);
op_stkvar (x, 1);
create_insn (x=0X1F01E1BF8);
op_stkvar (x, 1);
set_name (0X1F01E1BF8, "check_se_error_dup");
create_insn (x=0X1F01E1C0C);
op_stkvar (x, 1);
create_insn (0X1F01E1C14);
create_insn (x=0X1F01E1C18);
op_stkvar (x, 1);
set_name (0X1F01E1C18, "verify_se_state");
create_insn (x=0X1F01E1C1C);
op_stkvar (x, 1);
create_insn (x=0X1F01E1C20);
op_stkvar (x, 1);
create_insn (x=0X1F01E1C24);
op_stkvar (x, 1);
create_insn (x=0X1F01E1C3C);
op_hex (x, 1);
create_insn (x=0X1F01E1C54);
op_hex (x, 1);
create_insn (x=0X1F01E1C6C);
op_hex (x, 1);
create_insn (x=0X1F01E1C98);
op_hex (x, 1);
create_insn (x=0X1F01E1CC0);
op_hex (x, 1);
create_insn (x=0X1F01E1CEC);
op_hex (x, 1);
create_insn (0X1F01E1D10);
create_insn (x=0X1F01E1D14);
op_stkvar (x, 1);
create_insn (x=0X1F01E1D18);
op_stkvar (x, 1);
create_insn (x=0X1F01E1D1C);
op_stkvar (x, 1);
create_insn (x=0X1F01E1D20);
op_stkvar (x, 1);
create_insn (x=0X1F01E1D28);
op_stkvar (x, 1);
set_name (0X1F01E1D28, "se_calculate_sha256");
create_insn (x=0X1F01E1D2C);
op_stkvar (x, 1);
create_insn (x=0X1F01E1D30);
op_stkvar (x, 1);
set_cmt (0X1F01E1D74, "dst", 0);
set_cmt (0X1F01E1D78, "dstSize", 0);
set_cmt (0X1F01E1D80, "src", 0);
set_cmt (0X1F01E1D84, "srcSize", 0);
set_cmt (0X1F01E1D98, "operationRegVal", 0);
create_insn (x=0X1F01E1DB8);
op_stkvar (x, 1);
create_insn (x=0X1F01E1DBC);
op_stkvar (x, 1);
create_insn (x=0X1F01E1DD0);
op_stkvar (x, 1);
create_insn (x=0X1F01E1DD4);
op_hex (x, 1);
create_insn (x=0X1F01E1DE0);
op_stkvar (x, 1);
create_insn (x=0X1F01E1DE4);
op_hex (x, 1);
create_insn (x=0X1F01E1DEC);
op_hex (x, 1);
create_insn (x=0X1F01E1DF4);
op_stkvar (x, 1);
create_insn (x=0X1F01E1E0C);
op_stkvar (x, 1);
create_insn (x=0X1F01E1E10);
op_stkvar (x, 1);
create_insn (x=0X1F01E1E14);
op_stkvar (x, 1);
create_insn (x=0X1F01E1E1C);
op_stkvar (x, 1);
set_name (0X1F01E1E1C, "se_interrupt_handler");
create_insn (x=0X1F01E1E20);
op_stkvar (x, 1);
create_insn (x=0X1F01E1E28);
op_plain_offset (x, 1, 0);
op_plain_offset (x, 129, 0);
create_insn (x=0X1F01E1E2C);
op_plain_offset (x, 1, 0);
op_plain_offset (x, 129, 0);
create_insn (x=0X1F01E1E38);
op_plain_offset (x, 1, 0);
op_plain_offset (x, 129, 0);
create_insn (x=0X1F01E1E3C);
op_plain_offset (x, 1, 0);
op_plain_offset (x, 129, 0);
create_insn (x=0X1F01E1E48);
op_plain_offset (x, 1, 0);
op_plain_offset (x, 129, 0);
create_insn (x=0X1F01E1E4C);
op_stkvar (x, 1);
create_insn (x=0X1F01E1E50);
op_stkvar (x, 1);
create_insn (x=0X1F01E1E58);
op_stkvar (x, 1);
set_name (0X1F01E1E58, "decrypt_aes_ctr_by_key_and_ctr");
create_insn (x=0X1F01E1E5C);
op_stkvar (x, 1);
create_insn (x=0X1F01E1E60);
op_stkvar (x, 1);
create_insn (x=0X1F01E1E64);
op_stkvar (x, 1);
create_insn (x=0X1F01E1E68);
op_stkvar (x, 1);
set_cmt (0X1F01E1ED4, "ctr", 0);
set_cmt (0X1F01E1EF4, "operationRegVal", 0);
set_cmt (0X1F01E1EF8, "dst", 0);
set_cmt (0X1F01E1EFC, "dstSize", 0);
set_cmt (0X1F01E1F00, "src", 0);
set_cmt (0X1F01E1F04, "srcSize", 0);
set_cmt (0X1F01E1F2C, "a2", 0);
set_cmt (0X1F01E1F34, "a1", 0);
create_insn (x=0X1F01E1F34);
op_stkvar (x, 1);
set_cmt (0X1F01E1F3C, "operationRegVal", 0);
set_cmt (0X1F01E1F40, "dst", 0);
set_cmt (0X1F01E1F44, "dstSize", 0);
set_cmt (0X1F01E1F48, "src", 0);
create_insn (x=0X1F01E1F48);
op_stkvar (x, 1);
set_cmt (0X1F01E1F4C, "srcSize", 0);
set_cmt (0X1F01E1F60, "a1", 0);
set_cmt (0X1F01E1F68, "a2", 0);
create_insn (x=0X1F01E1F74);
op_stkvar (x, 1);
create_insn (x=0X1F01E1F78);
op_stkvar (x, 1);
create_insn (x=0X1F01E1F7C);
op_stkvar (x, 1);
create_insn (x=0X1F01E1F80);
op_stkvar (x, 1);
create_insn (x=0X1F01E1F84);
op_stkvar (x, 1);
create_insn (0X1F01E1F8C);
create_insn (x=0X1F01E1F90);
op_stkvar (x, 1);
set_name (0X1F01E1F90, "encrypt_aes_256_cbc");
create_insn (x=0X1F01E1F94);
op_stkvar (x, 1);
create_insn (x=0X1F01E1F98);
op_stkvar (x, 1);
create_insn (x=0X1F01E1F9C);
op_stkvar (x, 1);
create_insn (x=0X1F01E1FA0);
op_stkvar (x, 1);
create_insn (x=0X1F01E1FDC);
op_hex (x, 1);
set_cmt (0X1F01E201C, "a3", 0);
set_cmt (0X1F01E2020, "a1", 0);
set_cmt (0X1F01E2024, "a2", 0);
create_insn (x=0X1F01E204C);
op_stkvar (x, 1);
create_insn (x=0X1F01E2050);
op_stkvar (x, 1);
create_insn (x=0X1F01E2058);
op_stkvar (x, 1);
create_insn (x=0X1F01E205C);
op_stkvar (x, 1);
create_insn (x=0X1F01E2060);
op_stkvar (x, 1);
create_insn (x=0X1F01E2068);
op_stkvar (x, 1);
create_insn (x=0X1F01E206C);
op_stkvar (x, 1);
create_insn (x=0X1F01E2070);
op_stkvar (x, 1);
create_insn (x=0X1F01E2074);
op_stkvar (x, 1);
create_insn (x=0X1F01E2078);
op_stkvar (x, 1);
create_insn (0X1F01E2080);
create_insn (x=0X1F01E2084);
op_stkvar (x, 1);
set_name (0X1F01E2084, "se_initialize_rng_keyslot");
create_insn (x=0X1F01E2088);
op_stkvar (x, 1);
create_insn (x=0X1F01E208C);
op_stkvar (x, 1);
set_cmt (0X1F01E20DC, "operationRegVal", 0);
set_cmt (0X1F01E20E0, "dst", 0);
set_cmt (0X1F01E20E4, "dstSize", 0);
set_cmt (0X1F01E20E8, "src", 0);
set_cmt (0X1F01E20EC, "srcSize", 0);
create_insn (x=0X1F01E2100);
op_stkvar (x, 1);
create_insn (x=0X1F01E2104);
op_stkvar (x, 1);
create_insn (x=0X1F01E2108);
op_stkvar (x, 1);
create_insn (0X1F01E2110);
set_name (0X1F01E2110, "compute_cmac_128");
create_insn (0X1F01E2130);
set_name (0X1F01E2130, "compute_cmac_256");
set_cmt (0X1F01E213C, "a3", 0);
set_cmt (0X1F01E2140, "a4", 0);
set_cmt (0X1F01E2144, "a5", 0);
set_cmt (0X1F01E2148, "a6", 0);
create_insn (x=0X1F01E2150);
op_plain_offset (x, 1, 0);
op_plain_offset (x, 129, 0);
set_name (0X1F01E2150, "get_security_engine");
create_insn (x=0X1F01E2154);
op_plain_offset (x, 1, 0);
op_plain_offset (x, 129, 0);
create_insn (x=0X1F01E215C);
op_plain_offset (x, 1, 0);
op_plain_offset (x, 129, 0);
set_name (0X1F01E215C, "set_se_done_callback");
create_insn (x=0X1F01E2160);
op_plain_offset (x, 1, 0);
op_plain_offset (x, 129, 0);
create_insn (x=0X1F01E2168);
op_plain_offset (x, 1, 0);
op_plain_offset (x, 129, 0);
set_name (0X1F01E2168, "set_se_base");
create_insn (x=0X1F01E216C);
op_plain_offset (x, 1, 0);
op_plain_offset (x, 129, 0);
create_insn (x=0X1F01E2174);
op_stkvar (x, 1);
set_name (0X1F01E2174, "rsa_oaep_extract_wrapped_titlekey");
create_insn (x=0X1F01E2178);
op_stkvar (x, 1);
create_insn (x=0X1F01E217C);
op_stkvar (x, 1);
create_insn (x=0X1F01E2180);
op_stkvar (x, 1);
create_insn (x=0X1F01E2184);
op_stkvar (x, 1);
set_cmt (0X1F01E21BC, "maskedBufferLen", 0);
set_cmt (0X1F01E21C0, "maskedBuffer", 0);
set_cmt (0X1F01E21C4, "seed", 0);
set_cmt (0X1F01E21C8, "seedLen", 0);
set_cmt (0X1F01E21D0, "seedLen", 0);
set_cmt (0X1F01E21D4, "maskedBuffer", 0);
set_cmt (0X1F01E21D8, "maskedBufferLen", 0);
set_cmt (0X1F01E21DC, "seed", 0);
create_insn (x=0X1F01E21FC);
op_hex (x, 1);
set_cmt (0X1F01E2280, "a2", 0);
create_insn (0X1F01E2280);
set_cmt (0X1F01E2284, "a1", 0);
set_cmt (0X1F01E2288, "a3", 0);
create_insn (x=0X1F01E2294);
op_stkvar (x, 1);
create_insn (x=0X1F01E2298);
op_stkvar (x, 1);
create_insn (x=0X1F01E229C);
op_stkvar (x, 1);
create_insn (x=0X1F01E22A0);
op_stkvar (x, 1);
create_insn (x=0X1F01E22A4);
op_stkvar (x, 1);
create_insn (0X1F01E22AC);
create_insn (x=0X1F01E22B0);
op_stkvar (x, 1);
set_name (0X1F01E22B0, "se_generate_random_bytes");
create_insn (x=0X1F01E22B4);
op_stkvar (x, 1);
create_insn (x=0X1F01E22B8);
op_stkvar (x, 1);
create_insn (x=0X1F01E22BC);
op_stkvar (x, 1);
create_insn (x=0X1F01E22C0);
op_stkvar (x, 1);
set_cmt (0X1F01E2334, "operationRegVal", 0);
set_cmt (0X1F01E2338, "dst", 0);
set_cmt (0X1F01E233C, "dstSize", 0);
set_cmt (0X1F01E2340, "src", 0);
set_cmt (0X1F01E2348, "srcSize", 0);
set_cmt (0X1F01E2358, "operationRegVal", 0);
set_cmt (0X1F01E235C, "dst", 0);
set_cmt (0X1F01E2360, "dstSize", 0);
set_cmt (0X1F01E2364, "src", 0);
set_cmt (0X1F01E2368, "srcSize", 0);
set_cmt (0X1F01E2374, "a1", 0);
set_cmt (0X1F01E237C, "a2", 0);
create_insn (x=0X1F01E2388);
op_stkvar (x, 1);
create_insn (x=0X1F01E238C);
op_stkvar (x, 1);
create_insn (x=0X1F01E2390);
op_stkvar (x, 1);
create_insn (x=0X1F01E2394);
op_stkvar (x, 1);
create_insn (x=0X1F01E2398);
op_stkvar (x, 1);
create_insn (0X1F01E23A0);
create_insn (x=0X1F01E23A4);
op_stkvar (x, 1);
set_name (0X1F01E23A4, "decrypt_data_into_keyslot");
create_insn (x=0X1F01E23A8);
op_stkvar (x, 1);
create_insn (x=0X1F01E23AC);
op_stkvar (x, 1);
create_insn (x=0X1F01E23B0);
op_stkvar (x, 1);
set_cmt (0X1F01E2414, "src", 0);
set_cmt (0X1F01E2418, "srcSize", 0);
create_insn (x=0X1F01E241C);
op_stkvar (x, 1);
set_cmt (0X1F01E2420, "dst", 0);
create_insn (x=0X1F01E2424);
op_stkvar (x, 1);
set_cmt (0X1F01E2428, "operationRegVal", 0);
create_insn (x=0X1F01E242C);
op_stkvar (x, 1);
set_cmt (0X1F01E2430, "dstSize", 0);
create_insn (x=0X1F01E2434);
op_stkvar (x, 1);
create_insn (0X1F01E243C);
create_insn (x=0X1F01E2440);
op_stkvar (x, 1);
set_name (0X1F01E2440, "check_se_error");
create_insn (x=0X1F01E2458);
op_hex (x, 1);
create_insn (x=0X1F01E2468);
op_stkvar (x, 1);
create_insn (0X1F01E2470);
create_insn (x=0X1F01E2474);
op_stkvar (x, 1);
set_name (0X1F01E2474, "crypt_aes_ctr_async");
create_insn (x=0X1F01E2478);
op_stkvar (x, 1);
create_insn (x=0X1F01E247C);
op_stkvar (x, 1);
create_insn (x=0X1F01E2480);
op_stkvar (x, 1);
set_cmt (0X1F01E24B4, "ctr", 0);
set_cmt (0X1F01E24BC, "a2", 0);
set_cmt (0X1F01E24C0, "a3", 0);
set_cmt (0X1F01E24C4, "a4", 0);
set_cmt (0X1F01E24C8, "a5", 0);
create_insn (x=0X1F01E24CC);
op_stkvar (x, 1);
create_insn (x=0X1F01E24D0);
op_stkvar (x, 1);
set_cmt (0X1F01E24D4, "a6", 0);
create_insn (x=0X1F01E24D8);
op_stkvar (x, 1);
set_cmt (0X1F01E24DC, "a7", 0);
set_cmt (0X1F01E24E0, "result", 0);
create_insn (x=0X1F01E24E4);
op_stkvar (x, 1);
create_insn (0X1F01E24EC);
create_insn (x=0X1F01E24F0);
op_stkvar (x, 1);
set_name (0X1F01E24F0, "decrypt_aes_cbc_async");
create_insn (x=0X1F01E24F4);
op_stkvar (x, 1);
create_insn (x=0X1F01E24F8);
op_stkvar (x, 1);
create_insn (x=0X1F01E24FC);
op_stkvar (x, 1);
set_cmt (0X1F01E2520, "a3", 0);
set_cmt (0X1F01E2524, "a1", 0);
set_cmt (0X1F01E2528, "a2", 0);
set_cmt (0X1F01E2530, "a2", 0);
set_cmt (0X1F01E2534, "a3", 0);
set_cmt (0X1F01E2538, "a4", 0);
set_cmt (0X1F01E253C, "a5", 0);
create_insn (x=0X1F01E2540);
op_stkvar (x, 1);
create_insn (x=0X1F01E2544);
op_stkvar (x, 1);
set_cmt (0X1F01E2548, "a7", 0);
create_insn (x=0X1F01E254C);
op_stkvar (x, 1);
set_cmt (0X1F01E2550, "a6", 0);
set_cmt (0X1F01E2554, "result", 0);
create_insn (x=0X1F01E2558);
op_stkvar (x, 1);
create_insn (0X1F01E2560);
create_insn (x=0X1F01E2564);
op_stkvar (x, 1);
set_name (0X1F01E2564, "encrypt_aes_cbc_async");
create_insn (x=0X1F01E2568);
op_stkvar (x, 1);
create_insn (x=0X1F01E256C);
op_stkvar (x, 1);
create_insn (x=0X1F01E2570);
op_stkvar (x, 1);
set_cmt (0X1F01E2594, "a3", 0);
set_cmt (0X1F01E2598, "a1", 0);
set_cmt (0X1F01E259C, "a2", 0);
set_cmt (0X1F01E25A4, "a2", 0);
set_cmt (0X1F01E25A8, "a3", 0);
set_cmt (0X1F01E25AC, "a4", 0);
set_cmt (0X1F01E25B0, "a5", 0);
create_insn (x=0X1F01E25B4);
op_stkvar (x, 1);
create_insn (x=0X1F01E25B8);
op_stkvar (x, 1);
set_cmt (0X1F01E25BC, "a6", 0);
create_insn (x=0X1F01E25C0);
op_stkvar (x, 1);
set_cmt (0X1F01E25C4, "a7", 0);
set_cmt (0X1F01E25C8, "result", 0);
create_insn (x=0X1F01E25CC);
op_stkvar (x, 1);
create_insn (0X1F01E25D4);
create_insn (x=0X1F01E25D8);
op_stkvar (x, 1);
set_name (0X1F01E25D8, "rsa_exponentiate_synchronous");
create_insn (x=0X1F01E25DC);
op_stkvar (x, 1);
create_insn (x=0X1F01E25E0);
op_stkvar (x, 1);
create_insn (x=0X1F01E25E4);
op_stkvar (x, 1);
create_insn (x=0X1F01E2644);
op_plain_offset (x, 1, 0);
op_plain_offset (x, 129, 0);
create_insn (x=0X1F01E2650);
set_cmt (0X1F01E2670, "operationRegVal", 0);
set_cmt (0X1F01E2674, "src", 0);
set_cmt (0X1F01E2678, "dst", 0);
set_cmt (0X1F01E267C, "dstSize", 0);
set_cmt (0X1F01E2680, "srcSize", 0);
set_cmt (0X1F01E2688, "a1", 0);
set_cmt (0X1F01E268C, "a2", 0);
create_insn (x=0X1F01E2698);
op_stkvar (x, 1);
create_insn (x=0X1F01E269C);
op_stkvar (x, 1);
create_insn (x=0X1F01E26A0);
op_stkvar (x, 1);
create_insn (x=0X1F01E26A4);
op_stkvar (x, 1);
create_insn (0X1F01E26AC);
create_insn (x=0X1F01E26B0);
op_stkvar (x, 1);
set_name (0X1F01E26B0, "do_rsa_async");
create_insn (x=0X1F01E26B4);
op_stkvar (x, 1);
create_insn (x=0X1F01E26B8);