// File: /workspace/github_c_makefile_star2_O2/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 0x1b96d
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rsi, %rbp
movq %rdi, %r14
cmpl $0x19, %edx
pushq $0x19
popq %rax
movl %edx, 0x14(%rsp)
cmovll %edx, %eax
addl %eax, %eax
pushq $0x32
popq %rcx
subl %eax, %ecx
movslq %ecx, %r15
movl %ebp, %ebx
subl %r14d, %ebx
leaq 0x1268c(%rip), %r12     # 0x2deb6
xorl %r13d, %r13d
movq 0x21a7c(%rip), %rcx     # 0x3d2b0
leaq (%rcx,%r15), %rsi
cmpq $0x4, %r13
je 0x1b862
leal (%rbx,%r13), %edx
addq $0x15, %rcx
movzbl (%rbp,%r13), %r9d
movl %r9d, (%rsp)
movq %r12, %rdi
movl %r13d, %r8d
xorl %eax, %eax
callq 0x40b0
incq %r13
jmp 0x1b82d
leaq 0x4(%rbp), %rdx
subl %r14d, %edx
addq $0x10, %rcx
movzwl 0x4(%rbp), %r8d
leaq 0x12675(%rip), %rdi     # 0x2deee
movl %r8d, %r9d
xorl %eax, %eax
callq 0x40b0
movq 0x21a26(%rip), %rcx     # 0x3d2b0
leaq (%rcx,%r15), %rsi
leaq 0x6(%rbp), %r12
movl %r12d, %edx
subl %r14d, %edx
addq $0x1c, %rcx
leaq 0x1267b(%rip), %rdi     # 0x2df1e
xorl %eax, %eax
callq 0x40b0
movl 0x14(%rsp), %edx
incl %edx
movq %r14, %rdi
movq %r12, %rsi
movl %edx, 0x14(%rsp)
callq 0x1b755
movl %ebp, %ebx
subl %r14d, %ebx
addl $0xa, %ebx
leaq 0x1267c(%rip), %r12     # 0x2df4a
xorl %r13d, %r13d
movq 0x219d8(%rip), %rcx     # 0x3d2b0
leaq (%rcx,%r15), %rsi
cmpq $0x4, %r13
je 0x1b906
leal (%rbx,%r13), %edx
addq $0x15, %rcx
movzbl 0xa(%rbp,%r13), %r9d
movl %r9d, (%rsp)
movq %r12, %rdi
movl %r13d, %r8d
xorl %eax, %eax
callq 0x40b0
incq %r13
jmp 0x1b8d1
leaq 0xe(%rbp), %r12
movl %r12d, %edx
subl %r14d, %edx
addq $0x1c, %rcx
leaq 0x12667(%rip), %rdi     # 0x2df82
xorl %eax, %eax
callq 0x40b0
movq %r14, %rdi
movq %r12, %rsi
movl 0x14(%rsp), %edx
callq 0x1b755
movq 0x21978(%rip), %rcx     # 0x3d2b0
addq %rcx, %r15
leaq 0x12(%rbp), %rdx
subl %r14d, %edx
addq $0x11, %rcx
movzwl 0x12(%rbp), %r8d
leaq 0x1265c(%rip), %rdi     # 0x2dfae
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
pushq $0x14
popq %rax
retq