// File: /workspace/github_cpp_makefile_star2_O2/readmapping[P]alfalfa/src/dp.cpp
// Function: dynProg::print_matrices(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, boundaries const&, bool)
void  dynProg::print_matrices(const string& ref, 
        const string& query, const boundaries& offset, bool gapMatrices )
{
        cout << "        ";
        for( int j = 0; j < L1; j++ )
        {
                cout << ref[ offset.refB+j ] << "   ";
        }
        cout << "\n  ";

        for( int i = 0; i <= L2; i++ )
        {
                if( i > 0 )
                {
                        cout << query[ offset.queryB+i-1 ] << " ";
                }
                for( int j = 0; j <= L1; j++ )
                {
                        cout.width( 3 );
                        cout << M[ i ][ j ] << " ";
                }
                cout << endl;
        }
        cout << endl;
        if(gapMatrices){
            cout << "        ";
            for( int j = 0; j < L1; j++ )
            {
                    cout << ref[ offset.refB+j ] << "   ";
            }
            cout << "\n  ";

            for( int i = 0; i <= L2; i++ )
            {
                    if( i > 0 )
                    {
                            cout << query[ offset.queryB+i-1 ] << " ";
                    }
                    for( int j = 0; j <= L1; j++ )
                    {
                            cout.width( 3 );
                            cout << LEFT[ i ][ j ] << " ";
                    }
                    cout << endl;
            }
            cout << endl;
            cout << "        ";
            for( int j = 0; j < L1; j++ )
            {
                    cout << ref[ offset.refB+j ] << "   ";
            }
            cout << "\n  ";

            for( int i = 0; i <= L2; i++ )
            {
                    if( i > 0 )
                    {
                            cout << query[ offset.queryB+i-1 ] << " ";
                    }
                    for( int j = 0; j <= L1; j++ )
                    {
                            cout.width( 3 );
                            cout << UP[ i ][ j ] << " ";
                    }
                    cout << endl;
            }
            cout << endl;
        }
        cout << "        ";
        for( int j = 0; j < L1; j++ )
        {
                cout << ref[ offset.refB+j ] << "   ";
        }
        cout << "\n  ";

        cout << endl;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movl %r8d, 0x14(%rsp)
movq %rcx, %rbx
movq %rdx, 0x8(%rsp)
movq %rsi, (%rsp)
movq %rdi, %r15
movq 0x32947(%rip), %r13     # 0x49fc0
leaq 0x1f2df(%rip), %rsi     # 0x3695f
movq %r13, %rdi
callq 0x72b0
xorl %r12d, %r12d
leaq 0x1f2d2(%rip), %rbp     # 0x36964
movslq 0x20(%r15), %rax
cmpq %rax, %r12
jge 0x176c2
movq (%rsp), %rax
movq (%rax), %rax
addq (%rbx), %rax
movsbl (%r12,%rax), %esi
movq %r13, %rdi
callq 0x7330
movq %rax, %rdi
movq %rbp, %rsi
callq 0x72b0
incq %r12
jmp 0x17692
leaq 0x1f29f(%rip), %rsi     # 0x36968
movq %r13, %rdi
callq 0x72b0
xorl %r12d, %r12d
leaq 0x20dab(%rip), %rbp     # 0x38486
movslq 0x24(%r15), %rax
cmpq %rax, %r12
jg 0x17763
testq %r12, %r12
je 0x17713
movslq 0x10(%rbx), %rax
movslq %r12d, %rcx
addq %rax, %rcx
movq 0x8(%rsp), %rax
movq (%rax), %rax
movsbl -0x1(%rax,%rcx), %esi
movq %r13, %rdi
callq 0x7330
movq %rax, %rdi
movq %rbp, %rsi
callq 0x72b0
xorl %r14d, %r14d
movslq 0x20(%r15), %rax
cmpq %rax, %r14
jg 0x17753
movq (%r13), %rax
movq -0x18(%rax), %rax
movq $0x3, 0x10(%r13,%rax)
movq (%r15), %rax
movq (%rax,%r12,8), %rax
movl (%rax,%r14,4), %esi
movq %r13, %rdi
callq 0x75c0
movq %rax, %rdi
movq %rbp, %rsi
callq 0x72b0
incq %r14
jmp 0x17716
movq %r13, %rdi
callq 0x7160
incq %r12
jmp 0x176db
movq 0x32856(%rip), %rdi     # 0x49fc0
callq 0x7160
cmpb $0x0, 0x14(%rsp)
je 0x1797a
movq 0x3283f(%rip), %r13     # 0x49fc0
leaq 0x1f1d7(%rip), %rsi     # 0x3695f
movq %r13, %rdi
callq 0x72b0
xorl %r12d, %r12d
leaq 0x1f1ca(%rip), %rbp     # 0x36964
movslq 0x20(%r15), %rax
cmpq %rax, %r12
jge 0x177ca
movq (%rsp), %rax
movq (%rax), %rax
addq (%rbx), %rax
movsbl (%r12,%rax), %esi
movq %r13, %rdi
callq 0x7330
movq %rax, %rdi
movq %rbp, %rsi
callq 0x72b0
incq %r12
jmp 0x1779a
leaq 0x1f197(%rip), %rsi     # 0x36968
movq %r13, %rdi
callq 0x72b0
xorl %r12d, %r12d
leaq 0x20ca3(%rip), %rbp     # 0x38486
movslq 0x24(%r15), %rax
cmpq %rax, %r12
jg 0x17870
testq %r12, %r12
je 0x1781f
movslq 0x10(%rbx), %rax
movslq %r12d, %rcx
addq %rax, %rcx
movq 0x8(%rsp), %rax
movq (%rax), %rax
movsbl -0x1(%rax,%rcx), %esi
movq %r13, %rdi
callq 0x7330
movq %rax, %rdi
movq %rbp, %rsi
callq 0x72b0
xorl %r14d, %r14d
movslq 0x20(%r15), %rax
cmpq %rax, %r14
jg 0x17860
movq (%r13), %rax
movq -0x18(%rax), %rax
movq $0x3, 0x10(%r13,%rax)
movq 0x10(%r15), %rax
movq (%rax,%r12,8), %rax
movl (%rax,%r14,4), %esi
movq %r13, %rdi
callq 0x75c0
movq %rax, %rdi
movq %rbp, %rsi
callq 0x72b0
incq %r14
jmp 0x17822
movq %r13, %rdi
callq 0x7160
incq %r12
jmp 0x177e3
movq 0x32749(%rip), %r13     # 0x49fc0
movq %r13, %rdi
callq 0x7160
leaq 0x1f0d9(%rip), %rsi     # 0x3695f
movq %r13, %rdi
callq 0x72b0
xorl %r12d, %r12d
leaq 0x1f0cc(%rip), %rbp     # 0x36964
movslq 0x20(%r15), %rax
cmpq %rax, %r12
jge 0x178c8
movq (%rsp), %rax
movq (%rax), %rax
addq (%rbx), %rax
movsbl (%r12,%rax), %esi
movq %r13, %rdi
callq 0x7330
movq %rax, %rdi
movq %rbp, %rsi
callq 0x72b0
incq %r12
jmp 0x17898
leaq 0x1f099(%rip), %rsi     # 0x36968
movq %r13, %rdi
callq 0x72b0
xorl %r12d, %r12d
leaq 0x20ba5(%rip), %rbp     # 0x38486
movslq 0x24(%r15), %rax
cmpq %rax, %r12
jg 0x1796e
testq %r12, %r12
je 0x1791d
movslq 0x10(%rbx), %rax
movslq %r12d, %rcx
addq %rax, %rcx
movq 0x8(%rsp), %rax
movq (%rax), %rax
movsbl -0x1(%rax,%rcx), %esi
movq %r13, %rdi
callq 0x7330
movq %rax, %rdi
movq %rbp, %rsi
callq 0x72b0
xorl %r14d, %r14d
movslq 0x20(%r15), %rax
cmpq %rax, %r14
jg 0x1795e
movq (%r13), %rax
movq -0x18(%rax), %rax
movq $0x3, 0x10(%r13,%rax)
movq 0x8(%r15), %rax
movq (%rax,%r12,8), %rax
movl (%rax,%r14,4), %esi
movq %r13, %rdi
callq 0x75c0
movq %rax, %rdi
movq %rbp, %rsi
callq 0x72b0
incq %r14
jmp 0x17920
movq %r13, %rdi
callq 0x7160
incq %r12
jmp 0x178e1
movq 0x3264b(%rip), %rdi     # 0x49fc0
callq 0x7160
movq 0x3263f(%rip), %r12     # 0x49fc0
leaq 0x1efd7(%rip), %rsi     # 0x3695f
movq %r12, %rdi
callq 0x72b0
xorl %ebp, %ebp
leaq 0x1efcb(%rip), %r13     # 0x36964
movslq 0x20(%r15), %rax
cmpq %rax, %rbp
jge 0x179c9
movq (%rsp), %rax
movq (%rax), %rax
addq (%rbx), %rax
movsbl (%rbp,%rax), %esi
movq %r12, %rdi
callq 0x7330
movq %rax, %rdi
movq %r13, %rsi
callq 0x72b0
incq %rbp
jmp 0x17999
movq 0x325f0(%rip), %rbx     # 0x49fc0
leaq 0x1ef91(%rip), %rsi     # 0x36968
movq %rbx, %rdi
callq 0x72b0
movq %rbx, %rdi
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x7160
nop