// File: /workspace/github_cpp_makefile_star2_O1/medvedevgroup[P]varmatch/src/wholegenome.cpp
// Function: WholeGenome::ConstructMatchRecordNoGenotype(SequencePath&, std::vector<DiploidVariant, std::allocator<DiploidVariant>>&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>&, int, int, int, int, int)
void WholeGenome::ConstructMatchRecordNoGenotype(SequencePath & best_path,
                                                 vector<DiploidVariant> & variant_list,
                                                 string & subsequence,
                                                 int offset,
                                                 int thread_index,
                                                 int chr_id,
                                                 int mode_index,
                                                 int threshold_index){
    int truth_num = 0;
    int predict_num = 0;

    int truth_edit_distance = 0;
    int predict_edit_distance = 0;

    bool need_match_record = false;
    if(threshold_index == 0) need_match_record = true;

    bool multiple_match = false;
    string parsimonious_ref = subsequence;
    string parsimonious_alt0 = best_path.donor_sequences[0];
    string parsimonious_alt1 = best_path.donor_sequences[0];

    int parsimonious_pos = offset;

//    NormalizeVariantSequence(offset,
//                             parsimonious_ref,
//                             parsimonious_alt0,
//                             parsimonious_alt1,
//                             chr_id);

    string match_record = chrname_by_chrid[chr_id] + "\t" + to_string(parsimonious_pos+1) + "\t" + parsimonious_ref + "\t" + parsimonious_alt0;
    //if(multiple_match) match_record += "/" + parsimonious_alt1;

    string vcf_record[2];
    string phasing_record[2];

    for (int i = 0; i < 2; i++) {
        for (int var_index = 0; var_index < variant_list.size(); var_index++) {
            DiploidVariant variant = variant_list[var_index];
            if(variant.flag != i) continue;
            //The exact wording from the C++ standard is (§4.7/4): "If the source type is bool,
            // the value false is converted to zero and the value true is converted to one."
            int phasing = best_path.choice_vector[var_index];
            if(phasing <= NOT_USE) continue;
            int edit_distance = CalculateEditDistance(variant, phasing, 1);
            if(i == 0){
                truth_num ++;
                truth_edit_distance += edit_distance;
            }else{
                predict_num ++;
                predict_edit_distance += edit_distance;
            }

            if(need_match_record){
                string alt_string = variant.alts[0];
                if(variant.multi_alts){
                    alt_string += "/" + variant.alts[1];
                }
                string phasing_string = "";
                if(phasing == 0){
                    phasing_string += "1|1";
                }else if(phasing == 1){
                    phasing_string += "2|2";
                }
                string variant_record = to_string(variant.pos+1) + "," + variant.ref + "," + alt_string;
                vcf_record[i] += variant_record;
                phasing_record[i] += phasing_string;
                vcf_record[i] += ";";
                phasing_record[i] += ";";
            }
        }
        if(need_match_record){
            vcf_record[i] = vcf_record[i].substr(0, vcf_record[i].size()-1);
            phasing_record[i] = phasing_record[i].substr(0, phasing_record[i].size()-1);
        }

    }

    if(need_match_record){
       match_record += "\t" + vcf_record[0] + "\t" + vcf_record[1];
        match_record += "\t" + phasing_record[0] + "\t" + phasing_record[1];
       match_record += "\t" + to_string(best_path.score) + "\n";
       //complex_match_records[thread_index]->push_back(match_record);
       // this line should be recovered
       match_records_by_mode_by_thread[thread_index][mode_index]->push_back(match_record);
    }

    baseline_total_match_num[thread_index][threshold_index]->at(mode_index) += truth_num;
    query_total_match_num[thread_index][threshold_index]->at(mode_index) += predict_num;

    baseline_total_edit_distance[thread_index][threshold_index]->at(mode_index) += truth_edit_distance;
    query_total_edit_distance[thread_index][threshold_index]->at(mode_index) += predict_edit_distance;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x288, %rsp            # imm = 0x288
movl %r9d, %r12d
movl %r8d, %ebx
movq %rdx, 0xd0(%rsp)
movq %rsi, %r13
movq %rdi, %r15
leaq 0x190(%rsp), %r14
movq %r14, -0x10(%r14)
movq (%rcx), %rsi
movq 0x8(%rcx), %rdx
addq %rsi, %rdx
leaq 0x180(%rsp), %rdi
callq 0x112ce
leaq 0x1d0(%rsp), %rax
movq %rax, -0x10(%rax)
movq 0xd0(%r13), %rsi
movq 0xd8(%r13), %rdx
addq %rsi, %rdx
leaq 0x1c0(%rsp), %rdi
callq 0x112ce
leaq 0x278(%rsp), %rax
movq %rax, -0x10(%rax)
movq 0xd0(%r13), %rsi
movq 0xd8(%r13), %rdx
addq %rsi, %rdx
leaq 0x268(%rsp), %rdi
callq 0x112ce
leaq 0xb8(%r15), %rdi
leaq 0x2c0(%rsp), %rsi
callq 0x28988
leaq 0x38(%rsp), %rcx
movq %rcx, -0x10(%rcx)
movq (%rax), %rsi
movq 0x8(%rax), %rdx
addq %rsi, %rdx
leaq 0x28(%rsp), %rdi
callq 0x112ce
leaq 0x132b7(%rip), %rsi     # 0x315c1
leaq 0x28(%rsp), %rdi
callq 0x5630
incl %ebx
movl %ebx, %ebp
negl %ebp
cmovsl %ebx, %ebp
movl $0x1, %r14d
cmpl $0xa, %ebp
jb 0x1e371
movl $0x4, %r14d
movl $0xd1b71759, %eax       # imm = 0xD1B71759
movl %ebp, %ecx
cmpl $0x63, %ecx
jbe 0x1e368
cmpl $0x3e7, %ecx            # imm = 0x3E7
jbe 0x1e36e
cmpl $0x2710, %ecx           # imm = 0x2710
jb 0x1e371
movl %ecx, %edx
imulq %rax, %rdx
shrq $0x2d, %rdx
addl $0x4, %r14d
cmpl $0x1869f, %ecx          # imm = 0x1869F
movl %edx, %ecx
ja 0x1e335
addl $-0x3, %r14d
jmp 0x1e371
addl $-0x2, %r14d
jmp 0x1e371
decl %r14d
shrl $0x1f, %ebx
leal (%r14,%rbx), %esi
leaq 0x58(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x48(%rsp), %rdi
movl $0x2d, %edx
callq 0x53b0
movl %ebx, %edi
addq 0x48(%rsp), %rdi
movl %r14d, %esi
movl %ebp, %edx
callq 0xe3b6
movq 0x28(%rsp), %rcx
movq 0x30(%rsp), %r8
movq 0x50(%rsp), %rdx
leaq (%rdx,%r8), %rax
movl $0xf, %esi
leaq 0x38(%rsp), %rbp
cmpq %rbp, %rcx
je 0x1e3c8
movq 0x38(%rsp), %rsi
cmpq %rsi, %rax
jbe 0x1e3e8
movl $0xf, %esi
leaq 0x58(%rsp), %rdi
cmpq %rdi, 0x48(%rsp)
je 0x1e3e3
movq 0x58(%rsp), %rsi
cmpq %rsi, %rax
jbe 0x1e3f9
movq 0x48(%rsp), %rsi
leaq 0x28(%rsp), %rdi
callq 0x50f0
jmp 0x1e407
leaq 0x48(%rsp), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x5380
leaq 0x18(%rsp), %rdx
movq %rdx, -0x10(%rdx)
movq (%rax), %rsi
leaq 0x10(%rax), %rcx
cmpq %rcx, %rsi
je 0x1e42b
movq %rsi, 0x8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x18(%rsp)
jmp 0x1e431
movups (%rcx), %xmm0
movups %xmm0, (%rdx)
movq %rax, %rdx
addq $0x8, %rdx
movq 0x8(%rax), %rsi
movq %rsi, 0x10(%rsp)
movq %rcx, (%rax)
movq $0x0, (%rdx)
movb $0x0, (%rcx)
leaq 0x1316c(%rip), %rsi     # 0x315c1
leaq 0x8(%rsp), %rdi
callq 0x5630
leaq 0x1f0(%rsp), %r14
movq %r14, -0x10(%r14)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x1e48f
movq %rdx, 0x1e0(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x1f0(%rsp)
jmp 0x1e496
movups (%rcx), %xmm0
movups %xmm0, (%r14)
movl %r12d, 0xe4(%rsp)
movq %r15, 0xd8(%rsp)
movq 0x8(%rax), %rdx
leaq 0x1e0(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x180(%rsp), %rsi
movq 0x188(%rsp), %rdx
callq 0x50f0
leaq 0x230(%rsp), %r12
movq %r12, -0x10(%r12)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x1e50b
movq %rdx, 0x220(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x230(%rsp)
jmp 0x1e513
movups (%rcx), %xmm0
movups %xmm0, (%r12)
movq 0x8(%rax), %rdx
leaq 0x220(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x13088(%rip), %rsi     # 0x315c1
callq 0x5630
leaq 0x78(%rsp), %rsi
movq %rsi, -0x10(%rsi)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x1e565
movq %rdx, 0x68(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x78(%rsp)
jmp 0x1e56b
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq 0x8(%rax), %rdx
leaq 0x68(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x1c0(%rsp), %rsi
movq 0x1c8(%rsp), %rdx
callq 0x50f0
leaq 0xf8(%rsp), %rsi
movq %rsi, -0x10(%rsi)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x1e5cc
movq %rdx, 0xe8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0xf8(%rsp)
jmp 0x1e5d2
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq 0x8(%rax), %rdx
movq %rdx, 0xf0(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x68(%rsp), %rdi
leaq 0x78(%rsp), %rax
cmpq %rax, %rdi
je 0x1e609
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x5340
movq 0x220(%rsp), %rdi
cmpq %r12, %rdi
je 0x1e626
movq 0x230(%rsp), %rsi
incq %rsi
callq 0x5340
movq 0x1e0(%rsp), %rdi
cmpq %r14, %rdi
leaq 0x58(%rsp), %rbx
je 0x1e648
movq 0x1f0(%rsp), %rsi
incq %rsi
callq 0x5340
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1e663
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x5340
movq 0x48(%rsp), %rdi
cmpq %rbx, %rdi
je 0x1e67a
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x5340
movq 0x28(%rsp), %rdi
cmpq %rbp, %rdi
je 0x1e691
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x5340
movl $0x10, %eax
leaq (%rsp,%rax), %rcx
addq $0x220, %rcx            # imm = 0x220
movq %rcx, -0x10(%rcx)
movq $0x0, -0x8(%rcx)
movb $0x0, (%rcx)
addq $0x20, %rax
cmpq $0x50, %rax
jne 0x1e696
movq %r13, 0x118(%rsp)
movl $0x10, %eax
leaq (%rsp,%rax), %rcx
addq $0x1e0, %rcx            # imm = 0x1E0
movq %rcx, -0x10(%rcx)
movq $0x0, -0x8(%rcx)
movb $0x0, (%rcx)
addq $0x20, %rax
cmpq $0x50, %rax
jne 0x1e6c7
leaq 0x70(%rsp), %r12
xorl %r13d, %r13d
movl $0x0, 0xc4(%rsp)
movl $0x0, 0xc8(%rsp)
movl $0x0, 0xc0(%rsp)
movl $0x0, 0xcc(%rsp)
movq 0xd0(%rsp), %rax
movq (%rax), %r14
cmpq %r14, 0x8(%rax)
je 0x1eccb
movq %r13, %rax
shlq $0x5, %rax
leaq (%rsp,%rax), %rcx
addq $0x220, %rcx            # imm = 0x220
movq %rcx, 0x110(%rsp)
addq %rsp, %rax
addq $0x1e0, %rax            # imm = 0x1E0
movq %rax, 0x108(%rsp)
xorl %ebx, %ebx
imulq $0x58, %rbx, %r15
movl (%r14,%r15), %eax
movl %eax, 0x68(%rsp)
leaq 0x80(%rsp), %rax
movq %rax, 0x70(%rsp)
movq 0x8(%r14,%r15), %rsi
movq 0x10(%r14,%r15), %rdx
addq %rsi, %rdx
movq %r12, %rdi
callq 0x112ce
addq %r15, %r14
leaq 0x28(%r14), %rsi
leaq 0x90(%rsp), %rdi
callq 0x289ec
movq 0x50(%r14), %rax
movq %rax, 0x48(%r12)
movups 0x40(%r14), %xmm0
movups %xmm0, 0x38(%r12)
movzbl 0xb4(%rsp), %eax
cmpq %rax, %r13
jne 0x1ec6c
movq 0x118(%rsp), %rax
movq 0x168(%rax), %rax
movslq (%rax,%rbx,4), %r14
cmpq $-0x8, %r14
jl 0x1ec6c
movq %r14, %rdx
shlq $0x5, %rdx
addq 0x90(%rsp), %rdx
movq 0xd8(%rsp), %rdi
movq %r12, %rsi
callq 0x28c42
addl %eax, %eax
testq %r13, %r13
je 0x1e81b
incl 0xc8(%rsp)
addl %eax, 0xcc(%rsp)
jmp 0x1e829
incl 0xc4(%rsp)
addl %eax, 0xc0(%rsp)
cmpl $0x0, 0x2d0(%rsp)
jne 0x1ec6c
movq 0x90(%rsp), %rax
leaq 0x18(%rsp), %rcx
movq %rcx, 0x8(%rsp)
movq (%rax), %rsi
movq 0x8(%rax), %rdx
addq %rsi, %rdx
leaq 0x8(%rsp), %rdi
callq 0x112ce
cmpb $0x1, 0xa9(%rsp)
movl $0xd1b71759, %r12d      # imm = 0xD1B71759
jne 0x1e8b5
movq 0x90(%rsp), %rdx
addq $0x20, %rdx
leaq 0x28(%rsp), %rdi
leaq 0x12d3e(%rip), %rsi     # 0x315c3
callq 0xce96
movq 0x28(%rsp), %rsi
movq 0x30(%rsp), %rdx
leaq 0x8(%rsp), %rdi
callq 0x50f0
movq 0x28(%rsp), %rdi
cmpq %rbp, %rdi
je 0x1e8b5
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x5340
movq %rbp, 0x28(%rsp)
leaq 0x28(%rsp), %rdi
leaq 0x12cfc(%rip), %rdx     # 0x315c2
movq %rdx, %rsi
callq 0xc45c
leaq 0x12f8c(%rip), %rsi     # 0x31861
cmpl $0x1, %r14d
je 0x1e8e7
testl %r14d, %r14d
jne 0x1e8f1
leaq 0x12f76(%rip), %rsi     # 0x3185d
leaq 0x28(%rsp), %rdi
callq 0x5630
movl 0x68(%rsp), %r15d
incl %r15d
movl %r15d, %r14d
negl %r14d
cmovsl %r15d, %r14d
movl $0x1, %ebp
cmpl $0xa, %r14d
jb 0x1e94b
movl $0x4, %ebp
movl %r14d, %eax
cmpl $0x63, %eax
jbe 0x1e944
cmpl $0x3e7, %eax            # imm = 0x3E7
jbe 0x1e949
cmpl $0x2710, %eax           # imm = 0x2710
jb 0x1e94b
movl %eax, %ecx
imulq %r12, %rcx
shrq $0x2d, %rcx
addl $0x4, %ebp
cmpl $0x1869f, %eax          # imm = 0x1869F
movl %ecx, %eax
ja 0x1e916
addl $-0x3, %ebp
jmp 0x1e94b
addl $-0x2, %ebp
jmp 0x1e94b
decl %ebp
movq %r13, %r12
shrl $0x1f, %r15d
leal (%r15,%rbp), %esi
leaq 0x1b0(%rsp), %rax
movq %rax, 0x1a0(%rsp)
leaq 0x1a0(%rsp), %r13
movq %r13, %rdi
movl $0x2d, %edx
callq 0x53b0
movl %r15d, %edi
addq 0x1a0(%rsp), %rdi
movl %ebp, %esi
movl %r14d, %edx
callq 0xe3b6
movq %r13, %rdi
leaq 0x12bc7(%rip), %rsi     # 0x31561
callq 0x5630
leaq 0x130(%rsp), %rsi
movq %rsi, 0x120(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
leaq 0x38(%rsp), %rbp
leaq 0x18(%rsp), %r14
movq %r12, %r13
je 0x1e9e0
movq %rdx, 0x120(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x130(%rsp)
jmp 0x1e9e6
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
leaq 0x70(%rsp), %r12
movq 0x8(%rax), %rdx
movq %rdx, 0x128(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x70(%rsp), %rsi
movq 0x78(%rsp), %rdx
leaq 0x120(%rsp), %rdi
callq 0x50f0
leaq 0x150(%rsp), %rsi
movq %rsi, 0x140(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x1ea51
movq %rdx, 0x140(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x150(%rsp)
jmp 0x1ea57
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq 0x8(%rax), %rdx
movq %rdx, 0x148(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x140(%rsp), %rdi
leaq 0x12ae0(%rip), %rsi     # 0x31561
callq 0x5630
leaq 0x170(%rsp), %rsi
movq %rsi, 0x160(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x1eaba
movq %rdx, 0x160(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x170(%rsp)
jmp 0x1eac0
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq 0x8(%rax), %rdx
movq %rdx, 0x168(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
leaq 0x160(%rsp), %rdi
callq 0x50f0
leaq 0x58(%rsp), %rsi
movq %rsi, 0x48(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x1eb1a
movq %rdx, 0x48(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x58(%rsp)
jmp 0x1eb20
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq 0x8(%rax), %rdx
movq %rdx, 0x50(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x160(%rsp), %rdi
leaq 0x170(%rsp), %rax
cmpq %rax, %rdi
je 0x1eb5d
movq 0x170(%rsp), %rsi
incq %rsi
callq 0x5340
movq 0x140(%rsp), %rdi
leaq 0x150(%rsp), %rax
cmpq %rax, %rdi
je 0x1eb82
movq 0x150(%rsp), %rsi
incq %rsi
callq 0x5340
movq 0x120(%rsp), %rdi
leaq 0x130(%rsp), %rax
cmpq %rax, %rdi
je 0x1eba7
movq 0x130(%rsp), %rsi
incq %rsi
callq 0x5340
movq 0x1a0(%rsp), %rdi
leaq 0x1b0(%rsp), %rax
cmpq %rax, %rdi
je 0x1ebcc
movq 0x1b0(%rsp), %rsi
incq %rsi
callq 0x5340
movq 0x48(%rsp), %rsi
movq 0x50(%rsp), %rdx
movq 0x110(%rsp), %rdi
callq 0x50f0
movq 0x28(%rsp), %rsi
movq 0x30(%rsp), %rdx
movq 0x108(%rsp), %rdi
callq 0x50f0
movq 0x110(%rsp), %rdi
leaq 0x12c52(%rip), %rsi     # 0x3185b
callq 0x5630
movq 0x108(%rsp), %rdi
leaq 0x12c3e(%rip), %rsi     # 0x3185b
callq 0x5630
movq 0x48(%rsp), %rdi
leaq 0x58(%rsp), %rax
cmpq %rax, %rdi
je 0x1ec3e
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x5340
movq 0x28(%rsp), %rdi
cmpq %rbp, %rdi
je 0x1ec55
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x5340
movq 0x8(%rsp), %rdi
cmpq %r14, %rdi
je 0x1ec6c
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x5340
leaq 0x90(%rsp), %rdi
callq 0xe7ca
movq 0x70(%rsp), %rdi
leaq 0x80(%rsp), %rax
cmpq %rax, %rdi
je 0x1ec9b
movq 0x80(%rsp), %rsi
incq %rsi
callq 0x5340
incq %rbx
movq 0xd0(%rsp), %rax
movq (%rax), %r14
movq 0x8(%rax), %rax
subq %r14, %rax
sarq $0x3, %rax
movabsq $0x2e8ba2e8ba2e8ba3, %rcx # imm = 0x2E8BA2E8BA2E8BA3
imulq %rcx, %rax
cmpq %rbx, %rax
ja 0x1e761
cmpl $0x0, 0x2d0(%rsp)
jne 0x1ed76
movq %r13, %r14
shlq $0x5, %r14
leaq (%rsp,%r14), %rbx
addq $0x220, %rbx            # imm = 0x220
movq 0x8(%rbx), %rcx
decq %rcx
leaq 0x68(%rsp), %r15
movq %r15, %rdi
movq %rbx, %rsi
xorl %edx, %edx
callq 0x5360
movq %rbx, %rdi
movq %r15, %rsi
callq 0x53e0
movq 0x68(%rsp), %rdi
leaq 0x78(%rsp), %rax
cmpq %rax, %rdi
je 0x1ed2b
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x5340
leaq (%rsp,%r14), %rbx
addq $0x1e0, %rbx            # imm = 0x1E0
movq 0x8(%rbx), %rcx
decq %rcx
leaq 0x68(%rsp), %r14
movq %r14, %rdi
movq %rbx, %rsi
xorl %edx, %edx
callq 0x5360
movq %rbx, %rdi
movq %r14, %rsi
callq 0x53e0
movq 0x68(%rsp), %rdi
leaq 0x78(%rsp), %rax
cmpq %rax, %rdi
je 0x1ed76
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x5340
leaq 0x1(%r13), %rax
testq %r13, %r13
movq %rax, %r13
je 0x1e71f
movslq 0xe4(%rsp), %rsi
movslq 0x2c8(%rsp), %rbx
movl 0x2d0(%rsp), %r13d
testl %r13d, %r13d
movq 0xd8(%rsp), %r15
jne 0x1f1ff
movq %rsi, 0xd0(%rsp)
leaq 0x12803(%rip), %rsi     # 0x315c1
leaq 0x28(%rsp), %rdi
leaq 0x220(%rsp), %rdx
callq 0xce96
leaq 0x127ea(%rip), %rsi     # 0x315c1
leaq 0x28(%rsp), %rdi
callq 0x5630
leaq 0x18(%rsp), %r14
leaq 0x78(%rsp), %r12
movq %r14, 0x8(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x1ee0e
movq %rdx, 0x8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x18(%rsp)
jmp 0x1ee15
movups (%rcx), %xmm0
movups %xmm0, (%r14)
movq 0x8(%rax), %rdx
leaq 0x8(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x240(%rsp), %rsi
movq 0x248(%rsp), %rdx
callq 0x50f0
movq %r12, 0x68(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x1ee69
movq %rdx, 0x68(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x78(%rsp)
jmp 0x1ee71
movups (%rcx), %xmm0
movups %xmm0, (%r12)
movq 0x8(%rax), %rdx
movq %rdx, 0x70(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x68(%rsp), %rsi
movq 0x70(%rsp), %rdx
leaq 0xe8(%rsp), %rdi
callq 0x50f0
movq 0x68(%rsp), %rdi
cmpq %r12, %rdi
je 0x1eeb7
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x5340
movq 0x8(%rsp), %rdi
cmpq %r14, %rdi
je 0x1eece
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x5340
movq 0x28(%rsp), %rdi
cmpq %rbp, %rdi
je 0x1eee5
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x5340
leaq 0x126d5(%rip), %rsi     # 0x315c1
leaq 0x28(%rsp), %rdi
leaq 0x1e0(%rsp), %rdx
callq 0xce96
leaq 0x126bc(%rip), %rsi     # 0x315c1
leaq 0x28(%rsp), %rdi
callq 0x5630
movq %r14, 0x8(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x1ef32
movq %rdx, 0x8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x18(%rsp)
jmp 0x1ef39
movups (%rcx), %xmm0
movups %xmm0, (%r14)
movq 0x8(%rax), %rdx
leaq 0x8(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x200(%rsp), %rsi
movq 0x208(%rsp), %rdx
callq 0x50f0
movq %r12, 0x68(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x1ef8d
movq %rdx, 0x68(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x78(%rsp)
jmp 0x1ef95
movups (%rcx), %xmm0
movups %xmm0, (%r12)
movq 0x8(%rax), %rdx
movq %rdx, 0x70(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x68(%rsp), %rsi
movq 0x70(%rsp), %rdx
leaq 0xe8(%rsp), %rdi
callq 0x50f0
movq 0x68(%rsp), %rdi
cmpq %r12, %rdi
je 0x1efdb
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x5340
movq 0x8(%rsp), %rdi
cmpq %r14, %rdi
je 0x1eff2
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x5340
movq 0x28(%rsp), %rdi
cmpq %rbp, %rdi
je 0x1f009
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x5340
movq 0x118(%rsp), %rax
movl 0x158(%rax), %r14d
movl %r14d, %ebp
negl %ebp
cmovsl %r14d, %ebp
movl $0x1, %r15d
cmpl $0xa, %ebp
jb 0x1f075
movl $0x4, %r15d
movl $0xd1b71759, %eax       # imm = 0xD1B71759
movl %ebp, %ecx
cmpl $0x63, %ecx
jbe 0x1f06c
cmpl $0x3e7, %ecx            # imm = 0x3E7
jbe 0x1f072
cmpl $0x2710, %ecx           # imm = 0x2710
jb 0x1f075
movl %ecx, %edx
imulq %rax, %rdx
shrq $0x2d, %rdx
addl $0x4, %r15d
cmpl $0x1869f, %ecx          # imm = 0x1869F
movl %edx, %ecx
ja 0x1f039
addl $-0x3, %r15d
jmp 0x1f075
addl $-0x2, %r15d
jmp 0x1f075
decl %r15d
movq %r12, %r13
shrl $0x1f, %r14d
leal (%r15,%r14), %esi
leaq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
movq %rax, (%rdi)
movl $0x2d, %edx
callq 0x53b0
leaq 0x28(%rsp), %r12
addq (%r12), %r14
movq %r14, %rdi
movl %r15d, %esi
movl %ebp, %edx
callq 0xe3b6
leaq 0x1250d(%rip), %rcx     # 0x315c1
movl $0x1, %r8d
movq %r12, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x5380
leaq 0x18(%rsp), %rsi
movq %rsi, 0x8(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
leaq 0x38(%rsp), %r14
movq 0xd8(%rsp), %r15
movq %r13, %r12
movq 0xd0(%rsp), %rbp
je 0x1f106
movq %rdx, 0x8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x18(%rsp)
jmp 0x1f10c
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movl 0x2d0(%rsp), %r13d
movq 0x8(%rax), %rdx
leaq 0x8(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x10f35(%rip), %rsi     # 0x3006c
callq 0x5630
movq %r12, 0x68(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x1f15f
movq %rdx, 0x68(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x78(%rsp)
jmp 0x1f167
movups (%rcx), %xmm0
movups %xmm0, (%r12)
movq 0x8(%rax), %rdx
movq %rdx, 0x70(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x68(%rsp), %rsi
movq 0x70(%rsp), %rdx
leaq 0xe8(%rsp), %rdi
callq 0x50f0
movq 0x68(%rsp), %rdi
cmpq %r12, %rdi
je 0x1f1ad
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x5340
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x1f1c9
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x5340
movq 0x28(%rsp), %rdi
cmpq %r14, %rdi
je 0x1f1e0
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x5340
movq 0x178(%r15), %rax
movq (%rax,%rbp,8), %rax
movq (%rax,%rbx,8), %rdi
leaq 0xe8(%rsp), %rsi
callq 0x10ca6
movq %rbp, %rsi
movq 0x180(%r15), %rax
movq (%rax,%rsi,8), %rcx
movslq %r13d, %rax
movq (%rcx,%rax,8), %rdx
movq (%rdx), %rcx
movq 0x8(%rdx), %rdx
subq %rcx, %rdx
sarq $0x2, %rdx
cmpq %rbx, %rdx
jbe 0x1f3c2
movl 0xc4(%rsp), %edx
addl %edx, (%rcx,%rbx,4)
movq 0x188(%r15), %rcx
movq (%rcx,%rsi,8), %rcx
movq (%rcx,%rax,8), %rdx
movq (%rdx), %rcx
movq 0x8(%rdx), %rdx
subq %rcx, %rdx
sarq $0x2, %rdx
cmpq %rbx, %rdx
jbe 0x1f3c2
movl 0xc8(%rsp), %edx
addl %edx, (%rcx,%rbx,4)
movq 0x190(%r15), %rcx
movq (%rcx,%rsi,8), %rcx
movq (%rcx,%rax,8), %rdx
movq (%rdx), %rcx
movq 0x8(%rdx), %rdx
subq %rcx, %rdx
sarq $0x2, %rdx
cmpq %rbx, %rdx
jbe 0x1f3c2
movl 0xc0(%rsp), %edx
addl %edx, (%rcx,%rbx,4)
movq 0x198(%r15), %rcx
movq (%rcx,%rsi,8), %rcx
movq (%rcx,%rax,8), %rcx
movq (%rcx), %rax
movq 0x8(%rcx), %rdx
subq %rax, %rdx
sarq $0x2, %rdx
cmpq %rbx, %rdx
jbe 0x1f3c2
movl 0xcc(%rsp), %ecx
addl %ecx, (%rax,%rbx,4)
movq $-0x40, %rbx
leaq 0x210(%rsp), %r14
movq -0x10(%r14), %rdi
cmpq %rdi, %r14
je 0x1f2e5
movq (%r14), %rsi
incq %rsi
callq 0x5340
addq $-0x20, %r14
addq $0x20, %rbx
jne 0x1f2d1
movq $-0x40, %rbx
leaq 0x250(%rsp), %r14
movq -0x10(%r14), %rdi
cmpq %rdi, %r14
je 0x1f312
movq (%r14), %rsi
incq %rsi
callq 0x5340
addq $-0x20, %r14
addq $0x20, %rbx
jne 0x1f2fe
movq 0xe8(%rsp), %rdi
leaq 0xf8(%rsp), %rax
cmpq %rax, %rdi
je 0x1f341
movq 0xf8(%rsp), %rsi
incq %rsi
callq 0x5340
movq 0x268(%rsp), %rdi
leaq 0x278(%rsp), %rax
cmpq %rax, %rdi
leaq 0x190(%rsp), %rbx
je 0x1f36e
movq 0x278(%rsp), %rsi
incq %rsi
callq 0x5340
movq 0x1c0(%rsp), %rdi
leaq 0x1d0(%rsp), %rax
cmpq %rax, %rdi
je 0x1f393
movq 0x1d0(%rsp), %rsi
incq %rsi
callq 0x5340
movq 0x180(%rsp), %rdi
cmpq %rbx, %rdi
je 0x1f3b0
movq 0x190(%rsp), %rsi
incq %rsi
callq 0x5340
addq $0x288, %rsp            # imm = 0x288
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x126fb(%rip), %rdi     # 0x31ac4
movq %rbx, %rsi
xorl %eax, %eax
callq 0x5490
jmp 0x1f3e9
jmp 0x1f405
jmp 0x1f426
jmp 0x1f6b7
jmp 0x1f3e9
jmp 0x1f405
jmp 0x1f426
jmp 0x1f6b7
movq %rax, %rbx
movq 0x68(%rsp), %rdi
cmpq %r12, %rdi
je 0x1f408
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x5340
jmp 0x1f408
movq %rax, %rbx
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x1f429
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x5340
jmp 0x1f429
movq %rax, %rbx
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x1f6ba
movq 0x38(%rsp), %rsi
jmp 0x1f6ad
jmp 0x1f6b7
movq %rax, %rbx
movq 0x68(%rsp), %rdi
leaq 0x78(%rsp), %rax
cmpq %rax, %rdi
je 0x1f46f
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x5340
jmp 0x1f46f
movq %rax, %rbx
movq 0x220(%rsp), %rdi
cmpq %r12, %rdi
je 0x1f491
movq 0x230(%rsp), %rsi
incq %rsi
callq 0x5340
jmp 0x1f491
movq %rax, %rbx
movq 0x1e0(%rsp), %rdi
cmpq %r14, %rdi
je 0x1f4b3
movq 0x1f0(%rsp), %rsi
incq %rsi
callq 0x5340
jmp 0x1f4b3
movq %rax, %rbx
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1f4d3
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x5340
jmp 0x1f4d3
movq %rax, %rbx
movq 0x48(%rsp), %rdi
leaq 0x58(%rsp), %rax
cmpq %rax, %rdi
je 0x1f4f6
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x5340
jmp 0x1f4f6
jmp 0x1f4f3
movq %rax, %rbx
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x1f739
movq 0x38(%rsp), %rsi
jmp 0x1f731
movq %rax, %rbx
jmp 0x1f766
movq %rax, %rbx
jmp 0x1f78b
movq %rax, %rbx
jmp 0x1f739
jmp 0x1f6b7
jmp 0x1f6b7
jmp 0x1f6b7
movq %rax, %rbx
movq 0x28(%rsp), %rdi
cmpq %rbp, %rdi
je 0x1f58d
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x5340
jmp 0x1f58d
jmp 0x1f58a
movq %rax, %rbx
jmp 0x1f629
movq %rax, %rbx
movq 0x160(%rsp), %rdi
leaq 0x170(%rsp), %rax
cmpq %rax, %rdi
je 0x1f59a
movq 0x170(%rsp), %rsi
incq %rsi
callq 0x5340
jmp 0x1f59a
movq %rax, %rbx
leaq 0x18(%rsp), %r14
jmp 0x1f66d
movq %rax, %rbx
movq 0x140(%rsp), %rdi
leaq 0x150(%rsp), %rax
cmpq %rax, %rdi
je 0x1f5bf
movq 0x150(%rsp), %rsi
incq %rsi
callq 0x5340
leaq 0x38(%rsp), %rbp
leaq 0x18(%rsp), %r14
jmp 0x1f5ce
movq %rax, %rbx
movq 0x120(%rsp), %rdi
leaq 0x130(%rsp), %rax
cmpq %rax, %rdi
je 0x1f602
movq 0x130(%rsp), %rsi
incq %rsi
callq 0x5340
jmp 0x1f602
movq %rax, %rbx
leaq 0x38(%rsp), %rbp
leaq 0x18(%rsp), %r14
movq 0x1a0(%rsp), %rdi
leaq 0x1b0(%rsp), %rax
cmpq %rax, %rdi
je 0x1f656
movq 0x1b0(%rsp), %rsi
jmp 0x1f64e
movq %rax, %rbx
leaq 0x38(%rsp), %rbp
leaq 0x18(%rsp), %r14
jmp 0x1f656
jmp 0x1f632
movq %rax, %rbx
jmp 0x1f684
movq %rax, %rbx
movq 0x48(%rsp), %rdi
leaq 0x58(%rsp), %rax
cmpq %rax, %rdi
je 0x1f656
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x5340
movq 0x28(%rsp), %rdi
cmpq %rbp, %rdi
je 0x1f66d
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x5340
movq 0x8(%rsp), %rdi
cmpq %r14, %rdi
je 0x1f684
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x5340
leaq 0x68(%rsp), %rdi
callq 0x28b44
jmp 0x1f6ba
movq %rax, %rbx
movq 0x70(%rsp), %rdi
leaq 0x80(%rsp), %rax
cmpq %rax, %rdi
je 0x1f6ba
movq 0x80(%rsp), %rsi
incq %rsi
callq 0x5340
jmp 0x1f6ba
movq %rax, %rbx
movq $-0x40, %r14
leaq 0x210(%rsp), %r15
movq -0x10(%r15), %rdi
cmpq %rdi, %r15
je 0x1f6dd
movq (%r15), %rsi
incq %rsi
callq 0x5340
addq $-0x20, %r15
addq $0x20, %r14
jne 0x1f6c9
movq $-0x40, %r14
leaq 0x250(%rsp), %r15
movq -0x10(%r15), %rdi
cmpq %rdi, %r15
je 0x1f70a
movq (%r15), %rsi
incq %rsi
callq 0x5340
addq $-0x20, %r15
addq $0x20, %r14
jne 0x1f6f6
movq 0xe8(%rsp), %rdi
leaq 0xf8(%rsp), %rax
cmpq %rax, %rdi
je 0x1f739
movq 0xf8(%rsp), %rsi
incq %rsi
callq 0x5340
leaq 0x190(%rsp), %r14
movq 0x268(%rsp), %rdi
leaq 0x278(%rsp), %rax
cmpq %rax, %rdi
je 0x1f766
movq 0x278(%rsp), %rsi
incq %rsi
callq 0x5340
movq 0x1c0(%rsp), %rdi
leaq 0x1d0(%rsp), %rax
cmpq %rax, %rdi
je 0x1f78b
movq 0x1d0(%rsp), %rsi
incq %rsi
callq 0x5340
movq 0x180(%rsp), %rdi
cmpq %r14, %rdi
je 0x1f7a8
movq 0x190(%rsp), %rsi
incq %rsi
callq 0x5340
movq %rbx, %rdi
callq 0x55c0