// File: /workspace/github_cpp_makefile_star2_O3/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, %r14
movq %rcx, 0x88(%rsp)
movq %rdx, %r12
movq %rsi, %r13
movq %rdi, %rbp
movq 0x910(%rsp), %rax
leaq 0x38(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%rax), %rsi
movq 0x8(%rax), %rdx
addq %rsi, %rdx
leaq 0x28(%rsp), %rbx
movq %rbx, %rdi
callq 0xd940
leaq 0x14d5e(%rip), %rsi     # 0x3e496
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 0x297ff
movq 0x22843(%rip), %rdi     # 0x4bfc8
leaq 0x113a4(%rip), %rsi     # 0x3ab30
movl $0x16, %edx
callq 0x43a0
movq 0x28(%rsp), %rsi
movq 0x30(%rsp), %rdx
movq 0x22821(%rip), %rdi     # 0x4bfc8
callq 0x43a0
movq %rax, %rbx
leaq 0x1172e(%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
movq 0x227cf(%rip), %rax     # 0x4bfc0
movq (%rax), %rbx
movq 0x18(%rax), %r14
xorl %ebp, %ebp
jmp 0x2a0ba
movq %r12, 0x90(%rsp)
movq %r14, 0x98(%rsp)
movq 0x18(%rbp), %rbx
leaq 0x116db(%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 0x298e1
leaq 0x6d8(%rsp), %r14
leaq 0x15291(%rip), %r15     # 0x3eb09
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 0x29878
leaq 0x6d8(%rsp), %rdi
callq 0x4440
leaq 0x18(%rsp), %r12
movq %r12, -0x10(%r12)
movq 0x910(%rsp), %rax
movq (%rax), %rsi
movq 0x8(%rax), %rdx
addq %rsi, %rdx
leaq 0x8(%rsp), %rdi
leaq 0x38(%rsp), %r15
callq 0xd940
leaq 0x14b9a(%rip), %rsi     # 0x3e4ba
leaq 0x8(%rsp), %rdi
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 0x299e9
movq 0x22659(%rip), %rdi     # 0x4bfc8
leaq 0x111ba(%rip), %rsi     # 0x3ab30
movl $0x16, %edx
callq 0x43a0
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
movq 0x22637(%rip), %rdi     # 0x4bfc8
callq 0x43a0
movq %rax, %rbx
leaq 0x11544(%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
movq 0x225e5(%rip), %rax     # 0x4bfc0
movq (%rax), %rbx
movq 0x18(%rax), %r14
xorl %ebp, %ebp
jmp 0x2a079
movq 0x18(%r13), %rbp
leaq 0x11528(%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
movq 0x90(%rsp), %r12
je 0x29af0
leaq 0x4d8(%rsp), %rbx
leaq 0x150ab(%rip), %r14     # 0x3eb09
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 0xce1a
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 0x29a5e
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 0x29bdc
movq %rax, %r13
leaq 0xa8(%rsp), %r14
leaq 0xd8(%rsp), %r15
leaq 0x2d8(%rsp), %r12
movl 0x40(%rbx), %eax
movl %eax, 0x2d8(%rsp)
movq 0xb8(%rsp), %rdi
testq %rdi, %rdi
je 0x29b9e
movq %rbp, %r8
movq %r8, %rcx
movq %rdi, %rdx
movl 0x20(%rdi), %esi
xorl %edi, %edi
cmpl %eax, %esi
setl %dil
movq %rdx, %r8
cmovlq %rcx, %r8
movq 0x10(%rdx,%rdi,8), %rdi
testq %rdi, %rdi
jne 0x29b6c
cmpq %rbp, %r8
je 0x29b9e
cmpl %eax, %esi
cmovlq %rcx, %rdx
cmpl 0x20(%rdx), %eax
jge 0x29bcd
movl %eax, 0xd8(%rsp)
movl $0x1, 0xdc(%rsp)
movq %r14, %rdi
movq %r15, %rsi
callq 0xe728
movq %rbx, %rdi
callq 0x4230
movq %rax, %rbx
cmpq %r13, %rax
jne 0x29b52
jmp 0x29bdc
movq %r14, %rdi
movq %r12, %rsi
callq 0xcefc
incl (%rax)
jmp 0x29bbb
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 0xd940
leaq 0x148d6(%rip), %rsi     # 0x3e4de
leaq 0x68(%rsp), %rdi
callq 0x45e0
leaq 0xd8(%rsp), %rdi
leaq 0x38(%rsp), %r15
leaq 0x18(%rsp), %r12
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 0x29cdb
movq 0x22367(%rip), %rdi     # 0x4bfc8
leaq 0x10ec8(%rip), %rsi     # 0x3ab30
movl $0x16, %edx
callq 0x43a0
movq 0x68(%rsp), %rsi
movq 0x70(%rsp), %rdx
movq 0x22345(%rip), %rdi     # 0x4bfc8
callq 0x43a0
movq %rax, %rbx
leaq 0x11252(%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
movq 0x222f3(%rip), %rax     # 0x4bfc0
movq (%rax), %rbx
movq 0x18(%rax), %r14
xorl %ebp, %ebp
jmp 0x2a02b
movq 0xc0(%rsp), %rbx
leaq 0x11288(%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 0x29da7
leaq 0xd8(%rsp), %r14
leaq 0x14dc5(%rip), %r15     # 0x3eb09
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 0x29d44
leaq 0xd8(%rsp), %rdi
callq 0x4440
leaq 0x58(%rsp), %r14
movq %r14, -0x10(%r14)
movq 0x910(%rsp), %rax
movq (%rax), %rsi
movq 0x8(%rax), %rdx
addq %rsi, %rdx
leaq 0x48(%rsp), %rdi
leaq 0x38(%rsp), %r15
leaq 0x18(%rsp), %r12
callq 0xd940
leaq 0x1471f(%rip), %rsi     # 0x3e509
leaq 0x48(%rsp), %rdi
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 0x29ea3
movq 0x2218f(%rip), %rdi     # 0x4bfc8
leaq 0x10cf0(%rip), %rsi     # 0x3ab30
movl $0x16, %edx
callq 0x43a0
movq 0x48(%rsp), %rsi
movq 0x50(%rsp), %rdx
movq 0x2216d(%rip), %rdi     # 0x4bfc8
callq 0x43a0
movq %rax, %rbx
leaq 0x1107a(%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 0x29fd7
movq 0x88(%rsp), %rax
movq 0x18(%rax), %r15
leaq 0x110e0(%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 0x29fbb
movq %rax, %r13
leaq 0x2d8(%rsp), %rbx
leaq 0x14be6(%rip), %r14     # 0x3eb09
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 0xce1a
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 0x29f23
leaq 0x2d8(%rsp), %rdi
leaq 0x38(%rsp), %r15
leaq 0x18(%rsp), %r12
leaq 0x78(%rsp), %r13
callq 0x4440
movq 0x21fe2(%rip), %rax     # 0x4bfc0
movq (%rax), %rbx
movq 0x18(%rax), %r14
leaq 0x2e0(%rsp), %rdi
movq %rbx, -0x8(%rdi)
movq -0x18(%rbx), %rax
movq %r14, 0x2d8(%rsp,%rax)
callq 0x42a0
leaq 0x3d0(%rsp), %rdi
callq 0x4140
movq 0x48(%rsp), %rdi
leaq 0x58(%rsp), %rax
cmpq %rax, %rdi
je 0x2a02b
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x4340
leaq 0xe0(%rsp), %rdi
movq %rbx, -0x8(%rdi)
movq -0x18(%rbx), %rax
movq %r14, 0xd8(%rsp,%rax)
callq 0x42a0
leaq 0x1d0(%rsp), %rdi
callq 0x4140
movq 0x68(%rsp), %rdi
cmpq %r13, %rdi
je 0x2a06c
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x4340
leaq 0xa8(%rsp), %rdi
callq 0xd8f0
leaq 0x4e0(%rsp), %rdi
movq %rbx, -0x8(%rdi)
movq -0x18(%rbx), %rax
movq %r14, 0x4d8(%rsp,%rax)
callq 0x42a0
leaq 0x5d0(%rsp), %rdi
callq 0x4140
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x2a0ba
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x4340
leaq 0x6e0(%rsp), %rdi
movq %rbx, -0x8(%rdi)
movq -0x18(%rbx), %rax
movq %r14, 0x6d8(%rsp,%rax)
callq 0x42a0
leaq 0x7d0(%rsp), %rdi
callq 0x4140
movq 0x28(%rsp), %rdi
cmpq %r15, %rdi
je 0x2a0fb
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 0x2a1c1
movq %rax, %rbx
movq 0x48(%rsp), %rdi
cmpq %r14, %rdi
jne 0x2a1d0
jmp 0x2a1e4
jmp 0x2a1e1
jmp 0x2a1b1
movq %rax, %rbx
jmp 0x2a1f1
movq %rax, %rbx
movq 0x68(%rsp), %rdi
cmpq %r13, %rdi
jne 0x2a200
jmp 0x2a20d
jmp 0x2a1ac
jmp 0x2a1b1
jmp 0x2a1e1
movq %rax, %rbx
jmp 0x2a22c
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
jne 0x2a23b
jmp 0x2a24d
jmp 0x2a24a
jmp 0x2a1ac
jmp 0x2a1e1
jmp 0x2a21c
movq %rax, %rbx
jmp 0x2a25a
movq %rax, %rbx
movq 0x28(%rsp), %rdi
cmpq %r15, %rdi
jne 0x2a269
jmp 0x2a276
jmp 0x2a21c
jmp 0x2a24a
movq %rax, %rbx
jmp 0x2a20d
movq %rax, %rbx
leaq 0x2d8(%rsp), %rdi
callq 0x4480
movq 0x48(%rsp), %rdi
leaq 0x58(%rsp), %rax
cmpq %rax, %rdi
je 0x2a1e4
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x4340
jmp 0x2a1e4
jmp 0x2a24a
movq %rax, %rbx
leaq 0xd8(%rsp), %rdi
callq 0x4480
movq 0x68(%rsp), %rdi
leaq 0x78(%rsp), %rax
cmpq %rax, %rdi
je 0x2a20d
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x4340
leaq 0xa8(%rsp), %rdi
callq 0xd8f0
jmp 0x2a21f
movq %rax, %rbx
leaq 0x4d8(%rsp), %rdi
callq 0x4480
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x2a24d
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x4340
jmp 0x2a24d
movq %rax, %rbx
leaq 0x6d8(%rsp), %rdi
callq 0x4480
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x2a276
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x4340
movq %rbx, %rdi
callq 0x45a0