// File: /workspace/github_c_makefile_star2_O2/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 0x14fe8
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r15
cmpl $0x19, %edx
pushq $0x19
popq %rax
cmovll %edx, %eax
movq 0x28432(%rip), %rcx     # 0x3d2b0
addl %eax, %eax
pushq $0x32
popq %rdx
subl %eax, %edx
movslq %edx, %r13
leaq (%rcx,%r13), %rsi
addq $0x18, %rcx
movzwl (%rbx), %r8d
leaq 0x1601a(%rip), %rdi     # 0x2aeb5
movl %ebx, %r14d
subl %r15d, %r14d
movl %r14d, %edx
movl %r8d, %r9d
xorl %eax, %eax
callq 0x40b0
movq 0x283fb(%rip), %rcx     # 0x3d2b0
leaq (%rcx,%r13), %rsi
leaq 0x2(%rbx), %rdx
subl %r15d, %edx
addq $0x13, %rcx
movzwl 0x2(%rbx), %r8d
leaq 0x1601d(%rip), %rdi     # 0x2aeed
movl %r8d, %r9d
xorl %eax, %eax
callq 0x40b0
movq 0x283cf(%rip), %rcx     # 0x3d2b0
leaq (%rcx,%r13), %rsi
leaq 0x4(%rbx), %rbp
movl %ebp, %edx
subl %r15d, %edx
addq $0x1a, %rcx
movzbl 0x4(%rbx), %r8d
leaq 0x15da9(%rip), %rdi     # 0x2aca7
movl %r8d, %r9d
xorl %eax, %eax
callq 0x40b0
movq 0x283a1(%rip), %rcx     # 0x3d2b0
leaq (%rcx,%r13), %rsi
leaq 0x5(%rbx), %rdx
subl %r15d, %edx
addq $0xb, %rcx
movzbl 0x5(%rbx), %r8d
leaq 0x15ff6(%rip), %rdi     # 0x2af20
movl %r8d, %r9d
xorl %eax, %eax
callq 0x40b0
movq 0x28375(%rip), %rcx     # 0x3d2b0
leaq (%rcx,%r13), %rsi
leaq 0x6(%rbx), %rdx
subl %r15d, %edx
addq $0xe, %rcx
movzbl 0x6(%rbx), %r8d
leaq 0x15ff7(%rip), %rdi     # 0x2af4d
movl %r8d, %r9d
xorl %eax, %eax
callq 0x40b0
movq 0x28349(%rip), %rcx     # 0x3d2b0
leaq (%rcx,%r13), %rsi
leaq 0x7(%rbx), %rdx
subl %r15d, %edx
addq $0xf, %rcx
movzbl 0x7(%rbx), %r8d
leaq 0xcfca(%rip), %rdi      # 0x21f4c
movl %r8d, %r9d
xorl %eax, %eax
callq 0x40b0
addl $0x8, %r14d
leaq 0x15fe6(%rip), %r15     # 0x2af7d
xorl %r12d, %r12d
movzbl (%rbp), %eax
cmpq %rax, %r12
jae 0x14fda
movq 0x28306(%rip), %rcx     # 0x3d2b0
leaq (%rcx,%r13), %rsi
leal (%r14,%r12), %edx
cmpq $0xa, %r12
sbbq $-0x1, %rcx
addq $0x1b, %rcx
movzbl 0x8(%rbx,%r12), %r9d
movl %r9d, (%rsp)
movq %r15, %rdi
movl %r12d, %r8d
xorl %eax, %eax
callq 0x40b0
incq %r12
jmp 0x14f9a
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
pushq $0x28
popq %rax
retq