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

	Arguments* args;

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

		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/8.tsv", "test/output/expected/8.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 0x32e23(%rip), %xmm0    # 0x3abd0
movaps %xmm0, -0x30(%rbp)
movaps 0x32e08(%rip), %xmm0    # 0x3abc0
movaps %xmm0, -0x40(%rbp)
movaps 0x32ded(%rip), %xmm0    # 0x3abb0
movaps %xmm0, -0x50(%rbp)
movaps 0x32dd2(%rip), %xmm0    # 0x3aba0
movaps %xmm0, -0x60(%rbp)
movaps 0x32db7(%rip), %xmm0    # 0x3ab90
movaps %xmm0, -0x70(%rbp)
movaps 0x32d9c(%rip), %xmm0    # 0x3ab80
movaps %xmm0, -0x80(%rbp)
movl $0xf0, %edi
callq 0x53c0
movq %rax, -0x118(%rbp)
jmp 0x7dfb
movq -0x118(%rbp), %rdi
movl -0x14(%rbp), %esi
leaq -0x80(%rbp), %rdx
callq 0x11040
jmp 0x7e10
movq -0x118(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0x10(%rbp), %rdi
callq 0x12530
movb %al, -0x119(%rbp)
jmp 0x7e2c
movb -0x119(%rbp), %al
testb $0x1, %al
jne 0x8189
jmp 0x7e3c
movl $0x40, %edi
callq 0x53c0
movq %rax, -0x128(%rbp)
jmp 0x7e4f
movq -0x128(%rbp), %rdi
movq -0x10(%rbp), %rsi
callq 0xb3c0
jmp 0x7e61
movq -0x128(%rbp), %rax
movq %rax, -0x98(%rbp)
movq -0x98(%rbp), %rdi
callq 0xb690
movl %eax, -0x12c(%rbp)
jmp 0x7e83
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 0x7ec6
movq -0x138(%rbp), %rdi
callq 0xb5c0
movq -0x138(%rbp), %rdi
movl $0x40, %esi
callq 0x53d0
testb $0x1, -0x1(%rbp)
je 0x8187
leaq -0xb9(%rbp), %rdi
movq %rdi, -0x140(%rbp)
callq 0x5720
movq -0x140(%rbp), %rdx
leaq 0x1f3b8(%rip), %rsi     # 0x272a9
leaq -0xb8(%rbp), %rdi
callq 0x97a0
jmp 0x7eff
leaq -0xe1(%rbp), %rdi
movq %rdi, -0x148(%rbp)
callq 0x5720
movq -0x148(%rbp), %rdx
leaq 0x1f3a2(%rip), %rsi     # 0x272c2
leaq -0xe0(%rbp), %rdi
callq 0x97a0
jmp 0x7f2e
leaq -0xb8(%rbp), %rdi
leaq -0xe0(%rbp), %rsi
callq 0x94e0
movb %al, -0x149(%rbp)
jmp 0x7f49
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 0x8187
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x88(%rbp)
movl %eax, -0x8c(%rbp)
jmp 0x8057
movq -0x118(%rbp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x88(%rbp)
movl %eax, -0x8c(%rbp)
movl $0xf0, %esi
callq 0x53d0
jmp 0x8057
movq -0x128(%rbp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x88(%rbp)
movl %eax, -0x8c(%rbp)
movl $0x40, %esi
callq 0x53d0
jmp 0x8057
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x88(%rbp)
movl %eax, -0x8c(%rbp)
jmp 0x804b
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x88(%rbp)
movl %eax, -0x8c(%rbp)
jmp 0x8033
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 0x8122
movq -0x88(%rbp), %rdi
movq %rdi, -0x158(%rbp)
callq 0x54f0
movq %rax, %rsi
leaq -0x110(%rbp), %rdi
callq 0x5190
jmp 0x8094
movq -0x158(%rbp), %rdi
callq 0x5170
movq 0x32f41(%rip), %rdi     # 0x3afe8
leaq -0x110(%rbp), %rsi
callq 0x5360
movq %rax, -0x160(%rbp)
jmp 0x80bc
movq -0x160(%rbp), %rdi
movq 0x32ebe(%rip), %rsi     # 0x3af88
callq 0x5400
jmp 0x80d1
movb $0x0, -0x1(%rbp)
leaq -0x110(%rbp), %rdi
callq 0x57a8
callq 0x5660
movq -0x10(%rbp), %rax
movq %rax, -0x168(%rbp)
cmpq $0x0, %rax
je 0x8114
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 0x81ce
movq -0x88(%rbp), %rdi
callq 0x5170
movq %rax, -0xf0(%rbp)
movq -0xf0(%rbp), %rsi
movq 0x32e92(%rip), %rdi     # 0x3afe8
callq 0x53b0
movq %rax, -0x170(%rbp)
jmp 0x8164
movq -0x170(%rbp), %rdi
movq 0x32e16(%rip), %rsi     # 0x3af88
callq 0x5400
jmp 0x8179
movb $0x0, -0x1(%rbp)
callq 0x5660
jmp 0x80e6
jmp 0x8189
jmp 0x80e6
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x88(%rbp)
movl %eax, -0x8c(%rbp)
callq 0x5660
jmp 0x81ce
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x88(%rbp)
movl %eax, -0x8c(%rbp)
leaq -0x110(%rbp), %rdi
callq 0x57a8
callq 0x5660
jmp 0x81cc
jmp 0x81ce
movq -0x88(%rbp), %rdi
callq 0x5700
movq %rax, %rdi
callq 0x9a70
nopw %cs:(%rax,%rax)