// File: /workspace/github_cpp_makefile_star2_O1/melop[P]admixem/config.cpp
// Function: NaturalSelectionConfigurations::LoadFromFile(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
void NaturalSelectionConfigurations::LoadFromFile(string szConfigFile)
{
	//FILE *pConfigFile;
	ifstream fsConfigFile;
	string sBuffer;
	char szPopName[MAXLINE];
	char szFormula[MAXLINE];
	
	#ifdef _OPENMP
		int nTotalCPUCore =  omp_get_max_threads();//omp_get_num_threads();
		//printf("OpenMP enabled\n");
	#else
		int nTotalCPUCore = 1;
		//printf("OpenMP disabled \n");
	#endif

	
	
	printf("Start loading natural selection file %s ...\n", szConfigFile.c_str());

	_szConfigFilename = szConfigFile; // save name of config file

	fsConfigFile.open(szConfigFile.c_str() );
	//pConfigFile = fopen(szConfigFile.c_str(), "r");
	

	if (!fsConfigFile.is_open()) {
		printf("%s\n", "Cannot open natural selection file ...");
		throw "Cannot open natural selection file!";
	}

	getline(fsConfigFile,sBuffer);
	if (sBuffer == "") { // skip the header line
		throw "Cannot read natural selection file!";
	}

	string sPopName="";
	string sFormula="";
	string sPrevPopName="";
	string sPrevFormula="";

	while(fsConfigFile.good()) 
	{
		getline(fsConfigFile,sBuffer);
		
		int nGen;
		sBuffer.erase(sBuffer.find_last_not_of(" \n\r\t")+1);//trim
                if (sBuffer == "") {
                        continue;
                }

		sscanf(sBuffer.c_str(), "%[^\t\n]	%d	%[^\t\n]", szPopName, &nGen, szFormula);
		sPrevPopName = sPopName;
		sPrevFormula = sFormula;
		sPopName = szPopName; //make it string so that it saves lots of trouble of fuddling with c strings... i hate c strings.
		sFormula = szFormula;
		if (sPopName==sPrevPopName && sFormula == sPrevFormula) {
			printf("Warning: %s already loaded for pop %s, skipping...\n", sFormula.c_str(), sPopName.c_str());
			continue;
		}

		printf("Parsing natural rule for Pop %s : %s\n", sPopName.c_str(), sFormula.c_str());
		if (sPopName.length() != 0 && sFormula.length() !=0) {
			
			

			if (this->_mpRules.find(sPopName) == this->_mpRules.end()) { // if this pop is not in the map yet
				list< string > vsFormulae;
				list< string > vsFreqDependentFormulae;
				list< pair< Parser * , int> > vpFormulae;
				list< pair< Parser * , int> > vpFreqDependentFormulae;
				list< vector<string> > vvsSymbols;
				list< vector<string> > vvsSymbols2;
				list< vector<string> > vvsSymbols3;
				list< vector<string> > vvsSymbols4;
				list< vector<string> > vvsSymbols5;
				list< vector<string> > vvsSymbols6;
				
				this->_mpRules[sPopName] = vsFormulae;
				this->_mpFreqDependentRules[sPopName] = vsFreqDependentFormulae;
				for(int nCPU=0;nCPU<nTotalCPUCore;nCPU++) { // the formula object needs to be duplicated such that it will parallelize
					printf("%d CPU cores found, putting natural selection parser on CPU %d\n",nTotalCPUCore, nCPU );
					if (this->_mpmpRuleFormulae.find(nCPU) == this->_mpmpRuleFormulae.end()) {
						 map<string , list< pair<Parser *, int> > > mpRuleFormulae, _mpFreqDependentRuleFormulae;
						this->_mpmpRuleFormulae[nCPU] =  mpRuleFormulae;
						this->_mpmpFreqDependentRuleFormulae[nCPU] = _mpFreqDependentRuleFormulae;
					}

					this->_mpmpRuleFormulae[nCPU][sPopName] = vpFormulae;
					this->_mpmpFreqDependentRuleFormulae[nCPU][sPopName] = vpFreqDependentFormulae;
				}
				this->_mpRuleFormulaSymbolStrings[sPopName] = vvsSymbols;
				this->_mpRuleFormulaSymbolStringsCourter[sPopName] = vvsSymbols2;
				this->_mpRuleFormulaSymbolStringsSelf[sPopName] = vvsSymbols3;
				this->_mpRuleFormulaSymbolStringsPopWide[sPopName] = vvsSymbols4;
				this->_mpRuleFormulaSymbolStringsPopWideChooser[sPopName] = vvsSymbols5;
				this->_mpRuleFormulaSymbolStringsPopWideCourter[sPopName] = vvsSymbols6;

			}

			
			
			Parser * pF = new Parser("");
			//Parser * pDummyFormula = new Parser("1"); // dummy formula that always return 1.

			try {
				pF->Evaluate(sFormula);
			}
			catch(std::runtime_error e) {
				
				if ( string(e.what()) == "Divide by zero" ) {
					
					printf("Warning in formula: %s \nErrMsg:%s\nThis could simply be caused by uninitialized values", sFormula.c_str(), e.what());
					
					
				}
				else {
					printf("Error occured when trying to parse formula: %s \nErrMsg:%s\nPlease check formulae grammar!", sFormula.c_str(), e.what());
					exit(100);
				}
			}

		
			vector<string> vSymbolStrings; // all symbols
			vector<string> vSymbolStringsCourter; // only symbols referring to an individual courter's trait prefixed with Courter_
			vector<string> vSymbolStringsPopWideCourter; // symbols referring to population-level variables prefixed with PopCourter_
			vector<string> vSymbolStringsSelf; //symbols referring to individual chooser trait prefixed with My_
			vector<string> vSymbolStringsPopWideChooser;//symbols referring to population-level variables prefixed with PopChooser_
			vector<string> vSymbolStringsPopWide; // symbols referring to population-level variables prefixed with Pop_
			//list all the symbols used in this formula

			bool bFreqDependent = false; // does this formula contain frequency dependent symbols?

			for(map<string,double>::iterator it = pF->symbols_.begin(); it != pF->symbols_.end(); ++it) 
			{	
				//Parse chromosome number and position from the symbol
				//cout << (it->first) << "\n"; //list all keys

				
				if (strlen(it->first.c_str()) < 3) { // no need to add symbol
					continue;
				}

				vSymbolStrings.push_back(it->first); // save label too

				//Look at prefixes:
				string sSymbol = it->first;
				
				if (sSymbol.find("Courter_") == 0) {
					throw(new Exception("Courter_ not yet implemented in natural selection."));
					sSymbol.replace(0, 8, "");
					vSymbolStringsCourter.push_back(sSymbol);
				}
				else if (sSymbol.find("PopCourter_") == 0) {
					//throw(new Exception("PopCourter_ not yet implemented in natural selection."));
					sSymbol.replace(0, 11, "");
					vSymbolStringsPopWideCourter.push_back(sSymbol );
					bFreqDependent = true;
				}
				else if (sSymbol.find("My_") == 0) {
					sSymbol.replace(0, 3, "");
					vSymbolStringsSelf.push_back(sSymbol);
				}
				else if (sSymbol.find("PopChooser_") == 0) {
					//throw(new Exception("PopChooser_ not yet implemented in natural selection."));
					sSymbol.replace(0, 11, "");
					vSymbolStringsPopWideChooser.push_back(sSymbol);
					bFreqDependent = true;
				}
				else if (sSymbol.find("Pop_") == 0) {
					//throw(new Exception("Pop_ not yet implemented in natural selection."));
					sSymbol.replace(0, 4, "");
					vSymbolStringsPopWide.push_back(sSymbol);
					bFreqDependent = true;
				}
				else { //default to be self
					vSymbolStringsSelf.push_back(sSymbol);
				}
			}

			delete pF;
			
			if (bFreqDependent) {
				this->_mpFreqDependentRules[sPopName].push_back(sFormula); // save the formula string for further reference.
				
				
				
				this->_mpRules[sPopName].push_back("1"); // 
				

				for(int nCPU=0;nCPU<nTotalCPUCore;nCPU++) { // the formula object needs to be duplicated such that it will parallelize

					this->_mpmpFreqDependentRuleFormulae[nCPU][sPopName].push_back(pair< Parser *, int >( new Parser(sFormula) , nGen )); // literally duplicate the parser object so that it can parallelize
					this->_mpmpRuleFormulae[nCPU][sPopName].push_back(pair< Parser *, int >( new Parser("1") , nGen )); // set dummy formula which always return 1. 
				}
				
			}
			else {

				this->_mpRules[sPopName].push_back(sFormula); // save the formula string for further reference.			

				this->_mpFreqDependentRules[sPopName].push_back("1"); 
				

				for(int nCPU=0;nCPU<nTotalCPUCore;nCPU++) { // the formula object needs to be duplicated such that it will parallelize
					this->_mpmpRuleFormulae[nCPU][sPopName].push_back(pair< Parser *, int >( new Parser(sFormula) , nGen ));
					this->_mpmpFreqDependentRuleFormulae[nCPU][sPopName].push_back(pair< Parser *, int >( new Parser("1") , nGen ));// set dummy formula which always return 1.
					
				}

			}
			this->_mpRuleFormulaSymbolStrings[sPopName].push_back(vSymbolStrings);
			this->_mpRuleFormulaSymbolStringsCourter[sPopName].push_back(vSymbolStringsCourter);
			this->_mpRuleFormulaSymbolStringsSelf[sPopName].push_back(vSymbolStringsSelf);
			this->_mpRuleFormulaSymbolStringsPopWide[sPopName].push_back(vSymbolStringsPopWide);
			this->_mpRuleFormulaSymbolStringsPopWideChooser[sPopName].push_back(vSymbolStringsPopWideChooser);
			this->_mpRuleFormulaSymbolStringsPopWideCourter[sPopName].push_back(vSymbolStringsPopWideCourter);

			if (nGen > -1) {
				this->_vSpecialGens.insert(nGen);
			}
		}
	}

	printf("Selection rules for %d populations loaded. \n", this->_mpRules.size());

}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x7a5c8, %rsp          # imm = 0x7A5C8
movq %rsi, %rbx
movq %rdi, %r14
leaq 0x298(%rsp), %rdi
callq 0x73f0
leaq 0x150(%rsp), %rax
movq %rax, -0x10(%rax)
movq $0x0, -0x8(%rax)
movb $0x0, (%rax)
movq (%rbx), %rsi
leaq 0x21c50(%rip), %rdi     # 0x35f79
xorl %eax, %eax
callq 0x7060
movq %r14, 0x170(%rsp)
movq %r14, %rdi
movq %rbx, %rsi
callq 0x71d0
movq (%rbx), %rsi
leaq 0x298(%rsp), %rbx
movq %rbx, %rdi
movl $0x8, %edx
callq 0x7200
leaq 0x310(%rsp), %rdi
callq 0x70c0
testb %al, %al
je 0x15711
movq 0x298(%rsp), %rax
addq -0x18(%rax), %rbx
movq %rbx, %rdi
movl $0xa, %esi
callq 0x7350
movsbl %al, %edx
leaq 0x298(%rsp), %rdi
leaq 0x140(%rsp), %rsi
callq 0x76d0
leaq 0x21c71(%rip), %rsi     # 0x36019
leaq 0x140(%rsp), %rdi
callq 0x7100
testl %eax, %eax
je 0x15726
leaq 0x18(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x21c4c(%rip), %rdx     # 0x36019
leaq 0x8(%rsp), %rdi
movq %rdx, %rsi
callq 0xa886
leaq 0x80(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x21c2c(%rip), %rdx     # 0x36019
leaq 0x70(%rsp), %rdi
movq %rdx, %rsi
callq 0xa886
leaq 0x190(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x21c0c(%rip), %rdx     # 0x36019
leaq 0x180(%rsp), %rdi
movq %rdx, %rsi
callq 0xa886
leaq 0x270(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x21be9(%rip), %rdx     # 0x36019
leaq 0x260(%rsp), %rdi
movq %rdx, %rsi
callq 0xa886
movq 0x298(%rsp), %rax
movq -0x18(%rax), %rax
cmpl $0x0, 0x2b8(%rsp,%rax)
je 0x14540
movq 0x170(%rsp), %rax
movq 0x50(%rax), %rsi
leaq 0x21e64(%rip), %rdi     # 0x362d1
xorl %eax, %eax
callq 0x7060
movq 0x260(%rsp), %rdi
leaq 0x270(%rsp), %rax
cmpq %rax, %rdi
je 0x14499
movq 0x270(%rsp), %rsi
incq %rsi
callq 0x7390
movq 0x180(%rsp), %rdi
leaq 0x190(%rsp), %rax
cmpq %rax, %rdi
je 0x144be
movq 0x190(%rsp), %rsi
incq %rsi
callq 0x7390
movq 0x70(%rsp), %rdi
leaq 0x80(%rsp), %rax
cmpq %rax, %rdi
je 0x144e0
movq 0x80(%rsp), %rsi
incq %rsi
callq 0x7390
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x144fc
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x7390
movq 0x140(%rsp), %rdi
leaq 0x150(%rsp), %rax
cmpq %rax, %rdi
je 0x14521
movq 0x150(%rsp), %rsi
incq %rsi
callq 0x7390
leaq 0x298(%rsp), %rdi
callq 0x70d0
addq $0x7a5c8, %rsp          # imm = 0x7A5C8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq (%rsp,%rax), %rdi
addq $0x298, %rdi            # imm = 0x298
movq 0x170(%rsp), %rax
leaq 0x28(%rax), %rcx
movq %rcx, 0x128(%rsp)
leaq 0x30(%rax), %rcx
movq %rcx, 0x288(%rsp)
leaq 0x58(%rax), %rcx
movq %rcx, 0x160(%rsp)
leaq 0x88(%rax), %rcx
movq %rcx, 0x138(%rsp)
leaq 0x90(%rax), %rcx
movq %rcx, 0x178(%rsp)
leaq 0xb8(%rax), %rcx
movq %rcx, 0x130(%rsp)
leaq 0xe8(%rax), %rcx
movq %rcx, 0x1f8(%rsp)
leaq 0x118(%rax), %rcx
movq %rcx, 0x1f0(%rsp)
leaq 0x148(%rax), %rcx
movq %rcx, 0x1e8(%rsp)
leaq 0x178(%rax), %rcx
movq %rcx, 0x1e0(%rsp)
leaq 0x1d8(%rax), %rcx
movq %rcx, 0x1d8(%rsp)
leaq 0x1a8(%rax), %rcx
movq %rcx, 0x1d0(%rsp)
leaq 0x38(%rsp), %r12
addq $0x208, %rax            # imm = 0x208
movq %rax, 0x280(%rsp)
leaq 0x140(%rsp), %rbp
leaq 0x28(%rsp), %r15
movl $0xa, %esi
callq 0x7350
movsbl %al, %edx
leaq 0x298(%rsp), %rdi
movq %rbp, %rsi
callq 0x76d0
movl $0x4, %ecx
movq %rbp, %rdi
leaq 0x219cb(%rip), %rsi     # 0x36015
movq $-0x1, %rdx
callq 0x75e0
incq %rax
movq 0x148(%rsp), %rcx
cmpq %rax, %rcx
jb 0x156f9
movq %rax, 0x148(%rsp)
movq 0x140(%rsp), %rcx
movb $0x0, (%rcx,%rax)
movq %rbp, %rdi
leaq 0x21991(%rip), %rsi     # 0x36019
callq 0x7100
testl %eax, %eax
je 0x155cf
movq 0x140(%rsp), %rdi
leaq 0x21976(%rip), %rsi     # 0x3601a
leaq 0x3d530(%rsp), %rdx
leaq 0x4(%rsp), %rcx
leaq 0x4a0(%rsp), %r8
xorl %eax, %eax
callq 0x7360
leaq 0x180(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0x71d0
leaq 0x260(%rsp), %rdi
leaq 0x70(%rsp), %rsi
callq 0x71d0
movq 0x10(%rsp), %rbx
leaq 0x3d530(%rsp), %r14
movq %r14, %rdi
callq 0x7170
leaq 0x8(%rsp), %rdi
xorl %esi, %esi
movq %rbx, %rdx
movq %r14, %rcx
movq %rax, %r8
callq 0x7570
movq 0x78(%rsp), %rbx
leaq 0x4a0(%rsp), %r14
movq %r14, %rdi
callq 0x7170
leaq 0x70(%rsp), %rdi
xorl %esi, %esi
movq %rbx, %rdx
movq %r14, %rcx
movq %rax, %r8
callq 0x7570
movq 0x10(%rsp), %rdx
cmpq 0x188(%rsp), %rdx
jne 0x14794
testq %rdx, %rdx
je 0x14762
movq 0x180(%rsp), %rsi
movq 0x8(%rsp), %rdi
callq 0x73b0
testl %eax, %eax
jne 0x14794
movq 0x78(%rsp), %rdx
cmpq 0x268(%rsp), %rdx
jne 0x14794
testq %rdx, %rdx
je 0x15149
movq 0x260(%rsp), %rsi
movq 0x70(%rsp), %rdi
callq 0x73b0
testl %eax, %eax
je 0x15149
movq 0x8(%rsp), %rsi
movq 0x70(%rsp), %rdx
leaq 0x218ba(%rip), %rdi     # 0x3605f
xorl %eax, %eax
callq 0x7060
cmpq $0x0, 0x10(%rsp)
je 0x155cf
cmpq $0x0, 0x78(%rsp)
je 0x155cf
movq 0x128(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0x1ef66
cmpq 0x288(%rsp), %rax
jne 0x14d35
leaq 0x110(%rsp), %rax
movq %rax, 0x118(%rsp)
movq %rax, 0x110(%rsp)
xorl %ecx, %ecx
movq %rcx, 0x120(%rsp)
leaq 0xf0(%rsp), %rax
movq %rax, 0xf8(%rsp)
movq %rax, 0xf0(%rsp)
movq %rcx, 0x100(%rsp)
leaq 0x90(%rsp), %rax
movq %rax, 0x98(%rsp)
movq %rax, 0x90(%rsp)
movq %rcx, 0xa0(%rsp)
leaq 0xb0(%rsp), %rax
movq %rax, 0xb8(%rsp)
movq %rax, 0xb0(%rsp)
movq %rcx, 0xc0(%rsp)
leaq 0xd0(%rsp), %rax
movq %rax, 0xd8(%rsp)
movq %rax, 0xd0(%rsp)
movq %rcx, 0xe0(%rsp)
leaq 0x58(%rsp), %rax
movq %rax, 0x60(%rsp)
movq %rax, 0x58(%rsp)
movq %rcx, 0x68(%rsp)
leaq 0x248(%rsp), %rax
movq %rax, 0x250(%rsp)
movq %rax, 0x248(%rsp)
movq %rcx, 0x258(%rsp)
leaq 0x230(%rsp), %rax
movq %rax, 0x238(%rsp)
movq %rax, 0x230(%rsp)
movq %rcx, 0x240(%rsp)
leaq 0x218(%rsp), %rax
movq %rax, 0x220(%rsp)
movq %rax, 0x218(%rsp)
movq %rcx, 0x228(%rsp)
leaq 0x200(%rsp), %rax
movq %rax, 0x208(%rsp)
movq %rax, 0x200(%rsp)
movq %rcx, 0x210(%rsp)
movq 0x128(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0x1a676
leaq 0x110(%rsp), %rcx
cmpq %rcx, %rax
je 0x14951
movq 0x110(%rsp), %rsi
movq %rax, %rdi
leaq 0x110(%rsp), %rdx
callq 0x1f35a
movq 0x160(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0x1a676
leaq 0xf0(%rsp), %rcx
cmpq %rcx, %rax
je 0x14988
movq 0xf0(%rsp), %rsi
movq %rax, %rdi
leaq 0xf0(%rsp), %rdx
callq 0x1f35a
movl $0x0, (%rsp)
xorl %edx, %edx
leaq 0x216ed(%rip), %rdi     # 0x36085
movl $0x1, %esi
xorl %eax, %eax
callq 0x7060
movq 0x170(%rsp), %rax
movq 0x98(%rax), %rcx
movq 0x178(%rsp), %rax
testq %rcx, %rcx
je 0x149e2
movl (%rsp), %edx
movq 0x178(%rsp), %rax
xorl %esi, %esi
cmpl %edx, 0x20(%rcx)
setl %sil
cmovgeq %rcx, %rax
movq 0x10(%rcx,%rsi,8), %rcx
testq %rcx, %rcx
jne 0x149cb
movq 0x178(%rsp), %rdx
movq %rdx, %rcx
cmpq %rdx, %rax
je 0x149ff
movl (%rsp), %ecx
cmpl 0x20(%rax), %ecx
cmovlq %rdx, %rax
movq %rax, %rcx
cmpq %rdx, %rcx
jne 0x14aa6
xorl %ecx, %ecx
movl %ecx, 0x30(%rsp)
movq %rcx, 0x38(%rsp)
leaq 0x30(%rsp), %rax
movq %rax, 0x40(%rsp)
movq %rax, 0x48(%rsp)
movq %rcx, 0x50(%rsp)
movl %ecx, 0x1a8(%rsp)
movq %rcx, 0x1b0(%rsp)
leaq 0x1a8(%rsp), %rax
movq %rax, 0x1b8(%rsp)
movq %rax, 0x1c0(%rsp)
movq %rcx, 0x1c8(%rsp)
movq 0x138(%rsp), %rdi
movq %rsp, %rsi
callq 0x1a6f2
movq %rax, %rdi
movq %r15, %rsi
callq 0x1b4f4
movq 0x130(%rsp), %rdi
movq %rsp, %rsi
callq 0x1a6f2
movq %rax, %rdi
leaq 0x1a0(%rsp), %rsi
callq 0x1b4f4
leaq 0x1a0(%rsp), %rdi
callq 0x1b980
movq %r15, %rdi
callq 0x1b980
movq 0x138(%rsp), %rdi
movq %rsp, %rsi
callq 0x1a6f2
movq %rax, %rdi
leaq 0x8(%rsp), %rsi
callq 0x1a756
leaq 0x90(%rsp), %rcx
cmpq %rcx, %rax
je 0x14ae8
movq 0x90(%rsp), %rsi
movq %rax, %rdi
leaq 0x90(%rsp), %rdx
callq 0x1fb16
movq 0x130(%rsp), %rdi
movq %rsp, %rsi
callq 0x1a6f2
movq %rax, %rdi
leaq 0x8(%rsp), %rsi
callq 0x1a756
leaq 0xb0(%rsp), %rcx
cmpq %rcx, %rax
je 0x14b2a
movq 0xb0(%rsp), %rsi
movq %rax, %rdi
leaq 0xb0(%rsp), %rdx
callq 0x1fb16
movl (%rsp), %eax
leal 0x1(%rax), %edx
movl %edx, (%rsp)
testl %eax, %eax
js 0x14991
movq 0x1f8(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0x1a7d2
leaq 0xd0(%rsp), %rcx
cmpq %rcx, %rax
je 0x14b72
movq 0xd0(%rsp), %rsi
movq %rax, %rdi
leaq 0xd0(%rsp), %rdx
callq 0x20038
movq 0x1f0(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0x1a7d2
leaq 0x58(%rsp), %rcx
cmpq %rcx, %rax
je 0x14ba0
movq 0x58(%rsp), %rsi
movq %rax, %rdi
leaq 0x58(%rsp), %rdx
callq 0x20038
movq 0x1e8(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0x1a7d2
leaq 0x248(%rsp), %rcx
cmpq %rcx, %rax
je 0x14bd7
movq 0x248(%rsp), %rsi
movq %rax, %rdi
leaq 0x248(%rsp), %rdx
callq 0x20038
movq 0x1e0(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0x1a7d2
leaq 0x230(%rsp), %rcx
cmpq %rcx, %rax
je 0x14c0e
movq 0x230(%rsp), %rsi
movq %rax, %rdi
leaq 0x230(%rsp), %rdx
callq 0x20038
movq 0x1d8(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0x1a7d2
leaq 0x218(%rsp), %rcx
cmpq %rcx, %rax
je 0x14c45
movq 0x218(%rsp), %rsi
movq %rax, %rdi
leaq 0x218(%rsp), %rdx
callq 0x20038
movq 0x1d0(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0x1a7d2
leaq 0x200(%rsp), %rcx
cmpq %rcx, %rax
je 0x14c7c
movq 0x200(%rsp), %rsi
movq %rax, %rdi
leaq 0x200(%rsp), %rdx
callq 0x20038
leaq 0x200(%rsp), %rdi
callq 0x1b994
leaq 0x218(%rsp), %rdi
callq 0x1b994
leaq 0x230(%rsp), %rdi
callq 0x1b994
leaq 0x248(%rsp), %rdi
callq 0x1b994
leaq 0x58(%rsp), %rdi
callq 0x1b994
leaq 0xd0(%rsp), %rdi
callq 0x1b994
movq 0xb0(%rsp), %rdi
leaq 0xb0(%rsp), %r14
cmpq %r14, %rdi
je 0x14cf1
movq (%rdi), %rbx
movl $0x20, %esi
callq 0x7390
movq %rbx, %rdi
cmpq %r14, %rbx
jne 0x14cdc
movq 0x90(%rsp), %rdi
leaq 0x90(%rsp), %r14
cmpq %r14, %rdi
je 0x14d1b
movq (%rdi), %rbx
movl $0x20, %esi
callq 0x7390
movq %rbx, %rdi
cmpq %r14, %rbx
jne 0x14d06
leaq 0xf0(%rsp), %rdi
callq 0x1b9cc
leaq 0x110(%rsp), %rdi
callq 0x1b9cc
movl $0x98, %edi
callq 0x7380
movq %rax, %rbx
movq %rax, %r14
movq %r12, 0x28(%rsp)
movq %r15, %rdi
leaq 0x212c5(%rip), %rdx     # 0x36019
movq %rdx, %rsi
callq 0xa886
movq %r14, %rdi
movq %r15, %rsi
callq 0x19f58
movq 0x28(%rsp), %rdi
cmpq %r12, %rdi
je 0x14d7e
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x7390
movq %rbx, 0x168(%rsp)
movq %rbp, %r13
movq %r14, %rdi
leaq 0x70(%rsp), %rsi
callq 0x9926
xorps %xmm0, %xmm0
movaps %xmm0, 0x1a0(%rsp)
xorl %ebx, %ebx
movq %rbx, 0x1b0(%rsp)
movq %rbx, 0x120(%rsp)
movaps %xmm0, 0x110(%rsp)
movq %rbx, 0x100(%rsp)
movaps %xmm0, 0xf0(%rsp)
movq %rbx, 0xa0(%rsp)
movaps %xmm0, 0x90(%rsp)
movq %rbx, 0xc0(%rsp)
movaps %xmm0, 0xb0(%rsp)
movq %rbx, 0xe0(%rsp)
movaps %xmm0, 0xd0(%rsp)
movq %r14, 0x290(%rsp)
movq 0x80(%r14), %r14
movq 0x168(%rsp), %rax
leaq 0x70(%rax), %rbp
cmpq %rbp, %r14
je 0x14fb7
xorl %ebx, %ebx
movq 0x20(%r14), %rdi
callq 0x7170
cmpq $0x3, %rax
jb 0x14fa3
leaq 0x20(%r14), %rsi
leaq 0x1a0(%rsp), %rdi
callq 0x1a0f0
movq %r12, 0x28(%rsp)
movq 0x20(%r14), %rsi
movq 0x28(%r14), %rdx
addq %rsi, %rdx
movq %r15, %rdi
callq 0xa916
movl $0x8, %ecx
movq %r15, %rdi
leaq 0x213bf(%rip), %rsi     # 0x3622b
xorl %edx, %edx
callq 0x7680
testq %rax, %rax
je 0x156bc
movl $0xb, %ecx
movq %r15, %rdi
leaq 0x2139d(%rip), %rsi     # 0x36228
xorl %edx, %edx
callq 0x7680
testq %rax, %rax
je 0x14f13
movl $0x3, %ecx
movq %r15, %rdi
leaq 0x21252(%rip), %rsi     # 0x360f8
xorl %edx, %edx
callq 0x7680
testq %rax, %rax
je 0x14f36
movl $0xb, %ecx
movq %r15, %rdi
leaq 0x2137a(%rip), %rsi     # 0x3623f
xorl %edx, %edx
callq 0x7680
testq %rax, %rax
je 0x14f61
movl $0x4, %ecx
movq %r15, %rdi
leaq 0x21334(%rip), %rsi     # 0x36218
xorl %edx, %edx
callq 0x7680
testq %rax, %rax
jne 0x14f4f
movl $0x4, %edx
movq %r15, %rdi
xorl %esi, %esi
leaq 0x21118(%rip), %rcx     # 0x36019
xorl %r8d, %r8d
callq 0x73e0
leaq 0xd0(%rsp), %rdi
jmp 0x14f82
movl $0xb, %edx
movq %r15, %rdi
xorl %esi, %esi
leaq 0x210f5(%rip), %rcx     # 0x36019
xorl %r8d, %r8d
callq 0x73e0
leaq 0xf0(%rsp), %rdi
jmp 0x14f82
movl $0x3, %edx
movq %r15, %rdi
xorl %esi, %esi
leaq 0x210d2(%rip), %rcx     # 0x36019
xorl %r8d, %r8d
callq 0x73e0
leaq 0x90(%rsp), %rdi
movq %r15, %rsi
callq 0x1a0f0
jmp 0x14f8c
movl $0xb, %edx
movq %r15, %rdi
xorl %esi, %esi
leaq 0x210a7(%rip), %rcx     # 0x36019
xorl %r8d, %r8d
callq 0x73e0
leaq 0xb0(%rsp), %rdi
movb $0x1, %bl
movq %r15, %rsi
callq 0x1a0f0
movq 0x28(%rsp), %rdi
cmpq %r12, %rdi
je 0x14fa3
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x7390
movq %r14, %rdi
callq 0x7270
movq %rax, %r14
cmpq %rbp, %rax
jne 0x14e21
movq 0x168(%rsp), %rbp
leaq 0x68(%rbp), %rdi
callq 0x1bb2c
movq 0x290(%rsp), %r14
movq 0x38(%r14), %rdi
leaq 0x48(%rbp), %rax
cmpq %rax, %rdi
je 0x14fe8
movq (%rax), %rsi
incq %rsi
callq 0x7390
movq (%r14), %rdi
movq 0x168(%rsp), %rax
addq $0x10, %rax
cmpq %rax, %rdi
je 0x15007
movq (%rax), %rsi
incq %rsi
callq 0x7390
movl $0x98, %esi
movq %r14, %rdi
callq 0x7390
testb $0x1, %bl
je 0x150b3
movq 0x160(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0x1a676
movq %rax, %rbx
movq %rax, %rdi
leaq 0x70(%rsp), %rsi
callq 0x1f508
movq %rax, %rdi
movq %rbx, %rsi
callq 0x7080
incq 0x10(%rbx)
movq 0x128(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0x1a676
movq %rax, %rbx
movq %r12, 0x28(%rsp)
movq %r15, %rdi
leaq 0x232f9(%rip), %rsi     # 0x3836b
leaq 0x232f3(%rip), %rdx     # 0x3836c
callq 0xa886
movl $0x30, %edi
callq 0x7380
movq %rax, %rcx
addq $0x20, %rcx
movq %rcx, 0x10(%rax)
movq 0x28(%rsp), %rdx
cmpq %r12, %rdx
je 0x15166
movq %rdx, 0x10(%rax)
movq 0x38(%rsp), %rcx
movq %rcx, 0x20(%rax)
jmp 0x1516e
movq 0x128(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0x1a676
movq %rax, %rbx
movq %rax, %rdi
leaq 0x70(%rsp), %rsi
callq 0x1f508
movq %rax, %rdi
movq %rbx, %rsi
callq 0x7080
incq 0x10(%rbx)
movq 0x160(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0x1a676
movq %rax, %rbx
movq %r12, 0x28(%rsp)
movq %r15, %rdi
leaq 0x23263(%rip), %rsi     # 0x3836b
leaq 0x2325d(%rip), %rdx     # 0x3836c
callq 0xa886
movl $0x30, %edi
callq 0x7380
movq %rax, %rcx
addq $0x20, %rcx
movq %rcx, 0x10(%rax)
movq 0x28(%rsp), %rdx
cmpq %r12, %rdx
je 0x152cc
movq %rdx, 0x10(%rax)
movq 0x38(%rsp), %rcx
movq %rcx, 0x20(%rax)
jmp 0x152d4
movq 0x70(%rsp), %rsi
movq 0x8(%rsp), %rdx
leaq 0x20ed1(%rip), %rdi     # 0x3602b
xorl %eax, %eax
callq 0x7060
jmp 0x155cf
movups (%r12), %xmm0
movups %xmm0, (%rcx)
movq 0x30(%rsp), %rcx
movq %rcx, 0x18(%rax)
movq %r12, 0x28(%rsp)
movq $0x0, 0x30(%rsp)
movb $0x0, 0x38(%rsp)
movq %rax, %rdi
movq %rbx, %rsi
callq 0x7080
incq 0x10(%rbx)
movq 0x28(%rsp), %rdi
cmpq %r12, %rdi
je 0x151b0
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x7390
movl $0x0, 0x58(%rsp)
movq 0x130(%rsp), %rdi
leaq 0x58(%rsp), %rsi
callq 0x1a6f2
movq %rax, %rdi
leaq 0x8(%rsp), %rsi
callq 0x1a756
movq %rax, %rbx
movl $0x98, %edi
callq 0x7380
movq %rax, %r14
movq %rax, %rdi
leaq 0x70(%rsp), %rsi
callq 0x19f58
movl 0x4(%rsp), %ebp
movl $0x20, %edi
callq 0x7380
movq %r14, 0x10(%rax)
movl %ebp, 0x18(%rax)
movq %rax, %rdi
movq %rbx, %rsi
callq 0x7080
incq 0x10(%rbx)
movq 0x138(%rsp), %rdi
leaq 0x58(%rsp), %rsi
callq 0x1a6f2
movq %rax, %rdi
leaq 0x8(%rsp), %rsi
callq 0x1a756
movq %rax, %r14
movl $0x98, %edi
callq 0x7380
movq %rax, %rbx
movq %r12, 0x28(%rsp)
movq %r15, %rdi
leaq 0x23115(%rip), %rsi     # 0x3836b
leaq 0x2310f(%rip), %rdx     # 0x3836c
callq 0xa886
movb $0x1, %bpl
movq %rbx, %rdi
movq %r15, %rsi
callq 0x19f58
movl 0x4(%rsp), %r12d
xorl %ebp, %ebp
movl $0x20, %edi
callq 0x7380
movq %rbx, 0x10(%rax)
movl %r12d, 0x18(%rax)
movq %rax, %rdi
movq %r14, %rsi
callq 0x7080
incq 0x10(%r14)
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %r12
cmpq %r12, %rdi
je 0x152b4
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x7390
movl 0x58(%rsp), %eax
leal 0x1(%rax), %ecx
movl %ecx, 0x58(%rsp)
testl %eax, %eax
js 0x151b8
jmp 0x1542d
movups (%r12), %xmm0
movups %xmm0, (%rcx)
movq 0x30(%rsp), %rcx
movq %rcx, 0x18(%rax)
movq %r12, 0x28(%rsp)
movq $0x0, 0x30(%rsp)
movb $0x0, 0x38(%rsp)
movq %rax, %rdi
movq %rbx, %rsi
callq 0x7080
incq 0x10(%rbx)
movq 0x28(%rsp), %rdi
cmpq %r12, %rdi
je 0x15316
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x7390
movl $0x0, 0x58(%rsp)
movq 0x138(%rsp), %rdi
leaq 0x58(%rsp), %rsi
callq 0x1a6f2
movq %rax, %rdi
leaq 0x8(%rsp), %rsi
callq 0x1a756
movq %rax, %rbx
movl $0x98, %edi
callq 0x7380
movq %rax, %r14
movq %rax, %rdi
leaq 0x70(%rsp), %rsi
callq 0x19f58
movl 0x4(%rsp), %ebp
movl $0x20, %edi
callq 0x7380
movq %r14, 0x10(%rax)
movl %ebp, 0x18(%rax)
movq %rax, %rdi
movq %rbx, %rsi
callq 0x7080
incq 0x10(%rbx)
movq 0x130(%rsp), %rdi
leaq 0x58(%rsp), %rsi
callq 0x1a6f2
movq %rax, %rdi
leaq 0x8(%rsp), %rsi
callq 0x1a756
movq %rax, %r14
movl $0x98, %edi
callq 0x7380
movq %rax, %rbx
movq %r12, 0x28(%rsp)
movq %r15, %rdi
leaq 0x22faf(%rip), %rsi     # 0x3836b
leaq 0x22fa9(%rip), %rdx     # 0x3836c
callq 0xa886
movb $0x1, %bpl
movq %rbx, %rdi
movq %r15, %rsi
callq 0x19f58
movl 0x4(%rsp), %r12d
xorl %ebp, %ebp
movl $0x20, %edi
callq 0x7380
movq %rbx, 0x10(%rax)
movl %r12d, 0x18(%rax)
movq %rax, %rdi
movq %r14, %rsi
callq 0x7080
incq 0x10(%r14)
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %r12
cmpq %r12, %rdi
je 0x1541a
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x7390
movl 0x58(%rsp), %eax
leal 0x1(%rax), %ecx
movl %ecx, 0x58(%rsp)
testl %eax, %eax
js 0x1531e
movq %r13, %rbp
movq 0x1f8(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0x1a7d2
movq %rax, %rbx
movq %rax, %rdi
leaq 0x1a0(%rsp), %rsi
callq 0x201d8
movq %rax, %rdi
movq %rbx, %rsi
callq 0x7080
incq 0x10(%rbx)
movq 0x1f0(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0x1a7d2
movq %rax, %rbx
movq %rax, %rdi
leaq 0x110(%rsp), %rsi
callq 0x201d8
movq %rax, %rdi
movq %rbx, %rsi
callq 0x7080
incq 0x10(%rbx)
movq 0x1e8(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0x1a7d2
movq %rax, %rbx
movq %rax, %rdi
leaq 0x90(%rsp), %rsi
callq 0x201d8
movq %rax, %rdi
movq %rbx, %rsi
callq 0x7080
incq 0x10(%rbx)
movq 0x1e0(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0x1a7d2
movq %rax, %rbx
movq %rax, %rdi
leaq 0xd0(%rsp), %rsi
callq 0x201d8
movq %rax, %rdi
movq %rbx, %rsi
callq 0x7080
incq 0x10(%rbx)
movq 0x1d8(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0x1a7d2
movq %rax, %rbx
movq %rax, %rdi
leaq 0xb0(%rsp), %rsi
callq 0x201d8
movq %rax, %rdi
movq %rbx, %rsi
callq 0x7080
incq 0x10(%rbx)
movq 0x1d0(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0x1a7d2
movq %rax, %rbx
movq %rax, %rdi
leaq 0xf0(%rsp), %rsi
callq 0x201d8
movq %rax, %rdi
movq %rbx, %rsi
callq 0x7080
incq 0x10(%rbx)
cmpl $0x0, 0x4(%rsp)
js 0x15581
movq 0x280(%rsp), %rdi
leaq 0x4(%rsp), %rsi
callq 0x202a6
leaq 0xd0(%rsp), %rdi
callq 0x1a61a
leaq 0xb0(%rsp), %rdi
callq 0x1a61a
leaq 0x90(%rsp), %rdi
callq 0x1a61a
leaq 0xf0(%rsp), %rdi
callq 0x1a61a
leaq 0x110(%rsp), %rdi
callq 0x1a61a
leaq 0x1a0(%rsp), %rdi
callq 0x1a61a
movq 0x298(%rsp), %rax
movq -0x18(%rax), %rax
leaq (%rsp,%rax), %rdi
addq $0x298, %rdi            # imm = 0x298
cmpl $0x0, 0x20(%rdi)
je 0x1461e
jmp 0x1445a
cmpl $0x1, %edx
jne 0x15847
movq %r14, %rbp
movq %rax, %r14
movq %rax, %rdi
callq 0x7470
leaq 0x1a0(%rsp), %rbx
movq %rbx, %rdi
movq %rax, %rsi
callq 0x7160
movq %r14, %rdi
callq 0x7150
movq %rbx, %rdi
callq 0x74d0
movq %r15, %rdi
movq %rax, %rsi
leaq 0x110(%rsp), %rdx
callq 0x9c02
movq %r15, %rdi
leaq 0x1fb06(%rip), %rsi     # 0x35152
callq 0x7100
movl %eax, %ebx
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x1566f
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x7390
movq 0x70(%rsp), %r14
leaq 0x1a0(%rsp), %rdi
callq 0x74d0
testl %ebx, %ebx
jne 0x1574b
leaq 0x20802(%rip), %rdi     # 0x35e92
movq %r14, %rsi
movq %rax, %rdx
xorl %eax, %eax
callq 0x7060
leaq 0x1a0(%rsp), %rdi
callq 0x7738
callq 0x7610
leaq 0x38(%rsp), %r12
movq %rbp, %r14
jmp 0x14d96
movl $0x8, %edi
callq 0x7180
movq %rax, %rbx
movl $0x1, %edi
callq 0x7380
movq %rax, %r14
leaq 0x209e8(%rip), %rsi     # 0x360c5
movq %rax, %rdi
callq 0xb4d0
movq %r14, (%rbx)
leaq 0x335c9(%rip), %rsi     # 0x48cb8
movq %rbx, %rdi
xorl %edx, %edx
callq 0x7660
leaq 0x2156b(%rip), %rdi     # 0x36c6b
leaq 0x2159b(%rip), %rsi     # 0x36ca2
movq %rax, %rdx
xorl %eax, %eax
callq 0x7530
leaq 0x2088e(%rip), %rdi     # 0x35fa6
callq 0x7560
leaq 0x208a9(%rip), %rbx     # 0x35fcd
jmp 0x1572d
leaq 0x208c4(%rip), %rbx     # 0x35ff1
movl $0x8, %edi
callq 0x7180
movq %rbx, (%rax)
movq 0x337f7(%rip), %rsi     # 0x48f38
movq %rax, %rdi
xorl %edx, %edx
callq 0x7660
leaq 0x20796(%rip), %rdi     # 0x35ee8
movq %r14, %rsi
movq %rax, %rdx
xorl %eax, %eax
callq 0x7060
movl $0x64, %edi
callq 0x7450
jmp 0x15847
movq %rax, %r12
leaq 0x1a0(%rsp), %rdi
callq 0x7738
callq 0x7610
jmp 0x15a11
movq %rax, %rdi
callq 0x9c3f
movq %rax, %r12
jmp 0x15a36
movq %rax, %r12
jmp 0x15a5b
movq %rax, %r12
jmp 0x15a7d
jmp 0x1580d
jmp 0x157ae
jmp 0x157ca
movq %rax, %rbx
movq 0x28(%rsp), %rdi
cmpq %r12, %rdi
je 0x157cd
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x7390
jmp 0x157cd
movq %rax, %rbx
movq %rbx, %r12
jmp 0x159c3
movq %rax, %rbx
movq 0x28(%rsp), %rdi
cmpq %r12, %rdi
je 0x157f4
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x7390
jmp 0x157f4
movq %rax, %rbx
movl $0x98, %esi
movq %r14, %rdi
callq 0x7390
movq %rbx, %r12
jmp 0x15a11
jmp 0x15847
jmp 0x15847
movq %rax, %r12
jmp 0x15a99
movq %rax, %r15
jmp 0x1583e
movq %rax, %r15
movl $0x1, %esi
movq %r14, %rdi
callq 0x7390
jmp 0x15836
jmp 0x15847
jmp 0x15905
movq %rax, %r15
movq %rbx, %rdi
callq 0x72a0
leaq 0x38(%rsp), %r12
jmp 0x158a0
jmp 0x15847
movq %rax, %r12
jmp 0x15a11
jmp 0x159c0
jmp 0x159c0
jmp 0x159c0
jmp 0x159c0
jmp 0x15867
jmp 0x15874
movq %rax, %r12
movb $0x1, %bpl
jmp 0x158e0
jmp 0x159c0
movq %rax, %r12
movl $0x98, %esi
movq %r14, %rdi
jmp 0x158f1
movq %rax, %r12
leaq 0x1a0(%rsp), %rdi
callq 0x1b980
leaq 0x28(%rsp), %rdi
callq 0x1b980
jmp 0x15908
movq %rax, %r15
movq 0x28(%rsp), %rdi
cmpq %r12, %rdi
je 0x158b7
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x7390
movq %r15, %r12
jmp 0x159c3
jmp 0x158c1
movq %rax, %r12
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x158e0
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x7390
testb %bpl, %bpl
je 0x159c3
movl $0x98, %esi
movq %rbx, %rdi
callq 0x7390
jmp 0x159c3
jmp 0x159c0
jmp 0x159c0
movq %rax, %r12
leaq 0x200(%rsp), %rdi
callq 0x1b994
leaq 0x218(%rsp), %rdi
callq 0x1b994
leaq 0x230(%rsp), %rdi
callq 0x1b994
leaq 0x248(%rsp), %rdi
callq 0x1b994
leaq 0x58(%rsp), %rdi
callq 0x1b994
leaq 0xd0(%rsp), %rdi
callq 0x1b994
leaq 0xb0(%rsp), %rbx
movq (%rbx), %rdi
cmpq %rbx, %rdi
leaq 0x90(%rsp), %r15
je 0x15980
movq (%rdi), %r14
movl $0x20, %esi
callq 0x7390
movq %r14, %rdi
cmpq %rbx, %r14
jne 0x1596b
movq 0x90(%rsp), %rdi
cmpq %r15, %rdi
je 0x159a2
movq (%rdi), %rbx
movl $0x20, %esi
callq 0x7390
movq %rbx, %rdi
cmpq %r15, %rbx
jne 0x1598d
leaq 0xf0(%rsp), %rdi
callq 0x1b9cc
leaq 0x110(%rsp), %rdi
callq 0x1b9cc
jmp 0x15a11
jmp 0x159c0
movq %rax, %r12
leaq 0xd0(%rsp), %rdi
callq 0x1a61a
leaq 0xb0(%rsp), %rdi
callq 0x1a61a
leaq 0x90(%rsp), %rdi
callq 0x1a61a
leaq 0xf0(%rsp), %rdi
callq 0x1a61a
leaq 0x110(%rsp), %rdi
callq 0x1a61a
leaq 0x1a0(%rsp), %rdi
callq 0x1a61a
movq 0x260(%rsp), %rdi
leaq 0x270(%rsp), %rax
cmpq %rax, %rdi
je 0x15a36
movq 0x270(%rsp), %rsi
incq %rsi
callq 0x7390
leaq 0x190(%rsp), %rax
movq 0x180(%rsp), %rdi
cmpq %rax, %rdi
je 0x15a5b
movq 0x190(%rsp), %rsi
incq %rsi
callq 0x7390
leaq 0x80(%rsp), %rax
movq 0x70(%rsp), %rdi
cmpq %rax, %rdi
je 0x15a7d
movq 0x80(%rsp), %rsi
incq %rsi
callq 0x7390
leaq 0x18(%rsp), %rax
movq 0x8(%rsp), %rdi
cmpq %rax, %rdi
je 0x15a99
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x7390
leaq 0x150(%rsp), %rax
movq 0x140(%rsp), %rdi
cmpq %rax, %rdi
je 0x15abe
movq 0x150(%rsp), %rsi
incq %rsi
callq 0x7390
leaq 0x298(%rsp), %rdi
callq 0x70d0
movq %r12, %rdi
callq 0x76a0
nop