// File: /workspace/github_c_makefile_star2_O2/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 %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, 0x10(%rsp)
pushq $0x1
popq %rax
leaq 0x4(%rsp), %rdx
movl %eax, (%rdx)
leaq 0x14(%rsp), %rdx
movl %eax, (%rdx)
movq 0x38(%rdi), %rax
movsd 0x10(%rdi), %xmm3
movslq 0x30(%rdi), %rdx
imulq %rdx, %rcx
shlq $0x3, %rcx
movq 0x50(%rdi), %rsi
addq %rcx, %rsi
movq %rsi, 0x18(%rsp)
addq 0x58(%rdi), %rcx
movq %rcx, 0x48(%rsp)
movsd -0x8(%rax,%rdx,8), %xmm0
decq %rdx
movq %rdx, 0x20(%rsp)
xorl %ebp, %ebp
testl %r15d, %r15d
cmovlel %ebp, %r15d
movq %rax, 0x40(%rsp)
movsd (%rax), %xmm4
xorpd %xmm7, %xmm7
xorpd %xmm5, %xmm5
movsd %xmm0, 0x60(%rsp)
movapd %xmm0, %xmm6
movsd %xmm4, 0x30(%rsp)
movsd %xmm4, 0x28(%rsp)
xorl %r13d, %r13d
xorpd %xmm0, %xmm0
movsd %xmm0, 0x8(%rsp)
xorpd %xmm8, %xmm8
movsd %xmm3, 0x58(%rsp)
movsd %xmm4, 0x50(%rsp)
cmpq %rbp, %r15
je 0x24f71
movsd (%r14,%rbp,8), %xmm0
movsd %xmm0, 0x38(%rsp)
cmpl $0x1, (%r12)
jne 0x24e2f
movsd 0x8(%r12), %xmm0
addsd 0xc04cf(%rip), %xmm0    # 0xe5298
cvttsd2si %xmm0, %esi
movl 0x10(%rsp), %edi
leaq 0x38(%rsp), %rdx
leaq 0x4(%rsp), %rcx
leaq 0x14(%rsp), %r8
movsd %xmm6, 0x80(%rsp)
movsd %xmm7, 0x78(%rsp)
movsd %xmm5, 0x70(%rsp)
movsd %xmm8, 0x68(%rsp)
callq 0x21cc3
movsd 0x68(%rsp), %xmm8
movsd 0x70(%rsp), %xmm5
movsd 0x78(%rsp), %xmm7
movsd 0x80(%rsp), %xmm6
movsd 0x50(%rsp), %xmm4
movsd 0x58(%rsp), %xmm3
movsd 0x38(%rsp), %xmm0
ucomisd %xmm0, %xmm4
xorpd %xmm1, %xmm1
ja 0x24f64
ucomisd 0x60(%rsp), %xmm0
ja 0x24f64
ucomisd 0x30(%rsp), %xmm0
ja 0x24e5b
ucomisd %xmm0, %xmm6
jbe 0x24f39
ucomisd 0x28(%rsp), %xmm0
ja 0x24e71
ucomisd %xmm0, %xmm6
ja 0x24e71
incl %r13d
movslq %r13d, %rax
jmp 0x24eac
movapd %xmm0, %xmm1
subsd %xmm4, %xmm1
divsd %xmm3, %xmm1
cvttsd2si %xmm1, %eax
testl %eax, %eax
jg 0x24e87
xorl %eax, %eax
incl %eax
movq 0x20(%rsp), %rcx
movl %ecx, %r13d
cmpl %eax, %ecx
jl 0x24e98
movl %eax, %r13d
movslq %r13d, %rax
movq 0x18(%rsp), %rcx
movsd -0x8(%rcx,%rax,8), %xmm1
movsd %xmm1, 0x8(%rsp)
cmpl $0x2, %r13d
pushq $0x1
popq %rcx
cmovgel %r13d, %ecx
leal 0x1(%r13), %esi
movq 0x20(%rsp), %rdi
movl %edi, %edx
cmpl %esi, %edi
jl 0x24ec8
movl %esi, %edx
movq 0x40(%rsp), %rsi
movsd -0x8(%rsi,%rcx,8), %xmm6
movsd (%rsi,%rax,8), %xmm1
movsd %xmm1, 0x30(%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 0xc1830(%rip), %xmm2    # 0xe6738
movq 0x48(%rsp), %rcx
movsd (%rcx,%rax,8), %xmm7
mulsd %xmm3, %xmm7
subsd %xmm7, %xmm2
addsd %xmm5, %xmm7
subsd %xmm1, %xmm7
movapd %xmm5, %xmm8
movsd %xmm1, 0x8(%rsp)
movapd %xmm1, %xmm5
addsd %xmm1, %xmm5
addsd %xmm2, %xmm5
subsd %xmm6, %xmm0
divsd %xmm3, %xmm0
movapd %xmm5, %xmm1
mulsd %xmm0, %xmm1
mulsd %xmm0, %xmm0
addsd %xmm8, %xmm1
mulsd %xmm7, %xmm0
addsd %xmm1, %xmm0
cvtsi2sdl 0x4(%rsp), %xmm1
mulsd %xmm0, %xmm1
movsd %xmm1, (%rbx,%rbp,8)
incq %rbp
jmp 0x24d9e
xorl %eax, %eax
addq $0x88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq