user: 请显示与下面列出的汇编代码相匹配的C语言实现：

```asm
<cft1st>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x28,%rsp
  movsd  0x10(%rsi),%xmm5
  movsd  (%rsi),%xmm2
  movsd  0x8(%rsi),%xmm0
  movsd  0x18(%rsi),%xmm1
  movapd %xmm2,%xmm4
  subsd  %xmm5,%xmm2
  movsd  0x30(%rsi),%xmm8
  movsd  0x38(%rsi),%xmm7
  movapd %xmm0,%xmm3
  subsd  %xmm1,%xmm0
  addsd  %xmm5,%xmm4
  addsd  %xmm1,%xmm3
  movsd  0x20(%rsi),%xmm1
  movapd %xmm2,%xmm9
  movsd  0x28(%rsi),%xmm2
  movapd %xmm1,%xmm6
  subsd  %xmm8,%xmm1
  addsd  %xmm8,%xmm6
  movapd %xmm2,%xmm5
  subsd  %xmm7,%xmm2
  movsd  0x78(%rsi),%xmm8
  addsd  %xmm7,%xmm5
  movapd %xmm4,%xmm7
  addsd  %xmm6,%xmm7
  subsd  %xmm6,%xmm4
  movsd  %xmm7,(%rsi)
  movapd %xmm3,%xmm7
  subsd  %xmm5,%xmm3
  addsd  %xmm5,%xmm7
  movsd  %xmm4,0x20(%rsi)
  movsd  0x48(%rsi),%xmm4
  movsd  0x68(%rsi),%xmm5
  movsd  %xmm3,0x28(%rsi)
  movapd %xmm9,%xmm3
  subsd  %xmm2,%xmm3
  addsd  %xmm9,%xmm2
  movsd  %xmm7,0x8(%rsi)
  movapd %xmm4,%xmm7
  movsd  0x70(%rsi),%xmm9
  movsd  %xmm3,0x10(%rsi)
  movapd %xmm0,%xmm3
  subsd  %xmm1,%xmm0
  addsd  %xmm1,%xmm3
  movsd  0x58(%rsi),%xmm1
  movsd  %xmm2,0x30(%rsi)
  movsd  %xmm0,0x38(%rsi)
  movsd  0x40(%rsi),%xmm0
  addsd  %xmm1,%xmm7
  subsd  %xmm1,%xmm4
  movsd  %xmm3,0x18(%rsi)
  movsd  0x60(%rsi),%xmm1
  movsd  0x50(%rsi),%xmm3
  movapd %xmm0,%xmm2
  addsd  %xmm3,%xmm2
  movapd %xmm1,%xmm6
  subsd  %xmm3,%xmm0
  addsd  %xmm9,%xmm6
  movapd %xmm5,%xmm3
  subsd  %xmm8,%xmm5
  addsd  %xmm8,%xmm3
  subsd  %xmm9,%xmm1
  movapd %xmm2,%xmm8
  addsd  %xmm6,%xmm8
  subsd  %xmm6,%xmm2
  movapd %xmm4,%xmm6
  addsd  %xmm1,%xmm6
  subsd  %xmm4,%xmm1
  movsd  %xmm8,0x40(%rsi)
  movapd %xmm7,%xmm8
  addsd  %xmm3,%xmm8
  subsd  %xmm7,%xmm3
  movsd  %xmm8,0x48(%rsi)
  movsd  %xmm3,0x60(%rsi)
  movapd %xmm0,%xmm3
  addsd  %xmm5,%xmm0
  subsd  %xmm5,%xmm3
  movsd  %xmm2,0x68(%rsi)
  movapd %xmm3,%xmm2
  addsd  %xmm6,%xmm3
  subsd  %xmm6,%xmm2
  unpcklpd %xmm3,%xmm2
  mulpd  D38(%rip),%xmm2
  movups %xmm2,0x50(%rsi)
  movapd %xmm1,%xmm2
  subsd  %xmm0,%xmm2
  addsd  %xmm1,%xmm0
  mulsd  D38(%rip),%xmm0
  movsd  D1(%rip),%xmm1
  mulsd  D38(%rip),%xmm2
  movsd  %xmm0,0x78(%rsi)
  pxor   %xmm0,%xmm0
  cvtsi2sd %edi,%xmm0
  movsd  %xmm2,0x70(%rsi)
  divsd  %xmm0,%xmm1
  movsd  %xmm1,0x8(%rsp)
  cmp    $0x10,%edi
  jle    L13
  lea    -0x11(%rdi),%r12d
  mov    %edi,%r15d
  lea    0x18(%rsp),%r14
  mov    %rsi,%rbx
  mov    %r12d,%eax
  sar    $0x2,%r15d
  lea    0x10(%rsp),%r13
  shr    $0x4,%eax
  mov    %r15d,%ebp
  mov    %eax,%r12d
  shl    $0x7,%r12
  add    %rsi,%r12
  nopw   0x0(%rax,%rax,1)
L29:
  pxor   %xmm0,%xmm0
  mov    %r13,%rsi
  mov    %r14,%rdi
  cvtsi2sd %ebp,%xmm0
  mulsd  0x8(%rsp),%xmm0
  call   <sincos@plt>
  movsd  0x18(%rsp),%xmm0
  movsd  0x10(%rsp),%xmm2
  movsd  D35(%rip),%xmm1
  movsd  0x88(%rbx),%xmm7
  movapd %xmm0,%xmm3
  movapd %xmm2,%xmm11
  movsd  0x98(%rbx),%xmm10
  movsd  0x80(%rbx),%xmm6
  movsd  0x90(%rbx),%xmm12
  addsd  %xmm0,%xmm3
  movsd  0xb0(%rbx),%xmm15
  movsd  0xa8(%rbx),%xmm9
  movapd %xmm6,%xmm8
  movsd  0xb8(%rbx),%xmm14
  addsd  %xmm12,%xmm8
  subsd  %xmm12,%xmm6
  movapd %xmm3,%xmm4
  movapd %xmm9,%xmm12
  subsd  %xmm14,%xmm9
  mulsd  %xmm2,%xmm3
  addsd  %xmm14,%xmm12
  mulsd  %xmm0,%xmm4
  movapd %xmm8,%xmm14
  subsd  %xmm4,%xmm1
  movapd %xmm3,%xmm4
  addsd  %xmm3,%xmm4
  movapd %xmm4,%xmm5
  mulsd  %xmm0,%xmm5
  mulsd  %xmm2,%xmm4
  subsd  %xmm5,%xmm11
  movapd %xmm7,%xmm5
  subsd  %xmm10,%xmm7
  addsd  %xmm10,%xmm5
  subsd  %xmm0,%xmm4
  movsd  0xa0(%rbx),%xmm10
  movapd %xmm10,%xmm13
  subsd  %xmm15,%xmm10
  addsd  %xmm15,%xmm13
  movupd 0xf0(%rbx),%xmm15
  addsd  %xmm13,%xmm14
  subsd  %xmm13,%xmm8
  movapd %xmm3,%xmm13
  movsd  %xmm14,0x80(%rbx)
  movapd %xmm5,%xmm14
  subsd  %xmm12,%xmm5
  addsd  %xmm12,%xmm14
  movapd %xmm1,%xmm12
  mulsd  %xmm8,%xmm12
  mulsd  %xmm5,%xmm13
  movsd  %xmm14,0x88(%rbx)
  mulsd  %xmm3,%xmm8
  xorpd  D68(%rip),%xmm3
  mulsd  %xmm1,%xmm5
  unpcklpd %xmm3,%xmm3
  subsd  %xmm13,%xmm12
  movapd %xmm0,%xmm13
  addsd  %xmm8,%xmm5
  movapd %xmm6,%xmm8
  addsd  %xmm9,%xmm6
  movsd  %xmm12,0xa0(%rbx)
  subsd  %xmm9,%xmm8
  movapd %xmm2,%xmm12
  movsd  %xmm5,0xa8(%rbx)
  movapd %xmm7,%xmm5
  subsd  %xmm10,%xmm7
  addsd  %xmm10,%xmm5
  mulsd  %xmm8,%xmm12
  mulsd  %xmm0,%xmm8
  mulsd  %xmm5,%xmm13
  mulsd  %xmm2,%xmm5
  subsd  %xmm13,%xmm12
  addsd  %xmm8,%xmm5
  movapd %xmm4,%xmm8
  mulsd  %xmm7,%xmm8
  movsd  %xmm12,0x90(%rbx)
  mulsd  %xmm6,%xmm4
  movsd  %xmm5,0x98(%rbx)
  movapd %xmm11,%xmm5
  mulsd  %xmm6,%xmm5
  movapd %xmm1,%xmm6
  mulsd  %xmm7,%xmm11
  addsd  %xmm1,%xmm6
  movupd 0xc0(%rbx),%xmm7
  unpcklpd %xmm1,%xmm1
  subsd  %xmm8,%xmm5
  movapd %xmm11,%xmm9
  addsd  %xmm4,%xmm9
  movupd 0xd0(%rbx),%xmm4
  movsd  %xmm5,0xb0(%rbx)
  movapd %xmm2,%xmm5
  addsd  %xmm0,%xmm2
  mulsd  D38(%rip),%xmm2
  subsd  %xmm0,%xmm5
  movapd %xmm6,%xmm0
  mulsd  D38(%rip),%xmm5
  movsd  %xmm9,0xb8(%rbx)
  movupd 0xc0(%rbx),%xmm9
  subpd  %xmm4,%xmm9
  addpd  %xmm7,%xmm4
  mulsd  %xmm2,%xmm0
  mulsd  %xmm5,%xmm6
  movapd %xmm5,%xmm10
  movapd %xmm9,%xmm7
  shufpd $0x1,%xmm9,%xmm7
  unpcklpd %xmm5,%xmm5
  subsd  %xmm0,%xmm10
  movupd 0xe0(%rbx),%xmm0
  subsd  %xmm2,%xmm6
  unpcklpd %xmm2,%xmm2
  subpd  %xmm15,%xmm0
  unpcklpd %xmm10,%xmm10
  unpcklpd %xmm6,%xmm6
  movapd %xmm0,%xmm8
  addpd  %xmm7,%xmm8
  subpd  %xmm0,%xmm7
  shufpd $0x1,%xmm0,%xmm0
  movapd %xmm8,%xmm11
  movsd  %xmm7,%xmm11
  movsd  %xmm8,%xmm7
  movapd %xmm15,%xmm8
  mulpd  %xmm7,%xmm2
  movupd 0xe0(%rbx),%xmm7
  mulpd  %xmm11,%xmm6
  movapd %xmm9,%xmm11
  addpd  %xmm7,%xmm8
  movapd %xmm4,%xmm7
  subpd  %xmm0,%xmm11
  addpd  %xmm9,%xmm0
  subpd  %xmm8,%xmm7
  movapd %xmm11,%xmm9
  addpd  %xmm4,%xmm8
  movsd  %xmm0,%xmm9
  movsd  %xmm11,%xmm0
  mulpd  %xmm0,%xmm5
  mulpd  %xmm7,%xmm3
  movups %xmm8,0xc0(%rbx)
  mulpd  %xmm7,%xmm1
  mulpd  %xmm9,%xmm10
  movapd %xmm3,%xmm0
  shufpd $0x1,%xmm1,%xmm1
  subpd  %xmm1,%xmm0
  addpd  %xmm3,%xmm1
  movsd  %xmm0,%xmm1
  movapd %xmm5,%xmm0
  subpd  %xmm2,%xmm0
  addpd  %xmm5,%xmm2
  movups %xmm1,0xe0(%rbx)
  movsd  %xmm0,%xmm2
  movapd %xmm10,%xmm0
  subpd  %xmm6,%xmm0
  addpd  %xmm10,%xmm6
  movups %xmm2,0xd0(%rbx)
  movsd  %xmm0,%xmm6
  movups %xmm6,0xf0(%rbx)
  cmp    %rbx,%r12
  je     L13
  xor    %r15d,%ebp
  cmp    %ebp,%r15d
  jle    L10
  mov    %r15d,%eax
  nopl   0x0(%rax)
L12:
  sar    %eax
  xor    %eax,%ebp
  cmp    %eax,%ebp
  jl     L12
L10:
  sub    $0xffffffffffffff80,%rbx
  jmp    L29
  nopl   0x0(%rax)
L13:
  add    $0x28,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
```

tool_calls: name: retrieve_data
arguments: tag: D38
type_infered: f64[2]
name: retrieve_data
arguments: tag: D1
type_infered: f64
name: retrieve_data
arguments: tag: D35
type_infered: byte[8]
name: retrieve_data
arguments: tag: D68
type_infered: byte[16]

tool: {"D38": [0.7071067811865476,0.7071067811865476]}

tool: D1: 1.5707963267948966

tool: {"D35": [0x00,0x00,0x00,0x00,0x00,0x00,0xf0,0x3f]}

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

assistant: ```c
void cft1st(int n, double *a) {
  int j, kj, kr;
  double ew, wn4r, wk1r, wk1i, wk2r, wk2i, wk3r, wk3i;
  double x0r, x0i, x1r, x1i, x2r, x2i, x3r, x3i;
  x0r = a[0] + a[2];
  x0i = a[1] + a[3];
  x1r = a[0] - a[2];
  x1i = a[1] - a[3];
  x2r = a[4] + a[6];
  x2i = a[5] + a[7];
  x3r = a[4] - a[6];
  x3i = a[5] - a[7];
  a[0] = x0r + x2r;
  a[1] = x0i + x2i;
  a[4] = x0r - x2r;
  a[5] = x0i - x2i;
  a[2] = x1r - x3i;
  a[3] = x1i + x3r;
  a[6] = x1r + x3i;
  a[7] = x1i - x3r;
  wn4r = 0.707106781186547524400844362104849039284835937688;
  x0r = a[8] + a[10];
  x0i = a[9] + a[11];
  x1r = a[8] - a[10];
  x1i = a[9] - a[11];
  x2r = a[12] + a[14];
  x2i = a[13] + a[15];
  x3r = a[12] - a[14];
  x3i = a[13] - a[15];
  a[8] = x0r + x2r;
  a[9] = x0i + x2i;
  a[12] = x2i - x0i;
  a[13] = x0r - x2r;
  x0r = x1r - x3i;
  x0i = x1i + x3r;
  a[10] = wn4r * (x0r - x0i);
  a[11] = wn4r * (x0r + x0i);
  x0r = x3i + x1r;
  x0i = x3r - x1i;
  a[14] = wn4r * (x0i - x0r);
  a[15] = wn4r * (x0i + x0r);
  ew = 1.570796326794896619231321691639751442098584699687 / n;
  kr = 0;
  for (j = 16; j < n; j += 16) {
    for (kj = n >> 2; kj > (kr ^= kj); kj >>= 1)
      ;
    wk1r = cos(ew * kr);
    wk1i = sin(ew * kr);
    wk2r = 1 - 2 * wk1i * wk1i;
    wk2i = 2 * wk1i * wk1r;
    wk3r = wk1r - 2 * wk2i * wk1i;
    wk3i = 2 * wk2i * wk1r - wk1i;
    x0r = a[j] + a[j + 2];
    x0i = a[j + 1] + a[j + 3];
    x1r = a[j] - a[j + 2];
    x1i = a[j + 1] - a[j + 3];
    x2r = a[j + 4] + a[j + 6];
    x2i = a[j + 5] + a[j + 7];
    x3r = a[j + 4] - a[j + 6];
    x3i = a[j + 5] - a[j + 7];
    a[j] = x0r + x2r;
    a[j + 1] = x0i + x2i;
    x0r -= x2r;
    x0i -= x2i;
    a[j + 4] = wk2r * x0r - wk2i * x0i;
    a[j + 5] = wk2r * x0i + wk2i * x0r;
    x0r = x1r - x3i;
    x0i = x1i + x3r;
    a[j + 2] = wk1r * x0r - wk1i * x0i;
    a[j + 3] = wk1r * x0i + wk1i * x0r;
    x0r = x1r + x3i;
    x0i = x1i - x3r;
    a[j + 6] = wk3r * x0r - wk3i * x0i;
    a[j + 7] = wk3r * x0i + wk3i * x0r;
    x0r = wn4r * (wk1r - wk1i);
    wk1i = wn4r * (wk1r + wk1i);
    wk1r = x0r;
    wk3r = wk1r - 2 * wk2r * wk1i;
    wk3i = 2 * wk2r * wk1r - wk1i;
    x0r = a[j + 8] + a[j + 10];
    x0i = a[j + 9] + a[j + 11];
    x1r = a[j + 8] - a[j + 10];
    x1i = a[j + 9] - a[j + 11];
    x2r = a[j + 12] + a[j + 14];
    x2i = a[j + 13] + a[j + 15];
    x3r = a[j + 12] - a[j + 14];
    x3i = a[j + 13] - a[j + 15];
    a[j + 8] = x0r + x2r;
    a[j + 9] = x0i + x2i;
    x0r -= x2r;
    x0i -= x2i;
    a[j + 12] = -wk2i * x0r - wk2r * x0i;
    a[j + 13] = -wk2i * x0i + wk2r * x0r;
    x0r = x1r - x3i;
    x0i = x1i + x3r;
    a[j + 10] = wk1r * x0r - wk1i * x0i;
    a[j + 11] = wk1r * x0i + wk1i * x0r;
    x0r = x1r + x3i;
    x0i = x1i - x3r;
    a[j + 14] = wk3r * x0r - wk3i * x0i;
    a[j + 15] = wk3r * x0i + wk3i * x0r;
  }
}
```