// File: /workspace/github_cpp_makefile_star2_O1/toxaart[P]hierarchical_block_sparse_lib/source/HierarchicalBlockSparseMatrix.h
// Function: hbsm::HierarchicalBlockSparseMatrix<double>::symm_rk(hbsm::HierarchicalBlockSparseMatrix<double> const&, bool, hbsm::HierarchicalBlockSparseMatrix<double>&)
void HierarchicalBlockSparseMatrix<Treal>::symm_rk(HierarchicalBlockSparseMatrix<Treal> const & A, bool transposed, HierarchicalBlockSparseMatrix<Treal> & C){

            if(!C.empty()) throw std::runtime_error("Error in HierarchicalBlockSparseMatrix::symm_rk(): non-empty matrix to write result!");

            C.set_params(A.get_params());
            if(!transposed){
                std::shared_ptr<HierarchicalBlockSparseMatrix<Treal> > product;
								product = std::make_shared<HierarchicalBlockSparseMatrix<Treal> >();
                multiply(A, false, A, true, *product);
                product->get_upper_triangle(C);

            }
            else{
                std::shared_ptr<HierarchicalBlockSparseMatrix<Treal> > product;
								product = std::make_shared<HierarchicalBlockSparseMatrix<Treal> >();
                multiply(A, true, A, false, *product);
                product->get_upper_triangle(C);
            }

        }

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdx, %r14
movl %esi, %ebx
movq %rdi, %r15
movq %rdx, %rdi
callq 0x1ad92
testb %al, %al
je 0x1fe45
movl 0x10(%r15), %eax
leaq 0x14(%rsp), %rsi
movl %eax, (%rsi)
movq %r14, %rdi
callq 0x9974
testb %bl, %bl
je 0x1fdad
movl $0x98, %edi
callq 0x21c0
movq %rax, %rbx
movabsq $0x100000001, %rax      # imm = 0x100000001
movq %rax, 0x8(%rbx)
leaq 0xaf9a(%rip), %rax      # 0x2ace0
movq %rax, (%rbx)
movq %rbx, %r12
addq $0x10, %r12
xorps %xmm0, %xmm0
movups %xmm0, 0x10(%rbx)
movl $0xffffffff, 0x20(%rbx) # imm = 0xFFFFFFFF
movups %xmm0, 0x28(%rbx)
movups %xmm0, 0x38(%rbx)
movups %xmm0, 0x48(%rbx)
movups %xmm0, 0x58(%rbx)
movups %xmm0, 0x68(%rbx)
movups %xmm0, 0x78(%rbx)
movups %xmm0, 0x88(%rbx)
movq $0x0, (%rsp)
movq %r15, %rdi
movl $0x1, %esi
movq %r15, %rdx
xorl %ecx, %ecx
movq %r12, %r8
xorl %r9d, %r9d
callq 0xa504
movq %r12, %rdi
movq %r14, %rsi
callq 0x1fa6e
jmp 0x1fe31
movl $0x98, %edi
callq 0x21c0
movq %rax, %rbx
movabsq $0x100000001, %rax      # imm = 0x100000001
movq %rax, 0x8(%rbx)
leaq 0xaf11(%rip), %rax      # 0x2ace0
movq %rax, (%rbx)
movq %rbx, %r12
addq $0x10, %r12
xorps %xmm0, %xmm0
movups %xmm0, 0x10(%rbx)
movl $0xffffffff, 0x20(%rbx) # imm = 0xFFFFFFFF
movups %xmm0, 0x28(%rbx)
movups %xmm0, 0x38(%rbx)
movups %xmm0, 0x48(%rbx)
movups %xmm0, 0x58(%rbx)
movups %xmm0, 0x68(%rbx)
movups %xmm0, 0x78(%rbx)
movups %xmm0, 0x88(%rbx)
movq $0x0, (%rsp)
movq %r15, %rdi
xorl %esi, %esi
movq %r15, %rdx
movl $0x1, %ecx
movq %r12, %r8
xorl %r9d, %r9d
callq 0xa504
movq %r12, %rdi
movq %r14, %rsi
callq 0x1fa6e
movq %rbx, %rdi
callq 0x1af0e
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movl $0x10, %edi
callq 0x20c0
movq %rax, %rbx
leaq 0x4b36(%rip), %rsi      # 0x2498f
movq %rax, %rdi
callq 0x20a0
movq 0xb188(%rip), %rsi      # 0x2aff0
movq 0xb151(%rip), %rdx      # 0x2afc0
movq %rbx, %rdi
callq 0x2290
jmp 0x1fe79
movq %rax, %r14
xorl %ebx, %ebx
jmp 0x1fe92
movq %rax, %r14
movq %rbx, %rdi
callq 0x2140
jmp 0x1fe9f
jmp 0x1fe8f
movq %rax, %r14
testq %rbx, %rbx
je 0x1fe9f
movq %rbx, %rdi
callq 0x1af0e
movq %r14, %rdi
callq 0x22b0
nop