// File: /workspace/github_c_makefile_star2_O2/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 0x1b446
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rsi, %r14
movq %rdi, %r15
movq 0x2205f(%rip), %rcx     # 0x3d2b0
movl %edx, %r12d
cmpl $0x19, %edx
pushq $0x19
popq %rax
cmovll %edx, %eax
addl %eax, %eax
pushq $0x32
popq %rdx
subl %eax, %edx
movslq %edx, %rbx
leaq (%rcx,%rbx), %rsi
addq $0x1f, %rcx
leaq 0x6938(%rip), %rdi      # 0x21bae
movl %r14d, %ebp
subl %r15d, %ebp
movl %ebp, %edx
xorl %eax, %eax
callq 0x40b0
incl %r12d
movq %r15, %rdi
movq %r14, %rsi
movl %r12d, 0x14(%rsp)
movl %r12d, %edx
callq 0x5d40
movq 0x2200e(%rip), %rcx     # 0x3d2b0
leaq (%rcx,%rbx), %rsi
leaq 0x4(%r14), %rdx
subl %r15d, %edx
addq $0x1a, %rcx
movzwl 0x4(%r14), %r8d
leaq 0x127b0(%rip), %rdi     # 0x2da6d
movl %r8d, %r9d
xorl %eax, %eax
callq 0x40b0
movq 0x21fe2(%rip), %rcx     # 0x3d2b0
leaq (%rcx,%rbx), %rsi
leaq 0x6(%r14), %rdx
subl %r15d, %edx
addq $0x1c, %rcx
movzwl 0x6(%r14), %r8d
leaq 0x127be(%rip), %rdi     # 0x2daa7
movl %r8d, %r9d
xorl %eax, %eax
callq 0x40b0
addl $0x8, %ebp
leaq 0x12951(%rip), %r12     # 0x2dc4e
xorl %r13d, %r13d
movq 0x21fa9(%rip), %rcx     # 0x3d2b0
leaq (%rcx,%rbx), %rsi
cmpq $0x4, %r13
je 0x1b336
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
jmp 0x1b300
leaq 0x10(%r14), %rdx
subl %r15d, %edx
addq $0x16, %rcx
movzbl 0x10(%r14), %r8d
leaq 0x126b7(%rip), %rdi     # 0x2da04
movl %r8d, %r9d
xorl %eax, %eax
callq 0x40b0
movq 0x21f52(%rip), %rcx     # 0x3d2b0
leaq (%rcx,%rbx), %rsi
leaq 0x11(%r14), %rdx
subl %r15d, %edx
addq $0x1b, %rcx
movzbl 0x11(%r14), %r8d
leaq 0x1290a(%rip), %rdi     # 0x2dc83
movl %r8d, %r9d
xorl %eax, %eax
callq 0x40b0
movq 0x21f26(%rip), %rcx     # 0x3d2b0
leaq (%rcx,%rbx), %rsi
leaq 0x12(%r14), %rdx
subl %r15d, %edx
addq $0x14, %rcx
movzbl 0x12(%r14), %r8d
leaq 0x1291b(%rip), %rdi     # 0x2dcc0
movl %r8d, %r9d
xorl %eax, %eax
callq 0x40b0
movq 0x21efa(%rip), %rcx     # 0x3d2b0
leaq (%rcx,%rbx), %rsi
leaq 0x13(%r14), %rdx
subl %r15d, %edx
addq $0xf, %rcx
movzbl 0x13(%r14), %r8d
leaq 0x6b7b(%rip), %rdi      # 0x21f4c
movl %r8d, %r9d
xorl %eax, %eax
callq 0x40b0
leaq 0x14(%r14), %r12
subl %r15d, %r14d
addl $0x14, %r14d
leaq 0x12909(%rip), %r13     # 0x2dcf6
xorl %ebp, %ebp
cmpq $0x10, %rbp
je 0x1b438
movq 0x21eb4(%rip), %rcx     # 0x3d2b0
leaq (%rcx,%rbx), %rsi
cmpq $0xa, %rbp
sbbq $-0x1, %rcx
addq $0x20, %rcx
movq %r13, %rdi
movl %r14d, %edx
movl %ebp, %r8d
xorl %eax, %eax
callq 0x40b0
movq %r15, %rdi
movq %r12, %rsi
movl 0x14(%rsp), %edx
callq 0x1a824
incq %rbp
addq $0x34, %r12
addl $0x34, %r14d
jmp 0x1b3ef
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
movl $0x354, %eax            # imm = 0x354
retq