// File: /workspace/github_cpp_makefile_star2_O3/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, %r13
cmpl $0x3, 0x1614(%rdi)
jb 0x86349
movq 0xefc70(%rip), %rdi     # 0x175fa8
leaq 0x794e2(%rip), %rsi     # 0xff821
movl $0x2b, %edx
callq 0x22ab0
leaq 0x70(%rsp), %rax
movq %rax, -0x10(%rax)
movq $0x0, -0x8(%rax)
movb $0x0, (%rax)
cmpl $0x0, 0x1638(%r13)
jne 0x868c3
leaq 0x10(%rsp), %r15
movq %r15, -0x10(%r15)
movq 0x1520(%r13), %rsi
movq 0x1528(%r13), %rdx
addq %rsi, %rdx
movq %rsp, %rdi
callq 0x3213c
leaq 0x794cd(%rip), %rsi     # 0xff861
movq %rsp, %rdi
callq 0x233b0
leaq 0x60(%rsp), %rdi
movq %rsp, %r14
movq %r14, %rsi
callq 0x22bb0
movq (%r14), %rdi
cmpq %r15, %rdi
je 0x863c1
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x229c0
leaq 0x71b7f(%rip), %rsi     # 0xf7f47
leaq 0xa0(%rsp), %rdi
leaq 0x60(%rsp), %rdx
callq 0x31944
leaq 0x79478(%rip), %rsi     # 0xff859
leaq 0xa0(%rsp), %rdi
callq 0x233b0
leaq 0x90(%rsp), %r14
movq %r14, -0x10(%r14)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x8641e
movq %rdx, 0x80(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x90(%rsp)
jmp 0x86427
movupd (%rcx), %xmm0
movupd %xmm0, (%r14)
movq 0x8(%rax), %rdx
leaq 0x80(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x1800(%r13), %rsi
movq 0x1808(%r13), %rdx
callq 0x222b0
leaq 0x50(%rsp), %rbp
movq %rbp, -0x10(%rbp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x86480
movq %rdx, 0x40(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x50(%rsp)
jmp 0x86489
movupd (%rcx), %xmm0
movupd %xmm0, (%rbp)
movq 0x8(%rax), %rdx
leaq 0x40(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x7af78(%rip), %rsi     # 0x101424
callq 0x233b0
movq %r13, 0xc0(%rsp)
leaq 0x30(%rsp), %rsi
movq %rsi, -0x10(%rsi)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x864e3
movq %rsi, %rbx
movq %rdx, 0x20(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x30(%rsp)
jmp 0x864ee
movupd (%rcx), %xmm0
movq %rsi, %rbx
movupd %xmm0, (%rsi)
movq 0x8(%rax), %rdx
leaq 0x20(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x60(%rsp), %rsi
movq 0x68(%rsp), %rdx
callq 0x222b0
movq %r15, (%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x8653a
movq %rdx, (%rsp)
movq (%rcx), %rdx
movq %rdx, 0x10(%rsp)
jmp 0x86543
movupd (%rcx), %xmm0
movupd %xmm0, (%r15)
movq 0x8(%rax), %rdx
movq %rdx, 0x8(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x20(%rsp), %rdi
cmpq %rbx, %rdi
je 0x86572
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x229c0
movq 0x40(%rsp), %rdi
cmpq %rbp, %rdi
je 0x86589
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x229c0
movq 0x80(%rsp), %rdi
cmpq %r14, %rdi
je 0x865a6
movq 0x90(%rsp), %rsi
incq %rsi
callq 0x229c0
leaq 0xb0(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x865c7
movq 0xb0(%rsp), %rsi
incq %rsi
callq 0x229c0
xorl %r15d, %r15d
leaq 0x118(%rsp), %rbp
leaq 0x108(%rsp), %r14
movq %rbp, 0x108(%rsp)
movq (%rsp), %rsi
movq 0x8(%rsp), %rdx
addq %rsi, %rdx
movq %r14, %rdi
callq 0x3213c
movq %r14, %rdi
callq 0xbfa1f
testl %eax, %eax
setne %r12b
cmpl $0xa, %r15d
setb %r13b
movq 0x108(%rsp), %rdi
cmpq %rbp, %rdi
je 0x86629
movq 0x118(%rsp), %rsi
incq %rsi
callq 0x229c0
andb %r13b, %r12b
incl %r15d
testb %r12b, %r12b
jne 0x865da
leaq 0x20(%rsp), %rdi
movq %rbx, %r12
movq %rbx, (%rdi)
movq 0x60(%rsp), %rsi
movq 0x68(%rsp), %rdx
addq %rsi, %rdx
callq 0x3213c
leaq 0x79212(%rip), %rsi     # 0xff86a
leaq 0x20(%rsp), %rdi
leaq 0x10(%rsp), %r15
callq 0x233b0
movq 0xc0(%rsp), %rbx
leaq 0xf8(%rsp), %r14
movq %r14, -0x10(%r14)
movq 0x20(%rsp), %rsi
movq 0x28(%rsp), %rdx
addq %rsi, %rdx
leaq 0xe8(%rsp), %rdi
callq 0x3213c
leaq 0xe8(%rsp), %rsi
movq %rbx, %rdi
callq 0x91ae2
movq 0xe8(%rsp), %rdi
cmpq %r14, %rdi
je 0x866c2
movq 0xf8(%rsp), %rsi
incq %rsi
callq 0x229c0
leaq 0xd8(%rsp), %r14
movq %r14, -0x10(%r14)
movq 0x60(%rsp), %rsi
movq 0x68(%rsp), %rdx
addq %rsi, %rdx
leaq 0xc8(%rsp), %rdi
callq 0x3213c
leaq 0xc8(%rsp), %rsi
movq %rbx, %rdi
callq 0x949aa
movq 0xc8(%rsp), %rdi
cmpq %r14, %rdi
je 0x86715
movq 0xd8(%rsp), %rsi
incq %rsi
callq 0x229c0
cmpl $0x3, 0x1614(%rbx)
jb 0x86764
movq 0xef883(%rip), %r14     # 0x175fa8
leaq 0x7914b(%rip), %rsi     # 0xff877
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 0xef851(%rip), %rdi     # 0x175fa8
callq 0x22050
movq %rax, %rdi
callq 0x22660
movq %rbx, %rdi
movl $0x16, %esi
callq 0x9439a
cmpl $0x3, 0x1614(%rbx)
jb 0x867c0
movq 0xef827(%rip), %r14     # 0x175fa8
leaq 0x79123(%rip), %rsi     # 0xff8ab
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 0xef7f5(%rip), %rdi     # 0x175fa8
callq 0x22050
movq %rax, %rdi
callq 0x22660
movq 0xef7e1(%rip), %rdi     # 0x175fa8
leaq 0x790f9(%rip), %rsi     # 0xff8c7
movl $0x14, %edx
callq 0x22ab0
callq 0x220b0
subq 0x1db0(%rbx), %rax
cvtsi2sd %rax, %xmm0
divsd 0x7782f(%rip), %xmm0    # 0xfe020
movq 0xef7b0(%rip), %rdi     # 0x175fa8
callq 0x23060
movq %rax, %r14
leaq 0x790d5(%rip), %rsi     # 0xff8dc
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 0x790cb(%rip), %rsi     # 0xff8ff
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 0x20(%rsp), %rdi
cmpq %r12, %rdi
je 0x8687f
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x229c0
movq (%rsp), %rdi
cmpq %r15, %rdi
je 0x86895
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x229c0
movq 0x60(%rsp), %rdi
leaq 0x70(%rsp), %rax
cmpq %rax, %rdi
je 0x868b1
movq 0x70(%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 0x50(%rsp), %r12
movq %r12, -0x10(%r12)
movq 0x1500(%r13), %rsi
movq %r13, %rbx
movq 0x1508(%r13), %rdx
addq %rsi, %rdx
leaq 0x40(%rsp), %rdi
callq 0x3213c
leaq 0x78f65(%rip), %rsi     # 0xff857
leaq 0x40(%rsp), %rdi
callq 0x233b0
movq 0x14c0(%rbx), %rsi
movq 0x14c8(%rbx), %rdx
leaq 0x40(%rsp), %rdi
callq 0x222b0
leaq 0x30(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x86937
movupd (%rcx), %xmm0
movupd %xmm0, (%r15)
jmp 0x86944
movq %rdx, 0x20(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x30(%rsp)
movq 0x8(%rax), %rdx
leaq 0x20(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x78ee6(%rip), %rsi     # 0xff84d
callq 0x233b0
leaq 0x10(%rsp), %rcx
movq %rcx, -0x10(%rcx)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x86993
movupd (%rcx), %xmm0
leaq 0x10(%rsp), %rdx
movupd %xmm0, (%rdx)
jmp 0x8699f
movq %rdx, (%rsp)
movq (%rcx), %rdx
movq %rdx, 0x10(%rsp)
movq 0x8(%rax), %rdx
movq %rsp, %r14
movq %rdx, 0x8(%r14)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x60(%rsp), %rdi
movq %r14, %rsi
callq 0x22bb0
movq (%r14), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x869e0
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x229c0
movq 0x20(%rsp), %rdi
cmpq %r15, %rdi
je 0x869f7
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x229c0
movq 0x40(%rsp), %rdi
cmpq %r12, %rdi
je 0x86a0e
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x229c0
leaq 0x158(%rsp), %r14
movq %r14, -0x10(%r14)
movq 0x60(%rsp), %rsi
movq 0x68(%rsp), %rdx
addq %rsi, %rdx
leaq 0x148(%rsp), %rdi
callq 0x3213c
leaq 0x148(%rsp), %rdi
callq 0xbe9a8
movl %eax, %ebp
movq 0x148(%rsp), %rdi
cmpq %r14, %rdi
je 0x86a60
movq 0x158(%rsp), %rsi
incq %rsi
callq 0x229c0
testl %ebp, %ebp
jne 0x86ce8
leaq 0x714d8(%rip), %rsi     # 0xf7f47
leaq 0xa0(%rsp), %rdi
leaq 0x60(%rsp), %rdx
callq 0x31944
leaq 0x78dd1(%rip), %rsi     # 0xff859
leaq 0xa0(%rsp), %rdi
callq 0x233b0
leaq 0x90(%rsp), %r14
movq %r14, -0x10(%r14)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x86abb
movupd (%rcx), %xmm0
movupd %xmm0, (%r14)
jmp 0x86ace
movq %rdx, 0x80(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x90(%rsp)
movq 0x8(%rax), %rdx
leaq 0x80(%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
movq %r12, 0x40(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x86b20
movupd (%rcx), %xmm0
movupd %xmm0, (%r12)
jmp 0x86b2d
movq %rdx, 0x40(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x50(%rsp)
movq 0x8(%rax), %rdx
leaq 0x40(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x7a8d4(%rip), %rsi     # 0x101424
callq 0x233b0
movq %r15, 0x20(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x86b74
movupd (%rcx), %xmm0
movupd %xmm0, (%r15)
jmp 0x86b81
movq %rdx, 0x20(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x30(%rsp)
movq 0x8(%rax), %rdx
leaq 0x20(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x60(%rsp), %rsi
movq 0x68(%rsp), %rdx
callq 0x222b0
leaq 0x10(%rsp), %rcx
movq %rcx, (%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x86bd3
movupd (%rcx), %xmm0
leaq 0x10(%rsp), %rdx
movupd %xmm0, (%rdx)
jmp 0x86bdf
movq %rdx, (%rsp)
movq (%rcx), %rdx
movq %rdx, 0x10(%rsp)
movq 0x8(%rax), %rdx
movq %rdx, 0x8(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x20(%rsp), %rdi
cmpq %r15, %rdi
je 0x86c0e
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x229c0
movq 0x40(%rsp), %rdi
cmpq %r12, %rdi
je 0x86c25
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x229c0
movq 0x80(%rsp), %rdi
cmpq %r14, %rdi
je 0x86c42
movq 0x90(%rsp), %rsi
incq %rsi
callq 0x229c0
leaq 0xb0(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x86c63
movq 0xb0(%rsp), %rsi
incq %rsi
callq 0x229c0
xorl %ebp, %ebp
leaq 0x138(%rsp), %r12
leaq 0x128(%rsp), %r14
movq %r12, 0x128(%rsp)
movq (%rsp), %rsi
movq 0x8(%rsp), %rdx
addq %rsi, %rdx
movq %r14, %rdi
callq 0x3213c
movq %r14, %rdi
callq 0xbfa1f
testl %eax, %eax
setne %r15b
cmpl $0xa, %ebp
setb %r13b
movq 0x128(%rsp), %rdi
cmpq %r12, %rdi
je 0x86cc3
movq 0x138(%rsp), %rsi
incq %rsi
callq 0x229c0
andb %r13b, %r15b
incl %ebp
testb %r15b, %r15b
jne 0x86c75
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x86ce8
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x229c0
movq %rbx, %rdi
callq 0x91a88
movq %rax, %r13
movq 0x128(%rsp), %rdi
cmpq %r12, %rdi
je 0x86ed2
movq 0x138(%rsp), %rsi
jmp 0x86eca
jmp 0x86ead
movq %rax, %r13
movq 0x20(%rsp), %rdi
cmpq %r15, %rdi
je 0x86d35
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x229c0
jmp 0x86d35
movq %rax, %r13
movq 0x40(%rsp), %rdi
cmpq %r12, %rdi
jne 0x86e35
jmp 0x86e47
jmp 0x86e44
jmp 0x86e66
jmp 0x86e94
movq %rax, %r13
movq 0x148(%rsp), %rdi
cmpq %r14, %rdi
je 0x86eed
movq 0x158(%rsp), %rsi
jmp 0x86ee5
jmp 0x86e94
movq %rax, %r13
movq 0x20(%rsp), %rdi
cmpq %r15, %rdi
je 0x86d9e
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x229c0
jmp 0x86d9e
jmp 0x86d9b
movq %rax, %r13
movq 0x40(%rsp), %rdi
cmpq %r12, %rdi
je 0x86eed
movq 0x50(%rsp), %rsi
jmp 0x86ee5
jmp 0x86e94
movq %rax, %r13
movq 0xc8(%rsp), %rdi
cmpq %r14, %rdi
je 0x86e9c
movq 0xd8(%rsp), %rsi
jmp 0x86df5
movq %rax, %r13
movq 0xe8(%rsp), %rdi
cmpq %r14, %rdi
je 0x86e9c
movq 0xf8(%rsp), %rsi
incq %rsi
callq 0x229c0
jmp 0x86e9c
jmp 0x86e99
jmp 0x86ead
movq %rax, %r13
movq 0x20(%rsp), %rdi
cmpq %rbx, %rdi
je 0x86e2b
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x229c0
jmp 0x86e2b
movq %rax, %r13
movq 0x40(%rsp), %rdi
cmpq %rbp, %rdi
je 0x86e47
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x229c0
jmp 0x86e47
movq %rax, %r13
movq 0x80(%rsp), %rdi
cmpq %r14, %rdi
je 0x86e69
movq 0x90(%rsp), %rsi
incq %rsi
callq 0x229c0
jmp 0x86e69
movq %rax, %r13
leaq 0xb0(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x86eed
movq 0xb0(%rsp), %rsi
jmp 0x86ee5
jmp 0x86e94
movq %rax, %r13
movq (%rsp), %rdi
cmpq %r15, %rdi
jne 0x86ee0
jmp 0x86eed
movq %rax, %r13
jmp 0x86eed
movq %rax, %r13
movq 0x20(%rsp), %rdi
cmpq %r12, %rdi
je 0x86ed2
movq 0x30(%rsp), %rsi
jmp 0x86eca
movq %rax, %r13
jmp 0x86ed2
movq %rax, %r13
movq 0x108(%rsp), %rdi
cmpq %rbp, %rdi
je 0x86ed2
movq 0x118(%rsp), %rsi
incq %rsi
callq 0x229c0
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x86eed
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x229c0
movq 0x60(%rsp), %rdi
leaq 0x70(%rsp), %rax
cmpq %rax, %rdi
je 0x86f09
movq 0x70(%rsp), %rsi
incq %rsi
callq 0x229c0
movq %r13, %rdi
callq 0x23240
nop