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

```asm
<dradfg>:
  endbr64
  push   %r15
  pxor   %xmm1,%xmm1
  push   %r14
  mov    %esi,%r14d
  push   %r13
  cvtsi2sd %r14d,%xmm1
  mov    %edi,%r13d
  push   %r12
  mov    %r9,%r12
  push   %rbp
  push   %rbx
  mov    %edx,%ebx
  sub    $0x98,%rsp
  movsd  D5(%rip),%xmm0
  mov    %edi,0x4(%rsp)
  lea    0x88(%rsp),%rdi
  mov    0xd8(%rsp),%rbp
  divsd  %xmm1,%xmm0
  mov    %esi,0x28(%rsp)
  lea    0x80(%rsp),%rsi
  mov    0xe0(%rsp),%r15
  mov    %ecx,0x54(%rsp)
  mov    %r8,0x48(%rsp)
  call   <sincos@plt>
  lea    0x1(%r14),%eax
  mov    %r13d,%edi
  mov    %r14d,%esi
  movsd  0x80(%rsp),%xmm1
  sar    %eax
  imul   %edi,%esi
  movsd  0x88(%rsp),%xmm2
  mov    %eax,0x50(%rsp)
  lea    -0x1(%r13),%eax
  imul   %ebx,%r13d
  sar    %eax
  mov    %eax,0x70(%rsp)
  mov    %r14d,%eax
  mov    %esi,0x58(%rsp)
  imul   %r13d,%eax
  mov    %r13d,0x18(%rsp)
  mov    %eax,0x5c(%rsp)
  cmp    $0x1,%edi
  je     L570
  movslq 0x54(%rsp),%rdx
  mov    0xd0(%rsp),%rcx
  xor    %eax,%eax
  test   %edx,%edx
  jle    L770
  xchg   %ax,%ax
L296:
  movsd  (%rcx,%rax,8),%xmm0
  movsd  %xmm0,(%r15,%rax,8)
  add    $0x1,%rax
  cmp    %rdx,%rax
  jne    L296
L770:
  cmpl   $0x1,0x28(%rsp)
  jle    L782
  movslq 0x18(%rsp),%rax
  movslq 0x4(%rsp),%rsi
  mov    $0x1,%r14d
  mov    0x28(%rsp),%r9d
  mov    %rax,0x8(%rsp)
  lea    0x0(,%rax,8),%r8
  lea    0x0(,%rsi,8),%rcx
  mov    %r8,%rdi
  nopl   0x0(%rax)
L695:
  mov    %rdi,%rax
  xor    %edx,%edx
  test   %ebx,%ebx
  jle    L726
  nopl   0x0(%rax)
L435:
  movsd  (%r12,%rax,1),%xmm0
  add    $0x1,%edx
  movsd  %xmm0,0x0(%rbp,%rax,1)
  add    %rcx,%rax
  cmp    %edx,%ebx
  jne    L435
L726:
  lea    0x1(%r14),%eax
  add    %r8,%rdi
  cmp    %eax,%r9d
  je     L45
  mov    %eax,%r14d
  jmp    L695
L45:
  cmp    %ebx,0x70(%rsp)
  jle    L342
  mov    0x4(%rsp),%r11d
  mov    0x8(%rsp),%rax
  movl   $0xffffffff,0x10(%rsp)
  lea    0x10(%r12),%r13
  mov    %r14d,0x30(%rsp)
  lea    -0x3(%r11),%r10d
  mov    %rax,0x20(%rsp)
  mov    $0x1,%eax
  shr    %r10d
  mov    %r15,0xe0(%rsp)
  mov    %eax,%r15d
  add    %r10,%r10
L801:
  test   %ebx,%ebx
  jle    L683
  movslq 0x10(%rsp),%rax
  mov    0xe8(%rsp),%rdi
  xor    %r9d,%r9d
  mov    0x20(%rsp),%r8
  lea    0x8(%rdi,%rax,8),%r14
  xchg   %ax,%ax
L825:
  cmp    $0x2,%r11d
  jle    L528
  lea    0x0(,%r8,8),%rcx
  lea    (%r10,%r8,1),%rdx
  lea    (%r12,%rcx,1),%rax
  lea    0x0(%r13,%rdx,8),%rdi
  add    %rbp,%rcx
  mov    %r14,%rdx
  nopl   0x0(%rax)
L736:
  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    %rdi,%rax
  jne    L736
L528:
  add    $0x1,%r9d
  add    %rsi,%r8
  cmp    %r9d,%ebx
  jne    L825
L683:
  mov    0x8(%rsp),%rcx
  add    %r11d,0x10(%rsp)
  lea    0x1(%r15),%eax
  add    %rcx,0x20(%rsp)
  cmp    %r15d,0x30(%rsp)
  je     L333
  mov    %eax,%r15d
  jmp    L801
L342:
  mov    0x4(%rsp),%r14d
  shl    $0x3,%rsi
  mov    $0xffffffff,%r11d
  mov    %r15,0xe0(%rsp)
  mov    0x18(%rsp),%r15d
  xor    %r9d,%r9d
  mov    $0x1,%r10d
  lea    -0x3(%r14),%eax
  and    $0xfffffffe,%eax
  lea    0x2(%rax),%r13d
L448:
  add    %r15d,%r9d
  cmp    $0x2,%r14d
  jle    L854
  mov    0xe8(%rsp),%rdi
  movslq %r11d,%rax
  lea    0x0(%r13,%r9,1),%r8d
  lea    0x8(%rdi,%rax,8),%rdx
  mov    %r9d,%edi
  cs nopw 0x0(%rax,%rax,1)
L677:
  add    $0x2,%edi
  xor    %ecx,%ecx
  movslq %edi,%rax
  shl    $0x3,%rax
  test   %ebx,%ebx
  jle    L20
L816:
  movsd  (%rdx),%xmm0
  movsd  0x8(%rdx),%xmm3
  add    $0x1,%ecx
  mulsd  (%r12,%rax,1),%xmm3
  mulsd  -0x8(%r12,%rax,1),%xmm0
  addsd  %xmm3,%xmm0
  movsd  %xmm0,-0x8(%rbp,%rax,1)
  movsd  (%rdx),%xmm0
  movsd  0x8(%rdx),%xmm3
  mulsd  (%r12,%rax,1),%xmm0
  mulsd  -0x8(%r12,%rax,1),%xmm3
  subsd  %xmm3,%xmm0
  movsd  %xmm0,0x0(%rbp,%rax,1)
  add    %rsi,%rax
  cmp    %ecx,%ebx
  jne    L816
L20:
  add    $0x10,%rdx
  cmp    %r8d,%edi
  jne    L677
L854:
  add    $0x1,%r10d
  add    %r14d,%r11d
  cmp    %r10d,0x28(%rsp)
  jne    L448
  mov    0xe0(%rsp),%r15
L566:
  cmp    %ebx,0x70(%rsp)
  jge    L215
  cmpl   $0x1,0x50(%rsp)
  jle    L725
  mov    0x18(%rsp),%edi
  movslq 0x5c(%rsp),%rdx
  mov    %r12,0x78(%rsp)
  mov    $0x1,%r14d
  mov    %rbp,0xd8(%rsp)
  mov    %edi,%r13d
  movslq %edi,%rdi
  mov    %rdx,%r8
  mov    %r15,0xe0(%rsp)
  neg    %r13d
  sub    %rdi,%r8
  mov    %rdi,0x8(%rsp)
  movslq %r13d,%rsi
  sub    %rdi,%r8
  mov    %rdi,%r13
  mov    %rsi,%rax
  mov    %rsi,0x30(%rsp)
  sub    %rdi,%rax
  mov    %rax,0x38(%rsp)
  mov    %rdi,%rax
  sub    %rsi,%rax
  mov    %rdi,%rsi
  shl    $0x3,%rax
  mov    %rax,0x40(%rsp)
  lea    (%rdi,%rdi,1),%rax
  movslq 0x4(%rsp),%rdi
  sub    %rdx,%rax
  shl    $0x3,%rax
  mov    %rdi,%rcx
  sub    %edi,%r13d
  mov    %rax,0x10(%rsp)
  mov    %rdx,%rax
  sub    %rdi,%rax
  add    $0x2,%rax
  sub    %rsi,%rax
  sub    %rdi,%rsi
  shl    $0x3,%rdi
  mov    %rax,0x20(%rsp)
  lea    0x0(%rbp,%rdi,1),%rax
  lea    0x2(%rsi),%rsi
  mov    %rax,0x60(%rsp)
  lea    (%r12,%rdi,1),%rax
  mov    %rsi,%r15
  mov    %rax,0x68(%rsp)
  lea    -0x3(%rcx),%eax
  and    $0xfffffffe,%eax
  add    $0x4,%eax
  mov    %eax,0x74(%rsp)
L400:
  cmpl   $0x2,0x4(%rsp)
  jle    L657
  mov    0x60(%rsp),%rax
  mov    0x20(%rsp),%rsi
  lea    0x2(%r13),%r10d
  lea    (%rax,%rsi,8),%r9
  mov    0x68(%rsp),%rax
  lea    (%rax,%r15,8),%r11
  mov    0x74(%rsp),%eax
  lea    (%rax,%r13,1),%ebp
  mov    0x10(%rsp),%rax
  lea    -0x8(%rax),%r12
  nopw   0x0(%rax,%rax,1)
L12:
  test   %ebx,%ebx
  jle    L433
  lea    (%r12,%r9,1),%rcx
  mov    %r11,%rdx
  mov    %r9,%rax
  xor    %esi,%esi
L525:
  movsd  (%rcx),%xmm0
  addsd  -0x8(%rax),%xmm0
  add    $0x1,%esi
  movsd  %xmm0,-0x8(%rdx)
  movsd  0x8(%rcx),%xmm0
  subsd  (%rax),%xmm0
  movsd  %xmm0,-0x8(%rdx,%r8,8)
  movsd  0x8(%rcx),%xmm0
  addsd  (%rax),%xmm0
  movsd  %xmm0,(%rdx)
  movsd  -0x8(%rax),%xmm0
  subsd  (%rcx),%xmm0
  add    %rdi,%rax
  add    %rdi,%rcx
  movsd  %xmm0,(%rdx,%r8,8)
  add    %rdi,%rdx
  cmp    %esi,%ebx
  jne    L525
L433:
  add    $0x2,%r10d
  add    $0x10,%r9
  add    $0x10,%r11
  cmp    %ebp,%r10d
  jne    L12
L657:
  mov    0x40(%rsp),%rsi
  add    $0x1,%r14d
  add    %rsi,0x10(%rsp)
  add    0x38(%rsp),%r8
  mov    0x30(%rsp),%rsi
  add    0x18(%rsp),%r13d
  add    %rsi,0x20(%rsp)
  add    0x8(%rsp),%r15
  cmp    %r14d,0x50(%rsp)
  jne    L400
  mov    0x78(%rsp),%r12
  mov    0xd8(%rsp),%rbp
  mov    0xe0(%rsp),%r15
L100:
  mov    0x54(%rsp),%edx
  test   %edx,%edx
  jle    L746
L186:
  mov    0x54(%rsp),%edx
  mov    0xd0(%rsp),%rcx
  xor    %eax,%eax
  nopl   0x0(%rax)
L838:
  movsd  (%r15,%rax,8),%xmm0
  movsd  %xmm0,(%rcx,%rax,8)
  add    $0x1,%rax
  cmp    %eax,%edx
  jg     L838
L28:
  movslq 0x18(%rsp),%rax
  mov    0x28(%rsp),%edx
  imul   0x54(%rsp),%edx
  cmpl   $0x1,0x50(%rsp)
  mov    %rax,0x8(%rsp)
  jle    L150
L221:
  mov    0x18(%rsp),%eax
  movslq %edx,%r13
  movslq 0x4(%rsp),%rdi
  mov    $0x1,%r9d
  mov    %r13,%r8
  mov    0x50(%rsp),%r14d
  neg    %eax
  shl    $0x3,%rdi
  movslq %eax,%r10
  mov    0x8(%rsp),%rax
  mov    %rax,%r11
  lea    (%rax,%rax,1),%rcx
  sub    %rax,%r8
  sub    %r10,%r11
  sub    %r13,%rcx
  shl    $0x3,%r10
  shl    $0x3,%r8
  nopl   0x0(%rax)
L656:
  lea    0x0(%rbp,%r8,1),%rax
  lea    (%r12,%r8,1),%rdx
  xor    %esi,%esi
  test   %ebx,%ebx
  jle    L274
  nopw   0x0(%rax,%rax,1)
L479:
  movsd  (%rax,%rcx,8),%xmm0
  addsd  (%rax),%xmm0
  add    $0x1,%esi
  movsd  %xmm0,(%rdx,%rcx,8)
  movsd  (%rax),%xmm0
  subsd  (%rax,%rcx,8),%xmm0
  add    %rdi,%rax
  movsd  %xmm0,(%rdx)
  add    %rdi,%rdx
  cmp    %esi,%ebx
  jne    L479
L274:
  add    $0x1,%r9d
  add    %r11,%rcx
  add    %r10,%r8
  cmp    %r9d,%r14d
  jg     L656
  mov    0x54(%rsp),%r11d
  mov    0x28(%rsp),%edx
  movl   $0x1,0x8(%rsp)
  pxor   %xmm5,%xmm5
  mov    0xd0(%rsp),%r9
  movsd  D4(%rip),%xmm6
  mov    %ebx,0x60(%rsp)
  mov    %r11d,%esi
  movslq %r11d,%rdi
  sub    $0x1,%edx
  mov    %rbp,0xd8(%rsp)
  neg    %esi
  imul   %edi,%edx
  lea    (%rdi,%rdi,1),%rcx
  mov    %r15,0xe0(%rsp)
  movslq %esi,%r14
  lea    0x0(,%rdi,8),%r12
  sub    %r13,%rcx
  lea    0x0(,%r14,8),%rax
  add    %r12,%r9
  mov    %rax,0x10(%rsp)
  mov    %r13,%rax
  movslq %edx,%rdx
  lea    (%r15,%r12,1),%r13
  sub    %rdi,%rax
  lea    (%r15,%rax,8),%r10
  mov    %rdi,%rax
  sub    %r14,%rax
  sub    %rdi,%r14
  mov    %rax,0x20(%rsp)
  mov    0xd0(%rsp),%rax
  lea    (%rax,%rdx,8),%rax
  mov    %rax,0x40(%rsp)
  lea    (%rdi,%rdi,1),%eax
  cltq
  lea    (%rax,%rdi,1),%rsi
  sub    %rsi,%rdx
  mov    %r11d,%esi
  lea    -0x1(%r11),%r11d
  mov    %rdx,0x30(%rsp)
  mov    0xd0(%rsp),%rdx
  add    %r11,%rax
  mov    %esi,%ebx
  mov    %r11,0x28(%rsp)
  lea    0x8(%rdx,%rax,8),%rax
  mov    %rdx,%rbp
  mov    %rax,0x38(%rsp)
  mov    %r11,%rax
  mov    0x50(%rsp),%r11d
  not    %rax
  shl    $0x3,%rax
  mov    %rax,%r15
  nopl   0x0(%rax)
L631:
  movapd %xmm6,%xmm0
  movapd %xmm2,%xmm3
  movapd %xmm1,%xmm6
  xor    %eax,%eax
  mulsd  %xmm0,%xmm6
  mulsd  %xmm5,%xmm3
  mulsd  %xmm2,%xmm0
  mulsd  %xmm1,%xmm5
  subsd  %xmm3,%xmm6
  addsd  %xmm0,%xmm5
  test   %ebx,%ebx
  jle    L217
  mov    0x28(%rsp),%rdx
  mov    0x40(%rsp),%rsi
  nopl   0x0(%rax)
L198:
  movsd  (%r9,%rax,8),%xmm0
  mov    %rax,%rdi
  mulsd  %xmm6,%xmm0
  addsd  0x0(%rbp,%rax,8),%xmm0
  movsd  %xmm0,0x0(%r13,%rax,8)
  movsd  (%rsi,%rax,8),%xmm0
  mulsd  %xmm5,%xmm0
  movsd  %xmm0,(%r10,%rax,8)
  add    $0x1,%rax
  cmp    %rdi,%rdx
  jne    L198
L217:
  cmp    $0x2,%r11d
  jle    L139
  mov    0x38(%rsp),%rsi
  mov    0x30(%rsp),%rdi
  movapd %xmm6,%xmm4
  movapd %xmm5,%xmm3
  mov    $0x2,%r8d
  nopl   0x0(%rax)
L352:
  movapd %xmm4,%xmm0
  movapd %xmm5,%xmm7
  movapd %xmm6,%xmm4
  mov    %r10,%rax
  mulsd  %xmm0,%xmm4
  lea    (%r15,%rsi,1),%rdx
  mulsd  %xmm3,%xmm7
  mulsd  %xmm5,%xmm0
  mulsd  %xmm6,%xmm3
  subsd  %xmm7,%xmm4
  addsd  %xmm0,%xmm3
  test   %ebx,%ebx
  jle    L116
  nop
L25:
  movsd  (%rdx),%xmm0
  mulsd  %xmm4,%xmm0
  addsd  (%rax,%rcx,8),%xmm0
  movsd  %xmm0,(%rax,%rcx,8)
  movsd  (%rdx,%rdi,8),%xmm0
  add    $0x8,%rdx
  add    $0x8,%rax
  mulsd  %xmm3,%xmm0
  addsd  -0x8(%rax),%xmm0
  movsd  %xmm0,-0x8(%rax)
  cmp    %rsi,%rdx
  jne    L25
L116:
  add    $0x1,%r8d
  add    %r14,%rdi
  add    %r12,%rsi
  cmp    %r8d,%r11d
  jne    L352
L139:
  addl   $0x1,0x8(%rsp)
  mov    0x8(%rsp),%eax
  add    %r12,%r13
  add    0x10(%rsp),%r10
  add    0x20(%rsp),%rcx
  cmp    %eax,%r11d
  jg     L631
  mov    0x28(%rsp),%r11
  mov    0x60(%rsp),%ebx
  mov    $0x1,%ecx
  mov    0xd8(%rsp),%rbp
  mov    0xe0(%rsp),%r15
  mov    0x50(%rsp),%esi
  mov    0x54(%rsp),%edi
  cs nopw 0x0(%rax,%rax,1)
L203:
  xor    %eax,%eax
  test   %edi,%edi
  jle    L538
  cs nopw 0x0(%rax,%rax,1)
L712:
  movsd  (%r15,%rax,8),%xmm0
  addsd  (%r9,%rax,8),%xmm0
  mov    %rax,%rdx
  movsd  %xmm0,(%r15,%rax,8)
  add    $0x1,%rax
  cmp    %r11,%rdx
  jne    L712
L538:
  add    $0x1,%ecx
  add    %r12,%r9
  cmp    %ecx,%esi
  jg     L203
L150:
  cmp    %ebx,0x4(%rsp)
  jge    L159
  mov    0x4(%rsp),%r11d
  test   %r11d,%r11d
  jle    L166
  movslq 0x58(%rsp),%rsi
  movslq %r11d,%rdi
  mov    0x48(%rsp),%r9
  mov    %rbp,%r10
  shl    $0x3,%rdi
  xor    %r8d,%r8d
  shl    $0x3,%rsi
L245:
  mov    %r9,%rcx
  mov    %r10,%rdx
  xor    %eax,%eax
  test   %ebx,%ebx
  jle    L323
  nopl   0x0(%rax,%rax,1)
L624:
  movsd  (%rdx),%xmm0
  add    $0x1,%eax
  add    %rdi,%rdx
  movsd  %xmm0,(%rcx)
  add    %rsi,%rcx
  cmp    %eax,%ebx
  jne    L624
L323:
  add    $0x1,%r8d
  add    $0x8,%r10
  add    $0x8,%r9
  cmp    %r8d,%r11d
  jne    L245
L166:
  mov    0x4(%rsp),%eax
  add    %eax,%eax
  cmpl   $0x1,0x50(%rsp)
  mov    %eax,0x10(%rsp)
  jle    L446
  movslq 0x18(%rsp),%rax
  movslq 0x10(%rsp),%r13
  mov    $0x1,%r9d
  mov    0x48(%rsp),%rsi
  movslq 0x4(%rsp),%r8
  mov    %rax,%rdi
  shl    $0x3,%r13
  mov    0x50(%rsp),%r15d
  lea    0x0(,%rax,8),%r14
  neg    %edi
  lea    (%rsi,%r13,1),%r10
  movslq 0x5c(%rsp),%rsi
  lea    0x0(%rbp,%r14,1),%r11
  movslq %edi,%r12
  movslq 0x58(%rsp),%rdi
  shl    $0x3,%r8
  sub    %rax,%rsi
  sub    %rax,%r12
  sub    %rax,%rsi
  shl    $0x3,%rdi
  nopw   0x0(%rax,%rax,1)
L315:
  mov    %r10,%rdx
  mov    %r11,%rax
  xor    %ecx,%ecx
  test   %ebx,%ebx
  jle    L580
  nopl   0x0(%rax)
L774:
  movsd  (%rax),%xmm0
  add    $0x1,%ecx
  movsd  %xmm0,-0x8(%rdx)
  movsd  (%rax,%rsi,8),%xmm0
  add    %r8,%rax
  movsd  %xmm0,(%rdx)
  add    %rdi,%rdx
  cmp    %ecx,%ebx
  jne    L774
L580:
  add    $0x1,%r9d
  add    %r14,%r11
  add    %r13,%r10
  add    %r12,%rsi
  cmp    %r9d,%r15d
  jne    L315
L446:
  cmpl   $0x1,0x4(%rsp)
  je     L95
  mov    0x4(%rsp),%eax
  neg    %eax
  cmp    %ebx,0x70(%rsp)
  jl     L328
  cmpl   $0x1,0x50(%rsp)
  jle    L95
  movslq 0x18(%rsp),%rdi
  mov    %rbp,%rcx
  movslq 0x4(%rsp),%r13
  cltq
  movslq 0x58(%rsp),%r12
  lea    0x10(%rbp),%r15
  mov    %rdi,%rsi
  mov    %rdi,0x40(%rsp)
  neg    %esi
  mov    %rdi,0x28(%rsp)
  shl    $0x3,%r12
  movslq %esi,%rdx
  sub    %rdi,%rdx
  lea    0x0(,%rdx,8),%rsi
  movslq 0x5c(%rsp),%rdx
  mov    %rsi,0x38(%rsp)
  lea    0x0(,%rdi,8),%rsi
  sub    %rsi,%rcx
  movslq 0x10(%rsp),%rsi
  movl   $0x1,0x10(%rsp)
  sub    %rdi,%rdx
  lea    (%rcx,%rdx,8),%r11
  add    %rsi,%rax
  mov    %rsi,0x30(%rsp)
  add    %r13,%rax
  mov    %rsi,0x18(%rsp)
  mov    %rax,0x20(%rsp)
  lea    -0x3(%r13),%eax
  shr    %eax
  add    %rax,%rax
  mov    %rax,0x8(%rsp)
L556:
  test   %ebx,%ebx
  jle    L360
  mov    0x48(%rsp),%rax
  mov    0x18(%rsp),%rdi
  xor    %r10d,%r10d
  mov    0x28(%rsp),%r8
  lea    (%rax,%rdi,8),%r9
  mov    0x20(%rsp),%rax
  sub    %rdi,%rax
  lea    -0x18(,%rax,8),%r14
  nopw   0x0(%rax,%rax,1)
L3:
  cmpl   $0x2,0x4(%rsp)
  jle    L738
  mov    0x8(%rsp),%rdi
  lea    0x0(,%r8,8),%rdx
  lea    (%r14,%r9,1),%rsi
  lea    0x0(%rbp,%rdx,1),%rax
  add    %r11,%rdx
  lea    (%r8,%rdi,1),%rcx
  lea    (%r15,%rcx,8),%rdi
  mov    %r9,%rcx
  nopl   0x0(%rax,%rax,1)
L326:
  add    $0x10,%rax
  add    $0x10,%rdx
  add    $0x10,%rcx
  sub    $0x10,%rsi
  movsd  -0x8(%rax),%xmm0
  addsd  -0x8(%rdx),%xmm0
  movsd  %xmm0,-0x8(%rcx)
  movsd  -0x8(%rax),%xmm0
  subsd  -0x8(%rdx),%xmm0
  movsd  %xmm0,0x10(%rsi)
  movsd  (%rax),%xmm0
  addsd  (%rdx),%xmm0
  movsd  %xmm0,(%rcx)
  movsd  (%rdx),%xmm0
  subsd  (%rax),%xmm0
  movsd  %xmm0,0x18(%rsi)
  cmp    %rax,%rdi
  jne    L326
L738:
  add    $0x1,%r10d
  add    %r12,%r9
  add    %r13,%r8
  cmp    %r10d,%ebx
  jne    L3
L360:
  mov    0x40(%rsp),%rsi
  addl   $0x1,0x10(%rsp)
  add    %rsi,0x28(%rsp)
  mov    0x10(%rsp),%eax
  mov    0x30(%rsp),%rsi
  add    0x38(%rsp),%r11
  add    %rsi,0x20(%rsp)
  add    %rsi,0x18(%rsp)
  cmp    %eax,0x50(%rsp)
  jne    L556
L95:
  add    $0x98,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L159:
  test   %ebx,%ebx
  jle    L166
  movslq 0x4(%rsp),%rsi
  movslq 0x58(%rsp),%r8
  mov    %rbp,%rcx
  xor    %edi,%edi
  mov    0x48(%rsp),%rdx
  mov    %rsi,%r10
  lea    0x0(,%rsi,8),%r9
  shl    $0x3,%r8
L666:
  xor    %eax,%eax
  test   %r10d,%r10d
  jle    L427
  nopl   0x0(%rax)
L111:
  movsd  (%rcx,%rax,8),%xmm0
  movsd  %xmm0,(%rdx,%rax,8)
  add    $0x1,%rax
  cmp    %rsi,%rax
  jne    L111
L427:
  add    $0x1,%edi
  add    %r9,%rcx
  add    %r8,%rdx
  cmp    %edi,%ebx
  jne    L666
  jmp    L166
L333:
  mov    0xe0(%rsp),%r15
L215:
  cmpl   $0x1,0x50(%rsp)
  jle    L725
  mov    0x18(%rsp),%edi
  movl   $0x1,0x10(%rsp)
  lea    0x10(%r12),%r14
  mov    %r15,0xe0(%rsp)
  mov    %edi,%eax
  neg    %eax
  movslq %eax,%rcx
  movslq %edi,%rax
  mov    %rax,%rdi
  mov    %rax,0x8(%rsp)
  movslq 0x5c(%rsp),%rax
  mov    %rcx,0x38(%rsp)
  mov    %rax,%rsi
  mov    %rdi,%rax
  sub    %rdi,%rsi
  sub    %rax,%rcx
  mov    %rax,0x30(%rsp)
  mov    %rsi,%rdi
  mov    %rsi,0x20(%rsp)
  sub    %rax,%rdi
  mov    %rcx,0x40(%rsp)
  mov    %rdi,%rsi
  mov    0x4(%rsp),%edi
  lea    -0x3(%rdi),%r13d
  movslq %edi,%r11
  mov    %edi,%r15d
  shr    %r13d
  add    %r13,%r13
L23:
  test   %ebx,%ebx
  jle    L287
  mov    0x30(%rsp),%r8
  mov    0x20(%rsp),%r10
  xor    %r9d,%r9d
  nopw   0x0(%rax,%rax,1)
L646:
  cmp    $0x2,%r15d
  jle    L780
  lea    0x0(,%r8,8),%rax
  lea    0x0(%r13,%r8,1),%rdi
  lea    0x0(%rbp,%rax,1),%rcx
  lea    0x0(%rbp,%r10,8),%rdx
  add    %r12,%rax
  lea    (%r14,%rdi,8),%rdi
  nopl   0x0(%rax)
L115:
  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    L115
L780:
  add    $0x1,%r9d
  add    %r11,%r10
  add    %r11,%r8
  cmp    %r9d,%ebx
  jne    L646
L287:
  mov    0x38(%rsp),%rcx
  addl   $0x1,0x10(%rsp)
  add    %rcx,0x20(%rsp)
  mov    0x10(%rsp),%eax
  mov    0x8(%rsp),%rcx
  add    0x40(%rsp),%rsi
  add    %rcx,0x30(%rsp)
  cmp    %eax,0x50(%rsp)
  jne    L23
  mov    0xe0(%rsp),%r15
  jmp    L100
L328:
  cmpl   $0x1,0x50(%rsp)
  jle    L95
  movslq 0x18(%rsp),%rax
  movslq 0x5c(%rsp),%r12
  movl   $0x1,0x8(%rsp)
  movslq 0x4(%rsp),%r8
  movslq 0x10(%rsp),%r15
  mov    %rax,%rdi
  sub    %rax,%r12
  movslq 0x58(%rsp),%r9
  lea    0x0(,%rax,8),%rsi
  neg    %edi
  sub    %rax,%r12
  mov    %rsi,0x28(%rsp)
  mov    %r15d,%r14d
  mov    %r15,0x20(%rsp)
  shl    $0x3,%r12
  movslq %edi,%rdx
  shl    $0x3,%r9
  sub    %rax,%rdx
  lea    0x10(%rbp,%rax,8),%rax
  lea    0x0(,%rdx,8),%rdi
  mov    %rax,0x18(%rsp)
  mov    %r8,%rax
  mov    $0xfffffffc,%edx
  mov    %rdi,0x30(%rsp)
  sub    $0x3,%eax
  mov    0x48(%rsp),%rdi
  shl    $0x3,%r8
  and    $0xfffffffe,%eax
  add    $0x10,%rdi
  sub    %eax,%edx
  mov    %rdi,0x38(%rsp)
  mov    %edx,0x40(%rsp)
L10:
  cmpl   $0x2,0x4(%rsp)
  jle    L804
  mov    0x38(%rsp),%rax
  movslq %r14d,%rdi
  mov    0x18(%rsp),%r10
  lea    -0x2(%r14),%r11d
  sub    %r15,%rdi
  lea    (%rax,%r15,8),%rbp
  mov    0x40(%rsp),%eax
  sub    $0x4,%rdi
  lea    (%rax,%r14,1),%r13d
  nopl   (%rax)
L710:
  test   %ebx,%ebx
  jle    L775
  lea    (%r12,%r10,1),%rcx
  mov    %rbp,%rdx
  mov    %r10,%rax
  xor    %esi,%esi
L421:
  movsd  -0x8(%rax),%xmm0
  addsd  -0x8(%rcx),%xmm0
  add    $0x1,%esi
  movsd  %xmm0,-0x8(%rdx)
  movsd  -0x8(%rax),%xmm0
  subsd  -0x8(%rcx),%xmm0
  movsd  %xmm0,-0x8(%rdx,%rdi,8)
  movsd  (%rax),%xmm0
  addsd  (%rcx),%xmm0
  movsd  %xmm0,(%rdx)
  movsd  (%rcx),%xmm0
  subsd  (%rax),%xmm0
  add    %r8,%rcx
  add    %r8,%rax
  movsd  %xmm0,(%rdx,%rdi,8)
  add    %r9,%rdx
  cmp    %esi,%ebx
  jne    L421
L775:
  sub    $0x2,%r11d
  add    $0x10,%r10
  add    $0x10,%rbp
  sub    $0x4,%rdi
  cmp    %r11d,%r13d
  jne    L710
L804:
  addl   $0x1,0x8(%rsp)
  mov    0x28(%rsp),%rsi
  mov    0x8(%rsp),%eax
  add    %rsi,0x18(%rsp)
  add    0x30(%rsp),%r12
  add    0x10(%rsp),%r14d
  add    0x20(%rsp),%r15
  cmp    %eax,0x50(%rsp)
  jne    L10
  jmp    L95
L570:
  mov    0x54(%rsp),%ecx
  test   %ecx,%ecx
  jg     L186
  jmp    L28
L725:
  mov    0x54(%rsp),%eax
  test   %eax,%eax
  jg     L186
  jmp    L150
L782:
  cmp    %ebx,0x70(%rsp)
  jg     L215
  jmp    L566
L746:
  mov    0x28(%rsp),%edx
  imul   0x54(%rsp),%edx
  jmp    L221
```

tool_calls: name: retrieve_data
arguments: label: D5
data_type: f64
name: retrieve_data
arguments: label: D4
data_type: f64

tool: D5: 6.283185307179586

tool: D4: 1

assistant: ```c
void dradfg(int ido, int ip, int l1, int idl1, double *cc, double *c1, double *c2, double *ch, double *ch2, double *wa) {
  static double tpi = 6.28318530717958647692528676655900577;
  int idij, ipph, i, j, k, l, ic, ik, is;
  int t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10;
  double dc2, ai1, ai2, ar1, ar2, ds2;
  int nbd;
  double dcp, arg, dsp, ar1h, ar2h;
  int idp2, ipp2;
  arg = tpi / (double)ip;
  dcp = cos(arg);
  dsp = sin(arg);
  ipph = (ip + 1) >> 1;
  ipp2 = ip;
  idp2 = ido;
  nbd = (ido - 1) >> 1;
  t0 = l1 * ido;
  t10 = ip * ido;
  if (ido == 1)
    goto L119;
  for (ik = 0; ik < idl1; ik++)
    ch2[ik] = c2[ik];
  t1 = 0;
  for (j = 1; j < ip; j++) {
    t1 += t0;
    t2 = t1;
    for (k = 0; k < l1; k++) {
      ch[t2] = c1[t2];
      t2 += ido;
    }
  }
  is = -ido;
  t1 = 0;
  if (nbd > l1) {
    for (j = 1; j < ip; j++) {
      t1 += t0;
      is += ido;
      t2 = -ido + t1;
      for (k = 0; k < l1; k++) {
        idij = is - 1;
        t2 += ido;
        t3 = t2;
        for (i = 2; i < ido; i += 2) {
          idij += 2;
          t3 += 2;
          ch[t3 - 1] = wa[idij - 1] * c1[t3 - 1] + wa[idij] * c1[t3];
          ch[t3] = wa[idij - 1] * c1[t3] - wa[idij] * c1[t3 - 1];
        }
      }
    }
  } else {
    for (j = 1; j < ip; j++) {
      is += ido;
      idij = is - 1;
      t1 += t0;
      t2 = t1;
      for (i = 2; i < ido; i += 2) {
        idij += 2;
        t2 += 2;
        t3 = t2;
        for (k = 0; k < l1; k++) {
          ch[t3 - 1] = wa[idij - 1] * c1[t3 - 1] + wa[idij] * c1[t3];
          ch[t3] = wa[idij - 1] * c1[t3] - wa[idij] * c1[t3 - 1];
          t3 += ido;
        }
      }
    }
  }
  t1 = 0;
  t2 = ipp2 * t0;
  if (nbd < l1) {
    for (j = 1; j < ipph; j++) {
      t1 += t0;
      t2 -= t0;
      t3 = t1;
      t4 = t2;
      for (i = 2; i < ido; i += 2) {
        t3 += 2;
        t4 += 2;
        t5 = t3 - ido;
        t6 = t4 - ido;
        for (k = 0; k < l1; k++) {
          t5 += ido;
          t6 += ido;
          c1[t5 - 1] = ch[t5 - 1] + ch[t6 - 1];
          c1[t6 - 1] = ch[t5] - ch[t6];
          c1[t5] = ch[t5] + ch[t6];
          c1[t6] = ch[t6 - 1] - ch[t5 - 1];
        }
      }
    }
  } else {
    for (j = 1; j < ipph; j++) {
      t1 += t0;
      t2 -= t0;
      t3 = t1;
      t4 = t2;
      for (k = 0; k < l1; k++) {
        t5 = t3;
        t6 = t4;
        for (i = 2; i < ido; i += 2) {
          t5 += 2;
          t6 += 2;
          c1[t5 - 1] = ch[t5 - 1] + ch[t6 - 1];
          c1[t6 - 1] = ch[t5] - ch[t6];
          c1[t5] = ch[t5] + ch[t6];
          c1[t6] = ch[t6 - 1] - ch[t5 - 1];
        }
        t3 += ido;
        t4 += ido;
      }
    }
  }
L119:
  for (ik = 0; ik < idl1; ik++)
    c2[ik] = ch2[ik];
  t1 = 0;
  t2 = ipp2 * idl1;
  for (j = 1; j < ipph; j++) {
    t1 += t0;
    t2 -= t0;
    t3 = t1 - ido;
    t4 = t2 - ido;
    for (k = 0; k < l1; k++) {
      t3 += ido;
      t4 += ido;
      c1[t3] = ch[t3] + ch[t4];
      c1[t4] = ch[t4] - ch[t3];
    }
  }
  ar1 = 1.0;
  ai1 = 0.0;
  t1 = 0;
  t2 = ipp2 * idl1;
  t3 = (ip - 1) * idl1;
  for (l = 1; l < ipph; l++) {
    t1 += idl1;
    t2 -= idl1;
    ar1h = dcp * ar1 - dsp * ai1;
    ai1 = dcp * ai1 + dsp * ar1;
    ar1 = ar1h;
    t4 = t1;
    t5 = t2;
    t6 = t3;
    t7 = idl1;
    for (ik = 0; ik < idl1; ik++) {
      ch2[t4++] = c2[ik] + ar1 * c2[t7++];
      ch2[t5++] = ai1 * c2[t6++];
    }
    dc2 = ar1;
    ds2 = ai1;
    ar2 = ar1;
    ai2 = ai1;
    t4 = idl1;
    t5 = (ipp2 - 1) * idl1;
    for (j = 2; j < ipph; j++) {
      t4 += idl1;
      t5 -= idl1;
      ar2h = dc2 * ar2 - ds2 * ai2;
      ai2 = dc2 * ai2 + ds2 * ar2;
      ar2 = ar2h;
      t6 = t1;
      t7 = t2;
      t8 = t4;
      t9 = t5;
      for (ik = 0; ik < idl1; ik++) {
        ch2[t6++] += ar2 * c2[t8++];
        ch2[t7++] += ai2 * c2[t9++];
      }
    }
  }
  t1 = 0;
  for (j = 1; j < ipph; j++) {
    t1 += idl1;
    t2 = t1;
    for (ik = 0; ik < idl1; ik++)
      ch2[ik] += c2[t2++];
  }
  if (ido < l1)
    goto L132;
  t1 = 0;
  t2 = 0;
  for (k = 0; k < l1; k++) {
    t3 = t1;
    t4 = t2;
    for (i = 0; i < ido; i++)
      cc[t4++] = ch[t3++];
    t1 += ido;
    t2 += t10;
  }
  goto L135;
L132:
  for (i = 0; i < ido; i++) {
    t1 = i;
    t2 = i;
    for (k = 0; k < l1; k++) {
      cc[t2] = ch[t1];
      t1 += ido;
      t2 += t10;
    }
  }
L135:
  t1 = 0;
  t2 = ido << 1;
  t3 = 0;
  t4 = ipp2 * t0;
  for (j = 1; j < ipph; j++) {
    t1 += t2;
    t3 += t0;
    t4 -= t0;
    t5 = t1;
    t6 = t3;
    t7 = t4;
    for (k = 0; k < l1; k++) {
      cc[t5 - 1] = ch[t6];
      cc[t5] = ch[t7];
      t5 += t10;
      t6 += ido;
      t7 += ido;
    }
  }
  if (ido == 1)
    return;
  if (nbd < l1)
    goto L141;
  t1 = -ido;
  t3 = 0;
  t4 = 0;
  t5 = ipp2 * t0;
  for (j = 1; j < ipph; j++) {
    t1 += t2;
    t3 += t2;
    t4 += t0;
    t5 -= t0;
    t6 = t1;
    t7 = t3;
    t8 = t4;
    t9 = t5;
    for (k = 0; k < l1; k++) {
      for (i = 2; i < ido; i += 2) {
        ic = idp2 - i;
        cc[i + t7 - 1] = ch[i + t8 - 1] + ch[i + t9 - 1];
        cc[ic + t6 - 1] = ch[i + t8 - 1] - ch[i + t9 - 1];
        cc[i + t7] = ch[i + t8] + ch[i + t9];
        cc[ic + t6] = ch[i + t9] - ch[i + t8];
      }
      t6 += t10;
      t7 += t10;
      t8 += ido;
      t9 += ido;
    }
  }
  return;
L141:
  t1 = -ido;
  t3 = 0;
  t4 = 0;
  t5 = ipp2 * t0;
  for (j = 1; j < ipph; j++) {
    t1 += t2;
    t3 += t2;
    t4 += t0;
    t5 -= t0;
    for (i = 2; i < ido; i += 2) {
      t6 = idp2 + t1 - i;
      t7 = i + t3;
      t8 = i + t4;
      t9 = i + t5;
      for (k = 0; k < l1; k++) {
        cc[t7 - 1] = ch[t8 - 1] + ch[t9 - 1];
        cc[t6 - 1] = ch[t8 - 1] - ch[t9 - 1];
        cc[t7] = ch[t8] + ch[t9];
        cc[t6] = ch[t9] - ch[t8];
        t6 += t10;
        t7 += t10;
        t8 += ido;
        t9 += ido;
      }
    }
  }
}
```