user: What would the C source look like for the assembly code provided here?

```asm
<radfg>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x78,%rsp
  mov    %edi,%r15d
  mov    %esi,%eax
  mov    %edx,%ebp
  mov    %ecx,0x54(%rsp)
  mov    %r8,0x48(%rsp)
  mov    %r9,%r13
  mov    0xb0(%rsp),%r14
  mov    0xb8(%rsp),%rbx
  mov    0xc0(%rsp),%r12
  lea    0x68(%rsp),%rdi
  lea    0x60(%rsp),%rsi
  mov    %eax,0x24(%rsp)
  pxor   %xmm1,%xmm1
  cvtsi2sd %eax,%xmm1
  movsd  D4(%rip),%xmm0
  divsd  %xmm1,%xmm0
  call   <sincos@plt>
  movsd  0x60(%rsp),%xmm1
  movsd  0x68(%rsp),%xmm2
  mov    0x24(%rsp),%eax
  lea    0x1(%rax),%edx
  mov    %edx,%eax
  shr    $0x1f,%eax
  add    %edx,%eax
  sar    %eax
  mov    %eax,0x20(%rsp)
  lea    -0x1(%r15),%edx
  mov    %edx,%eax
  shr    $0x1f,%eax
  add    %edx,%eax
  sar    %eax
  mov    %eax,0x50(%rsp)
  cmp    $0x1,%r15d
  je     L422
  mov    0x54(%rsp),%eax
  test   %eax,%eax
  jle    L365
  mov    %eax,%edx
  mov    $0x0,%eax
L961:
  movsd  (%r14,%rax,8),%xmm0
  movsd  %xmm0,(%r12,%rax,8)
  add    $0x1,%rax
  cmp    %rdx,%rax
  jne    L961
L365:
  mov    0x24(%rsp),%esi
  cmp    $0x1,%esi
  jle    L133
  mov    %ebp,%ecx
  imul   %r15d,%ecx
  mov    %ecx,0x8(%rsp)
  movslq %r15d,%rdi
  shl    $0x3,%rdi
  mov    $0x1,%r11d
  jmp    L797
L422:
  mov    0x54(%rsp),%edi
  mov    %edi,%edx
  mov    $0x0,%eax
  test   %edi,%edi
  jle    L190
L734:
  movsd  (%r12,%rax,8),%xmm0
  movsd  %xmm0,(%r14,%rax,8)
  add    $0x1,%rax
  cmp    %rdx,%rax
  jne    L734
L190:
  cmpl   $0x2,0x24(%rsp)
  jle    L636
L439:
  mov    0x24(%rsp),%eax
  lea    -0x1(%rax),%r11d
  mov    %ebp,%r10d
  imul   %r15d,%r10d
  mov    %r11d,%r9d
  imul   %r10d,%r9d
  movslq %r15d,%rsi
  shl    $0x3,%rsi
  mov    %r10d,%r8d
  mov    $0x1,%edi
  mov    %r11d,0x8(%rsp)
  mov    0x20(%rsp),%r11d
L952:
  test   %ebp,%ebp
  jle    L711
  movslq %r8d,%rdx
  shl    $0x3,%rdx
  movslq %r9d,%rax
  shl    $0x3,%rax
  mov    $0x0,%ecx
L813:
  movsd  (%rbx,%rdx,1),%xmm0
  addsd  (%rbx,%rax,1),%xmm0
  movsd  %xmm0,0x0(%r13,%rdx,1)
  movsd  (%rbx,%rax,1),%xmm0
  subsd  (%rbx,%rdx,1),%xmm0
  movsd  %xmm0,0x0(%r13,%rax,1)
  add    $0x1,%ecx
  add    %rsi,%rdx
  add    %rsi,%rax
  cmp    %ecx,%ebp
  jne    L813
L711:
  add    $0x1,%edi
  add    %r10d,%r8d
  sub    %r10d,%r9d
  cmp    %edi,%r11d
  jg     L952
  mov    0x8(%rsp),%r11d
  mov    0x54(%rsp),%r8d
  imul   %r8d,%r11d
  mov    %r11d,0x18(%rsp)
  movslq %r8d,%rax
  lea    (%r14,%rax,8),%rsi
  mov    0x24(%rsp),%edi
  lea    -0x1(%rdi),%eax
  imul   %r8d,%eax
  cltq
  lea    (%r14,%rax,8),%r13
  lea    (%r8,%r8,1),%eax
  mov    %eax,0x28(%rsp)
  lea    -0x2(%rdi),%eax
  imul   %r8d,%eax
  mov    %eax,0x2c(%rsp)
  mov    %r8d,0x10(%rsp)
  movsd  D19(%rip),%xmm6
  pxor   %xmm5,%xmm5
  movl   $0x1,0x8(%rsp)
  mov    %r8d,%eax
  mov    %rax,0x30(%rsp)
  lea    -0x1(%r8),%eax
  mov    %rax,0x38(%rsp)
  lea    0x8(%r12),%rax
  mov    %rax,0x40(%rsp)
  mov    %r15d,0x58(%rsp)
  mov    %ebp,0x5c(%rsp)
  mov    %rbx,0xb8(%rsp)
  mov    %r12,0xc0(%rsp)
  mov    %rsi,%r12
  mov    0x20(%rsp),%ebp
L287:
  movapd %xmm6,%xmm0
  mulsd  %xmm1,%xmm6
  movapd %xmm2,%xmm3
  mulsd  %xmm5,%xmm3
  subsd  %xmm3,%xmm6
  mulsd  %xmm1,%xmm5
  mulsd  %xmm2,%xmm0
  addsd  %xmm0,%xmm5
  test   %r8d,%r8d
  jle    L786
  movslq 0x10(%rsp),%rax
  mov    0xc0(%rsp),%rbx
  lea    (%rbx,%rax,8),%rcx
  movslq 0x18(%rsp),%rax
  lea    (%rbx,%rax,8),%rdx
  mov    $0x0,%eax
  mov    0x30(%rsp),%rsi
L412:
  movapd %xmm6,%xmm0
  mulsd  (%r12,%rax,8),%xmm0
  addsd  (%r14,%rax,8),%xmm0
  movsd  %xmm0,(%rcx,%rax,8)
  movapd %xmm5,%xmm0
  mulsd  0x0(%r13,%rax,8),%xmm0
  movsd  %xmm0,(%rdx,%rax,8)
  add    $0x1,%rax
  cmp    %rsi,%rax
  jne    L412
L786:
  cmpl   $0x4,0x24(%rsp)
  jle    L562
  movslq 0x10(%rsp),%rax
  mov    0xc0(%rsp),%rbx
  lea    (%rbx,%rax,8),%r15
  mov    0x38(%rsp),%rbx
  lea    (%rbx,%rax,1),%rdx
  mov    0x40(%rsp),%rbx
  lea    (%rbx,%rdx,8),%rdi
  mov    0x2c(%rsp),%r11d
  mov    0x28(%rsp),%r10d
  movapd %xmm6,%xmm4
  movapd %xmm5,%xmm3
  mov    $0x2,%r9d
  movslq 0x18(%rsp),%rcx
  sub    %rax,%rcx
L775:
  movapd %xmm4,%xmm0
  mulsd  %xmm6,%xmm4
  movapd %xmm5,%xmm7
  mulsd  %xmm3,%xmm7
  subsd  %xmm7,%xmm4
  mulsd  %xmm6,%xmm3
  mulsd  %xmm5,%xmm0
  addsd  %xmm0,%xmm3
  test   %r8d,%r8d
  jle    L819
  movslq %r11d,%rbx
  lea    (%r14,%rbx,8),%rdx
  mov    %r15,%rax
  movslq %r10d,%rsi
  sub    %rbx,%rsi
L285:
  movapd %xmm4,%xmm0
  mulsd  (%rdx,%rsi,8),%xmm0
  addsd  (%rax),%xmm0
  movsd  %xmm0,(%rax)
  movapd %xmm3,%xmm0
  mulsd  (%rdx),%xmm0
  addsd  (%rax,%rcx,8),%xmm0
  movsd  %xmm0,(%rax,%rcx,8)
  add    $0x8,%rax
  add    $0x8,%rdx
  cmp    %rdi,%rax
  jne    L285
L819:
  add    $0x1,%r9d
  add    %r8d,%r10d
  sub    %r8d,%r11d
  cmp    %r9d,%ebp
  jg     L775
L562:
  addl   $0x1,0x8(%rsp)
  mov    0x8(%rsp),%eax
  add    %r8d,0x10(%rsp)
  sub    %r8d,0x18(%rsp)
  cmp    %eax,%ebp
  jg     L287
  mov    0x58(%rsp),%r15d
  mov    0x5c(%rsp),%ebp
  mov    0xb8(%rsp),%rbx
  mov    0xc0(%rsp),%r12
  mov    0x54(%rsp),%r8d
  mov    %r8d,%edi
  mov    $0x1,%esi
  mov    %r8d,%ecx
  mov    0x20(%rsp),%r9d
  jmp    L326
L494:
  lea    0x1(%r11),%eax
  add    0x8(%rsp),%ecx
  cmp    %eax,%esi
  je     L53
  mov    %eax,%r11d
L797:
  movslq %ecx,%rax
  shl    $0x3,%rax
  mov    $0x0,%edx
  test   %ebp,%ebp
  jle    L494
L780:
  movsd  0x0(%r13,%rax,1),%xmm0
  movsd  %xmm0,(%rbx,%rax,1)
  add    $0x1,%edx
  add    %rdi,%rax
  cmp    %edx,%ebp
  jne    L780
  jmp    L494
L788:
  mov    %eax,0x10(%rsp)
L32:
  cmp    $0x2,%r15d
  jle    L809
  movslq %r12d,%rax
  mov    0xc8(%rsp),%rsi
  lea    0x8(%rsi,%rax,8),%rdx
  movslq %r14d,%rax
  lea    0x10(,%rax,8),%r8
  mov    $0x1,%r9d
L161:
  test   %ebp,%ebp
  jle    L256
  lea    0x0(%r13,%r8,1),%rax
  lea    (%rbx,%r8,1),%rcx
  mov    $0x0,%esi
L683:
  movsd  (%rdx),%xmm0
  mulsd  -0x8(%rax),%xmm0
  movsd  0x8(%rdx),%xmm3
  mulsd  (%rax),%xmm3
  addsd  %xmm3,%xmm0
  movsd  %xmm0,-0x8(%rcx)
  movsd  (%rdx),%xmm0
  mulsd  (%rax),%xmm0
  movsd  0x8(%rdx),%xmm3
  mulsd  -0x8(%rax),%xmm3
  subsd  %xmm3,%xmm0
  movsd  %xmm0,(%rcx)
  add    $0x1,%esi
  add    %rdi,%rax
  add    %rdi,%rcx
  cmp    %esi,%ebp
  jne    L683
L256:
  add    $0x10,%rdx
  add    $0x2,%r9d
  add    $0x10,%r8
  cmp    %r10d,%r9d
  jne    L161
L809:
  mov    0x10(%rsp),%esi
  lea    0x1(%rsi),%eax
  add    %r15d,%r12d
  add    0x8(%rsp),%r14d
  cmp    %esi,%r11d
  jne    L788
  mov    0xb0(%rsp),%r14
  mov    0xc0(%rsp),%r12
  cmp    %ebp,0x50(%rsp)
  jge    L664
L545:
  cmpl   $0x2,0x24(%rsp)
  jle    L636
  mov    %ebp,%eax
  imul   %r15d,%eax
  mov    %eax,%edi
  mov    %eax,0x8(%rsp)
  mov    0x24(%rsp),%eax
  sub    $0x1,%eax
  mov    %eax,%r11d
  mov    %edi,%eax
  imul   %edi,%r11d
  movslq %r15d,%rsi
  shl    $0x3,%rsi
  mov    $0x1,%edi
  lea    -0x3(%r15),%r10d
  and    $0xfffffffe,%r10d
  add    $0x3,%r10d
  mov    %r14,0xb0(%rsp)
  mov    %eax,%r14d
  mov    %r12,0xc0(%rsp)
  mov    %edi,%r12d
  jmp    L444
L941:
  movslq %r8d,%r9
  lea    0x0(,%r9,8),%rax
  lea    (%rbx,%rax,1),%rcx
  lea    (%r8,%r12,1),%esi
  movslq %esi,%rsi
  lea    (%rbx,%rsi,8),%rdx
  add    %r13,%rax
  lea    (%r9,%r14,1),%rdi
  lea    (%r11,%rdi,8),%rdi
  sub    %r9,%rsi
L29:
  movsd  0x8(%rcx),%xmm0
  addsd  0x8(%rdx),%xmm0
  movsd  %xmm0,0x8(%rax)
  movsd  0x10(%rcx),%xmm0
  subsd  0x10(%rdx),%xmm0
  movsd  %xmm0,0x8(%rax,%rsi,8)
  movsd  0x10(%rcx),%xmm0
  addsd  0x10(%rdx),%xmm0
  movsd  %xmm0,0x10(%rax)
  movsd  0x8(%rdx),%xmm0
  subsd  0x8(%rcx),%xmm0
  movsd  %xmm0,0x10(%rax,%rsi,8)
  add    $0x10,%rcx
  add    $0x10,%rdx
  add    $0x10,%rax
  cmp    %rdi,%rax
  jne    L29
L77:
  add    $0x1,%r10d
  add    %r15d,%r8d
  cmp    %r10d,%ebp
  je     L73
L848:
  cmp    $0x2,%r15d
  jg     L941
  jmp    L77
L73:
  addl   $0x1,0x8(%rsp)
  mov    0x8(%rsp),%eax
  mov    0x18(%rsp),%esi
  add    %esi,0x10(%rsp)
  add    0x28(%rsp),%r12d
  cmp    %eax,0x20(%rsp)
  jle    L778
L633:
  mov    0x10(%rsp),%r8d
  mov    $0x0,%r10d
  test   %ebp,%ebp
  jg     L848
  jmp    L73
L778:
  mov    0xb0(%rsp),%r14
  mov    0xc0(%rsp),%r12
  jmp    L439
L704:
  movsd  -0x8(%rbx,%rax,1),%xmm0
  addsd  -0x8(%rbx,%rdx,1),%xmm0
  movsd  %xmm0,-0x8(%r13,%rax,1)
  movsd  (%rbx,%rax,1),%xmm0
  subsd  (%rbx,%rdx,1),%xmm0
  movsd  %xmm0,-0x8(%r13,%rdx,1)
  movsd  (%rbx,%rax,1),%xmm0
  addsd  (%rbx,%rdx,1),%xmm0
  movsd  %xmm0,0x0(%r13,%rax,1)
  movsd  -0x8(%rbx,%rdx,1),%xmm0
  subsd  -0x8(%rbx,%rax,1),%xmm0
  movsd  %xmm0,0x0(%r13,%rdx,1)
  add    $0x1,%ecx
  add    %rsi,%rax
  add    %rsi,%rdx
  cmp    %ecx,%ebp
  jne    L704
L267:
  add    $0x10,%rdi
  add    $0x2,%r8d
  cmp    %r10d,%r8d
  je     L764
L548:
  lea    (%rdi,%r9,1),%rdx
  mov    %rdi,%rax
  mov    $0x0,%ecx
  test   %ebp,%ebp
  jg     L704
  jmp    L267
L764:
  add    $0x1,%r12d
  mov    0x8(%rsp),%eax
  add    %eax,%r14d
  sub    %eax,%r11d
  cmp    %r12d,0x20(%rsp)
  jle    L536
L444:
  cmp    $0x2,%r15d
  jle    L764
  movslq %r14d,%rax
  lea    0x10(,%rax,8),%rdi
  movslq %r11d,%r9
  sub    %rax,%r9
  shl    $0x3,%r9
  mov    $0x1,%r8d
  jmp    L548
L536:
  mov    0xb0(%rsp),%r14
  mov    0xc0(%rsp),%r12
  jmp    L439
L501:
  movslq %edi,%rax
  lea    (%r14,%rax,8),%rdx
  mov    $0x0,%eax
L301:
  movsd  (%r12,%rax,8),%xmm0
  addsd  (%rdx,%rax,8),%xmm0
  movsd  %xmm0,(%r12,%rax,8)
  add    $0x1,%rax
  cmp    %rcx,%rax
  jne    L301
L894:
  add    $0x1,%esi
  add    %r8d,%edi
  cmp    %esi,%r9d
  jle    L636
L326:
  test   %r8d,%r8d
  jg     L501
  jmp    L894
L41:
  test   %ebp,%ebp
  jle    L717
  mov    0x24(%rsp),%r11d
  imul   %r15d,%r11d
  mov    $0x0,%r10d
  mov    $0x0,%r9d
  mov    $0x0,%r8d
  lea    -0x1(%r15),%edi
  mov    0x48(%rsp),%r12
  jmp    L333
L883:
  movslq %r9d,%rax
  lea    (%rbx,%rax,8),%rsi
  movslq %r10d,%rax
  lea    (%r12,%rax,8),%rcx
  mov    $0x0,%eax
L367:
  movsd  (%rsi,%rax,8),%xmm0
  movsd  %xmm0,(%rcx,%rax,8)
  mov    %rax,%rdx
  add    $0x1,%rax
  cmp    %rdi,%rdx
  jne    L367
L824:
  add    $0x1,%r8d
  add    %r15d,%r9d
  add    %r11d,%r10d
  cmp    %r8d,%ebp
  je     L717
L333:
  test   %r15d,%r15d
  jg     L883
  jmp    L824
L46:
  movsd  (%rdx),%xmm0
  movsd  %xmm0,(%rcx)
  add    $0x1,%eax
  add    %rdi,%rdx
  add    %rsi,%rcx
  cmp    %eax,%ebp
  jne    L46
L48:
  add    $0x1,%r10d
  add    $0x8,%r9
  add    $0x8,%r8
  cmp    %r10d,%r15d
  je     L717
L454:
  mov    %r8,%rcx
  mov    %r9,%rdx
  mov    $0x0,%eax
  test   %ebp,%ebp
  jg     L46
  jmp    L48
L717:
  mov    0x24(%rsp),%eax
  cmp    $0x2,%eax
  jle    L699
  lea    -0x1(%rax),%r9d
  imul   %ebp,%r9d
  mov    %ebp,%r12d
  imul   %r15d,%r12d
  mov    %r12d,0x8(%rsp)
  lea    (%r15,%r15,1),%r14d
  movslq %r15d,%r8
  shl    $0x3,%r8
  imul   %r15d,%eax
  movslq %eax,%rdi
  shl    $0x3,%rdi
  mov    %r14d,%r13d
  mov    %ebp,%r11d
  mov    $0x1,%r10d
  mov    %r14d,0x10(%rsp)
  mov    0x48(%rsp),%r14
  jmp    L628
L447:
  add    $0x1,%r10d
  add    %ebp,%r11d
  sub    %ebp,%r9d
  add    0x8(%rsp),%r12d
  add    0x10(%rsp),%r13d
  cmp    %r10d,0x20(%rsp)
  jle    L699
L628:
  test   %ebp,%ebp
  jle    L447
  movslq %r12d,%rax
  lea    (%rbx,%rax,8),%rdx
  movslq %r13d,%rax
  lea    (%r14,%rax,8),%rax
  mov    %r9d,%esi
  imul   %r15d,%esi
  movslq %esi,%rsi
  mov    %r11d,%ecx
  imul   %r15d,%ecx
  movslq %ecx,%rcx
  sub    %rcx,%rsi
  mov    $0x0,%ecx
L232:
  movsd  (%rdx),%xmm0
  movsd  %xmm0,-0x8(%rax)
  movsd  (%rdx,%rsi,8),%xmm0
  movsd  %xmm0,(%rax)
  add    $0x1,%ecx
  add    %r8,%rdx
  add    %rdi,%rax
  cmp    %ecx,%ebp
  jne    L232
  jmp    L447
L699:
  cmp    $0x1,%r15d
  je     L843
  cmp    %ebp,0x50(%rsp)
  jge    L371
  cmpl   $0x2,0x24(%rsp)
  jle    L843
  mov    %ebp,%edi
  imul   %r15d,%edi
  mov    %edi,0x28(%rsp)
  mov    0x24(%rsp),%esi
  lea    -0x1(%rsi),%eax
  imul   %edi,%eax
  mov    %eax,0x8(%rsp)
  lea    (%r15,%r15,1),%eax
  mov    %eax,0x2c(%rsp)
  movslq %r15d,%rcx
  mov    %rcx,0x38(%rsp)
  lea    0x0(,%rcx,8),%r9
  imul   %r15d,%esi
  movslq %esi,%r8
  shl    $0x3,%r8
  mov    %r15d,0x24(%rsp)
  mov    %edi,0x18(%rsp)
  mov    %eax,0x10(%rsp)
  mov    $0x1,%edi
  lea    -0x3(%r15),%eax
  and    $0xfffffffe,%eax
  lea    0x3(%rax),%r14d
  mov    %r15d,0x30(%rsp)
  mov    %edi,%r15d
  mov    %rbx,0xb8(%rsp)
L586:
  cmpl   $0x2,0x30(%rsp)
  jle    L958
  movslq 0x8(%rsp),%rax
  mov    0xb8(%rsp),%rbx
  lea    0x10(%rbx,%rax,8),%r11
  movslq 0x10(%rsp),%rdx
  mov    0x48(%rsp),%rbx
  lea    0x10(%rbx,%rdx,8),%r10
  movslq 0x18(%rsp),%r12
  sub    %rax,%r12
  shl    $0x3,%r12
  movslq 0x24(%rsp),%rax
  add    %rdx,%rax
  add    0x38(%rsp),%rax
  lea    (%rbx,%rax,4),%r13
  add    %r13,%r13
  mov    $0x1,%ebx
L154:
  test   %ebp,%ebp
  jle    L109
  lea    (%r11,%r12,1),%rdx
  mov    %r13,%rsi
  sub    %r10,%rsi
  mov    %r10,%rcx
  mov    %r11,%rax
  mov    $0x0,%edi
L639:
  movsd  -0x8(%rdx),%xmm0
  addsd  -0x8(%rax),%xmm0
  movsd  %xmm0,-0x8(%rcx)
  movsd  -0x8(%rdx),%xmm0
  subsd  -0x8(%rax),%xmm0
  movsd  %xmm0,-0x8(%rsi)
  movsd  (%rdx),%xmm0
  addsd  (%rax),%xmm0
  movsd  %xmm0,(%rcx)
  movsd  (%rax),%xmm0
  subsd  (%rdx),%xmm0
  movsd  %xmm0,(%rsi)
  add    $0x1,%edi
  add    %r9,%rdx
  add    %r9,%rax
  add    %r8,%rcx
  add    %r8,%rsi
  cmp    %edi,%ebp
  jne    L639
L109:
  add    $0x10,%r11
  add    $0x10,%r10
  add    $0x2,%ebx
  cmp    %r14d,%ebx
  jne    L154
L958:
  add    $0x1,%r15d
  mov    0x28(%rsp),%ebx
  sub    %ebx,0x8(%rsp)
  mov    0x2c(%rsp),%edi
  add    %edi,0x10(%rsp)
  add    %ebx,0x18(%rsp)
  add    %edi,0x24(%rsp)
  cmp    %r15d,0x20(%rsp)
  jg     L586
L843:
  add    $0x78,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L371:
  mov    0x24(%rsp),%edi
  cmp    $0x2,%edi
  jle    L843
  mov    %ebp,%esi
  imul   %r15d,%esi
  mov    %esi,0x2c(%rsp)
  lea    (%r15,%r15,1),%r14d
  mov    %r14d,0x38(%rsp)
  lea    0x0(%rbp,%rbp,1),%eax
  neg    %eax
  imul   %r15d,%eax
  mov    %eax,0x30(%rsp)
  lea    -0x2(%rdi),%r11d
  imul   %esi,%r11d
  imul   %r15d,%edi
  mov    %edi,0x8(%rsp)
  lea    -0x3(%r15),%eax
  shr    %eax
  mov    %eax,%eax
  add    %rax,%rax
  mov    %rax,0x10(%rsp)
  mov    %esi,0x24(%rsp)
  mov    $0x1,%r13d
  movslq %r15d,%rax
  sub    $0x3,%rax
  mov    %rax,0x18(%rsp)
  lea    0x10(%rbx),%r12
  mov    %r14d,0x28(%rsp)
  mov    0x48(%rsp),%r14
  jmp    L503
L71:
  movslq %r8d,%rdi
  lea    (%rbx,%rdi,8),%rax
  lea    (%r8,%r11,1),%edx
  movslq %edx,%rdx
  lea    (%rbx,%rdx,8),%rdx
  movslq %r9d,%rcx
  lea    (%r14,%rcx,8),%rsi
  mov    %r9d,%ecx
  sub    %r15d,%ecx
  movslq %ecx,%rcx
  add    0x18(%rsp),%rcx
  lea    (%r14,%rcx,8),%rcx
  add    0x10(%rsp),%rdi
  lea    (%r12,%rdi,8),%rdi
L816:
  movsd  0x8(%rax),%xmm0
  addsd  0x8(%rdx),%xmm0
  movsd  %xmm0,0x8(%rsi)
  movsd  0x8(%rax),%xmm0
  subsd  0x8(%rdx),%xmm0
  movsd  %xmm0,(%rcx)
  movsd  0x10(%rax),%xmm0
  addsd  0x10(%rdx),%xmm0
  movsd  %xmm0,0x10(%rsi)
  movsd  0x10(%rdx),%xmm0
  subsd  0x10(%rax),%xmm0
  movsd  %xmm0,0x8(%rcx)
  add    $0x10,%rax
  add    $0x10,%rdx
  add    $0x10,%rsi
  sub    $0x10,%rcx
  cmp    %rax,%rdi
  jne    L816
L887:
  add    $0x1,%r10d
  add    %r15d,%r8d
  add    0x8(%rsp),%r9d
  cmp    %r10d,%ebp
  je     L830
L838:
  cmp    $0x2,%r15d
  jg     L71
  jmp    L887
L830:
  add    $0x1,%r13d
  mov    0x2c(%rsp),%edi
  add    %edi,0x24(%rsp)
  mov    0x38(%rsp),%edi
  add    %edi,0x28(%rsp)
  add    0x30(%rsp),%r11d
  cmp    %r13d,0x20(%rsp)
  jle    L843
L503:
  mov    0x28(%rsp),%r9d
  mov    0x24(%rsp),%r8d
  mov    $0x0,%r10d
  test   %ebp,%ebp
  jg     L838
  jmp    L830
L133:
  cmp    %ebp,0x50(%rsp)
  jg     L664
  cmp    %ebp,0x50(%rsp)
  jl     L545
L636:
  cmp    %ebp,%r15d
  jge    L41
  test   %r15d,%r15d
  jle    L717
  mov    %rbx,%r9
  mov    0x48(%rsp),%r8
  movslq %r15d,%rdi
  shl    $0x3,%rdi
  mov    0x24(%rsp),%esi
  imul   %r15d,%esi
  movslq %esi,%rsi
  shl    $0x3,%rsi
  mov    $0x0,%r10d
  jmp    L454
L53:
  cmp    %ebp,0x50(%rsp)
  jg     L107
  mov    0x8(%rsp),%eax
  mov    $0xffffffff,%esi
  movl   $0x1,0x10(%rsp)
  lea    -0x3(%r15),%r10d
  and    $0xfffffffe,%r10d
  add    $0x3,%r10d
  mov    %r14,0xb0(%rsp)
  mov    %eax,%r14d
  mov    %r12,0xc0(%rsp)
  mov    %esi,%r12d
  jmp    L32
L107:
  mov    %ebp,%eax
  imul   %r15d,%eax
  mov    %eax,%edi
  mov    %eax,0x10(%rsp)
  lea    -0x3(%r15),%eax
  shr    %eax
  mov    %eax,%eax
  add    %rax,%rax
  mov    %rax,0x8(%rsp)
  mov    %edi,%eax
  mov    $0xffffffff,%edi
  mov    $0x1,%r11d
  lea    0x10(%r13),%r10
  mov    %r14,0xb0(%rsp)
  mov    %edi,%r14d
  mov    %r12,0xc0(%rsp)
  mov    %eax,%r12d
L877:
  test   %ebp,%ebp
  jle    L134
  movslq %r14d,%rax
  mov    0xc8(%rsp),%rdi
  lea    0x8(%rdi,%rax,8),%r9
  mov    %r12d,%r8d
  mov    $0x0,%edi
L318:
  cmp    $0x2,%r15d
  jle    L798
  movslq %r8d,%rdx
  lea    0x0(,%rdx,8),%rcx
  lea    0x0(%r13,%rcx,1),%rax
  add    %rbx,%rcx
  add    0x8(%rsp),%rdx
  lea    (%r10,%rdx,8),%rsi
  mov    %r9,%rdx
L949:
  movsd  (%rdx),%xmm0
  mulsd  0x8(%rax),%xmm0
  movsd  0x8(%rdx),%xmm3
  mulsd  0x10(%rax),%xmm3
  addsd  %xmm3,%xmm0
  movsd  %xmm0,0x8(%rcx)
  movsd  (%rdx),%xmm0
  mulsd  0x10(%rax),%xmm0
  movsd  0x8(%rdx),%xmm3
  mulsd  0x8(%rax),%xmm3
  subsd  %xmm3,%xmm0
  movsd  %xmm0,0x10(%rcx)
  add    $0x10,%rdx
  add    $0x10,%rax
  add    $0x10,%rcx
  cmp    %rsi,%rax
  jne    L949
L798:
  add    $0x1,%edi
  add    %r15d,%r8d
  cmp    %edi,%ebp
  jne    L318
L134:
  add    $0x1,%r11d
  add    0x10(%rsp),%r12d
  add    %r15d,%r14d
  cmp    %r11d,0x24(%rsp)
  jne    L877
  mov    0xb0(%rsp),%r14
  mov    0xc0(%rsp),%r12
L664:
  mov    0x24(%rsp),%esi
  cmp    $0x2,%esi
  jle    L636
  mov    %r15d,%edi
  imul   %ebp,%edi
  mov    %edi,0x18(%rsp)
  lea    0x0(%rbp,%rbp,1),%eax
  neg    %eax
  imul   %r15d,%eax
  mov    %eax,0x28(%rsp)
  lea    -0x2(%rsi),%eax
  imul   %edi,%eax
  mov    %eax,%esi
  lea    -0x3(%r15),%eax
  shr    %eax
  mov    %eax,%eax
  add    %rax,%rax
  mov    %edi,0x10(%rsp)
  movl   $0x1,0x8(%rsp)
  lea    0x10(%r13),%r11
  mov    %r14,0xb0(%rsp)
  mov    %rax,%r14
  mov    %r12,0xc0(%rsp)
  mov    %esi,%r12d
  jmp    L633
```

tool_calls: name: unpack_data
arguments: tag: D4
type_infered: f64
name: unpack_data
arguments: tag: D19
type_infered: byte[8]

tool: D4: 6.28318530717959

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

assistant: ```c
void radfg(int ido, int ip, int l1, int idl1, double cc[], double c1[], double c2[], double ch[], double ch2[], const double wa[]) {
  static const double twopi = 6.28318530717959;
  int idij, ipph, i, j, k, l, j2, ic, jc, lc, ik, is, nbd;
  double dc2, ai1, ai2, ar1, ar2, ds2, dcp, arg, dsp, ar1h, ar2h;
  arg = twopi / ip;
  dcp = cos(arg);
  dsp = sin(arg);
  ipph = (ip + 1) / 2;
  nbd = (ido - 1) / 2;
  if (ido != 1) {
    for (ik = 0; ik < idl1; ik++)
      ch2[ik] = c2[ik];
    for (j = 1; j < ip; j++)
      for (k = 0; k < l1; k++)
        ch[(k + j * l1) * ido] = c1[(k + j * l1) * ido];
    if (nbd <= l1) {
      is = -ido;
      for (j = 1; j < ip; j++) {
        is += ido;
        idij = is - 1;
        for (i = 2; i < ido; i += 2) {
          idij += 2;
          for (k = 0; k < l1; k++) {
            ch[i - 1 + (k + j * l1) * ido] = wa[idij - 1] * c1[i - 1 + (k + j * l1) * ido] + wa[idij] * c1[i + (k + j * l1) * ido];
            ch[i + (k + j * l1) * ido] = wa[idij - 1] * c1[i + (k + j * l1) * ido] - wa[idij] * c1[i - 1 + (k + j * l1) * ido];
          }
        }
      }
    } else {
      is = -ido;
      for (j = 1; j < ip; j++) {
        is += ido;
        for (k = 0; k < l1; k++) {
          idij = is - 1;
          for (i = 2; i < ido; i += 2) {
            idij += 2;
            ch[i - 1 + (k + j * l1) * ido] = wa[idij - 1] * c1[i - 1 + (k + j * l1) * ido] + wa[idij] * c1[i + (k + j * l1) * ido];
            ch[i + (k + j * l1) * ido] = wa[idij - 1] * c1[i + (k + j * l1) * ido] - wa[idij] * c1[i - 1 + (k + j * l1) * ido];
          }
        }
      }
    }
    if (nbd >= l1) {
      for (j = 1; j < ipph; j++) {
        jc = ip - j;
        for (k = 0; k < l1; k++) {
          for (i = 2; i < ido; i += 2) {
            c1[i - 1 + (k + j * l1) * ido] = ch[i - 1 + (k + j * l1) * ido] + ch[i - 1 + (k + jc * l1) * ido];
            c1[i - 1 + (k + jc * l1) * ido] = ch[i + (k + j * l1) * ido] - ch[i + (k + jc * l1) * ido];
            c1[i + (k + j * l1) * ido] = ch[i + (k + j * l1) * ido] + ch[i + (k + jc * l1) * ido];
            c1[i + (k + jc * l1) * ido] = ch[i - 1 + (k + jc * l1) * ido] - ch[i - 1 + (k + j * l1) * ido];
          }
        }
      }
    } else {
      for (j = 1; j < ipph; j++) {
        jc = ip - j;
        for (i = 2; i < ido; i += 2) {
          for (k = 0; k < l1; k++) {
            c1[i - 1 + (k + j * l1) * ido] = ch[i - 1 + (k + j * l1) * ido] + ch[i - 1 + (k + jc * l1) * ido];
            c1[i - 1 + (k + jc * l1) * ido] = ch[i + (k + j * l1) * ido] - ch[i + (k + jc * l1) * ido];
            c1[i + (k + j * l1) * ido] = ch[i + (k + j * l1) * ido] + ch[i + (k + jc * l1) * ido];
            c1[i + (k + jc * l1) * ido] = ch[i - 1 + (k + jc * l1) * ido] - ch[i - 1 + (k + j * l1) * ido];
          }
        }
      }
    }
  } else {
    for (ik = 0; ik < idl1; ik++)
      c2[ik] = ch2[ik];
  }
  for (j = 1; j < ipph; j++) {
    jc = ip - j;
    for (k = 0; k < l1; k++) {
      c1[(k + j * l1) * ido] = ch[(k + j * l1) * ido] + ch[(k + jc * l1) * ido];
      c1[(k + jc * l1) * ido] = ch[(k + jc * l1) * ido] - ch[(k + j * l1) * ido];
    }
  }
  ar1 = 1;
  ai1 = 0;
  for (l = 1; l < ipph; l++) {
    lc = ip - l;
    ar1h = dcp * ar1 - dsp * ai1;
    ai1 = dcp * ai1 + dsp * ar1;
    ar1 = ar1h;
    for (ik = 0; ik < idl1; ik++) {
      ch2[ik + l * idl1] = c2[ik] + ar1 * c2[ik + idl1];
      ch2[ik + lc * idl1] = ai1 * c2[ik + (ip - 1) * idl1];
    }
    dc2 = ar1;
    ds2 = ai1;
    ar2 = ar1;
    ai2 = ai1;
    for (j = 2; j < ipph; j++) {
      jc = ip - j;
      ar2h = dc2 * ar2 - ds2 * ai2;
      ai2 = dc2 * ai2 + ds2 * ar2;
      ar2 = ar2h;
      for (ik = 0; ik < idl1; ik++) {
        ch2[ik + l * idl1] += ar2 * c2[ik + j * idl1];
        ch2[ik + lc * idl1] += ai2 * c2[ik + jc * idl1];
      }
    }
  }
  for (j = 1; j < ipph; j++)
    for (ik = 0; ik < idl1; ik++)
      ch2[ik] += c2[ik + j * idl1];
  if (ido >= l1) {
    for (k = 0; k < l1; k++) {
      for (i = 0; i < ido; i++) {
        cc[i + k * ip * ido] = ch[i + k * ido];
      }
    }
  } else {
    for (i = 0; i < ido; i++) {
      for (k = 0; k < l1; k++) {
        cc[i + k * ip * ido] = ch[i + k * ido];
      }
    }
  }
  for (j = 1; j < ipph; j++) {
    jc = ip - j;
    j2 = 2 * j;
    for (k = 0; k < l1; k++) {
      cc[ido - 1 + (j2 - 1 + k * ip) * ido] = ch[(k + j * l1) * ido];
      cc[(j2 + k * ip) * ido] = ch[(k + jc * l1) * ido];
    }
  }
  if (ido == 1)
    return;
  if (nbd >= l1) {
    for (j = 1; j < ipph; j++) {
      jc = ip - j;
      j2 = 2 * j;
      for (k = 0; k < l1; k++) {
        for (i = 2; i < ido; i += 2) {
          ic = ido - i;
          cc[i - 1 + (j2 + k * ip) * ido] = ch[i - 1 + (k + j * l1) * ido] + ch[i - 1 + (k + jc * l1) * ido];
          cc[ic - 1 + (j2 - 1 + k * ip) * ido] = ch[i - 1 + (k + j * l1) * ido] - ch[i - 1 + (k + jc * l1) * ido];
          cc[i + (j2 + k * ip) * ido] = ch[i + (k + j * l1) * ido] + ch[i + (k + jc * l1) * ido];
          cc[ic + (j2 - 1 + k * ip) * ido] = ch[i + (k + jc * l1) * ido] - ch[i + (k + j * l1) * ido];
        }
      }
    }
  } else {
    for (j = 1; j < ipph; j++) {
      jc = ip - j;
      j2 = 2 * j;
      for (i = 2; i < ido; i += 2) {
        ic = ido - i;
        for (k = 0; k < l1; k++) {
          cc[i - 1 + (j2 + k * ip) * ido] = ch[i - 1 + (k + j * l1) * ido] + ch[i - 1 + (k + jc * l1) * ido];
          cc[ic - 1 + (j2 - 1 + k * ip) * ido] = ch[i - 1 + (k + j * l1) * ido] - ch[i - 1 + (k + jc * l1) * ido];
          cc[i + (j2 + k * ip) * ido] = ch[i + (k + j * l1) * ido] + ch[i + (k + jc * l1) * ido];
          cc[ic + (j2 - 1 + k * ip) * ido] = ch[i + (k + jc * l1) * ido] - ch[i + (k + j * l1) * ido];
        }
      }
    }
  }
}
```