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

```asm
<radfg>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x78,%rsp
  mov    %edi,%r15d
  mov    %esi,%r13d
  mov    %esi,0x30(%rsp)
  mov    %edx,%r12d
  mov    %ecx,%r14d
  mov    %r8,%rbp
  mov    %r9,%rbx
  lea    0x68(%rsp),%rdi
  lea    0x60(%rsp),%rsi
  pxor   %xmm1,%xmm1
  cvtsi2sd %r13d,%xmm1
  movsd  D19(%rip),%xmm0
  divsd  %xmm1,%xmm0
  call   <sincos@plt>
  movsd  0x60(%rsp),%xmm1
  movsd  0x68(%rsp),%xmm2
  lea    0x1(%r13),%edx
  mov    %edx,%eax
  shr    $0x1f,%eax
  add    %edx,%eax
  sar    %eax
  mov    %eax,0x24(%rsp)
  lea    -0x1(%r15),%edx
  mov    %edx,%eax
  shr    $0x1f,%eax
  add    %edx,%eax
  sar    %eax
  mov    %eax,0x54(%rsp)
  cmp    $0x1,%r15d
  je     L631
  test   %r14d,%r14d
  jle    L967
  mov    %r14d,%edx
  mov    $0x0,%eax
L186:
  movsd  0x0(%rbp,%rax,8),%xmm0
  movsd  %xmm0,(%rbx,%rax,8)
  add    $0x1,%rax
  cmp    %rdx,%rax
  jne    L186
L967:
  mov    0x30(%rsp),%esi
  cmp    $0x1,%esi
  jle    L460
  mov    %r12d,%ecx
  imul   %r15d,%ecx
  mov    %ecx,0x8(%rsp)
  movslq %r15d,%rdi
  shl    $0x3,%rdi
  mov    $0x1,%r11d
  jmp    L259
L631:
  mov    %r14d,%edx
  mov    $0x0,%eax
  test   %r14d,%r14d
  jle    L343
L660:
  movsd  (%rbx,%rax,8),%xmm0
  movsd  %xmm0,0x0(%rbp,%rax,8)
  add    $0x1,%rax
  cmp    %rdx,%rax
  jne    L660
L343:
  cmpl   $0x2,0x30(%rsp)
  jle    L295
L303:
  mov    0x30(%rsp),%eax
  lea    -0x1(%rax),%r11d
  mov    %r12d,%r10d
  imul   %r15d,%r10d
  mov    %r11d,%r9d
  imul   %r10d,%r9d
  movslq %r15d,%rsi
  shl    $0x3,%rsi
  mov    %r10d,%r8d
  mov    $0x1,%edi
  mov    0x24(%rsp),%r13d
L879:
  test   %r12d,%r12d
  jle    L770
  movslq %r8d,%rdx
  shl    $0x3,%rdx
  movslq %r9d,%rax
  shl    $0x3,%rax
  mov    $0x0,%ecx
L286:
  movsd  (%rbx,%rdx,1),%xmm0
  addsd  (%rbx,%rax,1),%xmm0
  movsd  %xmm0,0x0(%rbp,%rdx,1)
  movsd  (%rbx,%rax,1),%xmm0
  subsd  (%rbx,%rdx,1),%xmm0
  movsd  %xmm0,0x0(%rbp,%rax,1)
  add    $0x1,%ecx
  add    %rsi,%rdx
  add    %rsi,%rax
  cmp    %ecx,%r12d
  jne    L286
L770:
  add    $0x1,%edi
  add    %r10d,%r8d
  sub    %r10d,%r9d
  cmp    %edi,%r13d
  jg     L879
  imul   %r14d,%r11d
  mov    %r11d,0x18(%rsp)
  movslq %r14d,%rax
  lea    0x0(%rbp,%rax,8),%rsi
  mov    0x30(%rsp),%edi
  lea    -0x1(%rdi),%eax
  imul   %r14d,%eax
  cltq
  lea    0x0(%rbp,%rax,8),%r13
  lea    (%r14,%r14,1),%eax
  mov    %eax,0x34(%rsp)
  lea    -0x2(%rdi),%eax
  imul   %r14d,%eax
  mov    %eax,0x50(%rsp)
  mov    %r14d,0x10(%rsp)
  movsd  D12(%rip),%xmm6
  pxor   %xmm5,%xmm5
  movl   $0x1,0x8(%rsp)
  mov    %r14d,%eax
  mov    %rax,0x38(%rsp)
  lea    -0x1(%r14),%eax
  mov    %rax,0x40(%rsp)
  lea    0x8(%rbx),%rax
  mov    %rax,0x48(%rsp)
  mov    %r15d,0x58(%rsp)
  mov    %r12d,0x5c(%rsp)
  mov    %rsi,%r12
  mov    %rbx,0x28(%rsp)
  mov    0x24(%rsp),%ebx
L190:
  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   %r14d,%r14d
  jle    L182
  movslq 0x10(%rsp),%rax
  mov    0x28(%rsp),%rdi
  lea    (%rdi,%rax,8),%rcx
  movslq 0x18(%rsp),%rax
  lea    (%rdi,%rax,8),%rdx
  mov    $0x0,%eax
  mov    0x38(%rsp),%rsi
L700:
  movapd %xmm6,%xmm0
  mulsd  (%r12,%rax,8),%xmm0
  addsd  0x0(%rbp,%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    L700
L182:
  cmpl   $0x4,0x30(%rsp)
  jle    L467
  movslq 0x10(%rsp),%rax
  mov    0x28(%rsp),%rdi
  lea    (%rdi,%rax,8),%r15
  mov    0x40(%rsp),%rdi
  lea    (%rdi,%rax,1),%rdx
  mov    0x48(%rsp),%rdi
  lea    (%rdi,%rdx,8),%rdi
  mov    0x50(%rsp),%r10d
  mov    0x34(%rsp),%r9d
  movapd %xmm6,%xmm4
  movapd %xmm5,%xmm3
  mov    $0x2,%r8d
  movslq 0x18(%rsp),%rcx
  sub    %rax,%rcx
L932:
  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   %r14d,%r14d
  jle    L233
  movslq %r10d,%r11
  lea    0x0(%rbp,%r11,8),%rdx
  mov    %r15,%rax
  movslq %r9d,%rsi
  sub    %r11,%rsi
L369:
  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    L369
L233:
  add    $0x1,%r8d
  add    %r14d,%r9d
  sub    %r14d,%r10d
  cmp    %r8d,%ebx
  jg     L932
L467:
  addl   $0x1,0x8(%rsp)
  mov    0x8(%rsp),%eax
  add    %r14d,0x10(%rsp)
  sub    %r14d,0x18(%rsp)
  cmp    %eax,%ebx
  jg     L190
  mov    0x58(%rsp),%r15d
  mov    0x5c(%rsp),%r12d
  mov    0x28(%rsp),%rbx
  mov    %r14d,%edi
  mov    $0x1,%esi
  mov    %r14d,%ecx
  mov    0x24(%rsp),%r8d
  jmp    L116
L34:
  lea    0x1(%r11),%eax
  add    0x8(%rsp),%ecx
  cmp    %eax,%esi
  je     L105
  mov    %eax,%r11d
L259:
  movslq %ecx,%rax
  shl    $0x3,%rax
  mov    $0x0,%edx
  test   %r12d,%r12d
  jle    L34
L234:
  movsd  0x0(%rbp,%rax,1),%xmm0
  movsd  %xmm0,(%rbx,%rax,1)
  add    $0x1,%edx
  add    %rdi,%rax
  cmp    %edx,%r12d
  jne    L234
  jmp    L34
L650:
  mov    %eax,0x10(%rsp)
L583:
  cmp    $0x2,%r15d
  jle    L436
  movslq %r14d,%rax
  mov    0xb0(%rsp),%rsi
  lea    0x8(%rsi,%rax,8),%rdx
  movslq %r13d,%rax
  lea    0x10(,%rax,8),%r8
  mov    $0x1,%r9d
L605:
  test   %r12d,%r12d
  jle    L12
  lea    0x0(%rbp,%r8,1),%rax
  lea    (%rbx,%r8,1),%rcx
  mov    $0x0,%esi
L669:
  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,%r12d
  jne    L669
L12:
  add    $0x10,%rdx
  add    $0x2,%r9d
  add    $0x10,%r8
  cmp    %r10d,%r9d
  jne    L605
L436:
  mov    0x10(%rsp),%esi
  lea    0x1(%rsi),%eax
  add    %r15d,%r14d
  add    0x8(%rsp),%r13d
  cmp    %esi,%r11d
  jne    L650
  mov    0x18(%rsp),%r14d
  cmp    %r12d,0x54(%rsp)
  jge    L586
L733:
  cmpl   $0x2,0x30(%rsp)
  jle    L295
  mov    %r12d,%eax
  imul   %r15d,%eax
  mov    %eax,%edi
  mov    %eax,0x8(%rsp)
  mov    0x30(%rsp),%eax
  sub    $0x1,%eax
  mov    %eax,%r11d
  imul   %edi,%r11d
  movslq %r15d,%rsi
  shl    $0x3,%rsi
  mov    $0x1,%r13d
  lea    -0x3(%r15),%r10d
  and    $0xfffffffe,%r10d
  add    $0x3,%r10d
  mov    %r14d,0x10(%rsp)
  mov    %edi,%r14d
  jmp    L75
L340:
  movslq %r8d,%r9
  lea    0x0(,%r9,8),%rax
  lea    (%rbx,%rax,1),%rcx
  lea    (%r8,%r13,1),%esi
  movslq %esi,%rsi
  lea    (%rbx,%rsi,8),%rdx
  add    %rbp,%rax
  lea    (%r9,%r14,1),%rdi
  lea    (%r11,%rdi,8),%rdi
  sub    %r9,%rsi
L8:
  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    L8
L569:
  add    $0x1,%r10d
  add    %r15d,%r8d
  cmp    %r10d,%r12d
  je     L845
L357:
  cmp    $0x2,%r15d
  jg     L340
  jmp    L569
L845:
  addl   $0x1,0x8(%rsp)
  mov    0x8(%rsp),%eax
  mov    0x18(%rsp),%esi
  add    %esi,0x10(%rsp)
  add    0x28(%rsp),%r13d
  cmp    %eax,0x24(%rsp)
  jle    L9
L328:
  mov    0x10(%rsp),%r8d
  mov    $0x0,%r10d
  test   %r12d,%r12d
  jg     L357
  jmp    L845
L9:
  mov    0x34(%rsp),%r14d
  jmp    L303
L657:
  movsd  -0x8(%rbx,%rax,1),%xmm0
  addsd  -0x8(%rbx,%rdx,1),%xmm0
  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
  movsd  %xmm0,0x0(%rbp,%rdx,1)
  add    $0x1,%ecx
  add    %rsi,%rax
  add    %rsi,%rdx
  cmp    %ecx,%r12d
  jne    L657
L51:
  add    $0x10,%rdi
  add    $0x2,%r8d
  cmp    %r10d,%r8d
  je     L580
L119:
  lea    (%rdi,%r9,1),%rdx
  mov    %rdi,%rax
  mov    $0x0,%ecx
  test   %r12d,%r12d
  jg     L657
  jmp    L51
L580:
  add    $0x1,%r13d
  mov    0x8(%rsp),%eax
  add    %eax,%r14d
  sub    %eax,%r11d
  cmp    %r13d,0x24(%rsp)
  jle    L161
L75:
  cmp    $0x2,%r15d
  jle    L580
  movslq %r14d,%rax
  lea    0x10(,%rax,8),%rdi
  movslq %r11d,%r9
  sub    %rax,%r9
  shl    $0x3,%r9
  mov    $0x1,%r8d
  jmp    L119
L161:
  mov    0x10(%rsp),%r14d
  jmp    L303
L946:
  movslq %edi,%rax
  lea    0x0(%rbp,%rax,8),%rdx
  mov    $0x0,%eax
L325:
  movsd  (%rbx,%rax,8),%xmm0
  addsd  (%rdx,%rax,8),%xmm0
  movsd  %xmm0,(%rbx,%rax,8)
  add    $0x1,%rax
  cmp    %rcx,%rax
  jne    L325
L806:
  add    $0x1,%esi
  add    %r14d,%edi
  cmp    %esi,%r8d
  jle    L295
L116:
  test   %r14d,%r14d
  jg     L946
  jmp    L806
L268:
  test   %r12d,%r12d
  jle    L29
  mov    0x30(%rsp),%r11d
  imul   %r15d,%r11d
  mov    $0x0,%r10d
  mov    $0x0,%r9d
  mov    $0x0,%r8d
  lea    -0x1(%r15),%edi
  jmp    L558
L218:
  movslq %r9d,%rax
  lea    (%rbx,%rax,8),%rsi
  movslq %r10d,%rax
  lea    0x0(%rbp,%rax,8),%rcx
  mov    $0x0,%eax
L926:
  movsd  (%rsi,%rax,8),%xmm0
  movsd  %xmm0,(%rcx,%rax,8)
  mov    %rax,%rdx
  add    $0x1,%rax
  cmp    %rdi,%rdx
  jne    L926
L685:
  add    $0x1,%r8d
  add    %r15d,%r9d
  add    %r11d,%r10d
  cmp    %r8d,%r12d
  je     L29
L558:
  test   %r15d,%r15d
  jg     L218
  jmp    L685
L486:
  movsd  (%rdx),%xmm0
  movsd  %xmm0,(%rcx)
  add    $0x1,%eax
  add    %rdi,%rdx
  add    %rsi,%rcx
  cmp    %eax,%r12d
  jne    L486
L386:
  add    $0x1,%r10d
  add    $0x8,%r9
  add    $0x8,%r8
  cmp    %r10d,%r15d
  je     L29
L922:
  mov    %r8,%rcx
  mov    %r9,%rdx
  mov    $0x0,%eax
  test   %r12d,%r12d
  jg     L486
  jmp    L386
L29:
  mov    0x30(%rsp),%eax
  cmp    $0x2,%eax
  jle    L441
  lea    -0x1(%rax),%r8d
  imul   %r12d,%r8d
  mov    %r12d,%r11d
  imul   %r15d,%r11d
  mov    %r11d,0x8(%rsp)
  lea    (%r15,%r15,1),%r13d
  mov    %r13d,0x10(%rsp)
  movslq %r15d,%rdi
  shl    $0x3,%rdi
  imul   %r15d,%eax
  cltq
  lea    0x0(,%rax,8),%r14
  mov    %r12d,%r10d
  mov    $0x1,%r9d
  jmp    L409
L145:
  add    $0x1,%r9d
  add    %r12d,%r10d
  sub    %r12d,%r8d
  add    0x8(%rsp),%r11d
  add    0x10(%rsp),%r13d
  cmp    %r9d,0x24(%rsp)
  jle    L441
L409:
  test   %r12d,%r12d
  jle    L145
  movslq %r11d,%rax
  lea    (%rbx,%rax,8),%rdx
  movslq %r13d,%rax
  lea    0x0(%rbp,%rax,8),%rax
  mov    %r8d,%esi
  imul   %r15d,%esi
  movslq %esi,%rsi
  mov    %r10d,%ecx
  imul   %r15d,%ecx
  movslq %ecx,%rcx
  sub    %rcx,%rsi
  mov    $0x0,%ecx
L622:
  movsd  (%rdx),%xmm0
  movsd  %xmm0,-0x8(%rax)
  movsd  (%rdx,%rsi,8),%xmm0
  movsd  %xmm0,(%rax)
  add    $0x1,%ecx
  add    %rdi,%rdx
  add    %r14,%rax
  cmp    %ecx,%r12d
  jne    L622
  jmp    L145
L441:
  cmp    $0x1,%r15d
  je     L104
  cmp    %r12d,0x54(%rsp)
  jge    L244
  cmpl   $0x2,0x30(%rsp)
  jle    L104
  mov    %r12d,%edi
  imul   %r15d,%edi
  mov    %edi,0x34(%rsp)
  mov    0x30(%rsp),%esi
  lea    -0x1(%rsi),%eax
  imul   %edi,%eax
  mov    %eax,0x10(%rsp)
  lea    (%r15,%r15,1),%eax
  mov    %eax,0x50(%rsp)
  movslq %r15d,%rcx
  mov    %rcx,0x40(%rsp)
  lea    0x0(,%rcx,8),%r9
  imul   %r15d,%esi
  movslq %esi,%r8
  shl    $0x3,%r8
  mov    %r15d,0x28(%rsp)
  mov    %edi,0x30(%rsp)
  mov    %eax,0x18(%rsp)
  movl   $0x1,0x8(%rsp)
  lea    -0x3(%r15),%eax
  and    $0xfffffffe,%eax
  add    $0x3,%eax
  mov    %r15d,0x38(%rsp)
  mov    %rbx,0x48(%rsp)
  mov    %eax,%r15d
L769:
  cmpl   $0x2,0x38(%rsp)
  jle    L456
  movslq 0x10(%rsp),%rax
  mov    0x48(%rsp),%rbx
  lea    0x10(%rbx,%rax,8),%r11
  movslq 0x18(%rsp),%rdx
  lea    0x10(%rbp,%rdx,8),%r10
  movslq 0x30(%rsp),%r13
  sub    %rax,%r13
  shl    $0x3,%r13
  movslq 0x28(%rsp),%rax
  add    %rdx,%rax
  add    0x40(%rsp),%rax
  lea    0x0(%rbp,%rax,4),%r14
  add    %r14,%r14
  mov    $0x1,%ebx
L909:
  test   %r12d,%r12d
  jle    L557
  lea    (%r11,%r13,1),%rdx
  mov    %r14,%rsi
  sub    %r10,%rsi
  mov    %r10,%rcx
  mov    %r11,%rax
  mov    $0x0,%edi
L111:
  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,%r12d
  jne    L111
L557:
  add    $0x10,%r11
  add    $0x10,%r10
  add    $0x2,%ebx
  cmp    %r15d,%ebx
  jne    L909
L456:
  addl   $0x1,0x8(%rsp)
  mov    0x8(%rsp),%eax
  mov    0x34(%rsp),%edi
  sub    %edi,0x10(%rsp)
  mov    0x50(%rsp),%esi
  add    %esi,0x18(%rsp)
  add    %edi,0x30(%rsp)
  add    %esi,0x28(%rsp)
  cmp    %eax,0x24(%rsp)
  jg     L769
L104:
  add    $0x78,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L244:
  mov    0x30(%rsp),%edi
  cmp    $0x2,%edi
  jle    L104
  mov    %r12d,%esi
  imul   %r15d,%esi
  mov    %esi,0x34(%rsp)
  lea    (%r15,%r15,1),%ecx
  mov    %ecx,0x38(%rsp)
  lea    (%r12,%r12,1),%eax
  neg    %eax
  imul   %r15d,%eax
  mov    %eax,0x50(%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    %ecx,0x30(%rsp)
  mov    %esi,0x28(%rsp)
  mov    $0x1,%r14d
  movslq %r15d,%rax
  sub    $0x3,%rax
  mov    %rax,0x18(%rsp)
  lea    0x10(%rbx),%r13
  jmp    L702
L637:
  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    0x0(%rbp,%rcx,8),%rsi
  mov    %r9d,%ecx
  sub    %r15d,%ecx
  movslq %ecx,%rcx
  add    0x18(%rsp),%rcx
  lea    0x0(%rbp,%rcx,8),%rcx
  add    0x10(%rsp),%rdi
  lea    0x0(%r13,%rdi,8),%rdi
L132:
  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    L132
L723:
  add    $0x1,%r10d
  add    %r15d,%r8d
  add    0x8(%rsp),%r9d
  cmp    %r10d,%r12d
  je     L976
L382:
  cmp    $0x2,%r15d
  jg     L637
  jmp    L723
L976:
  add    $0x1,%r14d
  mov    0x34(%rsp),%edi
  add    %edi,0x28(%rsp)
  mov    0x38(%rsp),%edi
  add    %edi,0x30(%rsp)
  add    0x50(%rsp),%r11d
  cmp    %r14d,0x24(%rsp)
  jle    L104
L702:
  mov    0x30(%rsp),%r9d
  mov    0x28(%rsp),%r8d
  mov    $0x0,%r10d
  test   %r12d,%r12d
  jg     L382
  jmp    L976
L460:
  cmp    %r12d,0x54(%rsp)
  jg     L586
  cmp    %r12d,0x54(%rsp)
  jl     L733
L295:
  cmp    %r12d,%r15d
  jge    L268
  test   %r15d,%r15d
  jle    L29
  mov    %rbx,%r9
  mov    %rbp,%r8
  movslq %r15d,%rdi
  shl    $0x3,%rdi
  mov    0x30(%rsp),%esi
  imul   %r15d,%esi
  movslq %esi,%rsi
  shl    $0x3,%rsi
  mov    $0x0,%r10d
  jmp    L922
L105:
  cmp    %r12d,0x54(%rsp)
  jg     L880
  mov    0x8(%rsp),%r13d
  mov    $0xffffffff,%eax
  movl   $0x1,0x10(%rsp)
  lea    -0x3(%r15),%r10d
  and    $0xfffffffe,%r10d
  add    $0x3,%r10d
  mov    %r14d,0x18(%rsp)
  mov    %eax,%r14d
  jmp    L583
L880:
  mov    %r12d,%r13d
  imul   %r15d,%r13d
  mov    %r13d,0x10(%rsp)
  lea    -0x3(%r15),%eax
  shr    %eax
  mov    %eax,%eax
  add    %rax,%rax
  mov    %rax,0x8(%rsp)
  mov    $0xffffffff,%eax
  mov    $0x1,%r11d
  lea    0x10(%rbp),%r10
  mov    %r14d,0x18(%rsp)
  mov    %eax,%r14d
L348:
  test   %r12d,%r12d
  jle    L63
  movslq %r14d,%rax
  mov    0xb0(%rsp),%rdi
  lea    0x8(%rdi,%rax,8),%r9
  mov    %r13d,%r8d
  mov    $0x0,%edi
L498:
  cmp    $0x2,%r15d
  jle    L424
  movslq %r8d,%rdx
  lea    0x0(,%rdx,8),%rcx
  lea    0x0(%rbp,%rcx,1),%rax
  add    %rbx,%rcx
  add    0x8(%rsp),%rdx
  lea    (%r10,%rdx,8),%rsi
  mov    %r9,%rdx
L430:
  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    L430
L424:
  add    $0x1,%edi
  add    %r15d,%r8d
  cmp    %edi,%r12d
  jne    L498
L63:
  add    $0x1,%r11d
  add    0x10(%rsp),%r13d
  add    %r15d,%r14d
  cmp    %r11d,0x30(%rsp)
  jne    L348
  mov    0x18(%rsp),%r14d
L586:
  mov    0x30(%rsp),%esi
  cmp    $0x2,%esi
  jle    L295
  mov    %r15d,%edi
  imul   %r12d,%edi
  mov    %edi,0x18(%rsp)
  lea    (%r12,%r12,1),%eax
  neg    %eax
  imul   %r15d,%eax
  mov    %eax,0x28(%rsp)
  lea    -0x2(%rsi),%eax
  imul   %edi,%eax
  mov    %eax,%r13d
  lea    -0x3(%r15),%eax
  shr    %eax
  mov    %eax,%eax
  add    %rax,%rax
  mov    %edi,0x10(%rsp)
  movl   $0x1,0x8(%rsp)
  lea    0x10(%rbp),%r11
  mov    %r14d,0x34(%rsp)
  mov    %rax,%r14
  jmp    L328
```

tool_calls: name: extract_symbolic_data
arguments: label: D19
datatype: f64
name: extract_symbolic_data
arguments: label: D12
datatype: byte[8]

tool: D19: 6.28318530717959

tool: {"D12": [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];
        }
      }
    }
  }
}
```