// File: /workspace/github_c_makefile_star2_O2/PoulinV[P]AxiCLASS/build/../tools/hyperspherical.c
// Function: hyperspherical_Hermite3_interpolation_vector_dPhid2Phi
int hyperspherical_Hermite3_interpolation_vector_dPhid2Phi(HyperInterpStruct *pHIS,
                                                           int nxi,
                                                           int lnum,
                                                           double * xinterp,
                                                           double * dPhi,
                                                           double * d2Phi,
                                                           ErrorMsg error_message) {
#undef HERMITE_DO_PHI
#undef HERMITE_DO_DPHI
#undef HERMITE_DO_D2PHI
#define HERMITE_DO_DPHI
#define HERMITE_DO_D2PHI
#include "hermite3_interpolation_csource.h"
  return _SUCCESS_;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x128, %rsp            # imm = 0x128
movq %r8, %r15
movq %rcx, %r12
movq 0x20(%rdi), %rax
movslq %edx, %rcx
movl (%rax,%rcx,4), %eax
movq 0x40(%rdi), %rdx
movq %rdx, 0x50(%rsp)
movq 0x48(%rdi), %rdx
movq %rdx, 0x48(%rsp)
movl %eax, 0x1c(%rsp)
cvtsi2sd %eax, %xmm0
movsd 0xbf2a5(%rip), %xmm1    # 0xe5260
addsd %xmm0, %xmm1
mulsd %xmm0, %xmm1
movsd 0x8(%rdi), %xmm0
mulsd %xmm0, %xmm0
cvtsi2sdl (%rdi), %xmm2
pushq $0x1
popq %rax
leaq 0xc(%rsp), %rdx
movl %eax, (%rdx)
leaq 0x8(%rsp), %rdx
movl %eax, (%rdx)
movq 0x38(%rdi), %rax
movslq 0x30(%rdi), %rdx
imulq %rdx, %rcx
shlq $0x3, %rcx
movq 0x50(%rdi), %r11
addq %rcx, %r11
movq %r11, 0x20(%rsp)
addq 0x58(%rdi), %rcx
movq %rcx, 0x58(%rsp)
movsd 0x10(%rdi), %xmm7
movsd (%rax), %xmm8
movq %rax, 0x88(%rsp)
movsd -0x8(%rax,%rdx,8), %xmm3
decq %rdx
movq %rdx, 0x28(%rsp)
movsd %xmm2, 0x30(%rsp)
movsd %xmm0, 0x38(%rsp)
subsd %xmm0, %xmm2
movsd %xmm2, 0x80(%rsp)
movsd 0xbfc99(%rip), %xmm0    # 0xe5ce0
movsd %xmm1, 0x40(%rsp)
addsd %xmm1, %xmm0
movsd %xmm0, 0x78(%rsp)
xorl %r13d, %r13d
testl %esi, %esi
cmovlel %r13d, %esi
movapd %xmm7, %xmm0
unpcklpd %xmm7, %xmm0            # xmm0 = xmm0[0],xmm7[0]
movapd %xmm0, 0xe0(%rsp)
xorpd %xmm5, %xmm5
xorpd %xmm0, %xmm0
movsd %xmm0, 0x10(%rsp)
xorpd %xmm10, %xmm10
xorpd %xmm13, %xmm13
xorpd %xmm6, %xmm6
xorl %ebp, %ebp
movapd %xmm0, 0xd0(%rsp)
movsd %xmm3, 0xa0(%rsp)
movapd %xmm3, %xmm11
movsd %xmm8, 0x68(%rsp)
movsd %xmm8, 0x60(%rsp)
movapd %xmm0, 0xc0(%rsp)
movapd %xmm7, 0xf0(%rsp)
movsd %xmm8, 0x98(%rsp)
movq %rsi, 0x90(%rsp)
cmpq %r13, %rsi
je 0x2645e
movsd (%r12,%r13,8), %xmm0
movsd %xmm0, 0x70(%rsp)
cmpl $0x1, (%rdi)
jne 0x261ac
movsd 0x8(%rdi), %xmm0
addsd 0xbf195(%rip), %xmm0    # 0xe5298
cvttsd2si %xmm0, %esi
movq %rdi, %rbx
movl 0x1c(%rsp), %edi
leaq 0x70(%rsp), %rdx
leaq 0xc(%rsp), %rcx
leaq 0x8(%rsp), %r8
movq %r9, %r14
movsd %xmm10, 0xb8(%rsp)
movsd %xmm11, 0xb0(%rsp)
movapd %xmm6, 0x110(%rsp)
movapd %xmm5, 0x100(%rsp)
movsd %xmm13, 0xa8(%rsp)
callq 0x21cc3
movsd 0xa8(%rsp), %xmm13
movapd 0x100(%rsp), %xmm5
movapd 0x110(%rsp), %xmm6
movsd 0xb0(%rsp), %xmm11
movsd 0xb8(%rsp), %xmm10
movsd 0x98(%rsp), %xmm8
movapd 0xf0(%rsp), %xmm7
movq %rbx, %rdi
movq 0x90(%rsp), %rsi
movq %r14, %r9
movsd 0x70(%rsp), %xmm0
ucomisd %xmm0, %xmm8
ja 0x261db
ucomisd 0xa0(%rsp), %xmm0
ja 0x261db
ucomisd 0x68(%rsp), %xmm0
ja 0x261e9
ucomisd %xmm0, %xmm11
ja 0x261e9
movapd 0xd0(%rsp), %xmm3
jmp 0x263f2
andq $0x0, (%r15,%r13,8)
xorpd %xmm0, %xmm0
jmp 0x26450
ucomisd 0x60(%rsp), %xmm0
ja 0x26216
ucomisd %xmm0, %xmm11
ja 0x26216
incl %ebp
movapd 0xc0(%rsp), %xmm10
movapd %xmm10, %xmm1
mulsd 0xc0527(%rip), %xmm1    # 0xe6738
jmp 0x262a1
movapd %xmm0, %xmm1
subsd %xmm8, %xmm1
divsd %xmm7, %xmm1
cvttsd2si %xmm1, %eax
testl %eax, %eax
jg 0x2622d
xorl %eax, %eax
incl %eax
movq 0x28(%rsp), %rcx
movl %ecx, %ebp
cmpl %eax, %ecx
jl 0x2623c
movl %eax, %ebp
movslq %ebp, %rax
movq 0x58(%rsp), %rcx
movsd -0x8(%rcx,%rax,8), %xmm10
movq 0x50(%rsp), %rcx
movsd -0x8(%rcx,%rax,8), %xmm2
mulsd %xmm2, %xmm2
movapd %xmm10, %xmm1
movsd 0x40(%rsp), %xmm3
divsd %xmm2, %xmm3
subsd 0x38(%rsp), %xmm3
addsd 0x30(%rsp), %xmm3
movq 0x20(%rsp), %rcx
mulsd -0x8(%rcx,%rax,8), %xmm3
mulsd 0xc04b0(%rip), %xmm1    # 0xe6738
movq 0x48(%rsp), %rcx
movsd -0x8(%rcx,%rax,8), %xmm2
mulsd %xmm1, %xmm2
addsd %xmm3, %xmm2
movsd %xmm2, 0x10(%rsp)
cmpl $0x2, %ebp
pushq $0x1
popq %rax
movl %eax, %ecx
cmovgel %ebp, %ecx
leal 0x1(%rbp), %edx
movq 0x28(%rsp), %r11
movl %r11d, %eax
cmpl %edx, %r11d
jl 0x262be
movl %edx, %eax
movq 0x88(%rsp), %r11
movsd -0x8(%r11,%rcx,8), %xmm11
movslq %ebp, %rcx
movq 0x20(%rsp), %rdx
movsd (%rdx,%rcx,8), %xmm3
movq 0x58(%rsp), %rdx
movsd (%rdx,%rcx,8), %xmm12
movq 0x48(%rsp), %rdx
movsd (%rdx,%rcx,8), %xmm4
movq 0x50(%rsp), %rdx
movsd (%rdx,%rcx,8), %xmm2
mulsd %xmm2, %xmm2
movsd 0x40(%rsp), %xmm6
movapd %xmm6, %xmm5
divsd %xmm2, %xmm5
subsd 0x38(%rsp), %xmm5
addsd 0x30(%rsp), %xmm5
mulsd %xmm3, %xmm5
movsd 0xc0414(%rip), %xmm9    # 0xe6738
mulsd %xmm9, %xmm3
mulsd %xmm6, %xmm3
mulsd %xmm4, %xmm3
divsd %xmm2, %xmm3
movsd 0x78(%rsp), %xmm6
divsd %xmm2, %xmm6
movapd %xmm12, %xmm2
mulsd %xmm9, %xmm2
mulsd %xmm4, %xmm2
addsd %xmm5, %xmm2
movsd (%r11,%rcx,8), %xmm5
movsd %xmm5, 0x68(%rsp)
cltq
mulsd %xmm9, %xmm4
addsd 0x80(%rsp), %xmm6
mulsd %xmm2, %xmm4
addsd %xmm3, %xmm4
mulsd %xmm12, %xmm6
addsd %xmm4, %xmm6
movapd %xmm6, %xmm3
mulsd %xmm7, %xmm6
movsd 0x10(%rsp), %xmm4
addsd %xmm4, %xmm6
movapd %xmm4, %xmm13
mulsd %xmm9, %xmm4
unpcklpd %xmm1, %xmm4            # xmm4 = xmm4[0],xmm1[0]
movsd (%r11,%rax,8), %xmm1
movsd %xmm1, 0x60(%rsp)
unpcklpd %xmm2, %xmm3            # xmm3 = xmm3[0],xmm2[0]
mulpd 0xe0(%rsp), %xmm3
subpd %xmm3, %xmm4
movapd %xmm2, %xmm5
unpcklpd %xmm12, %xmm5           # xmm5 = xmm5[0],xmm12[0]
addpd %xmm5, %xmm5
addpd %xmm4, %xmm5
subsd %xmm2, %xmm6
movsd %xmm2, 0x10(%rsp)
movapd %xmm2, %xmm3
mulsd %xmm7, %xmm3
addsd %xmm10, %xmm3
movapd %xmm12, 0xc0(%rsp)
subsd %xmm12, %xmm3
subsd %xmm11, %xmm0
divsd %xmm7, %xmm0
movapd %xmm0, %xmm1
mulsd %xmm0, %xmm1
movapd %xmm5, %xmm2
unpckhpd %xmm5, %xmm2            # xmm2 = xmm2[1],xmm5[1]
mulsd %xmm0, %xmm2
addsd %xmm10, %xmm2
movapd %xmm3, 0xd0(%rsp)
mulsd %xmm1, %xmm3
addsd %xmm2, %xmm3
cvtsi2sdl 0x8(%rsp), %xmm2
mulsd %xmm3, %xmm2
movsd %xmm2, (%r15,%r13,8)
mulsd %xmm5, %xmm0
addsd %xmm13, %xmm0
mulsd %xmm6, %xmm1
addsd %xmm0, %xmm1
cvtsi2sdl 0xc(%rsp), %xmm0
mulsd %xmm1, %xmm0
movsd %xmm0, (%r9,%r13,8)
incq %r13
jmp 0x260d8
xorl %eax, %eax
addq $0x128, %rsp            # imm = 0x128
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq