user: Converte this assembly snippet into its equivalent C code:

```asm
<dradbg>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x98,%rsp
  mov    %rdi,%r15
  mov    %rsi,%rax
  mov    %rdx,%r13
  mov    %rcx,%r14
  mov    %r8,%rbp
  mov    %r9,%rbx
  mov    0xd8(%rsp),%r12
  imul   %rdi,%rsi
  mov    %rsi,0x28(%rsp)
  imul   %rdx,%rdi
  mov    %rdi,0x10(%rsp)
  lea    0x88(%rsp),%rdi
  lea    0x80(%rsp),%rsi
  mov    %rax,0x40(%rsp)
  pxor   %xmm1,%xmm1
  cvtsi2sd %rax,%xmm1
  movsd  D6(%rip),%xmm0
  divsd  %xmm1,%xmm0
  call   <sincos@plt>
  movsd  0x80(%rsp),%xmm3
  movsd  0x88(%rsp),%xmm4
  lea    -0x1(%r15),%rax
  sar    %rax
  mov    %rax,0x58(%rsp)
  mov    0x40(%rsp),%rax
  add    $0x1,%rax
  sar    %rax
  mov    %rax,0x18(%rsp)
  cmp    %r13,%r15
  jl     L219
  test   %r13,%r13
  jle    L483
  mov    %r15,%rcx
  mov    %r15,%r8
  mov    0x28(%rsp),%r9
  sub    %r9,%r8
  shl    $0x3,%r8
  mov    %r12,%rdx
  mov    $0x0,%edi
  mov    $0x0,%esi
  jmp    L820
L219:
  test   %r15,%r15
  jle    L483
  mov    %rbp,%r10
  mov    %r12,%r9
  mov    0x28(%rsp),%rax
  lea    0x0(,%rax,8),%rdi
  lea    0x0(,%r15,8),%rsi
  mov    $0x0,%r8d
  jmp    L514
L595:
  movsd  0x0(%rbp,%rax,8),%xmm0
  movsd  %xmm0,(%rdx,%rax,8)
  add    $0x1,%rax
  cmp    %rcx,%rax
  jne    L595
L583:
  add    %r9,%rdi
  add    $0x1,%rsi
  add    %r8,%rdx
  add    %r9,%rcx
  cmp    %rsi,%r13
  je     L483
L820:
  mov    %rdi,%rax
  test   %r15,%r15
  jg     L595
  jmp    L583
L56:
  movsd  (%rdx),%xmm0
  movsd  %xmm0,(%rcx)
  add    $0x1,%rax
  add    %rdi,%rdx
  add    %rsi,%rcx
  cmp    %rax,%r13
  jne    L56
L833:
  add    $0x1,%r8
  add    $0x8,%r10
  add    $0x8,%r9
  cmp    %r8,%r15
  je     L483
L514:
  mov    %r9,%rcx
  mov    %r10,%rdx
  mov    $0x0,%eax
  test   %r13,%r13
  jg     L56
  jmp    L833
L483:
  mov    0x40(%rsp),%rsi
  mov    0x10(%rsp),%rdi
  mov    %rdi,%rax
  imul   %rdi,%rsi
  mov    %rsi,0x48(%rsp)
  lea    (%r15,%r15,1),%r10
  mov    %r10,0x8(%rsp)
  mov    0x18(%rsp),%rcx
  cmp    $0x1,%rcx
  jle    L274
  neg    %rax
  mov    %rax,%rdx
  sub    %rdi,%rdx
  mov    %rdx,(%rsp)
  sub    %rdi,%rsi
  sub    %rdi,%rsi
  lea    0x0(,%r15,8),%r11
  mov    0x28(%rsp),%rax
  lea    0x0(,%rax,8),%rdi
  mov    $0x0,%r9d
  mov    $0x1,%r8d
  lea    -0x8(%rbp),%rax
  mov    %r15,0x20(%rsp)
  mov    %r14,0x30(%rsp)
  mov    %rcx,%r14
  mov    %rax,%r15
L312:
  add    0x10(%rsp),%r9
  test   %r13,%r13
  jle    L574
  lea    (%r12,%r9,8),%rdx
  lea    (%r15,%r10,8),%rax
  mov    $0x0,%ecx
L386:
  movsd  (%rax),%xmm0
  addsd  %xmm0,%xmm0
  movsd  %xmm0,(%rdx)
  movsd  0x8(%rax),%xmm0
  addsd  %xmm0,%xmm0
  movsd  %xmm0,(%rdx,%rsi,8)
  add    $0x1,%rcx
  add    %r11,%rdx
  add    %rdi,%rax
  cmp    %rcx,%r13
  jne    L386
L574:
  add    0x8(%rsp),%r10
  add    $0x1,%r8
  add    (%rsp),%rsi
  cmp    %r8,%r14
  jne    L312
  mov    0x20(%rsp),%r15
  mov    0x30(%rsp),%r14
  cmp    $0x1,%r15
  je     L257
  cmp    0x58(%rsp),%r13
  jg     L377
L111:
  cmpq   $0x1,0x18(%rsp)
  jle    L521
  mov    0x10(%rsp),%rdi
  mov    %rdi,%rax
  neg    %rax
  sub    %rdi,%rax
  mov    %rax,0x30(%rsp)
  mov    0x48(%rsp),%rsi
  sub    %rdi,%rsi
  sub    %rdi,%rsi
  mov    0x28(%rsp),%rax
  shl    $0x3,%rax
  mov    %rax,(%rsp)
  mov    $0x0,%ecx
  movq   $0x0,0x20(%rsp)
  mov    $0x1,%edi
  lea    0x10(%rbp),%rax
  mov    %rax,0x28(%rsp)
  lea    0x10(%r12),%rbp
  lea    -0x3(%r15),%rax
  and    $0xfffffffffffffffe,%rax
  lea    0x20(%r12),%r11
  mov    %r14,0x38(%rsp)
  mov    %rcx,%r14
  mov    %rbx,0x50(%rsp)
  mov    %r12,0xd8(%rsp)
  mov    %rdi,%r12
  mov    %rax,%rbx
  jmp    L738
L274:
  cmp    $0x1,%r15
  je     L521
  cmp    0x58(%rsp),%r13
  jg     L521
  jmp    L111
L658:
  lea    -0x20(%r9),%rcx
  lea    0x0(%rbp,%r8,8),%rax
  lea    (%rbx,%r8,1),%rdx
  lea    (%r11,%rdx,8),%rdi
  mov    %r9,%rdx
L849:
  movsd  -0x8(%rdx),%xmm0
  addsd  -0x8(%rcx),%xmm0
  movsd  %xmm0,-0x8(%rax)
  movsd  -0x8(%rdx),%xmm0
  subsd  -0x8(%rcx),%xmm0
  movsd  %xmm0,-0x8(%rax,%rsi,8)
  movsd  (%rdx),%xmm0
  subsd  (%rcx),%xmm0
  movsd  %xmm0,(%rax)
  movsd  (%rdx),%xmm0
  addsd  (%rcx),%xmm0
  movsd  %xmm0,(%rax,%rsi,8)
  add    $0x10,%rdx
  sub    $0x10,%rcx
  add    $0x10,%rax
  cmp    %rdi,%rax
  jne    L849
L862:
  add    %r15,%r8
  add    $0x1,%r10
  add    (%rsp),%r9
  cmp    %r10,%r13
  je     L124
L84:
  cmp    $0x2,%r15
  jg     L658
  jmp    L862
L124:
  add    $0x1,%r12
  add    0x30(%rsp),%rsi
  cmp    %r12,0x18(%rsp)
  je     L177
L738:
  mov    0x10(%rsp),%rax
  add    %rax,0x20(%rsp)
  mov    0x20(%rsp),%r8
  add    0x8(%rsp),%r14
  test   %r13,%r13
  jle    L124
  mov    0x28(%rsp),%rax
  lea    (%rax,%r14,8),%r9
  mov    $0x0,%r10d
  jmp    L84
L177:
  mov    0x38(%rsp),%r14
  mov    0x50(%rsp),%rbx
  mov    0xd8(%rsp),%r12
L183:
  mov    0x40(%rsp),%rax
  imul   %r14,%rax
  mov    %rax,%rdx
  sub    %r14,%rdx
L612:
  mov    %r14,%rcx
  neg    %rcx
  lea    0x0(,%rcx,8),%rdi
  mov    %rdi,0x28(%rsp)
  sub    %r14,%rax
  mov    0xd0(%rsp),%rdi
  lea    (%rdi,%rax,8),%r10
  lea    (%r14,%r14,1),%rdi
  mov    %rdi,0x20(%rsp)
  mov    %r14,%rcx
  sub    %rax,%rcx
  lea    0x0(,%r14,8),%rsi
  mov    %rsi,(%rsp)
  add    0xe0(%rsp),%rsi
  mov    %rsi,%rbp
  mov    0xe0(%rsp),%rsi
  lea    (%rsi,%rdx,8),%r11
  sub    %r14,%rax
  sub    %rdi,%rax
  mov    %rax,0x30(%rsp)
  lea    (%r14,%rdi,1),%rax
  lea    (%rsi,%rax,8),%rax
  mov    %rax,0x38(%rsp)
  movsd  D18(%rip),%xmm6
  pxor   %xmm5,%xmm5
  mov    $0x0,%esi
  mov    $0x1,%edi
  mov    %r14,%rax
  neg    %rax
  sub    %r14,%rax
  mov    %rax,0x8(%rsp)
  mov    %r15,0x50(%rsp)
  mov    %rsi,%r15
  mov    %r13,0x60(%rsp)
  mov    %rdi,%r13
  mov    %rbx,0x68(%rsp)
  mov    %r12,0xd8(%rsp)
  mov    0x18(%rsp),%r12
  mov    0xe0(%rsp),%rbx
L469:
  add    %r14,%r15
  movapd %xmm6,%xmm0
  mulsd  %xmm3,%xmm6
  movapd %xmm4,%xmm1
  mulsd  %xmm5,%xmm1
  subsd  %xmm1,%xmm6
  mulsd  %xmm3,%xmm5
  mulsd  %xmm4,%xmm0
  addsd  %xmm0,%xmm5
  test   %r14,%r14
  jle    L591
  mov    0xd0(%rsp),%rax
  lea    (%rax,%r15,8),%rdx
  mov    $0x0,%eax
L378:
  movapd %xmm6,%xmm0
  mulsd  0x0(%rbp,%rax,8),%xmm0
  addsd  (%rbx,%rax,8),%xmm0
  movsd  %xmm0,(%rdx,%rax,8)
  movapd %xmm5,%xmm0
  mulsd  (%r11,%rax,8),%xmm0
  movsd  %xmm0,(%r10,%rax,8)
  add    $0x1,%rax
  cmp    %rax,%r14
  jne    L378
L591:
  cmp    $0x2,%r12
  jle    L791
  mov    0x38(%rsp),%rdi
  mov    0x30(%rsp),%rsi
  movapd %xmm6,%xmm2
  movapd %xmm5,%xmm1
  mov    %r14,%r9
  mov    $0x2,%r8d
L324:
  add    %r14,%r9
  movapd %xmm2,%xmm0
  mulsd  %xmm6,%xmm2
  movapd %xmm5,%xmm7
  mulsd  %xmm1,%xmm7
  subsd  %xmm7,%xmm2
  mulsd  %xmm6,%xmm1
  mulsd  %xmm5,%xmm0
  addsd  %xmm0,%xmm1
  test   %r14,%r14
  jle    L227
  lea    (%rbx,%r9,8),%rdx
  mov    %r10,%rax
L558:
  movapd %xmm2,%xmm0
  mulsd  (%rdx),%xmm0
  addsd  (%rax,%rcx,8),%xmm0
  movsd  %xmm0,(%rax,%rcx,8)
  movapd %xmm1,%xmm0
  mulsd  (%rdx,%rsi,8),%xmm0
  addsd  (%rax),%xmm0
  movsd  %xmm0,(%rax)
  add    $0x8,%rdx
  add    $0x8,%rax
  cmp    %rdi,%rdx
  jne    L558
L227:
  add    $0x1,%r8
  add    0x8(%rsp),%rsi
  add    (%rsp),%rdi
  cmp    %r8,%r12
  jne    L324
L791:
  add    $0x1,%r13
  add    0x28(%rsp),%r10
  add    0x20(%rsp),%rcx
  cmp    %r13,%r12
  jg     L469
  mov    0x50(%rsp),%r15
  mov    0x60(%rsp),%r13
  mov    0x68(%rsp),%rbx
  mov    0xd8(%rsp),%r12
  mov    (%rsp),%rdx
  add    0xe0(%rsp),%rdx
  mov    $0x0,%ecx
  mov    $0x1,%esi
  mov    0x18(%rsp),%rdi
  mov    0xe0(%rsp),%r8
L812:
  add    %r14,%rcx
  test   %r14,%r14
  jle    L107
  mov    %r8,%rax
L341:
  movsd  (%rax),%xmm0
  addsd  (%rax,%rcx,8),%xmm0
  movsd  %xmm0,(%rax)
  add    $0x8,%rax
  cmp    %rax,%rdx
  jne    L341
L107:
  add    $0x1,%rsi
  cmp    %rsi,%rdi
  jg     L812
  mov    0x48(%rsp),%r8
  mov    $0x0,%edi
  mov    $0x1,%esi
  mov    0x10(%rsp),%r9
  mov    0x18(%rsp),%r10
L618:
  add    %r9,%rdi
  sub    %r9,%r8
  test   %r13,%r13
  jle    L339
  mov    %r8,%rdx
  mov    %rdi,%rax
  mov    $0x0,%ecx
L216:
  movsd  (%rbx,%rax,8),%xmm0
  subsd  (%rbx,%rdx,8),%xmm0
  movsd  %xmm0,(%r12,%rax,8)
  movsd  (%rbx,%rax,8),%xmm0
  addsd  (%rbx,%rdx,8),%xmm0
  movsd  %xmm0,(%r12,%rdx,8)
  add    %r15,%rax
  add    %r15,%rdx
  add    $0x1,%rcx
  cmp    %rcx,%r13
  jne    L216
L339:
  add    $0x1,%rsi
  cmp    %rsi,%r10
  jg     L618
L521:
  cmp    $0x1,%r15
  je     L81
  cmp    0x58(%rsp),%r13
  jg     L887
  cmpq   $0x1,0x18(%rsp)
  jle    L26
  mov    0x10(%rsp),%rdi
  mov    %rdi,%rax
  neg    %rax
  sub    %rdi,%rax
  mov    %rax,0x28(%rsp)
  mov    0x48(%rsp),%r11
  mov    %r11,%rax
  sub    %rdi,%rax
  mov    %rax,%rsi
  sub    %rdi,%rsi
  mov    %rdi,%rcx
  shl    $0x4,%rcx
  mov    %rcx,0x20(%rsp)
  sub    %rax,%rdi
  lea    0x0(,%rdi,8),%rdi
  lea    0x0(,%r15,8),%rax
  mov    %rax,(%rsp)
  mov    $0x0,%ecx
  movq   $0x1,0x8(%rsp)
  lea    0x10(%rbx,%r11,8),%rax
  mov    %rax,0x30(%rsp)
  lea    0x10(%r12),%rax
  mov    %rax,0x38(%rsp)
  lea    -0x3(%r15),%rax
  and    $0xfffffffffffffffe,%rax
  lea    0x20(%r12),%rbp
  mov    %r14,0x48(%rsp)
  mov    %rcx,%r14
  mov    %rbx,0x50(%rsp)
  mov    %rdi,%rbx
  mov    %r12,0xd8(%rsp)
  mov    %rax,%r12
  jmp    L259
L377:
  mov    0x8(%rsp),%rax
  mov    %rax,%rcx
  mov    0x10(%rsp),%rdi
  sub    %rdi,%rcx
  mov    %rcx,%rsi
  mov    %rcx,0x30(%rsp)
  mov    %rax,%rcx
  add    %rdi,%rcx
  mov    %rcx,0x38(%rsp)
  mov    %rdi,%rax
  neg    %rax
  mov    %rax,%rdx
  mov    %rdi,%rax
  sub    %rdi,%rdx
  mov    %rdx,0x50(%rsp)
  mov    0x48(%rsp),%rdi
  sub    %rax,%rdi
  sub    %rax,%rdi
  lea    0x0(,%r15,8),%r8
  mov    %rcx,0x20(%rsp)
  mov    %rsi,0x8(%rsp)
  mov    $0x0,%esi
  movq   $0x1,(%rsp)
  lea    0x10(%r12),%rax
  mov    %rax,0x60(%rsp)
  lea    -0x3(%r15),%rax
  and    $0xfffffffffffffffe,%rax
  add    $0x2,%rax
  mov    %rax,0x68(%rsp)
  mov    0x28(%rsp),%r9
  mov    %r15,0x28(%rsp)
  mov    %rsi,%r15
  mov    %r14,0x70(%rsp)
  mov    %rbx,0x78(%rsp)
  mov    %r12,0xd8(%rsp)
L6:
  add    0x10(%rsp),%r15
  cmpq   $0x2,0x28(%rsp)
  jle    L132
  mov    %r15,%r10
  mov    0x60(%rsp),%rax
  lea    (%rax,%r15,8),%r11
  mov    0x68(%rsp),%rax
  lea    (%rax,%r15,1),%r14
  mov    0x8(%rsp),%rax
  lea    0x2(%rax),%r12
  mov    0x20(%rsp),%rax
  lea    -0x2(%rax),%rbx
L95:
  mov    %r10,%rcx
  add    $0x2,%r10
  lea    (%r12,%rcx,1),%rax
  mov    %rbx,%rdx
  sub    %rcx,%rdx
  test   %r13,%r13
  jle    L707
  mov    %r11,%rcx
  mov    $0x0,%esi
L295:
  movsd  -0x8(%rbp,%rax,8),%xmm0
  addsd  -0x8(%rbp,%rdx,8),%xmm0
  movsd  %xmm0,-0x8(%rcx)
  movsd  -0x8(%rbp,%rax,8),%xmm0
  subsd  -0x8(%rbp,%rdx,8),%xmm0
  movsd  %xmm0,-0x8(%rcx,%rdi,8)
  movsd  0x0(%rbp,%rax,8),%xmm0
  subsd  0x0(%rbp,%rdx,8),%xmm0
  movsd  %xmm0,(%rcx)
  movsd  0x0(%rbp,%rax,8),%xmm0
  addsd  0x0(%rbp,%rdx,8),%xmm0
  movsd  %xmm0,(%rcx,%rdi,8)
  add    %r9,%rax
  add    %r9,%rdx
  add    $0x1,%rsi
  add    %r8,%rcx
  cmp    %rsi,%r13
  jne    L295
L707:
  add    $0x10,%r11
  cmp    %r10,%r14
  jne    L95
L132:
  addq   $0x1,(%rsp)
  mov    (%rsp),%rax
  mov    0x30(%rsp),%rsi
  add    %rsi,0x8(%rsp)
  mov    0x38(%rsp),%rsi
  add    %rsi,0x20(%rsp)
  add    0x50(%rsp),%rdi
  cmp    %rax,0x18(%rsp)
  jne    L6
  mov    0x28(%rsp),%r15
  mov    0x70(%rsp),%r14
  mov    0x78(%rsp),%rbx
  mov    0xd8(%rsp),%r12
  jmp    L183
L887:
  cmpq   $0x1,0x18(%rsp)
  jle    L26
  mov    0x10(%rsp),%rsi
  mov    %rsi,%rax
  neg    %rax
  sub    %rsi,%rax
  mov    %rax,%rbp
  mov    0x48(%rsp),%rdi
  sub    %rsi,%rdi
  sub    %rsi,%rdi
  mov    $0x0,%r9d
  mov    $0x1,%r10d
  lea    -0x3(%r15),%rax
  and    $0xfffffffffffffffe,%rax
  lea    0x2(%rax),%r11
L856:
  add    0x10(%rsp),%r9
  cmp    $0x2,%r15
  jle    L210
  lea    (%r11,%r9,1),%r8
  mov    %r9,%rsi
L457:
  add    $0x2,%rsi
  lea    (%rsi,%rdi,1),%rax
  test   %r13,%r13
  jle    L811
  mov    %rsi,%rdx
  mov    $0x0,%ecx
L537:
  movsd  -0x8(%rbx,%rdx,8),%xmm0
  subsd  (%rbx,%rax,8),%xmm0
  movsd  %xmm0,-0x8(%r12,%rdx,8)
  movsd  -0x8(%rbx,%rdx,8),%xmm0
  addsd  (%rbx,%rax,8),%xmm0
  movsd  %xmm0,-0x8(%r12,%rax,8)
  movsd  (%rbx,%rdx,8),%xmm0
  addsd  -0x8(%rbx,%rax,8),%xmm0
  movsd  %xmm0,(%r12,%rdx,8)
  movsd  (%rbx,%rdx,8),%xmm0
  subsd  -0x8(%rbx,%rax,8),%xmm0
  movsd  %xmm0,(%r12,%rax,8)
  add    %r15,%rdx
  add    %r15,%rax
  add    $0x1,%rcx
  cmp    %rcx,%r13
  jne    L537
L811:
  cmp    %rsi,%r8
  jne    L457
L210:
  add    $0x1,%r10
  add    %rbp,%rdi
  cmp    %r10,0x18(%rsp)
  jne    L856
  jmp    L26
L309:
  lea    (%rbx,%r8,1),%rcx
  lea    (%r12,%r10,1),%rax
  lea    0x0(%rbp,%rax,8),%rdi
  mov    %r11,%rax
  mov    %r8,%rdx
L156:
  movsd  -0x8(%rcx),%xmm0
  subsd  (%rdx),%xmm0
  movsd  %xmm0,-0x8(%rax)
  movsd  -0x8(%rcx),%xmm0
  addsd  (%rdx),%xmm0
  movsd  %xmm0,-0x8(%rax,%rsi,8)
  movsd  (%rcx),%xmm0
  addsd  -0x8(%rdx),%xmm0
  movsd  %xmm0,(%rax)
  movsd  (%rcx),%xmm0
  subsd  -0x8(%rdx),%xmm0
  movsd  %xmm0,(%rax,%rsi,8)
  add    $0x10,%rcx
  add    $0x10,%rdx
  add    $0x10,%rax
  cmp    %rdi,%rax
  jne    L156
L281:
  add    %r15,%r10
  add    $0x1,%r9
  mov    (%rsp),%rax
  add    %rax,%r8
  add    %rax,%r11
  cmp    %r9,%r13
  je     L390
L316:
  cmp    $0x2,%r15
  jg     L309
  jmp    L281
L390:
  addq   $0x1,0x8(%rsp)
  mov    0x8(%rsp),%rax
  add    0x28(%rsp),%rsi
  add    0x20(%rsp),%rbx
  cmp    %rax,0x18(%rsp)
  je     L311
L259:
  add    0x10(%rsp),%r14
  test   %r13,%r13
  jle    L390
  mov    %r14,%rax
  neg    %rax
  mov    0x30(%rsp),%rdi
  lea    (%rdi,%rax,8),%r8
  mov    0x38(%rsp),%rax
  lea    (%rax,%r14,8),%r11
  mov    %r14,%r10
  mov    $0x0,%r9d
  jmp    L316
L311:
  mov    0x48(%rsp),%r14
  mov    0x50(%rsp),%rbx
  mov    0xd8(%rsp),%r12
L26:
  mov    $0x0,%eax
  test   %r14,%r14
  jle    L896
  mov    0xd0(%rsp),%rdx
  mov    0xe0(%rsp),%rcx
L894:
  movsd  (%rcx,%rax,8),%xmm0
  movsd  %xmm0,(%rdx,%rax,8)
  add    $0x1,%rax
  cmp    %rax,%r14
  jne    L894
L896:
  mov    0x40(%rsp),%rsi
  cmp    $0x1,%rsi
  jle    L81
  mov    $0x0,%ecx
  mov    $0x1,%r10d
  jmp    L364
L71:
  mov    %rax,%r10
L364:
  add    0x10(%rsp),%rcx
  test   %r13,%r13
  jle    L477
  mov    %rcx,%rax
  mov    $0x0,%edx
L650:
  movsd  (%r12,%rax,8),%xmm0
  movsd  %xmm0,(%rbx,%rax,8)
  add    %r15,%rax
  add    $0x1,%rdx
  cmp    %rdx,%r13
  jne    L650
L477:
  lea    0x1(%r10),%rax
  cmp    %rax,%rsi
  jne    L71
  cmp    0x58(%rsp),%r13
  jl     L159
  mov    %r15,%rsi
  not    %rsi
  mov    0x10(%rsp),%rax
  lea    0x0(,%rax,8),%rdi
  mov    %rdi,(%rsp)
  lea    0x10(,%rax,8),%rcx
  lea    0x0(,%r15,8),%rdi
  mov    $0x0,%ebp
  mov    $0x1,%r14d
  mov    0xe8(%rsp),%rax
  add    $0x10,%rax
  mov    %rax,0x8(%rsp)
  lea    -0x3(%r15),%rax
  and    $0xfffffffffffffffe,%rax
  add    $0x2,%rax
  mov    %rax,0x18(%rsp)
  mov    %rbx,0x20(%rsp)
  mov    %rcx,%rbx
  mov    %r12,0xd8(%rsp)
  mov    %rsi,%r12
L638:
  add    %r15,%r12
  add    0x10(%rsp),%rbp
  cmp    $0x2,%r15
  jle    L76
  mov    %rbx,%r10
  add    0xd8(%rsp),%r10
  mov    0x20(%rsp),%rax
  lea    (%rax,%rbx,1),%r9
  mov    0x8(%rsp),%rax
  lea    (%rax,%r12,8),%rdx
  mov    0x18(%rsp),%rax
  lea    (%rax,%rbp,1),%r11
  mov    %rbp,%r8
L770:
  add    $0x2,%r8
  test   %r13,%r13
  jle    L851
  mov    %r9,%rcx
  mov    %r10,%rax
  mov    $0x0,%esi
L55:
  movsd  -0x8(%rdx),%xmm0
  mulsd  -0x8(%rax),%xmm0
  movsd  (%rdx),%xmm1
  mulsd  (%rax),%xmm1
  subsd  %xmm1,%xmm0
  movsd  %xmm0,-0x8(%rcx)
  movsd  -0x8(%rdx),%xmm0
  mulsd  (%rax),%xmm0
  movsd  (%rdx),%xmm1
  mulsd  -0x8(%rax),%xmm1
  addsd  %xmm1,%xmm0
  movsd  %xmm0,(%rcx)
  add    $0x1,%rsi
  add    %rdi,%rax
  add    %rdi,%rcx
  cmp    %rsi,%r13
  jne    L55
L851:
  add    $0x10,%r10
  add    $0x10,%r9
  add    $0x10,%rdx
  cmp    %r8,%r11
  jne    L770
L76:
  add    $0x1,%r14
  add    (%rsp),%rbx
  cmp    %r14,0x40(%rsp)
  jne    L638
L81:
  add    $0x98,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L49:
  add    $0x2,%rax
  movsd  -0x8(%rdx),%xmm0
  mulsd  -0x8(%r12,%rax,8),%xmm0
  movsd  (%rdx),%xmm1
  mulsd  (%r12,%rax,8),%xmm1
  subsd  %xmm1,%xmm0
  movsd  %xmm0,-0x8(%rbx,%rax,8)
  movsd  -0x8(%rdx),%xmm0
  mulsd  (%r12,%rax,8),%xmm0
  movsd  (%rdx),%xmm1
  mulsd  -0x8(%r12,%rax,8),%xmm1
  addsd  %xmm1,%xmm0
  movsd  %xmm0,(%rbx,%rax,8)
  add    $0x10,%rdx
  cmp    %rax,%rcx
  jne    L49
L494:
  add    %r15,%rsi
  add    $0x1,%rdi
  cmp    %rdi,%r13
  je     L895
L771:
  lea    (%r8,%rsi,1),%rcx
  mov    %r9,%rdx
  mov    %rsi,%rax
  cmp    $0x2,%r15
  jg     L49
  jmp    L494
L895:
  lea    0x1(%r14),%rax
  cmp    %r14,%r10
  je     L81
  mov    %rax,%r14
L242:
  add    %r15,%rbp
  add    0x10(%rsp),%r11
  test   %r13,%r13
  jle    L895
  mov    (%rsp),%rax
  lea    (%rax,%rbp,8),%r9
  mov    %r11,%rsi
  mov    $0x0,%edi
  jmp    L771
L159:
  mov    %r15,%rbp
  not    %rbp
  mov    $0x0,%r11d
  mov    $0x1,%r14d
  mov    0xe8(%rsp),%rax
  add    $0x10,%rax
  mov    %rax,(%rsp)
  lea    -0x3(%r15),%r8
  and    $0xfffffffffffffffe,%r8
  add    $0x2,%r8
  jmp    L242
L257:
  mov    0x28(%rsp),%rax
  imul   %r14,%rax
  mov    %rax,%rdx
  sub    %r14,%rdx
  jmp    L612
```

tool_calls: name: unpack_data
arguments: label: D6
type: f64
name: unpack_data
arguments: label: D18
type: f64

tool: D6: 6.283185307179586

tool: D18: 1

assistant: ```c
void dradbg(long ido, long ip, long l1, long idl1, const double *cc, double *c1, double *c2, double *ch, double *ch2, const double *wa) {
  static double tpi = 6.28318530717958647692528676655900577;
  long idij, ipph, i, j, k, l, ik, is, t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12;
  double dc2, ai1, ai2, ar1, ar2, ds2;
  long nbd;
  double dcp, arg, dsp, ar1h, ar2h;
  long ipp2;
  t10 = ip * ido;
  t0 = l1 * ido;
  arg = tpi / (double)ip;
  dcp = cos(arg);
  dsp = sin(arg);
  nbd = (ido - 1) >> 1;
  ipp2 = ip;
  ipph = (ip + 1) >> 1;
  if (ido < l1)
    goto L103;
  t1 = 0;
  t2 = 0;
  for (k = 0; k < l1; k++) {
    t3 = t1;
    t4 = t2;
    for (i = 0; i < ido; i++) {
      ch[t3] = cc[t4];
      t3++;
      t4++;
    }
    t1 += ido;
    t2 += t10;
  }
  goto L106;
L103:
  t1 = 0;
  for (i = 0; i < ido; i++) {
    t2 = t1;
    t3 = t1;
    for (k = 0; k < l1; k++) {
      ch[t2] = cc[t3];
      t2 += ido;
      t3 += t10;
    }
    t1++;
  }
L106:
  t1 = 0;
  t2 = ipp2 * t0;
  t7 = (t5 = ido << 1);
  for (j = 1; j < ipph; j++) {
    t1 += t0;
    t2 -= t0;
    t3 = t1;
    t4 = t2;
    t6 = t5;
    for (k = 0; k < l1; k++) {
      ch[t3] = cc[t6 - 1] + cc[t6 - 1];
      ch[t4] = cc[t6] + cc[t6];
      t3 += ido;
      t4 += ido;
      t6 += t10;
    }
    t5 += t7;
  }
  if (ido == 1)
    goto L116;
  if (nbd < l1)
    goto L112;
  t1 = 0;
  t2 = ipp2 * t0;
  t7 = 0;
  for (j = 1; j < ipph; j++) {
    t1 += t0;
    t2 -= t0;
    t3 = t1;
    t4 = t2;
    t7 += (ido << 1);
    t8 = t7;
    for (k = 0; k < l1; k++) {
      t5 = t3;
      t6 = t4;
      t9 = t8;
      t11 = t8;
      for (i = 2; i < ido; i += 2) {
        t5 += 2;
        t6 += 2;
        t9 += 2;
        t11 -= 2;
        ch[t5 - 1] = cc[t9 - 1] + cc[t11 - 1];
        ch[t6 - 1] = cc[t9 - 1] - cc[t11 - 1];
        ch[t5] = cc[t9] - cc[t11];
        ch[t6] = cc[t9] + cc[t11];
      }
      t3 += ido;
      t4 += ido;
      t8 += t10;
    }
  }
  goto L116;
L112:
  t1 = 0;
  t2 = ipp2 * t0;
  t7 = 0;
  for (j = 1; j < ipph; j++) {
    t1 += t0;
    t2 -= t0;
    t3 = t1;
    t4 = t2;
    t7 += (ido << 1);
    t8 = t7;
    t9 = t7;
    for (i = 2; i < ido; i += 2) {
      t3 += 2;
      t4 += 2;
      t8 += 2;
      t9 -= 2;
      t5 = t3;
      t6 = t4;
      t11 = t8;
      t12 = t9;
      for (k = 0; k < l1; k++) {
        ch[t5 - 1] = cc[t11 - 1] + cc[t12 - 1];
        ch[t6 - 1] = cc[t11 - 1] - cc[t12 - 1];
        ch[t5] = cc[t11] - cc[t12];
        ch[t6] = cc[t11] + cc[t12];
        t5 += ido;
        t6 += ido;
        t11 += t10;
        t12 += t10;
      }
    }
  }
L116:
  ar1 = 1.;
  ai1 = 0.;
  t1 = 0;
  t9 = (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 = 0;
    t7 = idl1;
    t8 = t3;
    for (ik = 0; ik < idl1; ik++) {
      c2[t4++] = ch2[t6++] + ar1 * ch2[t7++];
      c2[t5++] = ai1 * ch2[t8++];
    }
    dc2 = ar1;
    ds2 = ai1;
    ar2 = ar1;
    ai2 = ai1;
    t6 = idl1;
    t7 = t9 - idl1;
    for (j = 2; j < ipph; j++) {
      t6 += idl1;
      t7 -= idl1;
      ar2h = dc2 * ar2 - ds2 * ai2;
      ai2 = dc2 * ai2 + ds2 * ar2;
      ar2 = ar2h;
      t4 = t1;
      t5 = t2;
      t11 = t6;
      t12 = t7;
      for (ik = 0; ik < idl1; ik++) {
        c2[t4++] += ar2 * ch2[t11++];
        c2[t5++] += ai2 * ch2[t12++];
      }
    }
  }
  t1 = 0;
  for (j = 1; j < ipph; j++) {
    t1 += idl1;
    t2 = t1;
    for (ik = 0; ik < idl1; ik++)
      ch2[ik] += ch2[t2++];
  }
  t1 = 0;
  t2 = ipp2 * t0;
  for (j = 1; j < ipph; j++) {
    t1 += t0;
    t2 -= t0;
    t3 = t1;
    t4 = t2;
    for (k = 0; k < l1; k++) {
      ch[t3] = c1[t3] - c1[t4];
      ch[t4] = c1[t3] + c1[t4];
      t3 += ido;
      t4 += ido;
    }
  }
  if (ido == 1)
    goto L132;
  if (nbd < l1)
    goto L128;
  t1 = 0;
  t2 = ipp2 * t0;
  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;
        ch[t5 - 1] = c1[t5 - 1] - c1[t6];
        ch[t6 - 1] = c1[t5 - 1] + c1[t6];
        ch[t5] = c1[t5] + c1[t6 - 1];
        ch[t6] = c1[t5] - c1[t6 - 1];
      }
      t3 += ido;
      t4 += ido;
    }
  }
  goto L132;
L128:
  t1 = 0;
  t2 = ipp2 * t0;
  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;
      t6 = t4;
      for (k = 0; k < l1; k++) {
        ch[t5 - 1] = c1[t5 - 1] - c1[t6];
        ch[t6 - 1] = c1[t5 - 1] + c1[t6];
        ch[t5] = c1[t5] + c1[t6 - 1];
        ch[t6] = c1[t5] - c1[t6 - 1];
        t5 += ido;
        t6 += ido;
      }
    }
  }
L132:
  if (ido == 1)
    return;
  for (ik = 0; ik < idl1; ik++)
    c2[ik] = ch2[ik];
  t1 = 0;
  for (j = 1; j < ip; j++) {
    t2 = (t1 += t0);
    for (k = 0; k < l1; k++) {
      c1[t2] = ch[t2];
      t2 += ido;
    }
  }
  if (nbd > l1)
    goto L139;
  is = -ido - 1;
  t1 = 0;
  for (j = 1; j < ip; j++) {
    is += ido;
    t1 += t0;
    idij = is;
    t2 = t1;
    for (i = 2; i < ido; i += 2) {
      t2 += 2;
      idij += 2;
      t3 = t2;
      for (k = 0; k < l1; k++) {
        c1[t3 - 1] = wa[idij - 1] * ch[t3 - 1] - wa[idij] * ch[t3];
        c1[t3] = wa[idij - 1] * ch[t3] + wa[idij] * ch[t3 - 1];
        t3 += ido;
      }
    }
  }
  return;
L139:
  is = -ido - 1;
  t1 = 0;
  for (j = 1; j < ip; j++) {
    is += ido;
    t1 += t0;
    t2 = t1;
    for (k = 0; k < l1; k++) {
      idij = is;
      t3 = t2;
      for (i = 2; i < ido; i += 2) {
        idij += 2;
        t3 += 2;
        c1[t3 - 1] = wa[idij - 1] * ch[t3 - 1] - wa[idij] * ch[t3];
        c1[t3] = wa[idij - 1] * ch[t3] + wa[idij] * ch[t3 - 1];
      }
      t2 += ido;
    }
  }
}
```