// File: /workspace/github_c_makefile_star2_O2/mikebdp2[P]AtomDis/./datastructs_gen.c
// Function: ATOM_ASIC_PROFILE_VOLTAGE_dumper
int ATOM_ASIC_PROFILE_VOLTAGE_dumper (uint8_t *start, uint8_t *data, int indent) {
  ATOM_ASIC_PROFILE_VOLTAGE *d = (ATOM_ASIC_PROFILE_VOLTAGE *) data;
  int i;
  if (d) {
    printf ("%s%04x:  UCHAR ucProfileId%s = 0x%02x       (%d)\n", IND(indent), (int)(((uint8_t*)&d->ucProfileId)-start), FILL(16), d->ucProfileId, d->ucProfileId);
    printf ("%s%04x:  UCHAR ucReserved%s = 0x%02x       (%d)\n", IND(indent), (int)(((uint8_t*)&d->ucReserved)-start), FILL(15), d->ucReserved, d->ucReserved);
    printf ("%s%04x:  USHORT usSize%s = 0x%04x     (%d)\n", IND(indent), (int)(((uint8_t*)&d->usSize)-start), FILL(12), d->usSize, d->usSize);
    printf ("%s%04x:  USHORT usEfuseSpareStartAddr%s = 0x%04x     (%d)\n", IND(indent), (int)(((uint8_t*)&d->usEfuseSpareStartAddr)-start), FILL(27), d->usEfuseSpareStartAddr, d->usEfuseSpareStartAddr);
    for (i = 0; i < 8; i++) {
      printf ("%s%04x:  USHORT usFuseIndex%s [%d] = 0x%04x     (%d)\n", IND(indent), (int)(((uint8_t*)&d->usFuseIndex[i])-start), FILL(21+(i>9)), i, d->usFuseIndex[i], d->usFuseIndex[i]); }
    for (i = 0; i < ((d->usSize - offsetof(ATOM_ASIC_PROFILE_VOLTAGE,asLeakVol)) / sizeof(ATOM_LEAKID_VOLTAGE)); i++) {
      printf ("%s%04x:  ATOM_LEAKID_VOLTAGE asLeakVol%s [%d] :\n", IND(indent), (int)(((uint8_t*)&d->asLeakVol[i])-start), FILL(32+(i>9)), i); ATOM_LEAKID_VOLTAGE_dumper (start, (uint8_t*) &d->asLeakVol[i], indent+1); }
  }
  return sizeof (ATOM_ASIC_PROFILE_VOLTAGE);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movl %edx, 0xc(%rsp)
movq %rdi, 0x10(%rsp)
testq %rsi, %rsi
je 0x15940
movq %rsi, %r14
movl 0xc(%rsp), %ecx
cmpl $0x19, %ecx
pushq $0x19
popq %rax
cmovll %ecx, %eax
movq 0x27ade(%rip), %rcx     # 0x3d2b0
addl %eax, %eax
pushq $0x32
popq %rdx
subl %eax, %edx
movslq %edx, %rbx
leaq (%rcx,%rbx), %rsi
addq $0x10, %rcx
movzbl (%r14), %r8d
leaq 0x15a64(%rip), %rdi     # 0x2b253
movl %r14d, %ebp
movq 0x10(%rsp), %r12
subl %r12d, %ebp
movl %ebp, %edx
movl %r8d, %r9d
xorl %eax, %eax
callq 0x40b0
movq 0x27aa3(%rip), %rcx     # 0x3d2b0
leaq (%rcx,%rbx), %rsi
leaq 0x1(%r14), %rdx
subl %r12d, %edx
addq $0xf, %rcx
movzbl 0x1(%r14), %r8d
leaq 0xc724(%rip), %rdi      # 0x21f4c
movl %r8d, %r9d
xorl %eax, %eax
callq 0x40b0
movq 0x27a77(%rip), %rcx     # 0x3d2b0
leaq (%rcx,%rbx), %rsi
leaq 0x2(%r14), %r15
movl %r15d, %edx
subl %r12d, %edx
addq $0xc, %rcx
movzwl 0x2(%r14), %r8d
leaq 0x142d1(%rip), %rdi     # 0x29b28
movl %r8d, %r9d
xorl %eax, %eax
callq 0x40b0
movq 0x27a48(%rip), %rcx     # 0x3d2b0
leaq (%rcx,%rbx), %rsi
leaq 0x4(%r14), %rdx
subl %r12d, %edx
addq $0x1b, %rcx
movzwl 0x4(%r14), %r8d
leaq 0x15a02(%rip), %rdi     # 0x2b285
movl %r8d, %r9d
xorl %eax, %eax
callq 0x40b0
addl $0x6, %ebp
leaq 0x15a29(%rip), %r12     # 0x2b2c0
xorl %r13d, %r13d
cmpq $0x8, %r13
je 0x158d0
movq 0x27a09(%rip), %rcx     # 0x3d2b0
leaq (%rcx,%rbx), %rsi
addq $0x15, %rcx
movzwl 0x6(%r14,%r13,2), %r9d
movl %r9d, (%rsp)
movq %r12, %rdi
movl %ebp, %edx
movl %r13d, %r8d
xorl %eax, %eax
callq 0x40b0
incq %r13
addl $0x2, %ebp
jmp 0x1589a
leaq 0x16(%r14), %r12
incl 0xc(%rsp)
subl 0x10(%rsp), %r14d
addl $0x16, %r14d
leaq 0x15a0e(%rip), %r13     # 0x2b2f6
xorl %ebp, %ebp
movzwl (%r15), %eax
addq $-0x16, %rax
shrq $0x2, %rax
cmpq %rbp, %rax
jbe 0x15940
movq 0x279ae(%rip), %rcx     # 0x3d2b0
leaq (%rcx,%rbx), %rsi
cmpq $0xa, %rbp
sbbq $-0x1, %rcx
addq $0x20, %rcx
movq %r13, %rdi
movl %r14d, %edx
movl %ebp, %r8d
xorl %eax, %eax
callq 0x40b0
movq 0x10(%rsp), %rdi
movq %r12, %rsi
movl 0xc(%rsp), %edx
callq 0x156e8
incq %rbp
addq $0x4, %r12
addl $0x4, %r14d
jmp 0x158ea
pushq $0x1e
popq %rax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq