// File: /workspace/github_cpp_makefile_star2_O1/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 0x45ea8(%rip), %rsi     # 0x723b8
movl $0x3, %edx
movq %rbx, %rdi
callq 0x276c0
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 0x276c0
movq %rax, %r15
leaq 0x45e08(%rip), %rsi     # 0x72367
movl $0x1, %edx
movq %rax, %rdi
callq 0x276c0
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 0x49f57(%rip), %r15     # 0x764f1
movl $0x3, %edx
movq %rbx, %rdi
movq %r15, %rsi
callq 0x276c0
leaq 0x45e0b(%rip), %rsi     # 0x723bc
movl $0xb, %edx
movq %rbx, %rdi
callq 0x276c0
movq 0x48(%r14), %rsi
movq 0x50(%r14), %rdx
movq %rbx, %rdi
callq 0x276c0
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 0x276c0
leaq 0x45db9(%rip), %rsi     # 0x723c8
movl $0xb, %edx
movq %rbx, %rdi
callq 0x276c0
movq 0x68(%r14), %rsi
movq 0x70(%r14), %rdx
movq %rbx, %rdi
callq 0x276c0
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 0x276c0
leaq 0x45d7d(%rip), %rsi     # 0x723ea
movl $0x6, %edx
movq %rbx, %rdi
callq 0x276c0
movq (%r14), %rsi
movq 0x8(%r14), %rdx
movq %rbx, %rdi
callq 0x276c0
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 0x276c0
leaq 0x45d0a(%rip), %rsi     # 0x723d4
movl $0x8, %edx
movq %rbx, %rdi
callq 0x276c0
movl 0x20(%r14), %esi
movq %rbx, %rdi
callq 0x27ac0
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 0x276c0
leaq 0x45cb9(%rip), %rsi     # 0x723dd
movl $0x9, %edx
movq %rbx, %rdi
callq 0x276c0
movq 0x88(%r14), %rsi
movq 0x90(%r14), %rdx
movq %rbx, %rdi
callq 0x276c0
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 0x276c0
leaq 0x45c90(%rip), %rsi     # 0x72418
movl $0x7, %edx
movq %rbx, %rdi
callq 0x276c0
movl 0xa8(%r14), %esi
movq %rbx, %rdi
callq 0x27ac0
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 0x276c0
leaq 0x45c02(%rip), %rsi     # 0x723e7
movl $0x9, %edx
movq %rbx, %rdi
callq 0x276c0
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 0x276c0
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 0x276c0
leaq 0x45bd0(%rip), %rsi     # 0x72424
movl $0xa, %edx
movq %rbx, %rdi
callq 0x276c0
movl 0xac(%r14), %esi
movq %rbx, %rdi
callq 0x27ac0
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 0x276c0
leaq 0x45b40(%rip), %rsi     # 0x723f1
movl $0x5, %edx
movq %rbx, %rdi
callq 0x276c0
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 0x276c0
leaq 0x45ae8(%rip), %rsi     # 0x723f7
movl $0xc, %edx
movq %rbx, %rdi
callq 0x276c0
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 0x276c0
leaq 0x45a97(%rip), %rsi     # 0x72404
movl $0xf, %edx
movq %rbx, %rdi
callq 0x276c0
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 0x276c0
leaq 0x45a4a(%rip), %rsi     # 0x72414
movl $0xb, %edx
movq %rbx, %rdi
callq 0x276c0
movl 0xd0(%r14), %esi
movq %rbx, %rdi
callq 0x27ac0
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 0x276c0
leaq 0x459f9(%rip), %rsi     # 0x72420
movl $0xe, %edx
movq %rbx, %rdi
callq 0x276c0
movl 0xd4(%r14), %esi
movq %rbx, %rdi
callq 0x27ac0
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 0x276c0
leaq 0x459ab(%rip), %rsi     # 0x7242f
movl $0xc, %edx
movq %rbx, %rdi
callq 0x276c0
movl 0xd8(%r14), %esi
movq %rbx, %rdi
callq 0x27ac0
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 0x276c0
leaq 0x4595b(%rip), %rsi     # 0x7243c
movl $0xa, %edx
movq %rbx, %rdi
callq 0x276c0
movq 0xe0(%r14), %rsi
movq 0xe8(%r14), %rdx
movq %rbx, %rdi
callq 0x276c0
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 0x2cbd5
leaq 0x499a8(%rip), %rsi     # 0x764f1
movl $0x3, %edx
movq %rbx, %rdi
callq 0x276c0
leaq 0x458ea(%rip), %rsi     # 0x72447
movl $0x7, %edx
movq %rbx, %rdi
callq 0x276c0
movq 0xb8(%r14), %r15
movq 0xc0(%r14), %r12
cmpq %r12, %r15
je 0x2cbae
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 0x276c0
addq $0x8, %r15
cmpq %r12, %r15
jne 0x2cb82
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