// File: /workspace/github_cpp_makefile_star2_O3/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, -0xe0(%rbp)
movq %r8, -0xd8(%rbp)
movq %rcx, -0x88(%rbp)
cmpq $0x1, 0x18(%rbp)
jne 0x1da3c
movq %rdi, %r8
movq 0x30(%rbp), %rbx
movq 0x10(%rbx), %rax
movq 0x20(%rbx), %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 0x1da5b
movq %rdx, %r15
movq %rsi, %r12
movq (%rbx), %rsi
testq %rsi, %rsi
movq %r8, -0x60(%rbp)
je 0x1d65e
xorl %eax, %eax
jmp 0x1d6a8
leaq (,%r14,8), %rdi
cmpq $0x4000, %r14           # imm = 0x4000
ja 0x1d685
movq %rsp, %rax
addq $0x1e, %rdi
andq $-0x10, %rdi
subq %rdi, %rax
movq %rax, %rsp
movq %rax, %rsi
jmp 0x1d6a8
movq %r10, %r13
callq 0x6520
testb $0xf, %al
jne 0x1daba
movq %rax, %rsi
testq %rax, %rax
movq -0x60(%rbp), %r8
movq %r13, %r10
je 0x1dabc
movabsq $0x1fffffffffffffff, %rcx # imm = 0x1FFFFFFFFFFFFFFF
movq %r10, %rdx
imulq %r8, %rdx
cmpq %rcx, %rdx
ja 0x1da89
movq %rsi, -0x78(%rbp)
movq %r14, -0x58(%rbp)
movq 0x8(%rbx), %rbx
testq %rbx, %rbx
movq %rax, -0x40(%rbp)
movq %rdx, -0x80(%rbp)
je 0x1d6e5
movq $0x0, -0x38(%rbp)
jmp 0x1d734
leaq (,%rdx,8), %rdi
cmpq $0x4000, %rdx           # imm = 0x4000
ja 0x1d70d
movq %rsp, %rbx
addq $0x1e, %rdi
andq $-0x10, %rdi
subq %rdi, %rbx
movq %rbx, %rsp
movq %rbx, -0x38(%rbp)
jmp 0x1d734
movq %r10, %r14
callq 0x6520
testb $0xf, %al
jne 0x1dabe
movq %rax, %rbx
movq %rax, -0x38(%rbp)
testq %rax, %rax
movq -0x60(%rbp), %r8
movq %r14, %r10
je 0x1dadd
testq %r12, %r12
jle 0x1da07
movq 0x20(%rbp), %rax
leaq 0x8(,%rax,8), %rcx
movq -0x68(%rbp), %rax
imulq %rax, %rcx
movq %rcx, -0x100(%rbp)
movq %r10, %rcx
imulq -0x88(%rbp), %rcx
shlq $0x3, %rcx
movq %rcx, -0xc0(%rbp)
leaq (,%rax,8), %rax
movq %rax, -0x98(%rbp)
xorl %r14d, %r14d
leaq -0x50(%rbp), %r9
movq %r10, %r13
xorl %edx, %edx
movq %r12, -0xd0(%rbp)
movq %r10, -0xc8(%rbp)
movq %rbx, -0x90(%rbp)
movq %rdx, %rax
cmpq %r13, %r12
movq %r13, -0xf8(%rbp)
cmovlq %r12, %r13
leaq (%rdx,%r10), %rcx
cmpq %r12, %rcx
movq %rcx, -0xa0(%rbp)
cmovlq %rcx, %r12
subq %rdx, %r12
movq -0xe0(%rbp), %rcx
imulq %rcx, %rax
movq -0xd8(%rbp), %rdx
leaq (%rdx,%rax,8), %rax
movq %rax, -0x50(%rbp)
movq %rcx, -0x48(%rbp)
subq $0x8, %rsp
leaq -0x2b(%rbp), %rdi
movq %rbx, %rsi
movq %r9, %rdx
movq %r12, -0x110(%rbp)
movq %r12, %rcx
xorl %r9d, %r9d
pushq $0x0
callq 0x1bae2
addq $0x10, %rsp
movq %r14, -0xe8(%rbp)
addq %r14, %r13
imulq -0x98(%rbp), %r13
movq %rbx, %rcx
movq 0x10(%rbp), %rax
movq %rax, -0xa8(%rbp)
movq %r15, -0xf0(%rbp)
movq %r15, -0xb8(%rbp)
movq $0x0, -0xb0(%rbp)
movq -0x68(%rbp), %r14
xorl %ebx, %ebx
leaq -0x50(%rbp), %r9
movq -0xa0(%rbp), %rdx
movq %r13, -0x108(%rbp)
movq -0x60(%rbp), %r8
cmpq %r14, %r8
movq %r14, %r15
cmovlq %r8, %r15
cmpq %r8, %rbx
jge 0x1d9c7
movq %rax, -0x120(%rbp)
movq %rcx, -0x128(%rbp)
addq -0xb0(%rbp), %r15
movq -0xb8(%rbp), %rax
movq %rax, -0x50(%rbp)
movq -0x88(%rbp), %rax
movq %rax, -0x48(%rbp)
subq $0x8, %rsp
leaq -0x2c(%rbp), %rdi
movq -0x78(%rbp), %rsi
movq %r9, %rdx
movq -0x110(%rbp), %r12
movq %r12, %rcx
movq %r15, %r8
movq %r9, %r13
xorl %r9d, %r9d
pushq $0x0
callq 0x1deac
addq $0x10, %rsp
movq %r14, -0x70(%rbp)
movq -0xa8(%rbp), %r14
movq %r14, -0x50(%rbp)
movq 0x20(%rbp), %rax
movq %rax, -0x48(%rbp)
movq 0x28(%rbp), %rax
movsd (%rax), %xmm0
subq $0x30, %rsp
xorps %xmm1, %xmm1
movups %xmm1, 0x18(%rsp)
movq $-0x1, %rax
movq %rax, 0x10(%rsp)
movq %rax, 0x8(%rsp)
movq %rbx, (%rsp)
leaq -0x2a(%rbp), %rdi
movq %r13, %rsi
movq -0x78(%rbp), %rdx
movq -0x90(%rbp), %rcx
movq %r15, %r8
movq %r12, %r9
callq 0x1bd36
addq $0x30, %rsp
movq -0x68(%rbp), %rax
addq %rax, %rbx
movq -0x100(%rbp), %rcx
movq -0x120(%rbp), %rsi
addq %rsi, %rcx
movq %rcx, -0x118(%rbp)
movq -0x70(%rbp), %r13
addq %rax, %r13
subq %rax, -0xb0(%rbp)
movq -0x98(%rbp), %rax
addq %rax, -0xb8(%rbp)
addq %rax, %r14
movq %r14, -0xa8(%rbp)
movq %r13, %r14
movq -0x108(%rbp), %r13
movq -0x128(%rbp), %r9
leaq (%r9,%r13), %rax
movq %rax, -0x70(%rbp)
subq $0x8, %rsp
movl $0x1, %edx
leaq -0x29(%rbp), %rdi
movq 0x20(%rbp), %rcx
movq -0x78(%rbp), %r8
pushq 0x28(%rbp)
pushq %r12
pushq %r15
callq 0x1dfd8
addq $0x20, %rsp
movq -0x70(%rbp), %rcx
movq -0x118(%rbp), %rax
leaq -0x50(%rbp), %r9
movq -0xa0(%rbp), %rdx
jmp 0x1d859
movq -0xf0(%rbp), %r15
addq -0xc0(%rbp), %r15
movq -0xc8(%rbp), %r10
movq -0xf8(%rbp), %r13
addq %r10, %r13
movq -0xe8(%rbp), %r14
subq %r10, %r14
movq -0xd0(%rbp), %r12
cmpq %r12, %rdx
movq -0x90(%rbp), %rbx
jl 0x1d79e
cmpq $0x4001, -0x80(%rbp)    # imm = 0x4001
jb 0x1da1a
movq -0x38(%rbp), %rdi
callq 0x64d0
cmpq $0x4001, -0x58(%rbp)    # imm = 0x4001
jb 0x1da2d
movq -0x40(%rbp), %rdi
callq 0x64d0
leaq -0x28(%rbp), %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x21d8f(%rip), %rdi     # 0x3f7d2
leaq 0x21d90(%rip), %rsi     # 0x3f7da
leaq 0x225f5(%rip), %rcx     # 0x40046
movl $0xd1, %edx
callq 0x62b0
movl $0x8, %edi
callq 0x61d0
movq 0x324fc(%rip), %rcx     # 0x4ff68
addq $0x10, %rcx
movq %rcx, (%rax)
movq 0x32526(%rip), %rsi     # 0x4ffa0
movq 0x324cf(%rip), %rdx     # 0x4ff50
movq %rax, %rdi
callq 0x66c0
movq %rax, %r15
movl $0x8, %edi
callq 0x61d0
movq 0x324cb(%rip), %rcx     # 0x4ff68
addq $0x10, %rcx
movq %rcx, (%rax)
movq 0x324f5(%rip), %rsi     # 0x4ffa0
movq 0x3249e(%rip), %rdx     # 0x4ff50
movq %rax, %rdi
callq 0x66c0
jmp 0x1dabe
jmp 0x1da5b
leaq 0x204f4(%rip), %rdi     # 0x3dfb9
leaq 0x24e5b(%rip), %rsi     # 0x42927
leaq 0x205a1(%rip), %rcx     # 0x3e074
movl $0xb8, %edx
callq 0x62b0
movl $0x8, %edi
callq 0x61d0
movq 0x3247a(%rip), %rcx     # 0x4ff68
addq $0x10, %rcx
movq %rcx, (%rax)
movq 0x324a4(%rip), %rsi     # 0x4ffa0
movq 0x3244d(%rip), %rdx     # 0x4ff50
movq %rax, %rdi
callq 0x66c0
movq %rax, %rbx
movq -0x58(%rbp), %r14
jmp 0x1db3c
movq %rax, %rbx
movq %r15, %rdi
jmp 0x1db40
jmp 0x1db22
jmp 0x1db22
jmp 0x1db22
movq %rax, %rbx
cmpq $0x4001, -0x80(%rbp)    # imm = 0x4001
movq -0x58(%rbp), %r14
jb 0x1db3c
movq -0x38(%rbp), %rdi
callq 0x64d0
movq -0x40(%rbp), %rdi
cmpq $0x4001, %r14           # imm = 0x4001
jb 0x1db4e
callq 0x64d0
movq %rbx, %rdi
callq 0x6710