// File: /workspace/github_cpp_makefile_star2_O3/ridgelab[P]Kmer-SSR/test/src/findSSRs.cpp
// Function: test4()
bool test4()
{
	bool ret_val = true;

	Arguments* args;

	try
	{
		int argc = 12;
		char* argv[] = {
			(char*)("test4"),
			(char*)("-d"),
			(char*)("-i"),
			(char*)("test/input/4.fasta"),
			(char*)("-o"),
			(char*)("test/output/actual/4.tsv"),
			(char*)("-n"),
			(char*)("2"),
			(char*)("-l"),
			(char*)("2"),
			(char*)("-p"),
			(char*)("1,2,3,4,5,6,7")
		};

		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.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 $0xa8, %rsp
leaq 0x14639(%rip), %rsi     # 0x19a00
leaq 0x40(%rsp), %rdi
movl $0xc, %ecx
rep  movsq (%rsi), %es:(%rdi)
movl $0xf0, %edi
callq 0x4300
movq %rax, %rbx
leaq 0x40(%rsp), %rdx
movq %rax, %rdi
movl $0xc, %esi
callq 0x9076
movq %rbx, %r12
movq %rbx, %rdi
callq 0xa5da
movb $0x1, %r14b
testb %al, %al
jne 0x54c7
movl $0x40, %edi
callq 0x4300
movq %rax, %r12
movq %rax, %rdi
movq %rbx, %rsi
callq 0x7178
movq %r12, %rdi
callq 0x7370
movl %eax, %ebp
movq %r12, %rdi
callq 0x72cc
movl $0x40, %esi
movq %r12, %rdi
callq 0x4310
testl %ebp, %ebp
je 0x5449
xorl %r14d, %r14d
jmp 0x54c7
leaq 0x30(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0xbd0d(%rip), %rsi      # 0x11167
leaq 0xbd1e(%rip), %rdx      # 0x1117f
leaq 0x20(%rsp), %rdi
callq 0x6f3a
leaq 0x10(%rsp), %r13
movq %r13, -0x10(%r13)
leaq 0xbd13(%rip), %rsi      # 0x1118e
leaq 0xbd26(%rip), %rdx      # 0x111a8
movq %rsp, %rdi
callq 0x6f3a
leaq 0x20(%rsp), %rdi
movq %rsp, %rsi
callq 0x6c1d
movl %eax, %r14d
movq (%rsp), %rdi
cmpq %r13, %rdi
je 0x54b0
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x4310
movq 0x20(%rsp), %rdi
cmpq %r12, %rdi
je 0x54c7
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x4310
movq %rbx, %rdi
callq 0xa4c0
movl $0xf0, %esi
movq %rbx, %rdi
callq 0x4310
movl %r14d, %eax
addq $0xa8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rdx, %r15
movq %rax, %r14
movq (%rsp), %rdi
cmpq %r13, %rdi
je 0x5515
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x4310
jmp 0x5515
movq %rdx, %r15
movq %rax, %r14
movq 0x20(%rsp), %rdi
cmpq %r12, %rdi
je 0x5566
movq 0x30(%rsp), %rsi
incq %rsi
jmp 0x5539
jmp 0x5540
movq %rdx, %r15
movq %rax, %r14
movl $0x40, %esi
movq %r12, %rdi
callq 0x4310
jmp 0x5566
movq %rdx, %r15
movq %rax, %r14
jmp 0x5566
movq %rdx, %r15
movq %rax, %r14
movl $0xf0, %esi
movq %rbx, %rdi
callq 0x4310
jmp 0x5566
movq %rdx, %r15
movq %rax, %r14
movq %r12, %rbx
cmpl $0x2, %r15d
jne 0x55d0
movq %r14, %rdi
callq 0x43c0
leaq 0x50(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%rax), %rsi
movq 0x8(%rax), %rdx
addq %rsi, %rdx
leaq 0x40(%rsp), %rdi
callq 0x6e0a
movq %r14, %rdi
callq 0x4140
movq 0x40(%rsp), %rsi
movq 0x48(%rsp), %rdx
movq 0x14a46(%rip), %rdi     # 0x19ff0
callq 0x4370
movq %rax, %rdi
callq 0x4160
movq 0x40(%rsp), %rdi
cmpq %r15, %rdi
je 0x55f5
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x4310
jmp 0x55f5
cmpl $0x1, %r15d
jne 0x5636
movq %r14, %rdi
callq 0x4140
movq 0x14a0b(%rip), %rdi     # 0x19ff0
movq %rax, %rsi
callq 0x42f0
movq %rax, %rdi
callq 0x4160
callq 0x44d0
xorl %r14d, %r14d
testq %rbx, %rbx
jne 0x54c7
xorl %ebx, %ebx
jmp 0x54cf
movq %rax, %r14
callq 0x44d0
jmp 0x5636
movq %rax, %r14
movq 0x40(%rsp), %rdi
cmpq %r15, %rdi
je 0x5631
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x4310
callq 0x44d0
movq %r14, %rdi
callq 0x4550
movq %rax, %rdi
callq 0x6d87