user: 请从给定的汇编指令推导出C源代码：

```asm
<radfg>:
  endbr64
  push   %r15
  pxor   %xmm1,%xmm1
  mov    %edi,%r15d
  push   %r14
  mov    %esi,%r14d
  push   %r13
  cvtsi2sd %r14d,%xmm1
  mov    %ecx,%r13d
  push   %r12
  mov    %edx,%r12d
  push   %rbp
  mov    %r8,%rbp
  push   %rbx
  mov    %r9,%rbx
  sub    $0x78,%rsp
  movsd  D14(%rip),%xmm0
  mov    %esi,0x8(%rsp)
  lea    0x68(%rsp),%rdi
  lea    0x60(%rsp),%rsi
  divsd  %xmm1,%xmm0
  call   <sincos@plt>
  lea    0x1(%r14),%edx
  lea    -0x1(%r15),%edi
  movsd  0x60(%rsp),%xmm1
  mov    %edx,%eax
  mov    %edi,0x54(%rsp)
  movsd  0x68(%rsp),%xmm2
  shr    $0x1f,%eax
  add    %edx,%eax
  movslq %r13d,%rdx
  sar    %eax
  mov    %eax,0x14(%rsp)
  mov    %edi,%eax
  shr    $0x1f,%eax
  add    %edi,%eax
  sar    %eax
  mov    %eax,0x50(%rsp)
  xor    %eax,%eax
  cmp    $0x1,%r15d
  je     L186
  test   %r13d,%r13d
  jle    L100
L775:
  movsd  0x0(%rbp,%rax,8),%xmm0
  movsd  %xmm0,(%rbx,%rax,8)
  add    $0x1,%rax
  cmp    %rdx,%rax
  jne    L775
L100:
  mov    0x8(%rsp),%esi
  cmp    $0x1,%esi
  jle    L507
  mov    %r12d,%r11d
  movslq %r15d,%rax
  mov    $0x1,%r10d
  imul   %r15d,%r11d
  mov    %rax,0x20(%rsp)
  lea    0x0(,%rax,8),%rdi
  mov    %r11d,%ecx
L32:
  movslq %ecx,%rax
  xor    %edx,%edx
  shl    $0x3,%rax
  test   %r12d,%r12d
  jle    L107
  nopl   0x0(%rax)
L683:
  movsd  0x0(%rbp,%rax,1),%xmm0
  add    $0x1,%edx
  movsd  %xmm0,(%rbx,%rax,1)
  add    %rdi,%rax
  cmp    %edx,%r12d
  jne    L683
L107:
  lea    0x1(%r10),%eax
  add    %r11d,%ecx
  cmp    %eax,%esi
  je     L610
  mov    %eax,%r10d
  jmp    L32
L610:
  cmp    %r12d,0x50(%rsp)
  jle    L359
  mov    %r12d,%r14d
  lea    -0x3(%r15),%r9d
  mov    %r13d,0x1c(%rsp)
  lea    0x10(%rbp),%r11
  imul   %r15d,%r14d
  movl   $0x1,(%rsp)
  shr    %r9d
  mov    $0xffffffff,%eax
  add    %r9,%r9
  mov    %eax,%r13d
  mov    %r14d,0x18(%rsp)
L362:
  test   %r12d,%r12d
  jle    L498
  mov    0xb0(%rsp),%rdi
  movslq %r13d,%rax
  mov    %r14d,%r8d
  lea    0x8(%rdi,%rax,8),%r10
  xor    %edi,%edi
  nopl   (%rax)
L471:
  cmp    $0x2,%r15d
  jle    L282
  movslq %r8d,%rdx
  lea    0x0(,%rdx,8),%rcx
  add    %r9,%rdx
  lea    0x0(%rbp,%rcx,1),%rax
  lea    (%r11,%rdx,8),%rsi
  add    %rbx,%rcx
  mov    %r10,%rdx
  nopl   0x0(%rax,%rax,1)
L671:
  movsd  (%rdx),%xmm0
  add    $0x10,%rax
  add    $0x10,%rdx
  add    $0x10,%rcx
  mulsd  -0x8(%rax),%xmm0
  movsd  -0x8(%rdx),%xmm3
  mulsd  (%rax),%xmm3
  addsd  %xmm3,%xmm0
  movsd  %xmm0,-0x8(%rcx)
  movsd  -0x10(%rdx),%xmm0
  movsd  -0x8(%rdx),%xmm3
  mulsd  (%rax),%xmm0
  mulsd  -0x8(%rax),%xmm3
  subsd  %xmm3,%xmm0
  movsd  %xmm0,(%rcx)
  cmp    %rsi,%rax
  jne    L671
L282:
  add    $0x1,%edi
  add    %r15d,%r8d
  cmp    %edi,%r12d
  jne    L471
L498:
  addl   $0x1,(%rsp)
  add    %r15d,%r13d
  mov    (%rsp),%eax
  add    0x18(%rsp),%r14d
  cmp    %eax,0x8(%rsp)
  jne    L362
  mov    0x1c(%rsp),%r13d
L357:
  cmpl   $0x2,0x8(%rsp)
  jle    L507
  lea    (%r12,%r12,1),%eax
  mov    %r15d,%edi
  mov    %r13d,0x30(%rsp)
  lea    0x10(%rbp),%r14
  neg    %eax
  imul   %r12d,%edi
  movl   $0x1,(%rsp)
  imul   %r15d,%eax
  mov    %edi,0x1c(%rsp)
  mov    %eax,0x40(%rsp)
  mov    0x8(%rsp),%eax
  mov    %edi,0x18(%rsp)
  lea    -0x2(%rax),%r11d
  lea    -0x3(%r15),%eax
  mov    %r11d,0x28(%rsp)
  shr    %eax
  imul   %edi,%r11d
  add    %rax,%rax
  mov    %rax,%r13
L501:
  mov    0x18(%rsp),%r8d
  xor    %r10d,%r10d
  test   %r12d,%r12d
  jle    L48
  cs nopw 0x0(%rax,%rax,1)
L192:
  cmp    $0x2,%r15d
  jle    L632
  movslq %r8d,%r9
  lea    (%r8,%r11,1),%esi
  lea    0x0(,%r9,8),%rax
  movslq %esi,%rsi
  lea    (%r9,%r13,1),%rdi
  lea    (%rbx,%rax,1),%rcx
  lea    (%rbx,%rsi,8),%rdx
  add    %rbp,%rax
  sub    %r9,%rsi
  lea    (%r14,%rdi,8),%rdi
  xchg   %ax,%ax
L183:
  movsd  0x8(%rcx),%xmm0
  addsd  0x8(%rdx),%xmm0
  add    $0x10,%rcx
  add    $0x10,%rdx
  movsd  %xmm0,0x8(%rax)
  movsd  (%rcx),%xmm0
  subsd  (%rdx),%xmm0
  movsd  %xmm0,0x8(%rax,%rsi,8)
  movsd  (%rcx),%xmm0
  addsd  (%rdx),%xmm0
  movsd  %xmm0,0x10(%rax)
  movsd  -0x8(%rdx),%xmm0
  subsd  -0x8(%rcx),%xmm0
  movsd  %xmm0,0x10(%rax,%rsi,8)
  add    $0x10,%rax
  cmp    %rdi,%rax
  jne    L183
L632:
  add    $0x1,%r10d
  add    %r15d,%r8d
  cmp    %r10d,%r12d
  jne    L192
L48:
  addl   $0x1,(%rsp)
  mov    0x1c(%rsp),%esi
  mov    (%rsp),%eax
  add    %esi,0x18(%rsp)
  add    0x40(%rsp),%r11d
  cmp    %eax,0x14(%rsp)
  jg     L501
  mov    0x8(%rsp),%eax
  mov    0x30(%rsp),%r13d
  sub    $0x1,%eax
  mov    %eax,(%rsp)
L222:
  mov    %r12d,%r10d
  mov    (%rsp),%r9d
  mov    0x20(%rsp),%rsi
  mov    $0x1,%edi
  imul   %r15d,%r10d
  mov    0x14(%rsp),%r11d
  shl    $0x3,%rsi
  imul   %r10d,%r9d
  mov    %r10d,%r8d
  nopl   (%rax)
L556:
  test   %r12d,%r12d
  jle    L272
  movslq %r8d,%rdx
  movslq %r9d,%rax
  xor    %ecx,%ecx
  shl    $0x3,%rdx
  shl    $0x3,%rax
  nopl   (%rax)
L20:
  movsd  (%rbx,%rdx,1),%xmm0
  addsd  (%rbx,%rax,1),%xmm0
  add    $0x1,%ecx
  movsd  %xmm0,0x0(%rbp,%rdx,1)
  movsd  (%rbx,%rax,1),%xmm0
  subsd  (%rbx,%rdx,1),%xmm0
  add    %rsi,%rdx
  movsd  %xmm0,0x0(%rbp,%rax,1)
  add    %rsi,%rax
  cmp    %ecx,%r12d
  jne    L20
L272:
  add    $0x1,%edi
  add    %r10d,%r8d
  sub    %r10d,%r9d
  cmp    %edi,%r11d
  jg     L556
  mov    (%rsp),%edi
  movslq %r13d,%rax
  mov    %r13d,0x1c(%rsp)
  pxor   %xmm5,%xmm5
  lea    0x0(%rbp,%rax,8),%r14
  mov    %r13d,0x40(%rsp)
  movsd  D5(%rip),%xmm6
  imul   %r13d,%edi
  movl   $0x1,(%rsp)
  mov    %r12d,0x5c(%rsp)
  mov    %r15d,0x58(%rsp)
  mov    0x14(%rsp),%r15d
  movslq %edi,%rax
  mov    %edi,0x18(%rsp)
  lea    0x0(%rbp,%rax,8),%rax
  mov    %edi,0x20(%rsp)
  lea    0x8(%rbx),%rdi
  mov    %rax,0x30(%rsp)
  lea    0x0(%r13,%r13,1),%eax
  mov    %eax,0x44(%rsp)
  mov    0x28(%rsp),%eax
  mov    %rdi,0x48(%rsp)
  imul   %r13d,%eax
  mov    %rbx,0x28(%rsp)
  mov    %eax,0x38(%rsp)
  lea    -0x1(%r13),%eax
  mov    %rax,%rbx
  xchg   %ax,%ax
L770:
  movapd %xmm6,%xmm0
  movapd %xmm2,%xmm3
  movapd %xmm1,%xmm6
  mulsd  %xmm0,%xmm6
  mulsd  %xmm5,%xmm3
  mulsd  %xmm2,%xmm0
  mulsd  %xmm1,%xmm5
  subsd  %xmm3,%xmm6
  addsd  %xmm0,%xmm5
  test   %r13d,%r13d
  jle    L381
  movslq 0x1c(%rsp),%rax
  mov    0x28(%rsp),%rdi
  mov    0x30(%rsp),%r12
  lea    (%rdi,%rax,8),%rsi
  movslq 0x20(%rsp),%rax
  lea    (%rdi,%rax,8),%rcx
  xor    %eax,%eax
  nopw   0x0(%rax,%rax,1)
L124:
  movsd  (%r14,%rax,8),%xmm0
  mov    %rax,%rdx
  mulsd  %xmm6,%xmm0
  addsd  0x0(%rbp,%rax,8),%xmm0
  movsd  %xmm0,(%rsi,%rax,8)
  movsd  (%r12,%rax,8),%xmm0
  mulsd  %xmm5,%xmm0
  movsd  %xmm0,(%rcx,%rax,8)
  add    $0x1,%rax
  cmp    %rbx,%rdx
  jne    L124
L381:
  cmpl   $0x4,0x8(%rsp)
  jle    L622
  movslq 0x40(%rsp),%rax
  mov    0x28(%rsp),%rdi
  movapd %xmm6,%xmm4
  movapd %xmm5,%xmm3
  movslq 0x18(%rsp),%rcx
  mov    0x38(%rsp),%r10d
  mov    $0x2,%r8d
  lea    (%rdi,%rax,8),%r12
  mov    0x48(%rsp),%rdi
  lea    (%rbx,%rax,1),%rdx
  mov    0x44(%rsp),%r9d
  sub    %rax,%rcx
  lea    (%rdi,%rdx,8),%rdi
  cs nopw 0x0(%rax,%rax,1)
L717:
  movapd %xmm4,%xmm0
  movapd %xmm5,%xmm7
  movapd %xmm6,%xmm4
  mulsd  %xmm0,%xmm4
  mulsd  %xmm3,%xmm7
  mulsd  %xmm5,%xmm0
  mulsd  %xmm6,%xmm3
  subsd  %xmm7,%xmm4
  addsd  %xmm0,%xmm3
  test   %r13d,%r13d
  jle    L526
  movslq %r10d,%r11
  movslq %r9d,%rsi
  mov    %r12,%rax
  lea    0x0(%rbp,%r11,8),%rdx
  sub    %r11,%rsi
  nopw   0x0(%rax,%rax,1)
L691:
  movsd  (%rdx,%rsi,8),%xmm0
  add    $0x8,%rdx
  mulsd  %xmm4,%xmm0
  addsd  (%rax),%xmm0
  movsd  %xmm0,(%rax)
  movsd  -0x8(%rdx),%xmm0
  mulsd  %xmm3,%xmm0
  addsd  (%rax,%rcx,8),%xmm0
  movsd  %xmm0,(%rax,%rcx,8)
  add    $0x8,%rax
  cmp    %rax,%rdi
  jne    L691
L526:
  add    $0x1,%r8d
  add    %r13d,%r9d
  sub    %r13d,%r10d
  cmp    %r8d,%r15d
  jg     L717
L622:
  addl   $0x1,(%rsp)
  mov    (%rsp),%eax
  add    %r13d,0x40(%rsp)
  sub    %r13d,0x18(%rsp)
  add    %r13d,0x1c(%rsp)
  sub    %r13d,0x20(%rsp)
  cmp    %eax,%r15d
  jg     L770
  mov    0x58(%rsp),%r15d
  mov    0x5c(%rsp),%r12d
  mov    %r13d,%edi
  mov    $0x1,%esi
  mov    0x28(%rsp),%rbx
  mov    0x14(%rsp),%r9d
  lea    -0x1(%r13),%ecx
  nopl   0x0(%rax)
L521:
  test   %r13d,%r13d
  jle    L589
  movslq %edi,%rax
  lea    0x0(%rbp,%rax,8),%r8
  xor    %eax,%eax
  nopw   0x0(%rax,%rax,1)
L486:
  movsd  (%rbx,%rax,8),%xmm0
  addsd  (%r8,%rax,8),%xmm0
  mov    %rax,%rdx
  movsd  %xmm0,(%rbx,%rax,8)
  add    $0x1,%rax
  cmp    %rdx,%rcx
  jne    L486
L589:
  add    $0x1,%esi
  add    %r13d,%edi
  cmp    %esi,%r9d
  jg     L521
L507:
  cmp    %r12d,%r15d
  jl     L369
  test   %r12d,%r12d
  jle    L66
  mov    0x8(%rsp),%r10d
  mov    0x54(%rsp),%r11d
  xor    %r9d,%r9d
  xor    %r8d,%r8d
  xor    %edi,%edi
  imul   %r15d,%r10d
L461:
  test   %r15d,%r15d
  jle    L313
  movslq %r8d,%rax
  lea    (%rbx,%rax,8),%rsi
  movslq %r9d,%rax
  lea    0x0(%rbp,%rax,8),%rcx
  xor    %eax,%eax
  nopl   0x0(%rax)
L757:
  movsd  (%rsi,%rax,8),%xmm0
  mov    %rax,%rdx
  movsd  %xmm0,(%rcx,%rax,8)
  add    $0x1,%rax
  cmp    %rdx,%r11
  jne    L757
L313:
  add    $0x1,%edi
  add    %r15d,%r8d
  add    %r10d,%r9d
  cmp    %edi,%r12d
  jne    L461
L66:
  cmpl   $0x2,0x8(%rsp)
  jle    L460
  mov    0x8(%rsp),%eax
  mov    %r15d,%r13d
  lea    (%r15,%r15,1),%r14d
  movslq %r15d,%r8
  imul   %r12d,%r13d
  mov    %r14d,(%rsp)
  shl    $0x3,%r8
  mov    %r12d,%r11d
  lea    -0x1(%rax),%r9d
  mov    $0x1,%r10d
  imul   %r15d,%eax
  imul   %r12d,%r9d
  mov    %r13d,0x18(%rsp)
  movslq %eax,%rdi
  shl    $0x3,%rdi
  nopw   0x0(%rax,%rax,1)
L756:
  test   %r12d,%r12d
  jle    L524
  mov    %r9d,%esi
  mov    %r11d,%ecx
  movslq %r13d,%rax
  imul   %r15d,%esi
  lea    (%rbx,%rax,8),%rdx
  movslq %r14d,%rax
  imul   %r15d,%ecx
  lea    0x0(%rbp,%rax,8),%rax
  movslq %esi,%rsi
  movslq %ecx,%rcx
  sub    %rcx,%rsi
  xor    %ecx,%ecx
  nopl   (%rax)
L191:
  movsd  (%rdx),%xmm0
  add    $0x1,%ecx
  movsd  %xmm0,-0x8(%rax)
  movsd  (%rdx,%rsi,8),%xmm0
  add    %r8,%rdx
  movsd  %xmm0,(%rax)
  add    %rdi,%rax
  cmp    %ecx,%r12d
  jne    L191
L524:
  add    $0x1,%r10d
  add    %r12d,%r11d
  sub    %r12d,%r9d
  add    0x18(%rsp),%r13d
  add    (%rsp),%r14d
  cmp    %r10d,0x14(%rsp)
  jg     L756
L460:
  cmp    $0x1,%r15d
  je     L565
  cmp    %r12d,0x50(%rsp)
  jge    L319
  cmpl   $0x2,0x8(%rsp)
  jle    L565
  mov    %r12d,%edi
  mov    0x8(%rsp),%esi
  movslq %r15d,%rcx
  mov    %r15d,0x18(%rsp)
  imul   %r15d,%edi
  mov    %rcx,0x30(%rsp)
  lea    0x0(,%rcx,8),%r9
  lea    -0x1(%rsi),%eax
  movl   $0x1,(%rsp)
  imul   %r15d,%esi
  mov    %rbx,0x38(%rsp)
  imul   %edi,%eax
  mov    %edi,0x28(%rsp)
  mov    %edi,0x40(%rsp)
  movslq %esi,%r8
  mov    %eax,0x8(%rsp)
  lea    (%r15,%r15,1),%eax
  shl    $0x3,%r8
  mov    %eax,0x20(%rsp)
  mov    %eax,0x1c(%rsp)
L317:
  cmp    $0x2,%r15d
  jle    L541
  movslq 0x8(%rsp),%rax
  mov    0x38(%rsp),%rbx
  movslq 0x40(%rsp),%r13
  movslq 0x1c(%rsp),%rdx
  lea    0x10(%rbx,%rax,8),%r11
  mov    $0x2,%ebx
  sub    %rax,%r13
  movslq 0x18(%rsp),%rax
  lea    0x10(%rbp,%rdx,8),%r10
  shl    $0x3,%r13
  add    %rdx,%rax
  add    0x30(%rsp),%rax
  lea    0x0(%rbp,%rax,4),%r14
  add    %r14,%r14
L240:
  test   %r12d,%r12d
  jle    L568
  mov    %r14,%rsi
  lea    0x0(%r13,%r11,1),%rdx
  mov    %r10,%rcx
  mov    %r11,%rax
  sub    %r10,%rsi
  xor    %edi,%edi
  nopl   0x0(%rax,%rax,1)
L525:
  movsd  -0x8(%rdx),%xmm0
  addsd  -0x8(%rax),%xmm0
  add    $0x1,%edi
  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
  add    %r9,%rax
  add    %r9,%rdx
  add    %r8,%rcx
  movsd  %xmm0,(%rsi)
  add    %r8,%rsi
  cmp    %edi,%r12d
  jne    L525
L568:
  add    $0x2,%ebx
  add    $0x10,%r11
  add    $0x10,%r10
  cmp    %ebx,%r15d
  jg     L240
L541:
  mov    0x28(%rsp),%edi
  addl   $0x1,(%rsp)
  add    %edi,0x40(%rsp)
  mov    (%rsp),%eax
  sub    %edi,0x8(%rsp)
  mov    0x20(%rsp),%edi
  add    %edi,0x1c(%rsp)
  add    %edi,0x18(%rsp)
  cmp    %eax,0x14(%rsp)
  jg     L317
L565:
  add    $0x78,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L369:
  test   %r15d,%r15d
  jle    L66
  mov    0x8(%rsp),%esi
  movslq %r15d,%rdi
  mov    %rbx,%r9
  mov    %rbp,%r8
  shl    $0x3,%rdi
  xor    %r10d,%r10d
  imul   %r15d,%esi
  movslq %esi,%rsi
  shl    $0x3,%rsi
L102:
  mov    %r8,%rcx
  mov    %r9,%rdx
  xor    %eax,%eax
  test   %r12d,%r12d
  jle    L553
  nopw   0x0(%rax,%rax,1)
L269:
  movsd  (%rdx),%xmm0
  add    $0x1,%eax
  add    %rdi,%rdx
  movsd  %xmm0,(%rcx)
  add    %rsi,%rcx
  cmp    %eax,%r12d
  jne    L269
L553:
  add    $0x1,%r10d
  add    $0x8,%r9
  add    $0x8,%r8
  cmp    %r10d,%r15d
  jne    L102
  jmp    L66
L319:
  mov    0x8(%rsp),%edi
  cmp    $0x2,%edi
  jle    L565
  lea    (%r12,%r12,1),%eax
  mov    %r12d,%esi
  lea    (%r15,%r15,1),%ecx
  movl   $0x1,0x18(%rsp)
  neg    %eax
  imul   %r15d,%esi
  lea    -0x2(%rdi),%r11d
  mov    %ecx,0x28(%rsp)
  imul   %r15d,%eax
  mov    %ecx,0x1c(%rsp)
  lea    0x10(%rbx),%r14
  imul   %r15d,%edi
  mov    %esi,0x30(%rsp)
  imul   %esi,%r11d
  mov    %eax,0x20(%rsp)
  lea    -0x3(%r15),%eax
  shr    %eax
  mov    %esi,0x40(%rsp)
  mov    %edi,%r13d
  add    %rax,%rax
  mov    %rax,(%rsp)
  movslq %r15d,%rax
  sub    $0x3,%rax
  mov    %rax,0x8(%rsp)
L540:
  mov    0x1c(%rsp),%r9d
  mov    0x40(%rsp),%r8d
  xor    %r10d,%r10d
  test   %r12d,%r12d
  jle    L656
  nopl   0x0(%rax)
L740:
  cmp    $0x2,%r15d
  jle    L548
  movslq %r9d,%rcx
  movslq %r8d,%rdi
  lea    (%r11,%r8,1),%edx
  lea    0x0(%rbp,%rcx,8),%rsi
  mov    %r9d,%ecx
  lea    (%rbx,%rdi,8),%rax
  movslq %edx,%rdx
  sub    %r15d,%ecx
  add    (%rsp),%rdi
  lea    (%rbx,%rdx,8),%rdx
  movslq %ecx,%rcx
  add    0x8(%rsp),%rcx
  lea    (%r14,%rdi,8),%rdi
  lea    0x0(%rbp,%rcx,8),%rcx
  nop
L296:
  add    $0x10,%rax
  add    $0x10,%rdx
  add    $0x10,%rsi
  sub    $0x10,%rcx
  movsd  -0x8(%rax),%xmm0
  addsd  -0x8(%rdx),%xmm0
  movsd  %xmm0,-0x8(%rsi)
  movsd  -0x8(%rax),%xmm0
  subsd  -0x8(%rdx),%xmm0
  movsd  %xmm0,0x10(%rcx)
  movsd  (%rax),%xmm0
  addsd  (%rdx),%xmm0
  movsd  %xmm0,(%rsi)
  movsd  (%rdx),%xmm0
  subsd  (%rax),%xmm0
  movsd  %xmm0,0x18(%rcx)
  cmp    %rdi,%rax
  jne    L296
L548:
  add    $0x1,%r10d
  add    %r15d,%r8d
  add    %r13d,%r9d
  cmp    %r10d,%r12d
  jne    L740
L656:
  mov    0x30(%rsp),%esi
  addl   $0x1,0x18(%rsp)
  add    %esi,0x40(%rsp)
  mov    0x18(%rsp),%eax
  mov    0x28(%rsp),%esi
  add    0x20(%rsp),%r11d
  add    %esi,0x1c(%rsp)
  cmp    %eax,0x14(%rsp)
  jg     L540
  add    $0x78,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L359:
  mov    $0xffffffff,%eax
  mov    %r10d,(%rsp)
  mov    %r11d,%r10d
  mov    $0x1,%r14d
  mov    %r13d,0x18(%rsp)
  mov    %eax,%r13d
L266:
  cmp    $0x2,%r15d
  jle    L239
  mov    0xb0(%rsp),%rsi
  movslq %r13d,%rax
  mov    $0x2,%r9d
  lea    0x8(%rsi,%rax,8),%rdx
  movslq %r10d,%rax
  lea    0x10(,%rax,8),%r8
  nopl   0x0(%rax,%rax,1)
L772:
  lea    0x0(%rbp,%r8,1),%rax
  lea    (%rbx,%r8,1),%rcx
  xor    %esi,%esi
  test   %r12d,%r12d
  jle    L224
L220:
  movsd  (%rdx),%xmm0
  movsd  0x8(%rdx),%xmm3
  add    $0x1,%esi
  mulsd  (%rax),%xmm3
  mulsd  -0x8(%rax),%xmm0
  addsd  %xmm3,%xmm0
  movsd  %xmm0,-0x8(%rcx)
  movsd  (%rdx),%xmm0
  movsd  0x8(%rdx),%xmm3
  mulsd  (%rax),%xmm0
  mulsd  -0x8(%rax),%xmm3
  add    %rdi,%rax
  subsd  %xmm3,%xmm0
  movsd  %xmm0,(%rcx)
  add    %rdi,%rcx
  cmp    %esi,%r12d
  jne    L220
L224:
  add    $0x2,%r9d
  add    $0x10,%rdx
  add    $0x10,%r8
  cmp    %r9d,%r15d
  jg     L772
L239:
  lea    0x1(%r14),%eax
  add    %r11d,%r10d
  add    %r15d,%r13d
  cmp    %r14d,(%rsp)
  je     L90
  mov    %eax,%r14d
  jmp    L266
L186:
  test   %r13d,%r13d
  jle    L700
L154:
  movsd  (%rbx,%rax,8),%xmm0
  movsd  %xmm0,0x0(%rbp,%rax,8)
  add    $0x1,%rax
  cmp    %rdx,%rax
  jne    L154
L700:
  movq   $0x1,0x20(%rsp)
  mov    0x8(%rsp),%eax
  lea    -0x2(%rax),%edi
  mov    %edi,0x28(%rsp)
  lea    -0x1(%rax),%edi
  mov    %edi,(%rsp)
  cmp    $0x2,%eax
  jg     L222
  jmp    L507
L90:
  mov    0x18(%rsp),%r13d
  cmp    %r12d,0x50(%rsp)
  je     L357
  cmpl   $0x2,0x8(%rsp)
  jle    L507
  mov    %r15d,%eax
  mov    0x8(%rsp),%edi
  mov    %r13d,0x18(%rsp)
  mov    $0x1,%r14d
  imul   %r12d,%eax
  lea    -0x1(%rdi),%r10d
  mov    0x20(%rsp),%rdi
  mov    %r10d,(%rsp)
  imul   %eax,%r10d
  lea    0x0(,%rdi,8),%rsi
  mov    %eax,%r11d
  mov    %eax,%r13d
L680:
  cmp    $0x2,%r15d
  jle    L727
  movslq %r11d,%rax
  movslq %r10d,%r9
  mov    $0x2,%r8d
  sub    %rax,%r9
  lea    0x10(,%rax,8),%rdi
  shl    $0x3,%r9
  nopw   0x0(%rax,%rax,1)
L167:
  lea    (%rdi,%r9,1),%rdx
  mov    %rdi,%rax
  xor    %ecx,%ecx
  test   %r12d,%r12d
  jle    L352
  cs nopw 0x0(%rax,%rax,1)
L123:
  movsd  -0x8(%rbx,%rax,1),%xmm0
  addsd  -0x8(%rbx,%rdx,1),%xmm0
  add    $0x1,%ecx
  movsd  %xmm0,-0x8(%rbp,%rax,1)
  movsd  (%rbx,%rax,1),%xmm0
  subsd  (%rbx,%rdx,1),%xmm0
  movsd  %xmm0,-0x8(%rbp,%rdx,1)
  movsd  (%rbx,%rax,1),%xmm0
  addsd  (%rbx,%rdx,1),%xmm0
  movsd  %xmm0,0x0(%rbp,%rax,1)
  movsd  -0x8(%rbx,%rdx,1),%xmm0
  subsd  -0x8(%rbx,%rax,1),%xmm0
  add    %rsi,%rax
  movsd  %xmm0,0x0(%rbp,%rdx,1)
  add    %rsi,%rdx
  cmp    %ecx,%r12d
  jne    L123
L352:
  add    $0x2,%r8d
  add    $0x10,%rdi
  cmp    %r8d,%r15d
  jg     L167
L727:
  add    $0x1,%r14d
  add    %r13d,%r11d
  sub    %r13d,%r10d
  cmp    %r14d,0x14(%rsp)
  jg     L680
  mov    0x8(%rsp),%eax
  mov    0x18(%rsp),%r13d
  sub    $0x2,%eax
  mov    %eax,0x28(%rsp)
  jmp    L222
```

tool_calls: name: read_data
arguments: tag: D14
type_infered: f64
name: read_data
arguments: tag: D5
type_infered: byte[8]

tool: D14: 6.28318530717959

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

assistant: ```c
void radfg(int ido, int ip, int l1, int idl1, double cc[], double ch[], 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++)
      ch[ik] = cc[ik];
    for (j = 1; j < ip; j++)
      for (k = 0; k < l1; k++)
        ch[(k + j * l1) * ido] = cc[(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] * cc[i - 1 + (k + j * l1) * ido] + wa[idij] * cc[i + (k + j * l1) * ido];
            ch[i + (k + j * l1) * ido] = wa[idij - 1] * cc[i + (k + j * l1) * ido] - wa[idij] * cc[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] * cc[i - 1 + (k + j * l1) * ido] + wa[idij] * cc[i + (k + j * l1) * ido];
            ch[i + (k + j * l1) * ido] = wa[idij - 1] * cc[i + (k + j * l1) * ido] - wa[idij] * cc[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) {
            cc[i - 1 + (k + j * l1) * ido] = ch[i - 1 + (k + j * l1) * ido] + ch[i - 1 + (k + jc * l1) * ido];
            cc[i - 1 + (k + jc * l1) * ido] = ch[i + (k + j * l1) * ido] - ch[i + (k + jc * l1) * ido];
            cc[i + (k + j * l1) * ido] = ch[i + (k + j * l1) * ido] + ch[i + (k + jc * l1) * ido];
            cc[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++) {
            cc[i - 1 + (k + j * l1) * ido] = ch[i - 1 + (k + j * l1) * ido] + ch[i - 1 + (k + jc * l1) * ido];
            cc[i - 1 + (k + jc * l1) * ido] = ch[i + (k + j * l1) * ido] - ch[i + (k + jc * l1) * ido];
            cc[i + (k + j * l1) * ido] = ch[i + (k + j * l1) * ido] + ch[i + (k + jc * l1) * ido];
            cc[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++)
      cc[ik] = ch[ik];
  }
  for (j = 1; j < ipph; j++) {
    jc = ip - j;
    for (k = 0; k < l1; k++) {
      cc[(k + j * l1) * ido] = ch[(k + j * l1) * ido] + ch[(k + jc * l1) * ido];
      cc[(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++) {
      ch[ik + l * idl1] = cc[ik] + ar1 * cc[ik + idl1];
      ch[ik + lc * idl1] = ai1 * cc[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++) {
        ch[ik + l * idl1] += ar2 * cc[ik + j * idl1];
        ch[ik + lc * idl1] += ai2 * cc[ik + jc * idl1];
      }
    }
  }
  for (j = 1; j < ipph; j++)
    for (ik = 0; ik < idl1; ik++)
      ch[ik] += cc[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];
        }
      }
    }
  }
}
```