// File: /workspace/github_cpp_makefile_star2_O1/schneebergerlab[P]DrLink/sample_molecule.cpp
// Function: write_sampled_molecule_stat(std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, unsigned long, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const, unsigned long>>>, std::map<int, unsigned long, std::less<int>, std::allocator<std::pair<int const, unsigned long>>>, std::map<int, unsigned long, std::less<int>, std::allocator<std::pair<int const, unsigned long>>>, std::map<int, unsigned long, std::less<int>, std::allocator<std::pair<int const, unsigned long>>>, std::map<int, unsigned long, std::less<int>, std::allocator<std::pair<int const, unsigned long>>>, std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, int, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const, int>>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
bool write_sampled_molecule_stat(map<string, unsigned long> molecule_cov, 
                                 map<int,    unsigned long> molecule_len, 
                                 map<int,    unsigned long> molecule_len_sum, 
                                 map<int,    unsigned long> molecule_read_num,
                                 map<int,    unsigned long> molecule_read_num_sum,
                                 map<string, int>           barcode_molecule_cnt,
                                 string outprefix)
{
    // 1. molecule base coverage
    string outMCovFile = outprefix + "_min1000bp_sampled_moleCov_stat.txt";
    ofstream ofp;
    ofp.open(outMCovFile.c_str(), ios::out);
    if(!ofp.good())
    {
        cout << "   Error: cannot open " << outMCovFile << " to write data. " << endl;
        return false;
    }
    map<string, unsigned long>::iterator mcitr;
    map<string, unsigned long>::iterator mcitr_end;
    mcitr     = molecule_cov.begin();
    mcitr_end = molecule_cov.end();
    ofp << "#molecule_base_cov\tmolecule_num_in_bin" << endl;
    while(mcitr != mcitr_end)
    {
        ofp << (*mcitr).first << "\t" << (*mcitr).second << endl;
        mcitr ++;
    }
    ofp.close();
    
    // 2. molecule length: total legnth and number of molecules in bin
    string outMLenFile = outprefix + "_min1000bp_sampled_moleLen_stat.txt";    
    ofstream ofp2;
    ofp2.open(outMLenFile.c_str(), ios::out);
    if(!ofp2.good())
    {
        cout << "   Error: cannot open " << outMLenFile << " to write data. " << endl;
        return false;
    }
    map<int, unsigned long>::iterator mlitr;
    map<int, unsigned long>::iterator mlitr_end;
    mlitr     = molecule_len.begin();
    mlitr_end = molecule_len.end();
    ofp2 << "#molecule_len_kb\tmolecule_total_len_bp\tmolecule_num_in_bin" << endl;
    while(mlitr != mlitr_end)
    {
        ofp2 << (*mlitr).first  << "\t" 
             << molecule_len_sum[(*mlitr).first] << "\t" 
             << (*mlitr).second << endl;
        mlitr ++;
    }
    ofp2.close();    
    // 3. molecules per barcode/partition: find hist + output
    // find hist: 'val' (number) partitions have 'key' (number) molecules
    map<int, int> mbhist;
    map<int, int>::iterator hitr;
    map<string, int>::iterator mbcitr;
    map<string, int>::iterator mbcitr_end;
    mbcitr     = barcode_molecule_cnt.begin();
    mbcitr_end = barcode_molecule_cnt.end();
    while(mbcitr != mbcitr_end)
    {
        int cntkey = (*mbcitr).second;
        hitr = mbhist.find(cntkey);
        if(hitr == mbhist.end())
        {
            mbhist.insert(std::pair<int, int>(cntkey, 1));
        }
        else
        {
            mbhist[cntkey] += 1;
        }
        mbcitr ++;
    }  
    // output
    string outMpBHistFile = outprefix + "_min1000bp_sampled_moleNumPerBarc_stat.txt";        
    ofstream ofp3;
    ofp3.open(outMpBHistFile.c_str(), ios::out);
    if(!ofp3.good())
    {
        cout << "   Error: cannot open " << outMpBHistFile << " to write data. " << endl;
        return false;
    }   
    map<int, int>::iterator hitr_end;
    hitr     = mbhist.begin();
    hitr_end = mbhist.end();
    ofp3 << "#molecule_cnt\tpartition/barcode_num" << endl;
    while(hitr != hitr_end)
    {
        ofp3 << (*hitr).first  << "\t" << (*hitr).second << endl;
        hitr ++;
    }
    ofp3.close(); 
    // 4. number of reads per molecule
    string outReadNumFile = outprefix + "_min1000bp_sampled_readNum_stat.txt";    
    ofstream ofp4;
    ofp4.open(outReadNumFile.c_str(), ios::out);
    if(!ofp4.good())
    {
        cout << "   Error: cannot open " << outReadNumFile << " to write data. " << endl;
        return false;
    }    
    map<int,    unsigned long>::iterator readitr;
    map<int,    unsigned long>::iterator readitr_end;
    readitr     = molecule_read_num.begin();
    readitr_end = molecule_read_num.end();
    ofp4 << "#read_number\tmolecule_number_with_that_read_number\ttotal_covered_len" << endl;
    while(readitr != readitr_end)
    {
        ofp4 << (*readitr).first   << "\t" 
             << (*readitr).second  << "\t"
             << molecule_read_num_sum[(*readitr).first] << endl;
        readitr ++;
    }
    ofp4.close();
    return true;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x8d8, %rsp            # imm = 0x8D8
movq %r9, 0xa0(%rsp)
movq %r8, %r15
movq %rcx, 0x88(%rsp)
movq %rdx, %r12
movq %rsi, %r13
movq %rdi, %rbp
movq 0x910(%rsp), %rax
leaq 0x38(%rsp), %r14
movq %r14, -0x10(%r14)
movq (%rax), %rsi
movq 0x8(%rax), %rdx
addq %rsi, %rdx
leaq 0x28(%rsp), %rbx
movq %rbx, %rdi
callq 0xda32
leaq 0x14bbf(%rip), %rsi     # 0x3e4ac
movq %rbx, %rdi
callq 0x45e0
leaq 0x6d8(%rsp), %rdi
callq 0x4570
movq 0x28(%rsp), %rsi
leaq 0x6d8(%rsp), %rdi
movl $0x10, %edx
callq 0x4060
movq 0x6d8(%rsp), %rax
movq -0x18(%rax), %rax
cmpl $0x0, 0x6f8(%rsp,%rax)
je 0x299a2
movq 0x22692(%rip), %rdi     # 0x4bfc8
leaq 0x111f3(%rip), %rsi     # 0x3ab30
movl $0x16, %edx
callq 0x43a0
movq 0x28(%rsp), %rsi
movq 0x30(%rsp), %rdx
movq 0x22670(%rip), %rdi     # 0x4bfc8
callq 0x43a0
movq %rax, %rbx
leaq 0x1157d(%rip), %rsi     # 0x3aee4
movl $0x10, %edx
movq %rax, %rdi
callq 0x43a0
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x4310
movsbl %al, %esi
movq %rbx, %rdi
callq 0x4030
movq %rax, %rdi
callq 0x4220
xorl %ebp, %ebp
jmp 0x2a256
movq %r12, 0x90(%rsp)
movq %r15, 0x98(%rsp)
movq 0x18(%rbp), %rbx
leaq 0x11538(%rip), %rsi     # 0x3aef5
leaq 0x6d8(%rsp), %r14
movl $0x26, %edx
movq %r14, %rdi
callq 0x43a0
movq 0x6d8(%rsp), %rax
addq -0x18(%rax), %r14
movq %r14, %rdi
movl $0xa, %esi
callq 0x4310
movsbl %al, %esi
leaq 0x6d8(%rsp), %rdi
callq 0x4030
movq %rax, %rdi
callq 0x4220
addq $0x8, %rbp
cmpq %rbp, %rbx
je 0x29a84
leaq 0x6d8(%rsp), %r14
leaq 0x15106(%rip), %r15     # 0x3eb21
movq 0x20(%rbx), %rsi
movq 0x28(%rbx), %rdx
movq %r14, %rdi
callq 0x43a0
movq %rax, %r12
movl $0x1, %edx
movq %rax, %rdi
movq %r15, %rsi
callq 0x43a0
movq 0x40(%rbx), %rsi
movq %r12, %rdi
callq 0x4210
movq %rax, %r12
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r12, %rdi
movl $0xa, %esi
callq 0x4310
movsbl %al, %esi
movq %r12, %rdi
callq 0x4030
movq %rax, %rdi
callq 0x4220
movq %rbx, %rdi
callq 0x4230
movq %rax, %rbx
cmpq %rbp, %rax
jne 0x29a1b
leaq 0x6d8(%rsp), %rdi
callq 0x4440
leaq 0x18(%rsp), %r15
movq %r15, -0x10(%r15)
movq 0x910(%rsp), %rax
movq (%rax), %rsi
movq 0x8(%rax), %rdx
addq %rsi, %rdx
leaq 0x8(%rsp), %rdi
callq 0xda32
movq 0x90(%rsp), %r12
leaq 0x14a0b(%rip), %rsi     # 0x3e4d0
leaq 0x8(%rsp), %rdi
leaq 0x38(%rsp), %r14
callq 0x45e0
leaq 0x4d8(%rsp), %rdi
callq 0x4570
movq 0x8(%rsp), %rsi
leaq 0x4d8(%rsp), %rdi
movl $0x10, %edx
callq 0x4060
movq 0x4d8(%rsp), %rax
movq -0x18(%rax), %rax
cmpl $0x0, 0x4f8(%rsp,%rax)
je 0x29b81
movq 0x224b3(%rip), %rdi     # 0x4bfc8
leaq 0x11014(%rip), %rsi     # 0x3ab30
movl $0x16, %edx
callq 0x43a0
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
movq 0x22491(%rip), %rdi     # 0x4bfc8
callq 0x43a0
movq %rax, %rbx
leaq 0x1139e(%rip), %rsi     # 0x3aee4
movl $0x10, %edx
movq %rax, %rdi
callq 0x43a0
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x4310
movsbl %al, %esi
movq %rbx, %rdi
callq 0x4030
movq %rax, %rdi
callq 0x4220
xorl %ebp, %ebp
jmp 0x2a207
movq 0x18(%r13), %rbp
leaq 0x11390(%rip), %rsi     # 0x3af1c
leaq 0x4d8(%rsp), %rbx
movl $0x3a, %edx
movq %rbx, %rdi
callq 0x43a0
movq 0x4d8(%rsp), %rax
addq -0x18(%rax), %rbx
movq %rbx, %rdi
movl $0xa, %esi
callq 0x4310
movsbl %al, %esi
leaq 0x4d8(%rsp), %rdi
callq 0x4030
movq %rax, %rdi
callq 0x4220
addq $0x8, %r13
cmpq %r13, %rbp
je 0x29c80
leaq 0x4d8(%rsp), %rbx
leaq 0x14f33(%rip), %r14     # 0x3eb21
movl 0x20(%rbp), %esi
movq %rbx, %rdi
callq 0x4580
movq %rax, %r15
movl $0x1, %edx
movq %rax, %rdi
movq %r14, %rsi
callq 0x43a0
leaq 0x20(%rbp), %rsi
movq %r12, %rdi
callq 0xcf10
movq (%rax), %rsi
movq %r15, %rdi
callq 0x4210
movq %rax, %r15
movl $0x1, %edx
movq %rax, %rdi
movq %r14, %rsi
callq 0x43a0
movq 0x28(%rbp), %rsi
movq %r15, %rdi
callq 0x4210
movq %rax, %r15
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x4310
movsbl %al, %esi
movq %r15, %rdi
callq 0x4030
movq %rax, %rdi
callq 0x4220
movq %rbp, %rdi
callq 0x4230
movq %rax, %rbp
cmpq %r13, %rax
jne 0x29bee
leaq 0x4d8(%rsp), %rdi
callq 0x4440
leaq 0xb0(%rsp), %rbp
movl $0x0, (%rbp)
xorl %eax, %eax
movq %rax, 0x8(%rbp)
movq %rbp, 0x10(%rbp)
movq %rbp, 0x18(%rbp)
movq %rax, 0x20(%rbp)
movq 0xa0(%rsp), %rax
movq 0x18(%rax), %rbx
addq $0x8, %rax
cmpq %rax, %rbx
je 0x29d6d
movq %rax, %r13
leaq 0xa8(%rsp), %r14
leaq 0xd8(%rsp), %r12
leaq 0x2d8(%rsp), %r15
movl 0x40(%rbx), %eax
movl %eax, 0x2d8(%rsp)
movq 0xb8(%rsp), %rdx
movq %rbp, %rcx
testq %rdx, %rdx
je 0x29d16
movq %rbp, %rcx
xorl %esi, %esi
cmpl %eax, 0x20(%rdx)
setl %sil
cmovgeq %rdx, %rcx
movq 0x10(%rdx,%rsi,8), %rdx
testq %rdx, %rdx
jne 0x29cff
movq %rbp, %rdx
cmpq %rbp, %rcx
je 0x29d28
cmpl 0x20(%rcx), %eax
cmovlq %rbp, %rcx
movq %rcx, %rdx
cmpq %rbp, %rdx
je 0x29d3c
movq %r14, %rdi
movq %r15, %rsi
callq 0xcff0
incl (%rax)
jmp 0x29d59
movl %eax, 0xd8(%rsp)
movl $0x1, 0xdc(%rsp)
movq %r14, %rdi
movq %r12, %rsi
callq 0xe808
movq %rbx, %rdi
callq 0x4230
movq %rax, %rbx
cmpq %r13, %rax
jne 0x29ce2
leaq 0x78(%rsp), %r13
movq %r13, -0x10(%r13)
movq 0x910(%rsp), %rax
movq (%rax), %rsi
movq 0x8(%rax), %rdx
addq %rsi, %rdx
leaq 0x68(%rsp), %rdi
callq 0xda32
leaq 0x1475b(%rip), %rsi     # 0x3e4f4
leaq 0x68(%rsp), %rdi
callq 0x45e0
leaq 0xd8(%rsp), %rdi
leaq 0x38(%rsp), %r14
leaq 0x18(%rsp), %r15
callq 0x4570
movq 0x68(%rsp), %rsi
leaq 0xd8(%rsp), %rdi
movl $0x10, %edx
callq 0x4060
movq 0xd8(%rsp), %rax
movq -0x18(%rax), %rax
cmpl $0x0, 0xf8(%rsp,%rax)
je 0x29e5a
movq 0x221da(%rip), %rdi     # 0x4bfc8
leaq 0x10d3b(%rip), %rsi     # 0x3ab30
movl $0x16, %edx
callq 0x43a0
movq 0x68(%rsp), %rsi
movq 0x70(%rsp), %rdx
movq 0x221b8(%rip), %rdi     # 0x4bfc8
callq 0x43a0
movq %rax, %rbx
leaq 0x110c5(%rip), %rsi     # 0x3aee4
movl $0x10, %edx
movq %rax, %rdi
callq 0x43a0
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x4310
movsbl %al, %esi
movq %rbx, %rdi
callq 0x4030
movq %rax, %rdi
callq 0x4220
xorl %ebp, %ebp
jmp 0x2a1ab
movq 0xc0(%rsp), %rbx
leaq 0x11109(%rip), %rsi     # 0x3af72
leaq 0xd8(%rsp), %r14
movl $0x23, %edx
movq %r14, %rdi
callq 0x43a0
movq 0xd8(%rsp), %rax
addq -0x18(%rax), %r14
movq %r14, %rdi
movl $0xa, %esi
callq 0x4310
movsbl %al, %esi
leaq 0xd8(%rsp), %rdi
callq 0x4030
movq %rax, %rdi
callq 0x4220
cmpq %rbp, %rbx
je 0x29f26
leaq 0xd8(%rsp), %r14
leaq 0x14c5e(%rip), %r15     # 0x3eb21
movl 0x20(%rbx), %esi
movq %r14, %rdi
callq 0x4580
movq %rax, %r12
movl $0x1, %edx
movq %rax, %rdi
movq %r15, %rsi
callq 0x43a0
movl 0x24(%rbx), %esi
movq %r12, %rdi
callq 0x4580
movq %rax, %r12
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r12, %rdi
movl $0xa, %esi
callq 0x4310
movsbl %al, %esi
movq %r12, %rdi
callq 0x4030
movq %rax, %rdi
callq 0x4220
movq %rbx, %rdi
callq 0x4230
movq %rax, %rbx
cmpq %rbp, %rax
jne 0x29ec3
leaq 0xd8(%rsp), %rdi
callq 0x4440
leaq 0x58(%rsp), %r12
movq %r12, -0x10(%r12)
movq 0x910(%rsp), %rax
movq (%rax), %rsi
movq 0x8(%rax), %rdx
addq %rsi, %rdx
leaq 0x48(%rsp), %rdi
leaq 0x18(%rsp), %r15
callq 0xda32
leaq 0x145ba(%rip), %rsi     # 0x3e51f
leaq 0x48(%rsp), %rdi
leaq 0x38(%rsp), %r14
callq 0x45e0
leaq 0x2d8(%rsp), %rdi
callq 0x4570
movq 0x48(%rsp), %rsi
leaq 0x2d8(%rsp), %rdi
movl $0x10, %edx
callq 0x4060
movq 0x2d8(%rsp), %rax
movq -0x18(%rax), %rax
cmpl $0x0, 0x2f8(%rsp,%rax)
sete %bpl
je 0x2a023
movq 0x2200f(%rip), %rdi     # 0x4bfc8
leaq 0x10b70(%rip), %rsi     # 0x3ab30
movl $0x16, %edx
callq 0x43a0
movq 0x48(%rsp), %rsi
movq 0x50(%rsp), %rdx
movq 0x21fed(%rip), %rdi     # 0x4bfc8
callq 0x43a0
movq %rax, %rbx
leaq 0x10efa(%rip), %rsi     # 0x3aee4
movl $0x10, %edx
movq %rax, %rdi
callq 0x43a0
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x4310
movsbl %al, %esi
movq %rbx, %rdi
callq 0x4030
movq %rax, %rdi
callq 0x4220
jmp 0x2a15c
movq 0x88(%rsp), %rax
movq 0x18(%rax), %r15
leaq 0x10f60(%rip), %rsi     # 0x3af96
leaq 0x2d8(%rsp), %rbx
movl $0x44, %edx
movq %rbx, %rdi
callq 0x43a0
movq 0x2d8(%rsp), %rax
addq -0x18(%rax), %rbx
movq %rbx, %rdi
movl $0xa, %esi
callq 0x4310
movsbl %al, %esi
leaq 0x2d8(%rsp), %rdi
callq 0x4030
movq %rax, %rdi
callq 0x4220
movq 0x88(%rsp), %rax
addq $0x8, %rax
cmpq %rax, %r15
je 0x2a13b
movq %rax, %r13
leaq 0x2d8(%rsp), %rbx
leaq 0x14a7e(%rip), %r14     # 0x3eb21
movl 0x20(%r15), %esi
movq %rbx, %rdi
callq 0x4580
movq %rax, %r12
movl $0x1, %edx
movq %rax, %rdi
movq %r14, %rsi
callq 0x43a0
movq 0x28(%r15), %rsi
movq %r12, %rdi
callq 0x4210
movq %rax, %r12
movl $0x1, %edx
movq %rax, %rdi
movq %r14, %rsi
callq 0x43a0
leaq 0x20(%r15), %rsi
movq 0x98(%rsp), %rdi
callq 0xcf10
movq (%rax), %rsi
movq %r12, %rdi
callq 0x4210
movq %rax, %r12
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r12, %rdi
movl $0xa, %esi
callq 0x4310
movsbl %al, %esi
movq %r12, %rdi
callq 0x4030
movq %rax, %rdi
callq 0x4220
movq %r15, %rdi
callq 0x4230
movq %rax, %r15
cmpq %r13, %rax
jne 0x2a0a3
leaq 0x2d8(%rsp), %rdi
leaq 0x38(%rsp), %r14
leaq 0x18(%rsp), %r15
leaq 0x78(%rsp), %r13
leaq 0x58(%rsp), %r12
callq 0x4440
movq 0x21e5d(%rip), %rax     # 0x4bfc0
movq (%rax), %rcx
movq 0x18(%rax), %rax
leaq 0x2e0(%rsp), %rdi
movq %rcx, -0x8(%rdi)
movq -0x18(%rcx), %rcx
movq %rax, 0x2d8(%rsp,%rcx)
callq 0x42a0
leaq 0x3d0(%rsp), %rdi
callq 0x4140
movq 0x48(%rsp), %rdi
cmpq %r12, %rdi
je 0x2a1ab
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x4340
movq 0x21e0e(%rip), %rax     # 0x4bfc0
movq (%rax), %rcx
movq 0x18(%rax), %rax
leaq 0xe0(%rsp), %rdi
movq %rcx, -0x8(%rdi)
movq -0x18(%rcx), %rcx
movq %rax, 0xd8(%rsp,%rcx)
callq 0x42a0
leaq 0x1d0(%rsp), %rdi
callq 0x4140
movq 0x68(%rsp), %rdi
cmpq %r13, %rdi
je 0x2a1fa
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x4340
leaq 0xa8(%rsp), %rdi
callq 0xd9e2
movq 0x21db2(%rip), %rax     # 0x4bfc0
movq (%rax), %rcx
movq 0x18(%rax), %rax
leaq 0x4e0(%rsp), %rdi
movq %rcx, -0x8(%rdi)
movq -0x18(%rcx), %rcx
movq %rax, 0x4d8(%rsp,%rcx)
callq 0x42a0
leaq 0x5d0(%rsp), %rdi
callq 0x4140
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0x2a256
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x4340
movq 0x21d63(%rip), %rax     # 0x4bfc0
movq (%rax), %rcx
movq 0x18(%rax), %rax
leaq 0x6e0(%rsp), %rdi
movq %rcx, -0x8(%rdi)
movq -0x18(%rcx), %rcx
movq %rax, 0x6d8(%rsp,%rcx)
callq 0x42a0
leaq 0x7d0(%rsp), %rdi
callq 0x4140
movq 0x28(%rsp), %rdi
cmpq %r14, %rdi
je 0x2a2a5
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x4340
movl %ebp, %eax
addq $0x8d8, %rsp            # imm = 0x8D8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
jmp 0x2a36b
movq %rax, %rbx
movq 0x48(%rsp), %rdi
cmpq %r12, %rdi
jne 0x2a37a
jmp 0x2a38e
jmp 0x2a38b
jmp 0x2a35b
movq %rax, %rbx
jmp 0x2a39b
movq %rax, %rbx
movq 0x68(%rsp), %rdi
cmpq %r13, %rdi
jne 0x2a3aa
jmp 0x2a3b7
jmp 0x2a34f
jmp 0x2a35b
jmp 0x2a38b
movq %rax, %rbx
jmp 0x2a3d6
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
jne 0x2a3e5
jmp 0x2a3f7
jmp 0x2a3f4
jmp 0x2a38b
jmp 0x2a3c6
movq %rax, %rbx
jmp 0x2a404
movq %rax, %rbx
movq 0x28(%rsp), %rdi
cmpq %r14, %rdi
jne 0x2a413
jmp 0x2a420
jmp 0x2a34f
movq %rax, %rbx
jmp 0x2a3b7
jmp 0x2a3c6
jmp 0x2a3f4
movq %rax, %rbx
leaq 0x2d8(%rsp), %rdi
callq 0x4480
movq 0x48(%rsp), %rdi
leaq 0x58(%rsp), %rax
cmpq %rax, %rdi
je 0x2a38e
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x4340
jmp 0x2a38e
jmp 0x2a3f4
movq %rax, %rbx
leaq 0xd8(%rsp), %rdi
callq 0x4480
movq 0x68(%rsp), %rdi
leaq 0x78(%rsp), %rax
cmpq %rax, %rdi
je 0x2a3b7
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x4340
leaq 0xa8(%rsp), %rdi
callq 0xd9e2
jmp 0x2a3c9
movq %rax, %rbx
leaq 0x4d8(%rsp), %rdi
callq 0x4480
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x2a3f7
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x4340
jmp 0x2a3f7
movq %rax, %rbx
leaq 0x6d8(%rsp), %rdi
callq 0x4480
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x2a420
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x4340
movq %rbx, %rdi
callq 0x45a0