// File: /workspace/github_cpp_makefile_star2_O3/j-faria[P]kima/eigen/Eigen/src/Core/products/TriangularSolverVector.h
// Function: Eigen::internal::triangular_solve_vector<double, double, long, 1, 2, false, 1>::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,RowMajor>, 0, OuterStride<> > LhsMap;
    const LhsMap lhs(_lhs,size,size,OuterStride<>(lhsStride));

    typedef const_blas_data_mapper<LhsScalar,Index,RowMajor> 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 r = IsLower ? pi : size - pi; // remaining size
      if (r > 0)
      {
        // let's directly call the low level product function because:
        // 1 - it is faster to compile
        // 2 - it is slightly faster at runtime
        Index startRow = IsLower ? pi : pi-actualPanelWidth;
        Index startCol = IsLower ? 0 : pi;

        general_matrix_vector_product<Index,LhsScalar,LhsMapper,RowMajor,Conjugate,RhsScalar,RhsMapper,false>::run(
          actualPanelWidth, r,
          LhsMapper(&lhs.coeffRef(startRow,startCol), lhsStride),
          RhsMapper(rhs + startCol, 1),
          rhs + startRow, 1,
          RhsScalar(-1));
      }

      for(Index k=0; k<actualPanelWidth; ++k)
      {
        Index i = IsLower ? pi+k : pi-k-1;
        Index s = IsLower ? pi   : i+1;
        if (k>0)
          rhs[i] -= (cjLhs.row(i).segment(s,k).transpose().cwiseProduct(Map<const Matrix<RhsScalar,Dynamic,1> >(rhs+s,k))).sum();

        if((!(Mode & UnitDiag)) && numext::not_equal_strict(rhs[i],RhsScalar(0)))
          rhs[i] /= cjLhs(i,i);
      }
    }
  }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x148, %rsp            # imm = 0x148
movq %rcx, 0x10(%rsp)
movq %rdx, 0x8(%rsp)
testq %rdx, %rdx
js 0x1f546
movq %rsi, %r9
testq %rsi, %rsi
setne %al
testq %rdi, %rdi
sets %cl
testb %al, %cl
jne 0x1f565
testq %rdi, %rdi
jle 0x1f4d7
leaq -0x1(%rdi), %r14
movq 0x8(%rsp), %rcx
imulq %rcx, %r14
leaq (,%rdi,8), %rax
leaq (%rax,%r14,8), %r15
shlq $0x3, %r14
movq %rcx, %rax
shlq $0x6, %rax
movq %rax, 0x38(%rsp)
xorq $-0x40, %rax
movq %rax, 0x30(%rsp)
leaq (,%rcx,8), %rax
movq %rax, 0x68(%rsp)
xorq $-0x8, %rax
movq %rax, 0x60(%rsp)
movq 0x10(%rsp), %rax
leaq (%rax,%rdi,8), %r8
movq %rdi, %r10
movq %r9, 0x20(%rsp)
movq %rdi, 0x18(%rsp)
cmpq $0x8, %r10
movl $0x8, %r11d
cmovbq %r10, %r11
movq %rdi, %rsi
subq %r10, %rsi
movq %r10, 0x28(%rsp)
je 0x1f32d
movq %r10, %rax
subq %r11, %rax
movq 0x10(%rsp), %rdx
movq %r8, %rbx
leaq (%rdx,%rax,8), %r8
movq 0x8(%rsp), %rdi
imulq %rdi, %rax
leaq (%r9,%r10,8), %rcx
leaq (%rcx,%rax,8), %rax
movq %rax, 0xa0(%rsp)
movq %rdi, 0xa8(%rsp)
leaq (%rdx,%r10,8), %rax
movq %rax, 0x70(%rsp)
movq $0x1, 0x78(%rsp)
movl $0x1, %r9d
movq %r11, %rdi
leaq 0xa0(%rsp), %rdx
leaq 0x70(%rsp), %rcx
movsd 0x1e418(%rip), %xmm0    # 0x3d728
movq %r11, %r12
callq 0x1f584
movq %r12, %r11
movq 0x28(%rsp), %r10
movq %rbx, %r8
movq 0x18(%rsp), %rdi
movq 0x20(%rsp), %r9
negq %r11
xorl %ebp, %ebp
movq %r14, 0x48(%rsp)
movq %r15, 0x40(%rsp)
xorl %eax, %eax
xorl %r13d, %r13d
xorl %r12d, %r12d
movq %r8, 0x58(%rsp)
movq %r11, 0x50(%rsp)
leaq (%r10,%rax), %rbx
subq $0x1, %r12
jae 0x1f363
movsd (%r8,%r12,8), %xmm1
jmp 0x1f46e
testq %rbx, %rbx
jle 0x1f527
cmpq %rdi, %rbx
jg 0x1f527
cmpq %r10, %rdi
jl 0x1f508
addq %r10, %rax
decq %rax
leaq (%r9,%r14), %rcx
leaq (%r9,%r15), %rdx
leaq (%r8,%rbp), %rsi
movq %rdx, 0xa0(%rsp)
movq %r13, 0xb0(%rsp)
movq %rcx, 0xb8(%rsp)
movq %rdi, 0xc8(%rsp)
movq %r9, 0xd0(%rsp)
movq %rdi, 0xd8(%rsp)
movq %rdi, 0xe0(%rsp)
movq 0x8(%rsp), %rcx
movq %rcx, 0xe8(%rsp)
movq %rax, 0xf8(%rsp)
movq $0x0, 0x100(%rsp)
movq %rcx, 0x108(%rsp)
movq %rbx, 0x118(%rsp)
movq %rcx, 0x120(%rsp)
movq %rsi, 0x128(%rsp)
movq %r13, 0x130(%rsp)
movq %rdx, 0x70(%rsp)
movq %rcx, 0x80(%rsp)
movq %rsi, 0x88(%rsp)
movq %r13, 0x98(%rsp)
leaq 0x70(%rsp), %rdi
leaq 0x7(%rsp), %rsi
leaq 0xa0(%rsp), %rdx
callq 0x1fe3e
movq 0x50(%rsp), %r11
movq 0x28(%rsp), %r10
movq 0x58(%rsp), %r8
movq 0x18(%rsp), %rdi
movq 0x20(%rsp), %r9
movsd (%r8,%r12,8), %xmm1
subsd %xmm0, %xmm1
movsd %xmm1, (%r8,%r12,8)
ucomisd 0x1e2e2(%rip), %xmm1    # 0x3d758
jne 0x1f47a
jnp 0x1f491
testq %rbx, %rbx
jle 0x1f4e9
cmpq %rdi, %rbx
jg 0x1f4e9
divsd -0x8(%r9,%r15), %xmm1
movsd %xmm1, (%r8,%r12,8)
incq %r13
addq 0x60(%rsp), %r15
subq 0x68(%rsp), %r14
addq $-0x8, %rbp
movq %r12, %rax
cmpq %r12, %r11
jne 0x1f34e
leaq -0x8(%r10), %rax
movq 0x40(%rsp), %r15
addq 0x30(%rsp), %r15
addq $-0x40, %r8
movq 0x48(%rsp), %r14
subq 0x38(%rsp), %r14
cmpq $0x8, %r10
movq %rax, %r10
jg 0x1f28e
addq $0x148, %rsp            # imm = 0x148
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x1e908(%rip), %rdi     # 0x3ddf8
leaq 0x24260(%rip), %rsi     # 0x43757
leaq 0x222e6(%rip), %rcx     # 0x417e4
movl $0x77, %edx
callq 0x62b0
leaq 0x1f914(%rip), %rdi     # 0x3ee23
leaq 0x24292(%rip), %rsi     # 0x437a8
leaq 0x22153(%rip), %rcx     # 0x41670
movl $0x93, %edx
callq 0x62b0
leaq 0x1f542(%rip), %rdi     # 0x3ea70
leaq 0x24273(%rip), %rsi     # 0x437a8
leaq 0x2200e(%rip), %rcx     # 0x4154a
movl $0x7a, %edx
callq 0x62b0
leaq 0x217fd(%rip), %rdi     # 0x40d4a
leaq 0x21817(%rip), %rsi     # 0x40d6b
leaq 0x2182e(%rip), %rcx     # 0x40d89
movl $0x42, %edx
callq 0x62b0
leaq 0x1f659(%rip), %rdi     # 0x3ebc5
leaq 0x24258(%rip), %rsi     # 0x437cb
leaq 0x21edd(%rip), %rcx     # 0x41457
movl $0xb0, %edx
callq 0x62b0