// File: /workspace/github_cpp_makefile_star2_O1/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 0x7b4c(%rip), %rsi      # 0xb022
leaq 0x7b60(%rip), %rdx      # 0xb03d
leaq 0x138(%rsp), %rdi
callq 0x7422
leaq 0xa0(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x7b41(%rip), %rsi      # 0xb03e
leaq 0x7b3d(%rip), %rdx      # 0xb041
leaq 0x90(%rsp), %rdi
callq 0x7422
leaq 0x248(%rsp), %rdi
leaq 0x138(%rsp), %rsi
leaq 0x90(%rsp), %rcx
movl $0x20, %edx
movl $0x1, %r8d
callq 0x55fe
movq 0x90(%rsp), %rdi
cmpq %r15, %rdi
je 0x3556
movq 0xa0(%rsp), %rsi
incq %rsi
callq 0x3190
movq 0x138(%rsp), %rdi
cmpq %rbx, %rdi
je 0x3573
movq 0x148(%rsp), %rsi
incq %rsi
callq 0x3190
leaq 0x90(%rsp), %rdi
movq %r15, (%rdi)
leaq 0x7c24(%rip), %rsi      # 0xb1a9
leaq 0x7c1e(%rip), %rdx      # 0xb1aa
callq 0x7422
leaq 0x20(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x7aa1(%rip), %rsi      # 0xb042
leaq 0x7a9e(%rip), %rdx      # 0xb046
leaq 0x10(%rsp), %rdi
callq 0x7422
leaq 0x40(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x7a85(%rip), %rsi      # 0xb047
leaq 0x7a8b(%rip), %rdx      # 0xb054
leaq 0x30(%rsp), %rdi
callq 0x7422
leaq 0x80(%rsp), %rbp
movq %rbp, -0x10(%rbp)
leaq 0x7a6f(%rip), %rsi      # 0xb055
leaq 0x7a6d(%rip), %rdx      # 0xb05a
leaq 0x70(%rsp), %rdi
callq 0x7422
leaq 0x60(%rsp), %rbx
movq %rbx, -0x10(%rbx)
leaq 0x7a54(%rip), %rsi      # 0xb05b
leaq 0x7a53(%rip), %rdx      # 0xb061
leaq 0x50(%rsp), %r14
movq %r14, %rdi
callq 0x7422
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 0x5816
addq $0x10, %rsp
movq 0x50(%rsp), %rdi
cmpq %rbx, %rdi
je 0x3664
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x3190
movq 0x70(%rsp), %rdi
cmpq %rbp, %rdi
je 0x367e
movq 0x80(%rsp), %rsi
incq %rsi
callq 0x3190
movq 0x30(%rsp), %rdi
cmpq %r15, %rdi
leaq 0x20(%rsp), %rbp
je 0x369a
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x3190
movq 0x10(%rsp), %rdi
cmpq %rbp, %rdi
je 0x36b1
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x3190
movq 0x90(%rsp), %rdi
leaq 0xa0(%rsp), %rax
cmpq %rax, %rdi
je 0x36d6
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 0x795e(%rip), %rsi      # 0xb059
leaq 0x7958(%rip), %rdx      # 0xb05a
callq 0x7422
leaq 0x30(%rsp), %rdi
movq %r15, (%rdi)
leaq 0x794c(%rip), %rsi      # 0xb062
leaq 0x794c(%rip), %rdx      # 0xb069
callq 0x7422
leaq 0x50(%rsp), %rdi
movq %rbx, (%rdi)
leaq 0x7939(%rip), %rsi      # 0xb06a
leaq 0x7946(%rip), %rdx      # 0xb07e
callq 0x7422
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 0x8508
addq $0x10, %rsp
leaq 0xb2e0(%rip), %rax      # 0xea50
movq %rax, 0x90(%rsp)
movw $0x0, 0x133(%rsp)
movq 0x50(%rsp), %rdi
cmpq %rbx, %rdi
je 0x3799
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x3190
movq 0x30(%rsp), %rdi
cmpq %r15, %rdi
je 0x37b0
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x3190
movq 0x10(%rsp), %rdi
cmpq %rbp, %rdi
je 0x37c7
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 0x5926
leaq 0x10(%rsp), %rdi
movq %rbp, (%rdi)
movq 0x1e0(%rsp), %rsi
movq 0x1e8(%rsp), %rdx
addq %rsi, %rdx
callq 0xaaea
cmpb $0x1, 0x133(%rsp)
jne 0x38a9
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 0x3862
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 0x3847
movq 0xb767(%rip), %rdi      # 0xefd0
leaq 0x780f(%rip), %rsi      # 0xb07f
movl $0x20, %edx
callq 0x31d0
movq 0x10(%rsp), %rsi
movq 0x18(%rsp), %rdx
movq 0xb745(%rip), %rdi      # 0xefd0
callq 0x31d0
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x3170
jmp 0x38ee
movq 0xb720(%rip), %rdi      # 0xefd0
leaq 0x77e9(%rip), %rsi      # 0xb0a0
movl $0xc, %edx
callq 0x31d0
movq 0x10(%rsp), %rsi
movq 0x18(%rsp), %rdx
movq 0xb6fe(%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 0x3918
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x3190
leaq 0xafd9(%rip), %rax      # 0xe8f8
leaq 0x110(%rsp), %rcx
movq %rax, -0x80(%rcx)
movq -0x10(%rcx), %rdi
cmpq %rcx, %rdi
je 0x3944
movq 0x110(%rsp), %rsi
incq %rsi
callq 0x3190
leaq 0xe8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x3965
movq 0xe8(%rsp), %rsi
incq %rsi
callq 0x3190
leaq 0xc8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x3986
movq 0xc8(%rsp), %rsi
incq %rsi
callq 0x3190
leaq 0xa8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x39a7
movq 0xa8(%rsp), %rsi
incq %rsi
callq 0x3190
leaq 0x138(%rsp), %rdi
callq 0x5a02
leaq 0x248(%rsp), %rdi
callq 0x54e0
xorl %eax, %eax
addq $0x328, %rsp            # imm = 0x328
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x3b87
movq %rdx, %r14
movq %rax, 0x8(%rsp)
movq 0x50(%rsp), %rdi
cmpq %rbx, %rdi
je 0x3a03
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x3190
jmp 0x3a03
movq %rdx, %r14
movq %rax, 0x8(%rsp)
movq 0x30(%rsp), %rdi
cmpq %r15, %rdi
je 0x3a24
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x3190
jmp 0x3a24
movq %rdx, %r14
movq %rax, 0x8(%rsp)
movq 0x10(%rsp), %rdi
leaq 0x20(%rsp), %rax
cmpq %rax, %rdi
je 0x3bbd
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x3190
jmp 0x3bbd
jmp 0x3a4b
movq %rdx, %r14
movq %rax, 0x8(%rsp)
jmp 0x3bbd
movq %rdx, %r14
movq %rax, 0x8(%rsp)
movq 0x50(%rsp), %rdi
cmpq %rbx, %rdi
je 0x3a81
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x3190
jmp 0x3a81
movq %rdx, %r14
movq %rax, 0x8(%rsp)
movq 0x70(%rsp), %rdi
cmpq %rbp, %rdi
je 0x3aa5
movq 0x80(%rsp), %rsi
incq %rsi
callq 0x3190
jmp 0x3aa5
movq %rdx, %r14
movq %rax, 0x8(%rsp)
movq 0x30(%rsp), %rdi
cmpq %r15, %rdi
je 0x3ac6
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x3190
jmp 0x3ac6
movq %rdx, %r14
movq %rax, 0x8(%rsp)
movq 0x10(%rsp), %rdi
leaq 0x20(%rsp), %rax
cmpq %rax, %rdi
je 0x3aec
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x3190
jmp 0x3aec
movq %rdx, %r14
movq %rax, 0x8(%rsp)
movq 0x90(%rsp), %rdi
leaq 0xa0(%rsp), %rax
cmpq %rax, %rdi
je 0x3bca
movq 0xa0(%rsp), %rsi
incq %rsi
callq 0x3190
jmp 0x3bca
movq %rdx, %r14
movq %rax, 0x8(%rsp)
jmp 0x3bca
movq %rdx, %r14
movq %rax, 0x8(%rsp)
movq 0x90(%rsp), %rdi
cmpq %r15, %rdi
je 0x3b56
movq 0xa0(%rsp), %rsi
incq %rsi
callq 0x3190
jmp 0x3b56
movq %rdx, %r14
movq %rax, 0x8(%rsp)
movq 0x138(%rsp), %rdi
leaq 0x148(%rsp), %rax
cmpq %rax, %rdi
je 0x3bd7
movq 0x148(%rsp), %rsi
incq %rsi
callq 0x3190
jmp 0x3bd7
movq %rdx, %r14
movq %rax, 0x8(%rsp)
jmp 0x3bd7
movq %rdx, %r14
movq %rax, 0x8(%rsp)
jmp 0x3bb0
movq %rdx, %r14
movq %rax, 0x8(%rsp)
movq 0x10(%rsp), %rdi
cmpq %rbp, %rdi
je 0x3bb0
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x3190
leaq 0x90(%rsp), %rdi
callq 0x6c60
leaq 0x138(%rsp), %rdi
callq 0x5a02
leaq 0x248(%rsp), %rdi
callq 0x54e0
cmpl $0x1, %r14d
jne 0x3d3e
movq 0x8(%rsp), %rdi
callq 0x30a0
movq %rax, %rbx
movq 0xb3fb(%rip), %rdi      # 0xeff0
leaq 0x74b1(%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 0xaaea
movq 0x138(%rsp), %rsi
movq 0x140(%rsp), %rdx
movq 0xb3b0(%rip), %rdi      # 0xeff0
callq 0x31d0
movq %rax, %r14
leaq 0x7466(%rip), %rsi      # 0xb0b5
movl $0x9, %edx
movq %rax, %rdi
callq 0x31d0
leaq 0x248(%rsp), %rdi
movq %rbx, %rsi
callq 0x5ada
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 0x3cad
movq 0x258(%rsp), %rsi
incq %rsi
callq 0x3190
movq 0x138(%rsp), %rdi
leaq 0x148(%rsp), %rax
cmpq %rax, %rdi
je 0x3cd2
movq 0x148(%rsp), %rsi
incq %rsi
callq 0x3190
callq 0x3270
jmp 0x39c1
jmp 0x3d0f
jmp 0x3ce0
movq %rax, 0x8(%rsp)
jmp 0x3d39
movq %rax, 0x8(%rsp)
leaq 0x258(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x3d14
movq 0x258(%rsp), %rsi
incq %rsi
callq 0x3190
jmp 0x3d14
movq %rax, 0x8(%rsp)
movq 0x138(%rsp), %rdi
leaq 0x148(%rsp), %rax
cmpq %rax, %rdi
je 0x3d39
movq 0x148(%rsp), %rsi
incq %rsi
callq 0x3190
callq 0x3270
movq 0x8(%rsp), %rdi
callq 0x32a0
movq %rax, %rdi
callq 0x5488