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

	Arguments* args;

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

		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/6.tsv", "test/output/expected/6.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 0x33623(%rip), %xmm0    # 0x3ab10
movaps %xmm0, -0x30(%rbp)
movaps 0x33608(%rip), %xmm0    # 0x3ab00
movaps %xmm0, -0x40(%rbp)
movaps 0x335ed(%rip), %xmm0    # 0x3aaf0
movaps %xmm0, -0x50(%rbp)
movaps 0x335d2(%rip), %xmm0    # 0x3aae0
movaps %xmm0, -0x60(%rbp)
movaps 0x335b7(%rip), %xmm0    # 0x3aad0
movaps %xmm0, -0x70(%rbp)
movaps 0x3359c(%rip), %xmm0    # 0x3aac0
movaps %xmm0, -0x80(%rbp)
movl $0xf0, %edi
callq 0x53c0
movq %rax, -0x118(%rbp)
jmp 0x753b
movq -0x118(%rbp), %rdi
movl -0x14(%rbp), %esi
leaq -0x80(%rbp), %rdx
callq 0x11040
jmp 0x7550
movq -0x118(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0x10(%rbp), %rdi
callq 0x12530
movb %al, -0x119(%rbp)
jmp 0x756c
movb -0x119(%rbp), %al
testb $0x1, %al
jne 0x78c9
jmp 0x757c
movl $0x40, %edi
callq 0x53c0
movq %rax, -0x128(%rbp)
jmp 0x758f
movq -0x128(%rbp), %rdi
movq -0x10(%rbp), %rsi
callq 0xb3c0
jmp 0x75a1
movq -0x128(%rbp), %rax
movq %rax, -0x98(%rbp)
movq -0x98(%rbp), %rdi
callq 0xb690
movl %eax, -0x12c(%rbp)
jmp 0x75c3
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 0x7606
movq -0x138(%rbp), %rdi
callq 0xb5c0
movq -0x138(%rbp), %rdi
movl $0x40, %esi
callq 0x53d0
testb $0x1, -0x1(%rbp)
je 0x78c7
leaq -0xb9(%rbp), %rdi
movq %rdi, -0x140(%rbp)
callq 0x5720
movq -0x140(%rbp), %rdx
leaq 0x1fbde(%rip), %rsi     # 0x2720f
leaq -0xb8(%rbp), %rdi
callq 0x97a0
jmp 0x763f
leaq -0xe1(%rbp), %rdi
movq %rdi, -0x148(%rbp)
callq 0x5720
movq -0x148(%rbp), %rdx
leaq 0x1fbc8(%rip), %rsi     # 0x27228
leaq -0xe0(%rbp), %rdi
callq 0x97a0
jmp 0x766e
leaq -0xb8(%rbp), %rdi
leaq -0xe0(%rbp), %rsi
callq 0x94e0
movb %al, -0x149(%rbp)
jmp 0x7689
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 0x78c7
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x88(%rbp)
movl %eax, -0x8c(%rbp)
jmp 0x7797
movq -0x118(%rbp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x88(%rbp)
movl %eax, -0x8c(%rbp)
movl $0xf0, %esi
callq 0x53d0
jmp 0x7797
movq -0x128(%rbp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x88(%rbp)
movl %eax, -0x8c(%rbp)
movl $0x40, %esi
callq 0x53d0
jmp 0x7797
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x88(%rbp)
movl %eax, -0x8c(%rbp)
jmp 0x778b
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x88(%rbp)
movl %eax, -0x8c(%rbp)
jmp 0x7773
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 0x7862
movq -0x88(%rbp), %rdi
movq %rdi, -0x158(%rbp)
callq 0x54f0
movq %rax, %rsi
leaq -0x110(%rbp), %rdi
callq 0x5190
jmp 0x77d4
movq -0x158(%rbp), %rdi
callq 0x5170
movq 0x33801(%rip), %rdi     # 0x3afe8
leaq -0x110(%rbp), %rsi
callq 0x5360
movq %rax, -0x160(%rbp)
jmp 0x77fc
movq -0x160(%rbp), %rdi
movq 0x3377e(%rip), %rsi     # 0x3af88
callq 0x5400
jmp 0x7811
movb $0x0, -0x1(%rbp)
leaq -0x110(%rbp), %rdi
callq 0x57a8
callq 0x5660
movq -0x10(%rbp), %rax
movq %rax, -0x168(%rbp)
cmpq $0x0, %rax
je 0x7854
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 0x790e
movq -0x88(%rbp), %rdi
callq 0x5170
movq %rax, -0xf0(%rbp)
movq -0xf0(%rbp), %rsi
movq 0x33752(%rip), %rdi     # 0x3afe8
callq 0x53b0
movq %rax, -0x170(%rbp)
jmp 0x78a4
movq -0x170(%rbp), %rdi
movq 0x336d6(%rip), %rsi     # 0x3af88
callq 0x5400
jmp 0x78b9
movb $0x0, -0x1(%rbp)
callq 0x5660
jmp 0x7826
jmp 0x78c9
jmp 0x7826
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x88(%rbp)
movl %eax, -0x8c(%rbp)
callq 0x5660
jmp 0x790e
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x88(%rbp)
movl %eax, -0x8c(%rbp)
leaq -0x110(%rbp), %rdi
callq 0x57a8
callq 0x5660
jmp 0x790c
jmp 0x790e
movq -0x88(%rbp), %rdi
callq 0x5700
movq %rax, %rdi
callq 0x9a70
nopw %cs:(%rax,%rax)