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

```asm
<tqli>:
  endbr64
  push   %r15
  movslq %edx,%rax
  mov    %rcx,%r8
  push   %r14
  mov    %rax,%r15
  mov    %rsi,%r14
  push   %r13
  push   %r12
  mov    %rdi,%r12
  push   %rbp
  lea    (%rsi,%rax,4),%rbp
  push   %rbx
  sub    $0x58,%rsp
  cmp    $0x1,%eax
  jle    L14
  lea    -0x1(%rax),%edx
  lea    0x8(%rsi),%rsi
  mov    %rcx,0x8(%rsp)
  mov    %rdx,%rbx
  lea    0x4(%r14),%rdi
  shl    $0x2,%rdx
  call   <memmove@plt>
  movl   $0x0,0x0(%rbp)
  mov    0x8(%rsp),%r8
L204:
  movss  D68(%rip),%xmm5
  lea    0x10(%r8,%rbx,8),%r13
  mov    $0x1,%ecx
  movss  D33(%rip),%xmm4
L67:
  xor    %r9d,%r9d
L54:
  mov    %ecx,%ebp
  cmp    %ecx,%r15d
  jle    L195
  mov    %rcx,%rax
  jmp    L194
  nop
L78:
  add    $0x1,%rax
  lea    0x1(%rdx),%ebx
  cmp    %eax,%r15d
  jle    L202
L194:
  movss  (%r12,%rax,4),%xmm0
  movss  0x4(%r12,%rax,4),%xmm1
  mov    %eax,%edx
  mov    %eax,%ebx
  andps  %xmm4,%xmm1
  andps  %xmm4,%xmm0
  addss  %xmm1,%xmm0
  movss  (%r14,%rax,4),%xmm1
  andps  %xmm4,%xmm1
  cvtss2sd %xmm0,%xmm0
  cvtss2sd %xmm1,%xmm1
  addsd  %xmm0,%xmm1
  ucomisd %xmm1,%xmm0
  jp     L78
  jne    L78
L202:
  cmp    %ebp,%ebx
  jne    L23
L195:
  add    $0x1,%rcx
  cmp    %ecx,%r15d
  jge    L67
L61:
  add    $0x58,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L23:
  cmp    $0x1e,%r9d
  je     L242
L128:
  movss  (%r12,%rcx,4),%xmm1
  movss  0x4(%r12,%rcx,4),%xmm0
  pxor   %xmm3,%xmm3
  pxor   %xmm2,%xmm2
  cvtss2sd (%r14,%rcx,4),%xmm3
  pxor   %xmm9,%xmm9
  movsd  D128(%rip),%xmm8
  subss  %xmm1,%xmm0
  cvtss2sd %xmm0,%xmm2
  movapd %xmm3,%xmm0
  addsd  %xmm3,%xmm0
  divsd  %xmm0,%xmm2
  cvtsd2ss %xmm2,%xmm2
  movaps %xmm2,%xmm0
  mulss  %xmm2,%xmm0
  cvtss2sd %xmm0,%xmm0
  addsd  %xmm8,%xmm0
  ucomisd %xmm0,%xmm9
  ja     L185
  sqrtsd %xmm0,%xmm0
L92:
  movslq %ebx,%r10
  pxor   %xmm7,%xmm7
  pxor   %xmm10,%xmm10
  cvtsd2ss %xmm0,%xmm0
  movss  (%r12,%r10,4),%xmm6
  comiss %xmm2,%xmm7
  andps  %xmm4,%xmm0
  lea    0x0(,%r10,4),%rax
  cvtss2sd %xmm2,%xmm10
  cvtss2sd %xmm0,%xmm0
  subss  %xmm1,%xmm6
  cvtss2sd %xmm6,%xmm6
  jbe    L212
  xorpd  D69(%rip),%xmm0
L212:
  addsd  %xmm10,%xmm0
  divsd  %xmm0,%xmm3
  addsd  %xmm6,%xmm3
  cvtsd2ss %xmm3,%xmm3
  cmp    %ebp,%ebx
  jle    L1
  sub    %ecx,%ebx
  mov    %r10,%rsi
  movaps %xmm5,%xmm10
  mov    %rax,%rbp
  lea    -0x1(%rbx),%edx
  movaps %xmm5,%xmm2
  lea    0x8(%r8),%rdi
  sub    %rdx,%rsi
  shl    $0x2,%rsi
  nop
L108:
  mov    %rbp,%rbx
  movaps %xmm3,%xmm0
  sub    $0x4,%rbp
  movss  -0x4(%r14,%rbx,1),%xmm1
  andps  %xmm4,%xmm0
  mulss  %xmm1,%xmm2
  mulss  %xmm10,%xmm1
  movaps %xmm2,%xmm6
  andps  %xmm4,%xmm6
  comiss %xmm0,%xmm6
  jb     L12
  divss  %xmm2,%xmm3
  movaps %xmm3,%xmm0
  mulss  %xmm3,%xmm0
  cvtss2sd %xmm0,%xmm0
  addsd  %xmm8,%xmm0
  ucomisd %xmm0,%xmm9
  ja     L137
  sqrtsd %xmm0,%xmm0
L184:
  cvtsd2ss %xmm0,%xmm0
  mulss  %xmm0,%xmm2
  movss  %xmm2,(%r14,%rbx,1)
  movaps %xmm5,%xmm2
  divss  %xmm0,%xmm2
  mulss  %xmm2,%xmm3
  movaps %xmm3,%xmm10
L239:
  movss  (%r12,%rbx,1),%xmm0
  movss  -0x4(%r12,%rbx,1),%xmm3
  pxor   %xmm6,%xmm6
  mov    %rdi,%rdx
  cvtss2sd %xmm10,%xmm6
  addsd  %xmm6,%xmm6
  subss  %xmm7,%xmm0
  pxor   %xmm7,%xmm7
  cvtss2sd %xmm1,%xmm7
  mulsd  %xmm7,%xmm6
  movaps %xmm2,%xmm7
  subss  %xmm0,%xmm3
  mulss  %xmm2,%xmm3
  cvtss2sd %xmm3,%xmm3
  addsd  %xmm6,%xmm3
  cvtsd2ss %xmm3,%xmm3
  mulss  %xmm3,%xmm7
  mulss  %xmm10,%xmm3
  addss  %xmm7,%xmm0
  subss  %xmm1,%xmm3
  movss  %xmm0,(%r12,%rbx,1)
  nopw   0x0(%rax,%rax,1)
L37:
  mov    (%rdx),%rax
  movaps %xmm10,%xmm6
  add    $0x8,%rdx
  lea    (%rax,%rbx,1),%r11
  add    %rbp,%rax
  movss  (%r11),%xmm0
  movss  (%rax),%xmm1
  mulss  %xmm0,%xmm6
  mulss  %xmm2,%xmm1
  mulss  %xmm2,%xmm0
  addss  %xmm6,%xmm1
  movss  %xmm1,(%r11)
  movss  (%rax),%xmm1
  mulss  %xmm10,%xmm1
  subss  %xmm0,%xmm1
  movss  %xmm1,(%rax)
  cmp    %r13,%rdx
  jne    L37
  cmp    %rbx,%rsi
  jne    L108
  movss  (%r12,%rcx,4),%xmm1
  subss  %xmm7,%xmm1
L1:
  movss  %xmm1,(%r12,%rcx,4)
  add    $0x1,%r9d
  movss  %xmm3,(%r14,%rcx,4)
  movl   $0x0,(%r14,%r10,4)
  jmp    L54
  cs nopw 0x0(%rax,%rax,1)
L12:
  divss  %xmm3,%xmm2
  movaps %xmm2,%xmm0
  mulss  %xmm2,%xmm0
  cvtss2sd %xmm0,%xmm0
  addsd  %xmm8,%xmm0
  ucomisd %xmm0,%xmm9
  ja     L180
  sqrtsd %xmm0,%xmm0
L163:
  movaps %xmm5,%xmm10
  cvtsd2ss %xmm0,%xmm0
  divss  %xmm0,%xmm10
  mulss  %xmm0,%xmm3
  movss  %xmm3,(%r14,%rbx,1)
  mulss  %xmm10,%xmm2
  jmp    L239
L242:
  lea    D115(%rip),%rdi
  xor    %eax,%eax
  mov    %r8,0x10(%rsp)
  mov    %r9d,0x30(%rsp)
  mov    %rcx,0x8(%rsp)
  call   <erhand@plt>
  mov    0x10(%rsp),%r8
  mov    0x30(%rsp),%r9d
  movss  D33(%rip),%xmm4
  mov    0x8(%rsp),%rcx
  movss  D68(%rip),%xmm5
  jmp    L128
L14:
  movl   $0x0,0x0(%rbp)
  jne    L61
  xor    %ebx,%ebx
  jmp    L204
  nopl   0x0(%rax)
L137:
  mov    %rdi,0x48(%rsp)
  mov    %r8,0x40(%rsp)
  mov    %rsi,0x38(%rsp)
  mov    %r9d,0x34(%rsp)
  mov    %rcx,0x28(%rsp)
  mov    %r10,0x20(%rsp)
  movss  %xmm7,0x18(%rsp)
  movss  %xmm3,0x10(%rsp)
  movss  %xmm1,0x30(%rsp)
  movss  %xmm2,0x8(%rsp)
  call   <sqrt@plt>
  mov    0x48(%rsp),%rdi
  mov    0x40(%rsp),%r8
  movss  D33(%rip),%xmm4
  mov    0x38(%rsp),%rsi
  mov    0x34(%rsp),%r9d
  pxor   %xmm9,%xmm9
  mov    D128(%rip),%rax
  mov    0x28(%rsp),%rcx
  mov    0x20(%rsp),%r10
  movss  D68(%rip),%xmm5
  movss  0x18(%rsp),%xmm7
  movss  0x10(%rsp),%xmm3
  movq   %rax,%xmm8
  movss  0x30(%rsp),%xmm1
  movss  0x8(%rsp),%xmm2
  jmp    L184
L180:
  mov    %rdi,0x48(%rsp)
  mov    %r8,0x40(%rsp)
  mov    %rsi,0x38(%rsp)
  mov    %r9d,0x34(%rsp)
  mov    %rcx,0x28(%rsp)
  mov    %r10,0x20(%rsp)
  movss  %xmm3,0x18(%rsp)
  movss  %xmm7,0x10(%rsp)
  movss  %xmm2,0x30(%rsp)
  movss  %xmm1,0x8(%rsp)
  call   <sqrt@plt>
  mov    0x48(%rsp),%rdi
  mov    0x40(%rsp),%r8
  movss  D33(%rip),%xmm4
  mov    0x38(%rsp),%rsi
  mov    0x34(%rsp),%r9d
  pxor   %xmm9,%xmm9
  mov    D128(%rip),%rax
  mov    0x28(%rsp),%rcx
  mov    0x20(%rsp),%r10
  movss  D68(%rip),%xmm5
  movss  0x18(%rsp),%xmm3
  movss  0x10(%rsp),%xmm7
  movq   %rax,%xmm8
  movss  0x30(%rsp),%xmm2
  movss  0x8(%rsp),%xmm1
  jmp    L163
L185:
  mov    %r8,0x28(%rsp)
  mov    %r9d,0x20(%rsp)
  mov    %rcx,0x18(%rsp)
  movss  %xmm1,0x10(%rsp)
  movss  %xmm2,0x30(%rsp)
  movsd  %xmm3,0x8(%rsp)
  call   <sqrt@plt>
  mov    0x28(%rsp),%r8
  mov    0x20(%rsp),%r9d
  movss  D33(%rip),%xmm4
  mov    0x18(%rsp),%rcx
  mov    D128(%rip),%rax
  pxor   %xmm9,%xmm9
  movss  D68(%rip),%xmm5
  movss  0x10(%rsp),%xmm1
  movss  0x30(%rsp),%xmm2
  movsd  0x8(%rsp),%xmm3
  movq   %rax,%xmm8
  jmp    L92
```

tool_calls: name: read_data
arguments: label: D68
type_guessed: f32
name: read_data
arguments: label: D33
type_guessed: dword
name: read_data
arguments: label: D128
type_guessed: f32[2]
name: read_data
arguments: label: D69
type_guessed: f32[4]
name: read_data
arguments: label: D115
type_guessed: string

tool: D68: 1

tool: D33: 2147483647

tool: {"D128": [0.0,1.875]}

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

tool: D115: No convergence in TLQI.

assistant: ```c
void tqli(d, e, n, z) float d[], e[], **z;
int n;
{
  int m, l, iter, i, k;
  float s, r, p, g, f, dd, c, b;
  void erhand();
  for (i = 2; i <= n; i++)
    e[i - 1] = e[i];
  e[n] = 0.0;
  for (l = 1; l <= n; l++) {
    iter = 0;
    do {
      for (m = l; m <= n - 1; m++) {
        dd = fabs(d[m]) + fabs(d[m + 1]);
        if (fabs(e[m]) + dd == dd)
          break;
      }
      if (m != l) {
        if (iter++ == 30)
          erhand("No convergence in TLQI.");
        g = (d[l + 1] - d[l]) / (2.0 * e[l]);
        r = sqrt((g * g) + 1.0);
        g = d[m] - d[l] + e[l] / (g + ((g) < 0 ? -fabs(r) : fabs(r)));
        s = c = 1.0;
        p = 0.0;
        for (i = m - 1; i >= l; i--) {
          f = s * e[i];
          b = c * e[i];
          if (fabs(f) >= fabs(g)) {
            c = g / f;
            r = sqrt((c * c) + 1.0);
            e[i + 1] = f * r;
            c *= (s = 1.0 / r);
          } else {
            s = f / g;
            r = sqrt((s * s) + 1.0);
            e[i + 1] = g * r;
            s *= (c = 1.0 / r);
          }
          g = d[i + 1] - p;
          r = (d[i] - g) * s + 2.0 * c * b;
          p = s * r;
          d[i + 1] = g + p;
          g = c * r - b;
          for (k = 1; k <= n; k++) {
            f = z[k][i + 1];
            z[k][i + 1] = s * z[k][i] + c * f;
            z[k][i] = c * z[k][i] - s * f;
          }
        }
        d[l] = d[l] - p;
        e[l] = g;
        e[m] = 0.0;
      }
    } while (m != l);
  }
}
```