// File: /workspace/github_cpp_makefile_star2_O1/readmapping[P]alfalfa/src/mapper.h
// Function: read_t::printUnpairedAlignment[abi:cxx11](int)
std::string printUnpairedAlignment(int i){
        std::stringstream ss;
        alignment_t * a = alignments[i];
        ss << qname << "\t" << a->flag.to_ulong() << "\t"
            << a->rname << "\t" << a->pos << "\t" << 
            a->mapq << "\t" << a->cigar << "\t" << 
            "*" << "\t" << 0 << "\t" << 
            0 << "\t" << (a->flag.test(4) ? rcSequence : sequence) <<
            "\t" << (a->flag.test(4) ? rQual : qual) << "\tAS:i:" << 
            a->alignmentScore << "\tNM:i:" << a->editDist << "\tX0:Z:" << 
            a->NMtag << std::endl;
        return ss.str();
    }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x190, %rsp            # imm = 0x190
movl %edx, %ebp
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x8(%rsp), %rdi
callq 0x71e0
movslq %ebp, %rax
movq 0xb0(%r14), %rcx
movq (%rcx,%rax,8), %r12
leaq 0x18(%rsp), %rdi
movq (%r14), %rsi
movq 0x8(%r14), %rdx
callq 0x7340
movq %rax, %r15
leaq 0x356b9(%rip), %rsi     # 0x40a1d
movl $0x1, %edx
movq %rax, %rdi
callq 0x7340
movq 0x40(%r12), %rsi
movq %r15, %rdi
callq 0x71c0
movq %rax, %r15
leaq 0x35695(%rip), %rsi     # 0x40a1d
movl $0x1, %edx
movq %rax, %rdi
callq 0x7340
movq 0x48(%r12), %rsi
movq 0x50(%r12), %rdx
movq %r15, %rdi
callq 0x7340
movq %rax, %r15
leaq 0x3566c(%rip), %rsi     # 0x40a1d
movl $0x1, %edx
movq %rax, %rdi
callq 0x7340
movq 0x18(%r12), %rsi
movq %r15, %rdi
callq 0x72a0
movq %rax, %r15
leaq 0x35648(%rip), %rsi     # 0x40a1d
movl $0x1, %edx
movq %rax, %rdi
callq 0x7340
movl 0x68(%r12), %esi
movq %r15, %rdi
callq 0x75d0
movq %rax, %r15
leaq 0x35624(%rip), %rsi     # 0x40a1d
movl $0x1, %edx
movq %rax, %rdi
callq 0x7340
movq 0x20(%r12), %rsi
movq 0x28(%r12), %rdx
movq %r15, %rdi
callq 0x7340
movq %rax, %r15
leaq 0x355fb(%rip), %rsi     # 0x40a1d
movl $0x1, %edx
movq %rax, %rdi
callq 0x7340
leaq 0x34c4c(%rip), %rsi     # 0x40082
movl $0x1, %edx
movq %r15, %rdi
callq 0x7340
leaq 0x355d3(%rip), %rsi     # 0x40a1d
movl $0x1, %edx
movq %r15, %rdi
callq 0x7340
movq %r15, %rdi
xorl %esi, %esi
callq 0x75d0
movq %rax, %r15
leaq 0x355b2(%rip), %rsi     # 0x40a1d
movl $0x1, %edx
movq %rax, %rdi
callq 0x7340
movq %r15, %rdi
xorl %esi, %esi
callq 0x75d0
movq %rax, %r15
leaq 0x35591(%rip), %rsi     # 0x40a1d
movl $0x1, %edx
movq %rax, %rdi
callq 0x7340
movl 0x40(%r12), %eax
andl $0x10, %eax
movq 0x20(%r14,%rax,4), %rsi
movq 0x28(%r14,%rax,4), %rdx
movq %r15, %rdi
callq 0x7340
movq %rax, %r15
leaq 0x35560(%rip), %rsi     # 0x40a1d
movl $0x1, %edx
movq %rax, %rdi
callq 0x7340
movl 0x40(%r12), %eax
andl $0x10, %eax
movq 0x40(%r14,%rax,4), %rsi
movq 0x48(%r14,%rax,4), %rdx
movq %r15, %rdi
callq 0x7340
movq %rax, %r14
leaq 0x34f72(%rip), %rsi     # 0x40460
movl $0x6, %edx
movq %rax, %rdi
callq 0x7340
movl 0x70(%r12), %esi
movq %r14, %rdi
callq 0x75d0
movq %rax, %r14
leaq 0x34f55(%rip), %rsi     # 0x40467
movl $0x6, %edx
movq %rax, %rdi
callq 0x7340
movl 0x6c(%r12), %esi
movq %r14, %rdi
callq 0x75d0
movq %rax, %r14
leaq 0x34f38(%rip), %rsi     # 0x4046e
movl $0x6, %edx
movq %rax, %rdi
callq 0x7340
movq 0x78(%r12), %rsi
movq 0x80(%r12), %rdx
movq %r14, %rdi
callq 0x7340
movq %rax, %r14
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x72b0
movsbl %al, %esi
movq %r14, %rdi
callq 0x7040
movq %rax, %rdi
callq 0x71d0
leaq 0x20(%rsp), %rsi
movq %rbx, %rdi
callq 0x7540
movq 0x48a02(%rip), %rsi     # 0x53f98
leaq 0x8(%rsp), %rdi
callq 0x7210
leaq 0x88(%rsp), %rdi
callq 0x7100
movq %rbx, %rax
addq $0x190, %rsp            # imm = 0x190
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq 0x489ce(%rip), %rsi     # 0x53f98
leaq 0x8(%rsp), %rdi
callq 0x7210
leaq 0x88(%rsp), %rdi
callq 0x7100
movq %rbx, %rdi
callq 0x7600
nop