user: What is the c source code of the assembly code below?

```asm
<rdft>:
  endbr64
  push   %r15
  mov    %esi,%r15d
  push   %r14
  push   %r13
  mov    %rcx,%r13
  push   %r12
  mov    %rdx,%r12
  push   %rbp
  mov    %edi,%ebp
  push   %rbx
  mov    %r8,%rbx
  sub    $0x18,%rsp
  mov    (%rcx),%r14d
  lea    0x0(,%r14,4),%eax
  cmp    %edi,%eax
  jl     L111
L110:
  mov    0x4(%r13),%r9d
  lea    0x0(,%r9,4),%eax
  cmp    %ebp,%eax
  jl     L43
L51:
  test   %r15d,%r15d
  js     L0
  cmp    $0x4,%ebp
  jg     L109
  je     L116
L42:
  movq   (%r12),%xmm1
  movaps %xmm1,%xmm0
  shufps $0xe5,%xmm1,%xmm1
  movaps %xmm1,%xmm2
  shufps $0xe0,%xmm0,%xmm0
  addps  %xmm0,%xmm2
  subps  %xmm1,%xmm0
  movss  %xmm2,%xmm0
  movlps %xmm0,(%r12)
L96:
  add    $0x18,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopl   (%rax)
L0:
  movss  (%r12),%xmm0
  movaps %xmm0,%xmm1
  subss  0x4(%r12),%xmm1
  mulss  D4(%rip),%xmm1
  subss  %xmm1,%xmm0
  unpcklps %xmm1,%xmm0
  movlps %xmm0,(%r12)
  cmp    $0x4,%ebp
  jg     L10
  jne    L96
  mov    %rbx,%r8
  mov    %r14d,%ecx
  mov    %r13,%rdx
  mov    %r12,%rsi
  mov    $0x4,%edi
L16:
  add    $0x18,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  jmp    10b0 <cftbsub@plt>
  nopl   0x0(%rax,%rax,1)
L43:
  mov    %ebp,%r9d
  movslq %r14d,%rax
  mov    %r13,%rsi
  sar    $0x2,%r9d
  lea    (%rbx,%rax,4),%rdx
  mov    %r9d,%edi
  mov    %r9d,0xc(%rsp)
  call   <makect@plt>
  mov    0xc(%rsp),%r9d
  jmp    L51
L111:
  mov    %edi,%r14d
  mov    %r8,%rdx
  mov    %rcx,%rsi
  sar    $0x2,%r14d
  mov    %r14d,%edi
  call   <makewt@plt>
  jmp    L110
  nopw   0x0(%rax,%rax,1)
L109:
  mov    %r14d,%ecx
  mov    %r13,%rdx
  mov    %r12,%rsi
  mov    %ebp,%edi
  mov    %rbx,%r8
  mov    %r9d,0xc(%rsp)
  movslq %r14d,%r14
  call   <cftfsub@plt>
  mov    0xc(%rsp),%edx
  lea    (%rbx,%r14,4),%rcx
  mov    %r12,%rsi
  mov    %ebp,%edi
  call   <rftfsub@plt>
  jmp    L42
  nopw   0x0(%rax,%rax,1)
L10:
  movslq %r14d,%rax
  mov    %r9d,%edx
  mov    %r12,%rsi
  mov    %ebp,%edi
  lea    (%rbx,%rax,4),%rcx
  call   <rftbsub@plt>
  mov    %rbx,%r8
  mov    %r14d,%ecx
  mov    %r13,%rdx
  mov    %r12,%rsi
  mov    %ebp,%edi
  jmp    L16
  nop
L116:
  mov    %rbx,%r8
  mov    %r14d,%ecx
  mov    %r13,%rdx
  mov    %r12,%rsi
  mov    $0x4,%edi
  call   <cftfsub@plt>
  jmp    L42
```

tool_calls: name: retrieve_data
arguments: label: D4
data_type: f32

tool: D4: 0.5

assistant: ```c
void rdft(int n, int isgn, float *a, int *ip, float *w) {
  void makewt(int nw, int *ip, float *w);
  void makect(int nc, int *ip, float *c);
  void cftfsub(int n, float *a, int *ip, int nw, float *w);
  void cftbsub(int n, float *a, int *ip, int nw, float *w);
  void rftfsub(int n, float *a, int nc, float *c);
  void rftbsub(int n, float *a, int nc, float *c);
  int nw, nc;
  float xi;
  nw = ip[0];
  if (n > (nw << 2)) {
    nw = n >> 2;
    makewt(nw, ip, w);
  }
  nc = ip[1];
  if (n > (nc << 2)) {
    nc = n >> 2;
    makect(nc, ip, w + nw);
  }
  if (isgn >= 0) {
    if (n > 4) {
      cftfsub(n, a, ip, nw, w);
      rftfsub(n, a, nc, w + nw);
    } else if (n == 4) {
      cftfsub(n, a, ip, nw, w);
    }
    xi = a[0] - a[1];
    a[0] += a[1];
    a[1] = xi;
  } else {
    a[1] = ((float)0.5) * (a[0] - a[1]);
    a[0] -= a[1];
    if (n > 4) {
      rftbsub(n, a, nc, w + nw);
      cftbsub(n, a, ip, nw, w);
    } else if (n == 4) {
      cftbsub(n, a, ip, nw, w);
    }
  }
}
```