// File: /workspace/github_cpp_makefile_star2_O2/statgen[P]statgen/lib/tclap-1.2.0/examples/test2.cpp
// Function: parseOptions(int, char**)
void parseOptions(int argc, char** argv)
{
	try {

	CmdLine cmd("this is a message", ' ', "0.99" );

	//
	// Define arguments
	//

	SwitchArg btest("B","existTestB", "tests for the existence of B", false);
	cmd.add( btest );

	SwitchArg ctest("C","existTestC", "tests for the existence of C", false);
	cmd.add( ctest );

	SwitchArg atest("A","existTestA", "tests for the existence of A", false);
	cmd.add( atest );

	ValueArg<string> stest("s","stringTest","string test",true,"homer",
					       "string");
	cmd.add( stest );

	ValueArg<int> itest("i", "intTest", "integer test", true, 5, "int");
	cmd.add( itest );

	ValueArg<double> ftest("f", "floatTest", "float test", false, 3.7, "float");
	cmd.add( ftest );

	UnlabeledValueArg<string> utest("unTest","unlabeld test", true,
					                "default","string");
	cmd.add( utest );

	UnlabeledMultiArg<string> mtest("fileName", "file names", false, "string");
	cmd.add( mtest );

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

	//
	// Set variables
	//
	_intTest = itest.getValue();
	_floatTest = ftest.getValue();
	_stringTest = stest.getValue();
	_boolTestB = btest.getValue();
	_boolTestC = ctest.getValue();
	_boolTestA = atest.getValue();
	_utest = utest.getValue();

	vector<string> v = mtest.getValue();
	for ( int i = 0; static_cast<unsigned int>(i) < v.size(); i++ )
		cout << i << "  " <<  v[i] << endl;

	} catch ( ArgException& e )
	{ cout << "ERROR: " << e.error() << " " << e.argId() << endl; }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x860, %rsp            # imm = 0x860
movq %rsi, %rbx
movl %edi, %ebp
leaq 0x7a70(%rip), %rsi      # 0xc0bf
leaq 0x2c0(%rsp), %rdi
leaq 0x80(%rsp), %rdx
callq 0x55cc
leaq 0x7a66(%rip), %rsi      # 0xc0d1
leaq 0x170(%rsp), %rdi
leaq 0x3d0(%rsp), %rdx
callq 0x55cc
leaq 0x4b0(%rsp), %rdi
leaq 0x2c0(%rsp), %rsi
pushq $0x20
popq %rdx
leaq 0x170(%rsp), %rcx
pushq $0x1
popq %r8
callq 0x5ff0
leaq 0x170(%rsp), %rdi
callq 0x4388
leaq 0x2c0(%rsp), %rdi
callq 0x4388
leaq 0x7a37(%rip), %rsi      # 0xc0fc
leaq 0x2c0(%rsp), %rdi
leaq 0x3d0(%rsp), %rdx
callq 0x55cc
leaq 0x79f5(%rip), %rsi      # 0xc0d6
leaq 0x170(%rsp), %rdi
leaq 0x590(%rsp), %rdx
callq 0x55cc
leaq 0x79e4(%rip), %rsi      # 0xc0e1
leaq 0x80(%rsp), %rdi
leaq 0x710(%rsp), %rdx
callq 0x55cc
leaq 0x7b8(%rsp), %rdi
leaq 0x2c0(%rsp), %rsi
leaq 0x170(%rsp), %rdx
leaq 0x80(%rsp), %rcx
xorl %r8d, %r8d
xorl %r9d, %r9d
callq 0x615e
leaq 0x80(%rsp), %rdi
callq 0x4388
leaq 0x170(%rsp), %rdi
callq 0x4388
leaq 0x2c0(%rsp), %rdi
callq 0x4388
leaq 0x4b0(%rsp), %rdi
movq (%rdi), %rax
leaq 0x7b8(%rsp), %rsi
callq *0x18(%rax)
leaq 0x79a3(%rip), %rsi      # 0xc124
leaq 0x2c0(%rsp), %rdi
leaq 0x3d0(%rsp), %rdx
callq 0x55cc
leaq 0x7961(%rip), %rsi      # 0xc0fe
leaq 0x170(%rsp), %rdi
leaq 0x590(%rsp), %rdx
callq 0x55cc
leaq 0x7950(%rip), %rsi      # 0xc109
leaq 0x80(%rsp), %rdi
leaq 0x668(%rsp), %rdx
callq 0x55cc
leaq 0x710(%rsp), %rdi
leaq 0x2c0(%rsp), %rsi
leaq 0x170(%rsp), %rdx
leaq 0x80(%rsp), %rcx
xorl %r8d, %r8d
xorl %r9d, %r9d
callq 0x615e
leaq 0x80(%rsp), %rdi
callq 0x4388
leaq 0x170(%rsp), %rdi
callq 0x4388
leaq 0x2c0(%rsp), %rdi
callq 0x4388
leaq 0x4b0(%rsp), %rdi
movq (%rdi), %rax
leaq 0x710(%rsp), %rsi
callq *0x18(%rax)
leaq 0x790f(%rip), %rsi      # 0xc14c
leaq 0x2c0(%rsp), %rdi
leaq 0x3d0(%rsp), %rdx
callq 0x55cc
leaq 0x78cd(%rip), %rsi      # 0xc126
leaq 0x170(%rsp), %rdi
leaq 0x590(%rsp), %rdx
callq 0x55cc
leaq 0x78bc(%rip), %rsi      # 0xc131
leaq 0x80(%rsp), %rdi
leaq 0x20(%rsp), %rdx
callq 0x55cc
leaq 0x668(%rsp), %rdi
leaq 0x2c0(%rsp), %rsi
leaq 0x170(%rsp), %rdx
leaq 0x80(%rsp), %rcx
xorl %r8d, %r8d
xorl %r9d, %r9d
callq 0x615e
leaq 0x80(%rsp), %rdi
callq 0x4388
leaq 0x170(%rsp), %rdi
callq 0x4388
leaq 0x2c0(%rsp), %rdi
callq 0x4388
leaq 0x4b0(%rsp), %rdi
movq (%rdi), %rax
leaq 0x668(%rsp), %rsi
callq *0x18(%rax)
leaq 0x78e3(%rip), %rsi      # 0xc1d9
leaq 0x170(%rsp), %rdi
leaq 0x20(%rsp), %rdx
callq 0x55cc
leaq 0x783f(%rip), %rsi      # 0xc14e
leaq 0x80(%rsp), %rdi
leaq 0x40(%rsp), %rdx
callq 0x55cc
leaq 0x7831(%rip), %rsi      # 0xc159
leaq 0x3d0(%rsp), %rdi
leaq 0x60(%rsp), %rdx
callq 0x55cc
leaq 0x7824(%rip), %rsi      # 0xc165
leaq 0x2a0(%rsp), %rdi
leaq 0x1e(%rsp), %rdx
callq 0x55cc
leaq 0x7811(%rip), %rsi      # 0xc16b
leaq 0x590(%rsp), %r14
leaq 0x1d(%rsp), %rdx
movq %r14, %rdi
callq 0x55cc
movq %r14, (%rsp)
andq $0x0, 0x8(%rsp)
leaq 0x2c0(%rsp), %rdi
leaq 0x170(%rsp), %rsi
leaq 0x80(%rsp), %rdx
leaq 0x3d0(%rsp), %rcx
pushq $0x1
popq %r8
leaq 0x2a0(%rsp), %r9
callq 0x61a2
leaq 0x590(%rsp), %rdi
callq 0x4388
leaq 0x2a0(%rsp), %rdi
callq 0x4388
leaq 0x3d0(%rsp), %rdi
callq 0x4388
leaq 0x80(%rsp), %rdi
callq 0x4388
leaq 0x170(%rsp), %rdi
callq 0x4388
leaq 0x4b0(%rsp), %rdi
movq (%rdi), %rax
leaq 0x2c0(%rsp), %rsi
callq *0x18(%rax)
leaq 0x776a(%rip), %rsi      # 0xc172
leaq 0x170(%rsp), %rdi
leaq 0x40(%rsp), %rdx
callq 0x55cc
leaq 0x7753(%rip), %rsi      # 0xc174
leaq 0x80(%rsp), %rdi
leaq 0x60(%rsp), %rdx
callq 0x55cc
leaq 0x7742(%rip), %rsi      # 0xc17c
leaq 0x3d0(%rsp), %rdi
leaq 0x1e(%rsp), %rdx
callq 0x55cc
leaq 0x7736(%rip), %rsi      # 0xc189
leaq 0x20(%rsp), %r14
leaq 0x1d(%rsp), %rdx
movq %r14, %rdi
callq 0x55cc
movq %r14, (%rsp)
andq $0x0, 0x8(%rsp)
leaq 0x590(%rsp), %rdi
leaq 0x170(%rsp), %rsi
leaq 0x80(%rsp), %rdx
leaq 0x3d0(%rsp), %rcx
pushq $0x1
popq %r8
pushq $0x5
popq %r9
callq 0x6242
leaq 0x20(%rsp), %rdi
callq 0x4388
leaq 0x3d0(%rsp), %rdi
callq 0x4388
leaq 0x80(%rsp), %rdi
callq 0x4388
leaq 0x170(%rsp), %rdi
callq 0x4388
leaq 0x4b0(%rsp), %rdi
movq (%rdi), %rax
leaq 0x590(%rsp), %rsi
callq *0x18(%rax)
leaq 0x76a3(%rip), %rsi      # 0xc18d
leaq 0x170(%rsp), %rdi
leaq 0x60(%rsp), %rdx
callq 0x55cc
leaq 0x768c(%rip), %rsi      # 0xc18f
leaq 0x80(%rsp), %rdi
leaq 0x1e(%rsp), %rdx
callq 0x55cc
leaq 0x767d(%rip), %rsi      # 0xc199
leaq 0x20(%rsp), %rdi
leaq 0x1d(%rsp), %rdx
callq 0x55cc
leaq 0x7672(%rip), %rsi      # 0xc1a4
leaq 0x40(%rsp), %rdi
leaq 0x1f(%rsp), %rdx
callq 0x55cc
andq $0x0, (%rsp)
leaq 0x3d0(%rsp), %rdi
leaq 0x170(%rsp), %rsi
leaq 0x80(%rsp), %rdx
leaq 0x20(%rsp), %rcx
movsd 0x749d(%rip), %xmm0     # 0xc008
leaq 0x40(%rsp), %r9
xorl %r8d, %r8d
callq 0x62b0
leaq 0x40(%rsp), %rdi
callq 0x4388
leaq 0x20(%rsp), %rdi
callq 0x4388
leaq 0x80(%rsp), %rdi
callq 0x4388
leaq 0x170(%rsp), %rdi
callq 0x4388
leaq 0x4b0(%rsp), %rdi
movq (%rdi), %rax
leaq 0x3d0(%rsp), %rsi
callq *0x18(%rax)
leaq 0x75e7(%rip), %rsi      # 0xc1aa
leaq 0x80(%rsp), %rdi
leaq 0x60(%rsp), %rdx
callq 0x55cc
leaq 0x75d5(%rip), %rsi      # 0xc1b1
leaq 0x20(%rsp), %rdi
leaq 0x1e(%rsp), %rdx
callq 0x55cc
leaq 0x75cd(%rip), %rsi      # 0xc1bf
leaq 0x280(%rsp), %rdi
leaq 0x1d(%rsp), %rdx
callq 0x55cc
leaq 0x7560(%rip), %rsi      # 0xc16b
leaq 0x40(%rsp), %rdi
leaq 0x1f(%rsp), %rdx
callq 0x55cc
andq $0x0, 0x8(%rsp)
andl $0x0, (%rsp)
leaq 0x170(%rsp), %rdi
leaq 0x80(%rsp), %rsi
leaq 0x20(%rsp), %rdx
pushq $0x1
popq %rcx
leaq 0x280(%rsp), %r8
leaq 0x40(%rsp), %r9
callq 0x6328
leaq 0x40(%rsp), %rdi
callq 0x4388
leaq 0x280(%rsp), %rdi
callq 0x4388
leaq 0x20(%rsp), %rdi
callq 0x4388
leaq 0x80(%rsp), %rdi
callq 0x4388
leaq 0x4b0(%rsp), %rdi
movq (%rdi), %rax
leaq 0x170(%rsp), %rsi
callq *0x18(%rax)
leaq 0x752e(%rip), %rsi      # 0xc1c7
leaq 0x20(%rsp), %rdi
leaq 0x1e(%rsp), %rdx
callq 0x55cc
leaq 0x7521(%rip), %rsi      # 0xc1d0
leaq 0x40(%rsp), %rdi
leaq 0x1d(%rsp), %rdx
callq 0x55cc
leaq 0x74a6(%rip), %rsi      # 0xc16b
leaq 0x60(%rsp), %rdi
leaq 0x1f(%rsp), %rdx
callq 0x55cc
andq $0x0, (%rsp)
leaq 0x80(%rsp), %rdi
leaq 0x20(%rsp), %rsi
leaq 0x40(%rsp), %rdx
leaq 0x60(%rsp), %r8
xorl %ecx, %ecx
xorl %r9d, %r9d
callq 0x6438
leaq 0x60(%rsp), %rdi
callq 0x4388
leaq 0x40(%rsp), %rdi
callq 0x4388
leaq 0x20(%rsp), %rdi
callq 0x4388
leaq 0x4b0(%rsp), %rdi
movq (%rdi), %rax
leaq 0x80(%rsp), %rsi
callq *0x18(%rax)
leaq 0x4b0(%rsp), %rdi
movl %ebp, %esi
movq %rbx, %rdx
callq 0x6516
cvtsd2ss 0x478(%rsp), %xmm0
movl 0x634(%rsp), %eax
movl %eax, 0xd4ae(%rip)      # 0x12204
movss %xmm0, 0xd4aa(%rip)     # 0x12208
leaq 0x368(%rsp), %rsi
leaq 0xd4a3(%rip), %rdi      # 0x12210
callq 0x4110
movb 0x85b(%rsp), %al
movb %al, 0xd48e(%rip)       # 0x1220d
movb 0x7b3(%rsp), %al
movb %al, 0xd482(%rip)       # 0x1220e
movb 0x70b(%rsp), %al
movb %al, 0xd473(%rip)       # 0x1220c
leaq 0x218(%rsp), %rsi
leaq 0xd488(%rip), %rdi      # 0x12230
callq 0x4110
leaq 0x128(%rsp), %rsi
leaq 0x20(%rsp), %rdi
callq 0x65ce
xorl %r12d, %r12d
movq 0xd207(%rip), %rbx      # 0x11fd0
leaq 0x782e(%rip), %r14      # 0xc5fe
xorl %r15d, %r15d
movq 0x28(%rsp), %rax
subq 0x20(%rsp), %rax
sarq $0x5, %rax
cmpq %r15, %rax
jbe 0x4e1d
movq %rbx, %rdi
movl %r15d, %esi
callq 0x42f0
movq %rax, %rdi
movq %r14, %rsi
callq 0x41c0
movq 0x20(%rsp), %rsi
addq %r12, %rsi
movq %rax, %rdi
callq 0x41b0
movq %rax, %rdi
callq 0x40e0
incq %r15
addq $0x20, %r12
jmp 0x4dd3
leaq 0x20(%rsp), %rdi
callq 0x6622
leaq 0x80(%rsp), %rdi
callq 0x93c4
leaq 0x170(%rsp), %rdi
callq 0x668c
leaq 0x3d0(%rsp), %rdi
callq 0x6644
leaq 0x590(%rsp), %rdi
callq 0x6668
leaq 0x2c0(%rsp), %rdi
callq 0x668c
leaq 0x668(%rsp), %rdi
callq 0x6f6a
leaq 0x710(%rsp), %rdi
callq 0x6f6a
leaq 0x7b8(%rsp), %rdi
callq 0x6f6a
leaq 0x4b0(%rsp), %rdi
callq 0x5f4c
addq $0x860, %rsp            # imm = 0x860
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
jmp 0x51b0
movq %rdx, %r14
movq %rax, %rbx
leaq 0x60(%rsp), %rdi
callq 0x4388
jmp 0x4ec9
movq %rdx, %r14
movq %rax, %rbx
leaq 0x40(%rsp), %rdi
callq 0x4388
jmp 0x4edb
movq %rdx, %r14
movq %rax, %rbx
leaq 0x20(%rsp), %rdi
callq 0x4388
jmp 0x51d5
jmp 0x4eec
movq %rdx, %r14
movq %rax, %rbx
jmp 0x51d5
movq %rdx, %r14
movq %rax, %rbx
leaq 0x40(%rsp), %rdi
callq 0x4388
jmp 0x4f0f
movq %rdx, %r14
movq %rax, %rbx
leaq 0x280(%rsp), %rdi
callq 0x4388
jmp 0x4f24
movq %rdx, %r14
movq %rax, %rbx
leaq 0x20(%rsp), %rdi
callq 0x4388
jmp 0x4f36
movq %rdx, %r14
movq %rax, %rbx
leaq 0x80(%rsp), %rdi
callq 0x4388
jmp 0x51e2
jmp 0x4f4a
movq %rdx, %r14
movq %rax, %rbx
jmp 0x51e2
movq %rdx, %r14
movq %rax, %rbx
leaq 0x40(%rsp), %rdi
callq 0x4388
jmp 0x4f6d
movq %rdx, %r14
movq %rax, %rbx
leaq 0x20(%rsp), %rdi
callq 0x4388
jmp 0x4f7f
movq %rdx, %r14
movq %rax, %rbx
leaq 0x80(%rsp), %rdi
callq 0x4388
jmp 0x4f94
movq %rdx, %r14
movq %rax, %rbx
leaq 0x170(%rsp), %rdi
callq 0x4388
jmp 0x51ef
jmp 0x4fa8
movq %rdx, %r14
movq %rax, %rbx
jmp 0x51ef
movq %rdx, %r14
movq %rax, %rbx
leaq 0x20(%rsp), %rdi
callq 0x4388
jmp 0x4fcb
movq %rdx, %r14
movq %rax, %rbx
leaq 0x3d0(%rsp), %rdi
callq 0x4388
jmp 0x4fe0
movq %rdx, %r14
movq %rax, %rbx
leaq 0x80(%rsp), %rdi
callq 0x4388
jmp 0x4ff5
movq %rdx, %r14
movq %rax, %rbx
leaq 0x170(%rsp), %rdi
callq 0x4388
jmp 0x51fc
jmp 0x5009
movq %rdx, %r14
movq %rax, %rbx
jmp 0x51fc
movq %rdx, %r14
movq %rax, %rbx
leaq 0x590(%rsp), %rdi
callq 0x4388
jmp 0x502f
movq %rdx, %r14
movq %rax, %rbx
leaq 0x2a0(%rsp), %rdi
callq 0x4388
jmp 0x5044
movq %rdx, %r14
movq %rax, %rbx
leaq 0x3d0(%rsp), %rdi
callq 0x4388
jmp 0x5059
movq %rdx, %r14
movq %rax, %rbx
leaq 0x80(%rsp), %rdi
callq 0x4388
jmp 0x506e
movq %rdx, %r14
movq %rax, %rbx
leaq 0x170(%rsp), %rdi
callq 0x4388
jmp 0x5209
jmp 0x5082
movq %rdx, %r14
movq %rax, %rbx
jmp 0x5209
movq %rdx, %r14
movq %rax, %rbx
leaq 0x80(%rsp), %rdi
callq 0x4388
jmp 0x50a8
movq %rdx, %r14
movq %rax, %rbx
leaq 0x170(%rsp), %rdi
callq 0x4388
jmp 0x50bd
movq %rdx, %r14
movq %rax, %rbx
leaq 0x2c0(%rsp), %rdi
callq 0x4388
jmp 0x5216
jmp 0x50d1
movq %rdx, %r14
movq %rax, %rbx
jmp 0x5216
movq %rdx, %r14
movq %rax, %rbx
leaq 0x80(%rsp), %rdi
callq 0x4388
jmp 0x50f7
movq %rdx, %r14
movq %rax, %rbx
leaq 0x170(%rsp), %rdi
callq 0x4388
jmp 0x510c
movq %rdx, %r14
movq %rax, %rbx
leaq 0x2c0(%rsp), %rdi
callq 0x4388
jmp 0x5223
jmp 0x5120
movq %rdx, %r14
movq %rax, %rbx
jmp 0x5223
movq %rdx, %r14
movq %rax, %rbx
leaq 0x80(%rsp), %rdi
callq 0x4388
jmp 0x5146
movq %rdx, %r14
movq %rax, %rbx
leaq 0x170(%rsp), %rdi
callq 0x4388
jmp 0x515b
movq %rdx, %r14
movq %rax, %rbx
leaq 0x2c0(%rsp), %rdi
callq 0x4388
jmp 0x5230
movq %rdx, %r14
movq %rax, %rbx
jmp 0x5230
movq %rdx, %r14
movq %rax, %rbx
leaq 0x170(%rsp), %rdi
callq 0x4388
jmp 0x5193
movq %rdx, %r14
movq %rax, %rbx
leaq 0x2c0(%rsp), %rdi
callq 0x4388
jmp 0x523d
movq %rdx, %r14
movq %rax, %rbx
jmp 0x523d
movq %rdx, %r14
movq %rax, %rbx
jmp 0x51c8
movq %rdx, %r14
movq %rax, %rbx
leaq 0x20(%rsp), %rdi
callq 0x6622
leaq 0x80(%rsp), %rdi
callq 0x93c4
leaq 0x170(%rsp), %rdi
callq 0x668c
leaq 0x3d0(%rsp), %rdi
callq 0x6644
leaq 0x590(%rsp), %rdi
callq 0x6668
leaq 0x2c0(%rsp), %rdi
callq 0x668c
leaq 0x668(%rsp), %rdi
callq 0x6f6a
leaq 0x710(%rsp), %rdi
callq 0x6f6a
leaq 0x7b8(%rsp), %rdi
callq 0x6f6a
leaq 0x4b0(%rsp), %rdi
callq 0x5f4c
cmpl $0x1, %r14d
jne 0x5317
movq %rbx, %rdi
callq 0x40a0
movq %rax, %rbx
movq 0xcd77(%rip), %rdi      # 0x11fd0
leaq 0x738b(%rip), %rsi      # 0xc5eb
callq 0x41c0
movq %rax, %r14
leaq 0x8(%rbx), %rsi
leaq 0x2c0(%rsp), %rdi
callq 0x4250
leaq 0x2c0(%rsp), %rsi
movq %r14, %rdi
callq 0x41b0
leaq 0x736f(%rip), %rsi      # 0xc5ff
movq %rax, %rdi
callq 0x41c0
movq %rax, %r14
leaq 0x170(%rsp), %rdi
movq %rbx, %rsi
callq 0x66c8
leaq 0x170(%rsp), %rsi
movq %r14, %rdi
callq 0x41b0
movq %rax, %rdi
callq 0x40e0
leaq 0x170(%rsp), %rdi
callq 0x4388
leaq 0x2c0(%rsp), %rdi
callq 0x4388
callq 0x42b0
jmp 0x4e9c
jmp 0x5302
jmp 0x52eb
movq %rax, %rbx
jmp 0x5312
movq %rax, %rbx
leaq 0x170(%rsp), %rdi
callq 0x4388
jmp 0x5305
movq %rax, %rbx
leaq 0x2c0(%rsp), %rdi
callq 0x4388
callq 0x42b0
movq %rbx, %rdi
callq 0x4300
movq %rax, %rdi
callq 0x5ef6
nop