// File: /workspace/github_c_makefile_star2_O2/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 0x6132
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %edx, %ebp
movq %rsi, %rbx
movq %rdi, %r14
movq 0x3749a(%rip), %rcx     # 0x3d2b0
cmpl $0x19, %edx
pushq $0x19
popq %rax
cmovll %edx, %eax
addl %eax, %eax
pushq $0x32
popq %rdx
subl %eax, %edx
movslq %edx, %r15
leaq (%rcx,%r15), %rsi
addq $0x1f, %rcx
leaq 0x1bd76(%rip), %rdi     # 0x21bae
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 0x5d40
addl $0x4, %r12d
leaq 0x1bd7b(%rip), %r13     # 0x21bdd
xorl %ebp, %ebp
movq 0x37445(%rip), %rcx     # 0x3d2b0
leaq (%rcx,%r15), %rsi
cmpq $0x4, %rbp
je 0x5e99
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
jmp 0x5e64
leaq 0x8(%rbx), %rdx
subl %r14d, %edx
addq $0x21, %rcx
movzwl 0x8(%rbx), %r8d
leaq 0x1bd6c(%rip), %rdi     # 0x21c1c
movl %r8d, %r9d
xorl %eax, %eax
callq 0x40b0
movq 0x373ef(%rip), %rcx     # 0x3d2b0
leaq (%rcx,%r15), %rsi
leaq 0xa(%rbx), %rdx
subl %r14d, %edx
addq $0x1f, %rcx
movzwl 0xa(%rbx), %r8d
leaq 0x1bd81(%rip), %rdi     # 0x21c5d
movl %r8d, %r9d
xorl %eax, %eax
callq 0x40b0
movq 0x373c3(%rip), %rcx     # 0x3d2b0
leaq (%rcx,%r15), %rsi
leaq 0xc(%rbx), %rdx
subl %r14d, %edx
addq $0x1c, %rcx
movzwl 0xc(%rbx), %r8d
leaq 0x1bd94(%rip), %rdi     # 0x21c9c
movl %r8d, %r9d
xorl %eax, %eax
callq 0x40b0
movq 0x37397(%rip), %rcx     # 0x3d2b0
leaq (%rcx,%r15), %rsi
leaq 0xe(%rbx), %rdx
subl %r14d, %edx
addq $0x17, %rcx
movzwl 0xe(%rbx), %r8d
leaq 0x1bda4(%rip), %rdi     # 0x21cd8
movl %r8d, %r9d
xorl %eax, %eax
callq 0x40b0
movq 0x3736b(%rip), %rcx     # 0x3d2b0
leaq (%rcx,%r15), %rsi
leaq 0x10(%rbx), %rdx
subl %r14d, %edx
addq $0x20, %rcx
movzwl 0x10(%rbx), %r8d
leaq 0x1bdaf(%rip), %rdi     # 0x21d0f
movl %r8d, %r9d
xorl %eax, %eax
callq 0x40b0
movq 0x3733f(%rip), %rcx     # 0x3d2b0
leaq (%rcx,%r15), %rsi
leaq 0x12(%rbx), %rdx
subl %r14d, %edx
addq $0x13, %rcx
movzwl 0x12(%rbx), %r8d
leaq 0x1bdc3(%rip), %rdi     # 0x21d4f
movl %r8d, %r9d
xorl %eax, %eax
callq 0x40b0
movq 0x37313(%rip), %rcx     # 0x3d2b0
leaq (%rcx,%r15), %rsi
leaq 0x14(%rbx), %rdx
subl %r14d, %edx
addq $0x19, %rcx
movzwl 0x14(%rbx), %r8d
leaq 0x1bdca(%rip), %rdi     # 0x21d82
movl %r8d, %r9d
xorl %eax, %eax
callq 0x40b0
movq 0x372e7(%rip), %rcx     # 0x3d2b0
leaq (%rcx,%r15), %rsi
leaq 0x16(%rbx), %rdx
subl %r14d, %edx
addq $0x15, %rcx
movzwl 0x16(%rbx), %r8d
leaq 0x1bdd7(%rip), %rdi     # 0x21dbb
movl %r8d, %r9d
xorl %eax, %eax
callq 0x40b0
movq 0x372bb(%rip), %rcx     # 0x3d2b0
leaq (%rcx,%r15), %rsi
leaq 0x18(%rbx), %rdx
subl %r14d, %edx
addq $0x19, %rcx
movzwl 0x18(%rbx), %r8d
leaq 0x1bde0(%rip), %rdi     # 0x21df0
movl %r8d, %r9d
xorl %eax, %eax
callq 0x40b0
movq 0x3728f(%rip), %rcx     # 0x3d2b0
leaq (%rcx,%r15), %rsi
leaq 0x1a(%rbx), %rdx
subl %r14d, %edx
addq $0x13, %rcx
movzwl 0x1a(%rbx), %r8d
leaq 0x1bded(%rip), %rdi     # 0x21e29
movl %r8d, %r9d
xorl %eax, %eax
callq 0x40b0
movq 0x37263(%rip), %rcx     # 0x3d2b0
leaq (%rcx,%r15), %rsi
leaq 0x1c(%rbx), %rdx
subl %r14d, %edx
addq $0x16, %rcx
movzwl 0x1c(%rbx), %r8d
leaq 0x1bdf4(%rip), %rdi     # 0x21e5c
movl %r8d, %r9d
xorl %eax, %eax
callq 0x40b0
movq 0x37237(%rip), %rcx     # 0x3d2b0
leaq (%rcx,%r15), %rsi
leaq 0x1e(%rbx), %rdx
subl %r14d, %edx
addq $0x20, %rcx
movzwl 0x1e(%rbx), %r8d
leaq 0x1bdfe(%rip), %rdi     # 0x21e92
movl %r8d, %r9d
xorl %eax, %eax
callq 0x40b0
movq 0x3720b(%rip), %rcx     # 0x3d2b0
leaq (%rcx,%r15), %rsi
leaq 0x20(%rbx), %rdx
subl %r14d, %edx
addq $0x1d, %rcx
movzwl 0x20(%rbx), %r8d
leaq 0x1be12(%rip), %rdi     # 0x21ed2
movl %r8d, %r9d
xorl %eax, %eax
callq 0x40b0
movq 0x371df(%rip), %rcx     # 0x3d2b0
leaq (%rcx,%r15), %rsi
leaq 0x22(%rbx), %rdx
subl %r14d, %edx
addq $0x1b, %rcx
movzbl 0x22(%rbx), %r8d
leaq 0x1be23(%rip), %rdi     # 0x21f0f
movl %r8d, %r9d
xorl %eax, %eax
callq 0x40b0
movq 0x371b3(%rip), %rcx     # 0x3d2b0
addq %rcx, %r15
leaq 0x23(%rbx), %rdx
subl %r14d, %edx
addq $0xf, %rcx
movzbl 0x23(%rbx), %r8d
leaq 0x1be35(%rip), %rdi     # 0x21f4c
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
pushq $0x24
popq %rax
retq