// File: /workspace/github_cpp_makefile_star2_O3/j-faria[P]kima/eigen/Eigen/src/Core/TriangularMatrix.h
// Function: void Eigen::internal::call_triangular_assignment_loop<1, true, Eigen::Matrix<double, -1, -1, 0, -1, -1>, Eigen::TriangularView<Eigen::Matrix<double, -1, -1, 0, -1, -1> const, 1u>, Eigen::internal::assign_op<double, double>>(Eigen::Matrix<double, -1, -1, 0, -1, -1>&, Eigen::TriangularView<Eigen::Matrix<double, -1, -1, 0, -1, -1> const, 1u> const&, Eigen::internal::assign_op<double, double> const&)
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
void call_triangular_assignment_loop(DstXprType& dst, const SrcXprType& src, const Functor &func)
{
  typedef evaluator<DstXprType> DstEvaluatorType;
  typedef evaluator<SrcXprType> SrcEvaluatorType;

  SrcEvaluatorType srcEvaluator(src);

  Index dstRows = src.rows();
  Index dstCols = src.cols();
  if((dst.rows()!=dstRows) || (dst.cols()!=dstCols))
    dst.resize(dstRows, dstCols);
  DstEvaluatorType dstEvaluator(dst);
    
  typedef triangular_dense_assignment_kernel< Mode&(Lower|Upper),Mode&(UnitDiag|ZeroDiag|SelfAdjoint),SetOpposite,
                                              DstEvaluatorType,SrcEvaluatorType,Functor> Kernel;
  Kernel kernel(dstEvaluator, srcEvaluator, func, dst.const_cast_derived());
  
  enum {
      unroll = DstXprType::SizeAtCompileTime != Dynamic
            && SrcEvaluatorType::CoeffReadCost < HugeCost
            && DstXprType::SizeAtCompileTime * (DstEvaluatorType::CoeffReadCost+SrcEvaluatorType::CoeffReadCost) / 2 <= EIGEN_UNROLLING_LIMIT
    };
  
  triangular_assignment_loop<Kernel, Mode, unroll ? int(DstXprType::SizeAtCompileTime) : Dynamic, SetOpposite>::run(kernel);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rdi, %r15
movq (%rsi), %rax
movq (%rax), %rcx
movq %rcx, 0x8(%rsp)
movq 0x8(%rax), %r8
movq 0x10(%rax), %r14
cmpq %r8, 0x8(%rdi)
movq %r8, (%rsp)
jne 0x1e411
cmpq %r14, 0x10(%r15)
jne 0x1e411
movq %r8, %r13
jmp 0x1e462
movq %r14, %rax
orq %r8, %rax
js 0x1e53c
testq %r8, %r8
sete %al
testq %r14, %r14
sete %dl
orb %al, %dl
jne 0x1e445
movabsq $0x7fffffffffffffff, %rax # imm = 0x7FFFFFFFFFFFFFFF
xorl %edx, %edx
idivq %r14
cmpq %r8, %rax
jl 0x1e55b
movq %r14, %rsi
imulq %r8, %rsi
movq %r15, %rdi
movq %r8, %rdx
movq %r14, %rcx
callq 0x186e2
movq 0x8(%r15), %r13
movq 0x10(%r15), %r14
testq %r14, %r14
jle 0x1e52d
movq (%r15), %r15
movq (%rsp), %rax
leaq (,%rax,8), %rax
movq %rax, 0x20(%rsp)
leaq (,%r13,8), %rax
movq %rax, 0x18(%rsp)
xorl %r12d, %r12d
movq %r15, 0x10(%rsp)
movq 0x8(%rsp), %rbp
cmpq %r12, %r13
movq %r12, %rbx
cmovlq %r13, %rbx
testq %rbx, %rbx
jle 0x1e4c9
leaq (,%rbx,8), %rdx
movq %r12, %rax
imulq %r13, %rax
movq 0x10(%rsp), %rcx
leaq (%rcx,%rax,8), %rdi
xorl %esi, %esi
callq 0x6220
jmp 0x1e4cb
xorl %ebx, %ebx
cmpq %r13, %rbx
jge 0x1e4fe
movq %rbx, %rax
imulq %r13, %rax
movq 0x10(%rsp), %rcx
leaq (%rcx,%rax,8), %rax
movq %rbx, %rcx
imulq (%rsp), %rcx
movq 0x8(%rsp), %rdx
leaq (%rdx,%rcx,8), %rcx
movsd (%rcx,%rbx,8), %xmm0
movsd %xmm0, (%rax,%rbx,8)
incq %rbx
cmpq %r13, %rbx
jge 0x1e517
movsd (%rbp,%rbx,8), %xmm0
movsd %xmm0, (%r15,%rbx,8)
incq %rbx
cmpq %rbx, %r13
jne 0x1e503
incq %r12
addq 0x20(%rsp), %rbp
addq 0x18(%rsp), %r15
cmpq %r14, %r12
jne 0x1e499
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x1fe9c(%rip), %rdi     # 0x3e3df
leaq 0x243b0(%rip), %rsi     # 0x428fa
leaq 0x2001d(%rip), %rcx     # 0x3e56e
movl $0x11d, %edx            # imm = 0x11D
callq 0x62b0
movl $0x8, %edi
callq 0x61d0
movq 0x319fc(%rip), %rcx     # 0x4ff68
addq $0x10, %rcx
movq %rcx, (%rax)
movq 0x31a26(%rip), %rsi     # 0x4ffa0
movq 0x319cf(%rip), %rdx     # 0x4ff50
movq %rax, %rdi
callq 0x66c0
nop