// File: /workspace/github_c_makefile_star2_O3/PoulinV[P]AxiCLASS/build/../tools/hyperspherical.c
// Function: hyperspherical_Hermite3_interpolation_vector_dPhi
int hyperspherical_Hermite3_interpolation_vector_dPhi(HyperInterpStruct *pHIS,
                                                      int nxi,
                                                      int lnum,
                                                      double * xinterp,
                                                      double * dPhi,
                                                      ErrorMsg error_message) {
#undef HERMITE_DO_PHI
#undef HERMITE_DO_DPHI
#undef HERMITE_DO_D2PHI
#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 $0xb8, %rsp
movq %rcx, %r14
movq 0x20(%rdi), %rax
movslq %edx, %rcx
movq %rcx, %rdx
movl (%rax,%rcx,4), %eax
movl %eax, 0x8(%rsp)
movq 0x40(%rdi), %rax
movq %rax, 0x78(%rsp)
movq 0x48(%rdi), %rax
movq %rax, 0x70(%rsp)
movl (%rdi), %eax
movsd 0x8(%rdi), %xmm0
movsd %xmm0, 0x10(%rsp)
movl $0x1, %ecx
movl %ecx, 0x1c(%rsp)
movl %ecx, 0xc(%rsp)
testl %esi, %esi
jle 0x27ad7
movq %r8, %rbx
movq %rdi, %r15
xorps %xmm0, %xmm0
cvtsi2sdl 0x8(%rsp), %xmm0
movsd 0xc6a6c(%rip), %xmm1    # 0xee260
addsd %xmm0, %xmm1
mulsd %xmm0, %xmm1
movsd %xmm1, 0x68(%rsp)
movsd 0x10(%rsp), %xmm0
mulsd %xmm0, %xmm0
movsd %xmm0, 0x10(%rsp)
movq 0x38(%rdi), %rcx
movsd 0x10(%rdi), %xmm3
movslq 0x30(%rdi), %rdi
imulq %rdi, %rdx
shlq $0x3, %rdx
movq 0x50(%r15), %r8
addq %rdx, %r8
movq %r8, 0x58(%rsp)
addq 0x58(%r15), %rdx
movq %rdx, 0x30(%rsp)
movsd (%rcx), %xmm4
movq %rcx, 0x60(%rsp)
movsd -0x8(%rcx,%rdi,8), %xmm0
xorps %xmm1, %xmm1
cvtsi2sd %eax, %xmm1
movsd %xmm1, 0x50(%rsp)
decq %rdi
movq %rdi, 0x28(%rsp)
movl %esi, %r13d
xorl %r12d, %r12d
xorpd %xmm1, %xmm1
movsd %xmm1, 0x20(%rsp)
xorl %ebp, %ebp
movsd %xmm4, 0x38(%rsp)
movsd %xmm4, 0x40(%rsp)
movsd %xmm0, 0x90(%rsp)
movapd %xmm0, %xmm8
xorpd %xmm2, %xmm2
xorpd %xmm9, %xmm9
xorpd %xmm6, %xmm6
movsd %xmm3, 0x88(%rsp)
movsd %xmm4, 0x80(%rsp)
movsd (%r14,%r12,8), %xmm0
movsd %xmm0, 0x48(%rsp)
cmpl $0x1, (%r15)
jne 0x2794f
movsd 0x8(%r15), %xmm0
addsd 0xc69c9(%rip), %xmm0    # 0xee298
cvttsd2si %xmm0, %esi
movl 0x8(%rsp), %edi
leaq 0x48(%rsp), %rdx
leaq 0x1c(%rsp), %rcx
leaq 0xc(%rsp), %r8
movsd %xmm6, 0xb0(%rsp)
movsd %xmm8, 0xa8(%rsp)
movsd %xmm9, 0xa0(%rsp)
movsd %xmm2, 0x98(%rsp)
callq 0x2405c
movsd 0x98(%rsp), %xmm2
movsd 0xa0(%rsp), %xmm9
movsd 0xa8(%rsp), %xmm8
movsd 0xb0(%rsp), %xmm6
movsd 0x80(%rsp), %xmm4
movsd 0x88(%rsp), %xmm3
movsd 0x48(%rsp), %xmm0
ucomisd %xmm0, %xmm4
xorpd %xmm1, %xmm1
ja 0x27ac5
ucomisd 0x90(%rsp), %xmm0
ja 0x27ac5
ucomisd 0x40(%rsp), %xmm0
ja 0x2797f
ucomisd %xmm0, %xmm8
jbe 0x27a96
ucomisd 0x38(%rsp), %xmm0
ja 0x2799b
ucomisd %xmm0, %xmm8
ja 0x2799b
incl %ebp
movslq %ebp, %rax
movsd 0x20(%rsp), %xmm6
jmp 0x279ce
movapd %xmm0, %xmm1
subsd %xmm4, %xmm1
divsd %xmm3, %xmm1
cvttsd2si %xmm1, %eax
testl %eax, %eax
jg 0x279b1
xorl %eax, %eax
incl %eax
movq 0x28(%rsp), %rcx
movl %ecx, %ebp
cmpl %eax, %ecx
jl 0x279c0
movl %eax, %ebp
movslq %ebp, %rax
movq 0x30(%rsp), %rcx
movsd -0x8(%rcx,%rax,8), %xmm6
cmpl $0x2, %ebp
movl $0x1, %ecx
cmovgel %ebp, %ecx
leal 0x1(%rbp), %esi
movq 0x28(%rsp), %rdi
movl %edi, %edx
cmpl %esi, %edi
jl 0x279e9
movl %esi, %edx
movq 0x60(%rsp), %rsi
movsd -0x8(%rsi,%rcx,8), %xmm8
movsd (%rsi,%rax,8), %xmm1
movsd %xmm1, 0x40(%rsp)
movslq %edx, %rcx
movsd (%rsi,%rcx,8), %xmm1
movsd %xmm1, 0x38(%rsp)
movq 0x30(%rsp), %rcx
movsd (%rcx,%rax,8), %xmm7
movq 0x78(%rsp), %rcx
movsd (%rcx,%rax,8), %xmm1
mulsd %xmm1, %xmm1
movsd 0x68(%rsp), %xmm2
divsd %xmm1, %xmm2
subsd 0x10(%rsp), %xmm2
addsd 0x50(%rsp), %xmm2
movapd %xmm7, %xmm9
movsd 0xc7d17(%rip), %xmm5    # 0xef760
mulsd %xmm5, %xmm9
movq 0x58(%rsp), %rcx
mulsd (%rcx,%rax,8), %xmm2
movq 0x70(%rsp), %rcx
mulsd (%rcx,%rax,8), %xmm9
addsd %xmm2, %xmm9
movapd %xmm6, %xmm1
mulsd %xmm5, %xmm1
mulsd %xmm3, %xmm9
subsd %xmm9, %xmm1
movapd %xmm7, %xmm2
addsd %xmm7, %xmm2
addsd %xmm1, %xmm2
addsd %xmm6, %xmm9
movsd %xmm7, 0x20(%rsp)
subsd %xmm7, %xmm9
subsd %xmm8, %xmm0
divsd %xmm3, %xmm0
movapd %xmm2, %xmm1
mulsd %xmm0, %xmm1
mulsd %xmm0, %xmm0
addsd %xmm6, %xmm1
mulsd %xmm9, %xmm0
addsd %xmm1, %xmm0
xorps %xmm1, %xmm1
cvtsi2sdl 0xc(%rsp), %xmm1
mulsd %xmm0, %xmm1
movsd %xmm1, (%rbx,%r12,8)
incq %r12
cmpq %r12, %r13
jne 0x278ab
xorl %eax, %eax
addq $0xb8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq