// File: /workspace/github_cpp_makefile_star2_O1/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, %r14
movq (%rsi), %rax
movq (%rax), %rcx
movq %rcx, 0x8(%rsp)
movq 0x8(%rax), %rbx
movq 0x10(%rax), %rcx
cmpq %rbx, 0x8(%rdi)
jne 0x1ed14
cmpq %rcx, 0x10(%r14)
je 0x1ed5a
movq %rcx, %rax
orq %rbx, %rax
js 0x1ee4a
testq %rbx, %rbx
sete %al
testq %rcx, %rcx
sete %dl
orb %al, %dl
jne 0x1ed48
movabsq $0x7fffffffffffffff, %rax # imm = 0x7FFFFFFFFFFFFFFF
xorl %edx, %edx
idivq %rcx
cmpq %rbx, %rax
jl 0x1ee69
movq %rcx, %rsi
imulq %rbx, %rsi
movq %r14, %rdi
movq %rbx, %rdx
callq 0x18da4
movq %rbx, (%rsp)
movq 0x10(%r14), %rax
movq %rax, 0x20(%rsp)
testq %rax, %rax
jle 0x1ee3b
movq (%r14), %rbp
movq 0x8(%r14), %r14
movq (%rsp), %rax
leaq (,%rax,8), %rax
movq %rax, 0x18(%rsp)
leaq (,%r14,8), %rax
movq %rax, 0x10(%rsp)
xorl %r15d, %r15d
movq %rbp, %r13
movq 0x8(%rsp), %r12
cmpq %r15, %r14
movq %r15, %rbx
cmovlq %r14, %rbx
testq %rbx, %rbx
jle 0x1edd2
leaq (,%rbx,8), %rdx
movq %r15, %rax
imulq %r14, %rax
leaq (,%rax,8), %rdi
addq %rbp, %rdi
xorl %esi, %esi
callq 0x6220
jmp 0x1edd4
xorl %ebx, %ebx
cmpq %r14, %rbx
jge 0x1ee09
movq %rbx, %rax
imulq %r14, %rax
leaq (,%rax,8), %rax
addq %rbp, %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 %r14, %rbx
jge 0x1ee23
movsd (%r12,%rbx,8), %xmm0
movsd %xmm0, (%r13,%rbx,8)
incq %rbx
cmpq %rbx, %r14
jne 0x1ee0e
incq %r15
addq 0x18(%rsp), %r12
addq 0x10(%rsp), %r13
cmpq 0x20(%rsp), %r15
jne 0x1eda0
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x21552(%rip), %rdi     # 0x403a3
leaq 0x26546(%rip), %rsi     # 0x4539e
leaq 0x216d3(%rip), %rcx     # 0x40532
movl $0x11d, %edx            # imm = 0x11D
callq 0x62b0
movl $0x8, %edi
callq 0x61d0
movq 0x340ee(%rip), %rcx     # 0x52f68
addq $0x10, %rcx
movq %rcx, (%rax)
movq 0x34118(%rip), %rsi     # 0x52fa0
movq 0x340c1(%rip), %rdx     # 0x52f50
movq %rax, %rdi
callq 0x66c0
nop