// File: /workspace/github_cpp_makefile_star2_O3/Kingsford-Group[P]ghost2/include/Eigen/src/Core/products/TriangularSolverVector.h
// Function: Eigen::internal::triangular_solve_vector<double, double, long, 1, 6, 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));
    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 slighlty faster at runtime
        Index startRow = IsLower ? pi : pi-actualPanelWidth;
        Index startCol = IsLower ? 0 : pi;

        general_matrix_vector_product<Index,LhsScalar,RowMajor,Conjugate,RhsScalar,false>::run(
          actualPanelWidth, r,
          &lhs.coeffRef(startRow,startCol), lhsStride,
          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))
          rhs[i] /= cjLhs(i,i);
      }
    }
  }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xf8, %rsp
movq %rcx, 0x18(%rsp)
movq %rdx, 0x10(%rsp)
testq %rdx, %rdx
js 0x2c0d2
movq %rsi, 0x8(%rsp)
testq %rsi, %rsi
setne %al
testq %rdi, %rdi
sets %cl
testb %al, %cl
jne 0x2c0f1
testq %rdi, %rdi
jle 0x2c082
leaq -0x1(%rdi), %rax
movq 0x10(%rsp), %rdx
imulq %rdx, %rax
leaq (,%rdi,8), %rcx
leaq (%rcx,%rax,8), %rbp
movq 0x8(%rsp), %rcx
addq %rcx, %rbp
movq %rdx, %rsi
shlq $0x6, %rsi
movq %rsi, %r8
xorq $-0x40, %r8
movq %r8, 0x30(%rsp)
leaq (,%rdx,8), %rdx
movq %rdx, %r8
xorq $-0x8, %r8
movq %r8, 0x60(%rsp)
leaq (%rcx,%rax,8), %r14
negq %rsi
movq %rsi, 0x38(%rsp)
negq %rdx
movq %rdx, 0x68(%rsp)
movq 0x18(%rsp), %rax
leaq (%rax,%rdi,8), %rax
movq %rax, 0x28(%rsp)
movq %rdi, %r12
movq %rdi, 0x20(%rsp)
cmpq $0x8, %r12
movl $0x8, %r11d
cmovbq %r12, %r11
movq %rdi, %rsi
subq %r12, %rsi
je 0x2bf52
movq %r12, %rax
subq %r11, %rax
movq 0x18(%rsp), %rdi
leaq (%rdi,%rax,8), %r10
movq 0x10(%rsp), %rcx
imulq %rcx, %rax
movq 0x8(%rsp), %rdx
leaq (%rdx,%r12,8), %rdx
leaq (%rdx,%rax,8), %rdx
leaq (%rdi,%r12,8), %r8
movl $0x1, %r9d
movq %r11, %rdi
movsd 0x1c13e(%rip), %xmm0    # 0x48078
pushq $0x1
pushq %r10
movq %r11, %rbx
callq 0x2c110
movq %rbx, %r11
movq 0x30(%rsp), %rdi
addq $0x10, %rsp
negq %r11
xorl %r13d, %r13d
movq %r14, 0x40(%rsp)
movq %rbp, 0x48(%rsp)
xorl %eax, %eax
xorl %ebx, %ebx
xorl %r15d, %r15d
movq %r12, 0x58(%rsp)
movq %r11, 0x50(%rsp)
subq $0x1, %r15
jb 0x2c039
addq %r12, %rax
testq %rax, %rax
jle 0x2c0b3
cmpq %rdi, %rax
jg 0x2c0b3
cmpq %r12, %rdi
jl 0x2c094
movq 0x28(%rsp), %r12
leaq (%r12,%r13), %rax
movq %rbp, 0x70(%rsp)
movq %rbx, 0x80(%rsp)
movq %r14, 0x88(%rsp)
movq %rdi, 0x98(%rsp)
movq 0x8(%rsp), %rcx
movq %rcx, 0xa0(%rsp)
movq %rdi, 0xa8(%rsp)
movq %rdi, 0xb0(%rsp)
movq 0x10(%rsp), %rcx
movq %rcx, 0xb8(%rsp)
movq %rcx, 0xc8(%rsp)
movq %rcx, 0xd0(%rsp)
movq %rax, 0xd8(%rsp)
movq %rbx, 0xe0(%rsp)
leaq 0x70(%rsp), %rdi
leaq 0x7(%rsp), %rsi
callq 0x2c882
movq 0x50(%rsp), %r11
movq 0x20(%rsp), %rdi
movsd (%r12,%r15,8), %xmm1
subsd %xmm0, %xmm1
movsd %xmm1, (%r12,%r15,8)
movq 0x58(%rsp), %r12
incq %rbx
addq 0x60(%rsp), %rbp
addq 0x68(%rsp), %r14
addq $-0x8, %r13
movq %r15, %rax
cmpq %r15, %r11
jne 0x2bf73
leaq -0x8(%r12), %rax
movq 0x48(%rsp), %rbp
addq 0x30(%rsp), %rbp
movq 0x40(%rsp), %r14
addq 0x38(%rsp), %r14
addq $-0x40, 0x28(%rsp)
cmpq $0x8, %r12
movq %rax, %r12
jg 0x2beea
addq $0xf8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x20ef5(%rip), %rdi     # 0x4cf90
leaq 0x20def(%rip), %rsi     # 0x4ce91
leaq 0x23d63(%rip), %rcx     # 0x4fe0c
movl $0x8d, %edx
callq 0xc340
leaq 0x21116(%rip), %rdi     # 0x4d1d0
leaq 0x20dd0(%rip), %rsi     # 0x4ce91
leaq 0x23c1e(%rip), %rcx     # 0x4fce6
movl $0x76, %edx
callq 0xc340
leaq 0x22e7b(%rip), %rdi     # 0x4ef54
leaq 0x22e95(%rip), %rsi     # 0x4ef75
leaq 0x22eae(%rip), %rcx     # 0x4ef95
movl $0x40, %edx
callq 0xc340
leaq 0x20f2f(%rip), %rdi     # 0x4d027
leaq 0x20fda(%rip), %rsi     # 0x4d0d9
leaq 0x23aed(%rip), %rcx     # 0x4fbf3
movl $0x94, %edx
callq 0xc340