// File: /workspace/github_cpp_makefile_star2_O1/richardposner[P]BioNetFit2/src/code/Swarm.cpp
// Function: Swarm::generateSlurmBatchFile(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
string Swarm::generateSlurmBatchFile(string runCmd) {
	string sbatchPath = options.jobOutputDir + "slurm_script.sh";
	ofstream sbatch(sbatchPath, ios::out);

	if (sbatch.is_open()) {
		//TODO: Need to display terminal output from cluster jobs

		sbatch << "#!/bin/sh" << endl << endl;

		// Add the job name
		sbatch << "#SBATCH -J " + options.jobName << endl;

		// Specify the cluster account if needed
		if (!options.clusterAccount.empty()) {
			sbatch << "#SBATCH -A " + options.clusterAccount << endl;
		}

		if (!options.clusterQueue.empty()) {
			sbatch << "#SBATCH -p " + options.clusterQueue << endl;
		}

		// Specify output directory if needed
		if (options.saveClusterOutput) {
			sbatch << "#SBATCH -o " + options.outputDir + "/" + options.jobName + "_cluster_output/" + options.jobName << endl;
		}
		else {
			sbatch << "#SBATCH -o /dev/null" << endl;
		}

		sbatch << "#SBATCH -n" + toString(options.parallelCount + 1) << endl;

		sbatch << endl;

		sbatch << "module load openmpi" << endl;
		//sbatch << "module load intel << endl;"
		sbatch << "echo LD_LIBRARY_PATH: $LD_LIBRARY_PATH" << endl;
		sbatch << "echo PATH: $PATH" << endl;
		sbatch << "echo which mpirun:" << endl;
		sbatch << "which mpirun" << endl;
		sbatch << "echo pwd:" << endl;
		sbatch << "pwd"	<< endl;
		sbatch << "echo ldd GenFit2:" << endl;
		sbatch << "ldd /home/bt285/BioNetFit/bin/GenFit2" << endl;;

		cout<<"Swarm::generateSlurmBatchFile Might need some modifications ....582\n";
		sbatch << "mpirun -mca mca_component_show_load_errors 10 -v --tag-output -np 1 " << runCmd << " load " << sConf_[0] << " : -np " << options.swarmSize << " " << runCmd << " particle 0 run " << sConf_[0] << endl;

		sbatch.close();
	}
	else {
		outputError("Error: Couldn't generate slurm batch file: " + sbatchPath + ". Quitting.");
	}

	runCmd = "sbatch " + sbatchPath;

	return runCmd;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x2e8, %rsp            # imm = 0x2E8
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
leaq 0x58(%rsp), %rbp
movq %rbp, -0x10(%rbp)
movq 0x1520(%rsi), %rsi
movq 0x1528(%r15), %rdx
addq %rsi, %rdx
leaq 0x48(%rsp), %r12
movq %r12, %rdi
callq 0x32180
leaq 0x64c2d(%rip), %rsi     # 0x100401
movq %r12, %rdi
callq 0x233b0
leaq 0xe8(%rsp), %rdi
leaq 0x48(%rsp), %rsi
movl $0x10, %edx
callq 0x233d0
leaq 0x158(%rsp), %rdi
callq 0x221e0
testb %al, %al
je 0x9c289
leaq 0x64c02(%rip), %rsi     # 0x100411
leaq 0xe8(%rsp), %r12
movl $0x9, %edx
movq %r12, %rdi
callq 0x22ab0
movq 0xe8(%rsp), %rax
addq -0x18(%rax), %r12
movq %r12, %rdi
movl $0xa, %esi
callq 0x22940
movsbl %al, %esi
leaq 0xe8(%rsp), %rdi
callq 0x22050
movq %rax, %rdi
callq 0x22660
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
leaq 0x14c0(%r15), %rdx
leaq 0x64b8e(%rip), %rsi     # 0x10041b
leaq 0x8(%rsp), %rdi
callq 0x319d8
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
leaq 0xe8(%rsp), %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
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x9b8f3
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x229c0
cmpq $0x0, 0x1758(%r15)
je 0x9b972
leaq 0x1750(%r15), %rdx
leaq 0x64b1c(%rip), %rsi     # 0x100427
leaq 0x8(%rsp), %rdi
callq 0x319d8
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
leaq 0xe8(%rsp), %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 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x9b972
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x229c0
cmpq $0x0, 0x1780(%r15)
je 0x9b9f1
leaq 0x1778(%r15), %rdx
leaq 0x64aa9(%rip), %rsi     # 0x100433
leaq 0x8(%rsp), %rdi
callq 0x319d8
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
leaq 0xe8(%rsp), %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 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x9b9f1
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x229c0
cmpb $0x1, 0x1770(%r15)
jne 0x9ba51
leaq 0x1500(%r15), %rdx
leaq 0x64a36(%rip), %rsi     # 0x10043f
leaq 0xc8(%rsp), %rdi
callq 0x319d8
leaq 0x63dca(%rip), %rsi     # 0xff7e7
leaq 0xc8(%rsp), %rdi
callq 0x233b0
leaq 0x78(%rsp), %rsi
movq %rsi, -0x10(%rsi)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x9baa3
movq %rdx, 0x68(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x78(%rsp)
jmp 0x9baa9
leaq 0x649f3(%rip), %rsi     # 0x10044b
leaq 0xe8(%rsp), %r12
movl $0x14, %edx
movq %r12, %rdi
callq 0x22ab0
movq 0xe8(%rsp), %rax
addq -0x18(%rax), %r12
movq %r12, %rdi
movl $0xa, %esi
callq 0x22940
movsbl %al, %esi
leaq 0xe8(%rsp), %rdi
callq 0x22050
movq %rax, %rdi
callq 0x22660
jmp 0x9bcb1
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq 0x8(%rax), %rdx
leaq 0x68(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x14c0(%r15), %rsi
movq 0x14c8(%r15), %rdx
callq 0x222b0
leaq 0x98(%rsp), %r13
movq %r13, -0x10(%r13)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x9bb08
movq %rdx, 0x88(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x98(%rsp)
jmp 0x9bb10
movups (%rcx), %xmm0
movups %xmm0, (%r13)
movq 0x8(%rax), %rdx
leaq 0x88(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x646cb(%rip), %rsi     # 0x100201
callq 0x233b0
leaq 0x38(%rsp), %rbp
movq %rbp, -0x10(%rbp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x9bb62
movq %rdx, 0x28(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x38(%rsp)
jmp 0x9bb69
movups (%rcx), %xmm0
movups %xmm0, (%rbp)
movq 0x8(%rax), %rdx
leaq 0x28(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x14c0(%r15), %rsi
movq 0x14c8(%r15), %rdx
callq 0x222b0
leaq 0x18(%rsp), %rsi
movq %rsi, 0x8(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x9bbc0
movq %rdx, 0x8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x18(%rsp)
jmp 0x9bbc6
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
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
leaq 0xe8(%rsp), %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 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x9bc3b
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x229c0
movq 0x28(%rsp), %rdi
cmpq %rbp, %rdi
je 0x9bc52
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x229c0
movq 0x88(%rsp), %rdi
cmpq %r13, %rdi
leaq 0x58(%rsp), %rbp
je 0x9bc74
movq 0x98(%rsp), %rsi
incq %rsi
callq 0x229c0
movq 0x68(%rsp), %rdi
leaq 0x78(%rsp), %rax
cmpq %rax, %rdi
je 0x9bc90
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x229c0
leaq 0xd8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x9bcb1
movq 0xd8(%rsp), %rsi
incq %rsi
callq 0x229c0
movl 0x1628(%r15), %esi
incl %esi
leaq 0x28(%rsp), %rdi
callq 0xc03b8
leaq 0x64795(%rip), %rcx     # 0x100460
leaq 0x28(%rsp), %rdi
movl $0xa, %r8d
xorl %esi, %esi
xorl %edx, %edx
callq 0x22a80
leaq 0x18(%rsp), %rsi
movq %rsi, 0x8(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x9bd07
movq %rdx, 0x8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x18(%rsp)
jmp 0x9bd0d
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
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
leaq 0xe8(%rsp), %r12
movq %r12, %rdi
callq 0x22ab0
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
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x9bd85
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x229c0
leaq 0x38(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x9bda0
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x229c0
movq 0xe8(%rsp), %rax
addq -0x18(%rax), %r12
movq %r12, %rdi
movl $0xa, %esi
callq 0x22940
movsbl %al, %esi
leaq 0xe8(%rsp), %rdi
callq 0x22050
movq %rax, %rdi
callq 0x22660
leaq 0x64693(%rip), %rsi     # 0x10046b
leaq 0xe8(%rsp), %r12
movl $0x13, %edx
movq %r12, %rdi
callq 0x22ab0
movq 0xe8(%rsp), %rax
addq -0x18(%rax), %r12
movq %r12, %rdi
movl $0xa, %esi
callq 0x22940
movsbl %al, %esi
leaq 0xe8(%rsp), %rdi
callq 0x22050
movq %rax, %rdi
callq 0x22660
leaq 0x6465a(%rip), %rsi     # 0x10047f
leaq 0xe8(%rsp), %r12
movl $0x26, %edx
movq %r12, %rdi
callq 0x22ab0
movq 0xe8(%rsp), %rax
addq -0x18(%rax), %r12
movq %r12, %rdi
movl $0xa, %esi
callq 0x22940
movsbl %al, %esi
leaq 0xe8(%rsp), %rdi
callq 0x22050
movq %rax, %rdi
callq 0x22660
leaq 0x64634(%rip), %rsi     # 0x1004a6
leaq 0xe8(%rsp), %r12
movl $0x10, %edx
movq %r12, %rdi
callq 0x22ab0
movq 0xe8(%rsp), %rax
addq -0x18(%rax), %r12
movq %r12, %rdi
movl $0xa, %esi
callq 0x22940
movsbl %al, %esi
leaq 0xe8(%rsp), %rdi
callq 0x22050
movq %rax, %rdi
callq 0x22660
leaq 0x645f8(%rip), %rsi     # 0x1004b7
leaq 0xe8(%rsp), %r12
movl $0x12, %edx
movq %r12, %rdi
callq 0x22ab0
movq 0xe8(%rsp), %rax
addq -0x18(%rax), %r12
movq %r12, %rdi
movl $0xa, %esi
callq 0x22940
movsbl %al, %esi
leaq 0xe8(%rsp), %rdi
callq 0x22050
movq %rax, %rdi
callq 0x22660
leaq 0x63b21(%rip), %rsi     # 0xffa2d
leaq 0xe8(%rsp), %r12
movl $0xc, %edx
movq %r12, %rdi
callq 0x22ab0
movq 0xe8(%rsp), %rax
addq -0x18(%rax), %r12
movq %r12, %rdi
movl $0xa, %esi
callq 0x22940
movsbl %al, %esi
leaq 0xe8(%rsp), %rdi
callq 0x22050
movq %rax, %rdi
callq 0x22660
leaq 0x64571(%rip), %rsi     # 0x1004ca
leaq 0xe8(%rsp), %r12
movl $0x9, %edx
movq %r12, %rdi
callq 0x22ab0
movq 0xe8(%rsp), %rax
addq -0x18(%rax), %r12
movq %r12, %rdi
movl $0xa, %esi
callq 0x22940
movsbl %al, %esi
leaq 0xe8(%rsp), %rdi
callq 0x22050
movq %rax, %rdi
callq 0x22660
leaq 0x6452e(%rip), %rsi     # 0x1004d4
leaq 0xe8(%rsp), %r12
movl $0x3, %edx
movq %r12, %rdi
callq 0x22ab0
movq 0xe8(%rsp), %rax
addq -0x18(%rax), %r12
movq %r12, %rdi
movl $0xa, %esi
callq 0x22940
movsbl %al, %esi
leaq 0xe8(%rsp), %rdi
callq 0x22050
movq %rax, %rdi
callq 0x22660
leaq 0x644e5(%rip), %rsi     # 0x1004d8
leaq 0xe8(%rsp), %r12
movl $0x11, %edx
movq %r12, %rdi
callq 0x22ab0
movq 0xe8(%rsp), %rax
addq -0x18(%rax), %r12
movq %r12, %rdi
movl $0xa, %esi
callq 0x22940
movsbl %al, %esi
leaq 0xe8(%rsp), %rdi
callq 0x22050
movq %rax, %rdi
callq 0x22660
leaq 0x644aa(%rip), %rsi     # 0x1004ea
leaq 0xe8(%rsp), %r12
movl $0x25, %edx
movq %r12, %rdi
callq 0x22ab0
movq 0xe8(%rsp), %rax
addq -0x18(%rax), %r12
movq %r12, %rdi
movl $0xa, %esi
callq 0x22940
movsbl %al, %esi
leaq 0xe8(%rsp), %rdi
callq 0x22050
movq %rax, %rdi
callq 0x22660
movq 0xd9f03(%rip), %rdi     # 0x175f90
leaq 0x6447c(%rip), %rsi     # 0x100510
movl $0x44, %edx
callq 0x22ab0
leaq 0x644b0(%rip), %rsi     # 0x100555
leaq 0xe8(%rsp), %rdi
movl $0x44, %edx
callq 0x22ab0
movq (%r14), %rsi
movq 0x8(%r14), %rdx
leaq 0xe8(%rsp), %rdi
callq 0x22ab0
movq %rax, %r12
leaq 0x642e2(%rip), %rsi     # 0x1003b7
movl $0x6, %edx
movq %rax, %rdi
callq 0x22ab0
movq 0x1938(%r15), %rax
movq (%rax), %rsi
movq 0x8(%rax), %rdx
movq %r12, %rdi
callq 0x22ab0
movq %rax, %r12
leaq 0x64498(%rip), %rsi     # 0x10059a
movl $0x7, %edx
movq %rax, %rdi
callq 0x22ab0
movl 0x1620(%r15), %esi
movq %r12, %rdi
callq 0x231e0
movq %rax, %r12
leaq 0x65315(%rip), %rsi     # 0x10143d
movl $0x1, %edx
movq %rax, %rdi
callq 0x22ab0
movq (%r14), %rsi
movq 0x8(%r14), %rdx
movq %r12, %rdi
callq 0x22ab0
movq %rax, %r12
leaq 0x64454(%rip), %rsi     # 0x1005a2
movl $0x10, %edx
movq %rax, %rdi
callq 0x22ab0
movq 0x1938(%r15), %rax
movq (%rax), %rsi
movq 0x8(%rax), %rdx
movq %r12, %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 0xe8(%rsp), %rdi
callq 0x22de0
leaq 0x64430(%rip), %rsi     # 0x1005df
leaq 0x8(%rsp), %rdi
leaq 0x48(%rsp), %rdx
callq 0x319d8
leaq 0x8(%rsp), %r15
movq %r14, %rdi
movq %r15, %rsi
callq 0x22bb0
movq (%r15), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x9c1e8
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x229c0
leaq 0x10(%rbx), %rcx
movq %rcx, (%rbx)
movq (%r14), %rdx
leaq 0x10(%r14), %rax
cmpq %rax, %rdx
je 0x9c207
movq %rdx, (%rbx)
movq (%rax), %rcx
movq %rcx, 0x10(%rbx)
jmp 0x9c20d
movups (%rax), %xmm0
movups %xmm0, (%rcx)
movq 0x8(%r14), %rcx
movq %rcx, 0x8(%rbx)
movq %rax, (%r14)
movq $0x0, 0x8(%r14)
movb $0x0, 0x10(%r14)
movq 0xd9d44(%rip), %rax     # 0x175f70
movq (%rax), %rcx
movq 0x18(%rax), %rax
leaq 0xf0(%rsp), %rdi
movq %rcx, -0x8(%rdi)
movq -0x18(%rcx), %rcx
movq %rax, 0xe8(%rsp,%rcx)
callq 0x227d0
leaq 0x1e0(%rsp), %rdi
callq 0x222d0
movq 0x48(%rsp), %rdi
cmpq %rbp, %rdi
je 0x9c274
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x229c0
movq %rbx, %rax
addq $0x2e8, %rsp            # imm = 0x2E8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x64323(%rip), %rsi     # 0x1005b3
leaq 0x8(%rsp), %rdi
leaq 0x48(%rsp), %rdx
callq 0x319d8
leaq 0x6572c(%rip), %rsi     # 0x1019d2
leaq 0x8(%rsp), %rdi
callq 0x233b0
leaq 0xb8(%rsp), %r14
movq %r14, -0x10(%r14)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x9c2d4
movups (%rcx), %xmm0
movups %xmm0, (%r14)
jmp 0x9c2e7
movq %rdx, 0xa8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0xb8(%rsp)
movq 0x8(%rax), %rdx
leaq 0xa8(%rsp), %rsi
movq %rdx, 0x8(%rsi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq %r15, %rdi
callq 0x78b66
movq %rax, %rbx
movq 0xa8(%rsp), %rdi
cmpq %r14, %rdi
je 0x9c477
movq 0xb8(%rsp), %rsi
incq %rsi
callq 0x229c0
jmp 0x9c477
jmp 0x9c474
movq %rax, %rbx
jmp 0x9c3c4
movq %rax, %rbx
jmp 0x9c3db
movq %rax, %rbx
jmp 0x9c3f8
movq %rax, %rbx
jmp 0x9c414
jmp 0x9c494
jmp 0x9c494
jmp 0x9c494
jmp 0x9c494
jmp 0x9c494
movq %rax, %rbx
jmp 0x9c45f
jmp 0x9c494
jmp 0x9c494
movq %rax, %rbx
jmp 0x9c4a4
movq %rax, %rbx
movq 0x48(%rsp), %rdi
cmpq %rbp, %rdi
jne 0x9c4b3
jmp 0x9c4c0
movq %rax, %rbx
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x9c3c4
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x229c0
movq 0x28(%rsp), %rdi
cmpq %rbp, %rdi
je 0x9c3db
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x229c0
movq 0x88(%rsp), %rdi
cmpq %r13, %rdi
je 0x9c3f8
movq 0x98(%rsp), %rsi
incq %rsi
callq 0x229c0
movq 0x68(%rsp), %rdi
leaq 0x78(%rsp), %rax
cmpq %rax, %rdi
je 0x9c414
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x229c0
leaq 0xd8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x9c497
movq 0xd8(%rsp), %rsi
jmp 0x9c48a
jmp 0x9c431
movq %rax, %rbx
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
jmp 0x9c480
movq %rax, %rbx
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x9c45f
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x229c0
leaq 0x38(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x9c497
movq 0x38(%rsp), %rsi
jmp 0x9c48a
movq %rax, %rbx
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x9c497
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x229c0
jmp 0x9c497
movq %rax, %rbx
leaq 0xe8(%rsp), %rdi
callq 0x22ea0
movq 0x48(%rsp), %rdi
leaq 0x58(%rsp), %rax
cmpq %rax, %rdi
je 0x9c4c0
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x229c0
movq %rbx, %rdi
callq 0x23240