// File: /workspace/github_cpp_makefile_star2_O1/j-faria[P]kima/eigen/Eigen/src/Core/products/GeneralMatrixMatrixTriangular.h
// Function: Eigen::internal::general_matrix_matrix_triangular_product<long, double, 0, false, double, 1, false, 0, 1, 1, 0>::run(long, long, double const*, long, double const*, long, double*, long, long, double const&, Eigen::internal::level3_blocking<double, double>&)
static EIGEN_STRONG_INLINE void run(Index size, Index depth,const LhsScalar* _lhs, Index lhsStride,
                                      const RhsScalar* _rhs, Index rhsStride,
                                      ResScalar* _res, Index resIncr, Index resStride,
                                      const ResScalar& alpha, level3_blocking<LhsScalar,RhsScalar>& blocking)
  {
    typedef gebp_traits<LhsScalar,RhsScalar> Traits;

    typedef const_blas_data_mapper<LhsScalar, Index, LhsStorageOrder> LhsMapper;
    typedef const_blas_data_mapper<RhsScalar, Index, RhsStorageOrder> RhsMapper;
    typedef blas_data_mapper<typename Traits::ResScalar, Index, ColMajor, Unaligned, ResInnerStride> ResMapper;
    LhsMapper lhs(_lhs,lhsStride);
    RhsMapper rhs(_rhs,rhsStride);
    ResMapper res(_res, resStride, resIncr);

    Index kc = blocking.kc();
    Index mc = (std::min)(size,blocking.mc());

    // !!! mc must be a multiple of nr:
    if(mc > Traits::nr)
      mc = (mc/Traits::nr)*Traits::nr;

    std::size_t sizeA = kc*mc;
    std::size_t sizeB = kc*size;

    ei_declare_aligned_stack_constructed_variable(LhsScalar, blockA, sizeA, blocking.blockA());
    ei_declare_aligned_stack_constructed_variable(RhsScalar, blockB, sizeB, blocking.blockB());

    gemm_pack_lhs<LhsScalar, Index, LhsMapper, Traits::mr, Traits::LhsProgress, typename Traits::LhsPacket4Packing, LhsStorageOrder> pack_lhs;
    gemm_pack_rhs<RhsScalar, Index, RhsMapper, Traits::nr, RhsStorageOrder> pack_rhs;
    gebp_kernel<LhsScalar, RhsScalar, Index, ResMapper, Traits::mr, Traits::nr, ConjugateLhs, ConjugateRhs> gebp;
    tribb_kernel<LhsScalar, RhsScalar, Index, Traits::mr, Traits::nr, ConjugateLhs, ConjugateRhs, ResInnerStride, UpLo> sybb;

    for(Index k2=0; k2<depth; k2+=kc)
    {
      const Index actual_kc = (std::min)(k2+kc,depth)-k2;

      // note that the actual rhs is the transpose/adjoint of mat
      pack_rhs(blockB, rhs.getSubMapper(k2,0), actual_kc, size);

      for(Index i2=0; i2<size; i2+=mc)
      {
        const Index actual_mc = (std::min)(i2+mc,size)-i2;

        pack_lhs(blockA, lhs.getSubMapper(i2, k2), actual_kc, actual_mc);

        // the selected actual_mc * size panel of res is split into three different part:
        //  1 - before the diagonal => processed with gebp or skipped
        //  2 - the actual_mc x actual_mc symmetric block => processed with a special kernel
        //  3 - after the diagonal => processed with gebp or skipped
        if (UpLo==Lower)
          gebp(res.getSubMapper(i2, 0), blockA, blockB, actual_mc, actual_kc,
               (std::min)(size,i2), alpha, -1, -1, 0, 0);

        sybb(_res+resStride*i2 + resIncr*i2, resIncr, resStride, blockA, blockB + actual_kc*i2, actual_mc, actual_kc, alpha);

        if (UpLo==Upper)
        {
          Index j2 = i2+actual_mc;
          gebp(res.getSubMapper(i2, j2), blockA, blockB+actual_kc*j2, actual_mc,
               actual_kc, (std::max)(Index(0), size-j2), alpha, -1, -1, 0, 0);
        }
      }
    }
  }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x108, %rsp            # imm = 0x108
movq %r9, -0xf0(%rbp)
movq %r8, -0xe8(%rbp)
movq %rcx, -0x98(%rbp)
cmpq $0x1, 0x18(%rbp)
jne 0x1e2a3
movq %rdi, %r8
movq 0x30(%rbp), %r12
movq 0x10(%r12), %rax
movq 0x20(%r12), %r10
cmpq %rdi, %rax
cmovgeq %rdi, %rax
movabsq $0x7ffffffffffffffc, %r14 # imm = 0x7FFFFFFFFFFFFFFC
andq %rax, %r14
cmpq $0x5, %rax
cmovlq %rax, %r14
movq %r14, -0x68(%rbp)
imulq %r10, %r14
movq %r14, %rax
shrq $0x3d, %rax
jne 0x1e2c2
movq %rdx, %r13
movq %rsi, %rbx
movq (%r12), %rsi
testq %rsi, %rsi
movq %r8, -0x60(%rbp)
je 0x1deab
xorl %eax, %eax
jmp 0x1def5
leaq (,%r14,8), %rdi
cmpq $0x4000, %r14           # imm = 0x4000
ja 0x1ded2
movq %rsp, %rax
addq $0x1e, %rdi
andq $-0x10, %rdi
subq %rdi, %rax
movq %rax, %rsp
movq %rax, %rsi
jmp 0x1def5
movq %r10, %r15
callq 0x6520
testb $0xf, %al
jne 0x1e321
movq %rax, %rsi
testq %rax, %rax
movq -0x60(%rbp), %r8
movq %r15, %r10
je 0x1e323
movabsq $0x1fffffffffffffff, %rcx # imm = 0x1FFFFFFFFFFFFFFF
movq %r10, %rdx
imulq %r8, %rdx
cmpq %rcx, %rdx
ja 0x1e2f0
movq %rsi, -0x80(%rbp)
movq %r14, -0x58(%rbp)
movq 0x8(%r12), %r14
testq %r14, %r14
movq %rax, -0x40(%rbp)
movq %rdx, -0x88(%rbp)
je 0x1df36
movq $0x0, -0x38(%rbp)
jmp 0x1df85
leaq (,%rdx,8), %rdi
cmpq $0x4000, %rdx           # imm = 0x4000
ja 0x1df5e
movq %rsp, %r14
addq $0x1e, %rdi
andq $-0x10, %rdi
subq %rdi, %r14
movq %r14, %rsp
movq %r14, -0x38(%rbp)
jmp 0x1df85
movq %r10, %r15
callq 0x6520
testb $0xf, %al
jne 0x1e325
movq %rax, %r14
movq %rax, -0x38(%rbp)
testq %rax, %rax
movq -0x60(%rbp), %r8
movq %r15, %r10
je 0x1e344
testq %rbx, %rbx
jle 0x1e26b
movq 0x28(%rbp), %r12
movq 0x20(%rbp), %rdx
movq %r10, %rax
imulq -0x98(%rbp), %rax
shlq $0x3, %rax
movq %rax, -0xd0(%rbp)
movq -0x68(%rbp), %rcx
leaq (,%rcx,8), %rax
movq %rax, -0xa8(%rbp)
movq 0x18(%rbp), %rax
leaq (,%rax,8), %rax
leaq (%rax,%rdx,8), %rax
imulq %rcx, %rax
movq %rax, -0x108(%rbp)
movq $0x0, -0x90(%rbp)
leaq -0x50(%rbp), %r9
movq %r10, %r15
xorl %edx, %edx
movq %rbx, -0xe0(%rbp)
movq %r10, -0xd8(%rbp)
movq %r14, -0xa0(%rbp)
movq %rdx, %rax
cmpq %r15, %rbx
movq %r15, -0x100(%rbp)
cmovlq %rbx, %r15
leaq (%rdx,%r10), %rcx
cmpq %rbx, %rcx
movq %rcx, -0xb0(%rbp)
cmovlq %rcx, %rbx
subq %rdx, %rbx
movq -0xf0(%rbp), %rcx
imulq %rcx, %rax
movq -0xe8(%rbp), %rdx
leaq (%rdx,%rax,8), %rax
movq %rax, -0x50(%rbp)
movq %rcx, -0x48(%rbp)
subq $0x8, %rsp
leaq -0x2b(%rbp), %rdi
movq %r14, %rsi
movq %r9, %rdx
movq %rbx, -0x118(%rbp)
movq %rbx, %rcx
xorl %r9d, %r9d
pushq $0x0
callq 0x1c2ee
addq $0x10, %rsp
addq -0x90(%rbp), %r15
imulq -0xa8(%rbp), %r15
movq %r14, %rcx
movq 0x10(%rbp), %rax
movq %rax, %rsi
movq %rax, -0xb8(%rbp)
movq %r13, -0xf8(%rbp)
movq %r13, -0xc8(%rbp)
movq $0x0, -0xc0(%rbp)
movq -0x68(%rbp), %r13
xorl %ebx, %ebx
leaq -0x50(%rbp), %r9
movq -0xb0(%rbp), %rdx
movq %r15, -0x110(%rbp)
movq -0x60(%rbp), %r8
cmpq %r13, %r8
movq %r13, %r15
cmovlq %r8, %r15
cmpq %r8, %rbx
jge 0x1e22e
movq %rsi, -0x120(%rbp)
movq %rcx, -0x128(%rbp)
movq %rbx, -0x78(%rbp)
movq %r13, -0x70(%rbp)
movq %r12, %rbx
addq -0xc0(%rbp), %r15
movq -0xc8(%rbp), %rax
movq %rax, -0x50(%rbp)
movq -0x98(%rbp), %rax
movq %rax, -0x48(%rbp)
subq $0x8, %rsp
leaq -0x2c(%rbp), %rdi
movq -0x80(%rbp), %rsi
movq %r9, %rdx
movq -0x118(%rbp), %r12
movq %r12, %rcx
movq %r15, %r8
movq %r9, %r13
xorl %r9d, %r9d
pushq $0x0
callq 0x1e718
addq $0x10, %rsp
movq -0xb8(%rbp), %r14
movq %r14, -0x50(%rbp)
movq 0x20(%rbp), %rax
movq %rax, -0x48(%rbp)
movsd (%rbx), %xmm0
subq $0x30, %rsp
xorps %xmm1, %xmm1
movups %xmm1, 0x18(%rsp)
movq $-0x1, %rax
movq %rax, 0x10(%rsp)
movq %rax, 0x8(%rsp)
movq -0x78(%rbp), %rbx
movq %rbx, (%rsp)
leaq -0x2a(%rbp), %rdi
movq %r13, %rsi
movq -0x80(%rbp), %rdx
movq -0xa0(%rbp), %rcx
movq %r15, %r8
movq %r12, %r9
callq 0x1c542
addq $0x30, %rsp
movq -0x68(%rbp), %rax
addq %rax, %rbx
movq -0x70(%rbp), %r13
addq %rax, %r13
subq %rax, -0xc0(%rbp)
movq -0xa8(%rbp), %rax
addq %rax, -0xc8(%rbp)
addq %rax, %r14
movq %r14, -0xb8(%rbp)
movq -0x108(%rbp), %rax
movq -0x120(%rbp), %rsi
addq %rsi, %rax
movq %rax, -0x78(%rbp)
movq %r12, %rax
movq -0x110(%rbp), %r14
movq -0x128(%rbp), %r9
leaq (%r9,%r14), %rcx
movq %rcx, -0x70(%rbp)
subq $0x8, %rsp
leaq -0x29(%rbp), %rdi
movq 0x18(%rbp), %rdx
movq 0x20(%rbp), %rcx
movq -0x80(%rbp), %r8
movq 0x28(%rbp), %r12
pushq %r12
pushq %rax
pushq %r15
callq 0x1e844
addq $0x20, %rsp
movq -0x70(%rbp), %rcx
movq -0x78(%rbp), %rsi
leaq -0x50(%rbp), %r9
movq -0xb0(%rbp), %rdx
jmp 0x1e0be
movq -0xf8(%rbp), %r13
addq -0xd0(%rbp), %r13
movq -0xd8(%rbp), %r10
movq -0x100(%rbp), %r15
addq %r10, %r15
subq %r10, -0x90(%rbp)
movq -0xe0(%rbp), %rbx
cmpq %rbx, %rdx
movq -0xa0(%rbp), %r14
jl 0x1e003
cmpq $0x4001, -0x88(%rbp) # imm = 0x4001
jb 0x1e281
movq -0x38(%rbp), %rdi
callq 0x64d0
cmpq $0x4001, -0x58(%rbp)    # imm = 0x4001
jb 0x1e294
movq -0x40(%rbp), %rdi
callq 0x64d0
leaq -0x28(%rbp), %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x234ec(%rip), %rdi     # 0x41796
leaq 0x234ed(%rip), %rsi     # 0x4179e
leaq 0x23d52(%rip), %rcx     # 0x4200a
movl $0xd1, %edx
callq 0x62b0
movl $0x8, %edi
callq 0x61d0
movq 0x34c95(%rip), %rcx     # 0x52f68
addq $0x10, %rcx
movq %rcx, (%rax)
movq 0x34cbf(%rip), %rsi     # 0x52fa0
movq 0x34c68(%rip), %rdx     # 0x52f50
movq %rax, %rdi
callq 0x66c0
movq %rax, %r15
movl $0x8, %edi
callq 0x61d0
movq 0x34c64(%rip), %rcx     # 0x52f68
addq $0x10, %rcx
movq %rcx, (%rax)
movq 0x34c8e(%rip), %rsi     # 0x52fa0
movq 0x34c37(%rip), %rdx     # 0x52f50
movq %rax, %rdi
callq 0x66c0
jmp 0x1e325
jmp 0x1e2c2
leaq 0x21c51(%rip), %rdi     # 0x3ff7d
leaq 0x27098(%rip), %rsi     # 0x453cb
leaq 0x21cfe(%rip), %rcx     # 0x40038
movl $0xb8, %edx
callq 0x62b0
movl $0x8, %edi
callq 0x61d0
movq 0x34c13(%rip), %rcx     # 0x52f68
addq $0x10, %rcx
movq %rcx, (%rax)
movq 0x34c3d(%rip), %rsi     # 0x52fa0
movq 0x34be6(%rip), %rdx     # 0x52f50
movq %rax, %rdi
callq 0x66c0
movq %rax, %rbx
movq -0x58(%rbp), %r14
jmp 0x1e3a6
movq %rax, %rbx
movq %r15, %rdi
jmp 0x1e3aa
jmp 0x1e389
jmp 0x1e389
jmp 0x1e389
movq %rax, %rbx
cmpq $0x4001, -0x88(%rbp) # imm = 0x4001
movq -0x58(%rbp), %r14
movq -0x38(%rbp), %rdi
jb 0x1e3a6
callq 0x64d0
movq -0x40(%rbp), %rdi
cmpq $0x4001, %r14           # imm = 0x4001
jb 0x1e3b8
callq 0x64d0
movq %rbx, %rdi
callq 0x6710