// File: /workspace/github_cpp_makefile_star2_O2/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 %r12
pushq %rbx
subq $0xb0, %rsp
leaq 0x13ce5(%rip), %rsi     # 0x18950
pushq $0xc
popq %rcx
leaq 0x50(%rsp), %rdi
rep  movsq (%rsi), %es:(%rdi)
movl $0xf0, %edi
callq 0x42f0
movq %rax, %rbx
pushq $0xc
popq %rsi
leaq 0x50(%rsp), %rdx
movq %rax, %rdi
callq 0x854e
movq %rbx, %r12
movq %rbx, %rdi
callq 0x91d8
movb $0x1, %r14b
testb %al, %al
jne 0x4d37
pushq $0x40
popq %rdi
callq 0x42f0
movq %rax, %r12
movq %rax, %rdi
movq %rbx, %rsi
callq 0x69d8
movq %r12, %rdi
callq 0x6b72
movl %eax, %ebp
movq %r12, %rdi
callq 0x6ae6
pushq $0x40
popq %rsi
movq %r12, %rdi
callq 0x4300
testl %ebp, %ebp
je 0x4ce5
xorl %r14d, %r14d
jmp 0x4d37
leaq 0xa3d9(%rip), %rsi      # 0xf0c5
leaq 0x30(%rsp), %rdi
leaq 0xf(%rsp), %rdx
callq 0x6582
leaq 0xa3e0(%rip), %rsi      # 0xf0e2
leaq 0x10(%rsp), %rdi
leaq 0xe(%rsp), %rdx
callq 0x6582
leaq 0x30(%rsp), %rdi
leaq 0x10(%rsp), %rsi
callq 0x6441
movl %eax, %r14d
leaq 0x10(%rsp), %rdi
callq 0x45e8
leaq 0x30(%rsp), %rdi
callq 0x45e8
movq %rbx, %rdi
callq 0x911a
movl $0xf0, %esi
movq %rbx, %rdi
callq 0x4300
movl %r14d, %eax
addq $0xb0, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movq %rdx, %r15
movq %rax, %r14
leaq 0x10(%rsp), %rdi
callq 0x45e8
jmp 0x4d77
movq %rdx, %r15
movq %rax, %r14
leaq 0x30(%rsp), %rdi
callq 0x45e8
jmp 0x4dbe
jmp 0x4d98
movq %rdx, %r15
movq %rax, %r14
pushq $0x40
popq %rsi
movq %r12, %rdi
callq 0x4300
jmp 0x4dbe
movq %rdx, %r15
movq %rax, %r14
jmp 0x4dbe
movq %rdx, %r15
movq %rax, %r14
movl $0xf0, %esi
movq %rbx, %rdi
callq 0x4300
jmp 0x4dbe
movq %rdx, %r15
movq %rax, %r14
movq %r12, %rbx
cmpl $0x2, %r15d
jne 0x4e06
movq %r14, %rdi
callq 0x43b0
leaq 0x50(%rsp), %rdi
movq %rax, %rsi
callq 0x4400
movq %r14, %rdi
callq 0x4130
movq 0x14208(%rip), %rdi     # 0x18ff0
leaq 0x50(%rsp), %rsi
callq 0x42c0
movq %rax, %rdi
callq 0x4160
leaq 0x50(%rsp), %rdi
callq 0x45e8
jmp 0x4e2b
cmpl $0x1, %r15d
jne 0x4e5f
movq %r14, %rdi
callq 0x4130
movq 0x141d5(%rip), %rdi     # 0x18ff0
movq %rax, %rsi
callq 0x42e0
movq %rax, %rdi
callq 0x4160
callq 0x44e0
xorl %r14d, %r14d
testq %rbx, %rbx
jne 0x4d37
xorl %ebx, %ebx
jmp 0x4d3f
movq %rax, %r14
callq 0x44e0
jmp 0x4e5f
movq %rax, %r14
leaq 0x50(%rsp), %rdi
callq 0x45e8
callq 0x44e0
movq %r14, %rdi
callq 0x4560
movq %rax, %rdi
callq 0x65c7