// File: /workspace/github_c_makefile_star2_O1/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 0x20(%rdi), %rax
movslq %edx, %rdx
movl (%rax,%rdx,4), %eax
movl %eax, 0x4(%rsp)
movq 0x40(%rdi), %rax
movq %rax, 0x88(%rsp)
movq 0x48(%rdi), %rax
movq %rax, 0x80(%rsp)
movl (%rdi), %r12d
movq %rdi, 0x38(%rsp)
movsd 0x8(%rdi), %xmm0
movsd %xmm0, 0x10(%rsp)
movl $0x1, %eax
movl %eax, 0xc(%rsp)
movl %eax, 0x8(%rsp)
testl %esi, %esi
jle 0x28492
movq %r9, %r14
movq %r8, %r15
movq %rcx, %rbp
movq %rdx, %rcx
xorps %xmm0, %xmm0
cvtsi2sdl 0x4(%rsp), %xmm0
movsd 0xc9156(%rip), %xmm1    # 0xf1260
addsd %xmm0, %xmm1
mulsd %xmm0, %xmm1
movsd %xmm1, 0x78(%rsp)
movsd 0x10(%rsp), %xmm0
mulsd %xmm0, %xmm0
movsd %xmm0, 0x10(%rsp)
movq 0x38(%rsp), %rax
movq 0x38(%rax), %rdx
movsd 0x10(%rax), %xmm0
movslq 0x30(%rax), %rdi
imulq %rdi, %rcx
shlq $0x3, %rcx
movq 0x50(%rax), %rbx
addq %rcx, %rbx
movq %rbx, 0x18(%rsp)
addq 0x58(%rax), %rcx
movq %rcx, 0x28(%rsp)
movsd (%rdx), %xmm5
movq %rdx, 0x70(%rsp)
movsd -0x8(%rdx,%rdi,8), %xmm1
cvtsi2sd %r12d, %xmm2
movsd %xmm2, 0x68(%rsp)
decq %rdi
movq %rdi, 0x20(%rsp)
movl %esi, %edi
movapd %xmm0, 0xb0(%rsp)
unpcklpd %xmm0, %xmm0            # xmm0 = xmm0[0,0]
movapd %xmm0, 0xc0(%rsp)
xorpd %xmm4, %xmm4
xorl %r13d, %r13d
xorpd %xmm8, %xmm8
xorl %ebx, %ebx
movsd %xmm5, 0x30(%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,%r13,8), %xmm0
movsd %xmm0, 0x48(%rsp)
cmpl $0x1, %r12d
jne 0x28296
movq 0x38(%rsp), %rax
movsd 0x8(%rax), %xmm0
addsd 0xc909b(%rip), %xmm0    # 0xf1298
cvttsd2si %xmm0, %esi
movq %rbx, 0xa8(%rsp)
movq %rdi, %rbx
movl 0x4(%rsp), %edi
leaq 0x48(%rsp), %rdx
leaq 0xc(%rsp), %rcx
leaq 0x8(%rsp), %r8
movsd %xmm6, 0xa0(%rsp)
movapd %xmm7, 0x100(%rsp)
movapd %xmm8, 0xf0(%rsp)
movapd %xmm4, 0xe0(%rsp)
movapd %xmm9, 0xd0(%rsp)
callq 0x241c1
movapd 0xd0(%rsp), %xmm9
movapd 0xe0(%rsp), %xmm4
movapd 0xf0(%rsp), %xmm8
movapd 0x100(%rsp), %xmm7
movsd 0xa0(%rsp), %xmm6
movq %rbx, %rdi
movq 0xa8(%rsp), %rbx
movsd 0x90(%rsp), %xmm5
movsd 0x48(%rsp), %xmm0
ucomisd %xmm0, %xmm5
ja 0x282d1
ucomisd 0x98(%rsp), %xmm0
ja 0x282d1
ucomisd 0x40(%rsp), %xmm0
ja 0x282bf
ucomisd %xmm0, %xmm6
jbe 0x28419
ucomisd 0x30(%rsp), %xmm0
ja 0x282e2
ucomisd %xmm0, %xmm6
ja 0x282e2
incl %ebx
jmp 0x2832b
movq $0x0, (%r15,%r13,8)
xorpd %xmm0, %xmm0
jmp 0x28480
movapd %xmm0, %xmm1
subsd %xmm5, %xmm1
divsd 0xb0(%rsp), %xmm1
cvttsd2si %xmm1, %eax
testl %eax, %eax
jg 0x282fd
xorl %eax, %eax
incl %eax
movq 0x20(%rsp), %rcx
movl %ecx, %ebx
cmpl %eax, %ecx
jl 0x2830c
movl %eax, %ebx
movslq %ebx, %rax
movq 0x28(%rsp), %rcx
movsd -0x8(%rcx,%rax,8), %xmm1
movq 0x18(%rsp), %rcx
movhpd -0x8(%rcx,%rax,8), %xmm1 # xmm1 = xmm1[0],mem[0]
movapd %xmm1, 0x50(%rsp)
cmpl $0x2, %ebx
movl $0x1, %eax
cmovgel %ebx, %eax
leal 0x1(%rbx), %edx
movq 0x20(%rsp), %rsi
movl %esi, %ecx
cmpl %edx, %esi
jl 0x28346
movl %edx, %ecx
movq 0x70(%rsp), %rsi
movsd -0x8(%rsi,%rax,8), %xmm6
movslq %ebx, %rdx
movsd (%rsi,%rdx,8), %xmm1
movsd %xmm1, 0x40(%rsp)
movslq %ecx, %rax
movq 0x18(%rsp), %rcx
movsd (%rcx,%rdx,8), %xmm3
movq 0x28(%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 0x10(%rsp), %xmm4
addsd 0x68(%rsp), %xmm4
movapd %xmm1, %xmm7
mulsd 0xca3af(%rip), %xmm7    # 0xf2758
mulsd %xmm3, %xmm4
movq 0x80(%rsp), %rcx
mulsd (%rcx,%rdx,8), %xmm7
addsd %xmm4, %xmm7
movapd 0x50(%rsp), %xmm4
movapd %xmm4, %xmm2
mulpd 0xcc560(%rip), %xmm2    # 0xf4930
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, 0x30(%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 0xc(%rsp), %xmm2
mulsd %xmm3, %xmm2
movsd %xmm2, (%r15,%r13,8)
mulsd %xmm4, %xmm0
addsd %xmm9, %xmm0
mulsd %xmm7, %xmm1
addsd %xmm0, %xmm1
xorps %xmm0, %xmm0
cvtsi2sdl 0x8(%rsp), %xmm0
mulsd %xmm1, %xmm0
movsd %xmm0, (%r14,%r13,8)
incq %r13
cmpq %r13, %rdi
jne 0x281d4
xorl %eax, %eax
addq $0x118, %rsp            # imm = 0x118
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq