// File: /workspace/github_cpp_makefile_star2_O3/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 $0x438, %rsp            # imm = 0x438
callq 0xa4bc0
leaq 0x248(%rsp), %rax
movq %rax, -0x10(%rax)
movq $0x0, -0x8(%rax)
movb $0x0, (%rax)
movq 0x62b50(%rip), %rsi     # 0x103d00
leaq 0xc0(%rsp), %rdi
leaq 0x10(%rsp), %rdx
callq 0x287de
leaq 0xc0(%rsp), %rdi
movl $0x8, %esi
callq 0x500af
movq %rax, 0x210(%rsp)
leaq 0xd0(%rsp), %rbx
movq -0x10(%rbx), %rdi
cmpq %rbx, %rdi
je 0xa11fd
movq 0xd0(%rsp), %rsi
incq %rsi
callq 0x8480
movl $0x208, %edi            # imm = 0x208
callq 0x8470
movq %rax, %rbp
movq 0x62b0f(%rip), %rsi     # 0x103d20
movq %rax, %rdi
movl $0x8, %edx
callq 0x8860
leaq 0x62afb(%rip), %rsi     # 0x103d20
leaq 0x258(%rsp), %rdi
callq 0x4d82f
cmpl $-0x1, 0x61373(%rip)    # 0x1025ac
je 0xa12c5
leaq 0x70(%rsp), %r14
movq %r14, -0x10(%r14)
movq 0x258(%rsp), %rsi
movq 0x260(%rsp), %rdx
addq %rsi, %rdx
leaq 0x60(%rsp), %rdi
callq 0x2ba06
leaq 0x33e10(%rip), %rsi     # 0xd507c
leaq 0x60(%rsp), %rdi
callq 0x88c0
movq 0x62ac3(%rip), %rsi     # 0x103d40
movq 0x62ac4(%rip), %rdx     # 0x103d48
leaq 0x60(%rsp), %rdi
callq 0x8180
leaq 0x1a8(%rsp), %r13
movq %r13, -0x10(%r13)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0xa135e
movq %rdx, 0x198(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x1a8(%rsp)
jmp 0xa1368
movl $0x200, %edi            # imm = 0x200
callq 0x8470
movq %rax, 0x8(%rsp)
leaq 0x100(%rsp), %r14
movq %r14, -0x10(%r14)
movq 0x258(%rsp), %rsi
movq 0x260(%rsp), %rdx
addq %rsi, %rdx
leaq 0xf0(%rsp), %rdi
callq 0x2ba06
leaq 0x33d75(%rip), %rsi     # 0xd507c
leaq 0xf0(%rsp), %rdi
callq 0x88c0
movq 0x62a25(%rip), %rsi     # 0x103d40
movq 0x62a26(%rip), %rdx     # 0x103d48
leaq 0xf0(%rsp), %rdi
callq 0x8180
leaq 0x20(%rsp), %r12
movq %r12, -0x10(%r12)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0xa18ac
movq %rdx, 0x10(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x20(%rsp)
jmp 0xa18b6
movupd (%rcx), %xmm0
movupd %xmm0, (%r13)
movq %rbp, %r15
movq 0x8(%rax), %rdx
leaq 0x198(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x33ceb(%rip), %rsi     # 0xd507c
callq 0x88c0
leaq 0x300(%rsp), %rbp
movq %rbp, -0x10(%rbp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0xa13c6
movq %rdx, 0x2f0(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x300(%rsp)
jmp 0xa13cf
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 0x611bc(%rip), %esi     # 0x1025ac
leaq 0x90(%rsp), %rdi
callq 0x2e7e2
movq 0x2f0(%rsp), %rcx
movq 0x2f8(%rsp), %r8
movq 0x98(%rsp), %rdx
leaq (%rdx,%r8), %rax
movl $0xf, %edi
cmpq %rbp, %rcx
je 0xa142b
movq 0x300(%rsp), %rdi
movq 0x90(%rsp), %rsi
cmpq %rdi, %rax
jbe 0xa1457
leaq 0xa0(%rsp), %r9
movl $0xf, %edi
cmpq %r9, %rsi
je 0xa1452
movq 0xa0(%rsp), %rdi
cmpq %rdi, %rax
jbe 0xa1466
leaq 0x2f0(%rsp), %rdi
callq 0x8180
jmp 0xa1477
leaq 0x90(%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 0xa14a4
movq %rsi, 0xf0(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x100(%rsp)
jmp 0xa14ac
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 0x33ba9(%rip), %rsi     # 0xd507c
leaq 0xf0(%rsp), %rdi
callq 0x88c0
leaq 0x20(%rsp), %r12
movq %r12, -0x10(%r12)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0xa1508
movq %rdx, 0x10(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x20(%rsp)
jmp 0xa1512
movupd (%rcx), %xmm0
movupd %xmm0, (%r12)
movq 0x8(%rax), %rdx
movq %rdx, 0x18(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movl 0x61080(%rip), %esi     # 0x1025b0
addl 0x61076(%rip), %esi     # 0x1025ac
leaq 0x1d0(%rsp), %rdi
callq 0x2e7e2
movq 0x10(%rsp), %rcx
movq 0x18(%rsp), %r8
movq 0x1d8(%rsp), %rdx
leaq (%rdx,%r8), %rax
movl $0xf, %edi
cmpq %r12, %rcx
je 0xa1568
movq 0x20(%rsp), %rdi
movq 0x1d0(%rsp), %rsi
cmpq %rdi, %rax
jbe 0xa1594
leaq 0x1e0(%rsp), %r9
movl $0xf, %edi
cmpq %r9, %rsi
je 0xa158f
movq 0x1e0(%rsp), %rdi
cmpq %rdi, %rax
jbe 0xa15a0
leaq 0x10(%rsp), %rdi
callq 0x8180
jmp 0xa15b1
leaq 0x1d0(%rsp), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x84d0
movq %rbx, 0xc0(%rsp)
movq (%rax), %rdx
leaq 0x10(%rax), %rcx
cmpq %rcx, %rdx
je 0xa15da
movq %rdx, 0xc0(%rsp)
movq (%rcx), %rdx
movq %rdx, 0xd0(%rsp)
jmp 0xa15e2
movupd (%rcx), %xmm0
movupd %xmm0, (%rbx)
movq %rax, %rdx
addq $0x8, %rdx
movq 0x8(%rax), %rsi
movq %rsi, 0xc8(%rsp)
movq %rcx, (%rax)
movq $0x0, (%rdx)
movb $0x0, (%rcx)
leaq 0x1e0(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xa1623
movq 0x1e0(%rsp), %rsi
incq %rsi
callq 0x8480
movq 0x10(%rsp), %rdi
cmpq %r12, %rdi
je 0xa163a
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x8480
leaq 0x100(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xa165b
movq 0x100(%rsp), %rsi
incq %rsi
callq 0x8480
leaq 0xa0(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xa167c
movq 0xa0(%rsp), %rsi
incq %rsi
callq 0x8480
movq 0x2f0(%rsp), %rdi
cmpq %rbp, %rdi
je 0xa1699
movq 0x300(%rsp), %rsi
incq %rsi
callq 0x8480
movq 0x198(%rsp), %rdi
cmpq %r13, %rdi
movq %r15, %rbp
je 0xa16b9
movq 0x1a8(%rsp), %rsi
incq %rsi
callq 0x8480
movq 0x60(%rsp), %rdi
cmpq %r14, %rdi
je 0xa16d0
movq 0x70(%rsp), %rsi
incq %rsi
callq 0x8480
movl $0x200, %edi            # imm = 0x200
callq 0x8470
movq %rax, 0x8(%rsp)
leaq 0x10(%rsp), %rdi
movq %r12, (%rdi)
movq 0xc0(%rsp), %rsi
movq 0xc8(%rsp), %rdx
addq %rsi, %rdx
callq 0x2ba06
leaq 0x3c1f9(%rip), %rsi     # 0xdd8ff
leaq 0x10(%rsp), %rdi
callq 0x88c0
leaq 0x10(%rsp), %rsi
movq 0x8(%rsp), %rdi
movl $0x10, %edx
callq 0x88d0
movq 0x10(%rsp), %rdi
cmpq %r12, %rdi
je 0xa173b
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x8480
movl $0x200, %edi            # imm = 0x200
callq 0x8470
movq %rax, 0xb8(%rsp)
leaq 0x10(%rsp), %rdi
movq %r12, (%rdi)
movq 0xc0(%rsp), %rsi
movq 0xc8(%rsp), %rdx
addq %rsi, %rdx
callq 0x2ba06
leaq 0x3c195(%rip), %rsi     # 0xdd909
leaq 0x10(%rsp), %rdi
callq 0x88c0
leaq 0x10(%rsp), %rsi
movq 0xb8(%rsp), %rdi
movl $0x10, %edx
callq 0x88d0
movq 0x10(%rsp), %rdi
cmpq %r12, %rdi
je 0xa17ac
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x8480
movl $0x200, %edi            # imm = 0x200
callq 0x8470
movq %rax, 0x130(%rsp)
leaq 0x10(%rsp), %rdi
movq %r12, (%rdi)
movq 0xc0(%rsp), %rsi
movq 0xc8(%rsp), %rdx
addq %rsi, %rdx
callq 0x2ba06
leaq 0x3c12e(%rip), %rsi     # 0xdd913
leaq 0x10(%rsp), %rdi
callq 0x88c0
leaq 0x10(%rsp), %rsi
movq 0x130(%rsp), %rdi
movl $0x10, %edx
callq 0x88d0
movq 0x10(%rsp), %rdi
cmpq %r12, %rdi
je 0xa181d
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x8480
movl $0x200, %edi            # imm = 0x200
callq 0x8470
movq %rax, 0x88(%rsp)
leaq 0x10(%rsp), %rdi
movq %r12, (%rdi)
movq 0xc0(%rsp), %rsi
movq 0xc8(%rsp), %rdx
addq %rsi, %rdx
callq 0x2ba06
leaq 0x3c0ca(%rip), %rsi     # 0xdd920
leaq 0x10(%rsp), %rdi
callq 0x88c0
leaq 0x10(%rsp), %rsi
movq 0x88(%rsp), %rdi
movl $0x10, %edx
callq 0x88d0
movq 0x10(%rsp), %rdi
cmpq %r12, %rdi
je 0xa188e
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x8480
movq 0xc0(%rsp), %rdi
cmpq %rbx, %rdi
je 0xa1dde
movq 0xd0(%rsp), %rsi
jmp 0xa1dd6
movupd (%rcx), %xmm0
movupd %xmm0, (%r12)
movq 0x8(%rax), %rdx
leaq 0x10(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x3c026(%rip), %rsi     # 0xdd8ff
callq 0x88c0
movq %rbx, 0xc0(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0xa190a
movq %rdx, 0xc0(%rsp)
movq (%rcx), %rdx
movq %rdx, 0xd0(%rsp)
jmp 0xa1912
movupd (%rcx), %xmm0
movupd %xmm0, (%rbx)
movq 0x8(%rax), %rdx
leaq 0xc0(%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 0xc0(%rsp), %rdi
cmpq %rbx, %rdi
je 0xa195d
movq 0xd0(%rsp), %rsi
incq %rsi
callq 0x8480
movq 0x10(%rsp), %rdi
cmpq %r12, %rdi
je 0xa1974
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x8480
movq 0xf0(%rsp), %rdi
cmpq %r14, %rdi
je 0xa1991
movq 0x100(%rsp), %rsi
incq %rsi
callq 0x8480
movl $0x200, %edi            # imm = 0x200
callq 0x8470
movq %rax, 0xb8(%rsp)
leaq 0xf0(%rsp), %rdi
movq %r14, (%rdi)
movq 0x258(%rsp), %rsi
movq 0x260(%rsp), %rdx
addq %rsi, %rdx
callq 0x2ba06
leaq 0x336af(%rip), %rsi     # 0xd507c
leaq 0xf0(%rsp), %rdi
callq 0x88c0
movq 0x6235f(%rip), %rsi     # 0x103d40
movq 0x62360(%rip), %rdx     # 0x103d48
leaq 0xf0(%rsp), %rdi
callq 0x8180
movq %r12, 0x10(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0xa1a18
movq %rdx, 0x10(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x20(%rsp)
jmp 0xa1a22
movupd (%rcx), %xmm0
movupd %xmm0, (%r12)
movq 0x8(%rax), %rdx
leaq 0x10(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x3bec4(%rip), %rsi     # 0xdd909
callq 0x88c0
movq %rbx, 0xc0(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0xa1a76
movq %rdx, 0xc0(%rsp)
movq (%rcx), %rdx
movq %rdx, 0xd0(%rsp)
jmp 0xa1a7e
movupd (%rcx), %xmm0
movupd %xmm0, (%rbx)
movq 0x8(%rax), %rdx
leaq 0xc0(%rsp), %rsi
movq %rdx, 0x8(%rsi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0xb8(%rsp), %rdi
movl $0x10, %edx
callq 0x88d0
movq 0xc0(%rsp), %rdi
cmpq %rbx, %rdi
je 0xa1acc
movq 0xd0(%rsp), %rsi
incq %rsi
callq 0x8480
movq 0x10(%rsp), %rdi
cmpq %r12, %rdi
je 0xa1ae3
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x8480
movq 0xf0(%rsp), %rdi
cmpq %r14, %rdi
je 0xa1b00
movq 0x100(%rsp), %rsi
incq %rsi
callq 0x8480
movl $0x200, %edi            # imm = 0x200
callq 0x8470
movq %rax, 0x130(%rsp)
leaq 0xf0(%rsp), %rdi
movq %r14, (%rdi)
movq 0x258(%rsp), %rsi
movq 0x260(%rsp), %rdx
addq %rsi, %rdx
callq 0x2ba06
leaq 0x33540(%rip), %rsi     # 0xd507c
leaq 0xf0(%rsp), %rdi
callq 0x88c0
movq 0x621f0(%rip), %rsi     # 0x103d40
movq 0x621f1(%rip), %rdx     # 0x103d48
leaq 0xf0(%rsp), %rdi
callq 0x8180
movq %r12, 0x10(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0xa1b87
movq %rdx, 0x10(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x20(%rsp)
jmp 0xa1b91
movupd (%rcx), %xmm0
movupd %xmm0, (%r12)
movq 0x8(%rax), %rdx
leaq 0x10(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x3bd5f(%rip), %rsi     # 0xdd913
callq 0x88c0
movq %rbx, 0xc0(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0xa1be5
movq %rdx, 0xc0(%rsp)
movq (%rcx), %rdx
movq %rdx, 0xd0(%rsp)
jmp 0xa1bed
movupd (%rcx), %xmm0
movupd %xmm0, (%rbx)
movq 0x8(%rax), %rdx
leaq 0xc0(%rsp), %rsi
movq %rdx, 0x8(%rsi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x130(%rsp), %rdi
movl $0x10, %edx
callq 0x88d0
movq 0xc0(%rsp), %rdi
cmpq %rbx, %rdi
je 0xa1c3b
movq 0xd0(%rsp), %rsi
incq %rsi
callq 0x8480
movq 0x10(%rsp), %rdi
cmpq %r12, %rdi
je 0xa1c52
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x8480
movq 0xf0(%rsp), %rdi
cmpq %r14, %rdi
je 0xa1c6f
movq 0x100(%rsp), %rsi
incq %rsi
callq 0x8480
movl $0x200, %edi            # imm = 0x200
callq 0x8470
movq %rax, 0x88(%rsp)
leaq 0xf0(%rsp), %rdi
movq %r14, (%rdi)
movq 0x258(%rsp), %rsi
movq 0x260(%rsp), %rdx
addq %rsi, %rdx
callq 0x2ba06
leaq 0x333d1(%rip), %rsi     # 0xd507c
leaq 0xf0(%rsp), %rdi
callq 0x88c0
movq 0x62081(%rip), %rsi     # 0x103d40
movq 0x62082(%rip), %rdx     # 0x103d48
leaq 0xf0(%rsp), %rdi
callq 0x8180
movq %r12, 0x10(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0xa1cf6
movq %rdx, 0x10(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x20(%rsp)
jmp 0xa1d00
movupd (%rcx), %xmm0
movupd %xmm0, (%r12)
movq 0x8(%rax), %rdx
leaq 0x10(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x3bbfd(%rip), %rsi     # 0xdd920
callq 0x88c0
movq %rbx, 0xc0(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0xa1d54
movq %rdx, 0xc0(%rsp)
movq (%rcx), %rdx
movq %rdx, 0xd0(%rsp)
jmp 0xa1d5c
movupd (%rcx), %xmm0
movupd %xmm0, (%rbx)
movq 0x8(%rax), %rdx
leaq 0xc0(%rsp), %rsi
movq %rdx, 0x8(%rsi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x88(%rsp), %rdi
movl $0x10, %edx
callq 0x88d0
movq 0xc0(%rsp), %rdi
cmpq %rbx, %rdi
je 0xa1daa
movq 0xd0(%rsp), %rsi
incq %rsi
callq 0x8480
movq 0x10(%rsp), %rdi
cmpq %r12, %rdi
je 0xa1dc1
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x8480
movq 0xf0(%rsp), %rdi
cmpq %r14, %rdi
je 0xa1dde
movq 0x100(%rsp), %rsi
incq %rsi
callq 0x8480
leaq 0xc8(%rsp), %rax
xorl %r13d, %r13d
movl %r13d, (%rax)
movq %r13, 0x8(%rax)
movq %rax, 0x10(%rax)
movq %rax, 0x18(%rax)
movq %r13, 0x20(%rax)
leaq 0x18(%rsp), %rax
movl %r13d, (%rax)
movq %r13, 0x8(%rax)
movq %rax, 0x10(%rax)
movq %rax, 0x18(%rax)
movq %r13, 0x20(%rax)
leaq 0xf8(%rsp), %rax
movl %r13d, (%rax)
movq %r13, 0x8(%rax)
movq %rax, 0x10(%rax)
movq %rax, 0x18(%rax)
movq %r13, 0x20(%rax)
leaq 0x2f8(%rsp), %rax
movl %r13d, (%rax)
movq %r13, 0x8(%rax)
movq %rax, 0x10(%rax)
movq %rax, 0x18(%rax)
movq %r13, 0x20(%rax)
leaq 0x238(%rsp), %rbx
leaq 0x198(%rsp), %r15
movq (%rbp), %rax
movq -0x18(%rax), %rdi
addq %rbp, %rdi
movl $0xa, %esi
callq 0x8450
movsbl %al, %edx
movq %rbp, %rdi
movq %rbx, %rsi
callq 0x8870
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
testb $0x5, 0x20(%rax,%rcx)
jne 0xa1f20
movq %rbp, %r12
movq %r15, %rdi
movq %rbx, %rsi
movl $0x9, %edx
callq 0x4d650
movq 0x198(%rsp), %rdi
addq $0x20, %rdi
leaq 0x2e5e1(%rip), %rsi     # 0xd0496
callq 0x8160
testl %eax, %eax
sete %bpl
movq 0x198(%rsp), %rsi
addq $0x20, %rsi
leaq 0xc0(%rsp), %rdi
callq 0x46fb4
movq 0x198(%rsp), %rsi
movq %rax, %rdi
callq 0x3133c
movq 0x198(%rsp), %r14
leaq 0x10(%rsp), %rdi
movq %r14, %rsi
callq 0x3b46e
addq $0x20, %r14
movq %rax, %rdi
movq %r14, %rsi
callq 0x8270
orb %bpl, %r13b
movq %r15, %rdi
callq 0x2e784
movq %r12, %rbp
jmp 0xa1e5a
testb $0x1, %r13b
je 0xa42e9
xorpd %xmm0, %xmm0
movapd %xmm0, 0x180(%rsp)
movq $0x0, 0x190(%rsp)
movq 0xd8(%rsp), %rbx
leaq 0xc8(%rsp), %rax
cmpq %rax, %rbx
je 0xa1fb3
leaq 0x2e537(%rip), %r14     # 0xd0496
leaq 0x2fe2a(%rip), %r15     # 0xd1d90
leaq 0x180(%rsp), %r12
leaq 0x20(%rbx), %r13
movq %r13, %rdi
movq %r14, %rsi
callq 0x8160
testl %eax, %eax
je 0xa1f9b
movq %r13, %rdi
movq %r15, %rsi
callq 0x8160
testl %eax, %eax
je 0xa1f9b
movq %r12, %rdi
movq %r13, %rsi
callq 0x3133c
movq %rbx, %rdi
callq 0x8310
movq %rax, %rbx
leaq 0xc8(%rsp), %rax
cmpq %rax, %rbx
jne 0xa1f6e
movq 0x6002e(%rip), %rdi     # 0x101fe8
leaq 0x3efa8(%rip), %rsi     # 0xe0f69
movl $0xa, %edx
callq 0x84e0
movq 0x188(%rsp), %rsi
subq 0x180(%rsp), %rsi
sarq $0x5, %rsi
movq 0x60002(%rip), %rdi     # 0x101fe8
callq 0x82f0
movq %rax, %rbx
leaq 0x3533f(%rip), %rsi     # 0xd7334
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 0x188(%rsp), %rax
subq 0x180(%rsp), %rax
shrq $0x5, %rax
xorl %ebx, %ebx
cmpl $0x3, %eax
jb 0xa209a
leal -0x3(%rax), %edx
cmpl $0x6, %eax
movl $0x3, %ecx
cmovbl %edx, %ecx
testl %ecx, %ecx
je 0xa205f
cmpl $0x1, %ecx
jne 0xa2066
movl %eax, %ebx
jmp 0xa209a
movl $0x1, %ebx
jmp 0xa209a
cmpl $0x6, %eax
movl $0x6, %edx
cmovbl %eax, %edx
movl $0x4, %ecx
subl %edx, %ecx
leal -0x1(%rax), %esi
movl $0x2, %edi
movl %eax, %ebx
imull %esi, %ebx
movl %ebx, %eax
cltd
idivl %edi
leal (%rcx,%rdi), %edx
incl %edx
incl %edi
decl %esi
movl %eax, %ebx
cmpl $0x2, %edx
jne 0xa2082
movq 0x5ff47(%rip), %rdi     # 0x101fe8
leaq 0x3b8b7(%rip), %rsi     # 0xdd95f
movl $0x13, %edx
callq 0x84e0
movq 0x5ff2f(%rip), %rdi     # 0x101fe8
movl %ebx, %esi
callq 0x8810
movq %rax, %r14
leaq 0x3b8a9(%rip), %rsi     # 0xdd973
movl $0xc, %edx
movq %rax, %rdi
callq 0x84e0
movq (%r14), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x8450
movsbl %al, %esi
movq %r14, %rdi
callq 0x8040
movq %rax, %rdi
callq 0x8300
xorpd %xmm0, %xmm0
leaq 0x40(%rsp), %rdi
movapd %xmm0, (%rdi)
movq $0x0, 0x10(%rdi)
movslq %ebx, %r14
movq %r14, %rsi
callq 0x46d6a
leaq 0x3d0(%rsp), %rdi
xorpd %xmm0, %xmm0
movapd %xmm0, (%rdi)
movq $0x0, 0x10(%rdi)
movq %r14, %rsi
callq 0x9ae02
movq %r14, 0x1c0(%rsp)
movl %ebx, 0x150(%rsp)
movq 0x188(%rsp), %rsi
subq 0x180(%rsp), %rsi
sarq $0x5, %rsi
leaq 0x60(%rsp), %rdx
movb $0x0, (%rdx)
leaq 0x198(%rsp), %rdi
leaq 0x90(%rsp), %rcx
callq 0x51f9e
movq 0x198(%rsp), %rax
orq $0x7, (%rax)
movabsq $-0x8000000000000000, %r12 # imm = 0x8000000000000000
xorl %r13d, %r13d
leaq 0x3f(%r12), %rbp
leaq 0x60(%rsp), %r15
movl $0x0, 0x60(%rsp)
movq 0x198(%rsp), %rdi
movq 0x1a8(%rsp), %rdx
movl 0x1b0(%rsp), %ecx
movq %rdx, %rax
subq %rdi, %rax
shlq $0x3, %rax
addq %rcx, %rax
je 0xa2294
xorl %esi, %esi
leaq (,%r13,2), %r14
addq %r13, %r14
leaq (,%r14,8), %rbx
xorl %eax, %eax
leal 0x3f(%rax), %ecx
testl %eax, %eax
cmovnsl %eax, %ecx
sarl $0x6, %ecx
movslq %ecx, %rcx
leaq (%rdi,%rcx,8), %rcx
movq %rsi, %rdx
andq %rbp, %rdx
xorl %edi, %edi
cmpq %r12, %rdx
setbe %dil
movq -0x8(%rcx,%rdi,8), %rcx
btq %rsi, %rcx
jae 0xa2261
movq 0x40(%rsp), %rdi
addq %rbx, %rdi
shlq $0x5, %rsi
addq 0x180(%rsp), %rsi
callq 0x3133c
movq 0x3d0(%rsp), %rax
leaq (%rax,%r14,8), %rdi
movq 0x8(%rdi), %rsi
cmpq 0x10(%rdi), %rsi
je 0xa2255
movl 0x60(%rsp), %eax
movl %eax, (%rsi)
addq $0x4, %rsi
movq %rsi, 0x8(%rdi)
jmp 0xa2261
movq %r15, %rdx
callq 0x48c2e
movl 0x60(%rsp), %eax
incl %eax
movl %eax, 0x60(%rsp)
movslq %eax, %rsi
movq 0x198(%rsp), %rdi
movq 0x1a8(%rsp), %rdx
movl 0x1b0(%rsp), %ecx
movq %rdx, %r8
subq %rdi, %r8
leaq (%rcx,%r8,8), %r8
cmpq %rsi, %r8
ja 0xa21ea
xorl %esi, %esi
callq 0xa50df
incq %r13
testb %al, %al
jne 0xa21a1
movq 0x5fd3b(%rip), %r15     # 0x101fe8
leaq 0x3b6cc(%rip), %rsi     # 0xdd980
movl $0x11, %edx
movq %r15, %rdi
callq 0x84e0
movq (%r15), %rax
addq -0x18(%rax), %r15
movq %r15, %rdi
movl $0xa, %esi
callq 0x8450
movsbl %al, %esi
movq 0x5fd09(%rip), %rdi     # 0x101fe8
callq 0x8040
movq %rax, %rdi
callq 0x8300
movl $0x18, %edi
callq 0x8470
movl 0x150(%rsp), %ebp
movq 0x1c0(%rsp), %r14
movq %rax, %rbx
xorpd %xmm0, %xmm0
movupd %xmm0, (%rax)
xorl %eax, %eax
movq %rax, 0x10(%rbx)
movq %rax, 0x3c0(%rsp)
movapd %xmm0, 0x3b0(%rsp)
movl $0x48, %edi
callq 0x8470
leaq 0x3b0(%rsp), %rdx
movq %rax, (%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 0x220(%rsp), %rdi
movq %rsi, 0x10(%rdi)
movapd %xmm0, (%rdi)
movq %r14, %rsi
callq 0xa5282
movq 0x188(%rsp), %rsi
subq 0x180(%rsp), %rsi
sarq $0x5, %rsi
leaq 0x60(%rsp), %rdx
movq $0x0, (%rdx)
leaq 0x368(%rsp), %rdi
leaq 0x90(%rsp), %rcx
callq 0x51a0c
leaq 0x60(%rsp), %rdx
movq $0x0, (%rdx)
leaq 0x2a8(%rsp), %rdi
leaq 0x90(%rsp), %rcx
movq %r14, %rsi
callq 0x51a0c
leaq 0x60(%rsp), %rdx
movq $0x0, (%rdx)
leaq 0x290(%rsp), %rdi
leaq 0x90(%rsp), %rcx
movq %r14, %rsi
callq 0x51a0c
leaq 0x60(%rsp), %rdx
movq $0x0, (%rdx)
leaq 0x278(%rsp), %rdi
leaq 0x90(%rsp), %rcx
movq %r14, %rsi
callq 0x51a0c
leaq 0x60(%rsp), %rdx
movq $0x0, (%rdx)
leaq 0x350(%rsp), %rdi
leaq 0x90(%rsp), %rcx
movq %r14, %rsi
callq 0x51a0c
leaq 0x60(%rsp), %rdx
movq $0x0, (%rdx)
leaq 0x338(%rsp), %rdi
leaq 0x90(%rsp), %rcx
movq %r14, %rsi
callq 0x51a0c
leaq 0x60(%rsp), %rdx
movq $0x0, (%rdx)
leaq 0x320(%rsp), %rdi
leaq 0x90(%rsp), %rcx
movq %r14, %rsi
callq 0x51a0c
movq %rbx, (%rsp)
leaq 0x60(%rsp), %rdx
movl $0x0, (%rdx)
leaq 0x398(%rsp), %rdi
leaq 0x90(%rsp), %rcx
movq %r14, %rsi
callq 0x51b5a
xorl %eax, %eax
movq %rax, 0x430(%rsp)
xorpd %xmm0, %xmm0
movapd %xmm0, 0x420(%rsp)
movq %rax, 0x170(%rsp)
movapd %xmm0, 0x160(%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, 0x150(%rsp)
leaq 0x60(%rsp), %r15
leaq 0x1d0(%rsp), %r13
leaq 0x138(%rsp), %r14
xorl %ebp, %ebp
movl %ebp, %ebx
movl %ebx, %ebp
movq 0x210(%rsp), %rbx
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x8450
movsbl %al, %edx
movq %rbx, %rdi
leaq 0x238(%rsp), %rsi
callq 0x8870
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
testb $0x5, 0x20(%rax,%rcx)
jne 0xa313b
movq 0x238(%rsp), %rdi
movq 0x240(%rsp), %rsi
addq %rdi, %rsi
movb $0xd, 0x60(%rsp)
movq %r15, %rdx
callq 0x7fd35
movq %rax, %rcx
subq 0x238(%rsp), %rcx
movq %rcx, 0x240(%rsp)
movb $0x0, (%rax)
movq 0x238(%rsp), %rax
cmpb $0x23, (%rax)
jne 0xa25b1
movzbl 0x1(%rax), %eax
cmpl $0x23, %eax
je 0xa251f
cmpl $0x43, %eax
je 0xa2e60
leal 0x1(%rbp), %ebx
movl 0x5fff2(%rip), %eax     # 0x1025ac
cmpl $-0x1, %eax
je 0xa25d5
cmpl %eax, %ebx
jl 0xa2515
addl 0x5ffe3(%rip), %eax     # 0x1025b0
cmpl %eax, %ebp
jge 0xa30f5
movl %ebx, %eax
cltd
idivl 0x150(%rsp)
testl %edx, %edx
jne 0xa272e
callq 0x82e0
subq 0x1c0(%rsp), %rax
xorps %xmm0, %xmm0
cvtsi2sd %rax, %xmm0
divsd 0x2c90c(%rip), %xmm0    # 0xcef10
movsd %xmm0, 0x120(%rsp)
movl $0xa, %edx
movq 0x5f9cf(%rip), %rdi     # 0x101fe8
leaq 0x2f946(%rip), %rsi     # 0xd1f66
callq 0x84e0
movq 0x5f9bc(%rip), %rdi     # 0x101fe8
movl %ebx, %esi
callq 0x8810
movq %rax, %r12
movl $0xd, %edx
movq %rax, %rdi
leaq 0x32829(%rip), %rsi     # 0xd4e6e
callq 0x84e0
movq %r12, %rdi
movsd 0x120(%rsp), %xmm0
callq 0x8730
movq %rax, %r12
movl $0x4, %edx
movq %rax, %rdi
leaq 0x34d91(%rip), %rsi     # 0xd73fe
callq 0x84e0
movq (%r12), %rax
movq -0x18(%rax), %rdi
addq %r12, %rdi
movl $0xa, %esi
callq 0x8450
movsbl %al, %esi
movq %r12, %rdi
callq 0x8040
movq %rax, %rdi
callq 0x8300
movl $0xe, %edx
movq 0x5f942(%rip), %rdi     # 0x101fe8
leaq 0x3b312(%rip), %rsi     # 0xdd9bf
callq 0x84e0
movq 0x5f92f(%rip), %rdi     # 0x101fe8
movsd 0x2d0(%rsp), %xmm0
callq 0x8730
movq %rax, %r12
movl $0xd, %edx
movq %rax, %rdi
leaq 0x3b2f5(%rip), %rsi     # 0xdd9ce
callq 0x84e0
movq %r12, %rdi
movsd 0x200(%rsp), %xmm0
callq 0x8730
movq %rax, %r12
movl $0x4, %edx
movq %rax, %rdi
leaq 0x34cfd(%rip), %rsi     # 0xd73fe
callq 0x84e0
movq (%r12), %rax
movq -0x18(%rax), %rdi
addq %r12, %rdi
movl $0xa, %esi
callq 0x8450
movsbl %al, %esi
movq %r12, %rdi
callq 0x8040
movq %rax, %rdi
callq 0x8300
leaq 0x90(%rsp), %r12
movq %r12, %rdi
leaq 0x238(%rsp), %rsi
movl $0x9, %edx
callq 0x4d650
movq 0x170(%rsp), %rax
movapd 0x90(%rsp), %xmm0
movq 0xa0(%rsp), %rcx
movq %rcx, 0x170(%rsp)
movapd 0x160(%rsp), %xmm1
movapd %xmm0, 0x160(%rsp)
movapd %xmm1, 0x60(%rsp)
movq %rax, 0x70(%rsp)
xorpd %xmm0, %xmm0
movapd %xmm0, 0x90(%rsp)
movq $0x0, 0xa0(%rsp)
movq %r15, %rdi
callq 0x2e784
movq %r12, %rdi
callq 0x2e784
movq 0x160(%rsp), %rsi
movl $0x120, %eax            # imm = 0x120
addq %rax, %rsi
movq 0x168(%rsp), %rdx
movq %r14, %rdi
movq %r15, %rcx
callq 0x7f67a
movq 0x160(%rsp), %rax
leaq 0x70(%rsp), %rcx
movq %rcx, 0x60(%rsp)
movq 0x60(%rax), %rsi
movq 0x68(%rax), %rdx
addq %rsi, %rdx
movq %r15, %rdi
callq 0x2ba06
movq 0x160(%rsp), %rax
leaq 0xa0(%rsp), %rcx
movq %rcx, 0x90(%rsp)
movq 0x80(%rax), %rsi
movq 0x88(%rax), %rdx
addq %rsi, %rdx
leaq 0x90(%rsp), %rdi
callq 0x2ba06
cmpq $0x1, 0x68(%rsp)
ja 0xa29eb
cmpq $0x2, 0x98(%rsp)
jae 0xa29eb
callq 0x82e0
movq %rax, %r12
movl $0x240, %edi            # imm = 0x240
callq 0x8470
movq %rax, %rbp
movq 0x140(%rsp), %rdx
subq 0x138(%rsp), %rdx
shrq $0x5, %rdx
movq %rax, %rdi
leaq 0xf0(%rsp), %rsi
callq 0x7f6bc
movq %rbp, %rdi
movq %r14, %rsi
leaq 0x2f0(%rsp), %rdx
callq 0x4cc6a
movq %r12, 0x120(%rsp)
movq 0x138(%rsp), %rax
movq 0x140(%rsp), %r12
cmpq %rax, %r12
movq %rbp, 0x2c0(%rsp)
je 0xa2905
movq %rax, 0x1f0(%rsp)
leaq 0x10(%rax), %rbp
movq -0x10(%rbp), %rdi
cmpq %rdi, %rbp
je 0xa28dd
movq (%rbp), %rsi
incq %rsi
callq 0x8480
leaq 0x20(%rbp), %rax
addq $0x10, %rbp
cmpq %r12, %rbp
movq %rax, %rbp
jne 0xa28c8
movq 0x1f0(%rsp), %rax
movq %rax, 0x140(%rsp)
movq 0x2c0(%rsp), %rbp
cmpq %rax, 0x148(%rsp)
je 0xa2917
movq %r14, %rdi
callq 0x7fe80
callq 0x82e0
subq 0x120(%rsp), %rax
cvtsi2sd %rax, %xmm0
divsd 0x2c5df(%rip), %xmm0    # 0xcef10
movsd %xmm0, 0x2d0(%rsp)
callq 0x82e0
movq %rax, %r12
leaq 0x1e0(%rsp), %rax
movq %rax, 0x1d0(%rsp)
movq %r13, %rdi
leaq 0x2db3a(%rip), %rsi     # 0xd0496
leaq 0x2db3b(%rip), %rdx     # 0xd049e
callq 0x28a52
movq %rbp, %rdi
addq $0x118, %rdi            # imm = 0x118
movq %rdi, 0x120(%rsp)
movq %r13, %rsi
callq 0x52202
movsd (%rax), %xmm0
movq 0x1d0(%rsp), %rdi
leaq 0x1e0(%rsp), %rax
cmpq %rax, %rdi
movsd %xmm0, 0x1f0(%rsp)
je 0xa29bd
movq 0x1e0(%rsp), %rsi
incq %rsi
callq 0x8480
movsd 0x1f0(%rsp), %xmm0
ucomisd 0x29d53(%rip), %xmm0    # 0xcc718
jne 0xa2ae5
jp 0xa2ae5
movq %rbp, %rdi
callq 0x7fb02
movl $0x240, %esi            # imm = 0x240
movq %rbp, %rdi
callq 0x8480
jmp 0xa2a92
movq $0x0, 0x68(%rsp)
movq 0x60(%rsp), %rax
movb $0x0, (%rax)
movq %r15, %rdi
callq 0x8290
movq $0x0, 0x98(%rsp)
movq 0x90(%rsp), %rax
movb $0x0, (%rax)
leaq 0x90(%rsp), %rdi
callq 0x8290
movq 0x138(%rsp), %rax
movq 0x140(%rsp), %rbp
cmpq %rax, %rbp
je 0xa2a80
movq %rax, 0x120(%rsp)
leaq 0x10(%rax), %r12
movq -0x10(%r12), %rdi
cmpq %rdi, %r12
je 0xa2a5f
movq (%r12), %rsi
incq %rsi
callq 0x8480
leaq 0x20(%r12), %rax
addq $0x10, %r12
cmpq %rbp, %r12
movq %rax, %r12
jne 0xa2a49
movq 0x120(%rsp), %rax
movq %rax, 0x140(%rsp)
cmpq %rax, 0x148(%rsp)
je 0xa2a92
movq %r14, %rdi
callq 0x7fe80
xorl %ebp, %ebp
movq 0x90(%rsp), %rdi
leaq 0xa0(%rsp), %rax
cmpq %rax, %rdi
je 0xa2ab9
movq 0xa0(%rsp), %rsi
incq %rsi
callq 0x8480
movq 0x60(%rsp), %rdi
leaq 0x70(%rsp), %rax
cmpq %rax, %rdi
je 0xa2ad5
movq 0x70(%rsp), %rsi
incq %rsi
callq 0x8480
movq %r14, %rdi
callq 0x2e784
testb %bpl, %bpl
jmp 0xa2515
movq %r12, 0x200(%rsp)
movq 0x180(%rsp), %rsi
cmpq %rsi, 0x188(%rsp)
je 0xa2b49
xorl %ebp, %ebp
xorl %r12d, %r12d
addq %rbp, %rsi
movq 0x120(%rsp), %rdi
callq 0x52202
movsd (%rax), %xmm0
movq 0x368(%rsp), %rax
movsd %xmm0, (%rax,%r12,8)
incq %r12
movq 0x180(%rsp), %rsi
movq 0x188(%rsp), %rax
subq %rsi, %rax
sarq $0x5, %rax
addq $0x20, %rbp
cmpq %rax, %r12
jne 0xa2b04
movq 0x40(%rsp), %rcx
movq 0x48(%rsp), %rsi
cmpq %rcx, %rsi
je 0xa2e15
movsd 0x29bac(%rip), %xmm0    # 0xcc710
subsd 0x1f0(%rsp), %xmm0
movsd %xmm0, 0x120(%rsp)
xorl %r12d, %r12d
xorl %ebp, %ebp
movq 0x3d0(%rsp), %rax
movq (%rax,%r12), %rax
movslq (%rax), %rdi
movq 0x368(%rsp), %rdx
movsd (%rdx,%rdi,8), %xmm0
movsd 0x29b79(%rip), %xmm2    # 0xcc718
ucomisd %xmm2, %xmm0
jne 0xa2bab
jnp 0xa2ded
movslq 0x4(%rax), %rdi
movsd (%rdx,%rdi,8), %xmm1
ucomisd %xmm2, %xmm1
jne 0xa2bc0
jnp 0xa2ded
movslq 0x8(%rax), %rax
movsd (%rdx,%rax,8), %xmm3
ucomisd %xmm2, %xmm3
jne 0xa2bd5
jnp 0xa2ded
movq 0x398(%rsp), %rdx
movl (%rdx,%rbp,4), %eax
incl %eax
movl %eax, (%rdx,%rbp,4)
movsd 0x29b23(%rip), %xmm5    # 0xcc710
movapd %xmm5, %xmm2
subsd %xmm0, %xmm2
mulsd %xmm1, %xmm2
mulsd %xmm3, %xmm2
movsd 0x120(%rsp), %xmm6
mulsd %xmm6, %xmm2
movq 0x2a8(%rsp), %rdx
movsd (%rdx,%rbp,8), %xmm4
addsd %xmm2, %xmm4
movsd %xmm4, (%rdx,%rbp,8)
movq 0x350(%rsp), %rdi
addsd (%rdi,%rbp,8), %xmm2
movsd %xmm2, (%rdi,%rbp,8)
movapd %xmm5, %xmm2
subsd %xmm1, %xmm2
mulsd %xmm0, %xmm2
mulsd %xmm3, %xmm2
mulsd %xmm6, %xmm2
movq 0x290(%rsp), %rdx
movsd (%rdx,%rbp,8), %xmm4
addsd %xmm2, %xmm4
movsd %xmm4, (%rdx,%rbp,8)
movq 0x338(%rsp), %r8
addsd (%r8,%rbp,8), %xmm2
movsd %xmm2, (%r8,%rbp,8)
movapd %xmm5, %xmm2
subsd %xmm3, %xmm2
mulsd %xmm1, %xmm2
mulsd %xmm0, %xmm2
mulsd %xmm6, %xmm2
movq 0x278(%rsp), %rdx
movsd (%rdx,%rbp,8), %xmm0
addsd %xmm2, %xmm0
movsd %xmm0, (%rdx,%rbp,8)
movq 0x320(%rsp), %rdx
addsd (%rdx,%rbp,8), %xmm2
movsd %xmm2, (%rdx,%rbp,8)
cltd
idivl 0x5f8f5(%rip)           # 0x1025a8
testl %edx, %edx
jne 0xa2ded
movsd (%rdi,%rbp,8), %xmm1
movsd (%r8,%rbp,8), %xmm3
movapd %xmm1, %xmm0
subsd %xmm3, %xmm0
movapd %xmm1, %xmm4
subsd %xmm2, %xmm4
movapd %xmm2, %xmm5
subsd %xmm3, %xmm5
movapd %xmm2, %xmm6
addsd %xmm1, %xmm6
addsd %xmm3, %xmm1
divsd %xmm1, %xmm0
divsd %xmm6, %xmm4
addsd %xmm3, %xmm2
divsd %xmm2, %xmm5
movsd %xmm0, 0x1d0(%rsp)
movsd %xmm4, 0x2e8(%rsp)
movsd %xmm5, 0x2e0(%rsp)
movq 0x220(%rsp), %rax
movq (%rax,%r12), %rdi
movq 0x8(%rdi), %rsi
cmpq 0x10(%rdi), %rsi
je 0xa2d39
movsd %xmm0, (%rsi)
addq $0x8, %rsi
movq %rsi, 0x8(%rdi)
jmp 0xa2d4d
movq %r13, %rdx
callq 0x79b8e
movq 0x220(%rsp), %rax
movq (%rax,%r12), %rdi
movq 0x20(%rdi), %rsi
cmpq 0x28(%rdi), %rsi
je 0xa2d6e
movsd 0x2e8(%rsp), %xmm0
movsd %xmm0, (%rsi)
addq $0x8, %rsi
movq %rsi, 0x20(%rdi)
jmp 0xa2d8b
addq $0x18, %rdi
leaq 0x2e8(%rsp), %rdx
callq 0x79b8e
movq 0x220(%rsp), %rax
movq (%rax,%r12), %rdi
movq 0x38(%rdi), %rsi
cmpq 0x40(%rdi), %rsi
je 0xa2dac
movsd 0x2e0(%rsp), %xmm0
movsd %xmm0, (%rsi)
addq $0x8, %rsi
movq %rsi, 0x38(%rdi)
jmp 0xa2dbd
addq $0x30, %rdi
leaq 0x2e0(%rsp), %rdx
callq 0x79b8e
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)
movq 0x40(%rsp), %rcx
movq 0x48(%rsp), %rsi
incq %rbp
movq %rsi, %rax
subq %rcx, %rax
sarq $0x3, %rax
movabsq $-0x5555555555555555, %rdx # imm = 0xAAAAAAAAAAAAAAAB
imulq %rdx, %rax
addq $0x18, %r12
cmpq %rax, %rbp
jne 0xa2b7b
callq 0x82e0
subq 0x200(%rsp), %rax
xorps %xmm0, %xmm0
cvtsi2sd %rax, %xmm0
divsd 0x2c0de(%rip), %xmm0    # 0xcef10
movsd %xmm0, 0x200(%rsp)
movq 0x2c0(%rsp), %r12
movq %r12, %rdi
callq 0x7fb02
movl $0x240, %esi            # imm = 0x240
movq %r12, %rdi
callq 0x8480
movb $0x1, %bpl
jmp 0xa2a94
leaq 0x90(%rsp), %rbx
movq %rbx, %rdi
leaq 0x238(%rsp), %rsi
movl $0x9, %edx
callq 0x4d650
movq 0x170(%rsp), %rax
movapd 0x90(%rsp), %xmm0
movq 0xa0(%rsp), %rcx
movq %rcx, 0x170(%rsp)
movapd 0x160(%rsp), %xmm1
movapd %xmm0, 0x160(%rsp)
movapd %xmm1, 0x60(%rsp)
movq %rax, 0x70(%rsp)
xorpd %xmm0, %xmm0
movapd %xmm0, 0x90(%rsp)
movq $0x0, 0xa0(%rsp)
movq %r15, %rdi
callq 0x2e784
movq %rbx, %rdi
callq 0x2e784
movq 0x160(%rsp), %rsi
movl $0x120, %eax            # imm = 0x120
addq %rax, %rsi
movq 0x168(%rsp), %rdx
movq %rbx, %rdi
movq %r15, %rcx
callq 0x7f67a
movq $0x0, 0x60(%rsp)
movq 0x90(%rsp), %rax
cmpq %rax, 0x98(%rsp)
je 0xa2f7c
xorl %esi, %esi
shlq $0x5, %rsi
addq %rax, %rsi
leaq 0x10(%rsp), %rdi
callq 0x3b46e
movq %rax, %rbx
leaq 0x2f0(%rsp), %rdi
movq %r15, %rsi
callq 0x5d958
movq %rax, %rdi
movq %rbx, %rsi
callq 0x8270
movq 0x60(%rsp), %rsi
incq %rsi
movq %rsi, 0x60(%rsp)
movq 0x90(%rsp), %rax
movq 0x98(%rsp), %rcx
subq %rax, %rcx
sarq $0x5, %rcx
cmpq %rcx, %rsi
jne 0xa2f24
movq 0xd8(%rsp), %rbx
leaq 0xc8(%rsp), %rax
cmpq %rax, %rbx
je 0xa30d6
leaq 0x70(%rsp), %rax
movq %rax, 0x60(%rsp)
movq 0x20(%rbx), %rsi
movq 0x28(%rbx), %rdx
addq %rsi, %rdx
movq %r15, %rdi
callq 0x2ba06
leaq 0x40(%rbx), %rsi
movq %r13, %rdi
callq 0x2fc8e
movq %r14, %rdi
leaq 0x90(%rsp), %rsi
movq %r13, %rdx
callq 0x5038c
movq 0x138(%rsp), %rax
cmpq 0x140(%rsp), %rax
jne 0xa306a
movl $0x29, %edx
movq 0x5eff5(%rip), %rdi     # 0x101fe8
leaq 0x2ef01(%rip), %rsi     # 0xd1efb
callq 0x84e0
movq 0x60(%rsp), %rsi
movq 0x68(%rsp), %rdx
movq 0x5efd8(%rip), %rdi     # 0x101fe8
callq 0x84e0
movq %rax, %r12
movl $0x1, %edx
movq %rax, %rdi
leaq 0x2d624(%rip), %rsi     # 0xd064b
callq 0x84e0
movq (%r12), %rax
movq -0x18(%rax), %rdi
addq %r12, %rdi
movl $0xa, %esi
callq 0x8450
movsbl %al, %esi
movq %r12, %rdi
callq 0x8040
movq %rax, %rdi
callq 0x8300
movq 0x138(%rsp), %rax
cmpq 0x140(%rsp), %rax
je 0xa42ca
leaq 0xf0(%rsp), %rdi
movq %r15, %rsi
callq 0x5d9be
movq %rax, %rdi
movq %r14, %rsi
callq 0x5da3a
movq 0x138(%rsp), %rdi
testq %rdi, %rdi
je 0xa30a2
movq 0x148(%rsp), %rsi
subq %rdi, %rsi
callq 0x8480
movq %r13, %rdi
callq 0x2e784
movq 0x60(%rsp), %rdi
leaq 0x70(%rsp), %rax
cmpq %rax, %rdi
je 0xa30c6
movq 0x70(%rsp), %rsi
incq %rsi
callq 0x8480
movq %rbx, %rdi
callq 0x8310
movq %rax, %rbx
jmp 0xa2f84
callq 0x82e0
movq %rax, 0x1c0(%rsp)
leaq 0x90(%rsp), %rdi
callq 0x2e784
jmp 0xa2513
movq 0x5eeec(%rip), %rbx     # 0x101fe8
leaq 0x3a8b7(%rip), %rsi     # 0xdd9ba
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 0x5eeba(%rip), %rdi     # 0x101fe8
callq 0x8040
movq %rax, %rdi
callq 0x8300
movq 0x48(%rsp), %rax
cmpq 0x40(%rsp), %rax
je 0xa40d1
xorl %r12d, %r12d
leaq 0x2a875(%rip), %rbp     # 0xcd9ca
leaq 0x408(%rsp), %r14
leaq 0x3f0(%rsp), %r15
xorl %r13d, %r13d
movq 0x220(%rsp), %rax
movq (%rax,%r12), %rdi
callq 0x37608
movsd %xmm0, 0x1c0(%rsp)
movq 0x220(%rsp), %rax
movq (%rax,%r12), %rdi
addq $0x18, %rdi
callq 0x37608
movsd %xmm0, 0x120(%rsp)
movq 0x220(%rsp), %rax
movq (%rax,%r12), %rdi
addq $0x30, %rdi
callq 0x37608
movq 0x2a8(%rsp), %rax
movsd (%rax,%r13,8), %xmm1
movq 0x290(%rsp), %rax
movsd (%rax,%r13,8), %xmm3
movq 0x278(%rsp), %rax
movsd (%rax,%r13,8), %xmm2
movapd %xmm2, %xmm7
subsd %xmm3, %xmm7
movapd %xmm3, %xmm4
addsd %xmm2, %xmm4
divsd %xmm4, %xmm7
movapd %xmm1, %xmm4
unpcklpd %xmm1, %xmm4            # xmm4 = xmm4[0],xmm1[0]
movapd %xmm2, %xmm5
unpcklpd %xmm3, %xmm5            # xmm5 = xmm5[0],xmm3[0]
movapd %xmm4, %xmm6
subpd %xmm5, %xmm6
addpd %xmm4, %xmm5
divpd %xmm5, %xmm6
movapd %xmm6, 0x150(%rsp)
movapd 0x2fb8c(%rip), %xmm4    # 0xd2db0
andpd %xmm4, %xmm6
pshufd $0xee, %xmm6, %xmm5     # xmm5 = xmm6[2,3,2,3]
movdqa %xmm5, 0x210(%rsp)
divsd 0x1c0(%rsp), %xmm5
movapd %xmm5, 0x2c0(%rsp)
movaps %xmm6, 0x1c0(%rsp)
movapd %xmm6, %xmm5
divsd 0x120(%rsp), %xmm5
movapd %xmm5, 0x1f0(%rsp)
movapd %xmm7, 0x2d0(%rsp)
andpd %xmm4, %xmm7
movapd %xmm7, 0x120(%rsp)
movapd %xmm7, %xmm4
divsd %xmm0, %xmm4
movapd %xmm4, 0x200(%rsp)
ucomisd %xmm3, %xmm2
jb 0xa3312
ucomisd %xmm1, %xmm2
jb 0xa3312
movapd 0x150(%rsp), %xmm0
unpckhpd %xmm0, %xmm0            # xmm0 = xmm0[1,1]
ucomisd 0x28a82(%rip), %xmm0    # 0xcbd30
movq 0x40(%rsp), %rax
movq (%rax,%r12), %rax
jae 0xa341d
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 0x40(%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 0xa346d
ucomisd %xmm2, %xmm3
jb 0xa3393
ucomisd %xmm1, %xmm3
jb 0xa3393
movapd 0x150(%rsp), %xmm0
ucomisd 0x28a01(%rip), %xmm0    # 0xcbd30
movq 0x40(%rsp), %rax
movq (%rax,%r12), %rax
jae 0xa3565
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 0x40(%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 0xa35b5
ucomisd %xmm3, %xmm1
jb 0xa3803
ucomisd %xmm2, %xmm1
jb 0xa3803
movapd 0x2d0(%rsp), %xmm0
ucomisd 0x28978(%rip), %xmm0    # 0xcbd30
movq 0x40(%rsp), %rax
movq (%rax,%r12), %rax
jae 0xa36ad
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 0x40(%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 0xa36fe
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 0x40(%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 0x40(%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 0x210(%rsp), %xmm0
callq 0x8730
movq %rax, %rbx
movl $0x1, %edx
movq %rax, %rdi
movq %rbp, %rsi
callq 0x84e0
movq %rbx, %rdi
movapd 0x2c0(%rsp), %xmm0
callq 0x8730
movl $0x1, %edx
movq %rax, %rdi
movq %rbp, %rsi
callq 0x84e0
movq 0x278(%rsp), %rax
movsd (%rax,%r13,8), %xmm0
movq 0x8(%rsp), %rdi
callq 0x8730
movq %rax, %rbx
movl $0x1, %edx
movq %rax, %rdi
movq %rbp, %rsi
callq 0x84e0
movq 0x290(%rsp), %rax
movsd (%rax,%r13,8), %xmm0
movq %rbx, %rdi
callq 0x8730
movq %rax, %rbx
movl $0x1, %edx
movq %rax, %rdi
movq %rbp, %rsi
callq 0x84e0
movq 0x2a8(%rsp), %rax
movsd (%rax,%r13,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 0xa37f0
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 0x40(%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 0x40(%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 0x1c0(%rsp), %xmm0
callq 0x8730
movq %rax, %rbx
movl $0x1, %edx
movq %rax, %rdi
movq %rbp, %rsi
callq 0x84e0
movq %rbx, %rdi
movapd 0x1f0(%rsp), %xmm0
callq 0x8730
movl $0x1, %edx
movq %rax, %rdi
movq %rbp, %rsi
callq 0x84e0
movq 0x290(%rsp), %rax
movsd (%rax,%r13,8), %xmm0
movq 0x8(%rsp), %rdi
callq 0x8730
movq %rax, %rbx
movl $0x1, %edx
movq %rax, %rdi
movq %rbp, %rsi
callq 0x84e0
movq 0x278(%rsp), %rax
movsd (%rax,%r13,8), %xmm0
movq %rbx, %rdi
callq 0x8730
movq %rax, %rbx
movl $0x1, %edx
movq %rax, %rdi
movq %rbp, %rsi
callq 0x84e0
movq 0x2a8(%rsp), %rax
movsd (%rax,%r13,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 0xa37f0
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 0x40(%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 0x40(%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 0x200(%rsp), %xmm0
callq 0x8730
movl $0x1, %edx
movq %rax, %rdi
movq %rbp, %rsi
callq 0x84e0
movq 0x2a8(%rsp), %rax
movsd (%rax,%r13,8), %xmm0
movq 0x8(%rsp), %rdi
callq 0x8730
movq %rax, %rbx
movl $0x1, %edx
movq %rax, %rdi
movq %rbp, %rsi
callq 0x84e0
movq 0x290(%rsp), %rax
movsd (%rax,%r13,8), %xmm0
movq %rbx, %rdi
callq 0x8730
movq %rax, %rbx
movl $0x1, %edx
movq %rax, %rdi
movq %rbp, %rsi
callq 0x84e0
movq 0x278(%rsp), %rax
movsd (%rax,%r13,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 0x1c0(%rsp), %xmm0
movapd 0x210(%rsp), %xmm1
ucomisd %xmm1, %xmm0
movapd %xmm1, %xmm0
jb 0xa3951
movapd 0x120(%rsp), %xmm0
ucomisd 0x210(%rsp), %xmm0
movapd 0x210(%rsp), %xmm0
jb 0xa3951
movapd 0x150(%rsp), %xmm0
unpckhpd %xmm0, %xmm0            # xmm0 = xmm0[1,1]
movapd %xmm0, 0x150(%rsp)
ucomisd 0x284ce(%rip), %xmm0    # 0xcbd30
movq 0x40(%rsp), %rax
movq (%rax,%r12), %rax
jae 0xa3b95
movq 0x20(%rax), %rsi
movq 0x28(%rax), %rdx
movq 0xb8(%rsp), %rdi
callq 0x84e0
movq %rax, %rbx
movl $0x1, %edx
movq %rax, %rdi
movq %rbp, %rsi
callq 0x84e0
movq 0x40(%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 0x40(%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 0x210(%rsp), %xmm0
callq 0x8730
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), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x8450
jmp 0xa3e30
movapd 0x1c0(%rsp), %xmm1
ucomisd %xmm1, %xmm0
jb 0xa3a77
movapd 0x120(%rsp), %xmm0
ucomisd %xmm1, %xmm0
jb 0xa3a77
movapd 0x150(%rsp), %xmm0
ucomisd 0x283a8(%rip), %xmm0    # 0xcbd30
movq 0x40(%rsp), %rax
movq (%rax,%r12), %rax
jae 0xa3c75
movq 0x40(%rax), %rsi
movq 0x48(%rax), %rdx
movq 0xb8(%rsp), %rdi
callq 0x84e0
movq %rax, %rbx
movl $0x1, %edx
movq %rax, %rdi
movq %rbp, %rsi
callq 0x84e0
movq 0x40(%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 0x40(%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 0x1c0(%rsp), %xmm0
callq 0x8730
movq %rax, %rbx
movl $0x1, %edx
movq %rax, %rdi
movq %rbp, %rsi
callq 0x84e0
movq %rbx, %rdi
movapd 0x1f0(%rsp), %xmm0
callq 0x8730
movq %rax, %rbx
movl $0x1, %edx
movq %rax, %rdi
movq %rbp, %rsi
callq 0x84e0
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x8450
jmp 0xa3e30
movapd 0x120(%rsp), %xmm0
unpcklpd %xmm0, %xmm0            # xmm0 = xmm0[0,0]
cmpnlepd %xmm1, %xmm0
movmskpd %xmm0, %eax
testl %eax, %eax
jne 0xa3e43
movapd 0x2d0(%rsp), %xmm0
ucomisd 0x2828a(%rip), %xmm0    # 0xcbd30
movq 0x40(%rsp), %rax
movq (%rax,%r12), %rax
jae 0xa3d55
movq 0x20(%rax), %rsi
movq 0x28(%rax), %rdx
movq 0xb8(%rsp), %rdi
callq 0x84e0
movq %rax, %rbx
movl $0x1, %edx
movq %rax, %rdi
movq %rbp, %rsi
callq 0x84e0
movq 0x40(%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 0x40(%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 0x200(%rsp), %xmm0
callq 0x8730
movq %rax, %rbx
movl $0x1, %edx
movq %rax, %rdi
movq %rbp, %rsi
callq 0x84e0
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x8450
jmp 0xa3e30
movq (%rax), %rsi
movq 0x8(%rax), %rdx
movq 0xb8(%rsp), %rdi
callq 0x84e0
movq %rax, %rbx
movl $0x1, %edx
movq %rax, %rdi
movq %rbp, %rsi
callq 0x84e0
movq 0x40(%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 0x40(%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 0x150(%rsp), %xmm0
callq 0x8730
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), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x8450
jmp 0xa3e30
movq (%rax), %rsi
movq 0x8(%rax), %rdx
movq 0xb8(%rsp), %rdi
callq 0x84e0
movq %rax, %rbx
movl $0x1, %edx
movq %rax, %rdi
movq %rbp, %rsi
callq 0x84e0
movq 0x40(%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 0x40(%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 0x150(%rsp), %xmm0
callq 0x8730
movq %rax, %rbx
movl $0x1, %edx
movq %rax, %rdi
movq %rbp, %rsi
callq 0x84e0
movq %rbx, %rdi
movapd 0x1f0(%rsp), %xmm0
callq 0x8730
movq %rax, %rbx
movl $0x1, %edx
movq %rax, %rdi
movq %rbp, %rsi
callq 0x84e0
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x8450
jmp 0xa3e30
movq 0x40(%rax), %rsi
movq 0x48(%rax), %rdx
movq 0xb8(%rsp), %rdi
callq 0x84e0
movq %rax, %rbx
movl $0x1, %edx
movq %rax, %rdi
movq %rbp, %rsi
callq 0x84e0
movq 0x40(%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 0x40(%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 0x2d0(%rsp), %xmm0
callq 0x8730
movq %rax, %rbx
movl $0x1, %edx
movq %rax, %rdi
movq %rbp, %rsi
callq 0x84e0
movq %rbx, %rdi
movapd 0x200(%rsp), %xmm0
callq 0x8730
movq %rax, %rbx
movl $0x1, %edx
movq %rax, %rdi
movq %rbp, %rsi
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 0x40(%rsp), %rax
movq (%rax,%r12), %rax
movq (%rax), %rsi
movq 0x8(%rax), %rdx
movq 0x130(%rsp), %rdi
callq 0x84e0
movq %rax, %rbx
movl $0x1, %edx
movq %rax, %rdi
movq %rbp, %rsi
callq 0x84e0
movq 0x40(%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 0x40(%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 0x278(%rsp), %rax
movsd (%rax,%r13,8), %xmm0
movq %rbx, %rdi
callq 0x8730
movq %rax, %rbx
movl $0x1, %edx
movq %rax, %rdi
movq %rbp, %rsi
callq 0x84e0
movq 0x290(%rsp), %rax
movsd (%rax,%r13,8), %xmm0
movq %rbx, %rdi
callq 0x8730
movq %rax, %rbx
movl $0x1, %edx
movq %rax, %rdi
movq %rbp, %rsi
callq 0x84e0
movq 0x2a8(%rsp), %rax
movsd (%rax,%r13,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 0x220(%rsp), %rax
movq (%rax,%r12), %rsi
leaq 0x380(%rsp), %rdi
callq 0x37978
leaq 0x380(%rsp), %rdi
movq 0x88(%rsp), %rsi
movl $0x2c, %edx
xorl %ecx, %ecx
callq 0x5af81
movq 0x380(%rsp), %rdi
testq %rdi, %rdi
je 0xa3faf
movq 0x390(%rsp), %rsi
subq %rdi, %rsi
callq 0x8480
movl $0x1, %edx
movq 0x88(%rsp), %rdi
movq %rbp, %rsi
callq 0x84e0
movq 0x220(%rsp), %rax
movq (%rax,%r12), %rsi
addq $0x18, %rsi
movq %r14, %rdi
callq 0x37978
movq %r14, %rdi
movq 0x88(%rsp), %rsi
movl $0x2c, %edx
xorl %ecx, %ecx
callq 0x5af81
movq 0x408(%rsp), %rdi
testq %rdi, %rdi
je 0xa4010
movq 0x418(%rsp), %rsi
subq %rdi, %rsi
callq 0x8480
movl $0x1, %edx
movq 0x88(%rsp), %rdi
movq %rbp, %rsi
callq 0x84e0
movq 0x220(%rsp), %rax
movq (%rax,%r12), %rsi
addq $0x30, %rsi
movq %r15, %rdi
callq 0x37978
movq %r15, %rdi
movq 0x88(%rsp), %rsi
movl $0x2c, %edx
xorl %ecx, %ecx
callq 0x5af81
movq 0x3f0(%rsp), %rdi
testq %rdi, %rdi
je 0xa4071
movq 0x400(%rsp), %rsi
subq %rdi, %rsi
callq 0x8480
movq 0x88(%rsp), %rcx
movq (%rcx), %rax
movq -0x18(%rax), %rdi
addq %rcx, %rdi
movl $0xa, %esi
callq 0x8450
movsbl %al, %esi
movq 0x88(%rsp), %rdi
callq 0x8040
movq %rax, %rdi
callq 0x8300
incq %r13
movq 0x48(%rsp), %rax
subq 0x40(%rsp), %rax
sarq $0x3, %rax
movabsq $-0x5555555555555555, %rcx # imm = 0xAAAAAAAAAAAAAAAB
imulq %rcx, %rax
addq $0x18, %r12
cmpq %rax, %r13
jne 0xa3168
leaq 0x160(%rsp), %rdi
callq 0x2e784
leaq 0x420(%rsp), %rdi
callq 0x2e784
movq 0x398(%rsp), %rdi
testq %rdi, %rdi
je 0xa4108
movq 0x3a8(%rsp), %rsi
subq %rdi, %rsi
callq 0x8480
movq 0x320(%rsp), %rdi
testq %rdi, %rdi
movq (%rsp), %rbx
je 0xa4129
movq 0x330(%rsp), %rsi
subq %rdi, %rsi
callq 0x8480
movq 0x338(%rsp), %rdi
testq %rdi, %rdi
je 0xa4146
movq 0x348(%rsp), %rsi
subq %rdi, %rsi
callq 0x8480
movq 0x350(%rsp), %rdi
testq %rdi, %rdi
je 0xa4163
movq 0x360(%rsp), %rsi
subq %rdi, %rsi
callq 0x8480
movq 0x278(%rsp), %rdi
testq %rdi, %rdi
je 0xa4180
movq 0x288(%rsp), %rsi
subq %rdi, %rsi
callq 0x8480
movq 0x290(%rsp), %rdi
testq %rdi, %rdi
je 0xa419d
movq 0x2a0(%rsp), %rsi
subq %rdi, %rsi
callq 0x8480
movq 0x2a8(%rsp), %rdi
testq %rdi, %rdi
je 0xa41ba
movq 0x2b8(%rsp), %rsi
subq %rdi, %rsi
callq 0x8480
movq 0x368(%rsp), %rdi
testq %rdi, %rdi
je 0xa41d7
movq 0x378(%rsp), %rsi
subq %rdi, %rsi
callq 0x8480
leaq 0x220(%rsp), %rdi
callq 0xa5098
leaq 0x3b0(%rsp), %rdi
callq 0x42ffa
movl $0x18, %esi
movq %rbx, %rdi
callq 0x8480
movq 0x198(%rsp), %rdi
testq %rdi, %rdi
je 0xa421b
movq 0x1b8(%rsp), %rsi
subq %rdi, %rsi
callq 0x8480
leaq 0x3d0(%rsp), %rdi
callq 0x480b0
leaq 0x40(%rsp), %rdi
callq 0x2efec
leaq 0x180(%rsp), %rdi
callq 0x2e784
leaq 0x2f0(%rsp), %rdi
callq 0x5df54
leaq 0xf0(%rsp), %rdi
callq 0x5dfcc
leaq 0x10(%rsp), %rdi
callq 0x3c6d4
leaq 0xc0(%rsp), %rdi
callq 0x3c602
leaq 0x268(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xa4291
movq 0x268(%rsp), %rsi
incq %rsi
callq 0x8480
movq 0x238(%rsp), %rdi
leaq 0x248(%rsp), %rax
cmpq %rax, %rdi
je 0xa42b6
movq 0x248(%rsp), %rsi
incq %rsi
callq 0x8480
xorl %eax, %eax
addq $0x438, %rsp            # imm = 0x438
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x2dc54(%rip), %rdi     # 0xd1f25
leaq 0x396ba(%rip), %rsi     # 0xdd992
leaq 0x396c0(%rip), %rcx     # 0xdd99f
movl $0xb2, %edx
callq 0x82c0
movq 0x5dcf8(%rip), %rdi     # 0x101fe8
leaq 0x3963d(%rip), %rsi     # 0xdd934
movl $0x9, %edx
callq 0x84e0
movq 0x5fa18(%rip), %rsi     # 0x103d20
movq 0x5fa19(%rip), %rdx     # 0x103d28
movq 0x5dcd2(%rip), %rdi     # 0x101fe8
callq 0x84e0
movq %rax, %rbx
leaq 0x39619(%rip), %rsi     # 0xdd93e
movl $0x20, %edx
movq %rax, %rdi
callq 0x84e0
movq %rbx, %rdi
callq 0x8200
movl $0x1, %edi
callq 0x8530
jmp 0xa49b3
jmp 0xa4593
jmp 0xa438e
movq %rax, %r15
movq 0x1d0(%rsp), %rdi
leaq 0x1e0(%rsp), %rax
cmpq %rax, %rdi
je 0xa4596
movq 0x1e0(%rsp), %rsi
incq %rsi
jmp 0xa4384
movq %rax, %r15
movl $0x240, %esi            # imm = 0x240
movq %rbp, %rdi
callq 0x8480
jmp 0xa4596
movq %rax, %rdi
callq 0x288e1
jmp 0xa4593
jmp 0xa4593
movq %rax, %r15
jmp 0xa45d7
jmp 0xa49b3
jmp 0xa49b3
movq %rax, %r15
jmp 0xa45bb
movq %rax, %r15
movq 0xc0(%rsp), %rdi
cmpq %rbx, %rdi
je 0xa43df
movq 0xd0(%rsp), %rsi
incq %rsi
callq 0x8480
jmp 0xa43df
movq %rax, %r15
movq 0x10(%rsp), %rdi
cmpq %r12, %rdi
je 0xa43fd
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x8480
jmp 0xa43fd
jmp 0xa43fa
movq %rax, %r15
movq 0xf0(%rsp), %rdi
cmpq %r14, %rdi
je 0xa441f
movq 0x100(%rsp), %rsi
incq %rsi
callq 0x8480
jmp 0xa441f
movq %rax, %r15
movl $0x200, %esi            # imm = 0x200
movq 0x88(%rsp), %rdi
jmp 0xa4886
movq %rax, %r15
movq 0xc0(%rsp), %rdi
cmpq %rbx, %rdi
je 0xa4456
movq 0xd0(%rsp), %rsi
incq %rsi
callq 0x8480
jmp 0xa4456
movq %rax, %r15
movq 0x10(%rsp), %rdi
cmpq %r12, %rdi
je 0xa4474
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x8480
jmp 0xa4474
jmp 0xa4471
movq %rax, %r15
movq 0xf0(%rsp), %rdi
cmpq %r14, %rdi
je 0xa4496
movq 0x100(%rsp), %rsi
incq %rsi
callq 0x8480
jmp 0xa4496
movq %rax, %r15
movl $0x200, %esi            # imm = 0x200
movq 0x130(%rsp), %rdi
jmp 0xa4886
movq %rax, %r15
movq 0xc0(%rsp), %rdi
cmpq %rbx, %rdi
je 0xa44cd
movq 0xd0(%rsp), %rsi
incq %rsi
callq 0x8480
jmp 0xa44cd
movq %rax, %r15
movq 0x10(%rsp), %rdi
cmpq %r12, %rdi
je 0xa44eb
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x8480
jmp 0xa44eb
jmp 0xa44e8
movq %rax, %r15
movq 0xf0(%rsp), %rdi
cmpq %r14, %rdi
je 0xa450d
movq 0x100(%rsp), %rsi
incq %rsi
callq 0x8480
jmp 0xa450d
movq %rax, %r15
movl $0x200, %esi            # imm = 0x200
movq 0xb8(%rsp), %rdi
jmp 0xa4886
movq %rax, %r15
movq 0xc0(%rsp), %rdi
cmpq %rbx, %rdi
je 0xa4544
movq 0xd0(%rsp), %rsi
incq %rsi
callq 0x8480
jmp 0xa4544
movq %rax, %r15
movq 0x10(%rsp), %rdi
cmpq %r12, %rdi
je 0xa4562
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x8480
jmp 0xa4562
jmp 0xa455f
movq %rax, %r15
movq 0xf0(%rsp), %rdi
cmpq %r14, %rdi
je 0xa4584
movq 0x100(%rsp), %rsi
incq %rsi
callq 0x8480
jmp 0xa4584
movq %rax, %r15
movl $0x200, %esi            # imm = 0x200
movq 0x8(%rsp), %rdi
jmp 0xa4886
movq %rax, %r15
movq 0x90(%rsp), %rdi
leaq 0xa0(%rsp), %rax
cmpq %rax, %rdi
je 0xa45bb
movq 0xa0(%rsp), %rsi
incq %rsi
callq 0x8480
movq 0x60(%rsp), %rdi
leaq 0x70(%rsp), %rax
cmpq %rax, %rdi
je 0xa45d7
movq 0x70(%rsp), %rsi
incq %rsi
callq 0x8480
leaq 0x138(%rsp), %rdi
callq 0x2e784
jmp 0xa49b6
jmp 0xa45eb
movq %rax, %r15
movq 0x10(%rsp), %rdi
cmpq %r12, %rdi
je 0xa460a
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x8480
jmp 0xa460a
movq %rax, %r15
movl $0x200, %esi            # imm = 0x200
movq 0x88(%rsp), %rdi
jmp 0xa46a7
jmp 0xa461e
movq %rax, %r15
movq 0x10(%rsp), %rdi
cmpq %r12, %rdi
je 0xa463d
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x8480
jmp 0xa463d
movq %rax, %r15
movl $0x200, %esi            # imm = 0x200
movq 0x130(%rsp), %rdi
jmp 0xa46a7
jmp 0xa464e
movq %rax, %r15
movq 0x10(%rsp), %rdi
cmpq %r12, %rdi
je 0xa466d
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x8480
jmp 0xa466d
movq %rax, %r15
movl $0x200, %esi            # imm = 0x200
movq 0xb8(%rsp), %rdi
jmp 0xa46a7
jmp 0xa467e
movq %rax, %r15
movq 0x10(%rsp), %rdi
cmpq %r12, %rdi
je 0xa469d
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x8480
jmp 0xa469d
movq %rax, %r15
movl $0x200, %esi            # imm = 0x200
movq 0x8(%rsp), %rdi
callq 0x8480
jmp 0xa486a
movq %rax, %r15
leaq 0x1e0(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xa46da
movq 0x1e0(%rsp), %rsi
incq %rsi
callq 0x8480
jmp 0xa46da
movq %rax, %r15
movq 0x10(%rsp), %rdi
cmpq %r12, %rdi
je 0xa46f6
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x8480
jmp 0xa46f6
movq %rax, %r15
leaq 0x100(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xa471c
movq 0x100(%rsp), %rsi
incq %rsi
callq 0x8480
jmp 0xa471c
movq %rax, %r15
leaq 0xa0(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xa4742
movq 0xa0(%rsp), %rsi
incq %rsi
callq 0x8480
jmp 0xa4742
movq %rax, %r15
movq 0x2f0(%rsp), %rdi
cmpq %rbp, %rdi
je 0xa4764
movq 0x300(%rsp), %rsi
incq %rsi
callq 0x8480
jmp 0xa4764
movq %rax, %r15
movq 0x198(%rsp), %rdi
cmpq %r13, %rdi
je 0xa4788
movq 0x1a8(%rsp), %rsi
incq %rsi
callq 0x8480
jmp 0xa4788
jmp 0xa4785
movq %rax, %r15
movq 0x60(%rsp), %rdi
cmpq %r14, %rdi
je 0xa4b72
movq 0x70(%rsp), %rsi
jmp 0xa4883
jmp 0xa485f
jmp 0xa49b3
jmp 0xa49b3
jmp 0xa49b3
jmp 0xa4937
movq %rax, %r15
movq (%rsp), %rbx
jmp 0xa49f1
movq %rax, %r15
jmp 0xa4a0e
movq %rax, %r15
jmp 0xa4a2b
movq %rax, %r15
jmp 0xa4a48
movq %rax, %r15
jmp 0xa4a65
movq %rax, %r15
jmp 0xa4a82
movq %rax, %r15
jmp 0xa4a9f
jmp 0xa47f7
movq %rax, %r15
jmp 0xa4abc
movq %rax, %r15
jmp 0xa4ad6
jmp 0xa49ab
jmp 0xa480e
movq %rax, %r15
jmp 0xa4b1d
movq %rax, %r15
jmp 0xa4b2a
jmp 0xa4857
movq %rax, %r15
movl $0x208, %esi            # imm = 0x208
movq %rbp, %rdi
jmp 0xa4b8e
jmp 0xa4857
movq %rax, %r15
leaq 0xd0(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xa4b93
movq 0xd0(%rsp), %rsi
jmp 0xa4b8b
movq %rax, %r15
jmp 0xa4b93
movq %rax, %r15
jmp 0xa4b72
movq %rax, %r15
movq 0xc0(%rsp), %rdi
cmpq %rbx, %rdi
je 0xa4b72
movq 0xd0(%rsp), %rsi
incq %rsi
callq 0x8480
jmp 0xa4b72
jmp 0xa49ab
jmp 0xa4899
jmp 0xa4899
movq %rax, %r15
jmp 0xa4b34
movq %rax, %r15
jmp 0xa496c
movq %rax, %r15
jmp 0xa495f
jmp 0xa4930
movq %rax, %r15
movq 0x3f0(%rsp), %rdi
testq %rdi, %rdi
je 0xa49b6
movq 0x400(%rsp), %rsi
jmp 0xa490b
movq %rax, %r15
movq 0x408(%rsp), %rdi
testq %rdi, %rdi
je 0xa49b6
movq 0x418(%rsp), %rsi
jmp 0xa490b
movq %rax, %r15
movq 0x380(%rsp), %rdi
testq %rdi, %rdi
je 0xa49b6
movq 0x390(%rsp), %rsi
subq %rdi, %rsi
callq 0x8480
jmp 0xa49b6
jmp 0xa49b3
jmp 0xa49b3
jmp 0xa49b3
jmp 0xa49b3
jmp 0xa4937
jmp 0xa49ab
movq %rax, %r15
jmp 0xa4988
jmp 0xa49b3
movq %rax, %r15
jmp 0xa4b41
movq %rax, %r15
movq 0x138(%rsp), %rdi
testq %rdi, %rdi
je 0xa495f
movq 0x148(%rsp), %rsi
subq %rdi, %rsi
callq 0x8480
leaq 0x1d0(%rsp), %rdi
callq 0x2e784
movq 0x60(%rsp), %rdi
leaq 0x70(%rsp), %rax
cmpq %rax, %rdi
je 0xa4988
movq 0x70(%rsp), %rsi
incq %rsi
callq 0x8480
movq (%rsp), %rbx
leaq 0x90(%rsp), %rdi
callq 0x2e784
jmp 0xa49ba
movq %rax, %r15
leaq 0x198(%rsp), %rdi
jmp 0xa4b3c
movq %rax, %r15
jmp 0xa4ae3
movq %rax, %r15
movq (%rsp), %rbx
leaq 0x160(%rsp), %rdi
callq 0x2e784
leaq 0x420(%rsp), %rdi
callq 0x2e784
movq 0x398(%rsp), %rdi
testq %rdi, %rdi
je 0xa49f1
movq 0x3a8(%rsp), %rsi
subq %rdi, %rsi
callq 0x8480
movq 0x320(%rsp), %rdi
testq %rdi, %rdi
je 0xa4a0e
movq 0x330(%rsp), %rsi
subq %rdi, %rsi
callq 0x8480
movq 0x338(%rsp), %rdi
testq %rdi, %rdi
je 0xa4a2b
movq 0x348(%rsp), %rsi
subq %rdi, %rsi
callq 0x8480
movq 0x350(%rsp), %rdi
testq %rdi, %rdi
je 0xa4a48
movq 0x360(%rsp), %rsi
subq %rdi, %rsi
callq 0x8480
movq 0x278(%rsp), %rdi
testq %rdi, %rdi
je 0xa4a65
movq 0x288(%rsp), %rsi
subq %rdi, %rsi
callq 0x8480
movq 0x290(%rsp), %rdi
testq %rdi, %rdi
je 0xa4a82
movq 0x2a0(%rsp), %rsi
subq %rdi, %rsi
callq 0x8480
movq 0x2a8(%rsp), %rdi
testq %rdi, %rdi
je 0xa4a9f
movq 0x2b8(%rsp), %rsi
subq %rdi, %rsi
callq 0x8480
movq 0x368(%rsp), %rdi
testq %rdi, %rdi
je 0xa4abc
movq 0x378(%rsp), %rsi
subq %rdi, %rsi
callq 0x8480
leaq 0x220(%rsp), %rdi
callq 0xa5098
leaq 0x3b0(%rsp), %rdi
callq 0x42ffa
movl $0x18, %esi
movq %rbx, %rdi
callq 0x8480
movq 0x198(%rsp), %rdi
testq %rdi, %rdi
je 0xa4b1d
movq 0x1b8(%rsp), %rsi
subq %rdi, %rsi
callq 0x8480
xorl %eax, %eax
movq %rax, 0x198(%rsp)
movl $0x0, 0x1a0(%rsp)
movq %rax, 0x1a8(%rsp)
leaq 0x3d0(%rsp), %rdi
callq 0x480b0
leaq 0x40(%rsp), %rdi
callq 0x2efec
leaq 0x180(%rsp), %rdi
callq 0x2e784
leaq 0x2f0(%rsp), %rdi
callq 0x5df54
leaq 0xf0(%rsp), %rdi
callq 0x5dfcc
leaq 0x10(%rsp), %rdi
callq 0x3c6d4
leaq 0xc0(%rsp), %rdi
callq 0x3c602
leaq 0x268(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xa4b93
movq 0x268(%rsp), %rsi
incq %rsi
callq 0x8480
movq 0x238(%rsp), %rdi
leaq 0x248(%rsp), %rax
cmpq %rax, %rdi
je 0xa4bb8
movq 0x248(%rsp), %rsi
incq %rsi
callq 0x8480
movq %r15, %rdi
callq 0x8840