user: What would the C source look like for the assembly code provided here:

```asm
<R_Pauli>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  push   %rbx
  sub    $0x128,%rsp
  mov    %edi,-0xf4(%rbp)
  mov    %esi,-0xf8(%rbp)
  movsd  %xmm0,-0x100(%rbp)
  mov    %rdx,-0x108(%rbp)
  mov    %rcx,-0x110(%rbp)
  mov    %r8,-0x118(%rbp)
  mov    %r9,-0x120(%rbp)
  mov    -0x118(%rbp),%rax
  movsd  (%rax),%xmm0
  movsd  %xmm0,-0xd0(%rbp)
  mov    -0xf8(%rbp),%eax
  add    $0x1,%eax
  imul   -0xf8(%rbp),%eax
  pxor   %xmm0,%xmm0
  cvtsi2sd %eax,%xmm0
  movsd  %xmm0,-0xa8(%rbp)
  movsd  D18(%rip),%xmm0
  movsd  %xmm0,-0xa0(%rbp)
  movsd  -0xa0(%rbp),%xmm0
  mulsd  %xmm0,%xmm0
  movsd  %xmm0,-0xa0(%rbp)
  cmpl   $0x0,-0xf8(%rbp)
  jne    L481
  movsd  -0xa0(%rbp),%xmm0
  mulsd  -0x100(%rbp),%xmm0
  movapd %xmm0,%xmm1
  mulsd  -0x100(%rbp),%xmm1
  movsd  D61(%rip),%xmm0
  subsd  %xmm1,%xmm0
  movq   %xmm0,%rax
  movq   %rax,%xmm0
  call   <sqrt@plt>
  movq   %xmm0,%rax
  mov    %rax,-0xb8(%rbp)
  jmp    L16
L481:
  pxor   %xmm0,%xmm0
  cvtsi2sdl -0xf8(%rbp),%xmm0
  movsd  %xmm0,-0x98(%rbp)
  movsd  -0x98(%rbp),%xmm0
  mulsd  %xmm0,%xmm0
  movsd  -0xa0(%rbp),%xmm1
  mulsd  -0x100(%rbp),%xmm1
  mulsd  -0x100(%rbp),%xmm1
  subsd  %xmm1,%xmm0
  movq   %xmm0,%rax
  movq   %rax,%xmm0
  call   <sqrt@plt>
  movq   %xmm0,%rax
  movq   %rax,%xmm7
  mulsd  -0x98(%rbp),%xmm7
  movsd  %xmm7,-0x128(%rbp)
  movsd  -0x98(%rbp),%xmm1
  movsd  D61(%rip),%xmm0
  addsd  %xmm0,%xmm1
  movsd  -0x98(%rbp),%xmm2
  movsd  D61(%rip),%xmm0
  addsd  %xmm2,%xmm0
  mulsd  %xmm1,%xmm0
  movsd  -0xa0(%rbp),%xmm1
  mulsd  -0x100(%rbp),%xmm1
  mulsd  -0x100(%rbp),%xmm1
  subsd  %xmm1,%xmm0
  movq   %xmm0,%rax
  movq   %rax,%xmm0
  call   <sqrt@plt>
  movsd  -0x98(%rbp),%xmm2
  movsd  D61(%rip),%xmm1
  addsd  %xmm2,%xmm1
  mulsd  %xmm1,%xmm0
  movsd  -0x128(%rbp),%xmm1
  addsd  %xmm0,%xmm1
  movsd  -0x98(%rbp),%xmm0
  movapd %xmm0,%xmm2
  addsd  %xmm0,%xmm2
  movsd  D61(%rip),%xmm0
  addsd  %xmm0,%xmm2
  divsd  %xmm2,%xmm1
  movapd %xmm1,%xmm0
  movsd  %xmm0,-0xb8(%rbp)
L16:
  mov    $0x0,%eax
  call   <N_LogGrid@plt>
  mov    %eax,-0xd4(%rbp)
  mov    $0x0,%eax
  call   <log_amesh_LogGrid@plt>
  pxor   %xmm0,%xmm0
  cvtsi2sd %eax,%xmm0
  movsd  %xmm0,-0x90(%rbp)
  movsd  -0x90(%rbp),%xmm0
  mulsd  %xmm0,%xmm0
  movsd  %xmm0,-0x88(%rbp)
  mov    $0x0,%eax
  call   <r_LogGrid@plt>
  cltq
  mov    %rax,-0x80(%rbp)
  mov    $0x0,%eax
  call   <alloc_LogGrid@plt>
  cltq
  mov    %rax,-0x78(%rbp)
  mov    $0x0,%eax
  call   <alloc_LogGrid@plt>
  cltq
  mov    %rax,-0x70(%rbp)
  mov    $0x0,%eax
  call   <alloc_LogGrid@plt>
  cltq
  mov    %rax,-0x68(%rbp)
  mov    $0x0,%eax
  call   <alloc_LogGrid@plt>
  cltq
  mov    %rax,-0x60(%rbp)
  mov    $0x0,%eax
  call   <alloc_LogGrid@plt>
  cltq
  mov    %rax,-0x58(%rbp)
  mov    -0xd4(%rbp),%eax
  cltq
  shl    $0x3,%rax
  lea    -0x8(%rax),%rdx
  mov    -0x108(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm1
  movsd  -0xa8(%rbp),%xmm2
  movsd  D161(%rip),%xmm0
  mulsd  %xmm2,%xmm0
  mov    -0xd4(%rbp),%eax
  cltq
  shl    $0x3,%rax
  lea    -0x8(%rax),%rdx
  mov    -0x80(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm3
  mov    -0xd4(%rbp),%eax
  cltq
  shl    $0x3,%rax
  lea    -0x8(%rax),%rdx
  mov    -0x80(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm2
  mulsd  %xmm3,%xmm2
  divsd  %xmm2,%xmm0
  addsd  %xmm1,%xmm0
  movsd  %xmm0,-0xc8(%rbp)
  pxor   %xmm0,%xmm0
  movsd  %xmm0,-0xc0(%rbp)
  movl   $0x0,-0xec(%rbp)
  jmp    L402
L393:
  mov    -0xec(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x80(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  movsd  %xmm0,-0x18(%rbp)
  movsd  -0x18(%rbp),%xmm0
  mulsd  %xmm0,%xmm0
  movsd  %xmm0,-0x18(%rbp)
  mov    -0xec(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x108(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm1
  movsd  -0xa8(%rbp),%xmm2
  movsd  D161(%rip),%xmm0
  mulsd  %xmm2,%xmm0
  divsd  -0x18(%rbp),%xmm0
  addsd  %xmm1,%xmm0
  comisd -0xc0(%rbp),%xmm0
  jbe    L309
  movsd  -0xc0(%rbp),%xmm0
  jmp    L449
L309:
  mov    -0xec(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x108(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm1
  movsd  -0xa8(%rbp),%xmm2
  movsd  D161(%rip),%xmm0
  mulsd  %xmm2,%xmm0
  divsd  -0x18(%rbp),%xmm0
  addsd  %xmm1,%xmm0
L449:
  movsd  %xmm0,-0xc0(%rbp)
  addl   $0x1,-0xec(%rbp)
L402:
  mov    -0xec(%rbp),%eax
  cmp    -0xd4(%rbp),%eax
  jl     L393
  movsd  -0xd0(%rbp),%xmm0
  comisd -0xc8(%rbp),%xmm0
  jbe    L230
  movsd  -0xc8(%rbp),%xmm1
  movsd  D211(%rip),%xmm0
  mulsd  %xmm1,%xmm0
  movsd  %xmm0,-0xd0(%rbp)
L230:
  movsd  -0xc0(%rbp),%xmm0
  comisd -0xd0(%rbp),%xmm0
  jbe    L337
  movsd  -0xc0(%rbp),%xmm1
  movsd  D219(%rip),%xmm0
  mulsd  %xmm1,%xmm0
  movsd  %xmm0,-0xd0(%rbp)
L337:
  movsd  -0xd0(%rbp),%xmm0
  comisd -0xc8(%rbp),%xmm0
  jbe    L396
  movsd  -0xc8(%rbp),%xmm0
  movapd %xmm0,%xmm1
  addsd  -0xc0(%rbp),%xmm1
  movsd  D161(%rip),%xmm0
  mulsd  %xmm1,%xmm0
  movsd  %xmm0,-0xd0(%rbp)
L396:
  movl   $0x0,-0xec(%rbp)
  jmp    L360
L69:
  mov    -0xec(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x120(%rbp),%rax
  add    %rdx,%rax
  pxor   %xmm0,%xmm0
  movsd  %xmm0,(%rax)
  mov    -0xec(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    0x10(%rbp),%rax
  add    %rdx,%rax
  pxor   %xmm0,%xmm0
  movsd  %xmm0,(%rax)
  mov    -0xec(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x70(%rbp),%rax
  add    %rdx,%rax
  pxor   %xmm0,%xmm0
  movsd  %xmm0,(%rax)
  addl   $0x1,-0xec(%rbp)
L360:
  cmpl   $0x3,-0xec(%rbp)
  jle    L69
  movl   $0x0,-0xe4(%rbp)
  jmp    L32
L365:
  addl   $0x1,-0xe4(%rbp)
  movl   $0x0,-0xec(%rbp)
  jmp    L76
L189:
  mov    -0xec(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x80(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  movsd  %xmm0,-0x18(%rbp)
  movsd  -0x18(%rbp),%xmm0
  mulsd  %xmm0,%xmm0
  movsd  %xmm0,-0x18(%rbp)
  mov    -0xec(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x108(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  subsd  -0xd0(%rbp),%xmm0
  addsd  %xmm0,%xmm0
  mulsd  -0x18(%rbp),%xmm0
  addsd  -0xa8(%rbp),%xmm0
  mov    -0xec(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x78(%rbp),%rax
  add    %rdx,%rax
  mulsd  -0x88(%rbp),%xmm0
  movsd  %xmm0,(%rax)
  addl   $0x1,-0xec(%rbp)
L76:
  mov    -0xec(%rbp),%eax
  cmp    -0xd4(%rbp),%eax
  jl     L189
  mov    -0x58(%rbp),%rdx
  mov    -0x108(%rbp),%rax
  mov    %rdx,%rsi
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <Derivative_LogGrid@plt>
  movl   $0x0,-0xec(%rbp)
  jmp    L551
L124:
  mov    -0xec(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x80(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm1
  mov    -0xec(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x80(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mulsd  %xmm1,%xmm0
  movsd  %xmm0,-0x18(%rbp)
  movsd  -0x88(%rbp),%xmm0
  movapd %xmm0,%xmm2
  mulsd  -0x18(%rbp),%xmm2
  movsd  -0xa0(%rbp),%xmm0
  movq   D75(%rip),%xmm1
  xorpd  %xmm0,%xmm1
  mov    -0xec(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x108(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  subsd  -0xd0(%rbp),%xmm0
  mulsd  %xmm0,%xmm1
  mov    -0xec(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x108(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  subsd  -0xd0(%rbp),%xmm0
  movapd %xmm1,%xmm3
  mulsd  %xmm0,%xmm3
  movsd  -0xa0(%rbp),%xmm1
  movsd  D161(%rip),%xmm0
  mulsd  %xmm0,%xmm1
  mov    -0xec(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x58(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mulsd  %xmm1,%xmm0
  mov    -0xec(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x80(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm4
  movsd  -0xa0(%rbp),%xmm5
  movsd  D161(%rip),%xmm1
  mulsd  %xmm1,%xmm5
  mov    -0xec(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x108(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm6
  movsd  -0xd0(%rbp),%xmm1
  subsd  %xmm6,%xmm1
  mulsd  %xmm1,%xmm5
  movsd  D61(%rip),%xmm1
  addsd  %xmm5,%xmm1
  mulsd  %xmm4,%xmm1
  divsd  %xmm1,%xmm0
  addsd  %xmm3,%xmm0
  mov    -0xec(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x68(%rbp),%rax
  add    %rdx,%rax
  mulsd  %xmm2,%xmm0
  movsd  %xmm0,(%rax)
  movsd  -0x90(%rbp),%xmm0
  movq   D75(%rip),%xmm1
  xorpd  %xmm0,%xmm1
  mov    -0xec(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x80(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mulsd  %xmm0,%xmm1
  movsd  D161(%rip),%xmm0
  mulsd  %xmm1,%xmm0
  movapd %xmm0,%xmm1
  mulsd  -0xa0(%rbp),%xmm1
  mov    -0xec(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x58(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mulsd  %xmm1,%xmm0
  movsd  -0xa0(%rbp),%xmm2
  movsd  D161(%rip),%xmm1
  mulsd  %xmm1,%xmm2
  mov    -0xec(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x108(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm3
  movsd  -0xd0(%rbp),%xmm1
  subsd  %xmm3,%xmm1
  mulsd  %xmm1,%xmm2
  movsd  D61(%rip),%xmm1
  addsd  %xmm2,%xmm1
  mov    -0xec(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x60(%rbp),%rax
  add    %rdx,%rax
  divsd  %xmm1,%xmm0
  movsd  %xmm0,(%rax)
  addl   $0x1,-0xec(%rbp)
L551:
  mov    -0xec(%rbp),%eax
  cmp    -0xd4(%rbp),%eax
  jl     L124
  mov    -0xd4(%rbp),%eax
  sub    $0x1,%eax
  mov    %eax,-0xdc(%rbp)
  jmp    L536
L198:
  subl   $0x1,-0xdc(%rbp)
  cmpl   $0x1,-0xdc(%rbp)
  jg     L536
  lea    D47(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  mov    -0x78(%rbp),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <dealloc_LogGrid@plt>
  mov    -0x70(%rbp),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <dealloc_LogGrid@plt>
  mov    -0x68(%rbp),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <dealloc_LogGrid@plt>
  mov    -0x60(%rbp),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <dealloc_LogGrid@plt>
  mov    -0x58(%rbp),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <dealloc_LogGrid@plt>
  jmp    L362
L536:
  mov    -0xdc(%rbp),%eax
  cltq
  shl    $0x3,%rax
  lea    -0x8(%rax),%rdx
  mov    -0x78(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm1
  mov    -0xdc(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x78(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mulsd  %xmm1,%xmm0
  pxor   %xmm1,%xmm1
  comisd %xmm1,%xmm0
  ja     L198
  movsd  D61(%rip),%xmm0
  movsd  %xmm0,-0xb0(%rbp)
  movl   $0x0,-0xec(%rbp)
  jmp    L234
L514:
  movsd  -0xb0(%rbp),%xmm0
  movq   D75(%rip),%xmm1
  xorpd  %xmm1,%xmm0
  movsd  %xmm0,-0xb0(%rbp)
  addl   $0x1,-0xec(%rbp)
L234:
  mov    -0xf4(%rbp),%eax
  sub    -0xf8(%rbp),%eax
  sub    $0x1,%eax
  cmp    %eax,-0xec(%rbp)
  jl     L514
  movl   $0x0,-0xec(%rbp)
  jmp    L403
L136:
  mov    -0xec(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x80(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rax
  movsd  -0xb8(%rbp),%xmm0
  movapd %xmm0,%xmm1
  movq   %rax,%xmm0
  call   <pow@plt>
  movq   %xmm0,%rax
  mov    -0xec(%rbp),%edx
  movslq %edx,%rdx
  lea    0x0(,%rdx,8),%rcx
  mov    -0x120(%rbp),%rdx
  add    %rcx,%rdx
  movq   %rax,%xmm0
  mulsd  -0xb0(%rbp),%xmm0
  movsd  %xmm0,(%rdx)
  movsd  -0x90(%rbp),%xmm0
  movapd %xmm0,%xmm1
  mulsd  -0xb8(%rbp),%xmm1
  mov    -0xec(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x120(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mov    -0xec(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    0x10(%rbp),%rax
  add    %rdx,%rax
  mulsd  %xmm1,%xmm0
  movsd  %xmm0,(%rax)
  mov    -0xec(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x60(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  movapd %xmm0,%xmm1
  addsd  -0x90(%rbp),%xmm1
  mov    -0xec(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    0x10(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mulsd  %xmm0,%xmm1
  mov    -0xec(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x78(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm2
  mov    -0xec(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x68(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  addsd  %xmm0,%xmm2
  mov    -0xec(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x120(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mulsd  %xmm2,%xmm0
  mov    -0xec(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x70(%rbp),%rax
  add    %rdx,%rax
  addsd  %xmm1,%xmm0
  movsd  %xmm0,(%rax)
  addl   $0x1,-0xec(%rbp)
L403:
  cmpl   $0x3,-0xec(%rbp)
  jle    L136
  movl   $0x0,-0xe0(%rbp)
  movl   $0x3,-0xec(%rbp)
  jmp    L236
L368:
  mov    -0x120(%rbp),%rcx
  mov    -0xec(%rbp),%eax
  mov    0x10(%rbp),%rdx
  mov    %rcx,%rsi
  mov    %eax,%edi
  mov    $0x0,%eax
  call   <Predictor_Out@plt>
  mov    %eax,%edx
  mov    -0xec(%rbp),%eax
  cltq
  add    $0x1,%rax
  lea    0x0(,%rax,8),%rcx
  mov    -0x120(%rbp),%rax
  add    %rcx,%rax
  pxor   %xmm0,%xmm0
  cvtsi2sd %edx,%xmm0
  movsd  %xmm0,(%rax)
  mov    -0x70(%rbp),%rdx
  mov    -0xec(%rbp),%eax
  mov    0x10(%rbp),%rsi
  mov    %eax,%edi
  mov    $0x0,%eax
  call   <Predictor_Out@plt>
  mov    %eax,%edx
  mov    -0xec(%rbp),%eax
  cltq
  add    $0x1,%rax
  lea    0x0(,%rax,8),%rcx
  mov    0x10(%rbp),%rax
  add    %rcx,%rax
  pxor   %xmm0,%xmm0
  cvtsi2sd %edx,%xmm0
  movsd  %xmm0,(%rax)
  movl   $0x0,-0xe8(%rbp)
  jmp    L79
L420:
  mov    -0xec(%rbp),%eax
  cltq
  add    $0x1,%rax
  lea    0x0(,%rax,8),%rdx
  mov    -0x60(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  movapd %xmm0,%xmm1
  addsd  -0x90(%rbp),%xmm1
  mov    -0xec(%rbp),%eax
  cltq
  add    $0x1,%rax
  lea    0x0(,%rax,8),%rdx
  mov    0x10(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mulsd  %xmm0,%xmm1
  mov    -0xec(%rbp),%eax
  cltq
  add    $0x1,%rax
  lea    0x0(,%rax,8),%rdx
  mov    -0x78(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm2
  mov    -0xec(%rbp),%eax
  cltq
  add    $0x1,%rax
  lea    0x0(,%rax,8),%rdx
  mov    -0x68(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  addsd  %xmm0,%xmm2
  mov    -0xec(%rbp),%eax
  cltq
  add    $0x1,%rax
  lea    0x0(,%rax,8),%rdx
  mov    -0x120(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mulsd  %xmm2,%xmm0
  mov    -0xec(%rbp),%eax
  cltq
  add    $0x1,%rax
  lea    0x0(,%rax,8),%rdx
  mov    -0x70(%rbp),%rax
  add    %rdx,%rax
  addsd  %xmm1,%xmm0
  movsd  %xmm0,(%rax)
  mov    -0x70(%rbp),%rdx
  mov    -0xec(%rbp),%eax
  mov    0x10(%rbp),%rsi
  mov    %eax,%edi
  mov    $0x0,%eax
  call   <Corrector_Out@plt>
  mov    %eax,%edx
  mov    -0xec(%rbp),%eax
  cltq
  add    $0x1,%rax
  lea    0x0(,%rax,8),%rcx
  mov    0x10(%rbp),%rax
  add    %rcx,%rax
  pxor   %xmm0,%xmm0
  cvtsi2sd %edx,%xmm0
  movsd  %xmm0,(%rax)
  mov    -0x120(%rbp),%rcx
  mov    -0xec(%rbp),%eax
  mov    0x10(%rbp),%rdx
  mov    %rcx,%rsi
  mov    %eax,%edi
  mov    $0x0,%eax
  call   <Corrector_Out@plt>
  mov    %eax,%edx
  mov    -0xec(%rbp),%eax
  cltq
  add    $0x1,%rax
  lea    0x0(,%rax,8),%rcx
  mov    -0x120(%rbp),%rax
  add    %rcx,%rax
  pxor   %xmm0,%xmm0
  cvtsi2sd %edx,%xmm0
  movsd  %xmm0,(%rax)
  addl   $0x1,-0xe8(%rbp)
L79:
  cmpl   $0x5,-0xe8(%rbp)
  jle    L420
  mov    -0xec(%rbp),%eax
  cltq
  add    $0x1,%rax
  lea    0x0(,%rax,8),%rdx
  mov    -0x120(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm1
  mov    -0xec(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x120(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mulsd  %xmm0,%xmm1
  pxor   %xmm0,%xmm0
  comisd %xmm1,%xmm0
  jb     L143
  addl   $0x1,-0xe0(%rbp)
L143:
  addl   $0x1,-0xec(%rbp)
L236:
  mov    -0xec(%rbp),%eax
  cmp    -0xdc(%rbp),%eax
  jl     L368
  mov    -0xdc(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x120(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  movsd  %xmm0,-0x50(%rbp)
  mov    -0xdc(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    0x10(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  movsd  %xmm0,-0x48(%rbp)
  mov    -0xe0(%rbp),%eax
  sub    -0xf4(%rbp),%eax
  mov    %eax,%edx
  mov    -0xf8(%rbp),%eax
  add    %edx,%eax
  cmp    $0xffffffff,%eax
  jge    L301
  movsd  -0xd0(%rbp),%xmm0
  movsd  %xmm0,-0xc0(%rbp)
  movsd  -0xc0(%rbp),%xmm0
  movapd %xmm0,%xmm1
  addsd  -0xc8(%rbp),%xmm1
  movsd  D161(%rip),%xmm0
  mulsd  %xmm1,%xmm0
  movsd  %xmm0,-0xd0(%rbp)
  jmp    L32
L301:
  mov    -0xe0(%rbp),%eax
  sub    -0xf4(%rbp),%eax
  mov    %eax,%edx
  mov    -0xf8(%rbp),%eax
  add    %edx,%eax
  test   %eax,%eax
  js     L371
  movsd  -0xd0(%rbp),%xmm0
  movsd  %xmm0,-0xc8(%rbp)
  movsd  -0xc0(%rbp),%xmm0
  movapd %xmm0,%xmm1
  addsd  -0xc8(%rbp),%xmm1
  movsd  D161(%rip),%xmm0
  mulsd  %xmm1,%xmm0
  movsd  %xmm0,-0xd0(%rbp)
  jmp    L32
L371:
  pxor   %xmm4,%xmm4
  cvtsi2sdl -0xdc(%rbp),%xmm4
  movsd  %xmm4,-0x128(%rbp)
  movsd  D142(%rip),%xmm0
  divsd  -0x90(%rbp),%xmm0
  movq   %xmm0,%rax
  movq   %rax,%xmm0
  call   <floor@plt>
  addsd  -0x128(%rbp),%xmm0
  cvttsd2si %xmm0,%eax
  mov    %eax,-0xd8(%rbp)
  mov    -0xd8(%rbp),%eax
  add    $0x4,%eax
  cmp    %eax,-0xd4(%rbp)
  jg     L497
  mov    -0xd4(%rbp),%eax
  sub    $0x5,%eax
  mov    %eax,-0xd8(%rbp)
L497:
  mov    -0xd8(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x80(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm1
  mov    -0xd8(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x80(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  movapd %xmm1,%xmm2
  mulsd  %xmm0,%xmm2
  movsd  -0xa8(%rbp),%xmm0
  movapd %xmm0,%xmm1
  divsd  %xmm2,%xmm1
  mov    -0xd8(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x108(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  subsd  -0xd0(%rbp),%xmm0
  addsd  %xmm0,%xmm0
  addsd  %xmm0,%xmm1
  movq   %xmm1,%rax
  movq   %rax,%xmm0
  call   <sqrt@plt>
  movq   %xmm0,%rax
  mov    %rax,-0x40(%rbp)
  mov    -0xd8(%rbp),%eax
  mov    %eax,-0xec(%rbp)
  jmp    L154
L488:
  movsd  -0x40(%rbp),%xmm0
  movq   D75(%rip),%xmm1
  xorpd  %xmm0,%xmm1
  mov    -0xec(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x80(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mov    -0xd8(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x80(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm2
  subsd  %xmm2,%xmm0
  mulsd  %xmm0,%xmm1
  movq   %xmm1,%rax
  mov    -0xec(%rbp),%edx
  movslq %edx,%rdx
  lea    0x0(,%rdx,8),%rcx
  mov    -0x120(%rbp),%rdx
  lea    (%rcx,%rdx,1),%rbx
  movq   %rax,%xmm0
  call   <exp@plt>
  movq   %xmm0,%rax
  mov    %rax,(%rbx)
  mov    -0xec(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x80(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  movq   D75(%rip),%xmm1
  xorpd  %xmm1,%xmm0
  mulsd  -0x90(%rbp),%xmm0
  movapd %xmm0,%xmm1
  mulsd  -0x40(%rbp),%xmm1
  mov    -0xec(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x120(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mov    -0xec(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    0x10(%rbp),%rax
  add    %rdx,%rax
  mulsd  %xmm1,%xmm0
  movsd  %xmm0,(%rax)
  mov    -0xec(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x60(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  movapd %xmm0,%xmm1
  addsd  -0x90(%rbp),%xmm1
  mov    -0xec(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    0x10(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mulsd  %xmm0,%xmm1
  mov    -0xec(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x78(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm2
  mov    -0xec(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x68(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  addsd  %xmm0,%xmm2
  mov    -0xec(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x120(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mulsd  %xmm2,%xmm0
  mov    -0xec(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x70(%rbp),%rax
  add    %rdx,%rax
  addsd  %xmm1,%xmm0
  movsd  %xmm0,(%rax)
  addl   $0x1,-0xec(%rbp)
L154:
  mov    -0xd8(%rbp),%eax
  add    $0x4,%eax
  cmp    %eax,-0xec(%rbp)
  jle    L488
  mov    -0xd8(%rbp),%eax
  mov    %eax,-0xec(%rbp)
  jmp    L508
L305:
  mov    -0x120(%rbp),%rcx
  mov    -0xec(%rbp),%eax
  mov    0x10(%rbp),%rdx
  mov    %rcx,%rsi
  mov    %eax,%edi
  mov    $0x0,%eax
  call   <Predictor_In@plt>
  mov    %eax,%edx
  mov    -0xec(%rbp),%eax
  cltq
  shl    $0x3,%rax
  lea    -0x8(%rax),%rcx
  mov    -0x120(%rbp),%rax
  add    %rcx,%rax
  pxor   %xmm0,%xmm0
  cvtsi2sd %edx,%xmm0
  movsd  %xmm0,(%rax)
  mov    -0x70(%rbp),%rdx
  mov    -0xec(%rbp),%eax
  mov    0x10(%rbp),%rsi
  mov    %eax,%edi
  mov    $0x0,%eax
  call   <Predictor_In@plt>
  mov    %eax,%edx
  mov    -0xec(%rbp),%eax
  cltq
  shl    $0x3,%rax
  lea    -0x8(%rax),%rcx
  mov    0x10(%rbp),%rax
  add    %rcx,%rax
  pxor   %xmm0,%xmm0
  cvtsi2sd %edx,%xmm0
  movsd  %xmm0,(%rax)
  movl   $0x0,-0xe8(%rbp)
  jmp    L500
L202:
  mov    -0xec(%rbp),%eax
  cltq
  shl    $0x3,%rax
  lea    -0x8(%rax),%rdx
  mov    -0x60(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  movapd %xmm0,%xmm1
  addsd  -0x90(%rbp),%xmm1
  mov    -0xec(%rbp),%eax
  cltq
  shl    $0x3,%rax
  lea    -0x8(%rax),%rdx
  mov    0x10(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mulsd  %xmm0,%xmm1
  mov    -0xec(%rbp),%eax
  cltq
  shl    $0x3,%rax
  lea    -0x8(%rax),%rdx
  mov    -0x78(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm2
  mov    -0xec(%rbp),%eax
  cltq
  shl    $0x3,%rax
  lea    -0x8(%rax),%rdx
  mov    -0x68(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  addsd  %xmm0,%xmm2
  mov    -0xec(%rbp),%eax
  cltq
  shl    $0x3,%rax
  lea    -0x8(%rax),%rdx
  mov    -0x120(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mulsd  %xmm2,%xmm0
  mov    -0xec(%rbp),%eax
  cltq
  shl    $0x3,%rax
  lea    -0x8(%rax),%rdx
  mov    -0x70(%rbp),%rax
  add    %rdx,%rax
  addsd  %xmm1,%xmm0
  movsd  %xmm0,(%rax)
  mov    -0x70(%rbp),%rdx
  mov    -0xec(%rbp),%eax
  mov    0x10(%rbp),%rsi
  mov    %eax,%edi
  mov    $0x0,%eax
  call   <Corrector_In@plt>
  mov    %eax,%edx
  mov    -0xec(%rbp),%eax
  cltq
  shl    $0x3,%rax
  lea    -0x8(%rax),%rcx
  mov    0x10(%rbp),%rax
  add    %rcx,%rax
  pxor   %xmm0,%xmm0
  cvtsi2sd %edx,%xmm0
  movsd  %xmm0,(%rax)
  mov    -0x120(%rbp),%rcx
  mov    -0xec(%rbp),%eax
  mov    0x10(%rbp),%rdx
  mov    %rcx,%rsi
  mov    %eax,%edi
  mov    $0x0,%eax
  call   <Corrector_In@plt>
  mov    %eax,%edx
  mov    -0xec(%rbp),%eax
  cltq
  shl    $0x3,%rax
  lea    -0x8(%rax),%rcx
  mov    -0x120(%rbp),%rax
  add    %rcx,%rax
  pxor   %xmm0,%xmm0
  cvtsi2sd %edx,%xmm0
  movsd  %xmm0,(%rax)
  addl   $0x1,-0xe8(%rbp)
L500:
  cmpl   $0x5,-0xe8(%rbp)
  jle    L202
  subl   $0x1,-0xec(%rbp)
L508:
  mov    -0xdc(%rbp),%eax
  cmp    -0xec(%rbp),%eax
  jl     L305
  mov    -0xdc(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x120(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm1
  movsd  -0x50(%rbp),%xmm0
  divsd  %xmm1,%xmm0
  movsd  %xmm0,-0x38(%rbp)
  mov    -0xdc(%rbp),%eax
  mov    %eax,-0xec(%rbp)
  jmp    L188
L103:
  mov    -0xec(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x120(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mov    -0xec(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x120(%rbp),%rax
  add    %rdx,%rax
  mulsd  -0x38(%rbp),%xmm0
  movsd  %xmm0,(%rax)
  mov    -0xec(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    0x10(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mov    -0xec(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    0x10(%rbp),%rax
  add    %rdx,%rax
  mulsd  -0x38(%rbp),%xmm0
  movsd  %xmm0,(%rax)
  addl   $0x1,-0xec(%rbp)
L188:
  mov    -0xec(%rbp),%eax
  cmp    -0xd8(%rbp),%eax
  jle    L103
  mov    -0xdc(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    0x10(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  movsd  %xmm0,-0x30(%rbp)
  mov    -0x120(%rbp),%rcx
  mov    -0xb8(%rbp),%rdx
  mov    -0xd8(%rbp),%eax
  mov    %rcx,%rsi
  movq   %rdx,%xmm0
  mov    %eax,%edi
  mov    $0x1,%eax
  call   <Norm_LogGrid@plt>
  pxor   %xmm0,%xmm0
  cvtsi2sd %eax,%xmm0
  movsd  %xmm0,-0x28(%rbp)
  mov    -0x28(%rbp),%rax
  movq   %rax,%xmm0
  call   <sqrt@plt>
  movapd %xmm0,%xmm1
  movsd  D61(%rip),%xmm0
  divsd  %xmm1,%xmm0
  movsd  %xmm0,-0x28(%rbp)
  movsd  -0x50(%rbp),%xmm0
  mulsd  -0x28(%rbp),%xmm0
  movsd  %xmm0,-0x50(%rbp)
  movsd  -0x48(%rbp),%xmm0
  mulsd  -0x28(%rbp),%xmm0
  movsd  %xmm0,-0x48(%rbp)
  movsd  -0x30(%rbp),%xmm0
  mulsd  -0x28(%rbp),%xmm0
  movsd  %xmm0,-0x30(%rbp)
  movl   $0x0,-0xec(%rbp)
  jmp    L262
L276:
  mov    -0xec(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x120(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mov    -0xec(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x120(%rbp),%rax
  add    %rdx,%rax
  mulsd  -0x28(%rbp),%xmm0
  movsd  %xmm0,(%rax)
  mov    -0xec(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    0x10(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mov    -0xec(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    0x10(%rbp),%rax
  add    %rdx,%rax
  mulsd  -0x28(%rbp),%xmm0
  movsd  %xmm0,(%rax)
  addl   $0x1,-0xec(%rbp)
L262:
  mov    -0xec(%rbp),%eax
  cmp    -0xd8(%rbp),%eax
  jle    L276
  mov    -0xd8(%rbp),%eax
  add    $0x1,%eax
  mov    %eax,-0xec(%rbp)
  jmp    L510
L390:
  mov    -0xec(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x120(%rbp),%rax
  add    %rdx,%rax
  pxor   %xmm0,%xmm0
  movsd  %xmm0,(%rax)
  mov    -0xec(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    0x10(%rbp),%rax
  add    %rdx,%rax
  pxor   %xmm0,%xmm0
  movsd  %xmm0,(%rax)
  addl   $0x1,-0xec(%rbp)
L510:
  mov    -0xec(%rbp),%eax
  cmp    -0xd4(%rbp),%eax
  jl     L390
  movsd  -0x50(%rbp),%xmm1
  movsd  D161(%rip),%xmm0
  mulsd  %xmm0,%xmm1
  movsd  -0x48(%rbp),%xmm0
  subsd  -0x30(%rbp),%xmm0
  mulsd  %xmm1,%xmm0
  mov    -0xdc(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x80(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm1
  mulsd  -0x90(%rbp),%xmm1
  divsd  %xmm1,%xmm0
  movsd  %xmm0,-0x20(%rbp)
  movsd  -0x20(%rbp),%xmm0
  movq   D50(%rip),%xmm1
  andpd  %xmm0,%xmm1
  movsd  -0xd0(%rbp),%xmm0
  movq   D50(%rip),%xmm2
  andpd  %xmm2,%xmm0
  comisd D122(%rip),%xmm0
  jbe    L525
  movsd  -0xd0(%rbp),%xmm0
  movq   D50(%rip),%xmm2
  andpd  %xmm2,%xmm0
  jmp    L293
L525:
  movsd  D122(%rip),%xmm0
L293:
  movsd  D133(%rip),%xmm2
  mulsd  %xmm2,%xmm0
  comisd %xmm1,%xmm0
  jbe    L280
  mov    -0x110(%rbp),%rax
  mov    -0xdc(%rbp),%edx
  mov    %edx,(%rax)
  mov    -0x118(%rbp),%rax
  movsd  -0xd0(%rbp),%xmm0
  movsd  %xmm0,(%rax)
  mov    -0x78(%rbp),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <dealloc_LogGrid@plt>
  mov    -0x70(%rbp),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <dealloc_LogGrid@plt>
  mov    -0x68(%rbp),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <dealloc_LogGrid@plt>
  mov    -0x60(%rbp),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <dealloc_LogGrid@plt>
  mov    -0x58(%rbp),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <dealloc_LogGrid@plt>
  jmp    L362
L280:
  movsd  -0x20(%rbp),%xmm0
  pxor   %xmm1,%xmm1
  comisd %xmm1,%xmm0
  jbe    L54
  movsd  -0xd0(%rbp),%xmm0
  movsd  %xmm0,-0xc0(%rbp)
  jmp    L533
L54:
  movsd  -0xd0(%rbp),%xmm0
  movsd  %xmm0,-0xc8(%rbp)
L533:
  movsd  -0xd0(%rbp),%xmm0
  addsd  -0x20(%rbp),%xmm0
  movsd  %xmm0,-0xd0(%rbp)
  movsd  -0xd0(%rbp),%xmm0
  comisd -0xc8(%rbp),%xmm0
  ja     L534
  movsd  -0xc0(%rbp),%xmm0
  comisd -0xd0(%rbp),%xmm0
  ja     L534
  jmp    L32
L534:
  movsd  -0xc0(%rbp),%xmm0
  movapd %xmm0,%xmm1
  addsd  -0xc8(%rbp),%xmm1
  movsd  D161(%rip),%xmm0
  mulsd  %xmm1,%xmm0
  movsd  %xmm0,-0xd0(%rbp)
L32:
  cmpl   $0x63,-0xe4(%rbp)
  jle    L365
  mov    $0x64,%esi
  lea    D202(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    -0x110(%rbp),%rax
  mov    -0xdc(%rbp),%edx
  mov    %edx,(%rax)
  mov    -0x118(%rbp),%rax
  movsd  -0xd0(%rbp),%xmm0
  movsd  %xmm0,(%rax)
  mov    -0x78(%rbp),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <dealloc_LogGrid@plt>
  mov    -0x70(%rbp),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <dealloc_LogGrid@plt>
  mov    -0x68(%rbp),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <dealloc_LogGrid@plt>
  mov    -0x60(%rbp),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <dealloc_LogGrid@plt>
  mov    -0x58(%rbp),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <dealloc_LogGrid@plt>
  nop
L362:
  mov    -0x8(%rbp),%rbx
  leave
  ret
```

tool_calls: name: unpack_data
arguments: data_label: D18
type_infered: byte[8]
name: unpack_data
arguments: data_label: D61
type_infered: f64
name: unpack_data
arguments: data_label: D161
type_infered: f64
name: unpack_data
arguments: data_label: D211
type_infered: f64
name: unpack_data
arguments: data_label: D219
type_infered: f64
name: unpack_data
arguments: data_label: D75
type_infered: f32[2]
name: unpack_data
arguments: data_label: D47
type_infered: string
name: unpack_data
arguments: data_label: D142
type_infered: f64
name: unpack_data
arguments: data_label: D50
type_infered: qword
name: unpack_data
arguments: data_label: D122
type_infered: f64[2]
name: unpack_data
arguments: data_label: D133
type_infered: byte[8]
name: unpack_data
arguments: data_label: D202
type_infered: string

tool: {"D18": [0x26,0x45,0x94,0xdd,0xd3,0xe3,0x7d,0x3f]}

tool: D61: 1

tool: D161: 0.5

tool: D211: 1.25

tool: D219: 0.75

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

tool: D47: Error in R_Pauli: no turning point

tool: D142: 2.3

tool: D50: 9223372036854775807

tool: {"D122": [0.2,1e-10]}

tool: {"D133": [0xbb,0xbd,0xd7,0xd9,0xdf,0x7c,0xdb,0x3d]}

tool: D202: Error R_Pauli: More than %d iterations


assistant: ```c
void R_Pauli(n, l, Z, v, mch, Eig, u, uprime) int n, l;
double Z;
double v[];
int *mch;
double *Eig;
double u[], uprime[];
{
  int i, j, iteration, node, match, Ninf, Ngrid;
  double E, de, Emax, Emin, log_amesh, log_amesh2, fss, gamma, L2, L0, r2, sum, a, scale, m1scale, uout, upout, upin, *r, *f_upp, *dv, *frp, *fr, *upp;
  E = *Eig;
  L2 = ((double)(l * (l + 1)));
  fss = 1.0 / 137.03602;
  fss = fss * fss;
  if (l == 0)
    gamma = sqrt(1.0 - fss * Z * Z);
  else {
    L0 = (double)l;
    gamma = (sqrt(L0 * L0 - fss * Z * Z) * L0 + sqrt((L0 + 1.0) * (L0 + 1) - fss * Z * Z) * (L0 + 1.0)) / (2.0 * L0 + 1.0);
  }
  Ngrid = N_LogGrid();
  log_amesh = log_amesh_LogGrid();
  log_amesh2 = log_amesh * log_amesh;
  r = r_LogGrid();
  f_upp = alloc_LogGrid();
  upp = alloc_LogGrid();
  fr = alloc_LogGrid();
  frp = alloc_LogGrid();
  dv = alloc_LogGrid();
  Emax = v[Ngrid - 1] + 0.5 * L2 / (r[Ngrid - 1] * r[Ngrid - 1]);
  Emin = 0.0;
  for (i = 0; i < Ngrid; ++i) {
    r2 = r[i];
    r2 = r2 * r2;
    Emin = ((Emin < (v[i] + 0.5 * L2 / r2)) ? Emin : (v[i] + 0.5 * L2 / r2));
  }
  if (E > Emax)
    E = 1.25 * Emax;
  if (E < Emin)
    E = 0.75 * Emin;
  if (E > Emax)
    E = 0.5 * (Emax + Emin);
  for (i = 0; i < 4; ++i) {
    u[i] = 0.0;
    uprime[i] = 0.0;
    upp[i] = 0.0;
  }
  iteration = 0;
  while (iteration < 100) {
    ++iteration;
    for (i = 0; i < Ngrid; ++i) {
      r2 = r[i];
      r2 = r2 * r2;
      f_upp[i] = log_amesh2 * (L2 + 2.0 * (v[i] - E) * r2);
    }
    Derivative_LogGrid(v, dv);
    for (i = 0; i < Ngrid; ++i) {
      r2 = r[i] * r[i];
      fr[i] = log_amesh2 * r2 * (-fss * (v[i] - E) * (v[i] - E) + 0.5 * fss * dv[i] / (r[i] * (1.0 + 0.5 * fss * (E - v[i]))));
      frp[i] = -log_amesh * r[i] * 0.5 * fss * dv[i] / (1.0 + 0.5 * fss * (E - v[i]));
    }
    match = Ngrid - 1;
    while (f_upp[match - 1] * f_upp[match] > 0.0) {
      match = match - 1;
      if (match < 2) {
        printf("Error in R_Pauli: no turning point\n");
        dealloc_LogGrid(f_upp);
        dealloc_LogGrid(upp);
        dealloc_LogGrid(fr);
        dealloc_LogGrid(frp);
        dealloc_LogGrid(dv);
        return;
      }
    }
    m1scale = 1.0;
    for (i = 0; i < (n - l - 1); ++i)
      m1scale *= -1.0;
    for (i = 0; i < 4; ++i) {
      u[i] = m1scale * pow(r[i], gamma);
      uprime[i] = log_amesh * gamma * u[i];
      upp[i] = (log_amesh + frp[i]) * uprime[i] + (f_upp[i] + fr[i]) * u[i];
    }
    node = 0;
    for (i = 3; i < match; ++i) {
      u[i + 1] = Predictor_Out(i, u, uprime);
      uprime[i + 1] = Predictor_Out(i, uprime, upp);
      for (j = 0; j < 6; ++j) {
        upp[i + 1] = (log_amesh + frp[i + 1]) * uprime[i + 1] + (f_upp[i + 1] + fr[i + 1]) * u[i + 1];
        uprime[i + 1] = Corrector_Out(i, uprime, upp);
        u[i + 1] = Corrector_Out(i, u, uprime);
      }
      if (u[i + 1] * u[i] <= 0)
        node = node + 1;
    }
    uout = u[match];
    upout = uprime[match];
    if ((node - n + l + 1) < 0) {
      Emin = E;
      E = 0.5 * (Emin + Emax);
    } else if ((node - n + l + 1) > 0) {
      Emax = E;
      E = 0.5 * (Emin + Emax);
    } else {
      Ninf = match + floor(2.3 / log_amesh);
      if ((Ninf + 5) > Ngrid)
        Ninf = Ngrid - 5;
      a = sqrt(L2 / (r[Ninf] * r[Ninf]) + 2.0 * (v[Ninf] - E));
      for (i = Ninf; i <= (Ninf + 4); ++i) {
        u[i] = exp(-a * (r[i] - r[Ninf]));
        uprime[i] = -r[i] * log_amesh * a * u[i];
        upp[i] = (log_amesh + frp[i]) * uprime[i] + (f_upp[i] + fr[i]) * u[i];
      }
      for (i = Ninf; i >= (match + 1); --i) {
        u[i - 1] = Predictor_In(i, u, uprime);
        uprime[i - 1] = Predictor_In(i, uprime, upp);
        for (j = 0; j < 6; ++j) {
          upp[i - 1] = (log_amesh + frp[i - 1]) * uprime[i - 1] + (f_upp[i - 1] + fr[i - 1]) * u[i - 1];
          uprime[i - 1] = Corrector_In(i, uprime, upp);
          u[i - 1] = Corrector_In(i, u, uprime);
        }
      }
      scale = uout / u[match];
      for (i = match; i <= Ninf; ++i) {
        u[i] = scale * u[i];
        uprime[i] = scale * uprime[i];
      }
      upin = uprime[match];
      sum = Norm_LogGrid(Ninf, gamma, u);
      sum = 1.0 / sqrt(sum);
      uout = sum * uout;
      upout = sum * upout;
      upin = sum * upin;
      for (i = 0; i <= Ninf; ++i) {
        u[i] = sum * u[i];
        uprime[i] = sum * uprime[i];
      }
      for (i = Ninf + 1; i < Ngrid; ++i) {
        u[i] = 0.0;
        uprime[i] = 0.0;
      }
      de = 0.5 * uout * (upout - upin) / (log_amesh * r[match]);
      if (fabs(de) < (((fabs(E) > 0.2) ? fabs(E) : 0.2) * 1.0e-10)) {
        *mch = match;
        *Eig = E;
        dealloc_LogGrid(f_upp);
        dealloc_LogGrid(upp);
        dealloc_LogGrid(fr);
        dealloc_LogGrid(frp);
        dealloc_LogGrid(dv);
        return;
      }
      if (de > 0.0)
        Emin = E;
      else
        Emax = E;
      E = E + de;
      if ((E > Emax) || (E < Emin))
        E = 0.5 * (Emin + Emax);
    }
  }
  printf("Error R_Pauli: More than %d iterations\n", 100);
  *mch = match;
  *Eig = E;
  dealloc_LogGrid(f_upp);
  dealloc_LogGrid(upp);
  dealloc_LogGrid(fr);
  dealloc_LogGrid(frp);
  dealloc_LogGrid(dv);
  return;
}
```