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

```asm
<measurement>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbx
  sub    $0x388,%rsp
  mov    %rdi,-0x2c8(%rbp)
  mov    %rsi,-0x2d0(%rbp)
  movsd  %xmm0,-0x2d8(%rbp)
  mov    %rdx,-0x2e0(%rbp)
  mov    %rcx,-0x2e8(%rbp)
  mov    %r8d,-0x2ec(%rbp)
  mov    %fs:0x28,%rax
  mov    %rax,-0x38(%rbp)
  xor    %eax,%eax
  mov    %rsp,%rax
  mov    %rax,-0x3a8(%rbp)
  movl   $0xfa,-0x29c(%rbp)
  movl   $0x40,-0x298(%rbp)
  movsd  D93(%rip),%xmm0
  divsd  -0x2d8(%rbp),%xmm0
  movsd  %xmm0,-0x208(%rbp)
  pxor   %xmm0,%xmm0
  movsd  %xmm0,-0x260(%rbp)
  pxor   %xmm0,%xmm0
  movsd  %xmm0,-0x258(%rbp)
  pxor   %xmm0,%xmm0
  movsd  %xmm0,-0x250(%rbp)
  mov    -0x29c(%rbp),%edx
  movslq %edx,%rax
  sub    $0x1,%rax
  mov    %rax,-0x200(%rbp)
  movslq %edx,%rax
  mov    %rax,%r10
  mov    $0x0,%r11d
  movslq %edx,%rax
  mov    %rax,%r12
  mov    $0x0,%r13d
  movslq %edx,%rax
  lea    0x0(,%rax,8),%rdx
  mov    $0x10,%eax
  sub    $0x1,%rax
  add    %rdx,%rax
  mov    $0x10,%esi
  mov    $0x0,%edx
  div    %rsi
  imul   $0x10,%rax,%rdx
  mov    %rdx,%rax
  and    $0xfffffffffffff000,%rax
  mov    %rsp,%rcx
  sub    %rax,%rcx
L45:
  cmp    %rcx,%rsp
  je     L247
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  jmp    L45
L247:
  mov    %rdx,%rax
  and    $0xfff,%eax
  sub    %rax,%rsp
  mov    %rdx,%rax
  and    $0xfff,%eax
  test   %rax,%rax
  je     L384
  mov    %rdx,%rax
  and    $0xfff,%eax
  sub    $0x8,%rax
  add    %rsp,%rax
  orq    $0x0,(%rax)
L384:
  mov    %rsp,%rax
  add    $0x7,%rax
  shr    $0x3,%rax
  shl    $0x3,%rax
  mov    %rax,-0x1f8(%rbp)
  mov    -0x29c(%rbp),%edx
  movslq %edx,%rax
  sub    $0x1,%rax
  mov    %rax,-0x1f0(%rbp)
  movslq %edx,%rax
  mov    %rax,%r14
  mov    $0x0,%r15d
  movslq %edx,%rax
  mov    %rax,-0x300(%rbp)
  movq   $0x0,-0x2f8(%rbp)
  movslq %edx,%rax
  lea    0x0(,%rax,8),%rdx
  mov    $0x10,%eax
  sub    $0x1,%rax
  add    %rdx,%rax
  mov    $0x10,%esi
  mov    $0x0,%edx
  div    %rsi
  imul   $0x10,%rax,%rdx
  mov    %rdx,%rax
  and    $0xfffffffffffff000,%rax
  mov    %rsp,%rcx
  sub    %rax,%rcx
L382:
  cmp    %rcx,%rsp
  je     L47
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  jmp    L382
L47:
  mov    %rdx,%rax
  and    $0xfff,%eax
  sub    %rax,%rsp
  mov    %rdx,%rax
  and    $0xfff,%eax
  test   %rax,%rax
  je     L72
  mov    %rdx,%rax
  and    $0xfff,%eax
  sub    $0x8,%rax
  add    %rsp,%rax
  orq    $0x0,(%rax)
L72:
  mov    %rsp,%rax
  add    $0x7,%rax
  shr    $0x3,%rax
  shl    $0x3,%rax
  mov    %rax,-0x1e8(%rbp)
  mov    -0x29c(%rbp),%edx
  movslq %edx,%rax
  sub    $0x1,%rax
  mov    %rax,-0x1e0(%rbp)
  movslq %edx,%rax
  mov    %rax,-0x310(%rbp)
  movq   $0x0,-0x308(%rbp)
  movslq %edx,%rax
  mov    %rax,-0x320(%rbp)
  movq   $0x0,-0x318(%rbp)
  movslq %edx,%rax
  lea    0x0(,%rax,8),%rdx
  mov    $0x10,%eax
  sub    $0x1,%rax
  add    %rdx,%rax
  mov    $0x10,%esi
  mov    $0x0,%edx
  div    %rsi
  imul   $0x10,%rax,%rdx
  mov    %rdx,%rax
  and    $0xfffffffffffff000,%rax
  mov    %rsp,%rcx
  sub    %rax,%rcx
L280:
  cmp    %rcx,%rsp
  je     L422
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  jmp    L280
L422:
  mov    %rdx,%rax
  and    $0xfff,%eax
  sub    %rax,%rsp
  mov    %rdx,%rax
  and    $0xfff,%eax
  test   %rax,%rax
  je     L283
  mov    %rdx,%rax
  and    $0xfff,%eax
  sub    $0x8,%rax
  add    %rsp,%rax
  orq    $0x0,(%rax)
L283:
  mov    %rsp,%rax
  add    $0x7,%rax
  shr    $0x3,%rax
  shl    $0x3,%rax
  mov    %rax,-0x1d8(%rbp)
  mov    -0x29c(%rbp),%edx
  movslq %edx,%rax
  sub    $0x1,%rax
  mov    %rax,-0x1d0(%rbp)
  movslq %edx,%rax
  mov    %rax,-0x330(%rbp)
  movq   $0x0,-0x328(%rbp)
  movslq %edx,%rax
  mov    %rax,-0x340(%rbp)
  movq   $0x0,-0x338(%rbp)
  movslq %edx,%rax
  lea    0x0(,%rax,8),%rdx
  mov    $0x10,%eax
  sub    $0x1,%rax
  add    %rdx,%rax
  mov    $0x10,%edi
  mov    $0x0,%edx
  div    %rdi
  imul   $0x10,%rax,%rdx
  mov    %rdx,%rax
  and    $0xfffffffffffff000,%rax
  mov    %rsp,%rcx
  sub    %rax,%rcx
L414:
  cmp    %rcx,%rsp
  je     L154
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  jmp    L414
L154:
  mov    %rdx,%rax
  and    $0xfff,%eax
  sub    %rax,%rsp
  mov    %rdx,%rax
  and    $0xfff,%eax
  test   %rax,%rax
  je     L260
  mov    %rdx,%rax
  and    $0xfff,%eax
  sub    $0x8,%rax
  add    %rsp,%rax
  orq    $0x0,(%rax)
L260:
  mov    %rsp,%rax
  add    $0x7,%rax
  shr    $0x3,%rax
  shl    $0x3,%rax
  mov    %rax,-0x1c8(%rbp)
  mov    -0x29c(%rbp),%edx
  movslq %edx,%rax
  sub    $0x1,%rax
  mov    %rax,-0x1c0(%rbp)
  movslq %edx,%rax
  mov    %rax,-0x350(%rbp)
  movq   $0x0,-0x348(%rbp)
  movslq %edx,%rax
  mov    %rax,-0x360(%rbp)
  movq   $0x0,-0x358(%rbp)
  movslq %edx,%rax
  lea    0x0(,%rax,8),%rdx
  mov    $0x10,%eax
  sub    $0x1,%rax
  add    %rdx,%rax
  mov    $0x10,%esi
  mov    $0x0,%edx
  div    %rsi
  imul   $0x10,%rax,%rax
  mov    %rax,%rcx
  and    $0xfffffffffffff000,%rcx
  mov    %rsp,%rdx
  sub    %rcx,%rdx
L460:
  cmp    %rdx,%rsp
  je     L230
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  jmp    L460
L230:
  mov    %rax,%rdx
  and    $0xfff,%edx
  sub    %rdx,%rsp
  mov    %rax,%rdx
  and    $0xfff,%edx
  test   %rdx,%rdx
  je     L267
  and    $0xfff,%eax
  sub    $0x8,%rax
  add    %rsp,%rax
  orq    $0x0,(%rax)
L267:
  mov    %rsp,%rax
  add    $0x7,%rax
  shr    $0x3,%rax
  shl    $0x3,%rax
  mov    %rax,-0x1b8(%rbp)
  mov    -0x29c(%rbp),%eax
  movslq %eax,%rdx
  sub    $0x1,%rdx
  mov    %rdx,-0x1b0(%rbp)
  movslq %eax,%rdx
  mov    %rdx,-0x370(%rbp)
  movq   $0x0,-0x368(%rbp)
  movslq %eax,%rdx
  mov    %rdx,-0x380(%rbp)
  movq   $0x0,-0x378(%rbp)
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    $0x10,%eax
  sub    $0x1,%rax
  add    %rdx,%rax
  mov    $0x10,%edi
  mov    $0x0,%edx
  div    %rdi
  imul   $0x10,%rax,%rax
  mov    %rax,%rcx
  and    $0xfffffffffffff000,%rcx
  mov    %rsp,%rdx
  sub    %rcx,%rdx
L346:
  cmp    %rdx,%rsp
  je     L251
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  jmp    L346
L251:
  mov    %rax,%rdx
  and    $0xfff,%edx
  sub    %rdx,%rsp
  mov    %rax,%rdx
  and    $0xfff,%edx
  test   %rdx,%rdx
  je     L453
  and    $0xfff,%eax
  sub    $0x8,%rax
  add    %rsp,%rax
  orq    $0x0,(%rax)
L453:
  mov    %rsp,%rax
  add    $0x7,%rax
  shr    $0x3,%rax
  shl    $0x3,%rax
  mov    %rax,-0x1a8(%rbp)
  mov    -0x29c(%rbp),%eax
  movslq %eax,%rdx
  sub    $0x1,%rdx
  mov    %rdx,-0x1a0(%rbp)
  movslq %eax,%rdx
  mov    %rdx,-0x390(%rbp)
  movq   $0x0,-0x388(%rbp)
  movslq %eax,%rdx
  mov    %rdx,-0x3a0(%rbp)
  movq   $0x0,-0x398(%rbp)
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    $0x10,%eax
  sub    $0x1,%rax
  add    %rdx,%rax
  mov    $0x10,%ebx
  mov    $0x0,%edx
  div    %rbx
  imul   $0x10,%rax,%rax
  mov    %rax,%rcx
  and    $0xfffffffffffff000,%rcx
  mov    %rsp,%rdx
  sub    %rcx,%rdx
L68:
  cmp    %rdx,%rsp
  je     L114
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  jmp    L68
L114:
  mov    %rax,%rdx
  and    $0xfff,%edx
  sub    %rdx,%rsp
  mov    %rax,%rdx
  and    $0xfff,%edx
  test   %rdx,%rdx
  je     L53
  and    $0xfff,%eax
  sub    $0x8,%rax
  add    %rsp,%rax
  orq    $0x0,(%rax)
L53:
  mov    %rsp,%rax
  add    $0x7,%rax
  shr    $0x3,%rax
  shl    $0x3,%rax
  mov    %rax,-0x198(%rbp)
  pxor   %xmm0,%xmm0
  movsd  %xmm0,-0x248(%rbp)
  pxor   %xmm0,%xmm0
  movsd  %xmm0,-0x240(%rbp)
  pxor   %xmm0,%xmm0
  movsd  %xmm0,-0x238(%rbp)
  pxor   %xmm0,%xmm0
  movsd  %xmm0,-0x230(%rbp)
  pxor   %xmm0,%xmm0
  movsd  %xmm0,-0x228(%rbp)
  pxor   %xmm0,%xmm0
  movsd  %xmm0,-0x220(%rbp)
  pxor   %xmm0,%xmm0
  movsd  %xmm0,-0x218(%rbp)
  pxor   %xmm0,%xmm0
  movsd  %xmm0,-0x210(%rbp)
  movl   $0x0,-0x2b8(%rbp)
  jmp    L10
L378:
  movl   $0x1,-0x2b4(%rbp)
  jmp    L200
L183:
  movl   $0x0,-0x2b0(%rbp)
  jmp    L458
L475:
  movl   $0x0,-0x2ac(%rbp)
  jmp    L391
L358:
  movl   $0x0,-0x2a8(%rbp)
  jmp    L457
L447:
  movl   $0x0,-0x2a4(%rbp)
  jmp    L58
L84:
  mov    -0x2ac(%rbp),%eax
  mov    %eax,-0x294(%rbp)
  mov    -0x2a8(%rbp),%eax
  mov    %eax,-0x290(%rbp)
  mov    -0x2a4(%rbp),%eax
  mov    %eax,-0x28c(%rbp)
  mov    -0x294(%rbp),%eax
  add    $0x3,%eax
  cltd
  shr    $0x1e,%edx
  add    %edx,%eax
  and    $0x3,%eax
  sub    %edx,%eax
  mov    %eax,-0x288(%rbp)
  mov    -0x294(%rbp),%eax
  add    $0x1,%eax
  cltd
  shr    $0x1e,%edx
  add    %edx,%eax
  and    $0x3,%eax
  sub    %edx,%eax
  mov    %eax,-0x284(%rbp)
  mov    -0x290(%rbp),%eax
  add    $0x3,%eax
  cltd
  shr    $0x1e,%edx
  add    %edx,%eax
  and    $0x3,%eax
  sub    %edx,%eax
  mov    %eax,-0x280(%rbp)
  mov    -0x290(%rbp),%eax
  add    $0x1,%eax
  cltd
  shr    $0x1e,%edx
  add    %edx,%eax
  and    $0x3,%eax
  sub    %edx,%eax
  mov    %eax,-0x27c(%rbp)
  mov    -0x28c(%rbp),%eax
  add    $0x3,%eax
  cltd
  shr    $0x1e,%edx
  add    %edx,%eax
  and    $0x3,%eax
  sub    %edx,%eax
  mov    %eax,-0x278(%rbp)
  mov    -0x28c(%rbp),%eax
  add    $0x1,%eax
  cltd
  shr    $0x1e,%edx
  add    %edx,%eax
  and    $0x3,%eax
  sub    %edx,%eax
  mov    %eax,-0x274(%rbp)
  mov    -0x294(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x2c8(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x290(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x28c(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  mov    (%rax),%rax
  movsd  (%rax),%xmm0
  movsd  %xmm0,-0x80(%rbp)
  mov    -0x294(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x2c8(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x290(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x28c(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  mov    (%rax),%rax
  movsd  0x8(%rax),%xmm0
  movsd  %xmm0,-0x78(%rbp)
  mov    $0x0,%eax
  call   <rng_theta@plt>
  pxor   %xmm0,%xmm0
  cvtsi2sd %eax,%xmm0
  movsd  %xmm0,-0x90(%rbp)
  mov    $0x0,%eax
  call   <rng_phi@plt>
  pxor   %xmm0,%xmm0
  cvtsi2sd %eax,%xmm0
  movsd  %xmm0,-0x88(%rbp)
  movsd  -0x80(%rbp),%xmm0
  movsd  %xmm0,-0x160(%rbp)
  movsd  -0x78(%rbp),%xmm0
  movsd  %xmm0,-0x158(%rbp)
  movsd  -0x160(%rbp),%xmm0
  movsd  %xmm0,-0xb8(%rbp)
  movsd  -0x78(%rbp),%xmm0
  movsd  %xmm0,-0xb0(%rbp)
  mov    -0xb8(%rbp),%rax
  movq   %rax,%xmm0
  call   <sin@plt>
  movsd  %xmm0,-0x300(%rbp)
  mov    -0xb0(%rbp),%rax
  movq   %rax,%xmm0
  call   <cos@plt>
  movapd %xmm0,%xmm3
  mulsd  -0x300(%rbp),%xmm3
  movsd  %xmm3,-0x300(%rbp)
  mov    -0x160(%rbp),%rax
  movq   %rax,%xmm0
  call   <sin@plt>
  movsd  %xmm0,-0x310(%rbp)
  mov    -0x158(%rbp),%rax
  movq   %rax,%xmm0
  call   <cos@plt>
  movsd  -0x310(%rbp),%xmm1
  mulsd  %xmm0,%xmm1
  movsd  -0x300(%rbp),%xmm0
  subsd  %xmm1,%xmm0
  movsd  %xmm0,-0x70(%rbp)
  mov    -0xb8(%rbp),%rax
  movq   %rax,%xmm0
  call   <sin@plt>
  movsd  %xmm0,-0x300(%rbp)
  mov    -0xb0(%rbp),%rax
  movq   %rax,%xmm0
  call   <sin@plt>
  movapd %xmm0,%xmm4
  mulsd  -0x300(%rbp),%xmm4
  movsd  %xmm4,-0x300(%rbp)
  mov    -0x160(%rbp),%rax
  movq   %rax,%xmm0
  call   <sin@plt>
  movsd  %xmm0,-0x310(%rbp)
  mov    -0x158(%rbp),%rax
  movq   %rax,%xmm0
  call   <sin@plt>
  movsd  -0x310(%rbp),%xmm1
  mulsd  %xmm0,%xmm1
  movsd  -0x300(%rbp),%xmm0
  subsd  %xmm1,%xmm0
  movsd  %xmm0,-0x68(%rbp)
  mov    -0xb8(%rbp),%rax
  movq   %rax,%xmm0
  call   <cos@plt>
  movq   %xmm0,%rbx
  mov    -0x160(%rbp),%rax
  movq   %rax,%xmm0
  call   <cos@plt>
  movapd %xmm0,%xmm1
  movq   %rbx,%xmm0
  subsd  %xmm1,%xmm0
  movsd  %xmm0,-0x60(%rbp)
  mov    -0x284(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x2c8(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x290(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x28c(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  mov    (%rax),%rax
  movsd  (%rax),%xmm0
  movsd  %xmm0,-0x138(%rbp)
  mov    -0x284(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x2c8(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x290(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x28c(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  mov    (%rax),%rax
  movsd  0x8(%rax),%xmm0
  movsd  %xmm0,-0x130(%rbp)
  mov    -0x288(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x2c8(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x290(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x28c(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  mov    (%rax),%rax
  movsd  (%rax),%xmm0
  movsd  %xmm0,-0x128(%rbp)
  mov    -0x288(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x2c8(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x290(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x28c(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  mov    (%rax),%rax
  movsd  0x8(%rax),%xmm0
  movsd  %xmm0,-0x120(%rbp)
  mov    -0x294(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x2c8(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x27c(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x28c(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  mov    (%rax),%rax
  movsd  (%rax),%xmm0
  movsd  %xmm0,-0x118(%rbp)
  mov    -0x294(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x2c8(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x27c(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x28c(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  mov    (%rax),%rax
  movsd  0x8(%rax),%xmm0
  movsd  %xmm0,-0x110(%rbp)
  mov    -0x294(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x2c8(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x280(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x28c(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  mov    (%rax),%rax
  movsd  (%rax),%xmm0
  movsd  %xmm0,-0x108(%rbp)
  mov    -0x294(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x2c8(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x280(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x28c(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  mov    (%rax),%rax
  movsd  0x8(%rax),%xmm0
  movsd  %xmm0,-0x100(%rbp)
  mov    -0x294(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x2c8(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x290(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x274(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  mov    (%rax),%rax
  movsd  (%rax),%xmm0
  movsd  %xmm0,-0xf8(%rbp)
  mov    -0x294(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x2c8(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x290(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x274(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  mov    (%rax),%rax
  movsd  0x8(%rax),%xmm0
  movsd  %xmm0,-0xf0(%rbp)
  mov    -0x294(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x2c8(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x290(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x278(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  mov    (%rax),%rax
  movsd  (%rax),%xmm0
  movsd  %xmm0,-0xe8(%rbp)
  mov    -0x294(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x2c8(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x290(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x278(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  mov    (%rax),%rax
  movsd  0x8(%rax),%xmm0
  movsd  %xmm0,-0xe0(%rbp)
  mov    -0x138(%rbp),%rax
  movq   %rax,%xmm0
  call   <sin@plt>
  movsd  %xmm0,-0x300(%rbp)
  mov    -0x130(%rbp),%rax
  movq   %rax,%xmm0
  call   <cos@plt>
  movapd %xmm0,%xmm7
  mulsd  -0x300(%rbp),%xmm7
  movsd  %xmm7,-0x300(%rbp)
  mov    -0x128(%rbp),%rax
  movq   %rax,%xmm0
  call   <sin@plt>
  movsd  %xmm0,-0x310(%rbp)
  mov    -0x120(%rbp),%rax
  movq   %rax,%xmm0
  call   <cos@plt>
  mulsd  -0x310(%rbp),%xmm0
  addsd  -0x300(%rbp),%xmm0
  movsd  %xmm0,-0x300(%rbp)
  mov    -0x118(%rbp),%rax
  movq   %rax,%xmm0
  call   <sin@plt>
  movsd  %xmm0,-0x310(%rbp)
  mov    -0x110(%rbp),%rax
  movq   %rax,%xmm0
  call   <cos@plt>
  mulsd  -0x310(%rbp),%xmm0
  movapd %xmm0,%xmm4
  addsd  -0x300(%rbp),%xmm4
  movsd  %xmm4,-0x300(%rbp)
  mov    -0x108(%rbp),%rax
  movq   %rax,%xmm0
  call   <sin@plt>
  movsd  %xmm0,-0x310(%rbp)
  mov    -0x100(%rbp),%rax
  movq   %rax,%xmm0
  call   <cos@plt>
  mulsd  -0x310(%rbp),%xmm0
  addsd  -0x300(%rbp),%xmm0
  movsd  %xmm0,-0x300(%rbp)
  mov    -0xf8(%rbp),%rax
  movq   %rax,%xmm0
  call   <sin@plt>
  movsd  %xmm0,-0x310(%rbp)
  mov    -0xf0(%rbp),%rax
  movq   %rax,%xmm0
  call   <cos@plt>
  mulsd  -0x310(%rbp),%xmm0
  movapd %xmm0,%xmm6
  addsd  -0x300(%rbp),%xmm6
  movsd  %xmm6,-0x300(%rbp)
  mov    -0xe8(%rbp),%rax
  movq   %rax,%xmm0
  call   <sin@plt>
  movsd  %xmm0,-0x310(%rbp)
  mov    -0xe0(%rbp),%rax
  movq   %rax,%xmm0
  call   <cos@plt>
  mulsd  -0x310(%rbp),%xmm0
  addsd  -0x300(%rbp),%xmm0
  movsd  %xmm0,-0x50(%rbp)
  mov    -0x138(%rbp),%rax
  movq   %rax,%xmm0
  call   <sin@plt>
  movsd  %xmm0,-0x300(%rbp)
  mov    -0x130(%rbp),%rax
  movq   %rax,%xmm0
  call   <sin@plt>
  movapd %xmm0,%xmm3
  mulsd  -0x300(%rbp),%xmm3
  movsd  %xmm3,-0x300(%rbp)
  mov    -0x128(%rbp),%rax
  movq   %rax,%xmm0
  call   <sin@plt>
  movsd  %xmm0,-0x310(%rbp)
  mov    -0x120(%rbp),%rax
  movq   %rax,%xmm0
  call   <sin@plt>
  mulsd  -0x310(%rbp),%xmm0
  addsd  -0x300(%rbp),%xmm0
  movsd  %xmm0,-0x300(%rbp)
  mov    -0x118(%rbp),%rax
  movq   %rax,%xmm0
  call   <sin@plt>
  movsd  %xmm0,-0x310(%rbp)
  mov    -0x110(%rbp),%rax
  movq   %rax,%xmm0
  call   <sin@plt>
  mulsd  -0x310(%rbp),%xmm0
  movapd %xmm0,%xmm7
  addsd  -0x300(%rbp),%xmm7
  movsd  %xmm7,-0x300(%rbp)
  mov    -0x108(%rbp),%rax
  movq   %rax,%xmm0
  call   <sin@plt>
  movsd  %xmm0,-0x310(%rbp)
  mov    -0x100(%rbp),%rax
  movq   %rax,%xmm0
  call   <sin@plt>
  mulsd  -0x310(%rbp),%xmm0
  addsd  -0x300(%rbp),%xmm0
  movsd  %xmm0,-0x300(%rbp)
  mov    -0xf8(%rbp),%rax
  movq   %rax,%xmm0
  call   <sin@plt>
  movsd  %xmm0,-0x310(%rbp)
  mov    -0xf0(%rbp),%rax
  movq   %rax,%xmm0
  call   <sin@plt>
  mulsd  -0x310(%rbp),%xmm0
  movapd %xmm0,%xmm4
  addsd  -0x300(%rbp),%xmm4
  movsd  %xmm4,-0x300(%rbp)
  mov    -0xe8(%rbp),%rax
  movq   %rax,%xmm0
  call   <sin@plt>
  movsd  %xmm0,-0x310(%rbp)
  mov    -0xe0(%rbp),%rax
  movq   %rax,%xmm0
  call   <sin@plt>
  mulsd  -0x310(%rbp),%xmm0
  addsd  -0x300(%rbp),%xmm0
  movsd  %xmm0,-0x48(%rbp)
  mov    -0x138(%rbp),%rax
  movq   %rax,%xmm0
  call   <cos@plt>
  movsd  %xmm0,-0x300(%rbp)
  mov    -0x128(%rbp),%rax
  movq   %rax,%xmm0
  call   <cos@plt>
  movapd %xmm0,%xmm6
  addsd  -0x300(%rbp),%xmm6
  movsd  %xmm6,-0x300(%rbp)
  mov    -0x118(%rbp),%rax
  movq   %rax,%xmm0
  call   <cos@plt>
  addsd  -0x300(%rbp),%xmm0
  movsd  %xmm0,-0x300(%rbp)
  mov    -0x108(%rbp),%rax
  movq   %rax,%xmm0
  call   <cos@plt>
  movapd %xmm0,%xmm3
  addsd  -0x300(%rbp),%xmm3
  movsd  %xmm3,-0x300(%rbp)
  mov    -0xf8(%rbp),%rax
  movq   %rax,%xmm0
  call   <cos@plt>
  addsd  -0x300(%rbp),%xmm0
  movsd  %xmm0,-0x300(%rbp)
  mov    -0xe8(%rbp),%rax
  movq   %rax,%xmm0
  call   <cos@plt>
  addsd  -0x300(%rbp),%xmm0
  movsd  %xmm0,-0x40(%rbp)
  movsd  -0x70(%rbp),%xmm1
  movsd  -0x50(%rbp),%xmm0
  mulsd  %xmm0,%xmm1
  movsd  -0x68(%rbp),%xmm2
  movsd  -0x48(%rbp),%xmm0
  mulsd  %xmm2,%xmm0
  addsd  %xmm0,%xmm1
  movsd  -0x60(%rbp),%xmm2
  movsd  -0x40(%rbp),%xmm0
  mulsd  %xmm2,%xmm0
  addsd  %xmm1,%xmm0
  movsd  %xmm0,-0xd8(%rbp)
  movsd  -0xd8(%rbp),%xmm0
  movq   D123(%rip),%xmm1
  xorpd  %xmm1,%xmm0
  movsd  %xmm0,-0xa8(%rbp)
  movsd  -0x268(%rbp),%xmm1
  movsd  D93(%rip),%xmm0
  addsd  %xmm1,%xmm0
  movsd  %xmm0,-0x268(%rbp)
  pxor   %xmm0,%xmm0
  comisd -0xa8(%rbp),%xmm0
  jb     L191
  mov    -0x294(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x2c8(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x290(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x28c(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  mov    (%rax),%rax
  movsd  -0xb8(%rbp),%xmm0
  movsd  %xmm0,(%rax)
  mov    -0x294(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x2c8(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x290(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x28c(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  mov    (%rax),%rax
  add    $0x8,%rax
  movsd  -0xb0(%rbp),%xmm0
  movsd  %xmm0,(%rax)
  movsd  -0x270(%rbp),%xmm1
  movsd  D93(%rip),%xmm0
  addsd  %xmm1,%xmm0
  movsd  %xmm0,-0x270(%rbp)
  jmp    L374
L191:
  mov    -0xb8(%rbp),%rax
  movq   %rax,%xmm0
  call   <sin@plt>
  movq   %xmm0,%rbx
  mov    -0x160(%rbp),%rax
  movq   %rax,%xmm0
  call   <sin@plt>
  movq   %rbx,%xmm5
  divsd  %xmm0,%xmm5
  movsd  %xmm5,-0x300(%rbp)
  movsd  -0x208(%rbp),%xmm0
  movq   D123(%rip),%xmm1
  xorpd  %xmm1,%xmm0
  mulsd  -0xa8(%rbp),%xmm0
  movq   %xmm0,%rax
  movq   %rax,%xmm0
  call   <exp@plt>
  mulsd  -0x300(%rbp),%xmm0
  movsd  %xmm0,-0xa0(%rbp)
  mov    $0x0,%eax
  call   <rng@plt>
  pxor   %xmm0,%xmm0
  cvtsi2sd %eax,%xmm0
  movsd  %xmm0,-0x98(%rbp)
  movsd  -0xa0(%rbp),%xmm0
  comisd -0x98(%rbp),%xmm0
  jb     L374
  mov    -0x294(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x2c8(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x290(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x28c(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  mov    (%rax),%rax
  movsd  -0xb8(%rbp),%xmm0
  movsd  %xmm0,(%rax)
  mov    -0x294(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x2c8(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x290(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x28c(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  mov    (%rax),%rax
  add    $0x8,%rax
  movsd  -0xb0(%rbp),%xmm0
  movsd  %xmm0,(%rax)
  movsd  -0x270(%rbp),%xmm1
  movsd  D93(%rip),%xmm0
  addsd  %xmm1,%xmm0
  movsd  %xmm0,-0x270(%rbp)
L374:
  movsd  -0x160(%rbp),%xmm0
  movsd  %xmm0,-0xb8(%rbp)
  movsd  -0x88(%rbp),%xmm0
  movsd  %xmm0,-0xb0(%rbp)
  mov    -0xb8(%rbp),%rax
  movq   %rax,%xmm0
  call   <sin@plt>
  movsd  %xmm0,-0x300(%rbp)
  mov    -0xb0(%rbp),%rax
  movq   %rax,%xmm0
  call   <cos@plt>
  movapd %xmm0,%xmm5
  mulsd  -0x300(%rbp),%xmm5
  movsd  %xmm5,-0x300(%rbp)
  mov    -0x160(%rbp),%rax
  movq   %rax,%xmm0
  call   <sin@plt>
  movsd  %xmm0,-0x310(%rbp)
  mov    -0x158(%rbp),%rax
  movq   %rax,%xmm0
  call   <cos@plt>
  movsd  -0x310(%rbp),%xmm1
  mulsd  %xmm0,%xmm1
  movsd  -0x300(%rbp),%xmm0
  subsd  %xmm1,%xmm0
  movsd  %xmm0,-0x70(%rbp)
  mov    -0xb8(%rbp),%rax
  movq   %rax,%xmm0
  call   <sin@plt>
  movsd  %xmm0,-0x300(%rbp)
  mov    -0xb0(%rbp),%rax
  movq   %rax,%xmm0
  call   <sin@plt>
  movapd %xmm0,%xmm6
  mulsd  -0x300(%rbp),%xmm6
  movsd  %xmm6,-0x300(%rbp)
  mov    -0x160(%rbp),%rax
  movq   %rax,%xmm0
  call   <sin@plt>
  movsd  %xmm0,-0x310(%rbp)
  mov    -0x158(%rbp),%rax
  movq   %rax,%xmm0
  call   <sin@plt>
  movsd  -0x310(%rbp),%xmm1
  mulsd  %xmm0,%xmm1
  movsd  -0x300(%rbp),%xmm0
  subsd  %xmm1,%xmm0
  movsd  %xmm0,-0x68(%rbp)
  mov    -0xb8(%rbp),%rax
  movq   %rax,%xmm0
  call   <cos@plt>
  movq   %xmm0,%rbx
  mov    -0x160(%rbp),%rax
  movq   %rax,%xmm0
  call   <cos@plt>
  movapd %xmm0,%xmm1
  movq   %rbx,%xmm0
  subsd  %xmm1,%xmm0
  movsd  %xmm0,-0x60(%rbp)
  mov    -0x284(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x2c8(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x290(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x28c(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  mov    (%rax),%rax
  movsd  (%rax),%xmm0
  movsd  %xmm0,-0x138(%rbp)
  mov    -0x284(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x2c8(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x290(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x28c(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  mov    (%rax),%rax
  movsd  0x8(%rax),%xmm0
  movsd  %xmm0,-0x130(%rbp)
  mov    -0x288(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x2c8(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x290(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x28c(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  mov    (%rax),%rax
  movsd  (%rax),%xmm0
  movsd  %xmm0,-0x128(%rbp)
  mov    -0x288(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x2c8(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x290(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x28c(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  mov    (%rax),%rax
  movsd  0x8(%rax),%xmm0
  movsd  %xmm0,-0x120(%rbp)
  mov    -0x294(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x2c8(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x27c(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x28c(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  mov    (%rax),%rax
  movsd  (%rax),%xmm0
  movsd  %xmm0,-0x118(%rbp)
  mov    -0x294(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x2c8(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x27c(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x28c(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  mov    (%rax),%rax
  movsd  0x8(%rax),%xmm0
  movsd  %xmm0,-0x110(%rbp)
  mov    -0x294(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x2c8(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x280(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x28c(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  mov    (%rax),%rax
  movsd  (%rax),%xmm0
  movsd  %xmm0,-0x108(%rbp)
  mov    -0x294(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x2c8(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x280(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x28c(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  mov    (%rax),%rax
  movsd  0x8(%rax),%xmm0
  movsd  %xmm0,-0x100(%rbp)
  mov    -0x294(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x2c8(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x290(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x274(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  mov    (%rax),%rax
  movsd  (%rax),%xmm0
  movsd  %xmm0,-0xf8(%rbp)
  mov    -0x294(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x2c8(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x290(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x274(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  mov    (%rax),%rax
  movsd  0x8(%rax),%xmm0
  movsd  %xmm0,-0xf0(%rbp)
  mov    -0x294(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x2c8(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x290(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x278(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  mov    (%rax),%rax
  movsd  (%rax),%xmm0
  movsd  %xmm0,-0xe8(%rbp)
  mov    -0x294(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x2c8(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x290(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x278(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  mov    (%rax),%rax
  movsd  0x8(%rax),%xmm0
  movsd  %xmm0,-0xe0(%rbp)
  mov    -0x138(%rbp),%rax
  movq   %rax,%xmm0
  call   <sin@plt>
  movsd  %xmm0,-0x300(%rbp)
  mov    -0x130(%rbp),%rax
  movq   %rax,%xmm0
  call   <cos@plt>
  movapd %xmm0,%xmm7
  mulsd  -0x300(%rbp),%xmm7
  movsd  %xmm7,-0x300(%rbp)
  mov    -0x128(%rbp),%rax
  movq   %rax,%xmm0
  call   <sin@plt>
  movsd  %xmm0,-0x310(%rbp)
  mov    -0x120(%rbp),%rax
  movq   %rax,%xmm0
  call   <cos@plt>
  mulsd  -0x310(%rbp),%xmm0
  addsd  -0x300(%rbp),%xmm0
  movsd  %xmm0,-0x300(%rbp)
  mov    -0x118(%rbp),%rax
  movq   %rax,%xmm0
  call   <sin@plt>
  movsd  %xmm0,-0x310(%rbp)
  mov    -0x100(%rbp),%rax
  movq   %rax,%xmm0
  call   <cos@plt>
  mulsd  -0x310(%rbp),%xmm0
  movapd %xmm0,%xmm6
  addsd  -0x300(%rbp),%xmm6
  movsd  %xmm6,-0x300(%rbp)
  mov    -0x108(%rbp),%rax
  movq   %rax,%xmm0
  call   <sin@plt>
  movsd  %xmm0,-0x310(%rbp)
  mov    -0x100(%rbp),%rax
  movq   %rax,%xmm0
  call   <cos@plt>
  mulsd  -0x310(%rbp),%xmm0
  addsd  -0x300(%rbp),%xmm0
  movsd  %xmm0,-0x300(%rbp)
  mov    -0xf8(%rbp),%rax
  movq   %rax,%xmm0
  call   <sin@plt>
  movsd  %xmm0,-0x310(%rbp)
  mov    -0xf0(%rbp),%rax
  movq   %rax,%xmm0
  call   <cos@plt>
  mulsd  -0x310(%rbp),%xmm0
  movapd %xmm0,%xmm4
  addsd  -0x300(%rbp),%xmm4
  movsd  %xmm4,-0x300(%rbp)
  mov    -0xe8(%rbp),%rax
  movq   %rax,%xmm0
  call   <sin@plt>
  movsd  %xmm0,-0x310(%rbp)
  mov    -0xe0(%rbp),%rax
  movq   %rax,%xmm0
  call   <cos@plt>
  mulsd  -0x310(%rbp),%xmm0
  addsd  -0x300(%rbp),%xmm0
  movsd  %xmm0,-0x50(%rbp)
  mov    -0x138(%rbp),%rax
  movq   %rax,%xmm0
  call   <sin@plt>
  movsd  %xmm0,-0x300(%rbp)
  mov    -0x130(%rbp),%rax
  movq   %rax,%xmm0
  call   <sin@plt>
  movapd %xmm0,%xmm5
  mulsd  -0x300(%rbp),%xmm5
  movsd  %xmm5,-0x300(%rbp)
  mov    -0x128(%rbp),%rax
  movq   %rax,%xmm0
  call   <sin@plt>
  movsd  %xmm0,-0x310(%rbp)
  mov    -0x120(%rbp),%rax
  movq   %rax,%xmm0
  call   <sin@plt>
  mulsd  -0x310(%rbp),%xmm0
  addsd  -0x300(%rbp),%xmm0
  movsd  %xmm0,-0x300(%rbp)
  mov    -0x118(%rbp),%rax
  movq   %rax,%xmm0
  call   <sin@plt>
  movsd  %xmm0,-0x310(%rbp)
  mov    -0x100(%rbp),%rax
  movq   %rax,%xmm0
  call   <sin@plt>
  mulsd  -0x310(%rbp),%xmm0
  movapd %xmm0,%xmm7
  addsd  -0x300(%rbp),%xmm7
  movsd  %xmm7,-0x300(%rbp)
  mov    -0x108(%rbp),%rax
  movq   %rax,%xmm0
  call   <sin@plt>
  movsd  %xmm0,-0x310(%rbp)
  mov    -0x100(%rbp),%rax
  movq   %rax,%xmm0
  call   <sin@plt>
  mulsd  -0x310(%rbp),%xmm0
  addsd  -0x300(%rbp),%xmm0
  movsd  %xmm0,-0x300(%rbp)
  mov    -0xf8(%rbp),%rax
  movq   %rax,%xmm0
  call   <sin@plt>
  movsd  %xmm0,-0x310(%rbp)
  mov    -0xf0(%rbp),%rax
  movq   %rax,%xmm0
  call   <sin@plt>
  mulsd  -0x310(%rbp),%xmm0
  movapd %xmm0,%xmm6
  addsd  -0x300(%rbp),%xmm6
  movsd  %xmm6,-0x300(%rbp)
  mov    -0xe8(%rbp),%rax
  movq   %rax,%xmm0
  call   <sin@plt>
  movsd  %xmm0,-0x310(%rbp)
  mov    -0xe0(%rbp),%rax
  movq   %rax,%xmm0
  call   <sin@plt>
  mulsd  -0x310(%rbp),%xmm0
  addsd  -0x300(%rbp),%xmm0
  movsd  %xmm0,-0x48(%rbp)
  mov    -0x138(%rbp),%rax
  movq   %rax,%xmm0
  call   <cos@plt>
  movsd  %xmm0,-0x300(%rbp)
  mov    -0x128(%rbp),%rax
  movq   %rax,%xmm0
  call   <cos@plt>
  movapd %xmm0,%xmm3
  addsd  -0x300(%rbp),%xmm3
  movsd  %xmm3,-0x300(%rbp)
  mov    -0x118(%rbp),%rax
  movq   %rax,%xmm0
  call   <cos@plt>
  addsd  -0x300(%rbp),%xmm0
  movsd  %xmm0,-0x300(%rbp)
  mov    -0x108(%rbp),%rax
  movq   %rax,%xmm0
  call   <cos@plt>
  movapd %xmm0,%xmm4
  addsd  -0x300(%rbp),%xmm4
  movsd  %xmm4,-0x300(%rbp)
  mov    -0xf8(%rbp),%rax
  movq   %rax,%xmm0
  call   <cos@plt>
  addsd  -0x300(%rbp),%xmm0
  movsd  %xmm0,-0x300(%rbp)
  mov    -0xe8(%rbp),%rax
  movq   %rax,%xmm0
  call   <cos@plt>
  addsd  -0x300(%rbp),%xmm0
  movsd  %xmm0,-0x40(%rbp)
  movsd  -0x70(%rbp),%xmm1
  movsd  -0x50(%rbp),%xmm0
  mulsd  %xmm0,%xmm1
  movsd  -0x68(%rbp),%xmm2
  movsd  -0x48(%rbp),%xmm0
  mulsd  %xmm2,%xmm0
  addsd  %xmm0,%xmm1
  movsd  -0x60(%rbp),%xmm2
  movsd  -0x40(%rbp),%xmm0
  mulsd  %xmm2,%xmm0
  addsd  %xmm1,%xmm0
  movsd  %xmm0,-0xd8(%rbp)
  movsd  -0xd8(%rbp),%xmm0
  movq   D123(%rip),%xmm1
  xorpd  %xmm1,%xmm0
  movsd  %xmm0,-0xa8(%rbp)
  movsd  -0x268(%rbp),%xmm1
  movsd  D93(%rip),%xmm0
  addsd  %xmm1,%xmm0
  movsd  %xmm0,-0x268(%rbp)
  pxor   %xmm0,%xmm0
  comisd -0xa8(%rbp),%xmm0
  jb     L125
  mov    -0x294(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x2c8(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x290(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x28c(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  mov    (%rax),%rax
  movsd  -0xb8(%rbp),%xmm0
  movsd  %xmm0,(%rax)
  mov    -0x294(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x2c8(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x290(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x28c(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  mov    (%rax),%rax
  add    $0x8,%rax
  movsd  -0xb0(%rbp),%xmm0
  movsd  %xmm0,(%rax)
  movsd  -0x270(%rbp),%xmm1
  movsd  D93(%rip),%xmm0
  addsd  %xmm1,%xmm0
  movsd  %xmm0,-0x270(%rbp)
  jmp    L170
L125:
  mov    -0xb8(%rbp),%rax
  movq   %rax,%xmm0
  call   <sin@plt>
  movq   %xmm0,%rbx
  mov    -0x160(%rbp),%rax
  movq   %rax,%xmm0
  call   <sin@plt>
  movq   %rbx,%xmm2
  divsd  %xmm0,%xmm2
  movsd  %xmm2,-0x300(%rbp)
  movsd  -0x208(%rbp),%xmm0
  movq   D123(%rip),%xmm1
  xorpd  %xmm1,%xmm0
  mulsd  -0xa8(%rbp),%xmm0
  movq   %xmm0,%rax
  movq   %rax,%xmm0
  call   <exp@plt>
  mulsd  -0x300(%rbp),%xmm0
  movsd  %xmm0,-0xa0(%rbp)
  mov    $0x0,%eax
  call   <rng@plt>
  pxor   %xmm0,%xmm0
  cvtsi2sd %eax,%xmm0
  movsd  %xmm0,-0x98(%rbp)
  movsd  -0xa0(%rbp),%xmm0
  comisd -0x98(%rbp),%xmm0
  jb     L170
  mov    -0x294(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x2c8(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x290(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x28c(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  mov    (%rax),%rax
  movsd  -0xb8(%rbp),%xmm0
  movsd  %xmm0,(%rax)
  mov    -0x294(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x2c8(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x290(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x28c(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  mov    (%rax),%rax
  add    $0x8,%rax
  movsd  -0xb0(%rbp),%xmm0
  movsd  %xmm0,(%rax)
  movsd  -0x270(%rbp),%xmm1
  movsd  D93(%rip),%xmm0
  addsd  %xmm1,%xmm0
  movsd  %xmm0,-0x270(%rbp)
L170:
  addl   $0x1,-0x2a4(%rbp)
L58:
  cmpl   $0x3,-0x2a4(%rbp)
  jle    L84
  addl   $0x1,-0x2a8(%rbp)
L457:
  cmpl   $0x3,-0x2a8(%rbp)
  jle    L447
  addl   $0x1,-0x2ac(%rbp)
L391:
  cmpl   $0x3,-0x2ac(%rbp)
  jle    L358
  addl   $0x1,-0x2b0(%rbp)
L458:
  cmpl   $0xf9,-0x2b0(%rbp)
  jle    L475
  addl   $0x1,-0x2b4(%rbp)
L200:
  cmpl   $0x1e,-0x2b4(%rbp)
  jle    L183
  pxor   %xmm0,%xmm0
  movsd  %xmm0,-0x248(%rbp)
  pxor   %xmm0,%xmm0
  movsd  %xmm0,-0x260(%rbp)
  pxor   %xmm0,%xmm0
  movsd  %xmm0,-0x258(%rbp)
  pxor   %xmm0,%xmm0
  movsd  %xmm0,-0x250(%rbp)
  movl   $0x0,-0x2ac(%rbp)
  jmp    L39
L211:
  movl   $0x0,-0x2a8(%rbp)
  jmp    L380
L163:
  movl   $0x0,-0x2a4(%rbp)
  jmp    L153
L415:
  mov    -0x2ac(%rbp),%eax
  mov    %eax,-0x294(%rbp)
  mov    -0x2a8(%rbp),%eax
  mov    %eax,-0x290(%rbp)
  mov    -0x2a4(%rbp),%eax
  mov    %eax,-0x28c(%rbp)
  mov    -0x294(%rbp),%eax
  add    $0x3,%eax
  cltd
  shr    $0x1e,%edx
  add    %edx,%eax
  and    $0x3,%eax
  sub    %edx,%eax
  mov    %eax,-0x288(%rbp)
  mov    -0x294(%rbp),%eax
  add    $0x1,%eax
  cltd
  shr    $0x1e,%edx
  add    %edx,%eax
  and    $0x3,%eax
  sub    %edx,%eax
  mov    %eax,-0x284(%rbp)
  mov    -0x290(%rbp),%eax
  add    $0x3,%eax
  cltd
  shr    $0x1e,%edx
  add    %edx,%eax
  and    $0x3,%eax
  sub    %edx,%eax
  mov    %eax,-0x280(%rbp)
  mov    -0x290(%rbp),%eax
  add    $0x1,%eax
  cltd
  shr    $0x1e,%edx
  add    %edx,%eax
  and    $0x3,%eax
  sub    %edx,%eax
  mov    %eax,-0x27c(%rbp)
  mov    -0x28c(%rbp),%eax
  add    $0x3,%eax
  cltd
  shr    $0x1e,%edx
  add    %edx,%eax
  and    $0x3,%eax
  sub    %edx,%eax
  mov    %eax,-0x278(%rbp)
  mov    -0x28c(%rbp),%eax
  add    $0x1,%eax
  cltd
  shr    $0x1e,%edx
  add    %edx,%eax
  and    $0x3,%eax
  sub    %edx,%eax
  mov    %eax,-0x274(%rbp)
  mov    -0x294(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x2c8(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x290(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x28c(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  mov    (%rax),%rax
  movsd  (%rax),%xmm0
  movsd  %xmm0,-0x160(%rbp)
  mov    -0x294(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x2c8(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x290(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x28c(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  mov    (%rax),%rax
  movsd  0x8(%rax),%xmm0
  movsd  %xmm0,-0x158(%rbp)
  mov    -0x160(%rbp),%rax
  movq   %rax,%xmm0
  call   <sin@plt>
  movsd  %xmm0,-0x300(%rbp)
  mov    -0x158(%rbp),%rax
  movq   %rax,%xmm0
  call   <cos@plt>
  mulsd  -0x300(%rbp),%xmm0
  movsd  %xmm0,-0x150(%rbp)
  mov    -0x160(%rbp),%rax
  movq   %rax,%xmm0
  call   <sin@plt>
  movsd  %xmm0,-0x300(%rbp)
  mov    -0x158(%rbp),%rax
  movq   %rax,%xmm0
  call   <sin@plt>
  mulsd  -0x300(%rbp),%xmm0
  movsd  %xmm0,-0x148(%rbp)
  mov    -0x160(%rbp),%rax
  movq   %rax,%xmm0
  call   <cos@plt>
  movq   %xmm0,%rax
  mov    %rax,-0x140(%rbp)
  mov    -0x284(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x2c8(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x290(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x28c(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  mov    (%rax),%rax
  movsd  (%rax),%xmm0
  movsd  %xmm0,-0x138(%rbp)
  mov    -0x284(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x2c8(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x290(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x28c(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  mov    (%rax),%rax
  movsd  0x8(%rax),%xmm0
  movsd  %xmm0,-0x130(%rbp)
  mov    -0x288(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x2c8(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x290(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x28c(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  mov    (%rax),%rax
  movsd  (%rax),%xmm0
  movsd  %xmm0,-0x128(%rbp)
  mov    -0x288(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x2c8(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x290(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x28c(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  mov    (%rax),%rax
  movsd  0x8(%rax),%xmm0
  movsd  %xmm0,-0x120(%rbp)
  mov    -0x294(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x2c8(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x27c(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x28c(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  mov    (%rax),%rax
  movsd  (%rax),%xmm0
  movsd  %xmm0,-0x118(%rbp)
  mov    -0x294(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x2c8(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x27c(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x28c(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  mov    (%rax),%rax
  movsd  0x8(%rax),%xmm0
  movsd  %xmm0,-0x110(%rbp)
  mov    -0x294(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x2c8(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x280(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x28c(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  mov    (%rax),%rax
  movsd  (%rax),%xmm0
  movsd  %xmm0,-0x108(%rbp)
  mov    -0x294(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x2c8(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x280(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x28c(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  mov    (%rax),%rax
  movsd  0x8(%rax),%xmm0
  movsd  %xmm0,-0x100(%rbp)
  mov    -0x294(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x2c8(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x290(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x274(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  mov    (%rax),%rax
  movsd  (%rax),%xmm0
  movsd  %xmm0,-0xf8(%rbp)
  mov    -0x294(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x2c8(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x290(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x274(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  mov    (%rax),%rax
  movsd  0x8(%rax),%xmm0
  movsd  %xmm0,-0xf0(%rbp)
  mov    -0x294(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x2c8(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x290(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x278(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  mov    (%rax),%rax
  movsd  (%rax),%xmm0
  movsd  %xmm0,-0xe8(%rbp)
  mov    -0x294(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x2c8(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x290(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x278(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  mov    (%rax),%rax
  movsd  0x8(%rax),%xmm0
  movsd  %xmm0,-0xe0(%rbp)
  mov    -0x138(%rbp),%rax
  movq   %rax,%xmm0
  call   <sin@plt>
  movsd  %xmm0,-0x300(%rbp)
  mov    -0x130(%rbp),%rax
  movq   %rax,%xmm0
  call   <cos@plt>
  movapd %xmm0,%xmm7
  mulsd  -0x300(%rbp),%xmm7
  movsd  %xmm7,-0x300(%rbp)
  mov    -0x128(%rbp),%rax
  movq   %rax,%xmm0
  call   <sin@plt>
  movsd  %xmm0,-0x310(%rbp)
  mov    -0x120(%rbp),%rax
  movq   %rax,%xmm0
  call   <cos@plt>
  mulsd  -0x310(%rbp),%xmm0
  addsd  -0x300(%rbp),%xmm0
  movsd  %xmm0,-0x300(%rbp)
  mov    -0x118(%rbp),%rax
  movq   %rax,%xmm0
  call   <sin@plt>
  movsd  %xmm0,-0x310(%rbp)
  mov    -0x110(%rbp),%rax
  movq   %rax,%xmm0
  call   <cos@plt>
  mulsd  -0x310(%rbp),%xmm0
  movapd %xmm0,%xmm6
  addsd  -0x300(%rbp),%xmm6
  movsd  %xmm6,-0x300(%rbp)
  mov    -0x108(%rbp),%rax
  movq   %rax,%xmm0
  call   <sin@plt>
  movsd  %xmm0,-0x310(%rbp)
  mov    -0x100(%rbp),%rax
  movq   %rax,%xmm0
  call   <cos@plt>
  mulsd  -0x310(%rbp),%xmm0
  addsd  -0x300(%rbp),%xmm0
  movsd  %xmm0,-0x300(%rbp)
  mov    -0xf8(%rbp),%rax
  movq   %rax,%xmm0
  call   <sin@plt>
  movsd  %xmm0,-0x310(%rbp)
  mov    -0xf0(%rbp),%rax
  movq   %rax,%xmm0
  call   <cos@plt>
  mulsd  -0x310(%rbp),%xmm0
  movapd %xmm0,%xmm4
  addsd  -0x300(%rbp),%xmm4
  movsd  %xmm4,-0x300(%rbp)
  mov    -0xe8(%rbp),%rax
  movq   %rax,%xmm0
  call   <sin@plt>
  movsd  %xmm0,-0x310(%rbp)
  mov    -0xe0(%rbp),%rax
  movq   %rax,%xmm0
  call   <cos@plt>
  mulsd  -0x310(%rbp),%xmm0
  addsd  -0x300(%rbp),%xmm0
  movsd  %xmm0,-0x50(%rbp)
  mov    -0x138(%rbp),%rax
  movq   %rax,%xmm0
  call   <sin@plt>
  movsd  %xmm0,-0x300(%rbp)
  mov    -0x130(%rbp),%rax
  movq   %rax,%xmm0
  call   <sin@plt>
  movapd %xmm0,%xmm5
  mulsd  -0x300(%rbp),%xmm5
  movsd  %xmm5,-0x300(%rbp)
  mov    -0x128(%rbp),%rax
  movq   %rax,%xmm0
  call   <sin@plt>
  movsd  %xmm0,-0x310(%rbp)
  mov    -0x120(%rbp),%rax
  movq   %rax,%xmm0
  call   <sin@plt>
  mulsd  -0x310(%rbp),%xmm0
  addsd  -0x300(%rbp),%xmm0
  movsd  %xmm0,-0x300(%rbp)
  mov    -0x118(%rbp),%rax
  movq   %rax,%xmm0
  call   <sin@plt>
  movsd  %xmm0,-0x310(%rbp)
  mov    -0x110(%rbp),%rax
  movq   %rax,%xmm0
  call   <sin@plt>
  mulsd  -0x310(%rbp),%xmm0
  movapd %xmm0,%xmm2
  addsd  -0x300(%rbp),%xmm2
  movsd  %xmm2,-0x300(%rbp)
  mov    -0x108(%rbp),%rax
  movq   %rax,%xmm0
  call   <sin@plt>
  movsd  %xmm0,-0x310(%rbp)
  mov    -0x100(%rbp),%rax
  movq   %rax,%xmm0
  call   <sin@plt>
  mulsd  -0x310(%rbp),%xmm0
  addsd  -0x300(%rbp),%xmm0
  movsd  %xmm0,-0x300(%rbp)
  mov    -0xf8(%rbp),%rax
  movq   %rax,%xmm0
  call   <sin@plt>
  movsd  %xmm0,-0x310(%rbp)
  mov    -0xf0(%rbp),%rax
  movq   %rax,%xmm0
  call   <sin@plt>
  mulsd  -0x310(%rbp),%xmm0
  movapd %xmm0,%xmm3
  addsd  -0x300(%rbp),%xmm3
  movsd  %xmm3,-0x300(%rbp)
  mov    -0xe8(%rbp),%rax
  movq   %rax,%xmm0
  call   <sin@plt>
  movsd  %xmm0,-0x310(%rbp)
  mov    -0xe0(%rbp),%rax
  movq   %rax,%xmm0
  call   <sin@plt>
  mulsd  -0x310(%rbp),%xmm0
  addsd  -0x300(%rbp),%xmm0
  movsd  %xmm0,-0x48(%rbp)
  mov    -0x138(%rbp),%rax
  movq   %rax,%xmm0
  call   <cos@plt>
  movsd  %xmm0,-0x300(%rbp)
  mov    -0x128(%rbp),%rax
  movq   %rax,%xmm0
  call   <cos@plt>
  movapd %xmm0,%xmm6
  addsd  -0x300(%rbp),%xmm6
  movsd  %xmm6,-0x300(%rbp)
  mov    -0x118(%rbp),%rax
  movq   %rax,%xmm0
  call   <cos@plt>
  addsd  -0x300(%rbp),%xmm0
  movsd  %xmm0,-0x300(%rbp)
  mov    -0x108(%rbp),%rax
  movq   %rax,%xmm0
  call   <cos@plt>
  movapd %xmm0,%xmm4
  addsd  -0x300(%rbp),%xmm4
  movsd  %xmm4,-0x300(%rbp)
  mov    -0xf8(%rbp),%rax
  movq   %rax,%xmm0
  call   <cos@plt>
  addsd  -0x300(%rbp),%xmm0
  movsd  %xmm0,-0x300(%rbp)
  mov    -0xe8(%rbp),%rax
  movq   %rax,%xmm0
  call   <cos@plt>
  addsd  -0x300(%rbp),%xmm0
  movsd  %xmm0,-0x40(%rbp)
  movsd  -0x50(%rbp),%xmm0
  movapd %xmm0,%xmm1
  mulsd  -0x150(%rbp),%xmm1
  movsd  -0x48(%rbp),%xmm0
  mulsd  -0x148(%rbp),%xmm0
  addsd  %xmm0,%xmm1
  movsd  -0x40(%rbp),%xmm0
  mulsd  -0x140(%rbp),%xmm0
  addsd  %xmm1,%xmm0
  movsd  %xmm0,-0xd8(%rbp)
  movsd  -0x248(%rbp),%xmm0
  subsd  -0xd8(%rbp),%xmm0
  movsd  %xmm0,-0x248(%rbp)
  movsd  -0x150(%rbp),%xmm0
  movsd  %xmm0,-0xd0(%rbp)
  movsd  -0x148(%rbp),%xmm0
  movsd  %xmm0,-0xc8(%rbp)
  movsd  -0x140(%rbp),%xmm0
  movsd  %xmm0,-0xc0(%rbp)
  movsd  -0x260(%rbp),%xmm0
  addsd  -0xd0(%rbp),%xmm0
  movsd  %xmm0,-0x260(%rbp)
  movsd  -0x258(%rbp),%xmm0
  addsd  -0xc8(%rbp),%xmm0
  movsd  %xmm0,-0x258(%rbp)
  movsd  -0x250(%rbp),%xmm0
  addsd  -0xc0(%rbp),%xmm0
  movsd  %xmm0,-0x250(%rbp)
  addl   $0x1,-0x2a4(%rbp)
L153:
  cmpl   $0x3,-0x2a4(%rbp)
  jle    L415
  addl   $0x1,-0x2a8(%rbp)
L380:
  cmpl   $0x3,-0x2a8(%rbp)
  jle    L163
  addl   $0x1,-0x2ac(%rbp)
L39:
  cmpl   $0x3,-0x2ac(%rbp)
  jle    L211
  movsd  -0x248(%rbp),%xmm0
  movsd  D4(%rip),%xmm1
  divsd  %xmm1,%xmm0
  mov    -0x1a8(%rbp),%rax
  mov    -0x2b8(%rbp),%edx
  movslq %edx,%rdx
  movsd  %xmm0,(%rax,%rdx,8)
  mov    -0x1a8(%rbp),%rax
  mov    -0x2b8(%rbp),%edx
  movslq %edx,%rdx
  movsd  (%rax,%rdx,8),%xmm1
  mov    -0x1a8(%rbp),%rax
  mov    -0x2b8(%rbp),%edx
  movslq %edx,%rdx
  movsd  (%rax,%rdx,8),%xmm0
  mulsd  %xmm1,%xmm0
  mov    -0x198(%rbp),%rax
  mov    -0x2b8(%rbp),%edx
  movslq %edx,%rdx
  movsd  %xmm0,(%rax,%rdx,8)
  pxor   %xmm1,%xmm1
  cvtsi2sdl -0x298(%rbp),%xmm1
  movsd  -0x260(%rbp),%xmm0
  divsd  %xmm1,%xmm0
  mov    -0x1f8(%rbp),%rax
  mov    -0x2b8(%rbp),%edx
  movslq %edx,%rdx
  movsd  %xmm0,(%rax,%rdx,8)
  pxor   %xmm1,%xmm1
  cvtsi2sdl -0x298(%rbp),%xmm1
  movsd  -0x258(%rbp),%xmm0
  divsd  %xmm1,%xmm0
  mov    -0x1e8(%rbp),%rax
  mov    -0x2b8(%rbp),%edx
  movslq %edx,%rdx
  movsd  %xmm0,(%rax,%rdx,8)
  pxor   %xmm1,%xmm1
  cvtsi2sdl -0x298(%rbp),%xmm1
  movsd  -0x250(%rbp),%xmm0
  divsd  %xmm1,%xmm0
  mov    -0x1d8(%rbp),%rax
  mov    -0x2b8(%rbp),%edx
  movslq %edx,%rdx
  movsd  %xmm0,(%rax,%rdx,8)
  mov    -0x1f8(%rbp),%rax
  mov    -0x2b8(%rbp),%edx
  movslq %edx,%rdx
  movsd  (%rax,%rdx,8),%xmm1
  mov    -0x1f8(%rbp),%rax
  mov    -0x2b8(%rbp),%edx
  movslq %edx,%rdx
  movsd  (%rax,%rdx,8),%xmm0
  mulsd  %xmm0,%xmm1
  mov    -0x1e8(%rbp),%rax
  mov    -0x2b8(%rbp),%edx
  movslq %edx,%rdx
  movsd  (%rax,%rdx,8),%xmm2
  mov    -0x1e8(%rbp),%rax
  mov    -0x2b8(%rbp),%edx
  movslq %edx,%rdx
  movsd  (%rax,%rdx,8),%xmm0
  mulsd  %xmm2,%xmm0
  addsd  %xmm0,%xmm1
  mov    -0x1d8(%rbp),%rax
  mov    -0x2b8(%rbp),%edx
  movslq %edx,%rdx
  movsd  (%rax,%rdx,8),%xmm2
  mov    -0x1d8(%rbp),%rax
  mov    -0x2b8(%rbp),%edx
  movslq %edx,%rdx
  movsd  (%rax,%rdx,8),%xmm0
  mulsd  %xmm2,%xmm0
  addsd  %xmm0,%xmm1
  movq   %xmm1,%rax
  movq   %rax,%xmm0
  call   <sqrt@plt>
  movq   %xmm0,%rax
  mov    -0x1c8(%rbp),%rdx
  mov    -0x2b8(%rbp),%ecx
  movslq %ecx,%rcx
  mov    %rax,(%rdx,%rcx,8)
  mov    -0x1c8(%rbp),%rax
  mov    -0x2b8(%rbp),%edx
  movslq %edx,%rdx
  movsd  (%rax,%rdx,8),%xmm1
  mov    -0x1c8(%rbp),%rax
  mov    -0x2b8(%rbp),%edx
  movslq %edx,%rdx
  movsd  (%rax,%rdx,8),%xmm0
  mulsd  %xmm1,%xmm0
  mov    -0x1b8(%rbp),%rax
  mov    -0x2b8(%rbp),%edx
  movslq %edx,%rdx
  movsd  %xmm0,(%rax,%rdx,8)
  addl   $0x1,-0x2b8(%rbp)
L10:
  cmpl   $0xf9,-0x2b8(%rbp)
  jle    L378
  pxor   %xmm0,%xmm0
  movsd  %xmm0,-0x240(%rbp)
  pxor   %xmm0,%xmm0
  movsd  %xmm0,-0x238(%rbp)
  pxor   %xmm0,%xmm0
  movsd  %xmm0,-0x230(%rbp)
  pxor   %xmm0,%xmm0
  movsd  %xmm0,-0x228(%rbp)
  pxor   %xmm0,%xmm0
  movsd  %xmm0,-0x220(%rbp)
  pxor   %xmm0,%xmm0
  movsd  %xmm0,-0x218(%rbp)
  pxor   %xmm0,%xmm0
  movsd  %xmm0,-0x210(%rbp)
  movl   $0x0,-0x2a0(%rbp)
  jmp    L32
L379:
  mov    -0x240(%rbp),%rax
  movq   %rax,%xmm0
  lea    D116(%rip),%rax
  mov    %rax,%rdi
  mov    $0x1,%eax
  call   <printf@plt>
  mov    -0x1a8(%rbp),%rax
  mov    -0x2a0(%rbp),%edx
  movslq %edx,%rdx
  movsd  (%rax,%rdx,8),%xmm0
  movsd  -0x240(%rbp),%xmm1
  addsd  %xmm1,%xmm0
  movsd  %xmm0,-0x240(%rbp)
  mov    -0x240(%rbp),%rax
  movq   %rax,%xmm0
  lea    D79(%rip),%rax
  mov    %rax,%rdi
  mov    $0x1,%eax
  call   <printf@plt>
  mov    -0x198(%rbp),%rax
  mov    -0x2a0(%rbp),%edx
  movslq %edx,%rdx
  movsd  (%rax,%rdx,8),%xmm0
  movsd  -0x238(%rbp),%xmm1
  addsd  %xmm1,%xmm0
  movsd  %xmm0,-0x238(%rbp)
  mov    -0x1c8(%rbp),%rax
  mov    -0x2a0(%rbp),%edx
  movslq %edx,%rdx
  movsd  (%rax,%rdx,8),%xmm0
  movsd  -0x230(%rbp),%xmm1
  addsd  %xmm1,%xmm0
  movsd  %xmm0,-0x230(%rbp)
  mov    -0x1b8(%rbp),%rax
  mov    -0x2a0(%rbp),%edx
  movslq %edx,%rdx
  movsd  (%rax,%rdx,8),%xmm0
  movsd  -0x228(%rbp),%xmm1
  addsd  %xmm1,%xmm0
  movsd  %xmm0,-0x228(%rbp)
  mov    -0x1f8(%rbp),%rax
  mov    -0x2a0(%rbp),%edx
  movslq %edx,%rdx
  movsd  (%rax,%rdx,8),%xmm0
  movsd  -0x220(%rbp),%xmm1
  addsd  %xmm1,%xmm0
  movsd  %xmm0,-0x220(%rbp)
  mov    -0x1e8(%rbp),%rax
  mov    -0x2a0(%rbp),%edx
  movslq %edx,%rdx
  movsd  (%rax,%rdx,8),%xmm0
  movsd  -0x218(%rbp),%xmm1
  addsd  %xmm1,%xmm0
  movsd  %xmm0,-0x218(%rbp)
  mov    -0x1d8(%rbp),%rax
  mov    -0x2a0(%rbp),%edx
  movslq %edx,%rdx
  movsd  (%rax,%rdx,8),%xmm0
  movsd  -0x210(%rbp),%xmm1
  addsd  %xmm1,%xmm0
  movsd  %xmm0,-0x210(%rbp)
  addl   $0x1,-0x2a0(%rbp)
L32:
  mov    -0x2a0(%rbp),%eax
  cmp    -0x29c(%rbp),%eax
  jl     L379
  pxor   %xmm1,%xmm1
  cvtsi2sdl -0x29c(%rbp),%xmm1
  movsd  -0x220(%rbp),%xmm0
  divsd  %xmm1,%xmm0
  movsd  %xmm0,-0x190(%rbp)
  pxor   %xmm1,%xmm1
  cvtsi2sdl -0x29c(%rbp),%xmm1
  movsd  -0x218(%rbp),%xmm0
  divsd  %xmm1,%xmm0
  movsd  %xmm0,-0x188(%rbp)
  pxor   %xmm1,%xmm1
  cvtsi2sdl -0x29c(%rbp),%xmm1
  movsd  -0x210(%rbp),%xmm0
  divsd  %xmm1,%xmm0
  movsd  %xmm0,-0x180(%rbp)
  movsd  -0x220(%rbp),%xmm0
  mulsd  %xmm0,%xmm0
  pxor   %xmm1,%xmm1
  cvtsi2sdl -0x29c(%rbp),%xmm1
  divsd  %xmm1,%xmm0
  movsd  %xmm0,-0x178(%rbp)
  movsd  -0x220(%rbp),%xmm0
  mulsd  %xmm0,%xmm0
  pxor   %xmm1,%xmm1
  cvtsi2sdl -0x29c(%rbp),%xmm1
  divsd  %xmm1,%xmm0
  movsd  %xmm0,-0x170(%rbp)
  movsd  -0x220(%rbp),%xmm0
  mulsd  %xmm0,%xmm0
  pxor   %xmm1,%xmm1
  cvtsi2sdl -0x29c(%rbp),%xmm1
  divsd  %xmm1,%xmm0
  movsd  %xmm0,-0x168(%rbp)
  mov    -0x2ec(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  add    %rax,%rax
  add    %rdx,%rax
  shl    $0x2,%rax
  add    %rdx,%rax
  shl    $0x3,%rax
  mov    %rax,%rdx
  mov    -0x2d0(%rbp),%rax
  add    %rdx,%rax
  movsd  -0x2d8(%rbp),%xmm0
  movsd  %xmm0,(%rax)
  pxor   %xmm1,%xmm1
  cvtsi2sdl -0x29c(%rbp),%xmm1
  mov    -0x2ec(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  add    %rax,%rax
  add    %rdx,%rax
  shl    $0x2,%rax
  add    %rdx,%rax
  shl    $0x3,%rax
  mov    %rax,%rdx
  mov    -0x2d0(%rbp),%rax
  add    %rdx,%rax
  movsd  -0x240(%rbp),%xmm0
  divsd  %xmm1,%xmm0
  movsd  %xmm0,0x8(%rax)
  pxor   %xmm1,%xmm1
  cvtsi2sdl -0x29c(%rbp),%xmm1
  mov    -0x2ec(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  add    %rax,%rax
  add    %rdx,%rax
  shl    $0x2,%rax
  add    %rdx,%rax
  shl    $0x3,%rax
  mov    %rax,%rdx
  mov    -0x2d0(%rbp),%rax
  add    %rdx,%rax
  movsd  -0x238(%rbp),%xmm0
  divsd  %xmm1,%xmm0
  movsd  %xmm0,0x10(%rax)
  mov    -0x2ec(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  add    %rax,%rax
  add    %rdx,%rax
  shl    $0x2,%rax
  add    %rdx,%rax
  shl    $0x3,%rax
  mov    %rax,%rdx
  mov    -0x2d0(%rbp),%rax
  add    %rdx,%rax
  movsd  0x8(%rax),%xmm1
  mov    -0x2ec(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  add    %rax,%rax
  add    %rdx,%rax
  shl    $0x2,%rax
  add    %rdx,%rax
  shl    $0x3,%rax
  mov    %rax,%rdx
  mov    -0x2d0(%rbp),%rax
  add    %rdx,%rax
  movsd  0x8(%rax),%xmm0
  mov    -0x2ec(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  add    %rax,%rax
  add    %rdx,%rax
  shl    $0x2,%rax
  add    %rdx,%rax
  shl    $0x3,%rax
  mov    %rax,%rdx
  mov    -0x2d0(%rbp),%rax
  add    %rdx,%rax
  mulsd  %xmm1,%xmm0
  movsd  %xmm0,0x18(%rax)
  pxor   %xmm1,%xmm1
  cvtsi2sdl -0x29c(%rbp),%xmm1
  mov    -0x2ec(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  add    %rax,%rax
  add    %rdx,%rax
  shl    $0x2,%rax
  add    %rdx,%rax
  shl    $0x3,%rax
  mov    %rax,%rdx
  mov    -0x2d0(%rbp),%rax
  add    %rdx,%rax
  movsd  -0x230(%rbp),%xmm0
  divsd  %xmm1,%xmm0
  movsd  %xmm0,0x20(%rax)
  pxor   %xmm1,%xmm1
  cvtsi2sdl -0x29c(%rbp),%xmm1
  mov    -0x2ec(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  add    %rax,%rax
  add    %rdx,%rax
  shl    $0x2,%rax
  add    %rdx,%rax
  shl    $0x3,%rax
  mov    %rax,%rdx
  mov    -0x2d0(%rbp),%rax
  add    %rdx,%rax
  movsd  -0x228(%rbp),%xmm0
  divsd  %xmm1,%xmm0
  movsd  %xmm0,0x28(%rax)
  mov    -0x2ec(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  add    %rax,%rax
  add    %rdx,%rax
  shl    $0x2,%rax
  add    %rdx,%rax
  shl    $0x3,%rax
  mov    %rax,%rdx
  mov    -0x2d0(%rbp),%rax
  add    %rdx,%rax
  movsd  0x20(%rax),%xmm1
  mov    -0x2ec(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  add    %rax,%rax
  add    %rdx,%rax
  shl    $0x2,%rax
  add    %rdx,%rax
  shl    $0x3,%rax
  mov    %rax,%rdx
  mov    -0x2d0(%rbp),%rax
  add    %rdx,%rax
  movsd  0x20(%rax),%xmm0
  mov    -0x2ec(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  add    %rax,%rax
  add    %rdx,%rax
  shl    $0x2,%rax
  add    %rdx,%rax
  shl    $0x3,%rax
  mov    %rax,%rdx
  mov    -0x2d0(%rbp),%rax
  add    %rdx,%rax
  mulsd  %xmm1,%xmm0
  movsd  %xmm0,0x30(%rax)
  mov    -0x2ec(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  add    %rax,%rax
  add    %rdx,%rax
  shl    $0x2,%rax
  add    %rdx,%rax
  shl    $0x3,%rax
  mov    %rax,%rdx
  mov    -0x2d0(%rbp),%rax
  add    %rdx,%rax
  movsd  0x8(%rax),%xmm0
  pxor   %xmm1,%xmm1
  cvtsi2sdl -0x298(%rbp),%xmm1
  mov    -0x2ec(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  add    %rax,%rax
  add    %rdx,%rax
  shl    $0x2,%rax
  add    %rdx,%rax
  shl    $0x3,%rax
  mov    %rax,%rdx
  mov    -0x2d0(%rbp),%rax
  add    %rdx,%rax
  divsd  %xmm1,%xmm0
  movsd  %xmm0,0x38(%rax)
  mov    -0x2ec(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  add    %rax,%rax
  add    %rdx,%rax
  shl    $0x2,%rax
  add    %rdx,%rax
  shl    $0x3,%rax
  mov    %rax,%rdx
  mov    -0x2d0(%rbp),%rax
  add    %rdx,%rax
  movsd  0x20(%rax),%xmm0
  pxor   %xmm1,%xmm1
  cvtsi2sdl -0x298(%rbp),%xmm1
  mov    -0x2ec(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  add    %rax,%rax
  add    %rdx,%rax
  shl    $0x2,%rax
  add    %rdx,%rax
  shl    $0x3,%rax
  mov    %rax,%rdx
  mov    -0x2d0(%rbp),%rax
  add    %rdx,%rax
  divsd  %xmm1,%xmm0
  movsd  %xmm0,0x40(%rax)
  mov    -0x2ec(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  add    %rax,%rax
  add    %rdx,%rax
  shl    $0x2,%rax
  add    %rdx,%rax
  shl    $0x3,%rax
  mov    %rax,%rdx
  mov    -0x2d0(%rbp),%rax
  add    %rdx,%rax
  movsd  0x10(%rax),%xmm0
  mov    -0x2ec(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  add    %rax,%rax
  add    %rdx,%rax
  shl    $0x2,%rax
  add    %rdx,%rax
  shl    $0x3,%rax
  mov    %rax,%rdx
  mov    -0x2d0(%rbp),%rax
  add    %rdx,%rax
  movsd  0x18(%rax),%xmm2
  movapd %xmm0,%xmm1
  subsd  %xmm2,%xmm1
  movsd  -0x2d8(%rbp),%xmm0
  movapd %xmm0,%xmm2
  mulsd  %xmm0,%xmm2
  pxor   %xmm0,%xmm0
  cvtsi2sdl -0x298(%rbp),%xmm0
  mulsd  %xmm0,%xmm2
  mov    -0x2ec(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  add    %rax,%rax
  add    %rdx,%rax
  shl    $0x2,%rax
  add    %rdx,%rax
  shl    $0x3,%rax
  mov    %rax,%rdx
  mov    -0x2d0(%rbp),%rax
  add    %rdx,%rax
  divsd  %xmm2,%xmm1
  movapd %xmm1,%xmm0
  movsd  %xmm0,0x48(%rax)
  mov    -0x2ec(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  add    %rax,%rax
  add    %rdx,%rax
  shl    $0x2,%rax
  add    %rdx,%rax
  shl    $0x3,%rax
  mov    %rax,%rdx
  mov    -0x2d0(%rbp),%rax
  add    %rdx,%rax
  movsd  0x48(%rax),%xmm0
  pxor   %xmm1,%xmm1
  cvtsi2sdl -0x298(%rbp),%xmm1
  mov    -0x2ec(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  add    %rax,%rax
  add    %rdx,%rax
  shl    $0x2,%rax
  add    %rdx,%rax
  shl    $0x3,%rax
  mov    %rax,%rdx
  mov    -0x2d0(%rbp),%rax
  add    %rdx,%rax
  divsd  %xmm1,%xmm0
  movsd  %xmm0,0x50(%rax)
  movsd  D93(%rip),%xmm0
  movapd %xmm0,%xmm1
  divsd  -0x2d8(%rbp),%xmm1
  movsd  -0x178(%rbp),%xmm0
  addsd  -0x170(%rbp),%xmm0
  addsd  -0x168(%rbp),%xmm0
  subsd  -0x190(%rbp),%xmm0
  subsd  -0x188(%rbp),%xmm0
  subsd  -0x180(%rbp),%xmm0
  mov    -0x2ec(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  add    %rax,%rax
  add    %rdx,%rax
  shl    $0x2,%rax
  add    %rdx,%rax
  shl    $0x3,%rax
  mov    %rax,%rdx
  mov    -0x2d0(%rbp),%rax
  add    %rdx,%rax
  mulsd  %xmm1,%xmm0
  movsd  %xmm0,0x58(%rax)
  mov    -0x2ec(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  add    %rax,%rax
  add    %rdx,%rax
  shl    $0x2,%rax
  add    %rdx,%rax
  shl    $0x3,%rax
  mov    %rax,%rdx
  mov    -0x2d0(%rbp),%rax
  add    %rdx,%rax
  mov    0x58(%rax),%rax
  movq   %rax,%xmm0
  lea    D24(%rip),%rax
  mov    %rax,%rdi
  mov    $0x1,%eax
  call   <printf@plt>
  mov    -0x2ec(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  add    %rax,%rax
  add    %rdx,%rax
  shl    $0x2,%rax
  add    %rdx,%rax
  shl    $0x3,%rax
  mov    %rax,%rdx
  mov    -0x2d0(%rbp),%rax
  add    %rdx,%rax
  movsd  0x58(%rax),%xmm0
  pxor   %xmm1,%xmm1
  cvtsi2sdl -0x298(%rbp),%xmm1
  mov    -0x2ec(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  add    %rax,%rax
  add    %rdx,%rax
  shl    $0x2,%rax
  add    %rdx,%rax
  shl    $0x3,%rax
  mov    %rax,%rdx
  mov    -0x2d0(%rbp),%rax
  add    %rdx,%rax
  divsd  %xmm1,%xmm0
  movsd  %xmm0,0x60(%rax)
  movsd  -0x270(%rbp),%xmm0
  divsd  -0x268(%rbp),%xmm0
  movq   %xmm0,%rax
  movq   %rax,%xmm0
  lea    D126(%rip),%rax
  mov    %rax,%rdi
  mov    $0x1,%eax
  call   <printf@plt>
  mov    -0x3a8(%rbp),%rsp
  nop
  mov    -0x38(%rbp),%rax
  sub    %fs:0x28,%rax
  je     L121
  call   <__stack_chk_fail@plt>
L121:
  lea    -0x28(%rbp),%rsp
  pop    %rbx
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  pop    %rbp
  ret
```

tool_calls: name: read_data
arguments: data_tag: D93
data_type: f64
name: read_data
arguments: data_tag: D123
data_type: f32[2]
name: read_data
arguments: data_tag: D4
data_type: f64
name: read_data
arguments: data_tag: D116
data_type: string
name: read_data
arguments: data_tag: D79
data_type: string
name: read_data
arguments: data_tag: D24
data_type: string
name: read_data
arguments: data_tag: D126
data_type: string

tool: D93: 1

tool: {"D123": [0.0,-0.0]}

tool: D4: 2

tool: D116: eSum 1: %f


tool: D79: eSum 2: %f


tool: D24: Chi: %f


tool: D126: 		Acceptance Ratio: %f


assistant: ```c
void measurement(double ****lattice, double data[][13], double temperature, double ***energy, double ***magnetization, int t) {
  int RUNS_ = (double)250;
  int N_ = (double)64;
  int eq, sk, sw, sw1, sw2, sw3;
  int ii;
  int i, j, k, ip, im, jp, jm, kp, km;
  double theta, thetaPrime, phi, phiPrime;
  double spin1theta, spin1phi, spin2theta, spin2phi, spin3theta, spin3phi, spin4theta, spin4phi, spin5theta, spin5phi, spin6theta, spin6phi;
  double newSpin[2], currentSpin[2];
  double spinDiff[3], spinSum[3];
  double dotProduct;
  double deltaE;
  double prob;
  double randNum;
  double beta = 1.0 / temperature;
  double accept, test;
  double Mxsum = 0.0, Mysum = 0.0, Mzsum = 0.0;
  double spinX, spinY, spinZ;
  double X, Y, Z;
  double Mx[RUNS_], My[RUNS_], Mz[RUNS_];
  double m[RUNS_], m2[RUNS_], e[RUNS_], e2[RUNS_];
  double e_storage = 0;
  double eSum = 0, e2Sum = 0, mSum = 0, m2Sum = 0;
  double SxSum = 0, SySum = 0, SzSum = 0;
  double SxAvg, SyAvg, SzAvg;
  double SxAvgSqr, SyAvgSqr, SzAvgSqr;
  for (eq = 0; eq < 250; eq++) {
    for (sk = 1; sk <= 30; sk++) {
      for (sw = 0; sw < 250; sw++) {
        for (sw1 = 0; sw1 < 4; sw1++) {
          for (sw2 = 0; sw2 < 4; sw2++) {
            for (sw3 = 0; sw3 < 4; sw3++) {
              i = sw1;
              j = sw2;
              k = sw3;
              ip = (i + 4 - 1) % 4;
              im = (i + 1) % 4;
              jp = (j + 4 - 1) % 4;
              jm = (j + 1) % 4;
              kp = (k + 4 - 1) % 4;
              km = (k + 1) % 4;
              currentSpin[0] = lattice[i][j][k][0];
              currentSpin[1] = lattice[i][j][k][1];
              newSpin[0] = rng_theta();
              newSpin[1] = rng_phi();
              theta = currentSpin[0];
              phi = currentSpin[1];
              thetaPrime = theta;
              phiPrime = currentSpin[1];
              spinDiff[0] = sin(thetaPrime) * cos(phiPrime) - sin(theta) * cos(phi);
              spinDiff[1] = sin(thetaPrime) * sin(phiPrime) - sin(theta) * sin(phi);
              spinDiff[2] = cos(thetaPrime) - cos(theta);
              spin1theta = lattice[im][j][k][0];
              spin1phi = lattice[im][j][k][1];
              spin2theta = lattice[ip][j][k][0];
              spin2phi = lattice[ip][j][k][1];
              spin3theta = lattice[i][jm][k][0];
              spin3phi = lattice[i][jm][k][1];
              spin4theta = lattice[i][jp][k][0];
              spin4phi = lattice[i][jp][k][1];
              spin5theta = lattice[i][j][km][0];
              spin5phi = lattice[i][j][km][1];
              spin6theta = lattice[i][j][kp][0];
              spin6phi = lattice[i][j][kp][1];
              spinSum[0] = sin(spin1theta) * cos(spin1phi) + sin(spin2theta) * cos(spin2phi) + sin(spin3theta) * cos(spin3phi) + sin(spin4theta) * cos(spin4phi) + sin(spin5theta) * cos(spin5phi) + sin(spin6theta) * cos(spin6phi);
              spinSum[1] = sin(spin1theta) * sin(spin1phi) + sin(spin2theta) * sin(spin2phi) + sin(spin3theta) * sin(spin3phi) + sin(spin4theta) * sin(spin4phi) + sin(spin5theta) * sin(spin5phi) + sin(spin6theta) * sin(spin6phi);
              spinSum[2] = cos(spin1theta) + cos(spin2theta) + cos(spin3theta) + cos(spin4theta) + cos(spin5theta) + cos(spin6theta);
              dotProduct = spinDiff[0] * spinSum[0] + spinDiff[1] * spinSum[1] + spinDiff[2] * spinSum[2];
              deltaE = -1.0 * dotProduct;
              test++;
              if (deltaE <= 0) {
                lattice[i][j][k][0] = thetaPrime;
                lattice[i][j][k][1] = phiPrime;
                accept++;
              } else {
                prob = (sin(thetaPrime) / sin(theta)) * exp(-beta * deltaE);
                randNum = rng();
                if (randNum <= prob) {
                  lattice[i][j][k][0] = thetaPrime;
                  lattice[i][j][k][1] = phiPrime;
                  accept++;
                }
              }
              thetaPrime = theta;
              phiPrime = newSpin[1];
              spinDiff[0] = sin(thetaPrime) * cos(phiPrime) - sin(theta) * cos(phi);
              spinDiff[1] = sin(thetaPrime) * sin(phiPrime) - sin(theta) * sin(phi);
              spinDiff[2] = cos(thetaPrime) - cos(theta);
              spin1theta = lattice[im][j][k][0];
              spin1phi = lattice[im][j][k][1];
              spin2theta = lattice[ip][j][k][0];
              spin2phi = lattice[ip][j][k][1];
              spin3theta = lattice[i][jm][k][0];
              spin3phi = lattice[i][jm][k][1];
              spin4theta = lattice[i][jp][k][0];
              spin4phi = lattice[i][jp][k][1];
              spin5theta = lattice[i][j][km][0];
              spin5phi = lattice[i][j][km][1];
              spin6theta = lattice[i][j][kp][0];
              spin6phi = lattice[i][j][kp][1];
              spinSum[0] = sin(spin1theta) * cos(spin1phi) + sin(spin2theta) * cos(spin2phi) + sin(spin3theta) * cos(spin4phi) + sin(spin4theta) * cos(spin4phi) + sin(spin5theta) * cos(spin5phi) + sin(spin6theta) * cos(spin6phi);
              spinSum[1] = sin(spin1theta) * sin(spin1phi) + sin(spin2theta) * sin(spin2phi) + sin(spin3theta) * sin(spin4phi) + sin(spin4theta) * sin(spin4phi) + sin(spin5theta) * sin(spin5phi) + sin(spin6theta) * sin(spin6phi);
              spinSum[2] = cos(spin1theta) + cos(spin2theta) + cos(spin3theta) + cos(spin4theta) + cos(spin5theta) + cos(spin6theta);
              dotProduct = spinDiff[0] * spinSum[0] + spinDiff[1] * spinSum[1] + spinDiff[2] * spinSum[2];
              deltaE = -1.0 * dotProduct;
              test++;
              if (deltaE <= 0) {
                lattice[i][j][k][0] = thetaPrime;
                lattice[i][j][k][1] = phiPrime;
                accept++;
              } else {
                prob = (sin(thetaPrime) / sin(theta)) * exp(-beta * deltaE);
                randNum = rng();
                if (randNum <= prob) {
                  lattice[i][j][k][0] = thetaPrime;
                  lattice[i][j][k][1] = phiPrime;
                  accept++;
                }
              }
            }
          }
        }
      }
    }
    e_storage = 0;
    Mxsum = 0.0;
    Mysum = 0.0;
    Mzsum = 0.0;
    for (sw1 = 0; sw1 < 4; sw1++) {
      for (sw2 = 0; sw2 < 4; sw2++) {
        for (sw3 = 0; sw3 < 4; sw3++) {
          i = sw1;
          j = sw2;
          k = sw3;
          ip = (i + 4 - 1) % 4;
          im = (i + 1) % 4;
          jp = (j + 4 - 1) % 4;
          jm = (j + 1) % 4;
          kp = (k + 4 - 1) % 4;
          km = (k + 1) % 4;
          theta = lattice[i][j][k][0];
          phi = lattice[i][j][k][1];
          spinX = sin(theta) * cos(phi);
          spinY = sin(theta) * sin(phi);
          spinZ = cos(theta);
          spin1theta = lattice[im][j][k][0];
          spin1phi = lattice[im][j][k][1];
          spin2theta = lattice[ip][j][k][0];
          spin2phi = lattice[ip][j][k][1];
          spin3theta = lattice[i][jm][k][0];
          spin3phi = lattice[i][jm][k][1];
          spin4theta = lattice[i][jp][k][0];
          spin4phi = lattice[i][jp][k][1];
          spin5theta = lattice[i][j][km][0];
          spin5phi = lattice[i][j][km][1];
          spin6theta = lattice[i][j][kp][0];
          spin6phi = lattice[i][j][kp][1];
          spinSum[0] = sin(spin1theta) * cos(spin1phi) + sin(spin2theta) * cos(spin2phi) + sin(spin3theta) * cos(spin3phi) + sin(spin4theta) * cos(spin4phi) + sin(spin5theta) * cos(spin5phi) + sin(spin6theta) * cos(spin6phi);
          spinSum[1] = sin(spin1theta) * sin(spin1phi) + sin(spin2theta) * sin(spin2phi) + sin(spin3theta) * sin(spin3phi) + sin(spin4theta) * sin(spin4phi) + sin(spin5theta) * sin(spin5phi) + sin(spin6theta) * sin(spin6phi);
          spinSum[2] = cos(spin1theta) + cos(spin2theta) + cos(spin3theta) + cos(spin4theta) + cos(spin5theta) + cos(spin6theta);
          dotProduct = spinX * spinSum[0] + spinY * spinSum[1] + spinZ * spinSum[2];
          e_storage = e_storage + -1.0 * dotProduct;
          X = spinX;
          Y = spinY;
          Z = spinZ;
          Mxsum += X;
          Mysum += Y;
          Mzsum += Z;
        }
      }
    }
    e[eq] = e_storage / 2.0;
    e2[eq] = e[eq] * e[eq];
    Mx[eq] = Mxsum / N_;
    My[eq] = Mysum / N_;
    Mz[eq] = Mzsum / N_;
    m[eq] = sqrt(Mx[eq] * Mx[eq] + My[eq] * My[eq] + Mz[eq] * Mz[eq]);
    m2[eq] = m[eq] * m[eq];
    if (0) {
      printf("\t\tMeasurement runs (0-%d): %d\n", 250, eq);
    }
  }
  eSum = 0;
  e2Sum = 0;
  mSum = 0;
  m2Sum = 0;
  SxSum = 0;
  SySum = 0;
  SzSum = 0;
  for (ii = 0; ii < RUNS_; ii++) {
    printf("eSum 1: %f\n", eSum);
    eSum += e[ii];
    printf("eSum 2: %f\n", eSum);
    e2Sum += e2[ii];
    mSum += m[ii];
    m2Sum += m2[ii];
    SxSum += Mx[ii];
    SySum += My[ii];
    SzSum += Mz[ii];
  }
  SxAvg = SxSum / RUNS_;
  SyAvg = SySum / RUNS_;
  SzAvg = SzSum / RUNS_;
  SxAvgSqr = (SxSum * SxSum) / RUNS_;
  SyAvgSqr = (SxSum * SxSum) / RUNS_;
  SzAvgSqr = (SxSum * SxSum) / RUNS_;
  data[t][0] = temperature;
  data[t][1] = eSum / RUNS_;
  data[t][2] = e2Sum / RUNS_;
  data[t][3] = data[t][1] * data[t][1];
  data[t][4] = mSum / RUNS_;
  data[t][5] = m2Sum / RUNS_;
  data[t][6] = data[t][4] * data[t][4];
  data[t][7] = data[t][1] / N_;
  data[t][8] = data[t][4] / N_;
  data[t][9] = (data[t][2] - data[t][3]) / (temperature * temperature * N_);
  data[t][10] = data[t][9] / N_;
  data[t][11] = (1.0 / temperature) * (SxAvgSqr + SyAvgSqr + SzAvgSqr - SxAvg - SyAvg - SzAvg);
  printf("Chi: %f\n", data[t][11]);
  data[t][12] = data[t][11] / N_;
  printf("\t\tAcceptance Ratio: %f\n", accept / test);
}
```