user: 请将这段汇编代码片段转换成等效的C代码：

```asm
<FFT>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  push   %rbx
  sub    $0xc8,%rsp
  mov    %rdi,-0xa8(%rbp)
  mov    %rsi,-0xb0(%rbp)
  mov    %edx,-0xb4(%rbp)
  mov    %ecx,-0xb8(%rbp)
  movl   $0x1,-0x88(%rbp)
  jmp    L329
L256:
  addl   $0x1,-0x88(%rbp)
L329:
  mov    -0x88(%rbp),%eax
  mov    %eax,%esi
  mov    $0x2,%edi
  call   <pow@plt>
  cmp    %eax,-0xb4(%rbp)
  jg     L256
  mov    -0x88(%rbp),%eax
  mov    %eax,%esi
  mov    $0x2,%edi
  call   <pow@plt>
  cmp    %eax,-0xb4(%rbp)
  jne    L318
  mov    -0x88(%rbp),%eax
  mov    %eax,-0x9c(%rbp)
  mov    -0xb4(%rbp),%eax
  mov    %eax,-0x98(%rbp)
  jmp    L41
L318:
  mov    -0x88(%rbp),%eax
  sub    $0x1,%eax
  mov    %eax,-0x9c(%rbp)
  mov    -0x9c(%rbp),%eax
  mov    %eax,%esi
  mov    $0x2,%edi
  call   <pow@plt>
  mov    %eax,-0x98(%rbp)
L41:
  mov    -0x98(%rbp),%eax
  cltq
  shl    $0x3,%eax
  mov    %eax,%edi
  call   <malloc@plt>
  mov    %rax,-0x60(%rbp)
  mov    -0x98(%rbp),%eax
  cltq
  shl    $0x3,%eax
  mov    %eax,%edi
  call   <malloc@plt>
  mov    %rax,-0x58(%rbp)
  movl   $0x0,-0x88(%rbp)
  jmp    L268
L205:
  mov    -0x88(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x58(%rbp),%rax
  add    %rdx,%rax
  pxor   %xmm0,%xmm0
  movsd  %xmm0,(%rax)
  cmpl   $0x3,-0xb8(%rbp)
  je     L324
  cmpl   $0x3,-0xb8(%rbp)
  jg     L170
  cmpl   $0x2,-0xb8(%rbp)
  je     L242
  cmpl   $0x2,-0xb8(%rbp)
  jg     L170
  cmpl   $0x0,-0xb8(%rbp)
  je     L265
  cmpl   $0x1,-0xb8(%rbp)
  je     L106
  jmp    L170
L265:
  mov    -0x88(%rbp),%eax
  cltq
  lea    (%rax,%rax,1),%rdx
  mov    -0xa8(%rbp),%rax
  add    %rdx,%rax
  movzwl (%rax),%eax
  movzwl %ax,%eax
  pxor   %xmm6,%xmm6
  cvtsi2sd %eax,%xmm6
  movsd  %xmm6,-0xc0(%rbp)
  pxor   %xmm1,%xmm1
  cvtsi2sdl -0x88(%rbp),%xmm1
  movsd  D116(%rip),%xmm0
  mulsd  %xmm1,%xmm0
  pxor   %xmm1,%xmm1
  cvtsi2sdl -0x98(%rbp),%xmm1
  divsd  %xmm1,%xmm0
  movq   %xmm0,%rax
  movq   %rax,%xmm0
  call   <cos@plt>
  movsd  D115(%rip),%xmm1
  mulsd  %xmm0,%xmm1
  movsd  D115(%rip),%xmm0
  subsd  %xmm1,%xmm0
  mov    -0x88(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x60(%rbp),%rax
  add    %rdx,%rax
  mulsd  -0xc0(%rbp),%xmm0
  movsd  %xmm0,(%rax)
  jmp    L191
L106:
  mov    -0x88(%rbp),%eax
  cltq
  lea    (%rax,%rax,1),%rdx
  mov    -0xa8(%rbp),%rax
  add    %rdx,%rax
  movzwl (%rax),%eax
  movzwl %ax,%eax
  pxor   %xmm7,%xmm7
  cvtsi2sd %eax,%xmm7
  movsd  %xmm7,-0xc0(%rbp)
  pxor   %xmm1,%xmm1
  cvtsi2sdl -0x88(%rbp),%xmm1
  movsd  D116(%rip),%xmm0
  mulsd  %xmm1,%xmm0
  pxor   %xmm1,%xmm1
  cvtsi2sdl -0x98(%rbp),%xmm1
  divsd  %xmm1,%xmm0
  movq   %xmm0,%rax
  movq   %rax,%xmm0
  call   <cos@plt>
  movsd  D20(%rip),%xmm1
  mulsd  %xmm0,%xmm1
  movsd  D204(%rip),%xmm0
  subsd  %xmm1,%xmm0
  mov    -0x88(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x60(%rbp),%rax
  add    %rdx,%rax
  mulsd  -0xc0(%rbp),%xmm0
  movsd  %xmm0,(%rax)
  jmp    L191
L242:
  mov    -0x88(%rbp),%eax
  cltq
  lea    (%rax,%rax,1),%rdx
  mov    -0xa8(%rbp),%rax
  add    %rdx,%rax
  movzwl (%rax),%eax
  movzwl %ax,%eax
  pxor   %xmm3,%xmm3
  cvtsi2sd %eax,%xmm3
  movsd  %xmm3,-0xc0(%rbp)
  pxor   %xmm1,%xmm1
  cvtsi2sdl -0x88(%rbp),%xmm1
  movsd  D116(%rip),%xmm0
  mulsd  %xmm1,%xmm0
  pxor   %xmm1,%xmm1
  cvtsi2sdl -0x98(%rbp),%xmm1
  divsd  %xmm1,%xmm0
  movq   %xmm0,%rax
  movq   %rax,%xmm0
  call   <cos@plt>
  movsd  D154(%rip),%xmm1
  mulsd  %xmm0,%xmm1
  movsd  D80(%rip),%xmm0
  subsd  %xmm1,%xmm0
  movsd  %xmm0,-0xc8(%rbp)
  pxor   %xmm1,%xmm1
  cvtsi2sdl -0x88(%rbp),%xmm1
  movsd  D208(%rip),%xmm0
  mulsd  %xmm1,%xmm0
  pxor   %xmm1,%xmm1
  cvtsi2sdl -0x98(%rbp),%xmm1
  movapd %xmm0,%xmm3
  divsd  %xmm1,%xmm3
  movq   %xmm3,%rax
  movq   %rax,%xmm0
  call   <cos@plt>
  movsd  D98(%rip),%xmm1
  mulsd  %xmm1,%xmm0
  movsd  -0xc8(%rbp),%xmm1
  addsd  %xmm0,%xmm1
  movsd  D140(%rip),%xmm0
  mulsd  %xmm1,%xmm0
  mov    -0x88(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x60(%rbp),%rax
  add    %rdx,%rax
  mulsd  -0xc0(%rbp),%xmm0
  movsd  %xmm0,(%rax)
  jmp    L191
L324:
  mov    -0x88(%rbp),%eax
  cltq
  lea    (%rax,%rax,1),%rdx
  mov    -0xa8(%rbp),%rax
  add    %rdx,%rax
  movzwl (%rax),%edx
  mov    -0x88(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rcx
  mov    -0x60(%rbp),%rax
  add    %rcx,%rax
  movzwl %dx,%edx
  pxor   %xmm0,%xmm0
  cvtsi2sd %edx,%xmm0
  movsd  %xmm0,(%rax)
  jmp    L191
L170:
  mov    -0x88(%rbp),%eax
  cltq
  lea    (%rax,%rax,1),%rdx
  mov    -0xa8(%rbp),%rax
  add    %rdx,%rax
  movzwl (%rax),%eax
  movzwl %ax,%eax
  pxor   %xmm4,%xmm4
  cvtsi2sd %eax,%xmm4
  movsd  %xmm4,-0xc0(%rbp)
  pxor   %xmm1,%xmm1
  cvtsi2sdl -0x88(%rbp),%xmm1
  movsd  D116(%rip),%xmm0
  mulsd  %xmm1,%xmm0
  pxor   %xmm1,%xmm1
  cvtsi2sdl -0x98(%rbp),%xmm1
  divsd  %xmm1,%xmm0
  movq   %xmm0,%rax
  movq   %rax,%xmm0
  call   <cos@plt>
  movsd  D154(%rip),%xmm1
  mulsd  %xmm0,%xmm1
  movsd  D80(%rip),%xmm0
  subsd  %xmm1,%xmm0
  movsd  %xmm0,-0xc8(%rbp)
  pxor   %xmm1,%xmm1
  cvtsi2sdl -0x88(%rbp),%xmm1
  movsd  D208(%rip),%xmm0
  mulsd  %xmm1,%xmm0
  pxor   %xmm1,%xmm1
  cvtsi2sdl -0x98(%rbp),%xmm1
  movapd %xmm0,%xmm4
  divsd  %xmm1,%xmm4
  movq   %xmm4,%rax
  movq   %rax,%xmm0
  call   <cos@plt>
  movsd  D98(%rip),%xmm1
  mulsd  %xmm1,%xmm0
  movsd  -0xc8(%rbp),%xmm1
  addsd  %xmm0,%xmm1
  movsd  D140(%rip),%xmm0
  mulsd  %xmm1,%xmm0
  mov    -0x88(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x60(%rbp),%rax
  add    %rdx,%rax
  mulsd  -0xc0(%rbp),%xmm0
  movsd  %xmm0,(%rax)
  nop
L191:
  addl   $0x1,-0x88(%rbp)
L268:
  mov    -0x88(%rbp),%eax
  cmp    -0x98(%rbp),%eax
  jl     L205
  movl   $0x0,-0x90(%rbp)
  jmp    L98
L194:
  mov    -0x9c(%rbp),%eax
  sub    -0x90(%rbp),%eax
  mov    %eax,%esi
  mov    $0x2,%edi
  call   <pow@plt>
  mov    %eax,-0x7c(%rbp)
  mov    -0x7c(%rbp),%eax
  mov    %eax,%edx
  shr    $0x1f,%edx
  add    %edx,%eax
  sar    %eax
  mov    %eax,-0x78(%rbp)
  movsd  D161(%rip),%xmm0
  movsd  %xmm0,-0x70(%rbp)
  pxor   %xmm0,%xmm0
  movsd  %xmm0,-0x68(%rbp)
  pxor   %xmm1,%xmm1
  cvtsi2sdl -0x78(%rbp),%xmm1
  movsd  D163(%rip),%xmm0
  divsd  %xmm1,%xmm0
  movsd  %xmm0,-0x40(%rbp)
  mov    -0x40(%rbp),%rax
  movq   %rax,%xmm0
  call   <cos@plt>
  movq   %xmm0,%rax
  mov    %rax,-0x38(%rbp)
  mov    -0x40(%rbp),%rax
  movq   %rax,%xmm0
  call   <sin@plt>
  movq   %xmm0,%rax
  movq   D191(%rip),%xmm0
  movq   %rax,%xmm5
  xorpd  %xmm0,%xmm5
  movapd %xmm5,%xmm0
  movsd  %xmm0,-0x30(%rbp)
  movl   $0x0,-0x8c(%rbp)
  jmp    L62
L316:
  mov    -0x8c(%rbp),%eax
  mov    %eax,-0x88(%rbp)
  jmp    L138
L111:
  mov    -0x88(%rbp),%edx
  mov    -0x78(%rbp),%eax
  add    %edx,%eax
  mov    %eax,-0x74(%rbp)
  mov    -0x88(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x60(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm1
  mov    -0x74(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x60(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  addsd  %xmm1,%xmm0
  movsd  %xmm0,-0x50(%rbp)
  mov    -0x88(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x58(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm1
  mov    -0x74(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x58(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  addsd  %xmm1,%xmm0
  movsd  %xmm0,-0x48(%rbp)
  mov    -0x88(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x60(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mov    -0x74(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x60(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm1
  subsd  %xmm1,%xmm0
  movsd  %xmm0,-0x20(%rbp)
  mov    -0x88(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x58(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mov    -0x74(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x58(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm1
  subsd  %xmm1,%xmm0
  movsd  %xmm0,-0x18(%rbp)
  movsd  -0x20(%rbp),%xmm0
  mulsd  -0x70(%rbp),%xmm0
  movsd  -0x18(%rbp),%xmm1
  mulsd  -0x68(%rbp),%xmm1
  mov    -0x74(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x60(%rbp),%rax
  add    %rdx,%rax
  subsd  %xmm1,%xmm0
  movsd  %xmm0,(%rax)
  movsd  -0x18(%rbp),%xmm0
  movapd %xmm0,%xmm1
  mulsd  -0x70(%rbp),%xmm1
  movsd  -0x20(%rbp),%xmm0
  mulsd  -0x68(%rbp),%xmm0
  mov    -0x74(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x58(%rbp),%rax
  add    %rdx,%rax
  addsd  %xmm1,%xmm0
  movsd  %xmm0,(%rax)
  mov    -0x88(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x60(%rbp),%rax
  add    %rdx,%rax
  movsd  -0x50(%rbp),%xmm0
  movsd  %xmm0,(%rax)
  mov    -0x88(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x58(%rbp),%rax
  add    %rdx,%rax
  movsd  -0x48(%rbp),%xmm0
  movsd  %xmm0,(%rax)
  mov    -0x7c(%rbp),%eax
  add    %eax,-0x88(%rbp)
L138:
  mov    -0x88(%rbp),%eax
  cmp    -0x98(%rbp),%eax
  jl     L111
  movsd  -0x70(%rbp),%xmm0
  mulsd  -0x38(%rbp),%xmm0
  movsd  -0x68(%rbp),%xmm1
  mulsd  -0x30(%rbp),%xmm1
  subsd  %xmm1,%xmm0
  movsd  %xmm0,-0x28(%rbp)
  movsd  -0x68(%rbp),%xmm0
  movapd %xmm0,%xmm1
  mulsd  -0x38(%rbp),%xmm1
  movsd  -0x70(%rbp),%xmm0
  mulsd  -0x30(%rbp),%xmm0
  addsd  %xmm1,%xmm0
  movsd  %xmm0,-0x68(%rbp)
  movsd  -0x28(%rbp),%xmm0
  movsd  %xmm0,-0x70(%rbp)
  addl   $0x1,-0x8c(%rbp)
L62:
  mov    -0x8c(%rbp),%eax
  cmp    -0x78(%rbp),%eax
  jl     L316
  addl   $0x1,-0x90(%rbp)
L98:
  mov    -0x90(%rbp),%eax
  cmp    -0x9c(%rbp),%eax
  jl     L194
  mov    -0x98(%rbp),%eax
  mov    %eax,%edx
  shr    $0x1f,%edx
  add    %edx,%eax
  sar    %eax
  mov    %eax,-0x84(%rbp)
  mov    -0x98(%rbp),%eax
  sub    $0x1,%eax
  mov    %eax,-0x80(%rbp)
  movl   $0x0,-0x8c(%rbp)
  movl   $0x0,-0x88(%rbp)
  jmp    L113
L168:
  mov    -0x88(%rbp),%eax
  cmp    -0x8c(%rbp),%eax
  jg     L5
  mov    -0x8c(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x60(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  movsd  %xmm0,-0x50(%rbp)
  mov    -0x8c(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x58(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  movsd  %xmm0,-0x48(%rbp)
  mov    -0x88(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x60(%rbp),%rax
  add    %rax,%rdx
  mov    -0x8c(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rcx
  mov    -0x60(%rbp),%rax
  add    %rcx,%rax
  movsd  (%rdx),%xmm0
  movsd  %xmm0,(%rax)
  mov    -0x88(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x58(%rbp),%rax
  add    %rax,%rdx
  mov    -0x8c(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rcx
  mov    -0x58(%rbp),%rax
  add    %rcx,%rax
  movsd  (%rdx),%xmm0
  movsd  %xmm0,(%rax)
  mov    -0x88(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x60(%rbp),%rax
  add    %rdx,%rax
  movsd  -0x50(%rbp),%xmm0
  movsd  %xmm0,(%rax)
  mov    -0x88(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x58(%rbp),%rax
  add    %rdx,%rax
  movsd  -0x48(%rbp),%xmm0
  movsd  %xmm0,(%rax)
  jmp    L166
L5:
  nop
L166:
  mov    -0x84(%rbp),%eax
  mov    %eax,-0x94(%rbp)
L157:
  mov    -0x94(%rbp),%eax
  cmp    -0x8c(%rbp),%eax
  jg     L224
  mov    -0x94(%rbp),%eax
  sub    %eax,-0x8c(%rbp)
  mov    -0x94(%rbp),%eax
  mov    %eax,%edx
  shr    $0x1f,%edx
  add    %edx,%eax
  sar    %eax
  mov    %eax,-0x94(%rbp)
  jmp    L157
L224:
  nop
  mov    -0x94(%rbp),%eax
  add    %eax,-0x8c(%rbp)
  addl   $0x1,-0x88(%rbp)
L113:
  mov    -0x88(%rbp),%eax
  cmp    -0x80(%rbp),%eax
  jl     L168
  mov    -0x58(%rbp),%rax
  movsd  (%rax),%xmm0
  pxor   %xmm1,%xmm1
  cvtsi2sdl -0x98(%rbp),%xmm1
  divsd  %xmm1,%xmm0
  mov    -0x58(%rbp),%rax
  movsd  %xmm0,(%rax)
  mov    -0x60(%rbp),%rax
  movsd  (%rax),%xmm0
  pxor   %xmm1,%xmm1
  cvtsi2sdl -0x98(%rbp),%xmm1
  divsd  %xmm1,%xmm0
  mov    -0x60(%rbp),%rax
  movsd  %xmm0,(%rax)
  mov    -0x60(%rbp),%rax
  movsd  (%rax),%xmm1
  mov    -0x60(%rbp),%rax
  movsd  (%rax),%xmm0
  mulsd  %xmm0,%xmm1
  mov    -0x58(%rbp),%rax
  movsd  (%rax),%xmm2
  mov    -0x58(%rbp),%rax
  movsd  (%rax),%xmm0
  mulsd  %xmm2,%xmm0
  addsd  %xmm0,%xmm1
  movq   %xmm1,%rax
  movq   %rax,%xmm0
  call   <sqrt@plt>
  movq   %xmm0,%rax
  mov    -0xb0(%rbp),%rdx
  mov    %rax,(%rdx)
  movl   $0x1,-0x88(%rbp)
  jmp    L101
L259:
  mov    -0x88(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x58(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  addsd  %xmm0,%xmm0
  pxor   %xmm1,%xmm1
  cvtsi2sdl -0x98(%rbp),%xmm1
  mov    -0x88(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x58(%rbp),%rax
  add    %rdx,%rax
  divsd  %xmm1,%xmm0
  movsd  %xmm0,(%rax)
  mov    -0x88(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x60(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  addsd  %xmm0,%xmm0
  pxor   %xmm1,%xmm1
  cvtsi2sdl -0x98(%rbp),%xmm1
  mov    -0x88(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x60(%rbp),%rax
  add    %rdx,%rax
  divsd  %xmm1,%xmm0
  movsd  %xmm0,(%rax)
  mov    -0x88(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x60(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm1
  mov    -0x88(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x60(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mulsd  %xmm0,%xmm1
  mov    -0x88(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x58(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm2
  mov    -0x88(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x58(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mulsd  %xmm2,%xmm0
  addsd  %xmm0,%xmm1
  movq   %xmm1,%rax
  mov    -0x88(%rbp),%edx
  movslq %edx,%rdx
  lea    0x0(,%rdx,8),%rcx
  mov    -0xb0(%rbp),%rdx
  lea    (%rcx,%rdx,1),%rbx
  movq   %rax,%xmm0
  call   <sqrt@plt>
  movq   %xmm0,%rax
  mov    %rax,(%rbx)
  addl   $0x1,-0x88(%rbp)
L101:
  mov    -0x98(%rbp),%eax
  mov    %eax,%edx
  shr    $0x1f,%edx
  add    %edx,%eax
  sar    %eax
  cmp    %eax,-0x88(%rbp)
  jl     L259
  movl   $0x0,-0x88(%rbp)
  jmp    L128
L279:
  mov    -0x88(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0xb0(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  movsd  D143(%rip),%xmm2
  movapd %xmm0,%xmm1
  divsd  %xmm2,%xmm1
  movsd  D215(%rip),%xmm0
  addsd  %xmm0,%xmm1
  movq   %xmm1,%rax
  movq   %rax,%xmm0
  call   <log10@plt>
  mov    %eax,%edx
  mov    %edx,%eax
  shl    $0x2,%eax
  add    %edx,%eax
  shl    $0x2,%eax
  mov    %eax,%ecx
  mov    -0x88(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0xb0(%rbp),%rax
  add    %rdx,%rax
  pxor   %xmm0,%xmm0
  cvtsi2sd %ecx,%xmm0
  movsd  %xmm0,(%rax)
  addl   $0x1,-0x88(%rbp)
L128:
  mov    -0x98(%rbp),%eax
  mov    %eax,%edx
  shr    $0x1f,%edx
  add    %edx,%eax
  sar    %eax
  cmp    %eax,-0x88(%rbp)
  jl     L279
  mov    -0x60(%rbp),%rax
  mov    %rax,%rdi
  call   <free@plt>
  mov    -0x58(%rbp),%rax
  mov    %rax,%rdi
  call   <free@plt>
  mov    -0x98(%rbp),%eax
  mov    %eax,%edx
  shr    $0x1f,%edx
  add    %edx,%eax
  sar    %eax
  mov    -0x8(%rbp),%rbx
  leave
  ret
```

tool_calls: name: extract_symbolic_data
arguments: tag: D116
type_infered: byte[8]
name: extract_symbolic_data
arguments: tag: D115
type_infered: f64
name: extract_symbolic_data
arguments: tag: D20
type_infered: f64
name: extract_symbolic_data
arguments: tag: D204
type_infered: f64
name: extract_symbolic_data
arguments: tag: D154
type_infered: f64
name: extract_symbolic_data
arguments: tag: D80
type_infered: f64
name: extract_symbolic_data
arguments: tag: D208
type_infered: byte[8]
name: extract_symbolic_data
arguments: tag: D98
type_infered: f64
name: extract_symbolic_data
arguments: tag: D140
type_infered: f64
name: extract_symbolic_data
arguments: tag: D161
type_infered: f64
name: extract_symbolic_data
arguments: tag: D163
type_infered: f64
name: extract_symbolic_data
arguments: tag: D191
type_infered: f32[2]
name: extract_symbolic_data
arguments: tag: D143
type_infered: f32[2]
name: extract_symbolic_data
arguments: tag: D215
type_infered: f64

tool: {"D116": [0x38,0xe9,0x2f,0x54,0xfb,0x21,0x19,0x40]}

tool: D115: 0.5

tool: D20: 0.46

tool: D204: 0.54

tool: D154: 0.49755

tool: D80: 0.42323

tool: {"D208": [0x38,0xe9,0x2f,0x54,0xfb,0x21,0x29,0x40]}

tool: D98: 0.07922

tool: D140: 2.4

tool: D161: 1

tool: D163: 3.141592653

tool: {"D191": [0.0,-0.0]}

tool: {"D143": [0.0,5.5]}

tool: D215: 1e-07

assistant: ```c
int FFT(unsigned short *wave, double *fft, int ns, int WindowType) {
  int m, n, ip, le, le1, nm1, k, l, j, i, nv2;
  double u1, u2, u3, arg, c, s, t1, t2, t3, t4;
  double *x, *y;
  i = 1;
  while ((int)pow(2, i) < ns)
    i++;
  if (ns == (int)(pow(2, i))) {
    m = i;
    n = ns;
  } else {
    m = i - 1;
    n = (int)pow(2, m);
  }
  x = malloc(n * sizeof(double));
  y = malloc(n * sizeof(double));
  for (i = 0; i < n; i++) {
    y[i] = 0.0;
    switch (WindowType) {
    case 0:
      x[i] = wave[i] * (0.5 - 0.5 * cos(2 * 3.141592653 * i / n));
      break;
    case 1:
      x[i] = wave[i] * (0.54 - 0.46 * cos(2 * 3.141592653 * i / n));
      break;
    case 2:
      x[i] = wave[i] * (2.4 * (0.42323 - 0.49755 * cos(2 * 3.141592653 * i / n) + 0.07922 * cos(4 * 3.141592653 * i / n)));
      break;
    case 3:
      x[i] = wave[i];
      break;
    default:
      x[i] = wave[i] * (2.4 * (0.42323 - 0.49755 * cos(2 * 3.141592653 * (i) / n) + 0.07922 * cos(4 * 3.141592653 * (i) / n)));
      break;
    }
  }
  for (l = 0; l < m; l++) {
    le = (int)pow(2, m - l);
    le1 = le / 2;
    u1 = 1.0;
    u2 = 0.0;
    arg = 3.141592653 / le1;
    c = cos(arg);
    s = -sin(arg);
    for (j = 0; j < le1; j++) {
      for (i = j; i < n; i = i + le) {
        ip = i + le1;
        t1 = x[i] + x[ip];
        t2 = y[i] + y[ip];
        t3 = x[i] - x[ip];
        t4 = y[i] - y[ip];
        x[ip] = t3 * u1 - t4 * u2;
        y[ip] = t4 * u1 + t3 * u2;
        x[i] = t1;
        y[i] = t2;
      }
      u3 = u1 * c - u2 * s;
      u2 = u2 * c + u1 * s;
      u1 = u3;
    }
  }
  nv2 = n / 2;
  nm1 = n - 1;
  j = 0;
  i = 0;
  while (i < nm1) {
    if (i > j)
      goto rif;
    t1 = x[j];
    t2 = y[j];
    x[j] = x[i];
    y[j] = y[i];
    x[i] = t1;
    y[i] = t2;
  rif:
    k = nv2;
  rife:
    if (k > j)
      goto rifer;
    j = j - k;
    k = k / 2;
    goto rife;
  rifer:
    j = j + k;
    i++;
  }
  y[0] = y[0] / n;
  x[0] = x[0] / n;
  fft[0] = sqrt(x[0] * x[0] + y[0] * y[0]);
  for (i = 1; i < n / 2; i++) {
    y[i] = 2 * y[i] / n;
    x[i] = 2 * x[i] / n;
    fft[i] = sqrt(x[i] * x[i] + y[i] * y[i]);
  }
  for (i = 0; i < n / 2; i++)
    fft[i] = 20 * log10(fft[i] / 4096 + 0.0000001);
  free(x);
  free(y);
  return (n / 2);
}
```