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

	Arguments* args;

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

		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/5.tsv", "test/output/expected/5.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
movq %rsp, %rbp
subq $0x170, %rsp            # imm = 0x170
movb $0x1, -0x1(%rbp)
movl $0xc, -0x14(%rbp)
movaps 0x33a23(%rip), %xmm0    # 0x3aab0
movaps %xmm0, -0x30(%rbp)
movaps 0x33a08(%rip), %xmm0    # 0x3aaa0
movaps %xmm0, -0x40(%rbp)
movaps 0x339ed(%rip), %xmm0    # 0x3aa90
movaps %xmm0, -0x50(%rbp)
movaps 0x339d2(%rip), %xmm0    # 0x3aa80
movaps %xmm0, -0x60(%rbp)
movaps 0x339b7(%rip), %xmm0    # 0x3aa70
movaps %xmm0, -0x70(%rbp)
movaps 0x3399c(%rip), %xmm0    # 0x3aa60
movaps %xmm0, -0x80(%rbp)
movl $0xf0, %edi
callq 0x53c0
movq %rax, -0x118(%rbp)
jmp 0x70db
movq -0x118(%rbp), %rdi
movl -0x14(%rbp), %esi
leaq -0x80(%rbp), %rdx
callq 0x11040
jmp 0x70f0
movq -0x118(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0x10(%rbp), %rdi
callq 0x12530
movb %al, -0x119(%rbp)
jmp 0x710c
movb -0x119(%rbp), %al
testb $0x1, %al
jne 0x7469
jmp 0x711c
movl $0x40, %edi
callq 0x53c0
movq %rax, -0x128(%rbp)
jmp 0x712f
movq -0x128(%rbp), %rdi
movq -0x10(%rbp), %rsi
callq 0xb3c0
jmp 0x7141
movq -0x128(%rbp), %rax
movq %rax, -0x98(%rbp)
movq -0x98(%rbp), %rdi
callq 0xb690
movl %eax, -0x12c(%rbp)
jmp 0x7163
movl -0x12c(%rbp), %ecx
xorl %eax, %eax
subl $0x1, %ecx
sbbl %eax, %eax
andb $0x1, %al
movb %al, -0x1(%rbp)
movq -0x98(%rbp), %rax
movq %rax, -0x138(%rbp)
cmpq $0x0, %rax
je 0x71a6
movq -0x138(%rbp), %rdi
callq 0xb5c0
movq -0x138(%rbp), %rdi
movl $0x40, %esi
callq 0x53d0
testb $0x1, -0x1(%rbp)
je 0x7467
leaq -0xb9(%rbp), %rdi
movq %rdi, -0x140(%rbp)
callq 0x5720
movq -0x140(%rbp), %rdx
leaq 0x1fff1(%rip), %rsi     # 0x271c2
leaq -0xb8(%rbp), %rdi
callq 0x97a0
jmp 0x71df
leaq -0xe1(%rbp), %rdi
movq %rdi, -0x148(%rbp)
callq 0x5720
movq -0x148(%rbp), %rdx
leaq 0x1ffdb(%rip), %rsi     # 0x271db
leaq -0xe0(%rbp), %rdi
callq 0x97a0
jmp 0x720e
leaq -0xb8(%rbp), %rdi
leaq -0xe0(%rbp), %rsi
callq 0x94e0
movb %al, -0x149(%rbp)
jmp 0x7229
movb -0x149(%rbp), %al
andb $0x1, %al
movb %al, -0x1(%rbp)
leaq -0xe0(%rbp), %rdi
callq 0x57a8
leaq -0xe1(%rbp), %rdi
callq 0x5430
leaq -0xb8(%rbp), %rdi
callq 0x57a8
leaq -0xb9(%rbp), %rdi
callq 0x5430
jmp 0x7467
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x88(%rbp)
movl %eax, -0x8c(%rbp)
jmp 0x7337
movq -0x118(%rbp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x88(%rbp)
movl %eax, -0x8c(%rbp)
movl $0xf0, %esi
callq 0x53d0
jmp 0x7337
movq -0x128(%rbp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x88(%rbp)
movl %eax, -0x8c(%rbp)
movl $0x40, %esi
callq 0x53d0
jmp 0x7337
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x88(%rbp)
movl %eax, -0x8c(%rbp)
jmp 0x732b
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x88(%rbp)
movl %eax, -0x8c(%rbp)
jmp 0x7313
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x88(%rbp)
movl %eax, -0x8c(%rbp)
leaq -0xe0(%rbp), %rdi
callq 0x57a8
leaq -0xe1(%rbp), %rdi
callq 0x5430
leaq -0xb8(%rbp), %rdi
callq 0x57a8
leaq -0xb9(%rbp), %rdi
callq 0x5430
movl -0x8c(%rbp), %eax
movl %eax, -0x150(%rbp)
movl $0x2, %ecx
cmpl %ecx, %eax
jne 0x7402
movq -0x88(%rbp), %rdi
movq %rdi, -0x158(%rbp)
callq 0x54f0
movq %rax, %rsi
leaq -0x110(%rbp), %rdi
callq 0x5190
jmp 0x7374
movq -0x158(%rbp), %rdi
callq 0x5170
movq 0x33c61(%rip), %rdi     # 0x3afe8
leaq -0x110(%rbp), %rsi
callq 0x5360
movq %rax, -0x160(%rbp)
jmp 0x739c
movq -0x160(%rbp), %rdi
movq 0x33bde(%rip), %rsi     # 0x3af88
callq 0x5400
jmp 0x73b1
movb $0x0, -0x1(%rbp)
leaq -0x110(%rbp), %rdi
callq 0x57a8
callq 0x5660
movq -0x10(%rbp), %rax
movq %rax, -0x168(%rbp)
cmpq $0x0, %rax
je 0x73f4
movq -0x168(%rbp), %rdi
callq 0x12420
movq -0x168(%rbp), %rdi
movl $0xf0, %esi
callq 0x53d0
movb -0x1(%rbp), %al
andb $0x1, %al
addq $0x170, %rsp            # imm = 0x170
popq %rbp
retq
movl -0x150(%rbp), %eax
movl $0x1, %ecx
cmpl %ecx, %eax
jne 0x74ae
movq -0x88(%rbp), %rdi
callq 0x5170
movq %rax, -0xf0(%rbp)
movq -0xf0(%rbp), %rsi
movq 0x33bb2(%rip), %rdi     # 0x3afe8
callq 0x53b0
movq %rax, -0x170(%rbp)
jmp 0x7444
movq -0x170(%rbp), %rdi
movq 0x33b36(%rip), %rsi     # 0x3af88
callq 0x5400
jmp 0x7459
movb $0x0, -0x1(%rbp)
callq 0x5660
jmp 0x73c6
jmp 0x7469
jmp 0x73c6
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x88(%rbp)
movl %eax, -0x8c(%rbp)
callq 0x5660
jmp 0x74ae
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x88(%rbp)
movl %eax, -0x8c(%rbp)
leaq -0x110(%rbp), %rdi
callq 0x57a8
callq 0x5660
jmp 0x74ac
jmp 0x74ae
movq -0x88(%rbp), %rdi
callq 0x5700
movq %rax, %rdi
callq 0x9a70
nopw %cs:(%rax,%rax)