// File: /workspace/github_cpp_makefile_star2_O1/readmapping[P]alfalfa/src/performanceUtils.cpp
// Function: summaryLine_t::printLine[abi:cxx11](long, bool)
string summaryLine_t::printLine(long readcnt, bool paired){
    stringstream ss;
    int upperbound = 101;
    while(alnPerRead[upperbound]==0)
        upperbound--;
    if(paired){
        ss << "~~~\t num_mapped\t percent_mapped\t num_paired\t percent_paired\t /"
                "num_paired_correct\t percent_paired_correct\t num_unmapped\t /"
                "percent_unmapped\t num_second_aligned\t count" << endl;
        ss << "alignments\t " << mappedAln << "\t " << (mappedAln*100)/alignmentCnt;
        ss << "\t " << mappedPaired << "\t " << (mappedPaired*100)/alignmentCnt;
        ss << "\t " << mappedPairedCorrect << "\t " << (mappedPairedCorrect*100)/alignmentCnt;
        ss << "\t " << (alignmentCnt-mappedAln) << "\t " << ((alignmentCnt-mappedAln)*100)/alignmentCnt;
        ss << "\t " << secondAln << "\t " << alignmentCnt << endl;
        ss << "reads\t " << readMapped << "\t " << (readMapped*100)/readcnt;
        ss << "\t " << readPaired << "\t " << (readPaired*100)/readcnt;
        ss << "\t " << readPairedCorrect << "\t " << (readPairedCorrect*100)/readcnt;
        ss << "\t " << (readcnt-readMapped-readPaired-readPairedCorrect) << "\t " << ((readcnt-readMapped-readPaired-readPairedCorrect)*100)/readcnt;
        ss << "\t " << "N.A." << "\t " << readcnt << endl;
    }
    else{
        ss << "~~~\t num_mapped\t percent_mapped\t num_unmapped\t /"
                "percent_unmapped\t num_second_aligned\t count" << endl;
        ss << "alignments\t " << mappedAln << "\t " << (mappedAln*100)/(alignmentCnt > 0 ? alignmentCnt: 1 );
        ss << "\t " << (alignmentCnt-mappedAln) << "\t " << ((alignmentCnt-mappedAln)*100)/(alignmentCnt > 0 ? alignmentCnt: 1);
        ss << "\t " << secondAln << "\t " << alignmentCnt << endl;
        ss << "reads\t " << readMapped << "\t " << (readMapped*100)/(readcnt>0?readcnt:1);
        ss << "\t " << (readcnt-readMapped) << "\t " << ((readcnt-readMapped)*100)/(readcnt>0?readcnt:1);
        ss << "\t " << "N.A." << "\t " << readcnt << endl;
    }
    ss << endl;
    ss << "number of reads with x alignments" << endl;
    ss << 0 << "\t " << (readcnt-readMapped-readPaired-readPairedCorrect) << endl;
    for(int i = 1; i<= upperbound; i++)
        ss << i << "\t " << alnPerRead[i] << endl;
    return ss.str();
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x198, %rsp            # imm = 0x198
movl %ecx, %ebp
movq %rdx, %r12
movq %rsi, %r14
movq %rdi, 0x8(%rsp)
leaq 0x10(%rsp), %rdi
callq 0x71e0
movl $0x66, %ebx
cmpl $0x0, 0x3c(%r14,%rbx,4)
leaq -0x1(%rbx), %rbx
je 0x32f31
leaq 0x20(%rsp), %r15
testb %bpl, %bpl
je 0x332e4
leaq 0x12a7e(%rip), %rsi     # 0x459d0
movl $0xa4, %edx
movq %r15, %rdi
callq 0x7340
movq 0x20(%rsp), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x72b0
movsbl %al, %esi
movq %r15, %rdi
callq 0x7040
movq %rax, %rdi
callq 0x71d0
leaq 0x12ae6(%rip), %rsi     # 0x45a75
movl $0xc, %edx
movq %r15, %rdi
callq 0x7340
movq 0x30(%r14), %rsi
movq %r15, %rdi
callq 0x72a0
movq %rax, %r13
leaq 0x13513(%rip), %rsi     # 0x464c5
movl $0x2, %edx
movq %rax, %rdi
callq 0x7340
imulq $0x64, 0x30(%r14), %rax
cqto
idivq 0x38(%r14)
movq %r13, %rdi
movq %rax, %rsi
callq 0x72a0
leaq 0x134e9(%rip), %rsi     # 0x464c5
movl $0x2, %edx
movq %r15, %rdi
callq 0x7340
movq 0x28(%r14), %rsi
movq %r15, %rdi
callq 0x72a0
movq %rax, %r13
leaq 0x134c6(%rip), %rsi     # 0x464c5
movl $0x2, %edx
movq %rax, %rdi
callq 0x7340
imulq $0x64, 0x28(%r14), %rax
cqto
idivq 0x38(%r14)
movq %r13, %rdi
movq %rax, %rsi
callq 0x72a0
leaq 0x1349c(%rip), %rsi     # 0x464c5
movl $0x2, %edx
movq %r15, %rdi
callq 0x7340
movq 0x20(%r14), %rsi
movq %r15, %rdi
callq 0x72a0
movq %rax, %r13
leaq 0x13479(%rip), %rsi     # 0x464c5
movl $0x2, %edx
movq %rax, %rdi
callq 0x7340
imulq $0x64, 0x20(%r14), %rax
cqto
idivq 0x38(%r14)
movq %r13, %rdi
movq %rax, %rsi
callq 0x72a0
leaq 0x1344f(%rip), %rsi     # 0x464c5
movl $0x2, %edx
movq %r15, %rdi
callq 0x7340
movq 0x38(%r14), %rsi
subq 0x30(%r14), %rsi
movq %r15, %rdi
callq 0x72a0
movq %rax, %r13
leaq 0x13428(%rip), %rsi     # 0x464c5
movl $0x2, %edx
movq %rax, %rdi
callq 0x7340
movq 0x38(%r14), %rcx
movq %rcx, %rax
subq 0x30(%r14), %rax
imulq $0x64, %rax, %rax
cqto
idivq %rcx
movq %r13, %rdi
movq %rax, %rsi
callq 0x72a0
leaq 0x133f5(%rip), %rsi     # 0x464c5
movl $0x2, %edx
movq %r15, %rdi
callq 0x7340
movq 0x18(%r14), %rsi
movq %r15, %rdi
callq 0x72a0
movq %rax, %r13
leaq 0x133d2(%rip), %rsi     # 0x464c5
movl $0x2, %edx
movq %rax, %rdi
callq 0x7340
movq 0x38(%r14), %rsi
movq %r13, %rdi
callq 0x72a0
movq %rax, %r13
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r13, %rdi
movl $0xa, %esi
callq 0x72b0
movsbl %al, %esi
movq %r13, %rdi
callq 0x7040
movq %rax, %rdi
callq 0x71d0
leaq 0x12945(%rip), %rsi     # 0x45a82
movl $0x7, %edx
movq %r15, %rdi
callq 0x7340
movq (%r14), %rsi
movq %r15, %rdi
callq 0x72a0
movq %rax, %r13
leaq 0x13366(%rip), %rsi     # 0x464c5
movl $0x2, %edx
movq %rax, %rdi
callq 0x7340
imulq $0x64, (%r14), %rax
cqto
idivq %r12
movq %r13, %rdi
movq %rax, %rsi
callq 0x72a0
leaq 0x1333e(%rip), %rsi     # 0x464c5
movl $0x2, %edx
movq %r15, %rdi
callq 0x7340
movq 0x8(%r14), %rsi
movq %r15, %rdi
callq 0x72a0
movq %rax, %r13
leaq 0x1331b(%rip), %rsi     # 0x464c5
movl $0x2, %edx
movq %rax, %rdi
callq 0x7340
imulq $0x64, 0x8(%r14), %rax
cqto
idivq %r12
movq %r13, %rdi
movq %rax, %rsi
callq 0x72a0
leaq 0x132f2(%rip), %rsi     # 0x464c5
movl $0x2, %edx
movq %r15, %rdi
callq 0x7340
movq 0x10(%r14), %rsi
movq %r15, %rdi
callq 0x72a0
movq %rax, %r13
leaq 0x132cf(%rip), %rsi     # 0x464c5
movl $0x2, %edx
movq %rax, %rdi
callq 0x7340
imulq $0x64, 0x10(%r14), %rax
cqto
idivq %r12
movq %r13, %rdi
movq %rax, %rsi
callq 0x72a0
leaq 0x132a6(%rip), %rsi     # 0x464c5
movl $0x2, %edx
movq %r15, %rdi
callq 0x7340
movq (%r14), %rax
addq 0x8(%r14), %rax
addq 0x10(%r14), %rax
movq %r12, %rsi
subq %rax, %rsi
movq %r15, %rdi
callq 0x72a0
movq %rax, %r13
leaq 0x13276(%rip), %rsi     # 0x464c5
movl $0x2, %edx
movq %rax, %rdi
callq 0x7340
movq (%r14), %rax
addq 0x8(%r14), %rax
addq 0x10(%r14), %rax
movq %r12, %rcx
subq %rax, %rcx
imulq $0x64, %rcx, %rax
cqto
idivq %r12
movq %r13, %rdi
movq %rax, %rsi
callq 0x72a0
leaq 0x1323d(%rip), %rsi     # 0x464c5
movl $0x2, %edx
movq %r15, %rdi
callq 0x7340
leaq 0x127ee(%rip), %rsi     # 0x45a8a
movl $0x4, %edx
movq %r15, %rdi
callq 0x7340
leaq 0x13215(%rip), %rsi     # 0x464c5
movl $0x2, %edx
movq %r15, %rdi
callq 0x7340
movq %r15, %rdi
movq %r12, %rsi
callq 0x72a0
movq %rax, %r13
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r13, %rdi
movl $0xa, %esi
callq 0x72b0
jmp 0x3355a
leaq 0x127a4(%rip), %rsi     # 0x45a8f
movl $0x5b, %edx
movq %r15, %rdi
callq 0x7340
movq 0x20(%rsp), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x72b0
movsbl %al, %esi
movq %r15, %rdi
callq 0x7040
movq %rax, %rdi
callq 0x71d0
leaq 0x1274d(%rip), %rsi     # 0x45a75
movl $0xc, %edx
movq %r15, %rdi
callq 0x7340
movq 0x30(%r14), %rsi
movq %r15, %rdi
callq 0x72a0
movq %rax, %r13
leaq 0x1317a(%rip), %rsi     # 0x464c5
movl $0x2, %edx
movq %rax, %rdi
callq 0x7340
imulq $0x64, 0x30(%r14), %rax
movq 0x38(%r14), %rcx
cmpq $0x2, %rcx
movl $0x1, %esi
cmovgeq %rcx, %rsi
cqto
idivq %rsi
movq %r13, %rdi
movq %rax, %rsi
callq 0x72a0
leaq 0x13140(%rip), %rsi     # 0x464c5
movl $0x2, %edx
movq %r15, %rdi
callq 0x7340
movq 0x38(%r14), %rsi
subq 0x30(%r14), %rsi
movq %r15, %rdi
callq 0x72a0
movq %rax, %r13
leaq 0x13119(%rip), %rsi     # 0x464c5
movl $0x2, %edx
movq %rax, %rdi
callq 0x7340
movq 0x38(%r14), %rcx
movq %rcx, %rax
subq 0x30(%r14), %rax
imulq $0x64, %rax, %rax
cmpq $0x2, %rcx
movl $0x1, %esi
cmovgeq %rcx, %rsi
cqto
idivq %rsi
movq %r13, %rdi
movq %rax, %rsi
callq 0x72a0
leaq 0x130d9(%rip), %rsi     # 0x464c5
movl $0x2, %edx
movq %r15, %rdi
callq 0x7340
movq 0x18(%r14), %rsi
movq %r15, %rdi
callq 0x72a0
movq %rax, %r13
leaq 0x130b6(%rip), %rsi     # 0x464c5
movl $0x2, %edx
movq %rax, %rdi
callq 0x7340
movq 0x38(%r14), %rsi
movq %r13, %rdi
callq 0x72a0
movq %rax, %r13
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r13, %rdi
movl $0xa, %esi
callq 0x72b0
movsbl %al, %esi
movq %r13, %rdi
callq 0x7040
movq %rax, %rdi
callq 0x71d0
leaq 0x12629(%rip), %rsi     # 0x45a82
movl $0x7, %edx
movq %r15, %rdi
callq 0x7340
movq (%r14), %rsi
movq %r15, %rdi
callq 0x72a0
movq %rax, %r13
leaq 0x1304a(%rip), %rsi     # 0x464c5
movl $0x2, %edx
movq %rax, %rdi
callq 0x7340
imulq $0x64, (%r14), %rax
cmpq $0x2, %r12
movl $0x1, %ebp
cmovgeq %r12, %rbp
cqto
idivq %rbp
movq %r13, %rdi
movq %rax, %rsi
callq 0x72a0
leaq 0x13015(%rip), %rsi     # 0x464c5
movl $0x2, %edx
movq %r15, %rdi
callq 0x7340
movq %r12, %rsi
subq (%r14), %rsi
movq %r15, %rdi
callq 0x72a0
movq %rax, %r13
leaq 0x12ff0(%rip), %rsi     # 0x464c5
movl $0x2, %edx
movq %rax, %rdi
callq 0x7340
movq %r12, %rax
subq (%r14), %rax
imulq $0x64, %rax, %rax
cqto
idivq %rbp
movq %r13, %rdi
movq %rax, %rsi
callq 0x72a0
leaq 0x12fc2(%rip), %rsi     # 0x464c5
movl $0x2, %edx
movq %r15, %rdi
callq 0x7340
leaq 0x12573(%rip), %rsi     # 0x45a8a
movl $0x4, %edx
movq %r15, %rdi
callq 0x7340
leaq 0x12f9a(%rip), %rsi     # 0x464c5
movl $0x2, %edx
movq %r15, %rdi
callq 0x7340
movq %r15, %rdi
movq %r12, %rsi
callq 0x72a0
movq %rax, %r13
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r13, %rdi
movl $0xa, %esi
callq 0x72b0
movsbl %al, %esi
movq %r13, %rdi
callq 0x7040
movq %rax, %rdi
callq 0x71d0
movq 0x20(%rsp), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x72b0
movsbl %al, %esi
movq %r15, %rdi
callq 0x7040
movq %rax, %rdi
callq 0x71d0
leaq 0x1254e(%rip), %rsi     # 0x45aeb
movl $0x21, %edx
movq %r15, %rdi
callq 0x7340
movq 0x20(%rsp), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x72b0
movsbl %al, %esi
movq %r15, %rdi
callq 0x7040
movq %rax, %rdi
callq 0x71d0
movq %r15, %rdi
xorl %esi, %esi
callq 0x75d0
movq %rax, %r13
leaq 0x12ede(%rip), %rsi     # 0x464c5
movl $0x2, %edx
movq %rax, %rdi
callq 0x7340
movq (%r14), %rax
addq 0x8(%r14), %rax
addq 0x10(%r14), %rax
subq %rax, %r12
movq %r13, %rdi
movq %r12, %rsi
callq 0x72a0
movq %rax, %r12
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r12, %rdi
movl $0xa, %esi
callq 0x72b0
movsbl %al, %esi
movq %r12, %rdi
callq 0x7040
movq %rax, %rdi
callq 0x71d0
testq %rbx, %rbx
jle 0x336aa
incq %rbx
movl %ebx, %ebx
decq %rbx
xorl %ebp, %ebp
leaq 0x12e78(%rip), %r12     # 0x464c5
leal 0x1(%rbp), %esi
movq %r15, %rdi
callq 0x75d0
movq %rax, %r13
movl $0x2, %edx
movq %rax, %rdi
movq %r12, %rsi
callq 0x7340
movl 0x44(%r14,%rbp,4), %esi
movq %r13, %rdi
callq 0x75d0
movq %rax, %r13
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r13, %rdi
movl $0xa, %esi
callq 0x72b0
movsbl %al, %esi
movq %r13, %rdi
callq 0x7040
movq %rax, %rdi
callq 0x71d0
incq %rbp
cmpq %rbp, %rbx
jne 0x3364d
leaq 0x28(%rsp), %rsi
movq 0x8(%rsp), %rdi
callq 0x7540
movq 0x208d8(%rip), %rsi     # 0x53f98
leaq 0x10(%rsp), %rdi
callq 0x7210
leaq 0x90(%rsp), %rdi
callq 0x7100
movq 0x8(%rsp), %rax
addq $0x198, %rsp            # imm = 0x198
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x336f0
movq %rax, %rbx
movq 0x2089e(%rip), %rsi     # 0x53f98
leaq 0x10(%rsp), %rdi
callq 0x7210
leaq 0x90(%rsp), %rdi
callq 0x7100
movq %rbx, %rdi
callq 0x7600