// File: /workspace/github_c_makefile_star2_O1/mikebdp2[P]AtomDis/./datastructs_gen.c
// Function: DP_ENCODER_SERVICE_PARAMETERS_V2_dumper
int DP_ENCODER_SERVICE_PARAMETERS_V2_dumper (uint8_t *start, uint8_t *data, int indent) {
  DP_ENCODER_SERVICE_PARAMETERS_V2 *d = (DP_ENCODER_SERVICE_PARAMETERS_V2 *) data;
  int i;
  if (d) {
    printf ("%s%04x:  USHORT usExtEncoderObjId%s = 0x%04x     (%d)\n", IND(indent), (int)(((uint8_t*)&d->usExtEncoderObjId)-start), FILL(23), d->usExtEncoderObjId, d->usExtEncoderObjId);
    printf ("%s%04x:  UCHAR ucAuxId%s = 0x%02x       (%d)\n", IND(indent), (int)(((uint8_t*)&d->ucAuxId)-start), FILL(12), d->ucAuxId, d->ucAuxId);
    printf ("%s%04x:  UCHAR ucAction%s = 0x%02x       (%d)\n", IND(indent), (int)(((uint8_t*)&d->ucAction)-start), FILL(13), d->ucAction, d->ucAction);
    printf ("%s%04x:  UCHAR ucSinkType%s = 0x%02x       (%d)\n", IND(indent), (int)(((uint8_t*)&d->ucSinkType)-start), FILL(15), d->ucSinkType, d->ucSinkType);
    printf ("%s%04x:  UCHAR ucHPDId%s = 0x%02x       (%d)\n", IND(indent), (int)(((uint8_t*)&d->ucHPDId)-start), FILL(12), d->ucHPDId, d->ucHPDId);
    for (i = 0; i < 2; i++) {
      printf ("%s%04x:  UCHAR ucReserved%s [%d] = 0x%02x       (%d)\n", IND(indent), (int)(((uint8_t*)&d->ucReserved[i])-start), FILL(19+(i>9)), i, d->ucReserved[i], d->ucReserved[i]); }
  }
  return sizeof (DP_ENCODER_SERVICE_PARAMETERS_V2);
}

// Assembly:
testq %rsi, %rsi
je 0x1da68
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x10, %rsp
movq %rsi, %rbx
movq %rdi, %r15
cmpl $0x19, %edx
movl $0x19, %eax
cmovll %edx, %eax
movq 0x1e978(%rip), %rcx     # 0x3c2b0
addl %eax, %eax
movl $0x32, %edx
subl %eax, %edx
movslq %edx, %r13
leaq (%rcx,%r13), %rsi
addq $0x17, %rcx
movzwl (%rbx), %r8d
leaq 0xd7e7(%rip), %rdi      # 0x2b13e
movl %ebx, %r14d
subl %r15d, %r14d
movl %r14d, %edx
movl %r8d, %r9d
xorl %eax, %eax
callq 0x40b0
movq 0x1e93f(%rip), %rcx     # 0x3c2b0
leaq (%rcx,%r13), %rsi
leaq 0x2(%rbx), %rdx
subl %r15d, %edx
addq $0xc, %rcx
movzbl 0x2(%rbx), %r8d
leaq 0x12762(%rip), %rdi     # 0x300ee
movl %r8d, %r9d
xorl %eax, %eax
callq 0x40b0
movq 0x1e913(%rip), %rcx     # 0x3c2b0
leaq (%rcx,%r13), %rsi
leaq 0x3(%rbx), %rdx
subl %r15d, %edx
addq $0xd, %rcx
movzbl 0x3(%rbx), %r8d
leaq 0x69f3(%rip), %rdi      # 0x243ab
movl %r8d, %r9d
xorl %eax, %eax
callq 0x40b0
movq 0x1e8e7(%rip), %rcx     # 0x3c2b0
leaq (%rcx,%r13), %rsi
leaq 0x4(%rbx), %rdx
subl %r15d, %edx
addq $0xf, %rcx
movzbl 0x4(%rbx), %r8d
leaq 0x12738(%rip), %rdi     # 0x3011c
movl %r8d, %r9d
xorl %eax, %eax
callq 0x40b0
movq 0x1e8bb(%rip), %rcx     # 0x3c2b0
leaq (%rcx,%r13), %rsi
leaq 0x5(%rbx), %rdx
subl %r15d, %edx
addq $0xc, %rcx
movzbl 0x5(%rbx), %r8d
leaq 0x1273d(%rip), %rdi     # 0x3014d
movl %r8d, %r9d
xorl %eax, %eax
callq 0x40b0
addl $0x6, %r14d
leaq 0x6fdc(%rip), %r15      # 0x24a01
xorl %r12d, %r12d
movq 0x1e881(%rip), %rcx     # 0x3c2b0
leaq (%rcx,%r13), %rsi
leal (%r14,%r12), %edx
addq $0x13, %rcx
movzbl 0x6(%rbx,%r12), %r9d
movl %r9d, (%rsp)
movq %r15, %rdi
movl %r12d, %r8d
xorl %eax, %eax
callq 0x40b0
incq %r12
cmpq $0x1, %r12
je 0x1da28
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
movl $0x8, %eax
retq