// File: /workspace/github_cpp_makefile_star2_O2/j-faria[P]kima/eigen/Eigen/src/Core/products/GeneralMatrixMatrixTriangular.h
// Function: Eigen::internal::tribb_kernel<double, double, long, 4, 4, false, false, 1, 1>::operator()(double*, long, long, double const*, double const*, long, long, double const&)
void operator()(ResScalar* _res, Index resIncr, Index resStride, const LhsScalar* blockA, const RhsScalar* blockB, Index size, Index depth, const ResScalar& alpha)
  {
    typedef blas_data_mapper<ResScalar, Index, ColMajor, Unaligned, ResInnerStride> ResMapper;
    typedef blas_data_mapper<ResScalar, Index, ColMajor, Unaligned> BufferMapper;
    ResMapper res(_res, resStride, resIncr);
    gebp_kernel<LhsScalar, RhsScalar, Index, ResMapper, mr, nr, ConjLhs, ConjRhs> gebp_kernel1;
    gebp_kernel<LhsScalar, RhsScalar, Index, BufferMapper, mr, nr, ConjLhs, ConjRhs> gebp_kernel2;

    Matrix<ResScalar,BlockSize,BlockSize,ColMajor> buffer((internal::constructor_without_unaligned_array_assert()));

    // let's process the block per panel of actual_mc x BlockSize,
    // again, each is split into three parts, etc.
    for (Index j=0; j<size; j+=BlockSize)
    {
      Index actualBlockSize = std::min<Index>(BlockSize,size - j);
      const RhsScalar* actual_b = blockB+j*depth;

      if(UpLo==Upper)
        gebp_kernel1(res.getSubMapper(0, j), blockA, actual_b, j, depth, actualBlockSize, alpha,
                     -1, -1, 0, 0);
      
      // selfadjoint micro block
      {
        Index i = j;
        buffer.setZero();
        // 1 - apply the kernel on the temporary buffer
        gebp_kernel2(BufferMapper(buffer.data(), BlockSize), blockA+depth*i, actual_b, actualBlockSize, depth, actualBlockSize, alpha,
                     -1, -1, 0, 0);

        // 2 - triangular accumulation
        for(Index j1=0; j1<actualBlockSize; ++j1)
        {
          typename ResMapper::LinearMapper r = res.getLinearMapper(i,j+j1);
          for(Index i1=UpLo==Lower ? j1 : 0;
              UpLo==Lower ? i1<actualBlockSize : i1<=j1; ++i1)
            r(i1) += buffer(i1,j1);
        }
      }

      if(UpLo==Lower)
      {
        Index i = j+actualBlockSize;
        gebp_kernel1(res.getSubMapper(i, j), blockA+depth*i, actual_b, size-i, 
                     depth, actualBlockSize, alpha, -1, -1, 0, 0);
      }
    }
  }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x128, %rsp            # imm = 0x128
movq %r9, 0x70(%rsp)
cmpq $0x1, %rdx
jne 0x1bfb9
movq %rcx, %r14
movq %rsi, %r12
movq %r8, 0x40(%rsp)
movq 0x160(%rsp), %rax
shlq $0x5, %rcx
addq $0x20, %rcx
movq %rcx, 0x58(%rsp)
leaq 0x8(,%r14,8), %rcx
movq %rcx, 0x98(%rsp)
xorl %ecx, %ecx
pushq $0x4
popq %rdx
leaq 0xa0(%rsp), %rbp
movq %rsi, 0x38(%rsp)
movq %rax, %rsi
movq %r14, 0x68(%rsp)
movq %r12, 0x60(%rsp)
cmpq $0x4, %rsi
movq %rdx, %rbx
cmovlq %rsi, %rbx
testq %rbx, %rbx
movl $0x0, %r13d
cmovgq %rbx, %r13
movq %rax, %rdi
subq %rcx, %rdi
jle 0x1bfa7
movq %rsi, 0x88(%rsp)
cmpq $0x4, %rdi
cmovgeq %rdx, %rdi
movq %rcx, 0x90(%rsp)
movq %rcx, %r14
movq 0x168(%rsp), %r12
imulq %r12, %r14
movq 0x70(%rsp), %rax
leaq (%rax,%r14,8), %r15
movq %rdi, %r12
movq %rbp, %rdi
callq 0x1bfd8
movq %rbp, 0x48(%rsp)
movq $0x4, 0x50(%rsp)
movq 0x40(%rsp), %rax
leaq (%rax,%r14,8), %rdx
movq 0x170(%rsp), %rax
movsd (%rax), %xmm0
xorps %xmm1, %xmm1
movups %xmm1, 0x18(%rsp)
orq $-0x1, 0x10(%rsp)
orq $-0x1, 0x8(%rsp)
movq %r12, (%rsp)
leaq 0x36(%rsp), %rdi
leaq 0x48(%rsp), %rsi
movq %r15, 0x78(%rsp)
movq %r15, %rcx
movq %r12, 0x80(%rsp)
movq %r12, %r8
movq 0x168(%rsp), %r9
callq 0x1963e
movq 0x38(%rsp), %r12
xorl %r14d, %r14d
cmpq %r13, %r14
je 0x1bee8
xorl %r15d, %r15d
cmpq %r15, %rbx
je 0x1bed8
leaq (%r14,%r15), %rsi
movq %rbp, %rdi
movq %r14, %rdx
callq 0x1bfe8
movsd (%rax), %xmm0
addsd (%r12,%r15,8), %xmm0
movsd %xmm0, (%r12,%r15,8)
incq %r15
jmp 0x1beaf
incq %r14
decq %rbx
addq 0x98(%rsp), %r12
jmp 0x1bea7
movq 0x90(%rsp), %r13
movq 0x80(%rsp), %rsi
leaq (%rsi,%r13), %rax
movq %r13, %rcx
movq 0x68(%rsp), %r14
imulq %r14, %rcx
movq 0x60(%rsp), %r12
leaq (%r12,%rcx,8), %rcx
leaq (%rcx,%rax,8), %rcx
movq %rcx, 0x48(%rsp)
movq %r14, 0x50(%rsp)
movq 0x160(%rsp), %rbx
movq %rbx, %r8
subq %rax, %r8
movq 0x168(%rsp), %r9
imulq %r9, %rax
movq 0x40(%rsp), %rcx
leaq (%rcx,%rax,8), %rdx
movq 0x170(%rsp), %rax
movsd (%rax), %xmm0
xorps %xmm1, %xmm1
movups %xmm1, 0x18(%rsp)
orq $-0x1, 0x10(%rsp)
orq $-0x1, 0x8(%rsp)
movq %rsi, (%rsp)
leaq 0x37(%rsp), %rdi
leaq 0x48(%rsp), %rsi
movq 0x78(%rsp), %rcx
callq 0x1963e
movq %r13, %rcx
movq %rbx, %rax
addq $0x4, %rcx
movq 0x88(%rsp), %rsi
addq $-0x4, %rsi
movq 0x38(%rsp), %rdx
addq 0x58(%rsp), %rdx
movq %rdx, 0x38(%rsp)
pushq $0x4
popq %rdx
jmp 0x1bddb
addq $0x128, %rsp            # imm = 0x128
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x236e1(%rip), %rdi     # 0x3f6a1
leaq 0x236e2(%rip), %rsi     # 0x3f6a9
leaq 0x24ced(%rip), %rcx     # 0x40cbb
movl $0xd1, %edx
callq 0x62b0