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

```asm
<svdu1v>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x78,%rsp
  mov    %rdi,0x40(%rsp)
  mov    %rsi,0x48(%rsp)
  mov    %edx,0x54(%rsp)
  mov    %rcx,0x58(%rsp)
  mov    %r8d,0xc(%rsp)
  cmp    %r8d,%edx
  jl     L306
  mov    %rdi,%rbp
  mov    %rsi,%rbx
  mov    %edx,%r15d
  mov    %r8d,%r14d
  mov    %edx,%eax
  add    %r8d,%eax
  mov    %eax,%edi
  mov    $0x8,%esi
  call   <calloc@plt>
  mov    %rax,%rdi
  mov    %rax,0x30(%rsp)
  mov    %r15d,%ecx
  movslq %r15d,%rax
  lea    (%rdi,%rax,8),%rdi
  mov    %rdi,0x38(%rsp)
  mov    %r14d,%edx
  test   %r14d,%r14d
  jle    L266
  movslq %r14d,%rax
  lea    0x0(,%rax,8),%r14
  lea    0x8(%r14),%rax
  mov    %rax,0x20(%rsp)
  lea    -0x1(%r15),%eax
  lea    -0x2(%rdx),%r15d
  mov    %rdi,0x10(%rsp)
  imul   %edx,%ecx
  mov    %ecx,0x50(%rsp)
  mov    %rbp,0x18(%rsp)
  mov    %rbp,0x60(%rsp)
  mov    %eax,%r12d
  jmp    L232
L149:
  mov    0x30(%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,(%rsp)
L326:
  movsd  (%rdx),%xmm0
  movsd  %xmm0,(%rax)
  mulsd  %xmm0,%xmm0
  addsd  (%rsp),%xmm0
  movsd  %xmm0,(%rsp)
  add    %r14,%rdx
  add    $0x8,%rax
  cmp    %rbp,%rax
  jne    L326
  movapd %xmm0,%xmm5
  comisd D21(%rip),%xmm0
  ja     L126
  pxor   %xmm3,%xmm3
  movsd  %xmm3,0x28(%rsp)
L177:
  movsd  %xmm3,(%rbx)
  movsd  0x28(%rsp),%xmm0
  xorpd  D60(%rip),%xmm0
  mov    0x18(%rsp),%rax
  movsd  %xmm0,(%rax)
  jmp    L18
L126:
  pxor   %xmm0,%xmm0
  ucomisd %xmm5,%xmm0
  ja     L322
  sqrtsd %xmm5,%xmm5
  movsd  %xmm5,0x28(%rsp)
L239:
  movsd  (%rbx),%xmm0
  pxor   %xmm1,%xmm1
  comisd %xmm0,%xmm1
  ja     L59
L229:
  movsd  0x28(%rsp),%xmm5
  mulsd  %xmm5,%xmm0
  addsd  (%rsp),%xmm0
  movsd  D66(%rip),%xmm4
  divsd  %xmm0,%xmm4
  movsd  %xmm4,(%rsp)
  mov    0x30(%rsp),%rax
  movapd %xmm5,%xmm0
  addsd  (%rax),%xmm0
  movsd  %xmm0,(%rax)
  movsd  D66(%rip),%xmm6
  divsd  %xmm0,%xmm6
  movsd  %xmm6,0x68(%rsp)
  movsd  (%rbx),%xmm0
  divsd  %xmm5,%xmm0
  call   <fabs@plt>
  pxor   %xmm3,%xmm3
  cvtsi2sd %eax,%xmm3
  addsd  D66(%rip),%xmm3
  lea    0x2(%r15),%eax
  cmp    $0x1,%eax
  jle    L233
  lea    0x8(%rbx),%rsi
  mov    %r15d,%eax
  lea    0x10(%rbx,%rax,8),%rdi
  mov    0x30(%rsp),%r8
L147:
  mov    %rsi,%rdx
  mov    %r8,%rax
  mov    %rsi,%rcx
  pxor   %xmm1,%xmm1
L19:
  movsd  (%rax),%xmm0
  mulsd  (%rcx),%xmm0
  addsd  %xmm0,%xmm1
  add    %r14,%rcx
  add    $0x8,%rax
  cmp    %rbp,%rax
  jne    L19
  mulsd  (%rsp),%xmm1
  mov    %r8,%rax
L11:
  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    L11
  add    $0x8,%rsi
  cmp    %rdi,%rsi
  jne    L147
L233:
  lea    -0x1(%r12),%eax
  mov    0x30(%rsp),%rsi
  lea    0x10(%rsi,%rax,8),%rdx
  mov    %rbx,%rax
  movsd  0x68(%rsp),%xmm1
L28:
  add    %r14,%rax
  movapd %xmm1,%xmm0
  mulsd  0x0(%r13),%xmm0
  movsd  %xmm0,(%rax)
  add    $0x8,%r13
  cmp    %rdx,%r13
  jne    L28
  jmp    L177
L322:
  movsd  (%rsp),%xmm0
  call   <sqrt@plt>
  movsd  %xmm0,0x28(%rsp)
  jmp    L239
L59:
  movsd  0x28(%rsp),%xmm5
  xorpd  D60(%rip),%xmm5
  movsd  %xmm5,0x28(%rsp)
  jmp    L229
L179:
  movsd  (%rbx),%xmm0
  mov    0x18(%rsp),%rax
  movsd  %xmm0,(%rax)
  jmp    L18
L353:
  mov    %rbx,%r13
  lea    0x8(%rbx),%rax
  mov    %r15d,%ebp
  lea    0x10(%rbx,%rbp,8),%rdx
  pxor   %xmm5,%xmm5
  movsd  %xmm5,(%rsp)
L65:
  movsd  (%rax),%xmm0
  mulsd  %xmm0,%xmm0
  addsd  (%rsp),%xmm0
  movsd  %xmm0,(%rsp)
  add    $0x8,%rax
  cmp    %rax,%rdx
  jne    L65
  movapd %xmm0,%xmm5
  comisd D21(%rip),%xmm0
  ja     L80
  pxor   %xmm3,%xmm3
  movsd  %xmm3,0x28(%rsp)
L405:
  movsd  %xmm3,0x8(%rbx)
  movsd  0x28(%rsp),%xmm0
  xorpd  D60(%rip),%xmm0
  mov    0x10(%rsp),%rax
  movsd  %xmm0,(%rax)
L22:
  add    0x20(%rsp),%rbx
  sub    $0x1,%r12d
  sub    $0x1,%r15d
  addq   $0x8,0x10(%rsp)
  mov    0xc(%rsp),%edi
  sub    %edi,0x50(%rsp)
  addq   $0x8,0x18(%rsp)
  cmp    $0xfffffffe,%r15d
  je     L83
L232:
  lea    0x1(%r12),%eax
  cmp    $0x1,%eax
  jg     L149
  je     L179
L18:
  lea    0x1(%r15),%eax
  cmp    $0x1,%eax
  jg     L353
  jne    L22
  movsd  0x8(%rbx),%xmm0
  mov    0x10(%rsp),%rax
  movsd  %xmm0,(%rax)
  add    0x20(%rsp),%rbx
  sub    $0x1,%r12d
  sub    $0x1,%r15d
  add    $0x8,%rax
  mov    %rax,0x10(%rsp)
  mov    0xc(%rsp),%edi
  sub    %edi,0x50(%rsp)
  addq   $0x8,0x18(%rsp)
  jmp    L232
L80:
  pxor   %xmm0,%xmm0
  movapd %xmm5,%xmm7
  ucomisd %xmm5,%xmm0
  ja     L90
  sqrtsd %xmm7,%xmm7
  movsd  %xmm7,0x28(%rsp)
L221:
  movsd  0x8(%rbx),%xmm0
  pxor   %xmm1,%xmm1
  comisd %xmm0,%xmm1
  ja     L116
L211:
  divsd  0x28(%rsp),%xmm0
  call   <fabs@plt>
  pxor   %xmm3,%xmm3
  cvtsi2sd %eax,%xmm3
  movsd  D66(%rip),%xmm4
  addsd  %xmm4,%xmm3
  movsd  0x8(%rbx),%xmm0
  movsd  0x28(%rsp),%xmm6
  movapd %xmm6,%xmm1
  mulsd  %xmm0,%xmm1
  addsd  (%rsp),%xmm1
  movapd %xmm4,%xmm5
  divsd  %xmm1,%xmm5
  addsd  %xmm6,%xmm0
  movsd  %xmm0,0x8(%rbx)
  divsd  %xmm0,%xmm4
  mov    0x50(%rsp),%eax
  mov    %eax,%r8d
  mov    0xc(%rsp),%esi
  cmp    %eax,%esi
  jge    L150
  lea    0x8(%r13,%r14,1),%rdi
L245:
  mov    %rdi,%rdx
  mov    $0x0,%eax
  pxor   %xmm1,%xmm1
L214:
  movsd  0x8(%rbx,%rax,8),%xmm0
  mulsd  (%rdx,%rax,8),%xmm0
  addsd  %xmm0,%xmm1
  mov    %rax,%rcx
  add    $0x1,%rax
  cmp    %rcx,%rbp
  jne    L214
  mulsd  %xmm5,%xmm1
  mov    $0x0,%eax
L193:
  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    L193
  add    0xc(%rsp),%esi
  add    %r14,%rdi
  cmp    %r8d,%esi
  jl     L245
L150:
  lea    0x10(%r13),%rax
  lea    -0x1(%r15),%edx
  lea    0x18(%rbx,%rdx,8),%rdx
L139:
  add    $0x8,%rax
  movapd %xmm4,%xmm0
  mulsd  -0x8(%rax),%xmm0
  movsd  %xmm0,-0x8(%rax)
  cmp    %rax,%rdx
  jne    L139
  jmp    L405
L90:
  movsd  (%rsp),%xmm0
  call   <sqrt@plt>
  movsd  %xmm0,0x28(%rsp)
  jmp    L221
L116:
  movsd  0x28(%rsp),%xmm4
  xorpd  D60(%rip),%xmm4
  movsd  %xmm4,0x28(%rsp)
  jmp    L211
L83:
  mov    0x60(%rsp),%r12
  mov    %edi,%ebx
  mov    %edi,%edx
  mov    0x58(%rsp),%r15
  mov    %r15,%rsi
  mov    0x48(%rsp),%rbp
  mov    %rbp,%rdi
  call   <ldvmat@plt>
  mov    %ebx,%edx
  mov    0x54(%rsp),%r13d
  mov    %r13d,%esi
  mov    %rbp,%rdi
  call   <atou1@plt>
  mov    %ebx,%r9d
  mov    %r15,%r8
  mov    %r13d,%ecx
  mov    %rbp,%rdx
  mov    0x38(%rsp),%rsi
  mov    0x40(%rsp),%rbp
  mov    %rbp,%rdi
  call   <qrbdu1@plt>
  mov    %r15,%rcx
  lea    -0x1(%rbx),%eax
  lea    0x8(%rbp,%rax,8),%rsi
  pxor   %xmm2,%xmm2
  movq   D60(%rip),%xmm1
  mov    %ebx,%edi
  jmp    L197
L101:
  add    $0x8,%r12
  add    $0x8,%rcx
  cmp    %rsi,%r12
  je     L248
L197:
  movsd  (%r12),%xmm0
  comisd %xmm0,%xmm2
  jbe    L101
  xorpd  D60(%rip),%xmm0
  movsd  %xmm0,(%r12)
  mov    %rcx,%rax
  mov    $0x0,%edx
L324:
  movsd  (%rax),%xmm0
  xorpd  %xmm1,%xmm0
  movsd  %xmm0,(%rax)
  add    $0x1,%edx
  add    %r14,%rax
  cmp    %edx,%edi
  jne    L324
  jmp    L101
L306:
  mov    $0xffffffff,%eax
  jmp    L129
L266:
  mov    0xc(%rsp),%r15d
  mov    %r15d,%edx
  mov    0x58(%rsp),%rbp
  mov    %rbp,%rsi
  mov    0x48(%rsp),%rbx
  mov    %rbx,%rdi
  call   <ldvmat@plt>
  mov    %r15d,%edx
  mov    0x54(%rsp),%r14d
  mov    %r14d,%esi
  mov    %rbx,%rdi
  call   <atou1@plt>
  mov    %r15d,%r9d
  mov    %rbp,%r8
  mov    %r14d,%ecx
  mov    %rbx,%rdx
  mov    0x38(%rsp),%rsi
  mov    0x40(%rsp),%rdi
  call   <qrbdu1@plt>
L248:
  mov    0x30(%rsp),%rdi
  call   <free@plt>
  mov    $0x0,%eax
L129:
  add    $0x78,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
```

tool_calls: name: parse_data
arguments: label: D21
type: f64[2]
name: parse_data
arguments: label: D60
type: byte[16]
name: parse_data
arguments: label: D66
type: f64

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

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

tool: D66: 1

assistant: ```c
int svdu1v(double *d, double *a, 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);
  atou1(a, m, n);
  qrbdu1(d, e, a, 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;
}
```