// File: /workspace/github_c_makefile_star2_O3/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 0x1c5e3
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rsi, %rbp
movq %rdi, %r14
cmpl $0x19, %edx
movl $0x19, %eax
movl %edx, 0x14(%rsp)
cmovll %edx, %eax
addl %eax, %eax
movl $0x32, %ecx
subl %eax, %ecx
movslq %ecx, %r15
movl %ebp, %ebx
subl %r14d, %ebx
leaq 0x12a28(%rip), %r12     # 0x2eeb6
xorl %r13d, %r13d
movq 0x1fe18(%rip), %rcx     # 0x3c2b0
leaq (%rcx,%r15), %rsi
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
cmpq $0x4, %r13
jne 0x1c491
movq 0x1fde5(%rip), %rcx     # 0x3c2b0
leaq (%rcx,%r15), %rsi
leaq 0x4(%rbp), %rdx
subl %r14d, %edx
addq $0x10, %rcx
movzwl 0x4(%rbp), %r8d
leaq 0x12a08(%rip), %rdi     # 0x2eeee
movl %r8d, %r9d
xorl %eax, %eax
callq 0x40b0
movq 0x1fdb9(%rip), %rcx     # 0x3c2b0
leaq (%rcx,%r15), %rsi
leaq 0x6(%rbp), %r12
movl %r12d, %edx
subl %r14d, %edx
addq $0x1c, %rcx
leaq 0x12a0e(%rip), %rdi     # 0x2ef1e
xorl %eax, %eax
callq 0x40b0
movl 0x14(%rsp), %edx
incl %edx
movq %r14, %rdi
movq %r12, %rsi
movl %edx, 0x14(%rsp)
callq 0x1c3af
movl %ebp, %ebx
subl %r14d, %ebx
addl $0xa, %ebx
leaq 0x12a0f(%rip), %r12     # 0x2ef4a
xorl %r13d, %r13d
movq 0x1fd6b(%rip), %rcx     # 0x3c2b0
leaq (%rcx,%r15), %rsi
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
cmpq $0x4, %r13
jne 0x1c53e
movq 0x1fd38(%rip), %rcx     # 0x3c2b0
leaq (%rcx,%r15), %rsi
leaq 0xe(%rbp), %r12
movl %r12d, %edx
subl %r14d, %edx
addq $0x1c, %rcx
leaq 0x129f1(%rip), %rdi     # 0x2ef82
xorl %eax, %eax
callq 0x40b0
movq %r14, %rdi
movq %r12, %rsi
movl 0x14(%rsp), %edx
callq 0x1c3af
movq 0x1fd02(%rip), %rcx     # 0x3c2b0
addq %rcx, %r15
leaq 0x12(%rbp), %rdx
subl %r14d, %edx
addq $0x11, %rcx
movzwl 0x12(%rbp), %r8d
leaq 0x129e6(%rip), %rdi     # 0x2efae
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