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

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

	// set the output
	MyOutput my;
	//ZshCompletionOutput my;
	//DocBookOutput my;
	cmd.setOutput(&my);

	//
	// Define arguments
	//

	SwitchArg btest("B","sB", "exist Test B", false);
	SwitchArg atest("A","sA", "exist Test A", false);

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

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


	//
	// Set variables
	//
	_stringTest = stest.getValue();
	_boolTestB = btest.getValue();
	_boolTestA = atest.getValue();


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

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
subq $0x3f0, %rsp            # imm = 0x3F0
movq %rsi, %rbx
movl %edi, %ebp
leaq 0x683a(%rip), %rsi      # 0xb0f2
leaq 0xb0(%rsp), %rdi
leaq 0x2a0(%rsp), %rdx
callq 0x50f4
leaq 0x6830(%rip), %rsi      # 0xb104
leaq 0x348(%rsp), %rdi
leaq 0x8(%rsp), %rdx
callq 0x50f4
leaq 0x1c0(%rsp), %rdi
leaq 0xb0(%rsp), %rsi
pushq $0x20
popq %rdx
leaq 0x348(%rsp), %rcx
pushq $0x1
popq %r8
callq 0x679e
leaq 0x348(%rsp), %rdi
callq 0x4428
leaq 0xb0(%rsp), %rdi
callq 0x4428
leaq 0xc325(%rip), %rax      # 0x10c50
leaq 0xa8(%rsp), %rcx
movq %rax, (%rcx)
movb $0x1, 0x299(%rsp)
movq %rcx, 0x290(%rsp)
leaq 0x67ca(%rip), %rsi      # 0xb117
leaq 0xb0(%rsp), %rdi
leaq 0x28(%rsp), %rdx
callq 0x50f4
leaq 0x67a3(%rip), %rsi      # 0xb109
leaq 0x2a0(%rsp), %rdi
leaq 0x48(%rsp), %rdx
callq 0x50f4
leaq 0x678d(%rip), %rsi      # 0xb10c
leaq 0x8(%rsp), %rdi
leaq 0x68(%rsp), %rdx
callq 0x50f4
leaq 0x348(%rsp), %rdi
leaq 0xb0(%rsp), %rsi
leaq 0x2a0(%rsp), %rdx
leaq 0x8(%rsp), %rcx
xorl %r8d, %r8d
xorl %r9d, %r9d
callq 0x691c
leaq 0x8(%rsp), %rdi
callq 0x4428
leaq 0x2a0(%rsp), %rdi
callq 0x4428
leaq 0xb0(%rsp), %rdi
callq 0x4428
leaq 0x6746(%rip), %rsi      # 0xb127
leaq 0xb0(%rsp), %rdi
leaq 0x48(%rsp), %rdx
callq 0x50f4
leaq 0x671f(%rip), %rsi      # 0xb119
leaq 0x8(%rsp), %rdi
leaq 0x68(%rsp), %rdx
callq 0x50f4
leaq 0x670c(%rip), %rsi      # 0xb11c
leaq 0x28(%rsp), %rdi
leaq 0x3(%rsp), %rdx
callq 0x50f4
leaq 0x2a0(%rsp), %rdi
leaq 0xb0(%rsp), %rsi
leaq 0x8(%rsp), %rdx
leaq 0x28(%rsp), %rcx
xorl %r8d, %r8d
xorl %r9d, %r9d
callq 0x691c
leaq 0x28(%rsp), %rdi
callq 0x4428
leaq 0x8(%rsp), %rdi
callq 0x4428
leaq 0xb0(%rsp), %rdi
callq 0x4428
leaq 0x66be(%rip), %rsi      # 0xb12a
leaq 0x8(%rsp), %rdi
leaq 0x3(%rsp), %rdx
callq 0x50f4
leaq 0x66a7(%rip), %rsi      # 0xb129
leaq 0x28(%rsp), %rdi
leaq 0x7(%rsp), %rdx
callq 0x50f4
leaq 0x6694(%rip), %rsi      # 0xb12c
leaq 0x48(%rsp), %rdi
leaq 0x6(%rsp), %rdx
callq 0x50f4
leaq 0x668a(%rip), %rsi      # 0xb138
leaq 0x88(%rsp), %rdi
leaq 0x5(%rsp), %rdx
callq 0x50f4
leaq 0x6677(%rip), %rsi      # 0xb13e
leaq 0x68(%rsp), %r14
leaq 0x4(%rsp), %rdx
movq %r14, %rdi
callq 0x50f4
leaq 0xb0(%rsp), %rdi
leaq 0x8(%rsp), %rsi
leaq 0x28(%rsp), %rdx
leaq 0x48(%rsp), %rcx
pushq $0x1
popq %r8
leaq 0x88(%rsp), %r9
pushq $0x0
pushq %r14
callq 0x6956
popq %rax
popq %rcx
leaq 0x68(%rsp), %rdi
callq 0x4428
leaq 0x88(%rsp), %rdi
callq 0x4428
leaq 0x48(%rsp), %rdi
callq 0x4428
leaq 0x28(%rsp), %rdi
callq 0x4428
leaq 0x8(%rsp), %rdi
callq 0x4428
leaq 0x1c0(%rsp), %rdi
movq (%rdi), %rax
leaq 0xb0(%rsp), %rsi
callq *0x18(%rax)
leaq 0x1c0(%rsp), %rdi
movq (%rdi), %rax
leaq 0x348(%rsp), %rsi
callq *0x18(%rax)
leaq 0x1c0(%rsp), %rdi
movq (%rdi), %rax
leaq 0x2a0(%rsp), %rsi
callq *0x18(%rax)
leaq 0x1c0(%rsp), %rdi
movl %ebp, %esi
movq %rbx, %rdx
callq 0x6a00
leaq 0x158(%rsp), %rsi
leaq 0xc6b9(%rip), %rdi      # 0x11258
callq 0x4130
leaq 0x348(%rsp), %rbx
movb 0xa3(%rbx), %al
movb %al, 0xc699(%rip)       # 0x11251
leaq 0x2a0(%rsp), %r14
movb 0xa3(%r14), %al
movb %al, 0xc685(%rip)       # 0x11252
leaq 0xb0(%rsp), %rdi
callq 0x6ab8
movq %r14, %rdi
callq 0x7396
movq %rbx, %rdi
callq 0x7396
leaq 0x1c0(%rsp), %rdi
callq 0x5a74
addq $0x3f0, %rsp            # imm = 0x3F0
popq %rbx
popq %r14
popq %rbp
retq
movq %rdx, %r14
movq %rax, %rbx
leaq 0x68(%rsp), %rdi
callq 0x4428
jmp 0x4c1b
movq %rdx, %r14
movq %rax, %rbx
leaq 0x88(%rsp), %rdi
callq 0x4428
jmp 0x4c30
movq %rdx, %r14
movq %rax, %rbx
leaq 0x48(%rsp), %rdi
callq 0x4428
jmp 0x4c42
movq %rdx, %r14
movq %rax, %rbx
leaq 0x28(%rsp), %rdi
callq 0x4428
jmp 0x4c54
movq %rdx, %r14
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0x4428
jmp 0x4d3e
movq %rdx, %r14
movq %rax, %rbx
jmp 0x4d3e
movq %rdx, %r14
movq %rax, %rbx
leaq 0x28(%rsp), %rdi
callq 0x4428
jmp 0x4c86
movq %rdx, %r14
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0x4428
jmp 0x4c98
movq %rdx, %r14
movq %rax, %rbx
leaq 0xb0(%rsp), %rdi
callq 0x4428
jmp 0x4d4b
movq %rdx, %r14
movq %rax, %rbx
jmp 0x4d4b
movq %rdx, %r14
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0x4428
jmp 0x4ccd
movq %rdx, %r14
movq %rax, %rbx
leaq 0x2a0(%rsp), %rdi
callq 0x4428
jmp 0x4ce2
movq %rdx, %r14
movq %rax, %rbx
leaq 0xb0(%rsp), %rdi
callq 0x4428
jmp 0x4d58
movq %rdx, %r14
movq %rax, %rbx
jmp 0x4d58
movq %rdx, %r14
movq %rax, %rbx
leaq 0x348(%rsp), %rdi
callq 0x4428
jmp 0x4d14
movq %rdx, %r14
movq %rax, %rbx
leaq 0xb0(%rsp), %rdi
callq 0x4428
jmp 0x4d65
movq %rdx, %r14
movq %rax, %rbx
jmp 0x4d65
movq %rdx, %r14
movq %rax, %rbx
leaq 0xb0(%rsp), %rdi
callq 0x6ab8
leaq 0x2a0(%rsp), %rdi
callq 0x7396
leaq 0x348(%rsp), %rdi
callq 0x7396
leaq 0x1c0(%rsp), %rdi
callq 0x5a74
cmpl $0x1, %r14d
jne 0x4e3f
movq %rbx, %rdi
callq 0x40d0
movq %rax, %rbx
movq 0xc24f(%rip), %rdi      # 0x10fd0
leaq 0x67ec(%rip), %rsi      # 0xb574
callq 0x41c0
movq %rax, %r14
leaq 0x8(%rbx), %rsi
leaq 0xb0(%rsp), %rdi
callq 0x42a0
leaq 0xb0(%rsp), %rsi
movq %r14, %rdi
callq 0x41b0
leaq 0x67d0(%rip), %rsi      # 0xb588
movq %rax, %rdi
callq 0x41c0
movq %rax, %r14
leaq 0x1c0(%rsp), %rdi
movq %rbx, %rsi
callq 0x6af4
leaq 0x1c0(%rsp), %rsi
movq %r14, %rdi
callq 0x41b0
movq %rax, %rdi
callq 0x4100
leaq 0x1c0(%rsp), %rdi
callq 0x4428
leaq 0xb0(%rsp), %rdi
callq 0x4428
callq 0x4330
jmp 0x4bf7
jmp 0x4e2a
jmp 0x4e13
movq %rax, %rbx
jmp 0x4e3a
movq %rax, %rbx
leaq 0x1c0(%rsp), %rdi
callq 0x4428
jmp 0x4e2d
movq %rax, %rbx
leaq 0xb0(%rsp), %rdi
callq 0x4428
callq 0x4330
movq %rbx, %rdi
callq 0x4370
movq %rax, %rdi
callq 0x5a1e
nop