// File: /workspace/github_cpp_makefile_star2_O2/statgen[P]statgen/lib/tclap-1.2.0/examples/test6.cpp
// Function: main
int main(int argc, char** argv)
{
	// Wrap everything in a try block.  Do this every time,
	// because exceptions will be thrown for problems.
	try {

	// Define the command line object.
	CmdLine cmd("Command description message", ' ', "0.9");

	vector<string> allowed;
	allowed.push_back("homer");
	allowed.push_back("marge");
	allowed.push_back("bart");
	allowed.push_back("lisa");
	allowed.push_back("maggie");
	ValuesConstraint<string> allowedVals( allowed );

	ValueArg<string> nameArg("n","name","Name to print",true,"homer",
					         &allowedVals);
	cmd.add( nameArg );

	vector<int> iallowed;
	iallowed.push_back(1);
	iallowed.push_back(2);
	iallowed.push_back(3);
	ValuesConstraint<int> iallowedVals( iallowed );

	UnlabeledValueArg<int> intArg("times","Number of times to print",true,1,
					      &iallowedVals,false);
	cmd.add( intArg );

	// Parse the args.
	cmd.parse( argc, argv );

	// Get the value parsed by each arg.
	int num = intArg.getValue();
	string name = nameArg.getValue();

	for ( int i = 0; i < num; i++ )
		cout << "My name is " << name << endl;

	} catch ( ArgException& e)  // catch any exceptions
	{ cerr << "error: " << e.error() << " for arg " << e.argId() << endl; }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x3f8, %rsp            # imm = 0x3F8
movq %rsi, %rbx
movl %edi, %ebp
leaq 0x6b5d(%rip), %rsi      # 0xb022
leaq 0xf0(%rsp), %rdi
leaq 0x2d8(%rsp), %rdx
callq 0x4e2e
leaq 0x6b5d(%rip), %rsi      # 0xb03e
leaq 0x200(%rsp), %rdi
leaq 0x90(%rsp), %rdx
callq 0x4e2e
leaq 0x318(%rsp), %rdi
leaq 0xf0(%rsp), %rsi
pushq $0x20
popq %rdx
leaq 0x200(%rsp), %rcx
pushq $0x1
popq %r8
callq 0x5852
leaq 0x200(%rsp), %rdi
callq 0x4388
leaq 0xf0(%rsp), %rdi
callq 0x4388
xorps %xmm0, %xmm0
movaps %xmm0, 0x10(%rsp)
andq $0x0, 0x20(%rsp)
leaq 0x6af9(%rip), %rsi      # 0xb042
leaq 0xf0(%rsp), %rdi
leaq 0x200(%rsp), %rdx
callq 0x4e2e
leaq 0x10(%rsp), %rdi
leaq 0xf0(%rsp), %rsi
callq 0x9c66
leaq 0xf0(%rsp), %rdi
callq 0x4388
leaq 0x6ac4(%rip), %rsi      # 0xb048
leaq 0xf0(%rsp), %rdi
leaq 0x200(%rsp), %rdx
callq 0x4e2e
leaq 0x10(%rsp), %rdi
leaq 0xf0(%rsp), %rsi
callq 0x9c66
leaq 0xf0(%rsp), %rdi
callq 0x4388
leaq 0x6a8f(%rip), %rsi      # 0xb04e
leaq 0xf0(%rsp), %rdi
leaq 0x200(%rsp), %rdx
callq 0x4e2e
leaq 0x10(%rsp), %rdi
leaq 0xf0(%rsp), %rsi
callq 0x9c66
leaq 0xf0(%rsp), %rdi
callq 0x4388
leaq 0x6a59(%rip), %rsi      # 0xb053
leaq 0xf0(%rsp), %rdi
leaq 0x200(%rsp), %rdx
callq 0x4e2e
leaq 0x10(%rsp), %rdi
leaq 0xf0(%rsp), %rsi
callq 0x9c66
leaq 0xf0(%rsp), %rdi
callq 0x4388
leaq 0x6a23(%rip), %rsi      # 0xb058
leaq 0xf0(%rsp), %rdi
leaq 0x200(%rsp), %rdx
callq 0x4e2e
leaq 0x10(%rsp), %rdi
leaq 0xf0(%rsp), %rsi
callq 0x9c66
leaq 0xf0(%rsp), %rdi
callq 0x4388
leaq 0x2d8(%rsp), %r14
leaq 0x10(%rsp), %rsi
movq %r14, %rdi
callq 0x59c0
leaq 0x6b14(%rip), %rsi      # 0xb199
leaq 0x200(%rsp), %rdi
leaq 0x70(%rsp), %rdx
callq 0x4e2e
leaq 0x69c1(%rip), %rsi      # 0xb05f
leaq 0x90(%rsp), %rdi
leaq 0x50(%rsp), %rdx
callq 0x4e2e
leaq 0x69ad(%rip), %rsi      # 0xb064
leaq 0x30(%rsp), %rdi
leaq 0xf(%rsp), %rdx
callq 0x4e2e
leaq 0x6975(%rip), %rsi      # 0xb042
leaq 0xd0(%rsp), %rdi
leaq 0xe(%rsp), %rdx
callq 0x4e2e
leaq 0xf0(%rsp), %rdi
leaq 0x200(%rsp), %rsi
leaq 0x90(%rsp), %rdx
leaq 0x30(%rsp), %rcx
pushq $0x1
popq %r8
leaq 0xd0(%rsp), %r9
pushq $0x0
pushq %r14
callq 0x5ad4
popq %rax
popq %rcx
leaq 0xd0(%rsp), %rdi
callq 0x4388
leaq 0x30(%rsp), %rdi
callq 0x4388
leaq 0x90(%rsp), %rdi
callq 0x4388
leaq 0x200(%rsp), %rdi
callq 0x4388
leaq 0x318(%rsp), %rdi
movq (%rdi), %rax
leaq 0xf0(%rsp), %rsi
callq *0x18(%rax)
leaq 0x50(%rsp), %rdi
andq $0x0, 0x10(%rdi)
xorps %xmm0, %xmm0
movaps %xmm0, (%rdi)
leaq 0x200(%rsp), %rsi
movl $0x1, (%rsi)
callq 0xa09e
leaq 0x200(%rsp), %rsi
movl $0x2, (%rsi)
leaq 0x50(%rsp), %rdi
callq 0xa09e
leaq 0x200(%rsp), %rsi
movl $0x3, (%rsi)
leaq 0x50(%rsp), %rdi
callq 0xa09e
leaq 0x90(%rsp), %rdi
leaq 0x50(%rsp), %rsi
callq 0x5b82
leaq 0x68ac(%rip), %rsi      # 0xb072
leaq 0x30(%rsp), %rdi
leaq 0xf(%rsp), %rdx
callq 0x4e2e
leaq 0x689c(%rip), %rsi      # 0xb078
leaq 0x70(%rsp), %rdi
leaq 0xe(%rsp), %rdx
callq 0x4e2e
leaq 0x200(%rsp), %rdi
leaq 0x30(%rsp), %rsi
leaq 0x70(%rsp), %rdx
pushq $0x1
popq %rcx
leaq 0x90(%rsp), %r9
movl %ecx, %r8d
pushq $0x0
pushq $0x0
callq 0x5c92
popq %rax
popq %rcx
leaq 0x70(%rsp), %rdi
callq 0x4388
leaq 0x30(%rsp), %rdi
callq 0x4388
leaq 0x318(%rsp), %rdi
movq (%rdi), %rax
leaq 0x200(%rsp), %rsi
callq *0x18(%rax)
leaq 0x318(%rsp), %rdi
movl %ebp, %esi
movq %rbx, %rdx
callq 0x5d74
movl 0x2a4(%rsp), %ebx
leaq 0x198(%rsp), %rsi
leaq 0x30(%rsp), %rdi
callq 0x4250
xorl %ebp, %ebp
testl %ebx, %ebx
cmovgl %ebx, %ebp
movq 0xc757(%rip), %rbx      # 0x10fd0
leaq 0x6811(%rip), %r14      # 0xb091
leaq 0x30(%rsp), %r15
subl $0x1, %ebp
jb 0x48aa
movq %rbx, %rdi
movq %r14, %rsi
callq 0x41b0
movq %rax, %rdi
movq %r15, %rsi
callq 0x41a0
movq %rax, %rdi
callq 0x40f0
jmp 0x4885
leaq 0x30(%rsp), %rdi
callq 0x4388
leaq 0x200(%rsp), %rdi
callq 0x8a3a
leaq 0x90(%rsp), %rdi
callq 0x5e2c
leaq 0x50(%rsp), %rdi
callq 0xa06a
leaq 0xf0(%rsp), %rdi
callq 0x5e58
leaq 0x2d8(%rsp), %rdi
callq 0x5e94
leaq 0x10(%rsp), %rdi
callq 0x5ec0
leaq 0x318(%rsp), %rdi
callq 0x57ae
xorl %eax, %eax
addq $0x3f8, %rsp            # imm = 0x3F8
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
jmp 0x4a32
movq %rdx, %r14
movq %rax, %rbx
leaq 0x70(%rsp), %rdi
callq 0x4388
jmp 0x4936
movq %rdx, %r14
movq %rax, %rbx
leaq 0x30(%rsp), %rdi
callq 0x4388
jmp 0x4a57
movq %rdx, %r14
movq %rax, %rbx
jmp 0x4a57
jmp 0x4956
jmp 0x4956
jmp 0x4956
movq %rdx, %r14
movq %rax, %rbx
jmp 0x4a64
movq %rdx, %r14
movq %rax, %rbx
jmp 0x4a6e
movq %rdx, %r14
movq %rax, %rbx
leaq 0xd0(%rsp), %rdi
callq 0x4388
jmp 0x4987
movq %rdx, %r14
movq %rax, %rbx
leaq 0x30(%rsp), %rdi
callq 0x4388
jmp 0x4999
movq %rdx, %r14
movq %rax, %rbx
leaq 0x90(%rsp), %rdi
callq 0x4388
jmp 0x49ae
movq %rdx, %r14
movq %rax, %rbx
leaq 0x200(%rsp), %rdi
callq 0x4388
jmp 0x4a7b
movq %rdx, %r14
movq %rax, %rbx
jmp 0x4a7b
jmp 0x49f5
jmp 0x49dd
jmp 0x49f5
jmp 0x49dd
jmp 0x49f5
jmp 0x49dd
jmp 0x49f5
jmp 0x49dd
jmp 0x49f5
movq %rdx, %r14
movq %rax, %rbx
leaq 0xf0(%rsp), %rdi
callq 0x4388
jmp 0x4a88
movq %rdx, %r14
movq %rax, %rbx
jmp 0x4a88
movq %rdx, %r14
movq %rax, %rbx
leaq 0x200(%rsp), %rdi
callq 0x4388
jmp 0x4a1b
movq %rdx, %r14
movq %rax, %rbx
leaq 0xf0(%rsp), %rdi
callq 0x4388
jmp 0x4a9f
movq %rdx, %r14
movq %rax, %rbx
jmp 0x4a9f
movq %rdx, %r14
movq %rax, %rbx
jmp 0x4a4a
movq %rdx, %r14
movq %rax, %rbx
leaq 0x30(%rsp), %rdi
callq 0x4388
leaq 0x200(%rsp), %rdi
callq 0x8a3a
leaq 0x90(%rsp), %rdi
callq 0x5e2c
leaq 0x50(%rsp), %rdi
callq 0xa06a
leaq 0xf0(%rsp), %rdi
callq 0x5e58
leaq 0x2d8(%rsp), %rdi
callq 0x5e94
leaq 0x10(%rsp), %rdi
callq 0x5ec0
leaq 0x318(%rsp), %rdi
callq 0x57ae
cmpl $0x1, %r14d
jne 0x4b79
movq %rbx, %rdi
callq 0x40b0
movq %rax, %rbx
movq 0xc535(%rip), %rdi      # 0x10ff0
leaq 0x65db(%rip), %rsi      # 0xb09d
callq 0x41b0
movq %rax, %r14
leaq 0x8(%rbx), %rsi
leaq 0xf0(%rsp), %rdi
callq 0x4250
leaq 0xf0(%rsp), %rsi
movq %r14, %rdi
callq 0x41a0
leaq 0x65b3(%rip), %rsi      # 0xb0a5
movq %rax, %rdi
callq 0x41b0
movq %rax, %r14
leaq 0x318(%rsp), %rdi
movq %rbx, %rsi
callq 0x5ee2
leaq 0x318(%rsp), %rsi
movq %r14, %rdi
callq 0x41a0
movq %rax, %rdi
callq 0x40f0
leaq 0x318(%rsp), %rdi
callq 0x4388
leaq 0xf0(%rsp), %rdi
callq 0x4388
callq 0x42c0
jmp 0x4909
jmp 0x4b64
jmp 0x4b4d
movq %rax, %rbx
jmp 0x4b74
movq %rax, %rbx
leaq 0x318(%rsp), %rdi
callq 0x4388
jmp 0x4b67
movq %rax, %rbx
leaq 0xf0(%rsp), %rdi
callq 0x4388
callq 0x42c0
movq %rbx, %rdi
callq 0x4300
movq %rax, %rdi
callq 0x5758
nop