// File: /workspace/github_c_makefile_star2_O2/PoulinV[P]AxiCLASS/build/../tools/hyperspherical.c
// Function: hyperspherical_Hermite3_interpolation_vector_Phid2Phi
int hyperspherical_Hermite3_interpolation_vector_Phid2Phi(HyperInterpStruct *pHIS,
                                                          int nxi,
                                                          int lnum,
                                                          double * xinterp,
                                                          double * Phi,
                                                          double * d2Phi,
                                                          ErrorMsg error_message) {
#undef HERMITE_DO_PHI
#undef HERMITE_DO_DPHI
#undef HERMITE_DO_D2PHI
#define HERMITE_DO_PHI
#define HERMITE_DO_D2PHI
#include "hermite3_interpolation_csource.h"
  return _SUCCESS_;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x118, %rsp            # imm = 0x118
movq %r8, %r15
movq %rcx, %r12
movq 0x20(%rdi), %rax
movslq %edx, %rcx
movl (%rax,%rcx,4), %eax
movq 0x40(%rdi), %rdx
movq %rdx, 0x48(%rsp)
movl %eax, 0x10(%rsp)
cvtsi2sd %eax, %xmm0
movq 0x48(%rdi), %rax
movq %rax, 0x40(%rsp)
movsd 0xbf746(%rip), %xmm1    # 0xe5260
addsd %xmm0, %xmm1
mulsd %xmm0, %xmm1
movsd 0x8(%rdi), %xmm0
mulsd %xmm0, %xmm0
cvtsi2sdl (%rdi), %xmm2
pushq $0x1
popq %rax
leaq 0xc(%rsp), %rdx
movl %eax, (%rdx)
leaq 0x14(%rsp), %rdx
movl %eax, (%rdx)
movq 0x38(%rdi), %rax
movsd 0x10(%rdi), %xmm3
movslq 0x30(%rdi), %rdx
imulq %rdx, %rcx
shlq $0x3, %rcx
movq 0x50(%rdi), %r11
addq %rcx, %r11
movq %r11, 0x18(%rsp)
addq 0x58(%rdi), %rcx
movq %rcx, 0x50(%rsp)
movsd (%rax), %xmm8
movq %rax, 0x90(%rsp)
movsd -0x8(%rax,%rdx,8), %xmm4
decq %rdx
movq %rdx, 0x20(%rsp)
movsd %xmm2, 0x28(%rsp)
movsd %xmm0, 0x30(%rsp)
subsd %xmm0, %xmm2
movsd %xmm2, 0x88(%rsp)
movsd 0xc013a(%rip), %xmm0    # 0xe5ce0
xorl %r13d, %r13d
testl %esi, %esi
cmovlel %r13d, %esi
movsd %xmm1, 0x38(%rsp)
addsd %xmm1, %xmm0
movsd %xmm0, 0x80(%rsp)
movapd %xmm3, 0xc0(%rsp)
unpcklpd %xmm3, %xmm3            # xmm3 = xmm3[0,0]
movapd %xmm3, 0xd0(%rsp)
xorpd %xmm7, %xmm7
xorpd %xmm5, %xmm5
movsd %xmm4, 0xa8(%rsp)
movapd %xmm4, %xmm10
movsd %xmm8, 0x60(%rsp)
xorl %ebp, %ebp
movsd %xmm8, 0x58(%rsp)
xorpd %xmm9, %xmm9
xorpd %xmm0, %xmm0
movapd %xmm0, 0x70(%rsp)
xorpd %xmm6, %xmm6
movsd %xmm8, 0xa0(%rsp)
movq %rsi, 0x98(%rsp)
cmpq %r13, %rsi
je 0x25f64
movsd (%r12,%r13,8), %xmm0
movsd %xmm0, 0x68(%rsp)
cmpl $0x1, (%rdi)
jne 0x25cec
movsd 0x8(%rdi), %xmm0
addsd 0xbf64a(%rip), %xmm0    # 0xe5298
cvttsd2si %xmm0, %esi
movq %rdi, %rbx
movl 0x10(%rsp), %edi
leaq 0x68(%rsp), %rdx
leaq 0xc(%rsp), %rcx
leaq 0x14(%rsp), %r8
movq %r9, %r14
movsd %xmm10, 0xb8(%rsp)
movapd %xmm6, 0x100(%rsp)
movsd %xmm5, 0xb0(%rsp)
movapd %xmm7, 0xf0(%rsp)
movapd %xmm9, 0xe0(%rsp)
callq 0x21cc3
movapd 0xe0(%rsp), %xmm9
movapd 0xf0(%rsp), %xmm7
movsd 0xb0(%rsp), %xmm5
movapd 0x100(%rsp), %xmm6
movsd 0xb8(%rsp), %xmm10
movsd 0xa0(%rsp), %xmm8
movq %rbx, %rdi
movq 0x98(%rsp), %rsi
movq %r14, %r9
movsd 0x68(%rsp), %xmm0
ucomisd %xmm0, %xmm8
ja 0x25d27
ucomisd 0xa8(%rsp), %xmm0
ja 0x25d27
ucomisd 0x60(%rsp), %xmm0
ja 0x25d11
ucomisd %xmm0, %xmm10
jbe 0x25efb
ucomisd 0x58(%rsp), %xmm0
ja 0x25d35
ucomisd %xmm0, %xmm10
ja 0x25d35
incl %ebp
jmp 0x25dc3
andq $0x0, (%r15,%r13,8)
xorpd %xmm1, %xmm1
jmp 0x25f56
movapd %xmm0, %xmm1
subsd %xmm8, %xmm1
divsd 0xc0(%rsp), %xmm1
cvttsd2si %xmm1, %eax
testl %eax, %eax
jg 0x25d51
xorl %eax, %eax
incl %eax
movq 0x20(%rsp), %rcx
movl %ecx, %ebp
cmpl %eax, %ecx
jl 0x25d60
movl %eax, %ebp
movslq %ebp, %rax
movq 0x18(%rsp), %rcx
movsd -0x8(%rcx,%rax,8), %xmm1
movq 0x48(%rsp), %rcx
movsd -0x8(%rcx,%rax,8), %xmm2
mulsd %xmm2, %xmm2
movq 0x50(%rsp), %rcx
movsd -0x8(%rcx,%rax,8), %xmm4
mulsd 0xc09a8(%rip), %xmm4    # 0xe6738
movsd 0x38(%rsp), %xmm3
divsd %xmm2, %xmm3
subsd 0x30(%rsp), %xmm3
addsd 0x28(%rsp), %xmm3
mulsd %xmm1, %xmm3
movq 0x40(%rsp), %rcx
mulsd -0x8(%rcx,%rax,8), %xmm4
addsd %xmm3, %xmm4
unpcklpd %xmm1, %xmm4            # xmm4 = xmm4[0],xmm1[0]
movapd %xmm4, 0x70(%rsp)
cmpl $0x2, %ebp
pushq $0x1
popq %rax
movl %eax, %ecx
cmovgel %ebp, %ecx
leal 0x1(%rbp), %edx
movq 0x20(%rsp), %r11
movl %r11d, %eax
cmpl %edx, %r11d
jl 0x25de0
movl %edx, %eax
movq 0x90(%rsp), %r11
movsd -0x8(%r11,%rcx,8), %xmm10
movslq %ebp, %rcx
movq 0x18(%rsp), %rdx
movsd (%rdx,%rcx,8), %xmm2
movq 0x50(%rsp), %rdx
movsd (%rdx,%rcx,8), %xmm3
movq 0x40(%rsp), %rdx
movsd (%rdx,%rcx,8), %xmm4
movq 0x48(%rsp), %rdx
movsd (%rdx,%rcx,8), %xmm5
mulsd %xmm5, %xmm5
movapd %xmm3, %xmm1
movsd 0xc090d(%rip), %xmm9    # 0xe6738
mulsd %xmm9, %xmm1
movsd 0x38(%rsp), %xmm7
movapd %xmm7, %xmm6
divsd %xmm5, %xmm6
subsd 0x30(%rsp), %xmm6
addsd 0x28(%rsp), %xmm6
mulsd %xmm2, %xmm6
mulsd %xmm4, %xmm1
addsd %xmm6, %xmm1
movapd %xmm2, %xmm6
mulsd %xmm9, %xmm6
mulsd %xmm7, %xmm6
mulsd %xmm4, %xmm6
mulsd %xmm9, %xmm4
divsd %xmm5, %xmm6
mulsd %xmm1, %xmm4
addsd %xmm6, %xmm4
movsd 0x80(%rsp), %xmm6
divsd %xmm5, %xmm6
movsd (%r11,%rcx,8), %xmm5
movsd %xmm5, 0x60(%rsp)
cltq
addsd 0x88(%rsp), %xmm6
mulsd %xmm3, %xmm6
addsd %xmm4, %xmm6
movapd 0x70(%rsp), %xmm5
movapd %xmm5, %xmm4
mulpd 0xc29aa(%rip), %xmm4    # 0xe8860
unpcklpd %xmm3, %xmm6            # xmm6 = xmm6[0],xmm3[0]
mulpd 0xd0(%rsp), %xmm6
subpd %xmm6, %xmm4
unpcklpd %xmm2, %xmm1            # xmm1 = xmm1[0],xmm2[0]
addpd %xmm5, %xmm6
subpd %xmm1, %xmm6
movapd %xmm5, %xmm9
movapd %xmm1, 0x70(%rsp)
movapd %xmm1, %xmm7
addpd %xmm1, %xmm7
addpd %xmm4, %xmm7
movsd (%r11,%rax,8), %xmm1
movsd %xmm1, 0x58(%rsp)
unpckhpd %xmm5, %xmm9            # xmm9 = xmm9[1],xmm5[1]
subsd %xmm10, %xmm0
divsd 0xc0(%rsp), %xmm0
movapd %xmm0, %xmm1
mulsd %xmm0, %xmm1
movapd %xmm7, %xmm2
unpckhpd %xmm7, %xmm2            # xmm2 = xmm2[1],xmm7[1]
mulsd %xmm0, %xmm2
addsd %xmm9, %xmm2
movapd %xmm6, %xmm3
unpckhpd %xmm6, %xmm3            # xmm3 = xmm3[1],xmm6[1]
mulsd %xmm1, %xmm3
cvtsi2sdl 0xc(%rsp), %xmm4
addsd %xmm2, %xmm3
mulsd %xmm4, %xmm3
movsd %xmm3, (%r15,%r13,8)
mulsd %xmm7, %xmm0
addsd %xmm5, %xmm0
mulsd %xmm6, %xmm1
addsd %xmm0, %xmm1
mulsd %xmm4, %xmm1
movsd %xmm1, (%r9,%r13,8)
incq %r13
jmp 0x25c23
xorl %eax, %eax
addq $0x118, %rsp            # imm = 0x118
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq