// File: /workspace/github_cpp_makefile_star2_O3/canzarlab[P]Trajan/./Eigen/src/Core/products/TriangularSolverVector.h
// Function: Eigen::internal::triangular_solve_vector<double, double, long, 1, 1, false, 0>::run(long, double const*, long, double*)
static void run(Index size, const LhsScalar* _lhs, Index lhsStride, RhsScalar* rhs)
  {
    typedef Map<const Matrix<LhsScalar,Dynamic,Dynamic,ColMajor>, 0, OuterStride<> > LhsMap;
    const LhsMap lhs(_lhs,size,size,OuterStride<>(lhsStride));
    typedef const_blas_data_mapper<LhsScalar,Index,ColMajor> LhsMapper;
    typedef const_blas_data_mapper<RhsScalar,Index,ColMajor> RhsMapper;
    typename internal::conditional<Conjugate,
                                   const CwiseUnaryOp<typename internal::scalar_conjugate_op<LhsScalar>,LhsMap>,
                                   const LhsMap&
                                  >::type cjLhs(lhs);
    static const Index PanelWidth = EIGEN_TUNE_TRIANGULAR_PANEL_WIDTH;

    for(Index pi=IsLower ? 0 : size;
        IsLower ? pi<size : pi>0;
        IsLower ? pi+=PanelWidth : pi-=PanelWidth)
    {
      Index actualPanelWidth = (std::min)(IsLower ? size - pi : pi, PanelWidth);
      Index startBlock = IsLower ? pi : pi-actualPanelWidth;
      Index endBlock = IsLower ? pi + actualPanelWidth : 0;

      for(Index k=0; k<actualPanelWidth; ++k)
      {
        Index i = IsLower ? pi+k : pi-k-1;
        if(!(Mode & UnitDiag))
          rhs[i] /= cjLhs.coeff(i,i);

        Index r = actualPanelWidth - k - 1; // remaining size
        Index s = IsLower ? i+1 : i-r;
        if (r>0)
          Map<Matrix<RhsScalar,Dynamic,1> >(rhs+s,r) -= rhs[i] * cjLhs.col(i).segment(s,r);
      }
      Index r = IsLower ? size - endBlock : startBlock; // remaining size
      if (r > 0)
      {
        // let's directly call the low level product function because:
        // 1 - it is faster to compile
        // 2 - it is slighlty faster at runtime
        general_matrix_vector_product<Index,LhsScalar,LhsMapper,ColMajor,Conjugate,RhsScalar,RhsMapper,false>::run(
            r, actualPanelWidth,
            LhsMapper(&lhs.coeffRef(endBlock,startBlock), lhsStride),
            RhsMapper(rhs+startBlock, 1),
            rhs+endBlock, 1, RhsScalar(-1));
      }
    }
  }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %rdx, (%rsp)
testq %rdx, %rdx
js 0x2b681
movq %rcx, %rbx
movq %rsi, %r8
movq %rdi, %r12
testq %rsi, %rsi
setne %al
testq %rdi, %rdi
sets %cl
testb %al, %cl
jne 0x2b6a0
testq %r12, %r12
jle 0x2b634
leaq 0x8(%r8), %rax
movq %rax, 0x10(%rsp)
movq (%rsp), %rax
movq %rax, %rcx
shlq $0x6, %rcx
addq $0x40, %rcx
movq %rcx, 0x18(%rsp)
leaq 0x8(,%rax,8), %rbp
leaq 0x8(%rbx), %rax
movq %rax, 0x8(%rsp)
xorl %r13d, %r13d
movq %r12, %rcx
movq %r8, %r14
movl $0x8, %eax
cmpq %rax, %rcx
movq %rcx, 0x20(%rsp)
cmovlq %rcx, %rax
cmpq $0x2, %rax
movl $0x1, %ecx
cmovgeq %rax, %rcx
movq %r12, %rdx
subq %r13, %rdx
cmpq $0x8, %rdx
movl $0x8, %esi
cmovlq %rdx, %rsi
testq %rdx, %rdx
jle 0x2b5af
decq %rax
movq 0x8(%rsp), %rdx
movq 0x10(%rsp), %rdi
xorl %r15d, %r15d
leaq (%r15,%r13), %r10
movq %r10, %r9
imulq (%rsp), %r9
leaq (%r8,%r9,8), %r9
movsd (%rbx,%r10,8), %xmm0
divsd (%r9,%r10,8), %xmm0
movsd %xmm0, (%rbx,%r10,8)
movq %r15, %r8
notq %r8
addq %rsi, %r8
jle 0x2b596
cmpq %r12, %r10
jge 0x2b662
movq %r12, %r11
subq %r8, %r11
cmpq %r10, %r11
jle 0x2b643
incq %r10
leal (%rbx,%r10,8), %r10d
shrl $0x3, %r10d
andl $0x1, %r10d
testb $0x7, %bl
cmovneq %r8, %r10
testq %r10, %r10
je 0x2b527
xorl %r11d, %r11d
movsd (%rdi,%r11,8), %xmm1
mulsd %xmm0, %xmm1
movsd (%rdx,%r11,8), %xmm2
subsd %xmm1, %xmm2
movsd %xmm2, (%rdx,%r11,8)
incq %r11
cmpq %r11, %r10
jne 0x2b505
movq %r8, %r9
subq %r10, %r9
movq %r9, %r11
shrq $0x3f, %r11
addq %r9, %r11
andq $-0x2, %r11
addq %r10, %r11
cmpq $0x2, %r9
jl 0x2b56f
movapd %xmm0, %xmm1
unpcklpd %xmm0, %xmm1            # xmm1 = xmm1[0],xmm0[0]
movupd (%rdi,%r10,8), %xmm2
mulpd %xmm1, %xmm2
movapd (%rdx,%r10,8), %xmm3
subpd %xmm2, %xmm3
movapd %xmm3, (%rdx,%r10,8)
addq $0x2, %r10
cmpq %r11, %r10
jl 0x2b54c
cmpq %r8, %r11
jge 0x2b596
movsd (%rdi,%r11,8), %xmm1
mulsd %xmm0, %xmm1
movsd (%rdx,%r11,8), %xmm2
subsd %xmm1, %xmm2
movsd %xmm2, (%rdx,%r11,8)
incq %r11
cmpq %r11, %rax
jne 0x2b574
incq %r15
addq %rbp, %rdi
addq $0x8, %rdx
decq %rax
cmpq %rcx, %r15
movq %r14, %r8
jne 0x2b49e
leaq (%rsi,%r13), %rax
movq %r12, %rdi
subq %rax, %rdi
jle 0x2b60e
movq %r13, %rcx
movq (%rsp), %rdx
imulq %rdx, %rcx
leaq (%r8,%rcx,8), %rcx
leaq (%rcx,%rax,8), %rcx
movq %rcx, 0x38(%rsp)
movq %rdx, 0x40(%rsp)
leaq (%rbx,%r13,8), %rcx
movq %rcx, 0x28(%rsp)
movq $0x1, 0x30(%rsp)
leaq (%rbx,%rax,8), %r8
movl $0x1, %r9d
leaq 0x38(%rsp), %rdx
leaq 0x28(%rsp), %rcx
movsd 0x30dea(%rip), %xmm0    # 0x5c3f0
callq 0x2b6c0
movq %r14, %r8
addq $0x8, %r13
movq 0x20(%rsp), %rcx
addq $-0x8, %rcx
movq 0x18(%rsp), %rax
addq %rax, 0x10(%rsp)
addq $0x40, 0x8(%rsp)
cmpq %r12, %r13
jl 0x2b454
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x311a1(%rip), %rdi     # 0x5c7eb
leaq 0x310c5(%rip), %rsi     # 0x5c716
leaq 0x3f1e0(%rip), %rcx     # 0x6a838
movl $0x93, %edx
callq 0x9200
leaq 0x32e23(%rip), %rdi     # 0x5e48c
leaq 0x310a6(%rip), %rsi     # 0x5c716
leaq 0x3f0b1(%rip), %rcx     # 0x6a728
movl $0x7a, %edx
callq 0x9200
leaq 0x3ef1d(%rip), %rdi     # 0x6a5a5
leaq 0x3ef37(%rip), %rsi     # 0x6a5c6
leaq 0x3ef4a(%rip), %rcx     # 0x6a5e0
movl $0x42, %edx
callq 0x9200
leaq 0x311d3(%rip), %rdi     # 0x5c87a
leaq 0x31276(%rip), %rsi     # 0x5c924
leaq 0x3ef96(%rip), %rcx     # 0x6a64b
movl $0xaf, %edx
callq 0x9200
nop