// File: /workspace/github_cpp_makefile_star2_O1/richardposner[P]BioNetFit2/src/code/Swarm.cpp
// Function: Swarm::finishFit()
void Swarm::finishFit() {

	if (options.verbosity >=3) cout<<"Fitting finished. Summarizing the results.\n";
	string outputDir;
	if (options.bootstrap) {
		outputDir = options.outputDir + "/" + options.jobName + "_bootstrap/";

		if (!checkIfFileExists(outputDir)) {
			string command = "mkdir " + outputDir + " && cp " + configPath_ + " " + outputDir;

			int errorCounter = 0;
			while (runCommand(command) != 0 && errorCounter < 10) {
				//sleep(1);
				++errorCounter;
			}

			if (errorCounter > 10) {
				cout << "Error: Couldn't create directory: " + outputDir + " to contain final bootstrap results.";
				//outputBootstrapSummary();
			}
		}

		// Output to bootstrap file
		outputBootstrapSummary();

		// Output fit summary
		string outputFilePath = outputDir + toString(bootstrapCounter + 1) + "_all_fits.txt";
		outputRunSummary(outputFilePath);

		// Reset variables
		resetVariables();

		if ((bootstrapCounter + 1) < options.bootstrap) {
			cout << "Deleting last fitting run and beginning next fit.." << endl;

			string command = "cd " + options.jobOutputDir + " && find -mindepth 1 -maxdepth 1 -type d -exec rm -r {} \\;";
			runCommand(command);

			killAllParticles(NEW_BOOTSTRAP);
		}
		else {
			killAllParticles(FIT_FINISHED);
			exit(EXIT_SUCCESS);
		}
	}
	else {
		outputDir = options.jobOutputDir + "Results/";   //was outputDir = options.jobOutputDir + "Results/";
		string command = "mkdir " + outputDir + " && cp " + configPath_ + " " + outputDir;

		int errorCounter = 0;
		while (runCommand(command) != 0 && errorCounter < 10) {
			//sleep(1);
			++errorCounter;
		}

		if (errorCounter > 10) {
			cout << "Error: Couldn't create directory: " + outputDir + " to contain final fitting results. Outputting results to screen.";
			outputRunSummary();
		}

		string outputFilePath = outputDir + "all_fits.txt";
		outputRunSummary(outputFilePath);

		generateBestFitModel(outputDir);

		if(options.verbosity>=3){
			cout << "Killing all particles, sending FIT_FINISHED message" << endl;
		}
		killAllParticles(FIT_FINISHED);
		if(options.verbosity>=3){
			cout << "Done killing all particles." << endl;
		}
		cout << "Finished fitting in " << tmr_.elapsed() << " seconds. Results can be found in " << options.jobOutputDir << "Results" << endl;
	}
	//copyBestFitToResults(outputDir);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x168, %rsp            # imm = 0x168
movq %rdi, %rbx
cmpl $0x3, 0x1614(%rdi)
jb 0x86b59
movq 0xef448(%rip), %rdi     # 0x175f90
leaq 0x78c62(%rip), %rsi     # 0xff7b1
movl $0x2b, %edx
callq 0x22ab0
leaq 0x78(%rsp), %rax
movq %rax, -0x10(%rax)
movq $0x0, -0x8(%rax)
movb $0x0, (%rax)
cmpl $0x0, 0x1638(%rbx)
jne 0x87195
leaq 0x58(%rsp), %r15
movq %r15, -0x10(%r15)
movq 0x1520(%rbx), %rsi
movq 0x1528(%rbx), %rdx
addq %rsi, %rdx
leaq 0x48(%rsp), %rdi
callq 0x32180
leaq 0x78c94(%rip), %rsi     # 0xff839
leaq 0x48(%rsp), %rdi
callq 0x233b0
leaq 0x68(%rsp), %rdi
leaq 0x48(%rsp), %r14
movq %r14, %rsi
callq 0x22bb0
movq (%r14), %rdi
cmpq %r15, %rdi
je 0x86bd6
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x229c0
leaq 0x713ba(%rip), %rsi     # 0xf7f97
leaq 0xa8(%rsp), %rdi
leaq 0x68(%rsp), %rdx
callq 0x319d8
leaq 0x78bf3(%rip), %rsi     # 0xff7e9
leaq 0xa8(%rsp), %rdi
callq 0x233b0
leaq 0x98(%rsp), %r14
movq %r14, -0x10(%r14)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x86c33
movq %rdx, 0x88(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x98(%rsp)
jmp 0x86c3c
movupd (%rcx), %xmm0
movupd %xmm0, (%r14)
movq 0x8(%rax), %rdx
leaq 0x88(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x1800(%rbx), %rsi
movq 0x1808(%rbx), %rdx
callq 0x222b0
leaq 0x38(%rsp), %rsi
movq %rsi, -0x10(%rsi)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x86c95
movq %rdx, 0x28(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x38(%rsp)
jmp 0x86c9d
movupd (%rcx), %xmm0
movupd %xmm0, (%rsi)
movq 0x8(%rax), %rdx
leaq 0x28(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x7a77d(%rip), %rsi     # 0x10143d
callq 0x233b0
leaq 0x18(%rsp), %r12
movq %r12, -0x10(%r12)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x86ced
movq %rdx, 0x8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x18(%rsp)
jmp 0x86cf7
movupd (%rcx), %xmm0
movupd %xmm0, (%r12)
movq 0x8(%rax), %rdx
leaq 0x8(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x68(%rsp), %rsi
movq 0x70(%rsp), %rdx
callq 0x222b0
movq %r15, 0x48(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x86d45
movq %rdx, 0x48(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x58(%rsp)
jmp 0x86d4e
movupd (%rcx), %xmm0
movupd %xmm0, (%r15)
movq 0x8(%rax), %rdx
movq %rdx, 0x50(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x86d7d
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x229c0
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x86d99
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x229c0
movq 0x88(%rsp), %rdi
cmpq %r14, %rdi
je 0x86db6
movq 0x98(%rsp), %rsi
incq %rsi
callq 0x229c0
leaq 0xb8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x86dd7
movq 0xb8(%rsp), %rsi
incq %rsi
callq 0x229c0
xorl %r12d, %r12d
leaq 0x118(%rsp), %r15
leaq 0x108(%rsp), %r14
movq %r15, 0x108(%rsp)
movq 0x48(%rsp), %rsi
movq 0x50(%rsp), %rdx
addq %rsi, %rdx
movq %r14, %rdi
callq 0x32180
movq %r14, %rdi
callq 0xc038e
testl %eax, %eax
setne %r13b
cmpl $0xa, %r12d
setb %bpl
movq 0x108(%rsp), %rdi
cmpq %r15, %rdi
je 0x86e3a
movq 0x118(%rsp), %rsi
incq %rsi
callq 0x229c0
andb %bpl, %r13b
je 0x86e44
incl %r12d
jmp 0x86dea
cmpl $0xb, %r12d
leaq 0x58(%rsp), %r15
leaq 0x18(%rsp), %r12
jb 0x86f15
leaq 0x78992(%rip), %rsi     # 0xff7f1
leaq 0x28(%rsp), %rdi
leaq 0x68(%rsp), %rdx
callq 0x319d8
leaq 0x789cd(%rip), %rsi     # 0xff842
leaq 0x28(%rsp), %rdi
callq 0x233b0
movq %r12, 0x8(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x86ea2
movq %rdx, 0x8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x18(%rsp)
jmp 0x86eac
movupd (%rcx), %xmm0
movupd %xmm0, (%r12)
movq 0x8(%rax), %rdx
movq %rdx, 0x10(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
movq 0xef0bb(%rip), %rdi     # 0x175f90
callq 0x22ab0
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x86ef1
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x229c0
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x86f0d
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x229c0
movq %rbx, %rdi
callq 0x94dea
leaq 0x8(%rsp), %rdi
movq %r12, (%rdi)
movq 0x68(%rsp), %rsi
movq 0x70(%rsp), %rdx
addq %rsi, %rdx
callq 0x32180
leaq 0x7894d(%rip), %rsi     # 0xff883
leaq 0x8(%rsp), %rdi
callq 0x233b0
leaq 0xf8(%rsp), %r14
movq %r14, -0x10(%r14)
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
addq %rsi, %rdx
leaq 0xe8(%rsp), %rdi
callq 0x32180
leaq 0xe8(%rsp), %rsi
movq %rbx, %rdi
callq 0x92400
movq 0xe8(%rsp), %rdi
cmpq %r14, %rdi
je 0x86f93
movq 0xf8(%rsp), %rsi
incq %rsi
callq 0x229c0
leaq 0xd8(%rsp), %r14
movq %r14, -0x10(%r14)
movq 0x68(%rsp), %rsi
movq 0x70(%rsp), %rdx
addq %rsi, %rdx
leaq 0xc8(%rsp), %rdi
callq 0x32180
leaq 0xc8(%rsp), %rsi
movq %rbx, %rdi
callq 0x952ba
movq 0xc8(%rsp), %rdi
cmpq %r14, %rdi
je 0x86fe6
movq 0xd8(%rsp), %rsi
incq %rsi
callq 0x229c0
cmpl $0x3, 0x1614(%rbx)
jb 0x87035
movq 0xeef9a(%rip), %r14     # 0x175f90
leaq 0x78893(%rip), %rsi     # 0xff890
movl $0x33, %edx
movq %r14, %rdi
callq 0x22ab0
movq (%r14), %rax
addq -0x18(%rax), %r14
movq %r14, %rdi
movl $0xa, %esi
callq 0x22940
movsbl %al, %esi
movq 0xeef68(%rip), %rdi     # 0x175f90
callq 0x22050
movq %rax, %rdi
callq 0x22660
movq %rbx, %rdi
movl $0x16, %esi
callq 0x94cbc
cmpl $0x3, 0x1614(%rbx)
jb 0x87091
movq 0xeef3e(%rip), %r14     # 0x175f90
leaq 0x7886b(%rip), %rsi     # 0xff8c4
movl $0x1b, %edx
movq %r14, %rdi
callq 0x22ab0
movq (%r14), %rax
addq -0x18(%rax), %r14
movq %r14, %rdi
movl $0xa, %esi
callq 0x22940
movsbl %al, %esi
movq 0xeef0c(%rip), %rdi     # 0x175f90
callq 0x22050
movq %rax, %rdi
callq 0x22660
movq 0xeeef8(%rip), %rdi     # 0x175f90
leaq 0x78841(%rip), %rsi     # 0xff8e0
movl $0x14, %edx
callq 0x22ab0
callq 0x220b0
subq 0x1db0(%rbx), %rax
cvtsi2sd %rax, %xmm0
divsd 0x76eee(%rip), %xmm0    # 0xfdfb0
movq 0xeeec7(%rip), %rdi     # 0x175f90
callq 0x23060
movq %rax, %r14
leaq 0x7881d(%rip), %rsi     # 0xff8f5
movl $0x22, %edx
movq %rax, %rdi
callq 0x22ab0
movq 0x1520(%rbx), %rsi
movq 0x1528(%rbx), %rdx
movq %r14, %rdi
callq 0x22ab0
movq %rax, %rbx
leaq 0x78813(%rip), %rsi     # 0xff918
movl $0x7, %edx
movq %rax, %rdi
callq 0x22ab0
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x22940
movsbl %al, %esi
movq %rbx, %rdi
callq 0x22050
movq %rax, %rdi
callq 0x22660
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x87150
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x229c0
movq 0x48(%rsp), %rdi
cmpq %r15, %rdi
je 0x87167
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x229c0
movq 0x68(%rsp), %rdi
leaq 0x78(%rsp), %rax
cmpq %rax, %rdi
je 0x87183
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x229c0
addq $0x168, %rsp            # imm = 0x168
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x38(%rsp), %rax
movq %rax, -0x10(%rax)
movq 0x1500(%rbx), %rsi
movq 0x1508(%rbx), %rdx
addq %rsi, %rdx
leaq 0x28(%rsp), %rdi
callq 0x32180
leaq 0x78627(%rip), %rsi     # 0xff7e7
leaq 0x28(%rsp), %rdi
callq 0x233b0
movq 0x14c0(%rbx), %rsi
movq 0x14c8(%rbx), %rdx
leaq 0x28(%rsp), %rdi
callq 0x222b0
leaq 0x18(%rsp), %rcx
movq %rcx, -0x10(%rcx)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x87209
movupd (%rcx), %xmm0
leaq 0x18(%rsp), %rdx
movupd %xmm0, (%rdx)
jmp 0x87216
movq %rdx, 0x8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x18(%rsp)
movq 0x8(%rax), %rdx
leaq 0x8(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x785a4(%rip), %rsi     # 0xff7dd
callq 0x233b0
leaq 0x58(%rsp), %rcx
movq %rcx, -0x10(%rcx)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x87265
movupd (%rcx), %xmm0
leaq 0x58(%rsp), %rdx
movupd %xmm0, (%rdx)
jmp 0x87272
movq %rdx, 0x48(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x58(%rsp)
movq 0x8(%rax), %rdx
leaq 0x48(%rsp), %r14
movq %rdx, 0x8(%r14)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x68(%rsp), %rdi
movq %r14, %rsi
callq 0x22bb0
movq (%r14), %rdi
leaq 0x58(%rsp), %rax
cmpq %rax, %rdi
je 0x872b5
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x229c0
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x872d1
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x229c0
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x872ed
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x229c0
leaq 0x158(%rsp), %r14
movq %r14, -0x10(%r14)
movq 0x68(%rsp), %rsi
movq 0x70(%rsp), %rdx
addq %rsi, %rdx
leaq 0x148(%rsp), %rdi
callq 0x32180
leaq 0x148(%rsp), %rdi
callq 0xbf2c2
movl %eax, %ebp
movq 0x148(%rsp), %rdi
cmpq %r14, %rdi
je 0x8733f
movq 0x158(%rsp), %rsi
incq %rsi
callq 0x229c0
testl %ebp, %ebp
jne 0x876b4
leaq 0x70c49(%rip), %rsi     # 0xf7f97
leaq 0xa8(%rsp), %rdi
leaq 0x68(%rsp), %rdx
callq 0x319d8
leaq 0x78482(%rip), %rsi     # 0xff7e9
leaq 0xa8(%rsp), %rdi
callq 0x233b0
leaq 0x98(%rsp), %r14
movq %r14, -0x10(%r14)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x8739a
movupd (%rcx), %xmm0
movupd %xmm0, (%r14)
jmp 0x873ad
movq %rdx, 0x88(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x98(%rsp)
movq 0x8(%rax), %rdx
leaq 0x88(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x1800(%rbx), %rsi
movq 0x1808(%rbx), %rdx
callq 0x222b0
leaq 0x38(%rsp), %rcx
movq %rcx, 0x28(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x87407
movupd (%rcx), %xmm0
leaq 0x38(%rsp), %rdx
movupd %xmm0, (%rdx)
jmp 0x87414
movq %rdx, 0x28(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x38(%rsp)
movq 0x8(%rax), %rdx
leaq 0x28(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x7a006(%rip), %rsi     # 0x10143d
callq 0x233b0
leaq 0x18(%rsp), %rcx
movq %rcx, 0x8(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x87464
movupd (%rcx), %xmm0
leaq 0x18(%rsp), %rdx
movupd %xmm0, (%rdx)
jmp 0x87471
movq %rdx, 0x8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x18(%rsp)
movq 0x8(%rax), %rdx
leaq 0x8(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x68(%rsp), %rsi
movq 0x70(%rsp), %rdx
callq 0x222b0
leaq 0x58(%rsp), %rcx
movq %rcx, 0x48(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x874c4
movupd (%rcx), %xmm0
leaq 0x58(%rsp), %rdx
movupd %xmm0, (%rdx)
jmp 0x874d1
movq %rdx, 0x48(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x58(%rsp)
movq 0x8(%rax), %rdx
movq %rdx, 0x50(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x87505
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x229c0
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x87521
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x229c0
movq 0x88(%rsp), %rdi
cmpq %r14, %rdi
je 0x8753e
movq 0x98(%rsp), %rsi
incq %rsi
callq 0x229c0
leaq 0xb8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x8755f
movq 0xb8(%rsp), %rsi
incq %rsi
callq 0x229c0
xorl %r15d, %r15d
leaq 0x138(%rsp), %rbp
leaq 0x128(%rsp), %r14
movq %rbp, 0x128(%rsp)
movq 0x48(%rsp), %rsi
movq 0x50(%rsp), %rdx
addq %rsi, %rdx
movq %r14, %rdi
callq 0x32180
movq %r14, %rdi
callq 0xc038e
testl %eax, %eax
setne %r13b
cmpl $0xa, %r15d
setb %r12b
movq 0x128(%rsp), %rdi
cmpq %rbp, %rdi
je 0x875c2
movq 0x138(%rsp), %rsi
incq %rsi
callq 0x229c0
andb %r12b, %r13b
je 0x875cc
incl %r15d
jmp 0x87572
cmpl $0xb, %r15d
jb 0x87698
leaq 0x78214(%rip), %rsi     # 0xff7f1
leaq 0x28(%rsp), %rdi
leaq 0x68(%rsp), %rdx
callq 0x319d8
leaq 0x78221(%rip), %rsi     # 0xff814
leaq 0x28(%rsp), %rdi
callq 0x233b0
leaq 0x18(%rsp), %rcx
movq %rcx, 0x8(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x87625
movupd (%rcx), %xmm0
leaq 0x18(%rsp), %rdx
movupd %xmm0, (%rdx)
jmp 0x87632
movq %rdx, 0x8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x18(%rsp)
movq 0x8(%rax), %rdx
movq %rdx, 0x10(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
movq 0xee935(%rip), %rdi     # 0x175f90
callq 0x22ab0
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x8767c
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x229c0
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x87698
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x229c0
movq 0x48(%rsp), %rdi
leaq 0x58(%rsp), %rax
cmpq %rax, %rdi
je 0x876b4
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x229c0
movq %rbx, %rdi
callq 0x923a6
movq %rax, %rbx
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
jne 0x877b1
jmp 0x877c3
jmp 0x877c0
jmp 0x878f8
movq %rax, %rbx
movq 0x128(%rsp), %rdi
cmpq %rbp, %rdi
je 0x8791d
movq 0x138(%rsp), %rsi
jmp 0x87915
jmp 0x878f8
movq %rax, %rbx
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
jne 0x87859
jmp 0x8786b
jmp 0x87868
jmp 0x87889
jmp 0x878ab
jmp 0x878da
movq %rax, %rbx
movq 0x148(%rsp), %rdi
cmpq %r14, %rdi
je 0x87939
movq 0x158(%rsp), %rsi
jmp 0x87931
jmp 0x878da
movq %rax, %rbx
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x87782
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x229c0
jmp 0x87782
jmp 0x8777f
movq %rax, %rbx
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x87939
movq 0x38(%rsp), %rsi
jmp 0x87931
jmp 0x878f8
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x877c3
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x229c0
jmp 0x877c3
movq %rax, %rbx
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x8791d
movq 0x38(%rsp), %rsi
jmp 0x87915
jmp 0x878f8
jmp 0x878da
movq %rax, %rbx
movq 0xc8(%rsp), %rdi
cmpq %r14, %rdi
je 0x878e2
movq 0xd8(%rsp), %rsi
jmp 0x87824
movq %rax, %rbx
movq 0xe8(%rsp), %rdi
cmpq %r14, %rdi
je 0x878e2
movq 0xf8(%rsp), %rsi
incq %rsi
callq 0x229c0
jmp 0x878e2
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
jne 0x878f1
jmp 0x8791d
jmp 0x878f8
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x8786b
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x229c0
jmp 0x8786b
movq %rax, %rbx
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x8788c
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x229c0
jmp 0x8788c
movq %rax, %rbx
movq 0x88(%rsp), %rdi
cmpq %r14, %rdi
je 0x878ae
movq 0x98(%rsp), %rsi
incq %rsi
callq 0x229c0
jmp 0x878ae
movq %rax, %rbx
leaq 0xb8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x87939
movq 0xb8(%rsp), %rsi
jmp 0x87931
jmp 0x878da
movq %rax, %rbx
movq 0x48(%rsp), %rdi
cmpq %r15, %rdi
jne 0x8792c
jmp 0x87939
movq %rax, %rbx
jmp 0x87939
movq %rax, %rbx
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x8791d
movq 0x18(%rsp), %rsi
jmp 0x87915
movq %rax, %rbx
jmp 0x8791d
movq %rax, %rbx
movq 0x108(%rsp), %rdi
cmpq %r15, %rdi
je 0x8791d
movq 0x118(%rsp), %rsi
incq %rsi
callq 0x229c0
movq 0x48(%rsp), %rdi
leaq 0x58(%rsp), %rax
cmpq %rax, %rdi
je 0x87939
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x229c0
movq 0x68(%rsp), %rdi
leaq 0x78(%rsp), %rax
cmpq %rax, %rdi
je 0x87955
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x229c0
movq %rbx, %rdi
callq 0x23240
nop