// File: /workspace/github_cpp_makefile_star2_O1/richardposner[P]BioNetFit2/src/code/Swarm.cpp
// Function: Swarm::runAPSO()
void Swarm::runAPSO() {
	if (options.verbosity >= 3) {
		cout << "Running an asynchronous PSO fit" << endl;
	}

	if (!checkIfFileExists(options.jobOutputDir + "1")) {
		string createDirCmd = "mkdir " + options.jobOutputDir + "1";
		runCommand(createDirCmd);
	}

	if (!resumingSavedSwarm) {
		// Generate all particles that will be present in the swarm
		populationTopology_ = generateTopology(options.swarmSize);

		// Run first flight
		initPSOswarm();
	}


	if (options.verbosity >= 0) {
		cout << "Generation (flock): " << toString(currentGeneration - 1 ) << endl;
	}
		vector<unsigned int> particlestoProcess;


	bool stopCriteria = false;
	while (!stopCriteria){
		if (options.verbosity >= 3) {
			cout << "RAQUEL: Started runasyncGeneration();" << endl;
		}
		runAsyncGeneration();
		if (options.verbosity >= 3) {
			cout << "RAQUEL: Finished runasyncGeneration();" << endl;

			cout << "RAQUEL: Started checkStopCriteria();" << endl;
		}

		if (options.verbosity >= 0) {
			cout << "Generation (flock): " << toString(currentGeneration - 1 ) << endl;
		}

		stopCriteria = checkStopCriteria();
		if (options.verbosity >= 3) {
			cout << "RAQUEL: Stop criteria value is " << stopCriteria << endl;

			cout << "RAQUEL: Finished checkStopCriteria();" << endl;
			cout << "RAQUEL: Started saveSwarmState();" << endl;
		}
		saveSwarmState();
		if (options.verbosity >= 3) {

			cout << "RAQUEL: Finished saveSwarmState();" << endl;
		}

		string currentDirectory = options.jobOutputDir + toString(currentGeneration);
		if (options.deleteOldFiles) {
			if (options.verbosity >= 3) {
				cout << "RAQUEL: Started cleanupFiles();" << endl;
			}
			cleanupFiles(currentDirectory.c_str());
			if (options.verbosity >= 3) {
				cout << "RAQUEL: Finished cleanupFiles();" << endl;
			}
		}

		string outputPath = options.jobOutputDir + toString(currentGeneration - 1 ) + "_summary.txt";
		if (options.verbosity >= 3) {
			cout << "RAQUEL: Started outputRunSummary();" << endl;
		}
		outputRunSummary(outputPath);
		if (options.verbosity >= 3) {
			cout << "RAQUEL: Finished outputRunSummary();" << endl;
		}

		if (!stopCriteria) {
			if (options.verbosity >= 3) {
				cout << "RAQUEL: started processParticlesPSO();" << endl;
			}
			particlestoProcess.clear();

			for(auto i = finishedParticles_.begin(); i!=finishedParticles_.end(); ++i){
				if (options.verbosity >= 3) {
					cout << "RAQUEL: processing particle number: " << *i << endl;
				}
				particlestoProcess.push_back(*i);
			}
			processParticlesPSO(particlestoProcess, true);

			if (options.verbosity >= 3) {
				cout << "RAQUEL: finished processParticlesPSO();" << endl;
			}
		}
	}
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x118, %rsp            # imm = 0x118
movq %rdi, %rbx
cmpl $0x3, 0x1614(%rdi)
jb 0x8201d
movq 0xf3fae(%rip), %r14     # 0x175f90
leaq 0x7ea84(%rip), %rsi     # 0x100a6d
movl $0x1f, %edx
movq %r14, %rdi
callq 0x22ab0
movq (%r14), %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
leaq 0xb0(%rsp), %r15
movq %r15, -0x10(%r15)
movq 0x1520(%rbx), %rsi
movq 0x1528(%rbx), %rdx
addq %rsi, %rdx
leaq 0xa0(%rsp), %r14
movq %r14, %rdi
callq 0x32180
leaq 0x76bab(%rip), %rsi     # 0xf8bfc
movq %r14, %rdi
callq 0x233b0
leaq 0xa0(%rsp), %rdi
callq 0xbf2c2
movl %eax, %ebp
movq 0xa0(%rsp), %rdi
cmpq %r15, %rdi
je 0x82085
movq 0xb0(%rsp), %rsi
incq %rsi
callq 0x229c0
testl %ebp, %ebp
jne 0x8217c
leaq 0x1520(%rbx), %rdx
leaq 0x75efc(%rip), %rsi     # 0xf7f97
leaq 0x20(%rsp), %r14
movq %r14, %rdi
callq 0x319d8
leaq 0x76b4d(%rip), %rsi     # 0xf8bfc
movq %r14, %rdi
callq 0x233b0
leaq 0x10(%rsp), %r14
movq %r14, -0x10(%r14)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x820dd
movq %rdx, (%rsp)
movq (%rcx), %rdx
movq %rdx, 0x10(%rsp)
jmp 0x820e4
movups (%rcx), %xmm0
movups %xmm0, (%r14)
movq 0x8(%rax), %rdx
movq %rdx, 0x8(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x30(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x82117
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x229c0
leaq 0x108(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%rsp), %rsi
movq 0x8(%rsp), %rdx
addq %rsi, %rdx
leaq 0xf8(%rsp), %rdi
callq 0x32180
leaq 0xf8(%rsp), %rdi
callq 0xc038e
movq 0xf8(%rsp), %rdi
cmpq %r15, %rdi
je 0x82166
movq 0x108(%rsp), %rsi
incq %rsi
callq 0x229c0
movq (%rsp), %rdi
cmpq %r14, %rdi
je 0x8217c
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x229c0
cmpb $0x0, 0x13f0(%rbx)
jne 0x82212
movl 0x1620(%rbx), %edx
leaq 0x20(%rsp), %r14
movq %r14, %rdi
movq %rbx, %rsi
callq 0x881a0
xorps %xmm0, %xmm0
movq %rsp, %rdi
movaps %xmm0, (%rdi)
movq $0x0, 0x10(%rdi)
movq 0x1a08(%rbx), %rax
movups 0x1a10(%rbx), %xmm0
movq (%r14), %rcx
movq %rcx, 0x1a08(%rbx)
movq 0x8(%r14), %rcx
movq %rcx, 0x1a10(%rbx)
movq 0x10(%r14), %rcx
movq %rcx, 0x1a18(%rbx)
movq (%rdi), %rcx
movq 0x8(%rdi), %rdx
movq 0x10(%rdi), %rsi
movq %rax, (%rdi)
movups %xmm0, 0x8(%rdi)
movq %rcx, (%r14)
movq %rdx, 0x8(%r14)
movq %rsi, 0x10(%r14)
callq 0xa7bb4
movq %r14, %rdi
callq 0xa7bb4
movq %rbx, %rdi
xorl %esi, %esi
callq 0x9caf4
movq 0xf3d77(%rip), %r14     # 0x175f90
leaq 0x7e5d6(%rip), %rsi     # 0x1007f6
movl $0x14, %edx
movq %r14, %rdi
callq 0x22ab0
movl 0x13e8(%rbx), %esi
decl %esi
movq %rsp, %r15
movq %r15, %rdi
callq 0xc03b8
movq (%r15), %rsi
movq 0x8(%r15), %rdx
movq %r14, %rdi
callq 0x22ab0
movq %rax, %r15
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x22940
movsbl %al, %esi
movq %r15, %rdi
callq 0x22050
movq %rax, %rdi
callq 0x22660
leaq 0x10(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x82294
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x229c0
xorps %xmm0, %xmm0
leaq 0x40(%rsp), %rax
movaps %xmm0, (%rax)
movq $0x0, 0x10(%rax)
leaq 0x18c8(%rbx), %rbp
cmpl $0x3, 0x1614(%rbx)
jb 0x822f2
movl $0x25, %edx
movq %r14, %rdi
leaq 0x7e7c7(%rip), %rsi     # 0x100a8d
callq 0x22ab0
movq (%r14), %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 %rbx, %rdi
callq 0x90612
cmpl $0x3, 0x1614(%rbx)
jb 0x82379
movl $0x26, %edx
movq %r14, %rdi
leaq 0x7e7a1(%rip), %rsi     # 0x100ab3
callq 0x22ab0
movq (%r14), %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
movl $0x24, %edx
movq %r14, %rdi
leaq 0x7e5e4(%rip), %rsi     # 0x100931
callq 0x22ab0
movq (%r14), %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
movl $0x14, %edx
movq %r14, %rdi
leaq 0x7e46e(%rip), %rsi     # 0x1007f6
callq 0x22ab0
movl 0x13e8(%rbx), %esi
decl %esi
movq %rsp, %rdi
callq 0xc03b8
movq (%rsp), %rsi
movq 0x8(%rsp), %rdx
movq %r14, %rdi
callq 0x22ab0
movq %rax, %r12
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r12, %rdi
movl $0xa, %esi
callq 0x22940
movsbl %al, %esi
movq %r12, %rdi
callq 0x22050
movq %rax, %rdi
callq 0x22660
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x823f3
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x229c0
movq %rbx, %rdi
callq 0x8795e
movl %eax, %r12d
cmpl $0x3, 0x1614(%rbx)
jb 0x824cb
movl $0x1f, %edx
movq %r14, %rdi
leaq 0x7e5a0(%rip), %rsi     # 0x1009ba
callq 0x22ab0
movzbl %r12b, %esi
movq %r14, %rdi
callq 0x230e0
movq %rax, %r13
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r13, %rdi
movl $0xa, %esi
callq 0x22940
movsbl %al, %esi
movq %r13, %rdi
callq 0x22050
movq %rax, %rdi
callq 0x22660
movl $0x25, %edx
movq %r14, %rdi
leaq 0x7e576(%rip), %rsi     # 0x1009da
callq 0x22ab0
movq (%r14), %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
movl $0x21, %edx
movq %r14, %rdi
leaq 0x7e561(%rip), %rsi     # 0x100a00
callq 0x22ab0
movq (%r14), %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 %rbx, %rdi
callq 0x9c93c
cmpl $0x3, 0x1614(%rbx)
jb 0x82517
movl $0x22, %edx
movq %r14, %rdi
leaq 0x7e46b(%rip), %rsi     # 0x100956
callq 0x22ab0
movq (%r14), %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
movl 0x13e8(%rbx), %esi
leaq 0x20(%rsp), %r15
movq %r15, %rdi
callq 0xc03b8
movq 0x1520(%rbx), %rcx
movq 0x1528(%rbx), %r8
movq %r15, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x22a80
leaq 0x10(%rsp), %rsi
movq %rsi, (%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x8256a
movq %rdx, (%rsp)
movq (%rcx), %rdx
movq %rdx, 0x10(%rsp)
jmp 0x82570
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq 0x8(%rax), %rdx
movq %rdx, 0x8(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x20(%rsp), %rdi
leaq 0x30(%rsp), %rax
cmpq %rax, %rdi
je 0x825a4
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x229c0
cmpb $0x1, 0x1646(%rbx)
jne 0x82642
cmpl $0x3, 0x1614(%rbx)
jb 0x825f5
movl $0x1f, %edx
movq %r14, %rdi
leaq 0x7e3b0(%rip), %rsi     # 0x100979
callq 0x22ab0
movq (%r14), %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 (%rsp), %rsi
callq 0x91f58
cmpl $0x3, 0x1614(%rbx)
jb 0x82642
movl $0x20, %edx
movq %r14, %rdi
leaq 0x7e383(%rip), %rsi     # 0x100999
callq 0x22ab0
movq (%r14), %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
movl 0x13e8(%rbx), %esi
decl %esi
leaq 0xd8(%rsp), %r15
movq %r15, %rdi
callq 0xc03b8
movq 0x1520(%rbx), %rcx
movq 0x1528(%rbx), %r8
movq %r15, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x22a80
leaq 0x70(%rsp), %rsi
movq %rsi, 0x60(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x8269c
movq %rdx, 0x60(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x70(%rsp)
jmp 0x826a2
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq 0x8(%rax), %rdx
movq %rdx, 0x68(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x60(%rsp), %rdi
leaq 0x7e0b0(%rip), %rsi     # 0x100776
callq 0x233b0
leaq 0x30(%rsp), %rsi
movq %rsi, 0x20(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x826f3
movq %rdx, 0x20(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x30(%rsp)
jmp 0x826f9
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq 0x8(%rax), %rdx
movq %rdx, 0x28(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x60(%rsp), %rdi
leaq 0x70(%rsp), %rax
cmpq %rax, %rdi
je 0x8272d
movq 0x70(%rsp), %rsi
incq %rsi
callq 0x229c0
movq 0xd8(%rsp), %rdi
leaq 0xe8(%rsp), %rax
cmpq %rax, %rdi
je 0x82752
movq 0xe8(%rsp), %rsi
incq %rsi
callq 0x229c0
cmpl $0x3, 0x1614(%rbx)
jb 0x82796
movl $0x23, %edx
movq %r14, %rdi
leaq 0x7e370(%rip), %rsi     # 0x100ada
callq 0x22ab0
movq (%r14), %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
leaq 0x90(%rsp), %rax
movq %rax, 0x80(%rsp)
movq 0x20(%rsp), %rsi
movq 0x28(%rsp), %rdx
addq %rsi, %rdx
leaq 0x80(%rsp), %rdi
callq 0x32180
movq %rbx, %rdi
leaq 0x80(%rsp), %rsi
callq 0x92400
movq 0x80(%rsp), %rdi
leaq 0x90(%rsp), %rax
cmpq %rax, %rdi
je 0x827f5
movq 0x90(%rsp), %rsi
incq %rsi
callq 0x229c0
cmpl $0x3, 0x1614(%rbx)
jb 0x82839
movl $0x24, %edx
movq %r14, %rdi
leaq 0x7e2f1(%rip), %rsi     # 0x100afe
callq 0x22ab0
movq (%r14), %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
testb %r12b, %r12b
jne 0x829fe
cmpl $0x3, 0x1614(%rbx)
jb 0x82886
movl $0x26, %edx
movq %r14, %rdi
leaq 0x7e2c9(%rip), %rsi     # 0x100b23
callq 0x22ab0
movq (%r14), %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 0x40(%rsp), %rax
cmpq %rax, 0x48(%rsp)
je 0x82897
movq %rax, 0x48(%rsp)
movq 0x18d8(%rbx), %r13
cmpq %rbp, %r13
je 0x82937
cmpl $0x3, 0x1614(%rbx)
jb 0x828fa
movl $0x24, %edx
movq %r14, %rdi
leaq 0x7e28b(%rip), %rsi     # 0x100b4a
callq 0x22ab0
movl 0x20(%r13), %esi
movq %r14, %rdi
callq 0x22650
movq %rax, %r15
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x22940
movsbl %al, %esi
movq %r15, %rdi
callq 0x22050
movq %rax, %rdi
callq 0x22660
leaq 0x20(%r13), %rdx
movq 0x48(%rsp), %rsi
cmpq 0x50(%rsp), %rsi
je 0x82919
movl (%rdx), %eax
movl %eax, (%rsi)
addq $0x4, %rsi
movq %rsi, 0x48(%rsp)
jmp 0x82923
leaq 0x40(%rsp), %rdi
callq 0x6b5ce
movq %r13, %rdi
callq 0x22ad0
movq %rax, %r13
cmpq %rbp, %rax
jne 0x828a7
leaq 0xc0(%rsp), %rdi
leaq 0x40(%rsp), %rsi
callq 0xa8934
movq %rbx, %rdi
leaq 0xc0(%rsp), %rsi
xorl %edx, %edx
callq 0x8905e
movq 0xc0(%rsp), %rdi
testq %rdi, %rdi
je 0x82978
movq 0xd0(%rsp), %rsi
subq %rdi, %rsi
callq 0x229c0
cmpl $0x3, 0x1614(%rbx)
jb 0x829bc
movl $0x27, %edx
movq %r14, %rdi
leaq 0x7e1df(%rip), %rsi     # 0x100b6f
callq 0x22ab0
movq (%r14), %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 0x20(%rsp), %rdi
leaq 0x30(%rsp), %rax
cmpq %rax, %rdi
je 0x829d8
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x229c0
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x829f3
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x229c0
testb %r12b, %r12b
je 0x822ae
jmp 0x82a35
movq 0x20(%rsp), %rdi
leaq 0x30(%rsp), %rax
cmpq %rax, %rdi
je 0x82a1a
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x229c0
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x82a35
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x229c0
movq 0x40(%rsp), %rdi
testq %rdi, %rdi
je 0x82a4c
movq 0x50(%rsp), %rsi
subq %rdi, %rsi
callq 0x229c0
addq $0x118, %rsp            # imm = 0x118
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq 0xf8(%rsp), %rdi
cmpq %r15, %rdi
je 0x82a83
movq 0x108(%rsp), %rsi
incq %rsi
callq 0x229c0
jmp 0x82a83
movq %rax, %rbx
movq (%rsp), %rdi
cmpq %r14, %rdi
jne 0x82ae2
jmp 0x82c06
movq %rax, %rbx
leaq 0x30(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x82c06
movq 0x30(%rsp), %rsi
jmp 0x82ae7
jmp 0x82aaf
movq %rax, %rbx
movq 0xa0(%rsp), %rdi
cmpq %r15, %rdi
je 0x82c06
movq 0xb0(%rsp), %rsi
jmp 0x82ae7
movq %rax, %rbx
leaq 0x10(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x82c06
movq 0x10(%rsp), %rsi
incq %rsi
jmp 0x82c01
movq %rax, %rbx
movq 0xc0(%rsp), %rdi
testq %rdi, %rdi
je 0x82bb8
movq 0xd0(%rsp), %rsi
subq %rdi, %rsi
jmp 0x82b37
movq %rax, %rbx
movq 0x80(%rsp), %rdi
leaq 0x90(%rsp), %rax
cmpq %rax, %rdi
je 0x82bb8
movq 0x90(%rsp), %rsi
incq %rsi
callq 0x229c0
jmp 0x82bb8
movq %rax, %rbx
jmp 0x82b82
movq %rax, %rbx
movq 0x20(%rsp), %rdi
leaq 0x30(%rsp), %rax
cmpq %rax, %rdi
je 0x82bef
movq 0x30(%rsp), %rsi
jmp 0x82be7
movq %rax, %rbx
movq 0x60(%rsp), %rdi
leaq 0x70(%rsp), %rax
cmpq %rax, %rdi
je 0x82b82
movq 0x70(%rsp), %rsi
incq %rsi
callq 0x229c0
movq 0xd8(%rsp), %rdi
leaq 0xe8(%rsp), %rax
cmpq %rax, %rdi
je 0x82bd4
movq 0xe8(%rsp), %rsi
jmp 0x82bcc
jmp 0x82ba9
jmp 0x82bb0
jmp 0x82bb0
jmp 0x82ba9
movq %rax, %rbx
jmp 0x82bd4
jmp 0x82bb5
movq %rax, %rbx
jmp 0x82bef
movq %rax, %rbx
movq 0x20(%rsp), %rdi
leaq 0x30(%rsp), %rax
cmpq %rax, %rdi
je 0x82bd4
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x229c0
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x82bef
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x229c0
movq 0x40(%rsp), %rdi
testq %rdi, %rdi
je 0x82c06
movq 0x50(%rsp), %rsi
subq %rdi, %rsi
callq 0x229c0
movq %rbx, %rdi
callq 0x23240