// File: /workspace/github_c_makefile_star2_O3/PoulinV[P]AxiCLASS/build/../tools/hyperspherical.c
// Function: hyperspherical_Hermite3_interpolation_vector_PhidPhi
int hyperspherical_Hermite3_interpolation_vector_PhidPhi(HyperInterpStruct *pHIS,
                                                         int nxi,
                                                         int lnum,
                                                         double * xinterp,
                                                         double * Phi,
                                                         double * dPhi,
                                                         ErrorMsg error_message) {
#undef HERMITE_DO_PHI
#undef HERMITE_DO_DPHI
#undef HERMITE_DO_D2PHI
#define HERMITE_DO_PHI
#define HERMITE_DO_DPHI
#include "hermite3_interpolation_csource.h"
  return _SUCCESS_;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x118, %rsp            # imm = 0x118
movq %rcx, %rbp
movq 0x20(%rdi), %rax
movslq %edx, %rcx
movq %rcx, %rdx
movl (%rax,%rcx,4), %eax
movl %eax, 0xc(%rsp)
movq 0x40(%rdi), %rax
movq %rax, 0x88(%rsp)
movq 0x48(%rdi), %rax
movq %rax, 0x80(%rsp)
movl (%rdi), %eax
movsd 0x8(%rdi), %xmm0
movsd %xmm0, 0x18(%rsp)
movl $0x1, %ecx
movl %ecx, 0x14(%rsp)
movl %ecx, 0x10(%rsp)
testl %esi, %esi
jle 0x282f6
movq %r8, %r15
movq %rdi, %r14
xorps %xmm0, %xmm0
cvtsi2sdl 0xc(%rsp), %xmm0
movsd 0xc62f4(%rip), %xmm1    # 0xee260
addsd %xmm0, %xmm1
mulsd %xmm0, %xmm1
movsd %xmm1, 0x78(%rsp)
movsd 0x18(%rsp), %xmm0
mulsd %xmm0, %xmm0
movsd %xmm0, 0x18(%rsp)
movq 0x38(%rdi), %rcx
movsd 0x10(%rdi), %xmm0
movslq 0x30(%rdi), %rdi
imulq %rdi, %rdx
shlq $0x3, %rdx
movq 0x50(%r14), %r11
addq %rdx, %r11
movq %r11, 0x20(%rsp)
addq 0x58(%r14), %rdx
movq %rdx, 0x30(%rsp)
movsd (%rcx), %xmm5
movq %rcx, 0x70(%rsp)
movsd -0x8(%rcx,%rdi,8), %xmm1
cvtsi2sd %eax, %xmm2
movsd %xmm2, 0x68(%rsp)
decq %rdi
movq %rdi, 0x28(%rsp)
movl %esi, %r12d
movapd %xmm0, 0xb0(%rsp)
unpcklpd %xmm0, %xmm0            # xmm0 = xmm0[0,0]
movapd %xmm0, 0xc0(%rsp)
xorpd %xmm4, %xmm4
xorl %ebx, %ebx
xorpd %xmm8, %xmm8
xorl %r13d, %r13d
movsd %xmm5, 0x38(%rsp)
movsd %xmm5, 0x40(%rsp)
movsd %xmm1, 0x98(%rsp)
movapd %xmm1, %xmm6
xorpd %xmm9, %xmm9
xorpd %xmm0, %xmm0
movapd %xmm0, 0x50(%rsp)
xorpd %xmm7, %xmm7
movsd %xmm5, 0x90(%rsp)
movsd (%rbp,%rbx,8), %xmm0
movsd %xmm0, 0x48(%rsp)
cmpl $0x1, (%r14)
jne 0x280fa
movsd 0x8(%r14), %xmm0
addsd 0xc6243(%rip), %xmm0    # 0xee298
cvttsd2si %xmm0, %esi
movl 0xc(%rsp), %edi
leaq 0x48(%rsp), %rdx
leaq 0x14(%rsp), %rcx
leaq 0x10(%rsp), %r8
movq %rbx, 0xa8(%rsp)
movq %r14, %rbx
movq %r9, %r14
movsd %xmm6, 0xa0(%rsp)
movapd %xmm7, 0x100(%rsp)
movapd %xmm8, 0xf0(%rsp)
movapd %xmm4, 0xe0(%rsp)
movapd %xmm9, 0xd0(%rsp)
callq 0x2405c
movapd 0xd0(%rsp), %xmm9
movapd 0xe0(%rsp), %xmm4
movapd 0xf0(%rsp), %xmm8
movapd 0x100(%rsp), %xmm7
movsd 0xa0(%rsp), %xmm6
movsd 0x90(%rsp), %xmm5
movq %r14, %r9
movq %rbx, %r14
movq 0xa8(%rsp), %rbx
movsd 0x48(%rsp), %xmm0
ucomisd %xmm0, %xmm5
ja 0x28130
ucomisd 0x98(%rsp), %xmm0
ja 0x28130
ucomisd 0x40(%rsp), %xmm0
ja 0x2811d
ucomisd %xmm0, %xmm6
jbe 0x2827d
ucomisd 0x38(%rsp), %xmm0
ja 0x28141
ucomisd %xmm0, %xmm6
ja 0x28141
incl %r13d
jmp 0x2818c
movq $0x0, (%r15,%rbx,8)
xorpd %xmm0, %xmm0
jmp 0x282e4
movapd %xmm0, %xmm1
subsd %xmm5, %xmm1
divsd 0xb0(%rsp), %xmm1
cvttsd2si %xmm1, %eax
testl %eax, %eax
jg 0x2815c
xorl %eax, %eax
incl %eax
movq 0x28(%rsp), %rcx
movl %ecx, %r13d
cmpl %eax, %ecx
jl 0x2816d
movl %eax, %r13d
movslq %r13d, %rax
movq 0x30(%rsp), %rcx
movsd -0x8(%rcx,%rax,8), %xmm1
movq 0x20(%rsp), %rcx
movhpd -0x8(%rcx,%rax,8), %xmm1 # xmm1 = xmm1[0],mem[0]
movapd %xmm1, 0x50(%rsp)
cmpl $0x2, %r13d
movl $0x1, %eax
cmovgel %r13d, %eax
leal 0x1(%r13), %edx
movq 0x28(%rsp), %rsi
movl %esi, %ecx
cmpl %edx, %esi
jl 0x281aa
movl %edx, %ecx
movq 0x70(%rsp), %rsi
movsd -0x8(%rsi,%rax,8), %xmm6
movslq %r13d, %rdx
movsd (%rsi,%rdx,8), %xmm1
movsd %xmm1, 0x40(%rsp)
movslq %ecx, %rax
movq 0x20(%rsp), %rcx
movsd (%rcx,%rdx,8), %xmm3
movq 0x30(%rsp), %rcx
movsd (%rcx,%rdx,8), %xmm1
movq 0x88(%rsp), %rcx
movsd (%rcx,%rdx,8), %xmm2
mulsd %xmm2, %xmm2
movsd 0x78(%rsp), %xmm4
divsd %xmm2, %xmm4
subsd 0x18(%rsp), %xmm4
addsd 0x68(%rsp), %xmm4
movapd %xmm1, %xmm7
mulsd 0xc7553(%rip), %xmm7    # 0xef760
mulsd %xmm3, %xmm4
movq 0x80(%rsp), %rcx
mulsd (%rcx,%rdx,8), %xmm7
addsd %xmm4, %xmm7
movapd 0x50(%rsp), %xmm4
movapd %xmm4, %xmm2
mulpd 0xc970c(%rip), %xmm2    # 0xf1940
unpcklpd %xmm1, %xmm7            # xmm7 = xmm7[0],xmm1[0]
mulpd 0xc0(%rsp), %xmm7
subpd %xmm7, %xmm2
unpcklpd %xmm3, %xmm1            # xmm1 = xmm1[0],xmm3[0]
addpd %xmm4, %xmm7
subpd %xmm1, %xmm7
movapd %xmm4, %xmm8
movapd %xmm4, %xmm9
movapd %xmm1, 0x50(%rsp)
movapd %xmm1, %xmm4
addpd %xmm1, %xmm4
addpd %xmm2, %xmm4
movsd (%rsi,%rax,8), %xmm1
movsd %xmm1, 0x38(%rsp)
unpckhpd %xmm8, %xmm8            # xmm8 = xmm8[1,1]
subsd %xmm6, %xmm0
divsd 0xb0(%rsp), %xmm0
movapd %xmm0, %xmm1
mulsd %xmm0, %xmm1
movapd %xmm4, %xmm2
unpckhpd %xmm4, %xmm2            # xmm2 = xmm2[1],xmm4[1]
mulsd %xmm0, %xmm2
addsd %xmm8, %xmm2
movapd %xmm7, %xmm3
unpckhpd %xmm7, %xmm3            # xmm3 = xmm3[1],xmm7[1]
mulsd %xmm1, %xmm3
addsd %xmm2, %xmm3
xorps %xmm2, %xmm2
cvtsi2sdl 0x14(%rsp), %xmm2
mulsd %xmm3, %xmm2
movsd %xmm2, (%r15,%rbx,8)
mulsd %xmm4, %xmm0
addsd %xmm9, %xmm0
mulsd %xmm7, %xmm1
addsd %xmm0, %xmm1
xorps %xmm0, %xmm0
cvtsi2sdl 0x10(%rsp), %xmm0
mulsd %xmm1, %xmm0
movsd %xmm0, (%r9,%rbx,8)
incq %rbx
cmpq %rbx, %r12
jne 0x28031
xorl %eax, %eax
addq $0x118, %rsp            # imm = 0x118
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq