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

```asm
<dfst>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  mov    %rdx,%r13
  push   %r12
  push   %rbp
  push   %rbx
  mov    %rsi,%rbx
  sub    $0x58,%rsp
  mov    (%rcx),%eax
  mov    %edi,0x10(%rsp)
  mov    %eax,0x44(%rsp)
  shl    $0x3,%eax
  mov    %rcx,0x38(%rsp)
  mov    %r8,0x48(%rsp)
  cmp    %edi,%eax
  jl     L10
L3:
  mov    0x38(%rsp),%rax
  mov    0x4(%rax),%eax
  mov    %eax,0x14(%rsp)
  add    %eax,%eax
  cmp    0x10(%rsp),%eax
  jl     L90
L275:
  mov    0x10(%rsp),%eax
  cmp    $0x2,%eax
  jle    L21
  mov    %eax,%r12d
  mov    %eax,%r14d
  sar    %r12d
  sar    $0x2,%r14d
  cmp    $0x7,%eax
  jle    L297
  movslq 0x10(%rsp),%rbp
  movslq %r12d,%rdi
  movslq %r14d,%rsi
  lea    -0x8(,%rdi,8),%rdx
  mov    %rbp,%rax
  sub    %rdi,%rax
  lea    (%rbx,%rax,8),%rcx
  mov    $0x1,%eax
  nopl   0x0(%rax)
L262:
  movsd  (%rbx,%rax,8),%xmm2
  movsd  (%rcx,%rdx,1),%xmm5
  movsd  (%rbx,%rdx,1),%xmm1
  movsd  (%rcx,%rax,8),%xmm4
  movapd %xmm2,%xmm0
  addsd  %xmm5,%xmm2
  subsd  %xmm5,%xmm0
  movapd %xmm1,%xmm3
  addsd  %xmm4,%xmm1
  subsd  %xmm4,%xmm3
  movsd  %xmm2,(%rbx,%rax,8)
  movsd  %xmm1,(%rbx,%rdx,1)
  movapd %xmm0,%xmm1
  addsd  %xmm3,%xmm1
  subsd  %xmm3,%xmm0
  movsd  %xmm1,0x0(%r13,%rax,8)
  add    $0x1,%rax
  movsd  %xmm0,0x0(%r13,%rdx,1)
  sub    $0x8,%rdx
  cmp    %rax,%rsi
  jne    L262
L318:
  mov    0x10(%rsp),%edx
  lea    (%rbx,%rsi,8),%rax
  mov    %rbx,%rsi
  lea    -0x8(%rbx,%rbp,8),%rbp
  movsd  (%rax),%xmm0
  lea    -0x2(%r12),%r15d
  sub    %r14d,%edx
  movslq %edx,%rdx
  lea    (%rbx,%rdx,8),%rdx
  subsd  (%rdx),%xmm0
  movsd  %xmm0,0x0(%r13)
  movsd  (%rax),%xmm0
  addsd  (%rdx),%xmm0
  mov    0x14(%rsp),%edx
  movsd  %xmm0,(%rax)
  movslq 0x44(%rsp),%rax
  movsd  (%rbx,%rdi,8),%xmm0
  mov    0x48(%rsp),%rdi
  movsd  %xmm0,(%rbx)
  lea    (%rdi,%rax,8),%rax
  mov    %r12d,%edi
  mov    %rax,%rcx
  mov    %rax,0x30(%rsp)
  call   <dstsub@plt>
  cmp    $0x4,%r12d
  jg     L99
  je     L163
  movsd  0x8(%rbx),%xmm0
  subsd  (%rbx),%xmm0
  movsd  %xmm0,0x0(%rbp)
  movsd  0x8(%rbx),%xmm0
  addsd  (%rbx),%xmm0
  movsd  %xmm0,0x8(%rbx)
  cmp    $0x1,%r15d
  jle    L45
L269:
  lea    0x1(%r15,%r15,1),%edx
  movq   D9(%rip),%xmm1
  movslq %r15d,%rax
  movslq %edx,%rdx
  lea    (%rbx,%rdx,8),%rdx
  nopw   0x0(%rax,%rax,1)
L65:
  movsd  (%rbx,%rax,8),%xmm0
  subsd  0x8(%rbx,%rax,8),%xmm0
  sub    $0x20,%rdx
  movsd  %xmm0,0x20(%rdx)
  movsd  (%rbx,%rax,8),%xmm0
  xorpd  %xmm1,%xmm0
  subsd  0x8(%rbx,%rax,8),%xmm0
  sub    $0x2,%rax
  movsd  %xmm0,0x10(%rdx)
  cmp    $0x1,%eax
  jg     L65
L45:
  mov    $0x2,%r15d
  cmp    $0x1,%r14d
  jle    L18
  nopl   0x0(%rax)
L153:
  mov    0x30(%rsp),%rcx
  mov    0x14(%rsp),%edx
  mov    %r13,%rsi
  mov    %r14d,%edi
  movslq %r15d,%rbp
  call   <dstsub@plt>
  mov    0x10(%rsp),%eax
  lea    (%rbx,%rbp,8),%r12
  sub    %r15d,%eax
  cltq
  lea    (%rbx,%rax,8),%rax
  cmp    $0x4,%r14d
  jg     L278
  je     L60
  movsd  0x8(%r13),%xmm0
  subsd  0x0(%r13),%xmm0
  movsd  %xmm0,(%rax)
  movsd  0x0(%r13),%xmm0
  addsd  0x8(%r13),%xmm0
  movsd  %xmm0,(%r12)
  cmp    $0x3,%r14d
  jne    L7
  lea    0x0(,%r15,4),%edx
  movslq %edx,%rdx
  lea    0x0(,%rdx,8),%rdi
  sub    %rbp,%rdx
  shl    $0x3,%rdx
L9:
  add    %rbx,%rdx
  shl    $0x4,%rbp
  mov    $0x2,%eax
  nopw   0x0(%rax,%rax,1)
L168:
  movsd  0x0(%r13,%rax,8),%xmm0
  xorpd  D9(%rip),%xmm0
  subsd  0x8(%r13,%rax,8),%xmm0
  movsd  %xmm0,(%rdx)
  movsd  0x0(%r13,%rax,8),%xmm0
  subsd  0x8(%r13,%rax,8),%xmm0
  add    $0x2,%rax
  movsd  %xmm0,(%rdx,%rbp,1)
  add    %rdi,%rdx
  cmp    %eax,%r14d
  jg     L168
  mov    %r14d,%r12d
  add    %r15d,%r15d
  sar    %r12d
  cmp    $0x1,%r12d
  je     L52
  nopl   0x0(%rax)
L192:
  movslq %r14d,%r10
  lea    -0x1(%r12),%eax
  mov    %r12d,%r8d
  lea    0x0(,%r10,8),%rcx
  mov    %rax,0x20(%rsp)
  mov    %rax,%rbp
  neg    %rax
  lea    0x8(%rcx),%rsi
  lea    0x0(%r13,%rcx,1),%rdx
  mov    %rcx,%r9
  shl    $0x3,%r8
  lea    0x0(%r13,%rsi,1),%rdi
  mov    %rsi,0x18(%rsp)
  mov    %r10,%rsi
  lea    (%rcx,%rax,8),%r11
  shl    $0x4,%rsi
  lea    0x8(%r13),%rax
  neg    %r9
  mov    %rdi,(%rsp)
  mov    %rsi,0x28(%rsp)
  lea    (%rdx,%rcx,1),%rsi
  lea    0x18(%r13),%rdi
  mov    %rsi,0x8(%rsp)
  lea    0x18(%r13,%rcx,1),%rsi
  cmp    %rsi,%rax
  setae  %sil
  cmp    %rdi,(%rsp)
  setae  %dil
  or     %esi,%edi
  cmp    $0x2,%r12d
  setne  %sil
  and    %esi,%edi
  cmp    %rdx,%rax
  setae  %sil
  cmp    %r11,%r8
  setle  0x43(%rsp)
  or     0x43(%rsp),%sil
  and    %edi,%esi
  lea    (%r11,%rcx,1),%rdi
  cmp    %r8,%rdi
  setge  %dil
  cmp    %rax,0x8(%rsp)
  setbe  %r8b
  or     %r8d,%edi
  test   %dil,%sil
  je     L299
  mov    0x20(%rsp),%rdi
  lea    0x1(%rdi,%r10,1),%rsi
  shl    $0x3,%rsi
  cmp    %rsi,%r11
  setge  %sil
  cmp    %rcx,0x18(%rsp)
  setge  %dil
  or     %sil,%dil
  je     L299
  mov    0x28(%rsp),%rsi
  mov    %ebp,%r8d
  lea    -0x10(%r13,%rcx,1),%rdi
  mov    (%rsp),%rcx
  shr    %r8d
  lea    -0x1(%r8),%r9d
  lea    -0x10(%r13,%rsi,1),%rdx
  lea    -0x10(%rdi),%rsi
  shl    $0x4,%r9
  mov    %rsi,%r8
  sub    %r9,%r8
  jmp    L329
  nopw   0x0(%rax,%rax,1)
L164:
  sub    $0x10,%rsi
L329:
  movupd (%rdx),%xmm0
  movupd (%rcx),%xmm7
  sub    $0x10,%rdx
  add    $0x10,%rcx
  add    $0x10,%rax
  shufpd $0x1,%xmm0,%xmm0
  addpd  %xmm7,%xmm0
  movups %xmm0,-0x10(%rax)
  movupd 0x10(%rdx),%xmm0
  movupd -0x10(%rcx),%xmm5
  shufpd $0x1,%xmm0,%xmm0
  subpd  %xmm5,%xmm0
  shufpd $0x1,%xmm0,%xmm0
  movups %xmm0,(%rdi)
  mov    %rsi,%rdi
  cmp    %r8,%rsi
  jne    L164
  mov    %ebp,%eax
  or     $0x1,%eax
  and    $0x1,%ebp
  je     L102
  mov    %r14d,%esi
  sub    %eax,%esi
  lea    (%r14,%rsi,1),%edx
  movslq %edx,%rdx
  lea    0x0(%r13,%rdx,8),%rcx
  lea    (%r14,%rax,1),%edx
  cltq
  movslq %edx,%rdx
  lea    0x0(%r13,%rdx,8),%rdx
  movsd  (%rdx),%xmm0
  addsd  (%rcx),%xmm0
  movsd  %xmm0,0x0(%r13,%rax,8)
  movsd  (%rcx),%xmm0
  subsd  (%rdx),%xmm0
  movslq %esi,%rax
  movsd  %xmm0,0x0(%r13,%rax,8)
L102:
  add    %r12d,%r14d
  movslq %r14d,%r14
  movsd  0x0(%r13,%r14,8),%xmm0
  mov    %r12d,%r14d
  movsd  %xmm0,0x0(%r13)
  jmp    L153
  nopl   (%rax)
L7:
  add    %r15d,%r15d
  mov    $0x2,%r14d
L52:
  lea    0x1(%r14),%eax
  cltq
  movsd  0x0(%r13,%rax,8),%xmm0
  movslq %r15d,%rax
  shl    $0x3,%rax
  movsd  %xmm0,0x0(%r13)
L126:
  movsd  %xmm0,(%rbx,%rax,1)
L21:
  movq   $0x0,(%rbx)
  add    $0x58,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  xchg   %ax,%ax
L278:
  mov    %rax,(%rsp)
  mov    0x38(%rsp),%rax
  mov    %r13,%rsi
  mov    %r14d,%edi
  mov    0x48(%rsp),%r8
  mov    0x44(%rsp),%ecx
  lea    0x8(%rax),%rdx
  call   <cftfsub@plt>
  mov    0x30(%rsp),%rcx
  mov    %r13,%rsi
  mov    %r14d,%edi
  mov    0x14(%rsp),%edx
  call   <rftfsub@plt>
  mov    (%rsp),%rax
  movapd D43(%rip),%xmm3
  movq   D9(%rip),%xmm2
L287:
  movsd  0x8(%r13),%xmm0
  subsd  0x0(%r13),%xmm0
  mov    $0x18,%edi
  lea    0x0(,%r15,4),%r8d
  movslq %r8d,%rcx
  mov    %rcx,%r10
  movsd  %xmm0,(%rax)
  movsd  0x0(%r13),%xmm0
  addsd  0x8(%r13),%xmm0
  sub    %rbp,%r10
  lea    (%rcx,%rbp,1),%rax
  lea    0x0(,%r10,8),%rdx
  movsd  %xmm0,(%r12)
  lea    0x0(,%rax,8),%r12
  lea    -0x3(%r14),%eax
  shr    %eax
  lea    0x1(%rax),%esi
  mov    %esi,0x8(%rsp)
  sub    $0x1,%rsi
  mov    %rsi,%rax
  shl    $0x4,%rax
  add    $0x18,%rax
  cmp    $0x2,%r14d
  cmovle %rdi,%rax
  lea    0x0(,%rcx,8),%rdi
  add    %r13,%rax
  mov    %rax,(%rsp)
  xor    %eax,%eax
  cmp    $0x2,%r14d
  cmovle %rax,%rsi
  mov    %rax,%r9
  imul   %rdi,%rsi
  test   %r8d,%r8d
  cmovs  %rsi,%r9
  cmovs  %rax,%rsi
  lea    0x10(%r13),%rax
  lea    (%rsi,%r12,1),%r11
  add    %rbx,%r11
  cmp    %r11,%rax
  lea    (%r12,%r9,1),%r11
  seta   0x43(%rsp)
  add    %rbx,%r11
  cmp    %r11,(%rsp)
  setb   %r11b
  add    %rcx,%r10
  or     0x43(%rsp),%r11b
  shl    $0x3,%r10
  cmp    %r12,%r10
  setne  %r10b
  cmp    $0x10,%r14d
  setg   0x43(%rsp)
  and    0x43(%rsp),%r10b
  test   %r10b,%r11b
  je     L9
  add    %rdx,%rsi
  add    %rbx,%rsi
  cmp    %rsi,%rax
  seta   %sil
  add    %rdx,%r9
  add    %rbx,%r9
  cmp    %r9,(%rsp)
  setb   %r9b
  or     %sil,%r9b
  je     L9
  cmp    $0x2,%r14d
  mov    $0x1,%esi
  cmovg  0x8(%rsp),%esi
  add    %rbx,%rdx
  shl    $0x4,%rcx
  lea    (%rbx,%r12,1),%r9
  mov    %esi,%r10d
  shr    %r10d
  sub    $0x1,%r10d
  shl    $0x5,%r10
  lea    0x30(%r13,%r10,1),%r10
L246:
  movupd (%rax),%xmm0
  movupd 0x10(%rax),%xmm1
  add    $0x20,%rax
  movlpd -0x18(%rax),%xmm1
  movhpd -0x10(%rax),%xmm0
  xorpd  %xmm3,%xmm0
  subpd  %xmm1,%xmm0
  movlpd %xmm0,(%rdx)
  movhpd %xmm0,(%rdx,%rdi,1)
  movupd -0x20(%rax),%xmm0
  movupd -0x10(%rax),%xmm1
  add    %rcx,%rdx
  movlpd -0x18(%rax),%xmm1
  movhpd -0x10(%rax),%xmm0
  subpd  %xmm1,%xmm0
  movlpd %xmm0,(%r9)
  movhpd %xmm0,(%r9,%rdi,1)
  add    %rcx,%r9
  cmp    %rax,%r10
  jne    L246
  mov    %esi,%ecx
  mov    %esi,%edx
  mov    %r8d,%eax
  and    $0xfffffffe,%ecx
  or     $0x1,%edx
  imul   %ecx,%eax
  add    %edx,%edx
  cmp    %ecx,%esi
  je     L183
  movslq %edx,%rdx
  add    %r8d,%eax
  lea    0x0(%r13,%rdx,8),%rcx
  lea    0x8(%r13,%rdx,8),%rdx
  mov    %eax,%esi
  add    %r15d,%eax
  movsd  (%rcx),%xmm0
  sub    %r15d,%esi
  cltq
  movslq %esi,%rsi
  xorpd  %xmm2,%xmm0
  subsd  (%rdx),%xmm0
  movsd  %xmm0,(%rbx,%rsi,8)
  movsd  (%rcx),%xmm0
  subsd  (%rdx),%xmm0
  movsd  %xmm0,(%rbx,%rax,8)
L183:
  mov    %r14d,%r12d
  add    %r15d,%r15d
  sar    %r12d
  jmp    L192
  nopl   (%rax)
L299:
  lea    -0x2(%r12),%esi
  mov    0x8(%rsp),%rcx
  add    %r10,%rsi
  lea    (%rax,%rsi,8),%rax
  nopl   0x0(%rax)
L261:
  movsd  0x8(%rdx),%xmm0
  addsd  -0x8(%rcx),%xmm0
  add    $0x8,%rdx
  sub    $0x8,%rcx
  movsd  %xmm0,(%rdx,%r9,1)
  movsd  (%rcx),%xmm0
  subsd  (%rdx),%xmm0
  movsd  %xmm0,(%rcx,%r9,1)
  cmp    %rax,%rdx
  jne    L261
  jmp    L102
L60:
  mov    %rax,(%rsp)
  mov    0x44(%rsp),%ecx
  mov    %r13,%rsi
  mov    $0x4,%edi
  mov    0x38(%rsp),%rax
  mov    0x48(%rsp),%r8
  lea    0x8(%rax),%rdx
  call   <cftfsub@plt>
  mov    (%rsp),%rax
  movapd D43(%rip),%xmm3
  movq   D9(%rip),%xmm2
  jmp    L287
L10:
  mov    %edi,%eax
  mov    %r8,%rdx
  mov    %rcx,%rsi
  sar    $0x3,%eax
  mov    %eax,%edi
  mov    %eax,0x44(%rsp)
  call   <makewt@plt>
  jmp    L3
L90:
  mov    0x10(%rsp),%edi
  movslq 0x44(%rsp),%rax
  mov    0x48(%rsp),%rcx
  mov    0x38(%rsp),%rsi
  sar    %edi
  lea    (%rcx,%rax,8),%rdx
  mov    %edi,0x14(%rsp)
  call   <makect@plt>
  jmp    L275
L297:
  movslq %r14d,%rsi
  movslq %r12d,%rdi
  movslq %eax,%rbp
  jmp    L318
L99:
  mov    0x38(%rsp),%rax
  mov    0x44(%rsp),%ecx
  mov    %rbx,%rsi
  mov    %r12d,%edi
  mov    0x48(%rsp),%r8
  lea    0x8(%rax),%rdx
  call   <cftfsub@plt>
  mov    0x30(%rsp),%rcx
  mov    %rbx,%rsi
  mov    %r12d,%edi
  mov    0x14(%rsp),%edx
  call   <rftfsub@plt>
L175:
  movsd  0x8(%rbx),%xmm0
  subsd  (%rbx),%xmm0
  movsd  %xmm0,0x0(%rbp)
  movsd  0x8(%rbx),%xmm0
  addsd  (%rbx),%xmm0
  movsd  %xmm0,0x8(%rbx)
  jmp    L269
L163:
  mov    0x38(%rsp),%rax
  mov    0x48(%rsp),%r8
  mov    %rbx,%rsi
  mov    $0x4,%edi
  mov    0x44(%rsp),%ecx
  lea    0x8(%rax),%rdx
  call   <cftfsub@plt>
  jmp    L175
L18:
  movsd  0x0(%r13),%xmm0
  mov    $0x10,%eax
  jmp    L126
```

tool_calls: name: parse_data
arguments: data_label: D9
type_infered: byte[16]
name: parse_data
arguments: data_label: D43
type_infered: byte[16]

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

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

assistant: ```c
void dfst(int n, double *a, double *t, int *ip, double *w) {
  void makewt(int nw, int *ip, double *w);
  void makect(int nc, int *ip, double *c);
  void cftfsub(int n, double *a, int *ip, int nw, double *w);
  void rftfsub(int n, double *a, int nc, double *c);
  void dstsub(int n, double *a, int nc, double *c);
  int j, k, l, m, mh, nw, nc;
  double xr, xi, yr, yi;
  nw = ip[0];
  if (n > (nw << 3)) {
    nw = n >> 3;
    makewt(nw, ip, w);
  }
  nc = ip[1];
  if (n > (nc << 1)) {
    nc = n >> 1;
    makect(nc, ip, w + nw);
  }
  if (n > 2) {
    m = n >> 1;
    mh = m >> 1;
    for (j = 1; j < mh; j++) {
      k = m - j;
      xr = a[j] + a[n - j];
      xi = a[j] - a[n - j];
      yr = a[k] + a[n - k];
      yi = a[k] - a[n - k];
      a[j] = xr;
      a[k] = yr;
      t[j] = xi + yi;
      t[k] = xi - yi;
    }
    t[0] = a[mh] - a[n - mh];
    a[mh] += a[n - mh];
    a[0] = a[m];
    dstsub(m, a, nc, w + nw);
    if (m > 4) {
      cftfsub(m, a, ip + 2, nw, w);
      rftfsub(m, a, nc, w + nw);
    } else if (m == 4) {
      cftfsub(m, a, ip + 2, nw, w);
    }
    a[n - 1] = a[1] - a[0];
    a[1] = a[0] + a[1];
    for (j = m - 2; j >= 2; j -= 2) {
      a[2 * j + 1] = a[j] - a[j + 1];
      a[2 * j - 1] = -a[j] - a[j + 1];
    }
    l = 2;
    m = mh;
    while (m >= 2) {
      dstsub(m, t, nc, w + nw);
      if (m > 4) {
        cftfsub(m, t, ip + 2, nw, w);
        rftfsub(m, t, nc, w + nw);
      } else if (m == 4) {
        cftfsub(m, t, ip + 2, nw, w);
      }
      a[n - l] = t[1] - t[0];
      a[l] = t[0] + t[1];
      k = 0;
      for (j = 2; j < m; j += 2) {
        k += l << 2;
        a[k - l] = -t[j] - t[j + 1];
        a[k + l] = t[j] - t[j + 1];
      }
      l <<= 1;
      mh = m >> 1;
      for (j = 1; j < mh; j++) {
        k = m - j;
        t[j] = t[m + k] + t[m + j];
        t[k] = t[m + k] - t[m + j];
      }
      t[0] = t[m + mh];
      m = mh;
    }
    a[l] = t[0];
  }
  a[0] = 0;
}
```