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

```asm
<cftmdl1>:
  endbr64
  sar    $0x3,%edi
  push   %r15
  movslq %edi,%r15
  push   %r14
  lea    0x0(,%r15,4),%eax
  push   %r13
  mov    %r15,%r8
  movslq %eax,%rdi
  push   %r12
  lea    (%r15,%r15,1),%r12d
  shl    $0x4,%r8
  push   %rbp
  lea    0x0(,%rdi,8),%rcx
  add    %r12d,%eax
  mov    %r15,%rbp
  push   %rbx
  mov    %rsi,%rbx
  mov    %rdx,%rsi
  cltq
  lea    (%rbx,%rcx,1),%rdx
  movsd  (%rbx),%xmm2
  movsd  0x8(%rbx),%xmm0
  lea    0x8(%rbx,%rdi,8),%r9
  movsd  (%rdx),%xmm5
  movsd  (%r9),%xmm1
  mov    %rdx,%r14
  shl    $0x3,%rax
  sub    %r8,%r14
  movapd %xmm2,%xmm4
  movapd %xmm0,%xmm3
  movslq %r12d,%rdi
  subsd  %xmm5,%xmm2
  addsd  %xmm1,%xmm3
  subsd  %xmm1,%xmm0
  lea    (%rbx,%rax,1),%r10
  movsd  (%r14),%xmm1
  lea    0x1(%rdi),%r8
  movsd  (%r10),%xmm8
  addsd  %xmm5,%xmm4
  lea    (%rbx,%r8,8),%r11
  movapd %xmm2,%xmm9
  movapd %xmm1,%xmm6
  movsd  (%r11),%xmm2
  lea    0x8(%rbx,%rax,1),%rax
  addsd  %xmm8,%xmm6
  movsd  (%rax),%xmm7
  subsd  %xmm8,%xmm1
  movapd %xmm2,%xmm5
  addsd  %xmm7,%xmm5
  subsd  %xmm7,%xmm2
  movapd %xmm4,%xmm7
  addsd  %xmm6,%xmm7
  subsd  %xmm6,%xmm4
  movsd  %xmm7,(%rbx)
  movapd %xmm3,%xmm7
  subsd  %xmm5,%xmm3
  addsd  %xmm5,%xmm7
  movsd  %xmm7,0x8(%rbx)
  movsd  %xmm4,(%r14)
  movsd  %xmm3,(%r11)
  movapd %xmm9,%xmm3
  subsd  %xmm2,%xmm3
  addsd  %xmm9,%xmm2
  movsd  %xmm3,(%rdx)
  movapd %xmm0,%xmm3
  subsd  %xmm1,%xmm0
  addsd  %xmm1,%xmm3
  movsd  %xmm3,(%r9)
  movsd  %xmm2,(%r10)
  movsd  %xmm0,(%rax)
  movsd  0x8(%rsi),%xmm5
  cmp    $0x2,%r15d
  jle    L4
  lea    (%rdi,%r8,2),%r8
  lea    (%rdi,%rdi,2),%rdi
  mov    %r14,%r10
  add    %rdx,%rcx
  lea    (%rbx,%r8,8),%r9
  lea    -0x10(%rbx,%rdi,8),%r8
  lea    -0x3(%r15),%edi
  lea    0x20(%rsi),%rax
  shr    %edi
  lea    0x10(%rbx),%r11
  shl    $0x5,%rdi
  lea    0x40(%rsi,%rdi,1),%r13
  mov    %rdx,%rdi
  mov    %r14,%rsi
  nopl   (%rax)
L9:
  movsd  0x8(%r11),%xmm0
  movsd  0x18(%rdx),%xmm1
  add    $0x20,%rax
  add    $0x10,%r11
  movsd  -0x10(%r11),%xmm2
  movsd  0x10(%rdx),%xmm9
  add    $0x10,%r10
  add    $0x10,%rdx
  movapd %xmm0,%xmm6
  subsd  %xmm1,%xmm0
  movsd  (%r9),%xmm14
  movsd  0x8(%r9),%xmm13
  addsd  %xmm1,%xmm6
  movsd  (%r10),%xmm1
  add    $0x10,%r9
  movapd %xmm2,%xmm10
  addsd  %xmm9,%xmm10
  subsd  %xmm9,%xmm2
  movsd  -0x20(%rax),%xmm7
  movsd  0x8(%r10),%xmm9
  movapd %xmm1,%xmm12
  movsd  -0x18(%rax),%xmm8
  movsd  -0x10(%rax),%xmm4
  subsd  %xmm14,%xmm1
  sub    $0x10,%rsi
  sub    $0x10,%r8
  sub    $0x10,%rdi
  sub    $0x10,%rcx
  addsd  %xmm14,%xmm12
  movapd %xmm9,%xmm11
  subsd  %xmm13,%xmm9
  movsd  -0x8(%rax),%xmm3
  addsd  %xmm13,%xmm11
  movapd %xmm10,%xmm13
  addsd  %xmm12,%xmm13
  subsd  %xmm12,%xmm10
  movapd %xmm8,%xmm12
  movsd  %xmm13,-0x10(%r11)
  movapd %xmm6,%xmm13
  subsd  %xmm11,%xmm6
  addsd  %xmm11,%xmm13
  movapd %xmm7,%xmm11
  movsd  %xmm13,-0x8(%r11)
  movsd  %xmm10,(%r10)
  movapd %xmm2,%xmm10
  addsd  %xmm9,%xmm2
  movsd  %xmm6,0x8(%r10)
  movapd %xmm0,%xmm6
  subsd  %xmm9,%xmm10
  subsd  %xmm1,%xmm0
  addsd  %xmm1,%xmm6
  movapd %xmm4,%xmm1
  mulsd  %xmm2,%xmm1
  mulsd  %xmm10,%xmm11
  mulsd  %xmm6,%xmm12
  mulsd  %xmm8,%xmm10
  mulsd  %xmm7,%xmm6
  mulsd  %xmm3,%xmm2
  subsd  %xmm12,%xmm11
  addsd  %xmm10,%xmm6
  movsd  %xmm11,(%rdx)
  movsd  %xmm6,0x8(%rdx)
  movapd %xmm3,%xmm6
  mulsd  %xmm0,%xmm6
  mulsd  %xmm4,%xmm0
  addsd  %xmm6,%xmm1
  subsd  %xmm2,%xmm0
  movsd  %xmm1,-0x10(%r9)
  movsd  %xmm0,-0x8(%r9)
  movsd  (%rsi),%xmm1
  movsd  0x10(%r8),%xmm6
  movsd  0x8(%rsi),%xmm0
  movsd  0x18(%r8),%xmm9
  movapd %xmm1,%xmm12
  movapd %xmm1,%xmm2
  movsd  (%rcx),%xmm14
  movsd  0x8(%rdi),%xmm10
  addsd  %xmm6,%xmm12
  subsd  %xmm6,%xmm2
  movapd %xmm0,%xmm6
  movsd  0x8(%rcx),%xmm13
  movapd %xmm0,%xmm11
  subsd  %xmm9,%xmm6
  movapd %xmm10,%xmm0
  addsd  %xmm9,%xmm11
  movsd  (%rdi),%xmm9
  addsd  %xmm13,%xmm0
  subsd  %xmm13,%xmm10
  movapd %xmm12,%xmm13
  movapd %xmm9,%xmm1
  subsd  %xmm14,%xmm9
  addsd  %xmm14,%xmm1
  addsd  %xmm1,%xmm13
  subsd  %xmm1,%xmm12
  movapd %xmm6,%xmm1
  addsd  %xmm9,%xmm1
  subsd  %xmm9,%xmm6
  movsd  %xmm13,(%rsi)
  movapd %xmm11,%xmm13
  subsd  %xmm0,%xmm11
  addsd  %xmm0,%xmm13
  movapd %xmm8,%xmm0
  movsd  %xmm13,0x8(%rsi)
  movsd  %xmm11,0x8(%rdi)
  movapd %xmm2,%xmm11
  addsd  %xmm10,%xmm2
  subsd  %xmm10,%xmm11
  movsd  %xmm12,(%rdi)
  movapd %xmm7,%xmm12
  mulsd  %xmm1,%xmm12
  mulsd  %xmm8,%xmm1
  mulsd  %xmm11,%xmm0
  mulsd  %xmm11,%xmm7
  subsd  %xmm12,%xmm0
  movsd  %xmm0,0x10(%r8)
  movapd %xmm7,%xmm0
  addsd  %xmm1,%xmm0
  movapd %xmm2,%xmm1
  movapd %xmm3,%xmm2
  mulsd  %xmm1,%xmm2
  movsd  %xmm0,0x18(%r8)
  movapd %xmm6,%xmm0
  movapd %xmm4,%xmm6
  mulsd  %xmm0,%xmm6
  mulsd  %xmm1,%xmm4
  mulsd  %xmm3,%xmm0
  addsd  %xmm6,%xmm2
  subsd  %xmm4,%xmm0
  movsd  %xmm2,(%rcx)
  movsd  %xmm0,0x8(%rcx)
  cmp    %rax,%r13
  jne    L9
L4:
  add    %r12d,%ebp
  shl    $0x3,%r15
  lea    (%r12,%rbp,1),%ecx
  lea    0x8(%rbx,%r15,1),%rdi
  movslq %ebp,%rbp
  sub    %r15,%r14
  movslq %ecx,%rax
  movsd  (%rdi),%xmm0
  add    %ecx,%r12d
  shl    $0x3,%rbp
  shl    $0x3,%rax
  movslq %r12d,%r12
  movsd  (%r14),%xmm2
  lea    (%rbx,%rbp,1),%r8
  lea    (%rbx,%rax,1),%rdx
  lea    0x8(%rbx,%rax,1),%rax
  shl    $0x3,%r12
  movsd  (%rax),%xmm4
  movapd %xmm0,%xmm1
  movsd  (%rdx),%xmm6
  lea    (%rbx,%r12,1),%rcx
  movsd  (%rcx),%xmm9
  lea    0x8(%rbx,%rbp,1),%r9
  movapd %xmm2,%xmm3
  lea    0x8(%rbx,%r12,1),%rsi
  addsd  %xmm4,%xmm1
  subsd  %xmm4,%xmm0
  movsd  (%r8),%xmm4
  movsd  (%rsi),%xmm7
  movsd  (%r9),%xmm8
  addsd  %xmm6,%xmm3
  subsd  %xmm6,%xmm2
  movapd %xmm4,%xmm6
  subsd  %xmm9,%xmm4
  addsd  %xmm9,%xmm6
  movapd %xmm8,%xmm10
  subsd  %xmm7,%xmm8
  addsd  %xmm7,%xmm10
  movapd %xmm3,%xmm7
  addsd  %xmm6,%xmm7
  subsd  %xmm6,%xmm3
  movapd %xmm0,%xmm6
  addsd  %xmm4,%xmm6
  subsd  %xmm4,%xmm0
  movsd  %xmm7,(%r14)
  movapd %xmm1,%xmm7
  subsd  %xmm10,%xmm1
  addsd  %xmm10,%xmm7
  movsd  %xmm7,(%rdi)
  movsd  %xmm3,(%r8)
  movsd  %xmm1,(%r9)
  movapd %xmm2,%xmm1
  addsd  %xmm8,%xmm2
  subsd  %xmm8,%xmm1
  movapd %xmm1,%xmm3
  addsd  %xmm6,%xmm1
  subsd  %xmm6,%xmm3
  mulsd  %xmm5,%xmm1
  mulsd  %xmm5,%xmm3
  xorpd  D2(%rip),%xmm5
  movsd  %xmm3,(%rdx)
  movsd  %xmm1,(%rax)
  movapd %xmm2,%xmm1
  addsd  %xmm0,%xmm2
  subsd  %xmm1,%xmm0
  mulsd  %xmm5,%xmm2
  mulsd  %xmm5,%xmm0
  movsd  %xmm2,(%rcx)
  movsd  %xmm0,(%rsi)
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
```

tool_calls: name: extract_symbolic_data
arguments: label: D2
type_infered: byte[16]

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

assistant: ```c
void cftmdl1(int n, double *a, double *w) {
  int j, j0, j1, j2, j3, k, m, mh;
  double wn4r, wk1r, wk1i, wk3r, wk3i;
  double x0r, x0i, x1r, x1i, x2r, x2i, x3r, x3i;
  mh = n >> 3;
  m = 2 * mh;
  j1 = m;
  j2 = j1 + m;
  j3 = j2 + m;
  x0r = a[0] + a[j2];
  x0i = a[1] + a[j2 + 1];
  x1r = a[0] - a[j2];
  x1i = a[1] - a[j2 + 1];
  x2r = a[j1] + a[j3];
  x2i = a[j1 + 1] + a[j3 + 1];
  x3r = a[j1] - a[j3];
  x3i = a[j1 + 1] - a[j3 + 1];
  a[0] = x0r + x2r;
  a[1] = x0i + x2i;
  a[j1] = x0r - x2r;
  a[j1 + 1] = x0i - x2i;
  a[j2] = x1r - x3i;
  a[j2 + 1] = x1i + x3r;
  a[j3] = x1r + x3i;
  a[j3 + 1] = x1i - x3r;
  wn4r = w[1];
  k = 0;
  for (j = 2; j < mh; j += 2) {
    k += 4;
    wk1r = w[k];
    wk1i = w[k + 1];
    wk3r = w[k + 2];
    wk3i = w[k + 3];
    j1 = j + m;
    j2 = j1 + m;
    j3 = j2 + m;
    x0r = a[j] + a[j2];
    x0i = a[j + 1] + a[j2 + 1];
    x1r = a[j] - a[j2];
    x1i = a[j + 1] - a[j2 + 1];
    x2r = a[j1] + a[j3];
    x2i = a[j1 + 1] + a[j3 + 1];
    x3r = a[j1] - a[j3];
    x3i = a[j1 + 1] - a[j3 + 1];
    a[j] = x0r + x2r;
    a[j + 1] = x0i + x2i;
    a[j1] = x0r - x2r;
    a[j1 + 1] = x0i - x2i;
    x0r = x1r - x3i;
    x0i = x1i + x3r;
    a[j2] = wk1r * x0r - wk1i * x0i;
    a[j2 + 1] = wk1r * x0i + wk1i * x0r;
    x0r = x1r + x3i;
    x0i = x1i - x3r;
    a[j3] = wk3r * x0r + wk3i * x0i;
    a[j3 + 1] = wk3r * x0i - wk3i * x0r;
    j0 = m - j;
    j1 = j0 + m;
    j2 = j1 + m;
    j3 = j2 + m;
    x0r = a[j0] + a[j2];
    x0i = a[j0 + 1] + a[j2 + 1];
    x1r = a[j0] - a[j2];
    x1i = a[j0 + 1] - a[j2 + 1];
    x2r = a[j1] + a[j3];
    x2i = a[j1 + 1] + a[j3 + 1];
    x3r = a[j1] - a[j3];
    x3i = a[j1 + 1] - a[j3 + 1];
    a[j0] = x0r + x2r;
    a[j0 + 1] = x0i + x2i;
    a[j1] = x0r - x2r;
    a[j1 + 1] = x0i - x2i;
    x0r = x1r - x3i;
    x0i = x1i + x3r;
    a[j2] = wk1i * x0r - wk1r * x0i;
    a[j2 + 1] = wk1i * x0i + wk1r * x0r;
    x0r = x1r + x3i;
    x0i = x1i - x3r;
    a[j3] = wk3i * x0r + wk3r * x0i;
    a[j3 + 1] = wk3i * x0i - wk3r * x0r;
  }
  j0 = mh;
  j1 = j0 + m;
  j2 = j1 + m;
  j3 = j2 + m;
  x0r = a[j0] + a[j2];
  x0i = a[j0 + 1] + a[j2 + 1];
  x1r = a[j0] - a[j2];
  x1i = a[j0 + 1] - a[j2 + 1];
  x2r = a[j1] + a[j3];
  x2i = a[j1 + 1] + a[j3 + 1];
  x3r = a[j1] - a[j3];
  x3i = a[j1 + 1] - a[j3 + 1];
  a[j0] = x0r + x2r;
  a[j0 + 1] = x0i + x2i;
  a[j1] = x0r - x2r;
  a[j1 + 1] = x0i - x2i;
  x0r = x1r - x3i;
  x0i = x1i + x3r;
  a[j2] = wn4r * (x0r - x0i);
  a[j2 + 1] = wn4r * (x0i + x0r);
  x0r = x1r + x3i;
  x0i = x1i - x3r;
  a[j3] = -wn4r * (x0r + x0i);
  a[j3 + 1] = -wn4r * (x0i - x0r);
}
```