// File: /workspace/github_cpp_makefile_star2_O3/canzarlab[P]Trajan/./Eigen/src/Core/products/GeneralMatrixMatrixTriangular.h
// Function: Eigen::internal::tribb_kernel<double, double, long, 4, 4, false, false, 1>::operator()(double*, long, double const*, double const*, long, long, double const&)
void operator()(ResScalar* _res, Index resStride, const LhsScalar* blockA, const RhsScalar* blockB, Index size, Index depth, const ResScalar& alpha)
  {
    typedef blas_data_mapper<ResScalar, Index, ColMajor> ResMapper;
    ResMapper res(_res, resStride);
    gebp_kernel<LhsScalar, RhsScalar, Index, ResMapper, mr, nr, ConjLhs, ConjRhs> gebp_kernel;

    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_kernel(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_kernel(ResMapper(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)
        {
          ResScalar* r = &res(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_kernel(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, %r12
movq %r8, 0x70(%rsp)
movq %rdx, 0x40(%rsp)
movq %rsi, 0x38(%rsp)
testq %r9, %r9
jle 0x28252
movq %rcx, %r9
movq 0x158(%rsp), %r10
movq 0x150(%rsp), %rbx
movq 0x40(%rsp), %rax
movq %rax, %rcx
shlq $0x5, %rcx
addq $0x20, %rcx
movq %rcx, 0x60(%rsp)
leaq 0x8(,%rax,8), %r15
xorl %ebp, %ebp
xorps %xmm1, %xmm1
movq $-0x1, %r8
leaq 0x2f(%rsp), %rdi
leaq 0x50(%rsp), %rsi
movq 0x38(%rsp), %rax
movq %rax, 0x30(%rsp)
movq %r12, %rcx
movq %r12, 0x68(%rsp)
movq %r9, 0x48(%rsp)
movl $0x4, %eax
cmpq %rax, %rcx
movl $0x4, %r13d
movq %rcx, 0x88(%rsp)
cmovlq %rcx, %r13
cmpq $0x2, %r13
movl $0x1, %eax
cmovlq %rax, %r13
subq %rbp, %r12
cmpq $0x4, %r12
movl $0x4, %r14d
cmovlq %r12, %r14
movq %rbp, %rax
imulq %rbx, %rax
movq 0x70(%rsp), %rcx
leaq (%rcx,%rax,8), %r11
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 (%r9,%rax,8), %rdx
movsd (%r10), %xmm0
movups %xmm1, 0x18(%rsp)
movq %r8, 0x10(%rsp)
movq %r8, 0x8(%rsp)
movq %r14, (%rsp)
movq %r11, 0x80(%rsp)
movq %r11, %rcx
movq %r14, %r8
movq %rbx, %r9
callq 0x1c502
testq %r12, %r12
jle 0x28177
leaq 0x90(%rsp), %rax
movq 0x30(%rsp), %rcx
xorl %edx, %edx
xorl %esi, %esi
leaq (%rdx,%rsi), %rdi
orq %rdx, %rdi
cmpq $0x4, %rdi
jae 0x28264
movsd (%rax,%rsi,8), %xmm0
addsd (%rcx,%rsi,8), %xmm0
movsd %xmm0, (%rcx,%rsi,8)
leaq (%rdx,%rsi), %rdi
incq %rdi
incq %rsi
cmpq %r14, %rdi
jl 0x28139
incq %rdx
addq %r15, %rcx
addq $0x28, %rax
cmpq %r13, %rdx
jne 0x28137
leaq (%r14,%rbp), %rax
movq %rbp, %rcx
movq 0x40(%rsp), %rdx
imulq %rdx, %rcx
movq 0x38(%rsp), %rsi
leaq (%rsi,%rcx,8), %rcx
leaq (%rcx,%rax,8), %rcx
movq %rcx, 0x50(%rsp)
movq %rdx, 0x58(%rsp)
movq 0x68(%rsp), %r12
movq %r12, %r8
subq %rax, %r8
imulq %rbx, %rax
movq 0x48(%rsp), %rcx
leaq (%rcx,%rax,8), %rdx
movq 0x158(%rsp), %rax
movq %rbp, 0x78(%rsp)
movq %rbx, %rbp
movq %rax, %rbx
movsd (%rax), %xmm0
xorps %xmm1, %xmm1
movups %xmm1, 0x18(%rsp)
movq $-0x1, %rax
movq %rax, 0x10(%rsp)
movq %rax, 0x8(%rsp)
movq %r14, (%rsp)
leaq 0x2f(%rsp), %r14
movq %r14, %rdi
leaq 0x50(%rsp), %r13
movq %r13, %rsi
movq 0x80(%rsp), %rcx
movq %rbp, %r9
callq 0x1c502
movq %r13, %rsi
movq %r14, %rdi
movq $-0x1, %r8
xorps %xmm1, %xmm1
movq %rbx, %r10
movq %rbp, %rbx
movq 0x78(%rsp), %rbp
movq 0x48(%rsp), %r9
addq $0x4, %rbp
movq 0x88(%rsp), %rcx
addq $-0x4, %rcx
movq 0x30(%rsp), %rax
addq 0x60(%rsp), %rax
movq %rax, 0x30(%rsp)
cmpq %r12, %rbp
jl 0x28053
addq $0x118, %rsp            # imm = 0x118
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x395fb(%rip), %rdi     # 0x61866
leaq 0x34ff0(%rip), %rsi     # 0x5d262
leaq 0x3e18b(%rip), %rcx     # 0x66404
movl $0x16d, %edx            # imm = 0x16D
callq 0x9200
nop