// File: /workspace/github_c_makefile_star2_O2/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 %r8, %rbx
movq %rcx, %r14
movl %esi, %r15d
movq %rdi, %r12
movq 0x20(%rdi), %rax
movslq %edx, %rcx
movl (%rax,%rcx,4), %eax
movq 0x40(%rdi), %rdx
movq %rdx, 0x78(%rsp)
movl %eax, 0x10(%rsp)
cvtsi2sd %eax, %xmm0
movq 0x48(%rdi), %rax
movq %rax, 0x70(%rsp)
movsd 0xc0292(%rip), %xmm1    # 0xe5260
addsd %xmm0, %xmm1
mulsd %xmm0, %xmm1
movsd %xmm1, 0x68(%rsp)
movsd 0x8(%rdi), %xmm0
mulsd %xmm0, %xmm0
movsd %xmm0, 0x60(%rsp)
cvtsi2sdl (%rdi), %xmm0
movsd %xmm0, 0x58(%rsp)
pushq $0x1
popq %rax
leaq 0x14(%rsp), %rdx
movl %eax, (%rdx)
leaq 0xc(%rsp), %rdx
movl %eax, (%rdx)
movq 0x38(%rdi), %rax
movsd 0x10(%rdi), %xmm3
movslq 0x30(%rdi), %rdx
imulq %rdx, %rcx
shlq $0x3, %rcx
movq 0x50(%rdi), %rsi
addq %rcx, %rsi
movq %rsi, 0x48(%rsp)
addq 0x58(%rdi), %rcx
movq %rcx, 0x28(%rsp)
movsd -0x8(%rax,%rdx,8), %xmm0
decq %rdx
movq %rdx, 0x20(%rsp)
xorl %ebp, %ebp
testl %r15d, %r15d
cmovlel %ebp, %r15d
movq %rax, 0x50(%rsp)
movsd (%rax), %xmm4
xorpd %xmm6, %xmm6
xorpd %xmm9, %xmm9
xorpd %xmm2, %xmm2
movsd %xmm0, 0x90(%rsp)
movapd %xmm0, %xmm7
movsd %xmm4, 0x38(%rsp)
movsd %xmm4, 0x30(%rsp)
xorpd %xmm0, %xmm0
movsd %xmm0, 0x18(%rsp)
xorl %r13d, %r13d
movsd %xmm3, 0x88(%rsp)
movsd %xmm4, 0x80(%rsp)
cmpq %rbp, %r15
je 0x252c6
movsd (%r14,%rbp,8), %xmm0
movsd %xmm0, 0x40(%rsp)
cmpl $0x1, (%r12)
jne 0x25142
movsd 0x8(%r12), %xmm0
addsd 0xc01d4(%rip), %xmm0    # 0xe5298
cvttsd2si %xmm0, %esi
movl 0x10(%rsp), %edi
leaq 0x40(%rsp), %rdx
leaq 0x14(%rsp), %rcx
leaq 0xc(%rsp), %r8
movsd %xmm6, 0xb0(%rsp)
movsd %xmm7, 0xa8(%rsp)
movsd %xmm9, 0xa0(%rsp)
movsd %xmm2, 0x98(%rsp)
callq 0x21cc3
movsd 0x98(%rsp), %xmm2
movsd 0xa0(%rsp), %xmm9
movsd 0xa8(%rsp), %xmm7
movsd 0xb0(%rsp), %xmm6
movsd 0x80(%rsp), %xmm4
movsd 0x88(%rsp), %xmm3
movsd 0x40(%rsp), %xmm0
ucomisd %xmm0, %xmm4
xorpd %xmm1, %xmm1
ja 0x252b9
ucomisd 0x90(%rsp), %xmm0
ja 0x252b9
ucomisd 0x38(%rsp), %xmm0
ja 0x25171
ucomisd %xmm0, %xmm7
jbe 0x2528e
ucomisd 0x30(%rsp), %xmm0
ja 0x2518d
ucomisd %xmm0, %xmm7
ja 0x2518d
incl %r13d
movslq %r13d, %rax
movsd 0x18(%rsp), %xmm6
jmp 0x251c2
movapd %xmm0, %xmm1
subsd %xmm4, %xmm1
divsd %xmm3, %xmm1
cvttsd2si %xmm1, %eax
testl %eax, %eax
jg 0x251a3
xorl %eax, %eax
incl %eax
movq 0x20(%rsp), %rcx
movl %ecx, %r13d
cmpl %eax, %ecx
jl 0x251b4
movl %eax, %r13d
movslq %r13d, %rax
movq 0x28(%rsp), %rcx
movsd -0x8(%rcx,%rax,8), %xmm6
cmpl $0x2, %r13d
pushq $0x1
popq %rcx
cmovgel %r13d, %ecx
leal 0x1(%r13), %esi
movq 0x20(%rsp), %rdi
movl %edi, %edx
cmpl %esi, %edi
jl 0x251de
movl %esi, %edx
movq 0x50(%rsp), %rsi
movsd -0x8(%rsi,%rcx,8), %xmm7
movsd (%rsi,%rax,8), %xmm1
movsd %xmm1, 0x38(%rsp)
movslq %edx, %rcx
movsd (%rsi,%rcx,8), %xmm1
movsd %xmm1, 0x30(%rsp)
movq 0x28(%rsp), %rcx
movsd (%rcx,%rax,8), %xmm8
movq 0x78(%rsp), %rcx
movsd (%rcx,%rax,8), %xmm1
mulsd %xmm1, %xmm1
movsd 0x68(%rsp), %xmm2
divsd %xmm1, %xmm2
subsd 0x60(%rsp), %xmm2
addsd 0x58(%rsp), %xmm2
movapd %xmm8, %xmm9
movsd 0xc14fa(%rip), %xmm5    # 0xe6738
mulsd %xmm5, %xmm9
movq 0x48(%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 %xmm8, %xmm2
addsd %xmm8, %xmm2
addsd %xmm1, %xmm2
addsd %xmm6, %xmm9
movsd %xmm8, 0x18(%rsp)
subsd %xmm8, %xmm9
subsd %xmm7, %xmm0
divsd %xmm3, %xmm0
movapd %xmm2, %xmm1
mulsd %xmm0, %xmm1
mulsd %xmm0, %xmm0
addsd %xmm6, %xmm1
mulsd %xmm9, %xmm0
addsd %xmm1, %xmm0
cvtsi2sdl 0xc(%rsp), %xmm1
mulsd %xmm0, %xmm1
movsd %xmm1, (%rbx,%rbp,8)
incq %rbp
jmp 0x25095
xorl %eax, %eax
addq $0xb8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq