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

	Arguments* args;

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

		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/2.tsv", "test/output/expected/2.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 0x14aa7(%rip), %rsi     # 0x19940
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 0x4f99
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 0x4f1b
xorl %r14d, %r14d
jmp 0x4f99
leaq 0x30(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0xc199(%rip), %rsi      # 0x110c5
leaq 0xc1aa(%rip), %rdx      # 0x110dd
leaq 0x20(%rsp), %rdi
callq 0x6f3a
leaq 0x10(%rsp), %r13
movq %r13, -0x10(%r13)
leaq 0xc195(%rip), %rsi      # 0x110e2
leaq 0xc1a8(%rip), %rdx      # 0x110fc
movq %rsp, %rdi
callq 0x6f3a
leaq 0x20(%rsp), %rdi
movq %rsp, %rsi
callq 0x6c1d
movl %eax, %r14d
movq (%rsp), %rdi
cmpq %r13, %rdi
je 0x4f82
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x4310
movq 0x20(%rsp), %rdi
cmpq %r12, %rdi
je 0x4f99
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 0x4fe7
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x4310
jmp 0x4fe7
movq %rdx, %r15
movq %rax, %r14
movq 0x20(%rsp), %rdi
cmpq %r12, %rdi
je 0x5038
movq 0x30(%rsp), %rsi
incq %rsi
jmp 0x500b
jmp 0x5012
movq %rdx, %r15
movq %rax, %r14
movl $0x40, %esi
movq %r12, %rdi
callq 0x4310
jmp 0x5038
movq %rdx, %r15
movq %rax, %r14
jmp 0x5038
movq %rdx, %r15
movq %rax, %r14
movl $0xf0, %esi
movq %rbx, %rdi
callq 0x4310
jmp 0x5038
movq %rdx, %r15
movq %rax, %r14
movq %r12, %rbx
cmpl $0x2, %r15d
jne 0x50a2
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 0x14f74(%rip), %rdi     # 0x19ff0
callq 0x4370
movq %rax, %rdi
callq 0x4160
movq 0x40(%rsp), %rdi
cmpq %r15, %rdi
je 0x50c7
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x4310
jmp 0x50c7
cmpl $0x1, %r15d
jne 0x5108
movq %r14, %rdi
callq 0x4140
movq 0x14f39(%rip), %rdi     # 0x19ff0
movq %rax, %rsi
callq 0x42f0
movq %rax, %rdi
callq 0x4160
callq 0x44d0
xorl %r14d, %r14d
testq %rbx, %rbx
jne 0x4f99
xorl %ebx, %ebx
jmp 0x4fa1
movq %rax, %r14
callq 0x44d0
jmp 0x5108
movq %rax, %r14
movq 0x40(%rsp), %rdi
cmpq %r15, %rdi
je 0x5103
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x4310
callq 0x44d0
movq %r14, %rdi
callq 0x4550
movq %rax, %rdi
callq 0x6d87