user: 这段汇编代码用C语言表示是什么样的?

```asm
<svd_lsq>:
  endbr64
  push   %r15
  mov    %esi,%r15d
  add    %edx,%esi
  push   %r14
  push   %r13
  mov    %edx,%r13d
  mov    $0x8,%edx
  push   %r12
  mov    %rdi,%r12
  mov    %r15d,%edi
  mov    %r13d,%r14d
  push   %rbp
  mov    %rcx,%rbp
  push   %rbx
  sub    $0x38,%rsp
  mov    0x70(%rsp),%rbx
  mov    %r8,0x10(%rsp)
  mov    %r9,0x18(%rsp)
  mov    %rbx,0x20(%rsp)
  call   <alloc2d@plt>
  cmp    %r13d,%r15d
  mov    0x18(%rsp),%rcx
  mov    %rax,%rbx
  mov    %rax,0x8(%rsp)
  cmovle %r15d,%r14d
  movslq %r15d,%rax
  cmpq   $0x0,0x10(%rsp)
  lea    (%rbx,%rax,8),%rbx
  je     L40
  test   %r13d,%r13d
  jle    L40
  lea    -0x1(%r15),%eax
  mov    0x10(%rsp),%rdx
  movslq %r13d,%r8
  xor    %edi,%edi
  mov    %rax,%r9
  lea    0x8(,%rax,8),%r10
L33:
  movsd  0x0(%rbp,%rdi,8),%xmm0
  divsd  (%rdx),%xmm0
  movsd  %xmm0,0x0(%rbp,%rdi,8)
  test   %r15d,%r15d
  jle    L235
  mov    (%r12,%rdi,8),%rax
  lea    (%r10,%rax,1),%rsi
  nopw   0x0(%rax,%rax,1)
L130:
  movsd  (%rax),%xmm0
  add    $0x8,%rax
  divsd  (%rdx),%xmm0
  movsd  %xmm0,-0x8(%rax)
  cmp    %rax,%rsi
  jne    L130
L235:
  add    $0x1,%rdi
  add    $0x8,%rdx
  cmp    %r8,%rdi
  jne    L33
  mov    0x8(%rsp),%r8
  mov    %r13d,%edx
  mov    %r15d,%esi
  mov    %r12,%rdi
  mov    %r9d,0x28(%rsp)
  mov    %rcx,0x18(%rsp)
  call   <svd@plt>
  test   %r15d,%r15d
  mov    0x18(%rsp),%rcx
  mov    0x28(%rsp),%r9d
  jle    L70
L166:
  lea    0x0(,%r9,8),%rax
  mov    0x8(%rsp),%rsi
  lea    -0x1(%r14),%r8d
  pxor   %xmm2,%xmm2
  mov    %rax,0x18(%rsp)
  lea    0x8(,%r8,8),%rdi
  mov    %rsi,%r10
  lea    0x8(%rsi,%rax,1),%r9
  nopl   (%rax)
L35:
  test   %r14d,%r14d
  jle    L39
  mov    (%r10),%rsi
  xor    %eax,%eax
  nopw   0x0(%rax,%rax,1)
L26:
  movsd  (%rcx,%rax,1),%xmm1
  lea    (%rsi,%rax,1),%rdx
  ucomisd %xmm2,%xmm1
  jp     L93
  movapd %xmm2,%xmm0
  je     L126
L93:
  movsd  (%rdx),%xmm0
  divsd  %xmm1,%xmm0
L126:
  add    $0x8,%rax
  movsd  %xmm0,(%rdx)
  cmp    %rax,%rdi
  jne    L26
L39:
  add    $0x8,%r10
  cmp    %r10,%r9
  jne    L35
  mov    %rbp,0x28(%rsp)
  mov    %r15d,%r15d
  mov    0x8(%rsp),%rbp
  xor    %r10d,%r10d
  shl    $0x3,%r15
  movslq %r13d,%r11
  nopw   0x0(%rax,%rax,1)
L157:
  mov    0x0(%rbp,%r10,1),%rdi
  xor    %r9d,%r9d
  test   %r13d,%r13d
  jle    L152
  nopl   (%rax)
L64:
  mov    (%rbx,%r9,8),%rcx
  mov    (%r12,%r9,8),%rsi
  add    %r10,%rcx
  test   %r14d,%r14d
  jle    L203
  movsd  (%rcx),%xmm1
  xor    %eax,%eax
  cs nopw 0x0(%rax,%rax,1)
L171:
  movsd  (%rdi,%rax,8),%xmm0
  mulsd  (%rsi,%rax,8),%xmm0
  mov    %rax,%rdx
  add    $0x1,%rax
  addsd  %xmm0,%xmm1
  movsd  %xmm1,(%rcx)
  cmp    %rdx,%r8
  jne    L171
L203:
  add    $0x1,%r9
  cmp    %r9,%r11
  jne    L64
L152:
  add    $0x8,%r10
  cmp    %r10,%r15
  jne    L157
  mov    0x20(%rsp),%rcx
  mov    0x18(%rsp),%rax
  xor    %esi,%esi
  movslq %r13d,%rdi
  mov    0x28(%rsp),%rbp
  lea    0x8(%rax,%rcx,1),%r8
  nopl   0x0(%rax)
L97:
  movq   $0x0,(%rcx)
  xor    %eax,%eax
  movapd %xmm2,%xmm1
  test   %r13d,%r13d
  jle    L117
  nopw   0x0(%rax,%rax,1)
L71:
  mov    (%rbx,%rax,8),%rdx
  movsd  (%rdx,%rsi,1),%xmm0
  mulsd  0x0(%rbp,%rax,8),%xmm0
  add    $0x1,%rax
  addsd  %xmm0,%xmm1
  movsd  %xmm1,(%rcx)
  cmp    %rdi,%rax
  jne    L71
L117:
  add    $0x8,%rcx
  add    $0x8,%rsi
  cmp    %rcx,%r8
  jne    L97
  cmpq   $0x0,0x10(%rsp)
  je     L53
  test   %r13d,%r13d
  jle    L53
L70:
  mov    0x10(%rsp),%rdx
  mov    %r13d,%r13d
  xor    %eax,%eax
L116:
  movsd  0x0(%rbp,%rax,8),%xmm0
  mulsd  (%rdx,%rax,8),%xmm0
  movsd  %xmm0,0x0(%rbp,%rax,8)
  add    $0x1,%rax
  cmp    %rax,%r13
  jne    L116
L53:
  mov    0x8(%rsp),%rdi
  add    $0x38,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  jmp    1070 <free2d@plt>
L40:
  mov    0x8(%rsp),%r8
  mov    %r13d,%edx
  mov    %r15d,%esi
  mov    %r12,%rdi
  mov    %rcx,0x18(%rsp)
  call   <svd@plt>
  test   %r15d,%r15d
  mov    0x18(%rsp),%rcx
  lea    -0x1(%r15),%r9d
  jg     L166
  jmp    L53
```

assistant: ```c
void svd_lsq(double **A, int ni, int nj, double *z, double *std, double *w, double *sol) {
  double **V = alloc2d(ni, ni + nj, sizeof(double));
  double **B = &V[ni];
  int nijmin = (ni < nj) ? ni : nj;
  int i, j, ii;
  if (std != NULL)
    for (j = 0; j < nj; ++j) {
      z[j] /= std[j];
      for (i = 0; i < ni; ++i)
        A[j][i] /= std[j];
    }
  svd(A, ni, nj, w, V);
  for (j = 0; j < ni; ++j)
    for (i = 0; i < nijmin; ++i)
      if (w[i] != 0.0)
        V[j][i] /= w[i];
      else
        V[j][i] = 0.0;
  for (i = 0; i < ni; ++i) {
    double *v = V[i];
    for (j = 0; j < nj; ++j) {
      double *a = A[j];
      double *b = &B[j][i];
      for (ii = 0; ii < nijmin; ++ii)
        *b += v[ii] * a[ii];
    }
  }
  for (i = 0; i < ni; ++i) {
    sol[i] = 0.0;
    for (j = 0; j < nj; ++j)
      sol[i] += B[j][i] * z[j];
  }
  if (std != NULL)
    for (j = 0; j < nj; ++j)
      z[j] *= std[j];
  free2d(V);
}
```