user: Translate the below assembly code into C programming language:

```asm
<cftbsub>:
  endbr64
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  mov    %rsi,%rbx
  cmp    $0x8,%edi
  jg     L143
  lea    0x10(%rsi),%rdx
  mov    $0x2,%ebp
  je     L207
L118:
  movq   D30(%rip),%xmm4
  add    $0x8,%rbx
  xor    %eax,%eax
  nopl   0x0(%rax)
L187:
  movsd  (%rdx),%xmm5
  movsd  -0x8(%rbx),%xmm1
  add    $0x2,%eax
  add    $0x10,%rdx
  movsd  (%rbx),%xmm0
  movsd  -0x8(%rdx),%xmm3
  add    $0x10,%rbx
  movapd %xmm1,%xmm2
  addsd  %xmm5,%xmm1
  subsd  %xmm0,%xmm3
  subsd  %xmm5,%xmm2
  xorpd  %xmm4,%xmm0
  movsd  %xmm1,-0x18(%rbx)
  subsd  -0x8(%rdx),%xmm0
  unpcklpd %xmm3,%xmm2
  movsd  %xmm0,-0x10(%rbx)
  movups %xmm2,-0x10(%rdx)
  cmp    %eax,%ebp
  jg     L187
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  ret
  nopl   (%rax)
L143:
  mov    %edi,%r12d
  call   <cft1st@plt>
  cmp    $0x20,%r12d
  jle    L104
  mov    $0x8,%esi
  mov    $0x20,%ebp
  jmp    L88
  xchg   %ax,%ax
L152:
  mov    %eax,%ebp
L88:
  mov    %rbx,%rdx
  mov    %r12d,%edi
  call   <cftmdl@plt>
  lea    0x0(,%rbp,4),%eax
  mov    %ebp,%esi
  cmp    %r12d,%eax
  jl     L152
  je     L72
  test   %ebp,%ebp
  jle    L151
L10:
  movslq %ebp,%rax
  lea    0x20(%rbx),%r8
  lea    (%rbx,%rax,8),%rdx
  lea    0x20(,%rax,8),%rcx
  cmp    %r8,%rdx
  jb     L118
  cmp    $0x4,%ebp
  jle    L118
  lea    -0x1(%rbp),%eax
  xor    %edi,%edi
  lea    -0x18(%rbx,%rcx,1),%rcx
  movapd D39(%rip),%xmm4
  shr    %eax
  test   %ebp,%ebp
  setg   %dil
  imul   %eax,%edi
  mov    %rbx,%rax
  mov    %edi,%esi
  shr    %esi
  sub    $0x1,%esi
  shl    $0x5,%rsi
  add    %r8,%rsi
  nopl   0x0(%rax)
L58:
  movupd (%rax),%xmm2
  movupd (%rdx),%xmm5
  add    $0x20,%rax
  add    $0x20,%rdx
  movupd -0x10(%rdx),%xmm1
  movupd -0x10(%rax),%xmm0
  add    $0x20,%rcx
  movlpd -0x18(%rax),%xmm0
  movlpd -0x18(%rdx),%xmm1
  movhpd -0x10(%rax),%xmm2
  movhpd -0x10(%rdx),%xmm5
  movapd %xmm2,%xmm3
  addpd  %xmm5,%xmm2
  subpd  %xmm0,%xmm1
  movupd -0x18(%rax),%xmm0
  subpd  %xmm5,%xmm3
  movupd -0x20(%rcx),%xmm5
  movhpd -0x8(%rax),%xmm0
  movhpd -0x10(%rcx),%xmm5
  xorpd  %xmm4,%xmm0
  subpd  %xmm5,%xmm0
  movapd %xmm2,%xmm5
  unpcklpd %xmm0,%xmm5
  unpckhpd %xmm0,%xmm2
  movapd %xmm3,%xmm0
  unpcklpd %xmm1,%xmm0
  unpckhpd %xmm1,%xmm3
  movups %xmm5,-0x20(%rax)
  movups %xmm2,-0x10(%rax)
  movups %xmm0,-0x20(%rdx)
  movups %xmm3,-0x10(%rdx)
  cmp    %rsi,%rax
  jne    L58
  and    $0xfffffffe,%edi
  lea    (%rdi,%rdi,1),%eax
  lea    0x0(%rbp,%rax,1),%edx
  movslq %eax,%r9
  movslq %edx,%rdx
  lea    0x0(,%r9,8),%rsi
  shl    $0x3,%rdx
  lea    (%rbx,%rsi,1),%r8
  lea    (%rbx,%rdx,1),%rcx
  movsd  (%r8),%xmm0
  lea    0x8(%rbx,%rdx,1),%rdi
  movsd  (%rcx),%xmm3
  lea    0x8(%rbx,%r9,8),%rdx
  movsd  (%rdi),%xmm2
  movapd %xmm0,%xmm1
  subsd  (%rdx),%xmm2
  addsd  %xmm3,%xmm0
  subsd  %xmm3,%xmm1
  movq   D30(%rip),%xmm3
  movsd  %xmm0,(%r8)
  movsd  (%rdx),%xmm0
  unpcklpd %xmm2,%xmm1
  xorpd  %xmm3,%xmm0
  subsd  (%rdi),%xmm0
  movsd  %xmm0,(%rdx)
  lea    0x2(%rax),%edx
  movups %xmm1,(%rcx)
  cmp    %ebp,%edx
  jge    L151
  add    %ebp,%edx
  lea    0x10(%rbx,%rsi,1),%rsi
  add    $0x3,%eax
  movslq %edx,%rdx
  movsd  (%rsi),%xmm0
  cltq
  shl    $0x3,%rdx
  lea    (%rbx,%rax,8),%rax
  lea    (%rbx,%rdx,1),%rcx
  movapd %xmm0,%xmm1
  lea    0x8(%rbx,%rdx,1),%rdx
  movsd  (%rcx),%xmm4
  movsd  (%rdx),%xmm2
  subsd  (%rax),%xmm2
  addsd  %xmm4,%xmm0
  subsd  %xmm4,%xmm1
  movsd  %xmm0,(%rsi)
  movsd  (%rax),%xmm0
  unpcklpd %xmm2,%xmm1
  xorpd  %xmm3,%xmm0
  subsd  (%rdx),%xmm0
  movsd  %xmm0,(%rax)
  movups %xmm1,(%rcx)
L151:
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  ret
  nopl   (%rax)
L207:
  lea    0x30(%rsi),%rdx
  mov    $0x20,%r9d
  mov    $0x10,%edi
  mov    $0x2,%ebp
L25:
  sub    %r9,%rdx
  movq   D30(%rip),%xmm4
  xor    %eax,%eax
  lea    (%rdx,%rdi,1),%rcx
  lea    (%rcx,%rdi,1),%rsi
  nopl   0x0(%rax)
L197:
  movupd (%rcx),%xmm6
  movsd  (%rdx),%xmm5
  add    $0x10,%rcx
  add    $0x10,%rdx
  movsd  0x8(%rbx,%rax,8),%xmm2
  movsd  -0x8(%rdx),%xmm0
  add    $0x10,%rsi
  movupd -0x10(%rsi),%xmm13
  movsd  (%rbx,%rax,8),%xmm1
  movapd %xmm5,%xmm9
  movapd %xmm2,%xmm3
  xorpd  %xmm4,%xmm3
  addsd  %xmm1,%xmm9
  subsd  %xmm5,%xmm1
  subsd  %xmm0,%xmm3
  subsd  %xmm2,%xmm0
  movupd -0x10(%rsi),%xmm2
  subpd  %xmm2,%xmm6
  movupd -0x10(%rcx),%xmm2
  movapd %xmm9,%xmm7
  unpcklpd %xmm3,%xmm7
  movapd %xmm0,%xmm5
  addpd  %xmm13,%xmm2
  unpcklpd %xmm1,%xmm5
  addpd  %xmm6,%xmm5
  subsd  %xmm6,%xmm0
  movapd %xmm2,%xmm12
  movapd %xmm2,%xmm8
  unpckhpd %xmm12,%xmm12
  addsd  %xmm9,%xmm8
  shufpd $0x1,%xmm5,%xmm5
  subsd  %xmm12,%xmm3
  movsd  %xmm8,(%rbx,%rax,8)
  movsd  %xmm3,0x8(%rbx,%rax,8)
  movapd %xmm7,%xmm3
  add    $0x2,%rax
  subpd  %xmm2,%xmm3
  addpd  %xmm7,%xmm2
  movapd %xmm6,%xmm7
  unpckhpd %xmm7,%xmm7
  subsd  %xmm7,%xmm1
  movsd  %xmm3,%xmm2
  movups %xmm2,-0x10(%rcx)
  movsd  %xmm1,-0x10(%rdx)
  movsd  %xmm0,-0x8(%rdx)
  movups %xmm5,-0x10(%rsi)
  cmp    %eax,%ebp
  jg     L197
  jmp    L151
  nopl   (%rax)
L72:
  test   %ebp,%ebp
  jle    L151
L117:
  movslq %ebp,%rax
  lea    0x20(%rbx),%r10
  lea    (%rax,%rax,2),%r8
  lea    0x0(,%rax,8),%rdi
  mov    %rax,%r9
  shl    $0x3,%r8
  lea    0x20(,%rax,8),%r14
  shl    $0x4,%r9
  lea    (%rbx,%rdi,1),%rsi
  lea    0x20(%r8),%r12
  lea    0x20(%r9),%r11
  cmp    %rdi,%r12
  lea    (%rsi,%rdi,1),%rcx
  setle  %al
  cmp    %r14,%r8
  lea    (%rcx,%rdi,1),%rdx
  setge  %r13b
  or     %r13d,%eax
  cmp    %r11,%rdi
  setge  %r13b
  cmp    %r14,%r9
  setge  %r14b
  or     %r14d,%r13d
  and    %r13d,%eax
  cmp    $0x2,%ebp
  setg   %r13b
  and    %r13d,%eax
  cmp    %r10,%rsi
  setae  %r13b
  and    %r13d,%eax
  cmp    %r9,%r12
  setle  %r12b
  cmp    %r11,%r8
  setge  %r8b
  or     %r12d,%r8d
  and    %r8d,%eax
  cmp    %r10,%rcx
  setae  %r8b
  test   %r8b,%al
  je     L25
  cmp    %r10,%rdx
  jb     L25
  lea    -0x1(%rbp),%r8d
  mov    $0x1,%eax
  movapd D39(%rip),%xmm4
  shr    %r8d
  add    $0x1,%r8d
  test   %ebp,%ebp
  cmovle %eax,%r8d
  xor    %eax,%eax
  mov    %r8d,%edi
  shr    %edi
  shl    $0x5,%rdi
  nopl   0x0(%rax,%rax,1)
L131:
  movupd (%rbx,%rax,1),%xmm0
  movupd 0x10(%rbx,%rax,1),%xmm5
  movlpd 0x8(%rbx,%rax,1),%xmm5
  movupd (%rsi,%rax,1),%xmm6
  movhpd 0x10(%rbx,%rax,1),%xmm0
  movupd 0x10(%rsi,%rax,1),%xmm2
  movlpd 0x8(%rsi,%rax,1),%xmm2
  movapd %xmm5,%xmm3
  movhpd 0x10(%rsi,%rax,1),%xmm6
  movupd (%rcx,%rax,1),%xmm8
  movapd %xmm0,%xmm1
  movapd %xmm0,%xmm7
  xorpd  %xmm4,%xmm3
  movupd (%rdx,%rax,1),%xmm0
  addpd  %xmm6,%xmm1
  subpd  %xmm2,%xmm3
  subpd  %xmm6,%xmm7
  movupd 0x10(%rcx,%rax,1),%xmm6
  movlpd 0x8(%rcx,%rax,1),%xmm6
  subpd  %xmm5,%xmm2
  movupd 0x10(%rdx,%rax,1),%xmm5
  movlpd 0x8(%rdx,%rax,1),%xmm5
  movhpd 0x10(%rcx,%rax,1),%xmm8
  movhpd 0x10(%rdx,%rax,1),%xmm0
  movapd %xmm8,%xmm10
  movapd %xmm6,%xmm9
  subpd  %xmm5,%xmm6
  addpd  %xmm0,%xmm10
  addpd  %xmm5,%xmm9
  subpd  %xmm0,%xmm8
  movapd %xmm1,%xmm5
  movapd %xmm6,%xmm0
  movapd %xmm3,%xmm6
  addpd  %xmm10,%xmm5
  subpd  %xmm9,%xmm6
  addpd  %xmm9,%xmm3
  subpd  %xmm10,%xmm1
  movapd %xmm5,%xmm11
  unpckhpd %xmm6,%xmm5
  unpcklpd %xmm6,%xmm11
  movups %xmm5,0x10(%rbx,%rax,1)
  movapd %xmm1,%xmm5
  unpckhpd %xmm3,%xmm1
  movups %xmm11,(%rbx,%rax,1)
  unpcklpd %xmm3,%xmm5
  movapd %xmm2,%xmm3
  addpd  %xmm8,%xmm2
  movups %xmm1,0x10(%rcx,%rax,1)
  movapd %xmm7,%xmm1
  subpd  %xmm8,%xmm3
  subpd  %xmm0,%xmm1
  addpd  %xmm7,%xmm0
  movups %xmm5,(%rcx,%rax,1)
  movapd %xmm1,%xmm5
  unpckhpd %xmm3,%xmm1
  movups %xmm1,0x10(%rsi,%rax,1)
  movapd %xmm2,%xmm1
  movapd %xmm0,%xmm2
  unpcklpd %xmm3,%xmm5
  unpcklpd %xmm1,%xmm2
  unpckhpd %xmm1,%xmm0
  movups %xmm5,(%rsi,%rax,1)
  movups %xmm2,(%rdx,%rax,1)
  movups %xmm0,0x10(%rdx,%rax,1)
  add    $0x20,%rax
  cmp    %rax,%rdi
  jne    L131
  mov    %r8d,%eax
  and    $0xfffffffe,%eax
  lea    (%rax,%rax,1),%edx
  cmp    %r8d,%eax
  je     L151
  lea    (%rdx,%rbp,1),%eax
  movslq %edx,%rdx
  lea    0x0(%rbp,%rax,1),%ecx
  cltq
  lea    (%rbx,%rdx,8),%rdi
  shl    $0x3,%rax
  lea    0x8(%rbx,%rdx,8),%r8
  movsd  (%rdi),%xmm1
  lea    (%rbx,%rax,1),%rsi
  lea    0x8(%rbx,%rax,1),%rdx
  movslq %ecx,%rax
  movsd  (%r8),%xmm3
  movsd  (%rsi),%xmm5
  lea    (%rbx,%rax,8),%r9
  lea    0x0(%rbp,%rcx,1),%eax
  movsd  (%rdx),%xmm0
  cltq
  movupd (%r9),%xmm2
  movapd %xmm3,%xmm4
  movupd (%r9),%xmm7
  lea    (%rbx,%rax,8),%rax
  movapd %xmm5,%xmm6
  xorpd  D30(%rip),%xmm4
  addsd  %xmm1,%xmm6
  subsd  %xmm5,%xmm1
  movupd (%rax),%xmm5
  subsd  %xmm0,%xmm4
  subsd  %xmm3,%xmm0
  movupd (%rax),%xmm3
  addpd  %xmm5,%xmm2
  movapd %xmm6,%xmm8
  subpd  %xmm3,%xmm7
  unpcklpd %xmm4,%xmm8
  movapd %xmm0,%xmm3
  movapd %xmm2,%xmm5
  unpcklpd %xmm1,%xmm3
  addsd  %xmm6,%xmm5
  movapd %xmm2,%xmm6
  addpd  %xmm7,%xmm3
  unpckhpd %xmm6,%xmm6
  subsd  %xmm7,%xmm0
  subsd  %xmm6,%xmm4
  movsd  %xmm5,(%rdi)
  shufpd $0x1,%xmm3,%xmm3
  movsd  %xmm4,(%r8)
  movapd %xmm8,%xmm4
  subpd  %xmm2,%xmm4
  addpd  %xmm8,%xmm2
  movsd  %xmm4,%xmm2
  movapd %xmm7,%xmm4
  unpckhpd %xmm4,%xmm4
  movups %xmm2,(%r9)
  subsd  %xmm4,%xmm1
  movsd  %xmm1,(%rsi)
  movsd  %xmm0,(%rdx)
  movups %xmm3,(%rax)
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  ret
L104:
  mov    $0x8,%ebp
  jne    L10
  jmp    L117
```

tool_calls: name: disassemble_data
arguments: data_label: D30
type_infered: byte[16]
name: disassemble_data
arguments: data_label: D39
type_infered: byte[16]

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

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

assistant: ```c
void cftbsub(int n, double *a) {
  void cft1st(int n, double *a);
  void cftmdl(int n, int l, double *a);
  int j, j1, j2, j3, l;
  double x0r, x0i, x1r, x1i, x2r, x2i, x3r, x3i;
  l = 2;
  if (n > 8) {
    cft1st(n, a);
    l = 8;
    while ((l << 2) < n) {
      cftmdl(n, l, a);
      l <<= 2;
    }
  }
  if ((l << 2) == n) {
    for (j = 0; j < l; j += 2) {
      j1 = j + l;
      j2 = j1 + l;
      j3 = j2 + l;
      x0r = a[j] + a[j1];
      x0i = -a[j + 1] - a[j1 + 1];
      x1r = a[j] - a[j1];
      x1i = -a[j + 1] + a[j1 + 1];
      x2r = a[j2] + a[j3];
      x2i = a[j2 + 1] + a[j3 + 1];
      x3r = a[j2] - a[j3];
      x3i = a[j2 + 1] - a[j3 + 1];
      a[j] = x0r + x2r;
      a[j + 1] = x0i - x2i;
      a[j2] = x0r - x2r;
      a[j2 + 1] = x0i + x2i;
      a[j1] = x1r - x3i;
      a[j1 + 1] = x1i - x3r;
      a[j3] = x1r + x3i;
      a[j3 + 1] = x1i + x3r;
    }
  } else {
    for (j = 0; j < l; j += 2) {
      j1 = j + l;
      x0r = a[j] - a[j1];
      x0i = -a[j + 1] + a[j1 + 1];
      a[j] += a[j1];
      a[j + 1] = -a[j + 1] - a[j1 + 1];
      a[j1] = x0r;
      a[j1 + 1] = x0i;
    }
  }
}
```