user: What is the c source code of the assembly code below:

```asm
<bdyadd_>:
  endbr64
  push   %r15
  lea    -0x4(%rcx),%r15
  lea    -0x4(%r8),%r11
  push   %r14
  lea    D134(%rip),%r14
  push   %r13
  lea    -0x4(%r9),%r13
  push   %r12
  mov    %r8,%r12
  push   %rbp
  mov    %rcx,%rbp
  push   %rbx
  sub    $0x18,%rsp
  mov    (%rdi),%eax
  mov    0x50(%rsp),%rbx
  mov    %r11,0x8(%rsp)
  mov    %eax,D178(%rip)
  movslq (%rsi),%rax
  mov    (%rdx),%edx
  lea    0x0(%r13,%rax,4),%rcx
  mov    %eax,D44(%rip)
  movslq (%rcx),%rax
  mov    %edx,D135(%rip)
  mov    %eax,D154(%rip)
  lea    (%r11,%rax,4),%rdx
  movslq (%rbx),%rax
  mov    (%rdx),%esi
  mov    %eax,(%rdx)
  mov    D178(%rip),%edx
  neg    %edx
  mov    %edx,(%r15,%rax,4)
  movslq (%rbx),%rax
  mov    %esi,(%r11,%rax,4)
  mov    (%rbx),%eax
  mov    %eax,(%rcx)
  add    $0x1,%eax
  mov    %eax,(%rbx)
  movslq D154(%rip),%rax
  lea    (%r15,%rax,4),%rdx
  mov    (%rdx),%eax
  neg    %eax
  mov    %eax,D154(%rip)
  mov    %eax,(%rdx)
  mov    %eax,D162(%rip)
  jmp    L5
  nopw   0x0(%rax,%rax,1)
L6:
  movslq D154(%rip),%rax
  lea    (%r15,%rax,4),%rdx
  mov    (%rdx),%eax
  neg    %eax
  mov    %eax,D62(%rip)
  mov    %eax,(%rdx)
L5:
  cltq
  mov    %r12,%rcx
  mov    %rbx,%r8
  mov    %rbp,%rdx
  mov    0x0(%r13,%rax,4),%eax
  mov    %r14,%rsi
  lea    D178(%rip),%rdi
  mov    %eax,D62(%rip)
  call   <insert_@plt>
  mov    D135(%rip),%ecx
  cmp    %ecx,D62(%rip)
  jne    L6
  movslq (%rbx),%rax
  mov    D44(%rip),%edx
  mov    0x8(%rsp),%rdi
  mov    %edx,(%r15,%rax,4)
  movslq (%rbx),%rdx
  mov    %rax,%rsi
  mov    %rdx,%rax
  add    $0x1,%eax
  mov    %eax,(%rdi,%rdx,4)
  mov    (%rbx),%eax
  lea    0x1(%rax),%edx
  movslq D162(%rip),%rax
  mov    %edx,(%rbx)
  mov    %eax,D62(%rip)
  cmp    %eax,%ecx
  jne    L15
  jmp    L33
  nopl   (%rax)
L3:
  mov    (%rbx),%edx
L15:
  movslq %edx,%rdx
  mov    0x8(%rsp),%r10
  mov    %eax,(%r15,%rdx,4)
  movslq (%rbx),%rdi
  mov    %rdi,%rdx
  add    $0x1,%edx
  mov    %edx,(%r10,%rdi,4)
  addl   $0x1,(%rbx)
  movslq 0x0(%r13,%rax,4),%rax
  mov    %eax,D62(%rip)
  movslq (%r15,%rax,4),%rax
  cmp    %eax,%ecx
  jne    L3
  mov    %ecx,D62(%rip)
  mov    (%rbx),%edx
L33:
  movslq %edx,%rdx
  neg    %ecx
  mov    0x8(%rsp),%rdi
  mov    %ecx,(%r15,%rdx,4)
  movslq (%rbx),%rax
  mov    %esi,(%rdi,%rax,4)
  mov    (%rbx),%eax
  movslq D178(%rip),%rdx
  mov    %eax,0x0(%r13,%rdx,4)
  add    $0x1,%eax
  mov    %eax,(%rbx)
  add    $0x18,%rsp
  xor    %eax,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
```

assistant: ```c
int bdyadd_(int *kk, int *i1, int *i2, int *list, int *lptr, int *lend, int *lnew) {
  static int k, n1, n2, lp, lsav, nsav, next;
  --lend;
  --lptr;
  --list;
  k = *kk;
  n1 = *i1;
  n2 = *i2;
  lp = lend[n1];
  lsav = lptr[lp];
  lptr[lp] = *lnew;
  list[*lnew] = -k;
  lptr[*lnew] = lsav;
  lend[n1] = *lnew;
  ++(*lnew);
  next = -list[lp];
  list[lp] = next;
  nsav = next;
L1:
  lp = lend[next];
  insert_(&k, &lp, &list[1], &lptr[1], lnew);
  if (next == n2) {
    goto L2;
  }
  next = -list[lp];
  list[lp] = next;
  goto L1;
L2:
  lsav = *lnew;
  list[*lnew] = n1;
  lptr[*lnew] = *lnew + 1;
  ++(*lnew);
  next = nsav;
L3:
  if (next == n2) {
    goto L4;
  }
  list[*lnew] = next;
  lptr[*lnew] = *lnew + 1;
  ++(*lnew);
  lp = lend[next];
  next = list[lp];
  goto L3;
L4:
  list[*lnew] = -n2;
  lptr[*lnew] = lsav;
  lend[k] = *lnew;
  ++(*lnew);
  return 0;
}
```