// File: /workspace/github_c_makefile_star2_O1/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 0x20(%rdi), %rax
movslq %edx, %rdx
movl (%rax,%rdx,4), %eax
movl %eax, (%rsp)
movq 0x40(%rdi), %rax
movq %rax, 0x78(%rsp)
movq 0x48(%rdi), %rax
movq %rax, 0x70(%rsp)
movl (%rdi), %r12d
movq %rdi, 0x38(%rsp)
movsd 0x8(%rdi), %xmm0
movsd %xmm0, 0x8(%rsp)
movl $0x1, %eax
movl %eax, 0x14(%rsp)
movl %eax, 0x4(%rsp)
testl %esi, %esi
jle 0x27c5f
movq %r8, %rbx
movq %rcx, %r14
movq %rdx, %rcx
xorps %xmm0, %xmm0
cvtsi2sdl (%rsp), %xmm0
movsd 0xc98f3(%rip), %xmm1    # 0xf1260
addsd %xmm0, %xmm1
mulsd %xmm0, %xmm1
movsd %xmm1, 0x68(%rsp)
movsd 0x8(%rsp), %xmm0
mulsd %xmm0, %xmm0
movsd %xmm0, 0x8(%rsp)
movq 0x38(%rsp), %rax
movq 0x38(%rax), %rdx
movsd 0x10(%rax), %xmm3
movslq 0x30(%rax), %rdi
imulq %rdi, %rcx
shlq $0x3, %rcx
movq 0x50(%rax), %r8
addq %rcx, %r8
movq %r8, 0x58(%rsp)
addq 0x58(%rax), %rcx
movq %rcx, 0x28(%rsp)
movsd (%rdx), %xmm4
movq %rdx, 0x60(%rsp)
movsd -0x8(%rdx,%rdi,8), %xmm0
xorps %xmm1, %xmm1
cvtsi2sd %r12d, %xmm1
movsd %xmm1, 0x50(%rsp)
decq %rdi
movq %rdi, 0x20(%rsp)
movl %esi, %ebp
xorl %r15d, %r15d
xorpd %xmm1, %xmm1
movsd %xmm1, 0x18(%rsp)
xorl %r13d, %r13d
movsd %xmm4, 0x30(%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,%r15,8), %xmm0
movsd %xmm0, 0x48(%rsp)
cmpl $0x1, %r12d
jne 0x27acb
movq 0x38(%rsp), %rax
movsd 0x8(%rax), %xmm0
addsd 0xc9846(%rip), %xmm0    # 0xf1298
cvttsd2si %xmm0, %esi
movl (%rsp), %edi
leaq 0x48(%rsp), %rdx
leaq 0x14(%rsp), %rcx
leaq 0x4(%rsp), %r8
movsd %xmm6, 0xb0(%rsp)
movsd %xmm8, 0xa8(%rsp)
movsd %xmm9, 0xa0(%rsp)
movsd %xmm2, 0x98(%rsp)
callq 0x241c1
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 0x27c4d
ucomisd 0x90(%rsp), %xmm0
ja 0x27c4d
ucomisd 0x40(%rsp), %xmm0
ja 0x27b01
ucomisd %xmm0, %xmm8
jbe 0x27c1e
ucomisd 0x30(%rsp), %xmm0
ja 0x27b1b
ucomisd %xmm0, %xmm8
ja 0x27b1b
incl %r13d
movsd 0x18(%rsp), %xmm6
jmp 0x27b50
movapd %xmm0, %xmm1
subsd %xmm4, %xmm1
divsd %xmm3, %xmm1
cvttsd2si %xmm1, %eax
testl %eax, %eax
jg 0x27b31
xorl %eax, %eax
incl %eax
movq 0x20(%rsp), %rcx
movl %ecx, %r13d
cmpl %eax, %ecx
jl 0x27b42
movl %eax, %r13d
movslq %r13d, %rax
movq 0x28(%rsp), %rcx
movsd -0x8(%rcx,%rax,8), %xmm6
cmpl $0x2, %r13d
movl $0x1, %eax
cmovgel %r13d, %eax
leal 0x1(%r13), %edx
movq 0x20(%rsp), %rsi
movl %esi, %ecx
cmpl %edx, %esi
jl 0x27b6e
movl %edx, %ecx
movq 0x60(%rsp), %rdx
movsd -0x8(%rdx,%rax,8), %xmm8
movslq %r13d, %rax
movsd (%rdx,%rax,8), %xmm1
movsd %xmm1, 0x40(%rsp)
movslq %ecx, %rcx
movsd (%rdx,%rcx,8), %xmm1
movsd %xmm1, 0x30(%rsp)
movq 0x28(%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 0x8(%rsp), %xmm2
addsd 0x50(%rsp), %xmm2
movapd %xmm7, %xmm9
movsd 0xcab87(%rip), %xmm5    # 0xf2758
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, 0x18(%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 0x4(%rsp), %xmm1
mulsd %xmm0, %xmm1
movsd %xmm1, (%rbx,%r15,8)
incq %r15
cmpq %r15, %rbp
jne 0x27a2a
xorl %eax, %eax
addq $0xb8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq