// File: /workspace/github_cpp_makefile_star2_O1/millanek[P]evo/evo_Dmin.cpp
// Function: DminMain(int, char**)
int DminMain(int argc, char** argv) {
    parseDminOptions(argc, argv);
    string line; // for reading the input files
    
    std::istream* vcfFile = createReader(opt::vcfFile.c_str());
    std::ifstream* setsFile = new std::ifstream(opt::setsFile.c_str());
    string setsFileRoot = stripExtension(opt::setsFile);
    std::ofstream* outFileBBAA;
    std::ofstream* outFileDmin;
    std::ofstream* outFileCombine;
    std::ofstream* outFileCombineStdErr;
    if (opt::regionStart == -1) {
        outFileBBAA = new std::ofstream(setsFileRoot+ "_" + opt::runName + "_BBAA.txt");
        outFileDmin = new std::ofstream(setsFileRoot+ "_" + opt::runName + "_Dmin.txt");
        outFileCombine = new std::ofstream(setsFileRoot+ "_" + opt::runName + "_combine.txt");
        outFileCombineStdErr = new std::ofstream(setsFileRoot+ "_" + opt::runName + "_combine_stderr.txt");
    } else {
        string fileNameString = setsFileRoot+"_"+opt::runName+"_"+numToString(opt::regionStart)+"_"+numToString(opt::regionStart+opt::regionLength);
        outFileBBAA = new std::ofstream(fileNameString+"_BBAA.txt");
        outFileDmin = new std::ofstream(fileNameString+"_Dmin.txt");
        outFileCombine = new std::ofstream(fileNameString+"_combine.txt");
        outFileCombineStdErr = new std::ofstream(fileNameString+"_combine_stderr.txt");
    }
    
    std::map<string, std::vector<string>> speciesToIDsMap;
    std::map<string, string> IDsToSpeciesMap;
    std::map<string, std::vector<size_t>> speciesToPosMap;
    std::map<size_t, string> posToSpeciesMap;
    
    // Get the sample sets
    bool outgroupSpecified = false;
    while (getline(*setsFile, line)) {
       // std::cerr << line << std::endl;
        std::vector<string> ID_Species = split(line, '\t');
        if (ID_Species[1] == "Outgroup") { outgroupSpecified = true; }
        speciesToIDsMap[ID_Species[1]].push_back(ID_Species[0]);
        IDsToSpeciesMap[ID_Species[0]] = ID_Species[1];
        //std::cerr << ID_Species[1] << "\t" << ID_Species[0] << std::endl;
    }
    if (!outgroupSpecified) { std::cerr << "The file " << opt::setsFile << " needs to specify the \"Outgroup\"" << std::endl; exit(1); }
    
    // Get a vector of set names (usually species)
    std::vector<string> species;
    for(std::map<string,std::vector<string>>::iterator it = speciesToIDsMap.begin(); it != speciesToIDsMap.end(); ++it) {
        if ((it->first) != "Outgroup" && it->first != "xxx") {
            species.push_back(it->first);
            // std::cerr << it->first << std::endl;
        }
    } std::cerr << "There are " << species.size() << " sets (excluding the Outgroup)" << std::endl;
    int nCombinations = nChoosek((int)species.size(),3);
    std::cerr << "Going to calculate " << nCombinations << " Dmin values" << std::endl;
    
    
    // first, get all combinations of three sets (species):
    std::vector<std::vector<string>> trios; trios.resize(nCombinations);
    std::vector<std::vector<int>> triosInt; triosInt.resize(nCombinations);
    std::vector<bool> v(species.size()); std::fill(v.begin(), v.begin() + 3, true); // prepare a selection vector
    int pNum = 0;
    do {
        for (int i = 0; i < v.size(); ++i) {
            if (v[i]) { trios[pNum].push_back(species[i]); triosInt[pNum].push_back(i); }
        } pNum++;
    } while (std::prev_permutation(v.begin(), v.end())); // Getting all permutations of the selection vector - so it selects all combinations
    std::cerr << "Done permutations" << std::endl;
    
    // And need to prepare the vectors to hold the D values:
    std::vector<double> init(3,0.0); // Vector of initial values
    std::vector<std::vector<double>> initDs(3); // vector with three empty (double) vectors
  //  std::vector<std::vector<double>> Dnums; Dnums.assign(nCombinations,init);
  //  std::vector<std::vector<double>> Ddenoms; Ddenoms.assign(nCombinations,init);
   // std::vector<std::vector<double>> localDnums; localDnums.assign(nCombinations,init);
    //std::vector<std::vector<double>> localDdenoms; localDdenoms.assign(nCombinations,init);
    std::vector<std::vector<std::vector<double>>> regionDs; regionDs.assign(nCombinations, initDs);
    std::vector<double> allPs(species.size(),0.0);
    std::vector<double> ABBAtotals(nCombinations,0); std::vector<double> BABAtotals(nCombinations,0);
    std::vector<double> BBAAtotals(nCombinations,0);
    std::vector<double> localABBAtotals(nCombinations,0); std::vector<double> localBABAtotals(nCombinations,0);
    std::vector<double> localBBAAtotals(nCombinations,0);
    std::vector<int> usedVars(nCombinations,0); // Will count the number of used variants for each trio
    int totalVariantNumber = 0;
    std::vector<string> sampleNames; std::vector<std::string> fields;
    // Find out how often to report progress, based on the number of trios
    int reportProgressEvery; if (nCombinations < 1000) reportProgressEvery = 100000;
    else if (nCombinations < 100000) reportProgressEvery = 10000;
    else reportProgressEvery = 1000;
    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++) {
                posToSpeciesMap[i] = IDsToSpeciesMap[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 = speciesToIDsMap.begin(); it != speciesToIDsMap.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());
                }
                speciesToPosMap[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 (opt::regionStart != -1) {
                if (totalVariantNumber < opt::regionStart)
                    continue;
                if (totalVariantNumber > (opt::regionStart+opt::regionLength)) {
                    std::cerr << "DONE" << std::endl; break;
                }
            }
            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');
            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) {
                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(speciesToPosMap, (int)genotypes.size());
            c->getSetVariantCounts(genotypes, posToSpeciesMap);
            genotypes.clear(); genotypes.shrink_to_fit();
            durationGettingCounts = ( std::clock() - startGettingCounts ) / (double) CLOCKS_PER_SEC;
           // std::cerr << "Here:" << totalVariantNumber << std::endl;
            
            startCalculation = std::clock();
            double p_O = c->setDAFs.at("Outgroup");
            if (p_O == -1) { delete c; continue; } // We need to make sure that the outgroup is defined
            
            
            //std::vector<double> allPs;
            for (std::vector<std::string>::size_type i = 0; i != species.size(); i++) {
                allPs[i] = c->setDAFs.at(species[i]);
            }
            // durationFirstLoop = ( std::clock() - startCalculation ) / (double) CLOCKS_PER_SEC;
            
            // Now calculate the D stats:
            double p_S1; double p_S2; double p_S3; double ABBA; double BABA; double BBAA;
            for (int i = 0; i != trios.size(); i++) {
                p_S1 = allPs[triosInt[i][0]];  // double pS1test = c->setDAFs.at(trios[i][0]); assert(p_S1 == pS1test);
                if (p_S1 == -1) continue;  // If any member of the trio has entirely missing data, just move on to the next trio
                p_S2 = allPs[triosInt[i][1]];  // double pS2test = c->setDAFs.at(trios[i][1]); assert(p_S2 == pS2test);
                if (p_S2 == -1) continue;
                p_S3 = allPs[triosInt[i][2]];  // double pS3test = c->setDAFs.at(trios[i][2]); assert(p_S3 == pS3test);
                if (p_S3 == -1) continue;
                usedVars[i]++;
                
                ABBA = ((1-p_S1)*p_S2*p_S3*(1-p_O)); ABBAtotals[i] += ABBA; localABBAtotals[i] += ABBA;
                BABA = (p_S1*(1-p_S2)*p_S3*(1-p_O)); BABAtotals[i] += BABA; localBABAtotals[i] += BABA;
                BBAA = ((1-p_S3)*p_S2*p_S1*(1-p_O)); BBAAtotals[i] += BBAA; localBBAAtotals[i] += BBAA;
             //   if (p_O == 0.0) {
               //Dnums[i][0] += ABBA - BABA;
               // Dnums[i][1] += ABBA - BBAA;  // Dnums[i][1] += ((1-p_S1)*p_S3*p_S2*(1-p_O)) - (p_S1*(1-p_S3)*p_S2*(1-p_O));
               // Dnums[i][2] += BBAA - BABA;  // Dnums[i][2] += ((1-p_S3)*p_S2*p_S1*(1-p_O)) - (p_S3*(1-p_S2)*p_S1*(1-p_O));

                //Ddenoms[i][0] += ABBA + BABA;
                //Ddenoms[i][1] += ABBA + BBAA;   // ((1-p_S1)*p_S3*p_S2*(1-p_O)) + (p_S1*(1-p_S3)*p_S2*(1-p_O));
                //Ddenoms[i][2] += BBAA + BABA; // ((1-p_S3)*p_S2*p_S1*(1-p_O)) + (p_S3*(1-p_S2)*p_S1*(1-p_O));
                
                // localDnums[i][0] += ABBA - BABA; localDnums[i][1] += ABBA - BBAA; localDnums[i][2] += BBAA - BABA;
                // localDdenoms[i][0] += ABBA + BABA; localDdenoms[i][1] += ABBA + BBAA; localDdenoms[i][2] += BBAA + BABA;
               if (usedVars[i] % opt::jkWindowSize == 0) {
                    double localDnums1 = localABBAtotals[i] - localBABAtotals[i]; double localDnums2 = localABBAtotals[i] - localBBAAtotals[i]; double localDnums3 = localBBAAtotals[i] - localBABAtotals[i];
                    double localDdenoms1 = localABBAtotals[i] + localBABAtotals[i]; double localDdenoms2 = localABBAtotals[i] + localBBAAtotals[i]; double localDdenoms3 = localBBAAtotals[i] + localBABAtotals[i];
                    double regionD0 = localDnums1/localDdenoms1; double regionD1 = localDnums2/localDdenoms2;
                    double regionD2 = localDnums3/localDdenoms3;
                    regionDs[i][0].push_back(regionD0); regionDs[i][1].push_back(regionD1); regionDs[i][2].push_back(regionD2);
                    //localDnums[i][0] = 0; localDnums[i][1] = 0; localDnums[i][2] = 0;
                    //localDdenoms[i][0] = 0; localDdenoms[i][1] = 0; localDdenoms[i][2] = 0;
                    localABBAtotals[i] = 0; localBABAtotals[i] = 0; localBBAAtotals[i] = 0;
                }
            // }
            }
            durationCalculation = ( std::clock() - startCalculation ) / (double) CLOCKS_PER_SEC;
            delete c;
        }
    }
    
    
    for (int i = 0; i != trios.size(); i++) { //
        // Get the standard error values:
        double D1stdErr = jackknive_std_err(regionDs[i][0]); double D2stdErr = jackknive_std_err(regionDs[i][1]);
        double D3stdErr = jackknive_std_err(regionDs[i][2]);
        // Get the D values
        //Dnums[i][0] = ABBAtotals[i] - BABAtotals[i]; Dnums[i][1] = ABBAtotals[i] - BBAAtotals[i]; Dnums[i][2] = BBAAtotals[i] - BABAtotals[i];
        double Dnum1 = ABBAtotals[i] - BABAtotals[i]; // assert(Dnum1 == Dnums[i][0]);
        double Dnum2 = ABBAtotals[i] - BBAAtotals[i]; // assert(Dnum2 == Dnums[i][1]);
        double Dnum3 = BBAAtotals[i] - BABAtotals[i]; // assert(Dnum3 == Dnums[i][2]);
        // Ddenoms[i][0] = ABBAtotals[i] + BABAtotals[i]; Ddenoms[i][1] = ABBAtotals[i] + BBAAtotals[i]; Ddenoms[i][2] = BBAAtotals[i] + BABAtotals[i];
        double Ddenom1 = ABBAtotals[i] + BABAtotals[i]; // assert(Ddenom1 == Ddenoms[i][0]);
        double Ddenom2 = ABBAtotals[i] + BBAAtotals[i]; // assert(Ddenom2 == Ddenoms[i][1]);
        double Ddenom3 = BBAAtotals[i] + BABAtotals[i]; // assert(Ddenom3 == Ddenoms[i][2]);
        double D1 = Dnum1/Ddenom1; double D2 = Dnum2/Ddenom2; double D3 = Dnum3/Ddenom3;
        // Get the Z-scores
        double D1_Z = fabs(D1)/D1stdErr; double D2_Z = fabs(D2)/D2stdErr;
        double D3_Z = fabs(D3)/D3stdErr;
        
        
        // Find which topology is in agreement with the counts of the BBAA, BABA, and ABBA patterns
        if (BBAAtotals[i] >= BABAtotals[i] && BBAAtotals[i] >= ABBAtotals[i]) {
            if (D1 >= 0)
                *outFileBBAA << trios[i][0] << "\t" << trios[i][1] << "\t" << trios[i][2];
            else
                *outFileBBAA << trios[i][1] << "\t" << trios[i][0] << "\t" << trios[i][2];
            *outFileBBAA << "\t" << fabs(D1) << "\t" << D1_Z << "\t";
            *outFileBBAA << BBAAtotals[i] << "\t" << BABAtotals[i] << "\t" << ABBAtotals[i] << std::endl;
        } else if (BABAtotals[i] >= BBAAtotals[i] && BABAtotals[i] >= ABBAtotals[i]) {
            if (D2 >= 0)
                *outFileBBAA << trios[i][0] << "\t" << trios[i][2] << "\t" << trios[i][1];
            else
                *outFileBBAA << trios[i][2] << "\t" << trios[i][0] << "\t" << trios[i][1];
            *outFileBBAA << "\t" << fabs(D2) << "\t" << D2_Z << "\t";
            *outFileBBAA << BABAtotals[i] << "\t" << BBAAtotals[i] << "\t" << ABBAtotals[i] << std::endl;
        } else if (ABBAtotals[i] >= BBAAtotals[i] && ABBAtotals[i] >= BABAtotals[i]) {
            if (D3 >= 0)
                *outFileBBAA << trios[i][2] << "\t" << trios[i][1] << "\t" << trios[i][0];
            else
                *outFileBBAA << trios[i][1] << "\t" << trios[i][2] << "\t" << trios[i][0];
            *outFileBBAA << "\t" << fabs(D3) << "\t" << D3_Z << "\t";
            *outFileBBAA << ABBAtotals[i] << "\t" << BABAtotals[i] << "\t" << BBAAtotals[i] << std::endl;
        }
        
        // Find Dmin:
        if (fabs(D1) <= fabs(D2) && fabs(D1) <= fabs(D3)) { // (P3 == S3)
            if (D1 >= 0)
                *outFileDmin << trios[i][0] << "\t" << trios[i][1] << "\t" << trios[i][2] << "\t" << D1 << "\t" << D1_Z << "\t" << std::endl;
            else
                *outFileDmin << trios[i][1] << "\t" << trios[i][0] << "\t" << trios[i][2] << "\t" << fabs(D1) << "\t" << D1_Z << "\t"<< std::endl;
           // if (BBAAtotals[i] < BABAtotals[i] || BBAAtotals[i] < ABBAtotals[i])
           //     std::cerr << "\t" << "WARNING: Dmin tree different from DAF tree" << std::endl;
        } else if (fabs(D2) <= fabs(D1) && fabs(D2) <= fabs(D3)) { // (P3 == S2)
            if (D2 >= 0)
                *outFileDmin << trios[i][0] << "\t" << trios[i][2] << "\t" << trios[i][1] << "\t" << D2 << "\t" << D2_Z << "\t"<< std::endl;
            else
                *outFileDmin << trios[i][2] << "\t" << trios[i][0] << "\t" << trios[i][1] << "\t" << fabs(D2) << "\t" << D2_Z << "\t"<< std::endl;
           // if (BABAtotals[i] < BBAAtotals[i] || BABAtotals[i] < ABBAtotals[i])
           //     std::cerr << "\t" << "WARNING: Dmin tree different from DAF tree" << std::endl;
        } else if (fabs(D3) <= fabs(D1) && fabs(D3) <= fabs(D2)) { // (P3 == S1)
            if (D3 >= 0)
                *outFileDmin << trios[i][2] << "\t" << trios[i][1] << "\t" << trios[i][0] << "\t" << D3 << "\t" << D3_Z << "\t"<< std::endl;
            else
                *outFileDmin << trios[i][1] << "\t" << trios[i][2] << "\t" << trios[i][0] << "\t" << fabs(D3) << "\t" << D3_Z << "\t" << std::endl;;
           // if (ABBAtotals[i] < BBAAtotals[i] || ABBAtotals[i] < BABAtotals[i])
           //     std::cerr << "\t" << "WARNING: Dmin tree different from DAF tree" << std::endl;
        }
        
        // Output a simple file that can be used for combining multiple local runs:
        *outFileCombine << trios[i][0] << "\t" << trios[i][1] << "\t" << trios[i][2] << "\t" << BBAAtotals[i] << "\t" << BABAtotals[i] << "\t" << ABBAtotals[i] << std::endl;
        print_vector(regionDs[i][0], *outFileCombineStdErr, ',', false); *outFileCombineStdErr << "\t"; print_vector(regionDs[i][1], *outFileCombineStdErr, ',', false); *outFileCombineStdErr << "\t";
        print_vector(regionDs[i][2], *outFileCombineStdErr, ',',false); *outFileCombineStdErr << std::endl;
        
        //std::cerr << trios[i][0] << "\t" << trios[i][1] << "\t" << trios[i][2] << "\t" << D1 << "\t" << D2 << "\t" << D3 << "\t" << BBAAtotals[i] << "\t" << BABAtotals[i] << "\t" << ABBAtotals[i] << std::endl;
    }
    return 0;
    
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x448, %rsp            # imm = 0x448
callq 0xa56ce
leaq 0x290(%rsp), %rax
movq %rax, -0x10(%rax)
movq $0x0, -0x8(%rax)
movb $0x0, (%rax)
movq 0x6b06c(%rip), %rsi     # 0x10ccf0
leaq 0xa8(%rsp), %rdi
leaq 0x30(%rsp), %rdx
callq 0x286de
leaq 0xa8(%rsp), %rdi
movl $0x8, %esi
callq 0x53224
movq %rax, %r14
leaq 0xb8(%rsp), %rbx
movq -0x10(%rbx), %rdi
cmpq %rbx, %rdi
je 0xa1ccc
movq 0xb8(%rsp), %rsi
incq %rsi
callq 0x8480
movl $0x208, %edi            # imm = 0x208
callq 0x8470
movq 0x6b033(%rip), %rsi     # 0x10cd10
movq %rax, 0x130(%rsp)
movq %rax, %rdi
movl $0x8, %edx
callq 0x8860
leaq 0x6b017(%rip), %rsi     # 0x10cd10
leaq 0x208(%rsp), %rdi
callq 0x50803
cmpl $-0x1, 0x6989f(%rip)    # 0x10b5ac
movq %r14, 0x270(%rsp)
je 0xa1da1
leaq 0x20(%rsp), %r14
movq %r14, -0x10(%r14)
movq 0x208(%rsp), %rsi
movq 0x210(%rsp), %rdx
addq %rsi, %rdx
leaq 0x10(%rsp), %rdi
callq 0x2e45c
leaq 0x397f4(%rip), %rsi     # 0xdb53c
leaq 0x10(%rsp), %rdi
callq 0x88c0
movq 0x6afd7(%rip), %rsi     # 0x10cd30
movq 0x6afd8(%rip), %rdx     # 0x10cd38
leaq 0x10(%rsp), %rdi
callq 0x8180
leaq 0x150(%rsp), %r13
movq %r13, -0x10(%r13)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0xa1e3a
movq %rdx, 0x140(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x150(%rsp)
jmp 0xa1e44
movl $0x200, %edi            # imm = 0x200
callq 0x8470
movq %rax, 0x8(%rsp)
leaq 0x100(%rsp), %r14
movq %r14, -0x10(%r14)
movq 0x208(%rsp), %rsi
movq 0x210(%rsp), %rdx
addq %rsi, %rdx
leaq 0xf0(%rsp), %rdi
callq 0x2e45c
leaq 0x39759(%rip), %rsi     # 0xdb53c
leaq 0xf0(%rsp), %rdi
callq 0x88c0
movq 0x6af39(%rip), %rsi     # 0x10cd30
movq 0x6af3a(%rip), %rdx     # 0x10cd38
leaq 0xf0(%rsp), %rdi
callq 0x8180
leaq 0x40(%rsp), %r12
movq %r12, -0x10(%r12)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0xa238e
movq %rdx, 0x30(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x40(%rsp)
jmp 0xa2398
movupd (%rcx), %xmm0
movupd %xmm0, (%r13)
movq 0x8(%rax), %rdx
leaq 0x140(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x396d2(%rip), %rsi     # 0xdb53c
callq 0x88c0
leaq 0x300(%rsp), %rbp
movq %rbp, -0x10(%rbp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0xa1e9f
movq %rdx, 0x2f0(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x300(%rsp)
jmp 0xa1ea8
movupd (%rcx), %xmm0
movupd %xmm0, (%rbp)
movq 0x8(%rax), %rdx
movq %rdx, 0x2f8(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movl 0x696e3(%rip), %esi     # 0x10b5ac
leaq 0x88(%rsp), %rdi
callq 0x31297
movq 0x2f0(%rsp), %rcx
movq 0x2f8(%rsp), %r8
movq 0x90(%rsp), %rdx
leaq (%rdx,%r8), %rax
movl $0xf, %esi
cmpq %rbp, %rcx
je 0xa1f04
movq 0x300(%rsp), %rsi
cmpq %rsi, %rax
jbe 0xa1f29
leaq 0x98(%rsp), %rdi
movl $0xf, %esi
cmpq %rdi, -0x10(%rdi)
je 0xa1f24
movq 0x98(%rsp), %rsi
cmpq %rsi, %rax
jbe 0xa1f40
movq 0x88(%rsp), %rsi
leaq 0x2f0(%rsp), %rdi
callq 0x8180
jmp 0xa1f51
leaq 0x88(%rsp), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x84d0
leaq 0x100(%rsp), %rdx
movq %rdx, -0x10(%rdx)
movq (%rax), %rsi
leaq 0x10(%rax), %rcx
cmpq %rcx, %rsi
je 0xa1f7e
movq %rsi, 0xf0(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x100(%rsp)
jmp 0xa1f86
movupd (%rcx), %xmm0
movupd %xmm0, (%rdx)
movq %rax, %rdx
addq $0x8, %rdx
movq 0x8(%rax), %rsi
movq %rsi, 0xf8(%rsp)
movq %rcx, (%rax)
movq $0x0, (%rdx)
movb $0x0, (%rcx)
leaq 0x3958f(%rip), %rsi     # 0xdb53c
leaq 0xf0(%rsp), %rdi
callq 0x88c0
leaq 0x40(%rsp), %r12
movq %r12, -0x10(%r12)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0xa1fe2
movq %rdx, 0x30(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x40(%rsp)
jmp 0xa1fec
movupd (%rcx), %xmm0
movupd %xmm0, (%r12)
movq 0x8(%rax), %rdx
movq %rdx, 0x38(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movl 0x695a6(%rip), %esi     # 0x10b5b0
addl 0x6959c(%rip), %esi     # 0x10b5ac
leaq 0x1b0(%rsp), %rdi
callq 0x31297
movq 0x30(%rsp), %rcx
movq 0x38(%rsp), %r8
movq 0x1b8(%rsp), %rdx
leaq (%rdx,%r8), %rax
movl $0xf, %esi
cmpq %r12, %rcx
je 0xa2042
movq 0x40(%rsp), %rsi
cmpq %rsi, %rax
jbe 0xa2067
leaq 0x1c0(%rsp), %rdi
movl $0xf, %esi
cmpq %rdi, -0x10(%rdi)
je 0xa2062
movq 0x1c0(%rsp), %rsi
cmpq %rsi, %rax
jbe 0xa207b
movq 0x1b0(%rsp), %rsi
leaq 0x30(%rsp), %rdi
callq 0x8180
jmp 0xa208c
leaq 0x1b0(%rsp), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x84d0
movq %rbx, 0xa8(%rsp)
movq (%rax), %rdx
leaq 0x10(%rax), %rcx
cmpq %rcx, %rdx
je 0xa20b5
movq %rdx, 0xa8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0xb8(%rsp)
jmp 0xa20bd
movupd (%rcx), %xmm0
movupd %xmm0, (%rbx)
movq %rax, %rdx
addq $0x8, %rdx
movq 0x8(%rax), %rsi
movq %rsi, 0xb0(%rsp)
movq %rcx, (%rax)
movq $0x0, (%rdx)
movb $0x0, (%rcx)
leaq 0x1c0(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xa20fe
movq 0x1c0(%rsp), %rsi
incq %rsi
callq 0x8480
movq 0x30(%rsp), %rdi
cmpq %r12, %rdi
je 0xa2115
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x8480
leaq 0x100(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xa2136
movq 0x100(%rsp), %rsi
incq %rsi
callq 0x8480
leaq 0x98(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xa2157
movq 0x98(%rsp), %rsi
incq %rsi
callq 0x8480
movq 0x2f0(%rsp), %rdi
cmpq %rbp, %rdi
je 0xa2174
movq 0x300(%rsp), %rsi
incq %rsi
callq 0x8480
movq 0x140(%rsp), %rdi
cmpq %r13, %rdi
je 0xa2191
movq 0x150(%rsp), %rsi
incq %rsi
callq 0x8480
movq 0x10(%rsp), %rdi
cmpq %r14, %rdi
je 0xa21a8
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x8480
movl $0x200, %edi            # imm = 0x200
callq 0x8470
movq %rax, 0x8(%rsp)
movq 0x130(%rsp), %r14
leaq 0x30(%rsp), %rdi
movq %r12, (%rdi)
movq 0xa8(%rsp), %rsi
movq 0xb0(%rsp), %rdx
addq %rsi, %rdx
callq 0x2e45c
leaq 0x43129(%rip), %rsi     # 0xe530f
leaq 0x30(%rsp), %rdi
callq 0x88c0
leaq 0x30(%rsp), %rsi
movq 0x8(%rsp), %rdi
movl $0x10, %edx
callq 0x88d0
movq 0x30(%rsp), %rdi
cmpq %r12, %rdi
je 0xa221b
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x8480
movl $0x200, %edi            # imm = 0x200
callq 0x8470
movq %rax, 0x80(%rsp)
leaq 0x30(%rsp), %rdi
movq %r12, (%rdi)
movq 0xa8(%rsp), %rsi
movq 0xb0(%rsp), %rdx
addq %rsi, %rdx
callq 0x2e45c
leaq 0x430c5(%rip), %rsi     # 0xe5319
leaq 0x30(%rsp), %rdi
callq 0x88c0
leaq 0x30(%rsp), %rsi
movq 0x80(%rsp), %rdi
movl $0x10, %edx
callq 0x88d0
movq 0x30(%rsp), %rdi
cmpq %r12, %rdi
je 0xa228c
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x8480
movl $0x200, %edi            # imm = 0x200
callq 0x8470
movq %rax, 0x168(%rsp)
leaq 0x30(%rsp), %rdi
movq %r12, (%rdi)
movq 0xa8(%rsp), %rsi
movq 0xb0(%rsp), %rdx
addq %rsi, %rdx
callq 0x2e45c
leaq 0x4305e(%rip), %rsi     # 0xe5323
leaq 0x30(%rsp), %rdi
callq 0x88c0
leaq 0x30(%rsp), %rsi
movq 0x168(%rsp), %rdi
movl $0x10, %edx
callq 0x88d0
movq 0x30(%rsp), %rdi
cmpq %r12, %rdi
je 0xa22fd
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x8480
movl $0x200, %edi            # imm = 0x200
callq 0x8470
movq %rax, 0x78(%rsp)
leaq 0x30(%rsp), %rdi
movq %r12, (%rdi)
movq 0xa8(%rsp), %rsi
movq 0xb0(%rsp), %rdx
addq %rsi, %rdx
callq 0x2e45c
leaq 0x42ffd(%rip), %rsi     # 0xe5330
leaq 0x30(%rsp), %rdi
callq 0x88c0
leaq 0x30(%rsp), %rsi
movq 0x78(%rsp), %rdi
movl $0x10, %edx
callq 0x88d0
movq 0x30(%rsp), %rdi
cmpq %r12, %rdi
je 0xa2368
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x8480
movq 0xa8(%rsp), %rdi
cmpq %rbx, %rdi
je 0xa28c2
movq 0xb8(%rsp), %rsi
incq %rsi
callq 0x8480
jmp 0xa28c2
movupd (%rcx), %xmm0
movupd %xmm0, (%r12)
movq 0x8(%rax), %rdx
leaq 0x30(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x42f54(%rip), %rsi     # 0xe530f
callq 0x88c0
movq %rbx, 0xa8(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0xa23ec
movq %rdx, 0xa8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0xb8(%rsp)
jmp 0xa23f4
movupd (%rcx), %xmm0
movupd %xmm0, (%rbx)
movq 0x8(%rax), %rdx
leaq 0xa8(%rsp), %rsi
movq %rdx, 0x8(%rsi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x8(%rsp), %rdi
movl $0x10, %edx
callq 0x88d0
movq 0xa8(%rsp), %rdi
cmpq %rbx, %rdi
je 0xa243f
movq 0xb8(%rsp), %rsi
incq %rsi
callq 0x8480
movq 0x30(%rsp), %rdi
cmpq %r12, %rdi
je 0xa2456
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x8480
movq 0xf0(%rsp), %rdi
cmpq %r14, %rdi
je 0xa2473
movq 0x100(%rsp), %rsi
incq %rsi
callq 0x8480
movl $0x200, %edi            # imm = 0x200
callq 0x8470
movq %rax, 0x80(%rsp)
leaq 0xf0(%rsp), %rdi
movq %r14, (%rdi)
movq 0x208(%rsp), %rsi
movq 0x210(%rsp), %rdx
addq %rsi, %rdx
callq 0x2e45c
leaq 0x3908d(%rip), %rsi     # 0xdb53c
leaq 0xf0(%rsp), %rdi
callq 0x88c0
movq 0x6a86d(%rip), %rsi     # 0x10cd30
movq 0x6a86e(%rip), %rdx     # 0x10cd38
leaq 0xf0(%rsp), %rdi
callq 0x8180
movq %r12, 0x30(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0xa24fa
movq %rdx, 0x30(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x40(%rsp)
jmp 0xa2504
movupd (%rcx), %xmm0
movupd %xmm0, (%r12)
movq 0x8(%rax), %rdx
leaq 0x30(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x42df2(%rip), %rsi     # 0xe5319
callq 0x88c0
movq %rbx, 0xa8(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0xa2558
movq %rdx, 0xa8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0xb8(%rsp)
jmp 0xa2560
movupd (%rcx), %xmm0
movupd %xmm0, (%rbx)
movq 0x8(%rax), %rdx
leaq 0xa8(%rsp), %rsi
movq %rdx, 0x8(%rsi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x80(%rsp), %rdi
movl $0x10, %edx
callq 0x88d0
movq 0xa8(%rsp), %rdi
cmpq %rbx, %rdi
je 0xa25ae
movq 0xb8(%rsp), %rsi
incq %rsi
callq 0x8480
movq 0x30(%rsp), %rdi
cmpq %r12, %rdi
je 0xa25c5
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x8480
movq 0xf0(%rsp), %rdi
cmpq %r14, %rdi
je 0xa25e2
movq 0x100(%rsp), %rsi
incq %rsi
callq 0x8480
movl $0x200, %edi            # imm = 0x200
callq 0x8470
movq %rax, 0x168(%rsp)
leaq 0xf0(%rsp), %rdi
movq %r14, (%rdi)
movq 0x208(%rsp), %rsi
movq 0x210(%rsp), %rdx
addq %rsi, %rdx
callq 0x2e45c
leaq 0x38f1e(%rip), %rsi     # 0xdb53c
leaq 0xf0(%rsp), %rdi
callq 0x88c0
movq 0x6a6fe(%rip), %rsi     # 0x10cd30
movq 0x6a6ff(%rip), %rdx     # 0x10cd38
leaq 0xf0(%rsp), %rdi
callq 0x8180
movq %r12, 0x30(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0xa2669
movq %rdx, 0x30(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x40(%rsp)
jmp 0xa2673
movupd (%rcx), %xmm0
movupd %xmm0, (%r12)
movq 0x8(%rax), %rdx
leaq 0x30(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x42c8d(%rip), %rsi     # 0xe5323
callq 0x88c0
movq %rbx, 0xa8(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0xa26c7
movq %rdx, 0xa8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0xb8(%rsp)
jmp 0xa26cf
movupd (%rcx), %xmm0
movupd %xmm0, (%rbx)
movq 0x8(%rax), %rdx
leaq 0xa8(%rsp), %rsi
movq %rdx, 0x8(%rsi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x168(%rsp), %rdi
movl $0x10, %edx
callq 0x88d0
movq 0xa8(%rsp), %rdi
cmpq %rbx, %rdi
je 0xa271d
movq 0xb8(%rsp), %rsi
incq %rsi
callq 0x8480
movq 0x30(%rsp), %rdi
cmpq %r12, %rdi
je 0xa2734
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x8480
movq 0xf0(%rsp), %rdi
cmpq %r14, %rdi
je 0xa2751
movq 0x100(%rsp), %rsi
incq %rsi
callq 0x8480
movl $0x200, %edi            # imm = 0x200
callq 0x8470
movq %rax, 0x78(%rsp)
leaq 0xf0(%rsp), %rdi
movq %r14, (%rdi)
movq 0x208(%rsp), %rsi
movq 0x210(%rsp), %rdx
addq %rsi, %rdx
callq 0x2e45c
leaq 0x38db2(%rip), %rsi     # 0xdb53c
leaq 0xf0(%rsp), %rdi
callq 0x88c0
movq 0x6a592(%rip), %rsi     # 0x10cd30
movq 0x6a593(%rip), %rdx     # 0x10cd38
leaq 0xf0(%rsp), %rdi
callq 0x8180
movq %r12, 0x30(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0xa27d5
movq %rdx, 0x30(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x40(%rsp)
jmp 0xa27df
movupd (%rcx), %xmm0
movupd %xmm0, (%r12)
movq 0x8(%rax), %rdx
leaq 0x30(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x42b2e(%rip), %rsi     # 0xe5330
callq 0x88c0
movq %rbx, 0xa8(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0xa2833
movq %rdx, 0xa8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0xb8(%rsp)
jmp 0xa283b
movupd (%rcx), %xmm0
movupd %xmm0, (%rbx)
movq 0x8(%rax), %rdx
leaq 0xa8(%rsp), %rsi
movq %rdx, 0x8(%rsi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x78(%rsp), %rdi
movl $0x10, %edx
callq 0x88d0
movq 0xa8(%rsp), %rdi
cmpq %rbx, %rdi
je 0xa2886
movq 0xb8(%rsp), %rsi
incq %rsi
callq 0x8480
movq 0x30(%rsp), %rdi
cmpq %r12, %rdi
je 0xa289d
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x8480
movq 0xf0(%rsp), %rdi
cmpq %r14, %rdi
je 0xa28ba
movq 0x100(%rsp), %rsi
incq %rsi
callq 0x8480
movq 0x130(%rsp), %r14
leaq 0xb0(%rsp), %rax
xorl %ebx, %ebx
movl %ebx, (%rax)
movq %rbx, 0x8(%rax)
movq %rax, 0x10(%rax)
movq %rax, 0x18(%rax)
movq %rbx, 0x20(%rax)
leaq 0x38(%rsp), %rax
movl %ebx, (%rax)
movq %rbx, 0x8(%rax)
movq %rax, 0x10(%rax)
movq %rax, 0x18(%rax)
movq %rbx, 0x20(%rax)
leaq 0xf8(%rsp), %rax
movl %ebx, (%rax)
movq %rbx, 0x8(%rax)
movq %rax, 0x10(%rax)
movq %rax, 0x18(%rax)
movq %rbx, 0x20(%rax)
leaq 0x2f8(%rsp), %rax
movl %ebx, (%rax)
movq %rbx, 0x8(%rax)
movq %rax, 0x10(%rax)
movq %rax, 0x18(%rax)
movq %rbx, 0x20(%rax)
leaq 0x280(%rsp), %r15
leaq 0x140(%rsp), %r13
leaq 0xa8(%rsp), %rbp
leaq 0x30(%rsp), %r12
movq (%r14), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x8450
movsbl %al, %edx
movq %r14, %rdi
movq %r15, %rsi
callq 0x8870
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
testb $0x5, 0x20(%rax,%rcx)
jne 0xa2a0a
movq %r13, %rdi
movq %r15, %rsi
movl $0x9, %edx
callq 0x50624
movq 0x140(%rsp), %rdi
addq $0x20, %rdi
leaq 0x345cd(%rip), %rsi     # 0xd6f6a
callq 0x8160
testl %eax, %eax
movzbl %bl, %ebx
movl $0x1, %eax
cmovel %eax, %ebx
movq 0x140(%rsp), %rsi
addq $0x20, %rsi
movq %rbp, %rdi
callq 0x49f44
movq 0x140(%rsp), %rsi
movq %rax, %rdi
callq 0x33db0
movq 0x140(%rsp), %r14
movq %r12, %rdi
movq %r14, %rsi
callq 0x3e394
addq $0x20, %r14
movq %rax, %rdi
movq %r14, %rsi
callq 0x8270
movq %r13, %rdi
callq 0x3123c
movq 0x130(%rsp), %r14
jmp 0xa2946
testb $0x1, %bl
je 0xa4de6
xorpd %xmm0, %xmm0
movapd %xmm0, 0x190(%rsp)
movq $0x0, 0x1a0(%rsp)
movq 0xc0(%rsp), %rbx
leaq 0xb0(%rsp), %rax
cmpq %rax, %rbx
je 0xa2a9c
leaq 0x34522(%rip), %r14     # 0xd6f6a
leaq 0x35801(%rip), %r15     # 0xd8250
leaq 0x190(%rsp), %r12
leaq 0x20(%rbx), %r13
movq %r13, %rdi
movq %r14, %rsi
callq 0x8160
testl %eax, %eax
je 0xa2a84
movq %r13, %rdi
movq %r15, %rsi
callq 0x8160
testl %eax, %eax
je 0xa2a84
movq %r12, %rdi
movq %r13, %rsi
callq 0x33db0
movq %rbx, %rdi
callq 0x8310
movq %rax, %rbx
leaq 0xb0(%rsp), %rax
cmpq %rax, %rbx
jne 0xa2a57
movq 0x68545(%rip), %rdi     # 0x10afe8
leaq 0x47447(%rip), %rsi     # 0xe9ef1
movl $0xa, %edx
callq 0x84e0
movq 0x198(%rsp), %rsi
subq 0x190(%rsp), %rsi
sarq $0x5, %rsi
movq 0x68519(%rip), %rdi     # 0x10afe8
callq 0x82f0
movq %rax, %rbx
leaq 0x3b7c6(%rip), %rsi     # 0xde2a4
movl $0x1e, %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
movq 0x198(%rsp), %rax
subq 0x190(%rsp), %rax
shrq $0x5, %rax
xorl %ebp, %ebp
cmpl $0x3, %eax
jb 0xa2b79
leal -0x3(%rax), %edx
cmpl $0x6, %eax
movl $0x3, %ecx
cmovbl %edx, %ecx
testl %ecx, %ecx
je 0xa2b48
cmpl $0x1, %ecx
jne 0xa2b4f
movl %eax, %ebp
jmp 0xa2b79
movl $0x1, %ebp
jmp 0xa2b79
cmpl $0x3, %ecx
movl $0x2, %esi
cmovbl %esi, %ecx
negl %ecx
leal -0x1(%rax), %edi
movl %eax, %ebp
imull %edi, %ebp
movl %ebp, %eax
cltd
idivl %esi
leal (%rcx,%rsi), %edx
incl %edx
incl %esi
decl %edi
movl %eax, %ebp
cmpl $0x1, %edx
jne 0xa2b61
movq 0x68468(%rip), %rdi     # 0x10afe8
leaq 0x427e8(%rip), %rsi     # 0xe536f
movl $0x13, %edx
callq 0x84e0
movq 0x68450(%rip), %rdi     # 0x10afe8
movl %ebp, %esi
callq 0x8810
movq %rax, %rbx
leaq 0x427da(%rip), %rsi     # 0xe5383
movl $0xc, %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 0x60(%rsp), %rdi
movapd %xmm0, (%rdi)
movq $0x0, 0x10(%rdi)
movslq %ebp, %rbx
movq %rbx, %rsi
callq 0x49cfa
leaq 0x400(%rsp), %rdi
xorpd %xmm0, %xmm0
movapd %xmm0, (%rdi)
movq $0x0, 0x10(%rdi)
movq %rbx, %rsi
callq 0x9b8c2
movq %rbx, 0x120(%rsp)
movl %ebp, 0x130(%rsp)
movq 0x198(%rsp), %rsi
subq 0x190(%rsp), %rsi
sarq $0x5, %rsi
leaq 0x10(%rsp), %rdx
movb $0x0, (%rdx)
leaq 0x140(%rsp), %rdi
leaq 0x88(%rsp), %rcx
callq 0x54f98
movq 0x140(%rsp), %rax
orq $0x7, (%rax)
movabsq $-0x8000000000000000, %rbx # imm = 0x8000000000000000
xorl %r12d, %r12d
leaq 0x3f(%rbx), %rbp
leaq 0x10(%rsp), %r13
movl $0x0, 0x10(%rsp)
movq 0x140(%rsp), %rdi
movq 0x150(%rsp), %rdx
movl 0x158(%rsp), %ecx
movq %rdx, %rax
subq %rdi, %rax
shlq $0x3, %rax
addq %rcx, %rax
je 0xa2d68
leaq (%r12,%r12,2), %r15
leaq (,%r15,8), %r14
xorl %esi, %esi
leaq 0x3f(%rsi), %rax
testq %rsi, %rsi
cmovnsq %rsi, %rax
sarq $0x6, %rax
leaq (%rdi,%rax,8), %rax
movq %rsi, %rcx
andq %rbp, %rcx
xorl %edx, %edx
cmpq %rbx, %rcx
setbe %dl
movq -0x8(%rax,%rdx,8), %rax
btq %rsi, %rax
jae 0xa2d32
movq 0x60(%rsp), %rdi
addq %r14, %rdi
shlq $0x5, %rsi
addq 0x190(%rsp), %rsi
callq 0x33db0
movq 0x400(%rsp), %rax
leaq (%rax,%r15,8), %rdi
movq 0x8(%rdi), %rsi
cmpq 0x10(%rdi), %rsi
je 0xa2d2a
movl 0x10(%rsp), %eax
movl %eax, (%rsi)
addq $0x4, %rsi
movq %rsi, 0x8(%rdi)
jmp 0xa2d32
movq %r13, %rdx
callq 0x4bc3a
movslq 0x10(%rsp), %rsi
incq %rsi
movl %esi, 0x10(%rsp)
movq 0x140(%rsp), %rdi
movq 0x150(%rsp), %rdx
movl 0x158(%rsp), %ecx
movq %rdx, %rax
subq %rdi, %rax
leaq (%rcx,%rax,8), %rax
cmpq %rsi, %rax
ja 0xa2cbf
xorl %esi, %esi
callq 0xa5bf7
incq %r12
testb %al, %al
jne 0xa2c7f
movq 0x68267(%rip), %rbx     # 0x10afe8
leaq 0x42608(%rip), %rsi     # 0xe5390
movl $0x11, %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 0x68235(%rip), %rdi     # 0x10afe8
callq 0x8040
movq %rax, %rdi
callq 0x8300
movl $0x18, %edi
callq 0x8470
movl 0x130(%rsp), %ebp
movq 0x120(%rsp), %r14
movq %rax, %rbx
xorpd %xmm0, %xmm0
movupd %xmm0, (%rax)
xorl %eax, %eax
movq %rax, 0x10(%rbx)
movq %rax, 0x3f0(%rsp)
movapd %xmm0, 0x3e0(%rsp)
movl $0x48, %edi
callq 0x8470
leaq 0x3e0(%rsp), %rdx
movq %rax, (%rdx)
movq %rax, 0x8(%rdx)
movq %rax, %rcx
addq $0x48, %rcx
movq %rcx, 0x10(%rdx)
xorl %esi, %esi
movq %rsi, 0x40(%rax)
xorpd %xmm0, %xmm0
movupd %xmm0, 0x30(%rax)
movupd %xmm0, 0x20(%rax)
movupd %xmm0, 0x10(%rax)
movupd %xmm0, (%rax)
movq %rcx, 0x8(%rdx)
leaq 0x1e0(%rsp), %rdi
movq %rsi, 0x10(%rdi)
movapd %xmm0, (%rdi)
movq %r14, %rsi
callq 0xa5df8
movq 0x198(%rsp), %rsi
subq 0x190(%rsp), %rsi
sarq $0x5, %rsi
leaq 0x10(%rsp), %rdx
movq $0x0, (%rdx)
leaq 0x368(%rsp), %rdi
leaq 0x88(%rsp), %rcx
callq 0x54ba6
leaq 0x10(%rsp), %rdx
movq $0x0, (%rdx)
leaq 0x258(%rsp), %rdi
leaq 0x88(%rsp), %rcx
movq %r14, %rsi
callq 0x54ba6
leaq 0x10(%rsp), %rdx
movq $0x0, (%rdx)
leaq 0x240(%rsp), %rdi
leaq 0x88(%rsp), %rcx
movq %r14, %rsi
callq 0x54ba6
leaq 0x10(%rsp), %rdx
movq $0x0, (%rdx)
leaq 0x228(%rsp), %rdi
leaq 0x88(%rsp), %rcx
movq %r14, %rsi
callq 0x54ba6
leaq 0x10(%rsp), %rdx
movq $0x0, (%rdx)
leaq 0x350(%rsp), %rdi
leaq 0x88(%rsp), %rcx
movq %r14, %rsi
callq 0x54ba6
leaq 0x10(%rsp), %rdx
movq $0x0, (%rdx)
leaq 0x338(%rsp), %rdi
leaq 0x88(%rsp), %rcx
movq %r14, %rsi
callq 0x54ba6
leaq 0x10(%rsp), %rdx
movq $0x0, (%rdx)
leaq 0x320(%rsp), %rdi
leaq 0x88(%rsp), %rcx
movq %r14, %rsi
callq 0x54ba6
movq %rbx, 0x200(%rsp)
leaq 0x10(%rsp), %rdx
movl $0x0, (%rdx)
leaq 0x3c8(%rsp), %rdi
leaq 0x88(%rsp), %rcx
movq %r14, %rsi
callq 0x54c54
xorl %eax, %eax
movq %rax, 0x440(%rsp)
xorpd %xmm0, %xmm0
movapd %xmm0, 0x430(%rsp)
movq %rax, 0x180(%rsp)
movapd %xmm0, 0x170(%rsp)
movl $0x186a0, %eax          # imm = 0x186A0
cmpl %eax, %ebp
movl $0x2710, %edx           # imm = 0x2710
movl $0x3e8, %ecx            # imm = 0x3E8
cmovgel %ecx, %edx
cmpl %ecx, %ebp
cmovll %eax, %edx
movl %edx, 0x130(%rsp)
leaq 0x20(%rsp), %r12
leaq 0x280(%rsp), %r14
leaq 0x10(%rsp), %r15
xorl %ebp, %ebp
movl %ebp, %r13d
movl %r13d, %ebp
movq 0x270(%rsp), %rbx
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x8450
movsbl %al, %edx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x8870
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
testb $0x5, 0x20(%rax,%rcx)
jne 0xa3c26
movq 0x280(%rsp), %rdi
movq 0x288(%rsp), %rsi
addq %rdi, %rsi
movb $0xd, 0x10(%rsp)
movq %r15, %rdx
callq 0x80103
movq %rax, %rcx
subq 0x280(%rsp), %rcx
movq %rcx, 0x288(%rsp)
movb $0x0, (%rax)
movq 0x280(%rsp), %rax
movb (%rax), %cl
cmpb $0x23, %cl
jne 0xa3088
cmpb $0x23, 0x1(%rax)
je 0xa2ffa
cmpb $0x23, %cl
jne 0xa3088
cmpb $0x43, 0x1(%rax)
je 0xa393c
leal 0x1(%rbp), %r13d
movl 0x6851a(%rip), %eax     # 0x10b5ac
cmpl $-0x1, %eax
je 0xa30ae
cmpl %eax, %r13d
jl 0xa2fef
addl 0x6850a(%rip), %eax     # 0x10b5b0
cmpl %eax, %ebp
jge 0xa3be0
movl %r13d, %eax
cltd
idivl 0x130(%rsp)
testl %edx, %edx
jne 0xa3207
callq 0x82e0
subq 0x2a0(%rsp), %rax
xorps %xmm0, %xmm0
cvtsi2sd %rax, %xmm0
divsd 0x3210a(%rip), %xmm0    # 0xd51e8
movsd %xmm0, 0x120(%rsp)
movl $0xa, %edx
movq 0x67ef5(%rip), %rdi     # 0x10afe8
leaq 0x3532c(%rip), %rsi     # 0xd8426
callq 0x84e0
movq 0x67ee2(%rip), %rdi     # 0x10afe8
movl %r13d, %esi
callq 0x8810
movq %rax, %rbx
movl $0xd, %edx
movq %rax, %rdi
leaq 0x3820e(%rip), %rsi     # 0xdb32e
callq 0x84e0
movq %rbx, %rdi
movsd 0x120(%rsp), %xmm0
callq 0x8730
movq %rax, %rbx
movl $0x4, %edx
movq %rax, %rdi
leaq 0x3b226(%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 0x67e68(%rip), %rdi     # 0x10afe8
leaq 0x42248(%rip), %rsi     # 0xe53cf
callq 0x84e0
movq 0x67e55(%rip), %rdi     # 0x10afe8
movsd 0x2d0(%rsp), %xmm0
callq 0x8730
movq %rax, %rbx
movl $0xd, %edx
movq %rax, %rdi
leaq 0x4222b(%rip), %rsi     # 0xe53de
callq 0x84e0
movq %rbx, %rdi
movsd 0x2b0(%rsp), %xmm0
callq 0x8730
movq %rax, %rbx
movl $0x4, %edx
movq %rax, %rdi
leaq 0x3b193(%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
leaq 0x88(%rsp), %rbx
movq %rbx, %rdi
movq %r14, %rsi
movl $0x9, %edx
callq 0x50624
xorpd %xmm0, %xmm0
movapd %xmm0, 0x10(%rsp)
movapd 0x170(%rsp), %xmm0
movq 0x180(%rsp), %rax
movups 0x88(%rsp), %xmm1
movaps %xmm1, 0x170(%rsp)
movq 0x98(%rsp), %rcx
movq %rcx, 0x180(%rsp)
movapd 0x10(%rsp), %xmm1
movapd %xmm0, 0x10(%rsp)
movq %rax, 0x20(%rsp)
movupd %xmm1, 0x88(%rsp)
movq $0x0, 0x98(%rsp)
movq %r15, %rdi
callq 0x3123c
movq %rbx, %rdi
callq 0x3123c
movq 0x170(%rsp), %rsi
movl $0x120, %eax            # imm = 0x120
addq %rax, %rsi
movq 0x178(%rsp), %rdx
leaq 0xd8(%rsp), %rdi
movq %r15, %rcx
callq 0x7fa48
movq 0x170(%rsp), %rax
movq %r12, 0x10(%rsp)
movq 0x60(%rax), %rsi
movq 0x68(%rax), %rdx
addq %rsi, %rdx
movq %r15, %rdi
callq 0x2e45c
movq 0x170(%rsp), %rax
leaq 0x98(%rsp), %rcx
movq %rcx, 0x88(%rsp)
movq 0x80(%rax), %rsi
movq 0x88(%rax), %rdx
addq %rsi, %rdx
movq %rbx, %rdi
callq 0x2e45c
cmpq $0x1, 0x18(%rsp)
ja 0xa34da
cmpq $0x2, 0x90(%rsp)
jae 0xa34da
callq 0x82e0
movq %rax, %r12
movl $0x240, %edi            # imm = 0x240
callq 0x8470
movq %rax, %rbx
movq 0xe0(%rsp), %rdx
subq 0xd8(%rsp), %rdx
shrq $0x5, %rdx
movq %rax, %rdi
leaq 0xf0(%rsp), %rsi
callq 0x7fa8a
movq %rbx, %rdi
leaq 0xd8(%rsp), %rsi
leaq 0x2f0(%rsp), %rdx
callq 0x4fc66
movq %r12, 0x1d0(%rsp)
movq 0xd8(%rsp), %r12
movq 0xe0(%rsp), %rbp
cmpq %r12, %rbp
movq %rbx, 0x120(%rsp)
je 0xa33d3
leaq 0x10(%r12), %rbx
movq -0x10(%rbx), %rdi
cmpq %rdi, %rbx
je 0xa33b3
movq (%rbx), %rsi
incq %rsi
callq 0x8480
leaq 0x20(%rbx), %rax
addq $0x10, %rbx
cmpq %rbp, %rbx
movq %rax, %rbx
jne 0xa339f
movq %r12, 0xe0(%rsp)
movq 0x120(%rsp), %rbx
movq 0xe8(%rsp), %rax
cmpq 0xe0(%rsp), %rax
je 0xa33f2
leaq 0xd8(%rsp), %rdi
callq 0x8024a
callq 0x82e0
subq 0x1d0(%rsp), %rax
cvtsi2sd %rax, %xmm0
divsd 0x31ddc(%rip), %xmm0    # 0xd51e8
movsd %xmm0, 0x2d0(%rsp)
callq 0x82e0
movq %rax, 0x2c0(%rsp)
leaq 0x1c0(%rsp), %rax
movq %rax, 0x1b0(%rsp)
leaq 0x1b0(%rsp), %rbp
movq %rbp, %rdi
leaq 0x33b26(%rip), %rsi     # 0xd6f6a
leaq 0x33b27(%rip), %rdx     # 0xd6f72
leaq 0x20(%rsp), %r12
callq 0x28952
addq $0x118, %rbx            # imm = 0x118
movq %rbx, %rdi
movq %rbp, %rsi
callq 0x551e8
movsd (%rax), %xmm0
movq 0x1b0(%rsp), %rdi
leaq 0x1c0(%rsp), %rax
cmpq %rax, %rdi
movsd %xmm0, 0x1d0(%rsp)
je 0xa34a2
movq 0x1c0(%rsp), %rsi
incq %rsi
callq 0x8480
movsd 0x1d0(%rsp), %xmm0
ucomisd 0x2bf9e(%rip), %xmm0    # 0xcf448
jne 0xa3583
jp 0xa3583
movq 0x120(%rsp), %rbx
movq %rbx, %rdi
callq 0x7fed0
movl $0x240, %esi            # imm = 0x240
movq %rbx, %rdi
callq 0x8480
xorl %ebx, %ebx
jmp 0xa38ec
movq $0x0, 0x18(%rsp)
movq 0x10(%rsp), %rax
movb $0x0, (%rax)
movq %r15, %rdi
callq 0x8290
movq $0x0, 0x90(%rsp)
movq 0x88(%rsp), %rax
movb $0x0, (%rax)
movq %rbx, %rdi
callq 0x8290
movq 0xd8(%rsp), %rbx
movq 0xe0(%rsp), %r12
cmpq %rbx, %r12
je 0xa3558
leaq 0x10(%rbx), %rbp
movq -0x10(%rbp), %rdi
cmpq %rdi, %rbp
je 0xa3540
movq (%rbp), %rsi
incq %rsi
callq 0x8480
leaq 0x20(%rbp), %rax
addq $0x10, %rbp
cmpq %r12, %rbp
movq %rax, %rbp
jne 0xa352b
movq %rbx, 0xe0(%rsp)
movq 0xe8(%rsp), %rax
cmpq 0xe0(%rsp), %rax
je 0xa3577
leaq 0xd8(%rsp), %rdi
callq 0x8024a
xorl %ebx, %ebx
leaq 0x20(%rsp), %r12
jmp 0xa38ec
movq 0x190(%rsp), %rsi
cmpq %rsi, 0x198(%rsp)
je 0xa35da
xorl %ebp, %ebp
xorl %r12d, %r12d
addq %rbp, %rsi
movq %rbx, %rdi
callq 0x551e8
movsd (%rax), %xmm0
movq 0x368(%rsp), %rax
movsd %xmm0, (%rax,%r12,8)
incq %r12
movq 0x190(%rsp), %rsi
movq 0x198(%rsp), %rax
subq %rsi, %rax
sarq $0x5, %rax
addq $0x20, %rbp
cmpq %rax, %r12
jne 0xa359a
movq 0x68(%rsp), %rax
cmpq 0x60(%rsp), %rax
leaq 0x20(%rsp), %r12
je 0xa38a7
movsd 0x2be49(%rip), %xmm0    # 0xcf440
subsd 0x1d0(%rsp), %xmm0
movsd %xmm0, 0x1d0(%rsp)
xorl %ebx, %ebx
xorl %ebp, %ebp
movq 0x400(%rsp), %rax
movq (%rax,%rbx), %rax
movslq (%rax), %rdx
movq 0x368(%rsp), %rcx
movsd (%rcx,%rdx,8), %xmm0
ucomisd 0x2be17(%rip), %xmm0    # 0xcf448
jne 0xa3639
jnp 0xa387b
movslq 0x4(%rax), %rdx
movsd (%rcx,%rdx,8), %xmm1
ucomisd 0x2bdfe(%rip), %xmm1    # 0xcf448
jne 0xa3652
jnp 0xa387b
movslq 0x8(%rax), %rax
movsd (%rcx,%rax,8), %xmm2
ucomisd 0x2bde5(%rip), %xmm2    # 0xcf448
jne 0xa366b
jnp 0xa387b
movq 0x3c8(%rsp), %rcx
movl (%rcx,%rbp,4), %eax
incl %eax
movl %eax, (%rcx,%rbp,4)
movsd 0x2bdbd(%rip), %xmm5    # 0xcf440
movapd %xmm5, %xmm3
subsd %xmm0, %xmm3
mulsd %xmm1, %xmm3
mulsd %xmm2, %xmm3
movsd 0x1d0(%rsp), %xmm6
mulsd %xmm6, %xmm3
movq 0x258(%rsp), %rcx
movsd (%rcx,%rbp,8), %xmm4
addsd %xmm3, %xmm4
movsd %xmm4, (%rcx,%rbp,8)
movq 0x350(%rsp), %rcx
addsd (%rcx,%rbp,8), %xmm3
movsd %xmm3, (%rcx,%rbp,8)
movapd %xmm5, %xmm3
subsd %xmm1, %xmm3
mulsd %xmm0, %xmm3
mulsd %xmm2, %xmm3
mulsd %xmm6, %xmm3
movq 0x240(%rsp), %rdx
movsd (%rdx,%rbp,8), %xmm4
addsd %xmm3, %xmm4
movsd %xmm4, (%rdx,%rbp,8)
movq 0x338(%rsp), %rsi
addsd (%rsi,%rbp,8), %xmm3
movsd %xmm3, (%rsi,%rbp,8)
movapd %xmm5, %xmm3
subsd %xmm2, %xmm3
mulsd %xmm1, %xmm3
mulsd %xmm0, %xmm3
mulsd %xmm6, %xmm3
movq 0x228(%rsp), %rdx
movsd (%rdx,%rbp,8), %xmm0
addsd %xmm3, %xmm0
movsd %xmm0, (%rdx,%rbp,8)
movq 0x320(%rsp), %rdx
addsd (%rdx,%rbp,8), %xmm3
movsd %xmm3, (%rdx,%rbp,8)
cltd
idivl 0x67e61(%rip)           # 0x10b5a8
testl %edx, %edx
jne 0xa387b
movsd (%rcx,%rbp,8), %xmm1
movsd (%rsi,%rbp,8), %xmm2
movapd %xmm1, %xmm0
subsd %xmm2, %xmm0
movapd %xmm1, %xmm4
subsd %xmm3, %xmm4
movapd %xmm3, %xmm5
subsd %xmm2, %xmm5
movapd %xmm3, %xmm6
addsd %xmm1, %xmm6
addsd %xmm2, %xmm1
divsd %xmm1, %xmm0
divsd %xmm6, %xmm4
addsd %xmm2, %xmm3
divsd %xmm3, %xmm5
movsd %xmm0, 0x1b0(%rsp)
movsd %xmm4, 0x2e8(%rsp)
movsd %xmm5, 0x2e0(%rsp)
movq 0x1e0(%rsp), %rax
movq (%rax,%rbx), %rdi
movq 0x8(%rdi), %rsi
cmpq 0x10(%rdi), %rsi
je 0xa37cc
movsd %xmm0, (%rsi)
addq $0x8, %rsi
movq %rsi, 0x8(%rdi)
jmp 0xa37d9
leaq 0x1b0(%rsp), %rdx
callq 0x79f34
movq 0x1e0(%rsp), %rax
movq (%rax,%rbx), %rdi
movq 0x20(%rdi), %rsi
cmpq 0x28(%rdi), %rsi
je 0xa3806
movsd 0x2e8(%rsp), %xmm0
movsd %xmm0, (%rsi)
addq $0x8, %rsi
movq %rsi, 0x20(%rdi)
jmp 0xa3817
addq $0x18, %rdi
leaq 0x2e8(%rsp), %rdx
callq 0x79f34
movq 0x1e0(%rsp), %rax
movq (%rax,%rbx), %rdi
movq 0x38(%rdi), %rsi
cmpq 0x40(%rdi), %rsi
je 0xa3844
movsd 0x2e0(%rsp), %xmm0
movsd %xmm0, (%rsi)
addq $0x8, %rsi
movq %rsi, 0x38(%rdi)
jmp 0xa3855
addq $0x30, %rdi
leaq 0x2e0(%rsp), %rdx
callq 0x79f34
movq 0x350(%rsp), %rax
xorl %ecx, %ecx
movq %rcx, (%rax,%rbp,8)
movq 0x338(%rsp), %rax
movq %rcx, (%rax,%rbp,8)
movq 0x320(%rsp), %rax
movq %rcx, (%rax,%rbp,8)
incq %rbp
movq 0x68(%rsp), %rax
subq 0x60(%rsp), %rax
sarq $0x3, %rax
movabsq $-0x5555555555555555, %rcx # imm = 0xAAAAAAAAAAAAAAAB
imulq %rcx, %rax
addq $0x18, %rbx
cmpq %rax, %rbp
jne 0xa360d
callq 0x82e0
subq 0x2c0(%rsp), %rax
xorps %xmm0, %xmm0
cvtsi2sd %rax, %xmm0
divsd 0x31924(%rip), %xmm0    # 0xd51e8
movsd %xmm0, 0x2b0(%rsp)
movq 0x120(%rsp), %rbx
movq %rbx, %rdi
callq 0x7fed0
movl $0x240, %esi            # imm = 0x240
movq %rbx, %rdi
callq 0x8480
movb $0x1, %bl
movq 0x88(%rsp), %rdi
leaq 0x98(%rsp), %rax
cmpq %rax, %rdi
je 0xa3911
movq 0x98(%rsp), %rsi
incq %rsi
callq 0x8480
movq 0x10(%rsp), %rdi
cmpq %r12, %rdi
je 0xa3928
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x8480
leaq 0xd8(%rsp), %rdi
callq 0x3123c
testb %bl, %bl
jmp 0xa2fef
leaq 0x88(%rsp), %rbx
movq %rbx, %rdi
movq %r14, %rsi
movl $0x9, %edx
callq 0x50624
xorps %xmm0, %xmm0
movaps %xmm0, 0x10(%rsp)
movapd 0x170(%rsp), %xmm0
movq 0x180(%rsp), %rax
movups 0x88(%rsp), %xmm1
movaps %xmm1, 0x170(%rsp)
movq 0x98(%rsp), %rcx
movq %rcx, 0x180(%rsp)
movapd 0x10(%rsp), %xmm1
movapd %xmm0, 0x10(%rsp)
movq %rax, 0x20(%rsp)
movupd %xmm1, 0x88(%rsp)
movq $0x0, 0x98(%rsp)
movq %r15, %rdi
callq 0x3123c
movq %rbx, %rdi
callq 0x3123c
movq 0x170(%rsp), %rsi
movl $0x120, %eax            # imm = 0x120
addq %rax, %rsi
movq 0x178(%rsp), %rdx
movq %rbx, %rdi
movq %r15, %rcx
callq 0x7fa48
movq $0x0, 0x10(%rsp)
movq 0x88(%rsp), %rax
cmpq %rax, 0x90(%rsp)
je 0xa3a5b
xorl %esi, %esi
shlq $0x5, %rsi
addq %rax, %rsi
leaq 0x30(%rsp), %rdi
callq 0x3e394
movq %rax, %rbx
leaq 0x2f0(%rsp), %rdi
movq %r15, %rsi
callq 0x5d80c
movq %rax, %rdi
movq %rbx, %rsi
callq 0x8270
movq 0x10(%rsp), %rsi
incq %rsi
movq %rsi, 0x10(%rsp)
movq 0x88(%rsp), %rax
movq 0x90(%rsp), %rcx
subq %rax, %rcx
sarq $0x5, %rcx
cmpq %rcx, %rsi
jne 0xa3a03
movq 0xc0(%rsp), %r13
leaq 0xb0(%rsp), %rax
cmpq %rax, %r13
je 0xa3bc1
movq %r12, 0x10(%rsp)
movq 0x20(%r13), %rsi
movq 0x28(%r13), %rdx
addq %rsi, %rdx
movq %r15, %rdi
callq 0x2e45c
leaq 0x40(%r13), %rsi
leaq 0x1b0(%rsp), %rbx
movq %rbx, %rdi
callq 0x3273a
leaq 0xd8(%rsp), %rdi
leaq 0x88(%rsp), %rsi
movq %rbx, %rdx
callq 0x53501
movq 0xd8(%rsp), %rax
cmpq 0xe0(%rsp), %rax
jne 0xa3b50
movl $0x29, %edx
movq 0x6750e(%rip), %rdi     # 0x10afe8
leaq 0x348da(%rip), %rsi     # 0xd83bb
callq 0x84e0
movq 0x10(%rsp), %rsi
movq 0x18(%rsp), %rdx
movq 0x674f1(%rip), %rdi     # 0x10afe8
callq 0x84e0
movq %rax, %rbx
movl $0x1, %edx
movq %rax, %rdi
leaq 0x33611(%rip), %rsi     # 0xd711f
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 0xd8(%rsp), %rax
cmpq 0xe0(%rsp), %rax
je 0xa4e41
leaq 0xf0(%rsp), %rdi
movq %r15, %rsi
callq 0x5d872
movq %rax, %rdi
leaq 0xd8(%rsp), %rsi
callq 0x5d8ee
movq 0xd8(%rsp), %rdi
testq %rdi, %rdi
je 0xa3b8d
movq 0xe8(%rsp), %rsi
subq %rdi, %rsi
callq 0x8480
leaq 0x1b0(%rsp), %rdi
callq 0x3123c
movq 0x10(%rsp), %rdi
cmpq %r12, %rdi
je 0xa3bb1
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x8480
movq %r13, %rdi
callq 0x8310
movq %rax, %r13
jmp 0xa3a63
callq 0x82e0
movq %rax, 0x2a0(%rsp)
leaq 0x88(%rsp), %rdi
callq 0x3123c
jmp 0xa2fec
movq 0x67401(%rip), %rbx     # 0x10afe8
leaq 0x417dc(%rip), %rsi     # 0xe53ca
movl $0x4, %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 0x673cf(%rip), %rdi     # 0x10afe8
callq 0x8040
movq %rax, %rdi
callq 0x8300
movq 0x68(%rsp), %rax
cmpq 0x60(%rsp), %rax
je 0xa4bc1
xorl %r12d, %r12d
leaq 0x2e03e(%rip), %rbp     # 0xd1c7e
leaq 0x418(%rsp), %r15
xorl %r14d, %r14d
movq 0x1e0(%rsp), %rax
movq (%rax,%r12), %rdi
callq 0x3a4b8
movsd %xmm0, 0x130(%rsp)
movq 0x1e0(%rsp), %rax
movq (%rax,%r12), %rdi
addq $0x18, %rdi
callq 0x3a4b8
movsd %xmm0, 0x120(%rsp)
movq 0x1e0(%rsp), %rax
movq (%rax,%r12), %rdi
addq $0x30, %rdi
callq 0x3a4b8
movq 0x258(%rsp), %rax
movsd (%rax,%r14,8), %xmm1
movq 0x240(%rsp), %rax
movsd (%rax,%r14,8), %xmm2
movapd %xmm1, %xmm9
subsd %xmm2, %xmm9
movq 0x228(%rsp), %rax
movsd (%rax,%r14,8), %xmm3
movapd %xmm1, %xmm8
subsd %xmm3, %xmm8
movapd %xmm3, %xmm7
subsd %xmm2, %xmm7
movapd %xmm1, %xmm4
addsd %xmm2, %xmm4
movapd %xmm1, %xmm5
addsd %xmm3, %xmm5
movapd %xmm2, %xmm6
addsd %xmm3, %xmm6
divsd %xmm4, %xmm9
divsd %xmm5, %xmm8
divsd %xmm6, %xmm7
movapd %xmm9, 0x1d0(%rsp)
movapd %xmm9, %xmm5
movapd 0x35555(%rip), %xmm4    # 0xd9270
andpd %xmm4, %xmm5
movapd %xmm5, 0x270(%rsp)
divsd 0x130(%rsp), %xmm5
movapd %xmm5, 0x2d0(%rsp)
movapd %xmm8, 0x2c0(%rsp)
movapd %xmm8, %xmm5
andpd %xmm4, %xmm5
movapd %xmm5, 0x130(%rsp)
divsd 0x120(%rsp), %xmm5
movapd %xmm5, 0x2b0(%rsp)
movapd %xmm7, 0x2a0(%rsp)
andpd %xmm4, %xmm7
movapd %xmm7, 0x120(%rsp)
movapd %xmm7, %xmm4
divsd %xmm0, %xmm4
movapd %xmm4, 0x380(%rsp)
ucomisd %xmm2, %xmm3
jb 0xa3e10
ucomisd %xmm1, %xmm3
jb 0xa3e10
movapd 0x1d0(%rsp), %xmm0
ucomisd 0x2a27c(%rip), %xmm0    # 0xce028
movq 0x60(%rsp), %rax
movq (%rax,%r12), %rax
jae 0xa3f1b
movq 0x20(%rax), %rsi
movq 0x28(%rax), %rdx
movq 0x8(%rsp), %rdi
callq 0x84e0
movq %rax, %rbx
movl $0x1, %edx
movq %rax, %rdi
movq %rbp, %rsi
callq 0x84e0
movq 0x60(%rsp), %rax
movq (%rax,%r12), %rax
movq (%rax), %rsi
movq 0x8(%rax), %rdx
movq %rbx, %rdi
callq 0x84e0
movq %rax, %rbx
movl $0x1, %edx
movq %rax, %rdi
movq %rbp, %rsi
callq 0x84e0
jmp 0xa3f6b
ucomisd %xmm3, %xmm2
jb 0xa3e91
ucomisd %xmm1, %xmm2
jb 0xa3e91
movapd 0x2c0(%rsp), %xmm0
ucomisd 0x2a1fb(%rip), %xmm0    # 0xce028
movq 0x60(%rsp), %rax
movq (%rax,%r12), %rax
jae 0xa4063
movq 0x40(%rax), %rsi
movq 0x48(%rax), %rdx
movq 0x8(%rsp), %rdi
callq 0x84e0
movq %rax, %rbx
movl $0x1, %edx
movq %rax, %rdi
movq %rbp, %rsi
callq 0x84e0
movq 0x60(%rsp), %rax
movq (%rax,%r12), %rax
movq (%rax), %rsi
movq 0x8(%rax), %rdx
movq %rbx, %rdi
callq 0x84e0
movq %rax, %rbx
movl $0x1, %edx
movq %rax, %rdi
movq %rbp, %rsi
callq 0x84e0
jmp 0xa40b3
ucomisd %xmm2, %xmm1
jb 0xa4301
ucomisd %xmm3, %xmm1
jb 0xa4301
movapd 0x2a0(%rsp), %xmm0
ucomisd 0x2a172(%rip), %xmm0    # 0xce028
movq 0x60(%rsp), %rax
movq (%rax,%r12), %rax
jae 0xa41ab
movq 0x20(%rax), %rsi
movq 0x28(%rax), %rdx
movq 0x8(%rsp), %rdi
callq 0x84e0
movq %rax, %rbx
movl $0x1, %edx
movq %rax, %rdi
movq %rbp, %rsi
callq 0x84e0
movq 0x60(%rsp), %rax
movq (%rax,%r12), %rax
movq 0x40(%rax), %rsi
movq 0x48(%rax), %rdx
movq %rbx, %rdi
callq 0x84e0
movq %rax, %rbx
movl $0x1, %edx
movq %rax, %rdi
movq %rbp, %rsi
callq 0x84e0
jmp 0xa41fc
movq (%rax), %rsi
movq 0x8(%rax), %rdx
movq 0x8(%rsp), %rdi
callq 0x84e0
movq %rax, %rbx
movl $0x1, %edx
movq %rax, %rdi
movq %rbp, %rsi
callq 0x84e0
movq 0x60(%rsp), %rax
movq (%rax,%r12), %rax
movq 0x20(%rax), %rsi
movq 0x28(%rax), %rdx
movq %rbx, %rdi
callq 0x84e0
movq %rax, %rbx
movl $0x1, %edx
movq %rax, %rdi
movq %rbp, %rsi
callq 0x84e0
movq 0x60(%rsp), %rax
movq (%rax,%r12), %rax
movq 0x40(%rax), %rsi
movq 0x48(%rax), %rdx
movq %rbx, %rdi
callq 0x84e0
movl $0x1, %edx
movq 0x8(%rsp), %rdi
movq %rbp, %rsi
callq 0x84e0
movq 0x8(%rsp), %rdi
movapd 0x270(%rsp), %xmm0
callq 0x8730
movq %rax, %rbx
movl $0x1, %edx
movq %rax, %rdi
movq %rbp, %rsi
callq 0x84e0
movq %rbx, %rdi
movapd 0x2d0(%rsp), %xmm0
callq 0x8730
movl $0x1, %edx
movq %rax, %rdi
movq %rbp, %rsi
callq 0x84e0
movq 0x228(%rsp), %rax
movsd (%rax,%r14,8), %xmm0
movq 0x8(%rsp), %rdi
callq 0x8730
movq %rax, %rbx
movl $0x1, %edx
movq %rax, %rdi
movq %rbp, %rsi
callq 0x84e0
movq 0x240(%rsp), %rax
movsd (%rax,%r14,8), %xmm0
movq %rbx, %rdi
callq 0x8730
movq %rax, %rbx
movl $0x1, %edx
movq %rax, %rdi
movq %rbp, %rsi
callq 0x84e0
movq 0x258(%rsp), %rax
movsd (%rax,%r14,8), %xmm0
movq %rbx, %rdi
callq 0x8730
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x8450
jmp 0xa42ee
movq (%rax), %rsi
movq 0x8(%rax), %rdx
movq 0x8(%rsp), %rdi
callq 0x84e0
movq %rax, %rbx
movl $0x1, %edx
movq %rax, %rdi
movq %rbp, %rsi
callq 0x84e0
movq 0x60(%rsp), %rax
movq (%rax,%r12), %rax
movq 0x40(%rax), %rsi
movq 0x48(%rax), %rdx
movq %rbx, %rdi
callq 0x84e0
movq %rax, %rbx
movl $0x1, %edx
movq %rax, %rdi
movq %rbp, %rsi
callq 0x84e0
movq 0x60(%rsp), %rax
movq (%rax,%r12), %rax
movq 0x20(%rax), %rsi
movq 0x28(%rax), %rdx
movq %rbx, %rdi
callq 0x84e0
movl $0x1, %edx
movq 0x8(%rsp), %rdi
movq %rbp, %rsi
callq 0x84e0
movq 0x8(%rsp), %rdi
movapd 0x130(%rsp), %xmm0
callq 0x8730
movq %rax, %rbx
movl $0x1, %edx
movq %rax, %rdi
movq %rbp, %rsi
callq 0x84e0
movq %rbx, %rdi
movapd 0x2b0(%rsp), %xmm0
callq 0x8730
movl $0x1, %edx
movq %rax, %rdi
movq %rbp, %rsi
callq 0x84e0
movq 0x240(%rsp), %rax
movsd (%rax,%r14,8), %xmm0
movq 0x8(%rsp), %rdi
callq 0x8730
movq %rax, %rbx
movl $0x1, %edx
movq %rax, %rdi
movq %rbp, %rsi
callq 0x84e0
movq 0x228(%rsp), %rax
movsd (%rax,%r14,8), %xmm0
movq %rbx, %rdi
callq 0x8730
movq %rax, %rbx
movl $0x1, %edx
movq %rax, %rdi
movq %rbp, %rsi
callq 0x84e0
movq 0x258(%rsp), %rax
movsd (%rax,%r14,8), %xmm0
movq %rbx, %rdi
callq 0x8730
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x8450
jmp 0xa42ee
movq 0x40(%rax), %rsi
movq 0x48(%rax), %rdx
movq 0x8(%rsp), %rdi
callq 0x84e0
movq %rax, %rbx
movl $0x1, %edx
movq %rax, %rdi
movq %rbp, %rsi
callq 0x84e0
movq 0x60(%rsp), %rax
movq (%rax,%r12), %rax
movq 0x20(%rax), %rsi
movq 0x28(%rax), %rdx
movq %rbx, %rdi
callq 0x84e0
movq %rax, %rbx
movl $0x1, %edx
movq %rax, %rdi
movq %rbp, %rsi
callq 0x84e0
movq 0x60(%rsp), %rax
movq (%rax,%r12), %rax
movq (%rax), %rsi
movq 0x8(%rax), %rdx
movq %rbx, %rdi
callq 0x84e0
movl $0x1, %edx
movq 0x8(%rsp), %rdi
movq %rbp, %rsi
callq 0x84e0
movq 0x8(%rsp), %rdi
movapd 0x120(%rsp), %xmm0
callq 0x8730
movq %rax, %rbx
movl $0x1, %edx
movq %rax, %rdi
movq %rbp, %rsi
callq 0x84e0
movq %rbx, %rdi
movapd 0x380(%rsp), %xmm0
callq 0x8730
movl $0x1, %edx
movq %rax, %rdi
movq %rbp, %rsi
callq 0x84e0
movq 0x258(%rsp), %rax
movsd (%rax,%r14,8), %xmm0
movq 0x8(%rsp), %rdi
callq 0x8730
movq %rax, %rbx
movl $0x1, %edx
movq %rax, %rdi
movq %rbp, %rsi
callq 0x84e0
movq 0x240(%rsp), %rax
movsd (%rax,%r14,8), %xmm0
movq %rbx, %rdi
callq 0x8730
movq %rax, %rbx
movl $0x1, %edx
movq %rax, %rdi
movq %rbp, %rsi
callq 0x84e0
movq 0x228(%rsp), %rax
movsd (%rax,%r14,8), %xmm0
movq %rbx, %rdi
callq 0x8730
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
movapd 0x270(%rsp), %xmm0
movapd 0x130(%rsp), %xmm1
ucomisd %xmm0, %xmm1
jb 0xa4431
movapd 0x120(%rsp), %xmm1
ucomisd %xmm0, %xmm1
jb 0xa4431
movapd 0x1d0(%rsp), %xmm0
ucomisd 0x29ce7(%rip), %xmm0    # 0xce028
movq 0x60(%rsp), %rax
movq (%rax,%r12), %rax
jae 0xa468d
movq 0x20(%rax), %rsi
movq 0x28(%rax), %rdx
movq 0x80(%rsp), %rdi
callq 0x84e0
movq %rax, %rbx
movl $0x1, %edx
movq %rax, %rdi
movq %rbp, %rsi
callq 0x84e0
movq 0x60(%rsp), %rax
movq (%rax,%r12), %rax
movq (%rax), %rsi
movq 0x8(%rax), %rdx
movq %rbx, %rdi
callq 0x84e0
movq %rax, %rbx
movl $0x1, %edx
movq %rax, %rdi
movq %rbp, %rsi
callq 0x84e0
movq 0x60(%rsp), %rax
movq (%rax,%r12), %rax
movq 0x40(%rax), %rsi
movq 0x48(%rax), %rdx
movq %rbx, %rdi
callq 0x84e0
movq %rax, %rbx
movl $0x1, %edx
movq %rax, %rdi
movq %rbp, %rsi
callq 0x84e0
movq %rbx, %rdi
movapd 0x270(%rsp), %xmm0
callq 0x8730
movq %rax, %rbx
movl $0x1, %edx
movq %rax, %rdi
movq %rbp, %rsi
callq 0x84e0
movq %rbx, %rdi
movapd 0x2d0(%rsp), %xmm0
callq 0x8730
movq %rax, %r13
movl $0x1, %edx
movq %rax, %rdi
movq %rbp, %rsi
callq 0x84e0
movq (%r13), %rax
movq -0x18(%rax), %rdi
addq %r13, %rdi
movl $0xa, %esi
callq 0x8450
jmp 0xa492b
movapd 0x130(%rsp), %xmm1
ucomisd %xmm1, %xmm0
jb 0xa455c
movapd %xmm1, %xmm0
movapd 0x120(%rsp), %xmm1
ucomisd %xmm0, %xmm1
jb 0xa455c
movapd 0x2c0(%rsp), %xmm0
ucomisd 0x29bbc(%rip), %xmm0    # 0xce028
movq 0x60(%rsp), %rax
movq (%rax,%r12), %rax
jae 0xa476e
movq 0x40(%rax), %rsi
movq 0x48(%rax), %rdx
movq 0x80(%rsp), %rdi
callq 0x84e0
movq %rax, %rbx
movl $0x1, %edx
movq %rax, %rdi
movq %rbp, %rsi
callq 0x84e0
movq 0x60(%rsp), %rax
movq (%rax,%r12), %rax
movq (%rax), %rsi
movq 0x8(%rax), %rdx
movq %rbx, %rdi
callq 0x84e0
movq %rax, %rbx
movl $0x1, %edx
movq %rax, %rdi
movq %rbp, %rsi
callq 0x84e0
movq 0x60(%rsp), %rax
movq (%rax,%r12), %rax
movq 0x20(%rax), %rsi
movq 0x28(%rax), %rdx
movq %rbx, %rdi
callq 0x84e0
movq %rax, %rbx
movl $0x1, %edx
movq %rax, %rdi
movq %rbp, %rsi
callq 0x84e0
movq %rbx, %rdi
movapd 0x130(%rsp), %xmm0
callq 0x8730
movq %rax, %rbx
movl $0x1, %edx
movq %rax, %rdi
movq %rbp, %rsi
callq 0x84e0
movq %rbx, %rdi
movapd 0x2b0(%rsp), %xmm0
callq 0x8730
movq %rax, %r13
movl $0x1, %edx
movq %rax, %rdi
movq %rbp, %rsi
callq 0x84e0
movq (%r13), %rax
movq -0x18(%rax), %rdi
addq %r13, %rdi
movl $0xa, %esi
callq 0x8450
jmp 0xa492b
movapd 0x270(%rsp), %xmm0
ucomisd 0x120(%rsp), %xmm0
jb 0xa493e
movapd 0x130(%rsp), %xmm0
ucomisd 0x120(%rsp), %xmm0
jb 0xa493e
movapd 0x2a0(%rsp), %xmm0
ucomisd 0x29a8b(%rip), %xmm0    # 0xce028
movq 0x60(%rsp), %rax
movq (%rax,%r12), %rax
jae 0xa484f
movq 0x20(%rax), %rsi
movq 0x28(%rax), %rdx
movq 0x80(%rsp), %rdi
callq 0x84e0
movq %rax, %rbx
movl $0x1, %edx
movq %rax, %rdi
movq %rbp, %rsi
callq 0x84e0
movq 0x60(%rsp), %rax
movq (%rax,%r12), %rax
movq 0x40(%rax), %rsi
movq 0x48(%rax), %rdx
movq %rbx, %rdi
callq 0x84e0
movq %rax, %rbx
movl $0x1, %edx
movq %rax, %rdi
movq %rbp, %rsi
callq 0x84e0
movq 0x60(%rsp), %rax
movq (%rax,%r12), %rax
movq (%rax), %rsi
movq 0x8(%rax), %rdx
movq %rbx, %rdi
callq 0x84e0
movq %rax, %rbx
movl $0x1, %edx
movq %rax, %rdi
movq %rbp, %rsi
callq 0x84e0
movq %rbx, %rdi
movapd 0x120(%rsp), %xmm0
callq 0x8730
movq %rax, %rbx
movl $0x1, %edx
movq %rax, %rdi
movq %rbp, %rsi
callq 0x84e0
movq %rbx, %rdi
movapd 0x380(%rsp), %xmm0
callq 0x8730
movq %rax, %r13
movl $0x1, %edx
movq %rax, %rdi
movq %rbp, %rsi
callq 0x84e0
movq (%r13), %rax
movq -0x18(%rax), %rdi
addq %r13, %rdi
movl $0xa, %esi
callq 0x8450
jmp 0xa492b
movq (%rax), %rsi
movq 0x8(%rax), %rdx
movq 0x80(%rsp), %rdi
callq 0x84e0
movq %rax, %rbx
movl $0x1, %edx
movq %rax, %rdi
movq %rbp, %rsi
callq 0x84e0
movq 0x60(%rsp), %rax
movq (%rax,%r12), %rax
movq 0x20(%rax), %rsi
movq 0x28(%rax), %rdx
movq %rbx, %rdi
callq 0x84e0
movq %rax, %rbx
movl $0x1, %edx
movq %rax, %rdi
movq %rbp, %rsi
callq 0x84e0
movq 0x60(%rsp), %rax
movq (%rax,%r12), %rax
movq 0x40(%rax), %rsi
movq 0x48(%rax), %rdx
movq %rbx, %rdi
callq 0x84e0
movq %rax, %rbx
movl $0x1, %edx
movq %rax, %rdi
movq %rbp, %rsi
callq 0x84e0
movq %rbx, %rdi
movapd 0x1d0(%rsp), %xmm0
callq 0x8730
movq %rax, %rbx
movl $0x1, %edx
movq %rax, %rdi
movq %rbp, %rsi
callq 0x84e0
movq %rbx, %rdi
movapd 0x2d0(%rsp), %xmm0
callq 0x8730
movq %rax, %r13
movl $0x1, %edx
movq %rax, %rdi
movq %rbp, %rsi
callq 0x84e0
movq (%r13), %rax
movq -0x18(%rax), %rdi
addq %r13, %rdi
movl $0xa, %esi
callq 0x8450
jmp 0xa492b
movq (%rax), %rsi
movq 0x8(%rax), %rdx
movq 0x80(%rsp), %rdi
callq 0x84e0
movq %rax, %rbx
movl $0x1, %edx
movq %rax, %rdi
movq %rbp, %rsi
callq 0x84e0
movq 0x60(%rsp), %rax
movq (%rax,%r12), %rax
movq 0x40(%rax), %rsi
movq 0x48(%rax), %rdx
movq %rbx, %rdi
callq 0x84e0
movq %rax, %rbx
movl $0x1, %edx
movq %rax, %rdi
movq %rbp, %rsi
callq 0x84e0
movq 0x60(%rsp), %rax
movq (%rax,%r12), %rax
movq 0x20(%rax), %rsi
movq 0x28(%rax), %rdx
movq %rbx, %rdi
callq 0x84e0
movq %rax, %rbx
movl $0x1, %edx
movq %rax, %rdi
movq %rbp, %rsi
callq 0x84e0
movq %rbx, %rdi
movapd 0x2c0(%rsp), %xmm0
callq 0x8730
movq %rax, %rbx
movl $0x1, %edx
movq %rax, %rdi
movq %rbp, %rsi
callq 0x84e0
movq %rbx, %rdi
movapd 0x2b0(%rsp), %xmm0
callq 0x8730
movq %rax, %r13
movl $0x1, %edx
movq %rax, %rdi
movq %rbp, %rsi
callq 0x84e0
movq (%r13), %rax
movq -0x18(%rax), %rdi
addq %r13, %rdi
movl $0xa, %esi
callq 0x8450
jmp 0xa492b
movq 0x40(%rax), %rsi
movq 0x48(%rax), %rdx
movq 0x80(%rsp), %rdi
callq 0x84e0
movq %rax, %rbx
movl $0x1, %edx
movq %rax, %rdi
movq %rbp, %rsi
callq 0x84e0
movq 0x60(%rsp), %rax
movq (%rax,%r12), %rax
movq 0x20(%rax), %rsi
movq 0x28(%rax), %rdx
movq %rbx, %rdi
callq 0x84e0
movq %rax, %rbx
movl $0x1, %edx
movq %rax, %rdi
movq %rbp, %rsi
callq 0x84e0
movq 0x60(%rsp), %rax
movq (%rax,%r12), %rax
movq (%rax), %rsi
movq 0x8(%rax), %rdx
movq %rbx, %rdi
callq 0x84e0
movq %rax, %rbx
movl $0x1, %edx
movq %rax, %rdi
movq %rbp, %rsi
callq 0x84e0
movq %rbx, %rdi
movapd 0x2a0(%rsp), %xmm0
callq 0x8730
movq %rax, %rbx
movl $0x1, %edx
movq %rax, %rdi
movq %rbp, %rsi
callq 0x84e0
movq %rbx, %rdi
movapd 0x380(%rsp), %xmm0
callq 0x8730
movq %rax, %r13
movl $0x1, %edx
movq %rax, %rdi
movq %rbp, %rsi
callq 0x84e0
movq (%r13), %rax
movq -0x18(%rax), %rdi
addq %r13, %rdi
movl $0xa, %esi
callq 0x8450
movsbl %al, %esi
movq %r13, %rdi
callq 0x8040
movq %rax, %rdi
callq 0x8300
movq 0x60(%rsp), %rax
movq (%rax,%r12), %rax
movq (%rax), %rsi
movq 0x8(%rax), %rdx
movq 0x168(%rsp), %rdi
callq 0x84e0
movq %rax, %rbx
movl $0x1, %edx
movq %rax, %rdi
movq %rbp, %rsi
callq 0x84e0
movq 0x60(%rsp), %rax
movq (%rax,%r12), %rax
movq 0x20(%rax), %rsi
movq 0x28(%rax), %rdx
movq %rbx, %rdi
callq 0x84e0
movq %rax, %rbx
movl $0x1, %edx
movq %rax, %rdi
movq %rbp, %rsi
callq 0x84e0
movq 0x60(%rsp), %rax
movq (%rax,%r12), %rax
movq 0x40(%rax), %rsi
movq 0x48(%rax), %rdx
movq %rbx, %rdi
callq 0x84e0
movq %rax, %rbx
movl $0x1, %edx
movq %rax, %rdi
movq %rbp, %rsi
callq 0x84e0
movq 0x228(%rsp), %rax
movsd (%rax,%r14,8), %xmm0
movq %rbx, %rdi
callq 0x8730
movq %rax, %rbx
movl $0x1, %edx
movq %rax, %rdi
movq %rbp, %rsi
callq 0x84e0
movq 0x240(%rsp), %rax
movsd (%rax,%r14,8), %xmm0
movq %rbx, %rdi
callq 0x8730
movq %rax, %rbx
movl $0x1, %edx
movq %rax, %rdi
movq %rbp, %rsi
callq 0x84e0
movq 0x258(%rsp), %rax
movsd (%rax,%r14,8), %xmm0
movq %rbx, %rdi
callq 0x8730
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 0x1e0(%rsp), %rax
movq (%rax,%r12), %rsi
leaq 0x3b0(%rsp), %rdi
callq 0x3a864
leaq 0x3b0(%rsp), %rdi
movq 0x78(%rsp), %rsi
movl $0x2c, %edx
xorl %ecx, %ecx
callq 0x5ae16
movq 0x3b0(%rsp), %rdi
testq %rdi, %rdi
je 0xa4aa7
movq 0x3c0(%rsp), %rsi
subq %rdi, %rsi
callq 0x8480
movl $0x1, %edx
movq 0x78(%rsp), %rdi
movq %rbp, %rsi
callq 0x84e0
movq 0x1e0(%rsp), %rax
movq (%rax,%r12), %rsi
addq $0x18, %rsi
leaq 0x398(%rsp), %rdi
callq 0x3a864
leaq 0x398(%rsp), %rdi
movq 0x78(%rsp), %rsi
movl $0x2c, %edx
xorl %ecx, %ecx
callq 0x5ae16
movq 0x398(%rsp), %rdi
testq %rdi, %rdi
je 0xa4b0c
movq 0x3a8(%rsp), %rsi
subq %rdi, %rsi
callq 0x8480
movl $0x1, %edx
movq 0x78(%rsp), %rdi
movq %rbp, %rsi
callq 0x84e0
movq 0x1e0(%rsp), %rax
movq (%rax,%r12), %rsi
addq $0x30, %rsi
movq %r15, %rdi
callq 0x3a864
movq %r15, %rdi
movq 0x78(%rsp), %rsi
movl $0x2c, %edx
xorl %ecx, %ecx
callq 0x5ae16
movq 0x418(%rsp), %rdi
testq %rdi, %rdi
je 0xa4b67
movq 0x428(%rsp), %rsi
subq %rdi, %rsi
callq 0x8480
movq 0x78(%rsp), %rcx
movq (%rcx), %rax
movq -0x18(%rax), %rdi
addq %rcx, %rdi
movl $0xa, %esi
callq 0x8450
movsbl %al, %esi
movq 0x78(%rsp), %rdi
callq 0x8040
movq %rax, %rdi
callq 0x8300
incq %r14
movq 0x68(%rsp), %rax
subq 0x60(%rsp), %rax
sarq $0x3, %rax
movabsq $-0x5555555555555555, %rcx # imm = 0xAAAAAAAAAAAAAAAB
imulq %rcx, %rax
addq $0x18, %r12
cmpq %rax, %r14
jne 0xa3c4b
leaq 0x170(%rsp), %rdi
callq 0x3123c
leaq 0x430(%rsp), %rdi
callq 0x3123c
movq 0x3c8(%rsp), %rdi
testq %rdi, %rdi
je 0xa4bf8
movq 0x3d8(%rsp), %rsi
subq %rdi, %rsi
callq 0x8480
movq 0x320(%rsp), %rdi
testq %rdi, %rdi
movq 0x200(%rsp), %rbx
je 0xa4c1d
movq 0x330(%rsp), %rsi
subq %rdi, %rsi
callq 0x8480
movq 0x338(%rsp), %rdi
testq %rdi, %rdi
je 0xa4c3a
movq 0x348(%rsp), %rsi
subq %rdi, %rsi
callq 0x8480
movq 0x350(%rsp), %rdi
testq %rdi, %rdi
je 0xa4c57
movq 0x360(%rsp), %rsi
subq %rdi, %rsi
callq 0x8480
movq 0x228(%rsp), %rdi
testq %rdi, %rdi
je 0xa4c74
movq 0x238(%rsp), %rsi
subq %rdi, %rsi
callq 0x8480
movq 0x240(%rsp), %rdi
testq %rdi, %rdi
je 0xa4c91
movq 0x250(%rsp), %rsi
subq %rdi, %rsi
callq 0x8480
movq 0x258(%rsp), %rdi
testq %rdi, %rdi
je 0xa4cae
movq 0x268(%rsp), %rsi
subq %rdi, %rsi
callq 0x8480
movq 0x368(%rsp), %rdi
testq %rdi, %rdi
je 0xa4ccb
movq 0x378(%rsp), %rsi
subq %rdi, %rsi
callq 0x8480
leaq 0x1e0(%rsp), %rdi
callq 0xa5bb6
leaq 0x3e0(%rsp), %rdi
callq 0x45f06
movl $0x18, %esi
movq %rbx, %rdi
callq 0x8480
movq 0x140(%rsp), %rdi
testq %rdi, %rdi
je 0xa4d37
movq 0x160(%rsp), %rsi
subq %rdi, %rsi
callq 0x8480
xorl %eax, %eax
movq %rax, 0x140(%rsp)
movl %eax, 0x148(%rsp)
movq %rax, 0x150(%rsp)
movl %eax, 0x158(%rsp)
movq %rax, 0x160(%rsp)
leaq 0x400(%rsp), %rdi
callq 0x4b0a4
leaq 0x60(%rsp), %rdi
callq 0x31aa2
leaq 0x190(%rsp), %rdi
callq 0x3123c
leaq 0x2f0(%rsp), %rdi
callq 0x5ddda
leaq 0xf0(%rsp), %rdi
callq 0x5de52
leaq 0x30(%rsp), %rdi
callq 0x3f5f4
leaq 0xa8(%rsp), %rdi
callq 0x3f522
leaq 0x218(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xa4dad
movq 0x218(%rsp), %rsi
incq %rsi
callq 0x8480
movq 0x280(%rsp), %rdi
leaq 0x290(%rsp), %rax
cmpq %rax, %rdi
je 0xa4dd2
movq 0x290(%rsp), %rsi
incq %rsi
callq 0x8480
xorl %eax, %eax
addq $0x448, %rsp            # imm = 0x448
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x661fb(%rip), %rdi     # 0x10afe8
leaq 0x40550(%rip), %rsi     # 0xe5344
movl $0x9, %edx
callq 0x84e0
movq 0x67f0b(%rip), %rsi     # 0x10cd10
movq 0x67f0c(%rip), %rdx     # 0x10cd18
movq 0x661d5(%rip), %rdi     # 0x10afe8
callq 0x84e0
movq %rax, %rbx
leaq 0x4052c(%rip), %rsi     # 0xe534e
movl $0x20, %edx
movq %rax, %rdi
callq 0x84e0
movq %rbx, %rdi
callq 0x8200
movl $0x1, %edi
callq 0x8530
leaq 0x3359d(%rip), %rdi     # 0xd83e5
leaq 0x40553(%rip), %rsi     # 0xe53a2
leaq 0x40559(%rip), %rcx     # 0xe53af
movl $0xb2, %edx
callq 0x82c0
jmp 0xa54b2
jmp 0xa50cb
jmp 0xa54b2
jmp 0xa54b2
jmp 0xa4e76
movq %rax, %rdi
callq 0x287e1
movq %rax, %r15
movq 0x1b0(%rsp), %rdi
leaq 0x1c0(%rsp), %rax
cmpq %rax, %rdi
je 0xa50ce
movq 0x1c0(%rsp), %rsi
incq %rsi
jmp 0xa4eb7
jmp 0xa50cb
movq %rax, %r15
movl $0x240, %esi            # imm = 0x240
movq %rbx, %rdi
callq 0x8480
jmp 0xa50ce
jmp 0xa50cb
movq %rax, %r15
jmp 0xa50f3
movq %rax, %r15
jmp 0xa510f
jmp 0xa54b2
jmp 0xa54b2
movq %rax, %r15
jmp 0xa53b6
movq %rax, %r15
jmp 0xa53c3
jmp 0xa52da
movq %rax, %r15
movq 0xa8(%rsp), %rdi
cmpq %rbx, %rdi
je 0xa4f1a
movq 0xb8(%rsp), %rsi
incq %rsi
callq 0x8480
jmp 0xa4f1a
movq %rax, %r15
movq 0x30(%rsp), %rdi
cmpq %r12, %rdi
je 0xa4f38
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x8480
jmp 0xa4f38
jmp 0xa4f35
movq %rax, %r15
movq 0xf0(%rsp), %rdi
cmpq %r14, %rdi
je 0xa4f5a
movq 0x100(%rsp), %rsi
incq %rsi
callq 0x8480
jmp 0xa4f5a
movq %rax, %r15
movl $0x200, %esi            # imm = 0x200
movq 0x78(%rsp), %rdi
jmp 0xa5413
movq %rax, %r15
movq 0xa8(%rsp), %rdi
cmpq %rbx, %rdi
je 0xa4f8e
movq 0xb8(%rsp), %rsi
incq %rsi
callq 0x8480
jmp 0xa4f8e
movq %rax, %r15
movq 0x30(%rsp), %rdi
cmpq %r12, %rdi
je 0xa4fac
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x8480
jmp 0xa4fac
jmp 0xa4fa9
movq %rax, %r15
movq 0xf0(%rsp), %rdi
cmpq %r14, %rdi
je 0xa4fce
movq 0x100(%rsp), %rsi
incq %rsi
callq 0x8480
jmp 0xa4fce
movq %rax, %r15
movl $0x200, %esi            # imm = 0x200
movq 0x168(%rsp), %rdi
jmp 0xa5413
movq %rax, %r15
movq 0xa8(%rsp), %rdi
cmpq %rbx, %rdi
je 0xa5005
movq 0xb8(%rsp), %rsi
incq %rsi
callq 0x8480
jmp 0xa5005
movq %rax, %r15
movq 0x30(%rsp), %rdi
cmpq %r12, %rdi
je 0xa5023
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x8480
jmp 0xa5023
jmp 0xa5020
movq %rax, %r15
movq 0xf0(%rsp), %rdi
cmpq %r14, %rdi
je 0xa5045
movq 0x100(%rsp), %rsi
incq %rsi
callq 0x8480
jmp 0xa5045
movq %rax, %r15
movl $0x200, %esi            # imm = 0x200
movq 0x80(%rsp), %rdi
jmp 0xa5413
movq %rax, %r15
movq 0xa8(%rsp), %rdi
cmpq %rbx, %rdi
je 0xa507c
movq 0xb8(%rsp), %rsi
incq %rsi
callq 0x8480
jmp 0xa507c
movq %rax, %r15
movq 0x30(%rsp), %rdi
cmpq %r12, %rdi
je 0xa509a
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x8480
jmp 0xa509a
jmp 0xa5097
movq %rax, %r15
movq 0xf0(%rsp), %rdi
cmpq %r14, %rdi
je 0xa50bc
movq 0x100(%rsp), %rsi
incq %rsi
callq 0x8480
jmp 0xa50bc
movq %rax, %r15
movl $0x200, %esi            # imm = 0x200
movq 0x8(%rsp), %rdi
jmp 0xa5413
movq %rax, %r15
movq 0x88(%rsp), %rdi
leaq 0x98(%rsp), %rax
cmpq %rax, %rdi
je 0xa50f3
movq 0x98(%rsp), %rsi
incq %rsi
callq 0x8480
movq 0x10(%rsp), %rdi
leaq 0x20(%rsp), %rax
cmpq %rax, %rdi
je 0xa510f
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x8480
leaq 0xd8(%rsp), %rdi
jmp 0xa53e2
jmp 0xa511e
movq %rax, %r15
movq 0x30(%rsp), %rdi
cmpq %r12, %rdi
je 0xa513d
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x8480
jmp 0xa513d
movq %rax, %r15
movl $0x200, %esi            # imm = 0x200
movq 0x78(%rsp), %rdi
jmp 0xa51d7
jmp 0xa514e
movq %rax, %r15
movq 0x30(%rsp), %rdi
cmpq %r12, %rdi
je 0xa516d
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x8480
jmp 0xa516d
movq %rax, %r15
movl $0x200, %esi            # imm = 0x200
movq 0x168(%rsp), %rdi
jmp 0xa51d7
jmp 0xa517e
movq %rax, %r15
movq 0x30(%rsp), %rdi
cmpq %r12, %rdi
je 0xa519d
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x8480
jmp 0xa519d
movq %rax, %r15
movl $0x200, %esi            # imm = 0x200
movq 0x80(%rsp), %rdi
jmp 0xa51d7
jmp 0xa51ae
movq %rax, %r15
movq 0x30(%rsp), %rdi
cmpq %r12, %rdi
je 0xa51cd
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x8480
jmp 0xa51cd
movq %rax, %r15
movl $0x200, %esi            # imm = 0x200
movq 0x8(%rsp), %rdi
callq 0x8480
jmp 0xa53f7
movq %rax, %r15
leaq 0x1c0(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xa520a
movq 0x1c0(%rsp), %rsi
incq %rsi
callq 0x8480
jmp 0xa520a
movq %rax, %r15
movq 0x30(%rsp), %rdi
cmpq %r12, %rdi
je 0xa5226
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x8480
jmp 0xa5226
movq %rax, %r15
leaq 0x100(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xa524c
movq 0x100(%rsp), %rsi
incq %rsi
callq 0x8480
jmp 0xa524c
movq %rax, %r15
leaq 0x98(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xa5272
movq 0x98(%rsp), %rsi
incq %rsi
callq 0x8480
jmp 0xa5272
movq %rax, %r15
movq 0x2f0(%rsp), %rdi
cmpq %rbp, %rdi
je 0xa5294
movq 0x300(%rsp), %rsi
incq %rsi
callq 0x8480
jmp 0xa5294
movq %rax, %r15
movq 0x140(%rsp), %rdi
cmpq %r13, %rdi
je 0xa52b8
movq 0x150(%rsp), %rsi
incq %rsi
callq 0x8480
jmp 0xa52b8
jmp 0xa52b5
movq %rax, %r15
movq 0x10(%rsp), %rdi
cmpq %r14, %rdi
je 0xa5680
movq 0x20(%rsp), %rsi
jmp 0xa5410
jmp 0xa53ec
jmp 0xa54b2
movq %rax, %r15
jmp 0xa53da
jmp 0xa5492
movq %rax, %r15
movq 0x200(%rsp), %rbx
jmp 0xa54f4
movq %rax, %r15
jmp 0xa5511
movq %rax, %r15
jmp 0xa552e
movq %rax, %r15
jmp 0xa554b
movq %rax, %r15
jmp 0xa5568
movq %rax, %r15
jmp 0xa5585
movq %rax, %r15
jmp 0xa55a2
jmp 0xa5329
movq %rax, %r15
jmp 0xa55bf
movq %rax, %r15
jmp 0xa55d9
jmp 0xa54aa
jmp 0xa5340
movq %rax, %r15
jmp 0xa562b
movq %rax, %r15
jmp 0xa5638
jmp 0xa538e
movq %rax, %r15
movl $0x208, %esi            # imm = 0x208
movq 0x130(%rsp), %rdi
jmp 0xa569c
jmp 0xa538e
movq %rax, %r15
leaq 0xb8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xa56a1
movq 0xb8(%rsp), %rsi
jmp 0xa5699
movq %rax, %r15
jmp 0xa56a1
movq %rax, %r15
movq 0xd8(%rsp), %rdi
testq %rdi, %rdi
je 0xa53b6
movq 0xe8(%rsp), %rsi
subq %rdi, %rsi
callq 0x8480
leaq 0x1b0(%rsp), %rdi
callq 0x3123c
movq 0x10(%rsp), %rdi
cmpq %r12, %rdi
je 0xa53da
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x8480
leaq 0x88(%rsp), %rdi
callq 0x3123c
jmp 0xa54b5
movq %rax, %r15
jmp 0xa5680
movq %rax, %r15
movq 0xa8(%rsp), %rdi
cmpq %rbx, %rdi
je 0xa5680
movq 0xb8(%rsp), %rsi
incq %rsi
callq 0x8480
jmp 0xa5680
jmp 0xa54aa
jmp 0xa5426
jmp 0xa5426
movq %rax, %r15
jmp 0xa5642
movq %rax, %r15
movq 0x418(%rsp), %rdi
testq %rdi, %rdi
je 0xa54b5
movq 0x428(%rsp), %rsi
jmp 0xa547a
movq %rax, %r15
movq 0x398(%rsp), %rdi
testq %rdi, %rdi
je 0xa54b5
movq 0x3a8(%rsp), %rsi
jmp 0xa547a
movq %rax, %r15
movq 0x3b0(%rsp), %rdi
testq %rdi, %rdi
je 0xa54b5
movq 0x3c0(%rsp), %rsi
subq %rdi, %rsi
callq 0x8480
jmp 0xa54b5
jmp 0xa54b2
jmp 0xa54b2
jmp 0xa54b2
jmp 0xa54b2
jmp 0xa5492
jmp 0xa54aa
jmp 0xa54b2
movq %rax, %r15
jmp 0xa564f
movq %rax, %r15
leaq 0x140(%rsp), %rdi
jmp 0xa564a
movq %rax, %r15
jmp 0xa55e6
movq %rax, %r15
leaq 0x170(%rsp), %rdi
callq 0x3123c
leaq 0x430(%rsp), %rdi
callq 0x3123c
movq 0x3c8(%rsp), %rdi
testq %rdi, %rdi
movq 0x200(%rsp), %rbx
je 0xa54f4
movq 0x3d8(%rsp), %rsi
subq %rdi, %rsi
callq 0x8480
movq 0x320(%rsp), %rdi
testq %rdi, %rdi
je 0xa5511
movq 0x330(%rsp), %rsi
subq %rdi, %rsi
callq 0x8480
movq 0x338(%rsp), %rdi
testq %rdi, %rdi
je 0xa552e
movq 0x348(%rsp), %rsi
subq %rdi, %rsi
callq 0x8480
movq 0x350(%rsp), %rdi
testq %rdi, %rdi
je 0xa554b
movq 0x360(%rsp), %rsi
subq %rdi, %rsi
callq 0x8480
movq 0x228(%rsp), %rdi
testq %rdi, %rdi
je 0xa5568
movq 0x238(%rsp), %rsi
subq %rdi, %rsi
callq 0x8480
movq 0x240(%rsp), %rdi
testq %rdi, %rdi
je 0xa5585
movq 0x250(%rsp), %rsi
subq %rdi, %rsi
callq 0x8480
movq 0x258(%rsp), %rdi
testq %rdi, %rdi
je 0xa55a2
movq 0x268(%rsp), %rsi
subq %rdi, %rsi
callq 0x8480
movq 0x368(%rsp), %rdi
testq %rdi, %rdi
je 0xa55bf
movq 0x378(%rsp), %rsi
subq %rdi, %rsi
callq 0x8480
leaq 0x1e0(%rsp), %rdi
callq 0xa5bb6
leaq 0x3e0(%rsp), %rdi
callq 0x45f06
movl $0x18, %esi
movq %rbx, %rdi
callq 0x8480
movq 0x140(%rsp), %rdi
testq %rdi, %rdi
je 0xa562b
movq 0x160(%rsp), %rsi
subq %rdi, %rsi
callq 0x8480
xorl %eax, %eax
movq %rax, 0x140(%rsp)
movl %eax, 0x148(%rsp)
movq %rax, 0x150(%rsp)
movl %eax, 0x158(%rsp)
movq %rax, 0x160(%rsp)
leaq 0x400(%rsp), %rdi
callq 0x4b0a4
leaq 0x60(%rsp), %rdi
callq 0x31aa2
leaq 0x190(%rsp), %rdi
callq 0x3123c
leaq 0x2f0(%rsp), %rdi
callq 0x5ddda
leaq 0xf0(%rsp), %rdi
callq 0x5de52
leaq 0x30(%rsp), %rdi
callq 0x3f5f4
leaq 0xa8(%rsp), %rdi
callq 0x3f522
leaq 0x218(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xa56a1
movq 0x218(%rsp), %rsi
incq %rsi
callq 0x8480
movq 0x280(%rsp), %rdi
leaq 0x290(%rsp), %rax
cmpq %rax, %rdi
je 0xa56c6
movq 0x290(%rsp), %rsi
incq %rsi
callq 0x8480
movq %r15, %rdi
callq 0x8840