user: 请显示与下面列出的汇编代码相匹配的C语言实现：

```asm
<covsph_>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x30,%rsp
  mov    %rdi,-0x8(%rbp)
  mov    %rsi,-0x10(%rbp)
  mov    %rdx,-0x18(%rbp)
  mov    %rcx,-0x20(%rbp)
  mov    %r8,-0x28(%rbp)
  mov    %r9,-0x30(%rbp)
  subq   $0x4,-0x28(%rbp)
  subq   $0x4,-0x20(%rbp)
  subq   $0x4,-0x18(%rbp)
  mov    -0x8(%rbp),%rax
  mov    (%rax),%eax
  mov    %eax,D14(%rip)
  mov    -0x10(%rbp),%rax
  mov    (%rax),%eax
  mov    %eax,D163(%rip)
  mov    D163(%rip),%eax
  mov    %eax,D234(%rip)
L30:
  mov    D234(%rip),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x28(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%eax
  mov    %eax,D33(%rip)
  mov    -0x20(%rbp),%rax
  lea    0x4(%rax),%rdx
  mov    -0x18(%rbp),%rax
  add    $0x4,%rax
  mov    -0x30(%rbp),%rcx
  mov    %rcx,%r8
  mov    %rdx,%rcx
  mov    %rax,%rdx
  lea    D33(%rip),%rax
  mov    %rax,%rsi
  lea    D14(%rip),%rax
  mov    %rax,%rdi
  call   <insert_@plt>
  mov    D33(%rip),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x18(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%eax
  neg    %eax
  mov    %eax,D98(%rip)
  mov    D33(%rip),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x18(%rbp),%rax
  add    %rax,%rdx
  mov    D98(%rip),%eax
  mov    %eax,(%rdx)
  mov    D98(%rip),%edx
  mov    D163(%rip),%eax
  cmp    %eax,%edx
  je     L22
  jmp    L30
L22:
  mov    -0x30(%rbp),%rax
  mov    (%rax),%eax
  mov    %eax,D98(%rip)
L32:
  mov    D98(%rip),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x28(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%eax
  mov    %eax,D3(%rip)
  mov    -0x30(%rbp),%rax
  mov    (%rax),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x18(%rbp),%rax
  add    %rax,%rdx
  mov    D98(%rip),%eax
  mov    %eax,(%rdx)
  mov    -0x30(%rbp),%rax
  mov    (%rax),%edx
  mov    -0x30(%rbp),%rax
  mov    (%rax),%eax
  cltq
  lea    0x0(,%rax,4),%rcx
  mov    -0x20(%rbp),%rax
  add    %rcx,%rax
  add    $0x1,%edx
  mov    %edx,(%rax)
  mov    -0x30(%rbp),%rax
  mov    (%rax),%eax
  lea    0x1(%rax),%edx
  mov    -0x30(%rbp),%rax
  mov    %edx,(%rax)
  mov    D3(%rip),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x18(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%eax
  mov    %eax,D3(%rip)
  mov    D3(%rip),%edx
  mov    D163(%rip),%eax
  cmp    %eax,%edx
  je     L15
  jmp    L32
L15:
  mov    -0x30(%rbp),%rax
  mov    (%rax),%eax
  cltq
  shl    $0x2,%rax
  lea    -0x4(%rax),%rdx
  mov    -0x20(%rbp),%rax
  add    %rax,%rdx
  mov    D98(%rip),%eax
  mov    %eax,(%rdx)
  mov    -0x30(%rbp),%rax
  mov    (%rax),%edx
  mov    D14(%rip),%eax
  cltq
  lea    0x0(,%rax,4),%rcx
  mov    -0x28(%rbp),%rax
  add    %rcx,%rax
  sub    $0x1,%edx
  mov    %edx,(%rax)
  mov    $0x0,%eax
  leave
  ret
```

assistant: ```c
int covsph_(int *kk, int *n0, int *list, int *lptr, int *lend, int *lnew) {
  static int k, lp, nst, lsav, next;
  --lend;
  --lptr;
  --list;
  k = *kk;
  nst = *n0;
  next = nst;
L1:
  lp = lend[next];
  insert_(&k, &lp, &list[1], &lptr[1], lnew);
  next = -list[lp];
  list[lp] = next;
  if (next != nst) {
    goto L1;
  }
  lsav = *lnew;
L2:
  lp = lend[next];
  list[*lnew] = next;
  lptr[*lnew] = *lnew + 1;
  ++(*lnew);
  next = list[lp];
  if (next != nst) {
    goto L2;
  }
  lptr[*lnew - 1] = lsav;
  lend[k] = *lnew - 1;
  return 0;
}
```