// File: /workspace/github_c_makefile_star2_O1/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 0x16426
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
cmpl $0x19, %edx
movl $0x19, %eax
cmovll %edx, %eax
movq 0x26040(%rip), %rcx     # 0x3c2b0
addl %eax, %eax
movl $0x32, %edx
subl %eax, %edx
movslq %edx, %r15
leaq (%rcx,%r15), %rsi
addq $0xf, %rcx
movzbl (%rbx), %r8d
leaq 0x1611d(%rip), %rdi     # 0x2c3ac
movl %ebx, %r12d
subl %r14d, %r12d
movl %r12d, %edx
movl %r8d, %r9d
xorl %eax, %eax
callq 0x40b0
movq 0x26007(%rip), %rcx     # 0x3c2b0
leaq (%rcx,%r15), %rsi
leaq 0x1(%rbx), %rdx
subl %r14d, %edx
addq $0x14, %rcx
movzbl 0x1(%rbx), %r8d
leaq 0x16119(%rip), %rdi     # 0x2c3dd
movl %r8d, %r9d
xorl %eax, %eax
callq 0x40b0
movq 0x25fdb(%rip), %rcx     # 0x3c2b0
leaq (%rcx,%r15), %rsi
leaq 0x2(%rbx), %rdx
subl %r14d, %edx
addq $0x10, %rcx
movzbl 0x2(%rbx), %r8d
leaq 0x16123(%rip), %rdi     # 0x2c413
movl %r8d, %r9d
xorl %eax, %eax
callq 0x40b0
movq 0x25faf(%rip), %rcx     # 0x3c2b0
leaq (%rcx,%r15), %rsi
leaq 0x3(%rbx), %rdx
subl %r14d, %edx
addq $0x17, %rcx
movzbl 0x3(%rbx), %r8d
leaq 0x16129(%rip), %rdi     # 0x2c445
movl %r8d, %r9d
xorl %eax, %eax
callq 0x40b0
movq 0x25f83(%rip), %rcx     # 0x3c2b0
leaq (%rcx,%r15), %rsi
leaq 0x4(%rbx), %rdx
subl %r14d, %edx
addq $0x16, %rcx
movzbl 0x4(%rbx), %r8d
leaq 0x16136(%rip), %rdi     # 0x2c47e
movl %r8d, %r9d
xorl %eax, %eax
callq 0x40b0
movq 0x25f57(%rip), %rcx     # 0x3c2b0
leaq (%rcx,%r15), %rsi
leaq 0x5(%rbx), %rdx
subl %r14d, %edx
addq $0x18, %rcx
movzbl 0x5(%rbx), %r8d
leaq 0x16142(%rip), %rdi     # 0x2c4b6
movl %r8d, %r9d
xorl %eax, %eax
callq 0x40b0
movq 0x25f2b(%rip), %rcx     # 0x3c2b0
leaq (%rcx,%r15), %rsi
leaq 0x6(%rbx), %rdx
subl %r14d, %edx
addq $0x19, %rcx
movzbl 0x6(%rbx), %r8d
leaq 0x16150(%rip), %rdi     # 0x2c4f0
movl %r8d, %r9d
xorl %eax, %eax
callq 0x40b0
addl $0x7, %r12d
leaq 0x16176(%rip), %r13     # 0x2c52b
xorl %ebp, %ebp
movq 0x25ef2(%rip), %rcx     # 0x3c2b0
leaq (%rcx,%r15), %rsi
leal (%r12,%rbp), %edx
addq $0x12, %rcx
movzbl 0x7(%rbx,%rbp), %r9d
movl %r9d, (%rsp)
movq %r13, %rdi
movl %ebp, %r8d
xorl %eax, %eax
callq 0x40b0
incq %rbp
cmpq $0x3, %rbp
jne 0x163b7
movq 0x25ebf(%rip), %rcx     # 0x3c2b0
addq %rcx, %r15
leaq 0xa(%rbx), %rdx
subl %r14d, %edx
addq $0xf, %rcx
movzwl 0xa(%rbx), %r8d
leaq 0x16155(%rip), %rdi     # 0x2c560
movq %r15, %rsi
movl %r8d, %r9d
xorl %eax, %eax
callq 0x40b0
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
movl $0xc, %eax
retq