// File: /workspace/github_c_makefile_star2_O1/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 $0xe8, %rsp
movq %rdi, 0x38(%rsp)
movq 0x20(%rdi), %rax
movslq %edx, %rdx
movl (%rax,%rdx,4), %eax
movl %eax, 0x10(%rsp)
movl $0x1, %eax
movl %eax, 0xc(%rsp)
movl %eax, 0x14(%rsp)
testl %esi, %esi
jle 0x29770
movq %r8, %rbx
movq %rcx, %r14
movq %rdx, %rcx
movq 0x38(%rsp), %rax
movq 0x38(%rax), %rdx
movsd 0x10(%rax), %xmm5
movslq 0x30(%rax), %rdi
imulq %rdi, %rcx
shlq $0x3, %rcx
movq 0x50(%rax), %r8
addq %rcx, %r8
movq %r8, 0x18(%rsp)
addq 0x58(%rax), %rcx
movq %rcx, 0x28(%rsp)
movsd (%rdx), %xmm6
movq %rdx, 0x78(%rsp)
movsd -0x8(%rdx,%rdi,8), %xmm0
decq %rdi
movq %rdi, 0x20(%rsp)
movl (%rax), %r13d
movl %esi, %r15d
movapd %xmm5, %xmm1
unpcklpd %xmm5, %xmm1            # xmm1 = xmm1[0],xmm5[0]
movapd %xmm1, 0xa0(%rsp)
xorpd %xmm4, %xmm4
xorl %r12d, %r12d
xorpd %xmm9, %xmm9
xorpd %xmm1, %xmm1
movapd %xmm1, 0x60(%rsp)
xorl %ebp, %ebp
movsd %xmm6, 0x30(%rsp)
movsd %xmm6, 0x40(%rsp)
movsd %xmm0, 0x88(%rsp)
movapd %xmm0, %xmm7
xorpd %xmm0, %xmm0
movapd %xmm0, 0x50(%rsp)
xorpd %xmm8, %xmm8
movapd %xmm5, 0xb0(%rsp)
movsd %xmm6, 0x80(%rsp)
movsd (%r14,%r12,8), %xmm0
movsd %xmm0, 0x48(%rsp)
cmpl $0x1, %r13d
jne 0x295b1
movq 0x38(%rsp), %rax
movsd 0x8(%rax), %xmm0
addsd 0xc7d61(%rip), %xmm0    # 0xf1298
cvttsd2si %xmm0, %esi
movl 0x10(%rsp), %edi
leaq 0x48(%rsp), %rdx
leaq 0xc(%rsp), %rcx
leaq 0x14(%rsp), %r8
movsd %xmm7, 0x98(%rsp)
movapd %xmm8, 0xd0(%rsp)
movsd %xmm9, 0x90(%rsp)
movapd %xmm4, 0xc0(%rsp)
callq 0x241c1
movapd 0xc0(%rsp), %xmm4
movsd 0x90(%rsp), %xmm9
movapd 0xd0(%rsp), %xmm8
movsd 0x98(%rsp), %xmm7
movsd 0x80(%rsp), %xmm6
movapd 0xb0(%rsp), %xmm5
movsd 0x48(%rsp), %xmm0
ucomisd %xmm0, %xmm6
xorpd %xmm1, %xmm1
ja 0x2975e
ucomisd 0x88(%rsp), %xmm0
ja 0x2975e
ucomisd 0x40(%rsp), %xmm0
ja 0x295e6
ucomisd %xmm0, %xmm7
jbe 0x29717
ucomisd 0x30(%rsp), %xmm0
ja 0x295f8
ucomisd %xmm0, %xmm7
ja 0x295f8
incl %ebp
jmp 0x29641
movapd %xmm0, %xmm1
subsd %xmm6, %xmm1
divsd %xmm5, %xmm1
cvttsd2si %xmm1, %eax
testl %eax, %eax
jg 0x2960e
xorl %eax, %eax
incl %eax
movq 0x20(%rsp), %rcx
movl %ecx, %ebp
cmpl %eax, %ecx
jl 0x2961d
movl %eax, %ebp
movslq %ebp, %rax
movq 0x18(%rsp), %rcx
movsd -0x8(%rcx,%rax,8), %xmm1
movaps %xmm1, 0x60(%rsp)
movq 0x28(%rsp), %rcx
movsd -0x8(%rcx,%rax,8), %xmm1
movapd %xmm1, 0x50(%rsp)
cmpl $0x2, %ebp
movl $0x1, %eax
cmovgel %ebp, %eax
leal 0x1(%rbp), %ecx
movq 0x20(%rsp), %rsi
movl %esi, %edx
cmpl %ecx, %esi
jl 0x2965c
movl %ecx, %edx
movq 0x78(%rsp), %rsi
movsd -0x8(%rsi,%rax,8), %xmm7
movslq %ebp, %rcx
movsd (%rsi,%rcx,8), %xmm1
movsd %xmm1, 0x40(%rsp)
movslq %edx, %rax
movapd %xmm5, %xmm8
movapd 0x50(%rsp), %xmm1
mulsd %xmm1, %xmm8
movapd %xmm1, %xmm2
mulsd 0xc90c4(%rip), %xmm2    # 0xf2758
unpcklpd %xmm1, %xmm2            # xmm2 = xmm2[0],xmm1[0]
movq 0x28(%rsp), %rdx
movsd (%rdx,%rcx,8), %xmm1
movapd %xmm5, %xmm3
mulsd %xmm1, %xmm3
movapd %xmm3, %xmm4
xorpd 0xc7b7a(%rip), %xmm4    # 0xf1230
mulpd 0xa0(%rsp), %xmm2
unpcklpd %xmm3, %xmm4            # xmm4 = xmm4[0],xmm3[0]
addpd %xmm2, %xmm4
movapd 0x60(%rsp), %xmm2
movapd %xmm2, %xmm9
movq 0x18(%rsp), %rdx
movsd (%rdx,%rcx,8), %xmm3
unpcklpd %xmm2, %xmm2            # xmm2 = xmm2[0,0]
mulpd 0xcb258(%rip), %xmm2    # 0xf4940
addpd %xmm4, %xmm2
movapd %xmm3, %xmm4
unpcklpd %xmm3, %xmm4            # xmm4 = xmm4[0],xmm3[0]
mulpd 0xcb254(%rip), %xmm4    # 0xf4950
addpd %xmm2, %xmm4
movsd (%rsi,%rax,8), %xmm2
movsd %xmm2, 0x30(%rsp)
movapd %xmm1, 0x50(%rsp)
movapd %xmm3, 0x60(%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 0xc(%rsp), %xmm1
mulsd %xmm2, %xmm1
movsd %xmm1, (%rbx,%r12,8)
incq %r12
cmpq %r12, %r15
jne 0x2950f
xorl %eax, %eax
addq $0xe8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq