// File: /workspace/github_c_makefile_star2_O1/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 $0x98, %rsp
movq %rdi, 0x38(%rsp)
movq 0x20(%rdi), %rax
movslq %edx, %rdx
movl (%rax,%rdx,4), %eax
movl %eax, 0x18(%rsp)
movl $0x1, %eax
movl %eax, 0xc(%rsp)
movl %eax, 0x1c(%rsp)
testl %esi, %esi
jle 0x278e8
movq %r8, %rbx
movq %rcx, %r14
movq %rdx, %rcx
movq 0x38(%rsp), %rax
movq 0x38(%rax), %rdx
movslq 0x30(%rax), %rdi
imulq %rdi, %rcx
shlq $0x3, %rcx
movq 0x50(%rax), %r8
addq %rcx, %r8
movq %r8, 0x20(%rsp)
addq 0x58(%rax), %rcx
movq %rcx, 0x60(%rsp)
movsd 0x10(%rax), %xmm3
movsd (%rdx), %xmm4
movq %rdx, 0x58(%rsp)
movsd -0x8(%rdx,%rdi,8), %xmm0
decq %rdi
movq %rdi, 0x28(%rsp)
movl (%rax), %r13d
movl %esi, %r15d
xorl %r12d, %r12d
xorpd %xmm5, %xmm5
xorpd %xmm1, %xmm1
movsd %xmm1, 0x10(%rsp)
xorl %ebp, %ebp
movsd %xmm4, 0x30(%rsp)
movsd %xmm4, 0x48(%rsp)
movsd %xmm0, 0x78(%rsp)
movapd %xmm0, %xmm6
xorpd %xmm0, %xmm0
movsd %xmm0, 0x40(%rsp)
xorpd %xmm7, %xmm7
movsd %xmm3, 0x70(%rsp)
movsd %xmm4, 0x68(%rsp)
movsd (%r14,%r12,8), %xmm0
movsd %xmm0, 0x50(%rsp)
cmpl $0x1, %r13d
jne 0x2779d
movq 0x38(%rsp), %rax
movsd 0x8(%rax), %xmm0
addsd 0xc9b59(%rip), %xmm0    # 0xf1298
cvttsd2si %xmm0, %esi
movl 0x18(%rsp), %edi
leaq 0x50(%rsp), %rdx
leaq 0xc(%rsp), %rcx
leaq 0x1c(%rsp), %r8
movsd %xmm6, 0x90(%rsp)
movsd %xmm5, 0x88(%rsp)
movsd %xmm7, 0x80(%rsp)
callq 0x241c1
movsd 0x80(%rsp), %xmm7
movsd 0x88(%rsp), %xmm5
movsd 0x90(%rsp), %xmm6
movsd 0x68(%rsp), %xmm4
movsd 0x70(%rsp), %xmm3
movsd 0x50(%rsp), %xmm0
ucomisd %xmm0, %xmm4
xorpd %xmm1, %xmm1
ja 0x278d6
ucomisd 0x78(%rsp), %xmm0
ja 0x278d6
ucomisd 0x48(%rsp), %xmm0
ja 0x277d6
ucomisd %xmm0, %xmm6
ja 0x277d6
movsd 0x40(%rsp), %xmm1
jmp 0x278a7
ucomisd 0x30(%rsp), %xmm0
ja 0x277e8
ucomisd %xmm0, %xmm6
ja 0x277e8
incl %ebp
jmp 0x27821
movapd %xmm0, %xmm1
subsd %xmm4, %xmm1
divsd %xmm3, %xmm1
cvttsd2si %xmm1, %eax
testl %eax, %eax
jg 0x277fe
xorl %eax, %eax
incl %eax
movq 0x28(%rsp), %rcx
movl %ecx, %ebp
cmpl %eax, %ecx
jl 0x2780d
movl %eax, %ebp
movslq %ebp, %rax
movq 0x20(%rsp), %rcx
movsd -0x8(%rcx,%rax,8), %xmm1
movsd %xmm1, 0x10(%rsp)
cmpl $0x2, %ebp
movl $0x1, %eax
cmovgel %ebp, %eax
leal 0x1(%rbp), %edx
movq 0x28(%rsp), %rsi
movl %esi, %ecx
cmpl %edx, %esi
jl 0x2783c
movl %edx, %ecx
movq 0x58(%rsp), %rdx
movsd -0x8(%rdx,%rax,8), %xmm6
movslq %ebp, %rax
movsd (%rdx,%rax,8), %xmm1
movsd %xmm1, 0x48(%rsp)
movslq %ecx, %rcx
movsd (%rdx,%rcx,8), %xmm1
movsd %xmm1, 0x30(%rsp)
movq 0x20(%rsp), %rcx
movsd (%rcx,%rax,8), %xmm1
movsd 0x10(%rsp), %xmm5
movapd %xmm5, %xmm2
mulsd 0xcaed9(%rip), %xmm2    # 0xf2758
movq 0x60(%rsp), %rcx
movsd (%rcx,%rax,8), %xmm7
mulsd %xmm3, %xmm7
subsd %xmm7, %xmm2
addsd %xmm5, %xmm7
subsd %xmm1, %xmm7
movsd %xmm1, 0x10(%rsp)
addsd %xmm1, %xmm1
addsd %xmm2, %xmm1
subsd %xmm6, %xmm0
divsd %xmm3, %xmm0
movsd %xmm1, 0x40(%rsp)
mulsd %xmm0, %xmm1
mulsd %xmm0, %xmm0
addsd %xmm5, %xmm1
mulsd %xmm7, %xmm0
addsd %xmm1, %xmm0
xorps %xmm1, %xmm1
cvtsi2sdl 0xc(%rsp), %xmm1
mulsd %xmm0, %xmm1
movsd %xmm1, (%rbx,%r12,8)
incq %r12
cmpq %r12, %r15
jne 0x2771b
xorl %eax, %eax
addq $0x98, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq