// File: /workspace/github_cpp_makefile_star2_O3/statgen[P]statgen/lib/tclap-1.2.0/examples/test1.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");

	// Define a value argument and add it to the command line.
	ValueArg<string> nameArg("n","name","Name to print",true,"homer","string");
	cmd.add( nameArg );

	// Define a switch and add it to the command line.
	SwitchArg reverseSwitch("r","reverse","Print name backwards", false);
	cmd.add( reverseSwitch );

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

	// Get the value parsed by each arg. 
	string name = nameArg.getValue();
	bool reverseName = reverseSwitch.getValue();

	// Do what you intend too...
	if ( reverseName )
	{
		reverse(name.begin(),name.end());
		cout << "My name (spelled backwards) is: " << name << endl;
	}
	else
		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 %r13
pushq %r12
pushq %rbx
subq $0x328, %rsp            # imm = 0x328
movq %rsi, %r12
movl %edi, %r13d
leaq 0x148(%rsp), %rbx
movq %rbx, -0x10(%rbx)
leaq 0x7b2c(%rip), %rsi      # 0xb022
leaq 0x7b40(%rip), %rdx      # 0xb03d
leaq 0x138(%rsp), %rdi
callq 0x733c
leaq 0xa0(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x7b21(%rip), %rsi      # 0xb03e
leaq 0x7b1d(%rip), %rdx      # 0xb041
leaq 0x90(%rsp), %rdi
callq 0x733c
leaq 0x248(%rsp), %rdi
leaq 0x138(%rsp), %rsi
leaq 0x90(%rsp), %rcx
movl $0x20, %edx
movl $0x1, %r8d
callq 0x5516
movq 0x90(%rsp), %rdi
cmpq %r15, %rdi
je 0x3576
movq 0xa0(%rsp), %rsi
incq %rsi
callq 0x3190
movq 0x138(%rsp), %rdi
cmpq %rbx, %rdi
je 0x3593
movq 0x148(%rsp), %rsi
incq %rsi
callq 0x3190
leaq 0x90(%rsp), %rdi
movq %r15, (%rdi)
leaq 0x7c04(%rip), %rsi      # 0xb1a9
leaq 0x7bfe(%rip), %rdx      # 0xb1aa
callq 0x733c
leaq 0x20(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x7a81(%rip), %rsi      # 0xb042
leaq 0x7a7e(%rip), %rdx      # 0xb046
leaq 0x10(%rsp), %rdi
callq 0x733c
leaq 0x40(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x7a65(%rip), %rsi      # 0xb047
leaq 0x7a6b(%rip), %rdx      # 0xb054
leaq 0x30(%rsp), %rdi
callq 0x733c
leaq 0x80(%rsp), %rbp
movq %rbp, -0x10(%rbp)
leaq 0x7a4f(%rip), %rsi      # 0xb055
leaq 0x7a4d(%rip), %rdx      # 0xb05a
leaq 0x70(%rsp), %rdi
callq 0x733c
leaq 0x60(%rsp), %rbx
movq %rbx, -0x10(%rbx)
leaq 0x7a34(%rip), %rsi      # 0xb05b
leaq 0x7a33(%rip), %rdx      # 0xb061
leaq 0x50(%rsp), %r14
movq %r14, %rdi
callq 0x733c
leaq 0x138(%rsp), %rdi
leaq 0x90(%rsp), %rsi
leaq 0x10(%rsp), %rdx
leaq 0x30(%rsp), %rcx
leaq 0x70(%rsp), %r9
movl $0x1, %r8d
pushq $0x0
pushq %r14
callq 0x572e
addq $0x10, %rsp
movq 0x50(%rsp), %rdi
cmpq %rbx, %rdi
je 0x3684
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x3190
movq 0x70(%rsp), %rdi
cmpq %rbp, %rdi
je 0x369e
movq 0x80(%rsp), %rsi
incq %rsi
callq 0x3190
movq 0x30(%rsp), %rdi
cmpq %r15, %rdi
leaq 0x20(%rsp), %rbp
je 0x36ba
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x3190
movq 0x10(%rsp), %rdi
cmpq %rbp, %rdi
je 0x36d1
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x3190
movq 0x90(%rsp), %rdi
leaq 0xa0(%rsp), %rax
cmpq %rax, %rdi
je 0x36f6
movq 0xa0(%rsp), %rsi
incq %rsi
callq 0x3190
leaq 0x248(%rsp), %rdi
movq (%rdi), %rax
leaq 0x138(%rsp), %rsi
callq *0x18(%rax)
leaq 0x10(%rsp), %rdi
movq %rbp, (%rdi)
leaq 0x793e(%rip), %rsi      # 0xb059
leaq 0x7938(%rip), %rdx      # 0xb05a
callq 0x733c
leaq 0x30(%rsp), %rdi
movq %r15, (%rdi)
leaq 0x792c(%rip), %rsi      # 0xb062
leaq 0x792c(%rip), %rdx      # 0xb069
callq 0x733c
leaq 0x50(%rsp), %rdi
movq %rbx, (%rdi)
leaq 0x7919(%rip), %rsi      # 0xb06a
leaq 0x7926(%rip), %rdx      # 0xb07e
callq 0x733c
subq $0x8, %rsp
leaq 0x98(%rsp), %rdi
leaq 0x18(%rsp), %rsi
leaq 0x38(%rsp), %rdx
leaq 0x58(%rsp), %rcx
xorl %r8d, %r8d
xorl %r9d, %r9d
pushq $0x0
callq 0x842e
addq $0x10, %rsp
leaq 0xb2c0(%rip), %rax      # 0xea50
movq %rax, 0x90(%rsp)
movw $0x0, 0x133(%rsp)
movq 0x50(%rsp), %rdi
cmpq %rbx, %rdi
je 0x37b9
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x3190
movq 0x30(%rsp), %rdi
cmpq %r15, %rdi
je 0x37d0
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x3190
movq 0x10(%rsp), %rdi
cmpq %rbp, %rdi
je 0x37e7
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x3190
leaq 0x248(%rsp), %rdi
movq (%rdi), %rax
leaq 0x90(%rsp), %rsi
callq *0x18(%rax)
leaq 0x248(%rsp), %rdi
movl %r13d, %esi
movq %r12, %rdx
callq 0x583e
leaq 0x10(%rsp), %rdi
movq %rbp, (%rdi)
movq 0x1e0(%rsp), %rsi
movq 0x1e8(%rsp), %rdx
addq %rsi, %rdx
callq 0xa9a0
cmpb $0x1, 0x133(%rsp)
jne 0x38c9
movq 0x10(%rsp), %rax
movq 0x18(%rsp), %rcx
testq %rcx, %rcx
setne %dl
addq %rax, %rcx
decq %rcx
cmpq %rax, %rcx
seta %sil
andb %dl, %sil
cmpb $0x1, %sil
jne 0x3882
incq %rax
movb -0x1(%rax), %dl
movb (%rcx), %sil
movb %sil, -0x1(%rax)
movb %dl, (%rcx)
decq %rcx
leaq 0x1(%rax), %rdx
cmpq %rcx, %rax
movq %rdx, %rax
jb 0x3867
movq 0xb747(%rip), %rdi      # 0xefd0
leaq 0x77ef(%rip), %rsi      # 0xb07f
movl $0x20, %edx
callq 0x31d0
movq 0x10(%rsp), %rsi
movq 0x18(%rsp), %rdx
movq 0xb725(%rip), %rdi      # 0xefd0
callq 0x31d0
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x3170
jmp 0x390e
movq 0xb700(%rip), %rdi      # 0xefd0
leaq 0x77c9(%rip), %rsi      # 0xb0a0
movl $0xc, %edx
callq 0x31d0
movq 0x10(%rsp), %rsi
movq 0x18(%rsp), %rdx
movq 0xb6de(%rip), %rdi      # 0xefd0
callq 0x31d0
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x3170
movsbl %al, %esi
movq %rbx, %rdi
callq 0x3030
movq %rax, %rdi
callq 0x3110
movq 0x10(%rsp), %rdi
cmpq %rbp, %rdi
je 0x3938
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x3190
leaq 0xafb9(%rip), %rax      # 0xe8f8
leaq 0x110(%rsp), %rcx
movq %rax, -0x80(%rcx)
movq -0x10(%rcx), %rdi
cmpq %rcx, %rdi
je 0x3964
movq 0x110(%rsp), %rsi
incq %rsi
callq 0x3190
leaq 0xe8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x3985
movq 0xe8(%rsp), %rsi
incq %rsi
callq 0x3190
leaq 0xc8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x39a6
movq 0xc8(%rsp), %rsi
incq %rsi
callq 0x3190
leaq 0xa8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x39c7
movq 0xa8(%rsp), %rsi
incq %rsi
callq 0x3190
leaq 0x138(%rsp), %rdi
callq 0x591a
leaq 0x248(%rsp), %rdi
callq 0x53f8
xorl %eax, %eax
addq $0x328, %rsp            # imm = 0x328
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x3ba7
movq %rdx, %r14
movq %rax, 0x8(%rsp)
movq 0x50(%rsp), %rdi
cmpq %rbx, %rdi
je 0x3a23
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x3190
jmp 0x3a23
movq %rdx, %r14
movq %rax, 0x8(%rsp)
movq 0x30(%rsp), %rdi
cmpq %r15, %rdi
je 0x3a44
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x3190
jmp 0x3a44
movq %rdx, %r14
movq %rax, 0x8(%rsp)
movq 0x10(%rsp), %rdi
leaq 0x20(%rsp), %rax
cmpq %rax, %rdi
je 0x3bdd
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x3190
jmp 0x3bdd
jmp 0x3a6b
movq %rdx, %r14
movq %rax, 0x8(%rsp)
jmp 0x3bdd
movq %rdx, %r14
movq %rax, 0x8(%rsp)
movq 0x50(%rsp), %rdi
cmpq %rbx, %rdi
je 0x3aa1
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x3190
jmp 0x3aa1
movq %rdx, %r14
movq %rax, 0x8(%rsp)
movq 0x70(%rsp), %rdi
cmpq %rbp, %rdi
je 0x3ac5
movq 0x80(%rsp), %rsi
incq %rsi
callq 0x3190
jmp 0x3ac5
movq %rdx, %r14
movq %rax, 0x8(%rsp)
movq 0x30(%rsp), %rdi
cmpq %r15, %rdi
je 0x3ae6
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x3190
jmp 0x3ae6
movq %rdx, %r14
movq %rax, 0x8(%rsp)
movq 0x10(%rsp), %rdi
leaq 0x20(%rsp), %rax
cmpq %rax, %rdi
je 0x3b0c
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x3190
jmp 0x3b0c
movq %rdx, %r14
movq %rax, 0x8(%rsp)
movq 0x90(%rsp), %rdi
leaq 0xa0(%rsp), %rax
cmpq %rax, %rdi
je 0x3bea
movq 0xa0(%rsp), %rsi
incq %rsi
callq 0x3190
jmp 0x3bea
movq %rdx, %r14
movq %rax, 0x8(%rsp)
jmp 0x3bea
movq %rdx, %r14
movq %rax, 0x8(%rsp)
movq 0x90(%rsp), %rdi
cmpq %r15, %rdi
je 0x3b76
movq 0xa0(%rsp), %rsi
incq %rsi
callq 0x3190
jmp 0x3b76
movq %rdx, %r14
movq %rax, 0x8(%rsp)
movq 0x138(%rsp), %rdi
leaq 0x148(%rsp), %rax
cmpq %rax, %rdi
je 0x3bf7
movq 0x148(%rsp), %rsi
incq %rsi
callq 0x3190
jmp 0x3bf7
movq %rdx, %r14
movq %rax, 0x8(%rsp)
jmp 0x3bf7
movq %rdx, %r14
movq %rax, 0x8(%rsp)
jmp 0x3bd0
movq %rdx, %r14
movq %rax, 0x8(%rsp)
movq 0x10(%rsp), %rdi
cmpq %rbp, %rdi
je 0x3bd0
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x3190
leaq 0x90(%rsp), %rdi
callq 0x6b6a
leaq 0x138(%rsp), %rdi
callq 0x591a
leaq 0x248(%rsp), %rdi
callq 0x53f8
cmpl $0x1, %r14d
jne 0x3d5e
movq 0x8(%rsp), %rdi
callq 0x30a0
movq %rax, %rbx
movq 0xb3db(%rip), %rdi      # 0xeff0
leaq 0x7491(%rip), %rsi      # 0xb0ad
movl $0x7, %edx
callq 0x31d0
leaq 0x138(%rsp), %rdi
leaq 0x148(%rsp), %rax
movq %rax, (%rdi)
movq 0x8(%rbx), %rsi
movq 0x10(%rbx), %rdx
addq %rsi, %rdx
callq 0xa9a0
movq 0x138(%rsp), %rsi
movq 0x140(%rsp), %rdx
movq 0xb390(%rip), %rdi      # 0xeff0
callq 0x31d0
movq %rax, %r14
leaq 0x7446(%rip), %rsi      # 0xb0b5
movl $0x9, %edx
movq %rax, %rdi
callq 0x31d0
leaq 0x248(%rsp), %rdi
movq %rbx, %rsi
callq 0x59f2
movq 0x248(%rsp), %rsi
movq 0x250(%rsp), %rdx
movq %r14, %rdi
callq 0x31d0
movq %rax, %rdi
callq 0x30c0
leaq 0x258(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x3ccd
movq 0x258(%rsp), %rsi
incq %rsi
callq 0x3190
movq 0x138(%rsp), %rdi
leaq 0x148(%rsp), %rax
cmpq %rax, %rdi
je 0x3cf2
movq 0x148(%rsp), %rsi
incq %rsi
callq 0x3190
callq 0x3270
jmp 0x39e1
jmp 0x3d2f
jmp 0x3d00
movq %rax, 0x8(%rsp)
jmp 0x3d59
movq %rax, 0x8(%rsp)
leaq 0x258(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x3d34
movq 0x258(%rsp), %rsi
incq %rsi
callq 0x3190
jmp 0x3d34
movq %rax, 0x8(%rsp)
movq 0x138(%rsp), %rdi
leaq 0x148(%rsp), %rax
cmpq %rax, %rdi
je 0x3d59
movq 0x148(%rsp), %rsi
incq %rsi
callq 0x3190
callq 0x3270
movq 0x8(%rsp), %rdi
callq 0x32a0
movq %rax, %rdi
callq 0x53a0