// File: /workspace/github_cpp_makefile_star2_O1/richardposner[P]BioNetFit2/src/code/Model.cpp
// Function: Model::outputModelWithParams(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>>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, bool, bool, bool, bool)
void Model::outputModelWithParams(map<string, double> params, string path, string filename, string suffix, bool stopAtNetGen=false, bool onlyActions=false, bool netAndBngl=false, bool usePipe=false, bool isNetFile=false) {
	if (swarm_->options.verbosity >= 3) {
//		cout << "RAQUEL outputmodel path " << path << " filename: " << filename << endl;
	}
	//Raquel added this check step to make sure that the simulation path really exists
	if (!checkIfFileExists(path)) {
		runCommand("mkdir " + path);
	}


	if (netAndBngl) {
		// First output the .bngl file (containing only action commands)
		outputModelWithParams(params, path, filename, suffix, false, true, false, false, false);
		filename = boost::regex_replace(filename, boost::regex("bngl$"), string("net"));
		// Then output the .net file
		outputModelWithParams(params, path, filename, "", false, false, false, false, true);

		return;
	}

	// Erase file if it already exists
	string fullPath = path + filename;
	if (checkIfFileExists(fullPath)) {
		unlink(fullPath.c_str());
	}

	if (!usePipe) {
		unlink(fullPath.c_str());
		if (swarm_->options.verbosity >= 3) {
			cout << "RAQUEL outputmodel inside !usepipe " << filename  << endl;
		}
		ofstream outFile;
		outFile.open(fullPath);
		if (swarm_->options.verbosity >= 3) {
			cout << "RAQUEL outputmodel fullPath is: " << fullPath << endl;
		}
		boost::smatch matches;

		if (outFile.is_open()) {
			if (isNetFile) {
				bool inParameterBlock = true;
				int numParamsToReplace = params.size();
				int numReplacedParams = 0;
				if (swarm_->options.verbosity >= 3) {
					cout << "Raquel param size is: " << params.size() << endl;
				}
				for (auto line = netContents_.begin(); line != netContents_.end(); ++line) {
					if (*line == "end parameters" || numReplacedParams == numParamsToReplace) {
						inParameterBlock = false;
					}
					else if (inParameterBlock) {
						// Replace free param with generated param
						//double tt = 0;
						//for (auto p : params) { // TODO: Is there a faster way to do this than loop through params over and over? It's still too slow.
						for (map<string, double>::iterator p = params.begin(); p != params.end(); ++p) {
							//cout << "p is " << p.first << endl;
							//Timer tmr;
							if(boost::regex_match(*line, matches, boost::regex("\\s+\\d+\\s+(\\w+)\\s+(.+)\\s+"))) {
								//double t = tmr.elapsed();
								//cout << "Match took " << t << " seconds" << endl;
								//tt += t;
								if (matches[1] == p->first) {
									string match = p->first + "\\s+.+";
									string replacement = p->first + " " + toString(abs(p->second)) + "\n";
									*line = boost::regex_replace(*line, boost::regex(match), replacement);
									numReplacedParams++;
								}
							}
						}
						//cout << "matches took " << tt << " seconds" << endl;
					}
					outFile << *line;
				}
			}
			else {
				if (onlyActions) {
					filename = boost::regex_replace(filename, boost::regex("bngl$"), string("net"));
					string line = "readFile({file=>\"" + path + filename + "\"})\n";
					outFile << line;
				}

				for (auto line = fullContents_.begin(); line != fullContents_.end(); ++line) {
					if (onlyActions) {
						string actionLine = *line;
						if (boost::regex_search(*line, boost::regex("^\\s*simulate|^\\s*simulate_nf|^\\s*simulate_ode|^\\s*simulate_ssa|^\\s*simulate_pla|^\\s*parameter_scan|^\\s*setConcentration|^\\s*addConcentration|^\\s*saveConcentration|^\\s*resetConcentrations|^\\s*setParameter|^\\s*saveParameters|^\\s*resetParameters|^\\s*quit|^\\s*substanceUnits|^\\s*version|^\\s*setOption"))) {
							if (!suffix.empty()) {
								string suffixLine = ",suffix=>\"" + suffix + "\"})";
								actionLine = boost::regex_replace(actionLine, boost::regex("\\}\\)"), suffixLine);
							}
						}
						else {
							continue;
						}
						actionLine = actionLine + "\n";
						outFile << actionLine;
					}
					else {
						string newLine = *line;
						//Raquel fixing problem that would remove space after closing parenthesis, making the rules from example 4 not work
						string fixedLine = boost::regex_replace(newLine, boost::regex("\\)\\w"), string(") \\w"));
						newLine = fixedLine;

						bool inParameterBlock = true;
						int numReplacedParams = 0;
						int numParamsToReplace = params.size();
						// Skip line if it's empty or if it is a comment
						if (boost::regex_match(*line, boost::regex("^\\s*$")) || boost::regex_match(*line, boost::regex("^#"))) {
							continue;
						}
						// TODO: Next line is never working. Same as above for .net file?
						if (*line == "end parameters" || numReplacedParams == numParamsToReplace) {
							inParameterBlock = false;
							//cout << "out of parameter block" << endl;
						}
						if (swarm_->options.verbosity >= 9) {

							cout << *line << endl;
							cout << numReplacedParams << " " << numParamsToReplace << endl;
						}
						if (inParameterBlock) {
							// Replace free param with generated param
							if (swarm_->options.verbosity >= 9) {

								cout << "in parameter block" << endl;

							}
							if (boost::regex_search(*line, matches, boost::regex("(\\s+|=\\s*)(\\w+)__FREE__"))) {
								// Older version of C++ don't support double overload to toString, so we have to cast to long double
								if (swarm_->options.verbosity >= 9) {

									cout << "found a FP: " << matches[2] << endl;
									cout << "OPTIONS USED:" << stopAtNetGen << "," << onlyActions << "," << netAndBngl << "," << usePipe << "," << isNetFile << endl;
								}
								newLine = boost::regex_replace(*line, boost::regex("(\\w+)__FREE__"), toString(params[matches[2]]));

								if (swarm_->options.verbosity >= 9) {

									cout << "replacing with: " << params[matches[2]] << endl;
								}
								++numReplacedParams;
							}else if(boost::regex_search(*line, matches, boost::regex("\\w+__FREE__"))){
								if (swarm_->options.verbosity >= 3) {

									cout << "found a FP2: " << matches[2] << endl;
								}
								newLine = boost::regex_replace(*line, boost::regex("\\w+__FREE__"), toString(params[matches[2]]));
								if (swarm_->options.verbosity >= 3) {

									cout << "replacing with: " << params[matches[2]] << endl;
								}
							}
						}else{
							if (swarm_->options.verbosity >= 3) {

								cout << "out of parmeter block" << endl;
							}
						}
						// Add in the unique suffix
						if (!suffix.empty()) {
							if (boost::regex_search(*line, boost::regex("^\\s*simulate|^\\s*simulate_nf|^\\s*simulate_ode|^\\s*simulate_ssa|^\\s*simulate_pla|^\\s*parameter_scan"))) {
								string suffixLine = ",suffix=>\"" + suffix + "\"})";
								newLine = boost::regex_replace(*line, boost::regex("\\}\\)"), suffixLine);
								newLine = newLine + "\n";
							}
						}
						//Raquel fixed problem that made resetConcentrations and simulate commands not be separated into different lines
						char ch = newLine.back();
						if(ch!='\n'){
							newLine = newLine + "\n";
						}

						outFile << newLine;
						if (stopAtNetGen) {
							if (boost::regex_search(*line,matches,boost::regex("^generate_network"))) {
								break;
							}
						}
					}
				}
			}
			outFile.close();
		}
		else {
			swarm_->outputError("Couldn't open file '" + fullPath + "' for output");
		}
	}
	else {
		const char * fifo = path.c_str();

		int fifo_status = mkfifo(fifo, 0666);
		if (fifo_status) {
			swarm_->outputError("Couldn't create pipe '" + path + "' for output");
		}

		int fd = open(fifo, O_RDONLY);
		if (fd < 0) {
			cout << "Couldn't open " << fifo << endl;
		}

		//for (auto line : fullContents_) {
		for (vector<string>::iterator line = fullContents_.begin(); line != fullContents_.end(); ++line) {
			write(fd,line->c_str(),line->size());
		}
		close(fd);
	}
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x648, %rsp            # imm = 0x648
movl %r9d, 0x4c(%rsp)
movq %r8, 0xd0(%rsp)
movq %rcx, %r12
movq %rdx, %r13
movq %rsi, 0xa0(%rsp)
movq %rdi, %r15
leaq 0x3b8(%rsp), %r14
movq %r14, -0x10(%r14)
movq (%rdx), %rsi
movq 0x8(%rdx), %rdx
addq %rsi, %rdx
leaq 0x3a8(%rsp), %rbx
movq %rbx, %rdi
callq 0x32180
movq %rbx, %rdi
callq 0xbf2c2
movl %eax, %ebx
movq 0x3a8(%rsp), %rdi
cmpq %r14, %rdi
je 0x4ef5a
movq 0x3b8(%rsp), %rsi
incq %rsi
callq 0x229c0
testl %ebx, %ebx
jne 0x4efa1
leaq 0xa9032(%rip), %rsi     # 0xf7f97
leaq 0x3c8(%rsp), %rbx
movq %rbx, %rdi
movq %r13, %rdx
callq 0x319d8
movq %rbx, %rdi
callq 0xc038e
leaq 0x3d8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x4efa1
movq 0x3d8(%rsp), %rsi
incq %rsi
callq 0x229c0
cmpb $0x0, 0x688(%rsp)
je 0x4f2bf
movq %r15, 0xa8(%rsp)
leaq 0x418(%rsp), %rdi
movq 0xa0(%rsp), %rsi
callq 0x51a66
leaq 0x398(%rsp), %r14
movq %r14, -0x10(%r14)
movq (%r13), %rsi
movq 0x8(%r13), %rdx
addq %rsi, %rdx
leaq 0x388(%rsp), %rdi
callq 0x32180
leaq 0x378(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%r12), %rsi
movq 0x8(%r12), %rdx
addq %rsi, %rdx
leaq 0x368(%rsp), %rdi
callq 0x32180
leaq 0x358(%rsp), %rbp
movq %rbp, -0x10(%rbp)
movq 0xd0(%rsp), %rax
movq (%rax), %rsi
movq 0x8(%rax), %rdx
addq %rsi, %rdx
leaq 0x348(%rsp), %rdi
callq 0x32180
xorl %eax, %eax
leaq 0x418(%rsp), %rsi
leaq 0x388(%rsp), %rdx
leaq 0x368(%rsp), %rcx
leaq 0x348(%rsp), %r8
movq 0xa8(%rsp), %rdi
movl $0x0, %r9d
pushq %rax
pushq %rax
pushq %rax
pushq $0x1
callq 0x4eede
addq $0x20, %rsp
movq 0x348(%rsp), %rdi
cmpq %rbp, %rdi
je 0x4f09b
movq 0x358(%rsp), %rsi
incq %rsi
callq 0x229c0
movq 0x368(%rsp), %rdi
cmpq %r15, %rdi
je 0x4f0b8
movq 0x378(%rsp), %rsi
incq %rsi
callq 0x229c0
movq 0x388(%rsp), %rdi
cmpq %r14, %rdi
je 0x4f0d5
movq 0x398(%rsp), %rsi
incq %rsi
callq 0x229c0
leaq 0x418(%rsp), %rdi
callq 0x4a694
leaq 0xa8eb5(%rip), %rsi     # 0xf7f9e
leaq 0x50(%rsp), %rdi
xorl %edx, %edx
callq 0x31902
leaq 0x338(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0xa993e(%rip), %rsi     # 0xf8a46
leaq 0xa993a(%rip), %rdx     # 0xf8a49
leaq 0x328(%rsp), %rdi
callq 0x32210
leaq 0x448(%rsp), %rdi
leaq 0x50(%rsp), %rdx
leaq 0x328(%rsp), %rcx
movq %r12, %rsi
xorl %r8d, %r8d
callq 0x4a2c9
leaq 0x448(%rsp), %rbx
movq %r12, %rdi
movq %rbx, %rsi
callq 0x22bb0
movq (%rbx), %rdi
leaq 0x458(%rsp), %rax
cmpq %rax, %rdi
je 0x4f16f
movq 0x458(%rsp), %rsi
incq %rsi
callq 0x229c0
movq 0x328(%rsp), %rdi
cmpq %r14, %rdi
je 0x4f18c
movq 0x338(%rsp), %rsi
incq %rsi
callq 0x229c0
leaq 0x58(%rsp), %rdi
callq 0x322a0
leaq 0x3e8(%rsp), %rdi
movq 0xa0(%rsp), %rsi
callq 0x51a66
leaq 0x318(%rsp), %r14
movq %r14, -0x10(%r14)
movq (%r13), %rsi
movq 0x8(%r13), %rdx
addq %rsi, %rdx
leaq 0x308(%rsp), %rdi
callq 0x32180
leaq 0x2f8(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%r12), %rsi
movq 0x8(%r12), %rdx
addq %rsi, %rdx
leaq 0x2e8(%rsp), %rdi
callq 0x32180
leaq 0x2d8(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0xa7ab9(%rip), %rdx     # 0xf6cc1
leaq 0x2c8(%rsp), %rdi
movq %rdx, %rsi
callq 0x32210
xorl %eax, %eax
leaq 0x3e8(%rsp), %rsi
leaq 0x308(%rsp), %rdx
leaq 0x2e8(%rsp), %rcx
leaq 0x2c8(%rsp), %r8
movq 0xa8(%rsp), %rdi
movl $0x0, %r9d
pushq $0x1
pushq %rax
pushq %rax
pushq %rax
callq 0x4eede
addq $0x20, %rsp
movq 0x2c8(%rsp), %rdi
cmpq %r12, %rdi
je 0x4f273
movq 0x2d8(%rsp), %rsi
incq %rsi
callq 0x229c0
movq 0x2e8(%rsp), %rdi
cmpq %r15, %rdi
je 0x4f290
movq 0x2f8(%rsp), %rsi
incq %rsi
callq 0x229c0
movq 0x308(%rsp), %rdi
cmpq %r14, %rdi
je 0x4f2ad
movq 0x318(%rsp), %rsi
incq %rsi
callq 0x229c0
leaq 0x3e8(%rsp), %rdi
callq 0x4a694
jmp 0x50e1c
leaq 0x110(%rsp), %rbx
movq %rbx, %rdi
movq %r13, %rsi
movq %r12, %rdx
callq 0x33608
leaq 0x2b8(%rsp), %r14
movq %r14, -0x10(%r14)
movq (%rbx), %rsi
movq 0x8(%rbx), %rdx
addq %rsi, %rdx
leaq 0x2a8(%rsp), %rdi
callq 0x32180
leaq 0x2a8(%rsp), %rdi
callq 0xbf2c2
movl %eax, %ebx
movq 0x2a8(%rsp), %rdi
cmpq %r14, %rdi
je 0x4f324
movq 0x2b8(%rsp), %rsi
incq %rsi
callq 0x229c0
movb 0x690(%rsp), %bpl
testl %ebx, %ebx
je 0x4f33d
movq 0x110(%rsp), %rdi
callq 0x22410
testb %bpl, %bpl
je 0x4f3c8
movq (%r13), %rbx
movq %rbx, %rdi
movl $0x1b6, %esi            # imm = 0x1B6
callq 0x22150
testl %eax, %eax
je 0x4fc1a
movq 0x60(%r15), %r14
leaq 0xa8ece(%rip), %rsi     # 0xf8238
leaq 0x448(%rsp), %rdi
movq %r13, %rdx
callq 0x319d8
movq %r15, %r12
leaq 0xa8ea7(%rip), %rsi     # 0xf822b
leaq 0x448(%rsp), %rdi
callq 0x233b0
leaq 0x1f8(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x4fbab
movq %rdx, 0x1e8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x1f8(%rsp)
jmp 0x4fbb2
movq 0x110(%rsp), %rdi
callq 0x22410
movq 0x60(%r15), %rax
cmpl $0x3, 0x1614(%rax)
jb 0x4f439
movq 0x126ba7(%rip), %rdi    # 0x175f90
leaq 0xa8bb4(%rip), %rsi     # 0xf7fa4
movl $0x23, %edx
callq 0x22ab0
movq (%r12), %rsi
movq 0x8(%r12), %rdx
movq 0x126b86(%rip), %rdi    # 0x175f90
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
leaq 0x448(%rsp), %rdi
callq 0x23190
leaq 0x448(%rsp), %rdi
leaq 0x110(%rsp), %rsi
movl $0x10, %edx
callq 0x22420
movq 0x60(%r15), %rax
cmpl $0x3, 0x1614(%rax)
jb 0x4f4cb
movq 0x126b1c(%rip), %rdi    # 0x175f90
leaq 0xa8b4d(%rip), %rsi     # 0xf7fc8
movl $0x20, %edx
callq 0x22ab0
movq 0x110(%rsp), %rsi
movq 0x118(%rsp), %rdx
movq 0x126af4(%rip), %rdi    # 0x175f90
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
xorps %xmm0, %xmm0
movaps %xmm0, 0x1b0(%rsp)
movaps %xmm0, 0x1a0(%rsp)
movaps %xmm0, 0x190(%rsp)
movb $0x0, 0x1c0(%rsp)
movups %xmm0, 0x1c8(%rsp)
movl $0x0, 0x1d8(%rsp)
movb $0x1, 0x1dc(%rsp)
leaq 0x4b8(%rsp), %rdi
callq 0x221e0
testb %al, %al
je 0x4fa32
cmpb $0x0, 0x698(%rsp)
movq %r15, 0xa8(%rsp)
je 0x4fa97
movq 0xa0(%rsp), %rax
movl 0x28(%rax), %eax
movl %eax, 0x10c(%rsp)
movq 0x60(%r15), %rax
cmpl $0x3, 0x1614(%rax)
jb 0x4f5ad
movq 0x126a36(%rip), %rdi    # 0x175f90
leaq 0xa8a88(%rip), %rsi     # 0xf7fe9
movl $0x16, %edx
callq 0x22ab0
movq 0xa0(%rsp), %rax
movq 0x28(%rax), %rsi
movq 0x126a12(%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 %r15, %rax
movq 0xa0(%r15), %r15
cmpq 0xa8(%rax), %r15
je 0x50da9
movq 0xa0(%rsp), %rax
leaq 0x8(%rax), %r13
movq $0x0, 0xd0(%rsp)
movb $0x1, %al
movl %eax, 0x4c(%rsp)
leaq 0x50(%rsp), %rbp
movq %r15, %rdi
leaq 0xa8a0f(%rip), %rsi     # 0xf8000
callq 0x22250
testl %eax, %eax
je 0x4f9f8
movq 0xd0(%rsp), %rax
cmpl 0x10c(%rsp), %eax
je 0x4f9f8
testb $0x1, 0x4c(%rsp)
je 0x4fa00
movq 0xa0(%rsp), %rax
movq 0x18(%rax), %rbx
cmpq %r13, %rbx
je 0x4fa00
movq %rbp, %rdi
leaq 0xa89d2(%rip), %rsi     # 0xf800f
xorl %edx, %edx
callq 0x31902
movq (%r15), %rdi
movq 0x8(%r15), %rsi
addq %rdi, %rsi
leaq 0x190(%rsp), %rdx
movq %rbp, %rcx
xorl %r8d, %r8d
callq 0x52123
movl %eax, %r12d
leaq 0x58(%rsp), %rdi
callq 0x322a0
testb %r12b, %r12b
je 0x4f9e2
leaq 0x190(%rsp), %rdi
movl $0x1, %esi
callq 0x3194a
movq %rbp, %rdi
movq %rax, %rsi
callq 0x5161a
leaq 0x20(%rbx), %rsi
movq %rbp, %rdi
callq 0x22060
movl %eax, %r12d
movq 0x50(%rsp), %rdi
leaq 0x60(%rsp), %rax
cmpq %rax, %rdi
je 0x4f6bf
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x229c0
testl %r12d, %r12d
jne 0x4f9e2
leaq 0x60(%rsp), %rax
movq %rax, 0x50(%rsp)
movq 0x20(%rbx), %rsi
movq 0x28(%rbx), %rdx
addq %rsi, %rdx
movq %rbp, %rdi
callq 0x32180
movq %rbp, %rdi
leaq 0xa8939(%rip), %rsi     # 0xf8028
callq 0x233b0
leaq 0x18(%rsp), %rax
movq %rax, 0x8(%rsp)
movq 0x20(%rbx), %rsi
movq 0x28(%rbx), %rdx
addq %rsi, %rdx
leaq 0x8(%rsp), %r12
movq %r12, %rdi
callq 0x32180
movq %r12, %rdi
leaq 0xb1d1d(%rip), %rsi     # 0x10143d
callq 0x233b0
movsd 0x40(%rbx), %xmm0
andps 0xa856f(%rip), %xmm0    # 0xf7ca0
leaq 0xe8(%rsp), %rdi
callq 0xc0446
movq 0x8(%rsp), %rcx
movl $0xf, %esi
leaq 0x18(%rsp), %rax
cmpq %rax, %rcx
je 0x4f757
movq 0x18(%rsp), %rsi
movq 0x10(%rsp), %r8
movq 0xf0(%rsp), %rdx
leaq (%rdx,%r8), %rax
cmpq %rsi, %rax
jbe 0x4f791
movl $0xf, %esi
leaq 0xf8(%rsp), %rdi
cmpq %rdi, 0xe8(%rsp)
je 0x4f78c
movq 0xf8(%rsp), %rsi
cmpq %rsi, %rax
jbe 0x4f7a5
movq 0xe8(%rsp), %rsi
leaq 0x8(%rsp), %rdi
callq 0x222b0
jmp 0x4f7b6
leaq 0xe8(%rsp), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x22a80
leaq 0xc0(%rsp), %rsi
movq %rsi, 0xb0(%rsp)
movq (%rax), %rdx
leaq 0x10(%rax), %rcx
cmpq %rcx, %rdx
je 0x4f7e7
movq %rdx, 0xb0(%rsp)
movq (%rcx), %rdx
movq %rdx, 0xc0(%rsp)
jmp 0x4f7ed
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq %rax, %rdx
addq $0x8, %rdx
movq 0x8(%rax), %rsi
movq %rsi, 0xb8(%rsp)
movq %rcx, (%rax)
movq $0x0, (%rdx)
movb $0x0, (%rcx)
leaq 0xb0(%rsp), %rdi
leaq 0xa9338(%rip), %rsi     # 0xf8b54
callq 0x233b0
leaq 0x38(%rsp), %rsi
movq %rsi, 0x28(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x4f849
movq %rdx, 0x28(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x38(%rsp)
jmp 0x4f84f
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
leaq 0x8(%rsp), %rsi
movq 0x8(%rax), %rdx
movq %rdx, 0x30(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0xb0(%rsp), %rdi
leaq 0xc0(%rsp), %rax
cmpq %rax, %rdi
je 0x4f896
movq 0xc0(%rsp), %rsi
incq %rsi
callq 0x229c0
leaq 0x8(%rsp), %rsi
movq 0xe8(%rsp), %rdi
leaq 0xf8(%rsp), %rax
cmpq %rax, %rdi
je 0x4f8c0
movq 0xf8(%rsp), %rsi
incq %rsi
callq 0x229c0
leaq 0x8(%rsp), %rsi
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x4f8e1
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x229c0
leaq 0x8(%rsp), %rsi
movq %rsi, %rdi
movq %rbp, %rsi
xorl %edx, %edx
callq 0x518d6
leaq 0x180(%rsp), %rax
movq %rax, 0x170(%rsp)
movq 0x28(%rsp), %rsi
movq 0x30(%rsp), %rdx
addq %rsi, %rdx
leaq 0x170(%rsp), %r14
movq %r14, %rdi
callq 0x32180
leaq 0xb0(%rsp), %r12
movq %r12, %rdi
movq %r15, %rsi
leaq 0x8(%rsp), %rdx
movq %r14, %rcx
xorl %r8d, %r8d
callq 0x4a2c9
movq %r15, %rdi
movq %r12, %rsi
callq 0x22bb0
movq 0xb0(%rsp), %rdi
leaq 0xc0(%rsp), %rax
cmpq %rax, %rdi
je 0x4f969
movq 0xc0(%rsp), %rsi
incq %rsi
callq 0x229c0
movq 0x170(%rsp), %rdi
leaq 0x180(%rsp), %rax
cmpq %rax, %rdi
je 0x4f98e
movq 0x180(%rsp), %rsi
incq %rsi
callq 0x229c0
leaq 0x10(%rsp), %rdi
callq 0x322a0
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x4f9b4
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x229c0
movq 0x50(%rsp), %rdi
leaq 0x60(%rsp), %rax
cmpq %rax, %rdi
je 0x4f9d0
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x229c0
movq 0xd0(%rsp), %rax
incl %eax
movq %rax, 0xd0(%rsp)
movq %rbx, %rdi
callq 0x22670
movq %rax, %rbx
cmpq %r13, %rax
jne 0x4f633
jmp 0x4fa00
movl $0x0, 0x4c(%rsp)
movq (%r15), %rsi
movq 0x8(%r15), %rdx
leaq 0x448(%rsp), %rdi
callq 0x22ab0
addq $0x20, %r15
movq 0xa8(%rsp), %rax
cmpq 0xa8(%rax), %r15
jne 0x4f5e7
jmp 0x50da9
movq 0x60(%r15), %rbx
leaq 0xa87d9(%rip), %rsi     # 0xf8216
leaq 0x50(%rsp), %rdi
leaq 0x110(%rsp), %rdx
callq 0x319d8
leaq 0xa87d5(%rip), %rsi     # 0xf822b
leaq 0x50(%rsp), %rdi
callq 0x233b0
leaq 0x218(%rsp), %r14
movq %r14, -0x10(%r14)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x4fc73
movq %rdx, 0x208(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x218(%rsp)
jmp 0x4fc7a
cmpb $0x0, 0x680(%rsp)
je 0x4fe2f
movq %r15, %rbp
leaq 0xa84ef(%rip), %rsi     # 0xf7f9e
leaq 0x28(%rsp), %rdi
xorl %edx, %edx
callq 0x31902
leaq 0x298(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0xa8f78(%rip), %rsi     # 0xf8a46
leaq 0xa8f74(%rip), %rdx     # 0xf8a49
leaq 0x288(%rsp), %rdi
callq 0x32210
leaq 0x50(%rsp), %rdi
leaq 0x28(%rsp), %rdx
leaq 0x288(%rsp), %rcx
movq %r12, %rsi
xorl %r8d, %r8d
callq 0x4a2c9
leaq 0x50(%rsp), %rbx
movq %r12, %rdi
movq %rbx, %rsi
callq 0x22bb0
movq (%rbx), %rdi
leaq 0x60(%rsp), %r14
cmpq %r14, %rdi
je 0x4fb29
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x229c0
movq 0x288(%rsp), %rdi
cmpq %r15, %rdi
je 0x4fb46
movq 0x298(%rsp), %rsi
incq %rsi
callq 0x229c0
leaq 0x30(%rsp), %rdi
callq 0x322a0
leaq 0xa84d7(%rip), %rsi     # 0xf802e
leaq 0xb0(%rsp), %rdi
movq %r13, %rdx
callq 0x319d8
movq (%r12), %rsi
movq 0x8(%r12), %rdx
leaq 0xb0(%rsp), %rdi
callq 0x222b0
leaq 0x38(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x4fd55
movq %rdx, 0x28(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x38(%rsp)
jmp 0x4fd5c
movups (%rcx), %xmm0
movups %xmm0, (%r15)
movq 0x8(%rax), %rdx
leaq 0x1e8(%rsp), %rsi
movq %rdx, 0x8(%rsi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq %r14, %rdi
callq 0x78b66
movq 0x1e8(%rsp), %rdi
cmpq %r15, %rdi
je 0x4fbf6
movq 0x1f8(%rsp), %rsi
incq %rsi
callq 0x229c0
leaq 0x458(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
movq %r12, %r15
je 0x4fc1a
movq 0x458(%rsp), %rsi
incq %rsi
callq 0x229c0
movq %rbx, %rdi
xorl %esi, %esi
xorl %eax, %eax
callq 0x226e0
movl %eax, %ebp
testl %eax, %eax
jns 0x4fd25
movq 0x126359(%rip), %r14    # 0x175f90
leaq 0xafb3d(%rip), %rsi     # 0xff77b
movl $0xe, %edx
movq %r14, %rdi
callq 0x22ab0
testq %rbx, %rbx
je 0x4fce2
movq %rbx, %rdi
callq 0x223a0
movq 0x12632d(%rip), %rdi    # 0x175f90
movq %rbx, %rsi
movq %rax, %rdx
callq 0x22ab0
jmp 0x4fcfa
movups (%rcx), %xmm0
movups %xmm0, (%r14)
movq 0x8(%rax), %rdx
leaq 0x208(%rsp), %rsi
movq %rdx, 0x8(%rsi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq %rbx, %rdi
callq 0x78b66
movq 0x208(%rsp), %rdi
cmpq %r14, %rdi
je 0x4fcbe
movq 0x218(%rsp), %rsi
incq %rsi
callq 0x229c0
leaq 0x60(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x50db6
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x229c0
jmp 0x50db6
movq (%r14), %rax
movq -0x18(%rax), %rax
leaq (%r14,%rax), %rdi
movl 0x20(%r14,%rax), %esi
orl $0x1, %esi
callq 0x23180
movq (%r14), %rax
addq -0x18(%rax), %r14
movq %r14, %rdi
movl $0xa, %esi
callq 0x22940
movsbl %al, %esi
movq 0x126278(%rip), %rdi    # 0x175f90
callq 0x22050
movq %rax, %rdi
callq 0x22660
movq 0x88(%r15), %rbx
cmpq 0x90(%r15), %rbx
je 0x4fd49
movq (%rbx), %rsi
movq 0x8(%rbx), %rdx
movl %ebp, %edi
callq 0x222f0
addq $0x20, %rbx
jmp 0x4fd2c
movl %ebp, %edi
callq 0x233e0
jmp 0x50dfb
movups (%rcx), %xmm0
movups %xmm0, (%r15)
movq 0x8(%rax), %rdx
leaq 0x28(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0xa82c1(%rip), %rsi     # 0xf8040
callq 0x233b0
movq %r14, 0x50(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x4fda7
movq %rdx, 0x50(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x60(%rsp)
jmp 0x4fdae
movups (%rcx), %xmm0
movups %xmm0, (%r14)
movq 0x8(%rax), %rdx
movq %rdx, 0x58(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x28(%rsp), %rdi
cmpq %r15, %rdi
je 0x4fddd
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x229c0
leaq 0xc0(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
movq %rbp, %r15
je 0x4fe01
movq 0xc0(%rsp), %rsi
incq %rsi
callq 0x229c0
movq 0x50(%rsp), %rsi
movq 0x58(%rsp), %rdx
leaq 0x448(%rsp), %rdi
callq 0x22ab0
movq 0x50(%rsp), %rdi
cmpq %r14, %rdi
je 0x4fe2f
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x229c0
movq 0x88(%r15), %r12
cmpq 0x90(%r15), %r12
je 0x50da9
leaq 0x38(%rsp), %r15
leaq 0x238(%rsp), %r13
leaq 0x50(%rsp), %rbp
cmpb $0x0, 0x680(%rsp)
je 0x4ff2c
leaq 0x60(%rsp), %rax
movq %rax, 0x50(%rsp)
movq (%r12), %rsi
movq 0x8(%r12), %rdx
addq %rsi, %rdx
movq %rbp, %rdi
callq 0x32180
leaq 0x28(%rsp), %rbx
movq %rbx, %rdi
leaq 0xa81b5(%rip), %rsi     # 0xf8045
xorl %edx, %edx
callq 0x31902
movq (%r12), %rdi
movq 0x8(%r12), %rsi
addq %rdi, %rsi
movq %rbx, %rdx
xorl %ecx, %ecx
callq 0x47067
leaq 0xb0(%rsp), %r14
movl %eax, %ebx
leaq 0x30(%rsp), %rdi
callq 0x322a0
testb %bl, %bl
je 0x50703
movq 0xd0(%rsp), %rax
cmpq $0x0, 0x8(%rax)
je 0x5069c
movq %r14, %rdi
leaq 0xa8288(%rip), %rsi     # 0xf816e
movq 0xd0(%rsp), %rdx
callq 0x319d8
movq %r14, %rdi
leaq 0xa827c(%rip), %rsi     # 0xf8179
callq 0x233b0
movq %r15, 0x28(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x5058c
movq %rdx, 0x28(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x38(%rsp)
jmp 0x50593
movq %r15, 0x28(%rsp)
movq (%r12), %rsi
movq 0x8(%r12), %rdx
addq %rsi, %rdx
leaq 0x28(%rsp), %rdi
callq 0x32180
movq %rbp, %rdi
leaq 0xa8231(%rip), %rsi     # 0xf8182
xorl %edx, %edx
callq 0x31902
leaq 0xb0(%rsp), %rbx
leaq 0x228(%rsp), %r14
movq %r13, 0x228(%rsp)
movq %r14, %rdi
leaq 0xa820d(%rip), %rsi     # 0xf8187
leaq 0xa820a(%rip), %rdx     # 0xf818b
callq 0x32210
movq %rbx, %rdi
leaq 0x28(%rsp), %rsi
movq %rbp, %rdx
movq %r14, %rcx
xorl %r8d, %r8d
callq 0x4a2c9
movq 0x228(%rsp), %rdi
cmpq %r13, %rdi
je 0x4ffb9
movq 0x238(%rsp), %rsi
incq %rsi
callq 0x229c0
leaq 0x58(%rsp), %rdi
callq 0x322a0
leaq 0x28(%rsp), %rdi
movq %rbx, %rsi
callq 0x22500
movq 0xa0(%rsp), %rax
movl 0x28(%rax), %ebx
leaq 0x8(%rsp), %r14
movq %r14, %rdi
leaq 0xa81a2(%rip), %rsi     # 0xf818c
xorl %edx, %edx
callq 0x31902
xorps %xmm0, %xmm0
movaps %xmm0, 0x70(%rsp)
movaps %xmm0, 0x60(%rsp)
movaps %xmm0, 0x50(%rsp)
movb $0x0, 0x80(%rsp)
leaq 0x58(%rsp), %rax
movups %xmm0, 0x30(%rax)
movl $0x0, 0x40(%rax)
movb $0x1, 0x9c(%rsp)
movq (%r12), %rdi
movq 0x8(%r12), %rsi
addq %rdi, %rsi
movq %rbp, %rdx
movq %r14, %rcx
movl $0x400, %r8d            # imm = 0x400
callq 0x52123
movl %eax, %r14d
movq %rbp, %rdi
callq 0x32024
movb $0x1, %r13b
testb %r14b, %r14b
jne 0x500c6
leaq 0xe8(%rsp), %r13
movq %r13, %rdi
leaq 0xa812d(%rip), %rsi     # 0xf8192
xorl %edx, %edx
callq 0x31902
xorps %xmm0, %xmm0
movaps %xmm0, 0x70(%rsp)
movaps %xmm0, 0x60(%rsp)
movaps %xmm0, 0x50(%rsp)
movb $0x0, 0x80(%rsp)
leaq 0x58(%rsp), %rax
movups %xmm0, 0x30(%rax)
movl $0x0, 0x40(%rax)
movb $0x1, 0x9c(%rsp)
movq (%r12), %rdi
movq 0x8(%r12), %rsi
addq %rdi, %rsi
movq %rbp, %rdx
movq %r13, %rcx
movl $0x400, %r8d            # imm = 0x400
callq 0x52123
movl %eax, %r13d
movq %rbp, %rdi
callq 0x32024
testb %r14b, %r14b
jne 0x500d8
leaq 0xf0(%rsp), %rdi
callq 0x322a0
leaq 0x10(%rsp), %rdi
callq 0x322a0
movl $0xa, %r14d
testb %r13b, %r13b
jne 0x50d41
movq %r12, %rdi
leaq 0xa7f05(%rip), %rsi     # 0xf8000
callq 0x22250
testl %eax, %eax
setne %r13b
testl %ebx, %ebx
setne %r15b
movq 0xa8(%rsp), %rax
movq 0x60(%rax), %rax
cmpl $0x8, 0x1614(%rax)
jbe 0x501bd
movq (%r12), %rsi
movq 0x8(%r12), %rdx
movq 0x125e5b(%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 0x125e25(%rip), %rdi    # 0x175f90
xorl %esi, %esi
callq 0x231e0
movq %rax, %r14
movl $0x1, %edx
movq %rax, %rdi
leaq 0xb12b9(%rip), %rsi     # 0x10143d
callq 0x22ab0
movq %r14, %rdi
movl %ebx, %esi
callq 0x231e0
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 0xa8(%rsp), %rax
movq 0x60(%rax), %rax
movl 0x1614(%rax), %eax
andb %r13b, %r15b
je 0x5041b
cmpl $0x9, %eax
jb 0x50227
movl $0x12, %edx
movq 0x125da7(%rip), %rdi    # 0x175f90
leaq 0xa7fa5(%rip), %rsi     # 0xf8195
callq 0x22ab0
movq 0x125d94(%rip), %rcx    # 0x175f90
movq (%rcx), %rax
movq -0x18(%rax), %rdi
addq %rcx, %rdi
movl $0xa, %esi
callq 0x22940
movsbl %al, %esi
movq 0x125d76(%rip), %rdi    # 0x175f90
callq 0x22050
movq %rax, %rdi
callq 0x22660
movq %rbp, %rdi
leaq 0xa7c20(%rip), %rsi     # 0xf7e51
xorl %edx, %edx
callq 0x31902
movq (%r12), %rdi
movq 0x8(%r12), %rsi
addq %rdi, %rsi
leaq 0x190(%rsp), %rdx
movq %rbp, %rcx
xorl %r8d, %r8d
movq %rdi, %r9
callq 0x404be
movq 0xa8(%rsp), %r14
movl %eax, %ebx
leaq 0x58(%rsp), %rdi
callq 0x322a0
testb %bl, %bl
je 0x50473
movq 0x60(%r14), %rax
cmpl $0x9, 0x1614(%rax)
jb 0x503c1
movl $0xc, %edx
movq 0x125cfd(%rip), %rdi    # 0x175f90
leaq 0xa7f0e(%rip), %rsi     # 0xf81a8
callq 0x22ab0
leaq 0x190(%rsp), %rdi
movl $0x2, %esi
callq 0x3194a
movq 0x125cd8(%rip), %rdi    # 0x175f90
movq %rax, %rsi
callq 0x51860
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 $0xd, %edx
movq 0x125c9a(%rip), %rdi    # 0x175f90
leaq 0xa7eb8(%rip), %rsi     # 0xf81b5
callq 0x22ab0
movzbl 0x4c(%rsp), %esi
movq 0x125c82(%rip), %rdi    # 0x175f90
callq 0x230e0
movq %rax, %rbx
movl $0x1, %edx
movq %rax, %rdi
leaq 0xa7aeb(%rip), %rsi     # 0xf7e10
callq 0x22ab0
movq %rbx, %rdi
xorl %esi, %esi
callq 0x230e0
movq %rax, %rbx
movl $0x1, %edx
movq %rax, %rdi
leaq 0xa7aca(%rip), %rsi     # 0xf7e10
callq 0x22ab0
movq %rbx, %rdi
xorl %esi, %esi
callq 0x230e0
movq %rax, %rbx
movl $0x1, %edx
movq %rax, %rdi
leaq 0xa7aa9(%rip), %rsi     # 0xf7e10
callq 0x22ab0
movq %rbx, %rdi
xorl %esi, %esi
callq 0x230e0
movq %rax, %rbx
movl $0x1, %edx
movq %rax, %rdi
leaq 0xa7a88(%rip), %rsi     # 0xf7e10
callq 0x22ab0
movq %rbx, %rdi
xorl %esi, %esi
callq 0x230e0
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 0xd8(%rsp), %rdi
leaq 0xa7a8b(%rip), %rsi     # 0xf7e5b
xorl %edx, %edx
callq 0x31902
leaq 0x190(%rsp), %rdi
movl $0x2, %esi
callq 0x3194a
movq 0xa8(%rsp), %rbx
cmpb $0x1, 0x10(%rax)
jne 0x50728
movq (%rax), %rsi
movq 0x8(%rax), %rdx
leaq 0x18(%rsp), %rax
movq %rax, 0x8(%rsp)
leaq 0x8(%rsp), %rdi
callq 0x45c1c
jmp 0x50740
cmpl $0x3, %eax
jb 0x50a65
movl $0x15, %edx
movq 0x125b60(%rip), %rdi    # 0x175f90
leaq 0xa7db7(%rip), %rsi     # 0xf81ee
callq 0x22ab0
movq 0x125b4d(%rip), %rcx    # 0x175f90
movq (%rcx), %rax
movq -0x18(%rax), %rdi
addq %rcx, %rdi
movl $0xa, %esi
callq 0x22940
movsbl %al, %esi
movq 0x125b2f(%rip), %rdi    # 0x175f90
callq 0x22050
movq %rax, %rdi
callq 0x22660
jmp 0x50a65
movq %rbp, %rdi
leaq 0xa7d57(%rip), %rsi     # 0xf81d4
xorl %edx, %edx
callq 0x31902
movq (%r12), %rdi
movq 0x8(%r12), %rsi
addq %rdi, %rsi
leaq 0x190(%rsp), %rdx
movq %rbp, %rcx
xorl %r8d, %r8d
movq %rdi, %r9
callq 0x404be
movl %eax, %ebx
leaq 0x58(%rsp), %rdi
callq 0x322a0
testb %bl, %bl
je 0x50a65
movq 0xa8(%rsp), %rax
movq 0x60(%rax), %rax
cmpl $0x3, 0x1614(%rax)
jb 0x50532
movl $0xd, %edx
movq 0x125ab5(%rip), %rdi    # 0x175f90
leaq 0xa7cfe(%rip), %rsi     # 0xf81e0
callq 0x22ab0
leaq 0x190(%rsp), %rdi
movl $0x2, %esi
callq 0x3194a
movq 0x125a90(%rip), %rdi    # 0x175f90
movq %rax, %rsi
callq 0x51860
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 0xd8(%rsp), %rdi
leaq 0xa7c93(%rip), %rsi     # 0xf81d4
xorl %edx, %edx
callq 0x31902
leaq 0x190(%rsp), %rdi
movl $0x2, %esi
callq 0x3194a
movq 0xa8(%rsp), %rbx
cmpb $0x1, 0x10(%rax)
jne 0x50859
movq (%rax), %rsi
movq 0x8(%rax), %rdx
leaq 0x18(%rsp), %rax
movq %rax, 0x8(%rsp)
leaq 0x8(%rsp), %rdi
callq 0x45c1c
jmp 0x50871
movups (%rcx), %xmm0
movups %xmm0, (%r15)
movq 0x8(%rax), %rdx
movq %rdx, 0x30(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0xb0(%rsp), %rdi
leaq 0xc0(%rsp), %rax
cmpq %rax, %rdi
je 0x505d0
movq 0xc0(%rsp), %rsi
incq %rsi
callq 0x229c0
leaq 0x8(%rsp), %rdi
leaq 0xa7ba1(%rip), %rsi     # 0xf817d
xorl %edx, %edx
callq 0x31902
leaq 0x160(%rsp), %rax
movq %rax, 0x150(%rsp)
movq 0x28(%rsp), %rsi
movq 0x30(%rsp), %rdx
addq %rsi, %rdx
leaq 0x150(%rsp), %rbx
movq %rbx, %rdi
callq 0x32180
movq %r14, %rdi
movq %rbp, %rsi
leaq 0x8(%rsp), %rdx
movq %rbx, %rcx
xorl %r8d, %r8d
callq 0x4a2c9
movq %rbp, %rdi
movq %r14, %rsi
callq 0x22bb0
movq 0xb0(%rsp), %rdi
leaq 0xc0(%rsp), %rax
cmpq %rax, %rdi
je 0x50656
movq 0xc0(%rsp), %rsi
incq %rsi
callq 0x229c0
movq 0x150(%rsp), %rdi
leaq 0x160(%rsp), %rax
cmpq %rax, %rdi
je 0x5067b
movq 0x160(%rsp), %rsi
incq %rsi
callq 0x229c0
leaq 0x10(%rsp), %rdi
callq 0x322a0
movq 0x28(%rsp), %rdi
cmpq %r15, %rdi
je 0x5069c
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x229c0
movq %r15, 0x28(%rsp)
movq 0x50(%rsp), %rsi
movq 0x58(%rsp), %rdx
addq %rsi, %rdx
leaq 0x28(%rsp), %rbx
movq %rbx, %rdi
callq 0x32180
movq %rbx, %rdi
leaq 0xa848f(%rip), %rsi     # 0xf8b54
callq 0x233b0
movq %rbp, %rdi
movq %rbx, %rsi
callq 0x22bb0
movq 0x28(%rsp), %rdi
cmpq %r15, %rdi
je 0x506ec
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x229c0
movq 0x50(%rsp), %rsi
movq 0x58(%rsp), %rdx
leaq 0x448(%rsp), %rdi
callq 0x22ab0
movq 0x50(%rsp), %rdi
leaq 0x60(%rsp), %rax
cmpq %rax, %rdi
je 0x50d90
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x229c0
jmp 0x50d90
leaq 0x18(%rsp), %rax
movq %rax, 0x8(%rsp)
movq $0x0, 0x10(%rsp)
movb $0x0, 0x18(%rsp)
movq 0xa0(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0x51916
leaq 0x268(%rsp), %r14
movsd (%rax), %xmm0
movq %r14, %rdi
callq 0xc0446
movq %rbp, %rdi
movq %r12, %rsi
leaq 0xd8(%rsp), %rdx
movq %r14, %rcx
xorl %r8d, %r8d
callq 0x4a2c9
leaq 0x28(%rsp), %rdi
movq %rbp, %rsi
callq 0x22bb0
movq 0x50(%rsp), %rdi
leaq 0x60(%rsp), %rax
cmpq %rax, %rdi
je 0x507a8
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x229c0
movq 0x268(%rsp), %rdi
leaq 0x278(%rsp), %rax
cmpq %rax, %rdi
je 0x507cd
movq 0x278(%rsp), %rsi
incq %rsi
callq 0x229c0
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x507e9
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x229c0
leaq 0xe0(%rsp), %rdi
callq 0x322a0
movq 0x60(%rbx), %rax
cmpl $0x9, 0x1614(%rax)
jb 0x50a65
movl $0x10, %edx
movq 0x12577d(%rip), %rdi    # 0x175f90
leaq 0xa79a9(%rip), %rsi     # 0xf81c3
callq 0x22ab0
leaq 0x190(%rsp), %rdi
movl $0x2, %esi
callq 0x3194a
cmpb $0x1, 0x10(%rax)
jne 0x50983
movq (%rax), %rsi
movq 0x8(%rax), %rdx
leaq 0x60(%rsp), %rax
movq %rax, 0x50(%rsp)
movq %rbp, %rdi
callq 0x45c1c
jmp 0x5099b
leaq 0x18(%rsp), %rax
movq %rax, 0x8(%rsp)
movq $0x0, 0x10(%rsp)
movb $0x0, 0x18(%rsp)
movq 0xa0(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0x51916
leaq 0x248(%rsp), %r14
movsd (%rax), %xmm0
movq %r14, %rdi
callq 0xc0446
movq %rbp, %rdi
movq %r12, %rsi
leaq 0xd8(%rsp), %rdx
movq %r14, %rcx
xorl %r8d, %r8d
callq 0x4a2c9
leaq 0x28(%rsp), %rdi
movq %rbp, %rsi
callq 0x22bb0
movq 0x50(%rsp), %rdi
leaq 0x60(%rsp), %rax
cmpq %rax, %rdi
je 0x508d9
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x229c0
movq 0x248(%rsp), %rdi
leaq 0x258(%rsp), %rax
cmpq %rax, %rdi
je 0x508fe
movq 0x258(%rsp), %rsi
incq %rsi
callq 0x229c0
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x5091a
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x229c0
leaq 0xe0(%rsp), %rdi
callq 0x322a0
movq 0x60(%rbx), %rax
cmpl $0x3, 0x1614(%rax)
jb 0x50a65
movl $0x10, %edx
movq 0x12564c(%rip), %rdi    # 0x175f90
leaq 0xa7878(%rip), %rsi     # 0xf81c3
callq 0x22ab0
leaq 0x190(%rsp), %rdi
movl $0x2, %esi
callq 0x3194a
cmpb $0x1, 0x10(%rax)
jne 0x509e7
movq (%rax), %rsi
movq 0x8(%rax), %rdx
leaq 0x60(%rsp), %rax
movq %rax, 0x50(%rsp)
movq %rbp, %rdi
callq 0x45c1c
jmp 0x509ff
leaq 0x60(%rsp), %rax
movq %rax, 0x50(%rsp)
movq $0x0, 0x58(%rsp)
movb $0x0, 0x60(%rsp)
movq 0xa0(%rsp), %rdi
movq %rbp, %rsi
callq 0x51916
movsd (%rax), %xmm0
movq 0x1255da(%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
jmp 0x50a49
leaq 0x60(%rsp), %rax
movq %rax, 0x50(%rsp)
movq $0x0, 0x58(%rsp)
movb $0x0, 0x60(%rsp)
movq 0xa0(%rsp), %rdi
movq %rbp, %rsi
callq 0x51916
movsd (%rax), %xmm0
movq 0x125576(%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
movq 0x50(%rsp), %rdi
leaq 0x60(%rsp), %rax
cmpq %rax, %rdi
je 0x50a65
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x229c0
movq 0xd0(%rsp), %rax
cmpq $0x0, 0x8(%rax)
leaq 0x38(%rsp), %r15
je 0x50c79
movq %rbp, %rdi
leaq 0xa7269(%rip), %rsi     # 0xf7cf0
xorl %edx, %edx
callq 0x31902
movq (%r12), %rdi
movq 0x8(%r12), %rsi
addq %rdi, %rsi
movq %rbp, %rdx
xorl %ecx, %ecx
callq 0x47067
movl %eax, %ebx
leaq 0x58(%rsp), %rdi
callq 0x322a0
testb %bl, %bl
je 0x50c79
leaq 0x8(%rsp), %rbx
movq %rbx, %rdi
leaq 0xa76a7(%rip), %rsi     # 0xf816e
movq 0xd0(%rsp), %rdx
callq 0x319d8
movq %rbx, %rdi
leaq 0xa769b(%rip), %rsi     # 0xf8179
callq 0x233b0
leaq 0x60(%rsp), %rsi
movq %rsi, 0x50(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x50b0b
movq %rdx, 0x50(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x60(%rsp)
jmp 0x50b11
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq 0x8(%rax), %rdx
movq %rdx, 0x58(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x50b45
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x229c0
leaq 0xd8(%rsp), %rdi
leaq 0xa7629(%rip), %rsi     # 0xf817d
xorl %edx, %edx
callq 0x31902
leaq 0x140(%rsp), %rax
movq %rax, 0x130(%rsp)
movq 0x50(%rsp), %rsi
movq 0x58(%rsp), %rdx
addq %rsi, %rdx
leaq 0x130(%rsp), %r14
movq %r14, %rdi
callq 0x32180
leaq 0x8(%rsp), %rbx
movq %rbx, %rdi
movq %r12, %rsi
leaq 0xd8(%rsp), %rdx
movq %r14, %rcx
xorl %r8d, %r8d
callq 0x4a2c9
leaq 0x28(%rsp), %rdi
movq %rbx, %rsi
callq 0x22bb0
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x50bcf
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x229c0
movq 0x130(%rsp), %rdi
leaq 0x140(%rsp), %rax
cmpq %rax, %rdi
je 0x50bf4
movq 0x140(%rsp), %rsi
incq %rsi
callq 0x229c0
leaq 0xe0(%rsp), %rdi
callq 0x322a0
leaq 0x18(%rsp), %rax
movq %rax, 0x8(%rsp)
movq 0x28(%rsp), %rsi
movq 0x30(%rsp), %rdx
addq %rsi, %rdx
leaq 0x8(%rsp), %rbx
movq %rbx, %rdi
callq 0x32180
movq %rbx, %rdi
leaq 0xa7f25(%rip), %rsi     # 0xf8b54
callq 0x233b0
leaq 0x28(%rsp), %rdi
movq %rbx, %rsi
callq 0x22bb0
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x50c5d
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x229c0
movq 0x50(%rsp), %rdi
leaq 0x60(%rsp), %rax
cmpq %rax, %rdi
je 0x50c79
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x229c0
movq 0x28(%rsp), %rsi
movq 0x30(%rsp), %rdx
cmpb $0xa, -0x1(%rsi,%rdx)
je 0x50cd7
addq %rsi, %rdx
leaq 0x60(%rsp), %rax
movq %rax, 0x50(%rsp)
movq %rbp, %rdi
callq 0x32180
movq %rbp, %rdi
leaq 0xa7eab(%rip), %rsi     # 0xf8b54
callq 0x233b0
leaq 0x28(%rsp), %rdi
movq %rbp, %rsi
callq 0x22bb0
movq 0x50(%rsp), %rdi
leaq 0x60(%rsp), %rax
cmpq %rax, %rdi
je 0x50cd7
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x229c0
movq 0x28(%rsp), %rsi
movq 0x30(%rsp), %rdx
leaq 0x448(%rsp), %rdi
callq 0x22ab0
cmpb $0x0, 0x4c(%rsp)
je 0x50d3e
movq %rbp, %rdi
leaq 0xa7505(%rip), %rsi     # 0xf8204
xorl %edx, %edx
callq 0x31902
movq (%r12), %rdi
movq 0x8(%r12), %rsi
addq %rdi, %rsi
leaq 0x190(%rsp), %rdx
movq %rbp, %rcx
xorl %r8d, %r8d
movq %rdi, %r9
callq 0x404be
movl %eax, %ebx
leaq 0x58(%rsp), %rdi
callq 0x322a0
movl $0x8, %r14d
testb %bl, %bl
jne 0x50d41
xorl %r14d, %r14d
movq 0xb0(%rsp), %rdi
leaq 0xc0(%rsp), %rax
cmpq %rax, %rdi
leaq 0x238(%rsp), %r13
je 0x50d6e
movq 0xc0(%rsp), %rsi
incq %rsi
callq 0x229c0
movq 0x28(%rsp), %rdi
cmpq %r15, %rdi
je 0x50d85
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x229c0
testl %r14d, %r14d
je 0x50d90
cmpl $0xa, %r14d
jne 0x50da9
addq $0x20, %r12
movq 0xa8(%rsp), %rax
cmpq 0x90(%rax), %r12
jne 0x4fe55
leaq 0x448(%rsp), %rdi
callq 0x22de0
leaq 0x190(%rsp), %rdi
callq 0x32024
movq 0x1251a6(%rip), %rax    # 0x175f70
movq (%rax), %rcx
movq 0x18(%rax), %rax
leaq 0x450(%rsp), %rdi
movq %rcx, -0x8(%rdi)
movq -0x18(%rcx), %rcx
movq %rax, 0x448(%rsp,%rcx)
callq 0x227d0
leaq 0x540(%rsp), %rdi
callq 0x222d0
leaq 0x120(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x50e1c
movq 0x120(%rsp), %rsi
incq %rsi
callq 0x229c0
addq $0x648, %rsp            # imm = 0x648
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x514a4
movq %rax, %rbx
movq 0x50(%rsp), %rdi
cmpq %r14, %rdi
jne 0x514f4
jmp 0x5151c
movq %rax, %rbx
movq 0x28(%rsp), %rdi
cmpq %r15, %rdi
je 0x50e68
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x229c0
jmp 0x50e68
movq %rax, %rbx
leaq 0xc0(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x5151c
movq 0xc0(%rsp), %rsi
jmp 0x514f9
jmp 0x51519
movq %rax, %rbx
movq 0x288(%rsp), %rdi
cmpq %r15, %rdi
je 0x50eb4
movq 0x298(%rsp), %rsi
incq %rsi
callq 0x229c0
jmp 0x50eb4
movq %rax, %rbx
leaq 0x30(%rsp), %rdi
jmp 0x51512
jmp 0x51519
movq %rax, %rbx
movq 0x248(%rsp), %rdi
leaq 0x258(%rsp), %rax
cmpq %rax, %rdi
je 0x5101d
movq 0x258(%rsp), %rsi
jmp 0x50f1c
jmp 0x514a4
jmp 0x514a4
jmp 0x50fd8
movq %rax, %rbx
movq 0x268(%rsp), %rdi
leaq 0x278(%rsp), %rax
cmpq %rax, %rdi
je 0x5101d
movq 0x278(%rsp), %rsi
incq %rsi
callq 0x229c0
jmp 0x5101d
jmp 0x514a4
jmp 0x5101a
jmp 0x510ac
jmp 0x514a4
jmp 0x510be
movq %rax, %rbx
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x510c1
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x229c0
jmp 0x510c1
jmp 0x510be
movq %rax, %rbx
movq 0x130(%rsp), %rdi
leaq 0x140(%rsp), %rax
cmpq %rax, %rdi
je 0x50f9c
movq 0x140(%rsp), %rsi
incq %rsi
callq 0x229c0
jmp 0x50f9c
movq %rax, %rbx
leaq 0xe0(%rsp), %rdi
callq 0x322a0
jmp 0x510c1
jmp 0x510be
movq %rax, %rbx
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x514a7
movq 0x18(%rsp), %rsi
jmp 0x510d9
jmp 0x514a4
movq %rax, %rbx
jmp 0x51039
jmp 0x51519
movq %rax, %rbx
movq 0x208(%rsp), %rdi
cmpq %r14, %rdi
je 0x51007
movq 0x218(%rsp), %rsi
incq %rsi
callq 0x229c0
jmp 0x51007
movq %rax, %rbx
leaq 0x60(%rsp), %rax
movq -0x10(%rax), %rdi
jmp 0x514ef
jmp 0x51519
movq %rax, %rbx
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x51039
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x229c0
leaq 0xe0(%rsp), %rdi
jmp 0x51351
jmp 0x510ac
jmp 0x514a4
jmp 0x510ac
jmp 0x514a4
jmp 0x510be
jmp 0x514a4
jmp 0x51519
movq %rax, %rbx
movq 0x1e8(%rsp), %rdi
cmpq %r15, %rdi
je 0x51085
movq 0x1f8(%rsp), %rsi
incq %rsi
callq 0x229c0
jmp 0x51085
movq %rax, %rbx
leaq 0x458(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x51536
movq 0x458(%rsp), %rsi
jmp 0x512cf
jmp 0x51503
movq %rax, %rbx
leaq 0x58(%rsp), %rdi
jmp 0x51351
jmp 0x514a4
movq %rax, %rbx
movq 0x50(%rsp), %rdi
leaq 0x60(%rsp), %rax
cmpq %rax, %rdi
je 0x514a7
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x229c0
jmp 0x514a7
movq %rax, %rbx
movq 0x150(%rsp), %rdi
leaq 0x160(%rsp), %rax
cmpq %rax, %rdi
je 0x51113
movq 0x160(%rsp), %rsi
incq %rsi
callq 0x229c0
jmp 0x51113
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0x322a0
jmp 0x51188
jmp 0x51185
movq %rax, %rbx
movq 0xb0(%rsp), %rdi
leaq 0xc0(%rsp), %rax
cmpq %rax, %rdi
je 0x514e5
movq 0xc0(%rsp), %rsi
jmp 0x51496
jmp 0x514e2
jmp 0x51503
movq %rax, %rbx
leaq 0x50(%rsp), %rdi
callq 0x32024
leaq 0xf0(%rsp), %rdi
callq 0x322a0
jmp 0x5134c
movq %rax, %rbx
jmp 0x5134c
jmp 0x514e2
jmp 0x514a4
movq %rax, %rbx
movq 0x28(%rsp), %rdi
cmpq %r15, %rdi
jne 0x51422
jmp 0x514e5
jmp 0x514e2
movq %rax, %rbx
leaq 0x3d8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x51557
movq 0x3d8(%rsp), %rsi
jmp 0x5154f
movq %rax, %rbx
movq 0x2c8(%rsp), %rdi
cmpq %r12, %rdi
je 0x511ea
movq 0x2d8(%rsp), %rsi
incq %rsi
callq 0x229c0
jmp 0x511ea
movq %rax, %rbx
movq 0x2e8(%rsp), %rdi
cmpq %r15, %rdi
je 0x5120c
movq 0x2f8(%rsp), %rsi
incq %rsi
callq 0x229c0
jmp 0x5120c
movq %rax, %rbx
movq 0x308(%rsp), %rdi
cmpq %r14, %rdi
je 0x5122e
movq 0x318(%rsp), %rsi
incq %rsi
callq 0x229c0
jmp 0x5122e
movq %rax, %rbx
leaq 0x3e8(%rsp), %rdi
jmp 0x51309
movq %rax, %rbx
movq 0x328(%rsp), %rdi
cmpq %r14, %rdi
je 0x51260
movq 0x338(%rsp), %rsi
incq %rsi
callq 0x229c0
jmp 0x51260
movq %rax, %rbx
leaq 0x58(%rsp), %rdi
callq 0x322a0
jmp 0x51557
movq %rax, %rbx
movq 0x348(%rsp), %rdi
cmpq %rbp, %rdi
je 0x51294
movq 0x358(%rsp), %rsi
incq %rsi
callq 0x229c0
jmp 0x51294
movq %rax, %rbx
movq 0x368(%rsp), %rdi
cmpq %r15, %rdi
je 0x512df
movq 0x378(%rsp), %rsi
incq %rsi
callq 0x229c0
jmp 0x512df
movq %rax, %rbx
movq 0x2a8(%rsp), %rdi
cmpq %r14, %rdi
je 0x51536
movq 0x2b8(%rsp), %rsi
incq %rsi
callq 0x229c0
jmp 0x51536
movq %rax, %rbx
movq 0x388(%rsp), %rdi
cmpq %r14, %rdi
je 0x51301
movq 0x398(%rsp), %rsi
incq %rsi
callq 0x229c0
jmp 0x51301
movq %rax, %rbx
leaq 0x418(%rsp), %rdi
callq 0x4a694
jmp 0x51557
jmp 0x51519
jmp 0x51519
movq %rax, %rbx
movq 0x228(%rsp), %rdi
cmpq %r13, %rdi
je 0x5135e
movq 0x238(%rsp), %rsi
incq %rsi
callq 0x229c0
jmp 0x5135e
movq %rax, %rbx
leaq 0x50(%rsp), %rdi
callq 0x32024
leaq 0x10(%rsp), %rdi
callq 0x322a0
jmp 0x514a7
movq %rax, %rbx
leaq 0x58(%rsp), %rdi
callq 0x322a0
jmp 0x514cc
movq %rax, %rbx
leaq 0x30(%rsp), %rdi
callq 0x322a0
jmp 0x514e5
jmp 0x514a4
movq %rax, %rbx
jmp 0x514cc
jmp 0x514e2
jmp 0x514a4
movq %rax, %rbx
jmp 0x51529
jmp 0x51503
movq %rax, %rbx
movq 0x3a8(%rsp), %rdi
cmpq %r14, %rdi
je 0x51557
movq 0x3b8(%rsp), %rsi
jmp 0x5154f
jmp 0x51503
jmp 0x51519
jmp 0x514e2
movq %rax, %rbx
jmp 0x5140f
movq %rax, %rbx
jmp 0x51405
movq %rax, %rbx
movq 0x170(%rsp), %rdi
leaq 0x180(%rsp), %rax
cmpq %rax, %rdi
je 0x51405
movq 0x180(%rsp), %rsi
incq %rsi
callq 0x229c0
leaq 0x10(%rsp), %rdi
callq 0x322a0
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x514e5
movq 0x38(%rsp), %rsi
jmp 0x51496
jmp 0x5142b
movq %rax, %rbx
jmp 0x51482
movq %rax, %rbx
jmp 0x5145d
movq %rax, %rbx
movq 0xb0(%rsp), %rdi
leaq 0xc0(%rsp), %rax
cmpq %rax, %rdi
je 0x5145d
movq 0xc0(%rsp), %rsi
incq %rsi
callq 0x229c0
movq 0xe8(%rsp), %rdi
leaq 0xf8(%rsp), %rax
cmpq %rax, %rdi
je 0x51482
movq 0xf8(%rsp), %rsi
incq %rsi
callq 0x229c0
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x514e5
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x229c0
jmp 0x514e5
jmp 0x514e2
jmp 0x51519
movq %rax, %rbx
movq 0xb0(%rsp), %rdi
leaq 0xc0(%rsp), %rax
cmpq %rax, %rdi
je 0x514cc
movq 0xc0(%rsp), %rsi
incq %rsi
callq 0x229c0
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x5151c
movq 0x38(%rsp), %rsi
jmp 0x514f9
movq %rax, %rbx
movq 0x50(%rsp), %rdi
leaq 0x60(%rsp), %rax
cmpq %rax, %rdi
je 0x5151c
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x229c0
jmp 0x5151c
movq %rax, %rbx
jmp 0x51536
jmp 0x51519
movq %rax, %rbx
leaq 0x58(%rsp), %rdi
callq 0x322a0
jmp 0x5151c
movq %rax, %rbx
leaq 0x190(%rsp), %rdi
callq 0x32024
leaq 0x448(%rsp), %rdi
callq 0x22ea0
leaq 0x120(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x51557
movq 0x120(%rsp), %rsi
incq %rsi
callq 0x229c0
movq %rbx, %rdi
callq 0x23240