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

	Arguments* args;

	try
	{
		int argc = 12;
		char* argv[] = {
			(char*)("test1"),
			(char*)("-d"),
			(char*)("-i"),
			(char*)("test/input/1.fasta"),
			(char*)("-o"),
			(char*)("test/output/actual/1.tsv"),
			(char*)("-n"),
			(char*)("2"),
			(char*)("-l"),
			(char*)("2"),
			(char*)("-p"),
			(char*)("2-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/1.tsv", "test/output/expected/1.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 0x34a23(%rip), %xmm0    # 0x3a930
movaps %xmm0, -0x30(%rbp)
movaps 0x34a08(%rip), %xmm0    # 0x3a920
movaps %xmm0, -0x40(%rbp)
movaps 0x349ed(%rip), %xmm0    # 0x3a910
movaps %xmm0, -0x50(%rbp)
movaps 0x349d2(%rip), %xmm0    # 0x3a900
movaps %xmm0, -0x60(%rbp)
movaps 0x349b7(%rip), %xmm0    # 0x3a8f0
movaps %xmm0, -0x70(%rbp)
movaps 0x3499c(%rip), %xmm0    # 0x3a8e0
movaps %xmm0, -0x80(%rbp)
movl $0xf0, %edi
callq 0x53c0
movq %rax, -0x118(%rbp)
jmp 0x5f5b
movq -0x118(%rbp), %rdi
movl -0x14(%rbp), %esi
leaq -0x80(%rbp), %rdx
callq 0x11040
jmp 0x5f70
movq -0x118(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0x10(%rbp), %rdi
callq 0x12530
movb %al, -0x119(%rbp)
jmp 0x5f8c
movb -0x119(%rbp), %al
testb $0x1, %al
jne 0x62e9
jmp 0x5f9c
movl $0x40, %edi
callq 0x53c0
movq %rax, -0x128(%rbp)
jmp 0x5faf
movq -0x128(%rbp), %rdi
movq -0x10(%rbp), %rsi
callq 0xb3c0
jmp 0x5fc1
movq -0x128(%rbp), %rax
movq %rax, -0x98(%rbp)
movq -0x98(%rbp), %rdi
callq 0xb690
movl %eax, -0x12c(%rbp)
jmp 0x5fe3
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 0x6026
movq -0x138(%rbp), %rdi
callq 0xb5c0
movq -0x138(%rbp), %rdi
movl $0x40, %esi
callq 0x53d0
testb $0x1, -0x1(%rbp)
je 0x62e7
leaq -0xb9(%rbp), %rdi
movq %rdi, -0x140(%rbp)
callq 0x5720
movq -0x140(%rbp), %rdx
leaq 0x2101a(%rip), %rsi     # 0x2706b
leaq -0xb8(%rbp), %rdi
callq 0x97a0
jmp 0x605f
leaq -0xe1(%rbp), %rdi
movq %rdi, -0x148(%rbp)
callq 0x5720
movq -0x148(%rbp), %rdx
leaq 0x21011(%rip), %rsi     # 0x27091
leaq -0xe0(%rbp), %rdi
callq 0x97a0
jmp 0x608e
leaq -0xb8(%rbp), %rdi
leaq -0xe0(%rbp), %rsi
callq 0x94e0
movb %al, -0x149(%rbp)
jmp 0x60a9
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 0x62e7
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x88(%rbp)
movl %eax, -0x8c(%rbp)
jmp 0x61b7
movq -0x118(%rbp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x88(%rbp)
movl %eax, -0x8c(%rbp)
movl $0xf0, %esi
callq 0x53d0
jmp 0x61b7
movq -0x128(%rbp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x88(%rbp)
movl %eax, -0x8c(%rbp)
movl $0x40, %esi
callq 0x53d0
jmp 0x61b7
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x88(%rbp)
movl %eax, -0x8c(%rbp)
jmp 0x61ab
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x88(%rbp)
movl %eax, -0x8c(%rbp)
jmp 0x6193
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 0x6282
movq -0x88(%rbp), %rdi
movq %rdi, -0x158(%rbp)
callq 0x54f0
movq %rax, %rsi
leaq -0x110(%rbp), %rdi
callq 0x5190
jmp 0x61f4
movq -0x158(%rbp), %rdi
callq 0x5170
movq 0x34de1(%rip), %rdi     # 0x3afe8
leaq -0x110(%rbp), %rsi
callq 0x5360
movq %rax, -0x160(%rbp)
jmp 0x621c
movq -0x160(%rbp), %rdi
movq 0x34d5e(%rip), %rsi     # 0x3af88
callq 0x5400
jmp 0x6231
movb $0x0, -0x1(%rbp)
leaq -0x110(%rbp), %rdi
callq 0x57a8
callq 0x5660
movq -0x10(%rbp), %rax
movq %rax, -0x168(%rbp)
cmpq $0x0, %rax
je 0x6274
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 0x632e
movq -0x88(%rbp), %rdi
callq 0x5170
movq %rax, -0xf0(%rbp)
movq -0xf0(%rbp), %rsi
movq 0x34d32(%rip), %rdi     # 0x3afe8
callq 0x53b0
movq %rax, -0x170(%rbp)
jmp 0x62c4
movq -0x170(%rbp), %rdi
movq 0x34cb6(%rip), %rsi     # 0x3af88
callq 0x5400
jmp 0x62d9
movb $0x0, -0x1(%rbp)
callq 0x5660
jmp 0x6246
jmp 0x62e9
jmp 0x6246
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x88(%rbp)
movl %eax, -0x8c(%rbp)
callq 0x5660
jmp 0x632e
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x88(%rbp)
movl %eax, -0x8c(%rbp)
leaq -0x110(%rbp), %rdi
callq 0x57a8
callq 0x5660
jmp 0x632c
jmp 0x632e
movq -0x88(%rbp), %rdi
callq 0x5700
movq %rax, %rdi
callq 0x9a70
nopw %cs:(%rax,%rax)