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

```asm
<four1>:
  endbr64
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x20,%rsp
  mov    %rdi,%r13
  mov    %edx,%r8d
  lea    (%rsi,%rsi,1),%ebx
  mov    $0x3,%ecx
  mov    $0x1,%edx
  cmp    $0x1,%ebx
  jg     L166
L86:
  cmp    $0x2,%ebx
  jle    L140
  mov    $0x2,%ebp
  pxor   %xmm5,%xmm5
  cvtsi2sd %r8d,%xmm5
  movsd  %xmm5,0x18(%rsp)
  mov    D21(%rip),%r14
  jmp    L30
L132:
  mov    %esi,%eax
L159:
  add    %eax,%edx
  cmp    %ecx,%ebx
  jle    L86
  cmp    %ecx,%edx
  jle    L65
  movslq %edx,%rax
  shl    $0x3,%rax
  lea    -0x8(%r13,%rax,1),%rdi
  movsd  (%rdi),%xmm0
  movsd  -0x8(%r13,%rcx,8),%xmm1
  movsd  %xmm1,(%rdi)
  movsd  %xmm0,-0x8(%r13,%rcx,8)
  add    %r13,%rax
  movsd  (%rax),%xmm0
  movsd  0x0(%r13,%rcx,8),%xmm1
  movsd  %xmm1,(%rax)
  movsd  %xmm0,0x0(%r13,%rcx,8)
L65:
  add    $0x2,%rcx
L166:
  cmp    $0x1,%esi
  jle    L132
  cmp    %edx,%esi
  jge    L132
  mov    %esi,%eax
L3:
  sub    %eax,%edx
  sar    %eax
  cmp    $0x1,%eax
  jle    L159
  cmp    %eax,%edx
  jg     L3
  jmp    L159
L12:
  movsd  (%rdx),%xmm2
  movsd  0x8(%rdx),%xmm0
  movapd %xmm2,%xmm1
  mulsd  %xmm3,%xmm1
  movapd %xmm0,%xmm6
  mulsd  %xmm4,%xmm6
  subsd  %xmm6,%xmm1
  mulsd  %xmm3,%xmm0
  mulsd  %xmm4,%xmm2
  addsd  %xmm2,%xmm0
  movsd  -0x8(%rax),%xmm2
  subsd  %xmm1,%xmm2
  movsd  %xmm2,(%rdx)
  movsd  (%rax),%xmm2
  subsd  %xmm0,%xmm2
  movsd  %xmm2,0x8(%rdx)
  addsd  -0x8(%rax),%xmm1
  movsd  %xmm1,-0x8(%rax)
  addsd  (%rax),%xmm0
  movsd  %xmm0,(%rax)
  add    %ebp,%ecx
  add    %rsi,%rax
  add    %rsi,%rdx
  cmp    %ecx,%ebx
  jge    L12
L57:
  movsd  0x8(%rsp),%xmm7
  movapd %xmm7,%xmm0
  mulsd  %xmm3,%xmm0
  movapd %xmm5,%xmm1
  mulsd  %xmm4,%xmm1
  subsd  %xmm1,%xmm0
  addsd  %xmm3,%xmm0
  mulsd  %xmm4,%xmm7
  mulsd  %xmm5,%xmm3
  addsd  %xmm7,%xmm3
  addsd  %xmm3,%xmm4
  add    $0x2,%edi
  add    $0x10,%r8
  cmp    %r12d,%edi
  jge    L38
  movapd %xmm0,%xmm3
L32:
  lea    (%r9,%r8,1),%rdx
  mov    %r8,%rax
  mov    %edi,%ecx
  cmp    %edi,%ebx
  jge    L12
  jmp    L57
L38:
  cmp    %ebp,%ebx
  jle    L140
L30:
  mov    %ebp,%r12d
  add    %ebp,%ebp
  pxor   %xmm1,%xmm1
  cvtsi2sd %r12d,%xmm1
  movsd  D4(%rip),%xmm0
  divsd  %xmm1,%xmm0
  mulsd  0x18(%rsp),%xmm0
  movsd  D25(%rip),%xmm7
  movsd  %xmm0,0x10(%rsp)
  mulsd  %xmm0,%xmm7
  movapd %xmm7,%xmm0
  call   <sin@plt>
  movsd  D38(%rip),%xmm1
  mulsd  %xmm0,%xmm1
  mulsd  %xmm0,%xmm1
  movsd  %xmm1,0x8(%rsp)
  movsd  0x10(%rsp),%xmm0
  call   <sin@plt>
  movapd %xmm0,%xmm5
  cmp    $0x1,%r12d
  jle    L38
  lea    0x8(%r13),%r8
  movslq %ebp,%rsi
  shl    $0x3,%rsi
  movslq %r12d,%rax
  pxor   %xmm4,%xmm4
  movq   %r14,%xmm3
  mov    $0x1,%edi
  lea    -0x8(,%rax,8),%r9
  jmp    L32
L140:
  add    $0x20,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  ret
```

tool_calls: name: unpack_data
arguments: data_tag: D21
datatype: f64
name: unpack_data
arguments: data_tag: D4
datatype: f64
name: unpack_data
arguments: data_tag: D25
datatype: f64
name: unpack_data
arguments: data_tag: D38
datatype: f32[2]

tool: D21: 1

tool: D4: 6.28318530717959

tool: D25: 0.5

tool: {"D38": [0.0,-2.0]}

assistant: ```c
void four1(double *data, int nn, int isign) {
  int n, mmax, m, j, istep, i;
  double wtemp, wr, wpr, wpi, wi, theta;
  double tempr, tempi;
  n = nn << 1;
  j = 1;
  for (i = 1; i < n; i += 2) {
    if (j > i) {
      tempr = (data[j - 1]);
      (data[j - 1]) = (data[i - 1]);
      (data[i - 1]) = tempr;
      tempr = (data[j]);
      (data[j]) = (data[i]);
      (data[i]) = tempr;
    }
    m = nn;
    while (m >= 2 && j > m) {
      j -= m;
      m >>= 1;
    }
    j += m;
  }
  mmax = 2;
  while (n > mmax) {
    istep = mmax << 1;
    theta = isign * (6.28318530717959 / mmax);
    wtemp = sin(0.5 * theta);
    wpr = -2.0 * wtemp * wtemp;
    wpi = sin(theta);
    wr = 1.0;
    wi = 0.0;
    for (m = 1; m < mmax; m += 2) {
      for (i = m; i <= n; i += istep) {
        j = i + mmax;
        tempr = wr * data[j - 1] - wi * data[j];
        tempi = wr * data[j] + wi * data[j - 1];
        data[j - 1] = data[i - 1] - tempr;
        data[j] = data[i] - tempi;
        data[i - 1] += tempr;
        data[i] += tempi;
      }
      wr = (wtemp = wr) * wpr - wi * wpi + wr;
      wi = wi * wpr + wtemp * wpi + wi;
    }
    mmax = istep;
  }
}
```