// File: /workspace/github_c_makefile_star2_O3/PoulinV[P]AxiCLASS/build/../tools/hyperspherical.c
// Function: hyperspherical_Hermite3_interpolation_vector_Phi
int hyperspherical_Hermite3_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 "hermite3_interpolation_csource.h"
  return _SUCCESS_;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x88, %rsp
movq 0x20(%rdi), %rax
movslq %edx, %rdx
movl (%rax,%rdx,4), %eax
movl %eax, 0x10(%rsp)
movl $0x1, %eax
movl %eax, 0x4(%rsp)
movl %eax, 0x14(%rsp)
testl %esi, %esi
jle 0x27770
movq %r8, %rbx
movq %rcx, %r14
movq %rdi, %r15
movq %rdx, %rcx
movq 0x38(%rdi), %rax
movsd 0x10(%rdi), %xmm3
movslq 0x30(%rdi), %rdx
imulq %rdx, %rcx
shlq $0x3, %rcx
movq 0x50(%rdi), %rdi
addq %rcx, %rdi
movq %rdi, 0x18(%rsp)
addq 0x58(%r15), %rcx
movq %rcx, 0x50(%rsp)
movsd (%rax), %xmm4
movq %rax, 0x48(%rsp)
movsd -0x8(%rax,%rdx,8), %xmm0
decq %rdx
movq %rdx, 0x20(%rsp)
movl %esi, %r13d
xorl %r12d, %r12d
xorpd %xmm5, %xmm5
xorpd %xmm1, %xmm1
movsd %xmm1, 0x8(%rsp)
xorl %ebp, %ebp
movsd %xmm4, 0x28(%rsp)
movsd %xmm4, 0x38(%rsp)
movsd %xmm0, 0x68(%rsp)
movapd %xmm0, %xmm6
xorpd %xmm0, %xmm0
movsd %xmm0, 0x30(%rsp)
xorpd %xmm7, %xmm7
movsd %xmm3, 0x60(%rsp)
movsd %xmm4, 0x58(%rsp)
movsd (%r14,%r12,8), %xmm0
movsd %xmm0, 0x40(%rsp)
cmpl $0x1, (%r15)
jne 0x2762b
movsd 0x8(%r15), %xmm0
addsd 0xc6cc5(%rip), %xmm0    # 0xee298
cvttsd2si %xmm0, %esi
movl 0x10(%rsp), %edi
leaq 0x40(%rsp), %rdx
leaq 0x4(%rsp), %rcx
leaq 0x14(%rsp), %r8
movsd %xmm6, 0x80(%rsp)
movsd %xmm5, 0x78(%rsp)
movsd %xmm7, 0x70(%rsp)
callq 0x2405c
movsd 0x70(%rsp), %xmm7
movsd 0x78(%rsp), %xmm5
movsd 0x80(%rsp), %xmm6
movsd 0x58(%rsp), %xmm4
movsd 0x60(%rsp), %xmm3
movsd 0x40(%rsp), %xmm0
ucomisd %xmm0, %xmm4
xorpd %xmm1, %xmm1
ja 0x2775e
ucomisd 0x68(%rsp), %xmm0
ja 0x2775e
ucomisd 0x38(%rsp), %xmm0
ja 0x2765e
ucomisd %xmm0, %xmm6
ja 0x2765e
movsd 0x30(%rsp), %xmm1
jmp 0x2772f
ucomisd 0x28(%rsp), %xmm0
ja 0x27673
ucomisd %xmm0, %xmm6
ja 0x27673
incl %ebp
movslq %ebp, %rax
jmp 0x276ac
movapd %xmm0, %xmm1
subsd %xmm4, %xmm1
divsd %xmm3, %xmm1
cvttsd2si %xmm1, %eax
testl %eax, %eax
jg 0x27689
xorl %eax, %eax
incl %eax
movq 0x20(%rsp), %rcx
movl %ecx, %ebp
cmpl %eax, %ecx
jl 0x27698
movl %eax, %ebp
movslq %ebp, %rax
movq 0x18(%rsp), %rcx
movsd -0x8(%rcx,%rax,8), %xmm1
movsd %xmm1, 0x8(%rsp)
cmpl $0x2, %ebp
movl $0x1, %ecx
cmovgel %ebp, %ecx
leal 0x1(%rbp), %esi
movq 0x20(%rsp), %rdi
movl %edi, %edx
cmpl %esi, %edi
jl 0x276c7
movl %esi, %edx
movq 0x48(%rsp), %rsi
movsd -0x8(%rsi,%rcx,8), %xmm6
movsd (%rsi,%rax,8), %xmm1
movsd %xmm1, 0x38(%rsp)
movslq %edx, %rcx
movsd (%rsi,%rcx,8), %xmm1
movsd %xmm1, 0x28(%rsp)
movq 0x18(%rsp), %rcx
movsd (%rcx,%rax,8), %xmm1
movsd 0x8(%rsp), %xmm5
movapd %xmm5, %xmm2
mulsd 0xc8059(%rip), %xmm2    # 0xef760
movq 0x50(%rsp), %rcx
movsd (%rcx,%rax,8), %xmm7
mulsd %xmm3, %xmm7
subsd %xmm7, %xmm2
addsd %xmm5, %xmm7
subsd %xmm1, %xmm7
movsd %xmm1, 0x8(%rsp)
addsd %xmm1, %xmm1
addsd %xmm2, %xmm1
subsd %xmm6, %xmm0
divsd %xmm3, %xmm0
movsd %xmm1, 0x30(%rsp)
mulsd %xmm0, %xmm1
mulsd %xmm0, %xmm0
addsd %xmm5, %xmm1
mulsd %xmm7, %xmm0
addsd %xmm1, %xmm0
xorps %xmm1, %xmm1
cvtsi2sdl 0x4(%rsp), %xmm1
mulsd %xmm0, %xmm1
movsd %xmm1, (%rbx,%r12,8)
incq %r12
cmpq %r12, %r13
jne 0x275b3
xorl %eax, %eax
addq $0x88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq