user: 下面的汇编指令对应的C源代码是什么：

```asm
<svdval>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x48,%rsp
  mov    %rdi,0x28(%rsp)
  mov    %ecx,0x30(%rsp)
  cmp    %ecx,%edx
  jl     L326
  mov    %rsi,%r13
  mov    %edx,%ebx
  mov    %ecx,%r14d
  mov    $0x8,%esi
  mov    %edx,%edi
  call   <calloc@plt>
  mov    %rax,0x18(%rsp)
  mov    %r14d,%edi
  lea    -0x1(%r14),%eax
  mov    %eax,0x34(%rsp)
  test   %r14d,%r14d
  jle    L294
  movslq %r14d,%rax
  lea    0x0(,%rax,8),%r15
  lea    0x8(%r15),%rax
  mov    %rax,0x10(%rsp)
  lea    -0x1(%rbx),%r14d
  lea    -0x2(%rdi),%r12d
  mov    %ebx,%eax
  imul   %edi,%eax
  mov    %r13,%rbx
  mov    %r13,0x38(%rsp)
  mov    %eax,%r13d
  jmp    L194
L53:
  mov    %r14d,%eax
  mov    0x18(%rsp),%rdi
  lea    0x8(%rdi,%rax,8),%rbp
  mov    %rdi,%rax
  mov    %rbx,%rdx
  pxor   %xmm7,%xmm7
  movsd  %xmm7,0x8(%rsp)
L319:
  movsd  (%rdx),%xmm0
  movsd  %xmm0,(%rax)
  mulsd  %xmm0,%xmm0
  addsd  0x8(%rsp),%xmm0
  movsd  %xmm0,0x8(%rsp)
  add    %r15,%rdx
  add    $0x8,%rax
  cmp    %rbp,%rax
  jne    L319
  movapd %xmm0,%xmm7
  comisd D42(%rip),%xmm0
  jbe    L357
  pxor   %xmm0,%xmm0
  ucomisd %xmm7,%xmm0
  ja     L96
  movapd %xmm7,%xmm4
  sqrtsd %xmm4,%xmm4
L110:
  movsd  (%rbx),%xmm0
  pxor   %xmm1,%xmm1
  comisd %xmm0,%xmm1
  ja     L200
L170:
  mulsd  %xmm4,%xmm0
  addsd  0x8(%rsp),%xmm0
  movsd  D45(%rip),%xmm3
  divsd  %xmm0,%xmm3
  mov    0x18(%rsp),%r8
  movapd %xmm4,%xmm0
  addsd  (%r8),%xmm0
  movsd  %xmm0,(%r8)
  lea    0x2(%r12),%eax
  cmp    $0x1,%eax
  jle    L54
  lea    0x8(%rbx),%rsi
  mov    %r12d,%eax
  lea    0x10(%rbx,%rax,8),%rdi
L6:
  mov    %rsi,%rdx
  mov    %r8,%rax
  mov    %rsi,%rcx
  pxor   %xmm1,%xmm1
L57:
  movsd  (%rax),%xmm0
  mulsd  (%rcx),%xmm0
  addsd  %xmm0,%xmm1
  add    %r15,%rcx
  add    $0x8,%rax
  cmp    %rbp,%rax
  jne    L57
  mulsd  %xmm3,%xmm1
  mov    %r8,%rax
L157:
  movapd %xmm1,%xmm2
  mulsd  (%rax),%xmm2
  movsd  (%rdx),%xmm0
  subsd  %xmm2,%xmm0
  movsd  %xmm0,(%rdx)
  add    %r15,%rdx
  add    $0x8,%rax
  cmp    %rbp,%rax
  jne    L157
  add    $0x8,%rsi
  cmp    %rsi,%rdi
  jne    L6
L54:
  xorpd  D9(%rip),%xmm4
  movsd  %xmm4,(%rbx)
  jmp    L357
L96:
  movsd  0x8(%rsp),%xmm0
  call   <sqrt@plt>
  movapd %xmm0,%xmm4
  jmp    L110
L200:
  xorpd  D9(%rip),%xmm4
  jmp    L170
L225:
  movsd  0x8(%rsp),%xmm0
  call   <sqrt@plt>
  movapd %xmm0,%xmm4
  jmp    L275
L156:
  movapd %xmm0,%xmm1
  mulsd  %xmm4,%xmm1
  addsd  0x8(%rsp),%xmm1
  movsd  D45(%rip),%xmm3
  divsd  %xmm1,%xmm3
  addsd  %xmm4,%xmm0
  movsd  %xmm0,0x8(%rbx)
  mov    %r13d,%r8d
  mov    0x30(%rsp),%esi
  cmp    %r13d,%esi
  jge    L9
  mov    0x20(%rsp),%rax
  lea    0x8(%rax,%r15,1),%rdi
L355:
  mov    %rdi,%rdx
  mov    $0x0,%eax
  pxor   %xmm1,%xmm1
L130:
  movsd  0x8(%rbx,%rax,8),%xmm0
  mulsd  (%rdx,%rax,8),%xmm0
  addsd  %xmm0,%xmm1
  mov    %rax,%rcx
  add    $0x1,%rax
  cmp    %rbp,%rcx
  jne    L130
  mulsd  %xmm3,%xmm1
  mov    $0x0,%eax
L4:
  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    %rcx,%rbp
  jne    L4
  add    0x30(%rsp),%esi
  add    %r15,%rdi
  cmp    %r8d,%esi
  jl     L355
L9:
  xorpd  D9(%rip),%xmm4
  movsd  %xmm4,0x8(%rbx)
L253:
  add    0x10(%rsp),%rbx
  sub    $0x1,%r14d
  sub    $0x1,%r12d
  sub    0x30(%rsp),%r13d
  cmp    $0xfffffffe,%r12d
  je     L154
L194:
  lea    0x1(%r14),%eax
  cmp    $0x1,%eax
  jg     L53
L357:
  lea    0x1(%r12),%eax
  cmp    $0x1,%eax
  jle    L253
  mov    %rbx,0x20(%rsp)
  lea    0x8(%rbx),%rax
  mov    %r12d,%ebp
  lea    0x10(%rbx,%rbp,8),%rdx
  pxor   %xmm4,%xmm4
  movsd  %xmm4,0x8(%rsp)
L5:
  movsd  (%rax),%xmm0
  mulsd  %xmm0,%xmm0
  addsd  0x8(%rsp),%xmm0
  movsd  %xmm0,0x8(%rsp)
  add    $0x8,%rax
  cmp    %rax,%rdx
  jne    L5
  movapd %xmm0,%xmm7
  comisd D42(%rip),%xmm0
  jbe    L253
  pxor   %xmm0,%xmm0
  movapd %xmm7,%xmm4
  ucomisd %xmm7,%xmm0
  ja     L225
  sqrtsd %xmm4,%xmm4
L275:
  movsd  0x8(%rbx),%xmm0
  pxor   %xmm1,%xmm1
  comisd %xmm0,%xmm1
  jbe    L156
  xorpd  D9(%rip),%xmm4
  jmp    L156
L154:
  mov    0x38(%rsp),%r13
  lea    0x8(%r15),%rax
  mov    0x18(%rsp),%rdi
  mov    %rdi,%rdx
  mov    $0x0,%ebx
  mov    0x28(%rsp),%rsi
  sub    %rdi,%rsi
  mov    0x34(%rsp),%edi
  mov    0x30(%rsp),%r8d
  jmp    L339
L196:
  movq   $0x0,(%rdx)
L52:
  lea    0x1(%rbx),%ecx
  add    %rax,%r13
  add    $0x8,%rdx
  cmp    %ecx,%r8d
  je     L71
  mov    %ecx,%ebx
L339:
  movsd  0x0(%r13),%xmm0
  movsd  %xmm0,(%rsi,%rdx,1)
  cmp    %ebx,%edi
  je     L196
  movsd  0x8(%r13),%xmm0
  movsd  %xmm0,(%rdx)
  jmp    L52
L114:
  add    $0x8,%rax
  cmp    %rax,%rdx
  je     L178
L309:
  movsd  (%rax),%xmm0
  comisd %xmm0,%xmm1
  jbe    L114
  xorpd  %xmm2,%xmm0
  movsd  %xmm0,(%rax)
  jmp    L114
L326:
  mov    $0xffffffff,%eax
  jmp    L15
L71:
  mov    %ecx,%edx
  mov    0x18(%rsp),%rsi
  mov    0x28(%rsp),%r14
  mov    %r14,%rdi
  call   <qrbdi@plt>
  mov    %r14,%rax
  mov    %ebx,%ebx
  lea    0x8(%r14,%rbx,8),%rdx
  pxor   %xmm1,%xmm1
  movq   D9(%rip),%xmm2
  jmp    L309
L294:
  mov    0x30(%rsp),%edx
  mov    0x18(%rsp),%rsi
  mov    0x28(%rsp),%rdi
  call   <qrbdi@plt>
L178:
  mov    0x18(%rsp),%rdi
  call   <free@plt>
  mov    $0x0,%eax
L15:
  add    $0x48,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
```

tool_calls: name: unpack_data
arguments: label: D42
type_guessed: f64[2]
name: unpack_data
arguments: label: D45
type_guessed: f64
name: unpack_data
arguments: label: D9
type_guessed: byte[16]

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

tool: D45: 1

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

assistant: ```c
int svdval(double *d, double *a, int m, int n) {
  double *p, *p1, *q, *w, *v;
  double s, h, u;
  int i, j, k, mm, nm, ms;
  if (m < n)
    return -1;
  w = (double *)calloc(m, sizeof(double));
  for (i = 0, mm = m, nm = n - 1, p = a; i < n; ++i, --mm, --nm, p += n + 1) {
    if (mm > 1) {
      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;
        w[0] += h;
        for (k = 1, ms = n - i; k < ms; ++k) {
          for (j = 0, q = p + k, u = 0.; j < mm; q += n)
            u += w[j++] * *q;
          u *= s;
          for (j = 0, q = p + k; j < mm; q += n)
            *q -= u * w[j++];
        }
        *p = -h;
      }
    }
    p1 = p + 1;
    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;
        s += *p1 * h;
        s = 1. / s;
        *p1 += h;
        for (k = n, ms = n * (m - i); k < ms; k += n) {
          for (j = 0, q = p1, v = p1 + k, u = 0.; j < nm; ++j)
            u += *q++ * *v++;
          u *= s;
          for (j = 0, q = p1, v = p1 + k; j < nm; ++j)
            *v++ -= u * *q++;
        }
        *p1 = -h;
      }
    }
  }
  for (j = 0, p = a; j < n; ++j, p += n + 1) {
    d[j] = *p;
    if (j != n - 1)
      w[j] = *(p + 1);
    else
      w[j] = 0.;
  }
  qrbdi(d, w, n);
  for (i = 0; i < n; ++i)
    if (d[i] < 0.)
      d[i] = -d[i];
  free(w);
  return 0;
}
```