// File: /workspace/github_cpp_makefile_star2_O1/ridgelab[P]Kmer-SSR/test/src/arguments.cpp
// Function: main
int main()
{
	cout << '\n';
	
	int ret_val = 0; // also used to count the number of failed tests

	vector<bool (*)()> tests = { test1, test2, test3, test4 };

	for (uint32_t i = 0; i < tests.size(); ++i)
	{
		cout << "Arguments Test #" << i + 1 << ":\t";
		if (tests[i]())
		{
			cout << "OK";
		}
		else
		{
			++ret_val;
			cout << "FAIL";
		}
		cout << '\n';

		optind = 1; // reset optind for next use of global getopt
	}
	
	string pass_or_fail_color = ret_val ? "\033[0;31m" : "\033[0;32m";
	cout << "\033[0;34mArguments Passed:\t" << pass_or_fail_color << tests.size() - ret_val << " / " << tests.size() << "\033[0m" << endl;
	
	return ret_val;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
leaq 0x20(%rsp), %rbx
movb $0xa, (%rbx)
movq 0x9a7f(%rip), %rdi      # 0xbfb8
movl $0x1, %edx
movq %rbx, %rsi
callq 0x2230
movups 0x9733(%rip), %xmm0     # 0xbc80
movaps %xmm0, 0x10(%rbx)
movups 0x9718(%rip), %xmm0     # 0xbc70
movaps %xmm0, (%rbx)
leaq 0x8(%rsp), %rbx
leaq 0x20(%rsp), %rsi
leaq 0x7(%rsp), %rcx
movl $0x4, %edx
movq %rbx, %rdi
callq 0x2f86
movq 0x8(%rbx), %rax
cmpq (%rbx), %rax
je 0x2648
xorl %ebp, %ebp
movl $0x1, %r15d
movq 0x9a25(%rip), %r14      # 0xbfb8
movq 0x9a2e(%rip), %r12      # 0xbfc8
xorl %ebx, %ebx
movl $0x10, %edx
movq %r14, %rdi
leaq 0x4a59(%rip), %rsi      # 0x7004
callq 0x2230
movl %r15d, %r13d
movq %r14, %rdi
movq %r13, %rsi
callq 0x2140
movl $0x2, %edx
movq %rax, %rdi
leaq 0x4a77(%rip), %rsi      # 0x7044
callq 0x2230
movq 0x8(%rsp), %rax
callq *(%rax,%rbp,8)
testb %al, %al
je 0x25f4
movl $0x2, %edx
movq %r14, %rdi
leaq 0x4a28(%rip), %rsi      # 0x7015
callq 0x2230
jmp 0x260a
movl $0x4, %edx
movq %r14, %rdi
leaq 0x4a15(%rip), %rsi      # 0x7018
callq 0x2230
incl %ebx
movb $0xa, 0x20(%rsp)
movl $0x1, %edx
movq %r14, %rdi
leaq 0x20(%rsp), %rsi
callq 0x2230
movl $0x1, (%r12)
movq 0x10(%rsp), %rax
subq 0x8(%rsp), %rax
sarq $0x3, %rax
incl %r15d
movq %r13, %rbp
cmpq %r13, %rax
ja 0x259c
jmp 0x264a
xorl %ebx, %ebx
testl %ebx, %ebx
leaq 0x49d2(%rip), %rax      # 0x7025
leaq 0x49c3(%rip), %rsi      # 0x701d
cmoveq %rax, %rsi
leaq 0x30(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x49be(%rip), %rax      # 0x702c
leaq 0x49af(%rip), %rdx      # 0x7024
cmoveq %rax, %rdx
leaq 0x20(%rsp), %rdi
callq 0x310c
movq 0x992e(%rip), %rdi      # 0xbfb8
leaq 0x499c(%rip), %rsi      # 0x702d
movl $0x19, %edx
callq 0x2230
movq 0x20(%rsp), %rsi
movq 0x28(%rsp), %rdx
movq 0x990c(%rip), %rdi      # 0xbfb8
callq 0x2230
movq 0x10(%rsp), %rsi
subq 0x8(%rsp), %rsi
sarq $0x3, %rsi
movslq %ebx, %rcx
subq %rcx, %rsi
movq %rax, %rdi
callq 0x2140
movq %rax, %r14
leaq 0x4970(%rip), %rsi      # 0x7047
movl $0x3, %edx
movq %rax, %rdi
callq 0x2230
movq 0x10(%rsp), %rsi
subq 0x8(%rsp), %rsi
sarq $0x3, %rsi
movq %r14, %rdi
callq 0x2140
movq %rax, %r14
leaq 0x593f(%rip), %rsi      # 0x8043
movl $0x4, %edx
movq %rax, %rdi
callq 0x2230
movq (%r14), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x21b0
movsbl %al, %esi
movq %r14, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x2150
movq 0x20(%rsp), %rdi
cmpq %r15, %rdi
je 0x274f
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x21e0
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x2766
movq 0x18(%rsp), %rsi
subq %rdi, %rsi
callq 0x21e0
movl %ebx, %eax
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x2795
movq %rax, %rbx
movq 0x20(%rsp), %rdi
cmpq %r15, %rdi
je 0x2798
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x21e0
jmp 0x2798
movq %rax, %rbx
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x27af
movq 0x18(%rsp), %rsi
subq %rdi, %rsi
callq 0x21e0
movq %rbx, %rdi
callq 0x2300