// File: /workspace/github_cpp_makefile_star2_O3/millanek[P]evo/process_vcf_coding_sequences.cpp
// Function: getCodingSeqMain(int, char**)
int getCodingSeqMain(int argc, char** argv) {
    parseGetCodingSeqOptions(argc, argv);
    string vcfFileRoot = stripExtension(opt::vcfFile);
    string geneFileRoot = stripExtension(opt::geneFile);
    
    if (opt::bIsCoding) {
        std::cerr << "Generating gene coding sequences using variants from: " << opt::vcfFile << std::endl;
        std::cerr << "and the reference genome: " << opt::genomeFile << std::endl;
        std::cerr << "with coding sequence annotation defined in: " << opt::geneFile << std::endl;
    } else {
        std::cerr << "Generating sequences using variants from: " << opt::vcfFile << std::endl;
        std::cerr << "and the reference genome: " << opt::genomeFile << std::endl;
        std::cerr << "extracting regions according to annotation defined in: " << opt::geneFile << std::endl;
    }
        
    // Open connections to read from the vcf and reference genome files
    std::istream* vcfFile = createReader(opt::vcfFile.c_str());
    std::ifstream* genomeFile = new std::ifstream(opt::genomeFile.c_str());
    std::ifstream* geneFile = new std::ifstream(opt::geneFile.c_str());
    
    // Prepare an object for output files
    std::ofstream* badStartStopCodonFile;
    if (opt::bIsCoding) badStartStopCodonFile = new std::ofstream("badStartStopCodonList.txt");
    
    string line;
    string currentScaffoldNum = "";
    string currentScaffoldReference;
    string::size_type inStrPos;
    size_t numSamples;
    std::vector<string> sampleNames;
    string thisScaffoldName;
    unsigned int processedVariantCounter = 0;
    std::vector<string> scaffoldStrings;
    std::vector<string> scaffoldStringsH2;
    std::vector<std::vector<string> > statsAllGenes;
    string statsFileName = geneFileRoot + "_stats.txt";
    std::ofstream* statsFile = new std::ofstream(statsFileName.c_str());
    string stopsFileName = geneFileRoot + "_prematureStops.txt";
    *statsFile << "transcript" << "\t" << "length_in_nucleotides" << "\t" << "segregating_sites(ss)" << "\t" << "ss_proportion" << "\t" << "length_in_AA" << "\t" << "num_of_AA_with_synonymous_changes(synAAs)" << "\t" << "synAAs_proportion" << "\t" << "non_synonymous_AA_substitutions(nsAAs)" << "\t" << "nsAAs_proportion" << "\t" << "synonymousMAFaverage" << "\t" << "nonsynonymousMAFaverage" << "\t" << "pN" << "\t" << "pS" << std::endl;
    if (opt::hetTreatment == 'b') {
        std::cout << "transcript" << "\t" << "pN" << "\t" << "pS" << std::endl;
    } else {
        std::cout << "transcript" << "\t" << "length_in_nucleotides" << "\t" << "segregating_sites(ss)" << "\t" << "ss_proportion" << "\t" << "length_in_AA" << "\t" << "num_of_AA_with_synonymous_changes(synAAs)" << "\t" << "synAAs_proportion" << "\t" << "non_synonymous_AA_substitutions(nsAAs)" << "\t" << "nsAAs_proportion" << "\t" << "synonymousMAFaverage" << "\t" << "nonsynonymousMAFaverage" << "\t" << "pN" << "\t" << "pS" << std::endl;
    }
    std::ofstream* stopsFile = new std::ofstream(stopsFileName.c_str());
    *stopsFile << "transcript" << "\t" << "stopAA_position" << "\t" << "transcript_length" << "\t" << "stop_allele_frequency" << "\t" << "individuals_with_stop" << std::endl;
    string stopsPerGeneFileName = geneFileRoot + "_prematureStops_perGene.txt";
    std::ofstream* stopsPerGeneSummaryFile = new std::ofstream(stopsPerGeneFileName.c_str());
    *stopsPerGeneSummaryFile << "gene" << "\t" << "numStops" << "\t" << "numTranscripts" << "\t" << "avg_stop_allele_frequency" << "\t" << "avg_stop_AA_position(%_of_trancript_length)" << std::endl;
    
    // Load up the gene (CDS) annotation file
    Annotation wgAnnotation(geneFile, opt::bUsePartial);
    std::vector<std::vector<string> > annotation;
    
    //print_vector(wgAnnotation.annotationMap["scaffold_0"][0], std::cerr);
    
    while (getline(*vcfFile, line)) {
        if (line[0] == '#' && line[1] == '#')
            continue;
        else if (line[0] == '#' && line[1] == 'C') {
            std::vector<std::string> fields = split(line, '\t');
            numSamples = fields.size()-NUM_NON_GENOTYPE_COLUMNS;
            // Initialize vectors
            scaffoldStrings.resize(numSamples);
            
            for (std::vector<std::string>::size_type i = NUM_NON_GENOTYPE_COLUMNS; i != fields.size(); i++) {
                if (opt::sampleNameFile.empty())
                    sampleNames.push_back(fields[i]);
                else
                    sampleNames = readSampleNamesFromTextFile(opt::sampleNameFile);
            }
            
        } else {
            processedVariantCounter++;
            std::vector<std::string> fields = split(line, '\t');
            // Also get overall depth for this variant
            std::vector<std::string> info = split(fields[7], ';');
            if (fields[0] != currentScaffoldNum) {
                if (currentScaffoldNum != "") {
                    for (std::vector<std::string>::size_type i = 0; i != numSamples; i++) {
                        scaffoldStrings[i].append(currentScaffoldReference.substr(inStrPos, string::npos));
                    }
                    if (opt::hetTreatment == 'b') {
                        for (std::vector<std::string>::size_type i = 0; i != numSamples; i++) {
                            scaffoldStringsH2[i].append(currentScaffoldReference.substr(inStrPos, string::npos));
                        }
                    }
                      
#ifdef DEBUG
                    if (scaffoldStrings[0].length() != currentScaffoldReference.length()) {
                        std::cerr << "Error!!! Reference scaffold length: " << currentScaffoldReference.length() << " vcf scaffold length: " << scaffoldStrings[0].length() << std::endl;
                    }
#endif
                    std::cerr << currentScaffoldNum << std::endl;
                    annotation = wgAnnotation.annotationMap[currentScaffoldNum]; // Get annotation for this scaffold
                    
                    std::cerr << "Going through the annotation..." << std::endl;
                    for (std::vector<std::vector<string> >::size_type k = 0; k != annotation.size(); k++) {
                        std::vector<string> annotLineVec = split(annotation[k][0], '\t');
                        // std::cerr << "Gene:" << annotLineVec[4] << std::endl;
                        std::ofstream* geneOutFiles;
                        bool geneLengthDivisibleByThree = true;
                        std::vector<string> allSeqs; std::vector<string> allSeqsH2;
                        string geneName = annotLineVec[4];
                        std::vector<string> statsThisGene; statsThisGene.push_back(geneName);
                        string refSeq = getReferenceForThisRegion(annotation[k], annotLineVec[3], currentScaffoldReference);
                        if (opt::bIsCoding)
                            geneLengthDivisibleByThree = codingSequenceErrorChecks(refSeq, geneName, annotation, (int)k, badStartStopCodonFile);
                        if (geneLengthDivisibleByThree)
                            geneOutFiles = new std::ofstream(geneName.c_str());
                        else if (opt::nonDivPrefix != "")
                            geneOutFiles = new std::ofstream((opt::nonDivPrefix+'_'+geneName).c_str());
                        if (geneLengthDivisibleByThree || opt::nonDivPrefix != "") {
                            for (std::vector<std::string>::size_type i = 0; i != numSamples; i++) {
                                string geneSeq = getIndividualSequenceForThisRegion(annotation[k], annotLineVec[3], scaffoldStrings[i]);
                                *geneOutFiles << ">" << sampleNames[i] << std::endl;
                                *geneOutFiles << geneSeq << std::endl;
                                allSeqs.push_back(geneSeq);
                                if (opt::hetTreatment == 'b') {
                                    geneSeq = getIndividualSequenceForThisRegion(annotation[k], annotLineVec[3], scaffoldStringsH2[i]);
                                    *geneOutFiles << ">" << sampleNames[i] << "_H2" << std::endl;
                                    *geneOutFiles << geneSeq << std::endl;
                                    allSeqsH2.push_back(geneSeq);
                                }
                            } geneOutFiles->close();
                            std::cerr << "Got all sequences for: " << annotLineVec[4] << std::endl;
                        }
                        // Get statistics for the sequences
                        if (!opt::bNoStats) {
                            if (opt::bIsCoding && geneLengthDivisibleByThree) {
                                assert(allSeqs[0].length() == refSeq.length());
                                assert(allSeqsH2[0].length() == refSeq.length());
                                if (opt::hetTreatment == 'p' || opt::hetTreatment == 'r') {
                                    getStatsHaploidSeq(allSeqs, statsThisGene);
                                    print_vector(statsThisGene, std::cout);
                                } else if (opt::hetTreatment == 'b') {
                                    std::vector<std::vector<double> > combinedVectorForPCA;
                                    pNsets* sets = nullptr;
                                    getStatsBothPhasedHaps(allSeqs, allSeqsH2, statsThisGene, combinedVectorForPCA, sets);
                                    print_vector(statsThisGene, std::cout);
                                } else {
                                    getStatsIUPAC(allSeqs, refSeq, annotLineVec[4], statsThisGene,stopsFile, sampleNames);
                                }
                                statsAllGenes.push_back(statsThisGene);
                                std::cerr << "Got statistics for: " << annotLineVec[4] << std::endl;
                            }
                        }
                    }
                  //  for (std::vector<std::string>::size_type i = 0; i != numSamples; i++) {
                  //      scaffoldStrings[i] = "";
                  //      if (opt::hetTreatment == 'b') scaffoldStringsH2[i] = "";
                  //  }
                    processedVariantCounter = 1;
                    currentScaffoldNum = fields[0];
                    forwardGenomeToScaffold(currentScaffoldNum, genomeFile, thisScaffoldName);
                } else {
                    getline(*genomeFile, thisScaffoldName);
                    thisScaffoldName.erase(0,1);
                    currentScaffoldNum = fields[0];
                }
                
                print_matrix(statsAllGenes, *statsFile);
                statsFile->flush();
                statsAllGenes.clear();
                printPerGeneSummaries(stopsPerGeneSummaryFile, wgAnnotation);
                stopsTranscriptRecord.clear();
                
                inStrPos = 0;
                std::cerr << "Starting to read " << thisScaffoldName << std::endl;
                currentScaffoldReference = readScaffold(genomeFile, thisScaffoldName);
                thisScaffoldName.erase(0,1);
                std::cerr << "Finished reading" << std::endl;
                std::cerr << "Generating sequences with variants from the VCF file..." << std::endl;
                
                for (std::vector<string>::size_type i = 0; i != numSamples; i++) {
                    scaffoldStrings[i] = "";
                    scaffoldStrings[i].reserve(currentScaffoldReference.length());
                }
                if (opt::hetTreatment == 'b') {
                    scaffoldStringsH2.resize(numSamples);
                    for (std::vector<string>::size_type i = 0; i != numSamples; i++) {
                        scaffoldStringsH2[i] = "";
                        scaffoldStringsH2[i].reserve(currentScaffoldReference.length());
                    }
                }
                
            }
            //if (wgAnnotation.annotationMap.count(fields[0]) == 1) {
                std::string ref = fields[3];  std::string alt = fields[4];
                if (ref.length() == 1 && alt.length() == 1) { // Only use Biallelic SNPs (or multiallelics split across multiple lines)
                    for (std::vector<std::string>::size_type i = NUM_NON_GENOTYPE_COLUMNS; i != fields.size(); i++) {
                        //std::cerr << "Going through genotypes1:" << i << std::endl;
                        //std::cerr << scaffoldStrings.size() << " " << inStrPos << " " << fields[1] << " " << currentScaffoldReference.size() << std::endl;
                        int sampleNum = (int)i - NUM_NON_GENOTYPE_COLUMNS;
                        scaffoldStrings[sampleNum].append(currentScaffoldReference.substr(inStrPos, (atoi(fields[1].c_str()) - 1)-inStrPos));
                        if (opt::hetTreatment == 'b')
                            scaffoldStringsH2[sampleNum].append(currentScaffoldReference.substr(inStrPos, (atoi(fields[1].c_str()) - 1)-inStrPos));
                        std::vector<string> genotypeFields = split(fields[i], ':');
                        std::vector<char> genotype;
                        genotype.push_back(genotypeFields[0][0]); genotype.push_back(genotypeFields[0][2]);
                        if (opt::hetTreatment == 'b') {
                            // Somewhat hacky:
                            // 1) add to the first haplotype
                            appendGenotypeBaseToString(scaffoldStrings[sampleNum], fields[3], fields[4], genotype, 'p');
                            // 2) add to the second haplotype
                            appendGenotypeBaseToString(scaffoldStringsH2[sampleNum], fields[3], fields[4], genotype, 'b');
                        } else {
                            appendGenotypeBaseToString(scaffoldStrings[sampleNum], fields[3], fields[4], genotype, opt::hetTreatment);
                        }
                    }
                    inStrPos = atoi(fields[1].c_str());
                    
    #ifdef DEBUG
                    if (currentScaffoldReference[inStrPos-1] != fields[3][0]) {
                        std::cerr << "Error!!! Sequence: " << currentScaffoldReference[inStrPos-1] << " vcf-ref: " << fields[3][0] << std::endl;
                    }
    #endif
                }
            //}
            if (processedVariantCounter % 10000 == 0) {
                std::cerr << processedVariantCounter << " variants processed..." << std::endl;
                //std::cout << "scaffoldStrings[0]:\t" << scaffoldStrings[0] << std::endl;
                //std::cout << "scaffoldStringsH2[0]:\t" << scaffoldStringsH2[0] << std::endl;
                //std::cout << "ScaffoldReference:\t" << currentScaffoldReference.substr(0,inStrPos) << std::endl;
            }
        }
    }
    
    print_matrix(statsAllGenes, *statsFile);
    statsAllGenes.clear();
    printPerGeneSummaries(stopsPerGeneSummaryFile, wgAnnotation);
    stopsTranscriptRecord.clear();
 
    
    return 0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x468, %rsp            # imm = 0x468
callq 0x719b4
leaq 0x94364(%rip), %rsi     # 0x103580
leaq 0x328(%rsp), %rdi
callq 0x4d82f
leaq 0x94390(%rip), %rsi     # 0x1035c0
leaq 0x2b0(%rsp), %rdi
callq 0x4d82f
cmpb $0x0, 0x943dc(%rip)     # 0x103620
je 0x6f350
movq 0x92d97(%rip), %rdi     # 0x101fe8
leaq 0x66b9b(%rip), %rsi     # 0xd5df3
movl $0x2a, %edx
callq 0x84e0
movq 0x94317(%rip), %rsi     # 0x103580
movq 0x94318(%rip), %rdx     # 0x103588
movq 0x92d71(%rip), %rdi     # 0x101fe8
callq 0x84e0
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x8450
movsbl %al, %esi
movq %rbx, %rdi
callq 0x8040
movq %rax, %rdi
callq 0x8300
movq 0x92d3b(%rip), %rdi     # 0x101fe8
leaq 0x65a47(%rip), %rsi     # 0xd4cfb
movl $0x1a, %edx
callq 0x84e0
movq 0x942db(%rip), %rsi     # 0x1035a0
movq 0x942dc(%rip), %rdx     # 0x1035a8
movq 0x92d15(%rip), %rdi     # 0x101fe8
callq 0x84e0
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x8450
movsbl %al, %esi
movq %rbx, %rdi
callq 0x8040
movq %rax, %rdi
callq 0x8300
movq 0x92cdf(%rip), %rdi     # 0x101fe8
leaq 0x66b0e(%rip), %rsi     # 0xd5e1e
movl $0x37, %edx
callq 0x84e0
movq 0x9429f(%rip), %rsi     # 0x1035c0
movq 0x942a0(%rip), %rdx     # 0x1035c8
movq 0x92cb9(%rip), %rdi     # 0x101fe8
callq 0x84e0
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x8450
jmp 0x6f451
movq 0x92c91(%rip), %rdi     # 0x101fe8
leaq 0x66a31(%rip), %rsi     # 0xd5d8f
movl $0x36, %edx
callq 0x84e0
movq 0x94211(%rip), %rsi     # 0x103580
movq 0x94212(%rip), %rdx     # 0x103588
movq 0x92c6b(%rip), %rdi     # 0x101fe8
callq 0x84e0
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x8450
movsbl %al, %esi
movq %rbx, %rdi
callq 0x8040
movq %rax, %rdi
callq 0x8300
movq 0x92c35(%rip), %rdi     # 0x101fe8
leaq 0x65941(%rip), %rsi     # 0xd4cfb
movl $0x1a, %edx
callq 0x84e0
movq 0x941d5(%rip), %rsi     # 0x1035a0
movq 0x941d6(%rip), %rdx     # 0x1035a8
movq 0x92c0f(%rip), %rdi     # 0x101fe8
callq 0x84e0
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x8450
movsbl %al, %esi
movq %rbx, %rdi
callq 0x8040
movq %rax, %rdi
callq 0x8300
movq 0x92bd9(%rip), %rdi     # 0x101fe8
leaq 0x669b0(%rip), %rsi     # 0xd5dc6
movl $0x2c, %edx
callq 0x84e0
movq 0x94199(%rip), %rsi     # 0x1035c0
movq 0x9419a(%rip), %rdx     # 0x1035c8
movq 0x92bb3(%rip), %rdi     # 0x101fe8
callq 0x84e0
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x8450
movsbl %al, %esi
movq %rbx, %rdi
callq 0x8040
movq %rax, %rdi
callq 0x8300
movq 0x94115(%rip), %rsi     # 0x103580
leaq 0x390(%rsp), %rdi
leaq 0x1d0(%rsp), %rdx
callq 0x287de
leaq 0x390(%rsp), %rdi
movl $0x8, %esi
callq 0x500af
movq %rax, %rbp
leaq 0x3a0(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x6f4b6
movq 0x3a0(%rsp), %rsi
incq %rsi
callq 0x8480
movl $0x208, %edi            # imm = 0x208
callq 0x8470
movq %rax, %r14
movq 0x940d6(%rip), %rsi     # 0x1035a0
movq %rax, %rdi
movl $0x8, %edx
callq 0x8860
movq %r14, 0x168(%rsp)
movl $0x208, %edi            # imm = 0x208
callq 0x8470
movq %rax, %r14
movq 0x940cd(%rip), %rsi     # 0x1035c0
movq %rax, %rdi
movl $0x8, %edx
callq 0x8860
movq %r14, 0x308(%rsp)
cmpb $0x0, 0x94111(%rip)     # 0x103620
jne 0x6f53a
movl $0x200, %edi            # imm = 0x200
callq 0x8470
movq %rax, %r14
leaq 0x66931(%rip), %rsi     # 0xd5e56
movq %rax, %rdi
movl $0x10, %edx
callq 0x84c0
movq %r14, 0x300(%rsp)
leaq 0x1e0(%rsp), %rax
movq %rax, -0x10(%rax)
movq $0x0, -0x8(%rax)
movb $0x0, (%rax)
leaq 0x130(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x5e467(%rip), %rdx     # 0xcd9cb
leaq 0x120(%rsp), %rdi
movq %rdx, %rsi
callq 0x28a52
leaq 0xd0(%rsp), %rcx
movq %rcx, -0x10(%rcx)
xorl %eax, %eax
movq %rax, -0x8(%rcx)
movb %al, (%rcx)
movq %rax, 0x150(%rsp)
xorps %xmm0, %xmm0
movaps %xmm0, 0x140(%rsp)
leaq 0x1c0(%rsp), %rcx
movq %rcx, -0x10(%rcx)
movq %rax, -0x8(%rcx)
movb %al, (%rcx)
movq %rax, 0x110(%rsp)
movaps %xmm0, 0x100(%rsp)
movq %rax, 0x1a0(%rsp)
movaps %xmm0, 0x190(%rsp)
movq %rax, 0xf0(%rsp)
movaps %xmm0, 0xe0(%rsp)
leaq 0x270(%rsp), %rax
movq %rax, -0x10(%rax)
movq 0x2b0(%rsp), %rsi
movq 0x2b8(%rsp), %rdx
addq %rsi, %rdx
leaq 0x260(%rsp), %rdi
callq 0x2ba06
leaq 0x5eb80(%rip), %rsi     # 0xce190
leaq 0x260(%rsp), %rdi
callq 0x88c0
movl $0x200, %edi            # imm = 0x200
callq 0x8470
movq %rax, %r12
movq 0x260(%rsp), %rsi
movq %rax, %rdi
movl $0x10, %edx
callq 0x84c0
leaq 0x250(%rsp), %rax
movq %rax, -0x10(%rax)
movq 0x2b0(%rsp), %rsi
movq 0x2b8(%rsp), %rdx
addq %rsi, %rdx
leaq 0x240(%rsp), %rdi
callq 0x2ba06
leaq 0x667fe(%rip), %rsi     # 0xd5e70
leaq 0x240(%rsp), %rdi
callq 0x88c0
leaq 0x5eb25(%rip), %r14     # 0xce1ab
movl $0xa, %edx
movq %r12, %rdi
movq %r14, %rsi
callq 0x84e0
leaq 0x5e32d(%rip), %rsi     # 0xcd9ca
movl $0x1, %edx
movq %r12, %rdi
callq 0x84e0
leaq 0x667d3(%rip), %rsi     # 0xd5e84
movl $0x15, %edx
movq %r12, %rdi
callq 0x84e0
leaq 0x5e305(%rip), %rsi     # 0xcd9ca
movl $0x1, %edx
movq %r12, %rdi
callq 0x84e0
leaq 0x667c1(%rip), %rsi     # 0xd5e9a
movl $0x15, %edx
movq %r12, %rdi
callq 0x84e0
leaq 0x5e2dd(%rip), %rsi     # 0xcd9ca
movl $0x1, %edx
movq %r12, %rdi
callq 0x84e0
leaq 0x667af(%rip), %rsi     # 0xd5eb0
movl $0xd, %edx
movq %r12, %rdi
callq 0x84e0
leaq 0x5e2b5(%rip), %rsi     # 0xcd9ca
movl $0x1, %edx
movq %r12, %rdi
callq 0x84e0
leaq 0x66795(%rip), %rsi     # 0xd5ebe
movl $0xc, %edx
movq %r12, %rdi
callq 0x84e0
leaq 0x5e28d(%rip), %rsi     # 0xcd9ca
movl $0x1, %edx
movq %r12, %rdi
callq 0x84e0
leaq 0x6677a(%rip), %rsi     # 0xd5ecb
movl $0x29, %edx
movq %r12, %rdi
callq 0x84e0
leaq 0x5e265(%rip), %rsi     # 0xcd9ca
movl $0x1, %edx
movq %r12, %rdi
callq 0x84e0
leaq 0x6677c(%rip), %rsi     # 0xd5ef5
movl $0x11, %edx
movq %r12, %rdi
callq 0x84e0
leaq 0x5e23d(%rip), %rsi     # 0xcd9ca
movl $0x1, %edx
movq %r12, %rdi
callq 0x84e0
leaq 0x66766(%rip), %rsi     # 0xd5f07
movl $0x26, %edx
movq %r12, %rdi
callq 0x84e0
leaq 0x5e215(%rip), %rsi     # 0xcd9ca
movl $0x1, %edx
movq %r12, %rdi
callq 0x84e0
leaq 0x66765(%rip), %rsi     # 0xd5f2e
movl $0x10, %edx
movq %r12, %rdi
callq 0x84e0
leaq 0x5e1ed(%rip), %rsi     # 0xcd9ca
movl $0x1, %edx
movq %r12, %rdi
callq 0x84e0
leaq 0x66751(%rip), %rsi     # 0xd5f42
movl $0x14, %edx
movq %r12, %rdi
callq 0x84e0
leaq 0x5e1c5(%rip), %rsi     # 0xcd9ca
movl $0x1, %edx
movq %r12, %rdi
callq 0x84e0
leaq 0x66726(%rip), %rbx     # 0xd5f3f
movl $0x17, %edx
movq %r12, %rdi
movq %rbx, %rsi
callq 0x84e0
leaq 0x5e19a(%rip), %rsi     # 0xcd9ca
movl $0x1, %edx
movq %r12, %rdi
callq 0x84e0
leaq 0x5e9be(%rip), %rsi     # 0xce202
movl $0x2, %edx
movq %r12, %rdi
callq 0x84e0
leaq 0x5e172(%rip), %rsi     # 0xcd9ca
movl $0x1, %edx
movq %r12, %rdi
callq 0x84e0
leaq 0x5e952(%rip), %rsi     # 0xce1be
movl $0x2, %edx
movq %r12, %rdi
callq 0x84e0
movq (%r12), %rax
movq -0x18(%rax), %rdi
addq %r12, %rdi
movl $0xa, %esi
callq 0x8450
movsbl %al, %esi
movq %r12, %rdi
callq 0x8040
movq %rax, %rdi
callq 0x8300
movl $0xa, %r15d
cmpb $0x62, 0x92cca(%rip)    # 0x102578
je 0x6fa9d
movq 0x926fd(%rip), %rdi     # 0x101fb8
leaq 0x5e8e9(%rip), %rsi     # 0xce1ab
movl $0xa, %edx
callq 0x84e0
movq 0x926e5(%rip), %rdi     # 0x101fb8
leaq 0x5e0f0(%rip), %rsi     # 0xcd9ca
movl $0x1, %edx
callq 0x84e0
movq 0x926cd(%rip), %rdi     # 0x101fb8
leaq 0x66592(%rip), %rsi     # 0xd5e84
movl $0x15, %edx
callq 0x84e0
movq 0x926b5(%rip), %rdi     # 0x101fb8
leaq 0x5e0c0(%rip), %rsi     # 0xcd9ca
movl $0x1, %edx
callq 0x84e0
movq 0x9269d(%rip), %rdi     # 0x101fb8
leaq 0x66578(%rip), %rsi     # 0xd5e9a
movl $0x15, %edx
callq 0x84e0
movq 0x92685(%rip), %rdi     # 0x101fb8
leaq 0x5e090(%rip), %rsi     # 0xcd9ca
movl $0x1, %edx
callq 0x84e0
movq 0x9266d(%rip), %rdi     # 0x101fb8
leaq 0x6655e(%rip), %rsi     # 0xd5eb0
movl $0xd, %edx
callq 0x84e0
movq 0x92655(%rip), %rdi     # 0x101fb8
leaq 0x5e060(%rip), %rsi     # 0xcd9ca
movl $0x1, %edx
callq 0x84e0
movq 0x9263d(%rip), %rdi     # 0x101fb8
leaq 0x6653c(%rip), %rsi     # 0xd5ebe
movl $0xc, %edx
callq 0x84e0
movq 0x92625(%rip), %rdi     # 0x101fb8
leaq 0x5e030(%rip), %rsi     # 0xcd9ca
movl $0x1, %edx
callq 0x84e0
movq 0x9260d(%rip), %rdi     # 0x101fb8
leaq 0x66519(%rip), %rsi     # 0xd5ecb
movl $0x29, %edx
callq 0x84e0
movq 0x925f5(%rip), %rdi     # 0x101fb8
leaq 0x5e000(%rip), %rsi     # 0xcd9ca
movl $0x1, %edx
callq 0x84e0
movq 0x925dd(%rip), %rdi     # 0x101fb8
leaq 0x66513(%rip), %rsi     # 0xd5ef5
movl $0x11, %edx
callq 0x84e0
movq 0x925c5(%rip), %rdi     # 0x101fb8
leaq 0x5dfd0(%rip), %rsi     # 0xcd9ca
movl $0x1, %edx
callq 0x84e0
movq 0x925ad(%rip), %rdi     # 0x101fb8
leaq 0x664f5(%rip), %rsi     # 0xd5f07
movl $0x26, %edx
callq 0x84e0
movq 0x92595(%rip), %rdi     # 0x101fb8
leaq 0x5dfa0(%rip), %rsi     # 0xcd9ca
movl $0x1, %edx
callq 0x84e0
movq 0x9257d(%rip), %rdi     # 0x101fb8
leaq 0x664ec(%rip), %rsi     # 0xd5f2e
movl $0x10, %edx
callq 0x84e0
movq 0x92565(%rip), %rdi     # 0x101fb8
leaq 0x5df70(%rip), %rsi     # 0xcd9ca
movl $0x1, %edx
callq 0x84e0
movq 0x9254d(%rip), %rdi     # 0x101fb8
leaq 0x664d0(%rip), %rsi     # 0xd5f42
movl $0x14, %edx
callq 0x84e0
movl $0x17, %r15d
movq 0x9252f(%rip), %rdi     # 0x101fb8
leaq 0x5df3a(%rip), %rsi     # 0xcd9ca
movl $0x1, %edx
callq 0x84e0
movq %rbx, %r14
movq 0x92514(%rip), %rdi     # 0x101fb8
movq %r14, %rsi
movq %r15, %rdx
callq 0x84e0
movq 0x92502(%rip), %rdi     # 0x101fb8
leaq 0x5df0d(%rip), %rsi     # 0xcd9ca
movl $0x1, %edx
callq 0x84e0
movq 0x924ea(%rip), %rdi     # 0x101fb8
leaq 0x5e72d(%rip), %rsi     # 0xce202
movl $0x2, %edx
callq 0x84e0
movq 0x924d2(%rip), %rdi     # 0x101fb8
leaq 0x5dedd(%rip), %rsi     # 0xcd9ca
movl $0x1, %edx
callq 0x84e0
movq 0x924ba(%rip), %rbx     # 0x101fb8
leaq 0x5e6b9(%rip), %rsi     # 0xce1be
movl $0x2, %edx
movq %rbx, %rdi
callq 0x84e0
movq (%rbx), %rax
addq -0x18(%rax), %rbx
movq %rbx, %rdi
movl $0xa, %esi
callq 0x8450
movsbl %al, %esi
movq 0x92488(%rip), %rdi     # 0x101fb8
callq 0x8040
movq %rax, %rdi
callq 0x8300
movl $0x200, %edi            # imm = 0x200
callq 0x8470
movq %rax, %r14
movq 0x240(%rsp), %rsi
movq %rax, %rdi
movl $0x10, %edx
callq 0x84c0
movq %r14, 0x2f8(%rsp)
leaq 0x5e63d(%rip), %rsi     # 0xce1ab
movl $0xa, %edx
movq %r14, %rdi
callq 0x84e0
leaq 0x5de48(%rip), %rsi     # 0xcd9ca
movl $0x1, %edx
movq %r14, %rdi
callq 0x84e0
leaq 0x663c1(%rip), %rsi     # 0xd5f57
movl $0xf, %edx
movq %r14, %rdi
callq 0x84e0
leaq 0x5de20(%rip), %rsi     # 0xcd9ca
movl $0x1, %edx
movq %r14, %rdi
callq 0x84e0
leaq 0x663a9(%rip), %rsi     # 0xd5f67
movl $0x11, %edx
movq %r14, %rdi
callq 0x84e0
leaq 0x5ddf8(%rip), %rsi     # 0xcd9ca
movl $0x1, %edx
movq %r14, %rdi
callq 0x84e0
leaq 0x663e6(%rip), %rsi     # 0xd5fcc
movl $0x15, %edx
movq %r14, %rdi
callq 0x84e0
leaq 0x5ddd0(%rip), %rsi     # 0xcd9ca
movl $0x1, %edx
movq %r14, %rdi
callq 0x84e0
leaq 0x6636b(%rip), %rsi     # 0xd5f79
movl $0x15, %edx
movq %r14, %rdi
callq 0x84e0
movq (%r14), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x8450
movsbl %al, %esi
movq %r14, %rdi
callq 0x8040
movq %rax, %rdi
callq 0x8300
leaq 0x230(%rsp), %rax
movq %rax, -0x10(%rax)
movq 0x2b0(%rsp), %rsi
movq 0x2b8(%rsp), %rdx
addq %rsi, %rdx
leaq 0x220(%rsp), %rdi
callq 0x2ba06
leaq 0x6631a(%rip), %rsi     # 0xd5f8f
leaq 0x220(%rsp), %rdi
callq 0x88c0
movl $0x200, %edi            # imm = 0x200
callq 0x8470
movq %rax, %r14
movq 0x220(%rsp), %rsi
movq %rax, %rdi
movl $0x10, %edx
callq 0x84c0
movq %r14, 0x2a8(%rsp)
leaq 0x662f8(%rip), %rsi     # 0xd5fab
movl $0x4, %edx
movq %r14, %rdi
callq 0x84e0
leaq 0x5dd03(%rip), %rsi     # 0xcd9ca
movl $0x1, %edx
movq %r14, %rdi
callq 0x84e0
leaq 0x662d5(%rip), %rsi     # 0xd5fb0
movl $0x8, %edx
movq %r14, %rdi
callq 0x84e0
leaq 0x5dcdb(%rip), %rsi     # 0xcd9ca
movl $0x1, %edx
movq %r14, %rdi
callq 0x84e0
leaq 0x662b6(%rip), %rsi     # 0xd5fb9
movl $0xe, %edx
movq %r14, %rdi
callq 0x84e0
leaq 0x5dcb3(%rip), %rsi     # 0xcd9ca
movl $0x1, %edx
movq %r14, %rdi
callq 0x84e0
leaq 0x6629d(%rip), %rsi     # 0xd5fc8
movl $0x19, %edx
movq %r14, %rdi
callq 0x84e0
leaq 0x5dc8b(%rip), %rsi     # 0xcd9ca
movl $0x1, %edx
movq %r14, %rdi
callq 0x84e0
leaq 0x6628f(%rip), %rsi     # 0xd5fe2
movl $0x2b, %edx
movq %r14, %rdi
callq 0x84e0
movq (%r14), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x8450
movsbl %al, %esi
movq %r14, %rdi
callq 0x8040
movq %rax, %rdi
callq 0x8300
movq %r12, 0x2a0(%rsp)
movzbl 0x9388b(%rip), %edx     # 0x103621
leaq 0x390(%rsp), %rdi
leaq 0x308(%rsp), %rsi
callq 0x3b332
xorps %xmm0, %xmm0
leaq 0x170(%rsp), %rax
movaps %xmm0, (%rax)
movq $0x0, 0x10(%rax)
leaq 0x20(%rsp), %r12
movl $0x0, 0x5c(%rsp)
movq %rbp, 0x160(%rsp)
movq (%rbp), %rax
movq -0x18(%rax), %rdi
addq %rbp, %rdi
movl $0xa, %esi
callq 0x8450
movsbl %al, %edx
movq %rbp, %rdi
leaq 0x1d0(%rsp), %rsi
callq 0x8870
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
testb $0x5, 0x20(%rax,%rcx)
jne 0x711fe
movq 0x1d0(%rsp), %rax
cmpb $0x23, (%rax)
jne 0x6ff5b
movzbl 0x1(%rax), %eax
cmpl $0x23, %eax
je 0x6fdd6
cmpl $0x43, %eax
jne 0x6ff5b
leaq 0x88(%rsp), %rdi
leaq 0x1d0(%rsp), %rsi
movl $0x9, %edx
callq 0x4d650
movq 0x90(%rsp), %rsi
subq 0x88(%rsp), %rsi
sarq $0x5, %rsi
addq $-0x9, %rsi
leaq 0x100(%rsp), %rdi
movq %rsi, 0x48(%rsp)
callq 0x3e6a2
movq 0x88(%rsp), %rsi
movq 0x90(%rsp), %rax
subq %rsi, %rax
cmpq $0x120, %rax            # imm = 0x120
je 0x6ff49
movl $0x9, %ebx
movl $0x120, %r14d           # imm = 0x120
cmpq $0x0, 0x9375f(%rip)     # 0x103608
je 0x6ff12
movq %rsp, %r15
movq %r15, %rdi
leaq 0x93748(%rip), %rsi     # 0x103600
callq 0x4fe41
movq 0x150(%rsp), %rax
movaps (%rsp), %xmm0
movq 0x10(%rsp), %rcx
movq %rcx, 0x150(%rsp)
movaps 0x140(%rsp), %xmm1
movaps %xmm0, 0x140(%rsp)
movaps %xmm1, 0x20(%rsp)
movq %rax, 0x30(%rsp)
xorps %xmm0, %xmm0
movaps %xmm0, (%rsp)
movq $0x0, 0x10(%rsp)
movq %r12, %rdi
callq 0x2e784
movq %r15, %rdi
callq 0x2e784
jmp 0x6ff22
addq %r14, %rsi
leaq 0x140(%rsp), %rdi
callq 0x3133c
incq %rbx
movq 0x88(%rsp), %rsi
movq 0x90(%rsp), %rax
subq %rsi, %rax
sarq $0x5, %rax
addq $0x20, %r14
cmpq %rax, %rbx
jne 0x6fea1
leaq 0x88(%rsp), %rdi
callq 0x2e784
jmp 0x6fdd6
leaq 0xa8(%rsp), %rdi
leaq 0x1d0(%rsp), %rsi
movl $0x9, %edx
callq 0x4d650
movq 0xa8(%rsp), %rsi
movl $0xe0, %eax
addq %rax, %rsi
leaq 0x378(%rsp), %rdi
movl $0x3b, %edx
callq 0x4d650
incl 0x5c(%rsp)
movq 0xa8(%rsp), %rax
movq 0x8(%rax), %rdx
cmpq 0x128(%rsp), %rdx
jne 0x6ffd2
testq %rdx, %rdx
je 0x70d09
movq 0x120(%rsp), %rsi
movq (%rax), %rdi
callq 0x8490
testl %eax, %eax
je 0x70d09
leaq 0x120(%rsp), %rdi
leaq 0x5d9ea(%rip), %rsi     # 0xcd9cb
callq 0x8160
testl %eax, %eax
je 0x70a0b
cmpq $0x0, 0x48(%rsp)
je 0x700d7
xorl %r14d, %r14d
movq 0x48(%rsp), %r15
movq 0x100(%rsp), %rbx
movq %r12, %rdi
leaq 0xc0(%rsp), %rsi
movq 0x50(%rsp), %rdx
movq $-0x1, %rcx
callq 0x84a0
addq %r14, %rbx
movq 0x20(%rsp), %rsi
movq 0x28(%rsp), %rdx
movq %rbx, %rdi
callq 0x8180
movq 0x20(%rsp), %rdi
leaq 0x30(%rsp), %rax
cmpq %rax, %rdi
je 0x70057
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x8480
addq $0x20, %r14
decq %r15
jne 0x70002
cmpb $0x62, 0x92511(%rip)    # 0x102578
jne 0x700d7
cmpq $0x0, 0x48(%rsp)
je 0x700d7
xorl %r14d, %r14d
movq 0x48(%rsp), %r15
movq 0x190(%rsp), %rbx
movq %r12, %rdi
leaq 0xc0(%rsp), %rsi
movq 0x50(%rsp), %rdx
movq $-0x1, %rcx
callq 0x84a0
addq %r14, %rbx
movq 0x20(%rsp), %rsi
movq 0x28(%rsp), %rdx
movq %rbx, %rdi
callq 0x8180
movq 0x20(%rsp), %rdi
leaq 0x30(%rsp), %rax
cmpq %rax, %rdi
je 0x700ce
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x8480
addq $0x20, %r14
decq %r15
jne 0x70079
movq 0x100(%rsp), %rax
movq 0x8(%rax), %rax
cmpq 0xc8(%rsp), %rax
leaq 0x10(%rsp), %r15
je 0x70177
movl $0x24, %edx
movq 0x91ee6(%rip), %rdi     # 0x101fe8
leaq 0x65f05(%rip), %rsi     # 0xd600e
callq 0x84e0
movq 0xc8(%rsp), %rsi
movq 0x91ecb(%rip), %rdi     # 0x101fe8
callq 0x82f0
movq %rax, %rbx
movl $0x16, %edx
movq %rax, %rdi
leaq 0x64c60(%rip), %rsi     # 0xd4d94
callq 0x84e0
movq 0x100(%rsp), %rax
movq 0x8(%rax), %rsi
movq %rbx, %rdi
callq 0x82f0
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x8450
movsbl %al, %esi
movq %rbx, %rdi
callq 0x8040
movq %rax, %rdi
callq 0x8300
movq 0x120(%rsp), %rsi
movq 0x128(%rsp), %rdx
movq 0x91e5a(%rip), %rdi     # 0x101fe8
callq 0x84e0
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x8450
movsbl %al, %esi
movq %rbx, %rdi
callq 0x8040
movq %rax, %rdi
callq 0x8300
leaq 0x390(%rsp), %rdi
leaq 0x120(%rsp), %rsi
callq 0x2f908
leaq 0x170(%rsp), %rdi
movq %rax, %rsi
callq 0x2f984
movl $0x1f, %edx
movq 0x91dfa(%rip), %rdi     # 0x101fe8
leaq 0x65e3e(%rip), %rsi     # 0xd6033
callq 0x84e0
movq 0x91de7(%rip), %rcx     # 0x101fe8
movq (%rcx), %rax
movq -0x18(%rax), %rdi
addq %rcx, %rdi
movl $0xa, %esi
callq 0x8450
movsbl %al, %esi
movq 0x91dc9(%rip), %rdi     # 0x101fe8
callq 0x8040
movq %rax, %rdi
callq 0x8300
movq 0x170(%rsp), %rax
cmpq %rax, 0x178(%rsp)
je 0x709cf
xorl %esi, %esi
leaq 0x208(%rsp), %rbx
movq %rsi, 0x50(%rsp)
leaq (%rsi,%rsi,2), %r12
movq (%rax,%r12,8), %rsi
movq %rbx, %rdi
movl $0x9, %edx
callq 0x4d650
xorps %xmm0, %xmm0
movaps %xmm0, 0x280(%rsp)
xorl %eax, %eax
movq %rax, 0x290(%rsp)
movq %rax, 0x2e0(%rsp)
movaps %xmm0, 0x2d0(%rsp)
movq 0x208(%rsp), %rax
leaq 0x30(%rsp), %rcx
movq %rcx, 0x20(%rsp)
movq 0x80(%rax), %rsi
movq 0x88(%rax), %rdx
addq %rsi, %rdx
leaq 0x20(%rsp), %rbx
movq %rbx, %rdi
callq 0x2ba06
xorps %xmm0, %xmm0
movaps %xmm0, 0x1f0(%rsp)
movq $0x0, 0x200(%rsp)
leaq 0x1f0(%rsp), %rdi
movq %rbx, %rsi
callq 0x3133c
shlq $0x3, %r12
movq 0x170(%rsp), %rsi
addq %r12, %rsi
movq 0x208(%rsp), %rdx
addq $0x60, %rdx
leaq 0x88(%rsp), %rdi
leaq 0xc0(%rsp), %rcx
callq 0x57f78
cmpb $0x0, 0x93307(%rip)     # 0x103620
jne 0x7033d
leaq 0x88(%rsp), %rdi
leaq 0x20(%rsp), %rsi
leaq 0x300(%rsp), %r8
callq 0x71d67
testb %al, %al
je 0x706b9
movl $0x200, %edi            # imm = 0x200
callq 0x8470
movq %rax, %r13
movb $0x1, %r14b
movq 0x20(%rsp), %rsi
movq %rax, %rdi
movl $0x10, %edx
callq 0x84c0
cmpq $0x0, 0x48(%rsp)
je 0x7057f
xorl %ebp, %ebp
movq 0x48(%rsp), %r15
movq 0x170(%rsp), %rsi
addq %r12, %rsi
movq 0x208(%rsp), %rdx
addq $0x60, %rdx
movq 0x100(%rsp), %rcx
addq %rbp, %rcx
movq %rsp, %rdi
callq 0x57d34
movl $0x1, %edx
movq %r13, %rdi
leaq 0x5f82f(%rip), %rsi     # 0xcfbda
callq 0x84e0
movq 0x140(%rsp), %rax
movq (%rax,%rbp), %rsi
movq 0x8(%rax,%rbp), %rdx
movq %r13, %rdi
callq 0x84e0
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x8450
movsbl %al, %esi
movq %rbx, %rdi
callq 0x8040
movq %rax, %rdi
callq 0x8300
movq (%rsp), %rsi
movq 0x8(%rsp), %rdx
movq %r13, %rdi
callq 0x84e0
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x8450
movsbl %al, %esi
movq %rbx, %rdi
callq 0x8040
movq %rax, %rdi
callq 0x8300
leaq 0x280(%rsp), %rdi
movq %rsp, %rsi
callq 0x3133c
cmpb $0x62, 0x92133(%rip)    # 0x102578
jne 0x70557
movq 0x170(%rsp), %rsi
addq %r12, %rsi
movq 0x208(%rsp), %rdx
addq $0x60, %rdx
movq 0x190(%rsp), %rcx
addq %rbp, %rcx
leaq 0x60(%rsp), %rbx
movq %rbx, %rdi
callq 0x57d34
movq %rsp, %rdi
movq %rbx, %rsi
callq 0x8540
movq 0x60(%rsp), %rdi
leaq 0x70(%rsp), %rax
cmpq %rax, %rdi
je 0x704a1
movq 0x70(%rsp), %rsi
incq %rsi
callq 0x8480
movl $0x1, %edx
movq %r13, %rdi
leaq 0x5f72a(%rip), %rsi     # 0xcfbda
callq 0x84e0
movq 0x140(%rsp), %rax
movq (%rax,%rbp), %rsi
movq 0x8(%rax,%rbp), %rdx
movq %r13, %rdi
callq 0x84e0
movq %rax, %rbx
movl $0x3, %edx
movq %rax, %rdi
leaq 0x61868(%rip), %rsi     # 0xd1d48
callq 0x84e0
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x8450
movsbl %al, %esi
movq %rbx, %rdi
callq 0x8040
movq %rax, %rdi
callq 0x8300
movq (%rsp), %rsi
movq 0x8(%rsp), %rdx
movq %r13, %rdi
callq 0x84e0
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x8450
movsbl %al, %esi
movq %rbx, %rdi
callq 0x8040
movq %rax, %rdi
callq 0x8300
leaq 0x2d0(%rsp), %rdi
movq %rsp, %rsi
callq 0x3133c
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x70572
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x8480
addq $0x20, %rbp
decq %r15
jne 0x70372
movq %r13, %rdi
callq 0x8600
movq 0x160(%rsp), %rbp
leaq 0x10(%rsp), %r15
movl $0x17, %edx
movq 0x91a48(%rip), %rdi     # 0x101fe8
leaq 0x65aac(%rip), %rsi     # 0xd6053
callq 0x84e0
movq 0x208(%rsp), %rax
movq 0x80(%rax), %rsi
movq 0x88(%rax), %rdx
movq 0x91a1f(%rip), %rdi     # 0x101fe8
callq 0x84e0
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x8450
movsbl %al, %esi
movq %rbx, %rdi
callq 0x8040
movq %rax, %rdi
callq 0x8300
cmpb $0x0, 0x93023(%rip)     # 0x103622
jne 0x70892
notb %r14b
orb 0x93011(%rip), %r14b    # 0x103620
testb $0x1, %r14b
jne 0x70892
movq 0x280(%rsp), %rax
movq 0x8(%rax), %rax
cmpq 0x90(%rsp), %rax
jne 0x7145c
movq 0x2d0(%rsp), %rcx
cmpq %rax, 0x8(%rcx)
jne 0x7147b
movb 0x91f2d(%rip), %al      # 0x102578
movl %eax, %ecx
andb $-0x3, %cl
cmpb $0x70, %cl
jne 0x7075d
leaq 0x280(%rsp), %rdi
leaq 0x1f0(%rsp), %rsi
movsd 0x5c0af(%rip), %xmm0    # 0xcc720
callq 0x72077
leaq 0x360(%rsp), %rdi
leaq 0x1f0(%rsp), %rsi
callq 0x2fc8e
leaq 0x360(%rsp), %rbx
movq %rbx, %rdi
movq 0x9191b(%rip), %rsi     # 0x101fb8
movl $0x9, %edx
movl $0x1, %ecx
callq 0x36ba0
movq %rbx, %rdi
callq 0x2e784
jmp 0x70819
leaq 0x92f20(%rip), %rdi     # 0x1035e0
leaq 0x5d304(%rip), %rsi     # 0xcd9cb
callq 0x8160
testl %eax, %eax
je 0x709ac
movl $0x200, %edi            # imm = 0x200
callq 0x8470
movq %rax, %r13
leaq 0x70(%rsp), %rax
movq %rax, 0x60(%rsp)
movq 0x92eee(%rip), %rsi     # 0x1035e0
movq 0x92eef(%rip), %rdx     # 0x1035e8
addq %rsi, %rdx
leaq 0x60(%rsp), %rbx
movq %rbx, %rdi
callq 0x2ba06
movq 0x68(%rsp), %rsi
movl $0x1, %ecx
movq %rbx, %rdi
xorl %edx, %edx
movl $0x5f, %r8d
callq 0x88a0
movq 0x20(%rsp), %rsi
movq 0x28(%rsp), %rdx
movq %rbx, %rdi
callq 0x8180
movq %r15, (%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x7094a
movq %rdx, (%rsp)
movq (%rcx), %rdx
movq %rdx, 0x10(%rsp)
jmp 0x70951
cmpb $0x62, %al
jne 0x707e0
xorps %xmm0, %xmm0
movaps %xmm0, (%rsp)
movq $0x0, 0x10(%rsp)
leaq 0x280(%rsp), %rdi
leaq 0x2d0(%rsp), %rsi
leaq 0x1f0(%rsp), %rbx
movq %rbx, %rdx
movq %rsp, %rcx
xorl %r8d, %r8d
movsd 0x5bf86(%rip), %xmm0    # 0xcc720
xorl %r9d, %r9d
callq 0x72c0d
leaq 0x450(%rsp), %r14
movq %r14, %rdi
movq %rbx, %rsi
callq 0x2fc8e
movq %r14, %rdi
movq 0x917f9(%rip), %rsi     # 0x101fb8
movl $0x9, %edx
movl $0x1, %ecx
callq 0x36ba0
movq %r14, %rdi
callq 0x2e784
movq %rsp, %rdi
callq 0x42ffa
jmp 0x70819
movq 0x208(%rsp), %rdx
subq $-0x80, %rdx
leaq 0x280(%rsp), %rdi
leaq 0x88(%rsp), %rsi
leaq 0x1f0(%rsp), %rcx
leaq 0x2f8(%rsp), %r8
leaq 0x140(%rsp), %r9
callq 0x74194
leaq 0xe0(%rsp), %rdi
leaq 0x1f0(%rsp), %rsi
callq 0x2f876
movl $0x14, %edx
movq 0x917ae(%rip), %rdi     # 0x101fe8
leaq 0x658be(%rip), %rsi     # 0xd60ff
callq 0x84e0
movq 0x208(%rsp), %rax
movq 0x80(%rax), %rsi
movq 0x88(%rax), %rdx
movq 0x91785(%rip), %rdi     # 0x101fe8
callq 0x84e0
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x8450
movsbl %al, %esi
movq %rbx, %rdi
callq 0x8040
movq %rax, %rdi
callq 0x8300
movq 0x88(%rsp), %rdi
leaq 0x98(%rsp), %rax
cmpq %rax, %rdi
je 0x708b7
movq 0x98(%rsp), %rsi
incq %rsi
callq 0x8480
leaq 0x1f0(%rsp), %rdi
callq 0x2e784
movq 0x20(%rsp), %rdi
leaq 0x30(%rsp), %rax
cmpq %rax, %rdi
leaq 0x20(%rsp), %r12
je 0x708e5
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x8480
leaq 0x2d0(%rsp), %rdi
callq 0x2e784
leaq 0x280(%rsp), %rdi
callq 0x2e784
leaq 0x208(%rsp), %rbx
movq %rbx, %rdi
callq 0x2e784
movq 0x50(%rsp), %rsi
incq %rsi
movq 0x170(%rsp), %rax
movq 0x178(%rsp), %rcx
subq %rax, %rcx
sarq $0x3, %rcx
movabsq $-0x5555555555555555, %rdx # imm = 0xAAAAAAAAAAAAAAAB
imulq %rdx, %rcx
cmpq %rcx, %rsi
jne 0x7024c
jmp 0x709cf
movups (%rcx), %xmm0
movups %xmm0, (%r15)
movq 0x8(%rax), %rdx
movq %rdx, 0x8(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq (%rsp), %rsi
movq %r13, %rdi
movl $0x10, %edx
callq 0x84c0
movq (%rsp), %rdi
cmpq %r15, %rdi
je 0x70990
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x8480
movq 0x60(%rsp), %rdi
leaq 0x70(%rsp), %rax
cmpq %rax, %rdi
je 0x709ac
movq 0x70(%rsp), %rsi
incq %rsi
callq 0x8480
leaq 0x92c2d(%rip), %rdi     # 0x1035e0
leaq 0x5d011(%rip), %rsi     # 0xcd9cb
callq 0x8160
xorl %r14d, %r14d
testl %eax, %eax
jne 0x7035f
jmp 0x705f8
movq 0xa8(%rsp), %rsi
leaq 0x120(%rsp), %rdi
callq 0x8270
movl $0x1, 0x5c(%rsp)
leaq 0x120(%rsp), %rdi
leaq 0x168(%rsp), %rsi
leaq 0x1b0(%rsp), %rdx
callq 0x76013
jmp 0x70a63
movq 0x168(%rsp), %rbx
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x8450
movsbl %al, %edx
movq %rbx, %rdi
leaq 0x1b0(%rsp), %rsi
callq 0x8870
movl $0x1, %edx
leaq 0x1b0(%rsp), %rdi
xorl %esi, %esi
callq 0x8100
movq 0xa8(%rsp), %rsi
leaq 0x120(%rsp), %rdi
callq 0x8270
leaq 0x348(%rsp), %rdi
leaq 0xe0(%rsp), %rsi
callq 0x30dd2
leaq 0x348(%rsp), %r14
movq %r14, %rdi
movq 0x2a0(%rsp), %rbx
movq %rbx, %rsi
callq 0x4740e
movq %r14, %rdi
callq 0x2efec
movq %rbx, %rdi
callq 0x8300
movq 0xe0(%rsp), %r14
movq 0xe8(%rsp), %r15
cmpq %r14, %r15
je 0x70ad4
movq %r14, %rbx
movq %rbx, %rdi
callq 0x2e784
addq $0x18, %rbx
cmpq %r15, %rbx
jne 0x70abb
movq %r14, 0xe8(%rsp)
leaq 0x2a8(%rsp), %rdi
leaq 0x390(%rsp), %rsi
callq 0x6eb14
movq 0x92a78(%rip), %rsi     # 0x103568
leaq 0x92a71(%rip), %rdi     # 0x103568
callq 0x3eae2
movl $0x11, %edx
movq 0x914e0(%rip), %rdi     # 0x101fe8
leaq 0x6434b(%rip), %rsi     # 0xd4e5a
callq 0x84e0
movq 0x1b0(%rsp), %rsi
movq 0x1b8(%rsp), %rdx
movq 0x914bd(%rip), %rdi     # 0x101fe8
callq 0x84e0
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x8450
movsbl %al, %esi
movq %rbx, %rdi
callq 0x8040
movq %rax, %rdi
callq 0x8300
movq %r12, %rdi
leaq 0x168(%rsp), %rsi
leaq 0x1b0(%rsp), %rdx
callq 0x465f2
leaq 0xc0(%rsp), %rdi
movq %r12, %rsi
callq 0x8540
movq 0x20(%rsp), %rdi
leaq 0x30(%rsp), %rax
cmpq %rax, %rdi
je 0x70b9e
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x8480
movl $0x1, %edx
leaq 0x1b0(%rsp), %rdi
xorl %esi, %esi
callq 0x8100
movl $0x10, %edx
movq 0x9142a(%rip), %rdi     # 0x101fe8
leaq 0x642cb(%rip), %rsi     # 0xd4e90
callq 0x84e0
movq 0x91417(%rip), %rcx     # 0x101fe8
movq (%rcx), %rax
movq -0x18(%rax), %rdi
addq %rcx, %rdi
movl $0xa, %esi
callq 0x8450
movsbl %al, %esi
movq 0x913f9(%rip), %rdi     # 0x101fe8
callq 0x8040
movq %rax, %rdi
callq 0x8300
movl $0x37, %edx
movq 0x913e0(%rip), %rdi     # 0x101fe8
leaq 0x642a7(%rip), %rsi     # 0xd4eb6
callq 0x84e0
movq 0x913cd(%rip), %rcx     # 0x101fe8
movq (%rcx), %rax
movq -0x18(%rax), %rdi
addq %rcx, %rdi
movl $0xa, %esi
callq 0x8450
movsbl %al, %esi
movq 0x913af(%rip), %rdi     # 0x101fe8
callq 0x8040
movq %rax, %rdi
callq 0x8300
cmpq $0x0, 0x48(%rsp)
je 0x70c97
xorl %ebx, %ebx
movq 0x48(%rsp), %r14
movq 0x100(%rsp), %rdi
movq 0x8(%rdi,%rbx), %rdx
addq %rbx, %rdi
xorl %esi, %esi
leaq 0x5cd5d(%rip), %rcx     # 0xcd9cb
xorl %r8d, %r8d
callq 0x86c0
movq 0x100(%rsp), %rdi
addq %rbx, %rdi
movq 0xc8(%rsp), %rsi
callq 0x86f0
addq $0x20, %rbx
decq %r14
jne 0x70c55
cmpb $0x62, 0x918da(%rip)    # 0x102578
jne 0x70d00
leaq 0x190(%rsp), %rdi
movq 0x48(%rsp), %rsi
callq 0x3e6a2
movq 0x48(%rsp), %r14
testq %r14, %r14
je 0x70d00
xorl %ebx, %ebx
movq 0x190(%rsp), %rdi
movq 0x8(%rdi,%rbx), %rdx
addq %rbx, %rdi
xorl %esi, %esi
leaq 0x5ccf4(%rip), %rcx     # 0xcd9cb
xorl %r8d, %r8d
callq 0x86c0
movq 0x190(%rsp), %rdi
addq %rbx, %rdi
movq 0xc8(%rsp), %rsi
callq 0x86f0
addq $0x20, %rbx
decq %r14
jne 0x70cbe
movq $0x0, 0x50(%rsp)
movq 0xa8(%rsp), %rax
leaq 0x30(%rsp), %rcx
movq %rcx, 0x20(%rsp)
movq 0x60(%rax), %rsi
movq 0x68(%rax), %rdx
addq %rsi, %rdx
movq %r12, %rdi
callq 0x2ba06
movq 0xa8(%rsp), %rax
leaq 0x98(%rsp), %rcx
movq %rcx, 0x88(%rsp)
movq 0x80(%rax), %rsi
movq 0x88(%rax), %rdx
addq %rsi, %rdx
leaq 0x88(%rsp), %rdi
callq 0x2ba06
cmpq $0x1, 0x28(%rsp)
jne 0x7113e
cmpq $0x1, 0x90(%rsp)
jne 0x7113e
movq 0xa8(%rsp), %r15
movq 0xb0(%rsp), %rax
subq %r15, %rax
cmpq $0x120, %rax            # imm = 0x120
je 0x7105d
movl $0x9, %ebx
movl $0x120, %ebp            # imm = 0x120
xorl %r14d, %r14d
movq %rsp, %r12
movq %rbx, 0x2f0(%rsp)
movq 0x100(%rsp), %rbx
movq 0x20(%r15), %rdi
callq 0x86e0
decl %eax
movslq %eax, %rcx
movq 0x50(%rsp), %rdx
subq %rdx, %rcx
movq %r12, %rdi
leaq 0xc0(%rsp), %rsi
callq 0x84a0
movq %r14, %r15
sarq $0x20, %r15
shlq $0x5, %r15
addq %r15, %rbx
movq (%rsp), %rsi
movq 0x8(%rsp), %rdx
movq %rbx, %rdi
callq 0x8180
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x70e1e
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x8480
cmpb $0x62, 0x91753(%rip)    # 0x102578
jne 0x70e8c
movq 0x190(%rsp), %rbx
movq 0xa8(%rsp), %rax
movq 0x20(%rax), %rdi
callq 0x86e0
decl %eax
movslq %eax, %rcx
movq 0x50(%rsp), %rdx
subq %rdx, %rcx
movq %rsp, %rdi
leaq 0xc0(%rsp), %rsi
callq 0x84a0
addq %r15, %rbx
movq (%rsp), %rsi
movq 0x8(%rsp), %rdx
movq %rbx, %rdi
callq 0x8180
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x70e8c
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x8480
movq 0xa8(%rsp), %rsi
addq %rbp, %rsi
movq %rsp, %rdi
movl $0x3a, %edx
callq 0x4d650
xorps %xmm0, %xmm0
movaps %xmm0, 0x60(%rsp)
movq $0x0, 0x70(%rsp)
movq (%rsp), %rax
movq (%rax), %rdx
leaq 0x60(%rsp), %rdi
xorl %esi, %esi
callq 0x6ea22
movq 0x68(%rsp), %rsi
movq (%rsp), %rax
movq (%rax), %rdx
addq $0x2, %rdx
cmpq 0x70(%rsp), %rsi
je 0x70eea
movb (%rdx), %al
movb %al, (%rsi)
incq 0x68(%rsp)
jmp 0x70ef4
leaq 0x60(%rsp), %rdi
callq 0x6ea22
movb 0x9167e(%rip), %al      # 0x102578
movq 0x100(%rsp), %r12
addq %r15, %r12
movq 0xa8(%rsp), %rbx
cmpb $0x62, %al
jne 0x70f98
movq 0x60(%rsp), %rax
movzbl (%rax), %ecx
cmpl $0x31, %ecx
je 0x70f47
cmpl $0x30, %ecx
jne 0x70f5d
cmpb $0x30, 0x1(%rax)
movq 0x60(%rbx), %rsi
movq 0x68(%rbx), %rdx
je 0x70f55
movq %r12, %rdi
callq 0x8180
movq 0x60(%rsp), %rax
cmpb $0x31, (%rax)
jne 0x70f5d
movq 0x80(%rbx), %rsi
movq 0x88(%rbx), %rdx
movq %r12, %rdi
callq 0x8180
addq 0x190(%rsp), %r15
movq 0xa8(%rsp), %rbx
leaq 0x80(%rbx), %r12
movq 0x60(%rsp), %rax
movzbl (%rax), %ecx
movb 0x1(%rax), %al
cmpl $0x31, %ecx
je 0x70fb6
cmpl $0x30, %ecx
jne 0x70fca
cmpb $0x30, %al
jne 0x70fe6
leaq 0x60(%rbx), %r12
movl $0x68, %ecx
jmp 0x70fef
leaq 0x60(%rbx), %rsi
subq $-0x80, %rbx
movsbl %al, %r8d
movq %r12, %rdi
movq %rbx, %rdx
leaq 0x60(%rsp), %rcx
callq 0x6e71e
jmp 0x70fff
movzbl %al, %edx
cmpl $0x30, %edx
je 0x70fce
movl $0x88, %ecx
cmpl $0x31, %edx
je 0x70fef
jmp 0x70fe6
cmpb $0x30, %al
jne 0x70fe6
movq 0x60(%rbx), %rsi
movq 0x68(%rbx), %rdx
movq %r15, %rdi
callq 0x8180
movq 0x60(%rsp), %rax
movb 0x1(%rax), %al
movl $0x88, %ecx
cmpb $0x31, %al
jne 0x70fff
movq (%r12), %rsi
movq (%rbx,%rcx), %rdx
movq %r15, %rdi
callq 0x8180
movq 0x60(%rsp), %rdi
testq %rdi, %rdi
movq 0x2f0(%rsp), %rbx
je 0x7101e
movq 0x70(%rsp), %rsi
subq %rdi, %rsi
callq 0x8480
movq %rsp, %r12
movq %r12, %rdi
callq 0x2e784
incq %rbx
movq 0xa8(%rsp), %r15
movq 0xb0(%rsp), %rax
subq %r15, %rax
sarq $0x5, %rax
movabsq $0x100000000, %rcx      # imm = 0x100000000
addq %rcx, %r14
addq $0x20, %rbp
cmpq %rax, %rbx
jne 0x70dae
movq 0x20(%r15), %rdi
callq 0x86e0
movslq %eax, %rdx
movq 0xc0(%rsp), %rax
movq %rdx, 0x50(%rsp)
movb -0x1(%rdx,%rax), %al
movq 0x60(%r15), %rcx
cmpb (%rcx), %al
leaq 0x20(%rsp), %r12
jne 0x71094
movq 0x160(%rsp), %rbp
jmp 0x7113e
movl $0x13, %edx
movq 0x90f48(%rip), %rdi     # 0x101fe8
leaq 0x6506d(%rip), %rsi     # 0xd6114
callq 0x84e0
movq 0x160(%rsp), %rbp
movq 0xc0(%rsp), %rax
movq 0x50(%rsp), %rcx
movb -0x1(%rax,%rcx), %al
movb %al, (%rsp)
movl $0x1, %edx
movq 0x90f14(%rip), %rdi     # 0x101fe8
movq %rsp, %rsi
callq 0x84e0
movq %rax, %rbx
movl $0xa, %edx
movq %rax, %rdi
leaq 0x6503a(%rip), %rsi     # 0xd6128
callq 0x84e0
movq 0xa8(%rsp), %rax
movq 0x60(%rax), %rax
movb (%rax), %al
movb %al, (%rsp)
movl $0x1, %edx
movq %rbx, %rdi
movq %rsp, %rsi
callq 0x84e0
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x8450
movsbl %al, %esi
movq %rbx, %rdi
callq 0x8040
movq %rax, %rdi
callq 0x8300
imull $0x3afb7e91, 0x5c(%rsp), %eax # imm = 0x3AFB7E91
rorl $0x4, %eax
cmpl $0x68db8, %eax          # imm = 0x68DB8
ja 0x7119e
movl 0x5c(%rsp), %esi
movq 0x90e8d(%rip), %rdi     # 0x101fe8
callq 0x82f0
movq %rax, %rbx
movl $0x16, %edx
movq %rax, %rdi
leaq 0x63e69(%rip), %rsi     # 0xd4fdb
callq 0x84e0
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x8450
movsbl %al, %esi
movq %rbx, %rdi
callq 0x8040
movq %rax, %rdi
callq 0x8300
movq 0x88(%rsp), %rdi
leaq 0x98(%rsp), %rax
cmpq %rax, %rdi
je 0x711c3
movq 0x98(%rsp), %rsi
incq %rsi
callq 0x8480
movq 0x20(%rsp), %rdi
leaq 0x30(%rsp), %rax
cmpq %rax, %rdi
je 0x711df
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x8480
leaq 0x378(%rsp), %rdi
callq 0x2e784
leaq 0xa8(%rsp), %rdi
callq 0x2e784
jmp 0x6fdd6
leaq 0x310(%rsp), %rdi
leaq 0xe0(%rsp), %rsi
callq 0x30dd2
leaq 0x310(%rsp), %rdi
movq 0x2a0(%rsp), %rsi
callq 0x4740e
leaq 0x310(%rsp), %rdi
callq 0x2efec
movq 0xe0(%rsp), %r14
movq 0xe8(%rsp), %r15
cmpq %r14, %r15
je 0x71266
movq %r14, %rbx
movq %rbx, %rdi
callq 0x2e784
addq $0x18, %rbx
cmpq %r15, %rbx
jne 0x7124d
movq %r14, 0xe8(%rsp)
leaq 0x2a8(%rsp), %rdi
leaq 0x390(%rsp), %rsi
callq 0x6eb14
movq 0x922e6(%rip), %rsi     # 0x103568
leaq 0x922df(%rip), %rdi     # 0x103568
callq 0x3eae2
leaq 0x170(%rsp), %rdi
callq 0x2efec
leaq 0x420(%rsp), %rdi
callq 0x3c57e
leaq 0x3f0(%rsp), %rdi
callq 0x3c602
leaq 0x3c0(%rsp), %rdi
callq 0x3c686
leaq 0x390(%rsp), %rdi
callq 0x30870
movq 0x220(%rsp), %rdi
leaq 0x230(%rsp), %rax
cmpq %rax, %rdi
je 0x712f4
movq 0x230(%rsp), %rsi
incq %rsi
callq 0x8480
movq 0x240(%rsp), %rdi
leaq 0x250(%rsp), %rax
cmpq %rax, %rdi
je 0x71319
movq 0x250(%rsp), %rsi
incq %rsi
callq 0x8480
movq 0x260(%rsp), %rdi
leaq 0x270(%rsp), %rax
cmpq %rax, %rdi
je 0x7133e
movq 0x270(%rsp), %rsi
incq %rsi
callq 0x8480
leaq 0xe0(%rsp), %rdi
callq 0x2efec
leaq 0x190(%rsp), %rdi
callq 0x2e784
leaq 0x100(%rsp), %rdi
callq 0x2e784
movq 0x1b0(%rsp), %rdi
leaq 0x1c0(%rsp), %rax
cmpq %rax, %rdi
je 0x7138a
movq 0x1c0(%rsp), %rsi
incq %rsi
callq 0x8480
leaq 0x140(%rsp), %rdi
callq 0x2e784
movq 0xc0(%rsp), %rdi
leaq 0xd0(%rsp), %rax
cmpq %rax, %rdi
je 0x713bc
movq 0xd0(%rsp), %rsi
incq %rsi
callq 0x8480
movq 0x120(%rsp), %rdi
leaq 0x130(%rsp), %rax
cmpq %rax, %rdi
je 0x713e1
movq 0x130(%rsp), %rsi
incq %rsi
callq 0x8480
movq 0x1d0(%rsp), %rdi
leaq 0x1e0(%rsp), %rax
cmpq %rax, %rdi
je 0x71406
movq 0x1e0(%rsp), %rsi
incq %rsi
callq 0x8480
leaq 0x2c0(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x71427
movq 0x2c0(%rsp), %rsi
incq %rsi
callq 0x8480
leaq 0x338(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x71448
movq 0x338(%rsp), %rsi
incq %rsi
callq 0x8480
xorl %eax, %eax
addq $0x468, %rsp            # imm = 0x468
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x64c08(%rip), %rdi     # 0xd606b
leaq 0x64c28(%rip), %rsi     # 0xd6092
leaq 0x64c42(%rip), %rcx     # 0xd60b3
movl $0xe6, %edx
callq 0x82c0
leaq 0x64c54(%rip), %rdi     # 0xd60d6
leaq 0x64c09(%rip), %rsi     # 0xd6092
leaq 0x64c23(%rip), %rcx     # 0xd60b3
movl $0xe7, %edx
callq 0x82c0
movq %rax, %rbx
movl $0x200, %esi            # imm = 0x200
jmp 0x7153f
jmp 0x7168e
jmp 0x7163a
jmp 0x71734
movq %rax, %rbx
leaq 0x310(%rsp), %rdi
callq 0x2efec
jmp 0x717f2
jmp 0x7165a
movq %rax, %rbx
movl $0x200, %esi            # imm = 0x200
movq %r14, %rdi
callq 0x8480
jmp 0x71833
jmp 0x7165a
jmp 0x71724
movq %rax, %rbx
movl $0x200, %esi            # imm = 0x200
movq %r14, %rdi
jmp 0x71853
jmp 0x71724
jmp 0x71518
movq %rax, %rbx
movl $0x200, %esi            # imm = 0x200
movq %r12, %rdi
jmp 0x71878
jmp 0x71518
movq %rax, %rbx
jmp 0x7187d
movq %rax, %rbx
jmp 0x718a2
movq %rax, %rbx
jmp 0x71945
jmp 0x71537
jmp 0x7168e
movq %rax, %rbx
movl $0x208, %esi            # imm = 0x208
movq %r14, %rdi
jmp 0x71965
jmp 0x7168e
movq %rax, %rbx
leaq 0x3a0(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x7196a
movq 0x3a0(%rsp), %rsi
jmp 0x71962
jmp 0x7168e
movq %rax, %rbx
jmp 0x7198b
movq %rax, %rbx
leaq 0x450(%rsp), %rdi
callq 0x2e784
jmp 0x715de
jmp 0x7172c
movq %rax, %rbx
leaq 0x348(%rsp), %rdi
callq 0x2efec
jmp 0x717d8
jmp 0x7172c
jmp 0x716af
jmp 0x71734
movq %rax, %rbx
jmp 0x717e5
jmp 0x71734
movq %rax, %rbx
leaq 0x360(%rsp), %rdi
callq 0x2e784
jmp 0x71763
movq %rax, %rbx
movq %rsp, %rdi
callq 0x42ffa
jmp 0x71763
jmp 0x71608
movq %rax, %rbx
movq (%rsp), %rdi
cmpq %r15, %rdi
je 0x7160b
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x8480
jmp 0x7160b
movq %rax, %rbx
movq 0x60(%rsp), %rdi
leaq 0x70(%rsp), %rax
cmpq %rax, %rdi
je 0x7164d
movq 0x70(%rsp), %rsi
incq %rsi
callq 0x8480
jmp 0x7164d
jmp 0x7164a
jmp 0x7163a
jmp 0x71669
jmp 0x7166e
jmp 0x71669
jmp 0x716af
jmp 0x7172c
movq %rax, %rbx
leaq 0x88(%rsp), %rdi
jmp 0x717ed
movq %rax, %rbx
movl $0x200, %esi            # imm = 0x200
movq %r13, %rdi
jmp 0x7175e
movq %rax, %rbx
jmp 0x71833
jmp 0x71724
jmp 0x71669
movq %rax, %rbx
jmp 0x716da
movq %rax, %rbx
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x716da
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x8480
jmp 0x716da
movq %rax, %rbx
jmp 0x7196a
jmp 0x716a5
jmp 0x7172c
movq %rax, %rbx
jmp 0x717b1
movq %rax, %rbx
jmp 0x71788
jmp 0x7172c
movq %rax, %rbx
jmp 0x716ff
jmp 0x7172c
jmp 0x7172c
movq %rax, %rbx
movq 0x60(%rsp), %rdi
testq %rdi, %rdi
je 0x716d2
movq 0x70(%rsp), %rsi
subq %rdi, %rsi
callq 0x8480
movq %rsp, %rdi
callq 0x2e784
movq 0x88(%rsp), %rdi
leaq 0x98(%rsp), %rax
cmpq %rax, %rdi
je 0x716ff
movq 0x98(%rsp), %rsi
incq %rsi
callq 0x8480
movq 0x20(%rsp), %rdi
leaq 0x30(%rsp), %rax
cmpq %rax, %rdi
je 0x717d8
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x8480
jmp 0x717d8
movq %rax, %rbx
jmp 0x71858
movq %rax, %rbx
jmp 0x717d8
movq %rax, %rbx
jmp 0x717f2
jmp 0x71740
jmp 0x71745
movq %rax, %rbx
jmp 0x71763
movq %rax, %rbx
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x71763
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x8480
movq 0x88(%rsp), %rdi
leaq 0x98(%rsp), %rax
cmpq %rax, %rdi
je 0x71788
movq 0x98(%rsp), %rsi
incq %rsi
callq 0x8480
leaq 0x1f0(%rsp), %rdi
callq 0x2e784
movq 0x20(%rsp), %rdi
leaq 0x30(%rsp), %rax
cmpq %rax, %rdi
je 0x717b1
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x8480
leaq 0x2d0(%rsp), %rdi
callq 0x2e784
leaq 0x280(%rsp), %rdi
callq 0x2e784
leaq 0x208(%rsp), %rdi
callq 0x2e784
leaq 0x378(%rsp), %rdi
callq 0x2e784
leaq 0xa8(%rsp), %rdi
callq 0x2e784
leaq 0x170(%rsp), %rdi
callq 0x2efec
leaq 0x420(%rsp), %rdi
callq 0x3c57e
leaq 0x3f0(%rsp), %rdi
callq 0x3c602
leaq 0x3c0(%rsp), %rdi
callq 0x3c686
leaq 0x390(%rsp), %rdi
callq 0x30870
movq 0x220(%rsp), %rdi
leaq 0x230(%rsp), %rax
cmpq %rax, %rdi
je 0x71858
movq 0x230(%rsp), %rsi
incq %rsi
callq 0x8480
movq 0x240(%rsp), %rdi
leaq 0x250(%rsp), %rax
cmpq %rax, %rdi
je 0x7187d
movq 0x250(%rsp), %rsi
incq %rsi
callq 0x8480
movq 0x260(%rsp), %rdi
leaq 0x270(%rsp), %rax
cmpq %rax, %rdi
je 0x718a2
movq 0x270(%rsp), %rsi
incq %rsi
callq 0x8480
leaq 0xe0(%rsp), %rdi
callq 0x2efec
leaq 0x190(%rsp), %rdi
callq 0x2e784
leaq 0x100(%rsp), %rdi
callq 0x2e784
movq 0x1b0(%rsp), %rdi
leaq 0x1c0(%rsp), %rax
cmpq %rax, %rdi
je 0x718ee
movq 0x1c0(%rsp), %rsi
incq %rsi
callq 0x8480
leaq 0x140(%rsp), %rdi
callq 0x2e784
movq 0xc0(%rsp), %rdi
leaq 0xd0(%rsp), %rax
cmpq %rax, %rdi
je 0x71920
movq 0xd0(%rsp), %rsi
incq %rsi
callq 0x8480
movq 0x120(%rsp), %rdi
leaq 0x130(%rsp), %rax
cmpq %rax, %rdi
je 0x71945
movq 0x130(%rsp), %rsi
incq %rsi
callq 0x8480
leaq 0x1e0(%rsp), %rax
movq 0x1d0(%rsp), %rdi
cmpq %rax, %rdi
je 0x7196a
movq 0x1e0(%rsp), %rsi
incq %rsi
callq 0x8480
leaq 0x2c0(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x7198b
movq 0x2c0(%rsp), %rsi
incq %rsi
callq 0x8480
leaq 0x338(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x719ac
movq 0x338(%rsp), %rsi
incq %rsi
callq 0x8480
movq %rbx, %rdi
callq 0x8840