// File: /workspace/github_cpp_makefile_star2_O3/ridgelab[P]Kmer-SSR/test/src/threads.cpp
// Function: test4(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
bool test4(string threads)
{
	bool ret_val = true;

	Arguments* args;

	string temp_output_file_name = "test/output/actual/4_" + threads + ".tsv";

	try
	{
		int argc = 14;
		char* argv[] = {
			(char*)("test4"),
			(char*)("-d"),
			(char*)("-i"),
			(char*)("test/input/4.fasta"),
			(char*)("-o"),
			const_cast<char*>(temp_output_file_name.c_str()),
			(char*)("-n"),
			(char*)("2"),
			(char*)("-l"),
			(char*)("2"),
			(char*)("-p"),
			(char*)("1,2,3,4,5,6,7"),
			(char*)("-t"),
			const_cast<char*>(threads.c_str())
		};

		args = new Arguments(argc, argv);

		if (!args->helpOrVersionDisplayed())
		{
			FindSSRs* find_ssrs = new FindSSRs(args);
			ret_val = find_ssrs->run() == 0 ? true : false;
			delete find_ssrs;

			if (ret_val)
			{
				ret_val = actualOutputMatchedExpected("test/output/actual/4_" + threads + ".tsv", "test/output/expected/4.tsv");
			}
		}
	}
	catch(string error)
	{
		cerr << error << endl;
		ret_val = false;
	}
	catch(const char* error)
	{
		cerr << error << endl;
		ret_val = false;
	}
	
	delete args;

	return ret_val;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xf8, %rsp
movq %rdi, %r14
leaq 0xd3ab(%rip), %rsi      # 0x1214f
leaq 0x40(%rsp), %rbx
movq %rbx, %rdi
movq %r14, %rdx
callq 0x7bde
leaq 0xd5a7(%rip), %rsi      # 0x12362
movq %rbx, %rdi
callq 0x35c0
leaq 0x10(%rsp), %rsi
movq %rsi, -0x10(%rsi)
movq (%rax), %rcx
movq %rax, %rdx
addq $0x10, %rdx
cmpq %rdx, %rcx
je 0x4de9
movq %rcx, (%rsp)
movq (%rdx), %rsi
movq %rsi, 0x10(%rsp)
jmp 0x4df2
movups (%rdx), %xmm0
movups %xmm0, (%rsi)
movq %rsi, %rcx
movq 0x8(%rax), %rsi
movq %rsi, 0x8(%rsp)
movq %rdx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x50(%rsp), %r13
movq -0x10(%r13), %rdi
cmpq %r13, %rdi
je 0x4e29
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x3310
movq (%rsp), %rcx
leaq 0xd335(%rip), %rax      # 0x12165
movq %rax, 0x40(%rsp)
leaq 0xd230(%rip), %rax      # 0x1206c
movq %rax, 0x48(%rsp)
leaq 0xd227(%rip), %rax      # 0x1206f
movq %rax, 0x50(%rsp)
leaq 0xd317(%rip), %rax      # 0x1216b
movq %rax, 0x58(%rsp)
leaq 0xd225(%rip), %rax      # 0x12085
movq %rax, 0x60(%rsp)
movq %rcx, 0x68(%rsp)
leaq 0xd217(%rip), %rax      # 0x12088
movq %rax, 0x70(%rsp)
leaq 0xd554(%rip), %rax      # 0x123d1
movq %rax, 0x78(%rsp)
leaq 0xd202(%rip), %rcx      # 0x1208b
movq %rcx, 0x80(%rsp)
movq %rax, 0x88(%rsp)
leaq 0xd1ee(%rip), %rax      # 0x1208e
movq %rax, 0x90(%rsp)
leaq 0xd2cf(%rip), %rax      # 0x1217e
movq %rax, 0x98(%rsp)
leaq 0xd1d7(%rip), %rax      # 0x12095
movq %rax, 0xa0(%rsp)
movq (%r14), %rax
movq %rax, 0xa8(%rsp)
movl $0xf0, %edi
callq 0x3300
movq %rax, %rbx
leaq 0x40(%rsp), %rdx
movq %rax, %rdi
movl $0xe, %esi
callq 0xa0aa
movq %rbx, %r12
movq %rbx, %rdi
callq 0xb60e
movb $0x1, %r15b
testb %al, %al
jne 0x504d
movl $0x40, %edi
callq 0x3300
movq %rax, %r12
movq %rax, %rdi
movq %rbx, %rsi
callq 0x81ac
movq %r12, %rdi
callq 0x83a4
movl %eax, %ebp
movq %r12, %rdi
callq 0x8300
movl $0x40, %esi
movq %r12, %rdi
callq 0x3310
testl %ebp, %ebp
je 0x4f49
xorl %r15d, %r15d
jmp 0x504d
leaq 0xd1ff(%rip), %rsi      # 0x1214f
leaq 0xd8(%rsp), %rdi
movq %r14, %rdx
callq 0x7bde
leaq 0xd3fb(%rip), %rsi      # 0x12362
leaq 0xd8(%rsp), %rdi
callq 0x35c0
leaq 0x30(%rsp), %r12
movq %r12, -0x10(%r12)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x4f9c
movq %rdx, 0x20(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x30(%rsp)
jmp 0x4fa4
movups (%rcx), %xmm0
movups %xmm0, (%r12)
movq 0x8(%rax), %rdx
movq %rdx, 0x28(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0xc8(%rsp), %rbp
movq %rbp, -0x10(%rbp)
leaq 0xd1bd(%rip), %rsi      # 0x1218c
leaq 0xd1d0(%rip), %rdx      # 0x121a6
leaq 0xb8(%rsp), %rdi
callq 0x7e1a
leaq 0x20(%rsp), %rdi
leaq 0xb8(%rsp), %rsi
callq 0x79cd
movl %eax, %r15d
movq 0xb8(%rsp), %rdi
cmpq %rbp, %rdi
je 0x5015
movq 0xc8(%rsp), %rsi
incq %rsi
callq 0x3310
movq 0x20(%rsp), %rdi
cmpq %r12, %rdi
je 0x502c
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x3310
leaq 0xe8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x504d
movq 0xe8(%rsp), %rsi
incq %rsi
callq 0x3310
movq %rbx, %rdi
callq 0xb4f4
movl $0xf0, %esi
movq %rbx, %rdi
callq 0x3310
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x507d
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x3310
movl %r15d, %eax
addq $0xf8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rdx, %r15
movq %rax, %r14
movq 0xb8(%rsp), %rdi
cmpq %rbp, %rdi
je 0x50bd
movq 0xc8(%rsp), %rsi
incq %rsi
callq 0x3310
jmp 0x50bd
movq %rdx, %r15
movq %rax, %r14
movq 0x20(%rsp), %rdi
cmpq %r12, %rdi
je 0x50dc
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x3310
jmp 0x50dc
movq %rdx, %r15
movq %rax, %r14
leaq 0xe8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x515d
movq 0xe8(%rsp), %rsi
incq %rsi
jmp 0x510a
jmp 0x5111
movq %rdx, %r15
movq %rax, %r14
movl $0x40, %esi
movq %r12, %rdi
callq 0x3310
jmp 0x515d
movq %rdx, %r15
movq %rax, %r14
jmp 0x515d
movq %rdx, %r15
movq %rax, %r14
movl $0xf0, %esi
movq %rbx, %rdi
callq 0x3310
jmp 0x515d
movq %rax, %r14
leaq 0x50(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x514c
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x3310
movq %r14, %rdi
callq 0x3550
movq %rdx, %r15
movq %rax, %r14
movq %r12, %rbx
cmpl $0x2, %r15d
jne 0x51c6
movq %r14, %rdi
callq 0x33c0
leaq 0x40(%rsp), %rdi
movq %r13, (%rdi)
movq (%rax), %rsi
movq 0x8(%rax), %rdx
addq %rsi, %rdx
callq 0x7cea
movq %r14, %rdi
callq 0x3140
movq 0x40(%rsp), %rsi
movq 0x48(%rsp), %rdx
movq 0x15e55(%rip), %rdi     # 0x1aff0
callq 0x3370
movq %rax, %rdi
callq 0x3160
movq 0x40(%rsp), %rdi
cmpq %r13, %rdi
je 0x51bf
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x3310
callq 0x34d0
jmp 0x51f0
cmpl $0x1, %r15d
jne 0x5231
movq %r14, %rdi
callq 0x3140
movq 0x15e15(%rip), %rdi     # 0x1aff0
movq %rax, %rsi
callq 0x32f0
movq %rax, %rdi
callq 0x3160
callq 0x34d0
xorl %r15d, %r15d
testq %rbx, %rbx
jne 0x504d
xorl %ebx, %ebx
jmp 0x5055
movq %rax, %r14
jmp 0x5231
movq %rax, %r14
callq 0x34d0
jmp 0x5231
movq %rax, %r14
movq 0x40(%rsp), %rdi
cmpq %r13, %rdi
je 0x522c
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x3310
callq 0x34d0
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x514c
movq 0x10(%rsp), %rsi
jmp 0x5144
movq %rax, %rdi
callq 0x7c66