// File: /workspace/github_c_makefile_star2_O1/mikebdp2[P]AtomDis/./datastructs_gen.c
// Function: VBE_1_2_INFO_BLOCK_UPDATABLE_dumper
int VBE_1_2_INFO_BLOCK_UPDATABLE_dumper (uint8_t *start, uint8_t *data, int indent) {
  VBE_1_2_INFO_BLOCK_UPDATABLE *d = (VBE_1_2_INFO_BLOCK_UPDATABLE *) data;
  int i;
  if (d) {
    for (i = 0; i < 4; i++) {
      printf ("%s%04x:  UCHAR VbeSignature%s [%d] = 0x%02x       (%d)\n", IND(indent), (int)(((uint8_t*)&d->VbeSignature[i])-start), FILL(21+(i>9)), i, d->VbeSignature[i], d->VbeSignature[i]); }
    printf ("%s%04x:  USHORT VbeVersion%s = 0x%04x     (%d)\n", IND(indent), (int)(((uint8_t*)&d->VbeVersion)-start), FILL(16), d->VbeVersion, d->VbeVersion);
    printf ("%s%04x:  PTR_32_BIT_UNION OemStringPtr%s :\n", IND(indent), (int)(((uint8_t*)&d->OemStringPtr)-start), FILL(28)); PTR_32_BIT_UNION_dumper (start, (uint8_t*) &d->OemStringPtr, indent+1);
    for (i = 0; i < 4; i++) {
      printf ("%s%04x:  UCHAR Capabilities%s [%d] = 0x%02x       (%d)\n", IND(indent), (int)(((uint8_t*)&d->Capabilities[i])-start), FILL(21+(i>9)), i, d->Capabilities[i], d->Capabilities[i]); }
    printf ("%s%04x:  PTR_32_BIT_UNION VideoModePtr%s :\n", IND(indent), (int)(((uint8_t*)&d->VideoModePtr)-start), FILL(28)); PTR_32_BIT_UNION_dumper (start, (uint8_t*) &d->VideoModePtr, indent+1);
    printf ("%s%04x:  USHORT TotalMemory%s = 0x%04x     (%d)\n", IND(indent), (int)(((uint8_t*)&d->TotalMemory)-start), FILL(17), d->TotalMemory, d->TotalMemory);
  }
  return sizeof (VBE_1_2_INFO_BLOCK_UPDATABLE);
}

// Assembly:
testq %rsi, %rsi
je 0x1c43b
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movl %edx, %ebp
movq %rsi, %r14
cmpl $0x19, %edx
movl $0x19, %eax
cmovll %edx, %eax
addl %eax, %eax
movl $0x32, %ecx
subl %eax, %ecx
movslq %ecx, %r13
movl %r14d, %ebx
movq %rdi, 0x10(%rsp)
subl %edi, %ebx
leaq 0x12c0a(%rip), %r15     # 0x2eed9
xorl %r12d, %r12d
movq 0x1ffd7(%rip), %rcx     # 0x3c2b0
leaq (%rcx,%r13), %rsi
leal (%rbx,%r12), %edx
addq $0x15, %rcx
movzbl (%r14,%r12), %r9d
movl %r9d, (%rsp)
movq %r15, %rdi
movl %r12d, %r8d
xorl %eax, %eax
callq 0x40b0
incq %r12
cmpq $0x4, %r12
jne 0x1c2d2
movq 0x1ffa5(%rip), %rcx     # 0x3c2b0
cmpl $0x19, %ebp
movl $0x19, %eax
cmovll %ebp, %eax
addl %eax, %eax
movl $0x32, %edx
subl %eax, %edx
movslq %edx, %r15
leaq (%rcx,%r15), %rsi
leaq 0x4(%r14), %rdx
movq 0x10(%rsp), %r13
subl %r13d, %edx
addq $0x10, %rcx
movzwl 0x4(%r14), %r8d
leaq 0x12bcf(%rip), %rdi     # 0x2ef11
movl %r8d, %r9d
xorl %eax, %eax
callq 0x40b0
movq 0x1ff5d(%rip), %rcx     # 0x3c2b0
leaq (%rcx,%r15), %rsi
leaq 0x6(%r14), %r12
movl %r12d, %edx
subl %r13d, %edx
addq $0x1c, %rcx
leaq 0x12bd5(%rip), %rdi     # 0x2ef41
xorl %eax, %eax
callq 0x40b0
incl %ebp
movq %r13, %rdi
movq %r12, %rsi
movl %ebp, %edx
callq 0x1c1f0
movl %r14d, %ebx
subl %r13d, %ebx
addl $0xa, %ebx
leaq 0x12bdb(%rip), %r12     # 0x2ef6d
xorl %r13d, %r13d
movq 0x1ff14(%rip), %rcx     # 0x3c2b0
leaq (%rcx,%r15), %rsi
leal (%rbx,%r13), %edx
addq $0x15, %rcx
movzbl 0xa(%r14,%r13), %r9d
movl %r9d, (%rsp)
movq %r12, %rdi
movl %r13d, %r8d
xorl %eax, %eax
callq 0x40b0
incq %r13
cmpq $0x4, %r13
jne 0x1c395
movq 0x1fee1(%rip), %rcx     # 0x3c2b0
leaq (%rcx,%r15), %rsi
leaq 0xe(%r14), %r12
movl %r12d, %edx
movq 0x10(%rsp), %rbx
subl %ebx, %edx
addq $0x1c, %rcx
leaq 0x12bb9(%rip), %rdi     # 0x2efa5
xorl %eax, %eax
callq 0x40b0
movq %rbx, %rdi
movq %r12, %rsi
movl %ebp, %edx
callq 0x1c1f0
movq 0x1fea9(%rip), %rcx     # 0x3c2b0
addq %rcx, %r15
leaq 0x12(%r14), %rdx
subl %ebx, %edx
addq $0x11, %rcx
movzwl 0x12(%r14), %r8d
leaq 0x12bb1(%rip), %rdi     # 0x2efd1
movq %r15, %rsi
movl %r8d, %r9d
xorl %eax, %eax
callq 0x40b0
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
movl $0x14, %eax
retq