// File: /workspace/github_cpp_makefile_star2_O1/richardposner[P]BioNetFit2/src/code/Swarm.cpp
// Function: Swarm::outputRunSummary(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
void Swarm::outputRunSummary(string outputPath) {
	int counter; //Raquel: this will count the index of the parameter value for a given parameter
	int particleCounter; //Raquel: This will count the total number of particles
	vector<string> paramList; //Raquel: This is the global list of parameters
	int paramCounter; //Raquel: this is the index of the parameter name

	//int parID = 0;

	string paramString;

	map<unsigned int, map<unsigned int, map<string, double> > > alignedResults;   //Raquel: Particle -> Model -> Parameter -> value

	//cout<<"Swarm::outputRunSummary(string outputPath) may need some modifications ...."<<endl; //mypause(); //razi TODO: later test

	if (options.verbosity >=3) cout<<"Fitting finished: Writing Summary into File: " << outputPath<<endl;

	ofstream outputFile;
	if (options.verbosity >=5){
		cout << "RAQUEL opening file" << endl;
	}
	//outputFile.open(outputPath, ofstream::out);
	//outputFile.open(outputPath);
	//outputFile.open(outputPath, ios::out | ios::app);
	//outputFile.open(outputPath.c_str());
	outputFile.open(outputPath.c_str(), ios::out | ios::app);
	if (options.verbosity >=5){
		cout << "entering if" << endl;
	}
	//int paramIndex = 0;




	if (outputFile.is_open()){

		outputFile.precision(8);
		outputFile.setf(ios::scientific);


	if(options.fitType == "ga" || options.fitType == "pso" || options.fitType == "de") {


		paramCounter = 0;
		 for (unsigned int i=0; i< options.models.size(); i++ ){//loops through models
	 			if (options.verbosity >=1){

	 				cout<<" Model ["<<i<<"]: " << options.models.at(i)->getName()<<endl<<"              ";
	 			}
			 counter = 0;
		 	 for (auto it1 = options.models.at(i)->freeParams_.begin(); it1 != options.models.at(i)->freeParams_.end(); ++it1){//loop through parameters
		 		if (options.verbosity >=3){
		 		    cout<<" Free Parameter: " << it1->first << endl;
		 		}
		 		    if((find(paramList.begin(), paramList.end(), it1->first)) == paramList.end()){
		 		    	paramList.insert(paramList.end(), it1->first);
		 		    	paramCounter++;

		 		    }
		 		    particleCounter = 0;

		 		    for(auto it2 = subparticleCurrParamSets_.begin(); it2!=subparticleCurrParamSets_.end(); ++it2){//loops through subparticle IDs
		 		    	particleCounter++;
		 		    	//cout << "subparticleCurrParamSets_ first " << it2->first << endl;
		 		      	for(auto it3 = it2->second.begin(); it3 != it2->second.end(); ++it3){//loops through model IDs
		 		      		//cout << "model i " << i << endl;
		 		    		if(it3->first==i){
		 		    			if (options.verbosity >=3){
		 		    				cout << "parameter for index " <<  counter  << " : "  << it3->second[counter] << endl;
		 		    			}
		 		    			alignedResults[it2->first][i][it1->first] = it3->second[counter];
		 		    			// Particle -> Model -> Parameter -> value
		 		    		}
		 		    	}

		 		    }
					counter++; //free param counter
		 	 }
			 cout << endl;
		 }


	}

		 //outputFile << left << setw(16) << "Model" << left << setw(16) << "Particle" << left << setw(16) << "Fit";
 		 //cout << left << setw(16) << "Model" << left << setw(16) << "Particle" << left << setw(16) << "Fit";
		 outputFile << left << setw(16) << "Particle";
		 if (options.verbosity >=1){
			 cout << left << setw(16) << "Particle";
		 }
 		 for(unsigned int i = 0; i < options.models.size(); i++){
 			if (options.verbosity >=1){
 			 cout << "Fit_M";
 			 cout << left << setw(11) << i;
 			}
 			 outputFile << "Fit_M";
 			 outputFile << left << setw(11) <<  i;
 		 }


		 for(unsigned int i = 0; i < paramList.size(); i++){
			 if (options.verbosity >=1){
				 cout << left << setw(16) << paramList[i];
			 }
			 outputFile << left << setw(16) << paramList[i];


		 }
		 if (options.verbosity >=1){
			 cout << endl;
		 }
		 outputFile << endl;

		// int foundModel;

int foundParam;
int pcounter = 0; //index of the particles
int fcounter; //index of the fit results
//Raquel: this will print the output in the correct order, aligned
//Raquel TODO: save this printed output to the output file, and calculate overall fit, merging the fits for each parameter
//int fmid;
int fpid;
//int pmid;
//int psub;



multimap<double, unsigned int> subparticleFitIDMap;

if(options.fitType == "ga" || options.fitType == "pso" || options.fitType == "de") {

	 subparticleFitIDMap = currentsubswarmBestFits_;
	 currentsubswarmBestFits_copy = currentsubswarmBestFits_;
	 if(options.verbosity >= 3){
		 cout << "@@@@@@@@@@@@@@@@@@@@@ FIT SIZE @@@@@@@@@@@@@@@@@" << currentsubswarmBestFits_.size() << endl;
	 }

}

		 for(auto ri1 = alignedResults.begin(); ri1 != alignedResults.end(); ++ri1){//loop through particles


			 for (auto ri2 = ri1->second.begin(); ri2 != ri1->second.end(); ++ri2){//loop through models
				 pcounter++;// Raquel: subparticle id counter

				 //str =
				 //str = ;
				 //cout << "Model_";
				 //cout << left << setw(10) << ri2->first;
		 			if (options.verbosity >=1){

		 				cout << "Particle_";

		 				cout << left << setw(7) << ri1->first;
		 			}

				 outputFile << "Particle_";
				 outputFile << left << setw(7) << ri1->first;

				 //psub = fcalcsubParID(pcounter, pmid, options.models.size());
				 //pmid = fcalcMID(psub,options.models.size());

				 //Raquel: this fcounter will be equal to the subparticle ID
				 fcounter = 0;
				 for (auto fits = subparticleFitIDMap.begin(); fits != subparticleFitIDMap.end(); ++fits){//loops through the fit resuts
					 fcounter++;

					 //fmid = fcalcMID(fcounter,options.models.size());
					 fpid = fcalcParID(fits->second, options.models.size());

					 if(fpid==pcounter){
				 			if (options.verbosity >=1){

				 				cout << left << setw(16) << fits->first;
				 			}
						 outputFile << left << setw(16) << fits->first;

					 }

					 //cout << "fcounter " << fcounter << " pcounter " << pcounter << endl;

				 }


				 for(unsigned int i = 0; i < paramList.size(); i++){
					 foundParam = 0;
					 for(auto ri3 = ri2->second.begin(); ri3 != ri2->second.end(); ++ri3){//loop through parameters

						 if(paramList[i] == ri3->first){
					 			if (options.verbosity >=1){

					 				cout << left << setw(16) << ri3->second;
					 			}
							 outputFile << left << setw(16) << ri3->second;

							 foundParam = 1;
						 }

					 }
					 if(foundParam == 0){
				 			if (options.verbosity >=1){

				 				cout << left << setw(16) << "NA";
				 			}
						 outputFile << left << setw(16) << "NA";

					 }
				 }
		 			if (options.verbosity >=1){

		 				cout << endl;
		 			}
				 outputFile << endl;

				 break;
			 }

		 }


		 if(options.constraintWeight!=0){
	 			if (options.verbosity >=4){

	 				cout << "CONSTRAINT WEIGHT DIFFERENT OF ZERO: " << options.constraintWeight << endl;
	 			}
		 //this variable will store the number of constraints fulfilled per subparticle
		 vector<pair<int,float> > constraintsCount;
		 int mid = 0;
		 constraintsCount = resultChecking();

		 //sort results from the larger number of constraints to the smaller
		 sort(constraintsCount.begin(), constraintsCount.end(), [](const pair<int,float> &left, const pair<int,float> &right){return left.second > right.second;});


		 cout << "SubParID\tConstraints" << endl;
		 int constraintRank=0;
		 int previous=-1;

		 vector<pair<int,float> > subParRankCons;

		 //rank the results based on the number of constraints
		 for (unsigned int i = 0 ; i < constraintsCount.size(); i++){
		     cout << constraintsCount[i].first << " " << constraintsCount[i].second << "\n";
		     if(previous!=constraintsCount[i].second){
		    	 constraintRank++;
		     }
		     subParRankCons.push_back(make_pair(constraintsCount[i].first, constraintRank));
		     previous=constraintsCount[i].second;
		 }

		 cout << "SubParID\tConstraintRank" << endl;

		 for (unsigned int i = 0 ; i < subParRankCons.size(); i++){
		     cout << subParRankCons[i].first << " " << subParRankCons[i].second << "\n";
		 }

		 vector<pair<int,float> > fitCount;

		 fcounter = 0;





		 for (auto itr = subparticleFitIDMap.begin(); itr != subparticleFitIDMap.end(); ++itr){
			 fcounter++;
			 fitCount.push_back(make_pair(itr->second,itr->first));

		 }

		 //sort results from the smaller fit to the larger fit
		 sort(fitCount.begin(), fitCount.end(), [](const pair<int,float> &left, const pair<int,float> &right){return left.second < right.second;});


		 cout << "SubParID\tFit" << endl;
		 int fitRank=0;
		 float previousFit=-1;

		 vector<pair<int,float> > subParRankFit;

		 //rank the results based on the Fit value
		 for (unsigned int i = 0 ; i < fitCount.size(); i++){
		     cout << fitCount[i].first << " " << fitCount[i].second << "\n";
		     if(previousFit!=fitCount[i].second){
		    	 fitRank++;
		     }
		     subParRankFit.push_back(make_pair(fitCount[i].first, fitRank));
		     previousFit=fitCount[i].second;
		 }


		 cout << "SubParID\tFitRank" << endl;

		 for (unsigned int i = 0 ; i < subParRankFit.size(); i++){
		     cout << subParRankFit[i].first << " " << subParRankFit[i].second << "\n";
		 }


		 vector<pair<int,float> > finalScore;
		 float consWeight = options.constraintWeight; //Here it defines how important the consraints will be
		 //put a large consWeight number = the constraint ranks will prevail
		 //put a small consWeight number = the fit ranks will prevail
		 float fitWeight = 1-options.constraintWeight; //Here it defines how important the fits will be

		 float scoreTmp = 0;

		 //this loop will combine both scores based on fit ranks and fulfilled constraints ranks
/*		 for (int i = 0 ; i < subParRankCons.size(); i++){


			 for (int j = 0 ; j < subParRankFit.size(); j++){



				 if(subParRankCons[i].first == subParRankFit[j].first){
					 //Here it defines how important the cnsraints will be
					 scoreTmp = ((subParRankCons[i].second*consWeight) + (subParRankFit[j].second * fitWeight));
					 finalScore.push_back(make_pair(subParRankCons[i].first, scoreTmp));

				 }else{
					 //if the model that we are looking at belongs to the wild type
					 mid = fcalcMID(subParRankFit[j].first,options.models.size());

					 //if(mid == 0 && (subParRankCons[i].first-1) == subParRankFit[j].first){
					 if( find(subParRankCons.begin(), subParRankCons.end(), subParRankFit[j].first) == subParRankCons.end() ){
						 //cout << "mid=0 subParRankFit[j].first= " << subParRankFit[j].first << endl;
						 cout << " subpar subParRankFit[j].first " << subParRankFit[j].first << " mid " << mid << endl;
						 scoreTmp = subParRankFit[j].second*fitWeight;
						 finalScore.push_back(make_pair(subParRankFit[j].first, scoreTmp));
					 }

				 }

			 }


		 }
*/
		 int found;

		 for (unsigned int i = 0 ; i < subParRankFit.size(); i++){

			 found = 0;
			 for (unsigned int j = 0 ; j < subParRankCons.size(); j++){

				 if(subParRankCons[j].first == subParRankFit[i].first){
					 //Here it defines how important the cnsraints will be
					 scoreTmp = ((subParRankCons[j].second*consWeight) + (subParRankFit[i].second * fitWeight));
					 finalScore.push_back(make_pair(subParRankCons[j].first, scoreTmp));

					 found = 1;

				 }

			 }
			 //if the subparticle is not in the list of constraints, keep the original rank
			 if(found==0){

				 scoreTmp = subParRankFit[i].second;
				 //scoreTmp = subParRankFit[j].second*fitWeight;
				 finalScore.push_back(make_pair(subParRankFit[i].first, scoreTmp));


			 }



		 }

		 //sort results from the smaller fit to the larger fit
		 sort(finalScore.begin(), finalScore.end(), [](const pair<int,float> &left, const pair<int,float> &right){return left.second < right.second;});


		 cout << "SubParID\tFinal_Rank_Score" << endl;
		 fitRank=0;
		 previousFit=-1;

		 //vector<pair<int,float> > subParRankFinal;
		 subParRankFinal.clear();
		 //rank the results based on the Fit value
		 for (unsigned int i = 0 ; i < finalScore.size(); i++){
		     cout << finalScore[i].first << " " << finalScore[i].second << "\n";
		     if(previousFit!=finalScore[i].second){
		    	 fitRank++;
		     }
		     subParRankFinal.push_back(make_pair(finalScore[i].first, fitRank));
		     previousFit=finalScore[i].second;
		 }

		 cout << "SubParID\tFinal_Rank" << endl;

		 for (unsigned int i = 0 ; i < subParRankFinal.size(); i++){
		     cout << subParRankFinal[i].first << " " << subParRankFinal[i].second << "\n";
		 }



		 //Print the reranked results

		 string outdir = options.outputDir + "/" + options.jobName + "/" + toString(currentGeneration-1) + "/";

		 string outname = outdir + "Ranked_results.txt";


		 ofstream outFile;

		 outFile.open(outname);

		 cout << "Particle\tModel\tFit_Rank\tConstraint_Rank\tFinal_Rank\tConstraints" << endl;
		 outFile << "Particle\tModel\tFit_Rank\tConstraint_Rank\tFinal_Rank\tConstraints" << endl;

		 //int maxPar = fcalcParID(subparticleFitIDMap.size(), options.models.size());

		 //int mid;
		 int pid;

		 for (unsigned int i = 0 ; i < subParRankFinal.size(); i++){

			 mid = fcalcMID(subParRankFinal[i].first,options.models.size());
			 pid = fcalcParID(subParRankFinal[i].first, options.models.size());

			 for (unsigned int j = 0 ; j < subParRankFit.size(); j++){


				 found = 0;
				 for (unsigned int k = 0 ; k < subParRankCons.size(); k++){

					 if(subParRankFinal[i].first==subParRankFit[j].first && subParRankFinal[i].first==subParRankCons[k].first){

						 for(unsigned int r=0; r < constraintsCount.size(); r++){

							 if(subParRankFinal[i].first ==  constraintsCount[r].first ){


								 cout << pid << "\t" << mid << "\t" << subParRankFit[j].second << "\t" << subParRankCons[k].second << "\t" << subParRankFinal[i].second << "\t" <<constraintsCount[r].second <<  endl;
								 outFile << pid << "\t" << mid << "\t" << subParRankFit[j].second << "\t" << subParRankCons[k].second << "\t" << subParRankFinal[i].second << "\t" << constraintsCount[r].second << endl;

								 found = 1;


							 }


						 }

					 }

				 }


				 if(found==0 && subParRankFinal[i].first==subParRankFit[j].first){

					 cout << pid << "\t" << mid << "\t" << subParRankFit[j].second << "\t" << "-" << "\t" << subParRankFinal[i].second << "\t-" << endl;
					 outFile << pid << "\t" << mid << "\t" << subParRankFit[j].second << "\t" << "-" << "\t" << subParRankFinal[i].second << "\t-" << endl;


				 }


			 }



		 }

		 }
		 /*
		 //rank results
		 int maxPar = fcalcParID(allGenFits.size(), options.models.size());


		 vector<pair<int,float> > sortedFits;
		 for (auto itr = allGenFits.begin(); itr != allGenFits.end(); ++itr){
			 sortedFits.push_back(*itr);
		 }


		 sort (sortedFits.begin(),sortedFits.end());
		 cout << "sorted result" << endl;
		 for (int i = 0 ; i < sortedFits.size(); i++){
		     cout << sortedFits[i].first << " " << sortedFits[i].second << "\n";
		 }

		 for(int i=1; i <= maxPar; i++ ){

			 fcounter = 0;
			 for (auto fits = allGenFits.begin(); fits != allGenFits.end(); ++fits){//loops through the fit resuts
				 fcounter++;

				 fmid = fcalcMID(fcounter,options.models.size());
				 fpid = fcalcParID(fcounter, options.models.size());

				 if(i==fmid){
					 cout << left << setw(16) << fits->first;
					 outputFile << left << setw(16) << fits->first;

				 }

				 //cout << "fcounter " << fcounter << " pcounter " << pcounter << endl;

			 }


		 }
		*/

//Raquel: here ends the block of code to fix the alignment problem with the parameter values

		outputFile.close();
	}
	else {
		cout << "Warning: couldn't open: " << outputPath << " to write fit summary." << endl;
	}



}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x608, %rsp            # imm = 0x608
movq %rsi, %rbx
movq %rdi, %r15
xorps %xmm0, %xmm0
movaps %xmm0, 0x90(%rsp)
xorl %eax, %eax
movq %rax, 0xa0(%rsp)
leaq 0x1c0(%rsp), %rcx
movq %rcx, -0x10(%rcx)
movq %rax, -0x8(%rcx)
movb $0x0, (%rcx)
leaq 0x1d8(%rsp), %rcx
movl $0x0, (%rcx)
movq %rax, 0x8(%rcx)
movq %rcx, 0x10(%rcx)
movq %rcx, 0x18(%rcx)
movq %rax, 0x20(%rcx)
cmpl $0x3, 0x1614(%rdi)
jb 0x924bb
movq 0xe3b23(%rip), %rdi     # 0x175f90
leaq 0x6f08d(%rip), %rsi     # 0x101501
movl $0x2d, %edx
callq 0x22ab0
movq (%rbx), %rsi
movq 0x8(%rbx), %rdx
movq 0xe3b04(%rip), %rdi     # 0x175f90
callq 0x22ab0
movq %rax, %r14
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x22940
movsbl %al, %esi
movq %r14, %rdi
callq 0x22050
movq %rax, %rdi
callq 0x22660
leaq 0x408(%rsp), %rdi
callq 0x23190
cmpl $0x5, 0x1614(%r15)
jb 0x92518
movq 0xe3ab7(%rip), %r14     # 0x175f90
leaq 0x6f04f(%rip), %rsi     # 0x10152f
movl $0x13, %edx
movq %r14, %rdi
callq 0x22ab0
movq (%r14), %rax
addq -0x18(%rax), %r14
movq %r14, %rdi
movl $0xa, %esi
callq 0x22940
movsbl %al, %esi
movq 0xe3a85(%rip), %rdi     # 0x175f90
callq 0x22050
movq %rax, %rdi
callq 0x22660
movq (%rbx), %rsi
leaq 0x408(%rsp), %rdi
movl $0x11, %edx
callq 0x22080
cmpl $0x5, 0x1614(%r15)
jb 0x9257d
movq 0xe3a52(%rip), %r14     # 0x175f90
leaq 0x6effe(%rip), %rsi     # 0x101543
movl $0xb, %edx
movq %r14, %rdi
callq 0x22ab0
movq (%r14), %rax
addq -0x18(%rax), %r14
movq %r14, %rdi
movl $0xa, %esi
callq 0x22940
movsbl %al, %esi
movq 0xe3a20(%rip), %rdi     # 0x175f90
callq 0x22050
movq %rax, %rdi
callq 0x22660
leaq 0x478(%rsp), %rdi
callq 0x221e0
testb %al, %al
je 0x93377
movq 0x408(%rsp), %rax
movq -0x18(%rax), %rcx
movq $0x8, 0x410(%rsp,%rcx)
movq -0x18(%rax), %rax
orl $0x100, 0x420(%rsp,%rax) # imm = 0x100
leaq 0x14e0(%r15), %rbx
leaq 0x5f9e2(%rip), %rsi     # 0xf1fa9
movq %rbx, %rdi
callq 0x22250
testl %eax, %eax
movq %r15, 0x18(%rsp)
movq %rbx, 0x80(%rsp)
je 0x9260a
leaq 0x6c91b(%rip), %rsi     # 0xfef02
movq %rbx, %rdi
callq 0x22250
testl %eax, %eax
je 0x9260a
leaq 0x9b921(%rip), %rsi     # 0x12df1b
movq %rbx, %rdi
callq 0x22250
testl %eax, %eax
jne 0x92a25
movl $0x0, 0x118(%rsp)
movq 0x15c8(%r15), %rax
cmpq 0x15c0(%r15), %rax
je 0x92a25
leaq 0x1468(%r15), %rax
movq %rax, 0x10(%rsp)
cmpl $0x0, 0x1614(%r15)
je 0x92751
movl $0x8, %edx
movq 0xe3941(%rip), %rdi     # 0x175f90
leaq 0x6edd1(%rip), %rsi     # 0x101427
callq 0x22ab0
movl 0x118(%rsp), %esi
movq 0xe3927(%rip), %rdi     # 0x175f90
callq 0x22650
movq %rax, %rbx
movl $0x3, %edx
movq %rax, %rdi
leaq 0x8ff0d(%rip), %rsi     # 0x12258d
callq 0x22ab0
movl 0x118(%rsp), %esi
movq 0x15c0(%r15), %rax
movq 0x15c8(%r15), %rdx
subq %rax, %rdx
sarq $0x3, %rdx
cmpq %rsi, %rdx
jbe 0x948f2
movq (%rax,%rsi,8), %rax
leaq 0x210(%rsp), %rcx
movq %rcx, 0x200(%rsp)
movq 0x68(%rax), %rsi
movq 0x70(%rax), %rdx
addq %rsi, %rdx
leaq 0x200(%rsp), %rdi
callq 0x32180
movq 0x200(%rsp), %rsi
movq 0x208(%rsp), %rdx
movq %rbx, %rdi
callq 0x22ab0
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x22940
movsbl %al, %esi
movq %rbx, %rdi
callq 0x22050
movq %rax, %rdi
callq 0x22660
movl $0xe, %edx
movq %rax, %rdi
leaq 0x6ed09(%rip), %rsi     # 0x101430
callq 0x22ab0
movq 0x200(%rsp), %rdi
leaq 0x210(%rsp), %rax
cmpq %rax, %rdi
je 0x92751
movq 0x210(%rsp), %rsi
incq %rsi
callq 0x229c0
movl 0x118(%rsp), %eax
movq 0x15c0(%r15), %rdi
movq 0x15c8(%r15), %rdx
subq %rdi, %rdx
sarq $0x3, %rdx
cmpq %rax, %rdx
jbe 0x948e1
movl 0x118(%rsp), %esi
movq 0x15c0(%r15), %rcx
movq 0x15c8(%r15), %rdx
subq %rcx, %rdx
sarq $0x3, %rdx
cmpq %rsi, %rdx
jbe 0x948d3
movq (%rdi,%rax,8), %rax
movq 0x48(%rax), %r12
xorl %ebx, %ebx
movq (%rcx,%rsi,8), %rax
addq $0x38, %rax
cmpq %rax, %r12
je 0x929c8
cmpl $0x3, 0x1614(%r15)
jb 0x92818
movl $0x11, %edx
movq 0xe37c4(%rip), %rdi     # 0x175f90
leaq 0x6ec0f(%rip), %rsi     # 0x1013e2
callq 0x22ab0
movq 0x20(%r12), %rsi
movq 0x28(%r12), %rdx
movq 0xe37a7(%rip), %rdi     # 0x175f90
callq 0x22ab0
movq %rax, %r14
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x22940
movsbl %al, %esi
movq %r14, %rdi
callq 0x22050
movq %rax, %rdi
callq 0x22660
movq 0x90(%rsp), %rdi
movq 0x98(%rsp), %rsi
leaq 0x20(%r12), %rbp
movq %rbp, %rdx
callq 0x47cc9
movq %r12, 0x88(%rsp)
movq 0x98(%rsp), %rsi
cmpq %rsi, %rax
jne 0x9285a
leaq 0x90(%rsp), %rdi
movq %rbp, %rdx
callq 0xa8eb8
movq 0x1478(%r15), %rax
cmpq 0x10(%rsp), %rax
je 0x92986
movq 0x40(%rax), %r15
movq %rax, (%rsp)
leaq 0x30(%rax), %r14
cmpq %r14, %r15
je 0x92978
movq (%rsp), %rax
leaq 0x20(%rax), %r13
movl 0x20(%r15), %eax
cmpl 0x118(%rsp), %eax
jne 0x92964
movq 0x18(%rsp), %rax
cmpl $0x3, 0x1614(%rax)
jb 0x92920
movl $0x14, %edx
movq 0xe36dc(%rip), %rdi     # 0x175f90
leaq 0x6ec94(%rip), %rsi     # 0x10154f
callq 0x22ab0
movq 0xe36c9(%rip), %rdi     # 0x175f90
movl %ebx, %esi
callq 0x231e0
movq %rax, %r12
movl $0x3, %edx
movq %rax, %rdi
leaq 0x5f29b(%rip), %rsi     # 0xf1b7b
callq 0x22ab0
movq 0x28(%r15), %rax
movsd (%rax,%rbx,8), %xmm0
movq %r12, %rdi
callq 0x23060
movq %rax, %r12
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r12, %rdi
movl $0xa, %esi
callq 0x22940
movsbl %al, %esi
movq %r12, %rdi
callq 0x22050
movq %rax, %rdi
callq 0x22660
movq 0x28(%r15), %rax
movsd (%rax,%rbx,8), %xmm0
movsd %xmm0, 0x8(%rsp)
leaq 0x1d0(%rsp), %rdi
movq %r13, %rsi
callq 0xa8f90
movq %rax, %rdi
leaq 0x118(%rsp), %rsi
callq 0xa8ff4
movq %rax, %rdi
movq %rbp, %rsi
callq 0x4a4da
movsd 0x8(%rsp), %xmm0
movsd %xmm0, (%rax)
movq %r15, %rdi
callq 0x22670
movq %rax, %r15
cmpq %r14, %rax
jne 0x92889
movq (%rsp), %rdi
callq 0x22670
jmp 0x92861
incq %rbx
movq 0x88(%rsp), %rdi
callq 0x22670
movq %rax, %r12
movl 0x118(%rsp), %esi
movq 0x18(%rsp), %r15
movq 0x15c0(%r15), %rcx
movq 0x15c8(%r15), %rdx
subq %rcx, %rdx
sarq $0x3, %rdx
cmpq %rsi, %rdx
ja 0x927a5
jmp 0x948d3
movq 0xe35c1(%rip), %rcx     # 0x175f90
movq (%rcx), %rax
movq -0x18(%rax), %rdi
addq %rcx, %rdi
movl $0xa, %esi
callq 0x22940
movsbl %al, %esi
movq 0xe35a3(%rip), %rdi     # 0x175f90
callq 0x22050
movq %rax, %rdi
callq 0x22660
movl 0x118(%rsp), %eax
incl %eax
movl %eax, 0x118(%rsp)
movq 0x15c8(%r15), %rcx
subq 0x15c0(%r15), %rcx
sarq $0x3, %rcx
cmpq %rax, %rcx
ja 0x92635
leaq 0x408(%rsp), %rdi
movq (%rdi), %rax
movq -0x18(%rax), %rcx
movl $0xffffff4f, %edx       # imm = 0xFFFFFF4F
andl 0x420(%rsp,%rcx), %edx
orl $0x20, %edx
movl %edx, 0x420(%rsp,%rcx)
movq -0x18(%rax), %rax
movq $0x10, 0x418(%rsp,%rax)
leaq 0x6d2b3(%rip), %rsi     # 0xffd14
movl $0x8, %edx
callq 0x22ab0
cmpl $0x0, 0x1614(%r15)
je 0x92ab1
movq 0xe3514(%rip), %rdi     # 0x175f90
movq (%rdi), %rax
movq -0x18(%rax), %rcx
movl $0xffffff4f, %edx       # imm = 0xFFFFFF4F
andl 0x18(%rdi,%rcx), %edx
orl $0x20, %edx
movl %edx, 0x18(%rdi,%rcx)
movq -0x18(%rax), %rax
movq $0x10, 0x10(%rdi,%rax)
leaq 0x6d26d(%rip), %rsi     # 0xffd14
movl $0x8, %edx
callq 0x22ab0
movq 0x15c8(%r15), %rax
cmpq 0x15c0(%r15), %rax
je 0x92ba2
movq %r15, %rcx
movl $0x1, %ebp
xorl %r13d, %r13d
leaq 0x6ea8d(%rip), %r14     # 0x101564
leaq 0x408(%rsp), %r15
movl $0xffffff4f, %ebx       # imm = 0xFFFFFF4F
movq 0xe34a5(%rip), %r12     # 0x175f90
cmpl $0x0, 0x1614(%rcx)
je 0x92b33
movl $0x5, %edx
movq %r12, %rdi
movq %r14, %rsi
callq 0x22ab0
movq (%r12), %rax
movq -0x18(%rax), %rcx
movl 0x18(%r12,%rcx), %edx
andl %ebx, %edx
orl $0x20, %edx
movl %edx, 0x18(%r12,%rcx)
movq -0x18(%rax), %rax
movq $0xb, 0x10(%r12,%rax)
movq %r12, %rdi
movq %r13, %rsi
callq 0x22650
movl $0x5, %edx
movq %r15, %rdi
movq %r14, %rsi
callq 0x22ab0
movq 0x408(%rsp), %rax
movq -0x18(%rax), %rcx
movl 0x420(%rsp,%rcx), %edx
andl %ebx, %edx
orl $0x20, %edx
movl %edx, 0x420(%rsp,%rcx)
movq -0x18(%rax), %rax
movq $0xb, 0x418(%rsp,%rax)
movq %r15, %rdi
movq %r13, %rsi
callq 0x22650
movq 0x18(%rsp), %rcx
movq 0x15c8(%rcx), %rax
subq 0x15c0(%rcx), %rax
movl %ebp, %r13d
sarq $0x3, %rax
incl %ebp
cmpq %r13, %rax
ja 0x92aeb
movq 0x90(%rsp), %rax
cmpq %rax, 0x98(%rsp)
movq 0x80(%rsp), %r13
je 0x92c96
movl $0x1, %ebx
xorl %r12d, %r12d
movl $0xffffff4f, %ebp       # imm = 0xFFFFFF4F
leaq 0x408(%rsp), %r14
movq 0xe33b4(%rip), %r15     # 0x175f90
movq 0x18(%rsp), %rcx
cmpl $0x0, 0x1614(%rcx)
je 0x92c25
movq (%r15), %rcx
movq -0x18(%rcx), %rdx
movl 0x18(%r15,%rdx), %esi
andl %ebp, %esi
orl $0x20, %esi
movl %esi, 0x18(%r15,%rdx)
movq -0x18(%rcx), %rcx
movq $0x10, 0x10(%r15,%rcx)
movq %r12, %rcx
shlq $0x5, %rcx
movq (%rax,%rcx), %rsi
movq 0x8(%rax,%rcx), %rdx
movq %r15, %rdi
callq 0x22ab0
movq 0x408(%rsp), %rax
movq -0x18(%rax), %rcx
movl 0x420(%rsp,%rcx), %edx
andl %ebp, %edx
orl $0x20, %edx
movl %edx, 0x420(%rsp,%rcx)
movq -0x18(%rax), %rax
movq $0x10, 0x418(%rsp,%rax)
movq 0x90(%rsp), %rax
shlq $0x5, %r12
movq (%rax,%r12), %rsi
movq 0x8(%rax,%r12), %rdx
movq %r14, %rdi
callq 0x22ab0
movl %ebx, %r12d
movq 0x90(%rsp), %rax
movq 0x98(%rsp), %rcx
subq %rax, %rcx
sarq $0x5, %rcx
incl %ebx
cmpq %r12, %rcx
ja 0x92bdc
movq 0x18(%rsp), %r14
cmpl $0x0, 0x1614(%r14)
je 0x92cd4
movq 0xe32e4(%rip), %rdi     # 0x175f90
movq (%rdi), %rax
addq -0x18(%rax), %rdi
movl $0xa, %esi
callq 0x22940
movsbl %al, %esi
movq 0xe32c9(%rip), %rdi     # 0x175f90
callq 0x22050
movq %rax, %rdi
callq 0x22660
movq 0x408(%rsp), %rax
leaq 0x408(%rsp), %rdi
addq -0x18(%rax), %rdi
movl $0xa, %esi
callq 0x22940
movsbl %al, %esi
leaq 0x408(%rsp), %rdi
callq 0x22050
movq %rax, %rdi
callq 0x22660
leaq 0x120(%rsp), %r15
movl $0x0, (%r15)
xorl %eax, %eax
movq %rax, 0x8(%r15)
movq %r15, 0x10(%r15)
movq %r15, 0x18(%r15)
movq %rax, 0x20(%r15)
leaq 0x5f277(%rip), %rsi     # 0xf1fa9
movq %r13, %rdi
callq 0x22250
testl %eax, %eax
je 0x92d68
leaq 0x6c1bd(%rip), %rsi     # 0xfef02
movq %r13, %rdi
callq 0x22250
testl %eax, %eax
je 0x92d68
leaq 0x9b1c3(%rip), %rsi     # 0x12df1b
movq %r13, %rdi
callq 0x22250
testl %eax, %eax
jne 0x92ded
leaq 0x1c30(%r14), %rbx
leaq 0x118(%rsp), %rdi
movq %rbx, %rsi
callq 0xadc08
leaq 0x1c60(%r14), %rdi
movq %rbx, %rsi
callq 0xadc08
cmpl $0x3, 0x1614(%r14)
jb 0x92ded
movq 0xe31f1(%rip), %rdi     # 0x175f90
leaq 0x6e7c4(%rip), %rsi     # 0x10156a
movl $0x30, %edx
callq 0x22ab0
movq 0x1c58(%r14), %rsi
movq 0xe31d2(%rip), %rdi     # 0x175f90
callq 0x22650
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x22940
movsbl %al, %esi
movq %rbx, %rdi
callq 0x22050
movq %rax, %rdi
callq 0x22660
movq 0x1e8(%rsp), %r12
leaq 0x1d8(%rsp), %rax
cmpq %rax, %r12
je 0x93224
movl $0x0, (%rsp)
movq 0xe317c(%rip), %r13     # 0x175f90
movq 0x40(%r12), %rcx
leaq 0x30(%r12), %rax
movq %rcx, 0x8(%rsp)
cmpq %rax, %rcx
je 0x93208
cmpl $0x0, 0x1614(%r14)
je 0x92e80
movl $0x9, %edx
movq %r13, %rdi
leaq 0x6e756(%rip), %rsi     # 0x10159b
callq 0x22ab0
movq (%r13), %rax
movq -0x18(%rax), %rcx
movl 0x18(%r13,%rcx), %edx
movl $0xffffff4f, %esi       # imm = 0xFFFFFF4F
andl %esi, %edx
orl $0x20, %edx
movl %edx, 0x18(%r13,%rcx)
movq -0x18(%rax), %rax
movq $0x7, 0x10(%r13,%rax)
movl 0x20(%r12), %esi
movq %r13, %rdi
callq 0x22650
movl $0x9, %edx
leaq 0x408(%rsp), %rdi
leaq 0x6e707(%rip), %rsi     # 0x10159b
callq 0x22ab0
movq 0x408(%rsp), %rax
movq -0x18(%rax), %rcx
movl 0x420(%rsp,%rcx), %edx
movl $0xffffff4f, %esi       # imm = 0xFFFFFF4F
andl %esi, %edx
orl $0x20, %edx
movl %edx, 0x420(%rsp,%rcx)
movq -0x18(%rax), %rax
movq $0x7, 0x418(%rsp,%rax)
movl 0x20(%r12), %esi
leaq 0x408(%rsp), %rdi
callq 0x22650
incl (%rsp)
movq 0x130(%rsp), %rbx
cmpq %r15, %rbx
je 0x92fb0
movl 0x28(%rbx), %edi
movq 0x15c8(%r14), %rsi
subq 0x15c0(%r14), %rsi
shrq $0x3, %rsi
callq 0xbf2b8
cmpl (%rsp), %eax
jne 0x92f9c
cmpl $0x0, 0x1614(%r14)
je 0x92f56
movq (%r13), %rax
movq -0x18(%rax), %rcx
movl 0x18(%r13,%rcx), %edx
movl $0xffffff4f, %esi       # imm = 0xFFFFFF4F
andl %esi, %edx
orl $0x20, %edx
movl %edx, 0x18(%r13,%rcx)
movq -0x18(%rax), %rax
movq $0x10, 0x10(%r13,%rax)
movsd 0x20(%rbx), %xmm0
movq %r13, %rdi
callq 0x23060
movq 0x408(%rsp), %rax
movq -0x18(%rax), %rcx
movl 0x420(%rsp,%rcx), %edx
movl $0xffffff4f, %esi       # imm = 0xFFFFFF4F
andl %esi, %edx
orl $0x20, %edx
movl %edx, 0x420(%rsp,%rcx)
movq -0x18(%rax), %rax
movq $0x10, 0x418(%rsp,%rax)
movsd 0x20(%rbx), %xmm0
leaq 0x408(%rsp), %rdi
callq 0x23060
movq %rbx, %rdi
callq 0x22670
movq %rax, %rbx
cmpq %r15, %rax
jne 0x92ef3
movq %r12, 0x10(%rsp)
movq 0x98(%rsp), %rax
cmpq 0x90(%rsp), %rax
je 0x9318b
movq 0x8(%rsp), %rax
leaq 0x30(%rax), %r12
xorl %r14d, %r14d
xorl %r15d, %r15d
movq 0x8(%rsp), %rax
movq 0x40(%rax), %rbx
cmpq %r12, %rbx
je 0x930d0
xorl %ebp, %ebp
shlq $0x5, %r14
movq 0x90(%rsp), %rax
movq 0x8(%rax,%r14), %rdx
cmpq 0x28(%rbx), %rdx
jne 0x930b4
testq %rdx, %rdx
je 0x93025
addq %r14, %rax
movq 0x20(%rbx), %rsi
movq (%rax), %rdi
callq 0x229f0
testl %eax, %eax
jne 0x930b4
movq 0x18(%rsp), %rax
cmpl $0x0, 0x1614(%rax)
je 0x93069
movq (%r13), %rax
movq -0x18(%rax), %rcx
movl 0x18(%r13,%rcx), %edx
movl $0xffffff4f, %esi       # imm = 0xFFFFFF4F
andl %esi, %edx
orl $0x20, %edx
movl %edx, 0x18(%r13,%rcx)
movq -0x18(%rax), %rax
movq $0x10, 0x10(%r13,%rax)
movsd 0x40(%rbx), %xmm0
movq %r13, %rdi
callq 0x23060
movq 0x408(%rsp), %rax
movq -0x18(%rax), %rcx
movl 0x420(%rsp,%rcx), %edx
movl $0xffffff4f, %esi       # imm = 0xFFFFFF4F
andl %esi, %edx
orl $0x20, %edx
movl %edx, 0x420(%rsp,%rcx)
movq -0x18(%rax), %rax
movq $0x10, 0x418(%rsp,%rax)
movsd 0x40(%rbx), %xmm0
movl $0x1, %ebp
leaq 0x408(%rsp), %rdi
callq 0x23060
movq %rbx, %rdi
callq 0x22670
movq %rax, %rbx
cmpq %r12, %rax
jne 0x92ff2
testl %ebp, %ebp
jne 0x93168
movq 0x18(%rsp), %rax
cmpl $0x0, 0x1614(%rax)
je 0x9311b
movq (%r13), %rax
movq -0x18(%rax), %rcx
movl 0x18(%r13,%rcx), %edx
movl $0xffffff4f, %esi       # imm = 0xFFFFFF4F
andl %esi, %edx
orl $0x20, %edx
movl %edx, 0x18(%r13,%rcx)
movq -0x18(%rax), %rax
movq $0x10, 0x10(%r13,%rax)
movl $0x2, %edx
movq %r13, %rdi
leaq 0x6e48f(%rip), %rsi     # 0x1015a5
callq 0x22ab0
movq 0x408(%rsp), %rax
movq -0x18(%rax), %rcx
movl 0x420(%rsp,%rcx), %edx
movl $0xffffff4f, %esi       # imm = 0xFFFFFF4F
andl %esi, %edx
orl $0x20, %edx
movl %edx, 0x420(%rsp,%rcx)
movq -0x18(%rax), %rax
movq $0x10, 0x418(%rsp,%rax)
movl $0x2, %edx
leaq 0x408(%rsp), %rdi
leaq 0x6e442(%rip), %rsi     # 0x1015a5
callq 0x22ab0
movq 0x98(%rsp), %rax
subq 0x90(%rsp), %rax
incl %r15d
sarq $0x5, %rax
movq %r15, %r14
cmpq %r15, %rax
ja 0x92fda
movq 0x18(%rsp), %r14
cmpl $0x0, 0x1614(%r14)
leaq 0x120(%rsp), %r15
movq 0x10(%rsp), %r12
je 0x931cf
movq (%r13), %rax
movq -0x18(%rax), %rdi
addq %r13, %rdi
movl $0xa, %esi
callq 0x22940
movsbl %al, %esi
movq %r13, %rdi
callq 0x22050
movq %rax, %rdi
callq 0x22660
movq 0x408(%rsp), %rax
movq -0x18(%rax), %rdi
leaq 0x408(%rsp), %rax
addq %rax, %rdi
movl $0xa, %esi
callq 0x22940
movsbl %al, %esi
leaq 0x408(%rsp), %rdi
callq 0x22050
movq %rax, %rdi
callq 0x22660
movq %r12, %rdi
callq 0x22670
movq %rax, %r12
leaq 0x1d8(%rsp), %rax
cmpq %rax, %r12
jne 0x92e14
movss 0x1610(%r14), %xmm0
xorps %xmm1, %xmm1
ucomiss %xmm1, %xmm0
jne 0x9323b
jnp 0x94830
cmpl $0x4, 0x1614(%r14)
jb 0x9329f
movq 0xe2d44(%rip), %rdi     # 0x175f90
leaq 0x6e355(%rip), %rsi     # 0x1015a8
movl $0x25, %edx
callq 0x22ab0
xorps %xmm0, %xmm0
cvtss2sd 0x1610(%r14), %xmm0
movq 0xe2d20(%rip), %rdi     # 0x175f90
callq 0x23060
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x22940
movsbl %al, %esi
movq %rbx, %rdi
callq 0x22050
movq %rax, %rdi
callq 0x22660
leaq 0x200(%rsp), %rdi
movq %r14, %rsi
callq 0xa549a
movq 0x200(%rsp), %r12
movq 0x208(%rsp), %r14
movq 0x210(%rsp), %rax
movq %rax, 0xe8(%rsp)
cmpq %r14, %r12
je 0x933f0
movq %r14, %rbx
subq %r12, %rbx
movq %rbx, %rax
sarq $0x3, %rax
bsrq %rax, %rdx
xorl $0x3f, %edx
addl %edx, %edx
xorq $0x7e, %rdx
movq %r12, %rdi
movq %r14, %rsi
callq 0xa7111
cmpq $0x81, %rbx
jl 0x933e5
leaq 0x80(%r12), %rbx
movq %r12, %rdi
movq %rbx, %rsi
callq 0xa73ce
cmpq %r14, %rbx
je 0x933f0
leaq 0x84(%r12), %rax
movl (%rbx), %ecx
movss 0x4(%rbx), %xmm0
movss -0x4(%rbx), %xmm1
ucomiss %xmm1, %xmm0
movq %rbx, %rdx
jbe 0x93361
movq %rax, %rdx
movl -0xc(%rdx), %esi
movl %esi, -0x4(%rdx)
movss %xmm1, (%rdx)
movss -0x10(%rdx), %xmm1
addq $-0x8, %rdx
ucomiss %xmm1, %xmm0
ja 0x93345
addq $-0x4, %rdx
movl %ecx, (%rdx)
movss %xmm0, 0x4(%rdx)
addq $0x8, %rbx
addq $0x8, %rax
cmpq %r14, %rbx
jne 0x9332e
jmp 0x933f0
movq 0xe2c12(%rip), %rdi     # 0x175f90
leaq 0x6e317(%rip), %rsi     # 0x10169c
movl $0x18, %edx
callq 0x22ab0
movq (%rbx), %rsi
movq 0x8(%rbx), %rdx
movq 0xe2bf3(%rip), %rdi     # 0x175f90
callq 0x22ab0
movq %rax, %rbx
leaq 0x6e309(%rip), %rsi     # 0x1016b5
movl $0x16, %edx
movq %rax, %rdi
callq 0x22ab0
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x22940
movsbl %al, %esi
movq %rbx, %rdi
callq 0x22050
movq %rax, %rdi
callq 0x22660
jmp 0x9484a
movq %r12, %rdi
movq %r14, %rsi
callq 0xa73ce
movq 0xe2b99(%rip), %rbx     # 0x175f90
leaq 0x6e1d0(%rip), %rsi     # 0x1015ce
movl $0x14, %edx
movq %rbx, %rdi
callq 0x22ab0
movq (%rbx), %rax
addq -0x18(%rax), %rbx
movq %rbx, %rdi
movl $0xa, %esi
callq 0x22940
movsbl %al, %esi
movq 0xe2b67(%rip), %rdi     # 0x175f90
callq 0x22050
movq %rax, %rdi
callq 0x22660
movq %r14, %rax
subq %r12, %rax
sarq $0x3, %rax
movq %rax, 0x110(%rsp)
xorps %xmm0, %xmm0
movaps %xmm0, 0x60(%rsp)
movq $0x0, 0x70(%rsp)
movq %r14, 0x188(%rsp)
cmpq %r12, %r14
movq %r12, (%rsp)
je 0x93533
xorl %r15d, %r15d
movl $0xffffffff, %r13d      # imm = 0xFFFFFFFF
movl $0x1, %ebp
xorl %r14d, %r14d
movl (%r12,%r15,8), %esi
movq 0xe2b06(%rip), %rdi     # 0x175f90
callq 0x231e0
movq %rax, %rbx
movl $0x1, %edx
movq %rax, %rdi
leaq 0x6df9c(%rip), %rsi     # 0x10143d
callq 0x22ab0
movq (%rsp), %rax
xorps %xmm0, %xmm0
cvtss2sd 0x4(%rax,%r15,8), %xmm0
movq %rbx, %rdi
callq 0x23060
movl $0x1, %edx
movq %rax, %rdi
leaq 0x65689(%rip), %rsi     # 0xf8b54
callq 0x22ab0
xorps %xmm0, %xmm0
cvtsi2ss %r13d, %xmm0
movq (%rsp), %r12
cmpneqss 0x4(%r12,%r15,8), %xmm0
movd %xmm0, %eax
subl %eax, %r14d
movl (%r12,%r15,8), %eax
movl %eax, 0x200(%rsp)
xorps %xmm0, %xmm0
cvtsi2ss %r14d, %xmm0
movss %xmm0, 0x204(%rsp)
leaq 0x60(%rsp), %rdi
leaq 0x200(%rsp), %rsi
callq 0xbd7ba
cvttss2si 0x4(%r12,%r15,8), %r13d
movl %ebp, %r15d
incl %ebp
cmpq %r15, 0x110(%rsp)
ja 0x9347f
movq 0xe2a56(%rip), %rbx     # 0x175f90
leaq 0x6e0a2(%rip), %rsi     # 0x1015e3
movl $0x17, %edx
movq %rbx, %rdi
callq 0x22ab0
movq (%rbx), %rax
addq -0x18(%rax), %rbx
movq %rbx, %rdi
movl $0xa, %esi
callq 0x22940
movsbl %al, %esi
movq 0xe2a24(%rip), %rdi     # 0x175f90
callq 0x22050
movq %rax, %rdi
callq 0x22660
movq 0x60(%rsp), %rax
cmpq %rax, 0x68(%rsp)
je 0x93609
movl $0x1, %r15d
xorl %r12d, %r12d
movq 0xe29f7(%rip), %rbx     # 0x175f90
leaq 0x6de9d(%rip), %r14     # 0x10143d
leaq 0x655ad(%rip), %rbp     # 0xf8b54
movl (%rax,%r12,8), %esi
movq %rbx, %rdi
callq 0x231e0
movq %rax, %r13
movl $0x1, %edx
movq %rax, %rdi
movq %r14, %rsi
callq 0x22ab0
movq 0x60(%rsp), %rax
xorps %xmm0, %xmm0
cvtss2sd 0x4(%rax,%r12,8), %xmm0
movq %r13, %rdi
callq 0x23060
movl $0x1, %edx
movq %rax, %rdi
movq %rbp, %rsi
callq 0x22ab0
movl %r15d, %r12d
movq 0x60(%rsp), %rax
movq 0x68(%rsp), %rcx
subq %rax, %rcx
sarq $0x3, %rcx
incl %r15d
cmpq %r12, %rcx
ja 0x935a7
xorps %xmm0, %xmm0
movaps %xmm0, 0xd0(%rsp)
movq $0x0, 0xe0(%rsp)
movq 0x130(%rsp), %rbx
leaq 0x120(%rsp), %r15
cmpq %r15, %rbx
je 0x9367b
leaq 0xd0(%rsp), %r14
leaq 0x200(%rsp), %r13
xorps %xmm0, %xmm0
cvtsd2ss 0x20(%rbx), %xmm0
movl 0x28(%rbx), %eax
movl %eax, 0x200(%rsp)
movss %xmm0, 0x204(%rsp)
movq %r14, %rdi
movq %r13, %rsi
callq 0xbd7ba
movq %rbx, %rdi
callq 0x22670
movq %rax, %rbx
cmpq %r15, %rax
jne 0x93645
movq 0xd0(%rsp), %r14
movq 0xd8(%rsp), %rbx
cmpq %rbx, %r14
je 0x9373a
movq %rbx, %r15
subq %r14, %r15
movq %r15, %rax
sarq $0x3, %rax
bsrq %rax, %rdx
xorl $0x3f, %edx
addl %edx, %edx
xorq $0x7e, %rdx
movq %r14, %rdi
movq %rbx, %rsi
callq 0xa7488
cmpq $0x81, %r15
jl 0x9372f
leaq 0x80(%r14), %r12
movq %r14, %rdi
movq %r12, %rsi
callq 0xa7745
cmpq %rbx, %r12
je 0x9373a
addq $0x84, %r14
movl (%r12), %eax
movss 0x4(%r12), %xmm0
movss -0x4(%r12), %xmm1
ucomiss %xmm0, %xmm1
movq %r12, %rcx
jbe 0x93719
movq %r14, %rcx
movl -0xc(%rcx), %edx
movl %edx, -0x4(%rcx)
movss %xmm1, (%rcx)
movss -0x10(%rcx), %xmm1
addq $-0x8, %rcx
ucomiss %xmm0, %xmm1
ja 0x936fd
addq $-0x4, %rcx
movl %eax, (%rcx)
movss %xmm0, 0x4(%rcx)
addq $0x8, %r12
addq $0x8, %r14
cmpq %rbx, %r12
jne 0x936e0
jmp 0x9373a
movq %r14, %rdi
movq %rbx, %rsi
callq 0xa7745
movq 0xe284f(%rip), %rbx     # 0x175f90
leaq 0x6deb3(%rip), %rsi     # 0x1015fb
movl $0xc, %edx
movq %rbx, %rdi
callq 0x22ab0
movq (%rbx), %rax
addq -0x18(%rax), %rbx
movq %rbx, %rdi
movl $0xa, %esi
callq 0x22940
movsbl %al, %esi
movq 0xe281d(%rip), %rdi     # 0x175f90
callq 0x22050
movq %rax, %rdi
callq 0x22660
xorps %xmm0, %xmm0
movaps %xmm0, 0x20(%rsp)
movq $0x0, 0x30(%rsp)
movq 0xd0(%rsp), %rax
cmpq %rax, 0xd8(%rsp)
je 0x9389a
xorl %r15d, %r15d
movss 0x6a84e(%rip), %xmm0    # 0xfe000
movss %xmm0, 0x8(%rsp)
movl $0x1, %r14d
leaq 0x20(%rsp), %r13
leaq 0x200(%rsp), %rbp
xorl %r12d, %r12d
movl (%rax,%r15,8), %esi
movq 0xe27b7(%rip), %rdi     # 0x175f90
callq 0x231e0
movq %rax, %rbx
movl $0x1, %edx
movq %rax, %rdi
leaq 0x6dc4d(%rip), %rsi     # 0x10143d
callq 0x22ab0
movq 0xd0(%rsp), %rax
xorps %xmm0, %xmm0
cvtss2sd 0x4(%rax,%r15,8), %xmm0
movq %rbx, %rdi
callq 0x23060
movl $0x1, %edx
movq %rax, %rdi
leaq 0x65336(%rip), %rsi     # 0xf8b54
callq 0x22ab0
movq 0xd0(%rsp), %rax
movss 0x8(%rsp), %xmm0
cmpneqss 0x4(%rax,%r15,8), %xmm0
movd %xmm0, %ecx
subl %ecx, %r12d
movl (%rax,%r15,8), %eax
movl %eax, 0x200(%rsp)
xorps %xmm0, %xmm0
cvtsi2ss %r12d, %xmm0
movss %xmm0, 0x204(%rsp)
movq %r13, %rdi
movq %rbp, %rsi
callq 0xbd7ba
movq 0xd0(%rsp), %rax
movq 0xd8(%rsp), %rcx
movss 0x4(%rax,%r15,8), %xmm0
movss %xmm0, 0x8(%rsp)
movl %r14d, %r15d
subq %rax, %rcx
sarq $0x3, %rcx
incl %r14d
cmpq %r15, %rcx
ja 0x937ce
movq 0xe26ef(%rip), %rbx     # 0x175f90
leaq 0x6dd60(%rip), %rsi     # 0x101608
movl $0x10, %edx
movq %rbx, %rdi
callq 0x22ab0
movq (%rbx), %rax
addq -0x18(%rax), %rbx
movq %rbx, %rdi
movl $0xa, %esi
callq 0x22940
movsbl %al, %esi
movq 0xe26bd(%rip), %rdi     # 0x175f90
callq 0x22050
movq %rax, %rdi
callq 0x22660
movq 0x20(%rsp), %rax
cmpq %rax, 0x28(%rsp)
je 0x9396a
movl $0x1, %ebp
xorl %r15d, %r15d
movq 0xe2695(%rip), %rbx     # 0x175f90
leaq 0x6db3b(%rip), %r14     # 0x10143d
leaq 0x6524b(%rip), %r12     # 0xf8b54
movl (%rax,%r15,8), %esi
movq %rbx, %rdi
callq 0x231e0
movq %rax, %r13
movl $0x1, %edx
movq %rax, %rdi
movq %r14, %rsi
callq 0x22ab0
movq 0x20(%rsp), %rax
xorps %xmm0, %xmm0
cvtss2sd 0x4(%rax,%r15,8), %xmm0
movq %r13, %rdi
callq 0x23060
movl $0x1, %edx
movq %rax, %rdi
movq %r12, %rsi
callq 0x22ab0
movl %ebp, %r15d
movq 0x20(%rsp), %rax
movq 0x28(%rsp), %rcx
subq %rax, %rcx
sarq $0x3, %rcx
incl %ebp
cmpq %r15, %rcx
ja 0x93909
xorps %xmm0, %xmm0
movaps %xmm0, 0xb0(%rsp)
movq $0x0, 0xc0(%rsp)
movq 0x28(%rsp), %rax
cmpq 0x20(%rsp), %rax
je 0x93a8c
movq 0x18(%rsp), %rax
movss 0x1610(%rax), %xmm0
movss 0x6a392(%rip), %xmm1    # 0xfdd38
movss %xmm0, 0x8(%rsp)
subss %xmm0, %xmm1
movss %xmm1, 0x10(%rsp)
xorl %r15d, %r15d
leaq 0xb0(%rsp), %rbx
leaq 0x200(%rsp), %r14
movq 0x60(%rsp), %rax
cmpq %rax, 0x68(%rsp)
je 0x93a4a
xorl %ecx, %ecx
movl $0x1, %ebp
xorl %edx, %edx
movl (%rax,%rcx,8), %edi
movq 0x20(%rsp), %rsi
cmpl (%rsi,%r15,8), %edi
jne 0x93a2c
movss 0x4(%rsi,%r15,8), %xmm0
mulss 0x10(%rsp), %xmm0
movss 0x4(%rax,%rcx,8), %xmm1
mulss 0x8(%rsp), %xmm1
addss %xmm0, %xmm1
movl (%rax,%rcx,8), %eax
movl %eax, 0x200(%rsp)
movss %xmm1, 0x204(%rsp)
movq %rbx, %rdi
movq %r14, %rsi
callq 0xbd7ba
movl $0x1, %edx
movl %ebp, %ecx
movq 0x60(%rsp), %rax
movq 0x68(%rsp), %rsi
subq %rax, %rsi
sarq $0x3, %rsi
incl %ebp
cmpq %rcx, %rsi
ja 0x939de
testl %edx, %edx
jne 0x93a72
movq 0x20(%rsp), %rax
movl 0x4(%rax,%r15,8), %ecx
movl (%rax,%r15,8), %eax
shlq $0x20, %rcx
orq %rax, %rcx
movq %rcx, 0x200(%rsp)
movq %rbx, %rdi
movq %r14, %rsi
callq 0xbd7ba
incl %r15d
movq 0x28(%rsp), %rax
subq 0x20(%rsp), %rax
sarq $0x3, %rax
cmpq %r15, %rax
ja 0x939c9
movq 0xb0(%rsp), %r14
movq 0xb8(%rsp), %rbx
cmpq %rbx, %r14
movq 0x18(%rsp), %r15
je 0x93b5a
movq %rbx, %r15
subq %r14, %r15
movq %r15, %rax
sarq $0x3, %rax
bsrq %rax, %rdx
xorl $0x3f, %edx
addl %edx, %edx
xorq $0x7e, %rdx
movq %r14, %rdi
movq %rbx, %rsi
callq 0xa7803
cmpq $0x81, %r15
jl 0x93b4a
leaq 0x80(%r14), %r12
movq %r14, %rdi
movq %r12, %rsi
callq 0xa7ac0
cmpq %rbx, %r12
movq 0x18(%rsp), %r15
je 0x93b5a
addq $0x84, %r14
movl (%r12), %eax
movss 0x4(%r12), %xmm0
movss -0x4(%r12), %xmm1
ucomiss %xmm0, %xmm1
movq %r12, %rcx
jbe 0x93b34
movq %r14, %rcx
movl -0xc(%rcx), %edx
movl %edx, -0x4(%rcx)
movss %xmm1, (%rcx)
movss -0x10(%rcx), %xmm1
addq $-0x8, %rcx
ucomiss %xmm0, %xmm1
ja 0x93b18
addq $-0x4, %rcx
movl %eax, (%rcx)
movss %xmm0, 0x4(%rcx)
addq $0x8, %r12
addq $0x8, %r14
cmpq %rbx, %r12
jne 0x93afb
jmp 0x93b5a
movq %r14, %rdi
movq %rbx, %rsi
callq 0xa7ac0
movq 0x18(%rsp), %r15
movq 0xe242f(%rip), %rbx     # 0x175f90
leaq 0x6dab1(%rip), %rsi     # 0x101619
movl $0x19, %edx
movq %rbx, %rdi
callq 0x22ab0
movq (%rbx), %rax
addq -0x18(%rax), %rbx
movq %rbx, %rdi
movl $0xa, %esi
callq 0x22940
movsbl %al, %esi
movq 0xe23fd(%rip), %rdi     # 0x175f90
callq 0x22050
movq %rax, %rdi
callq 0x22660
movq 0x18f0(%r15), %rax
cmpq %rax, 0x18f8(%r15)
je 0x93bb7
movq %rax, 0x18f8(%r15)
leaq 0x18f0(%r15), %rax
movq %rax, 0x8(%rsp)
movq 0xb0(%rsp), %rax
cmpq %rax, 0xb8(%rsp)
je 0x93ccc
xorl %r15d, %r15d
movss 0x6a41c(%rip), %xmm0    # 0xfe000
movss %xmm0, 0x10(%rsp)
movl $0x1, %r13d
leaq 0x64f5d(%rip), %r12     # 0xf8b54
leaq 0x200(%rsp), %rbp
xorl %r14d, %r14d
movl (%rax,%r15,8), %esi
movq 0xe2383(%rip), %rdi     # 0x175f90
callq 0x231e0
movq %rax, %rbx
movl $0x1, %edx
movq %rax, %rdi
leaq 0x6d819(%rip), %rsi     # 0x10143d
callq 0x22ab0
movq 0xb0(%rsp), %rax
xorps %xmm0, %xmm0
cvtss2sd 0x4(%rax,%r15,8), %xmm0
movq %rbx, %rdi
callq 0x23060
movl $0x1, %edx
movq %rax, %rdi
movq %r12, %rsi
callq 0x22ab0
movq 0xb0(%rsp), %rax
movss 0x10(%rsp), %xmm0
cmpneqss 0x4(%rax,%r15,8), %xmm0
movd %xmm0, %ecx
subl %ecx, %r14d
movl (%rax,%r15,8), %eax
movl %eax, 0x200(%rsp)
xorps %xmm0, %xmm0
cvtsi2ss %r14d, %xmm0
movss %xmm0, 0x204(%rsp)
movq 0x8(%rsp), %rdi
movq %rbp, %rsi
callq 0xbd7ba
movq 0xb0(%rsp), %rax
movq 0xb8(%rsp), %rcx
movss 0x4(%rax,%r15,8), %xmm0
movss %xmm0, 0x10(%rsp)
movl %r13d, %r15d
subq %rax, %rcx
sarq $0x3, %rcx
incl %r13d
cmpq %r15, %rcx
ja 0x93c02
movq 0xe22bd(%rip), %rbx     # 0x175f90
leaq 0x6d959(%rip), %rsi     # 0x101633
movl $0x13, %edx
movq %rbx, %rdi
callq 0x22ab0
movq 0x18(%rsp), %r14
movq (%rbx), %rax
addq -0x18(%rax), %rbx
movq %rbx, %rdi
movl $0xa, %esi
callq 0x22940
movsbl %al, %esi
movq 0xe2286(%rip), %rdi     # 0x175f90
callq 0x22050
movq %rax, %rdi
callq 0x22660
movq 0x18f0(%r14), %rax
cmpq %rax, 0x18f8(%r14)
je 0x93db7
movl $0x1, %r15d
xorl %r13d, %r13d
movq 0xe2255(%rip), %rbx     # 0x175f90
leaq 0x6d6fb(%rip), %r14     # 0x10143d
leaq 0x64e0b(%rip), %r12     # 0xf8b54
movl (%rax,%r13,8), %esi
movq %rbx, %rdi
callq 0x231e0
movq %rax, %rbp
movl $0x1, %edx
movq %rax, %rdi
movq %r14, %rsi
callq 0x22ab0
movq 0x8(%rsp), %rax
movq (%rax), %rax
xorps %xmm0, %xmm0
cvtss2sd 0x4(%rax,%r13,8), %xmm0
movq %rbp, %rdi
callq 0x23060
movl $0x1, %edx
movq %rax, %rdi
movq %r12, %rsi
callq 0x22ab0
movl %r15d, %r13d
movq 0x18(%rsp), %rcx
movq 0x18f0(%rcx), %rax
movq 0x18f8(%rcx), %rcx
subq %rax, %rcx
sarq $0x3, %rcx
incl %r15d
cmpq %r13, %rcx
ja 0x93d49
leaq 0x178(%rsp), %r14
movq %r14, -0x10(%r14)
movq 0x18(%rsp), %rbx
movq 0x1500(%rbx), %rsi
movq 0x1508(%rbx), %rdx
addq %rsi, %rdx
leaq 0x168(%rsp), %rdi
callq 0x32180
leaq 0x6b9fa(%rip), %rsi     # 0xff7e7
leaq 0x168(%rsp), %rdi
movq (%rsp), %r12
callq 0x233b0
movq 0x14c0(%rbx), %rsi
movq 0x14c8(%rbx), %rdx
leaq 0x168(%rsp), %rdi
callq 0x222b0
leaq 0x1a0(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x93e49
movq %rdx, 0x190(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x1a0(%rsp)
jmp 0x93e50
movups (%rcx), %xmm0
movups %xmm0, (%r15)
movq 0x8(%rax), %rdx
leaq 0x190(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x6b971(%rip), %rsi     # 0xff7e7
callq 0x233b0
leaq 0x50(%rsp), %rsi
movq %rsi, -0x10(%rsi)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x93ea2
movq %rdx, 0x40(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x50(%rsp)
jmp 0x93ea8
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq 0x8(%rax), %rdx
movq %rdx, 0x48(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x18(%rsp), %rax
movl 0x13e8(%rax), %esi
decl %esi
leaq 0x148(%rsp), %rdi
callq 0xc03b8
movq 0x40(%rsp), %rcx
movq 0x48(%rsp), %r8
movq 0x150(%rsp), %rdx
leaq (%rdx,%r8), %rax
movl $0xf, %esi
leaq 0x50(%rsp), %rdi
cmpq %rdi, %rcx
je 0x93f04
movq 0x50(%rsp), %rsi
cmpq %rsi, %rax
jbe 0x93f29
leaq 0x158(%rsp), %rdi
movl $0xf, %esi
cmpq %rdi, -0x10(%rdi)
je 0x93f24
movq 0x158(%rsp), %rsi
cmpq %rsi, %rax
jbe 0x93f3d
movq 0x148(%rsp), %rsi
leaq 0x40(%rsp), %rdi
callq 0x222b0
jmp 0x93f4e
leaq 0x148(%rsp), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x22a80
leaq 0x210(%rsp), %rdx
movq %rdx, -0x10(%rdx)
movq (%rax), %rsi
leaq 0x10(%rax), %rcx
cmpq %rcx, %rsi
je 0x93f7b
movq %rsi, 0x200(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x210(%rsp)
jmp 0x93f81
movups (%rcx), %xmm0
movups %xmm0, (%rdx)
movq %rax, %rdx
addq $0x8, %rdx
movq 0x8(%rax), %rsi
movq %rsi, 0x208(%rsp)
movq %rcx, (%rax)
movq $0x0, (%rdx)
movb $0x0, (%rcx)
leaq 0x6b83f(%rip), %rsi     # 0xff7e7
leaq 0x200(%rsp), %rdi
callq 0x233b0
leaq 0x100(%rsp), %rsi
movq %rsi, -0x10(%rsi)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x93fe5
movq %rdx, 0xf0(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x100(%rsp)
jmp 0x93feb
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq 0x8(%rax), %rdx
movq %rdx, 0xf8(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x210(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x94027
movq 0x210(%rsp), %rsi
incq %rsi
callq 0x229c0
leaq 0x158(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x94048
movq 0x158(%rsp), %rsi
incq %rsi
callq 0x229c0
movq 0x40(%rsp), %rdi
leaq 0x50(%rsp), %rax
cmpq %rax, %rdi
je 0x94069
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x229c0
leaq 0x50(%rsp), %rax
movq 0x190(%rsp), %rdi
cmpq %r15, %rdi
je 0x9408b
movq 0x1a0(%rsp), %rsi
incq %rsi
callq 0x229c0
leaq 0x50(%rsp), %rax
movq 0x168(%rsp), %rdi
cmpq %r14, %rdi
movq 0x18(%rsp), %r14
je 0x940b2
movq 0x178(%rsp), %rsi
incq %rsi
callq 0x229c0
leaq 0x50(%rsp), %rax
leaq 0x40(%rsp), %rdi
movq %rax, (%rdi)
movq 0xf0(%rsp), %rsi
movq 0xf8(%rsp), %rdx
addq %rsi, %rdx
callq 0x32180
leaq 0x6d56e(%rip), %rsi     # 0x101647
leaq 0x40(%rsp), %rdi
callq 0x233b0
leaq 0x200(%rsp), %rdi
callq 0x23190
leaq 0x200(%rsp), %rdi
leaq 0x40(%rsp), %rsi
movl $0x10, %edx
callq 0x22420
movq 0xe1e82(%rip), %rbx     # 0x175f90
leaq 0x6d545(%rip), %rsi     # 0x10165a
movl $0x3e, %edx
movq %rbx, %rdi
callq 0x22ab0
movq (%rbx), %rax
addq -0x18(%rax), %rbx
movq %rbx, %rdi
movl $0xa, %esi
callq 0x22940
movsbl %al, %esi
movq 0xe1e50(%rip), %rdi     # 0x175f90
callq 0x22050
movq %rax, %rdi
callq 0x22660
leaq 0x6d506(%rip), %rsi     # 0x10165a
leaq 0x200(%rsp), %rbx
movl $0x3e, %edx
movq %rbx, %rdi
callq 0x22ab0
movq 0x200(%rsp), %rax
addq -0x18(%rax), %rbx
movq %rbx, %rdi
movl $0xa, %esi
callq 0x22940
movsbl %al, %esi
leaq 0x200(%rsp), %rdi
callq 0x22050
movq %rax, %rdi
callq 0x22660
movq 0x18f0(%r14), %rax
cmpq %rax, 0x18f8(%r14)
je 0x94737
movq %r14, %rbx
xorl %r15d, %r15d
leaq 0x62b05(%rip), %r14     # 0xf6cc0
movl (%rax,%r15,8), %edi
movq 0x15c8(%rbx), %rsi
subq 0x15c0(%rbx), %rsi
shrq $0x3, %rsi
callq 0xbf2ae
movl %eax, 0x80(%rsp)
movq 0x18f0(%rbx), %rax
movl (%rax,%r15,8), %edi
movq 0x15c8(%rbx), %rsi
subq 0x15c0(%rbx), %rsi
shrq $0x3, %rsi
callq 0xbf2b8
movl %eax, 0x88(%rsp)
movq 0x28(%rsp), %rax
cmpq 0x20(%rsp), %rax
je 0x94711
movq $0x0, 0x10(%rsp)
movq 0x60(%rsp), %rax
cmpq %rax, 0x68(%rsp)
je 0x944ed
xorl %r12d, %r12d
xorl %ebx, %ebx
movq 0x8(%rsp), %rcx
movq (%rcx), %rcx
movl (%rcx,%r15,8), %ecx
movq 0x20(%rsp), %rdx
movq 0x10(%rsp), %rsi
cmpl (%rdx,%rsi,8), %ecx
jne 0x944c4
movq 0x188(%rsp), %rdx
cmpq (%rsp), %rdx
sete %dl
cmpl (%rax,%r12,8), %ecx
setne %al
orb %dl, %al
jne 0x944c4
movl $0x1, %r13d
xorl %ebp, %ebp
movq 0x8(%rsp), %rax
movq (%rax), %rax
movl (%rax,%r15,8), %eax
movq (%rsp), %rcx
cmpl (%rcx,%rbp,8), %eax
jne 0x944b0
movq 0xe1cf7(%rip), %rdi     # 0x175f90
movl 0x88(%rsp), %esi
callq 0x231e0
movq %rax, %rbx
movl $0x1, %edx
movq %rax, %rdi
movq %r14, %rsi
callq 0x22ab0
movq %rbx, %rdi
movl 0x80(%rsp), %esi
callq 0x231e0
movq %rax, %rbx
movl $0x1, %edx
movq %rax, %rdi
movq %r14, %rsi
callq 0x22ab0
movq 0x20(%rsp), %rax
movq 0x10(%rsp), %rcx
xorps %xmm0, %xmm0
cvtss2sd 0x4(%rax,%rcx,8), %xmm0
movq %rbx, %rdi
callq 0x23060
movq %rax, %rbx
movl $0x1, %edx
movq %rax, %rdi
movq %r14, %rsi
callq 0x22ab0
movq 0x60(%rsp), %rax
xorps %xmm0, %xmm0
cvtss2sd 0x4(%rax,%r12,8), %xmm0
movq %rbx, %rdi
callq 0x23060
movq %rax, %rbx
movl $0x1, %edx
movq %rax, %rdi
movq %r14, %rsi
callq 0x22ab0
movq 0x8(%rsp), %rax
movq (%rax), %rax
xorps %xmm0, %xmm0
cvtss2sd 0x4(%rax,%r15,8), %xmm0
movq %rbx, %rdi
callq 0x23060
movq %rax, %rbx
movl $0x1, %edx
movq %rax, %rdi
movq %r14, %rsi
callq 0x22ab0
movq (%rsp), %rax
xorps %xmm0, %xmm0
cvtss2sd 0x4(%rax,%rbp,8), %xmm0
movq %rbx, %rdi
callq 0x23060
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x22940
movsbl %al, %esi
movq %rbx, %rdi
callq 0x22050
movq %rax, %rdi
callq 0x22660
leaq 0x200(%rsp), %rdi
movl 0x88(%rsp), %esi
callq 0x231e0
movq %rax, %rbx
movl $0x1, %edx
movq %rax, %rdi
movq %r14, %rsi
callq 0x22ab0
movq %rbx, %rdi
movl 0x80(%rsp), %esi
callq 0x231e0
movq %rax, %rbx
movl $0x1, %edx
movq %rax, %rdi
movq %r14, %rsi
callq 0x22ab0
movq 0x20(%rsp), %rax
movq 0x10(%rsp), %rcx
xorps %xmm0, %xmm0
cvtss2sd 0x4(%rax,%rcx,8), %xmm0
movq %rbx, %rdi
callq 0x23060
movq %rax, %rbx
movl $0x1, %edx
movq %rax, %rdi
movq %r14, %rsi
callq 0x22ab0
movq 0x60(%rsp), %rax
xorps %xmm0, %xmm0
cvtss2sd 0x4(%rax,%r12,8), %xmm0
movq %rbx, %rdi
callq 0x23060
movq %rax, %rbx
movl $0x1, %edx
movq %rax, %rdi
movq %r14, %rsi
callq 0x22ab0
movq 0x8(%rsp), %rax
movq (%rax), %rax
xorps %xmm0, %xmm0
cvtss2sd 0x4(%rax,%r15,8), %xmm0
movq %rbx, %rdi
callq 0x23060
movq %rax, %rbx
movl $0x1, %edx
movq %rax, %rdi
movq %r14, %rsi
callq 0x22ab0
movq (%rsp), %rax
xorps %xmm0, %xmm0
cvtss2sd 0x4(%rax,%rbp,8), %xmm0
movq %rbx, %rdi
callq 0x23060
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x22940
movsbl %al, %esi
movq %rbx, %rdi
callq 0x22050
movl $0x1, %ebx
movq %rax, %rdi
callq 0x22660
movl %r13d, %ebp
incl %r13d
cmpq %rbp, 0x110(%rsp)
ja 0x94279
incl %r12d
movq 0x60(%rsp), %rax
movq 0x68(%rsp), %rcx
subq %rax, %rcx
sarq $0x3, %rcx
cmpq %r12, %rcx
ja 0x94234
testl %ebx, %ebx
movq (%rsp), %r12
jne 0x946ee
movq 0x8(%rsp), %rax
movq (%rax), %rax
movl (%rax,%r15,8), %eax
movq 0x20(%rsp), %rcx
movq 0x10(%rsp), %rdx
cmpl (%rcx,%rdx,8), %eax
jne 0x946ee
movq 0xe1a7d(%rip), %rdi     # 0x175f90
movl 0x88(%rsp), %esi
callq 0x231e0
movq %rax, %rbx
movl $0x1, %edx
movq %rax, %rdi
movq %r14, %rsi
callq 0x22ab0
movq %rbx, %rdi
movl 0x80(%rsp), %esi
callq 0x231e0
movq %rax, %rbx
movl $0x1, %edx
movq %rax, %rdi
movq %r14, %rsi
callq 0x22ab0
movq 0x20(%rsp), %rax
movq 0x10(%rsp), %rcx
cvtss2sd 0x4(%rax,%rcx,8), %xmm0
movq %rbx, %rdi
callq 0x23060
movq %rax, %rbx
movl $0x1, %edx
movq %rax, %rdi
movq %r14, %rsi
callq 0x22ab0
movl $0x1, %edx
movq %rbx, %rdi
leaq 0x6d10c(%rip), %rsi     # 0x10169a
callq 0x22ab0
movl $0x1, %edx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x22ab0
movq 0x8(%rsp), %rax
movq (%rax), %rax
xorps %xmm0, %xmm0
cvtss2sd 0x4(%rax,%r15,8), %xmm0
movq %rbx, %rdi
callq 0x23060
movq %rax, %rbx
movl $0x2, %edx
movq %rax, %rdi
leaq 0x6d0ca(%rip), %rsi     # 0x101699
callq 0x22ab0
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x22940
movsbl %al, %esi
movq %rbx, %rdi
callq 0x22050
movq %rax, %rdi
callq 0x22660
leaq 0x200(%rsp), %rdi
movl 0x88(%rsp), %esi
callq 0x231e0
movq %rax, %rbx
movl $0x1, %edx
movq %rax, %rdi
movq %r14, %rsi
callq 0x22ab0
movq %rbx, %rdi
movl 0x80(%rsp), %esi
callq 0x231e0
movq %rax, %rbx
movl $0x1, %edx
movq %rax, %rdi
movq %r14, %rsi
callq 0x22ab0
movq 0x20(%rsp), %rax
movq 0x10(%rsp), %rcx
xorps %xmm0, %xmm0
cvtss2sd 0x4(%rax,%rcx,8), %xmm0
movq %rbx, %rdi
callq 0x23060
movq %rax, %rbx
movl $0x1, %edx
movq %rax, %rdi
movq %r14, %rsi
callq 0x22ab0
movl $0x1, %edx
movq %rbx, %rdi
leaq 0x6d019(%rip), %rsi     # 0x10169a
callq 0x22ab0
movl $0x1, %edx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x22ab0
movq 0x8(%rsp), %rax
movq (%rax), %rax
xorps %xmm0, %xmm0
cvtss2sd 0x4(%rax,%r15,8), %xmm0
movq %rbx, %rdi
callq 0x23060
movq %rax, %rbx
movl $0x2, %edx
movq %rax, %rdi
leaq 0x6cfd7(%rip), %rsi     # 0x101699
callq 0x22ab0
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x22940
movsbl %al, %esi
movq %rbx, %rdi
callq 0x22050
movq %rax, %rdi
callq 0x22660
movq 0x10(%rsp), %rdx
incl %edx
movq 0x28(%rsp), %rax
subq 0x20(%rsp), %rax
sarq $0x3, %rax
movq %rdx, 0x10(%rsp)
cmpq %rdx, %rax
ja 0x9421f
incl %r15d
movq 0x18(%rsp), %rbx
movq 0x18f0(%rbx), %rax
movq 0x18f8(%rbx), %rcx
subq %rax, %rcx
sarq $0x3, %rcx
cmpq %r15, %rcx
ja 0x941bb
movq 0xe1832(%rip), %rax     # 0x175f70
movq (%rax), %rcx
movq 0x18(%rax), %rax
leaq 0x208(%rsp), %rdi
movq %rcx, -0x8(%rdi)
movq -0x18(%rcx), %rcx
movq %rax, 0x200(%rsp,%rcx)
callq 0x227d0
leaq 0x2f8(%rsp), %rdi
callq 0x222d0
movq 0x40(%rsp), %rdi
leaq 0x50(%rsp), %rax
cmpq %rax, %rdi
je 0x9478b
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x229c0
movq 0xf0(%rsp), %rdi
leaq 0x100(%rsp), %rax
cmpq %rax, %rdi
je 0x947b0
movq 0x100(%rsp), %rsi
incq %rsi
callq 0x229c0
movq 0xb0(%rsp), %rdi
testq %rdi, %rdi
je 0x947cd
movq 0xc0(%rsp), %rsi
subq %rdi, %rsi
callq 0x229c0
movq 0x20(%rsp), %rdi
testq %rdi, %rdi
je 0x947e4
movq 0x30(%rsp), %rsi
subq %rdi, %rsi
callq 0x229c0
movq 0xd0(%rsp), %rdi
testq %rdi, %rdi
je 0x94801
movq 0xe0(%rsp), %rsi
subq %rdi, %rsi
callq 0x229c0
movq 0x60(%rsp), %rdi
testq %rdi, %rdi
je 0x94818
movq 0x70(%rsp), %rsi
subq %rdi, %rsi
callq 0x229c0
testq %r12, %r12
je 0x94830
movq 0xe8(%rsp), %rsi
subq %r12, %rsi
movq %r12, %rdi
callq 0x229c0
leaq 0x408(%rsp), %rdi
callq 0x22de0
leaq 0x118(%rsp), %rdi
callq 0x464c2
movq 0xe171f(%rip), %rax     # 0x175f70
movq (%rax), %rcx
movq 0x18(%rax), %rax
leaq 0x410(%rsp), %rdi
movq %rcx, -0x8(%rdi)
movq -0x18(%rcx), %rcx
movq %rax, 0x408(%rsp,%rcx)
callq 0x227d0
leaq 0x500(%rsp), %rdi
callq 0x222d0
leaq 0x1d0(%rsp), %rdi
callq 0xade92
movq 0x1b0(%rsp), %rdi
leaq 0x1c0(%rsp), %rax
cmpq %rax, %rdi
je 0x948b4
movq 0x1c0(%rsp), %rsi
incq %rsi
callq 0x229c0
leaq 0x90(%rsp), %rdi
callq 0x31a9e
addq $0x608, %rsp            # imm = 0x608
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x5edeb(%rip), %rdi     # 0xf36c5
xorl %eax, %eax
callq 0x22f40
leaq 0x5eddd(%rip), %rdi     # 0xf36c5
movq %rax, %rsi
xorl %eax, %eax
callq 0x22f40
leaq 0x5edcc(%rip), %rdi     # 0xf36c5
xorl %eax, %eax
callq 0x22f40
movq %rax, %rbx
jmp 0x94b46
movq %rax, %rbx
movq 0x40(%rsp), %rdi
leaq 0x50(%rsp), %rax
cmpq %rax, %rdi
je 0x94927
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x229c0
movq (%rsp), %r12
jmp 0x94b62
movq %rax, %rbx
jmp 0x94b62
movq %rax, %rbx
leaq 0x210(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x94961
movq 0x210(%rsp), %rsi
incq %rsi
callq 0x229c0
jmp 0x94961
movq %rax, %rbx
leaq 0x158(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x94987
movq 0x158(%rsp), %rsi
incq %rsi
callq 0x229c0
jmp 0x94987
movq %rax, %rbx
movq 0x40(%rsp), %rdi
leaq 0x50(%rsp), %rax
cmpq %rax, %rdi
je 0x949a8
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x229c0
jmp 0x949a8
movq %rax, %rbx
movq 0x190(%rsp), %rdi
cmpq %r15, %rdi
je 0x949cc
movq 0x1a0(%rsp), %rsi
incq %rsi
callq 0x229c0
jmp 0x949cc
jmp 0x949c9
movq %rax, %rbx
movq 0x168(%rsp), %rdi
cmpq %r14, %rdi
je 0x94ade
movq 0x178(%rsp), %rsi
incq %rsi
callq 0x229c0
jmp 0x94ade
jmp 0x94adb
movq %rax, %rbx
movq $0x0, 0xe8(%rsp)
xorl %r12d, %r12d
jmp 0x94bef
jmp 0x94ab5
jmp 0x94a5b
jmp 0x94ac3
movq %rax, %rbx
jmp 0x94bef
jmp 0x94a3d
jmp 0x94adb
jmp 0x94afa
jmp 0x94aff
jmp 0x94c16
jmp 0x94c16
movq %rax, %rbx
jmp 0x94c51
jmp 0x94adb
jmp 0x94c16
jmp 0x94afa
jmp 0x94adb
jmp 0x94ab5
movq %rax, %rbx
movq (%rsp), %r12
jmp 0x94bbb
movq %rax, %rbx
jmp 0x94bd8
jmp 0x94c16
movq %rax, %rbx
movq 0x200(%rsp), %rdi
leaq 0x210(%rsp), %rax
cmpq %rax, %rdi
je 0x94c19
movq 0x210(%rsp), %rsi
incq %rsi
callq 0x229c0
jmp 0x94c19
jmp 0x94c16
jmp 0x94c16
jmp 0x94adb
jmp 0x94adb
jmp 0x94ab5
movq %rax, %rbx
movq (%rsp), %r12
jmp 0x94ba4
jmp 0x94ac3
movq %rax, %rbx
movq (%rsp), %r12
jmp 0x94bd8
jmp 0x94c16
jmp 0x94aff
jmp 0x94c16
movq %rax, %rbx
movq (%rsp), %r12
jmp 0x94b87
jmp 0x94aff
jmp 0x94c16
jmp 0x94c16
jmp 0x94aff
jmp 0x94c16
movq %rax, %rbx
jmp 0x94b0e
movq %rax, %rbx
jmp 0x94c07
movq %rax, %rbx
movq (%rsp), %r12
movq 0xe145b(%rip), %rax     # 0x175f70
movq (%rax), %rcx
movq 0x18(%rax), %rax
leaq 0x208(%rsp), %rdi
movq %rcx, -0x8(%rdi)
movq -0x18(%rcx), %rcx
movq %rax, 0x200(%rsp,%rcx)
callq 0x227d0
leaq 0x2f8(%rsp), %rdi
callq 0x222d0
movq 0x40(%rsp), %rdi
leaq 0x50(%rsp), %rax
cmpq %rax, %rdi
je 0x94b62
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x229c0
leaq 0x100(%rsp), %rax
movq 0xf0(%rsp), %rdi
cmpq %rax, %rdi
je 0x94b87
movq 0x100(%rsp), %rsi
incq %rsi
callq 0x229c0
movq 0xb0(%rsp), %rdi
testq %rdi, %rdi
je 0x94ba4
movq 0xc0(%rsp), %rsi
subq %rdi, %rsi
callq 0x229c0
movq 0x20(%rsp), %rdi
testq %rdi, %rdi
je 0x94bbb
movq 0x30(%rsp), %rsi
subq %rdi, %rsi
callq 0x229c0
movq 0xd0(%rsp), %rdi
testq %rdi, %rdi
je 0x94bd8
movq 0xe0(%rsp), %rsi
subq %rdi, %rsi
callq 0x229c0
movq 0x60(%rsp), %rdi
testq %rdi, %rdi
je 0x94bef
movq 0x70(%rsp), %rsi
subq %rdi, %rsi
callq 0x229c0
testq %r12, %r12
je 0x94c07
movq 0xe8(%rsp), %rsi
subq %r12, %rsi
movq %r12, %rdi
callq 0x229c0
leaq 0x118(%rsp), %rdi
callq 0x464c2
jmp 0x94c19
movq %rax, %rbx
movq 0xe1350(%rip), %rax     # 0x175f70
movq (%rax), %rcx
movq 0x18(%rax), %rax
leaq 0x410(%rsp), %rdi
movq %rcx, -0x8(%rdi)
movq -0x18(%rcx), %rcx
movq %rax, 0x408(%rsp,%rcx)
callq 0x227d0
leaq 0x500(%rsp), %rdi
callq 0x222d0
leaq 0x1d0(%rsp), %rdi
callq 0xade92
movq 0x1b0(%rsp), %rdi
leaq 0x1c0(%rsp), %rax
cmpq %rax, %rdi
je 0x94c83
movq 0x1c0(%rsp), %rsi
incq %rsi
callq 0x229c0
leaq 0x90(%rsp), %rdi
callq 0x31a9e
movq %rbx, %rdi
callq 0x23240