// File: /workspace/github_c_makefile_star2_O2/PoulinV[P]AxiCLASS/build/../tools/hyperspherical.c
// Function: hyperspherical_Hermite4_interpolation_vector_dPhi
int hyperspherical_Hermite4_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 "hermite4_interpolation_csource.h"
  return _SUCCESS_;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xf8, %rsp
movq %rcx, %r9
movq %rdi, %r13
movq 0x20(%rdi), %rax
movslq %edx, %rcx
movl (%rax,%rcx,4), %eax
movq 0x40(%rdi), %rdx
movq 0x48(%rdi), %r12
movl %eax, 0x4(%rsp)
cvtsi2sd %eax, %xmm0
movsd 0xbe494(%rip), %xmm4    # 0xe5260
addsd %xmm0, %xmm4
mulsd %xmm0, %xmm4
movsd 0x8(%rdi), %xmm5
cvtsi2sdl (%rdi), %xmm6
mulsd %xmm5, %xmm5
pushq $0x1
popq %rax
leaq 0xc(%rsp), %r11
movl %eax, (%r11)
movq %rsp, %r11
movl %eax, (%r11)
movq 0x38(%rdi), %rax
movsd 0x10(%rdi), %xmm7
movslq 0x30(%rdi), %rbx
imulq %rbx, %rcx
shlq $0x3, %rcx
movq 0x50(%rdi), %r14
addq %rcx, %r14
addq 0x58(%rdi), %rcx
movsd (%rax), %xmm8
movq %rax, 0x28(%rsp)
movsd -0x8(%rax,%rbx,8), %xmm0
decq %rbx
xorl %eax, %eax
testl %esi, %esi
cmovlel %eax, %esi
movapd %xmm7, %xmm1
unpcklpd %xmm7, %xmm1            # xmm1 = xmm1[0],xmm7[0]
movapd %xmm1, 0x80(%rsp)
xorpd %xmm15, %xmm15
xorpd %xmm10, %xmm10
movsd 0xbf8e8(%rip), %xmm9    # 0xe6738
xorpd %xmm14, %xmm14
xorpd %xmm11, %xmm11
xorl %r15d, %r15d
xorl %ebp, %ebp
movsd %xmm0, 0x68(%rsp)
movapd %xmm0, %xmm12
movsd %xmm8, 0x18(%rsp)
movsd %xmm8, 0x10(%rsp)
xorpd %xmm13, %xmm13
movq %rsi, 0x60(%rsp)
movsd %xmm4, 0x58(%rsp)
movsd %xmm5, 0x50(%rsp)
movsd %xmm6, 0x48(%rsp)
movapd %xmm7, 0x90(%rsp)
movq %rbx, 0x40(%rsp)
movq %r14, 0x38(%rsp)
movsd %xmm8, 0x30(%rsp)
cmpq %r15, %rsi
je 0x271b5
movsd (%r9,%r15,8), %xmm0
movsd %xmm0, 0x20(%rsp)
cmpl $0x1, (%r13)
jne 0x26fd2
movsd 0x8(%r13), %xmm0
addsd 0xbe3bc(%rip), %xmm0    # 0xe5298
cvttsd2si %xmm0, %esi
movl 0x4(%rsp), %edi
movl %ebp, 0x8(%rsp)
movq %rdx, %rbp
leaq 0x20(%rsp), %rdx
movq %rcx, %rbx
leaq 0xc(%rsp), %rcx
movq %r8, %r14
movq %rsp, %r8
movq %r15, 0x78(%rsp)
movq %r9, %r15
movapd %xmm10, 0xe0(%rsp)
movapd %xmm11, 0xd0(%rsp)
movsd %xmm12, 0x70(%rsp)
movapd %xmm13, 0xc0(%rsp)
movapd %xmm14, 0xb0(%rsp)
movapd %xmm15, 0xa0(%rsp)
callq 0x21cc3
movapd 0xa0(%rsp), %xmm15
movapd 0xb0(%rsp), %xmm14
movapd 0xc0(%rsp), %xmm13
movsd 0x70(%rsp), %xmm12
movapd 0xd0(%rsp), %xmm11
movapd 0xe0(%rsp), %xmm10
movsd 0xbf7b2(%rip), %xmm9    # 0xe6738
movsd 0x30(%rsp), %xmm8
movapd 0x90(%rsp), %xmm7
movsd 0x48(%rsp), %xmm6
movsd 0x50(%rsp), %xmm5
movsd 0x58(%rsp), %xmm4
movq %rbp, %rdx
movl 0x8(%rsp), %ebp
movq 0x60(%rsp), %rsi
movq %r15, %r9
movq 0x78(%rsp), %r15
movq %r14, %r8
movq 0x38(%rsp), %r14
movq %rbx, %rcx
movq 0x40(%rsp), %rbx
movsd 0x20(%rsp), %xmm0
ucomisd %xmm0, %xmm8
xorpd %xmm1, %xmm1
ja 0x271a7
ucomisd 0x68(%rsp), %xmm0
ja 0x271a7
ucomisd 0x18(%rsp), %xmm0
ja 0x27000
ucomisd %xmm0, %xmm12
jbe 0x27160
ucomisd 0x10(%rsp), %xmm0
ja 0x27013
ucomisd %xmm0, %xmm12
ja 0x27013
incl %ebp
jmp 0x27076
movapd %xmm0, %xmm1
subsd %xmm8, %xmm1
divsd %xmm7, %xmm1
cvttsd2si %xmm1, %ebp
testl %ebp, %ebp
movl $0x0, %eax
cmovlel %eax, %ebp
incl %ebp
cmpl %ebp, %ebx
cmovll %ebx, %ebp
movslq %ebp, %rax
movsd -0x8(%rcx,%rax,8), %xmm11
movsd -0x8(%rdx,%rax,8), %xmm1
mulsd %xmm1, %xmm1
movapd %xmm11, %xmm10
movapd %xmm4, %xmm2
divsd %xmm1, %xmm2
subsd %xmm5, %xmm2
addsd %xmm6, %xmm2
mulsd -0x8(%r14,%rax,8), %xmm2
mulsd %xmm9, %xmm10
mulsd -0x8(%r12,%rax,8), %xmm10
addsd %xmm2, %xmm10
movapd %xmm11, %xmm13
cmpl $0x2, %ebp
pushq $0x1
popq %rax
cmovgel %ebp, %eax
movq 0x28(%rsp), %r11
movsd -0x8(%r11,%rax,8), %xmm12
movslq %ebp, %rax
movsd (%rcx,%rax,8), %xmm11
movsd (%rdx,%rax,8), %xmm2
mulsd %xmm2, %xmm2
movapd %xmm11, %xmm1
movapd %xmm4, %xmm3
divsd %xmm2, %xmm3
subsd %xmm5, %xmm3
addsd %xmm6, %xmm3
mulsd (%r14,%rax,8), %xmm3
mulsd %xmm9, %xmm1
mulsd (%r12,%rax,8), %xmm1
addsd %xmm3, %xmm1
movapd %xmm7, %xmm14
mulsd %xmm10, %xmm14
movapd %xmm10, %xmm2
mulsd %xmm9, %xmm2
movapd %xmm7, %xmm3
mulsd %xmm1, %xmm3
unpcklpd %xmm2, %xmm10           # xmm10 = xmm10[0],xmm2[0]
movapd %xmm3, %xmm2
xorpd 0xbe137(%rip), %xmm2    # 0xe5230
unpcklpd %xmm2, %xmm3            # xmm3 = xmm3[0],xmm2[0]
movsd (%r11,%rax,8), %xmm2
movsd %xmm2, 0x18(%rsp)
incl %eax
cmpl %eax, %ebx
cmovll %ebx, %eax
cltq
mulpd 0x80(%rsp), %xmm10
addpd %xmm10, %xmm3
movapd %xmm13, %xmm2
unpcklpd %xmm13, %xmm2           # xmm2 = xmm2[0],xmm13[0]
mulpd 0xc175d(%rip), %xmm2    # 0xe8890
addpd %xmm3, %xmm2
movapd %xmm11, %xmm15
unpcklpd %xmm11, %xmm15          # xmm15 = xmm15[0],xmm11[0]
mulpd 0xc1756(%rip), %xmm15   # 0xe88a0
addpd %xmm2, %xmm15
movsd (%r11,%rax,8), %xmm2
movsd %xmm2, 0x10(%rsp)
movapd %xmm1, %xmm10
subsd %xmm12, %xmm0
divsd %xmm7, %xmm0
movapd %xmm0, %xmm1
mulsd %xmm0, %xmm1
movapd %xmm14, %xmm2
mulsd %xmm0, %xmm2
mulsd %xmm1, %xmm0
addsd %xmm13, %xmm2
movapd %xmm15, %xmm3
unpckhpd %xmm15, %xmm3           # xmm3 = xmm3[1],xmm15[1]
mulsd %xmm1, %xmm3
addsd %xmm2, %xmm3
mulsd %xmm15, %xmm0
addsd %xmm3, %xmm0
cvtsi2sdl (%rsp), %xmm1
mulsd %xmm0, %xmm1
movsd %xmm1, (%r8,%r15,8)
incq %r15
jmp 0x26eae
xorl %eax, %eax
addq $0xf8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq