// File: /workspace/github_c_makefile_star2_O2/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 %r8, %rbx
movq %rcx, %r14
movl %esi, %r15d
movq %rdi, %r12
movq 0x20(%rdi), %rax
movslq %edx, %rcx
movl (%rax,%rcx,4), %eax
movl %eax, 0x8(%rsp)
pushq $0x1
popq %rax
leaq 0x4(%rsp), %rdx
movl %eax, (%rdx)
leaq 0xc(%rsp), %rdx
movl %eax, (%rdx)
movq 0x38(%rdi), %rax
movsd 0x10(%rdi), %xmm5
movslq 0x30(%rdi), %rdx
imulq %rdx, %rcx
shlq $0x3, %rcx
movq 0x50(%rdi), %rsi
addq %rcx, %rsi
movq %rsi, 0x10(%rsp)
addq 0x58(%rdi), %rcx
movq %rcx, 0x20(%rsp)
movsd (%rax), %xmm6
movq %rax, 0x60(%rsp)
movsd -0x8(%rax,%rdx,8), %xmm0
decq %rdx
movq %rdx, 0x18(%rsp)
xorl %ebp, %ebp
testl %r15d, %r15d
cmovlel %ebp, %r15d
movapd %xmm5, %xmm1
unpcklpd %xmm5, %xmm1            # xmm1 = xmm1[0],xmm5[0]
movapd %xmm1, 0x80(%rsp)
xorpd %xmm4, %xmm4
xorpd %xmm8, %xmm8
xorpd %xmm1, %xmm1
movapd %xmm1, 0x40(%rsp)
movsd %xmm0, 0x70(%rsp)
movapd %xmm0, %xmm7
movsd %xmm6, 0x30(%rsp)
movsd %xmm6, 0x28(%rsp)
xorl %r13d, %r13d
xorpd %xmm0, %xmm0
movapd %xmm0, 0x50(%rsp)
xorpd %xmm9, %xmm9
movapd %xmm5, 0x90(%rsp)
movsd %xmm6, 0x68(%rsp)
cmpq %rbp, %r15
je 0x26d7f
movsd (%r14,%rbp,8), %xmm0
movsd %xmm0, 0x38(%rsp)
cmpl $0x1, (%r12)
jne 0x26bcd
movsd 0x8(%r12), %xmm0
addsd 0xbe742(%rip), %xmm0    # 0xe5298
cvttsd2si %xmm0, %esi
movl 0x8(%rsp), %edi
leaq 0x38(%rsp), %rdx
leaq 0x4(%rsp), %rcx
leaq 0xc(%rsp), %r8
movsd %xmm7, 0x78(%rsp)
movapd %xmm8, 0xc0(%rsp)
movapd %xmm4, 0xb0(%rsp)
movapd %xmm9, 0xa0(%rsp)
callq 0x21cc3
movapd 0xa0(%rsp), %xmm9
movapd 0xb0(%rsp), %xmm4
movapd 0xc0(%rsp), %xmm8
movsd 0x78(%rsp), %xmm7
movsd 0x68(%rsp), %xmm6
movapd 0x90(%rsp), %xmm5
movsd 0x38(%rsp), %xmm0
ucomisd %xmm0, %xmm6
xorpd %xmm1, %xmm1
ja 0x26d72
ucomisd 0x70(%rsp), %xmm0
ja 0x26d72
ucomisd 0x30(%rsp), %xmm0
ja 0x26bf9
ucomisd %xmm0, %xmm7
jbe 0x26d2e
ucomisd 0x28(%rsp), %xmm0
ja 0x26c0c
ucomisd %xmm0, %xmm7
ja 0x26c0c
incl %r13d
jmp 0x26c57
movapd %xmm0, %xmm1
subsd %xmm6, %xmm1
divsd %xmm5, %xmm1
cvttsd2si %xmm1, %eax
testl %eax, %eax
jg 0x26c22
xorl %eax, %eax
incl %eax
movq 0x18(%rsp), %rcx
movl %ecx, %r13d
cmpl %eax, %ecx
jl 0x26c33
movl %eax, %r13d
movslq %r13d, %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, %r13d
pushq $0x1
popq %rax
cmovgel %r13d, %eax
leal 0x1(%r13), %ecx
movq 0x18(%rsp), %rsi
movl %esi, %edx
cmpl %ecx, %esi
jl 0x26c73
movl %ecx, %edx
movq 0x60(%rsp), %rsi
movsd -0x8(%rsi,%rax,8), %xmm7
movslq %r13d, %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 0xbfa8d(%rip), %xmm2    # 0xe6738
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 0xbe563(%rip), %xmm4    # 0xe5230
mulpd 0x80(%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 0xc1b71(%rip), %xmm2    # 0xe8870
addpd %xmm4, %xmm2
movapd %xmm3, %xmm4
unpcklpd %xmm3, %xmm4            # xmm4 = xmm4[0],xmm3[0]
mulpd 0xc1b6d(%rip), %xmm4    # 0xe8880
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
cvtsi2sdl 0x4(%rsp), %xmm1
mulsd %xmm2, %xmm1
movsd %xmm1, (%rbx,%rbp,8)
incq %rbp
jmp 0x26b27
xorl %eax, %eax
addq $0xd8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq