// File: /workspace/github_c_makefile_star2_O2/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 $0x108, %rsp            # imm = 0x108
movq %r8, %r15
movq %rcx, %r12
movq 0x20(%rdi), %rax
movslq %edx, %rcx
movl (%rax,%rcx,4), %eax
movq 0x40(%rdi), %rdx
movq %rdx, 0x80(%rsp)
movl %eax, 0xc(%rsp)
cvtsi2sd %eax, %xmm0
movq 0x48(%rdi), %rax
movq %rax, 0x78(%rsp)
movsd 0xbfb2e(%rip), %xmm1    # 0xe5260
addsd %xmm0, %xmm1
mulsd %xmm0, %xmm1
movsd %xmm1, 0x70(%rsp)
movsd 0x8(%rdi), %xmm0
mulsd %xmm0, %xmm0
movsd %xmm0, 0x68(%rsp)
cvtsi2sdl (%rdi), %xmm0
movsd %xmm0, 0x60(%rsp)
pushq $0x1
popq %rax
leaq 0x8(%rsp), %rdx
movl %eax, (%rdx)
leaq 0x4(%rsp), %rdx
movl %eax, (%rdx)
movq 0x38(%rdi), %rax
movsd 0x10(%rdi), %xmm0
movslq 0x30(%rdi), %rdx
imulq %rdx, %rcx
shlq $0x3, %rcx
movq 0x50(%rdi), %r11
addq %rcx, %r11
movq %r11, 0x10(%rsp)
addq 0x58(%rdi), %rcx
movq %rcx, 0x20(%rsp)
movsd -0x8(%rax,%rdx,8), %xmm1
decq %rdx
movq %rdx, 0x18(%rsp)
xorl %r13d, %r13d
testl %esi, %esi
cmovlel %r13d, %esi
movq %rax, 0x58(%rsp)
movsd (%rax), %xmm5
movapd %xmm0, 0xb0(%rsp)
unpcklpd %xmm0, %xmm0            # xmm0 = xmm0[0,0]
movapd %xmm0, 0xc0(%rsp)
xorpd %xmm8, %xmm8
xorpd %xmm4, %xmm4
movsd %xmm1, 0x98(%rsp)
movapd %xmm1, %xmm6
movsd %xmm5, 0x30(%rsp)
movsd %xmm5, 0x28(%rsp)
xorpd %xmm9, %xmm9
xorl %ebp, %ebp
xorpd %xmm0, %xmm0
movapd %xmm0, 0x40(%rsp)
xorpd %xmm7, %xmm7
movsd %xmm5, 0x90(%rsp)
movq %rsi, 0x88(%rsp)
cmpq %r13, %rsi
je 0x25ac3
movsd (%r12,%r13,8), %xmm0
movsd %xmm0, 0x38(%rsp)
cmpl $0x1, (%rdi)
jne 0x258da
movsd 0x8(%rdi), %xmm0
addsd 0xbfa5b(%rip), %xmm0    # 0xe5298
cvttsd2si %xmm0, %esi
movq %rdi, %rbx
movl 0xc(%rsp), %edi
leaq 0x38(%rsp), %rdx
leaq 0x8(%rsp), %rcx
leaq 0x4(%rsp), %r8
movq %r9, %r14
movsd %xmm6, 0xa8(%rsp)
movapd %xmm7, 0xf0(%rsp)
movsd %xmm4, 0xa0(%rsp)
movapd %xmm8, 0xe0(%rsp)
movapd %xmm9, 0xd0(%rsp)
callq 0x21cc3
movapd 0xd0(%rsp), %xmm9
movapd 0xe0(%rsp), %xmm8
movsd 0xa0(%rsp), %xmm4
movapd 0xf0(%rsp), %xmm7
movsd 0xa8(%rsp), %xmm6
movsd 0x90(%rsp), %xmm5
movq %rbx, %rdi
movq 0x88(%rsp), %rsi
movq %r14, %r9
movsd 0x38(%rsp), %xmm0
ucomisd %xmm0, %xmm5
ja 0x2590f
ucomisd 0x98(%rsp), %xmm0
ja 0x2590f
ucomisd 0x30(%rsp), %xmm0
ja 0x258fd
ucomisd %xmm0, %xmm6
jbe 0x25a52
ucomisd 0x28(%rsp), %xmm0
ja 0x2591d
ucomisd %xmm0, %xmm6
ja 0x2591d
incl %ebp
jmp 0x25966
andq $0x0, (%r15,%r13,8)
xorpd %xmm0, %xmm0
jmp 0x25ab5
movapd %xmm0, %xmm1
subsd %xmm5, %xmm1
divsd 0xb0(%rsp), %xmm1
cvttsd2si %xmm1, %eax
testl %eax, %eax
jg 0x25938
xorl %eax, %eax
incl %eax
movq 0x18(%rsp), %rcx
movl %ecx, %ebp
cmpl %eax, %ecx
jl 0x25947
movl %eax, %ebp
movslq %ebp, %rax
movq 0x20(%rsp), %rcx
movsd -0x8(%rcx,%rax,8), %xmm1
movq 0x10(%rsp), %rcx
movhpd -0x8(%rcx,%rax,8), %xmm1 # xmm1 = xmm1[0],mem[0]
movapd %xmm1, 0x40(%rsp)
cmpl $0x2, %ebp
pushq $0x1
popq %rax
cmovgel %ebp, %eax
leal 0x1(%rbp), %edx
movq 0x18(%rsp), %r11
movl %r11d, %ecx
cmpl %edx, %r11d
jl 0x25981
movl %edx, %ecx
movq 0x58(%rsp), %r11
movsd -0x8(%r11,%rax,8), %xmm6
movslq %ebp, %rdx
movsd (%r11,%rdx,8), %xmm1
movsd %xmm1, 0x30(%rsp)
movslq %ecx, %rax
movq 0x10(%rsp), %rcx
movsd (%rcx,%rdx,8), %xmm3
movq 0x20(%rsp), %rcx
movsd (%rcx,%rdx,8), %xmm1
movq 0x80(%rsp), %rcx
movsd (%rcx,%rdx,8), %xmm2
mulsd %xmm2, %xmm2
movsd 0x70(%rsp), %xmm4
divsd %xmm2, %xmm4
subsd 0x68(%rsp), %xmm4
addsd 0x60(%rsp), %xmm4
movapd %xmm1, %xmm7
mulsd 0xc0d52(%rip), %xmm7    # 0xe6738
mulsd %xmm3, %xmm4
movq 0x78(%rsp), %rcx
mulsd (%rcx,%rdx,8), %xmm7
addsd %xmm4, %xmm7
movapd 0x40(%rsp), %xmm4
movapd %xmm4, %xmm2
mulpd 0xc2e56(%rip), %xmm2    # 0xe8860
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, %xmm9
movapd %xmm1, 0x40(%rsp)
movapd %xmm1, %xmm8
addpd %xmm1, %xmm8
addpd %xmm2, %xmm8
movsd (%r11,%rax,8), %xmm1
movsd %xmm1, 0x28(%rsp)
unpckhpd %xmm4, %xmm9            # xmm9 = xmm9[1],xmm4[1]
subsd %xmm6, %xmm0
divsd 0xb0(%rsp), %xmm0
movapd %xmm0, %xmm1
mulsd %xmm0, %xmm1
movapd %xmm8, %xmm2
unpckhpd %xmm8, %xmm2            # xmm2 = xmm2[1],xmm8[1]
mulsd %xmm0, %xmm2
addsd %xmm9, %xmm2
movapd %xmm7, %xmm3
unpckhpd %xmm7, %xmm3            # xmm3 = xmm3[1],xmm7[1]
mulsd %xmm1, %xmm3
addsd %xmm2, %xmm3
cvtsi2sdl 0x8(%rsp), %xmm2
mulsd %xmm3, %xmm2
movsd %xmm2, (%r15,%r13,8)
mulsd %xmm8, %xmm0
addsd %xmm4, %xmm0
mulsd %xmm7, %xmm1
addsd %xmm0, %xmm1
cvtsi2sdl 0x4(%rsp), %xmm0
mulsd %xmm1, %xmm0
movsd %xmm0, (%r9,%r13,8)
incq %r13
jmp 0x25812
xorl %eax, %eax
addq $0x108, %rsp            # imm = 0x108
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq