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

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xd8, %rsp
movq 0x20(%rdi), %rax
movslq %edx, %rdx
movl (%rax,%rdx,4), %eax
movl %eax, 0x8(%rsp)
movl $0x1, %eax
movl %eax, 0x4(%rsp)
movl %eax, 0xc(%rsp)
testl %esi, %esi
jle 0x29608
movq %r8, %rbx
movq %rcx, %r14
movq %rdi, %r15
movq %rdx, %rcx
movq 0x38(%rdi), %rax
movsd 0x10(%rdi), %xmm5
movslq 0x30(%rdi), %rdx
imulq %rdx, %rcx
shlq $0x3, %rcx
movq 0x50(%rdi), %rdi
addq %rcx, %rdi
movq %rdi, 0x10(%rsp)
addq 0x58(%r15), %rcx
movq %rcx, 0x20(%rsp)
movsd (%rax), %xmm6
movq %rax, 0x68(%rsp)
movsd -0x8(%rax,%rdx,8), %xmm0
decq %rdx
movq %rdx, 0x18(%rsp)
movl %esi, %r13d
movapd %xmm5, %xmm1
unpcklpd %xmm5, %xmm1            # xmm1 = xmm1[0],xmm5[0]
movapd %xmm1, 0x90(%rsp)
xorpd %xmm4, %xmm4
xorl %r12d, %r12d
xorpd %xmm9, %xmm9
xorpd %xmm1, %xmm1
movapd %xmm1, 0x50(%rsp)
xorl %ebp, %ebp
movsd %xmm6, 0x28(%rsp)
movsd %xmm6, 0x30(%rsp)
movsd %xmm0, 0x78(%rsp)
movapd %xmm0, %xmm7
xorpd %xmm0, %xmm0
movapd %xmm0, 0x40(%rsp)
xorpd %xmm8, %xmm8
movapd %xmm5, 0xa0(%rsp)
movsd %xmm6, 0x70(%rsp)
movsd (%r14,%r12,8), %xmm0
movsd %xmm0, 0x38(%rsp)
cmpl $0x1, (%r15)
jne 0x29452
movsd 0x8(%r15), %xmm0
addsd 0xc4ec3(%rip), %xmm0    # 0xee298
cvttsd2si %xmm0, %esi
movl 0x8(%rsp), %edi
leaq 0x38(%rsp), %rdx
leaq 0x4(%rsp), %rcx
leaq 0xc(%rsp), %r8
movsd %xmm7, 0x88(%rsp)
movapd %xmm8, 0xc0(%rsp)
movsd %xmm9, 0x80(%rsp)
movapd %xmm4, 0xb0(%rsp)
callq 0x2405c
movapd 0xb0(%rsp), %xmm4
movsd 0x80(%rsp), %xmm9
movapd 0xc0(%rsp), %xmm8
movsd 0x88(%rsp), %xmm7
movsd 0x70(%rsp), %xmm6
movapd 0xa0(%rsp), %xmm5
movsd 0x38(%rsp), %xmm0
ucomisd %xmm0, %xmm6
xorpd %xmm1, %xmm1
ja 0x295f6
ucomisd 0x78(%rsp), %xmm0
ja 0x295f6
ucomisd 0x30(%rsp), %xmm0
ja 0x2947e
ucomisd %xmm0, %xmm7
jbe 0x295af
ucomisd 0x28(%rsp), %xmm0
ja 0x29490
ucomisd %xmm0, %xmm7
ja 0x29490
incl %ebp
jmp 0x294d9
movapd %xmm0, %xmm1
subsd %xmm6, %xmm1
divsd %xmm5, %xmm1
cvttsd2si %xmm1, %eax
testl %eax, %eax
jg 0x294a6
xorl %eax, %eax
incl %eax
movq 0x18(%rsp), %rcx
movl %ecx, %ebp
cmpl %eax, %ecx
jl 0x294b5
movl %eax, %ebp
movslq %ebp, %rax
movq 0x10(%rsp), %rcx
movsd -0x8(%rcx,%rax,8), %xmm1
movaps %xmm1, 0x50(%rsp)
movq 0x20(%rsp), %rcx
movsd -0x8(%rcx,%rax,8), %xmm1
movapd %xmm1, 0x40(%rsp)
cmpl $0x2, %ebp
movl $0x1, %eax
cmovgel %ebp, %eax
leal 0x1(%rbp), %ecx
movq 0x18(%rsp), %rsi
movl %esi, %edx
cmpl %ecx, %esi
jl 0x294f4
movl %ecx, %edx
movq 0x68(%rsp), %rsi
movsd -0x8(%rsi,%rax,8), %xmm7
movslq %ebp, %rcx
movsd (%rsi,%rcx,8), %xmm1
movsd %xmm1, 0x30(%rsp)
movslq %edx, %rax
movapd %xmm5, %xmm8
movapd 0x40(%rsp), %xmm1
mulsd %xmm1, %xmm8
movapd %xmm1, %xmm2
mulsd 0xc6234(%rip), %xmm2    # 0xef760
unpcklpd %xmm1, %xmm2            # xmm2 = xmm2[0],xmm1[0]
movq 0x20(%rsp), %rdx
movsd (%rdx,%rcx,8), %xmm1
movapd %xmm5, %xmm3
mulsd %xmm1, %xmm3
movapd %xmm3, %xmm4
xorpd 0xc4ce2(%rip), %xmm4    # 0xee230
mulpd 0x90(%rsp), %xmm2
unpcklpd %xmm3, %xmm4            # xmm4 = xmm4[0],xmm3[0]
addpd %xmm2, %xmm4
movapd 0x50(%rsp), %xmm2
movapd %xmm2, %xmm9
movq 0x10(%rsp), %rdx
movsd (%rdx,%rcx,8), %xmm3
unpcklpd %xmm2, %xmm2            # xmm2 = xmm2[0,0]
mulpd 0xc83d0(%rip), %xmm2    # 0xf1950
addpd %xmm4, %xmm2
movapd %xmm3, %xmm4
unpcklpd %xmm3, %xmm4            # xmm4 = xmm4[0],xmm3[0]
mulpd 0xc83cc(%rip), %xmm4    # 0xf1960
addpd %xmm2, %xmm4
movsd (%rsi,%rax,8), %xmm2
movsd %xmm2, 0x28(%rsp)
movapd %xmm1, 0x40(%rsp)
movapd %xmm3, 0x50(%rsp)
subsd %xmm7, %xmm0
divsd %xmm5, %xmm0
movapd %xmm0, %xmm1
mulsd %xmm0, %xmm1
movapd %xmm8, %xmm2
mulsd %xmm0, %xmm2
mulsd %xmm1, %xmm0
addsd %xmm9, %xmm2
mulsd %xmm4, %xmm1
addsd %xmm2, %xmm1
movapd %xmm4, %xmm2
unpckhpd %xmm4, %xmm2            # xmm2 = xmm2[1],xmm4[1]
mulsd %xmm0, %xmm2
addsd %xmm1, %xmm2
xorps %xmm1, %xmm1
cvtsi2sdl 0x4(%rsp), %xmm1
mulsd %xmm2, %xmm1
movsd %xmm1, (%rbx,%r12,8)
incq %r12
cmpq %r12, %r13
jne 0x293b1
xorl %eax, %eax
addq $0xd8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq