// File: /workspace/github_cpp_makefile_star2_O2/simonrharris[P]SKA/src/ska.cpp
// Function: fastqSubcommand(int, char**)
int fastqSubcommand(int argc, char *argv[]){

	std::string outfile="fastq";
	long int covcutoff=4;
	long int filecovcutoff=2;
	long int kmersize=15;
	long int minquality=20;
	bool printalleles=false;
	float minmaf=0.2;
	std::vector < std::string > args;

	for (int i=2; i<argc; ++i){

		std::string arg=(argv[i]);

		if (arg=="-h" || arg=="--help"){
			fastqHelp();
			return 0;
		}
		else if (arg=="-a"){
			printalleles=true;
		}
		else if (arg == "-c"){
			i++;
			if (i<argc){
				try {
					covcutoff = getint(argv[i]);
				}
				catch (const std::invalid_argument& e) {
					std::cerr << std::endl << "Expecting positive integer after -c flag" << std::endl << std::endl;
					return 1;
				}
			}
			else {
				std::cerr << std::endl << "Expecting positive integer after -c flag" << std::endl << std::endl;
				return 1;
			}
			if (covcutoff < MinCov){
				std::cerr << std::endl << "Coverage cutoff must be a positive integer greater than or equal to " << MinCov << std::endl << std::endl;
				return 1;
			}
		}
		else if (arg == "-C"){
			i++;
			if (i<argc){
				try {
					filecovcutoff = getint(argv[i]);
				}
				catch (const std::invalid_argument& e) {
					std::cerr << std::endl << "Expecting positive integer after -C flag" << std::endl << std::endl;
					return 1;
				}
			}
			else {
				std::cerr << std::endl << "Expecting positive integer after -C flag" << std::endl << std::endl;
				return 1;
			}
			if (filecovcutoff < MinFileCov){
				std::cerr << std::endl << "File coverage cutoff must be a positive integer greater than or equal to " << MinFileCov << std::endl << std::endl;
				return 1;
			}
		}
		else if (arg == "-k"){
			i++;
			if (i<argc){
				try {
					kmersize = getint(argv[i]);
				}
				catch (const std::invalid_argument& e) {
					std::cerr << std::endl << "Expecting positive integer after -k flag" << std::endl << std::endl;
					return 1;
				}
			}
			else {
				std::cerr << std::endl << "Expecting positive integer after -k flag" << std::endl << std::endl;
				return 1;
			}
			if (kmersize < MinKmer || kmersize > MaxKmer || kmersize % 3 != 0){
				std::cerr << std::endl << "Kmer size must be a positive integer between " << MinKmer << " and " << MaxKmer << " and must be divisible by 3" << std::endl << std::endl;
				return 1;
			}
		}
		else if (arg == "-m"){
			i++;
			if (i<argc){
				try {
					minmaf = getfloat(argv[i]);
				}
				catch (const std::invalid_argument& e) {
					std::cerr << std::endl << "Expecting float between 0 and 1 after -m flag" << std::endl << std::endl;
					return 1;
				}
			}
			else {
				std::cerr << std::endl << "Expecting float between 0 and 1 after -m flag" << std::endl << std::endl;
				return 1;
			}
			if (minmaf < 0 || minmaf > 1){
				std::cerr << std::endl << "Minimum minor allele frequency must be between 0 and 1" << std::endl << std::endl;
				return 1;
			}
		}
		else if (arg == "-o"){
			i++;
			if (i<argc){
				outfile = std::string(argv[i]);
			}
			else {
				std::cerr << std::endl << "Expecting file name after -o flag" << std::endl << std::endl;
				return 1;
			}
		}
		else if (arg == "-q"){
			i++;
			if (i<argc){
				try {
					minquality = getint(argv[i]);
				}
				catch (const std::invalid_argument& e) {
					std::cerr << std::endl << "Expecting positive integer after -q flag" << std::endl << std::endl;
					return 1;
				}
			}
			else {
				std::cerr << std::endl << "Expecting positive integer after -q flag" << std::endl << std::endl;
				return 1;
			}
			if (minquality < MinQual || minquality > MaxQual){
				std::cerr << std::endl << "Minimum quality cutoff must be a positive integer between " << MinQual << " and " << MaxQual << std::endl << std::endl;
				return 1;
			}
		}
		else if (arg[0]=='-'){
			std::cerr << std::endl << "Unrecognised flag " << arg << std::endl << std::endl;
				return 1;
		}
		else {
			args.push_back(arg);
		}
	}

	if (args.size()<1){
		std::cerr << std::endl << "Too few arguments" << std::endl;
		fastqHelp();
		return 1;
	}

	skaVersion();

	std::cout << "Creating split " << kmersize << "mers for ";
	if (args.size()>maxNamesToPrint){
		std::cout << args.size() << " files";
	}
	else {
		for (std::vector < std::string >::iterator it = args.begin(); it != args.end(); ++it){
			std::cout << *it << " ";
		}
	}
	std::cout << std::endl;
	std::cout << "Filters:" << std::endl;
	std::cout << "\tCoverage cutoff = " << covcutoff << std::endl;
	std::cout << "\tPer file coverage cutoff = " << filecovcutoff << std::endl;
	std::cout << "\tMinimum minor allele frequency = " << minmaf << std::endl;
	std::cout << "\tMinimum base quality = " << minquality << std::endl;
	std::cout << "Output will be written to " << outfile << ".skf" << std::endl;
	if (printalleles){
		std::cout << "Allele frequencies will be written to " << outfile << "_alleles.tsv" << std::endl;
	}

	std::cout << std::endl;

	if (fastqToKmers(args, outfile, kmersize, minquality, filecovcutoff, covcutoff, minmaf, printalleles)){return 1;}

	return 0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xc8, %rsp
movq %rsi, 0x8(%rsp)
movl %edi, 0x4(%rsp)
leaq 0x7902(%rip), %rsi      # 0x27ff3
leaq 0x68(%rsp), %rdi
leaq 0x88(%rsp), %rdx
callq 0x77c0
movl $0x3e4ccccd, 0x10(%rsp) # imm = 0x3E4CCCCD
leaq 0x40(%rsp), %rax
andq $0x0, 0x10(%rax)
xorps %xmm0, %xmm0
movaps %xmm0, (%rax)
pushq $0x4
popq %rax
movq %rax, 0x30(%rsp)
pushq $0x2
popq %rax
movq %rax, 0x28(%rsp)
pushq $0x2
popq %r15
pushq $0x14
popq %rax
movq %rax, 0x18(%rsp)
pushq $0xf
popq %rax
movq %rax, 0x20(%rsp)
movl $0x0, 0x14(%rsp)
leaq 0x88(%rsp), %r12
leaq 0xa8(%rsp), %rbp
cmpl 0x4(%rsp), %r15d
jge 0x20e5a
movslq %r15d, %rax
movq 0x8(%rsp), %rcx
movq (%rcx,%rax,8), %rsi
movq %r12, %rdi
movq %rbp, %rdx
callq 0x77c0
movq %r12, %rdi
leaq 0x6870(%rip), %rsi      # 0x26ff3
callq 0x132f3
testb %al, %al
jne 0x2079f
movq %r12, %rdi
leaq 0x6860(%rip), %rsi      # 0x26ff6
callq 0x132f3
testb %al, %al
je 0x207be
xorl %r13d, %r13d
callq 0x205af
xorl %ebx, %ebx
movq %r12, %rdi
callq 0x5778
incl %r15d
testb %r13b, %r13b
jne 0x20757
jmp 0x210b3
movq %r12, %rdi
leaq 0x7831(%rip), %rsi      # 0x27ff9
callq 0x132f3
movb $0x1, %r13b
testb %al, %al
je 0x207dc
movb $0x1, %al
movl %eax, 0x14(%rsp)
jmp 0x207a9
movq %r12, %rdi
leaq 0x719d(%rip), %rsi      # 0x27983
callq 0x132f3
testb %al, %al
je 0x20867
incl %r15d
cmpl 0x4(%rsp), %r15d
jge 0x208f6
movslq %r15d, %rax
movq 0x8(%rsp), %rcx
movq (%rcx,%rax,8), %rdi
callq 0x1dca8
movq %rax, %r14
movslq 0x15ce4(%rip), %rax     # 0x364fc
cmpq %rax, %r14
jge 0x20a33
movq 0x157c8(%rip), %rdi     # 0x35ff0
callq 0x51c0
movq %rax, %rdi
leaq 0x77ee(%rip), %rsi      # 0x28025
callq 0x53f0
movl 0x15cba(%rip), %esi     # 0x364fc
movq %rax, %rdi
callq 0x56a0
movq %rax, %rdi
callq 0x51c0
movq %rax, %rdi
callq 0x51c0
xorl %r13d, %r13d
movq %r14, 0x30(%rsp)
jmp 0x20c73
movq %r12, %rdi
leaq 0x77f9(%rip), %rsi      # 0x2806a
callq 0x132f3
testb %al, %al
je 0x20926
incl %r15d
cmpl 0x4(%rsp), %r15d
jge 0x2099a
movslq %r15d, %rax
movq 0x8(%rsp), %rcx
movq (%rcx,%rax,8), %rdi
callq 0x1dca8
movq %rax, %r14
movslq 0x15cf1(%rip), %rax     # 0x36598
cmpq %rax, %r14
jge 0x20ac4
movq 0x15739(%rip), %rdi     # 0x35ff0
callq 0x51c0
movq %rax, %rdi
leaq 0x77d0(%rip), %rsi      # 0x28096
callq 0x53f0
movl 0x15cc7(%rip), %esi     # 0x36598
movq %rax, %rdi
callq 0x56a0
movq %rax, %rdi
callq 0x51c0
movq %rax, %rdi
callq 0x51c0
xorl %r13d, %r13d
movq %r14, 0x28(%rsp)
jmp 0x20c73
movq 0x156f3(%rip), %rdi     # 0x35ff0
callq 0x51c0
movq %rax, %rdi
leaq 0x76f0(%rip), %rsi      # 0x27ffc
callq 0x53f0
movq %rax, %rdi
callq 0x51c0
movq %rax, %rdi
callq 0x51c0
jmp 0x20c70
movq %r12, %rdi
leaq 0x66cd(%rip), %rsi      # 0x26ffd
callq 0x132f3
testb %al, %al
je 0x209ca
incl %r15d
cmpl 0x4(%rsp), %r15d
jge 0x20a3d
movslq %r15d, %rax
movq 0x8(%rsp), %rcx
movq (%rcx,%rax,8), %rdi
callq 0x1dca8
movq %rax, %r14
cqto
pushq $0x3
popq %rcx
idivq %rcx
testq %rdx, %rdx
jne 0x20b61
movslq 0x15b79(%rip), %rax     # 0x364f0
cmpq %rax, %r14
jl 0x20b61
movslq 0x15b6d(%rip), %rax     # 0x364f4
cmpq %rax, %r14
jg 0x20b61
movq %r14, 0x20(%rsp)
jmp 0x207a9
movq 0x1564f(%rip), %rdi     # 0x35ff0
callq 0x51c0
movq %rax, %rdi
leaq 0x76bd(%rip), %rsi      # 0x2806d
callq 0x53f0
movq %rax, %rdi
callq 0x51c0
movq %rax, %rdi
callq 0x51c0
jmp 0x20c70
movq %r12, %rdi
leaq 0x770c(%rip), %rsi      # 0x280e0
callq 0x132f3
testb %al, %al
je 0x20a6d
incl %r15d
cmpl 0x4(%rsp), %r15d
jge 0x20ace
movslq %r15d, %rax
movq 0x8(%rsp), %rcx
movq (%rcx,%rax,8), %rdi
callq 0x1dd0d
movss %xmm0, 0x10(%rsp)
xorps %xmm1, %xmm1
ucomiss %xmm0, %xmm1
ja 0x20a1b
ucomiss 0x45ef(%rip), %xmm0     # 0x25004
jbe 0x207a9
movq 0x155ce(%rip), %rdi     # 0x35ff0
callq 0x51c0
leaq 0x76e3(%rip), %rsi      # 0x28111
jmp 0x20ae1
movq %r14, 0x30(%rsp)
jmp 0x207a9
movq 0x155ac(%rip), %rdi     # 0x35ff0
callq 0x51c0
movq %rax, %rdi
leaq 0x65ad(%rip), %rsi      # 0x27000
callq 0x53f0
movq %rax, %rdi
callq 0x51c0
movq %rax, %rdi
callq 0x51c0
jmp 0x20c70
movq %r12, %rdi
leaq 0x6886(%rip), %rsi      # 0x272fd
callq 0x132f3
testb %al, %al
je 0x20afe
incl %r15d
cmpl 0x4(%rsp), %r15d
jge 0x20bd3
movslq %r15d, %rax
movq 0x8(%rsp), %rcx
movq (%rcx,%rax,8), %rsi
movq %rbp, %r14
movq %rbp, %rdi
leaq 0x3c(%rsp), %rdx
callq 0x77c0
leaq 0x68(%rsp), %rdi
movq %r14, %rsi
callq 0x54a0
movq %r14, %rdi
callq 0x5778
jmp 0x207a9
movq %r14, 0x28(%rsp)
jmp 0x207a9
movq 0x1551b(%rip), %rdi     # 0x35ff0
callq 0x51c0
leaq 0x7602(%rip), %rsi      # 0x280e3
movq %rax, %rdi
callq 0x53f0
movq %rax, %rdi
callq 0x51c0
movq %rax, %rdi
callq 0x51c0
jmp 0x20c70
movq %r12, %rdi
leaq 0x6be8(%rip), %rsi      # 0x276f0
callq 0x132f3
testb %al, %al
je 0x20c00
incl %r15d
cmpl 0x4(%rsp), %r15d
jge 0x20c45
movslq %r15d, %rax
movq 0x8(%rsp), %rcx
movq (%rcx,%rax,8), %rdi
callq 0x1dca8
movq %rax, %r14
movslq 0x15a56(%rip), %rax     # 0x36594
cmpq %rax, %r14
jl 0x20c8d
movslq 0x159aa(%rip), %rax     # 0x364f8
cmpq %rax, %r14
jg 0x20c8d
movq %r14, 0x18(%rsp)
jmp 0x207a9
movq 0x15488(%rip), %rdi     # 0x35ff0
callq 0x51c0
movq %rax, %rdi
leaq 0x64b2(%rip), %rsi      # 0x27029
callq 0x53f0
movl 0x1596e(%rip), %esi     # 0x364f0
movq %rax, %rdi
callq 0x56a0
movq %rax, %rdi
leaq 0x59f2(%rip), %rsi      # 0x26586
callq 0x53f0
movl 0x15955(%rip), %esi     # 0x364f4
movq %rax, %rdi
callq 0x56a0
movq %rax, %rdi
leaq 0x64a6(%rip), %rsi      # 0x27057
callq 0x53f0
movq %rax, %rdi
callq 0x51c0
movq %rax, %rdi
callq 0x51c0
xorl %r13d, %r13d
movq %r14, 0x20(%rsp)
jmp 0x20c73
movq 0x15416(%rip), %rdi     # 0x35ff0
callq 0x51c0
movq %rax, %rdi
leaq 0x695f(%rip), %rsi      # 0x27548
callq 0x53f0
movq %rax, %rdi
callq 0x51c0
movq %rax, %rdi
callq 0x51c0
jmp 0x20c70
movq 0x88(%rsp), %rax
cmpb $0x2d, (%rax)
jne 0x20c7b
movq 0x153dc(%rip), %rdi     # 0x35ff0
callq 0x51c0
movq %rax, %rdi
leaq 0x6475(%rip), %rsi      # 0x27098
callq 0x53f0
movq %rax, %rdi
movq %r12, %rsi
callq 0x53a0
movq %rax, %rdi
callq 0x51c0
movq %rax, %rdi
callq 0x51c0
jmp 0x20c70
movq 0x153a4(%rip), %rdi     # 0x35ff0
callq 0x51c0
movq %rax, %rdi
leaq 0x74ed(%rip), %rsi      # 0x28148
callq 0x53f0
movq %rax, %rdi
callq 0x51c0
movq %rax, %rdi
callq 0x51c0
xorl %r13d, %r13d
pushq $0x1
popq %rbx
jmp 0x207a9
leaq 0x40(%rsp), %rdi
movq %r12, %rsi
callq 0x77fc
jmp 0x207a9
movq 0x1535c(%rip), %rdi     # 0x35ff0
callq 0x51c0
movq %rax, %rdi
leaq 0x74ce(%rip), %rsi      # 0x28171
callq 0x53f0
movl 0x158e6(%rip), %esi     # 0x36594
movq %rax, %rdi
callq 0x56a0
movq %rax, %rdi
leaq 0x58c6(%rip), %rsi      # 0x26586
callq 0x53f0
movl 0x1582d(%rip), %esi     # 0x364f8
movq %rax, %rdi
callq 0x56a0
movq %rax, %rdi
callq 0x51c0
movq %rax, %rdi
callq 0x51c0
xorl %r13d, %r13d
movq %r14, 0x18(%rsp)
jmp 0x20c73
movq %rax, %rbx
cmpl $0x1, %edx
jne 0x2116c
movq %rbx, %rdi
callq 0x5170
movq 0x152e8(%rip), %rdi     # 0x35ff0
callq 0x51c0
movq %rax, %rdi
leaq 0x7431(%rip), %rsi      # 0x28148
callq 0x53f0
movq %rax, %rdi
callq 0x51c0
movq %rax, %rdi
callq 0x51c0
callq 0x5640
jmp 0x20c70
movq %rax, %rbx
cmpl $0x1, %edx
jne 0x2116c
movq %rbx, %rdi
callq 0x5170
movq 0x1529f(%rip), %rdi     # 0x35ff0
callq 0x51c0
movq %rax, %rdi
leaq 0x7383(%rip), %rsi      # 0x280e3
callq 0x53f0
movq %rax, %rdi
callq 0x51c0
movq %rax, %rdi
callq 0x51c0
callq 0x5640
jmp 0x20c70
movq %rax, %rbx
cmpl $0x1, %edx
jne 0x2116c
movq %rbx, %rdi
callq 0x5170
movq 0x15256(%rip), %rdi     # 0x35ff0
callq 0x51c0
movq %rax, %rdi
leaq 0x6257(%rip), %rsi      # 0x27000
callq 0x53f0
movq %rax, %rdi
callq 0x51c0
movq %rax, %rdi
callq 0x51c0
callq 0x5640
jmp 0x20c70
movq %rax, %rbx
cmpl $0x1, %edx
jne 0x2116c
movq %rbx, %rdi
callq 0x5170
movq 0x1520d(%rip), %rdi     # 0x35ff0
callq 0x51c0
movq %rax, %rdi
leaq 0x727b(%rip), %rsi      # 0x2806d
callq 0x53f0
movq %rax, %rdi
callq 0x51c0
movq %rax, %rdi
callq 0x51c0
callq 0x5640
jmp 0x20c70
movq %rax, %rbx
cmpl $0x1, %edx
jne 0x2116c
movq %rbx, %rdi
callq 0x5170
movq 0x151c4(%rip), %rdi     # 0x35ff0
callq 0x51c0
movq %rax, %rdi
leaq 0x71c1(%rip), %rsi      # 0x27ffc
callq 0x53f0
movq %rax, %rdi
callq 0x51c0
movq %rax, %rdi
callq 0x51c0
callq 0x5640
jmp 0x20c70
movq 0x48(%rsp), %rax
cmpq 0x40(%rsp), %rax
je 0x21088
callq 0x1df8a
movl 0x14(%rsp), %ebp
movq 0x30(%rsp), %r12
movq 0x15139(%rip), %rdi     # 0x35fb8
leaq 0x6237(%rip), %rsi      # 0x270bd
callq 0x53f0
movq %rax, %rdi
movq 0x20(%rsp), %rsi
callq 0x53e0
leaq 0x4942(%rip), %rsi      # 0x257e1
movq %rax, %rdi
callq 0x53f0
movq 0x40(%rsp), %rbx
movq 0x48(%rsp), %rax
movq %rax, %rsi
subq %rbx, %rsi
sarq $0x5, %rsi
movslq 0x1563e(%rip), %rcx     # 0x36500
cmpq %rcx, %rsi
jbe 0x210db
movq 0x150e6(%rip), %rdi     # 0x35fb8
callq 0x5280
leaq 0x5be7(%rip), %rsi      # 0x26ac5
movq %rax, %rdi
callq 0x53f0
movq 0x150cb(%rip), %rdi     # 0x35fb8
callq 0x51c0
movq 0x150bf(%rip), %rdi     # 0x35fb8
leaq 0x72ac(%rip), %rsi      # 0x281ac
callq 0x53f0
movq %rax, %rdi
callq 0x51c0
movq 0x150a4(%rip), %rdi     # 0x35fb8
leaq 0x729a(%rip), %rsi      # 0x281b5
callq 0x53f0
movq %rax, %rdi
movq %r12, %rsi
callq 0x53e0
movq %rax, %rdi
callq 0x51c0
movq 0x1507e(%rip), %rdi     # 0x35fb8
leaq 0x7288(%rip), %rsi      # 0x281c9
callq 0x53f0
movq %rax, %rdi
movq 0x28(%rsp), %rsi
callq 0x53e0
movq %rax, %rdi
callq 0x51c0
movq 0x15056(%rip), %rdi     # 0x35fb8
leaq 0x727d(%rip), %rsi      # 0x281e6
callq 0x53f0
movss 0x10(%rsp), %xmm0
movq %rax, %rdi
callq 0x5300
movq %rax, %rdi
callq 0x51c0
movq 0x1502d(%rip), %rdi     # 0x35fb8
leaq 0x7277(%rip), %rsi      # 0x28209
callq 0x53f0
movq %rax, %rdi
movq 0x18(%rsp), %rsi
callq 0x53e0
movq %rax, %rdi
callq 0x51c0
movq 0x15005(%rip), %rdi     # 0x35fb8
leaq 0x645e(%rip), %rsi      # 0x27418
callq 0x53f0
leaq 0x68(%rsp), %rsi
movq %rax, %rdi
callq 0x53a0
leaq 0x6d4f(%rip), %rsi      # 0x27d22
movq %rax, %rdi
callq 0x53f0
movq %rax, %rdi
callq 0x51c0
testb $0x1, %bpl
je 0x21020
movq 0x14fc8(%rip), %rdi     # 0x35fb8
leaq 0x722b(%rip), %rsi      # 0x28222
callq 0x53f0
leaq 0x68(%rsp), %rsi
movq %rax, %rdi
callq 0x53a0
leaq 0x4be9(%rip), %rsi      # 0x25bf9
movq %rax, %rdi
callq 0x53f0
movq %rax, %rdi
callq 0x51c0
movq 0x14f91(%rip), %rdi     # 0x35fb8
callq 0x51c0
leaq 0x88(%rsp), %rdx
movq 0x20(%rsp), %rax
movl %eax, (%rdx)
leaq 0xa8(%rsp), %rcx
movq 0x18(%rsp), %rax
movl %eax, (%rcx)
leaq 0x3c(%rsp), %r8
movq 0x28(%rsp), %rax
movl %eax, (%r8)
leaq 0x64(%rsp), %r9
movl %r12d, (%r9)
movzbl %bpl, %eax
andl $0x1, %eax
leaq 0x10(%rsp), %r10
leaq 0x40(%rsp), %rdi
leaq 0x68(%rsp), %rsi
pushq %rax
pushq %r10
callq 0x10714
popq %rcx
popq %rdx
xorl %ebx, %ebx
testl %eax, %eax
setne %bl
jmp 0x210b3
movq 0x14f61(%rip), %rdi     # 0x35ff0
callq 0x51c0
leaq 0x6010(%rip), %rsi      # 0x270ab
movq %rax, %rdi
callq 0x53f0
movq %rax, %rdi
callq 0x51c0
callq 0x205af
pushq $0x1
popq %rbx
leaq 0x40(%rsp), %rdi
callq 0x911e
leaq 0x68(%rsp), %rdi
callq 0x5778
movl %ebx, %eax
addq $0xc8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x14ed6(%rip), %r14     # 0x35fb8
leaq 0x5274(%rip), %r15      # 0x2635d
cmpq %rax, %rbx
je 0x20ee6
movq %r14, %rdi
movq %rbx, %rsi
callq 0x53a0
movq %rax, %rdi
movq %r15, %rsi
callq 0x53f0
addq $0x20, %rbx
movq 0x48(%rsp), %rax
jmp 0x210e9
jmp 0x21169
movq %rax, %rbx
callq 0x5640
jmp 0x2116c
jmp 0x21169
movq %rax, %rbx
callq 0x5640
jmp 0x2116c
jmp 0x21169
movq %rax, %rbx
callq 0x5640
jmp 0x2116c
jmp 0x21169
movq %rax, %rbx
callq 0x5640
jmp 0x2116c
jmp 0x21169
movq %rax, %rbx
callq 0x5640
jmp 0x2116c
movq %rax, %rdi
callq 0x7102
jmp 0x21169
jmp 0x21164
movq %rax, %rbx
jmp 0x2118d
jmp 0x21164
jmp 0x21164
movq %rax, %rbx
jmp 0x21179
movq %rax, %rbx
leaq 0x88(%rsp), %rdi
callq 0x5778
leaq 0x40(%rsp), %rdi
callq 0x911e
leaq 0x68(%rsp), %rdi
callq 0x5778
movq %rbx, %rdi
callq 0x56c0