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

```asm
<shrink>:
  endbr64
  push   %r15
  pxor   %xmm2,%xmm2
  pxor   %xmm1,%xmm1
  mov    %rdi,%r15
  push   %r14
  cvtsi2sd %esi,%xmm2
  push   %r13
  cvtsi2sd %edx,%xmm1
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x58,%rsp
  mov    %edx,0x28(%rsp)
  mov    %esi,0x2c(%rsp)
  movsd  %xmm0,0x10(%rsp)
  movapd %xmm2,%xmm0
  mov    %fs:0x28,%rcx
  mov    %rcx,0x48(%rsp)
  xor    %ecx,%ecx
  movsd  %xmm1,0x18(%rsp)
  movsd  %xmm2,0x8(%rsp)
  movl   $0x0,0x40(%rsp)
  movb   $0x41,0x3e(%rsp)
  movb   $0x41,0x3f(%rsp)
  call   <fmin@plt>
  movsd  0x8(%rsp),%xmm2
  movsd  0x18(%rsp),%xmm1
  movq   %xmm0,%rbx
  movapd %xmm2,%xmm0
  call   <fmax@plt>
  movq   %rbx,%xmm1
  mulsd  D7(%rip),%xmm1
  addsd  %xmm0,%xmm1
  movsd  D11(%rip),%xmm0
  call   <fmax@plt>
  movq   %rbx,%xmm1
  mulsd  D1(%rip),%xmm1
  call   <fmax@plt>
  mov    $0x1,%edi
  xor    %eax,%eax
  cvttsd2si %xmm0,%esi
  mov    %esi,0x44(%rsp)
  call   <alloc_array@plt>
  mov    0x2c(%rsp),%edi
  movslq %eax,%rbx
  xor    %eax,%eax
  mov    %edi,%esi
  mov    %rbx,0x20(%rsp)
  call   <alloc_array@plt>
  mov    0x28(%rsp),%edi
  movslq %eax,%r13
  xor    %eax,%eax
  mov    %edi,%esi
  call   <alloc_array@plt>
  pxor   %xmm0,%xmm0
  pxor   %xmm1,%xmm1
  cvtsi2sdl 0x28(%rsp),%xmm1
  movslq %eax,%r12
  cvtsi2sdl 0x2c(%rsp),%xmm0
  call   <fmin@plt>
  mov    $0x2,%eax
  movapd %xmm0,%xmm1
  call   <alloc_array@plt>
  lea    0x2c(%rsp),%rdx
  lea    0x28(%rsp),%rcx
  mov    %r15,%r8
  movslq %eax,%rbp
  lea    0x40(%rsp),%rax
  lea    0x3f(%rsp),%rsi
  mov    %rdx,%r9
  lea    0x3e(%rsp),%rdi
  push   %rax
  lea    0x4c(%rsp),%rax
  push   %rax
  xor    %eax,%eax
  push   %rbx
  push   %rcx
  push   %r12
  push   %rdx
  push   %r13
  push   %rbp
  call   <dgesvd_@plt>
  mov    0x68(%rsp),%eax
  mov    0x6c(%rsp),%r15d
  pxor   %xmm0,%xmm0
  pxor   %xmm1,%xmm1
  cvtsi2sd %r15d,%xmm0
  mov    %eax,0x58(%rsp)
  add    $0x40,%rsp
  cvtsi2sd %eax,%xmm1
  call   <fmin@plt>
  pxor   %xmm6,%xmm6
  comisd %xmm6,%xmm0
  movsd  %xmm0,0x8(%rsp)
  jbe    L6
  mov    %rbp,%r14
  xor    %ebx,%ebx
  nopl   0x0(%rax,%rax,1)
L16:
  movsd  (%r14),%xmm1
  pxor   %xmm0,%xmm0
  add    $0x1,%ebx
  add    $0x8,%r14
  subsd  0x10(%rsp),%xmm1
  call   <fmax@plt>
  movsd  0x8(%rsp),%xmm4
  movsd  %xmm0,-0x8(%r14)
  pxor   %xmm0,%xmm0
  cvtsi2sd %ebx,%xmm0
  comisd %xmm0,%xmm4
  ja     L16
L6:
  mov    0x18(%rsp),%esi
  mov    %r15d,%edi
  xor    %eax,%eax
  call   <alloc_array_z@plt>
  mov    0x28(%rsp),%ebx
  mov    0x2c(%rsp),%r15d
  xor    %eax,%eax
  mov    %rbp,%rdi
  mov    %ebx,%esi
  mov    %r15d,%edx
  call   <diag@plt>
  mov    0x28(%rsp),%esi
  push   $0x6e
  mov    %ebx,%r9d
  push   %r15
  mov    %eax,%r8d
  mov    $0x6e,%ecx
  mov    %r12,%rdi
  mov    %esi,%edx
  xor    %eax,%eax
  call   <mm@plt>
  push   $0x6e
  mov    %ebx,%esi
  mov    %r15d,%r9d
  push   %r15
  mov    %r13,%r8
  mov    $0x6e,%ecx
  mov    %r15d,%edx
  mov    %eax,%edi
  xor    %eax,%eax
  call   <mm@plt>
  mov    0x40(%rsp),%rdi
  add    $0x20,%rsp
  mov    %eax,%ebx
  xor    %eax,%eax
  call   <free_array@plt>
  mov    %r13,%rdi
  xor    %eax,%eax
  call   <free_array@plt>
  mov    %r12,%rdi
  xor    %eax,%eax
  call   <free_array@plt>
  mov    %rbp,%rdi
  xor    %eax,%eax
  call   <free_array@plt>
  movslq %ebx,%rax
  mov    0x48(%rsp),%rdx
  sub    %fs:0x28,%rdx
  jne    L23
  add    $0x58,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L23:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: unpack_data
arguments: data_label: D7
type_infered: f32[2]
name: unpack_data
arguments: data_label: D11
type_infered: f32[2]
name: unpack_data
arguments: data_label: D1
type_infered: f32[2]

tool: {"D7": [0.0,2.125]}

tool: {"D11": [0.0,1.875]}

tool: {"D1": [0.0,2.3125]}

assistant: ```c
double *shrink(double *A, double tau, int nrows, int ncols) {
  int i;
  int info = 0;
  char JOBU = 'A';
  char JOBVT = 'A';
  int LWORK = fmax(fmax(1, 3 * fmin(nrows, ncols) + fmax(nrows, ncols)), 5 * fmin(nrows, ncols));
  double *WORK = alloc_array(1, LWORK);
  double *U = alloc_array(nrows, nrows);
  double *VT = alloc_array(ncols, ncols);
  double *S = alloc_array(fmin(nrows, ncols), fmin(nrows, ncols));
  dgesvd_(&JOBU, &JOBVT, &nrows, &ncols, A, &nrows, S, U, &nrows, VT, &ncols, WORK, &LWORK, &info);
  for (i = 0; i < fmin(nrows, ncols); i++) {
    S[i] = fmax(0.0, S[i] - tau);
  }
  double *C = alloc_array_z(nrows, ncols);
  C = mm(mm(VT, ncols, ncols, 'n', diag(S, ncols, nrows), ncols, nrows, 'n'), ncols, nrows, 'n', U, nrows, nrows, 'n');
  free_array(WORK);
  free_array(U);
  free_array(VT);
  free_array(S);
  return C;
}
```