// File: /workspace/github_c_makefile_star2_O1/mikebdp2[P]AtomDis/./datastructs_gen.c
// Function: ATOM_MODE_MISC_INFO_dumper
int ATOM_MODE_MISC_INFO_dumper (uint8_t *start, uint8_t *data, int indent) {
  ATOM_MODE_MISC_INFO *d = (ATOM_MODE_MISC_INFO *) data;
  int i;
  if (d) {
    printf ("%s       USHORT HorizontalCutOff:1%s = 0x%04x     (%d)\n", IND(indent), FILL(24), d->HorizontalCutOff, d->HorizontalCutOff);
    printf ("%s       USHORT HSyncPolarity:1%s = 0x%04x     (%d)\n", IND(indent), FILL(21), d->HSyncPolarity, d->HSyncPolarity);
    printf ("%s       USHORT VSyncPolarity:1%s = 0x%04x     (%d)\n", IND(indent), FILL(21), d->VSyncPolarity, d->VSyncPolarity);
    printf ("%s       USHORT VerticalCutOff:1%s = 0x%04x     (%d)\n", IND(indent), FILL(22), d->VerticalCutOff, d->VerticalCutOff);
    printf ("%s       USHORT H_ReplicationBy2:1%s = 0x%04x     (%d)\n", IND(indent), FILL(24), d->H_ReplicationBy2, d->H_ReplicationBy2);
    printf ("%s       USHORT V_ReplicationBy2:1%s = 0x%04x     (%d)\n", IND(indent), FILL(24), d->V_ReplicationBy2, d->V_ReplicationBy2);
    printf ("%s       USHORT CompositeSync:1%s = 0x%04x     (%d)\n", IND(indent), FILL(21), d->CompositeSync, d->CompositeSync);
    printf ("%s       USHORT Interlace:1%s = 0x%04x     (%d)\n", IND(indent), FILL(17), d->Interlace, d->Interlace);
    printf ("%s       USHORT DoubleClock:1%s = 0x%04x     (%d)\n", IND(indent), FILL(19), d->DoubleClock, d->DoubleClock);
    printf ("%s       USHORT RGB888:1%s = 0x%04x     (%d)\n", IND(indent), FILL(14), d->RGB888, d->RGB888);
    printf ("%s       USHORT Reserved:6%s = 0x%04x     (%d)\n", IND(indent), FILL(16), d->Reserved, d->Reserved);
  }
  return sizeof (ATOM_MODE_MISC_INFO);
}

// Assembly:
testq %rsi, %rsi
je 0x1037c
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq 0x2c10c(%rip), %rax     # 0x3c2b0
cmpl $0x19, %edx
movl $0x19, %ecx
cmovll %edx, %ecx
addl %ecx, %ecx
movl $0x32, %edx
subl %ecx, %edx
movslq %edx, %r14
leaq (%rax,%r14), %rsi
addq $0x18, %rax
movzwl (%rbx), %ecx
andl $0x1, %ecx
leaq 0x18b0c(%rip), %rdi     # 0x28cdc
movq %rax, %rdx
movl %ecx, %r8d
xorl %eax, %eax
callq 0x40b0
movq 0x2c0cc(%rip), %rdx     # 0x3c2b0
leaq (%rdx,%r14), %rsi
addq $0x15, %rdx
movzwl (%rbx), %ecx
shrl %ecx
andl $0x1, %ecx
leaq 0x18b19(%rip), %rdi     # 0x28d14
movl %ecx, %r8d
xorl %eax, %eax
callq 0x40b0
movq 0x2c0a4(%rip), %rdx     # 0x3c2b0
leaq (%rdx,%r14), %rsi
addq $0x15, %rdx
movzwl (%rbx), %ecx
shrl $0x2, %ecx
andl $0x1, %ecx
leaq 0x18b25(%rip), %rdi     # 0x28d49
movl %ecx, %r8d
xorl %eax, %eax
callq 0x40b0
movq 0x2c07b(%rip), %rdx     # 0x3c2b0
leaq (%rdx,%r14), %rsi
addq $0x16, %rdx
movzwl (%rbx), %ecx
shrl $0x3, %ecx
andl $0x1, %ecx
leaq 0x18b31(%rip), %rdi     # 0x28d7e
movl %ecx, %r8d
xorl %eax, %eax
callq 0x40b0
movq 0x2c052(%rip), %rdx     # 0x3c2b0
leaq (%rdx,%r14), %rsi
addq $0x18, %rdx
movzwl (%rbx), %ecx
shrl $0x4, %ecx
andl $0x1, %ecx
leaq 0x18b3e(%rip), %rdi     # 0x28db4
movl %ecx, %r8d
xorl %eax, %eax
callq 0x40b0
movq 0x2c029(%rip), %rdx     # 0x3c2b0
leaq (%rdx,%r14), %rsi
addq $0x18, %rdx
movzwl (%rbx), %ecx
shrl $0x5, %ecx
andl $0x1, %ecx
leaq 0x18b4d(%rip), %rdi     # 0x28dec
movl %ecx, %r8d
xorl %eax, %eax
callq 0x40b0
movq 0x2c000(%rip), %rdx     # 0x3c2b0
leaq (%rdx,%r14), %rsi
addq $0x15, %rdx
movzwl (%rbx), %ecx
shrl $0x6, %ecx
andl $0x1, %ecx
leaq 0x18b5c(%rip), %rdi     # 0x28e24
movl %ecx, %r8d
xorl %eax, %eax
callq 0x40b0
movq 0x2bfd7(%rip), %rdx     # 0x3c2b0
leaq (%rdx,%r14), %rsi
addq $0x11, %rdx
movzwl (%rbx), %ecx
shrl $0x7, %ecx
andl $0x1, %ecx
leaq 0x18b68(%rip), %rdi     # 0x28e59
movl %ecx, %r8d
xorl %eax, %eax
callq 0x40b0
movq 0x2bfae(%rip), %rdx     # 0x3c2b0
leaq (%rdx,%r14), %rsi
addq $0x13, %rdx
movzwl (%rbx), %ecx
shrl $0x8, %ecx
andl $0x1, %ecx
leaq 0x18b70(%rip), %rdi     # 0x28e8a
movl %ecx, %r8d
xorl %eax, %eax
callq 0x40b0
movq 0x2bf85(%rip), %rdx     # 0x3c2b0
leaq (%rdx,%r14), %rsi
addq $0xe, %rdx
movzwl (%rbx), %ecx
shrl $0x9, %ecx
andl $0x1, %ecx
leaq 0x18b7a(%rip), %rdi     # 0x28ebd
movl %ecx, %r8d
xorl %eax, %eax
callq 0x40b0
movq 0x2bf5c(%rip), %rdx     # 0x3c2b0
addq %rdx, %r14
addq $0x10, %rdx
movzwl (%rbx), %ecx
shrl $0xa, %ecx
leaq 0x18b83(%rip), %rdi     # 0x28eeb
movq %r14, %rsi
movl %ecx, %r8d
xorl %eax, %eax
callq 0x40b0
addq $0x8, %rsp
popq %rbx
popq %r14
movl $0x2, %eax
retq