// File: /workspace/github_c_makefile_star2_O2/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 0x1cf52
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x10, %rsp
movq %rsi, %rbx
movq %rdi, %r15
cmpl $0x19, %edx
pushq $0x19
popq %rax
cmovll %edx, %eax
movq 0x2048e(%rip), %rcx     # 0x3d2b0
addl %eax, %eax
pushq $0x32
popq %rdx
subl %eax, %edx
movslq %edx, %r13
leaq (%rcx,%r13), %rsi
addq $0x17, %rcx
movzwl (%rbx), %r8d
leaq 0xd2dc(%rip), %rdi      # 0x2a11b
movl %ebx, %r14d
subl %r15d, %r14d
movl %r14d, %edx
movl %r8d, %r9d
xorl %eax, %eax
callq 0x40b0
movq 0x20457(%rip), %rcx     # 0x3d2b0
leaq (%rcx,%r13), %rsi
leaq 0x2(%rbx), %rdx
subl %r15d, %edx
addq $0xc, %rcx
movzbl 0x2(%rbx), %r8d
leaq 0x12257(%rip), %rdi     # 0x2f0cb
movl %r8d, %r9d
xorl %eax, %eax
callq 0x40b0
movq 0x2042b(%rip), %rcx     # 0x3d2b0
leaq (%rcx,%r13), %rsi
leaq 0x3(%rbx), %rdx
subl %r15d, %edx
addq $0xd, %rcx
movzbl 0x3(%rbx), %r8d
leaq 0x64e8(%rip), %rdi      # 0x23388
movl %r8d, %r9d
xorl %eax, %eax
callq 0x40b0
movq 0x203ff(%rip), %rcx     # 0x3d2b0
leaq (%rcx,%r13), %rsi
leaq 0x4(%rbx), %rdx
subl %r15d, %edx
addq $0xf, %rcx
movzbl 0x4(%rbx), %r8d
leaq 0x1222d(%rip), %rdi     # 0x2f0f9
movl %r8d, %r9d
xorl %eax, %eax
callq 0x40b0
movq 0x203d3(%rip), %rcx     # 0x3d2b0
leaq (%rcx,%r13), %rsi
leaq 0x5(%rbx), %rdx
subl %r15d, %edx
addq $0xc, %rcx
movzbl 0x5(%rbx), %r8d
leaq 0x12232(%rip), %rdi     # 0x2f12a
movl %r8d, %r9d
xorl %eax, %eax
callq 0x40b0
addl $0x6, %r14d
leaq 0x6ad1(%rip), %r15      # 0x239de
xorl %r12d, %r12d
cmpq $0x2, %r12
je 0x1cf45
movq 0x20393(%rip), %rcx     # 0x3d2b0
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
jmp 0x1cf10
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
pushq $0x8
popq %rax
retq