// File: /workspace/github_c_makefile_star2_O1/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 0x15798
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x10, %rsp
movq %rsi, %rbx
movq %rdi, %r14
movq 0x26c92(%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 0x1688b(%rip), %rdi     # 0x2bed8
movl %r8d, %r9d
xorl %eax, %eax
callq 0x40b0
movq 0x26c52(%rip), %rcx     # 0x3c2b0
leaq (%rcx,%r12), %rsi
leaq 0x2(%rbx), %rdx
subl %r14d, %edx
addq $0x13, %rcx
movzwl 0x2(%rbx), %r8d
leaq 0x16897(%rip), %rdi     # 0x2bf10
movl %r8d, %r9d
xorl %eax, %eax
callq 0x40b0
movq 0x26c26(%rip), %rcx     # 0x3c2b0
leaq (%rcx,%r12), %rsi
leaq 0x4(%rbx), %rdx
subl %r14d, %edx
addq $0x1a, %rcx
movzbl 0x4(%rbx), %r8d
leaq 0x16625(%rip), %rdi     # 0x2bcca
movl %r8d, %r9d
xorl %eax, %eax
callq 0x40b0
movq 0x26bfa(%rip), %rcx     # 0x3c2b0
leaq (%rcx,%r12), %rsi
leaq 0x5(%rbx), %rdx
subl %r14d, %edx
addq $0xb, %rcx
movzbl 0x5(%rbx), %r8d
leaq 0x16872(%rip), %rdi     # 0x2bf43
movl %r8d, %r9d
xorl %eax, %eax
callq 0x40b0
movq 0x26bce(%rip), %rcx     # 0x3c2b0
leaq (%rcx,%r12), %rsi
leaq 0x6(%rbx), %rdx
subl %r14d, %edx
addq $0xe, %rcx
movzbl 0x6(%rbx), %r8d
leaq 0x16873(%rip), %rdi     # 0x2bf70
movl %r8d, %r9d
xorl %eax, %eax
callq 0x40b0
movq 0x26ba2(%rip), %rcx     # 0x3c2b0
leaq (%rcx,%r12), %rsi
leaq 0x7(%rbx), %rdx
subl %r14d, %edx
addq $0xf, %rcx
movzbl 0x7(%rbx), %r8d
leaq 0xd846(%rip), %rdi      # 0x22f6f
movl %r8d, %r9d
xorl %eax, %eax
callq 0x40b0
cmpb $0x0, 0x4(%rbx)
je 0x1578b
movl %ebx, %r13d
subl %r14d, %r13d
addl $0x8, %r13d
leaq 0x16856(%rip), %r14     # 0x2bfa0
xorl %r15d, %r15d
movq 0x26b5c(%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 0x1574d
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
movl $0x28, %eax
retq