// File: /workspace/github_cpp_makefile_star2_O3/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 $0x118, %rsp            # imm = 0x118
movq %r9, 0x70(%rsp)
movq %rcx, 0x48(%rsp)
movq %rsi, 0x40(%rsp)
cmpq $0x1, %rdx
jne 0x1e293
movq 0x150(%rsp), %r13
testq %r13, %r13
jle 0x1e262
movq 0x160(%rsp), %r9
movq 0x158(%rsp), %r15
movq 0x48(%rsp), %rax
movq %rax, %rcx
shlq $0x5, %rcx
addq $0x20, %rcx
movq %rcx, 0x60(%rsp)
leaq 0x8(,%rax,8), %rbp
xorl %r14d, %r14d
xorps %xmm1, %xmm1
movq $-0x1, %rdi
leaq 0x50(%rsp), %rsi
movq 0x40(%rsp), %rax
movq %rax, 0x38(%rsp)
movq %r13, %rcx
movq %r8, 0x68(%rsp)
movl $0x4, %eax
cmpq %rax, %rcx
movl $0x4, %r12d
movq %rcx, 0x88(%rsp)
cmovlq %rcx, %r12
cmpq $0x2, %r12
movl $0x1, %eax
cmovlq %rax, %r12
subq %r14, %r13
cmpq $0x4, %r13
movl $0x4, %ebx
cmovlq %r13, %rbx
movq %r14, %rax
imulq %r15, %rax
movq 0x70(%rsp), %rcx
leaq (%rcx,%rax,8), %r10
movaps %xmm1, 0x100(%rsp)
movaps %xmm1, 0xf0(%rsp)
movaps %xmm1, 0xe0(%rsp)
movaps %xmm1, 0xd0(%rsp)
movaps %xmm1, 0xc0(%rsp)
movaps %xmm1, 0xb0(%rsp)
movaps %xmm1, 0xa0(%rsp)
movaps %xmm1, 0x90(%rsp)
leaq 0x90(%rsp), %rcx
movq %rcx, 0x50(%rsp)
movq $0x4, 0x58(%rsp)
leaq (%r8,%rax,8), %rdx
movsd (%r9), %xmm0
movups %xmm1, 0x18(%rsp)
movq %rdi, 0x10(%rsp)
movq %rdi, 0x8(%rsp)
movq %rbx, (%rsp)
leaq 0x36(%rsp), %rdi
movq %r10, 0x80(%rsp)
movq %r10, %rcx
movq %rbx, %r8
movq %r15, %r9
callq 0x1bd36
testq %r13, %r13
jle 0x1e18c
leaq 0x90(%rsp), %rax
movq 0x38(%rsp), %rcx
xorl %edx, %edx
xorl %esi, %esi
leaq (%rdx,%rsi), %rdi
orq %rdx, %rdi
cmpq $0x4, %rdi
jae 0x1e274
movsd (%rax,%rsi,8), %xmm0
addsd (%rcx,%rsi,8), %xmm0
movsd %xmm0, (%rcx,%rsi,8)
leaq (%rdx,%rsi), %rdi
incq %rdi
incq %rsi
cmpq %rbx, %rdi
jl 0x1e14e
incq %rdx
addq %rbp, %rcx
addq $0x28, %rax
cmpq %r12, %rdx
jne 0x1e14c
leaq (%rbx,%r14), %rax
movq %r14, %rcx
movq 0x48(%rsp), %rdx
imulq %rdx, %rcx
movq 0x40(%rsp), %rsi
leaq (%rsi,%rcx,8), %rcx
leaq (%rcx,%rax,8), %rcx
movq %rcx, 0x50(%rsp)
movq %rdx, 0x58(%rsp)
movq 0x150(%rsp), %r13
movq %r13, %r8
subq %rax, %r8
imulq %r15, %rax
movq 0x68(%rsp), %r12
leaq (%r12,%rax,8), %rdx
movq 0x160(%rsp), %rax
movq %r14, 0x78(%rsp)
movq %r15, %r14
movq %rax, %r15
movsd (%rax), %xmm0
xorps %xmm1, %xmm1
movups %xmm1, 0x18(%rsp)
movq $-0x1, %rax
movq %rax, 0x10(%rsp)
movq %rax, 0x8(%rsp)
movq %rbx, (%rsp)
leaq 0x37(%rsp), %rdi
leaq 0x50(%rsp), %rbx
movq %rbx, %rsi
movq 0x80(%rsp), %rcx
movq %r14, %r9
callq 0x1bd36
movq %rbx, %rsi
movq $-0x1, %rdi
xorps %xmm1, %xmm1
movq %r15, %r9
movq %r14, %r15
movq 0x78(%rsp), %r14
movq %r12, %r8
addq $0x4, %r14
movq 0x88(%rsp), %rcx
addq $-0x4, %rcx
movq 0x38(%rsp), %rax
addq 0x60(%rsp), %rax
movq %rax, 0x38(%rsp)
cmpq %r13, %r14
jl 0x1e064
addq $0x118, %rsp            # imm = 0x118
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x1fb7d(%rip), %rdi     # 0x3ddf8
leaq 0x254d5(%rip), %rsi     # 0x43757
leaq 0x225ac(%rip), %rcx     # 0x40835
movl $0x16f, %edx            # imm = 0x16F
callq 0x62b0
leaq 0x21538(%rip), %rdi     # 0x3f7d2
leaq 0x21539(%rip), %rsi     # 0x3f7da
leaq 0x21d9e(%rip), %rcx     # 0x40046
movl $0xd1, %edx
callq 0x62b0