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

```asm
<rdft>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x18,%rsp
  mov    %edi,%ebx
  mov    %esi,0xc(%rsp)
  mov    %rdx,%rbp
  mov    %rcx,%r12
  mov    %r8,%r13
  mov    (%rcx),%r14d
  lea    0x0(,%r14,4),%eax
  cmp    %edi,%eax
  jl     L80
L8:
  mov    0x4(%r12),%r15d
  lea    0x0(,%r15,4),%eax
  cmp    %ebx,%eax
  jl     L6
L22:
  cmpl   $0x0,0xc(%rsp)
  js     L81
  cmp    $0x4,%ebx
  jg     L108
  je     L103
L18:
  movss  0x0(%rbp),%xmm0
  movss  0x4(%rbp),%xmm1
  movaps %xmm0,%xmm2
  addss  %xmm1,%xmm2
  movss  %xmm2,0x0(%rbp)
  subss  %xmm1,%xmm0
  movss  %xmm0,0x4(%rbp)
L106:
  add    $0x18,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L80:
  mov    %edi,%r14d
  sar    $0x2,%r14d
  mov    %r8,%rdx
  mov    %rcx,%rsi
  mov    %r14d,%edi
  call   <makewt@plt>
  jmp    L8
L6:
  mov    %ebx,%r15d
  sar    $0x2,%r15d
  movslq %r14d,%rax
  lea    0x0(%r13,%rax,4),%rdx
  mov    %r12,%rsi
  mov    %r15d,%edi
  call   <makect@plt>
  jmp    L22
L108:
  lea    0x8(%r12),%rsi
  mov    %rbp,%rdx
  mov    %ebx,%edi
  call   <bitrv2@plt>
  mov    %r13,%rdx
  mov    %rbp,%rsi
  mov    %ebx,%edi
  call   <cftfsub@plt>
  movslq %r14d,%r14
  lea    0x0(%r13,%r14,4),%rcx
  mov    %r15d,%edx
  mov    %rbp,%rsi
  mov    %ebx,%edi
  call   <rftfsub@plt>
  jmp    L18
L103:
  mov    %r13,%rdx
  mov    %rbp,%rsi
  mov    $0x4,%edi
  call   <cftfsub@plt>
  jmp    L18
L81:
  movss  0x0(%rbp),%xmm0
  movaps %xmm0,%xmm1
  subss  0x4(%rbp),%xmm1
  mulss  D3(%rip),%xmm1
  movss  %xmm1,0x4(%rbp)
  subss  %xmm1,%xmm0
  movss  %xmm0,0x0(%rbp)
  cmp    $0x4,%ebx
  jg     L105
  jne    L106
  mov    %r13,%rdx
  mov    %rbp,%rsi
  mov    $0x4,%edi
  call   <cftfsub@plt>
  jmp    L106
L105:
  movslq %r14d,%r14
  lea    0x0(%r13,%r14,4),%rcx
  mov    %r15d,%edx
  mov    %rbp,%rsi
  mov    %ebx,%edi
  call   <rftbsub@plt>
  lea    0x8(%r12),%rsi
  mov    %rbp,%rdx
  mov    %ebx,%edi
  call   <bitrv2@plt>
  mov    %r13,%rdx
  mov    %rbp,%rsi
  mov    %ebx,%edi
  call   <cftbsub@plt>
  jmp    L106
```

tool_calls: name: unpack_data
arguments: data_label: D3
datatype: f32

tool: D3: 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 bitrv2(int n, int *ip, float *a);
  void cftfsub(int n, float *a, float *w);
  void cftbsub(int n, float *a, 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) {
      bitrv2(n, ip + 2, a);
      cftfsub(n, a, w);
      rftfsub(n, a, nc, w + nw);
    } else if (n == 4) {
      cftfsub(n, a, w);
    }
    xi = a[0] - a[1];
    a[0] += a[1];
    a[1] = xi;
  } else {
    a[1] = 0.5 * (a[0] - a[1]);
    a[0] -= a[1];
    if (n > 4) {
      rftbsub(n, a, nc, w + nw);
      bitrv2(n, ip + 2, a);
      cftbsub(n, a, w);
    } else if (n == 4) {
      cftfsub(n, a, w);
    }
  }
}
```