// File: /workspace/github_cpp_makefile_star2_O1/millanek[P]evo/evo_ABS.cpp
// Function: ABSmain(int, char**)
int ABSmain(int argc, char** argv) {
    parseABSoptions(argc, argv);
    string line; // for reading the input files
    
    // Load up the annotation file
    Annotation wgAnnotation; std::ifstream* annotFile;
    if (!opt::annotFile.empty()) {
        annotFile = new std::ifstream(opt::annotFile.c_str());
        Annotation Annot(annotFile, false); // Does not use transcripts annotated as 5' or 3' partial
        wgAnnotation = Annot;
    }
    
    std::istream* vcfFile = createReader(opt::vcfFile.c_str());
    std::ifstream* setsFile = new std::ifstream(opt::setsFile.c_str());
    std::ifstream* ABSquartetFile = new std::ifstream(opt::ABSquartetFile.c_str());
    
    std::map<string, std::vector<string>> popToIDsMap;
    std::map<string, string> IDsToPopMap;
    std::map<string, std::vector<size_t>> popToPosMap;
    std::map<size_t, string> posToPopMap;
    
    // Get the sample sets
    while (getline(*setsFile, line)) {
        // std::cerr << line << std::endl;
        std::vector<string> ID_Pop = split(line, '\t');
        popToIDsMap[ID_Pop[1]].push_back(ID_Pop[0]);
        IDsToPopMap[ID_Pop[0]] = ID_Pop[1];
        //std::cerr << ID_Species[1] << "\t" << ID_Species[0] << std::endl;
    }
    // Get a vector of set names (usually populations/species)
    std::vector<string> populations;
    for(std::map<string,std::vector<string>>::iterator it = popToIDsMap.begin(); it != popToIDsMap.end(); ++it) {
        populations.push_back(it->first);
        // std::cerr << it->first << std::endl;
    } std::cerr << "There are " << populations.size() << " populations " << std::endl;
    
    // Get the ABS quartets
    std::vector<std::ofstream*> outFiles;
    //std::vector<std::ofstream*> outFileGenes;
    std::vector<std::vector<string> > ABSquartets;
    while (getline(*ABSquartetFile,line)) {
        // std::cerr << line << std::endl;
        std::vector<string> fourPops = split(line, '\t'); assert(fourPops.size() == 4);
        ABSquartets.push_back(fourPops);
        std::ofstream* outFile = new std::ofstream(fourPops[0] + "_" + fourPops[1] + "_" + fourPops[2] + "_" + fourPops[3] + "_ABS_" + opt::runName + "_" + numToString(opt::windowSize) + "_" + numToString(opt::windowStep) + ".txt");
        *outFile << "chr\tpos1\tpos2\tABS\tABSalt" << std::endl;
        outFiles.push_back(outFile);
    }
    
    // And need to prepare the vectors to hold the ABS values and the coordinates:
    std::deque<double> initDeq(opt::windowSize,0.0); // deque to initialise per-site ABS values
    std::vector<std::deque<double>> initABSdeques(3,initDeq); // vector of per-site ABS deques - two for each quartet plus one for the coordinates
    std::vector<std::vector<std::deque<double>>> ABSresults(ABSquartets.size(),initABSdeques); // one set of deques for each quartet
    
    // if (!opt::annotFile.empty()) {
    //std::vector<std::vector<double>> initGeneVectors(9); // For the nine PBS columns in the _PBSGenes_ files
    //std::vector<std::vector<std::vector<double>>> PBSgeneResults(PBStrios.size(),initGeneVectors);
    //std::string currentGene = "";
    //}
    //std::deque<std::vector<double>> regionPBSnums; regionPBSnums.assign(opt::windowSize,init);
    //std::deque<std::vector<double>> regionPBSdenoms; regionPBSdenoms.assign(opt::windowSize,init);
    //std::vector<double> allPs(populations.size(),0.0);
    int totalVariantNumber = 0;
    std::vector<int> usedVars(ABSquartets.size(),0); // Will count the number of used variants for each quartet
    std::vector<string> sampleNames; std::vector<std::string> fields;
    int reportProgressEvery = 1000; string chr; string coord;
    std::clock_t start; std::clock_t startGettingCounts; std::clock_t startCalculation;
    double durationOverall; double durationGettingCounts; double durationCalculation;
    
    while (getline(*vcfFile, line)) {
        line.erase(std::remove(line.begin(), line.end(), '\r'), line.end()); // Deal with any left over \r from files prepared on Windows
        if (line[0] == '#' && line[1] == '#')
            continue;
        else if (line[0] == '#' && line[1] == 'C') {
            fields = split(line, '\t');
            std::vector<std::string> sampleNames(fields.begin()+NUM_NON_GENOTYPE_COLUMNS,fields.end());
            // print_vector_stream(sampleNames, std::cerr);
            for (std::vector<std::string>::size_type i = 0; i != sampleNames.size(); i++) {
                posToPopMap[i] = IDsToPopMap[sampleNames[i]];
            }
            // Iterate over all the keys in the map to find the samples in the VCF:
            // Give an error if no sample is found for a species:
            for(std::map<string, std::vector<string>>::iterator it = popToIDsMap.begin(); it != popToIDsMap.end(); ++it) {
                string sp =  it->first;
                //std::cerr << "sp " << sp << std::endl;
                std::vector<string> IDs = it->second;
                std::vector<size_t> spPos = locateSet(sampleNames, IDs);
                if (spPos.empty()) {
                    std::cerr << "Did not find any samples in the VCF for \"" << sp << "\"" << std::endl;
                    assert(!spPos.empty());
                }
                popToPosMap[sp] = spPos;
            }
            start = std::clock();
            //  std::cerr << " " << std::endl;
            //  std::cerr << "Outgroup at pos: "; print_vector_stream(speciesToPosMap["Outgroup"], std::cerr);
            //  std::cerr << "telvit at pos: "; print_vector_stream(speciesToPosMap["telvit"], std::cerr);
        } else {
            totalVariantNumber++;
            if (totalVariantNumber % reportProgressEvery == 0) {
                durationOverall = ( std::clock() - start ) / (double) CLOCKS_PER_SEC;
                std::cerr << "Processed " << totalVariantNumber << " variants in " << durationOverall << "secs" << std::endl;
                std::cerr << "GettingCounts " << durationGettingCounts << " calculation " << durationCalculation << "secs" << std::endl;
            }
            fields = split(line, '\t'); chr = fields[0]; coord = fields[1];
            std::vector<std::string> genotypes(fields.begin()+NUM_NON_GENOTYPE_COLUMNS,fields.end());
            //std::vector<std::string> info = split(fields[7], ';');
            // Only consider biallelic SNPs
            string refAllele = fields[3]; string altAllele = fields[4];
            if (refAllele.length() > 1 || altAllele.length() > 1 || altAllele == "*") {
                refAllele.clear(); refAllele.shrink_to_fit(); altAllele.clear(); altAllele.shrink_to_fit();
                genotypes.clear(); genotypes.shrink_to_fit(); continue;
            }
            startGettingCounts = std::clock();
            GeneralSetCounts* c = new GeneralSetCounts(popToPosMap, (int)genotypes.size());
            c->getSetVariantCountsSimple(genotypes, posToPopMap);
            genotypes.clear(); genotypes.shrink_to_fit();
            durationGettingCounts = ( std::clock() - startGettingCounts ) / (double) CLOCKS_PER_SEC;
            // std::cerr << "Here:" << totalVariantNumber << std::endl;
            
            startCalculation = std::clock();
            
            
            // for (std::vector<std::string>::size_type i = 0; i != populations.size(); i++) {
            //     allPs[i] = c->setAAFs.at(populations[i]);
            // }
            // durationFirstLoop = ( std::clock() - startCalculation ) / (double) CLOCKS_PER_SEC;
            
            // find if we are in a gene:
            std::vector<string> SNPgeneDetails = wgAnnotation.getSNPgeneDetails(chr, atoi(coord.c_str()));
            
            // std::cerr << coord << "\t";
            // print_vector_stream(SNPgeneDetails, std::cerr);
            // Now calculate the PBS stats:
            double pW; double pX; double pY; double pZ;
            for (int i = 0; i != ABSquartets.size(); i++) {
                pW = c->setAAFs.at(ABSquartets[i][0]);
                if (pW == -1) continue;  // If any member of the trio has entirely missing data, just move on to the next trio
                pX = c->setAAFs.at(ABSquartets[i][1]);
                if (pX == -1) continue;
                pY = c->setAAFs.at(ABSquartets[i][2]);
                if (pY == -1) continue;
                pZ = c->setAAFs.at(ABSquartets[i][3]);
                if (pZ == -1) continue;
                
                if (pW == 0 && pX == 0 && pY == 0 && pZ == 0) { continue; }
                if (pW == 1 && pX == 1 && pY == 1 && pZ == 1) { continue; }
                usedVars[i]++;
                
                std::vector<double> thisSNP_ABS = calculateABSfromAFs(pW,pX,pY,pZ,
                                                                      c->setAlleleCounts.at(ABSquartets[i][0]),
                                                                      c->setAlleleCounts.at(ABSquartets[i][1]),
                                                                      c->setAlleleCounts.at(ABSquartets[i][2]),
                                                                      c->setAlleleCounts.at(ABSquartets[i][3]));
                
                ABSresults[i][0].push_back(thisSNP_ABS[0]); ABSresults[i][1].push_back(thisSNP_ABS[1]); ABSresults[i][2].push_back(stringToDouble(coord));
                ABSresults[i][0].pop_front(); ABSresults[i][1].pop_front(); ABSresults[i][2].pop_front();
                
                /*if (!opt::annotFile.empty()) { if (SNPgeneDetails[0] != "") {
                    if (SNPgeneDetails[1] == "exon") {
                        PBSgeneResults[i][0].push_back(thisSNP_PBS[0]); PBSgeneResults[i][1].push_back(thisSNP_PBS[1]); PBSgeneResults[i][2].push_back(thisSNP_PBS[2]);
                    } PBSgeneResults[i][3].push_back(thisSNP_PBS[0]); PBSgeneResults[i][4].push_back(thisSNP_PBS[1]); PBSgeneResults[i][5].push_back(thisSNP_PBS[2]);
                    currentGene = SNPgeneDetails[0];
                }} */
                if (usedVars[i] > opt::windowSize && (usedVars[i] % opt::windowStep == 0)) {
                    // std::cerr << PBSresults[i][0][0] << std::endl;
                    *outFiles[i] << chr << "\t" << ABSresults[i][2][0] << "\t" << coord << "\t" << vector_average(ABSresults[i][0]) << "\t" << vector_average(ABSresults[i][1]) << std::endl;
                }
                // }
            }
            /*if (!opt::annotFile.empty()) { if (SNPgeneDetails[0] == "" && currentGene != "") {
                for (int i = 0; i != ABStrios.size(); i++) {
                    *outFilesGenes[i] << currentGene << "\t" << ABSgeneResults[i][0].size() << "\t" << PBSgeneResults[i][3].size() << "\t" << vector_average(PBSgeneResults[i][0]) << "\t" << vector_average(PBSgeneResults[i][1]) << "\t" << vector_average(PBSgeneResults[i][2]) << "\t" << vector_average(PBSgeneResults[i][3]) << "\t" << vector_average(PBSgeneResults[i][4]) << "\t" << vector_average(PBSgeneResults[i][5]) << std::endl;
                    for (int j = 0; j <= 5; j++) { PBSgeneResults[i][j].clear(); }
                }
                currentGene = "";
            }} */
            durationCalculation = ( std::clock() - startCalculation ) / (double) CLOCKS_PER_SEC;
            delete c;
        }
    }
    
    return 0;
    
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x5d8, %rsp            # imm = 0x5D8
callq 0xb6792
leaq 0x1e0(%rsp), %rcx
movq %rcx, -0x10(%rcx)
xorl %eax, %eax
movq %rax, -0x8(%rcx)
movb $0x0, (%rcx)
leaq 0x480(%rsp), %rcx
movl %eax, (%rcx)
movq %rax, 0x8(%rcx)
movq %rcx, 0x10(%rcx)
movq %rcx, 0x18(%rcx)
movq %rax, 0x20(%rcx)
leaq 0x4b0(%rsp), %rcx
movl %eax, (%rcx)
movq %rax, 0x8(%rcx)
movq %rcx, 0x10(%rcx)
movq %rcx, 0x18(%rcx)
movq %rax, 0x20(%rcx)
leaq 0x4e0(%rsp), %rcx
movl %eax, (%rcx)
movq %rax, 0x8(%rcx)
movq %rcx, 0x10(%rcx)
movq %rcx, 0x18(%rcx)
movq %rax, 0x20(%rcx)
leaq 0x510(%rsp), %rcx
movl %eax, (%rcx)
movq %rax, 0x8(%rcx)
movq %rcx, 0x10(%rcx)
movq %rcx, 0x18(%rcx)
movq %rax, 0x20(%rcx)
cmpq %rax, 0x58ba6(%rip)     # 0x10cf58
je 0xb4479
movl $0x208, %edi            # imm = 0x208
callq 0x8470
movq %rax, %rbx
movq 0x58b84(%rip), %rsi     # 0x10cf50
movq %rax, %rdi
movl $0x8, %edx
callq 0x8860
leaq 0x3e0(%rsp), %rsi
movq %rbx, (%rsi)
leaq 0x320(%rsp), %rdi
xorl %edx, %edx
callq 0x3e250
leaq 0x478(%rsp), %r15
leaq 0x320(%rsp), %rbx
movq %r15, %rdi
movq %rbx, %rsi
callq 0x99438
leaq 0x4a8(%rsp), %rdi
leaq 0x350(%rsp), %r14
movq %r14, %rsi
callq 0x9979c
leaq 0x4d8(%rsp), %rdi
leaq 0x380(%rsp), %r12
movq %r12, %rsi
callq 0x58eba
movl $0x90, %eax
addq %rax, %r15
addq %rax, %rbx
movq %r15, %rdi
movq %rbx, %rsi
callq 0x99acc
movq %rbx, %rdi
callq 0x3f49e
movq %r12, %rdi
callq 0x3f522
movq %r14, %rdi
callq 0x3f5a6
leaq 0x320(%rsp), %rdi
callq 0x33302
movq 0x58a70(%rip), %rsi     # 0x10cef0
leaq 0x320(%rsp), %rdi
leaq 0x2f0(%rsp), %rdx
callq 0x286de
leaq 0x320(%rsp), %rdi
movl $0x8, %esi
callq 0x53224
movq %rax, %r14
leaq 0x330(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xb44cb
movq 0x330(%rsp), %rsi
incq %rsi
callq 0x8480
movl $0x208, %edi            # imm = 0x208
callq 0x8470
movq %rax, %rbx
movq 0x58a31(%rip), %rsi     # 0x10cf10
movq %rax, %rdi
movl $0x8, %edx
callq 0x8860
movl $0x208, %edi            # imm = 0x208
callq 0x8470
movq %r14, 0x2e8(%rsp)
movq 0x58a2b(%rip), %rsi     # 0x10cf30
movq %rax, 0x8(%rsp)
movq %rax, %rdi
movl $0x8, %edx
callq 0x8860
leaq 0x2f8(%rsp), %rcx
xorl %eax, %eax
movl %eax, (%rcx)
movq %rax, 0x8(%rcx)
movq %rcx, 0x10(%rcx)
movq %rcx, 0x18(%rcx)
movq %rax, 0x20(%rcx)
leaq 0x450(%rsp), %rcx
movl %eax, (%rcx)
movq %rax, 0x8(%rcx)
movq %rcx, 0x10(%rcx)
movq %rcx, 0x18(%rcx)
movq %rax, 0x20(%rcx)
leaq 0x420(%rsp), %rcx
movl %eax, (%rcx)
movq %rax, 0x8(%rcx)
movq %rcx, 0x10(%rcx)
movq %rcx, 0x18(%rcx)
movq %rax, 0x20(%rcx)
leaq 0x3f0(%rsp), %rcx
movl %eax, (%rcx)
movq %rax, 0x8(%rcx)
movq %rcx, 0x10(%rcx)
movq %rcx, 0x18(%rcx)
movq %rax, 0x20(%rcx)
leaq 0x1d0(%rsp), %r15
leaq 0x320(%rsp), %r12
leaq 0x2f0(%rsp), %r13
leaq 0x448(%rsp), %rbp
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x8450
movsbl %al, %edx
movq %rbx, %rdi
movq %r15, %rsi
callq 0x8870
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
testb $0x5, 0x20(%rax,%rcx)
jne 0xb4634
movq %r12, %rdi
movq %r15, %rsi
movl $0x9, %edx
callq 0x50624
movq 0x320(%rsp), %rsi
addq $0x20, %rsi
movq %r13, %rdi
callq 0x49f44
movq 0x320(%rsp), %rsi
movq %rax, %rdi
callq 0x33db0
movq 0x320(%rsp), %r14
movq %rbp, %rdi
movq %r14, %rsi
callq 0x3e394
addq $0x20, %r14
movq %rax, %rdi
movq %r14, %rsi
callq 0x8270
movq %r12, %rdi
callq 0x3123c
jmp 0xb45a1
xorpd %xmm0, %xmm0
movapd %xmm0, 0x2a0(%rsp)
movq $0x0, 0x2b0(%rsp)
movq 0x308(%rsp), %rbx
leaq 0x2f8(%rsp), %rax
cmpq %rax, %rbx
je 0xb468e
leaq 0x2a0(%rsp), %r15
leaq 0x20(%rbx), %rsi
movq %r15, %rdi
callq 0x33db0
movq %rbx, %rdi
callq 0x8310
movq %rax, %rbx
leaq 0x2f8(%rsp), %rax
cmpq %rax, %rbx
jne 0xb466a
movq 0x56953(%rip), %rdi     # 0x10afe8
leaq 0x35855(%rip), %rsi     # 0xe9ef1
movl $0xa, %edx
callq 0x84e0
movq 0x2a8(%rsp), %rsi
subq 0x2a0(%rsp), %rsi
sarq $0x5, %rsi
movq 0x56927(%rip), %rdi     # 0x10afe8
callq 0x82f0
movq %rax, %rbx
leaq 0x23b84(%rip), %rsi     # 0xd8254
movl $0xd, %edx
movq %rax, %rdi
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
xorpd %xmm0, %xmm0
leaq 0x210(%rsp), %rcx
movapd %xmm0, (%rcx)
xorl %eax, %eax
movq %rax, 0x10(%rcx)
leaq 0xf0(%rsp), %rcx
movq %rax, 0x10(%rcx)
movapd %xmm0, (%rcx)
leaq 0x200(%rsp), %r14
leaq 0x1d0(%rsp), %rbp
leaq 0x268(%rsp), %r12
leaq 0x150(%rsp), %r13
leaq 0x26deb(%rip), %rbx     # 0xdb53c
movq 0x8(%rsp), %r15
movq (%r15), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x8450
movsbl %al, %edx
movq %r15, %rdi
movq %rbp, %rsi
callq 0x8870
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
testb $0x5, 0x20(%rax,%rcx)
jne 0xb507b
movq %r12, %rdi
movq %rbp, %rsi
movl $0x9, %edx
callq 0x50624
movq 0x270(%rsp), %rax
subq 0x268(%rsp), %rax
cmpq $0x80, %rax
jne 0xb6126
leaq 0xf0(%rsp), %rdi
movq %r12, %rsi
callq 0x32338
movl $0x200, %edi            # imm = 0x200
callq 0x8470
movq %rax, %r15
movq 0x268(%rsp), %rax
leaq 0x160(%rsp), %rcx
movq %rcx, 0x150(%rsp)
movq (%rax), %rsi
movq 0x8(%rax), %rdx
addq %rsi, %rdx
movq %r13, %rdi
callq 0x2e45c
movq %r13, %rdi
movq %rbx, %rsi
callq 0x88c0
movq 0x268(%rsp), %rax
movq 0x20(%rax), %rsi
movq 0x28(%rax), %rdx
movq %r13, %rdi
callq 0x8180
leaq 0xe0(%rsp), %rsi
movq %rsi, 0xd0(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0xb4854
movq %rdx, 0xd0(%rsp)
movq (%rcx), %rdx
movq %rdx, 0xe0(%rsp)
jmp 0xb485c
movupd (%rcx), %xmm0
movupd %xmm0, (%rsi)
movq 0x8(%rax), %rdx
movq %rdx, 0xd8(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0xd0(%rsp), %rdi
movq %rbx, %rsi
callq 0x88c0
leaq 0x80(%rsp), %rsi
movq %rsi, 0x70(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0xb48b5
movq %rdx, 0x70(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x80(%rsp)
jmp 0xb48bd
movupd (%rcx), %xmm0
movupd %xmm0, (%rsi)
movq 0x8(%rax), %rdx
movq %rdx, 0x78(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x268(%rsp), %rax
movq 0x40(%rax), %rsi
movq 0x48(%rax), %rdx
leaq 0x70(%rsp), %rdi
callq 0x8180
leaq 0x60(%rsp), %rsi
movq %rsi, 0x50(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0xb4917
movq %rdx, 0x50(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x60(%rsp)
jmp 0xb491f
movupd (%rcx), %xmm0
movupd %xmm0, (%rsi)
movq 0x8(%rax), %rdx
movq %rdx, 0x58(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x50(%rsp), %rdi
movq %rbx, %rsi
callq 0x88c0
leaq 0x180(%rsp), %rsi
movq %rsi, 0x170(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0xb4978
movq %rdx, 0x170(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x180(%rsp)
jmp 0xb4980
movupd (%rcx), %xmm0
movupd %xmm0, (%rsi)
movq 0x8(%rax), %rdx
movq %rdx, 0x178(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x268(%rsp), %rax
movq 0x60(%rax), %rsi
movq 0x68(%rax), %rdx
leaq 0x170(%rsp), %rdi
callq 0x8180
leaq 0x138(%rsp), %rsi
movq %rsi, 0x128(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0xb49ec
movq %rdx, 0x128(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x138(%rsp)
jmp 0xb49f4
movupd (%rcx), %xmm0
movupd %xmm0, (%rsi)
movq 0x8(%rax), %rdx
movq %rdx, 0x130(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x128(%rsp), %rdi
leaq 0x334be(%rip), %rsi     # 0xe7edc
callq 0x88c0
leaq 0x118(%rsp), %rsi
movq %rsi, 0x108(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0xb4a57
movq %rdx, 0x108(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x118(%rsp)
jmp 0xb4a5f
movupd (%rcx), %xmm0
movupd %xmm0, (%rsi)
movq 0x8(%rax), %rdx
movq %rdx, 0x110(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x584ef(%rip), %rsi     # 0x10cf70
movq 0x584f0(%rip), %rdx     # 0x10cf78
leaq 0x108(%rsp), %rdi
callq 0x8180
movq %r14, 0x1f0(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0xb4ac1
movq %rdx, 0x1f0(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x200(%rsp)
jmp 0xb4aca
movupd (%rcx), %xmm0
movupd %xmm0, (%r14)
movq 0x8(%rax), %rdx
movq %rdx, 0x1f8(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x1f0(%rsp), %rdi
movq %rbx, %rsi
callq 0x88c0
leaq 0x40(%rsp), %rsi
movq %rsi, 0x30(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0xb4b1d
movq %rdx, 0x30(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x40(%rsp)
jmp 0xb4b25
movupd (%rcx), %xmm0
movupd %xmm0, (%rsi)
movq 0x8(%rax), %rdx
movq %rdx, 0x38(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movl 0x56a95(%rip), %esi     # 0x10b5d8
leaq 0x1b0(%rsp), %rdi
callq 0x31297
movq 0x30(%rsp), %rcx
movl $0xf, %esi
leaq 0x40(%rsp), %rax
cmpq %rax, %rcx
je 0xb4b69
movq 0x40(%rsp), %rsi
movq 0x38(%rsp), %r8
movq 0x1b8(%rsp), %rdx
leaq (%rdx,%r8), %rax
cmpq %rsi, %rax
jbe 0xb4ba3
movl $0xf, %esi
leaq 0x1c0(%rsp), %rdi
cmpq %rdi, 0x1b0(%rsp)
je 0xb4b9e
movq 0x1c0(%rsp), %rsi
cmpq %rsi, %rax
jbe 0xb4bb7
movq 0x1b0(%rsp), %rsi
leaq 0x30(%rsp), %rdi
callq 0x8180
jmp 0xb4bc8
leaq 0x1b0(%rsp), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x84d0
leaq 0x20(%rsp), %rsi
movq %rsi, 0x10(%rsp)
movq (%rax), %rdx
leaq 0x10(%rax), %rcx
cmpq %rcx, %rdx
je 0xb4bed
movq %rdx, 0x10(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x20(%rsp)
jmp 0xb4bf5
movupd (%rcx), %xmm0
movupd %xmm0, (%rsi)
movq %rax, %rdx
addq $0x8, %rdx
movq 0x8(%rax), %rsi
movq %rsi, 0x18(%rsp)
movq %rcx, (%rax)
movq $0x0, (%rdx)
movb $0x0, (%rcx)
leaq 0x10(%rsp), %rdi
movq %rbx, %rsi
callq 0x88c0
leaq 0xc0(%rsp), %rsi
movq %rsi, 0xb0(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0xb4c53
movq %rdx, 0xb0(%rsp)
movq (%rcx), %rdx
movq %rdx, 0xc0(%rsp)
jmp 0xb4c5b
movupd (%rcx), %xmm0
movupd %xmm0, (%rsi)
movq 0x8(%rax), %rdx
movq %rdx, 0xb8(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movl 0x56960(%rip), %esi     # 0x10b5dc
leaq 0x230(%rsp), %rdi
callq 0x31297
movq 0xb0(%rsp), %rcx
movl $0xf, %esi
leaq 0xc0(%rsp), %rax
cmpq %rax, %rcx
je 0xb4cab
movq 0xc0(%rsp), %rsi
movq 0xb8(%rsp), %r8
movq 0x238(%rsp), %rdx
leaq (%rdx,%r8), %rax
cmpq %rsi, %rax
jbe 0xb4ce8
movl $0xf, %esi
leaq 0x240(%rsp), %rdi
cmpq %rdi, 0x230(%rsp)
je 0xb4ce3
movq 0x240(%rsp), %rsi
cmpq %rsi, %rax
jbe 0xb4cff
movq 0x230(%rsp), %rsi
leaq 0xb0(%rsp), %rdi
callq 0x8180
jmp 0xb4d10
leaq 0x230(%rsp), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x84d0
leaq 0xa0(%rsp), %rsi
movq %rsi, 0x90(%rsp)
movq (%rax), %rdx
leaq 0x10(%rax), %rcx
cmpq %rcx, %rdx
je 0xb4d41
movq %rdx, 0x90(%rsp)
movq (%rcx), %rdx
movq %rdx, 0xa0(%rsp)
jmp 0xb4d49
movupd (%rcx), %xmm0
movupd %xmm0, (%rsi)
movq %rax, %rdx
addq $0x8, %rdx
movq 0x8(%rax), %rsi
movq %rsi, 0x98(%rsp)
movq %rcx, (%rax)
movq $0x0, (%rdx)
movb $0x0, (%rcx)
leaq 0x90(%rsp), %rdi
leaq 0x2fddd(%rip), %rsi     # 0xe4b55
callq 0x88c0
leaq 0x330(%rsp), %rsi
movq %rsi, 0x320(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0xb4db1
movq %rdx, 0x320(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x330(%rsp)
jmp 0xb4db9
movupd (%rcx), %xmm0
movupd %xmm0, (%rsi)
movq 0x8(%rax), %rdx
movq %rdx, 0x328(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq %r15, %rdi
leaq 0x320(%rsp), %rsi
movl $0x10, %edx
callq 0x88d0
movq 0x320(%rsp), %rdi
leaq 0x330(%rsp), %rax
cmpq %rax, %rdi
je 0xb4e0e
movq 0x330(%rsp), %rsi
incq %rsi
callq 0x8480
movq 0x90(%rsp), %rdi
leaq 0xa0(%rsp), %rax
cmpq %rax, %rdi
je 0xb4e33
movq 0xa0(%rsp), %rsi
incq %rsi
callq 0x8480
movq 0x230(%rsp), %rdi
leaq 0x240(%rsp), %rax
cmpq %rax, %rdi
je 0xb4e58
movq 0x240(%rsp), %rsi
incq %rsi
callq 0x8480
movq 0xb0(%rsp), %rdi
leaq 0xc0(%rsp), %rax
cmpq %rax, %rdi
je 0xb4e7d
movq 0xc0(%rsp), %rsi
incq %rsi
callq 0x8480
movq 0x10(%rsp), %rdi
leaq 0x20(%rsp), %rax
cmpq %rax, %rdi
je 0xb4e99
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x8480
movq 0x1b0(%rsp), %rdi
leaq 0x1c0(%rsp), %rax
cmpq %rax, %rdi
je 0xb4ebe
movq 0x1c0(%rsp), %rsi
incq %rsi
callq 0x8480
movq 0x30(%rsp), %rdi
leaq 0x40(%rsp), %rax
cmpq %rax, %rdi
je 0xb4eda
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x8480
movq 0x1f0(%rsp), %rdi
cmpq %r14, %rdi
je 0xb4ef7
movq 0x200(%rsp), %rsi
incq %rsi
callq 0x8480
movq 0x108(%rsp), %rdi
leaq 0x118(%rsp), %rax
cmpq %rax, %rdi
je 0xb4f1c
movq 0x118(%rsp), %rsi
incq %rsi
callq 0x8480
movq 0x128(%rsp), %rdi
leaq 0x138(%rsp), %rax
cmpq %rax, %rdi
je 0xb4f41
movq 0x138(%rsp), %rsi
incq %rsi
callq 0x8480
movq 0x170(%rsp), %rdi
leaq 0x180(%rsp), %rax
cmpq %rax, %rdi
je 0xb4f66
movq 0x180(%rsp), %rsi
incq %rsi
callq 0x8480
movq 0x50(%rsp), %rdi
leaq 0x60(%rsp), %rax
cmpq %rax, %rdi
je 0xb4f82
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x8480
movq 0x70(%rsp), %rdi
leaq 0x80(%rsp), %rax
cmpq %rax, %rdi
je 0xb4fa4
movq 0x80(%rsp), %rsi
incq %rsi
callq 0x8480
movq 0xd0(%rsp), %rdi
leaq 0xe0(%rsp), %rax
cmpq %rax, %rdi
je 0xb4fc9
movq 0xe0(%rsp), %rsi
incq %rsi
callq 0x8480
movq 0x150(%rsp), %rdi
leaq 0x160(%rsp), %rax
cmpq %rax, %rdi
je 0xb4fee
movq 0x160(%rsp), %rsi
incq %rsi
callq 0x8480
movq %r15, 0x260(%rsp)
movl $0x18, %edx
movq %r15, %rdi
leaq 0x32edd(%rip), %rsi     # 0xe7ee2
callq 0x84e0
movq (%r15), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x8450
movsbl %al, %esi
movq %r15, %rdi
callq 0x8040
movq %rax, %rdi
callq 0x8300
movq 0x218(%rsp), %rsi
cmpq 0x220(%rsp), %rsi
je 0xb5059
movq 0x260(%rsp), %rax
movq %rax, (%rsi)
addq $0x8, 0x218(%rsp)
jmp 0xb506e
leaq 0x210(%rsp), %rdi
leaq 0x260(%rsp), %rdx
callq 0xaec6a
movq %r12, %rdi
callq 0x3123c
jmp 0xb4751
movslq 0x56556(%rip), %rsi     # 0x10b5d8
leaq 0x90(%rsp), %rdx
movq $0x0, (%rdx)
leaq 0x320(%rsp), %rdi
leaq 0xb0(%rsp), %rcx
callq 0xae494
leaq 0x1f0(%rsp), %rdi
leaq 0x320(%rsp), %rdx
leaq 0x90(%rsp), %rcx
movl $0x3, %esi
callq 0xae4f4
movq 0xf8(%rsp), %rsi
subq 0xf0(%rsp), %rsi
sarq $0x3, %rsi
movabsq $-0x5555555555555555, %rbx # imm = 0xAAAAAAAAAAAAAAAB
imulq %rbx, %rsi
leaq 0x108(%rsp), %rdi
leaq 0x1f0(%rsp), %rdx
leaq 0x90(%rsp), %rcx
callq 0xae58e
movq 0xf8(%rsp), %rsi
subq 0xf0(%rsp), %rsi
sarq $0x3, %rsi
imulq %rbx, %rsi
leaq 0x90(%rsp), %rdx
movl $0x0, (%rdx)
leaq 0x128(%rsp), %rdi
leaq 0xb0(%rsp), %rcx
callq 0x54c54
xorl %edx, %edx
movq %rdx, 0x180(%rsp)
xorpd %xmm0, %xmm0
movapd %xmm0, 0x170(%rsp)
movq %rdx, 0x60(%rsp)
movapd %xmm0, 0x50(%rsp)
leaq 0x90(%rsp), %rcx
leaq 0xa0(%rsp), %rax
movq %rax, (%rcx)
movq %rdx, 0x8(%rcx)
movb %dl, 0x10(%rcx)
leaq 0xb0(%rsp), %rcx
leaq 0xc0(%rsp), %rax
movq %rax, (%rcx)
movq %rdx, 0x8(%rcx)
movl $0x0, %eax
movq %rax, 0x1a0(%rsp)
movb %dl, 0x10(%rcx)
leaq 0x1d0(%rsp), %r13
leaq 0x10(%rsp), %rbp
leaq 0x30(%rsp), %r14
leaq 0x70(%rsp), %r12
movq 0x2e8(%rsp), %rbx
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x8450
movsbl %al, %edx
movq %rbx, %rdi
movq %r13, %rsi
callq 0x8870
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
testb $0x5, 0x20(%rax,%rcx)
jne 0xb5fa9
movq 0x1d0(%rsp), %rdi
movq 0x1d8(%rsp), %rsi
addq %rdi, %rsi
movb $0xd, 0x10(%rsp)
movq %rbp, %rdx
callq 0x80103
movq %rax, %rcx
subq 0x1d0(%rsp), %rcx
movq %rcx, 0x1d8(%rsp)
movb $0x0, (%rax)
movq 0x1d0(%rsp), %rax
movb (%rax), %cl
cmpb $0x23, %cl
jne 0xb5256
cmpb $0x23, 0x1(%rax)
je 0xb51bc
cmpb $0x23, %cl
jne 0xb5256
cmpb $0x43, 0x1(%rax)
je 0xb5d41
movq 0x1a0(%rsp), %rcx
imull $0x26e978d5, %ecx, %eax # imm = 0x26E978D5
incl %ecx
movq %rcx, 0x1a0(%rsp)
addl $0x27ef9dad, %eax       # imm = 0x27EF9DAD
rorl $0x3, %eax
cmpl $0x418936, %eax         # imm = 0x418936
ja 0xb53c6
callq 0x82e0
subq 0x2d0(%rsp), %rax
xorps %xmm0, %xmm0
cvtsi2sd %rax, %xmm0
divsd 0x1ff4a(%rip), %xmm0    # 0xd51e8
movsd %xmm0, 0x8(%rsp)
movl $0xa, %edx
movq 0x55d38(%rip), %rdi     # 0x10afe8
leaq 0x2316f(%rip), %rsi     # 0xd8426
callq 0x84e0
movq 0x55d25(%rip), %rdi     # 0x10afe8
movq 0x1a0(%rsp), %rsi
callq 0x8810
movq %rax, %rbx
movl $0xd, %edx
movq %rax, %rdi
leaq 0x2604c(%rip), %rsi     # 0xdb32e
callq 0x84e0
movq %rbx, %rdi
movsd 0x8(%rsp), %xmm0
callq 0x8730
movq %rax, %rbx
movl $0x4, %edx
movq %rax, %rdi
leaq 0x29067(%rip), %rsi     # 0xde36e
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
movl $0xe, %edx
movq 0x55ca9(%rip), %rdi     # 0x10afe8
leaq 0x30089(%rip), %rsi     # 0xe53cf
callq 0x84e0
movq 0x55c96(%rip), %rdi     # 0x10afe8
movsd 0x2e0(%rsp), %xmm0
callq 0x8730
movq %rax, %rbx
movl $0xd, %edx
movq %rax, %rdi
leaq 0x3006c(%rip), %rsi     # 0xe53de
callq 0x84e0
movq %rbx, %rdi
movsd 0x148(%rsp), %xmm0
callq 0x8730
movq %rax, %rbx
movl $0x4, %edx
movq %rax, %rdi
leaq 0x28fd4(%rip), %rsi     # 0xde36e
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 %r14, %rdi
movq %r13, %rsi
movl $0x9, %edx
callq 0x50624
xorpd %xmm0, %xmm0
movapd %xmm0, 0x10(%rsp)
movapd 0x50(%rsp), %xmm0
movq 0x60(%rsp), %rax
movups 0x30(%rsp), %xmm1
movaps %xmm1, 0x50(%rsp)
movq 0x40(%rsp), %rcx
movq %rcx, 0x60(%rsp)
movapd 0x10(%rsp), %xmm1
movapd %xmm0, 0x10(%rsp)
movq %rax, 0x20(%rsp)
movupd %xmm1, 0x30(%rsp)
movq $0x0, 0x40(%rsp)
movq %rbp, %rdi
callq 0x3123c
movq %r14, %rdi
callq 0x3123c
movq 0x50(%rsp), %rsi
leaq 0x90(%rsp), %rdi
callq 0x8270
movq 0x50(%rsp), %rsi
addq $0x20, %rsi
leaq 0xb0(%rsp), %rdi
callq 0x8270
movq 0x50(%rsp), %rsi
movl $0x120, %eax            # imm = 0x120
addq %rax, %rsi
movq 0x58(%rsp), %rdx
movq %r12, %rdi
movq %rbp, %rcx
callq 0x7fa48
movq 0x50(%rsp), %rax
leaq 0x20(%rsp), %rcx
movq %rcx, 0x10(%rsp)
movq 0x60(%rax), %rsi
movq 0x68(%rax), %rdx
addq %rsi, %rdx
movq %rbp, %rdi
callq 0x2e45c
movq 0x50(%rsp), %rax
leaq 0x40(%rsp), %rcx
movq %rcx, 0x30(%rsp)
movq 0x80(%rax), %rsi
movq 0x88(%rax), %rdx
addq %rsi, %rdx
movq %r14, %rdi
callq 0x2e45c
cmpq $0x1, 0x18(%rsp)
ja 0xb5c60
cmpq $0x1, 0x38(%rsp)
ja 0xb5c60
movq %r14, %rdi
leaq 0x341f6(%rip), %rsi     # 0xe96d6
callq 0x8160
testl %eax, %eax
je 0xb5c60
callq 0x82e0
movq %rax, %r15
movl $0x240, %edi            # imm = 0x240
callq 0x8470
leaq 0x70(%rsp), %r12
movq %rax, %rbx
movq 0x78(%rsp), %rdx
subq 0x70(%rsp), %rdx
shrq $0x5, %rdx
movq %rax, %rdi
leaq 0x418(%rsp), %rsi
callq 0x7fa8a
movq %rbx, %rdi
movq %r12, %rsi
leaq 0x3e8(%rsp), %rdx
callq 0x500d0
movq %rbx, 0x258(%rsp)
movq 0x70(%rsp), %rbx
movq 0x78(%rsp), %r14
cmpq %rbx, %r14
je 0xb5584
leaq 0x10(%rbx), %r12
movq -0x10(%r12), %rdi
cmpq %rdi, %r12
je 0xb5569
movq (%r12), %rsi
incq %rsi
callq 0x8480
leaq 0x20(%r12), %rax
addq $0x10, %r12
cmpq %r14, %r12
movq %rax, %r12
jne 0xb5553
movq %rbx, 0x78(%rsp)
leaq 0x70(%rsp), %r12
movq 0x80(%rsp), %rax
cmpq 0x78(%rsp), %rax
je 0xb559b
movq %r12, %rdi
callq 0x8024a
callq 0x82e0
subq %r15, %rax
cvtsi2sd %rax, %xmm0
divsd 0x1fc38(%rip), %xmm0    # 0xd51e8
movsd %xmm0, 0x2e0(%rsp)
callq 0x82e0
movq %rax, 0x2d8(%rsp)
movq 0xb0(%rsp), %rdi
callq 0x86e0
leaq 0xd0(%rsp), %rdi
leaq 0x478(%rsp), %rsi
leaq 0x90(%rsp), %rdx
movl %eax, %ecx
callq 0x58050
movq 0xf0(%rsp), %rax
cmpq %rax, 0xf8(%rsp)
je 0xb5c04
movq 0x258(%rsp), %rcx
leaq 0xe0(%rcx), %r12
movq %rcx, %rdi
addq $0x68, %rdi
xorl %r14d, %r14d
xorl %ebx, %ebx
movq %rdi, %r15
movq (%rax,%r14), %rsi
movq %r12, %rdi
callq 0x551e8
movsd (%rax), %xmm0
movsd %xmm0, 0x8(%rsp)
ucomisd 0x19e04(%rip), %xmm0    # 0xcf448
movq %r15, %rdi
jne 0xb564f
jnp 0xb5bcf
movq 0xf0(%rsp), %rax
movq (%rax,%r14), %rsi
addq $0x20, %rsi
movq %r12, %rdi
callq 0x551e8
movsd (%rax), %xmm0
ucomisd 0x19dd5(%rip), %xmm0    # 0xcf448
movq %r15, %rdi
jne 0xb567e
jnp 0xb5bcf
movsd %xmm0, 0x148(%rsp)
movq 0xf0(%rsp), %rax
movq (%rax,%r14), %rsi
addq $0x40, %rsi
movq %r12, %rdi
callq 0x551e8
movsd (%rax), %xmm0
ucomisd 0x19d9d(%rip), %xmm0    # 0xcf448
movq %r15, %rdi
jne 0xb56b6
jnp 0xb5bcf
movsd %xmm0, 0x250(%rsp)
movq 0xf0(%rsp), %rax
movq (%rax,%r14), %rsi
addq $0x60, %rsi
movq %r12, %rdi
callq 0x551e8
movsd (%rax), %xmm3
ucomisd 0x19d65(%rip), %xmm3    # 0xcf448
movq %r15, %rdi
movsd 0x148(%rsp), %xmm1
movsd 0x250(%rsp), %xmm2
jne 0xb5700
jnp 0xb5bcf
movsd 0x8(%rsp), %xmm0
ucomisd 0x1891a(%rip), %xmm0    # 0xce028
jne 0xb573a
jp 0xb573a
ucomisd 0x1890e(%rip), %xmm1    # 0xce028
jne 0xb573a
jp 0xb573a
ucomisd 0x18902(%rip), %xmm2    # 0xce028
jne 0xb573a
jp 0xb573a
ucomisd 0x188f6(%rip), %xmm3    # 0xce028
jne 0xb573a
jnp 0xb5bcf
movsd 0x8(%rsp), %xmm0
ucomisd 0x19cf8(%rip), %xmm0    # 0xcf440
jne 0xb5774
jp 0xb5774
ucomisd 0x19cec(%rip), %xmm1    # 0xcf440
jne 0xb5774
jp 0xb5774
ucomisd 0x19ce0(%rip), %xmm2    # 0xcf440
jne 0xb5774
jp 0xb5774
ucomisd 0x19cd4(%rip), %xmm3    # 0xcf440
jne 0xb5774
jnp 0xb5bcf
movsd %xmm3, 0x2c8(%rsp)
movq 0x128(%rsp), %rax
incl (%rax,%rbx,4)
movq 0xf0(%rsp), %rax
movq (%rax,%r14), %rsi
movq %rdi, 0x198(%rsp)
callq 0x54a86
xorps %xmm0, %xmm0
cvtsi2sdl (%rax), %xmm0
movsd %xmm0, 0x2c0(%rsp)
movq 0xf0(%rsp), %rax
movq (%rax,%r14), %rsi
addq $0x20, %rsi
movq 0x198(%rsp), %rdi
callq 0x54a86
xorps %xmm0, %xmm0
cvtsi2sdl (%rax), %xmm0
movsd %xmm0, 0x2b8(%rsp)
movq 0xf0(%rsp), %rax
movq (%rax,%r14), %rsi
addq $0x40, %rsi
movq 0x198(%rsp), %rdi
callq 0x54a86
movl (%rax), %eax
movl %eax, 0x1ac(%rsp)
movq 0xf0(%rsp), %rax
movq (%rax,%r14), %rsi
addq $0x60, %rsi
movq 0x198(%rsp), %rdi
callq 0x54a86
cvtsi2sdl 0x1ac(%rsp), %xmm6
cvtsi2sdl (%rax), %xmm7
leaq 0x150(%rsp), %rdi
movsd 0x8(%rsp), %xmm0
movsd 0x148(%rsp), %xmm1
movsd 0x250(%rsp), %xmm2
movsd 0x2c8(%rsp), %xmm3
movsd 0x2c0(%rsp), %xmm4
movsd 0x2b8(%rsp), %xmm5
callq 0xb6c15
movq 0x108(%rsp), %rax
movq (%rax,%r14), %rdi
movq 0x150(%rsp), %rsi
movq 0x30(%rdi), %rax
movq 0x40(%rdi), %rcx
addq $-0x8, %rcx
cmpq %rcx, %rax
je 0xb58a5
movsd (%rsi), %xmm0
movsd %xmm0, (%rax)
addq $0x8, %rax
movq %rax, 0x30(%rdi)
jmp 0xb58aa
callq 0xaf222
movq 0x108(%rsp), %rax
movq (%rax,%r14), %rdi
movq 0x150(%rsp), %rsi
addq $0x8, %rsi
movq 0x80(%rdi), %rax
movq 0x90(%rdi), %rcx
addq $-0x8, %rcx
cmpq %rcx, %rax
je 0xb58ee
movsd (%rsi), %xmm0
movsd %xmm0, (%rax)
addq $0x8, %rax
movq %rax, 0x80(%rdi)
jmp 0xb58f7
addq $0x50, %rdi
callq 0xaf222
movq 0x108(%rsp), %rax
movq (%rax,%r14), %rcx
movl $0xa0, %eax
addq %rax, %rcx
movq %rcx, 0x8(%rsp)
leaq 0x290(%rsp), %rax
movq %rax, 0x280(%rsp)
movq 0xb0(%rsp), %rsi
movq 0xb8(%rsp), %rdx
addq %rsi, %rdx
leaq 0x280(%rsp), %rdi
callq 0x2e45c
leaq 0x280(%rsp), %rdi
callq 0x5054c
movsd %xmm0, 0x1b0(%rsp)
movq 0x8(%rsp), %rdi
leaq 0x1b0(%rsp), %rsi
callq 0xaf43a
movq 0x280(%rsp), %rdi
leaq 0x290(%rsp), %rax
cmpq %rax, %rdi
je 0xb598d
movq 0x290(%rsp), %rsi
incq %rsi
callq 0x8480
movq 0x108(%rsp), %rax
movq (%rax,%r14), %rdi
callq 0xae9f2
movq 0x108(%rsp), %rax
movq (%rax,%r14), %rdi
addq $0x50, %rdi
callq 0xae9f2
movq 0x108(%rsp), %rax
movq (%rax,%r14), %rdi
movl $0xa0, %eax
addq %rax, %rdi
callq 0xae9f2
movq 0x128(%rsp), %rax
movl (%rax,%rbx,4), %eax
cmpl 0x55bfb(%rip), %eax     # 0x10b5d8
jle 0xb5baf
cltd
idivl 0x55bf2(%rip)           # 0x10b5dc
testl %edx, %edx
jne 0xb5baf
movq 0x210(%rsp), %rax
movq (%rax,%rbx,8), %rdi
movq 0x90(%rsp), %rsi
movq 0x98(%rsp), %rdx
callq 0x84e0
movl $0x1, %edx
movq %rax, 0x8(%rsp)
movq 0x8(%rsp), %rdi
leaq 0x1c255(%rip), %rsi     # 0xd1c7e
callq 0x84e0
movq 0x8(%rsp), %rdi
movq 0x108(%rsp), %rax
movq (%rax,%r14), %rcx
movq 0xb0(%rcx), %rdx
movq %rdx, %rax
subq 0xb8(%rcx), %rax
sarq $0x3, %rax
cmpq $0x40, %rax
jb 0xb5a91
movq %rax, %rdx
shrq $0x6, %rdx
movabsq $-0x400000000000000, %rsi # imm = 0xFC00000000000000
addq %rdx, %rsi
testq %rax, %rax
cmovgq %rdx, %rsi
movq 0xc8(%rcx), %rcx
movq %rsi, %rdx
shlq $0x6, %rdx
subq %rdx, %rax
shlq $0x3, %rax
addq (%rcx,%rsi,8), %rax
movq %rax, %rdx
movsd (%rdx), %xmm0
callq 0x8730
movl $0x1, %edx
movq %rax, %rdi
leaq 0x1c1d5(%rip), %rsi     # 0xd1c7e
movq %rax, 0x8(%rsp)
callq 0x84e0
movq 0x8(%rsp), %rdi
movq 0xb0(%rsp), %rsi
movq 0xb8(%rsp), %rdx
callq 0x84e0
movq %rax, 0x8(%rsp)
movl $0x1, %edx
movq 0x8(%rsp), %rdi
leaq 0x1c19b(%rip), %rsi     # 0xd1c7e
callq 0x84e0
movq 0x108(%rsp), %rax
movq (%rax,%r14), %rsi
leaq 0x588(%rsp), %rdi
callq 0xaeb1a
leaq 0x588(%rsp), %rdi
callq 0xaea40
movq 0x8(%rsp), %rdi
callq 0x8730
movq %rax, 0x8(%rsp)
movl $0x1, %edx
movq 0x8(%rsp), %rdi
leaq 0x1c150(%rip), %rsi     # 0xd1c7e
callq 0x84e0
movq 0x108(%rsp), %rax
movq (%rax,%r14), %rsi
addq $0x50, %rsi
leaq 0x538(%rsp), %rdi
callq 0xaeb1a
leaq 0x538(%rsp), %rdi
callq 0xaea40
movq 0x8(%rsp), %rdi
callq 0x8730
movq (%rax), %rcx
movq -0x18(%rcx), %rdi
addq %rax, %rdi
movl $0xa, %esi
movq %rax, 0x8(%rsp)
callq 0x8450
movq 0x8(%rsp), %rdi
movsbl %al, %esi
callq 0x8040
movq %rax, %rdi
callq 0x8300
leaq 0x538(%rsp), %rdi
callq 0xaedf6
leaq 0x588(%rsp), %rdi
callq 0xaedf6
movq 0x150(%rsp), %rdi
testq %rdi, %rdi
je 0xb5bcc
movq 0x160(%rsp), %rsi
subq %rdi, %rsi
callq 0x8480
movq %r15, %rdi
incq %rbx
movq 0xf0(%rsp), %rax
movq 0xf8(%rsp), %rcx
subq %rax, %rcx
sarq $0x3, %rcx
movabsq $-0x5555555555555555, %rdx # imm = 0xAAAAAAAAAAAAAAAB
imulq %rdx, %rcx
addq $0x18, %r14
cmpq %rcx, %rbx
jne 0xb5623
callq 0x82e0
subq 0x2d8(%rsp), %rax
xorps %xmm0, %xmm0
cvtsi2sd %rax, %xmm0
divsd 0x1f5c7(%rip), %xmm0    # 0xd51e8
movsd %xmm0, 0x148(%rsp)
movq 0x258(%rsp), %rbx
movq %rbx, %rdi
callq 0x7fed0
movl $0x240, %esi            # imm = 0x240
movq %rbx, %rdi
callq 0x8480
leaq 0xd0(%rsp), %rdi
callq 0x3123c
movb $0x1, %bl
leaq 0x30(%rsp), %r14
jmp 0xb5cf5
movq %rbp, %rdi
movq %r13, %r12
movq $0x0, 0x18(%rsp)
movq 0x10(%rsp), %rax
movb $0x0, (%rax)
callq 0x8290
movq $0x0, 0x38(%rsp)
movq 0x30(%rsp), %rax
movb $0x0, (%rax)
movq %r14, %r13
movq %r14, %rdi
callq 0x8290
movq 0x70(%rsp), %rbx
movq 0x78(%rsp), %r14
cmpq %rbx, %r14
je 0xb5cd4
leaq 0x10(%rbx), %r15
movq -0x10(%r15), %rdi
cmpq %rdi, %r15
je 0xb5cbf
movq (%r15), %rsi
incq %rsi
callq 0x8480
leaq 0x20(%r15), %rax
addq $0x10, %r15
cmpq %r14, %r15
movq %rax, %r15
jne 0xb5cab
movq %rbx, 0x78(%rsp)
movq 0x80(%rsp), %rax
cmpq 0x78(%rsp), %rax
je 0xb5ced
leaq 0x70(%rsp), %rdi
callq 0x8024a
xorl %ebx, %ebx
movq %r13, %r14
movq %r12, %r13
movq 0x30(%rsp), %rdi
leaq 0x40(%rsp), %rax
cmpq %rax, %rdi
je 0xb5d11
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x8480
movq 0x10(%rsp), %rdi
leaq 0x20(%rsp), %rax
cmpq %rax, %rdi
leaq 0x70(%rsp), %r12
je 0xb5d32
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x8480
movq %r12, %rdi
callq 0x3123c
testb %bl, %bl
jmp 0xb51bc
movq %r14, %rdi
movq %r13, %rsi
movl $0x9, %edx
callq 0x50624
xorps %xmm0, %xmm0
movaps %xmm0, 0x10(%rsp)
movapd 0x50(%rsp), %xmm0
movq 0x60(%rsp), %rax
movups 0x30(%rsp), %xmm1
movaps %xmm1, 0x50(%rsp)
movq 0x40(%rsp), %rcx
movq %rcx, 0x60(%rsp)
movapd 0x10(%rsp), %xmm1
movapd %xmm0, 0x10(%rsp)
movq %rax, 0x20(%rsp)
movupd %xmm1, 0x30(%rsp)
movq $0x0, 0x40(%rsp)
movq %rbp, %rdi
callq 0x3123c
movq %r14, %rdi
callq 0x3123c
movq 0x50(%rsp), %rsi
movl $0x120, %eax            # imm = 0x120
addq %rax, %rsi
movq 0x58(%rsp), %rdx
movq %r14, %rdi
movq %rbp, %rcx
callq 0x7fa48
movq $0x0, 0x10(%rsp)
movq 0x30(%rsp), %rax
cmpq %rax, 0x38(%rsp)
je 0xb5e31
xorl %esi, %esi
shlq $0x5, %rsi
addq %rax, %rsi
leaq 0x448(%rsp), %rdi
callq 0x3e394
movq %rax, %rbx
leaq 0x3e8(%rsp), %rdi
movq %rbp, %rsi
callq 0x5d80c
movq %rax, %rdi
movq %rbx, %rsi
callq 0x8270
movq 0x10(%rsp), %rsi
incq %rsi
movq %rsi, 0x10(%rsp)
movq 0x30(%rsp), %rax
movq 0x38(%rsp), %rcx
subq %rax, %rcx
sarq $0x5, %rcx
cmpq %rcx, %rsi
jne 0xb5ddc
movq 0x308(%rsp), %rbx
leaq 0x2f8(%rsp), %rax
cmpq %rax, %rbx
je 0xb5f8f
leaq 0x20(%rsp), %rax
movq %rax, 0x10(%rsp)
movq 0x20(%rbx), %rsi
movq 0x28(%rbx), %rdx
addq %rsi, %rdx
movq %rbp, %rdi
callq 0x2e45c
leaq 0x40(%rbx), %rsi
movq %r12, %rdi
callq 0x3273a
leaq 0xd0(%rsp), %rdi
movq %r14, %rsi
movq %r12, %rdx
callq 0x53501
movq 0xd0(%rsp), %rax
cmpq 0xd8(%rsp), %rax
jne 0xb5f1e
movl $0x29, %edx
movq 0x55140(%rip), %rdi     # 0x10afe8
leaq 0x2250c(%rip), %rsi     # 0xd83bb
callq 0x84e0
movq 0x10(%rsp), %rsi
movq 0x18(%rsp), %rdx
movq 0x55123(%rip), %rdi     # 0x10afe8
callq 0x84e0
movq %rax, %r15
movl $0x1, %edx
movq %rax, %rdi
leaq 0x21243(%rip), %rsi     # 0xd711f
callq 0x84e0
movq (%r15), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x8450
movsbl %al, %esi
movq %r15, %rdi
callq 0x8040
movq %rax, %rdi
callq 0x8300
movq 0xd0(%rsp), %rax
cmpq 0xd8(%rsp), %rax
je 0xb6145
leaq 0x418(%rsp), %rdi
movq %rbp, %rsi
callq 0x5d872
movq %rax, %rdi
leaq 0xd0(%rsp), %rsi
callq 0x5d8ee
movq 0xd0(%rsp), %rdi
testq %rdi, %rdi
je 0xb5f5b
movq 0xe0(%rsp), %rsi
subq %rdi, %rsi
callq 0x8480
movq %r12, %rdi
callq 0x3123c
movq 0x10(%rsp), %rdi
leaq 0x20(%rsp), %rax
cmpq %rax, %rdi
je 0xb5f7f
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x8480
movq %rbx, %rdi
callq 0x8310
movq %rax, %rbx
jmp 0xb5e39
callq 0x82e0
movq %rax, 0x2d0(%rsp)
movq %r14, %rdi
callq 0x3123c
jmp 0xb51bc
movq 0xb0(%rsp), %rdi
leaq 0xc0(%rsp), %rax
cmpq %rax, %rdi
je 0xb5fce
movq 0xc0(%rsp), %rsi
incq %rsi
callq 0x8480
movq 0x90(%rsp), %rdi
leaq 0xa0(%rsp), %rax
cmpq %rax, %rdi
je 0xb5ff3
movq 0xa0(%rsp), %rsi
incq %rsi
callq 0x8480
leaq 0x50(%rsp), %rdi
callq 0x3123c
leaq 0x170(%rsp), %rdi
callq 0x3123c
movq 0x128(%rsp), %rdi
testq %rdi, %rdi
je 0xb6027
movq 0x138(%rsp), %rsi
subq %rdi, %rsi
callq 0x8480
leaq 0x108(%rsp), %rdi
callq 0xaebe6
leaq 0x1f0(%rsp), %rdi
callq 0xaec28
leaq 0x320(%rsp), %rdi
callq 0xaedf6
leaq 0xf0(%rsp), %rdi
callq 0x31aa2
movq 0x210(%rsp), %rdi
testq %rdi, %rdi
je 0xb6078
movq 0x220(%rsp), %rsi
subq %rdi, %rsi
callq 0x8480
leaq 0x2a0(%rsp), %rdi
callq 0x3123c
leaq 0x3e8(%rsp), %rdi
callq 0x5ddda
leaq 0x418(%rsp), %rdi
callq 0x5de52
leaq 0x448(%rsp), %rdi
callq 0x3f5f4
leaq 0x2f0(%rsp), %rdi
callq 0x3f522
leaq 0x508(%rsp), %rdi
callq 0x3f49e
leaq 0x4d8(%rsp), %rdi
callq 0x3f522
leaq 0x4a8(%rsp), %rdi
callq 0x3f5a6
leaq 0x478(%rsp), %rdi
callq 0x33302
movq 0x1d0(%rsp), %rdi
leaq 0x1e0(%rsp), %rax
cmpq %rax, %rdi
je 0xb6112
movq 0x1e0(%rsp), %rsi
incq %rsi
callq 0x8480
xorl %eax, %eax
addq $0x5d8, %rsp            # imm = 0x5D8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x31d74(%rip), %rdi     # 0xe7ea1
leaq 0x31d82(%rip), %rsi     # 0xe7eb6
leaq 0x31d87(%rip), %rcx     # 0xe7ec2
movl $0x97, %edx
callq 0x82c0
leaq 0x22299(%rip), %rdi     # 0xd83e5
leaq 0x31d63(%rip), %rsi     # 0xe7eb6
leaq 0x31d68(%rip), %rcx     # 0xe7ec2
movl $0xc6, %edx
callq 0x82c0
jmp 0xb661c
jmp 0xb661c
movq %rax, %r12
jmp 0xb6183
movq %rax, %r12
leaq 0x538(%rsp), %rdi
callq 0xaedf6
leaq 0x588(%rsp), %rdi
callq 0xaedf6
jmp 0xb61c1
jmp 0xb61be
movq %rax, %r12
movq 0x280(%rsp), %rdi
leaq 0x290(%rsp), %rax
cmpq %rax, %rdi
je 0xb61c1
movq 0x290(%rsp), %rsi
incq %rsi
callq 0x8480
jmp 0xb61c1
movq %rax, %r12
movq 0x150(%rsp), %rdi
testq %rdi, %rdi
je 0xb632d
movq 0x160(%rsp), %rsi
subq %rdi, %rsi
callq 0x8480
jmp 0xb632d
jmp 0xb632a
movq %rax, %r12
jmp 0xb62ca
movq %rax, %r12
jmp 0xb62c0
jmp 0xb621e
jmp 0xb6298
movq %rax, %r12
movl $0x240, %esi            # imm = 0x240
movq %rbx, %rdi
callq 0x8480
jmp 0xb633a
jmp 0xb6290
jmp 0xb6254
jmp 0xb6290
movq %rax, %r12
jmp 0xb62e6
movq %rax, %r12
jmp 0xb669d
movq %rax, %r12
jmp 0xb66aa
movq %rax, %r12
jmp 0xb66b7
jmp 0xb66c6
movq %rax, %r12
movl $0x208, %esi            # imm = 0x208
movq 0x8(%rsp), %rdi
jmp 0xb6286
jmp 0xb6290
movq %rax, %r12
movl $0x208, %esi            # imm = 0x208
movq %rbx, %rdi
jmp 0xb6286
jmp 0xb6290
movq %rax, %r12
leaq 0x330(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xb6758
movq 0x330(%rsp), %rsi
incq %rsi
callq 0x8480
jmp 0xb6758
movq %rax, %r12
jmp 0xb6758
movq %rax, %r12
jmp 0xb633a
movq %rax, %r12
movq 0xd0(%rsp), %rdi
testq %rdi, %rdi
je 0xb62c0
movq 0xe0(%rsp), %rsi
subq %rdi, %rsi
callq 0x8480
leaq 0x70(%rsp), %rdi
callq 0x3123c
movq 0x10(%rsp), %rdi
leaq 0x20(%rsp), %rax
cmpq %rax, %rdi
je 0xb62e6
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x8480
leaq 0x30(%rsp), %rdi
jmp 0xb6377
jmp 0xb62f2
movq %rax, %rdi
callq 0x287e1
movq %rax, %r12
jmp 0xb6372
movq %rax, %r12
jmp 0xb6356
jmp 0xb661c
jmp 0xb661c
movq %rax, %r12
leaq 0x320(%rsp), %rdi
callq 0x7bc6a
jmp 0xb6758
jmp 0xb6381
jmp 0xb661c
movq %rax, %r12
leaq 0xd0(%rsp), %rdi
callq 0x3123c
movq 0x30(%rsp), %rdi
leaq 0x40(%rsp), %rax
cmpq %rax, %rdi
je 0xb6356
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x8480
movq 0x10(%rsp), %rdi
leaq 0x20(%rsp), %rax
cmpq %rax, %rdi
je 0xb6372
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x8480
leaq 0x70(%rsp), %rdi
callq 0x3123c
jmp 0xb661f
movq %rax, %r12
jmp 0xb6717
jmp 0xb661c
movq %rax, %r12
jmp 0xb6463
movq %rax, %r12
jmp 0xb6422
movq %rax, %r12
jmp 0xb63d8
movq %rax, %r12
jmp 0xb63fd
movq %rax, %r12
jmp 0xb6447
movq %rax, %r12
movq 0x320(%rsp), %rdi
leaq 0x330(%rsp), %rax
cmpq %rax, %rdi
je 0xb63d8
movq 0x330(%rsp), %rsi
incq %rsi
callq 0x8480
movq 0x90(%rsp), %rdi
leaq 0xa0(%rsp), %rax
cmpq %rax, %rdi
je 0xb63fd
movq 0xa0(%rsp), %rsi
incq %rsi
callq 0x8480
movq 0x230(%rsp), %rdi
leaq 0x240(%rsp), %rax
cmpq %rax, %rdi
je 0xb6422
movq 0x240(%rsp), %rsi
incq %rsi
callq 0x8480
movq 0xb0(%rsp), %rdi
leaq 0xc0(%rsp), %rax
cmpq %rax, %rdi
je 0xb6447
movq 0xc0(%rsp), %rsi
incq %rsi
callq 0x8480
leaq 0x20(%rsp), %rax
movq 0x10(%rsp), %rdi
cmpq %rax, %rdi
je 0xb6463
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x8480
movq 0x1b0(%rsp), %rdi
leaq 0x1c0(%rsp), %rax
cmpq %rax, %rdi
je 0xb649c
movq 0x1c0(%rsp), %rsi
incq %rsi
callq 0x8480
jmp 0xb649c
movq %rax, %r12
jmp 0xb64fc
movq %rax, %r12
jmp 0xb6546
jmp 0xb64d4
movq %rax, %r12
movq 0x30(%rsp), %rdi
leaq 0x40(%rsp), %rax
cmpq %rax, %rdi
je 0xb64df
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x8480
jmp 0xb64df
movq %rax, %r12
jmp 0xb656b
jmp 0xb66c6
movq %rax, %r12
jmp 0xb65f3
movq %rax, %r12
jmp 0xb6521
movq %rax, %r12
jmp 0xb65ce
movq %rax, %r12
movq 0x1f0(%rsp), %rdi
cmpq %r14, %rdi
je 0xb64fc
movq 0x200(%rsp), %rsi
incq %rsi
callq 0x8480
movq 0x108(%rsp), %rdi
leaq 0x118(%rsp), %rax
cmpq %rax, %rdi
je 0xb6521
movq 0x118(%rsp), %rsi
incq %rsi
callq 0x8480
leaq 0x138(%rsp), %rax
movq 0x128(%rsp), %rdi
cmpq %rax, %rdi
je 0xb6546
movq 0x138(%rsp), %rsi
incq %rsi
callq 0x8480
leaq 0x180(%rsp), %rax
movq 0x170(%rsp), %rdi
cmpq %rax, %rdi
je 0xb656b
movq 0x180(%rsp), %rsi
incq %rsi
callq 0x8480
leaq 0x60(%rsp), %rax
movq 0x50(%rsp), %rdi
cmpq %rax, %rdi
je 0xb6587
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x8480
leaq 0x80(%rsp), %rax
movq 0x70(%rsp), %rdi
cmpq %rax, %rdi
je 0xb65a9
movq 0x80(%rsp), %rsi
incq %rsi
callq 0x8480
leaq 0xe0(%rsp), %rax
movq 0xd0(%rsp), %rdi
cmpq %rax, %rdi
je 0xb65ce
movq 0xe0(%rsp), %rsi
incq %rsi
callq 0x8480
movq 0x150(%rsp), %rdi
leaq 0x160(%rsp), %rax
cmpq %rax, %rdi
je 0xb65f3
movq 0x160(%rsp), %rsi
incq %rsi
callq 0x8480
movl $0x200, %esi            # imm = 0x200
movq %r15, %rdi
callq 0x8480
jmp 0xb66e0
movq %rax, %r12
jmp 0xb6587
movq %rax, %r12
jmp 0xb65a9
jmp 0xb66dd
jmp 0xb66cb
movq %rax, %r12
movq 0xb0(%rsp), %rdi
leaq 0xc0(%rsp), %rax
cmpq %rax, %rdi
je 0xb6644
movq 0xc0(%rsp), %rsi
incq %rsi
callq 0x8480
movq 0x90(%rsp), %rdi
leaq 0xa0(%rsp), %rax
cmpq %rax, %rdi
je 0xb6669
movq 0xa0(%rsp), %rsi
incq %rsi
callq 0x8480
leaq 0x50(%rsp), %rdi
callq 0x3123c
leaq 0x170(%rsp), %rdi
callq 0x3123c
movq 0x128(%rsp), %rdi
testq %rdi, %rdi
je 0xb669d
movq 0x138(%rsp), %rsi
subq %rdi, %rsi
callq 0x8480
leaq 0x108(%rsp), %rdi
callq 0xaebe6
leaq 0x1f0(%rsp), %rdi
callq 0xaec28
leaq 0x320(%rsp), %rdi
callq 0xaedf6
jmp 0xb66ed
movq %rax, %r12
jmp 0xb66ed
movq %rax, %r12
jmp 0xb6724
movq %rax, %r12
leaq 0x320(%rsp), %rdi
jmp 0xb671f
movq %rax, %r12
leaq 0x268(%rsp), %rdi
callq 0x3123c
leaq 0xf0(%rsp), %rdi
callq 0x31aa2
movq 0x210(%rsp), %rdi
testq %rdi, %rdi
je 0xb6717
movq 0x220(%rsp), %rsi
subq %rdi, %rsi
callq 0x8480
leaq 0x2a0(%rsp), %rdi
callq 0x3123c
leaq 0x3e8(%rsp), %rdi
callq 0x5ddda
leaq 0x418(%rsp), %rdi
callq 0x5de52
leaq 0x448(%rsp), %rdi
callq 0x3f5f4
leaq 0x2f0(%rsp), %rdi
callq 0x3f522
leaq 0x478(%rsp), %rdi
callq 0x7bc6a
movq 0x1d0(%rsp), %rdi
leaq 0x1e0(%rsp), %rax
cmpq %rax, %rdi
je 0xb678a
movq 0x1e0(%rsp), %rsi
incq %rsi
callq 0x8480
movq %r12, %rdi
callq 0x8840