// File: /workspace/github_cpp_makefile_star2_O3/zeeev[P]DASVC/bamtools/src/toolkit/bamtools_convert.cpp
// Function: BamTools::ConvertTool::ConvertToolPrivate::PrintYaml(BamTools::BamAlignment const&)
void ConvertTool::ConvertToolPrivate::PrintYaml(const BamAlignment& a) {

    // write alignment name
    m_out << "---" << endl;
    m_out << a.Name << ":" << endl;

    // write alignment data
    m_out << "   " << "AlndBases: "     << a.AlignedBases << endl;
    m_out << "   " << "Qualities: "     << a.Qualities << endl;
    m_out << "   " << "Name: "          << a.Name << endl;
    m_out << "   " << "Length: "        << a.Length << endl;
    m_out << "   " << "TagData: "       << a.TagData << endl;
    m_out << "   " << "RefID: "         << a.RefID << endl;
    m_out << "   " << "RefName: "       << m_references[a.RefID].RefName << endl;
    m_out << "   " << "Position: "      << a.Position << endl;
    m_out << "   " << "Bin: "           << a.Bin << endl;
    m_out << "   " << "MapQuality: "    << a.MapQuality << endl;
    m_out << "   " << "AlignmentFlag: " << a.AlignmentFlag << endl;
    m_out << "   " << "MateRefID: "     << a.MateRefID << endl;
    m_out << "   " << "MatePosition: "  << a.MatePosition << endl;
    m_out << "   " << "InsertSize: "    << a.InsertSize << endl;
    m_out << "   " << "Filename: "      << a.Filename << endl;

    // write Cigar data
    const vector<CigarOp>& cigarData = a.CigarData;
    if ( !cigarData.empty() ) {
        m_out << "   " <<  "Cigar: ";
        vector<CigarOp>::const_iterator cigarBegin = cigarData.begin();
        vector<CigarOp>::const_iterator cigarIter  = cigarBegin;
        vector<CigarOp>::const_iterator cigarEnd   = cigarData.end();
        for ( ; cigarIter != cigarEnd; ++cigarIter ) {
            const CigarOp& op = (*cigarIter);
            m_out << op.Length << op.Type;
        }
        m_out << endl;
    }
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x10, %rsp
movq %rsi, %r14
movq %rdi, %r12
leaq 0x20(%rdi), %rbx
leaq 0x44ede(%rip), %rsi     # 0x713b8
movl $0x3, %edx
movq %rbx, %rdi
callq 0x276b0
movq 0x20(%r12), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x27590
movsbl %al, %esi
movq %rbx, %rdi
callq 0x27040
movq %rax, %rdi
callq 0x27410
movq (%r14), %rsi
movq 0x8(%r14), %rdx
movq %rbx, %rdi
callq 0x276b0
movq %rax, %r15
leaq 0x44e3e(%rip), %rsi     # 0x71367
movl $0x1, %edx
movq %rax, %rdi
callq 0x276b0
movq (%r15), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x27590
movsbl %al, %esi
movq %r15, %rdi
callq 0x27040
movq %rax, %rdi
callq 0x27410
leaq 0x48f8d(%rip), %r15     # 0x754f1
movl $0x3, %edx
movq %rbx, %rdi
movq %r15, %rsi
callq 0x276b0
leaq 0x44e41(%rip), %rsi     # 0x713bc
movl $0xb, %edx
movq %rbx, %rdi
callq 0x276b0
movq 0x48(%r14), %rsi
movq 0x50(%r14), %rdx
movq %rbx, %rdi
callq 0x276b0
movq %rax, %r13
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r13, %rdi
movl $0xa, %esi
callq 0x27590
movsbl %al, %esi
movq %r13, %rdi
callq 0x27040
movq %rax, %rdi
callq 0x27410
movl $0x3, %edx
movq %rbx, %rdi
movq %r15, %rsi
callq 0x276b0
leaq 0x44def(%rip), %rsi     # 0x713c8
movl $0xb, %edx
movq %rbx, %rdi
callq 0x276b0
movq 0x68(%r14), %rsi
movq 0x70(%r14), %rdx
movq %rbx, %rdi
callq 0x276b0
movq %rax, %r13
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r13, %rdi
movl $0xa, %esi
callq 0x27590
movsbl %al, %esi
movq %r13, %rdi
callq 0x27040
movq %rax, %rdi
callq 0x27410
movl $0x3, %edx
movq %rbx, %rdi
movq %r15, %rsi
callq 0x276b0
leaq 0x44db3(%rip), %rsi     # 0x713ea
movl $0x6, %edx
movq %rbx, %rdi
callq 0x276b0
movq (%r14), %rsi
movq 0x8(%r14), %rdx
movq %rbx, %rdi
callq 0x276b0
movq %rax, %r13
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r13, %rdi
movl $0xa, %esi
callq 0x27590
movsbl %al, %esi
movq %r13, %rdi
callq 0x27040
movq %rax, %rdi
callq 0x27410
movl $0x3, %edx
movq %rbx, %rdi
movq %r15, %rsi
callq 0x276b0
leaq 0x44d40(%rip), %rsi     # 0x713d4
movl $0x8, %edx
movq %rbx, %rdi
callq 0x276b0
movl 0x20(%r14), %esi
movq %rbx, %rdi
callq 0x27ab0
movq %rax, %r13
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r13, %rdi
movl $0xa, %esi
callq 0x27590
movsbl %al, %esi
movq %r13, %rdi
callq 0x27040
movq %rax, %rdi
callq 0x27410
movl $0x3, %edx
movq %rbx, %rdi
movq %r15, %rsi
callq 0x276b0
leaq 0x44cef(%rip), %rsi     # 0x713dd
movl $0x9, %edx
movq %rbx, %rdi
callq 0x276b0
movq 0x88(%r14), %rsi
movq 0x90(%r14), %rdx
movq %rbx, %rdi
callq 0x276b0
movq %rax, %r13
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r13, %rdi
movl $0xa, %esi
callq 0x27590
movsbl %al, %esi
movq %r13, %rdi
callq 0x27040
movq %rax, %rdi
callq 0x27410
movl $0x3, %edx
movq %rbx, %rdi
movq %r15, %rsi
callq 0x276b0
leaq 0x44cc6(%rip), %rsi     # 0x71418
movl $0x7, %edx
movq %rbx, %rdi
callq 0x276b0
movl 0xa8(%r14), %esi
movq %rbx, %rdi
callq 0x27ab0
movq %rax, %r13
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r13, %rdi
movl $0xa, %esi
callq 0x27590
movsbl %al, %esi
movq %r13, %rdi
callq 0x27040
movq %rax, %rdi
callq 0x27410
movl $0x3, %edx
movq %rbx, %rdi
movq %r15, %rsi
callq 0x276b0
leaq 0x44c38(%rip), %rsi     # 0x713e7
movl $0x9, %edx
movq %rbx, %rdi
callq 0x276b0
movslq 0xa8(%r14), %rax
movq 0x8(%r12), %rcx
leaq (%rax,%rax,4), %rax
movq (%rcx,%rax,8), %rsi
movq 0x8(%rcx,%rax,8), %rdx
movq %rbx, %rdi
callq 0x276b0
movq %rax, %r12
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r12, %rdi
movl $0xa, %esi
callq 0x27590
movsbl %al, %esi
movq %r12, %rdi
callq 0x27040
movq %rax, %rdi
callq 0x27410
movl $0x3, %edx
movq %rbx, %rdi
movq %r15, %rsi
callq 0x276b0
leaq 0x44c06(%rip), %rsi     # 0x71424
movl $0xa, %edx
movq %rbx, %rdi
callq 0x276b0
movl 0xac(%r14), %esi
movq %rbx, %rdi
callq 0x27ab0
movq %rax, %r12
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r12, %rdi
movl $0xa, %esi
callq 0x27590
movsbl %al, %esi
movq %r12, %rdi
callq 0x27040
movq %rax, %rdi
callq 0x27410
movl $0x3, %edx
movq %rbx, %rdi
movq %r15, %rsi
callq 0x276b0
leaq 0x44b76(%rip), %rsi     # 0x713f1
movl $0x5, %edx
movq %rbx, %rdi
callq 0x276b0
movzwl 0xb0(%r14), %esi
movq %rbx, %rdi
callq 0x27400
movq %rax, %r12
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r12, %rdi
movl $0xa, %esi
callq 0x27590
movsbl %al, %esi
movq %r12, %rdi
callq 0x27040
movq %rax, %rdi
callq 0x27410
movl $0x3, %edx
movq %rbx, %rdi
movq %r15, %rsi
callq 0x276b0
leaq 0x44b1e(%rip), %rsi     # 0x713f7
movl $0xc, %edx
movq %rbx, %rdi
callq 0x276b0
movzwl 0xb2(%r14), %esi
movq %rbx, %rdi
callq 0x27400
movq %rax, %r12
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r12, %rdi
movl $0xa, %esi
callq 0x27590
movsbl %al, %esi
movq %r12, %rdi
callq 0x27040
movq %rax, %rdi
callq 0x27410
movl $0x3, %edx
movq %rbx, %rdi
movq %r15, %rsi
callq 0x276b0
leaq 0x44acd(%rip), %rsi     # 0x71404
movl $0xf, %edx
movq %rbx, %rdi
callq 0x276b0
movl 0xb4(%r14), %esi
movq %rbx, %rdi
callq 0x27400
movq %rax, %r12
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r12, %rdi
movl $0xa, %esi
callq 0x27590
movsbl %al, %esi
movq %r12, %rdi
callq 0x27040
movq %rax, %rdi
callq 0x27410
movl $0x3, %edx
movq %rbx, %rdi
movq %r15, %rsi
callq 0x276b0
leaq 0x44a80(%rip), %rsi     # 0x71414
movl $0xb, %edx
movq %rbx, %rdi
callq 0x276b0
movl 0xd0(%r14), %esi
movq %rbx, %rdi
callq 0x27ab0
movq %rax, %r12
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r12, %rdi
movl $0xa, %esi
callq 0x27590
movsbl %al, %esi
movq %r12, %rdi
callq 0x27040
movq %rax, %rdi
callq 0x27410
movl $0x3, %edx
movq %rbx, %rdi
movq %r15, %rsi
callq 0x276b0
leaq 0x44a2f(%rip), %rsi     # 0x71420
movl $0xe, %edx
movq %rbx, %rdi
callq 0x276b0
movl 0xd4(%r14), %esi
movq %rbx, %rdi
callq 0x27ab0
movq %rax, %r12
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r12, %rdi
movl $0xa, %esi
callq 0x27590
movsbl %al, %esi
movq %r12, %rdi
callq 0x27040
movq %rax, %rdi
callq 0x27410
movl $0x3, %edx
movq %rbx, %rdi
movq %r15, %rsi
callq 0x276b0
leaq 0x449e1(%rip), %rsi     # 0x7142f
movl $0xc, %edx
movq %rbx, %rdi
callq 0x276b0
movl 0xd8(%r14), %esi
movq %rbx, %rdi
callq 0x27ab0
movq %rax, %r12
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r12, %rdi
movl $0xa, %esi
callq 0x27590
movsbl %al, %esi
movq %r12, %rdi
callq 0x27040
movq %rax, %rdi
callq 0x27410
movl $0x3, %edx
movq %rbx, %rdi
movq %r15, %rsi
callq 0x276b0
leaq 0x44991(%rip), %rsi     # 0x7143c
movl $0xa, %edx
movq %rbx, %rdi
callq 0x276b0
movq 0xe0(%r14), %rsi
movq 0xe8(%r14), %rdx
movq %rbx, %rdi
callq 0x276b0
movq %rax, %r15
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x27590
movsbl %al, %esi
movq %r15, %rdi
callq 0x27040
movq %rax, %rdi
callq 0x27410
movq 0xb8(%r14), %rax
cmpq 0xc0(%r14), %rax
je 0x2cb9f
leaq 0x489de(%rip), %rsi     # 0x754f1
movl $0x3, %edx
movq %rbx, %rdi
callq 0x276b0
leaq 0x44920(%rip), %rsi     # 0x71447
movl $0x7, %edx
movq %rbx, %rdi
callq 0x276b0
movq 0xb8(%r14), %r15
movq 0xc0(%r14), %r12
cmpq %r12, %r15
je 0x2cb78
leaq 0xf(%rsp), %r14
movl 0x4(%r15), %esi
movq %rbx, %rdi
callq 0x27400
movb (%r15), %cl
movb %cl, 0xf(%rsp)
movl $0x1, %edx
movq %rax, %rdi
movq %r14, %rsi
callq 0x276b0
addq $0x8, %r15
cmpq %r12, %r15
jne 0x2cb4c
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x27590
movsbl %al, %esi
movq %rbx, %rdi
callq 0x27040
movq %rax, %rdi
callq 0x27410
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
nop