// File: /workspace/github_c_makefile_star2_O0/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:
pushq %rbp
movq %rsp, %rbp
subq $0x100, %rsp            # imm = 0x100
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movl %edx, -0x14(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x20(%rbp)
cmpq $0x0, -0x20(%rbp)
je 0x3e3a2
movq 0x26470(%rip), %rax     # 0x642a0
movq %rax, -0x30(%rbp)
cmpl $0x19, -0x14(%rbp)
jle 0x3de44
movl $0x19, %eax
movl %eax, -0x34(%rbp)
jmp 0x3de4a
movl -0x14(%rbp), %eax
movl %eax, -0x34(%rbp)
movq -0x30(%rbp), %rsi
movl -0x34(%rbp), %ecx
shll %ecx
movl $0x32, %eax
subl %ecx, %eax
cltq
addq %rax, %rsi
movq -0x20(%rbp), %rax
movq -0x8(%rbp), %rcx
subq %rcx, %rax
movl %eax, %edx
movq 0x2642d(%rip), %rcx     # 0x642a0
addq $0x1f, %rcx
leaq 0xede1(%rip), %rdi      # 0x4cc5f
movb $0x0, %al
callq 0x4090
movq -0x8(%rbp), %rdi
movq -0x20(%rbp), %rsi
movl -0x14(%rbp), %edx
addl $0x1, %edx
callq 0x6b10
movq 0x26401(%rip), %rax     # 0x642a0
movq %rax, -0x40(%rbp)
cmpl $0x19, -0x14(%rbp)
jle 0x3deb3
movl $0x19, %eax
movl %eax, -0x44(%rbp)
jmp 0x3deb9
movl -0x14(%rbp), %eax
movl %eax, -0x44(%rbp)
movq -0x40(%rbp), %rsi
movl -0x44(%rbp), %ecx
shll %ecx
movl $0x32, %eax
subl %ecx, %eax
cltq
addq %rax, %rsi
movq -0x20(%rbp), %rax
addq $0x4, %rax
movq -0x8(%rbp), %rcx
subq %rcx, %rax
movl %eax, %edx
movq 0x263ba(%rip), %rcx     # 0x642a0
addq $0x1a, %rcx
movq -0x20(%rbp), %rax
movzwl 0x4(%rax), %r8d
movq -0x20(%rbp), %rax
movzwl 0x4(%rax), %r9d
leaq 0x1ac57(%rip), %rdi     # 0x58b5a
movb $0x0, %al
callq 0x4090
movq 0x2638f(%rip), %rax     # 0x642a0
movq %rax, -0x50(%rbp)
cmpl $0x19, -0x14(%rbp)
jle 0x3df25
movl $0x19, %eax
movl %eax, -0x54(%rbp)
jmp 0x3df2b
movl -0x14(%rbp), %eax
movl %eax, -0x54(%rbp)
movq -0x50(%rbp), %rsi
movl -0x54(%rbp), %ecx
shll %ecx
movl $0x32, %eax
subl %ecx, %eax
cltq
addq %rax, %rsi
movq -0x20(%rbp), %rax
addq $0x6, %rax
movq -0x8(%rbp), %rcx
subq %rcx, %rax
movl %eax, %edx
movq 0x26348(%rip), %rcx     # 0x642a0
addq $0x1c, %rcx
movq -0x20(%rbp), %rax
movzwl 0x6(%rax), %r8d
movq -0x20(%rbp), %rax
movzwl 0x6(%rax), %r9d
leaq 0x1ac1f(%rip), %rdi     # 0x58b94
movb $0x0, %al
callq 0x4090
movl $0x0, -0x24(%rbp)
cmpl $0x4, -0x24(%rbp)
jge 0x3e079
movq 0x2630c(%rip), %rax     # 0x642a0
movq %rax, -0x60(%rbp)
cmpl $0x19, -0x14(%rbp)
jle 0x3dfa8
movl $0x19, %eax
movl %eax, -0x64(%rbp)
jmp 0x3dfae
movl -0x14(%rbp), %eax
movl %eax, -0x64(%rbp)
movq -0x60(%rbp), %rax
movl -0x64(%rbp), %edx
shll %edx
movl $0x32, %ecx
subl %edx, %ecx
movslq %ecx, %rcx
addq %rcx, %rax
movq %rax, -0x80(%rbp)
movq -0x20(%rbp), %rax
addq $0x8, %rax
movslq -0x24(%rbp), %rcx
shlq %rcx
addq %rcx, %rax
movq -0x8(%rbp), %rcx
subq %rcx, %rax
movl %eax, -0x74(%rbp)
movq 0x262b5(%rip), %rax     # 0x642a0
movq %rax, -0x70(%rbp)
cmpl $0x9, -0x24(%rbp)
setg %al
andb $0x1, %al
movzbl %al, %eax
addl $0x14, %eax
cmpl $0x32, %eax
jle 0x3e010
movl $0x32, %eax
movl %eax, -0x84(%rbp)
jmp 0x3e025
cmpl $0x9, -0x24(%rbp)
setg %al
andb $0x1, %al
movzbl %al, %eax
addl $0x14, %eax
movl %eax, -0x84(%rbp)
movl -0x74(%rbp), %edx
movq -0x80(%rbp), %rsi
movq -0x70(%rbp), %rcx
movl -0x84(%rbp), %eax
cltq
addq %rax, %rcx
movl -0x24(%rbp), %r8d
movq -0x20(%rbp), %rax
movslq -0x24(%rbp), %rdi
movzwl 0x8(%rax,%rdi,2), %r9d
movq -0x20(%rbp), %rax
movslq -0x24(%rbp), %rdi
movzwl 0x8(%rax,%rdi,2), %eax
leaq 0x1acda(%rip), %rdi     # 0x58d3b
movl %eax, (%rsp)
movb $0x0, %al
callq 0x4090
movl -0x24(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x24(%rbp)
jmp 0x3df83
movq 0x26220(%rip), %rax     # 0x642a0
movq %rax, -0x90(%rbp)
cmpl $0x19, -0x14(%rbp)
jle 0x3e09a
movl $0x19, %eax
movl %eax, -0x94(%rbp)
jmp 0x3e0a3
movl -0x14(%rbp), %eax
movl %eax, -0x94(%rbp)
movq -0x90(%rbp), %rsi
movl -0x94(%rbp), %ecx
shll %ecx
movl $0x32, %eax
subl %ecx, %eax
cltq
addq %rax, %rsi
movq -0x20(%rbp), %rax
addq $0x10, %rax
movq -0x8(%rbp), %rcx
subq %rcx, %rax
movl %eax, %edx
movq 0x261ca(%rip), %rcx     # 0x642a0
addq $0x16, %rcx
movq -0x20(%rbp), %rax
movzbl 0x10(%rax), %r8d
movq -0x20(%rbp), %rax
movzbl 0x10(%rax), %r9d
leaq 0x1a9fe(%rip), %rdi     # 0x58af1
movb $0x0, %al
callq 0x4090
movq 0x2619f(%rip), %rax     # 0x642a0
movq %rax, -0xa0(%rbp)
cmpl $0x19, -0x14(%rbp)
jle 0x3e11b
movl $0x19, %eax
movl %eax, -0xa4(%rbp)
jmp 0x3e124
movl -0x14(%rbp), %eax
movl %eax, -0xa4(%rbp)
movq -0xa0(%rbp), %rsi
movl -0xa4(%rbp), %ecx
shll %ecx
movl $0x32, %eax
subl %ecx, %eax
cltq
addq %rax, %rsi
movq -0x20(%rbp), %rax
addq $0x11, %rax
movq -0x8(%rbp), %rcx
subq %rcx, %rax
movl %eax, %edx
movq 0x26149(%rip), %rcx     # 0x642a0
addq $0x1b, %rcx
movq -0x20(%rbp), %rax
movzbl 0x11(%rax), %r8d
movq -0x20(%rbp), %rax
movzbl 0x11(%rax), %r9d
leaq 0x1abfc(%rip), %rdi     # 0x58d70
movb $0x0, %al
callq 0x4090
movq 0x2611e(%rip), %rax     # 0x642a0
movq %rax, -0xb0(%rbp)
cmpl $0x19, -0x14(%rbp)
jle 0x3e19c
movl $0x19, %eax
movl %eax, -0xb4(%rbp)
jmp 0x3e1a5
movl -0x14(%rbp), %eax
movl %eax, -0xb4(%rbp)
movq -0xb0(%rbp), %rsi
movl -0xb4(%rbp), %ecx
shll %ecx
movl $0x32, %eax
subl %ecx, %eax
cltq
addq %rax, %rsi
movq -0x20(%rbp), %rax
addq $0x12, %rax
movq -0x8(%rbp), %rcx
subq %rcx, %rax
movl %eax, %edx
movq 0x260c8(%rip), %rcx     # 0x642a0
addq $0x14, %rcx
movq -0x20(%rbp), %rax
movzbl 0x12(%rax), %r8d
movq -0x20(%rbp), %rax
movzbl 0x12(%rax), %r9d
leaq 0x1abb8(%rip), %rdi     # 0x58dad
movb $0x0, %al
callq 0x4090
movq 0x2609d(%rip), %rax     # 0x642a0
movq %rax, -0xc0(%rbp)
cmpl $0x19, -0x14(%rbp)
jle 0x3e21d
movl $0x19, %eax
movl %eax, -0xc4(%rbp)
jmp 0x3e226
movl -0x14(%rbp), %eax
movl %eax, -0xc4(%rbp)
movq -0xc0(%rbp), %rsi
movl -0xc4(%rbp), %ecx
shll %ecx
movl $0x32, %eax
subl %ecx, %eax
cltq
addq %rax, %rsi
movq -0x20(%rbp), %rax
addq $0x13, %rax
movq -0x8(%rbp), %rcx
subq %rcx, %rax
movl %eax, %edx
movq 0x26047(%rip), %rcx     # 0x642a0
addq $0xf, %rcx
movq -0x20(%rbp), %rax
movzbl 0x13(%rax), %r8d
movq -0x20(%rbp), %rax
movzbl 0x13(%rax), %r9d
leaq 0xed87(%rip), %rdi      # 0x4cffd
movb $0x0, %al
callq 0x4090
movl $0x0, -0x24(%rbp)
cmpl $0x10, -0x24(%rbp)
jge 0x3e3a0
movq 0x2600b(%rip), %rax     # 0x642a0
movq %rax, -0xd0(%rbp)
cmpl $0x19, -0x14(%rbp)
jle 0x3e2af
movl $0x19, %eax
movl %eax, -0xd4(%rbp)
jmp 0x3e2b8
movl -0x14(%rbp), %eax
movl %eax, -0xd4(%rbp)
movq -0xd0(%rbp), %rax
movl -0xd4(%rbp), %edx
shll %edx
movl $0x32, %ecx
subl %edx, %ecx
movslq %ecx, %rcx
addq %rcx, %rax
movq %rax, -0xf0(%rbp)
movq -0x20(%rbp), %rax
addq $0x14, %rax
movslq -0x24(%rbp), %rcx
imulq $0x34, %rcx, %rcx
addq %rcx, %rax
movq -0x8(%rbp), %rcx
subq %rcx, %rax
movl %eax, -0xe4(%rbp)
movq 0x25f9e(%rip), %rax     # 0x642a0
movq %rax, -0xe0(%rbp)
cmpl $0x9, -0x24(%rbp)
setg %al
andb $0x1, %al
movzbl %al, %eax
addl $0x20, %eax
cmpl $0x32, %eax
jle 0x3e32a
movl $0x32, %eax
movl %eax, -0xf4(%rbp)
jmp 0x3e33f
cmpl $0x9, -0x24(%rbp)
setg %al
andb $0x1, %al
movzbl %al, %eax
addl $0x20, %eax
movl %eax, -0xf4(%rbp)
movl -0xe4(%rbp), %edx
movq -0xf0(%rbp), %rsi
movq -0xe0(%rbp), %rcx
movl -0xf4(%rbp), %eax
cltq
addq %rax, %rcx
movl -0x24(%rbp), %r8d
leaq 0x1aa7a(%rip), %rdi     # 0x58de3
movb $0x0, %al
callq 0x4090
movq -0x8(%rbp), %rdi
movq -0x20(%rbp), %rsi
addq $0x14, %rsi
movslq -0x24(%rbp), %rax
imulq $0x34, %rax, %rax
addq %rax, %rsi
movl -0x14(%rbp), %edx
addl $0x1, %edx
callq 0x3c2b0
movl -0x24(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x24(%rbp)
jmp 0x3e284
jmp 0x3e3a2
movl $0x354, %eax            # imm = 0x354
addq $0x100, %rsp            # imm = 0x100
popq %rbp
retq