user: What would the C source look like for the assembly code provided here:

```asm
<jbg_int2dppriv>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0xe0,%rsp
  mov    %rdi,-0xd8(%rbp)
  mov    %rsi,-0xe0(%rbp)
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  movl   $0x1,-0xc0(%rbp)
  movl   $0x0,-0xbc(%rbp)
  movl   $0x3,-0xb8(%rbp)
  movl   $0x2,-0xb4(%rbp)
  movl   $0x7,-0xb0(%rbp)
  movl   $0x6,-0xac(%rbp)
  movl   $0x5,-0xa8(%rbp)
  movl   $0x4,-0xa4(%rbp)
  movl   $0x1,-0xa0(%rbp)
  movl   $0x0,-0x9c(%rbp)
  movl   $0x3,-0x98(%rbp)
  movl   $0x2,-0x94(%rbp)
  movl   $0x8,-0x90(%rbp)
  movl   $0x7,-0x8c(%rbp)
  movl   $0x6,-0x88(%rbp)
  movl   $0x5,-0x84(%rbp)
  movl   $0x4,-0x80(%rbp)
  movl   $0x1,-0x70(%rbp)
  movl   $0x0,-0x6c(%rbp)
  movl   $0x3,-0x68(%rbp)
  movl   $0x2,-0x64(%rbp)
  movl   $0xa,-0x60(%rbp)
  movl   $0x9,-0x5c(%rbp)
  movl   $0x8,-0x58(%rbp)
  movl   $0x7,-0x54(%rbp)
  movl   $0x6,-0x50(%rbp)
  movl   $0x5,-0x4c(%rbp)
  movl   $0x4,-0x48(%rbp)
  movl   $0x1,-0x40(%rbp)
  movl   $0x0,-0x3c(%rbp)
  movl   $0x3,-0x38(%rbp)
  movl   $0x2,-0x34(%rbp)
  movl   $0xb,-0x30(%rbp)
  movl   $0xa,-0x2c(%rbp)
  movl   $0x9,-0x28(%rbp)
  movl   $0x8,-0x24(%rbp)
  movl   $0x7,-0x20(%rbp)
  movl   $0x6,-0x1c(%rbp)
  movl   $0x5,-0x18(%rbp)
  movl   $0x4,-0x14(%rbp)
  movl   $0x0,-0xcc(%rbp)
  jmp    L2
L89:
  mov    -0xcc(%rbp),%eax
  lea    0x1(%rax),%edx
  mov    %edx,-0xcc(%rbp)
  movslq %eax,%rdx
  mov    -0xd8(%rbp),%rax
  add    %rdx,%rax
  movb   $0x0,(%rax)
L2:
  cmpl   $0x6bf,-0xcc(%rbp)
  jle    L89
  movl   $0x0,-0xcc(%rbp)
  jmp    L118
L166:
  movl   $0x0,-0xc4(%rbp)
  movl   $0x0,-0xc8(%rbp)
  jmp    L102
L4:
  mov    -0xc8(%rbp),%eax
  mov    -0xcc(%rbp),%edx
  mov    %eax,%ecx
  sar    %cl,%edx
  mov    %edx,%eax
  and    $0x1,%eax
  mov    %eax,%edx
  mov    -0xc8(%rbp),%eax
  cltq
  mov    -0xc0(%rbp,%rax,4),%eax
  mov    %eax,%ecx
  shl    %cl,%edx
  mov    %edx,%eax
  or     %eax,-0xc4(%rbp)
  addl   $0x1,-0xc8(%rbp)
L102:
  mov    -0xc8(%rbp),%eax
  mov    -0xcc(%rbp),%edx
  mov    %eax,%ecx
  sar    %cl,%edx
  mov    %edx,%eax
  test   %eax,%eax
  jne    L4
  mov    -0xcc(%rbp),%eax
  sar    $0x2,%eax
  movslq %eax,%rdx
  mov    -0xd8(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  mov    %eax,%esi
  mov    -0xc4(%rbp),%eax
  movslq %eax,%rdx
  mov    -0xe0(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  movsbl %al,%eax
  and    $0x3,%eax
  mov    %eax,%edx
  mov    -0xcc(%rbp),%eax
  not    %eax
  add    %eax,%eax
  and    $0x6,%eax
  mov    %eax,%ecx
  shl    %cl,%edx
  mov    %edx,%eax
  or     %eax,%esi
  mov    %esi,%ecx
  mov    -0xcc(%rbp),%eax
  sar    $0x2,%eax
  movslq %eax,%rdx
  mov    -0xd8(%rbp),%rax
  add    %rdx,%rax
  mov    %ecx,%edx
  mov    %dl,(%rax)
  addl   $0x1,-0xcc(%rbp)
L118:
  cmpl   $0xff,-0xcc(%rbp)
  jle    L166
  movl   $0x0,-0xcc(%rbp)
  jmp    L53
L178:
  movl   $0x0,-0xc4(%rbp)
  movl   $0x0,-0xc8(%rbp)
  jmp    L142
L181:
  mov    -0xc8(%rbp),%eax
  mov    -0xcc(%rbp),%edx
  mov    %eax,%ecx
  sar    %cl,%edx
  mov    %edx,%eax
  and    $0x1,%eax
  mov    %eax,%edx
  mov    -0xc8(%rbp),%eax
  cltq
  mov    -0xa0(%rbp,%rax,4),%eax
  mov    %eax,%ecx
  shl    %cl,%edx
  mov    %edx,%eax
  or     %eax,-0xc4(%rbp)
  addl   $0x1,-0xc8(%rbp)
L142:
  mov    -0xc8(%rbp),%eax
  mov    -0xcc(%rbp),%edx
  mov    %eax,%ecx
  sar    %cl,%edx
  mov    %edx,%eax
  test   %eax,%eax
  jne    L181
  mov    -0xcc(%rbp),%eax
  add    $0x100,%eax
  sar    $0x2,%eax
  movslq %eax,%rdx
  mov    -0xd8(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  mov    %eax,%esi
  mov    -0xc4(%rbp),%eax
  cltq
  lea    0x100(%rax),%rdx
  mov    -0xe0(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  movsbl %al,%eax
  and    $0x3,%eax
  mov    %eax,%edx
  mov    -0xcc(%rbp),%eax
  not    %eax
  add    %eax,%eax
  and    $0x6,%eax
  mov    %eax,%ecx
  shl    %cl,%edx
  mov    %edx,%eax
  or     %eax,%esi
  mov    %esi,%ecx
  mov    -0xcc(%rbp),%eax
  add    $0x100,%eax
  sar    $0x2,%eax
  movslq %eax,%rdx
  mov    -0xd8(%rbp),%rax
  add    %rdx,%rax
  mov    %ecx,%edx
  mov    %dl,(%rax)
  addl   $0x1,-0xcc(%rbp)
L53:
  cmpl   $0x1ff,-0xcc(%rbp)
  jle    L178
  movl   $0x0,-0xcc(%rbp)
  jmp    L70
L58:
  movl   $0x0,-0xc4(%rbp)
  movl   $0x0,-0xc8(%rbp)
  jmp    L91
L92:
  mov    -0xc8(%rbp),%eax
  mov    -0xcc(%rbp),%edx
  mov    %eax,%ecx
  sar    %cl,%edx
  mov    %edx,%eax
  and    $0x1,%eax
  mov    %eax,%edx
  mov    -0xc8(%rbp),%eax
  cltq
  mov    -0x70(%rbp,%rax,4),%eax
  mov    %eax,%ecx
  shl    %cl,%edx
  mov    %edx,%eax
  or     %eax,-0xc4(%rbp)
  addl   $0x1,-0xc8(%rbp)
L91:
  mov    -0xc8(%rbp),%eax
  mov    -0xcc(%rbp),%edx
  mov    %eax,%ecx
  sar    %cl,%edx
  mov    %edx,%eax
  test   %eax,%eax
  jne    L92
  mov    -0xcc(%rbp),%eax
  add    $0x300,%eax
  sar    $0x2,%eax
  movslq %eax,%rdx
  mov    -0xd8(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  mov    %eax,%esi
  mov    -0xc4(%rbp),%eax
  cltq
  lea    0x300(%rax),%rdx
  mov    -0xe0(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  movsbl %al,%eax
  and    $0x3,%eax
  mov    %eax,%edx
  mov    -0xcc(%rbp),%eax
  not    %eax
  add    %eax,%eax
  and    $0x6,%eax
  mov    %eax,%ecx
  shl    %cl,%edx
  mov    %edx,%eax
  or     %eax,%esi
  mov    %esi,%ecx
  mov    -0xcc(%rbp),%eax
  add    $0x300,%eax
  sar    $0x2,%eax
  movslq %eax,%rdx
  mov    -0xd8(%rbp),%rax
  add    %rdx,%rax
  mov    %ecx,%edx
  mov    %dl,(%rax)
  addl   $0x1,-0xcc(%rbp)
L70:
  cmpl   $0x7ff,-0xcc(%rbp)
  jle    L58
  movl   $0x0,-0xcc(%rbp)
  jmp    L43
L123:
  movl   $0x0,-0xc4(%rbp)
  movl   $0x0,-0xc8(%rbp)
  jmp    L161
L78:
  mov    -0xc8(%rbp),%eax
  mov    -0xcc(%rbp),%edx
  mov    %eax,%ecx
  sar    %cl,%edx
  mov    %edx,%eax
  and    $0x1,%eax
  mov    %eax,%edx
  mov    -0xc8(%rbp),%eax
  cltq
  mov    -0x40(%rbp,%rax,4),%eax
  mov    %eax,%ecx
  shl    %cl,%edx
  mov    %edx,%eax
  or     %eax,-0xc4(%rbp)
  addl   $0x1,-0xc8(%rbp)
L161:
  mov    -0xc8(%rbp),%eax
  mov    -0xcc(%rbp),%edx
  mov    %eax,%ecx
  sar    %cl,%edx
  mov    %edx,%eax
  test   %eax,%eax
  jne    L78
  mov    -0xcc(%rbp),%eax
  add    $0xb00,%eax
  sar    $0x2,%eax
  movslq %eax,%rdx
  mov    -0xd8(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  mov    %eax,%esi
  mov    -0xc4(%rbp),%eax
  cltq
  lea    0xb00(%rax),%rdx
  mov    -0xe0(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  movsbl %al,%eax
  and    $0x3,%eax
  mov    %eax,%edx
  mov    -0xcc(%rbp),%eax
  not    %eax
  add    %eax,%eax
  and    $0x6,%eax
  mov    %eax,%ecx
  shl    %cl,%edx
  mov    %edx,%eax
  or     %eax,%esi
  mov    %esi,%ecx
  mov    -0xcc(%rbp),%eax
  add    $0xb00,%eax
  sar    $0x2,%eax
  movslq %eax,%rdx
  mov    -0xd8(%rbp),%rax
  add    %rdx,%rax
  mov    %ecx,%edx
  mov    %dl,(%rax)
  addl   $0x1,-0xcc(%rbp)
L43:
  cmpl   $0xfff,-0xcc(%rbp)
  jle    L123
  nop
  mov    -0x8(%rbp),%rax
  sub    %fs:0x28,%rax
  je     L182
  call   <__stack_chk_fail@plt>
L182:
  leave
  ret
```

assistant: ```c
void jbg_int2dppriv(unsigned char *dptable, const char *internal) {
  int i, j, k;
  int trans0[8] = {1, 0, 3, 2, 7, 6, 5, 4};
  int trans1[9] = {1, 0, 3, 2, 8, 7, 6, 5, 4};
  int trans2[11] = {1, 0, 3, 2, 10, 9, 8, 7, 6, 5, 4};
  int trans3[12] = {1, 0, 3, 2, 11, 10, 9, 8, 7, 6, 5, 4};
  for (i = 0; i < 1728; dptable[i++] = 0)
    ;
  for (i = 0; i < 256; i++) {
    k = 0;
    for (j = 0; i >> j; j++)
      k |= ((i >> j) & 1) << trans0[j];
    dptable[(i + 0) >> 2] |= (internal[k + 0] & 3) << ((3 - (i & 3)) << 1);
  };
  for (i = 0; i < 512; i++) {
    k = 0;
    for (j = 0; i >> j; j++)
      k |= ((i >> j) & 1) << trans1[j];
    dptable[(i + 256) >> 2] |= (internal[k + 256] & 3) << ((3 - (i & 3)) << 1);
  };
  for (i = 0; i < 2048; i++) {
    k = 0;
    for (j = 0; i >> j; j++)
      k |= ((i >> j) & 1) << trans2[j];
    dptable[(i + 768) >> 2] |= (internal[k + 768] & 3) << ((3 - (i & 3)) << 1);
  };
  for (i = 0; i < 4096; i++) {
    k = 0;
    for (j = 0; i >> j; j++)
      k |= ((i >> j) & 1) << trans3[j];
    dptable[(i + 2816) >> 2] |= (internal[k + 2816] & 3) << ((3 - (i & 3)) << 1);
  };
  return;
}
```