// File: /workspace/github_cpp_makefile_star2_O3/richardposner[P]BioNetFit2/src/code/Swarm.cpp
// Function: Swarm::processLateParticles(std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, double, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const, double>>>, int, bool, int)
void Swarm::processLateParticles(map<string, double> simParams_, int subParID, bool breed, int currGen) {

		//int found = 0;
			//for(auto i = 1; i<=options.swarmSize; i++){
			//	found = 0;
				//for(auto k = 0; k<options.models.size(); k++){
				//	for(auto j = finishedSubParticles_.begin(); j != finishedSubParticles_.end(); ++j){
						//subParID = fcalcsubParID(i, k, options.models.size());
					//	if(subParID == *j){
							//found = 1;

//						}

	//				}

		if(currGen==0){
			currGen = currentGeneration;

		}
	//
					//if(found==0){
		int pID = fcalcParID(subParID, options.models.size());
		int mid = fcalcMID(subParID, options.models.size());


						map<string, double> paramSet;

							vector<string> paramVals;
							vector<string> paramVecStr;

							//auto best = allGenFits.begin();

							//allGenFits.insert(pair<double, string>(fitCalc, order_params(paramsString, mid)));
							//swarmBestFits_.insert(pair<double, unsigned int>(fitCalc, pID));
							//subswarmBestFits_.insert(pair<double, unsigned int>(fitCalc, subParID));
							//currentsubswarmBestFits_.insert(pair<double, unsigned int>(fitCalc, subParID));

							int bestSP = 0;
							int bestMD = -1;
							int bestP = 0;

							//int mysize = subparticleBestFits_.size();
							//cout << "SIZE1 " << mysize << endl;
							//mysize = swarmBestFits_.size();
							//cout << "SIZE2 " << mysize << endl;

							if(simParams_.size()==0){

								//Raquel: we gotta fix this, make this loop work and discover why the variables are getting erased.
								for(auto pi = subparticleBestFits_.begin(); pi != subparticleBestFits_.end(); pi++){

									bestMD = fcalcMID(pi->second, options.models.size());
									if(bestMD == mid){
										bestSP = pi->second;
										bestP = fcalcParID(bestSP, options.models.size());
										break;
									}

								}


								//split(best->second, paramVals);

								auto fp = options.models.at(mid)->freeParams_.begin();
								for (unsigned int i = 1; i < subparticleCurrParamSets_[pID][mid].size(); i++) {
									//paramSet.insert(pair<string, double> (fp->first, subparticleCurrParamSets_[bestP][mid][i])); //make this work later, to clone the best particle
									paramSet.insert(pair<string, double> (fp->first, subparticleCurrParamSets_[pID][mid][i]));

									++fp;

									paramVecStr.push_back(toString(subparticleCurrParamSets_[bestP][mid][i]));
								}




							}else{

								for (auto i = simParams_.begin(); i != simParams_.end(); ++i) {
									//paramSet.insert(pair<string, double> (fp->first, subparticleCurrParamSets_[bestP][mid][i])); //make this work later, to clone the best particle
									paramSet.insert(pair<string, double> (i->first, i->second));

									paramVecStr.push_back(toString(i->second));
								}
							}

							if(breed){
								swarmComm->sendToSwarm(0, subParID, SEND_FINAL_PARAMS_TO_PARTICLE, false, paramVecStr);
							}
							if(options.verbosity>=3){
								cout << "@@@@@@@@@@@@@@@@@@@@@@@@ LATE SUBPARTICLE " << subParID << " @@@@@@@@@@@@@@@@@@@@@@@@@@@" << " paramvals size: " << paramVals.size() << " freeparam names size: " << options.models.at(mid)->freeParams_.size() << endl;
							}
							for (unsigned int r = 1; r <= options.smoothing; ++r) {
								string outputDir = options.jobOutputDir + toString(currGen) + "/";
								string bnglFilename = getModelName(mid, false)+"_" + toString(pID) + "_" + toString(r) + ".bngl";
								string suffix = toString(pID) + "_" + toString(r) ;
								//options.models[mid]->outputModelWithParams(paramSet, outputDir, bnglFilename, suffix, false, false, true, false, false);

								if (options.models[mid]->getHasGenerateNetwork()){
									// If we're using ODE solver, output .net file
									bnglFilename = boost::regex_replace(bnglFilename, boost::regex("bngl$"), string("net"));
									options.models[mid]->outputModelWithParams(simParams_, outputDir, bnglFilename, suffix,  false, false, true, false, false);
								}
								else {
									// If we're using network free simulation, output .bngl
									options.models[mid]->outputModelWithParams(simParams_, outputDir, bnglFilename, suffix, false, false, false, false, false);
								}


							}
						/*if(breed){
							int numFinishedBreeding = 0;
							while (numFinishedBreeding == 0) {
									if(options.verbosity>=3){

										cout << "checking for DONEBREED FOR LATE PARTICLE " << subParID << endl;
									}
									unsigned int numMessages = swarmComm->recvMessage(-1, 0, DONE_BREEDING, true, swarmComm->univMessageReceiver, true);

							//		int Pheromones::recvMessage(signed int senderID, const int receiverID, int tag, bool block, swarmMsgHolder &messageHolder, bool eraseMessage, int messageID) {

									numFinishedBreeding += numMessages;
									//cout << numFinishedBreeding << endl;
									if(options.verbosity>=3){

										cout << "RAQUEL numFinishedBreeding " << numFinishedBreeding << endl;
									}
							}
						}*/
					//}
				//}

			//}

}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x308, %rsp            # imm = 0x308
movl %r8d, %ebp
movl %ecx, 0xec(%rsp)
movl %edx, %ebx
movq %rsi, %r15
movq %rdi, %r12
testl %r8d, %r8d
jne 0x9025a
movl 0x13e8(%r12), %ebp
movq 0x15c8(%r12), %rsi
subq 0x15c0(%r12), %rsi
shrq $0x3, %rsi
movl %ebx, %edi
callq 0xbe99e
movl %eax, 0x54(%rsp)
movq 0x15c8(%r12), %rsi
subq 0x15c0(%r12), %rsi
shrq $0x3, %rsi
movl %ebx, 0xf0(%rsp)
movl %ebx, %edi
callq 0xbe994
leaq 0x2e0(%rsp), %rcx
movl $0x0, (%rcx)
xorl %r13d, %r13d
movq %r13, 0x8(%rcx)
movq %rcx, 0x10(%rcx)
movq %rcx, 0x18(%rcx)
movq %r13, 0x20(%rcx)
movq %r13, 0x250(%rsp)
xorps %xmm0, %xmm0
movaps %xmm0, 0x240(%rsp)
movq %r13, 0x190(%rsp)
movaps %xmm0, 0x180(%rsp)
movl %eax, 0x24(%rsp)
cltq
movq %rax, 0x98(%rsp)
cmpq %r13, 0x28(%r15)
movq %r12, 0xe0(%rsp)
movl %ebp, 0xf4(%rsp)
movq %r15, 0xf8(%rsp)
je 0x90fc2
movq 0x18(%r15), %rbx
leaq 0x8(%r15), %rbp
cmpq %rbp, %rbx
je 0x903c1
leaq 0x38(%rsp), %r15
leaq 0x28(%rsp), %r14
leaq 0x2d8(%rsp), %r12
leaq 0x180(%rsp), %r13
movq %r15, 0x28(%rsp)
movq 0x20(%rbx), %rsi
movq 0x28(%rbx), %rdx
addq %rsi, %rdx
movq %r14, %rdi
callq 0x3213c
movsd 0x40(%rbx), %xmm0
movsd %xmm0, 0x48(%rsp)
movq %r12, %rdi
movq %r14, %rsi
callq 0x4d068
movq 0x28(%rsp), %rdi
cmpq %r15, %rdi
je 0x9037e
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x229c0
movsd 0x40(%rbx), %xmm0
movq %r14, %rdi
callq 0xbfad7
movq %r13, %rdi
movq %r14, %rsi
callq 0x6a2a2
movq 0x28(%rsp), %rdi
cmpq %r15, %rdi
je 0x903ad
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x229c0
movq %rbx, %rdi
callq 0x22670
movq %rax, %rbx
cmpq %rbp, %rax
jne 0x90339
cmpb $0x0, 0xec(%rsp)
movq 0xe0(%rsp), %r12
movl 0xf0(%rsp), %ebx
je 0x90401
movq (%r12), %rdi
subq $0x8, %rsp
leaq 0x188(%rsp), %r9
xorl %esi, %esi
movl %ebx, %edx
movl $0x15, %ecx
xorl %r8d, %r8d
pushq $-0x1
callq 0x6bac2
addq $0x10, %rsp
cmpl $0x3, 0x1614(%r12)
jb 0x904f6
movq 0xe5b91(%rip), %rdi     # 0x175fa8
leaq 0x6f31f(%rip), %rsi     # 0xff73d
movl $0x2a, %edx
callq 0x22ab0
movq 0xe5b79(%rip), %rdi     # 0x175fa8
movl %ebx, %esi
callq 0x231e0
movq %rax, %rbx
leaq 0x6f328(%rip), %rsi     # 0xff768
movl $0x1c, %edx
movq %rax, %rdi
callq 0x22ab0
leaq 0x6f331(%rip), %rsi     # 0xff785
movl $0x11, %edx
movq %rbx, %rdi
callq 0x22ab0
movq 0x248(%rsp), %rsi
subq 0x240(%rsp), %rsi
sarq $0x5, %rsi
movq %rbx, %rdi
callq 0x22650
movq %rax, %rbx
leaq 0x6f310(%rip), %rsi     # 0xff797
movl $0x17, %edx
movq %rax, %rdi
callq 0x22ab0
movq 0x15c0(%r12), %rax
movq 0x15c8(%r12), %rdx
subq %rax, %rdx
sarq $0x3, %rdx
movq 0x98(%rsp), %rsi
cmpq %rsi, %rdx
jbe 0x911ab
movq (%rax,%rsi,8), %rax
movq 0x58(%rax), %rsi
movq %rbx, %rdi
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
cmpl $0x0, 0x1658(%r12)
je 0x90f89
movl $0x1, %ebx
movq %rsp, %r15
leaq 0x220(%rsp), %r13
movq %r15, %rdi
movl 0xf4(%rsp), %esi
callq 0xbe584
movq 0x1520(%r12), %rcx
movq 0x1528(%r12), %r8
movq %r15, %rbp
movq %r15, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x22a80
leaq 0x68(%rsp), %rsi
movq %rsi, 0x58(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
leaq 0x58(%rsp), %rdi
je 0x90570
movq %rdx, 0x58(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x68(%rsp)
jmp 0x90576
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq 0x8(%rax), %rdx
movq %rdx, 0x60(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x6f2c2(%rip), %rsi     # 0xff857
callq 0x233b0
leaq 0x38(%rsp), %rsi
movq %rsi, 0x28(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x905c2
movq %rdx, 0x28(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x38(%rsp)
jmp 0x905c8
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq 0x8(%rax), %rdx
movq %rdx, 0x30(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x58(%rsp), %rdi
leaq 0x68(%rsp), %rax
cmpq %rax, %rdi
je 0x905fc
movq 0x68(%rsp), %rsi
incq %rsi
callq 0x229c0
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x90617
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x229c0
leaq 0x258(%rsp), %r15
movq %r15, %rdi
movq %r12, %rsi
movl 0x24(%rsp), %edx
xorl %ecx, %ecx
callq 0x79f68
movq %r15, %rdi
leaq 0x677dd(%rip), %rsi     # 0xf7e17
callq 0x233b0
leaq 0xb0(%rsp), %rsi
movq %rsi, 0xa0(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x90673
movq %rdx, 0xa0(%rsp)
movq (%rcx), %rdx
movq %rdx, 0xb0(%rsp)
jmp 0x90679
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq 0x8(%rax), %rdx
movq %rdx, 0xa8(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x120(%rsp), %rdi
movl 0x54(%rsp), %esi
callq 0xbe584
movq 0xa0(%rsp), %rcx
movl $0xf, %edi
leaq 0xb0(%rsp), %rax
cmpq %rax, %rcx
je 0x906c7
movq 0xb0(%rsp), %rdi
movq 0xa8(%rsp), %r8
movq 0x120(%rsp), %rsi
movq 0x128(%rsp), %rdx
leaq (%rdx,%r8), %rax
cmpq %rdi, %rax
jbe 0x90707
movl $0xf, %edi
leaq 0x130(%rsp), %r9
cmpq %r9, %rsi
je 0x90702
movq 0x130(%rsp), %rdi
cmpq %rdi, %rax
jbe 0x90716
leaq 0xa0(%rsp), %rdi
callq 0x222b0
jmp 0x90727
leaq 0x120(%rsp), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x22a80
leaq 0xd0(%rsp), %rsi
movq %rsi, 0xc0(%rsp)
movq (%rax), %rdx
leaq 0x10(%rax), %rcx
cmpq %rcx, %rdx
je 0x90758
movq %rdx, 0xc0(%rsp)
movq (%rcx), %rdx
movq %rdx, 0xd0(%rsp)
jmp 0x9075e
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq %rax, %rdx
addq $0x8, %rdx
movq 0x8(%rax), %rsi
movq %rsi, 0xc8(%rsp)
movq %rcx, (%rax)
movq $0x0, (%rdx)
movb $0x0, (%rcx)
leaq 0xc0(%rsp), %rdi
leaq 0x6768a(%rip), %rsi     # 0xf7e17
callq 0x233b0
leaq 0x88(%rsp), %rsi
movq %rsi, 0x78(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x907c0
movq %rdx, 0x78(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x88(%rsp)
jmp 0x907c6
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq 0x8(%rax), %rdx
movq %rdx, 0x80(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x100(%rsp), %rdi
movl %ebx, %esi
callq 0xbfa49
movq 0x78(%rsp), %rcx
movl $0xf, %edi
leaq 0x88(%rsp), %rax
cmpq %rax, %rcx
je 0x9080f
movq 0x88(%rsp), %rdi
movq 0x80(%rsp), %r8
movq 0x100(%rsp), %rsi
movq 0x108(%rsp), %rdx
leaq (%rdx,%r8), %rax
cmpq %rdi, %rax
jbe 0x9084f
movl $0xf, %edi
leaq 0x110(%rsp), %r9
cmpq %r9, %rsi
je 0x9084a
movq 0x110(%rsp), %rdi
cmpq %rdi, %rax
jbe 0x9085b
leaq 0x78(%rsp), %rdi
callq 0x222b0
jmp 0x9086c
leaq 0x100(%rsp), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x22a80
leaq 0x10(%rsp), %rsi
movq %rsi, (%rsp)
movq (%rax), %rdx
leaq 0x10(%rax), %rcx
cmpq %rcx, %rdx
je 0x9088f
movq %rdx, (%rsp)
movq (%rcx), %rdx
movq %rdx, 0x10(%rsp)
jmp 0x90895
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq %rax, %rdx
addq $0x8, %rdx
movq 0x8(%rax), %rsi
movq %rsi, 0x8(%rsp)
movq %rcx, (%rax)
movq $0x0, (%rdx)
movb $0x0, (%rcx)
movq %rbp, %rdi
leaq 0x68a47(%rip), %rsi     # 0xf9303
callq 0x233b0
leaq 0x68(%rsp), %rsi
movq %rsi, 0x58(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x908e9
movq %rdx, 0x58(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x68(%rsp)
jmp 0x908ef
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq 0x8(%rax), %rdx
movq %rdx, 0x60(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x90922
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x229c0
movq 0x100(%rsp), %rdi
leaq 0x110(%rsp), %rax
cmpq %rax, %rdi
je 0x90947
movq 0x110(%rsp), %rsi
incq %rsi
callq 0x229c0
movq 0x78(%rsp), %rdi
leaq 0x88(%rsp), %rax
cmpq %rax, %rdi
je 0x90969
movq 0x88(%rsp), %rsi
incq %rsi
callq 0x229c0
movq 0xc0(%rsp), %rdi
leaq 0xd0(%rsp), %rax
cmpq %rax, %rdi
je 0x9098e
movq 0xd0(%rsp), %rsi
incq %rsi
callq 0x229c0
movq 0x120(%rsp), %rdi
leaq 0x130(%rsp), %rax
cmpq %rax, %rdi
je 0x909b3
movq 0x130(%rsp), %rsi
incq %rsi
callq 0x229c0
movq 0xa0(%rsp), %rdi
leaq 0xb0(%rsp), %rax
cmpq %rax, %rdi
je 0x909d8
movq 0xb0(%rsp), %rsi
incq %rsi
callq 0x229c0
movq 0x258(%rsp), %rdi
leaq 0x268(%rsp), %rax
cmpq %rax, %rdi
je 0x909fd
movq 0x268(%rsp), %rsi
incq %rsi
callq 0x229c0
leaq 0xc0(%rsp), %r15
movq %r15, %rdi
movl 0x54(%rsp), %esi
callq 0xbe584
movq %r15, %rdi
leaq 0x673fc(%rip), %rsi     # 0xf7e17
callq 0x233b0
leaq 0x88(%rsp), %rsi
movq %rsi, 0x78(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x90a4e
movq %rdx, 0x78(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x88(%rsp)
jmp 0x90a54
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq 0x8(%rax), %rdx
movq %rdx, 0x80(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0xa0(%rsp), %rdi
movl %ebx, %esi
callq 0xbfa49
movq 0x78(%rsp), %rcx
movl $0xf, %edi
leaq 0x88(%rsp), %rax
cmpq %rax, %rcx
je 0x90a9d
movq 0x88(%rsp), %rdi
movq 0x80(%rsp), %r8
movq 0xa0(%rsp), %rsi
movq 0xa8(%rsp), %rdx
leaq (%rdx,%r8), %rax
cmpq %rdi, %rax
jbe 0x90add
movl $0xf, %edi
leaq 0xb0(%rsp), %r9
cmpq %r9, %rsi
je 0x90ad8
movq 0xb0(%rsp), %rdi
cmpq %rdi, %rax
jbe 0x90ae9
leaq 0x78(%rsp), %rdi
callq 0x222b0
jmp 0x90afa
leaq 0xa0(%rsp), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x22a80
leaq 0x10(%rsp), %rsi
movq %rsi, (%rsp)
movq (%rax), %rdx
leaq 0x10(%rax), %rcx
cmpq %rcx, %rdx
je 0x90b1d
movq %rdx, (%rsp)
movq (%rcx), %rdx
movq %rdx, 0x10(%rsp)
jmp 0x90b23
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq %rax, %rdx
addq $0x8, %rdx
movq 0x8(%rax), %rsi
movq %rsi, 0x8(%rsp)
movq %rcx, (%rax)
movq $0x0, (%rdx)
movb $0x0, (%rcx)
movq 0xa0(%rsp), %rdi
leaq 0xb0(%rsp), %rax
cmpq %rax, %rdi
je 0x90b65
movq 0xb0(%rsp), %rsi
incq %rsi
callq 0x229c0
movq 0x78(%rsp), %rdi
leaq 0x88(%rsp), %rax
cmpq %rax, %rdi
je 0x90b87
movq 0x88(%rsp), %rsi
incq %rsi
callq 0x229c0
movq 0xc0(%rsp), %rdi
leaq 0xd0(%rsp), %rax
cmpq %rax, %rdi
je 0x90bac
movq 0xd0(%rsp), %rsi
incq %rsi
callq 0x229c0
movq 0x15c0(%r12), %rax
movq 0x98(%rsp), %rcx
movq (%rax,%rcx,8), %r12
cmpb $0x1, 0xb8(%r12)
jne 0x90dd9
leaq 0xc0(%rsp), %rdi
leaq 0x67370(%rip), %rsi     # 0xf7f4e
xorl %edx, %edx
callq 0x3186e
leaq 0x230(%rsp), %rax
movq %rax, 0x220(%rsp)
movq %r13, %rdi
leaq 0x67e27(%rip), %rsi     # 0xf8a26
leaq 0x67e23(%rip), %rdx     # 0xf8a29
callq 0x321d2
movq 0xe0(%rsp), %r12
movq %r13, %rcx
leaq 0x78(%rsp), %r14
movq %r14, %rdi
leaq 0x58(%rsp), %r15
movq %r15, %rsi
leaq 0xc0(%rsp), %rdx
xorl %r8d, %r8d
callq 0x4a0a3
movq %r15, %rdi
movq %r14, %rsi
callq 0x22bb0
movq 0x78(%rsp), %rdi
leaq 0x88(%rsp), %rax
cmpq %rax, %rdi
je 0x90c63
movq 0x88(%rsp), %rsi
incq %rsi
callq 0x229c0
movq 0x220(%rsp), %rdi
leaq 0x230(%rsp), %rax
cmpq %rax, %rdi
je 0x90c88
movq 0x230(%rsp), %rsi
incq %rsi
callq 0x229c0
leaq 0xc8(%rsp), %rdi
callq 0x32268
movq 0x15c0(%r12), %rax
movq 0x98(%rsp), %rcx
movq (%rax,%rcx,8), %r12
leaq 0x2a8(%rsp), %rdi
movq 0xf8(%rsp), %rsi
callq 0x51772
leaq 0x210(%rsp), %rax
movq %rax, 0x200(%rsp)
movq 0x28(%rsp), %rsi
movq 0x30(%rsp), %rdx
addq %rsi, %rdx
leaq 0x200(%rsp), %rdi
callq 0x3213c
leaq 0x170(%rsp), %rax
movq %rax, 0x160(%rsp)
movq 0x58(%rsp), %rsi
movq 0x60(%rsp), %rdx
addq %rsi, %rdx
leaq 0x160(%rsp), %rdi
callq 0x3213c
leaq 0x1f0(%rsp), %rax
movq %rax, 0x1e0(%rsp)
movq (%rsp), %rsi
movq 0x8(%rsp), %rdx
addq %rsi, %rdx
leaq 0x1e0(%rsp), %r14
movq %r14, %rdi
callq 0x3213c
movq %r12, %rdi
leaq 0x2a8(%rsp), %rsi
leaq 0x200(%rsp), %rdx
leaq 0x160(%rsp), %rcx
movq %r14, %r8
xorl %r9d, %r9d
xorl %eax, %eax
pushq %rax
pushq %rax
pushq $0x1
pushq %rax
callq 0x4ebec
addq $0x20, %rsp
movq 0x1e0(%rsp), %rdi
leaq 0x1f0(%rsp), %rax
cmpq %rax, %rdi
je 0x90d94
movq 0x1f0(%rsp), %rsi
incq %rsi
callq 0x229c0
movq 0x160(%rsp), %rdi
leaq 0x170(%rsp), %rax
cmpq %rax, %rdi
je 0x90db9
movq 0x170(%rsp), %rsi
incq %rsi
callq 0x229c0
movq 0x200(%rsp), %rdi
leaq 0x210(%rsp), %rcx
movq %rcx, %rax
leaq 0x2a8(%rsp), %r12
jmp 0x90f03
leaq 0x278(%rsp), %rdi
movq 0xf8(%rsp), %rsi
callq 0x51772
leaq 0x1d0(%rsp), %rax
movq %rax, 0x1c0(%rsp)
movq 0x28(%rsp), %rsi
movq 0x30(%rsp), %rdx
addq %rsi, %rdx
leaq 0x1c0(%rsp), %rdi
callq 0x3213c
leaq 0x150(%rsp), %rax
movq %rax, 0x140(%rsp)
movq 0x58(%rsp), %rsi
movq 0x60(%rsp), %rdx
addq %rsi, %rdx
leaq 0x140(%rsp), %rdi
callq 0x3213c
leaq 0x1b0(%rsp), %rax
movq %rax, 0x1a0(%rsp)
movq (%rsp), %rsi
movq 0x8(%rsp), %rdx
addq %rsi, %rdx
leaq 0x1a0(%rsp), %r14
movq %r14, %rdi
callq 0x3213c
movq %r12, %rdi
leaq 0x278(%rsp), %rsi
leaq 0x1c0(%rsp), %rdx
leaq 0x140(%rsp), %rcx
movq %r14, %r8
xorl %r9d, %r9d
xorl %eax, %eax
pushq %rax
pushq %rax
pushq %rax
pushq %rax
callq 0x4ebec
addq $0x20, %rsp
movq 0x1a0(%rsp), %rdi
leaq 0x1b0(%rsp), %rax
cmpq %rax, %rdi
je 0x90ec3
movq 0x1b0(%rsp), %rsi
incq %rsi
callq 0x229c0
movq 0x140(%rsp), %rdi
leaq 0x150(%rsp), %rax
cmpq %rax, %rdi
je 0x90ee8
movq 0x150(%rsp), %rsi
incq %rsi
callq 0x229c0
movq 0x1c0(%rsp), %rdi
leaq 0x1d0(%rsp), %rcx
movq %rcx, %rax
leaq 0x278(%rsp), %r12
cmpq %rcx, %rdi
je 0x90f13
movq (%rax), %rsi
incq %rsi
callq 0x229c0
movq %r12, %rdi
callq 0x4a472
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x90f36
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x229c0
movq 0x58(%rsp), %rdi
leaq 0x68(%rsp), %rax
cmpq %rax, %rdi
movq 0xe0(%rsp), %r12
je 0x90f5a
movq 0x68(%rsp), %rsi
incq %rsi
callq 0x229c0
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x90f76
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x229c0
incl %ebx
cmpl 0x1658(%r12), %ebx
movq %rbp, %r15
jbe 0x90515
leaq 0x180(%rsp), %rdi
callq 0x31a0a
leaq 0x240(%rsp), %rdi
callq 0x31a0a
leaq 0x2d8(%rsp), %rdi
callq 0x4a472
addq $0x308, %rsp            # imm = 0x308
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x1a68(%r12), %rbx
leaq 0x1a58(%r12), %r14
cmpq %r14, %rbx
je 0x9102f
cvttsd2si 0x28(%rbx), %rdi
movq 0x15c8(%r12), %rsi
subq 0x15c0(%r12), %rsi
shrq $0x3, %rsi
callq 0xbe994
cmpl 0x24(%rsp), %eax
je 0x9100e
movq %rbx, %rdi
callq 0x22670
movq %rax, %rbx
cmpq %r14, %rax
jne 0x90fd7
jmp 0x9102f
cvttsd2si 0x28(%rbx), %edi
movq 0x15c8(%r12), %rsi
subq 0x15c0(%r12), %rsi
shrq $0x3, %rsi
callq 0xbe99e
movl %eax, %r13d
movq 0x98(%rsp), %rsi
movq 0x15c0(%r12), %rax
movq 0x15c8(%r12), %rdx
subq %rax, %rdx
sarq $0x3, %rdx
cmpq %rsi, %rdx
jbe 0x911b9
movq (%rax,%rsi,8), %rax
movq 0x48(%rax), %rbx
leaq 0x1460(%r12), %r14
movl $0x1, %r15d
leaq 0x28(%rsp), %r12
movl 0x54(%rsp), %eax
movl %eax, 0x28(%rsp)
movq %r14, %rdi
movq %r12, %rsi
callq 0x6ec24
movl 0x24(%rsp), %ecx
movl %ecx, 0x58(%rsp)
movq %rax, %rdi
leaq 0x58(%rsp), %rsi
callq 0x6ec8a
movl %r15d, %r15d
movq 0x8(%rax), %rcx
subq (%rax), %rcx
sarq $0x3, %rcx
cmpq %r15, %rcx
jbe 0x903c1
movq %r13, %rbp
movl 0x54(%rsp), %eax
movl %eax, 0x58(%rsp)
movq %r14, %rdi
leaq 0x58(%rsp), %rsi
callq 0x6ec24
movl 0x24(%rsp), %ecx
movl %ecx, (%rsp)
movq %rax, %rdi
movq %rsp, %rsi
callq 0x6ec8a
movq (%rax), %r13
leaq 0x38(%rsp), %rax
movq %rax, 0x28(%rsp)
movq 0x20(%rbx), %rsi
movq 0x28(%rbx), %rdx
addq %rsi, %rdx
movq %r12, %rdi
callq 0x3213c
movsd (%r13,%r15,8), %xmm0
movsd %xmm0, 0x48(%rsp)
leaq 0x2d8(%rsp), %rdi
movq %r12, %rsi
callq 0x4d068
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
movq %rbp, %r13
je 0x91137
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x229c0
movq %rbx, %rdi
callq 0x22670
movq %rax, %rbx
movl %r13d, 0x58(%rsp)
movq %r14, %rdi
leaq 0x58(%rsp), %rsi
callq 0x6ec24
movl 0x24(%rsp), %ecx
movl %ecx, (%rsp)
movq %rax, %rdi
movq %rsp, %rsi
callq 0x6ec8a
movq (%rax), %rax
movsd (%rax,%r15,8), %xmm0
movq %r12, %rdi
callq 0xbfad7
leaq 0x180(%rsp), %rdi
movq %r12, %rsi
callq 0x6a2a2
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x911a3
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x229c0
incl %r15d
jmp 0x91072
leaq 0x624c7(%rip), %rdi     # 0xf3679
xorl %eax, %eax
callq 0x22f40
leaq 0x624b9(%rip), %rdi     # 0xf3679
xorl %eax, %eax
callq 0x22f40
jmp 0x91607
jmp 0x91607
jmp 0x91607
jmp 0x91607
movq %rax, %rbx
jmp 0x912d1
movq %rax, %rbx
jmp 0x91287
jmp 0x913a4
movq %rax, %rbx
movq 0x220(%rsp), %rdi
leaq 0x230(%rsp), %rax
cmpq %rax, %rdi
je 0x912de
movq 0x230(%rsp), %rsi
incq %rsi
callq 0x229c0
jmp 0x912de
movq %rax, %rbx
jmp 0x9131d
movq %rax, %rbx
movq 0x1e0(%rsp), %rdi
leaq 0x1f0(%rsp), %rax
cmpq %rax, %rdi
je 0x912f8
movq 0x1f0(%rsp), %rsi
incq %rsi
callq 0x229c0
jmp 0x912f8
movq %rax, %rbx
jmp 0x912ac
movq %rax, %rbx
movq 0x1a0(%rsp), %rdi
leaq 0x1b0(%rsp), %rax
cmpq %rax, %rdi
je 0x91287
movq 0x1b0(%rsp), %rsi
incq %rsi
callq 0x229c0
movq 0x140(%rsp), %rdi
leaq 0x150(%rsp), %rax
cmpq %rax, %rdi
je 0x912ac
movq 0x150(%rsp), %rsi
incq %rsi
callq 0x229c0
movq 0x1c0(%rsp), %rdi
leaq 0x1d0(%rsp), %rax
cmpq %rax, %rdi
je 0x912d1
movq 0x1d0(%rsp), %rsi
incq %rsi
callq 0x229c0
leaq 0x278(%rsp), %rdi
jmp 0x9134a
movq %rax, %rbx
leaq 0xc8(%rsp), %rdi
callq 0x32268
jmp 0x913a7
movq %rax, %rbx
jmp 0x91342
movq %rax, %rbx
movq 0x160(%rsp), %rdi
leaq 0x170(%rsp), %rax
cmpq %rax, %rdi
je 0x9131d
movq 0x170(%rsp), %rsi
incq %rsi
callq 0x229c0
movq 0x200(%rsp), %rdi
leaq 0x210(%rsp), %rax
cmpq %rax, %rdi
je 0x91342
movq 0x210(%rsp), %rsi
incq %rsi
callq 0x229c0
leaq 0x2a8(%rsp), %rdi
callq 0x4a472
jmp 0x913a7
jmp 0x91607
jmp 0x9135d
jmp 0x91607
movq %rax, %rbx
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
jne 0x915f6
jmp 0x9160a
jmp 0x91607
jmp 0x91607
jmp 0x91607
jmp 0x9138e
jmp 0x91607
movq %rax, %rbx
movq 0x28(%rsp), %rdi
cmpq %r15, %rdi
jne 0x915f6
jmp 0x9160a
movq %rax, %rbx
leaq 0x38(%rsp), %r14
leaq 0x68(%rsp), %r15
leaq 0x10(%rsp), %rax
movq (%rsp), %rdi
cmpq %rax, %rdi
je 0x915d5
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x229c0
jmp 0x915d5
jmp 0x91607
movq %rax, %rbx
jmp 0x913fe
movq %rax, %rbx
movq 0x58(%rsp), %rdi
leaq 0x68(%rsp), %rax
cmpq %rax, %rdi
je 0x913fe
movq 0x68(%rsp), %rsi
incq %rsi
callq 0x229c0
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x9160a
movq 0x10(%rsp), %rsi
jmp 0x915fb
movq %rax, %rbx
leaq 0x38(%rsp), %r14
jmp 0x915ec
movq %rax, %rbx
jmp 0x91522
movq %rax, %rbx
jmp 0x914fd
movq %rax, %rbx
jmp 0x914d8
movq %rax, %rbx
jmp 0x914b3
movq %rax, %rbx
jmp 0x91491
movq %rax, %rbx
jmp 0x9146c
movq %rax, %rbx
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x9146c
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x229c0
movq 0x100(%rsp), %rdi
leaq 0x110(%rsp), %rax
cmpq %rax, %rdi
je 0x91491
movq 0x110(%rsp), %rsi
incq %rsi
callq 0x229c0
movq 0x78(%rsp), %rdi
leaq 0x88(%rsp), %rax
cmpq %rax, %rdi
je 0x914b3
movq 0x88(%rsp), %rsi
incq %rsi
callq 0x229c0
movq 0xc0(%rsp), %rdi
leaq 0xd0(%rsp), %rax
cmpq %rax, %rdi
je 0x914d8
movq 0xd0(%rsp), %rsi
incq %rsi
callq 0x229c0
movq 0x120(%rsp), %rdi
leaq 0x130(%rsp), %rax
cmpq %rax, %rdi
je 0x914fd
movq 0x130(%rsp), %rsi
incq %rsi
callq 0x229c0
movq 0xa0(%rsp), %rdi
leaq 0xb0(%rsp), %rax
cmpq %rax, %rdi
je 0x91522
movq 0xb0(%rsp), %rsi
incq %rsi
callq 0x229c0
leaq 0x38(%rsp), %r14
movq 0x258(%rsp), %rdi
leaq 0x268(%rsp), %rax
cmpq %rax, %rdi
je 0x915ec
movq 0x268(%rsp), %rsi
jmp 0x915e4
movq %rax, %rbx
jmp 0x915cb
movq %rax, %rbx
jmp 0x915a6
movq %rax, %rbx
jmp 0x91584
movq %rax, %rbx
movq 0xa0(%rsp), %rdi
leaq 0xb0(%rsp), %rax
cmpq %rax, %rdi
je 0x91584
movq 0xb0(%rsp), %rsi
incq %rsi
callq 0x229c0
movq 0x78(%rsp), %rdi
leaq 0x88(%rsp), %rax
cmpq %rax, %rdi
je 0x915a6
movq 0x88(%rsp), %rsi
incq %rsi
callq 0x229c0
movq 0xc0(%rsp), %rdi
leaq 0xd0(%rsp), %rax
cmpq %rax, %rdi
je 0x915cb
movq 0xd0(%rsp), %rsi
incq %rsi
callq 0x229c0
leaq 0x38(%rsp), %r14
leaq 0x68(%rsp), %r15
movq 0x58(%rsp), %rdi
cmpq %r15, %rdi
je 0x915ec
movq 0x68(%rsp), %rsi
incq %rsi
callq 0x229c0
movq 0x28(%rsp), %rdi
cmpq %r14, %rdi
je 0x9160a
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x229c0
jmp 0x9160a
jmp 0x91607
movq %rax, %rbx
leaq 0x180(%rsp), %rdi
callq 0x31a0a
leaq 0x240(%rsp), %rdi
callq 0x31a0a
leaq 0x2d8(%rsp), %rdi
callq 0x4a472
movq %rbx, %rdi
callq 0x23240
nop