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

```asm
<svduv>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x88,%rsp
  mov    %rdi,0x50(%rsp)
  mov    %rsi,0x40(%rsp)
  mov    %rdx,0x58(%rsp)
  mov    %ecx,0x64(%rsp)
  mov    %r8,0x68(%rsp)
  mov    %r9d,0x14(%rsp)
  cmp    %r9d,%ecx
  jl     L131
  mov    %rdi,%rbp
  mov    %rsi,%rbx
  mov    %ecx,%r15d
  mov    %r9d,%r14d
  mov    %ecx,%eax
  add    %r9d,%eax
  mov    %eax,%edi
  mov    $0x8,%esi
  call   <calloc@plt>
  mov    %rax,%rdi
  mov    %rax,0x38(%rsp)
  mov    %r15d,%ecx
  movslq %r15d,%rax
  lea    (%rdi,%rax,8),%rdi
  mov    %rdi,0x48(%rsp)
  mov    %r14d,%edx
  test   %r14d,%r14d
  jle    L351
  movslq %r14d,%rax
  lea    0x0(,%rax,8),%r14
  lea    0x8(%r14),%rax
  mov    %rax,0x28(%rsp)
  lea    -0x1(%r15),%eax
  lea    -0x2(%rdx),%r15d
  mov    %rdi,0x18(%rsp)
  imul   %edx,%ecx
  mov    %ecx,0x60(%rsp)
  mov    %rbp,0x20(%rsp)
  mov    %rbp,0x70(%rsp)
  mov    %eax,%r12d
  jmp    L320
L63:
  mov    0x38(%rsp),%rsi
  lea    0x8(%rsi),%r13
  mov    %r12d,%eax
  lea    0x0(%r13,%rax,8),%rbp
  mov    %rsi,%rax
  mov    %rbx,%rdx
  pxor   %xmm5,%xmm5
  movsd  %xmm5,0x8(%rsp)
L32:
  movsd  (%rdx),%xmm0
  movsd  %xmm0,(%rax)
  mulsd  %xmm0,%xmm0
  addsd  0x8(%rsp),%xmm0
  movsd  %xmm0,0x8(%rsp)
  add    %r14,%rdx
  add    $0x8,%rax
  cmp    %rbp,%rax
  jne    L32
  movapd %xmm0,%xmm5
  comisd D111(%rip),%xmm0
  ja     L116
  pxor   %xmm3,%xmm3
  movsd  %xmm3,0x30(%rsp)
L220:
  movsd  %xmm3,(%rbx)
  movsd  0x30(%rsp),%xmm0
  xorpd  D91(%rip),%xmm0
  mov    0x20(%rsp),%rax
  movsd  %xmm0,(%rax)
  jmp    L149
L116:
  pxor   %xmm0,%xmm0
  ucomisd %xmm5,%xmm0
  ja     L372
  sqrtsd %xmm5,%xmm5
  movsd  %xmm5,0x30(%rsp)
L403:
  movsd  (%rbx),%xmm0
  pxor   %xmm1,%xmm1
  comisd %xmm0,%xmm1
  ja     L274
L73:
  movsd  0x30(%rsp),%xmm5
  mulsd  %xmm5,%xmm0
  addsd  0x8(%rsp),%xmm0
  movsd  D63(%rip),%xmm4
  divsd  %xmm0,%xmm4
  movsd  %xmm4,0x8(%rsp)
  mov    0x38(%rsp),%rax
  movapd %xmm5,%xmm0
  addsd  (%rax),%xmm0
  movsd  %xmm0,(%rax)
  movsd  D63(%rip),%xmm6
  divsd  %xmm0,%xmm6
  movsd  %xmm6,0x78(%rsp)
  movsd  (%rbx),%xmm0
  divsd  %xmm5,%xmm0
  call   <fabs@plt>
  pxor   %xmm3,%xmm3
  cvtsi2sd %eax,%xmm3
  addsd  D63(%rip),%xmm3
  lea    0x2(%r15),%eax
  cmp    $0x1,%eax
  jle    L282
  lea    0x8(%rbx),%rsi
  mov    %r15d,%eax
  lea    0x10(%rbx,%rax,8),%rdi
  mov    0x38(%rsp),%r8
L235:
  mov    %rsi,%rdx
  mov    %r8,%rax
  mov    %rsi,%rcx
  pxor   %xmm1,%xmm1
L90:
  movsd  (%rax),%xmm0
  mulsd  (%rcx),%xmm0
  addsd  %xmm0,%xmm1
  add    %r14,%rcx
  add    $0x8,%rax
  cmp    %rbp,%rax
  jne    L90
  mulsd  0x8(%rsp),%xmm1
  mov    %r8,%rax
L4:
  movapd %xmm1,%xmm2
  mulsd  (%rax),%xmm2
  movsd  (%rdx),%xmm0
  subsd  %xmm2,%xmm0
  movsd  %xmm0,(%rdx)
  add    %r14,%rdx
  add    $0x8,%rax
  cmp    %rbp,%rax
  jne    L4
  add    $0x8,%rsi
  cmp    %rdi,%rsi
  jne    L235
L282:
  lea    -0x1(%r12),%eax
  mov    0x38(%rsp),%rsi
  lea    0x10(%rsi,%rax,8),%rdx
  mov    %rbx,%rax
  movsd  0x78(%rsp),%xmm1
L383:
  add    %r14,%rax
  movapd %xmm1,%xmm0
  mulsd  0x0(%r13),%xmm0
  movsd  %xmm0,(%rax)
  add    $0x8,%r13
  cmp    %rdx,%r13
  jne    L383
  jmp    L220
L372:
  movsd  0x8(%rsp),%xmm0
  call   <sqrt@plt>
  movsd  %xmm0,0x30(%rsp)
  jmp    L403
L274:
  movsd  0x30(%rsp),%xmm5
  xorpd  D91(%rip),%xmm5
  movsd  %xmm5,0x30(%rsp)
  jmp    L73
L399:
  movsd  (%rbx),%xmm0
  mov    0x20(%rsp),%rax
  movsd  %xmm0,(%rax)
  jmp    L149
L58:
  mov    %rbx,%r13
  lea    0x8(%rbx),%rax
  mov    %r15d,%ebp
  lea    0x10(%rbx,%rbp,8),%rdx
  pxor   %xmm5,%xmm5
  movsd  %xmm5,0x8(%rsp)
L280:
  movsd  (%rax),%xmm0
  mulsd  %xmm0,%xmm0
  addsd  0x8(%rsp),%xmm0
  movsd  %xmm0,0x8(%rsp)
  add    $0x8,%rax
  cmp    %rax,%rdx
  jne    L280
  movapd %xmm0,%xmm5
  comisd D111(%rip),%xmm0
  ja     L272
  pxor   %xmm3,%xmm3
  movsd  %xmm3,0x30(%rsp)
L148:
  movsd  %xmm3,0x8(%rbx)
  movsd  0x30(%rsp),%xmm0
  xorpd  D91(%rip),%xmm0
  mov    0x18(%rsp),%rax
  movsd  %xmm0,(%rax)
L279:
  add    0x28(%rsp),%rbx
  sub    $0x1,%r12d
  sub    $0x1,%r15d
  addq   $0x8,0x18(%rsp)
  mov    0x14(%rsp),%edi
  sub    %edi,0x60(%rsp)
  addq   $0x8,0x20(%rsp)
  cmp    $0xfffffffe,%r15d
  je     L85
L320:
  lea    0x1(%r12),%eax
  cmp    $0x1,%eax
  jg     L63
  je     L399
L149:
  lea    0x1(%r15),%eax
  cmp    $0x1,%eax
  jg     L58
  jne    L279
  movsd  0x8(%rbx),%xmm0
  mov    0x18(%rsp),%rax
  movsd  %xmm0,(%rax)
  add    0x28(%rsp),%rbx
  sub    $0x1,%r12d
  sub    $0x1,%r15d
  add    $0x8,%rax
  mov    %rax,0x18(%rsp)
  mov    0x14(%rsp),%edi
  sub    %edi,0x60(%rsp)
  addq   $0x8,0x20(%rsp)
  jmp    L320
L272:
  pxor   %xmm0,%xmm0
  movapd %xmm5,%xmm7
  ucomisd %xmm5,%xmm0
  ja     L243
  sqrtsd %xmm7,%xmm7
  movsd  %xmm7,0x30(%rsp)
L356:
  movsd  0x8(%rbx),%xmm0
  pxor   %xmm1,%xmm1
  comisd %xmm0,%xmm1
  ja     L12
L388:
  divsd  0x30(%rsp),%xmm0
  call   <fabs@plt>
  pxor   %xmm3,%xmm3
  cvtsi2sd %eax,%xmm3
  movsd  D63(%rip),%xmm4
  addsd  %xmm4,%xmm3
  movsd  0x8(%rbx),%xmm0
  movsd  0x30(%rsp),%xmm6
  movapd %xmm6,%xmm1
  mulsd  %xmm0,%xmm1
  addsd  0x8(%rsp),%xmm1
  movapd %xmm4,%xmm5
  divsd  %xmm1,%xmm5
  addsd  %xmm6,%xmm0
  movsd  %xmm0,0x8(%rbx)
  divsd  %xmm0,%xmm4
  mov    0x60(%rsp),%eax
  mov    %eax,%r8d
  mov    0x14(%rsp),%esi
  cmp    %eax,%esi
  jge    L53
  lea    0x8(%r13,%r14,1),%rdi
L310:
  mov    %rdi,%rdx
  mov    $0x0,%eax
  pxor   %xmm1,%xmm1
L147:
  movsd  0x8(%rbx,%rax,8),%xmm0
  mulsd  (%rdx,%rax,8),%xmm0
  addsd  %xmm0,%xmm1
  mov    %rax,%rcx
  add    $0x1,%rax
  cmp    %rcx,%rbp
  jne    L147
  mulsd  %xmm5,%xmm1
  mov    $0x0,%eax
L16:
  movapd %xmm1,%xmm2
  mulsd  0x8(%rbx,%rax,8),%xmm2
  movsd  (%rdx,%rax,8),%xmm0
  subsd  %xmm2,%xmm0
  movsd  %xmm0,(%rdx,%rax,8)
  mov    %rax,%rcx
  add    $0x1,%rax
  cmp    %rbp,%rcx
  jne    L16
  add    0x14(%rsp),%esi
  add    %r14,%rdi
  cmp    %r8d,%esi
  jl     L310
L53:
  lea    0x10(%r13),%rax
  lea    -0x1(%r15),%edx
  lea    0x18(%rbx,%rdx,8),%rdx
L56:
  add    $0x8,%rax
  movapd %xmm4,%xmm0
  mulsd  -0x8(%rax),%xmm0
  movsd  %xmm0,-0x8(%rax)
  cmp    %rax,%rdx
  jne    L56
  jmp    L148
L243:
  movsd  0x8(%rsp),%xmm0
  call   <sqrt@plt>
  movsd  %xmm0,0x30(%rsp)
  jmp    L356
L12:
  movsd  0x30(%rsp),%xmm4
  xorpd  D91(%rip),%xmm4
  movsd  %xmm4,0x30(%rsp)
  jmp    L388
L85:
  mov    0x70(%rsp),%r12
  mov    %edi,%ebx
  mov    %edi,%edx
  mov    0x68(%rsp),%r15
  mov    %r15,%rsi
  mov    0x40(%rsp),%rdi
  call   <ldvmat@plt>
  mov    %ebx,%ecx
  mov    0x64(%rsp),%r13d
  mov    %r13d,%edx
  mov    0x58(%rsp),%rbp
  mov    %rbp,%rsi
  mov    0x40(%rsp),%rdi
  call   <ldumat@plt>
  mov    %ebx,%r9d
  mov    %r15,%r8
  mov    %r13d,%ecx
  mov    %rbp,%rdx
  mov    0x48(%rsp),%rsi
  mov    0x50(%rsp),%rbp
  mov    %rbp,%rdi
  call   <qrbdv@plt>
  mov    %r15,%rcx
  lea    -0x1(%rbx),%eax
  lea    0x8(%rbp,%rax,8),%rsi
  pxor   %xmm2,%xmm2
  movq   D91(%rip),%xmm1
  mov    %ebx,%edi
  jmp    L302
L156:
  add    $0x8,%r12
  add    $0x8,%rcx
  cmp    %rsi,%r12
  je     L314
L302:
  movsd  (%r12),%xmm0
  comisd %xmm0,%xmm2
  jbe    L156
  xorpd  D91(%rip),%xmm0
  movsd  %xmm0,(%r12)
  mov    %rcx,%rax
  mov    $0x0,%edx
L231:
  movsd  (%rax),%xmm0
  xorpd  %xmm1,%xmm0
  movsd  %xmm0,(%rax)
  add    $0x1,%edx
  add    %r14,%rax
  cmp    %edx,%edi
  jne    L231
  jmp    L156
L131:
  mov    $0xffffffff,%eax
  jmp    L199
L351:
  mov    0x14(%rsp),%ebx
  mov    %ebx,%edx
  mov    0x68(%rsp),%r13
  mov    %r13,%rsi
  mov    0x40(%rsp),%rbp
  mov    %rbp,%rdi
  call   <ldvmat@plt>
  mov    %ebx,%ecx
  mov    0x64(%rsp),%r14d
  mov    %r14d,%edx
  mov    0x58(%rsp),%r15
  mov    %r15,%rsi
  mov    %rbp,%rdi
  call   <ldumat@plt>
  mov    %ebx,%r9d
  mov    %r13,%r8
  mov    %r14d,%ecx
  mov    %r15,%rdx
  mov    0x48(%rsp),%rsi
  mov    0x50(%rsp),%rdi
  call   <qrbdv@plt>
L314:
  mov    0x38(%rsp),%rdi
  call   <free@plt>
  mov    $0x0,%eax
L199:
  add    $0x88,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
```

tool_calls: name: disassemble_data
arguments: tag: D111
type_guessed: f64[2]
name: disassemble_data
arguments: tag: D91
type_guessed: byte[16]
name: disassemble_data
arguments: tag: D63
type_guessed: f64

tool: {"D111": [0.0,1.0]}

tool: {"D91": [0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00]}

tool: D63: 1

assistant: ```c
int svduv(double *d, double *a, double *u, int m, double *v, int n) {
  double *p, *p1, *q, *pp, *w, *e;
  double s, h, r, t, sv;
  int i, j, k, mm, nm, ms;
  if (m < n)
    return -1;
  w = (double *)calloc(m + n, sizeof(double));
  e = w + m;
  for (i = 0, mm = m, nm = n - 1, p = a; i < n; ++i, --mm, --nm, p += n + 1) {
    if (mm > 1) {
      sv = h = 0.;
      for (j = 0, q = p, s = 0.; j < mm; ++j, q += n) {
        w[j] = *q;
        s += *q * *q;
      }
      if (s > 0.) {
        h = sqrt(s);
        if (*p < 0.)
          h = -h;
        s += *p * h;
        s = 1. / s;
        t = 1. / (w[0] += h);
        sv = 1. + fabs(*p / h);
        for (k = 1, ms = n - i; k < ms; ++k) {
          for (j = 0, q = p + k, r = 0.; j < mm; q += n)
            r += w[j++] * *q;
          r *= s;
          for (j = 0, q = p + k; j < mm; q += n)
            *q -= r * w[j++];
        }
        for (j = 1, q = p; j < mm;)
          *(q += n) = t * w[j++];
      }
      *p = sv;
      d[i] = -h;
    }
    if (mm == 1)
      d[i] = *p;
    p1 = p + 1;
    sv = h = 0.;
    if (nm > 1) {
      for (j = 0, q = p1, s = 0.; j < nm; ++j, ++q)
        s += *q * *q;
      if (s > 0.) {
        h = sqrt(s);
        if (*p1 < 0.)
          h = -h;
        sv = 1. + fabs(*p1 / h);
        s += *p1 * h;
        s = 1. / s;
        t = 1. / (*p1 += h);
        for (k = n, ms = n * (m - i); k < ms; k += n) {
          for (j = 0, q = p1, pp = p1 + k, r = 0.; j < nm; ++j)
            r += *q++ * *pp++;
          r *= s;
          for (j = 0, q = p1, pp = p1 + k; j < nm; ++j)
            *pp++ -= r * *q++;
        }
        for (j = 1, q = p1 + 1; j < nm; ++j)
          *q++ *= t;
      }
      *p1 = sv;
      e[i] = -h;
    }
    if (nm == 1)
      e[i] = *p1;
  }
  ldvmat(a, v, n);
  ldumat(a, u, m, n);
  qrbdv(d, e, u, m, v, n);
  for (i = 0; i < n; ++i) {
    if (d[i] < 0.) {
      d[i] = -d[i];
      for (j = 0, p = v + i; j < n; ++j, p += n)
        *p = -*p;
    }
  }
  free(w);
  return 0;
}
```