// File: /workspace/github_c_makefile_star2_O1/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 0x6379
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %edx, %ebp
movq %rsi, %rbx
movq %rdi, %r14
movq 0x36260(%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 0x1cb5b(%rip), %rdi     # 0x22bd1
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 0x5f74
addl $0x4, %r12d
leaq 0x1cb60(%rip), %r13     # 0x22c00
xorl %ebp, %ebp
movq 0x36207(%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 0x60a2
movq 0x361d4(%rip), %rcx     # 0x3c2b0
leaq (%rcx,%r15), %rsi
leaq 0x8(%rbx), %rdx
subl %r14d, %edx
addq $0x21, %rcx
movzwl 0x8(%rbx), %r8d
leaq 0x1cb48(%rip), %rdi     # 0x22c3f
movl %r8d, %r9d
xorl %eax, %eax
callq 0x40b0
movq 0x361a8(%rip), %rcx     # 0x3c2b0
leaq (%rcx,%r15), %rsi
leaq 0xa(%rbx), %rdx
subl %r14d, %edx
addq $0x1f, %rcx
movzwl 0xa(%rbx), %r8d
leaq 0x1cb5d(%rip), %rdi     # 0x22c80
movl %r8d, %r9d
xorl %eax, %eax
callq 0x40b0
movq 0x3617c(%rip), %rcx     # 0x3c2b0
leaq (%rcx,%r15), %rsi
leaq 0xc(%rbx), %rdx
subl %r14d, %edx
addq $0x1c, %rcx
movzwl 0xc(%rbx), %r8d
leaq 0x1cb70(%rip), %rdi     # 0x22cbf
movl %r8d, %r9d
xorl %eax, %eax
callq 0x40b0
movq 0x36150(%rip), %rcx     # 0x3c2b0
leaq (%rcx,%r15), %rsi
leaq 0xe(%rbx), %rdx
subl %r14d, %edx
addq $0x17, %rcx
movzwl 0xe(%rbx), %r8d
leaq 0x1cb80(%rip), %rdi     # 0x22cfb
movl %r8d, %r9d
xorl %eax, %eax
callq 0x40b0
movq 0x36124(%rip), %rcx     # 0x3c2b0
leaq (%rcx,%r15), %rsi
leaq 0x10(%rbx), %rdx
subl %r14d, %edx
addq $0x20, %rcx
movzwl 0x10(%rbx), %r8d
leaq 0x1cb8b(%rip), %rdi     # 0x22d32
movl %r8d, %r9d
xorl %eax, %eax
callq 0x40b0
movq 0x360f8(%rip), %rcx     # 0x3c2b0
leaq (%rcx,%r15), %rsi
leaq 0x12(%rbx), %rdx
subl %r14d, %edx
addq $0x13, %rcx
movzwl 0x12(%rbx), %r8d
leaq 0x1cb9f(%rip), %rdi     # 0x22d72
movl %r8d, %r9d
xorl %eax, %eax
callq 0x40b0
movq 0x360cc(%rip), %rcx     # 0x3c2b0
leaq (%rcx,%r15), %rsi
leaq 0x14(%rbx), %rdx
subl %r14d, %edx
addq $0x19, %rcx
movzwl 0x14(%rbx), %r8d
leaq 0x1cba6(%rip), %rdi     # 0x22da5
movl %r8d, %r9d
xorl %eax, %eax
callq 0x40b0
movq 0x360a0(%rip), %rcx     # 0x3c2b0
leaq (%rcx,%r15), %rsi
leaq 0x16(%rbx), %rdx
subl %r14d, %edx
addq $0x15, %rcx
movzwl 0x16(%rbx), %r8d
leaq 0x1cbb3(%rip), %rdi     # 0x22dde
movl %r8d, %r9d
xorl %eax, %eax
callq 0x40b0
movq 0x36074(%rip), %rcx     # 0x3c2b0
leaq (%rcx,%r15), %rsi
leaq 0x18(%rbx), %rdx
subl %r14d, %edx
addq $0x19, %rcx
movzwl 0x18(%rbx), %r8d
leaq 0x1cbbc(%rip), %rdi     # 0x22e13
movl %r8d, %r9d
xorl %eax, %eax
callq 0x40b0
movq 0x36048(%rip), %rcx     # 0x3c2b0
leaq (%rcx,%r15), %rsi
leaq 0x1a(%rbx), %rdx
subl %r14d, %edx
addq $0x13, %rcx
movzwl 0x1a(%rbx), %r8d
leaq 0x1cbc9(%rip), %rdi     # 0x22e4c
movl %r8d, %r9d
xorl %eax, %eax
callq 0x40b0
movq 0x3601c(%rip), %rcx     # 0x3c2b0
leaq (%rcx,%r15), %rsi
leaq 0x1c(%rbx), %rdx
subl %r14d, %edx
addq $0x16, %rcx
movzwl 0x1c(%rbx), %r8d
leaq 0x1cbd0(%rip), %rdi     # 0x22e7f
movl %r8d, %r9d
xorl %eax, %eax
callq 0x40b0
movq 0x35ff0(%rip), %rcx     # 0x3c2b0
leaq (%rcx,%r15), %rsi
leaq 0x1e(%rbx), %rdx
subl %r14d, %edx
addq $0x20, %rcx
movzwl 0x1e(%rbx), %r8d
leaq 0x1cbda(%rip), %rdi     # 0x22eb5
movl %r8d, %r9d
xorl %eax, %eax
callq 0x40b0
movq 0x35fc4(%rip), %rcx     # 0x3c2b0
leaq (%rcx,%r15), %rsi
leaq 0x20(%rbx), %rdx
subl %r14d, %edx
addq $0x1d, %rcx
movzwl 0x20(%rbx), %r8d
leaq 0x1cbee(%rip), %rdi     # 0x22ef5
movl %r8d, %r9d
xorl %eax, %eax
callq 0x40b0
movq 0x35f98(%rip), %rcx     # 0x3c2b0
leaq (%rcx,%r15), %rsi
leaq 0x22(%rbx), %rdx
subl %r14d, %edx
addq $0x1b, %rcx
movzbl 0x22(%rbx), %r8d
leaq 0x1cbff(%rip), %rdi     # 0x22f32
movl %r8d, %r9d
xorl %eax, %eax
callq 0x40b0
movq 0x35f6c(%rip), %rcx     # 0x3c2b0
addq %rcx, %r15
leaq 0x23(%rbx), %rdx
subl %r14d, %edx
addq $0xf, %rcx
movzbl 0x23(%rbx), %r8d
leaq 0x1cc11(%rip), %rdi     # 0x22f6f
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