user: 请将以下的汇编代码转换成C语言代码：

```asm
<FFT>:
  endbr64
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x10,%rsp
  mov    %rdi,%r13
  mov    %edx,%r14d
  lea    (%rsi,%rsi,1),%rbx
  mov    $0x1,%ecx
  mov    $0x1,%edx
  movabs $0x7fffffffffffffff,%r9
  movabs $0x7ffffffffffffffe,%r8
  and    %rsi,%r8
  cmp    $0x1,%rbx
  ja     L48
L174:
  cmp    $0x2,%rbx
  jbe    L163
  mov    $0x2,%ebp
  jmp    L44
L89:
  add    %rax,%rdx
  add    $0x2,%rcx
  cmp    %rcx,%rbx
  jbe    L174
  cmp    %rcx,%rdx
  jbe    L48
  lea    0x0(,%rdx,4),%rax
  lea    -0x4(%r13,%rax,1),%rdi
  movss  (%rdi),%xmm0
  movss  -0x4(%r13,%rcx,4),%xmm1
  movss  %xmm1,(%rdi)
  movss  %xmm0,-0x4(%r13,%rcx,4)
  add    %r13,%rax
  movss  (%rax),%xmm0
  movss  0x0(%r13,%rcx,4),%xmm1
  movss  %xmm1,(%rax)
  movss  %xmm0,0x0(%r13,%rcx,4)
L48:
  mov    %rsi,%rax
  and    %r9,%rax
  test   %r8,%r8
  je     L89
  cmp    %rdx,%rax
  jae    L89
L100:
  sub    %rax,%rdx
  shr    %rax
  cmp    $0x1,%rax
  jbe    L89
  cmp    %rax,%rdx
  ja     L100
  jmp    L89
L88:
  mov    %r12,%rax
  shr    %rax
  pxor   %xmm1,%xmm1
  cvtsi2sd %rax,%xmm1
  addsd  %xmm1,%xmm1
  jmp    L169
L24:
  movss  -0x4(%rdx),%xmm2
  movss  (%rdx),%xmm0
  movaps %xmm2,%xmm1
  mulss  %xmm3,%xmm1
  movaps %xmm0,%xmm6
  mulss  %xmm4,%xmm6
  subss  %xmm6,%xmm1
  mulss  %xmm3,%xmm0
  mulss  %xmm4,%xmm2
  addss  %xmm2,%xmm0
  movss  (%rax),%xmm2
  subss  %xmm1,%xmm2
  movss  %xmm2,-0x4(%rdx)
  movss  0x4(%rax),%xmm2
  subss  %xmm0,%xmm2
  movss  %xmm2,(%rdx)
  addss  (%rax),%xmm1
  movss  %xmm1,(%rax)
  addss  0x4(%rax),%xmm0
  movss  %xmm0,0x4(%rax)
  add    %rbp,%rcx
  add    %rsi,%rdx
  add    %rsi,%rax
  cmp    %rcx,%rbx
  jae    L24
L108:
  movss  0x8(%rsp),%xmm7
  movaps %xmm7,%xmm0
  mulss  %xmm3,%xmm0
  movaps %xmm5,%xmm1
  mulss  %xmm4,%xmm1
  subss  %xmm1,%xmm0
  addss  %xmm3,%xmm0
  mulss  %xmm4,%xmm7
  mulss  %xmm5,%xmm3
  addss  %xmm7,%xmm3
  addss  %xmm3,%xmm4
  add    $0x2,%rdi
  add    $0x8,%r8
  cmp    %r12,%rdi
  jae    L111
  movaps %xmm0,%xmm3
L15:
  lea    (%r9,%r8,1),%rdx
  mov    %r8,%rax
  mov    %rdi,%rcx
  cmp    %rdi,%rbx
  jae    L24
  jmp    L108
L111:
  cmp    %rbp,%rbx
  jbe    L163
L44:
  mov    %rbp,%r12
  add    %rbp,%rbp
  test   %r12,%r12
  js     L88
  pxor   %xmm1,%xmm1
  cvtsi2sd %r12,%xmm1
L169:
  movsd  D34(%rip),%xmm0
  divsd  %xmm1,%xmm0
  pxor   %xmm1,%xmm1
  cvtsi2sd %r14d,%xmm1
  mulsd  %xmm1,%xmm0
  pxor   %xmm5,%xmm5
  cvtsd2ss %xmm0,%xmm5
  movss  D25(%rip),%xmm7
  movss  %xmm5,0xc(%rsp)
  mulss  %xmm5,%xmm7
  movaps %xmm7,%xmm0
  call   <sin@plt>
  cvtss2sd %xmm0,%xmm0
  movsd  D9(%rip),%xmm1
  mulsd  %xmm0,%xmm1
  mulsd  %xmm1,%xmm0
  pxor   %xmm7,%xmm7
  cvtsd2ss %xmm0,%xmm7
  movss  %xmm7,0x8(%rsp)
  movss  0xc(%rsp),%xmm0
  call   <sin@plt>
  movaps %xmm0,%xmm5
  cmp    $0x1,%r12
  jbe    L111
  mov    %r13,%r8
  lea    0x0(,%rbp,4),%rsi
  pxor   %xmm4,%xmm4
  movss  D37(%rip),%xmm3
  mov    $0x1,%edi
  lea    0x4(,%r12,4),%r9
  jmp    L15
L163:
  add    $0x10,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  ret
```

tool_calls: name: extract_symbolic_data
arguments: data_tag: D34
type: byte[8]
name: extract_symbolic_data
arguments: data_tag: D25
type: f32
name: extract_symbolic_data
arguments: data_tag: D9
type: f32[2]
name: extract_symbolic_data
arguments: data_tag: D37
type: f32

tool: {"D34": [0xfc,0x95,0xec,0x52,0xfb,0x21,0x19,0xc0]}

tool: D25: 0.5

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

tool: D37: 1

assistant: ```c
void FFT(float *data, unsigned long nn, int isign) {
  unsigned long n, mmax, m, j, istep, i;
  float wtemp, wr, wpr, wpi, wi, theta;
  float 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 = n >> 1;
    while ((m >= 2) && (j > m)) {
      j -= m;
      m >>= 1;
    }
    j += m;
  }
  mmax = 2;
  while (n > mmax) {
    istep = mmax << 1;
    theta = isign * (-2 * 3.14159264359 / 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;
  }
}
```