// File: /workspace/github_c_makefile_star2_O3/mikebdp2[P]AtomDis/./datastructs_gen.c
// Function: ATOM_VOLTAGE_FORMULA_dumper
int ATOM_VOLTAGE_FORMULA_dumper (uint8_t *start, uint8_t *data, int indent) {
  ATOM_VOLTAGE_FORMULA *d = (ATOM_VOLTAGE_FORMULA *) data;
  int i;
  if (d) {
    printf ("%s%04x:  USHORT usVoltageBaseLevel%s = 0x%04x     (%d)\n", IND(indent), (int)(((uint8_t*)&d->usVoltageBaseLevel)-start), FILL(24), d->usVoltageBaseLevel, d->usVoltageBaseLevel);
    printf ("%s%04x:  USHORT usVoltageStep%s = 0x%04x     (%d)\n", IND(indent), (int)(((uint8_t*)&d->usVoltageStep)-start), FILL(19), d->usVoltageStep, d->usVoltageStep);
    printf ("%s%04x:  UCHAR ucNumOfVoltageEntries%s = 0x%02x       (%d)\n", IND(indent), (int)(((uint8_t*)&d->ucNumOfVoltageEntries)-start), FILL(26), d->ucNumOfVoltageEntries, d->ucNumOfVoltageEntries);
    printf ("%s%04x:  UCHAR ucFlag%s = 0x%02x       (%d)\n", IND(indent), (int)(((uint8_t*)&d->ucFlag)-start), FILL(11), d->ucFlag, d->ucFlag);
    printf ("%s%04x:  UCHAR ucBaseVID%s = 0x%02x       (%d)\n", IND(indent), (int)(((uint8_t*)&d->ucBaseVID)-start), FILL(14), d->ucBaseVID, d->ucBaseVID);
    printf ("%s%04x:  UCHAR ucReserved%s = 0x%02x       (%d)\n", IND(indent), (int)(((uint8_t*)&d->ucReserved)-start), FILL(15), d->ucReserved, d->ucReserved);
    for (i = 0; i < (d->ucNumOfVoltageEntries); i++) {
      printf ("%s%04x:  UCHAR ucVIDAdjustEntries%s [%d] = 0x%02x       (%d)\n", IND(indent), (int)(((uint8_t*)&d->ucVIDAdjustEntries[i])-start), FILL(27+(i>9)), i, d->ucVIDAdjustEntries[i], d->ucVIDAdjustEntries[i]); }
  }
  return sizeof (ATOM_VOLTAGE_FORMULA);
}

// Assembly:
testq %rsi, %rsi
je 0x1593f
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x10, %rsp
movq %rsi, %rbx
movq %rdi, %r14
movq 0x26aeb(%rip), %rcx     # 0x3c2b0
cmpl $0x19, %edx
movl $0x19, %eax
cmovll %edx, %eax
addl %eax, %eax
movl $0x32, %edx
subl %eax, %edx
movslq %edx, %r12
leaq (%rcx,%r12), %rsi
movl %ebx, %edx
subl %r14d, %edx
addq $0x18, %rcx
movzwl (%rbx), %r8d
leaq 0x166c1(%rip), %rdi     # 0x2beb5
movl %r8d, %r9d
xorl %eax, %eax
callq 0x40b0
movq 0x26aab(%rip), %rcx     # 0x3c2b0
leaq (%rcx,%r12), %rsi
leaq 0x2(%rbx), %rdx
subl %r14d, %edx
addq $0x13, %rcx
movzwl 0x2(%rbx), %r8d
leaq 0x166cd(%rip), %rdi     # 0x2beed
movl %r8d, %r9d
xorl %eax, %eax
callq 0x40b0
movq 0x26a7f(%rip), %rcx     # 0x3c2b0
leaq (%rcx,%r12), %rsi
leaq 0x4(%rbx), %rdx
subl %r14d, %edx
addq $0x1a, %rcx
movzbl 0x4(%rbx), %r8d
leaq 0x1645b(%rip), %rdi     # 0x2bca7
movl %r8d, %r9d
xorl %eax, %eax
callq 0x40b0
movq 0x26a53(%rip), %rcx     # 0x3c2b0
leaq (%rcx,%r12), %rsi
leaq 0x5(%rbx), %rdx
subl %r14d, %edx
addq $0xb, %rcx
movzbl 0x5(%rbx), %r8d
leaq 0x166a8(%rip), %rdi     # 0x2bf20
movl %r8d, %r9d
xorl %eax, %eax
callq 0x40b0
movq 0x26a27(%rip), %rcx     # 0x3c2b0
leaq (%rcx,%r12), %rsi
leaq 0x6(%rbx), %rdx
subl %r14d, %edx
addq $0xe, %rcx
movzbl 0x6(%rbx), %r8d
leaq 0x166a9(%rip), %rdi     # 0x2bf4d
movl %r8d, %r9d
xorl %eax, %eax
callq 0x40b0
movq 0x269fb(%rip), %rcx     # 0x3c2b0
leaq (%rcx,%r12), %rsi
leaq 0x7(%rbx), %rdx
subl %r14d, %edx
addq $0xf, %rcx
movzbl 0x7(%rbx), %r8d
leaq 0xd67c(%rip), %rdi      # 0x22f4c
movl %r8d, %r9d
xorl %eax, %eax
callq 0x40b0
cmpb $0x0, 0x4(%rbx)
je 0x15932
movl %ebx, %r13d
subl %r14d, %r13d
addl $0x8, %r13d
leaq 0x1668c(%rip), %r14     # 0x2bf7d
xorl %r15d, %r15d
movq 0x269b5(%rip), %rcx     # 0x3c2b0
leaq (%rcx,%r12), %rsi
leal (%r15,%r13), %edx
cmpq $0xa, %r15
sbbq $-0x1, %rcx
addq $0x1b, %rcx
movzbl 0x8(%rbx,%r15), %r9d
movl %r9d, (%rsp)
movq %r14, %rdi
movl %r15d, %r8d
xorl %eax, %eax
callq 0x40b0
incq %r15
movzbl 0x4(%rbx), %eax
cmpq %rax, %r15
jb 0x158f4
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
movl $0x28, %eax
retq