// File: /workspace/github_c_makefile_star2_O2/mikebdp2[P]AtomDis/./datastructs_gen.c
// Function: ATOM_POWER_SOURCE_OBJECT_dumper
int ATOM_POWER_SOURCE_OBJECT_dumper (uint8_t *start, uint8_t *data, int indent) {
  ATOM_POWER_SOURCE_OBJECT *d = (ATOM_POWER_SOURCE_OBJECT *) data;
  int i;
  if (d) {
    printf ("%s%04x:  UCHAR ucPwrSrcId%s = 0x%02x       (%d)\n", IND(indent), (int)(((uint8_t*)&d->ucPwrSrcId)-start), FILL(15), d->ucPwrSrcId, d->ucPwrSrcId);
    printf ("%s%04x:  UCHAR ucPwrSensorType%s = 0x%02x       (%d)\n", IND(indent), (int)(((uint8_t*)&d->ucPwrSensorType)-start), FILL(20), d->ucPwrSensorType, d->ucPwrSensorType);
    printf ("%s%04x:  UCHAR ucPwrSensId%s = 0x%02x       (%d)\n", IND(indent), (int)(((uint8_t*)&d->ucPwrSensId)-start), FILL(16), d->ucPwrSensId, d->ucPwrSensId);
    printf ("%s%04x:  UCHAR ucPwrSensSlaveAddr%s = 0x%02x       (%d)\n", IND(indent), (int)(((uint8_t*)&d->ucPwrSensSlaveAddr)-start), FILL(23), d->ucPwrSensSlaveAddr, d->ucPwrSensSlaveAddr);
    printf ("%s%04x:  UCHAR ucPwrSensRegIndex%s = 0x%02x       (%d)\n", IND(indent), (int)(((uint8_t*)&d->ucPwrSensRegIndex)-start), FILL(22), d->ucPwrSensRegIndex, d->ucPwrSensRegIndex);
    printf ("%s%04x:  UCHAR ucPwrSensRegBitMask%s = 0x%02x       (%d)\n", IND(indent), (int)(((uint8_t*)&d->ucPwrSensRegBitMask)-start), FILL(24), d->ucPwrSensRegBitMask, d->ucPwrSensRegBitMask);
    printf ("%s%04x:  UCHAR ucPwrSensActiveState%s = 0x%02x       (%d)\n", IND(indent), (int)(((uint8_t*)&d->ucPwrSensActiveState)-start), FILL(25), d->ucPwrSensActiveState, d->ucPwrSensActiveState);
    for (i = 0; i < 3; i++) {
      printf ("%s%04x:  UCHAR ucReserve%s [%d] = 0x%02x       (%d)\n", IND(indent), (int)(((uint8_t*)&d->ucReserve[i])-start), FILL(18+(i>9)), i, d->ucReserve[i], d->ucReserve[i]); }
    printf ("%s%04x:  USHORT usSensPwr%s = 0x%04x     (%d)\n", IND(indent), (int)(((uint8_t*)&d->usSensPwr)-start), FILL(15), d->usSensPwr, d->usSensPwr);
  }
  return sizeof (ATOM_POWER_SOURCE_OBJECT);
}

// Assembly:
testq %rsi, %rsi
je 0x15bc9
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
cmpl $0x19, %edx
pushq $0x19
popq %rax
cmovll %edx, %eax
movq 0x27891(%rip), %rcx     # 0x3d2b0
addl %eax, %eax
pushq $0x32
popq %rdx
subl %eax, %edx
movslq %edx, %rbp
leaq (%rcx,%rbp), %rsi
addq $0xf, %rcx
movzbl (%rbx), %r8d
leaq 0x1594d(%rip), %rdi     # 0x2b389
movl %ebx, %r15d
subl %r14d, %r15d
movl %r15d, %edx
movl %r8d, %r9d
xorl %eax, %eax
callq 0x40b0
movq 0x2785a(%rip), %rcx     # 0x3d2b0
leaq (%rcx,%rbp), %rsi
leaq 0x1(%rbx), %rdx
subl %r14d, %edx
addq $0x14, %rcx
movzbl 0x1(%rbx), %r8d
leaq 0x15949(%rip), %rdi     # 0x2b3ba
movl %r8d, %r9d
xorl %eax, %eax
callq 0x40b0
movq 0x2782e(%rip), %rcx     # 0x3d2b0
leaq (%rcx,%rbp), %rsi
leaq 0x2(%rbx), %rdx
subl %r14d, %edx
addq $0x10, %rcx
movzbl 0x2(%rbx), %r8d
leaq 0x15953(%rip), %rdi     # 0x2b3f0
movl %r8d, %r9d
xorl %eax, %eax
callq 0x40b0
movq 0x27802(%rip), %rcx     # 0x3d2b0
leaq (%rcx,%rbp), %rsi
leaq 0x3(%rbx), %rdx
subl %r14d, %edx
addq $0x17, %rcx
movzbl 0x3(%rbx), %r8d
leaq 0x15959(%rip), %rdi     # 0x2b422
movl %r8d, %r9d
xorl %eax, %eax
callq 0x40b0
movq 0x277d6(%rip), %rcx     # 0x3d2b0
leaq (%rcx,%rbp), %rsi
leaq 0x4(%rbx), %rdx
subl %r14d, %edx
addq $0x16, %rcx
movzbl 0x4(%rbx), %r8d
leaq 0x15966(%rip), %rdi     # 0x2b45b
movl %r8d, %r9d
xorl %eax, %eax
callq 0x40b0
movq 0x277aa(%rip), %rcx     # 0x3d2b0
leaq (%rcx,%rbp), %rsi
leaq 0x5(%rbx), %rdx
subl %r14d, %edx
addq $0x18, %rcx
movzbl 0x5(%rbx), %r8d
leaq 0x15972(%rip), %rdi     # 0x2b493
movl %r8d, %r9d
xorl %eax, %eax
callq 0x40b0
movq 0x2777e(%rip), %rcx     # 0x3d2b0
leaq (%rcx,%rbp), %rsi
leaq 0x6(%rbx), %rdx
subl %r14d, %edx
addq $0x19, %rcx
movzbl 0x6(%rbx), %r8d
leaq 0x15980(%rip), %rdi     # 0x2b4cd
movl %r8d, %r9d
xorl %eax, %eax
callq 0x40b0
addl $0x7, %r15d
leaq 0x159a6(%rip), %r12     # 0x2b508
xorl %r13d, %r13d
movq 0x27744(%rip), %rcx     # 0x3d2b0
leaq (%rcx,%rbp), %rsi
cmpq $0x3, %r13
je 0x15b9a
leal (%r15,%r13), %edx
addq $0x12, %rcx
movzbl 0x7(%rbx,%r13), %r9d
movl %r9d, (%rsp)
movq %r12, %rdi
movl %r13d, %r8d
xorl %eax, %eax
callq 0x40b0
incq %r13
jmp 0x15b65
leaq 0xa(%rbx), %rdx
subl %r14d, %edx
addq $0xf, %rcx
movzwl 0xa(%rbx), %r8d
leaq 0x1598c(%rip), %rdi     # 0x2b53d
movl %r8d, %r9d
xorl %eax, %eax
callq 0x40b0
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
pushq $0xc
popq %rax
retq