// File: /workspace/github_cpp_makefile_star2_O2/sjtuwrk[P]SunwayMR/tools/SunwayMRHelper.hpp
// Function: SunwayMRHelper::runApplication(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool)
void SunwayMRHelper::runApplication(string filePath, bool localMode) {
	// run user application
	string targetHostsFileName = allHostsFileName;
	if (localMode) targetHostsFileName = localHostFileName;

	long appUID = getCurrentTime();
	int fileUID1 = appUID;
	int fileUID2 = appUID + 1;

	string appFileName = fileNameFromPath(filePath);
	string hostsFileName = "hostsFile.lst";

	stringstream filePath2;
	filePath2 << fileSaveDir << targetHostsFileName;

	stringstream fileInfo1, fileInfo2;
	fileInfo1 << fileUID1 << " " << appUID << " " << appFileName;
	fileInfo2 << fileUID2 << " " << appUID << " " << hostsFileName;

	string fileContent1, fileContent2;
	bool rd1 = readFile(filePath, fileContent1);
	if (!rd1) {
		stringstream error1;
		error1 << "SunwayMRHelper: unable to read file: " << filePath;
		Logging::logError(error1.str());
	}
	bool rd2 = readFile(filePath2.str(), fileContent2);
	if (!rd2) {
		stringstream error2;
		error2 << "SunwayMRHelper: unable to read file: " << filePath2.str();
		Logging::logError(error2.str());
	}


	if (!rd1 || !rd2) {
		exit(1);
	}

	// for all hosts in fileContent2
	stringstream ss(fileContent2);
	string line;
	vector<HostResource> tmp;

	bool sendWithFailure = false;
	while(std::getline(ss,line,'\n')){
		vector<string> v = splitString(line, ' ');
		if (v.size() >= 4) {
			string host = v[0];
			int threads = atoi(v[1].c_str());
			int memory = atoi(v[2].c_str());
			int port = atoi(v[3].c_str());
			HostResource hr = {
					host,
					threads,
					memory,
					port
			};
			tmp.push_back(hr);

			string msg1 = fileInfo1.str();
			string reply;
			// send file info 1
			bool sr = sendMessageForReply(host, port, FILE_INFO, msg1, reply);
			if(!sr) {
				sendWithFailure = true;
				stringstream err;
				err << "SunwayMRHelper: failed to send file info[1] to host: " << host << ", " << port << "; info:" << fileInfo1.str();
				Logging::logError(err.str());
			}

			string msg2 = fileInfo2.str();
			// send file info 2
			sr = sendMessageForReply(host, port, FILE_INFO, msg2, reply);
			if(!sr) {
				sendWithFailure = true;
				stringstream err;
				err << "SunwayMRHelper: failed to send file info[2] to host: " << host << ", " << port << "; info:" << fileInfo2.str();
				Logging::logError(err.str());
			}

			// send file content 1
			sr = sendMessageForReply(host, port, fileUID1, fileContent1, reply);
			if(!sr) {
				sendWithFailure = true;
				stringstream err;
				err << "SunwayMRHelper: failed to send file content[1] to host: " << host << ", " << port;
				Logging::logError(err.str());
			}

			// send file content 2
			sr = sendMessageForReply(host, port, fileUID2, fileContent2, reply);
			if(!sr) {
				sendWithFailure = true;
				stringstream err;
				err << "SunwayMRHelper: failed to send file content[2] to host: " << host << ", " << port;
				Logging::logError(err.str());
			}
		}
	}

	if(sendWithFailure) exit(1);

	Logging::logInfo("SunwayMRHelper: sending files succeeded.");
	Logging::logInfo("SunwayMRHelper: starting...");

	string appExecutableName = splitString(appFileName, '.')[0];

	string masterValue = masterAddr;
	if (localMode) masterValue = localAddr;
	stringstream masterInfo;
	masterInfo << "SunwayMRHelper: master is on: " << masterValue;
	Logging::logInfo(masterInfo.str());

	int appListenPort = randomValue(30001, 39999);

	stringstream appDirStream;
	appDirStream << fileSaveDir << appUID << "/";
	string appDir = appDirStream.str();
	stringstream startAppCmd;
	startAppCmd << CXX << " -O2 -g -Wall -fmessage-length=0 "
			<< appDir << appFileName
			<< " -o " << appDir << appExecutableName
			<< " -Itools -Iinclude -Iheaders -pthread -lstdc++ -lm " << endl;
	startAppCmd << appDir <<  appExecutableName << " "
			<< appDir << hostsFileName << " "
			<< masterValue << " " << appListenPort << endl;

	for(unsigned int i=0; i<tmp.size(); i++) {
		string msg = startAppCmd.str();
		sendMessage(tmp[i].host, tmp[i].listenPort, SHELL_COMMAND, msg);
	}

}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xd28, %rsp            # imm = 0xD28
movl %edx, %ebp
movq %rsi, %rbx
movq %rdi, 0x38(%rsp)
leaq 0xb2da(%rip), %rsi      # 0x12430
leaq 0x170(%rsp), %rdi
callq 0x3490
movl %ebp, 0x30(%rsp)
testl %ebp, %ebp
je 0x717f
leaq 0xb29e(%rip), %rsi      # 0x12410
leaq 0x170(%rsp), %rdi
callq 0x31e0
callq 0x3f11
movq %rax, 0x8(%rsp)
leaq 0xf0(%rsp), %rdi
movq %rbx, %rsi
callq 0x3a90
leaq 0x5383(%rip), %rsi      # 0xc523
leaq 0x150(%rsp), %rdi
leaq 0xba0(%rsp), %rdx
callq 0x915a
leaq 0xba0(%rsp), %rdi
callq 0x3230
leaq 0xbb0(%rsp), %rdi
leaq 0xb21f(%rip), %rsi      # 0x123f0
callq 0x3300
leaq 0x170(%rsp), %rsi
movq %rax, %rdi
callq 0x3300
leaq 0xa18(%rsp), %rdi
callq 0x3230
leaq 0x890(%rsp), %rdi
callq 0x3230
leaq 0xa28(%rsp), %rdi
movq 0x8(%rsp), %rsi
callq 0x35e0
leaq 0x5375(%rip), %rsi      # 0xc58e
movq %rax, %rdi
callq 0x3360
movq %rax, %rdi
movq 0x8(%rsp), %rsi
callq 0x3340
leaq 0x5359(%rip), %rsi      # 0xc58e
movq %rax, %rdi
callq 0x3360
leaq 0xf0(%rsp), %rsi
movq %rax, %rdi
callq 0x3300
movq 0x8(%rsp), %rax
leal 0x1(%rax), %esi
leaq 0x8a0(%rsp), %rdi
movl %esi, 0x34(%rsp)
callq 0x35e0
leaq 0x5321(%rip), %rsi      # 0xc58e
movq %rax, %rdi
callq 0x3360
movq %rax, %rdi
movq 0x8(%rsp), %rsi
callq 0x3340
leaq 0x5305(%rip), %rsi      # 0xc58e
movq %rax, %rdi
callq 0x3360
leaq 0x150(%rsp), %rsi
movq %rax, %rdi
callq 0x3300
leaq 0x140(%rsp), %rax
movq %rax, -0x10(%rax)
andq $0x0, -0x8(%rax)
xorl %ecx, %ecx
movb %cl, (%rax)
leaq 0xe0(%rsp), %rax
movq %rax, -0x10(%rax)
andq $0x0, -0x8(%rax)
movb %cl, (%rax)
leaq 0x338(%rsp), %rdi
movq %rbx, %rsi
callq 0x3490
leaq 0x338(%rsp), %rdi
leaq 0x130(%rsp), %rsi
callq 0x4295
movl %eax, %ebp
leaq 0x338(%rsp), %rdi
callq 0x36e8
testb %bpl, %bpl
jne 0x736a
leaq 0x580(%rsp), %rdi
callq 0x3230
leaq 0x590(%rsp), %rdi
leaq 0x5213(%rip), %rsi      # 0xc531
callq 0x3360
movq %rax, %rdi
movq %rbx, %rsi
callq 0x3300
leaq 0x598(%rsp), %rsi
leaq 0x190(%rsp), %rdi
callq 0x3550
leaq 0x190(%rsp), %rdi
callq 0x4efc
leaq 0x190(%rsp), %rdi
callq 0x36e8
leaq 0x580(%rsp), %rdi
callq 0x3260
leaq 0xbb8(%rsp), %rbx
leaq 0x318(%rsp), %rdi
movq %rbx, %rsi
callq 0x3550
leaq 0x318(%rsp), %rdi
leaq 0xd0(%rsp), %rsi
callq 0x4295
movl %eax, %r14d
leaq 0x318(%rsp), %rdi
callq 0x36e8
testb %r14b, %r14b
je 0x7d00
testb %bpl, %bpl
je 0x7d8d
leaq 0x580(%rsp), %rdi
leaq 0xd0(%rsp), %rsi
pushq $0x18
popq %rdx
callq 0x3560
leaq 0x120(%rsp), %rax
movq %rax, -0x10(%rax)
andq $0x0, -0x8(%rax)
movb $0x0, (%rax)
xorps %xmm0, %xmm0
leaq 0x60(%rsp), %rax
movaps %xmm0, (%rax)
andq $0x0, 0x10(%rax)
movl $0x0, (%rsp)
leaq 0x580(%rsp), %r13
leaq 0x110(%rsp), %rbx
pushq $0xa
popq %rbp
leaq 0x708(%rsp), %r15
leaq 0x3f8(%rsp), %r14
movq %r13, %rdi
movq %rbx, %rsi
movl %ebp, %edx
callq 0x3660
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
testb $0x5, 0x20(%rax,%rcx)
jne 0x78e4
leaq 0xb8(%rsp), %rdi
movq %rbx, %rsi
pushq $0x20
popq %rdx
callq 0x3a53
movq 0xb8(%rsp), %rsi
movq 0xc0(%rsp), %rax
subq %rsi, %rax
cmpq $0x61, %rax
jb 0x78d2
movq %r15, %rdi
callq 0x3490
movq 0xb8(%rsp), %r12
movq 0x20(%r12), %rdi
callq 0x3540
movl %eax, %r13d
movq 0x40(%r12), %rdi
callq 0x3540
movl %eax, %ebx
movq 0x60(%r12), %rdi
callq 0x3540
movl %eax, %ebp
movq %r14, %rdi
movq %r15, %r12
movq %r15, %rsi
callq 0x3490
movl %r13d, 0x418(%rsp)
movl %ebx, 0x41c(%rsp)
movl %ebp, 0x420(%rsp)
leaq 0x60(%rsp), %rdi
movq %r14, %rsi
callq 0x9430
pushq $0x1
popq %r15
leaq 0x98(%rsp), %rdi
leaq 0xa30(%rsp), %rsi
callq 0x3550
leaq 0x3d8(%rsp), %r14
leaq 0x20(%rsp), %rax
movq %rax, 0x10(%rsp)
andq $0x0, 0x18(%rsp)
movb $0x0, 0x20(%rsp)
movq %r14, %rdi
movq %r12, %rsi
callq 0x3490
movq %r14, %rsi
movl %ebp, 0x4(%rsp)
movl %ebp, %edx
movl %r15d, %ecx
leaq 0x98(%rsp), %r8
leaq 0x10(%rsp), %r9
callq 0x550a
movl %eax, %ebp
movq %r14, %rdi
callq 0x36e8
testb %bpl, %bpl
leaq 0x40(%rsp), %r14
movl 0x4(%rsp), %ebp
jne 0x75fb
leaq 0x190(%rsp), %rdi
callq 0x3230
leaq 0x1a0(%rsp), %rdi
leaq 0x4fec(%rip), %rsi      # 0xc557
callq 0x3360
movq %rax, %rdi
movq %r12, %rsi
callq 0x3300
movq %rax, %rdi
leaq 0x5008(%rip), %rsi      # 0xc58d
callq 0x3360
movq %rax, %rdi
movl %ebp, %esi
callq 0x35e0
movq %rax, %rdi
leaq 0x4ff2(%rip), %rsi      # 0xc590
callq 0x3360
movq %rax, %r13
movq %r14, %rdi
leaq 0xa30(%rsp), %rsi
callq 0x3550
movq %r13, %rdi
movq %r14, %rsi
callq 0x3300
movq %r14, %rdi
callq 0x36e8
movq %r14, %rdi
leaq 0x1a8(%rsp), %rsi
callq 0x3550
movq %r14, %rdi
callq 0x4efc
movq %r14, %rdi
callq 0x36e8
leaq 0x190(%rsp), %rdi
callq 0x3260
movb $0x1, %al
movl %eax, (%rsp)
movq %r14, %rdi
leaq 0x8a8(%rsp), %rsi
callq 0x3550
leaq 0x398(%rsp), %rdi
movq %r12, %rsi
callq 0x3490
leaq 0x398(%rsp), %r13
movq %r13, %rsi
movl %ebp, %edx
movl %r15d, %ecx
movq %r14, %r8
leaq 0x10(%rsp), %r9
callq 0x550a
movl %eax, %ebp
movq %r13, %rdi
callq 0x36e8
testb %bpl, %bpl
movl 0x4(%rsp), %ebp
jne 0x7700
leaq 0x190(%rsp), %rdi
callq 0x3230
leaq 0x1a0(%rsp), %rdi
leaq 0x4f2d(%rip), %rsi      # 0xc598
callq 0x3360
movq %rax, %rdi
movq %r12, %rsi
callq 0x3300
movq %rax, %rdi
leaq 0x4f08(%rip), %rsi      # 0xc58d
callq 0x3360
movq %rax, %rdi
movl %ebp, %esi
callq 0x35e0
movq %rax, %rdi
leaq 0x4ef2(%rip), %rsi      # 0xc590
callq 0x3360
movq %rax, %r13
leaq 0x78(%rsp), %r14
movq %r14, %rdi
leaq 0x8a8(%rsp), %rsi
callq 0x3550
movq %r13, %rdi
movq %r14, %rsi
callq 0x3300
movq %r14, %rdi
callq 0x36e8
movq %r14, %rdi
leaq 0x1a8(%rsp), %rsi
callq 0x3550
movq %r14, %rdi
callq 0x4efc
movq %r14, %rdi
callq 0x36e8
leaq 0x190(%rsp), %rdi
callq 0x3260
movb $0x1, %al
movl %eax, (%rsp)
leaq 0x378(%rsp), %rdi
movq %r12, %rsi
callq 0x3490
leaq 0x378(%rsp), %r14
movq %r14, %rsi
movl %ebp, %edx
movq 0x8(%rsp), %rcx
leaq 0x130(%rsp), %r8
leaq 0x10(%rsp), %r9
callq 0x550a
movl %eax, %ebp
movq %r14, %rdi
callq 0x36e8
testb %bpl, %bpl
movl 0x4(%rsp), %ebp
jne 0x77c3
leaq 0x190(%rsp), %rdi
callq 0x3230
leaq 0x1a0(%rsp), %rdi
leaq 0x4e6b(%rip), %rsi      # 0xc5ce
callq 0x3360
movq %rax, %rdi
movq %r12, %rsi
callq 0x3300
movq %rax, %rdi
leaq 0x4e10(%rip), %rsi      # 0xc58d
callq 0x3360
movq %rax, %rdi
movl %ebp, %esi
callq 0x35e0
leaq 0x78(%rsp), %r14
movq %r14, %rdi
leaq 0x1a8(%rsp), %rsi
callq 0x3550
movq %r14, %rdi
callq 0x4efc
movq %r14, %rdi
callq 0x36e8
leaq 0x190(%rsp), %rdi
callq 0x3260
movb $0x1, %al
movl %eax, (%rsp)
leaq 0x358(%rsp), %rdi
movq %r12, %rsi
callq 0x3490
leaq 0x358(%rsp), %r14
movq %r14, %rsi
movl %ebp, %edx
movl 0x34(%rsp), %ecx
leaq 0xd0(%rsp), %r8
leaq 0x10(%rsp), %r9
callq 0x550a
movl %eax, %ebp
movq %r14, %rdi
callq 0x36e8
testb %bpl, %bpl
leaq 0x580(%rsp), %r13
leaq 0x110(%rsp), %rbx
pushq $0xa
popq %rbp
movq %r12, %r15
leaq 0x3f8(%rsp), %r14
leaq 0x78(%rsp), %r12
jne 0x78a1
leaq 0x190(%rsp), %rdi
callq 0x3230
leaq 0x1a0(%rsp), %rdi
leaq 0x4dc3(%rip), %rsi      # 0xc607
callq 0x3360
movq %rax, %rdi
movq %r15, %rsi
callq 0x3300
movq %rax, %rdi
leaq 0x4d2f(%rip), %rsi      # 0xc58d
callq 0x3360
movq %rax, %rdi
movl 0x4(%rsp), %esi
callq 0x35e0
movq %r12, %rdi
leaq 0x1a8(%rsp), %rsi
callq 0x3550
movq %r12, %rdi
callq 0x4efc
movq %r12, %rdi
callq 0x36e8
leaq 0x190(%rsp), %rdi
callq 0x3260
movb $0x1, %al
movl %eax, (%rsp)
leaq 0x40(%rsp), %rdi
callq 0x36e8
leaq 0x10(%rsp), %rdi
callq 0x36e8
leaq 0x98(%rsp), %rdi
callq 0x36e8
movq %r14, %rdi
callq 0x36e8
movq %r15, %rdi
callq 0x36e8
leaq 0xb8(%rsp), %rdi
callq 0x904e
jmp 0x741f
testb $0x1, (%rsp)
jne 0x7d8d
leaq 0x4d4b(%rip), %rsi      # 0xc640
leaq 0x190(%rsp), %rdi
leaq 0x3f8(%rsp), %rdx
callq 0x915a
leaq 0x190(%rsp), %rdi
callq 0x4dbc
leaq 0x190(%rsp), %rdi
callq 0x36e8
leaq 0x4d3e(%rip), %rsi      # 0xc669
leaq 0x190(%rsp), %rdi
leaq 0x3f8(%rsp), %rdx
callq 0x915a
leaq 0x190(%rsp), %rdi
callq 0x4dbc
leaq 0x190(%rsp), %rdi
callq 0x36e8
leaq 0x190(%rsp), %rdi
leaq 0xf0(%rsp), %rsi
pushq $0x2e
popq %rdx
callq 0x3a53
movq 0x190(%rsp), %rsi
leaq 0x98(%rsp), %rdi
callq 0x3490
leaq 0x190(%rsp), %rdi
callq 0x904e
movq 0x38(%rsp), %rax
leaq 0xf0(%rax), %rsi
leaq 0x10(%rsp), %rdi
callq 0x3490
cmpb $0x0, 0x30(%rsp)
je 0x79c7
movq 0x38(%rsp), %rsi
addq $0x110, %rsi            # imm = 0x110
leaq 0x10(%rsp), %rdi
callq 0x31e0
leaq 0x190(%rsp), %rdi
callq 0x3230
leaq 0x1a0(%rsp), %rdi
leaq 0x4ca2(%rip), %rsi      # 0xc685
callq 0x3360
leaq 0x10(%rsp), %rsi
movq %rax, %rdi
callq 0x3300
leaq 0x1a8(%rsp), %rsi
leaq 0x3f8(%rsp), %rdi
callq 0x3550
leaq 0x3f8(%rsp), %rdi
callq 0x4dbc
leaq 0x3f8(%rsp), %rdi
callq 0x36e8
movl $0x7531, %edi           # imm = 0x7531
movl $0x9c3f, %esi           # imm = 0x9C3F
callq 0x3fba
movl %eax, %ebx
leaq 0x3f8(%rsp), %rdi
callq 0x3230
leaq 0x408(%rsp), %rdi
leaq 0xa99f(%rip), %rsi      # 0x123f0
callq 0x3300
movq %rax, %rdi
movq 0x8(%rsp), %rsi
callq 0x3340
leaq 0x48c4(%rip), %rsi      # 0xc32e
movq %rax, %rdi
callq 0x3360
leaq 0x410(%rsp), %rsi
leaq 0x40(%rsp), %rdi
callq 0x3550
leaq 0x708(%rsp), %rdi
callq 0x3230
leaq 0x718(%rsp), %r14
leaq 0xa9b0(%rip), %rsi      # 0x12450
movq %r14, %rdi
callq 0x3300
leaq 0x4bf5(%rip), %rsi      # 0xc6a4
movq %rax, %rdi
callq 0x3360
leaq 0x40(%rsp), %rsi
movq %rax, %rdi
callq 0x3300
leaq 0xf0(%rsp), %rsi
movq %rax, %rdi
callq 0x3300
leaq 0x4beb(%rip), %rsi      # 0xc6c6
movq %rax, %rdi
callq 0x3360
leaq 0x40(%rsp), %rsi
movq %rax, %rdi
callq 0x3300
leaq 0x98(%rsp), %rsi
movq %rax, %rdi
callq 0x3300
leaq 0x4bc4(%rip), %rsi      # 0xc6cb
movq %rax, %rdi
callq 0x3360
movq %rax, %rdi
callq 0x31b0
leaq 0x40(%rsp), %rsi
movq %r14, %rdi
callq 0x3300
leaq 0x98(%rsp), %rsi
movq %rax, %rdi
callq 0x3300
leaq 0x4a53(%rip), %rsi      # 0xc58e
movq %rax, %rdi
callq 0x3360
leaq 0x40(%rsp), %rsi
movq %rax, %rdi
callq 0x3300
leaq 0x150(%rsp), %rsi
movq %rax, %rdi
callq 0x3300
leaq 0x4a27(%rip), %rsi      # 0xc58e
movq %rax, %rdi
callq 0x3360
leaq 0x10(%rsp), %rsi
movq %rax, %rdi
callq 0x3300
leaq 0x4a0b(%rip), %rsi      # 0xc58e
movq %rax, %rdi
callq 0x3360
movq %rax, %rdi
movl %ebx, %esi
callq 0x35e0
movq %rax, %rdi
callq 0x31b0
xorl %r12d, %r12d
pushq $0x30
popq %r13
leaq 0x78(%rsp), %r14
leaq 0x3b8(%rsp), %r15
pushq $0x2
popq %rbp
movl %r12d, %r12d
movq 0x68(%rsp), %rax
subq 0x60(%rsp), %rax
cqto
idivq %r13
cmpq %r12, %rax
jbe 0x7c1a
movq %r14, %rdi
leaq 0x720(%rsp), %rsi
callq 0x3550
imulq $0x30, %r12, %rbx
movq 0x60(%rsp), %rsi
addq %rbx, %rsi
movq %r15, %rdi
callq 0x3490
movq 0x60(%rsp), %rax
movl 0x28(%rax,%rbx), %edx
movq %r15, %rsi
movl %ebp, %ecx
movq %r14, %r8
callq 0x56c0
movq %r15, %rdi
callq 0x36e8
movq %r14, %rdi
callq 0x36e8
incl %r12d
jmp 0x7bb4
leaq 0x708(%rsp), %rdi
callq 0x3260
leaq 0x40(%rsp), %rdi
callq 0x36e8
leaq 0x3f8(%rsp), %rdi
callq 0x3260
leaq 0x190(%rsp), %rdi
callq 0x3260
leaq 0x10(%rsp), %rdi
callq 0x36e8
leaq 0x98(%rsp), %rdi
callq 0x36e8
leaq 0x60(%rsp), %rdi
callq 0x940e
leaq 0x110(%rsp), %rdi
callq 0x36e8
leaq 0x580(%rsp), %rdi
callq 0x3260
leaq 0xd0(%rsp), %rdi
callq 0x36e8
leaq 0x130(%rsp), %rdi
callq 0x36e8
leaq 0x890(%rsp), %rdi
callq 0x3260
leaq 0xa18(%rsp), %rdi
callq 0x3260
leaq 0xba0(%rsp), %rdi
callq 0x3260
leaq 0x150(%rsp), %rdi
callq 0x36e8
leaq 0xf0(%rsp), %rdi
callq 0x36e8
leaq 0x170(%rsp), %rdi
callq 0x36e8
addq $0xd28, %rsp            # imm = 0xD28
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x580(%rsp), %rdi
callq 0x3230
leaq 0x590(%rsp), %rdi
leaq 0x4815(%rip), %rsi      # 0xc531
callq 0x3360
movq %rax, %r14
leaq 0x190(%rsp), %rdi
movq %rbx, %rsi
callq 0x3550
leaq 0x190(%rsp), %rsi
movq %r14, %rdi
callq 0x3300
leaq 0x190(%rsp), %rdi
callq 0x36e8
leaq 0x598(%rsp), %rsi
leaq 0x190(%rsp), %rdi
callq 0x3550
leaq 0x190(%rsp), %rdi
callq 0x4efc
leaq 0x190(%rsp), %rdi
callq 0x36e8
leaq 0x580(%rsp), %rdi
callq 0x3260
pushq $0x1
popq %rdi
callq 0x3400
jmp 0x7daf
jmp 0x7e4c
jmp 0x7daf
jmp 0x7e4c
jmp 0x7e4c
jmp 0x7dfa
jmp 0x7e69
movq %rax, %rbx
leaq 0x190(%rsp), %rdi
jmp 0x8070
jmp 0x7e4c
jmp 0x7e69
jmp 0x7e8b
movq %rax, %rbx
jmp 0x7fa7
jmp 0x7ea3
jmp 0x7e93
movq %rax, %rbx
leaq 0x3f8(%rsp), %rdi
callq 0x36e8
jmp 0x7fbe
jmp 0x7e93
movq %rax, %rbx
jmp 0x7fcb
movq %rax, %rbx
jmp 0x7fd5
movq %rax, %rbx
leaq 0x190(%rsp), %rdi
jmp 0x8059
jmp 0x7fea
jmp 0x7e26
jmp 0x7fea
movq %rax, %rbx
leaq 0x190(%rsp), %rdi
jmp 0x7fdd
jmp 0x7fea
jmp 0x7e69
movq %rax, %rbx
leaq 0x318(%rsp), %rdi
jmp 0x7e5f
jmp 0x7e69
movq %rax, %rbx
jmp 0x8075
movq %rax, %rbx
leaq 0x338(%rsp), %rdi
callq 0x36e8
jmp 0x8082
movq %rax, %rbx
jmp 0x8082
movq %rax, %rbx
jmp 0x80a9
jmp 0x7e9b
movq %rax, %rbx
jmp 0x80c3
movq %rax, %rbx
jmp 0x80d0
movq %rax, %rbx
jmp 0x80dd
movq %rax, %rbx
jmp 0x7fbe
movq %rax, %rbx
jmp 0x80b6
movq %rax, %rbx
jmp 0x7fb1
jmp 0x7f64
jmp 0x8013
jmp 0x8013
jmp 0x7fef
jmp 0x7ed6
jmp 0x7fef
jmp 0x7ed6
jmp 0x7fef
jmp 0x7ed6
jmp 0x8013
jmp 0x7eed
movq %rax, %rbx
leaq 0x78(%rsp), %rdi
callq 0x36e8
jmp 0x7ff2
jmp 0x7fef
movq %rax, %rbx
leaq 0x40(%rsp), %rdi
callq 0x36e8
jmp 0x8004
jmp 0x8001
jmp 0x8001
movq %rax, %rbx
jmp 0x809c
jmp 0x7f64
movq %rax, %rbx
leaq 0x378(%rsp), %rdi
jmp 0x7f5a
movq %rax, %rbx
leaq 0x358(%rsp), %rdi
jmp 0x7f5a
movq %rax, %rbx
leaq 0x3d8(%rsp), %rdi
jmp 0x801b
jmp 0x7f3f
movq %rax, %rbx
jmp 0x8037
movq %rax, %rbx
jmp 0x8044
movq %rax, %rbx
leaq 0x398(%rsp), %rdi
callq 0x36e8
jmp 0x8016
movq %rax, %rbx
jmp 0x8020
movq %rax, %rbx
jmp 0x8051
jmp 0x7f97
movq %rax, %rbx
leaq 0x3b8(%rsp), %rdi
callq 0x36e8
jmp 0x7f8b
movq %rax, %rbx
leaq 0x78(%rsp), %rdi
callq 0x36e8
jmp 0x7f9a
movq %rax, %rbx
leaq 0x708(%rsp), %rdi
callq 0x3260
leaq 0x40(%rsp), %rdi
callq 0x36e8
leaq 0x3f8(%rsp), %rdi
callq 0x3260
leaq 0x190(%rsp), %rdi
callq 0x3260
leaq 0x10(%rsp), %rdi
callq 0x36e8
leaq 0x98(%rsp), %rdi
callq 0x36e8
jmp 0x805e
jmp 0x7fef
jmp 0x7fef
jmp 0x7fea
movq %rax, %rbx
jmp 0x805e
movq %rax, %rbx
leaq 0x190(%rsp), %rdi
callq 0x3260
jmp 0x8016
movq %rax, %rbx
leaq 0x190(%rsp), %rdi
callq 0x3260
jmp 0x8020
movq %rax, %rbx
leaq 0x40(%rsp), %rdi
callq 0x36e8
leaq 0x10(%rsp), %rdi
callq 0x36e8
leaq 0x98(%rsp), %rdi
callq 0x36e8
leaq 0x3f8(%rsp), %rdi
callq 0x36e8
leaq 0x708(%rsp), %rdi
callq 0x36e8
leaq 0xb8(%rsp), %rdi
callq 0x904e
leaq 0x60(%rsp), %rdi
callq 0x940e
leaq 0x110(%rsp), %rdi
callq 0x36e8
leaq 0x580(%rsp), %rdi
callq 0x3260
leaq 0xd0(%rsp), %rdi
callq 0x36e8
leaq 0x130(%rsp), %rdi
callq 0x36e8
leaq 0x890(%rsp), %rdi
callq 0x3260
leaq 0xa18(%rsp), %rdi
callq 0x3260
leaq 0xba0(%rsp), %rdi
callq 0x3260
leaq 0x150(%rsp), %rdi
callq 0x36e8
leaq 0xf0(%rsp), %rdi
callq 0x36e8
leaq 0x170(%rsp), %rdi
callq 0x36e8
movq %rbx, %rdi
callq 0x3610