// File: /workspace/github_cpp_makefile_star2_O1/statgen[P]statgen/lib/tclap-1.2.0/examples/../include/tclap/CmdLine.h
// Function: TCLAP::CmdLine::parse(std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>>&)
inline void CmdLine::parse(std::vector<std::string>& args)
{
	bool shouldExit = false;
	int estat = 0;

	try {
		_progName = args.front();
		args.erase(args.begin());

		int requiredCount = 0;

		for (int i = 0; static_cast<unsigned int>(i) < args.size(); i++) {
			bool matched = false;
			for (ArgListIterator it = _argList.begin();
				 it != _argList.end(); it++) {
				if ( (*it)->processArg( &i, args ) )
					{
						requiredCount += _xorHandler.check( *it );
						matched = true;
						break;
					}
			}

			// checks to see if the argument is an empty combined
			// switch and if so, then we've actually matched it
			if ( !matched && _emptyCombined( args[i] ) )
				matched = true;

			if ( !matched && !Arg::ignoreRest() )
				throw(CmdLineParseException("Couldn't find match "
											"for argument",
											args[i]));
		}

		if ( requiredCount < _numRequired )
			missingArgsException();

		if ( requiredCount > _numRequired )
			throw(CmdLineParseException("Too many arguments!"));

	} catch ( ArgException& e ) {
		// If we're not handling the exceptions, rethrow.
		if ( !_handleExceptions) {
			throw;
		}

		try {
			_output->failure(*this,e);
		} catch ( ExitException &ee ) {
			estat = ee.getExitStatus();
			shouldExit = true;
		}
	} catch (ExitException &ee) {
		// If we're not handling the exceptions, rethrow.
		if ( !_handleExceptions) {
			throw;
		}

		estat = ee.getExitStatus();
		shouldExit = true;
	}

	if (shouldExit)
		exit(estat);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x68, %rsp
movq %rsi, %r14
movq %rdi, %r13
movq (%rsi), %rsi
addq $0x20, %rdi
callq 0x3100
movq (%r14), %rsi
movq %r14, %rdi
callq 0x9996
movl $0x0, 0x38(%rsp)
movq 0x8(%r14), %rax
cmpq (%r14), %rax
je 0x9259
leaq 0x8(%r13), %rbp
xorl %r15d, %r15d
movq %r14, 0x30(%rsp)
movq %rbp, 0x58(%rsp)
movq %rbp, %rbx
movq (%rbx), %rbx
cmpq %rbp, %rbx
je 0x918a
movq 0x10(%rbx), %rdi
movq (%rdi), %rax
leaq 0x38(%rsp), %rsi
movq %r14, %rdx
callq *0x18(%rax)
testb %al, %al
je 0x906c
movq %r15, 0x60(%rsp)
movq 0x10(%rbx), %rax
movq %rax, 0x10(%rsp)
movq 0x88(%r13), %rax
cmpq %rax, 0x90(%r13)
setne %r12b
je 0x918e
xorl %r15d, %r15d
movq %rcx, 0x8(%rsp)
movq %r13, %r14
leaq (%r15,%r15,2), %rbp
movq (%rax,%rbp,8), %rdi
movq 0x8(%rax,%rbp,8), %rsi
leaq 0x10(%rsp), %rdx
callq 0x9a0e
movq %rax, %r13
movq 0x88(%r14), %rax
movq 0x8(%rax,%rbp,8), %rbx
cmpq %rbx, %r13
je 0x914d
leaq (%rax,%rbp,8), %rax
movq (%rax), %rax
cmpq %rbx, %rax
movb $0x1, %sil
je 0x911d
movq 0x10(%rsp), %rcx
movq (%rax), %rdx
cmpq %rdx, %rcx
je 0x9114
movb %sil, 0x91(%rdx)
movb %sil, 0xa1(%rdx)
addq $0x8, %rax
cmpq %rbx, %rax
jne 0x90fe
movq (%r13), %rdi
movq (%rdi), %rax
callq *0x58(%rax)
movq $0x0, 0x8(%rsp)
testb %al, %al
jne 0x914d
movq 0x88(%r14), %rax
movq 0x8(%rax,%rbp,8), %rcx
subq (%rax,%rbp,8), %rcx
shrq $0x3, %rcx
movq %rcx, 0x8(%rsp)
cmpq %rbx, %r13
jne 0x9195
incq %r15
movq %r14, %r13
movq 0x88(%r14), %rax
movq 0x90(%r14), %rcx
subq %rax, %rcx
sarq $0x3, %rcx
movabsq $-0x5555555555555555, %rdx # imm = 0xAAAAAAAAAAAAAAAB
imulq %rdx, %rcx
cmpq %r15, %rcx
seta %r12b
ja 0x90bc
jmp 0x9198
xorl %eax, %eax
jmp 0x91c6
movq %rax, 0x8(%rsp)
jmp 0x9198
movq %r14, %r13
testb $0x1, %r12b
movq 0x30(%rsp), %r14
movq 0x60(%rsp), %rbx
movq 0x58(%rsp), %rbp
movq 0x8(%rsp), %r15
jne 0x91c1
movq 0x10(%rsp), %rdi
movq (%rdi), %rax
callq *0x28(%rax)
movzbl %al, %r15d
addl %ebx, %r15d
movb $0x1, %al
testb %al, %al
jne 0x922c
movslq 0x38(%rsp), %rcx
movq (%r14), %rdx
shlq $0x5, %rcx
leaq (%rdx,%rcx), %rsi
movq 0x8(%rdx,%rcx), %rcx
testq %rcx, %rcx
je 0x91ec
movq (%rsi), %rdx
cmpb $0x2d, (%rdx)
jne 0x921d
cmpq $0x2, %rcx
setb %dl
jb 0x921f
movq (%rsi), %rdx
cmpb $0x7, 0x1(%rdx)
jne 0x921d
movl $0x2, %edi
movq %rdi, %rsi
cmpq %rdi, %rcx
je 0x9215
leaq 0x1(%rsi), %rdi
cmpb $0x7, (%rdx,%rsi)
je 0x9203
cmpq %rsi, %rcx
setbe %dl
jmp 0x921f
xorl %edx, %edx
movzbl %al, %eax
testb %dl, %dl
movl $0x1, %ecx
cmovnel %ecx, %eax
testb %al, %al
jne 0x9239
cmpb $0x0, 0x5fb3(%rip)      # 0xf1ea
je 0x9295
movl 0x38(%rsp), %eax
incl %eax
movl %eax, 0x38(%rsp)
movq 0x8(%r14), %rcx
subq (%r14), %rcx
sarq $0x5, %rcx
cmpq %rax, %rcx
ja 0x9069
jmp 0x925c
xorl %r15d, %r15d
cmpl 0x80(%r13), %r15d
jge 0x926d
movq %r13, %rdi
callq 0x97a2
xorl %r14d, %r14d
movl $0x0, %ebx
cmpl 0x80(%r13), %r15d
jg 0x930b
testb %bl, %bl
jne 0x9303
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %r13, %r14
movl $0x68, %edi
callq 0x30e0
movq %rax, %r12
leaq 0x20(%rsp), %r13
movq %r13, -0x10(%r13)
leaq 0x1feb(%rip), %rsi      # 0xb2a0
leaq 0x2004(%rip), %rdx      # 0xb2c0
leaq 0x10(%rsp), %rdi
callq 0x6fd8
movslq 0x38(%rsp), %rdx
shlq $0x5, %rdx
movq 0x30(%rsp), %rax
addq (%rax), %rdx
movb $0x1, %bl
leaq 0x10(%rsp), %rsi
movq %r12, %rdi
callq 0x3d98
xorl %ebx, %ebx
leaq 0x5689(%rip), %rsi      # 0xe978
leaq 0xe64(%rip), %rdx       # 0xa15a
movq %r12, %rdi
callq 0x32e0
jmp 0x949e
movl %r14d, %edi
callq 0x3220
movl $0x68, %edi
callq 0x30e0
movq %rax, %r12
leaq 0x20(%rsp), %rbx
movq %rbx, -0x10(%rbx)
leaq 0x1f99(%rip), %rsi      # 0xb2c1
leaq 0x1fa5(%rip), %rdx      # 0xb2d4
leaq 0x10(%rsp), %rdi
callq 0x6fd8
leaq 0x48(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x1f8c(%rip), %rsi      # 0xb2d5
leaq 0x1f8e(%rip), %rdx      # 0xb2de
leaq 0x38(%rsp), %rdi
callq 0x6fd8
movb $0x1, %r14b
leaq 0x10(%rsp), %rsi
leaq 0x38(%rsp), %rdx
movq %r12, %rdi
callq 0x3d98
xorl %r14d, %r14d
leaq 0x55ff(%rip), %rsi      # 0xe978
leaq 0xdda(%rip), %rdx       # 0xa15a
movq %r12, %rdi
callq 0x32e0
jmp 0x949e
movq %rdx, %r15
movq %rax, %rbp
movq 0x38(%rsp), %rdi
leaq 0x48(%rsp), %rax
cmpq %rax, %rdi
je 0x93ba
movq 0x48(%rsp), %rsi
incq %rsi
callq 0x31c0
jmp 0x93ba
movq %rdx, %r15
movq %rax, %rbp
movb $0x1, %r14b
movq 0x10(%rsp), %rdi
cmpq %rbx, %rdi
je 0x93dc
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x31c0
jmp 0x93dc
movq %rdx, %r15
movq %rax, %rbp
movb $0x1, %r14b
testb %r14b, %r14b
je 0x9439
movq %r12, %rdi
callq 0x3150
jmp 0x9439
jmp 0x9433
jmp 0x9433
jmp 0x9433
jmp 0x9433
movq %rdx, %r15
movq %rax, %rbp
movq 0x10(%rsp), %rdi
cmpq %r13, %rdi
je 0x941a
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x31c0
jmp 0x941a
movq %rdx, %r15
movq %rax, %rbp
movb $0x1, %bl
testb %bl, %bl
je 0x942e
movq %r12, %rdi
callq 0x3150
jmp 0x942e
movq %rdx, %r15
movq %rax, %rbp
movq %r14, %r13
jmp 0x9439
movq %rdx, %r15
movq %rax, %rbp
cmpl $0x2, %r15d
jne 0x946b
movq %rbp, %rdi
callq 0x30b0
cmpb $0x0, 0xd8(%r13)
je 0x9492
movq 0xd0(%r13), %rdi
movq (%rdi), %rcx
xorl %r14d, %r14d
movq %r13, %rsi
movq %rax, %rdx
callq *0x20(%rcx)
xorl %ebx, %ebx
jmp 0x9488
cmpl $0x1, %r15d
jne 0x94b0
movq %rbp, %rdi
callq 0x30b0
cmpb $0x0, 0xd8(%r13)
je 0x9499
movl (%rax), %r14d
movb $0x1, %bl
callq 0x32c0
jmp 0x9282
callq 0x3260
jmp 0x949e
callq 0x3260
movq %rax, %rbp
callq 0x32c0
jmp 0x94b0
movq %rax, %rbp
callq 0x32c0
movq %rbp, %rdi
callq 0x3300
movq %rax, %rdi
callq 0x510a
movq %rax, %rbp
cmpl $0x1, %edx
jne 0x94ab
movq %rbp, %rdi
callq 0x30b0
movl (%rax), %r14d
movb $0x1, %bl
callq 0x32c0
jmp 0x9488
jmp 0x94a8