// File: /workspace/github_cpp_makefile_star2_O1/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 0x1fe4f
movq %rsi, %r10
testq %rsi, %rsi
setne %al
testq %rdi, %rdi
sets %cl
testb %al, %cl
jne 0x1fe6e
testq %rdi, %rdi
jle 0x1fde0
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, %r11
movq %r10, 0x20(%rsp)
movq %rdi, 0x18(%rsp)
cmpq $0x8, %r11
movl $0x8, %ecx
cmovlq %r11, %rcx
cmpq $0x2, %rcx
movl $0x1, %eax
cmovlq %rax, %rcx
movq %rdi, %rsi
subq %r11, %rsi
movq %r11, 0x28(%rsp)
je 0x1fc37
cmpq $0x8, %r11
movl $0x8, %edi
cmovlq %r11, %rdi
movq %r11, %rax
subq %rdi, %rax
movq 0x10(%rsp), %rdx
movq %r8, %rbx
leaq (%rdx,%rax,8), %r8
movq 0x8(%rsp), %r9
imulq %r9, %rax
movq %rcx, %r12
leaq (%r10,%r11,8), %rcx
leaq (%rcx,%rax,8), %rax
movq %rax, 0xa0(%rsp)
movq %r9, 0xa8(%rsp)
leaq (%rdx,%r11,8), %rax
movq %rax, 0x70(%rsp)
movq $0x1, 0x78(%rsp)
movl $0x1, %r9d
leaq 0xa0(%rsp), %rdx
leaq 0x70(%rsp), %rcx
movsd 0x1fae3(%rip), %xmm0    # 0x3f700
callq 0x1fe8e
movq %r12, %rcx
movq 0x28(%rsp), %r11
movq %rbx, %r8
movq 0x18(%rsp), %rdi
movq 0x20(%rsp), %r10
negq %rcx
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 %rcx, 0x50(%rsp)
leaq (%r11,%rax), %rbx
subq $0x1, %r12
jb 0x1fd71
testq %rbx, %rbx
jle 0x1fe30
cmpq %rdi, %rbx
jg 0x1fe30
cmpq %r11, %rdi
jl 0x1fe11
addq %r11, %rax
decq %rax
leaq (%r10,%r14), %rcx
leaq (%r10,%r15), %rdx
leaq (%r8,%rbp), %rsi
movq %rdx, 0xa0(%rsp)
movq %r13, 0xb0(%rsp)
movq %rcx, 0xb8(%rsp)
movq %rdi, 0xc8(%rsp)
movq %r10, 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 0x2069c
movq 0x50(%rsp), %rcx
movq 0x28(%rsp), %r11
movq 0x58(%rsp), %r8
movq 0x18(%rsp), %rdi
movq 0x20(%rsp), %r10
movsd (%r8,%r12,8), %xmm1
subsd %xmm0, %xmm1
movsd %xmm1, (%r8,%r12,8)
movsd (%r8,%r12,8), %xmm0
ucomisd 0x1f3d9(%rip), %xmm0    # 0x3f158
jne 0x1fd83
jnp 0x1fd9a
testq %rbx, %rbx
jle 0x1fdf2
cmpq %rdi, %rbx
jg 0x1fdf2
divsd -0x8(%r10,%r15), %xmm0
movsd %xmm0, (%r8,%r12,8)
incq %r13
addq 0x60(%rsp), %r15
subq 0x68(%rsp), %r14
addq $-0x8, %rbp
movq %r12, %rax
cmpq %r12, %rcx
jne 0x1fc58
leaq -0x8(%r11), %rax
movq 0x40(%rsp), %r15
addq 0x30(%rsp), %r15
movq 0x48(%rsp), %r14
subq 0x38(%rsp), %r14
addq $-0x40, %r8
cmpq $0x8, %r11
movq %rax, %r11
jg 0x1fb82
addq $0x148, %rsp            # imm = 0x148
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x1ffc3(%rip), %rdi     # 0x3fdbc
leaq 0x263fb(%rip), %rsi     # 0x461fb
leaq 0x239a1(%rip), %rcx     # 0x437a8
movl $0x77, %edx
callq 0x62b0
leaq 0x20fcf(%rip), %rdi     # 0x40de7
leaq 0x264b9(%rip), %rsi     # 0x462d8
leaq 0x2380e(%rip), %rcx     # 0x43634
movl $0x93, %edx
callq 0x62b0
leaq 0x20bfd(%rip), %rdi     # 0x40a34
leaq 0x2649a(%rip), %rsi     # 0x462d8
leaq 0x236c9(%rip), %rcx     # 0x4350e
movl $0x7a, %edx
callq 0x62b0
leaq 0x22eb8(%rip), %rdi     # 0x42d0e
leaq 0x22ed2(%rip), %rsi     # 0x42d2f
leaq 0x22ee9(%rip), %rcx     # 0x42d4d
movl $0x42, %edx
callq 0x62b0
leaq 0x20d14(%rip), %rdi     # 0x40b89
leaq 0x2647f(%rip), %rsi     # 0x462fb
leaq 0x23598(%rip), %rcx     # 0x4341b
movl $0xb0, %edx
callq 0x62b0
nop