// File: Chrom3D[P]Chrom3D/src/tclap-1.2.1/include/tclap/Arg.h
// Function: void TCLAP::ExtractValue<unsigned int>(unsigned int&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, TCLAP::ValueLike)
void
ExtractValue(T &destVal, const std::string& strVal, ValueLike vl)
{
    static_cast<void>(vl); // Avoid warning about unused vl
    std::istringstream is(strVal);

    int valuesRead = 0;
    while ( is.good() ) {
	if ( is.peek() != EOF )
#ifdef TCLAP_SETBASE_ZERO
	    is >> std::setbase(0) >> destVal;
#else
	    is >> destVal;
#endif
	else
	    break;

	valuesRead++;
    }

    if ( is.fail() )
	throw( ArgParseException("Couldn't read argument value "
				 "from string '" + strVal + "'"));


    if ( valuesRead > 1 )
	throw( ArgParseException("More than one valid value parsed from "
				 "string '" + strVal + "'"));

}

// Assembly:
subq $0x2a8, %rsp            # imm = 0x2A8
movq %rdi, 0x2a0(%rsp)
movq %rsi, 0x298(%rsp)
movq %rdx, 0x290(%rsp)
movq 0x298(%rsp), %rsi
leaq 0x110(%rsp), %rdi
movl $0x8, %edx
callq 0x87e0
movl $0x0, 0x10c(%rsp)
movq 0x110(%rsp), %rax
movq -0x18(%rax), %rax
leaq 0x110(%rsp,%rax), %rdi
callq 0x8800
movb %al, 0x2d(%rsp)
jmp 0x4a783
movb 0x2d(%rsp), %al
testb $0x1, %al
jne 0x4a78d
jmp 0x4a7f3
leaq 0x110(%rsp), %rdi
callq 0x81e0
movl %eax, 0x28(%rsp)
jmp 0x4a7a0
movl 0x28(%rsp), %eax
cmpl $-0x1, %eax
je 0x4a7db
movq 0x2a0(%rsp), %rsi
leaq 0x110(%rsp), %rdi
callq 0x8090
jmp 0x4a7c0
jmp 0x4a7dd
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x100(%rsp)
movl %eax, 0xfc(%rsp)
jmp 0x4aadf
jmp 0x4a7f3
movl 0x10c(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x10c(%rsp)
jmp 0x4a764
movq 0x110(%rsp), %rax
movq -0x18(%rax), %rax
leaq 0x110(%rsp,%rax), %rdi
callq 0x8030
movb %al, 0x27(%rsp)
jmp 0x4a812
movb 0x27(%rsp), %al
testb $0x1, %al
jne 0x4a81f
jmp 0x4a985
movb $0x1, 0x96(%rsp)
movl $0x68, %edi
callq 0x8280
movq %rax, 0x18(%rsp)
movq 0x298(%rsp), %rdx
leaq 0x779a(%rip), %rsi      # 0x51fdf
leaq 0xb8(%rsp), %rdi
callq 0x44250
jmp 0x4a854
leaq 0x7743(%rip), %rdx      # 0x51f9e
leaq 0xd8(%rsp), %rdi
leaq 0xb8(%rsp), %rsi
callq 0x28be0
jmp 0x4a872
leaq 0x97(%rsp), %rdi
movq %rdi, 0x10(%rsp)
callq 0x8880
movq 0x10(%rsp), %rdx
leaq 0x7632(%rip), %rsi      # 0x51ec2
leaq 0x98(%rsp), %rdi
callq 0x1b100
jmp 0x4a89f
movq 0x18(%rsp), %rdi
leaq 0xd8(%rsp), %rsi
leaq 0x98(%rsp), %rdx
callq 0x486b0
jmp 0x4a8bb
movq 0x18(%rsp), %rdi
movb $0x0, 0x96(%rsp)
leaq 0x1f0a9(%rip), %rsi     # 0x69978
leaq -0x2086(%rip), %rdx     # 0x48850
callq 0x8820
jmp 0x4aaf9
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x100(%rsp)
movl %eax, 0xfc(%rsp)
jmp 0x4a96a
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x100(%rsp)
movl %eax, 0xfc(%rsp)
jmp 0x4a95d
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x100(%rsp)
movl %eax, 0xfc(%rsp)
jmp 0x4a943
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x100(%rsp)
movl %eax, 0xfc(%rsp)
leaq 0x98(%rsp), %rdi
callq 0x8998
leaq 0x97(%rsp), %rdi
callq 0x8500
leaq 0xd8(%rsp), %rdi
callq 0x8998
leaq 0xb8(%rsp), %rdi
callq 0x8998
testb $0x1, 0x96(%rsp)
jne 0x4a976
jmp 0x4a980
movq 0x18(%rsp), %rdi
callq 0x83a0
jmp 0x4aadf
cmpl $0x1, 0x10c(%rsp)
jle 0x4aaca
movb $0x1, 0x2e(%rsp)
movl $0x68, %edi
callq 0x8280
movq %rax, 0x8(%rsp)
movq 0x298(%rsp), %rdx
leaq 0x7654(%rip), %rsi      # 0x5200a
leaq 0x50(%rsp), %rdi
callq 0x44250
jmp 0x4a9c2
leaq 0x75d5(%rip), %rdx      # 0x51f9e
leaq 0x70(%rsp), %rdi
leaq 0x50(%rsp), %rsi
callq 0x28be0
jmp 0x4a9da
leaq 0x2f(%rsp), %rdi
movq %rdi, (%rsp)
callq 0x8880
movq (%rsp), %rdx
leaq 0x74cf(%rip), %rsi      # 0x51ec2
leaq 0x30(%rsp), %rdi
callq 0x1b100
jmp 0x4a9ff
movq 0x8(%rsp), %rdi
leaq 0x70(%rsp), %rsi
leaq 0x30(%rsp), %rdx
callq 0x486b0
jmp 0x4aa15
movq 0x8(%rsp), %rdi
movb $0x0, 0x2e(%rsp)
leaq 0x1ef52(%rip), %rsi     # 0x69978
leaq -0x21dd(%rip), %rdx     # 0x48850
callq 0x8820
jmp 0x4aaf9
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x100(%rsp)
movl %eax, 0xfc(%rsp)
jmp 0x4aab5
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x100(%rsp)
movl %eax, 0xfc(%rsp)
jmp 0x4aaab
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x100(%rsp)
movl %eax, 0xfc(%rsp)
jmp 0x4aa97
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x100(%rsp)
movl %eax, 0xfc(%rsp)
leaq 0x30(%rsp), %rdi
callq 0x8998
leaq 0x2f(%rsp), %rdi
callq 0x8500
leaq 0x70(%rsp), %rdi
callq 0x8998
leaq 0x50(%rsp), %rdi
callq 0x8998
testb $0x1, 0x2e(%rsp)
jne 0x4aabe
jmp 0x4aac8
movq 0x8(%rsp), %rdi
callq 0x83a0
jmp 0x4aadf
leaq 0x110(%rsp), %rdi
callq 0x8270
addq $0x2a8, %rsp            # imm = 0x2A8
retq
leaq 0x110(%rsp), %rdi
callq 0x8270
movq 0x100(%rsp), %rdi
callq 0x8870
nopl (%rax)