// File: /workspace/github_cpp_makefile_star2_O1/medvedevgroup[P]varmatch/src/wholegenome.cpp
// Function: WholeGenome::DirectMatch(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
void WholeGenome::DirectMatch(string ref_vcf, string query_vcf, int match_mode_, string output_prefix)
{
    //dout << "direct match" << endl;
    match_mode_indicator = match_mode_;
    //int ref_variant_num = ReadReferenceVariants(ref_vcf);
    int que_variant_num = ReadQueryVariants(query_vcf);
    //dout << que_variant_num << endl;
    int match_num = 0;
    ofstream output_stat_file;
    output_stat_file.open(output_dir + "/" + output_prefix+".direct");
    for(int i = 0; i < chrom_num; i++){
        if(ref_variant_by_chrid[i]->size() == 0 || que_variant_by_chrid[i]->size() == 0)
            continue;
        //[TODO] not the right way to do it, at least need multimap
        multimap<int, int> ref_variant_by_pos;
        for(int j = 0; j < ref_variant_by_chrid[i]->size(); j++){
            DiploidVariant var = ref_variant_by_chrid[i]->at(j);
            int pos = var.pos;
            ref_variant_by_pos.insert(pair<int, int>(pos, j));
        }

        for(int j = 0; j < que_variant_by_chrid[i]->size(); j++){
            DiploidVariant var = que_variant_by_chrid[i]->at(j);
            int pos = var.pos;
            if(ref_variant_by_pos.find(pos) == ref_variant_by_pos.end())
                continue;

            pair<multimap<int, int>::iterator, multimap<int, int>::iterator> var_range;
            var_range = ref_variant_by_pos.equal_range(pos);

            for(auto it = var_range.first; it != var_range.second; ++it){
                int ref_index = (*it).second;
                DiploidVariant ref_var = ref_variant_by_chrid[i]->at(ref_index);
                if (match_mode_indicator != 1 && var == ref_var){
                    match_num ++;
                    string matched_variant = chrname_by_chrid[i] + "\t" + to_string(ref_var.pos) + "\t" + ref_var.ref + "\t";
                    output_stat_file << matched_variant << endl;
                    break;
                }else if(match_mode_indicator == 1 && var.CompareNoGenotype(ref_var)){
                    match_num ++;
                    break;
                }
            }
        }
    }
    output_stat_file.close();
    dout << "matched variants: " << match_num << endl;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x3e8, %rsp            # imm = 0x3E8
movq %r8, %r14
movq %rdi, %rbx
movl %ecx, 0x1e4(%rdi)
leaq 0x1d8(%rsp), %r12
movq %r12, -0x10(%r12)
movq (%rdx), %rsi
movq 0x8(%rdx), %rdx
addq %rsi, %rdx
leaq 0x1c8(%rsp), %r15
movq %r15, %rdi
callq 0x112ce
movq %rbx, %rdi
movq %r15, %rsi
callq 0x26d3e
movq 0x1c8(%rsp), %rdi
cmpq %r12, %rdi
je 0x27ad8
movq 0x1d8(%rsp), %rsi
incq %rsi
callq 0x5340
leaq 0x1e8(%rsp), %rdi
callq 0x5570
leaq 0x68(%rsp), %r15
movq %r15, -0x10(%r15)
movq 0x1c0(%rbx), %rsi
movq 0x1c8(%rbx), %rdx
addq %rsi, %rdx
leaq 0x58(%rsp), %rdi
callq 0x112ce
leaq 0x9ab3(%rip), %rsi      # 0x315c3
leaq 0x58(%rsp), %rdi
callq 0x5630
movq (%r14), %rsi
movq 0x8(%r14), %rdx
leaq 0x58(%rsp), %rdi
callq 0x50f0
leaq 0x130(%rsp), %r14
movq %r14, -0x10(%r14)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x27b5b
movq %rdx, 0x120(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x130(%rsp)
jmp 0x27b62
movups (%rcx), %xmm0
movups %xmm0, (%r14)
movq 0x8(%rax), %rdx
leaq 0x120(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x9ee5(%rip), %rsi      # 0x31a6d
callq 0x5630
leaq 0x98(%rsp), %r12
movq %r12, -0x10(%r12)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x27bbe
movq %rdx, 0x88(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x98(%rsp)
jmp 0x27bc6
movups (%rcx), %xmm0
movups %xmm0, (%r12)
movq 0x8(%rax), %rdx
leaq 0x88(%rsp), %rsi
movq %rdx, 0x8(%rsi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x1e8(%rsp), %rdi
movl $0x10, %edx
callq 0x5160
movq 0x88(%rsp), %rdi
cmpq %r12, %rdi
je 0x27c14
movq 0x98(%rsp), %rsi
incq %rsi
callq 0x5340
movq 0x120(%rsp), %rdi
cmpq %r14, %rdi
je 0x27c31
movq 0x130(%rsp), %rsi
incq %rsi
callq 0x5340
movq 0x58(%rsp), %rdi
cmpq %r15, %rdi
je 0x27c48
movq 0x68(%rsp), %rsi
incq %rsi
callq 0x5340
movl $0x0, 0x8(%rsp)
cmpl $0x0, (%rbx)
jle 0x28514
leaq 0x60(%rsp), %r13
leaq 0x128(%rsp), %rbp
leaq 0xb8(%rbx), %rax
movq %rax, 0x1b8(%rsp)
movl $0x0, 0xc(%rsp)
xorl %eax, %eax
movq 0x148(%rbx), %rcx
cltq
movq (%rcx,%rax,8), %rcx
movq 0x8(%rcx), %rdx
cmpq (%rcx), %rdx
je 0x28500
movq 0x150(%rbx), %rcx
movq (%rcx,%rax,8), %rax
movq 0x8(%rax), %rcx
cmpq (%rax), %rcx
je 0x28500
movl $0x0, 0x60(%rsp)
xorl %eax, %eax
movq %rax, 0x68(%rsp)
movq %r13, 0x70(%rsp)
movq %r13, 0x78(%rsp)
movq %rax, 0x80(%rsp)
movq 0x148(%rbx), %rax
movslq 0x8(%rsp), %rcx
movq (%rax,%rcx,8), %rdx
movq 0x8(%rdx), %rsi
cmpq (%rdx), %rsi
movabsq $0x2e8ba2e8ba2e8ba3, %rsi # imm = 0x2E8BA2E8BA2E8BA3
je 0x27e1c
leaq (%rax,%rcx,8), %rax
movl $0x28, %r15d
xorl %r14d, %r14d
movq (%rax), %rax
movq (%rax), %r12
movq 0x8(%rax), %rdx
subq %r12, %rdx
sarq $0x3, %rdx
imulq %rsi, %rdx
cmpq %r14, %rdx
jbe 0x285d3
movl -0x28(%r12,%r15), %eax
movl %eax, 0x88(%rsp)
leaq 0xa0(%rsp), %rax
movq %rax, 0x90(%rsp)
movq -0x20(%r12,%r15), %rsi
movq -0x18(%r12,%r15), %rdx
addq %rsi, %rdx
leaq 0x90(%rsp), %rdi
callq 0x112ce
leaq (%r12,%r15), %rsi
leaq 0xb0(%rsp), %rdi
callq 0x289ec
movq 0x28(%r12,%r15), %rax
leaq 0x90(%rsp), %rcx
movq %rax, 0x48(%rcx)
movups 0x18(%r12,%r15), %xmm0
movups %xmm0, 0x38(%rcx)
movl 0x88(%rsp), %eax
movl %eax, 0x120(%rsp)
movl %r14d, 0x124(%rsp)
leaq 0x58(%rsp), %rdi
leaq 0x120(%rsp), %rsi
callq 0x2e088
leaq 0xb0(%rsp), %rdi
callq 0xe7ca
movq 0x90(%rsp), %rdi
leaq 0xa0(%rsp), %rax
cmpq %rax, %rdi
je 0x27de0
movq 0xa0(%rsp), %rsi
incq %rsi
callq 0x5340
incq %r14
movq 0x148(%rbx), %rax
movslq 0x8(%rsp), %rcx
leaq (%rax,%rcx,8), %rax
movq (%rax), %rcx
movq 0x8(%rcx), %rdx
subq (%rcx), %rdx
sarq $0x3, %rdx
movabsq $0x2e8ba2e8ba2e8ba3, %rsi # imm = 0x2E8BA2E8BA2E8BA3
imulq %rsi, %rdx
addq $0x58, %r15
cmpq %r14, %rdx
ja 0x27d06
movq 0x150(%rbx), %rax
movslq 0x8(%rsp), %rcx
movq (%rax,%rcx,8), %rdx
movq 0x8(%rdx), %rsi
cmpq (%rdx), %rsi
je 0x284f6
leaq (%rax,%rcx,8), %rax
xorl %esi, %esi
movabsq $0x2e8ba2e8ba2e8ba3, %rcx # imm = 0x2E8BA2E8BA2E8BA3
movq (%rax), %rax
movq (%rax), %r14
movq 0x8(%rax), %rdx
subq %r14, %rdx
sarq $0x3, %rdx
imulq %rcx, %rdx
cmpq %rsi, %rdx
jbe 0x285e4
movq %rsi, 0x1c0(%rsp)
imulq $0x58, %rsi, %r15
movl (%r14,%r15), %eax
movl %eax, 0x88(%rsp)
leaq 0xa0(%rsp), %rax
movq %rax, 0x90(%rsp)
movq 0x8(%r14,%r15), %rsi
movq 0x10(%r14,%r15), %rdx
addq %rsi, %rdx
leaq 0x90(%rsp), %rdi
callq 0x112ce
addq %r15, %r14
leaq 0x28(%r14), %rsi
leaq 0xb0(%rsp), %rdi
callq 0x289ec
movq 0x50(%r14), %rax
leaq 0x90(%rsp), %rcx
movq %rax, 0x48(%rcx)
movups 0x40(%r14), %xmm0
movups %xmm0, 0x38(%rcx)
movl 0x88(%rsp), %eax
movl %eax, 0x54(%rsp)
movq 0x68(%rsp), %rdx
movq %r13, %rcx
testq %rdx, %rdx
je 0x27f07
movq %r13, %rcx
xorl %esi, %esi
cmpl %eax, 0x20(%rdx)
setl %sil
cmovgeq %rdx, %rcx
movq 0x10(%rdx,%rsi,8), %rdx
testq %rdx, %rdx
jne 0x27ef0
movq %r13, %rdx
cmpq %r13, %rcx
je 0x27f19
cmpl 0x20(%rcx), %eax
cmovlq %r13, %rcx
movq %rcx, %rdx
cmpq %r13, %rdx
je 0x28484
leaq 0x58(%rsp), %rdi
leaq 0x54(%rsp), %rsi
callq 0x2e20c
movq %rax, %r15
movq %rdx, %r14
cmpq %rdx, %rax
je 0x28484
movslq 0x24(%r15), %rsi
movq 0x148(%rbx), %rax
movslq 0x8(%rsp), %rcx
movq (%rax,%rcx,8), %rax
movq (%rax), %r12
movq 0x8(%rax), %rdx
subq %r12, %rdx
sarq $0x3, %rdx
movabsq $0x2e8ba2e8ba2e8ba3, %rax # imm = 0x2E8BA2E8BA2E8BA3
imulq %rax, %rdx
cmpq %rsi, %rdx
jbe 0x285c5
imulq $0x58, %rsi, %r13
movl (%r12,%r13), %eax
movl %eax, 0x120(%rsp)
leaq 0x138(%rsp), %rax
movq %rax, 0x128(%rsp)
movq 0x8(%r12,%r13), %rsi
movq 0x10(%r12,%r13), %rdx
addq %rsi, %rdx
movq %rbp, %rdi
callq 0x112ce
addq %r13, %r12
leaq 0x28(%r12), %rsi
leaq 0x148(%rsp), %rdi
callq 0x289ec
movq 0x50(%r12), %rax
movq %rax, 0x48(%rbp)
movups 0x40(%r12), %xmm0
movups %xmm0, 0x38(%rbp)
cmpl $0x1, 0x1e4(%rbx)
je 0x2809c
leaq 0x88(%rsp), %rdi
leaq 0x120(%rsp), %rsi
callq 0x28f46
testb %al, %al
je 0x2809c
movq 0x1b8(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0x28988
leaq 0x10(%rsp), %r12
leaq 0x20(%rsp), %rcx
movq %rcx, 0x10(%rsp)
movq (%rax), %rsi
movq 0x8(%rax), %rdx
addq %rsi, %rdx
movq %r12, %rdi
callq 0x112ce
movq %r12, %rdi
leaq 0x9585(%rip), %rsi      # 0x315c1
callq 0x5630
movl 0x120(%rsp), %ebp
movl %ebp, %r12d
negl %r12d
cmovsl %ebp, %r12d
movl $0x1, %r13d
cmpl $0xa, %r12d
jb 0x280da
movl $0x4, %r13d
movl %r12d, %eax
cmpl $0x63, %eax
jbe 0x280d1
cmpl $0x3e7, %eax            # imm = 0x3E7
jbe 0x280d7
cmpl $0x2710, %eax           # imm = 0x2710
jb 0x280da
movl %eax, %ecx
movl $0xd1b71759, %edx       # imm = 0xD1B71759
imulq %rdx, %rcx
shrq $0x2d, %rcx
addl $0x4, %r13d
cmpl $0x1869f, %eax          # imm = 0x1869F
movl %ecx, %eax
ja 0x28067
addl $-0x3, %r13d
jmp 0x280da
movb $0x1, %bpl
cmpl $0x1, 0x1e4(%rbx)
jne 0x2841d
leaq 0x88(%rsp), %rdi
leaq 0x120(%rsp), %rsi
callq 0x29c0c
movzbl %al, %ebp
addl %ebp, 0xc(%rsp)
xorb $0x1, %bpl
jmp 0x2841d
addl $-0x2, %r13d
jmp 0x280da
decl %r13d
shrl $0x1f, %ebp
leal (%r13,%rbp), %esi
leaq 0x40(%rsp), %rax
movq %rax, 0x30(%rsp)
leaq 0x30(%rsp), %rdi
movl $0x2d, %edx
callq 0x53b0
addq 0x30(%rsp), %rbp
movq %rbp, %rdi
movl %r13d, %esi
movl %r12d, %edx
callq 0xe3b6
movq 0x10(%rsp), %rcx
movl $0xf, %esi
leaq 0x20(%rsp), %rax
cmpq %rax, %rcx
je 0x28127
movq 0x20(%rsp), %rsi
movq 0x18(%rsp), %r8
movq 0x38(%rsp), %rdx
leaq (%rdx,%r8), %rax
cmpq %rsi, %rax
leaq 0xf0(%rsp), %r12
leaq 0x1a8(%rsp), %r13
leaq 0x188(%rsp), %rbp
jbe 0x2816d
movl $0xf, %esi
leaq 0x40(%rsp), %rdi
cmpq %rdi, 0x30(%rsp)
je 0x28168
movq 0x40(%rsp), %rsi
cmpq %rsi, %rax
jbe 0x2817e
movq 0x30(%rsp), %rsi
leaq 0x10(%rsp), %rdi
callq 0x50f0
jmp 0x2818c
leaq 0x30(%rsp), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x5380
movq %r12, 0xe0(%rsp)
movq (%rax), %rdx
leaq 0x10(%rax), %rcx
cmpq %rcx, %rdx
je 0x281b5
movq %rdx, 0xe0(%rsp)
movq (%rcx), %rdx
movq %rdx, 0xf0(%rsp)
jmp 0x281bd
movups (%rcx), %xmm0
movups %xmm0, (%r12)
movq %rax, %rdx
addq $0x8, %rdx
movq 0x8(%rax), %rsi
movq %rsi, 0xe8(%rsp)
movq %rcx, (%rax)
movq $0x0, (%rdx)
movb $0x0, (%rcx)
leaq 0xe0(%rsp), %rdi
leaq 0x93d5(%rip), %rsi      # 0x315c1
callq 0x5630
leaq 0x110(%rsp), %rsi
movq %rsi, 0x100(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x28225
movq %rdx, 0x100(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x110(%rsp)
jmp 0x2822b
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq 0x8(%rax), %rdx
movq %rdx, 0x108(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x128(%rsp), %rsi
movq 0x130(%rsp), %rdx
leaq 0x100(%rsp), %rdi
callq 0x50f0
movq %r13, 0x198(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x2828f
movq %rdx, 0x198(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x1a8(%rsp)
jmp 0x28297
movups (%rcx), %xmm0
movups %xmm0, (%r13)
movq 0x8(%rax), %rdx
movq %rdx, 0x1a0(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x198(%rsp), %rdi
leaq 0x9300(%rip), %rsi      # 0x315c1
callq 0x5630
movq %rbp, 0x178(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x282f2
movq %rdx, 0x178(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x188(%rsp)
jmp 0x282f9
movups (%rcx), %xmm0
movups %xmm0, (%rbp)
leaq 0x110(%rsp), %rsi
movq 0x8(%rax), %rdx
movq %rdx, 0x180(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x198(%rsp), %rdi
cmpq %r13, %rdi
je 0x28341
movq 0x1a8(%rsp), %rsi
incq %rsi
callq 0x5340
leaq 0x110(%rsp), %rsi
movq 0x100(%rsp), %rdi
cmpq %rsi, %rdi
je 0x2835e
movq 0x110(%rsp), %rsi
incq %rsi
callq 0x5340
movq 0xe0(%rsp), %rdi
cmpq %r12, %rdi
je 0x2837b
movq 0xf0(%rsp), %rsi
incq %rsi
callq 0x5340
movq 0x30(%rsp), %rdi
leaq 0x40(%rsp), %rax
cmpq %rax, %rdi
je 0x28397
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x5340
movq 0x10(%rsp), %rdi
leaq 0x20(%rsp), %rax
cmpq %rax, %rdi
je 0x283b3
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x5340
movq 0x178(%rsp), %rsi
movq 0x180(%rsp), %rdx
leaq 0x1e8(%rsp), %rdi
callq 0x53a0
movq %rax, %r12
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r12, %rdi
movl $0xa, %esi
callq 0x5310
movsbl %al, %esi
movq %r12, %rdi
callq 0x5040
movq %rax, %rdi
callq 0x5240
movq 0x178(%rsp), %rdi
cmpq %rbp, %rdi
je 0x28417
movq 0x188(%rsp), %rsi
incq %rsi
callq 0x5340
incl 0xc(%rsp)
xorl %ebp, %ebp
leaq 0x148(%rsp), %rdi
callq 0xe7ca
movq 0x128(%rsp), %rdi
leaq 0x138(%rsp), %rax
cmpq %rax, %rdi
je 0x2844f
movq 0x138(%rsp), %rsi
incq %rsi
callq 0x5340
testb %bpl, %bpl
je 0x28477
movq %r15, %rdi
callq 0x5250
movq %rax, %r15
cmpq %r14, %rax
leaq 0x60(%rsp), %r13
leaq 0x128(%rsp), %rbp
jne 0x27f40
jmp 0x28484
leaq 0x60(%rsp), %r13
leaq 0x128(%rsp), %rbp
leaq 0xb0(%rsp), %rdi
callq 0xe7ca
movq 0x90(%rsp), %rdi
leaq 0xa0(%rsp), %rax
cmpq %rax, %rdi
je 0x284b6
movq 0xa0(%rsp), %rsi
incq %rsi
callq 0x5340
movq 0x150(%rbx), %rax
movslq 0x8(%rsp), %rcx
leaq (%rax,%rcx,8), %rax
movq (%rax), %rcx
movq 0x8(%rcx), %rdx
subq (%rcx), %rdx
movq 0x1c0(%rsp), %rsi
incq %rsi
sarq $0x3, %rdx
movabsq $0x2e8ba2e8ba2e8ba3, %rcx # imm = 0x2E8BA2E8BA2E8BA3
imulq %rcx, %rdx
cmpq %rsi, %rdx
ja 0x27e49
leaq 0x58(%rsp), %rdi
callq 0x29ea4
movl 0x8(%rsp), %eax
incl %eax
movl %eax, 0x8(%rsp)
cmpl (%rbx), %eax
jl 0x27c7f
jmp 0x2851c
movl $0x0, 0xc(%rsp)
leaq 0x1e8(%rsp), %rdi
callq 0x5440
movq 0x13aa0(%rip), %rdi     # 0x3bfd0
leaq 0x953e(%rip), %rsi      # 0x31a75
movl $0x12, %edx
callq 0x53a0
movq 0x13a88(%rip), %rdi     # 0x3bfd0
movl 0xc(%rsp), %esi
callq 0x55a0
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x5310
movsbl %al, %esi
movq %rbx, %rdi
callq 0x5040
movq %rax, %rdi
callq 0x5240
movq 0x13a36(%rip), %rax     # 0x3bfb8
movq (%rax), %rcx
movq 0x18(%rax), %rax
leaq 0x1f0(%rsp), %rdi
movq %rcx, -0x8(%rdi)
movq -0x18(%rcx), %rcx
movq %rax, 0x1e8(%rsp,%rcx)
callq 0x52c0
leaq 0x2e0(%rsp), %rdi
callq 0x5100
addq $0x3e8, %rsp            # imm = 0x3E8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x94f8(%rip), %rdi      # 0x31ac4
xorl %eax, %eax
callq 0x5490
leaq 0x94ea(%rip), %rdi      # 0x31ac4
movq %r14, %rsi
xorl %eax, %eax
callq 0x5490
leaq 0x94d9(%rip), %rdi      # 0x31ac4
xorl %eax, %eax
callq 0x5490
movq %rax, %rbx
movq 0x88(%rsp), %rdi
cmpq %r12, %rdi
je 0x28617
movq 0x98(%rsp), %rsi
incq %rsi
callq 0x5340
jmp 0x28617
movq %rax, %rbx
movq 0x120(%rsp), %rdi
cmpq %r14, %rdi
je 0x2863b
movq 0x130(%rsp), %rsi
incq %rsi
callq 0x5340
jmp 0x2863b
jmp 0x28638
movq %rax, %rbx
movq 0x58(%rsp), %rdi
cmpq %r15, %rdi
je 0x287fd
movq 0x68(%rsp), %rsi
incq %rsi
callq 0x5340
jmp 0x287fd
jmp 0x28686
movq %rax, %rbx
movq 0x1c8(%rsp), %rdi
cmpq %r12, %rdi
je 0x2880a
movq 0x1d8(%rsp), %rsi
incq %rsi
callq 0x5340
jmp 0x2880a
movq %rax, %rbx
jmp 0x287fd
jmp 0x287e3
jmp 0x286d1
jmp 0x28699
jmp 0x286d1
movq %rax, %rbx
movq 0x90(%rsp), %rdi
leaq 0xa0(%rsp), %rax
cmpq %rax, %rdi
je 0x287f3
movq 0xa0(%rsp), %rsi
incq %rsi
callq 0x5340
jmp 0x287f3
jmp 0x286d1
jmp 0x287e3
movq %rax, %rbx
jmp 0x287f3
movq %rax, %rbx
movq 0x198(%rsp), %rdi
cmpq %r13, %rdi
je 0x28708
movq 0x1a8(%rsp), %rsi
incq %rsi
callq 0x5340
jmp 0x28708
movq %rax, %rbx
jmp 0x2872d
movq %rax, %rbx
jmp 0x2874a
movq %rax, %rbx
movq 0x100(%rsp), %rdi
leaq 0x110(%rsp), %rax
cmpq %rax, %rdi
je 0x2872d
movq 0x110(%rsp), %rsi
incq %rsi
callq 0x5340
movq 0xe0(%rsp), %rdi
cmpq %r12, %rdi
je 0x2874a
movq 0xf0(%rsp), %rsi
incq %rsi
callq 0x5340
movq 0x30(%rsp), %rdi
leaq 0x40(%rsp), %rax
cmpq %rax, %rdi
je 0x2876d
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x5340
jmp 0x2876d
jmp 0x2876a
movq %rax, %rbx
movq 0x10(%rsp), %rdi
leaq 0x20(%rsp), %rax
cmpq %rax, %rdi
je 0x287d4
movq 0x20(%rsp), %rsi
jmp 0x287cc
movq %rax, %rbx
jmp 0x287d4
movq %rax, %rbx
movq 0x128(%rsp), %rdi
leaq 0x138(%rsp), %rax
cmpq %rax, %rdi
je 0x287e6
movq 0x138(%rsp), %rsi
incq %rsi
callq 0x5340
jmp 0x287e6
jmp 0x287e3
movq %rax, %rbx
movq 0x178(%rsp), %rdi
cmpq %rbp, %rdi
je 0x287d4
movq 0x188(%rsp), %rsi
incq %rsi
callq 0x5340
leaq 0x120(%rsp), %rdi
callq 0x28b44
jmp 0x287e6
movq %rax, %rbx
leaq 0x88(%rsp), %rdi
callq 0x28b44
leaq 0x58(%rsp), %rdi
callq 0x29ea4
leaq 0x1e8(%rsp), %rdi
callq 0x5480
movq %rbx, %rdi
callq 0x55c0