// File: /workspace/github_c_makefile_star2_O1/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 0x1bebf
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 0x205f5(%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 0x6ef0(%rip), %rdi      # 0x22bd1
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 0x5f74
movq 0x205a3(%rip), %rcx     # 0x3c2b0
leaq (%rcx,%rbx), %rsi
leaq 0x4(%r14), %rdx
subl %r13d, %edx
addq $0x1a, %rcx
movzwl 0x4(%r14), %r8d
leaq 0x12d68(%rip), %rdi     # 0x2ea90
movl %r8d, %r9d
xorl %eax, %eax
callq 0x40b0
movq 0x20577(%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 0x12d73(%rip), %rdi     # 0x2eaca
movl %r8d, %r9d
xorl %eax, %eax
callq 0x40b0
addl $0x8, %ebp
leaq 0x12f06(%rip), %r12     # 0x2ec71
xorl %r13d, %r13d
movq 0x2053b(%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 0x1bd6e
movq 0x20507(%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 0x12c60(%rip), %rdi     # 0x2ea27
movl %r8d, %r9d
xorl %eax, %eax
callq 0x40b0
movq 0x204d8(%rip), %rcx     # 0x3c2b0
leaq (%rcx,%rbx), %rsi
leaq 0x11(%r14), %rdx
subl %r13d, %edx
addq $0x1b, %rcx
movzbl 0x11(%r14), %r8d
leaq 0x12eb3(%rip), %rdi     # 0x2eca6
movl %r8d, %r9d
xorl %eax, %eax
callq 0x40b0
movq 0x204ac(%rip), %rcx     # 0x3c2b0
leaq (%rcx,%rbx), %rsi
leaq 0x12(%r14), %rdx
subl %r13d, %edx
addq $0x14, %rcx
movzbl 0x12(%r14), %r8d
leaq 0x12ec4(%rip), %rdi     # 0x2ece3
movl %r8d, %r9d
xorl %eax, %eax
callq 0x40b0
movq 0x20480(%rip), %rcx     # 0x3c2b0
leaq (%rcx,%rbx), %rsi
leaq 0x13(%r14), %rdx
subl %r13d, %edx
addq $0xf, %rcx
movzbl 0x13(%r14), %r8d
leaq 0x7124(%rip), %rdi      # 0x22f6f
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 0x20442(%rip), %rcx     # 0x3c2b0
leaq (%rcx,%rbx), %rsi
cmpq $0xa, %rbp
sbbq $-0x1, %rcx
addq $0x20, %rcx
leaq 0x12e94(%rip), %rdi     # 0x2ed19
movl %r14d, %edx
movl %ebp, %r8d
xorl %eax, %eax
callq 0x40b0
movq %r13, %rdi
movq %r12, %rsi
movl %r15d, %edx
callq 0x1b1fd
incq %rbp
addq $0x34, %r12
addl $0x34, %r14d
cmpq $0x10, %rbp
jne 0x1be67
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
movl $0x354, %eax            # imm = 0x354
retq