// File: /workspace/github_cpp_makefile_star2_O1/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, 0x10(%rsp)
movq %rdx, 0x8(%rsp)
testq %rdx, %rdx
js 0x2d404
movq %rsi, %r9
testq %rsi, %rsi
setne %al
testq %rdi, %rdi
sets %cl
testb %al, %cl
jne 0x2d423
testq %rdi, %rdi
jle 0x2d395
leaq -0x1(%rdi), %rax
movq 0x8(%rsp), %rdx
imulq %rdx, %rax
leaq (,%rdi,8), %rcx
leaq (%rcx,%rax,8), %r15
addq %r9, %r15
movq %rdx, %rcx
shlq $0x6, %rcx
movq %rcx, %rsi
xorq $-0x40, %rsi
movq %rsi, 0x30(%rsp)
leaq (,%rdx,8), %rdx
movq %rdx, %rsi
xorq $-0x8, %rsi
movq %rsi, 0x60(%rsp)
leaq (%r9,%rax,8), %r14
negq %rcx
movq %rcx, 0x38(%rsp)
negq %rdx
movq %rdx, 0x68(%rsp)
movq 0x10(%rsp), %rax
leaq (%rax,%rdi,8), %rax
movq %rax, 0x28(%rsp)
movq %rdi, %r12
movq %r9, 0x20(%rsp)
movq %rdi, 0x18(%rsp)
cmpq $0x8, %r12
movl $0x8, %ecx
cmovlq %r12, %rcx
cmpq $0x2, %rcx
movl $0x1, %eax
cmovlq %rax, %rcx
movq %rdi, %rsi
subq %r12, %rsi
je 0x2d258
cmpq $0x8, %r12
movl $0x8, %edi
cmovlq %r12, %rdi
movq %r12, %rax
subq %rdi, %rax
movq 0x10(%rsp), %r8
leaq (%r8,%rax,8), %r10
movq %rcx, %rbx
movq 0x8(%rsp), %rcx
imulq %rcx, %rax
leaq (%r9,%r12,8), %rdx
leaq (%rdx,%rax,8), %rdx
leaq (%r8,%r12,8), %r8
movl $0x1, %r9d
movsd 0x1be3a(%rip), %xmm0    # 0x49078
pushq $0x1
pushq %r10
callq 0x2d43a
movq %rbx, %rcx
movq 0x28(%rsp), %rdi
movq 0x30(%rsp), %r9
addq $0x10, %rsp
negq %rcx
xorl %ebx, %ebx
movq %r14, 0x40(%rsp)
movq %r15, 0x48(%rsp)
xorl %eax, %eax
xorl %r13d, %r13d
xorl %ebp, %ebp
movq %r12, 0x58(%rsp)
movq %rcx, 0x50(%rsp)
subq $0x1, %rbp
jb 0x2d34c
testq %rdi, %rdi
jns 0x2d290
testq %r14, %r14
jne 0x2d3a7
addq %r12, %rax
testq %rax, %rax
jle 0x2d3e5
cmpq %rdi, %rax
jg 0x2d3e5
cmpq %r12, %rdi
jl 0x2d3c6
movq 0x28(%rsp), %r12
leaq (%r12,%rbx), %rax
movq %r15, 0x70(%rsp)
movq %r13, 0x80(%rsp)
movq %r14, 0x88(%rsp)
movq %rdi, 0x98(%rsp)
movq %r9, 0xa0(%rsp)
movq %rdi, 0xa8(%rsp)
movq %rdi, 0xb0(%rsp)
movq 0x8(%rsp), %rcx
movq %rcx, 0xb8(%rsp)
movq %rcx, 0xc8(%rsp)
movq %rcx, 0xd0(%rsp)
movq %rax, 0xd8(%rsp)
movq %r13, 0xe0(%rsp)
leaq 0x70(%rsp), %rdi
leaq 0x7(%rsp), %rsi
callq 0x2dc00
movq 0x50(%rsp), %rcx
movq 0x18(%rsp), %rdi
movq 0x20(%rsp), %r9
movsd (%r12,%rbp,8), %xmm1
subsd %xmm0, %xmm1
movsd %xmm1, (%r12,%rbp,8)
movq 0x58(%rsp), %r12
incq %r13
addq 0x60(%rsp), %r15
addq 0x68(%rsp), %r14
addq $-0x8, %rbx
movq %rbp, %rax
cmpq %rbp, %rcx
jne 0x2d278
leaq -0x8(%r12), %rax
movq 0x48(%rsp), %r15
addq 0x30(%rsp), %r15
movq 0x40(%rsp), %r14
addq 0x38(%rsp), %r14
addq $-0x40, 0x28(%rsp)
cmpq $0x8, %r12
movq %rax, %r12
jg 0x2d1da
addq $0xf8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x20c49(%rip), %rdi     # 0x4dff7
leaq 0x20cf4(%rip), %rsi     # 0x4e0a9
leaq 0x23b3f(%rip), %rcx     # 0x50efb
movl $0x94, %edx
callq 0xd340
leaq 0x20b93(%rip), %rdi     # 0x4df60
leaq 0x20a8d(%rip), %rsi     # 0x4de61
leaq 0x23c55(%rip), %rcx     # 0x51030
movl $0x8d, %edx
callq 0xd340
leaq 0x20db4(%rip), %rdi     # 0x4e1a0
leaq 0x20a6e(%rip), %rsi     # 0x4de61
leaq 0x239db(%rip), %rcx     # 0x50dd5
movl $0x76, %edx
callq 0xd340
leaq 0x22b19(%rip), %rdi     # 0x4ff24
leaq 0x22b33(%rip), %rsi     # 0x4ff45
leaq 0x22b4c(%rip), %rcx     # 0x4ff65
movl $0x40, %edx
callq 0xd340
leaq 0x20bcd(%rip), %rdi     # 0x4dff7
leaq 0x20c78(%rip), %rsi     # 0x4e0a9
leaq 0x238aa(%rip), %rcx     # 0x50ce2
jmp 0x2d3bc