// File: /workspace/github_c_makefile_star2_O3/mikebdp2[P]AtomDis/./datastructs_gen.c
// Function: ATOM_ROM_HEADER_dumper
int ATOM_ROM_HEADER_dumper (uint8_t *start, uint8_t *data, int indent) {
  ATOM_ROM_HEADER *d = (ATOM_ROM_HEADER *) data;
  int i;
  if (d) {
    printf ("%s%04x:  ATOM_COMMON_TABLE_HEADER sHeader%s :\n", IND(indent), (int)(((uint8_t*)&d->sHeader)-start), FILL(31)); ATOM_COMMON_TABLE_HEADER_dumper (start, (uint8_t*) &d->sHeader, indent+1);
    for (i = 0; i < 4; i++) {
      printf ("%s%04x:  UCHAR uaFirmWareSignature%s [%d] = 0x%02x       (%d)\n", IND(indent), (int)(((uint8_t*)&d->uaFirmWareSignature[i])-start), FILL(28+(i>9)), i, d->uaFirmWareSignature[i], d->uaFirmWareSignature[i]); }
    printf ("%s%04x:  USHORT usBiosRuntimeSegmentAddress%s = 0x%04x     (%d)\n", IND(indent), (int)(((uint8_t*)&d->usBiosRuntimeSegmentAddress)-start), FILL(33), d->usBiosRuntimeSegmentAddress, d->usBiosRuntimeSegmentAddress);
    printf ("%s%04x:  USHORT usProtectedModeInfoOffset%s = 0x%04x     (%d)\n", IND(indent), (int)(((uint8_t*)&d->usProtectedModeInfoOffset)-start), FILL(31), d->usProtectedModeInfoOffset, d->usProtectedModeInfoOffset);
    printf ("%s%04x:  USHORT usConfigFilenameOffset%s = 0x%04x     (%d)\n", IND(indent), (int)(((uint8_t*)&d->usConfigFilenameOffset)-start), FILL(28), d->usConfigFilenameOffset, d->usConfigFilenameOffset);
    printf ("%s%04x:  USHORT usCRC_BlockOffset%s = 0x%04x     (%d)\n", IND(indent), (int)(((uint8_t*)&d->usCRC_BlockOffset)-start), FILL(23), d->usCRC_BlockOffset, d->usCRC_BlockOffset);
    printf ("%s%04x:  USHORT usBIOS_BootupMessageOffset%s = 0x%04x     (%d)\n", IND(indent), (int)(((uint8_t*)&d->usBIOS_BootupMessageOffset)-start), FILL(32), d->usBIOS_BootupMessageOffset, d->usBIOS_BootupMessageOffset);
    printf ("%s%04x:  USHORT usInt10Offset%s = 0x%04x     (%d)\n", IND(indent), (int)(((uint8_t*)&d->usInt10Offset)-start), FILL(19), d->usInt10Offset, d->usInt10Offset);
    printf ("%s%04x:  USHORT usPciBusDevInitCode%s = 0x%04x     (%d)\n", IND(indent), (int)(((uint8_t*)&d->usPciBusDevInitCode)-start), FILL(25), d->usPciBusDevInitCode, d->usPciBusDevInitCode);
    printf ("%s%04x:  USHORT usIoBaseAddress%s = 0x%04x     (%d)\n", IND(indent), (int)(((uint8_t*)&d->usIoBaseAddress)-start), FILL(21), d->usIoBaseAddress, d->usIoBaseAddress);
    printf ("%s%04x:  USHORT usSubsystemVendorID%s = 0x%04x     (%d)\n", IND(indent), (int)(((uint8_t*)&d->usSubsystemVendorID)-start), FILL(25), d->usSubsystemVendorID, d->usSubsystemVendorID);
    printf ("%s%04x:  USHORT usSubsystemID%s = 0x%04x     (%d)\n", IND(indent), (int)(((uint8_t*)&d->usSubsystemID)-start), FILL(19), d->usSubsystemID, d->usSubsystemID);
    printf ("%s%04x:  USHORT usPCI_InfoOffset%s = 0x%04x     (%d)\n", IND(indent), (int)(((uint8_t*)&d->usPCI_InfoOffset)-start), FILL(22), d->usPCI_InfoOffset, d->usPCI_InfoOffset);
    printf ("%s%04x:  USHORT usMasterCommandTableOffset%s = 0x%04x     (%d)\n", IND(indent), (int)(((uint8_t*)&d->usMasterCommandTableOffset)-start), FILL(32), d->usMasterCommandTableOffset, d->usMasterCommandTableOffset);
    printf ("%s%04x:  USHORT usMasterDataTableOffset%s = 0x%04x     (%d)\n", IND(indent), (int)(((uint8_t*)&d->usMasterDataTableOffset)-start), FILL(29), d->usMasterDataTableOffset, d->usMasterDataTableOffset);
    printf ("%s%04x:  UCHAR ucExtendedFunctionCode%s = 0x%02x       (%d)\n", IND(indent), (int)(((uint8_t*)&d->ucExtendedFunctionCode)-start), FILL(27), d->ucExtendedFunctionCode, d->ucExtendedFunctionCode);
    printf ("%s%04x:  UCHAR ucReserved%s = 0x%02x       (%d)\n", IND(indent), (int)(((uint8_t*)&d->ucReserved)-start), FILL(15), d->ucReserved, d->ucReserved);
  }
  return sizeof (ATOM_ROM_HEADER);
}

// Assembly:
testq %rsi, %rsi
je 0x63e9
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %edx, %ebp
movq %rsi, %rbx
movq %rdi, %r14
movq 0x361f0(%rip), %rcx     # 0x3c2b0
cmpl $0x19, %edx
movl $0x19, %eax
cmovll %edx, %eax
addl %eax, %eax
movl $0x32, %edx
subl %eax, %edx
movslq %edx, %r15
leaq (%rcx,%r15), %rsi
addq $0x1f, %rcx
leaq 0x1cac8(%rip), %rdi     # 0x22bae
movl %ebx, %r12d
subl %r14d, %r12d
movl %r12d, %edx
xorl %eax, %eax
callq 0x40b0
incl %ebp
movq %r14, %rdi
movq %rbx, %rsi
movl %ebp, %edx
callq 0x5fe4
addl $0x4, %r12d
leaq 0x1cacd(%rip), %r13     # 0x22bdd
xorl %ebp, %ebp
movq 0x36197(%rip), %rcx     # 0x3c2b0
leaq (%rcx,%r15), %rsi
leal (%r12,%rbp), %edx
addq $0x1c, %rcx
movzbl 0x4(%rbx,%rbp), %r9d
movl %r9d, (%rsp)
movq %r13, %rdi
movl %ebp, %r8d
xorl %eax, %eax
callq 0x40b0
incq %rbp
cmpq $0x4, %rbp
jne 0x6112
movq 0x36164(%rip), %rcx     # 0x3c2b0
leaq (%rcx,%r15), %rsi
leaq 0x8(%rbx), %rdx
subl %r14d, %edx
addq $0x21, %rcx
movzwl 0x8(%rbx), %r8d
leaq 0x1cab5(%rip), %rdi     # 0x22c1c
movl %r8d, %r9d
xorl %eax, %eax
callq 0x40b0
movq 0x36138(%rip), %rcx     # 0x3c2b0
leaq (%rcx,%r15), %rsi
leaq 0xa(%rbx), %rdx
subl %r14d, %edx
addq $0x1f, %rcx
movzwl 0xa(%rbx), %r8d
leaq 0x1caca(%rip), %rdi     # 0x22c5d
movl %r8d, %r9d
xorl %eax, %eax
callq 0x40b0
movq 0x3610c(%rip), %rcx     # 0x3c2b0
leaq (%rcx,%r15), %rsi
leaq 0xc(%rbx), %rdx
subl %r14d, %edx
addq $0x1c, %rcx
movzwl 0xc(%rbx), %r8d
leaq 0x1cadd(%rip), %rdi     # 0x22c9c
movl %r8d, %r9d
xorl %eax, %eax
callq 0x40b0
movq 0x360e0(%rip), %rcx     # 0x3c2b0
leaq (%rcx,%r15), %rsi
leaq 0xe(%rbx), %rdx
subl %r14d, %edx
addq $0x17, %rcx
movzwl 0xe(%rbx), %r8d
leaq 0x1caed(%rip), %rdi     # 0x22cd8
movl %r8d, %r9d
xorl %eax, %eax
callq 0x40b0
movq 0x360b4(%rip), %rcx     # 0x3c2b0
leaq (%rcx,%r15), %rsi
leaq 0x10(%rbx), %rdx
subl %r14d, %edx
addq $0x20, %rcx
movzwl 0x10(%rbx), %r8d
leaq 0x1caf8(%rip), %rdi     # 0x22d0f
movl %r8d, %r9d
xorl %eax, %eax
callq 0x40b0
movq 0x36088(%rip), %rcx     # 0x3c2b0
leaq (%rcx,%r15), %rsi
leaq 0x12(%rbx), %rdx
subl %r14d, %edx
addq $0x13, %rcx
movzwl 0x12(%rbx), %r8d
leaq 0x1cb0c(%rip), %rdi     # 0x22d4f
movl %r8d, %r9d
xorl %eax, %eax
callq 0x40b0
movq 0x3605c(%rip), %rcx     # 0x3c2b0
leaq (%rcx,%r15), %rsi
leaq 0x14(%rbx), %rdx
subl %r14d, %edx
addq $0x19, %rcx
movzwl 0x14(%rbx), %r8d
leaq 0x1cb13(%rip), %rdi     # 0x22d82
movl %r8d, %r9d
xorl %eax, %eax
callq 0x40b0
movq 0x36030(%rip), %rcx     # 0x3c2b0
leaq (%rcx,%r15), %rsi
leaq 0x16(%rbx), %rdx
subl %r14d, %edx
addq $0x15, %rcx
movzwl 0x16(%rbx), %r8d
leaq 0x1cb20(%rip), %rdi     # 0x22dbb
movl %r8d, %r9d
xorl %eax, %eax
callq 0x40b0
movq 0x36004(%rip), %rcx     # 0x3c2b0
leaq (%rcx,%r15), %rsi
leaq 0x18(%rbx), %rdx
subl %r14d, %edx
addq $0x19, %rcx
movzwl 0x18(%rbx), %r8d
leaq 0x1cb29(%rip), %rdi     # 0x22df0
movl %r8d, %r9d
xorl %eax, %eax
callq 0x40b0
movq 0x35fd8(%rip), %rcx     # 0x3c2b0
leaq (%rcx,%r15), %rsi
leaq 0x1a(%rbx), %rdx
subl %r14d, %edx
addq $0x13, %rcx
movzwl 0x1a(%rbx), %r8d
leaq 0x1cb36(%rip), %rdi     # 0x22e29
movl %r8d, %r9d
xorl %eax, %eax
callq 0x40b0
movq 0x35fac(%rip), %rcx     # 0x3c2b0
leaq (%rcx,%r15), %rsi
leaq 0x1c(%rbx), %rdx
subl %r14d, %edx
addq $0x16, %rcx
movzwl 0x1c(%rbx), %r8d
leaq 0x1cb3d(%rip), %rdi     # 0x22e5c
movl %r8d, %r9d
xorl %eax, %eax
callq 0x40b0
movq 0x35f80(%rip), %rcx     # 0x3c2b0
leaq (%rcx,%r15), %rsi
leaq 0x1e(%rbx), %rdx
subl %r14d, %edx
addq $0x20, %rcx
movzwl 0x1e(%rbx), %r8d
leaq 0x1cb47(%rip), %rdi     # 0x22e92
movl %r8d, %r9d
xorl %eax, %eax
callq 0x40b0
movq 0x35f54(%rip), %rcx     # 0x3c2b0
leaq (%rcx,%r15), %rsi
leaq 0x20(%rbx), %rdx
subl %r14d, %edx
addq $0x1d, %rcx
movzwl 0x20(%rbx), %r8d
leaq 0x1cb5b(%rip), %rdi     # 0x22ed2
movl %r8d, %r9d
xorl %eax, %eax
callq 0x40b0
movq 0x35f28(%rip), %rcx     # 0x3c2b0
leaq (%rcx,%r15), %rsi
leaq 0x22(%rbx), %rdx
subl %r14d, %edx
addq $0x1b, %rcx
movzbl 0x22(%rbx), %r8d
leaq 0x1cb6c(%rip), %rdi     # 0x22f0f
movl %r8d, %r9d
xorl %eax, %eax
callq 0x40b0
movq 0x35efc(%rip), %rcx     # 0x3c2b0
addq %rcx, %r15
leaq 0x23(%rbx), %rdx
subl %r14d, %edx
addq $0xf, %rcx
movzbl 0x23(%rbx), %r8d
leaq 0x1cb7e(%rip), %rdi     # 0x22f4c
movq %r15, %rsi
movl %r8d, %r9d
xorl %eax, %eax
callq 0x40b0
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
movl $0x24, %eax
retq