user: 请将以下的汇编代码转换成C语言代码:

```asm
<tqli>:
  endbr64
  push   %r15
  movslq %edx,%rax
  mov    %r8,%r10
  push   %r14
  push   %r13
  mov    %rdi,%r13
  push   %r12
  push   %rbp
  mov    %rax,%rbp
  push   %rbx
  lea    -0x8(%rsi,%rax,8),%rbx
  sub    $0xb8,%rsp
  mov    %rsi,0x68(%rsp)
  mov    %ecx,0x3c(%rsp)
  cmp    $0x1,%eax
  jle    L27
  mov    %rsi,%rcx
  lea    -0x1(%rax),%edx
  lea    0x8(%rsi),%rsi
  mov    %r8,0x8(%rsp)
  shl    $0x3,%rdx
  mov    %rcx,%rdi
  call   <memmove@plt>
  movq   $0x0,(%rbx)
  mov    0x8(%rsp),%r10
L68:
  mov    0x3c(%rsp),%eax
  movq   D49(%rip),%xmm5
  movq   $0x2,0x78(%rsp)
  neg    %eax
  cltq
  shl    $0x3,%rax
  test   %ebp,%ebp
  mov    %rax,0x50(%rsp)
  mov    $0x1,%eax
  cmovg  %ebp,%eax
  mov    %eax,%ecx
  mov    %eax,0x64(%rsp)
  shr    %eax
  sub    $0x1,%eax
  and    $0xfffffffe,%ecx
  mov    %rax,0xa8(%rsp)
  mov    %r10,%rax
  mov    %ecx,%r12d
  mov    %ebp,%r10d
  mov    %r13,%rbp
  mov    %rax,%r13
L105:
  mov    0x78(%rsp),%rcx
  mov    %rbp,%r8
  movl   $0x0,0x84(%rsp)
  movslq %ecx,%rax
  lea    -0x8(%rbp,%rax,8),%rax
  mov    %rax,0xa0(%rsp)
  mov    %rcx,%rax
  lea    -0x1(%rcx),%rcx
  sub    $0x1,%eax
  mov    %rcx,0x98(%rsp)
  mov    %eax,0x80(%rsp)
  nopl   0x0(%rax)
L173:
  mov    0x98(%rsp),%rax
  mov    0x68(%rsp),%rcx
  jmp    L200
  nop
L175:
  movsd  -0x8(%r8,%rax,8),%xmm0
  movsd  (%r8,%rax,8),%xmm1
  andpd  %xmm5,%xmm0
  andpd  %xmm5,%xmm1
  addsd  %xmm1,%xmm0
  movsd  -0x8(%rcx,%rax,8),%xmm1
  add    $0x1,%rax
  andpd  %xmm5,%xmm1
  addsd  %xmm0,%xmm1
  ucomisd %xmm0,%xmm1
  jp     L200
  je     L25
L200:
  mov    %eax,%edx
  mov    %eax,%ebx
  cmp    %eax,%r10d
  jg     L175
L25:
  mov    %edx,0x8(%rsp)
  cmp    0x80(%rsp),%ebx
  je     L111
  mov    0x84(%rsp),%r15d
  xor    %edi,%edi
  mov    %r10d,0x20(%rsp)
  mov    %r8,0x10(%rsp)
  cmp    $0x1d,%r15d
  setle  %dil
  add    $0x1,%r15d
  call   <assert@plt>
  mov    0x68(%rsp),%rbp
  mov    %r15d,0x84(%rsp)
  mov    0x78(%rsp),%r15
  mov    0x10(%rsp),%r8
  mov    0xa0(%rsp),%rax
  movsd  -0x10(%rbp,%r15,8),%xmm0
  mov    %r8,0x18(%rsp)
  movsd  (%rax),%xmm2
  subsd  -0x10(%r8,%r15,8),%xmm2
  addsd  %xmm0,%xmm0
  mov    D21(%rip),%rax
  movq   %rax,%xmm1
  divsd  %xmm0,%xmm2
  movapd %xmm2,%xmm0
  movsd  %xmm2,0x10(%rsp)
  call   <pythag@plt>
  movslq %ebx,%rax
  pxor   %xmm5,%xmm5
  mov    0x8(%rsp),%edx
  shl    $0x3,%rax
  mov    0x18(%rsp),%r8
  movsd  0x10(%rsp),%xmm2
  mov    %rax,0x70(%rsp)
  sub    $0x8,%rax
  mov    0x20(%rsp),%r10d
  comisd %xmm2,%xmm5
  lea    (%r8,%rax,1),%r14
  movsd  -0x10(%r8,%r15,8),%xmm4
  movsd  -0x10(%rbp,%r15,8),%xmm3
  movsd  (%r14),%xmm1
  movq   D49(%rip),%xmm5
  subsd  %xmm4,%xmm1
  jbe    L99
  xorpd  D56(%rip),%xmm0
L99:
  addsd  %xmm2,%xmm0
  divsd  %xmm0,%xmm3
  addsd  %xmm3,%xmm1
  cmp    0x80(%rsp),%ebx
  jle    L88
  mov    0x3c(%rsp),%r11d
  add    0x68(%rsp),%rax
  pxor   %xmm6,%xmm6
  mov    %r8,0x88(%rsp)
  mov    %rax,0x90(%rsp)
  mov    %rax,%rbp
  lea    -0x2(%rbx),%eax
  mov    0x70(%rsp),%r9
  mov    %r11d,%ecx
  imul   %r11d,%eax
  neg    %ecx
  lea    -0x10(%r8,%r9,1),%r9
  movslq %ecx,%r15
  mov    %edx,%ecx
  sub    $0x1,%edx
  sub    0x80(%rsp),%ecx
  imul   %r11d,%edx
  movslq %eax,%rdi
  lea    (%r11,%rax,1),%ebx
  sub    $0x1,%ecx
  shl    $0x3,%rcx
  mov    %r15,0x40(%rsp)
  lea    0x0(%r13,%rdi,8),%rsi
  movslq %ebx,%r15
  sub    %rcx,%r9
  sub    %edx,%eax
  mov    %r9,0x48(%rsp)
  mov    %eax,0x60(%rsp)
  mov    D21(%rip),%rax
  movq   %rax,%xmm3
  movq   %rax,%xmm4
  mov    0xa8(%rsp),%rax
  add    $0x1,%rax
  mov    %rax,0x58(%rsp)
  nopw   0x0(%rax,%rax,1)
L185:
  movsd  -0x8(%rbp),%xmm2
  mov    %r10d,0x38(%rsp)
  mov    %rdi,0x30(%rsp)
  mulsd  %xmm2,%xmm3
  mov    %rsi,0x28(%rsp)
  mulsd  %xmm4,%xmm2
  movsd  %xmm6,0x20(%rsp)
  movsd  %xmm1,0x10(%rsp)
  movapd %xmm3,%xmm0
  movsd  %xmm3,0x8(%rsp)
  movsd  %xmm2,0x18(%rsp)
  call   <pythag@plt>
  pxor   %xmm5,%xmm5
  mov    0x28(%rsp),%rsi
  movsd  0x8(%rsp),%xmm3
  ucomisd %xmm5,%xmm0
  mov    0x30(%rsp),%rdi
  mov    0x38(%rsp),%r10d
  movsd  %xmm0,0x0(%rbp)
  movsd  0x10(%rsp),%xmm1
  movsd  0x18(%rsp),%xmm2
  movsd  0x20(%rsp),%xmm6
  movq   D49(%rip),%xmm5
  jp     L140
  je     L150
L140:
  movapd %xmm1,%xmm4
  movsd  -0x8(%r14),%xmm1
  mov    0x60(%rsp),%eax
  lea    0x0(,%rdi,8),%r9
  divsd  %xmm0,%xmm4
  lea    0x10(%r9),%r11
  lea    0x10(,%r15,8),%r8
  lea    (%rbx,%rax,1),%edx
  lea    0x0(,%r15,8),%rax
  cmp    %r11,%rax
  setge  %r11b
  cmp    %r9,%r8
  setle  %r8b
  or     %r11b,%r8b
  divsd  %xmm0,%xmm3
  movsd  (%r14),%xmm0
  subsd  %xmm6,%xmm0
  subsd  %xmm0,%xmm1
  movapd %xmm4,%xmm6
  addsd  %xmm4,%xmm6
  mulsd  %xmm2,%xmm6
  mulsd  %xmm3,%xmm1
  addsd  %xmm6,%xmm1
  movapd %xmm3,%xmm6
  mulsd  %xmm1,%xmm6
  mulsd  %xmm4,%xmm1
  addsd  %xmm6,%xmm0
  subsd  %xmm2,%xmm1
  movsd  %xmm0,(%r14)
  je     L20
  cmp    $0x1,%r10d
  jle    L20
  mov    0x58(%rsp),%r9
  movapd %xmm3,%xmm8
  add    %r13,%rax
  mov    %rsi,%r8
  movapd %xmm4,%xmm7
  unpcklpd %xmm8,%xmm8
  shl    $0x4,%r9
  unpcklpd %xmm7,%xmm7
  add    %rsi,%r9
  nopl   (%rax)
L100:
  movupd (%rax),%xmm2
  movupd (%r8),%xmm0
  add    $0x10,%r8
  add    $0x10,%rax
  movapd %xmm7,%xmm9
  mulpd  %xmm2,%xmm9
  mulpd  %xmm8,%xmm0
  mulpd  %xmm8,%xmm2
  addpd  %xmm9,%xmm0
  movups %xmm0,-0x10(%rax)
  movupd -0x10(%r8),%xmm0
  mulpd  %xmm7,%xmm0
  subpd  %xmm2,%xmm0
  movups %xmm0,-0x10(%r8)
  cmp    %r8,%r9
  jne    L100
  cmp    0x64(%rsp),%r12d
  je     L145
  lea    (%rbx,%r12,1),%eax
  add    %r12d,%edx
  movapd %xmm4,%xmm7
  cltq
  movslq %edx,%rdx
  lea    0x0(%r13,%rdx,8),%rdx
  lea    0x0(%r13,%rax,8),%rax
  movsd  (%rax),%xmm0
  movsd  (%rdx),%xmm2
  mulsd  %xmm0,%xmm7
  mulsd  %xmm3,%xmm2
  mulsd  %xmm3,%xmm0
  addsd  %xmm7,%xmm2
  movsd  %xmm2,(%rax)
  movsd  (%rdx),%xmm2
  mulsd  %xmm4,%xmm2
  subsd  %xmm0,%xmm2
  movsd  %xmm2,(%rdx)
L145:
  mov    0x40(%rsp),%rax
  sub    $0x8,%r14
  sub    $0x8,%rbp
  add    0x50(%rsp),%rsi
  sub    0x3c(%rsp),%ebx
  add    %rax,%r15
  add    %rax,%rdi
  cmp    0x48(%rsp),%r14
  jne    L185
  mov    0x88(%rsp),%r8
  mov    0x78(%rsp),%rax
  movsd  -0x10(%r8,%rax,8),%xmm4
  subsd  %xmm6,%xmm4
L88:
  mov    0x78(%rsp),%rax
  mov    0x68(%rsp),%rcx
  movsd  %xmm4,-0x10(%r8,%rax,8)
  movsd  %xmm1,-0x10(%rcx,%rax,8)
  mov    0x70(%rsp),%rax
  movq   $0x0,-0x8(%rcx,%rax,1)
  jmp    L173
  nopl   0x0(%rax)
L20:
  mov    %r15,%r8
  mov    %rsi,%rax
  mov    $0x1,%edx
  sub    %rdi,%r8
  xchg   %ax,%ax
L75:
  movsd  (%rax,%r8,8),%xmm0
  movsd  (%rax),%xmm2
  movapd %xmm4,%xmm7
  add    $0x1,%edx
  mulsd  %xmm0,%xmm7
  mulsd  %xmm3,%xmm2
  mulsd  %xmm3,%xmm0
  addsd  %xmm7,%xmm2
  movsd  %xmm2,(%rax,%r8,8)
  movsd  (%rax),%xmm2
  add    $0x8,%rax
  mulsd  %xmm4,%xmm2
  subsd  %xmm0,%xmm2
  movsd  %xmm2,-0x8(%rax)
  cmp    %edx,%r10d
  jge    L75
  jmp    L145
L150:
  movsd  (%r14),%xmm0
  mov    0x90(%rsp),%rax
  mov    0x88(%rsp),%r8
  subsd  %xmm6,%xmm0
  movsd  %xmm0,(%r14)
  movq   $0x0,(%rax)
  jmp    L173
L111:
  addq   $0x1,0x78(%rsp)
  mov    0x78(%rsp),%rax
  mov    %r8,%rbp
  sub    $0x1,%eax
  cmp    %eax,%r10d
  jge    L105
L203:
  add    $0xb8,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L27:
  movq   $0x0,(%rbx)
  jne    L203
  jmp    L68
```

tool_calls: name: disassemble_data
arguments: data_label: D49
type_guessed: qword
name: disassemble_data
arguments: data_label: D21
type_guessed: f64
name: disassemble_data
arguments: data_label: D56
type_guessed: f32[4]

tool: D49: 9223372036854775807

tool: D21: 1

tool: {"D56": [0.0,-0.0,0.0,0.0]}

assistant: ```c
void tqli(double *d, double *e, int n, int np, double *z) {
  int i = 0, iter = 0, k = 0, l = 0, m = 0;
  double b = 0, c = 0, dd = 0, f = 0, g = 0, p = 0, r = 0, s = 0;
  for (i = 2; i <= n; i++)
    e[i - 1 - 1] = e[i - 1];
  e[n - 1] = 0;
  for (l = 1; l <= n; l++) {
    iter = 0;
  labelExtra:
    for (m = l; (m < n); m++) {
      dd = fabs(d[m - 1]) + fabs(d[m + 1 - 1]);
      if (fabs(e[m - 1]) + dd == dd)
        break;
    }
    if (m != l) {
      assert(iter < 30);
      iter++;
      g = (d[l + 1 - 1] - d[l - 1]) / (2 * e[l - 1]);
      r = pythag(g, 1.);
      g = d[m - 1] - d[l - 1] + e[l - 1] / (g + (g < 0 ? -r : r));
      s = 1;
      c = 1;
      p = 0;
      for (i = m - 1; i >= l; i--) {
        f = s * e[i - 1];
        b = c * e[i - 1];
        r = pythag(f, g);
        e[i + 1 - 1] = r;
        if (r == 0) {
          d[i + 1 - 1] -= p;
          e[m - 1] = 0;
          goto labelExtra;
        }
        s = f / r;
        c = g / r;
        g = d[i + 1 - 1] - p;
        r = (d[i - 1] - g) * s + 2 * c * b;
        p = s * r;
        d[i + 1 - 1] = g + p;
        g = c * r - b;
        for (k = 1; k <= n; k++) {
          f = z[(i + 1 - 1) * np + (k - 1)];
          z[(i + 1 - 1) * np + (k - 1)] = s * z[(i - 1) * np + (k - 1)] + c * f;
          z[(i - 1) * np + (k - 1)] = c * z[(i - 1) * np + (k - 1)] - s * f;
        }
      }
      d[l - 1] -= p;
      e[l - 1] = g;
      e[m - 1] = 0;
      goto labelExtra;
    }
  }
  return;
}
```