// File: /workspace/github_c_makefile_star2_O1/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:
testq %rsi, %rsi
je 0x16195
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rsi, %r14
movq %rdi, %r12
cmpl $0x19, %edx
movl $0x19, %eax
movl %edx, 0xc(%rsp)
cmovll %edx, %eax
movq 0x262a9(%rip), %rcx     # 0x3c2b0
addl %eax, %eax
movl $0x32, %edx
subl %eax, %edx
movslq %edx, %rbx
leaq (%rcx,%rbx), %rsi
addq $0x10, %rcx
movzbl (%r14), %r8d
leaq 0x16250(%rip), %rdi     # 0x2c276
movl %r14d, %ebp
subl %r12d, %ebp
movl %ebp, %edx
movl %r8d, %r9d
xorl %eax, %eax
callq 0x40b0
movq 0x26271(%rip), %rcx     # 0x3c2b0
leaq (%rcx,%rbx), %rsi
leaq 0x1(%r14), %rdx
subl %r12d, %edx
addq $0xf, %rcx
movzbl 0x1(%r14), %r8d
leaq 0xcf15(%rip), %rdi      # 0x22f6f
movl %r8d, %r9d
xorl %eax, %eax
callq 0x40b0
movq 0x26245(%rip), %rcx     # 0x3c2b0
leaq (%rcx,%rbx), %rsi
leaq 0x2(%r14), %rax
movq %rax, 0x10(%rsp)
movl %eax, %edx
subl %r12d, %edx
addq $0xc, %rcx
movzwl 0x2(%r14), %r8d
leaq 0x14abe(%rip), %rdi     # 0x2ab4b
movl %r8d, %r9d
xorl %eax, %eax
callq 0x40b0
movq 0x26212(%rip), %rcx     # 0x3c2b0
leaq (%rcx,%rbx), %rsi
leaq 0x4(%r14), %rdx
movq %r12, %r15
subl %r12d, %edx
addq $0x1b, %rcx
movzwl 0x4(%r14), %r8d
leaq 0x161ec(%rip), %rdi     # 0x2c2a8
movl %r8d, %r9d
xorl %eax, %eax
callq 0x40b0
addl $0x6, %ebp
leaq 0x16213(%rip), %r12     # 0x2c2e3
xorl %r13d, %r13d
movq 0x261d6(%rip), %rcx     # 0x3c2b0
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
cmpq $0x8, %r13
jne 0x160d3
movq 0x10(%rsp), %rax
movzwl (%rax), %eax
addq $-0x16, %rax
cmpq $0x4, %rax
movl 0xc(%rsp), %r13d
jb 0x16187
leaq 0x16(%r14), %r12
incl %r13d
subl %r15d, %r14d
addl $0x16, %r14d
xorl %ebp, %ebp
movq 0x2617b(%rip), %rcx     # 0x3c2b0
leaq (%rcx,%rbx), %rsi
cmpq $0xa, %rbp
sbbq $-0x1, %rcx
addq $0x20, %rcx
leaq 0x161cd(%rip), %rdi     # 0x2c319
movl %r14d, %edx
movl %ebp, %r8d
xorl %eax, %eax
callq 0x40b0
movq %r15, %rdi
movq %r12, %rsi
movl %r13d, %edx
callq 0x15f1b
incq %rbp
movq 0x10(%rsp), %rax
movzwl (%rax), %eax
addq $-0x16, %rax
shrq $0x2, %rax
addq $0x4, %r12
addl $0x4, %r14d
cmpq %rbp, %rax
ja 0x1612e
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
movl $0x1e, %eax
retq