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

```asm
<cftmdl>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x118,%rsp
  mov    %edi,0xac(%rsp)
  mov    %esi,0xb8(%rsp)
  mov    %rdx,%r14
  lea    0x0(,%rsi,8),%eax
  mov    %eax,0xa8(%rsp)
  test   %esi,%esi
  jle    L102
  mov    %esi,%ebx
  movslq %esi,%r11
  lea    0x0(,%r11,8),%rcx
  lea    (%rdx,%rcx,1),%rax
  mov    %rax,%rdx
  mov    %r11,%rsi
  shl    $0x4,%rsi
  add    %rsi,%rax
  mov    %rax,%r10
  add    %rcx,%rax
  mov    %rax,%r9
  add    %rcx,%rax
  mov    %rax,%r8
  add    %rcx,%rax
  mov    %rax,%rdi
  add    %rcx,%rax
  lea    0x8(%r14),%rsi
  lea    (%rbx,%rbx,1),%ecx
  movslq %ecx,%rcx
  lea    0x8(%r14,%rcx,8),%rcx
  sub    $0x1,%ebx
  shr    %ebx
  mov    %ebx,%ebx
  lea    (%r11,%rbx,2),%r11
  lea    0x10(%r14,%r11,8),%r11
L3:
  movsd  -0x8(%rsi),%xmm2
  movsd  (%rdx),%xmm3
  movapd %xmm2,%xmm7
  addsd  %xmm3,%xmm7
  movsd  (%rsi),%xmm1
  movsd  0x8(%rdx),%xmm0
  movapd %xmm1,%xmm5
  addsd  %xmm0,%xmm5
  subsd  %xmm3,%xmm2
  subsd  %xmm0,%xmm1
  movsd  -0x8(%rcx),%xmm0
  movsd  (%r10),%xmm9
  movapd %xmm0,%xmm6
  addsd  %xmm9,%xmm6
  movsd  (%rcx),%xmm3
  movsd  0x8(%r10),%xmm8
  movapd %xmm3,%xmm4
  addsd  %xmm8,%xmm4
  subsd  %xmm9,%xmm0
  subsd  %xmm8,%xmm3
  movapd %xmm7,%xmm10
  addsd  %xmm6,%xmm10
  movapd %xmm5,%xmm9
  addsd  %xmm4,%xmm9
  subsd  %xmm6,%xmm7
  movsd  %xmm7,0x8(%rsp)
  subsd  %xmm4,%xmm5
  movsd  %xmm5,0x10(%rsp)
  movapd %xmm2,%xmm12
  subsd  %xmm3,%xmm12
  movapd %xmm1,%xmm11
  addsd  %xmm0,%xmm11
  addsd  %xmm3,%xmm2
  subsd  %xmm0,%xmm1
  movsd  (%r9),%xmm8
  movsd  (%r8),%xmm4
  movapd %xmm8,%xmm5
  addsd  %xmm4,%xmm5
  movsd  0x8(%r9),%xmm3
  movsd  0x8(%r8),%xmm0
  movapd %xmm3,%xmm6
  addsd  %xmm0,%xmm6
  subsd  %xmm4,%xmm8
  subsd  %xmm0,%xmm3
  movsd  (%rdi),%xmm7
  movsd  (%rax),%xmm14
  movapd %xmm7,%xmm15
  addsd  %xmm14,%xmm15
  movsd  0x8(%rdi),%xmm0
  movsd  0x8(%rax),%xmm13
  movapd %xmm0,%xmm4
  addsd  %xmm13,%xmm4
  subsd  %xmm14,%xmm7
  subsd  %xmm13,%xmm0
  movapd %xmm5,%xmm14
  addsd  %xmm15,%xmm14
  movapd %xmm6,%xmm13
  addsd  %xmm4,%xmm13
  subsd  %xmm15,%xmm5
  subsd  %xmm4,%xmm6
  movapd %xmm8,%xmm4
  subsd  %xmm0,%xmm4
  movapd %xmm3,%xmm15
  addsd  %xmm7,%xmm15
  addsd  %xmm8,%xmm0
  subsd  %xmm7,%xmm3
  movapd %xmm4,%xmm7
  subsd  %xmm15,%xmm7
  mulsd  D10(%rip),%xmm7
  addsd  %xmm15,%xmm4
  mulsd  D10(%rip),%xmm4
  movapd %xmm0,%xmm8
  subsd  %xmm3,%xmm8
  mulsd  D10(%rip),%xmm8
  addsd  %xmm3,%xmm0
  mulsd  D10(%rip),%xmm0
  movapd %xmm12,%xmm3
  addsd  %xmm7,%xmm3
  movsd  %xmm3,(%rdx)
  movapd %xmm11,%xmm3
  addsd  %xmm4,%xmm3
  movsd  %xmm3,0x8(%rdx)
  subsd  %xmm7,%xmm12
  movsd  %xmm12,(%r8)
  subsd  %xmm4,%xmm11
  movsd  %xmm11,0x8(%r8)
  movapd %xmm2,%xmm3
  subsd  %xmm0,%xmm3
  movsd  %xmm3,(%r10)
  movapd %xmm1,%xmm3
  addsd  %xmm8,%xmm3
  movsd  %xmm3,0x8(%r10)
  addsd  %xmm0,%xmm2
  movsd  %xmm2,(%rax)
  subsd  %xmm8,%xmm1
  movsd  %xmm1,0x8(%rax)
  movapd %xmm10,%xmm0
  addsd  %xmm14,%xmm0
  movsd  %xmm0,-0x8(%rsi)
  movapd %xmm9,%xmm0
  addsd  %xmm13,%xmm0
  movsd  %xmm0,(%rsi)
  subsd  %xmm14,%xmm10
  movsd  %xmm10,(%r9)
  subsd  %xmm13,%xmm9
  movsd  %xmm9,0x8(%r9)
  movsd  0x8(%rsp),%xmm4
  movapd %xmm4,%xmm0
  subsd  %xmm6,%xmm0
  movsd  %xmm0,-0x8(%rcx)
  movsd  0x10(%rsp),%xmm2
  movapd %xmm2,%xmm0
  addsd  %xmm5,%xmm0
  movsd  %xmm0,(%rcx)
  addsd  %xmm4,%xmm6
  movsd  %xmm6,(%rdi)
  subsd  %xmm5,%xmm2
  movsd  %xmm2,0x8(%rdi)
  add    $0x10,%rdx
  add    $0x10,%r10
  add    $0x10,%r9
  add    $0x10,%r8
  add    $0x10,%rdi
  add    $0x10,%rax
  add    $0x10,%rsi
  add    $0x10,%rcx
  cmp    %r11,%rdx
  jne    L3
L102:
  mov    0xa8(%rsp),%eax
  mov    0xac(%rsp),%esi
  cmp    %esi,%eax
  jge    L118
  mov    0xb8(%rsp),%r15d
  mov    %r15d,%r9d
  add    %eax,%r9d
  cmp    %r9d,%eax
  jge    L44
  movslq %eax,%r10
  lea    (%r14,%r10,8),%rsi
  movslq %r15d,%rax
  lea    (%rax,%rax,1),%rdx
  lea    (%rdx,%r10,1),%rcx
  lea    (%r14,%rcx,8),%rcx
  lea    (%rdx,%rax,2),%r8
  lea    (%r8,%r10,1),%rdx
  lea    (%r14,%rdx,8),%rdx
  add    %r15d,%r9d
  movslq %r9d,%rdi
  add    %r8,%rdi
  lea    (%r14,%rdi,8),%r8
  lea    0x1(%r10,%rax,1),%rdi
  lea    (%r14,%rdi,8),%rdi
  lea    -0x1(%r15),%r11d
  shr    %r11d
  mov    %r11d,%r11d
  lea    (%r10,%r11,2),%r11
  lea    0x10(%r14,%r11,8),%rbp
  mov    %rax,%rbx
  shl    $0x5,%rbx
  add    %r15d,%r9d
  movslq %r9d,%r9
  sub    %r10,%r9
  movsd  D144(%rip),%xmm15
  movsd  D133(%rip),%xmm11
L98:
  movsd  (%rsi),%xmm2
  movsd  -0x8(%rdi),%xmm3
  movapd %xmm2,%xmm7
  addsd  %xmm3,%xmm7
  movsd  0x8(%rsi),%xmm1
  movsd  (%rdi),%xmm0
  movapd %xmm1,%xmm5
  addsd  %xmm0,%xmm5
  subsd  %xmm3,%xmm2
  subsd  %xmm0,%xmm1
  movsd  (%rcx),%xmm0
  movsd  (%rcx,%rax,8),%xmm9
  movapd %xmm0,%xmm6
  addsd  %xmm9,%xmm6
  movsd  0x8(%rcx),%xmm3
  movsd  0x8(%rcx,%rax,8),%xmm8
  movapd %xmm3,%xmm4
  addsd  %xmm8,%xmm4
  subsd  %xmm9,%xmm0
  subsd  %xmm8,%xmm3
  movapd %xmm7,%xmm13
  addsd  %xmm6,%xmm13
  movsd  %xmm13,0x8(%rsp)
  movapd %xmm5,%xmm14
  addsd  %xmm4,%xmm14
  movsd  %xmm14,0x10(%rsp)
  subsd  %xmm6,%xmm7
  movsd  %xmm7,0x18(%rsp)
  movapd %xmm5,%xmm6
  subsd  %xmm4,%xmm6
  movsd  %xmm6,0x20(%rsp)
  movapd %xmm2,%xmm8
  subsd  %xmm3,%xmm8
  movapd %xmm1,%xmm4
  addsd  %xmm0,%xmm4
  addsd  %xmm3,%xmm2
  subsd  %xmm0,%xmm1
  movsd  (%rdx),%xmm6
  movsd  (%rdx,%rax,8),%xmm3
  movapd %xmm6,%xmm0
  addsd  %xmm3,%xmm0
  movapd %xmm0,%xmm14
  movsd  0x8(%rdx),%xmm5
  movsd  0x8(%rdx,%rax,8),%xmm0
  movapd %xmm5,%xmm12
  addsd  %xmm0,%xmm12
  subsd  %xmm3,%xmm6
  subsd  %xmm0,%xmm5
  movsd  (%r8),%xmm0
  lea    (%rsi,%rbx,1),%r11
  movsd  (%r11,%r9,8),%xmm9
  movapd %xmm0,%xmm3
  addsd  %xmm9,%xmm3
  movapd %xmm3,%xmm13
  lea    (%rdi,%rbx,1),%r10
  movsd  (%r10,%rax,8),%xmm3
  movsd  0x8(%r8,%rax,8),%xmm7
  movapd %xmm3,%xmm10
  addsd  %xmm7,%xmm10
  subsd  %xmm9,%xmm0
  subsd  %xmm7,%xmm3
  movapd %xmm14,%xmm9
  addsd  %xmm13,%xmm9
  movapd %xmm12,%xmm7
  addsd  %xmm10,%xmm7
  subsd  %xmm13,%xmm14
  subsd  %xmm10,%xmm12
  movapd %xmm12,%xmm13
  movapd %xmm6,%xmm12
  subsd  %xmm3,%xmm12
  movapd %xmm5,%xmm10
  addsd  %xmm0,%xmm10
  addsd  %xmm6,%xmm3
  subsd  %xmm5,%xmm0
  movapd %xmm12,%xmm5
  mulsd  %xmm15,%xmm5
  movapd %xmm10,%xmm6
  mulsd  %xmm11,%xmm6
  subsd  %xmm6,%xmm5
  mulsd  %xmm15,%xmm10
  mulsd  %xmm11,%xmm12
  addsd  %xmm12,%xmm10
  movapd %xmm3,%xmm6
  mulsd  %xmm11,%xmm6
  movapd %xmm0,%xmm12
  mulsd  %xmm15,%xmm12
  addsd  %xmm12,%xmm6
  mulsd  %xmm11,%xmm0
  mulsd  %xmm15,%xmm3
  subsd  %xmm3,%xmm0
  movapd %xmm8,%xmm3
  mulsd  %xmm11,%xmm3
  movapd %xmm4,%xmm12
  mulsd  %xmm15,%xmm12
  subsd  %xmm12,%xmm3
  mulsd  %xmm11,%xmm4
  mulsd  %xmm15,%xmm8
  addsd  %xmm8,%xmm4
  movapd %xmm5,%xmm8
  addsd  %xmm3,%xmm8
  movsd  %xmm8,-0x8(%rdi)
  movapd %xmm10,%xmm8
  addsd  %xmm4,%xmm8
  movsd  %xmm8,(%rdi)
  subsd  %xmm4,%xmm10
  movsd  %xmm10,(%rdx,%rax,8)
  subsd  %xmm5,%xmm3
  movsd  %xmm3,0x8(%rdx,%rax,8)
  movapd %xmm2,%xmm3
  mulsd  %xmm15,%xmm3
  movapd %xmm1,%xmm4
  mulsd  %xmm11,%xmm4
  subsd  %xmm4,%xmm3
  mulsd  %xmm15,%xmm1
  mulsd  %xmm11,%xmm2
  addsd  %xmm2,%xmm1
  movapd %xmm3,%xmm2
  subsd  %xmm6,%xmm2
  movsd  %xmm2,(%rcx,%rax,8)
  movapd %xmm0,%xmm2
  addsd  %xmm1,%xmm2
  movsd  %xmm2,0x8(%rcx,%rax,8)
  subsd  %xmm1,%xmm0
  movsd  %xmm0,(%r11,%r9,8)
  addsd  %xmm3,%xmm6
  movsd  %xmm6,0x8(%r8,%rax,8)
  movsd  0x8(%rsp),%xmm5
  movapd %xmm5,%xmm0
  addsd  %xmm9,%xmm0
  movsd  %xmm0,(%rsi)
  movsd  0x10(%rsp),%xmm2
  movapd %xmm2,%xmm0
  addsd  %xmm7,%xmm0
  movsd  %xmm0,0x8(%rsi)
  subsd  %xmm2,%xmm7
  movsd  %xmm7,(%rdx)
  subsd  %xmm9,%xmm5
  movsd  %xmm5,0x8(%rdx)
  movsd  0x18(%rsp),%xmm5
  movapd %xmm5,%xmm0
  subsd  %xmm13,%xmm0
  movsd  0x20(%rsp),%xmm4
  movapd %xmm4,%xmm2
  addsd  %xmm14,%xmm2
  movapd %xmm0,%xmm1
  subsd  %xmm2,%xmm1
  mulsd  D10(%rip),%xmm1
  movsd  %xmm1,(%rcx)
  addsd  %xmm2,%xmm0
  mulsd  D10(%rip),%xmm0
  movsd  %xmm0,0x8(%rcx)
  subsd  %xmm4,%xmm14
  addsd  %xmm13,%xmm5
  movapd %xmm14,%xmm1
  subsd  %xmm5,%xmm1
  mulsd  D10(%rip),%xmm1
  movsd  %xmm1,(%r8)
  addsd  %xmm5,%xmm14
  mulsd  D10(%rip),%xmm14
  movsd  %xmm14,(%r10,%rax,8)
  add    $0x10,%rsi
  add    $0x10,%rcx
  add    $0x10,%rdx
  add    $0x10,%r8
  add    $0x10,%rdi
  cmp    %rbp,%rsi
  jne    L98
L44:
  mov    0xac(%rsp),%eax
  pxor   %xmm0,%xmm0
  cvtsi2sd %eax,%xmm0
  movsd  D160(%rip),%xmm1
  divsd  %xmm0,%xmm1
  movsd  %xmm1,0xb0(%rsp)
  mov    %eax,%ebp
  sar    $0x2,%ebp
  mov    %ebp,0xbc(%rsp)
  mov    0xa8(%rsp),%esi
  lea    (%rsi,%rsi,1),%r13d
  cmp    %r13d,%eax
  jle    L118
  mov    0xb8(%rsp),%eax
  lea    (%rax,%r13,1),%ecx
  movslq %esi,%rsi
  mov    %rsi,0xc0(%rsp)
  movslq %eax,%rbx
  movslq %r13d,%rsi
  mov    %rsi,0xa0(%rsp)
  lea    (%rbx,%rbx,2),%rax
  mov    %rax,0xf0(%rsp)
  add    %rsi,%rax
  mov    %rax,0x98(%rsp)
  mov    %rbx,%rax
  shl    $0x4,%rax
  add    %r14,%rax
  mov    %rax,0xd8(%rsp)
  mov    %rbx,%r12
  shl    $0x5,%r12
  lea    (%r14,%r12,1),%rax
  mov    %rax,0xe0(%rsp)
  lea    (%r14,%rbx,8),%rax
  mov    %rax,0xe8(%rsp)
  lea    0x108(%rsp),%rax
  mov    %rax,0xc8(%rsp)
  lea    0x100(%rsp),%rax
  mov    %rax,0xd0(%rsp)
  mov    %r14,0xf8(%rsp)
  mov    %ecx,%r14d
  jmp    L85
L50:
  sar    %eax
  xor    %eax,%ebp
  cmp    %eax,%ebp
  jl     L50
L126:
  pxor   %xmm0,%xmm0
  cvtsi2sd %ebp,%xmm0
  mulsd  0xb0(%rsp),%xmm0
  mov    0xd0(%rsp),%rsi
  mov    0xc8(%rsp),%rdi
  call   <sincos@plt>
  movsd  0x100(%rsp),%xmm4
  movsd  %xmm4,0x10(%rsp)
  movsd  0x108(%rsp),%xmm6
  movsd  %xmm6,0x18(%rsp)
  movapd %xmm6,%xmm0
  addsd  %xmm6,%xmm0
  movapd %xmm6,%xmm1
  mulsd  %xmm0,%xmm1
  movsd  D78(%rip),%xmm2
  subsd  %xmm1,%xmm2
  movsd  %xmm2,0x38(%rsp)
  mulsd  %xmm4,%xmm0
  movapd %xmm0,%xmm7
  movsd  %xmm0,0x40(%rsp)
  addsd  %xmm0,%xmm0
  movapd %xmm6,%xmm1
  mulsd  %xmm0,%xmm1
  movapd %xmm4,%xmm5
  subsd  %xmm1,%xmm5
  movsd  %xmm5,0x48(%rsp)
  movapd %xmm4,%xmm1
  mulsd  %xmm0,%xmm1
  subsd  %xmm6,%xmm1
  movapd %xmm1,%xmm13
  movsd  %xmm1,0x50(%rsp)
  movapd %xmm7,%xmm1
  mulsd  %xmm0,%xmm1
  movsd  D78(%rip),%xmm3
  subsd  %xmm1,%xmm3
  movsd  %xmm3,0x58(%rsp)
  movapd %xmm2,%xmm3
  mulsd  %xmm2,%xmm0
  movsd  %xmm0,0x60(%rsp)
  addsd  %xmm0,%xmm0
  movapd %xmm6,%xmm1
  mulsd  %xmm0,%xmm1
  movapd %xmm5,%xmm2
  subsd  %xmm1,%xmm2
  movsd  %xmm2,0x68(%rsp)
  movapd %xmm4,%xmm1
  mulsd  %xmm0,%xmm1
  subsd  %xmm13,%xmm1
  movsd  %xmm1,0x70(%rsp)
  movapd %xmm7,%xmm1
  mulsd  %xmm0,%xmm1
  movapd %xmm3,%xmm2
  subsd  %xmm1,%xmm2
  movsd  %xmm2,0x78(%rsp)
  mulsd  %xmm0,%xmm3
  movapd %xmm3,%xmm1
  subsd  %xmm7,%xmm1
  movsd  %xmm1,0x80(%rsp)
  mulsd  %xmm0,%xmm13
  subsd  %xmm13,%xmm4
  movsd  %xmm4,0x88(%rsp)
  mulsd  %xmm5,%xmm0
  subsd  %xmm6,%xmm0
  movsd  %xmm0,0x90(%rsp)
  cmp    %r14d,%r13d
  jge    L70
  mov    0xa0(%rsp),%r11
  lea    0x0(,%r11,8),%rsi
  mov    0xf8(%rsp),%r10
  lea    (%r10,%rsi,1),%rcx
  mov    0xd8(%rsp),%rax
  lea    (%rsi,%rax,1),%rdx
  mov    0xe0(%rsp),%rax
  add    %rsi,%rax
  mov    0xf0(%rsp),%rdi
  add    %rbx,%rdi
  mov    0xb8(%rsp),%r15d
  lea    (%r15,%r14,1),%r8d
  movslq %r8d,%r8
  add    %r8,%rdi
  lea    (%r10,%rdi,8),%rdi
  mov    0xe8(%rsp),%r9
  lea    0x8(%rsi,%r9,1),%rsi
  lea    -0x1(%r14),%r8d
  sub    %r13d,%r8d
  shr    %r8d
  mov    %r8d,%r8d
  mov    %r11,%r15
  lea    (%r11,%r8,2),%r8
  lea    0x10(%r10,%r8,8),%r11
  mov    0x98(%rsp),%r10
  sub    %r15,%r10
L65:
  movsd  (%rcx),%xmm4
  movsd  -0x8(%rsi),%xmm2
  movapd %xmm4,%xmm9
  addsd  %xmm2,%xmm9
  movsd  0x8(%rcx),%xmm1
  movsd  (%rsi),%xmm0
  movapd %xmm1,%xmm6
  addsd  %xmm0,%xmm6
  subsd  %xmm2,%xmm4
  subsd  %xmm0,%xmm1
  movsd  (%rdx),%xmm0
  movsd  (%rdx,%rbx,8),%xmm5
  movapd %xmm0,%xmm8
  addsd  %xmm5,%xmm8
  movsd  0x8(%rdx),%xmm7
  movsd  0x8(%rdx,%rbx,8),%xmm2
  movapd %xmm7,%xmm3
  addsd  %xmm2,%xmm3
  subsd  %xmm5,%xmm0
  subsd  %xmm2,%xmm7
  movapd %xmm9,%xmm5
  addsd  %xmm8,%xmm5
  movapd %xmm6,%xmm2
  addsd  %xmm3,%xmm2
  subsd  %xmm8,%xmm9
  movsd  %xmm9,0x20(%rsp)
  subsd  %xmm3,%xmm6
  movsd  %xmm6,0x28(%rsp)
  movapd %xmm4,%xmm6
  subsd  %xmm7,%xmm6
  movapd %xmm1,%xmm3
  addsd  %xmm0,%xmm3
  addsd  %xmm7,%xmm4
  subsd  %xmm0,%xmm1
  movsd  %xmm1,0x8(%rsp)
  movsd  (%rax),%xmm0
  movsd  (%rax,%rbx,8),%xmm10
  movapd %xmm0,%xmm7
  addsd  %xmm10,%xmm7
  movapd %xmm7,%xmm9
  movsd  0x8(%rax),%xmm8
  movsd  0x8(%rax,%rbx,8),%xmm7
  movapd %xmm8,%xmm12
  addsd  %xmm7,%xmm12
  subsd  %xmm10,%xmm0
  subsd  %xmm7,%xmm8
  movsd  (%rdi),%xmm10
  lea    (%rcx,%r12,1),%r9
  movsd  (%r9,%r10,8),%xmm14
  movapd %xmm10,%xmm15
  addsd  %xmm14,%xmm15
  lea    (%rsi,%r12,1),%r8
  movsd  (%r8,%rbx,8),%xmm11
  movsd  0x8(%rdi,%rbx,8),%xmm13
  movapd %xmm11,%xmm7
  addsd  %xmm13,%xmm7
  subsd  %xmm14,%xmm10
  subsd  %xmm13,%xmm11
  movapd %xmm9,%xmm14
  addsd  %xmm15,%xmm14
  movapd %xmm12,%xmm13
  addsd  %xmm7,%xmm13
  subsd  %xmm15,%xmm9
  movapd %xmm12,%xmm15
  subsd  %xmm7,%xmm15
  movapd %xmm0,%xmm7
  subsd  %xmm11,%xmm7
  movapd %xmm8,%xmm12
  addsd  %xmm10,%xmm12
  addsd  %xmm11,%xmm0
  subsd  %xmm10,%xmm8
  movapd %xmm7,%xmm11
  subsd  %xmm12,%xmm11
  mulsd  D10(%rip),%xmm11
  addsd  %xmm12,%xmm7
  mulsd  D10(%rip),%xmm7
  movapd %xmm0,%xmm10
  subsd  %xmm8,%xmm10
  mulsd  D10(%rip),%xmm10
  addsd  %xmm8,%xmm0
  mulsd  D10(%rip),%xmm0
  movsd  %xmm0,0x30(%rsp)
  movapd %xmm6,%xmm12
  addsd  %xmm11,%xmm12
  movapd %xmm3,%xmm8
  addsd  %xmm7,%xmm8
  movsd  0x10(%rsp),%xmm0
  mulsd  %xmm12,%xmm0
  movq   %xmm0,%r15
  movsd  0x18(%rsp),%xmm0
  mulsd  %xmm8,%xmm0
  movq   %r15,%xmm1
  subsd  %xmm0,%xmm1
  movsd  %xmm1,-0x8(%rsi)
  mulsd  0x10(%rsp),%xmm8
  mulsd  0x18(%rsp),%xmm12
  addsd  %xmm12,%xmm8
  movsd  %xmm8,(%rsi)
  subsd  %xmm11,%xmm6
  subsd  %xmm7,%xmm3
  movsd  0x68(%rsp),%xmm0
  movapd %xmm0,%xmm8
  mulsd  %xmm6,%xmm8
  movsd  0x70(%rsp),%xmm11
  movapd %xmm11,%xmm7
  mulsd  %xmm3,%xmm7
  subsd  %xmm7,%xmm8
  movsd  %xmm8,(%rax,%rbx,8)
  mulsd  %xmm0,%xmm3
  mulsd  %xmm11,%xmm6
  addsd  %xmm6,%xmm3
  movsd  %xmm3,0x8(%rax,%rbx,8)
  movapd %xmm4,%xmm6
  movsd  0x30(%rsp),%xmm11
  subsd  %xmm11,%xmm6
  movsd  0x8(%rsp),%xmm1
  addsd  %xmm10,%xmm1
  movapd %xmm1,%xmm3
  movsd  0x48(%rsp),%xmm0
  movapd %xmm0,%xmm8
  mulsd  %xmm6,%xmm8
  movsd  0x50(%rsp),%xmm12
  movapd %xmm12,%xmm7
  mulsd  %xmm1,%xmm7
  subsd  %xmm7,%xmm8
  movsd  %xmm8,(%rdx,%rbx,8)
  mulsd  %xmm0,%xmm3
  mulsd  %xmm12,%xmm6
  addsd  %xmm6,%xmm3
  movsd  %xmm3,0x8(%rdx,%rbx,8)
  movapd %xmm11,%xmm0
  addsd  %xmm4,%xmm0
  movsd  0x8(%rsp),%xmm1
  subsd  %xmm10,%xmm1
  movsd  0x88(%rsp),%xmm7
  movapd %xmm7,%xmm4
  mulsd  %xmm0,%xmm4
  movsd  0x90(%rsp),%xmm10
  movapd %xmm10,%xmm3
  mulsd  %xmm1,%xmm3
  subsd  %xmm3,%xmm4
  movsd  %xmm4,(%r9,%r10,8)
  mulsd  %xmm7,%xmm1
  mulsd  %xmm10,%xmm0
  addsd  %xmm0,%xmm1
  movsd  %xmm1,0x8(%rdi,%rbx,8)
  movapd %xmm5,%xmm0
  addsd  %xmm14,%xmm0
  movsd  %xmm0,(%rcx)
  movapd %xmm2,%xmm0
  addsd  %xmm13,%xmm0
  movsd  %xmm0,0x8(%rcx)
  subsd  %xmm14,%xmm5
  subsd  %xmm13,%xmm2
  movsd  0x58(%rsp),%xmm7
  movapd %xmm7,%xmm1
  mulsd  %xmm5,%xmm1
  movsd  0x60(%rsp),%xmm3
  movapd %xmm3,%xmm0
  mulsd  %xmm2,%xmm0
  subsd  %xmm0,%xmm1
  movsd  %xmm1,(%rax)
  mulsd  %xmm7,%xmm2
  mulsd  %xmm3,%xmm5
  addsd  %xmm5,%xmm2
  movsd  %xmm2,0x8(%rax)
  movsd  0x20(%rsp),%xmm5
  movapd %xmm5,%xmm1
  subsd  %xmm15,%xmm1
  movsd  0x28(%rsp),%xmm4
  movapd %xmm4,%xmm0
  addsd  %xmm9,%xmm0
  movsd  0x38(%rsp),%xmm6
  movapd %xmm6,%xmm3
  mulsd  %xmm1,%xmm3
  movsd  0x40(%rsp),%xmm7
  movapd %xmm7,%xmm2
  mulsd  %xmm0,%xmm2
  subsd  %xmm2,%xmm3
  movsd  %xmm3,(%rdx)
  mulsd  %xmm6,%xmm0
  mulsd  %xmm7,%xmm1
  addsd  %xmm1,%xmm0
  movsd  %xmm0,0x8(%rdx)
  addsd  %xmm15,%xmm5
  movapd %xmm5,%xmm0
  subsd  %xmm9,%xmm4
  movapd %xmm4,%xmm1
  movsd  0x78(%rsp),%xmm5
  movapd %xmm5,%xmm3
  mulsd  %xmm0,%xmm3
  movsd  0x80(%rsp),%xmm4
  movapd %xmm4,%xmm2
  mulsd  %xmm1,%xmm2
  subsd  %xmm2,%xmm3
  movsd  %xmm3,(%rdi)
  mulsd  %xmm5,%xmm1
  mulsd  %xmm4,%xmm0
  addsd  %xmm0,%xmm1
  movsd  %xmm1,(%r8,%rbx,8)
  add    $0x10,%rcx
  add    $0x10,%rdx
  add    $0x10,%rax
  add    $0x10,%rdi
  add    $0x10,%rsi
  cmp    %r11,%rcx
  jne    L65
L70:
  mov    0xa8(%rsp),%eax
  add    %eax,%r13d
  add    %eax,%r14d
  mov    0xc0(%rsp),%rdi
  add    %rdi,0x98(%rsp)
  add    %rdi,0xa0(%rsp)
  cmp    %r13d,0xac(%rsp)
  jle    L118
L85:
  mov    0xbc(%rsp),%edi
  xor    %edi,%ebp
  mov    %edi,%eax
  cmp    %ebp,%edi
  jg     L50
  jmp    L126
L118:
  add    $0x118,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
```

tool_calls: name: read_data
arguments: label: D10
type_guessed: f64
name: read_data
arguments: label: D144
type_guessed: f64
name: read_data
arguments: label: D133
type_guessed: f64
name: read_data
arguments: label: D160
type_guessed: f64
name: read_data
arguments: label: D78
type_guessed: byte[8]

tool: D10: 0.7071067811865476

tool: D144: 0.3826834323650898

tool: D133: 0.9238795325112867

tool: D160: 1.5707963267948966

tool: {"D78": [0x00,0x00,0x00,0x00,0x00,0x00,0xf0,0x3f]}

assistant: ```c
void cftmdl(int n, int l, double *a) {
  int j, j1, j2, j3, j4, j5, j6, j7, k, kj, kr, m;
  double ew, wn4r, wtmp, wk1r, wk1i, wk2r, wk2i, wk3r, wk3i, wk4r, wk4i, wk5r, wk5i, wk6r, wk6i, wk7r, wk7i;
  double x0r, x0i, x1r, x1i, x2r, x2i, x3r, x3i, y0r, y0i, y1r, y1i, y2r, y2i, y3r, y3i, y4r, y4i, y5r, y5i, y6r, y6i, y7r, y7i;
  m = l << 3;
  wn4r = 0.707106781186547524400844362104849039284835937688;
  for (j = 0; j < l; j += 2) {
    j1 = j + l;
    j2 = j1 + l;
    j3 = j2 + l;
    j4 = j3 + l;
    j5 = j4 + l;
    j6 = j5 + l;
    j7 = j6 + 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];
    y0r = x0r + x2r;
    y0i = x0i + x2i;
    y2r = x0r - x2r;
    y2i = x0i - x2i;
    y1r = x1r - x3i;
    y1i = x1i + x3r;
    y3r = x1r + x3i;
    y3i = x1i - x3r;
    x0r = a[j4] + a[j5];
    x0i = a[j4 + 1] + a[j5 + 1];
    x1r = a[j4] - a[j5];
    x1i = a[j4 + 1] - a[j5 + 1];
    x2r = a[j6] + a[j7];
    x2i = a[j6 + 1] + a[j7 + 1];
    x3r = a[j6] - a[j7];
    x3i = a[j6 + 1] - a[j7 + 1];
    y4r = x0r + x2r;
    y4i = x0i + x2i;
    y6r = x0r - x2r;
    y6i = x0i - x2i;
    x0r = x1r - x3i;
    x0i = x1i + x3r;
    x2r = x1r + x3i;
    x2i = x1i - x3r;
    y5r = wn4r * (x0r - x0i);
    y5i = wn4r * (x0r + x0i);
    y7r = wn4r * (x2r - x2i);
    y7i = wn4r * (x2r + x2i);
    a[j1] = y1r + y5r;
    a[j1 + 1] = y1i + y5i;
    a[j5] = y1r - y5r;
    a[j5 + 1] = y1i - y5i;
    a[j3] = y3r - y7i;
    a[j3 + 1] = y3i + y7r;
    a[j7] = y3r + y7i;
    a[j7 + 1] = y3i - y7r;
    a[j] = y0r + y4r;
    a[j + 1] = y0i + y4i;
    a[j4] = y0r - y4r;
    a[j4 + 1] = y0i - y4i;
    a[j2] = y2r - y6i;
    a[j2 + 1] = y2i + y6r;
    a[j6] = y2r + y6i;
    a[j6 + 1] = y2i - y6r;
  }
  if (m < n) {
    wk1r = 0.923879532511286756128183189396788286822416625863;
    wk1i = 0.382683432365089771728459984030398866761344562485;
    for (j = m; j < l + m; j += 2) {
      j1 = j + l;
      j2 = j1 + l;
      j3 = j2 + l;
      j4 = j3 + l;
      j5 = j4 + l;
      j6 = j5 + l;
      j7 = j6 + 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];
      y0r = x0r + x2r;
      y0i = x0i + x2i;
      y2r = x0r - x2r;
      y2i = x0i - x2i;
      y1r = x1r - x3i;
      y1i = x1i + x3r;
      y3r = x1r + x3i;
      y3i = x1i - x3r;
      x0r = a[j4] + a[j5];
      x0i = a[j4 + 1] + a[j5 + 1];
      x1r = a[j4] - a[j5];
      x1i = a[j4 + 1] - a[j5 + 1];
      x2r = a[j6] + a[j7];
      x2i = a[j6 + 1] + a[j7 + 1];
      x3r = a[j6] - a[j7];
      x3i = a[j6 + 1] - a[j7 + 1];
      y4r = x0r + x2r;
      y4i = x0i + x2i;
      y6r = x0r - x2r;
      y6i = x0i - x2i;
      x0r = x1r - x3i;
      x0i = x1i + x3r;
      x2r = x1r + x3i;
      x2i = x3r - x1i;
      y5r = wk1i * x0r - wk1r * x0i;
      y5i = wk1i * x0i + wk1r * x0r;
      y7r = wk1r * x2r + wk1i * x2i;
      y7i = wk1r * x2i - wk1i * x2r;
      x0r = wk1r * y1r - wk1i * y1i;
      x0i = wk1r * y1i + wk1i * y1r;
      a[j1] = x0r + y5r;
      a[j1 + 1] = x0i + y5i;
      a[j5] = y5i - x0i;
      a[j5 + 1] = x0r - y5r;
      x0r = wk1i * y3r - wk1r * y3i;
      x0i = wk1i * y3i + wk1r * y3r;
      a[j3] = x0r - y7r;
      a[j3 + 1] = x0i + y7i;
      a[j7] = y7i - x0i;
      a[j7 + 1] = x0r + y7r;
      a[j] = y0r + y4r;
      a[j + 1] = y0i + y4i;
      a[j4] = y4i - y0i;
      a[j4 + 1] = y0r - y4r;
      x0r = y2r - y6i;
      x0i = y2i + y6r;
      a[j2] = wn4r * (x0r - x0i);
      a[j2 + 1] = wn4r * (x0i + x0r);
      x0r = y6r - y2i;
      x0i = y2r + y6i;
      a[j6] = wn4r * (x0r - x0i);
      a[j6 + 1] = wn4r * (x0i + x0r);
    }
    ew = 1.570796326794896619231321691639751442098584699687 / n;
    kr = n >> 2;
    for (k = 2 * m; k < n; k += m) {
      for (kj = n >> 2; kj > (kr ^= kj); kj >>= 1)
        ;
      wk1r = cos(ew * kr);
      wk1i = sin(ew * kr);
      wk2r = 1 - 2 * wk1i * wk1i;
      wk2i = 2 * wk1i * wk1r;
      wtmp = 2 * wk2i;
      wk3r = wk1r - wtmp * wk1i;
      wk3i = wtmp * wk1r - wk1i;
      wk4r = 1 - wtmp * wk2i;
      wk4i = wtmp * wk2r;
      wtmp = 2 * wk4i;
      wk5r = wk3r - wtmp * wk1i;
      wk5i = wtmp * wk1r - wk3i;
      wk6r = wk2r - wtmp * wk2i;
      wk6i = wtmp * wk2r - wk2i;
      wk7r = wk1r - wtmp * wk3i;
      wk7i = wtmp * wk3r - wk1i;
      for (j = k; j < l + k; j += 2) {
        j1 = j + l;
        j2 = j1 + l;
        j3 = j2 + l;
        j4 = j3 + l;
        j5 = j4 + l;
        j6 = j5 + l;
        j7 = j6 + 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];
        y0r = x0r + x2r;
        y0i = x0i + x2i;
        y2r = x0r - x2r;
        y2i = x0i - x2i;
        y1r = x1r - x3i;
        y1i = x1i + x3r;
        y3r = x1r + x3i;
        y3i = x1i - x3r;
        x0r = a[j4] + a[j5];
        x0i = a[j4 + 1] + a[j5 + 1];
        x1r = a[j4] - a[j5];
        x1i = a[j4 + 1] - a[j5 + 1];
        x2r = a[j6] + a[j7];
        x2i = a[j6 + 1] + a[j7 + 1];
        x3r = a[j6] - a[j7];
        x3i = a[j6 + 1] - a[j7 + 1];
        y4r = x0r + x2r;
        y4i = x0i + x2i;
        y6r = x0r - x2r;
        y6i = x0i - x2i;
        x0r = x1r - x3i;
        x0i = x1i + x3r;
        x2r = x1r + x3i;
        x2i = x1i - x3r;
        y5r = wn4r * (x0r - x0i);
        y5i = wn4r * (x0r + x0i);
        y7r = wn4r * (x2r - x2i);
        y7i = wn4r * (x2r + x2i);
        x0r = y1r + y5r;
        x0i = y1i + y5i;
        a[j1] = wk1r * x0r - wk1i * x0i;
        a[j1 + 1] = wk1r * x0i + wk1i * x0r;
        x0r = y1r - y5r;
        x0i = y1i - y5i;
        a[j5] = wk5r * x0r - wk5i * x0i;
        a[j5 + 1] = wk5r * x0i + wk5i * x0r;
        x0r = y3r - y7i;
        x0i = y3i + y7r;
        a[j3] = wk3r * x0r - wk3i * x0i;
        a[j3 + 1] = wk3r * x0i + wk3i * x0r;
        x0r = y3r + y7i;
        x0i = y3i - y7r;
        a[j7] = wk7r * x0r - wk7i * x0i;
        a[j7 + 1] = wk7r * x0i + wk7i * x0r;
        a[j] = y0r + y4r;
        a[j + 1] = y0i + y4i;
        x0r = y0r - y4r;
        x0i = y0i - y4i;
        a[j4] = wk4r * x0r - wk4i * x0i;
        a[j4 + 1] = wk4r * x0i + wk4i * x0r;
        x0r = y2r - y6i;
        x0i = y2i + y6r;
        a[j2] = wk2r * x0r - wk2i * x0i;
        a[j2 + 1] = wk2r * x0i + wk2i * x0r;
        x0r = y2r + y6i;
        x0i = y2i - y6r;
        a[j6] = wk6r * x0r - wk6i * x0i;
        a[j6 + 1] = wk6r * x0i + wk6i * x0r;
      }
    }
  }
}
```