// File: /workspace/github_cpp_makefile_star2_O3/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 0x32d81
leaq 0x20(%rsp), %r15
testb %bpl, %bpl
je 0x33134
leaq 0x12c2e(%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 0x12c96(%rip), %rsi     # 0x45a75
movl $0xc, %edx
movq %r15, %rdi
callq 0x7340
movq 0x30(%r14), %rsi
movq %r15, %rdi
callq 0x72a0
movq %rax, %r13
leaq 0x136c3(%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 0x13699(%rip), %rsi     # 0x464c5
movl $0x2, %edx
movq %r15, %rdi
callq 0x7340
movq 0x28(%r14), %rsi
movq %r15, %rdi
callq 0x72a0
movq %rax, %r13
leaq 0x13676(%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 0x1364c(%rip), %rsi     # 0x464c5
movl $0x2, %edx
movq %r15, %rdi
callq 0x7340
movq 0x20(%r14), %rsi
movq %r15, %rdi
callq 0x72a0
movq %rax, %r13
leaq 0x13629(%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 0x135ff(%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 0x135d8(%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 0x135a5(%rip), %rsi     # 0x464c5
movl $0x2, %edx
movq %r15, %rdi
callq 0x7340
movq 0x18(%r14), %rsi
movq %r15, %rdi
callq 0x72a0
movq %rax, %r13
leaq 0x13582(%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 0x12af5(%rip), %rsi     # 0x45a82
movl $0x7, %edx
movq %r15, %rdi
callq 0x7340
movq (%r14), %rsi
movq %r15, %rdi
callq 0x72a0
movq %rax, %r13
leaq 0x13516(%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 0x134ee(%rip), %rsi     # 0x464c5
movl $0x2, %edx
movq %r15, %rdi
callq 0x7340
movq 0x8(%r14), %rsi
movq %r15, %rdi
callq 0x72a0
movq %rax, %r13
leaq 0x134cb(%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 0x134a2(%rip), %rsi     # 0x464c5
movl $0x2, %edx
movq %r15, %rdi
callq 0x7340
movq 0x10(%r14), %rsi
movq %r15, %rdi
callq 0x72a0
movq %rax, %r13
leaq 0x1347f(%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 0x13456(%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 0x13426(%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 0x133ed(%rip), %rsi     # 0x464c5
movl $0x2, %edx
movq %r15, %rdi
callq 0x7340
leaq 0x1299e(%rip), %rsi     # 0x45a8a
movl $0x4, %edx
movq %r15, %rdi
callq 0x7340
leaq 0x133c5(%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 0x333aa
leaq 0x12954(%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 0x128fd(%rip), %rsi     # 0x45a75
movl $0xc, %edx
movq %r15, %rdi
callq 0x7340
movq 0x30(%r14), %rsi
movq %r15, %rdi
callq 0x72a0
movq %rax, %r13
leaq 0x1332a(%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 0x132f0(%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 0x132c9(%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 0x13289(%rip), %rsi     # 0x464c5
movl $0x2, %edx
movq %r15, %rdi
callq 0x7340
movq 0x18(%r14), %rsi
movq %r15, %rdi
callq 0x72a0
movq %rax, %r13
leaq 0x13266(%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 0x127d9(%rip), %rsi     # 0x45a82
movl $0x7, %edx
movq %r15, %rdi
callq 0x7340
movq (%r14), %rsi
movq %r15, %rdi
callq 0x72a0
movq %rax, %r13
leaq 0x131fa(%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 0x131c5(%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 0x131a0(%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 0x13172(%rip), %rsi     # 0x464c5
movl $0x2, %edx
movq %r15, %rdi
callq 0x7340
leaq 0x12723(%rip), %rsi     # 0x45a8a
movl $0x4, %edx
movq %r15, %rdi
callq 0x7340
leaq 0x1314a(%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 0x126fe(%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 0x1308e(%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 0x334fa
incq %rbx
movl %ebx, %ebx
decq %rbx
xorl %ebp, %ebp
leaq 0x13028(%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 0x3349d
leaq 0x28(%rsp), %rsi
movq 0x8(%rsp), %rdi
callq 0x7540
movq 0x20a88(%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 0x33540
movq %rax, %rbx
movq 0x20a4e(%rip), %rsi     # 0x53f98
leaq 0x10(%rsp), %rdi
callq 0x7210
leaq 0x90(%rsp), %rdi
callq 0x7100
movq %rbx, %rdi
callq 0x7600