// File: statgen[P]statgen/lib/tclap-1.2.0/examples/../include/tclap/ValueArg.h
// Function: TCLAP::ValueArg<Vect3D>::processArg(int*, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>>&)
bool ValueArg<T>::processArg(int *i, std::vector<std::string>& args)
{
    if ( _ignoreable && Arg::ignoreRest() )
		return false;

    if ( _hasBlanks( args[*i] ) )
		return false;

    std::string flag = args[*i];

    std::string value = "";
    trimFlag( flag, value );

    if ( argMatches( flag ) )
    {
        if ( _alreadySet )
			throw( CmdLineParseException("Argument already set!", toString()) );

        if ( Arg::delimiter() != ' ' && value == "" )
			throw( ArgParseException( 
							"Couldn't find delimiter for this argument!",
                             toString() ) );

        if ( value == "" )
        {
            (*i)++;
            if ( static_cast<unsigned int>(*i) < args.size() ) 
				_extractValue( args[*i] );
            else
				throw( ArgParseException("Missing a value for this argument!",
                                                    toString() ) );
        }
        else
			_extractValue( value );
				
        _alreadySet = true;
        _checkWithVisitor();
        return true;
    }	
    else
		return false;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x1c0, %rsp            # imm = 0x1C0
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq %rdx, -0x20(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x170(%rbp)
testb $0x1, 0xa0(%rax)
je 0xfcef
callq 0x4d90
testb $0x1, %al
jne 0xfce6
jmp 0xfcef
movb $0x0, -0x1(%rbp)
jmp 0x10222
movq -0x20(%rbp), %rdi
movq -0x18(%rbp), %rax
movslq (%rax), %rsi
callq 0x4da0
movq -0x170(%rbp), %rdi
movq %rax, %rsi
callq 0x10310
testb $0x1, %al
jne 0xfd14
jmp 0xfd1d
movb $0x0, -0x1(%rbp)
jmp 0x10222
movq -0x20(%rbp), %rdi
movq -0x18(%rbp), %rax
movslq (%rax), %rsi
callq 0x4da0
movq %rax, %rsi
leaq -0x40(%rbp), %rdi
callq 0x40f0
leaq -0x61(%rbp), %rdi
movq %rdi, -0x178(%rbp)
callq 0x4430
movq -0x178(%rbp), %rdx
leaq 0x36c8(%rip), %rsi      # 0x1341f
leaq -0x60(%rbp), %rdi
callq 0x5110
jmp 0xfd62
leaq -0x61(%rbp), %rdi
callq 0x42b0
movq -0x170(%rbp), %rdi
movq (%rdi), %rax
movq 0x50(%rax), %rax
leaq -0x40(%rbp), %rsi
leaq -0x60(%rbp), %rdx
callq *%rax
jmp 0xfd85
movq -0x170(%rbp), %rdi
movq (%rdi), %rax
movq 0x30(%rax), %rax
leaq -0x40(%rbp), %rsi
callq *%rax
movb %al, -0x179(%rbp)
jmp 0xfda1
movb -0x179(%rbp), %al
testb $0x1, %al
jne 0xfdb0
jmp 0x101ec
movq -0x170(%rbp), %rax
testb $0x1, 0x91(%rax)
je 0xfef9
movb $0x1, -0xc1(%rbp)
movl $0x68, %edi
callq 0x4140
movq %rax, -0x190(%rbp)
leaq -0x99(%rbp), %rdi
movq %rdi, -0x188(%rbp)
callq 0x4430
movq -0x188(%rbp), %rdx
leaq 0x3217(%rip), %rsi      # 0x13014
leaq -0x98(%rbp), %rdi
callq 0x5110
jmp 0xfe0b
movq -0x170(%rbp), %rsi
movq (%rsi), %rax
movq 0x38(%rax), %rax
leaq -0xc0(%rbp), %rdi
callq *%rax
jmp 0xfe24
movq -0x190(%rbp), %rdi
leaq -0x98(%rbp), %rsi
leaq -0xc0(%rbp), %rdx
callq 0x51c0
jmp 0xfe40
movq -0x190(%rbp), %rdi
movb $0x0, -0xc1(%rbp)
leaq 0xa98b(%rip), %rsi      # 0x1a7e0
leaq -0xa96c(%rip), %rdx     # 0x54f0
callq 0x4400
jmp 0x10239
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x70(%rbp)
movl %eax, -0x74(%rbp)
leaq -0x61(%rbp), %rdi
callq 0x42b0
jmp 0x10217
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x70(%rbp)
movl %eax, -0x74(%rbp)
jmp 0x1020e
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x70(%rbp)
movl %eax, -0x74(%rbp)
jmp 0xfed1
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x70(%rbp)
movl %eax, -0x74(%rbp)
jmp 0xfec5
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x70(%rbp)
movl %eax, -0x74(%rbp)
leaq -0xc0(%rbp), %rdi
callq 0x44d8
leaq -0x98(%rbp), %rdi
callq 0x44d8
leaq -0x99(%rbp), %rdi
callq 0x42b0
testb $0x1, -0xc1(%rbp)
jne 0xfee8
jmp 0xfef4
movq -0x190(%rbp), %rdi
callq 0x41d0
jmp 0x1020e
callq 0x89c0
movb %al, -0x191(%rbp)
jmp 0xff06
movb -0x191(%rbp), %al
movsbl %al, %eax
cmpl $0x20, %eax
je 0x1003b
leaq -0x60(%rbp), %rdi
leaq 0x34fc(%rip), %rsi      # 0x1341f
callq 0xd280
testb $0x1, %al
jne 0xff31
jmp 0x1003b
movb $0x1, -0x111(%rbp)
movl $0x68, %edi
callq 0x4140
movq %rax, -0x1a8(%rbp)
leaq -0xe9(%rbp), %rdi
movq %rdi, -0x1a0(%rbp)
callq 0x4430
movq -0x1a0(%rbp), %rdx
leaq 0x3397(%rip), %rsi      # 0x13301
leaq -0xe8(%rbp), %rdi
callq 0x5110
jmp 0xff78
movq -0x170(%rbp), %rsi
movq (%rsi), %rax
movq 0x38(%rax), %rax
leaq -0x110(%rbp), %rdi
callq *%rax
jmp 0xff91
movq -0x1a8(%rbp), %rdi
leaq -0xe8(%rbp), %rsi
leaq -0x110(%rbp), %rdx
callq 0x10390
jmp 0xffad
movq -0x1a8(%rbp), %rdi
movb $0x0, -0x111(%rbp)
leaq 0xad96(%rip), %rsi      # 0x1ad58
leaq 0x557(%rip), %rdx       # 0x10520
callq 0x4400
jmp 0x10239
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x70(%rbp)
movl %eax, -0x74(%rbp)
jmp 0x10013
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x70(%rbp)
movl %eax, -0x74(%rbp)
jmp 0x10007
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x70(%rbp)
movl %eax, -0x74(%rbp)
leaq -0x110(%rbp), %rdi
callq 0x44d8
leaq -0xe8(%rbp), %rdi
callq 0x44d8
leaq -0xe9(%rbp), %rdi
callq 0x42b0
testb $0x1, -0x111(%rbp)
jne 0x1002a
jmp 0x10036
movq -0x1a8(%rbp), %rdi
callq 0x41d0
jmp 0x1020e
leaq -0x60(%rbp), %rdi
leaq 0x33d9(%rip), %rsi      # 0x1341f
callq 0xd280
testb $0x1, %al
jne 0x10054
jmp 0x101b3
movq -0x18(%rbp), %rax
movl (%rax), %ecx
addl $0x1, %ecx
movl %ecx, (%rax)
movq -0x18(%rbp), %rax
movl (%rax), %eax
movq %rax, -0x1b0(%rbp)
movq -0x20(%rbp), %rdi
callq 0xe450
movq %rax, %rcx
movq -0x1b0(%rbp), %rax
cmpq %rcx, %rax
jae 0x100aa
movq -0x20(%rbp), %rdi
movq -0x18(%rbp), %rax
movslq (%rax), %rsi
callq 0x4da0
movq -0x170(%rbp), %rdi
movq %rax, %rsi
callq 0x10540
jmp 0x100a5
jmp 0x101b1
movb $0x1, -0x161(%rbp)
movl $0x68, %edi
callq 0x4140
movq %rax, -0x1c0(%rbp)
leaq -0x139(%rbp), %rdi
movq %rdi, -0x1b8(%rbp)
callq 0x4430
movq -0x1b8(%rbp), %rdx
leaq 0x3249(%rip), %rsi      # 0x1332c
leaq -0x138(%rbp), %rdi
callq 0x5110
jmp 0x100f1
movq -0x170(%rbp), %rsi
movq (%rsi), %rax
movq 0x38(%rax), %rax
leaq -0x160(%rbp), %rdi
callq *%rax
jmp 0x1010a
movq -0x1c0(%rbp), %rdi
leaq -0x138(%rbp), %rsi
leaq -0x160(%rbp), %rdx
callq 0x10390
jmp 0x10126
movq -0x1c0(%rbp), %rdi
movb $0x0, -0x161(%rbp)
leaq 0xac1d(%rip), %rsi      # 0x1ad58
leaq 0x3de(%rip), %rdx       # 0x10520
callq 0x4400
jmp 0x10239
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x70(%rbp)
movl %eax, -0x74(%rbp)
jmp 0x1018c
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x70(%rbp)
movl %eax, -0x74(%rbp)
jmp 0x10180
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x70(%rbp)
movl %eax, -0x74(%rbp)
leaq -0x160(%rbp), %rdi
callq 0x44d8
leaq -0x138(%rbp), %rdi
callq 0x44d8
leaq -0x139(%rbp), %rdi
callq 0x42b0
testb $0x1, -0x161(%rbp)
jne 0x101a3
jmp 0x101af
movq -0x1c0(%rbp), %rdi
callq 0x41d0
jmp 0x1020e
jmp 0x101c7
movq -0x170(%rbp), %rdi
leaq -0x60(%rbp), %rsi
callq 0x10540
jmp 0x101c5
jmp 0x101c7
movq -0x170(%rbp), %rdi
movb $0x1, 0x91(%rdi)
callq 0x5510
jmp 0x101dc
movb $0x1, -0x1(%rbp)
movl $0x1, -0x168(%rbp)
jmp 0x101fa
movb $0x0, -0x1(%rbp)
movl $0x1, -0x168(%rbp)
leaq -0x60(%rbp), %rdi
callq 0x44d8
leaq -0x40(%rbp), %rdi
callq 0x44d8
jmp 0x10222
leaq -0x60(%rbp), %rdi
callq 0x44d8
leaq -0x40(%rbp), %rdi
callq 0x44d8
jmp 0x10230
movb -0x1(%rbp), %al
andb $0x1, %al
addq $0x1c0, %rsp            # imm = 0x1C0
popq %rbp
retq
movq -0x70(%rbp), %rdi
callq 0x4420
nopl (%rax)