user: 请将这段汇编代码片段转换成等效的C代码:

```asm
<svduv>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0xa0,%rsp
  mov    %rdi,-0x78(%rbp)
  mov    %rsi,-0x80(%rbp)
  mov    %rdx,-0x88(%rbp)
  mov    %ecx,-0x8c(%rbp)
  mov    %r8,-0x98(%rbp)
  mov    %r9d,-0x90(%rbp)
  mov    -0x8c(%rbp),%eax
  cmp    -0x90(%rbp),%eax
  jge    L364
  mov    $0xffffffff,%eax
  jmp    L355
L364:
  mov    -0x8c(%rbp),%edx
  mov    -0x90(%rbp),%eax
  add    %edx,%eax
  mov    $0x8,%esi
  mov    %eax,%edi
  call   <calloc@plt>
  mov    %rax,-0x20(%rbp)
  mov    -0x8c(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x20(%rbp),%rax
  add    %rdx,%rax
  mov    %rax,-0x18(%rbp)
  movl   $0x0,-0x70(%rbp)
  mov    -0x8c(%rbp),%eax
  mov    %eax,-0x64(%rbp)
  mov    -0x90(%rbp),%eax
  sub    $0x1,%eax
  mov    %eax,-0x60(%rbp)
  mov    -0x80(%rbp),%rax
  mov    %rax,-0x58(%rbp)
  jmp    L1
L156:
  cmpl   $0x1,-0x64(%rbp)
  jle    L88
  pxor   %xmm0,%xmm0
  movsd  %xmm0,-0x38(%rbp)
  movsd  -0x38(%rbp),%xmm0
  movsd  %xmm0,-0x28(%rbp)
  movl   $0x0,-0x6c(%rbp)
  mov    -0x58(%rbp),%rax
  mov    %rax,-0x50(%rbp)
  pxor   %xmm0,%xmm0
  movsd  %xmm0,-0x40(%rbp)
  jmp    L367
L343:
  mov    -0x6c(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x20(%rbp),%rax
  add    %rax,%rdx
  mov    -0x50(%rbp),%rax
  movsd  (%rax),%xmm0
  movsd  %xmm0,(%rdx)
  mov    -0x50(%rbp),%rax
  movsd  (%rax),%xmm1
  mov    -0x50(%rbp),%rax
  movsd  (%rax),%xmm0
  mulsd  %xmm1,%xmm0
  movsd  -0x40(%rbp),%xmm1
  addsd  %xmm1,%xmm0
  movsd  %xmm0,-0x40(%rbp)
  addl   $0x1,-0x6c(%rbp)
  mov    -0x90(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rax,-0x50(%rbp)
L367:
  mov    -0x6c(%rbp),%eax
  cmp    -0x64(%rbp),%eax
  jl     L343
  movsd  -0x40(%rbp),%xmm0
  pxor   %xmm1,%xmm1
  comisd %xmm1,%xmm0
  jbe    L51
  mov    -0x40(%rbp),%rax
  movq   %rax,%xmm0
  call   <sqrt@plt>
  movq   %xmm0,%rax
  mov    %rax,-0x38(%rbp)
  mov    -0x58(%rbp),%rax
  movsd  (%rax),%xmm1
  pxor   %xmm0,%xmm0
  comisd %xmm1,%xmm0
  jbe    L154
  movsd  -0x38(%rbp),%xmm0
  movq   D83(%rip),%xmm1
  xorpd  %xmm1,%xmm0
  movsd  %xmm0,-0x38(%rbp)
L154:
  mov    -0x58(%rbp),%rax
  movsd  (%rax),%xmm0
  mulsd  -0x38(%rbp),%xmm0
  movsd  -0x40(%rbp),%xmm1
  addsd  %xmm1,%xmm0
  movsd  %xmm0,-0x40(%rbp)
  movsd  D30(%rip),%xmm0
  divsd  -0x40(%rbp),%xmm0
  movsd  %xmm0,-0x40(%rbp)
  mov    -0x20(%rbp),%rax
  movsd  (%rax),%xmm0
  addsd  -0x38(%rbp),%xmm0
  mov    -0x20(%rbp),%rax
  movsd  %xmm0,(%rax)
  mov    -0x20(%rbp),%rax
  movsd  (%rax),%xmm1
  movsd  D30(%rip),%xmm0
  divsd  %xmm1,%xmm0
  movsd  %xmm0,-0x10(%rbp)
  mov    -0x58(%rbp),%rax
  movsd  (%rax),%xmm0
  divsd  -0x38(%rbp),%xmm0
  movq   %xmm0,%rax
  movq   %rax,%xmm0
  call   <fabs@plt>
  pxor   %xmm1,%xmm1
  cvtsi2sd %eax,%xmm1
  movsd  D30(%rip),%xmm0
  addsd  %xmm1,%xmm0
  movsd  %xmm0,-0x28(%rbp)
  movl   $0x1,-0x68(%rbp)
  mov    -0x90(%rbp),%eax
  sub    -0x70(%rbp),%eax
  mov    %eax,-0x5c(%rbp)
  jmp    L145
L64:
  movl   $0x0,-0x6c(%rbp)
  mov    -0x68(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x58(%rbp),%rax
  add    %rdx,%rax
  mov    %rax,-0x50(%rbp)
  pxor   %xmm0,%xmm0
  movsd  %xmm0,-0x30(%rbp)
  jmp    L35
L67:
  mov    -0x6c(%rbp),%eax
  lea    0x1(%rax),%edx
  mov    %edx,-0x6c(%rbp)
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x20(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm1
  mov    -0x50(%rbp),%rax
  movsd  (%rax),%xmm0
  mulsd  %xmm1,%xmm0
  movsd  -0x30(%rbp),%xmm1
  addsd  %xmm1,%xmm0
  movsd  %xmm0,-0x30(%rbp)
  mov    -0x90(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rax,-0x50(%rbp)
L35:
  mov    -0x6c(%rbp),%eax
  cmp    -0x64(%rbp),%eax
  jl     L67
  movsd  -0x30(%rbp),%xmm0
  mulsd  -0x40(%rbp),%xmm0
  movsd  %xmm0,-0x30(%rbp)
  movl   $0x0,-0x6c(%rbp)
  mov    -0x68(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x58(%rbp),%rax
  add    %rdx,%rax
  mov    %rax,-0x50(%rbp)
  jmp    L299
L30:
  mov    -0x6c(%rbp),%eax
  lea    0x1(%rax),%edx
  mov    %edx,-0x6c(%rbp)
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x20(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  movapd %xmm0,%xmm1
  mulsd  -0x30(%rbp),%xmm1
  mov    -0x50(%rbp),%rax
  movsd  (%rax),%xmm0
  subsd  %xmm1,%xmm0
  mov    -0x50(%rbp),%rax
  movsd  %xmm0,(%rax)
  mov    -0x90(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rax,-0x50(%rbp)
L299:
  mov    -0x6c(%rbp),%eax
  cmp    -0x64(%rbp),%eax
  jl     L30
  addl   $0x1,-0x68(%rbp)
L145:
  mov    -0x68(%rbp),%eax
  cmp    -0x5c(%rbp),%eax
  jl     L64
  movl   $0x1,-0x6c(%rbp)
  mov    -0x58(%rbp),%rax
  mov    %rax,-0x50(%rbp)
  jmp    L225
L306:
  mov    -0x6c(%rbp),%eax
  lea    0x1(%rax),%edx
  mov    %edx,-0x6c(%rbp)
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x20(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mov    -0x90(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rax,-0x50(%rbp)
  mulsd  -0x10(%rbp),%xmm0
  mov    -0x50(%rbp),%rax
  movsd  %xmm0,(%rax)
L225:
  mov    -0x6c(%rbp),%eax
  cmp    -0x64(%rbp),%eax
  jl     L306
L51:
  mov    -0x58(%rbp),%rax
  movsd  -0x28(%rbp),%xmm0
  movsd  %xmm0,(%rax)
  mov    -0x70(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x78(%rbp),%rax
  add    %rdx,%rax
  movsd  -0x38(%rbp),%xmm0
  movq   D83(%rip),%xmm1
  xorpd  %xmm1,%xmm0
  movsd  %xmm0,(%rax)
L88:
  cmpl   $0x1,-0x64(%rbp)
  jne    L104
  mov    -0x70(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x78(%rbp),%rax
  add    %rax,%rdx
  mov    -0x58(%rbp),%rax
  movsd  (%rax),%xmm0
  movsd  %xmm0,(%rdx)
L104:
  mov    -0x58(%rbp),%rax
  add    $0x8,%rax
  mov    %rax,-0x8(%rbp)
  pxor   %xmm0,%xmm0
  movsd  %xmm0,-0x38(%rbp)
  movsd  -0x38(%rbp),%xmm0
  movsd  %xmm0,-0x28(%rbp)
  cmpl   $0x1,-0x60(%rbp)
  jle    L131
  movl   $0x0,-0x6c(%rbp)
  mov    -0x8(%rbp),%rax
  mov    %rax,-0x50(%rbp)
  pxor   %xmm0,%xmm0
  movsd  %xmm0,-0x40(%rbp)
  jmp    L141
L149:
  mov    -0x50(%rbp),%rax
  movsd  (%rax),%xmm1
  mov    -0x50(%rbp),%rax
  movsd  (%rax),%xmm0
  mulsd  %xmm1,%xmm0
  movsd  -0x40(%rbp),%xmm1
  addsd  %xmm1,%xmm0
  movsd  %xmm0,-0x40(%rbp)
  addl   $0x1,-0x6c(%rbp)
  addq   $0x8,-0x50(%rbp)
L141:
  mov    -0x6c(%rbp),%eax
  cmp    -0x60(%rbp),%eax
  jl     L149
  movsd  -0x40(%rbp),%xmm0
  pxor   %xmm1,%xmm1
  comisd %xmm1,%xmm0
  jbe    L362
  mov    -0x40(%rbp),%rax
  movq   %rax,%xmm0
  call   <sqrt@plt>
  movq   %xmm0,%rax
  mov    %rax,-0x38(%rbp)
  mov    -0x8(%rbp),%rax
  movsd  (%rax),%xmm1
  pxor   %xmm0,%xmm0
  comisd %xmm1,%xmm0
  jbe    L176
  movsd  -0x38(%rbp),%xmm0
  movq   D83(%rip),%xmm1
  xorpd  %xmm1,%xmm0
  movsd  %xmm0,-0x38(%rbp)
L176:
  mov    -0x8(%rbp),%rax
  movsd  (%rax),%xmm0
  divsd  -0x38(%rbp),%xmm0
  movq   %xmm0,%rax
  movq   %rax,%xmm0
  call   <fabs@plt>
  pxor   %xmm1,%xmm1
  cvtsi2sd %eax,%xmm1
  movsd  D30(%rip),%xmm0
  addsd  %xmm1,%xmm0
  movsd  %xmm0,-0x28(%rbp)
  mov    -0x8(%rbp),%rax
  movsd  (%rax),%xmm0
  mulsd  -0x38(%rbp),%xmm0
  movsd  -0x40(%rbp),%xmm1
  addsd  %xmm1,%xmm0
  movsd  %xmm0,-0x40(%rbp)
  movsd  D30(%rip),%xmm0
  divsd  -0x40(%rbp),%xmm0
  movsd  %xmm0,-0x40(%rbp)
  mov    -0x8(%rbp),%rax
  movsd  (%rax),%xmm0
  addsd  -0x38(%rbp),%xmm0
  mov    -0x8(%rbp),%rax
  movsd  %xmm0,(%rax)
  mov    -0x8(%rbp),%rax
  movsd  (%rax),%xmm1
  movsd  D30(%rip),%xmm0
  divsd  %xmm1,%xmm0
  movsd  %xmm0,-0x10(%rbp)
  mov    -0x90(%rbp),%eax
  mov    %eax,-0x68(%rbp)
  mov    -0x8c(%rbp),%eax
  sub    -0x70(%rbp),%eax
  mov    -0x90(%rbp),%edx
  imul   %edx,%eax
  mov    %eax,-0x5c(%rbp)
  jmp    L324
L331:
  movl   $0x0,-0x6c(%rbp)
  mov    -0x8(%rbp),%rax
  mov    %rax,-0x50(%rbp)
  mov    -0x68(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x8(%rbp),%rax
  add    %rdx,%rax
  mov    %rax,-0x48(%rbp)
  pxor   %xmm0,%xmm0
  movsd  %xmm0,-0x30(%rbp)
  jmp    L207
L189:
  mov    -0x50(%rbp),%rax
  lea    0x8(%rax),%rdx
  mov    %rdx,-0x50(%rbp)
  movsd  (%rax),%xmm1
  mov    -0x48(%rbp),%rax
  lea    0x8(%rax),%rdx
  mov    %rdx,-0x48(%rbp)
  movsd  (%rax),%xmm0
  mulsd  %xmm1,%xmm0
  movsd  -0x30(%rbp),%xmm1
  addsd  %xmm1,%xmm0
  movsd  %xmm0,-0x30(%rbp)
  addl   $0x1,-0x6c(%rbp)
L207:
  mov    -0x6c(%rbp),%eax
  cmp    -0x60(%rbp),%eax
  jl     L189
  movsd  -0x30(%rbp),%xmm0
  mulsd  -0x40(%rbp),%xmm0
  movsd  %xmm0,-0x30(%rbp)
  movl   $0x0,-0x6c(%rbp)
  mov    -0x8(%rbp),%rax
  mov    %rax,-0x50(%rbp)
  mov    -0x68(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x8(%rbp),%rax
  add    %rdx,%rax
  mov    %rax,-0x48(%rbp)
  jmp    L197
L244:
  mov    -0x50(%rbp),%rax
  lea    0x8(%rax),%rdx
  mov    %rdx,-0x50(%rbp)
  movsd  (%rax),%xmm0
  movapd %xmm0,%xmm1
  mulsd  -0x30(%rbp),%xmm1
  mov    -0x48(%rbp),%rax
  lea    0x8(%rax),%rdx
  mov    %rdx,-0x48(%rbp)
  movsd  (%rax),%xmm0
  subsd  %xmm1,%xmm0
  movsd  %xmm0,(%rax)
  addl   $0x1,-0x6c(%rbp)
L197:
  mov    -0x6c(%rbp),%eax
  cmp    -0x60(%rbp),%eax
  jl     L244
  mov    -0x90(%rbp),%eax
  add    %eax,-0x68(%rbp)
L324:
  mov    -0x68(%rbp),%eax
  cmp    -0x5c(%rbp),%eax
  jl     L331
  movl   $0x1,-0x6c(%rbp)
  mov    -0x8(%rbp),%rax
  add    $0x8,%rax
  mov    %rax,-0x50(%rbp)
  jmp    L110
L179:
  mov    -0x50(%rbp),%rax
  lea    0x8(%rax),%rdx
  mov    %rdx,-0x50(%rbp)
  movsd  (%rax),%xmm0
  mulsd  -0x10(%rbp),%xmm0
  movsd  %xmm0,(%rax)
  addl   $0x1,-0x6c(%rbp)
L110:
  mov    -0x6c(%rbp),%eax
  cmp    -0x60(%rbp),%eax
  jl     L179
L362:
  mov    -0x8(%rbp),%rax
  movsd  -0x28(%rbp),%xmm0
  movsd  %xmm0,(%rax)
  mov    -0x70(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x18(%rbp),%rax
  add    %rdx,%rax
  movsd  -0x38(%rbp),%xmm0
  movq   D83(%rip),%xmm1
  xorpd  %xmm1,%xmm0
  movsd  %xmm0,(%rax)
L131:
  cmpl   $0x1,-0x60(%rbp)
  jne    L12
  mov    -0x70(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x18(%rbp),%rax
  add    %rax,%rdx
  mov    -0x8(%rbp),%rax
  movsd  (%rax),%xmm0
  movsd  %xmm0,(%rdx)
L12:
  addl   $0x1,-0x70(%rbp)
  subl   $0x1,-0x64(%rbp)
  subl   $0x1,-0x60(%rbp)
  mov    -0x90(%rbp),%eax
  cltq
  add    $0x1,%rax
  shl    $0x3,%rax
  add    %rax,-0x58(%rbp)
L1:
  mov    -0x70(%rbp),%eax
  cmp    -0x90(%rbp),%eax
  jl     L156
  mov    -0x90(%rbp),%edx
  mov    -0x98(%rbp),%rcx
  mov    -0x80(%rbp),%rax
  mov    %rcx,%rsi
  mov    %rax,%rdi
  call   <ldvmat@plt>
  mov    -0x90(%rbp),%ecx
  mov    -0x8c(%rbp),%edx
  mov    -0x88(%rbp),%rsi
  mov    -0x80(%rbp),%rax
  mov    %rax,%rdi
  call   <ldumat@plt>
  mov    -0x90(%rbp),%r8d
  mov    -0x98(%rbp),%rdi
  mov    -0x8c(%rbp),%ecx
  mov    -0x88(%rbp),%rdx
  mov    -0x18(%rbp),%rsi
  mov    -0x78(%rbp),%rax
  mov    %r8d,%r9d
  mov    %rdi,%r8
  mov    %rax,%rdi
  call   <qrbdv@plt>
  movl   $0x0,-0x70(%rbp)
  jmp    L173
L344:
  mov    -0x70(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x78(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm1
  pxor   %xmm0,%xmm0
  comisd %xmm1,%xmm0
  jbe    L259
  mov    -0x70(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x78(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mov    -0x70(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x78(%rbp),%rax
  add    %rdx,%rax
  movq   D83(%rip),%xmm1
  xorpd  %xmm1,%xmm0
  movsd  %xmm0,(%rax)
  movl   $0x0,-0x6c(%rbp)
  mov    -0x70(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x98(%rbp),%rax
  add    %rdx,%rax
  mov    %rax,-0x58(%rbp)
  jmp    L205
L96:
  mov    -0x58(%rbp),%rax
  movsd  (%rax),%xmm0
  movq   D83(%rip),%xmm1
  xorpd  %xmm1,%xmm0
  mov    -0x58(%rbp),%rax
  movsd  %xmm0,(%rax)
  addl   $0x1,-0x6c(%rbp)
  mov    -0x90(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rax,-0x58(%rbp)
L205:
  mov    -0x6c(%rbp),%eax
  cmp    -0x90(%rbp),%eax
  jl     L96
L259:
  addl   $0x1,-0x70(%rbp)
L173:
  mov    -0x70(%rbp),%eax
  cmp    -0x90(%rbp),%eax
  jl     L344
  mov    -0x20(%rbp),%rax
  mov    %rax,%rdi
  call   <free@plt>
  mov    $0x0,%eax
L355:
  leave
  ret
```

tool_calls: name: unpack_data
arguments: label: D83
datatype: f32[2]
name: unpack_data
arguments: label: D30
datatype: f64

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

tool: D30: 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;
}
```