// File: /workspace/github_c_makefile_star2_O3/mikebdp2[P]AtomDis/./datastructs_gen.c
// Function: ATOM_VRAM_INFO_HEADER_V2_1_dumper
int ATOM_VRAM_INFO_HEADER_V2_1_dumper (uint8_t *start, uint8_t *data, int indent) {
  ATOM_VRAM_INFO_HEADER_V2_1 *d = (ATOM_VRAM_INFO_HEADER_V2_1 *) 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);
    printf ("%s%04x:  USHORT usMemAdjustTblOffset%s = 0x%04x     (%d)\n", IND(indent), (int)(((uint8_t*)&d->usMemAdjustTblOffset)-start), FILL(26), d->usMemAdjustTblOffset, d->usMemAdjustTblOffset);
    printf ("%s%04x:  USHORT usMemClkPatchTblOffset%s = 0x%04x     (%d)\n", IND(indent), (int)(((uint8_t*)&d->usMemClkPatchTblOffset)-start), FILL(28), d->usMemClkPatchTblOffset, d->usMemClkPatchTblOffset);
    for (i = 0; i < 4; i++) {
      printf ("%s%04x:  USHORT usReserved%s [%d] = 0x%04x     (%d)\n", IND(indent), (int)(((uint8_t*)&d->usReserved[i])-start), FILL(20+(i>9)), i, d->usReserved[i], d->usReserved[i]); }
    printf ("%s%04x:  UCHAR ucNumOfVRAMModule%s = 0x%02x       (%d)\n", IND(indent), (int)(((uint8_t*)&d->ucNumOfVRAMModule)-start), FILL(22), d->ucNumOfVRAMModule, d->ucNumOfVRAMModule);
    printf ("%s%04x:  UCHAR ucMemoryClkPatchTblVer%s = 0x%02x       (%d)\n", IND(indent), (int)(((uint8_t*)&d->ucMemoryClkPatchTblVer)-start), FILL(27), d->ucMemoryClkPatchTblVer, d->ucMemoryClkPatchTblVer);
    printf ("%s%04x:  UCHAR ucVramModuleVer%s = 0x%02x       (%d)\n", IND(indent), (int)(((uint8_t*)&d->ucVramModuleVer)-start), FILL(20), d->ucVramModuleVer, d->ucVramModuleVer);
    printf ("%s%04x:  UCHAR ucReserved%s = 0x%02x       (%d)\n", IND(indent), (int)(((uint8_t*)&d->ucReserved)-start), FILL(15), d->ucReserved, d->ucReserved);
    for (i = 0; i < 16; i++) {
      printf ("%s%04x:  ATOM_VRAM_MODULE_V7 aVramInfo%s [%d] :\n", IND(indent), (int)(((uint8_t*)&d->aVramInfo[i])-start), FILL(32+(i>9)), i); ATOM_VRAM_MODULE_V7_dumper (start, (uint8_t*) &d->aVramInfo[i], indent+1); }
  }
  return sizeof (ATOM_VRAM_INFO_HEADER_V2_1);
}

// Assembly:
testq %rsi, %rsi
je 0x1c07e
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movl %edx, %r12d
movq %rsi, %r14
movq %rdi, %r13
movq 0x20436(%rip), %rcx     # 0x3c2b0
cmpl $0x19, %edx
movl $0x19, %eax
cmovll %edx, %eax
addl %eax, %eax
movl $0x32, %edx
subl %eax, %edx
movslq %edx, %rbx
leaq (%rcx,%rbx), %rsi
addq $0x1f, %rcx
leaq 0x6d0e(%rip), %rdi      # 0x22bae
movl %r14d, %ebp
subl %r13d, %ebp
movl %ebp, %edx
xorl %eax, %eax
callq 0x40b0
incl %r12d
movq %r13, %rdi
movq %r14, %rsi
movl %r12d, 0x14(%rsp)
movl %r12d, %edx
callq 0x5fe4
movq 0x203e4(%rip), %rcx     # 0x3c2b0
leaq (%rcx,%rbx), %rsi
leaq 0x4(%r14), %rdx
subl %r13d, %edx
addq $0x1a, %rcx
movzwl 0x4(%r14), %r8d
leaq 0x12b86(%rip), %rdi     # 0x2ea6d
movl %r8d, %r9d
xorl %eax, %eax
callq 0x40b0
movq 0x203b8(%rip), %rcx     # 0x3c2b0
leaq (%rcx,%rbx), %rsi
leaq 0x6(%r14), %rdx
movq %r13, %r15
subl %r13d, %edx
addq $0x1c, %rcx
movzwl 0x6(%r14), %r8d
leaq 0x12b91(%rip), %rdi     # 0x2eaa7
movl %r8d, %r9d
xorl %eax, %eax
callq 0x40b0
addl $0x8, %ebp
leaq 0x12d24(%rip), %r12     # 0x2ec4e
xorl %r13d, %r13d
movq 0x2037c(%rip), %rcx     # 0x3c2b0
leaq (%rcx,%rbx), %rsi
addq $0x14, %rcx
movzwl 0x8(%r14,%r13,2), %r9d
movl %r9d, (%rsp)
movq %r12, %rdi
movl %ebp, %edx
movl %r13d, %r8d
xorl %eax, %eax
callq 0x40b0
incq %r13
addl $0x2, %ebp
cmpq $0x4, %r13
jne 0x1bf2d
movq 0x20348(%rip), %rcx     # 0x3c2b0
leaq (%rcx,%rbx), %rsi
leaq 0x10(%r14), %rdx
movq %r15, %r13
subl %r13d, %edx
addq $0x16, %rcx
movzbl 0x10(%r14), %r8d
leaq 0x12a7e(%rip), %rdi     # 0x2ea04
movl %r8d, %r9d
xorl %eax, %eax
callq 0x40b0
movq 0x20319(%rip), %rcx     # 0x3c2b0
leaq (%rcx,%rbx), %rsi
leaq 0x11(%r14), %rdx
subl %r13d, %edx
addq $0x1b, %rcx
movzbl 0x11(%r14), %r8d
leaq 0x12cd1(%rip), %rdi     # 0x2ec83
movl %r8d, %r9d
xorl %eax, %eax
callq 0x40b0
movq 0x202ed(%rip), %rcx     # 0x3c2b0
leaq (%rcx,%rbx), %rsi
leaq 0x12(%r14), %rdx
subl %r13d, %edx
addq $0x14, %rcx
movzbl 0x12(%r14), %r8d
leaq 0x12ce2(%rip), %rdi     # 0x2ecc0
movl %r8d, %r9d
xorl %eax, %eax
callq 0x40b0
movq 0x202c1(%rip), %rcx     # 0x3c2b0
leaq (%rcx,%rbx), %rsi
leaq 0x13(%r14), %rdx
subl %r13d, %edx
addq $0xf, %rcx
movzbl 0x13(%r14), %r8d
leaq 0x6f42(%rip), %rdi      # 0x22f4c
movl %r8d, %r9d
xorl %eax, %eax
callq 0x40b0
leaq 0x14(%r14), %r12
subl %r13d, %r14d
addl $0x14, %r14d
xorl %ebp, %ebp
movl 0x14(%rsp), %r15d
movq 0x20283(%rip), %rcx     # 0x3c2b0
leaq (%rcx,%rbx), %rsi
cmpq $0xa, %rbp
sbbq $-0x1, %rcx
addq $0x20, %rcx
leaq 0x12cb2(%rip), %rdi     # 0x2ecf6
movl %r14d, %edx
movl %ebp, %r8d
xorl %eax, %eax
callq 0x40b0
movq %r13, %rdi
movq %r12, %rsi
movl %r15d, %edx
callq 0x1b3bd
incq %rbp
addq $0x34, %r12
addl $0x34, %r14d
cmpq $0x10, %rbp
jne 0x1c026
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
movl $0x354, %eax            # imm = 0x354
retq