// File: /workspace/github_c_makefile_star2_O1/mikebdp2[P]AtomDis/./datastructs_gen.c
// Function: ATOM_COMPONENT_VIDEO_INFO_V21_dumper
int ATOM_COMPONENT_VIDEO_INFO_V21_dumper (uint8_t *start, uint8_t *data, int indent) {
  ATOM_COMPONENT_VIDEO_INFO_V21 *d = (ATOM_COMPONENT_VIDEO_INFO_V21 *) 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:  UCHAR ucMiscInfo%s = 0x%02x       (%d)\n", IND(indent), (int)(((uint8_t*)&d->ucMiscInfo)-start), FILL(15), d->ucMiscInfo, d->ucMiscInfo);
    printf ("%s%04x:  UCHAR uc480i%s = 0x%02x       (%d)\n", IND(indent), (int)(((uint8_t*)&d->uc480i)-start), FILL(11), d->uc480i, d->uc480i);
    printf ("%s%04x:  UCHAR uc480p%s = 0x%02x       (%d)\n", IND(indent), (int)(((uint8_t*)&d->uc480p)-start), FILL(11), d->uc480p, d->uc480p);
    printf ("%s%04x:  UCHAR uc720p%s = 0x%02x       (%d)\n", IND(indent), (int)(((uint8_t*)&d->uc720p)-start), FILL(11), d->uc720p, d->uc720p);
    printf ("%s%04x:  UCHAR uc1080i%s = 0x%02x       (%d)\n", IND(indent), (int)(((uint8_t*)&d->uc1080i)-start), FILL(12), d->uc1080i, d->uc1080i);
    printf ("%s%04x:  UCHAR ucReserved%s = 0x%02x       (%d)\n", IND(indent), (int)(((uint8_t*)&d->ucReserved)-start), FILL(15), d->ucReserved, d->ucReserved);
    printf ("%s%04x:  UCHAR ucLetterBoxMode%s = 0x%02x       (%d)\n", IND(indent), (int)(((uint8_t*)&d->ucLetterBoxMode)-start), FILL(20), d->ucLetterBoxMode, d->ucLetterBoxMode);
    printf ("%s%04x:  UCHAR ucNumOfWbGpioBlocks%s = 0x%02x       (%d)\n", IND(indent), (int)(((uint8_t*)&d->ucNumOfWbGpioBlocks)-start), FILL(24), d->ucNumOfWbGpioBlocks, d->ucNumOfWbGpioBlocks);
    for (i = 0; i < (d->ucNumOfWbGpioBlocks); i++) {
      printf ("%s%04x:  ATOM_GPIO_INFO aWbGpioStateBlock%s [%d] :\n", IND(indent), (int)(((uint8_t*)&d->aWbGpioStateBlock[i])-start), FILL(35+(i>9)), i); ATOM_GPIO_INFO_dumper (start, (uint8_t*) &d->aWbGpioStateBlock[i], indent+1); }
    for (i = 0; i < COUNT_REMAINDER (ATOM_COMPONENT_VIDEO_INFO_V21, aModeTimings[0], ATOM_DTD_FORMAT); i++) {
      printf ("%s%04x:  ATOM_DTD_FORMAT aModeTimings%s [%d] :\n", IND(indent), (int)(((uint8_t*)&d->aModeTimings[i])-start), FILL(31+(i>9)), i); ATOM_DTD_FORMAT_dumper (start, (uint8_t*) &d->aModeTimings[i], indent+1); }
  }
  return RETURN_REMAINDER (ATOM_COMPONENT_VIDEO_INFO_V21, aModeTimings[0], ATOM_DTD_FORMAT);
}

// Assembly:
testq %rsi, %rsi
je 0x12fa2
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movl %edx, %ebx
movq %rsi, %r14
movq %rdi, %r13
movq 0x295f2(%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
movl %r14d, %edx
subl %r13d, %edx
addq $0x1f, %rcx
leaq 0xfee7(%rip), %rdi      # 0x22bd1
xorl %eax, %eax
callq 0x40b0
incl %ebx
movq %r13, %rdi
movq %r14, %rsi
movl %ebx, %edx
callq 0x5f74
movq 0x295a9(%rip), %rcx     # 0x3c2b0
leaq (%rcx,%r15), %rsi
leaq 0x4(%r14), %rdx
subl %r13d, %edx
addq $0xf, %rcx
movzbl 0x4(%r14), %r8d
leaq 0x12713(%rip), %rdi     # 0x25435
movl %r8d, %r9d
xorl %eax, %eax
callq 0x40b0
movq 0x2957d(%rip), %rcx     # 0x3c2b0
leaq (%rcx,%r15), %rsi
leaq 0x5(%r14), %rdx
subl %r13d, %edx
addq $0xb, %rcx
movzbl 0x5(%r14), %r8d
leaq 0x17abf(%rip), %rdi     # 0x2a80d
movl %r8d, %r9d
xorl %eax, %eax
callq 0x40b0
movq 0x29551(%rip), %rcx     # 0x3c2b0
leaq (%rcx,%r15), %rsi
leaq 0x6(%r14), %rdx
subl %r13d, %edx
addq $0xb, %rcx
movzbl 0x6(%r14), %r8d
leaq 0x17ac0(%rip), %rdi     # 0x2a83a
movl %r8d, %r9d
xorl %eax, %eax
callq 0x40b0
movq 0x29525(%rip), %rcx     # 0x3c2b0
leaq (%rcx,%r15), %rsi
leaq 0x7(%r14), %rdx
subl %r13d, %edx
addq $0xb, %rcx
movzbl 0x7(%r14), %r8d
leaq 0x17ac1(%rip), %rdi     # 0x2a867
movl %r8d, %r9d
xorl %eax, %eax
callq 0x40b0
movq 0x294f9(%rip), %rcx     # 0x3c2b0
leaq (%rcx,%r15), %rsi
leaq 0x8(%r14), %rdx
subl %r13d, %edx
addq $0xc, %rcx
movzbl 0x8(%r14), %r8d
leaq 0x17ac2(%rip), %rdi     # 0x2a894
movl %r8d, %r9d
xorl %eax, %eax
callq 0x40b0
movq 0x294cd(%rip), %rcx     # 0x3c2b0
leaq (%rcx,%r15), %rsi
leaq 0x9(%r14), %rdx
subl %r13d, %edx
addq $0xf, %rcx
movzbl 0x9(%r14), %r8d
leaq 0x10171(%rip), %rdi     # 0x22f6f
movl %r8d, %r9d
xorl %eax, %eax
callq 0x40b0
movq 0x294a1(%rip), %rcx     # 0x3c2b0
leaq (%rcx,%r15), %rsi
leaq 0xa(%r14), %rdx
subl %r13d, %edx
addq $0x14, %rcx
movzbl 0xa(%r14), %r8d
leaq 0x17a98(%rip), %rdi     # 0x2a8c2
movl %r8d, %r9d
xorl %eax, %eax
callq 0x40b0
movq 0x29475(%rip), %rcx     # 0x3c2b0
movq %r15, 0x18(%rsp)
leaq (%rcx,%r15), %rsi
movl %ebx, %r15d
leaq 0xb(%r14), %rbx
movl %ebx, %edx
subl %r13d, %edx
addq $0x18, %rcx
movzbl 0xb(%r14), %r8d
leaq 0x17a98(%rip), %rdi     # 0x2a8f8
movl %r8d, %r9d
xorl %eax, %eax
callq 0x40b0
movq %r14, 0x10(%rsp)
cmpb $0x0, 0xb(%r14)
je 0x12ed9
movq 0x10(%rsp), %rax
leaq 0xc(%rax), %r12
movl %eax, %ebp
subl %r13d, %ebp
addl $0xc, %ebp
xorl %r14d, %r14d
movq 0x2941f(%rip), %rcx     # 0x3c2b0
movq 0x18(%rsp), %rax
leaq (%rcx,%rax), %rsi
cmpq $0xa, %r14
sbbq $-0x1, %rcx
addq $0x23, %rcx
leaq 0x17a85(%rip), %rdi     # 0x2a932
movl %ebp, %edx
movl %r14d, %r8d
xorl %eax, %eax
callq 0x40b0
movq %r13, %rdi
movq %r12, %rsi
movl %r15d, %edx
callq 0x12770
incq %r14
movzbl (%rbx), %eax
addq $0x4, %r12
addl $0x4, %ebp
cmpq %rax, %r14
jb 0x12e8a
movq 0x18(%rsp), %r14
movq 0x10(%rsp), %rdx
movzwl (%rdx), %ecx
movzwl %cx, %eax
addq $-0x20, %rax
movabsq $0x4924924924924925, %rbx # imm = 0x4924924924924925
cmpq $0x1c, %rax
jb 0x12f78
leaq 0x20(%rdx), %r12
movl %edx, %ebp
movq %r13, 0x20(%rsp)
subl %r13d, %ebp
addl $0x20, %ebp
xorl %r13d, %r13d
movl %r15d, 0xc(%rsp)
movq %rdx, %r15
movq 0x29390(%rip), %rcx     # 0x3c2b0
leaq (%rcx,%r14), %rsi
cmpq $0xa, %r13
sbbq $-0x1, %rcx
addq $0x1f, %rcx
leaq 0x173dd(%rip), %rdi     # 0x2a314
movl %ebp, %edx
movl %r13d, %r8d
xorl %eax, %eax
callq 0x40b0
movq 0x20(%rsp), %rdi
movq %r12, %rsi
movl 0xc(%rsp), %edx
callq 0x10cca
incq %r13
movzwl (%r15), %ecx
movzwl %cx, %eax
addq $-0x20, %rax
shrq $0x2, %rax
mulq %rbx
shrq %rdx
addq $0x1c, %r12
addl $0x1c, %ebp
cmpq %r13, %rdx
ja 0x12f19
movzwl %cx, %eax
addq $-0x20, %rax
shrq $0x2, %rax
mulq %rbx
shrl %edx
leal (%rdx,%rdx,8), %eax
leal (%rax,%rax,2), %eax
addl %edx, %eax
addl $0x20, %eax
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
xorl %eax, %eax
retq