// File: /workspace/github_cpp_makefile_star2_O2/hanhwi[P]SimPoint/analysiscode/CmdLineParser.cpp
// Function: CmdLineParser::specifyOption(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
bool CmdLineParser::specifyOption(const string &name, const string &argument) {
    CmdLineOption *opt = findOption(name);
    if (opt == NULL) { return false; }

    opt->setSpecified();
    if (opt->requiresArgument()) {
        if (argument == "") {
            parseError("CmdLineOption::specifyOption() need an argument, but "
                    "none was specified");
            return false;
        }

        if (! opt->parseArgument(argument)) {
            parseError("Parsing argument -" + opt->getName() + 
                        " : " + opt->getParseError());
            return false;
        }
    } else {
        Utilities::check(argument == "", "CmdLineOption::specifyOption() "
                "argument given, but none required");
        if (argument != "") {
            parseError("CmdLineOption::specifyOption() argument given, but "
                    "none allowed");
            return false;
        }
    }

    return true;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x80, %rsp
movq %rdx, %r14
movq %rdi, %rbx
callq 0x53e2
testq %rax, %rax
je 0x52fd
movq %rax, %r15
movq (%rax), %rax
movq %r15, %rdi
callq *0x10(%rax)
movb 0x88(%r15), %r12b
leaq 0x10054(%rip), %rsi     # 0x151ff
movq %r14, %rdi
callq 0x5549
movl %eax, %ebp
cmpb $0x1, %r12b
jne 0x51e9
testb %bpl, %bpl
je 0x5257
leaq 0xfee4(%rip), %rsi      # 0x150af
movq %rsp, %rdi
leaq 0x20(%rsp), %rdx
callq 0x53a6
addq $0x68, %rbx
movq %rsp, %rsi
movq %rbx, %rdi
callq 0x41a0
jmp 0x524f
leaq 0xff07(%rip), %rsi      # 0x150f7
movq %rsp, %rdi
leaq 0x20(%rsp), %rdx
callq 0x53a6
movzbl %bpl, %edi
movq %rsp, %rsi
callq 0x5364
movq %rsp, %rdi
callq 0x45e8
leaq 0xffe7(%rip), %rsi      # 0x151ff
movq %r14, %rdi
callq 0x5556
movl %eax, %ecx
movb $0x1, %al
testb %cl, %cl
je 0x52ff
leaq 0xff05(%rip), %rsi      # 0x15138
movq %rsp, %rdi
leaq 0x20(%rsp), %rdx
callq 0x53a6
addq $0x68, %rbx
movq %rsp, %rsi
movq %rbx, %rdi
callq 0x41a0
movq %rsp, %rdi
jmp 0x52f8
cmpb $0x1, 0x88(%r15)
jne 0x5279
movq (%r15), %rax
movq %r15, %rdi
movq %r14, %rsi
callq *0x18(%rax)
movl %eax, %ecx
movb $0x1, %al
testb %cl, %cl
jne 0x52ff
leaq 0x8(%r15), %rdx
leaq 0xfe10(%rip), %rsi      # 0x15094
leaq 0x60(%rsp), %r14
movq %r14, %rdi
callq 0x54af
leaq 0xfe0f(%rip), %rdx      # 0x150a7
leaq 0x20(%rsp), %rdi
movq %r14, %rsi
callq 0x5490
addq $0x68, %r15
leaq 0x40(%rsp), %rdi
movq %r15, %rsi
callq 0x43e0
movq %rsp, %rdi
leaq 0x20(%rsp), %rsi
leaq 0x40(%rsp), %rdx
callq 0x5429
addq $0x68, %rbx
movq %rsp, %rsi
movq %rbx, %rdi
callq 0x41a0
movq %rsp, %rdi
callq 0x45e8
leaq 0x40(%rsp), %rdi
callq 0x45e8
leaq 0x20(%rsp), %rdi
callq 0x45e8
leaq 0x60(%rsp), %rdi
callq 0x45e8
xorl %eax, %eax
addq $0x80, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq %rsp, %rdi
callq 0x45e8
jmp 0x531f
movq %rax, %rbx
leaq 0x40(%rsp), %rdi
callq 0x45e8
jmp 0x532e
movq %rax, %rbx
leaq 0x20(%rsp), %rdi
callq 0x45e8
jmp 0x533d
movq %rax, %rbx
leaq 0x60(%rsp), %rdi
jmp 0x5352
jmp 0x534c
jmp 0x5359
jmp 0x534c
jmp 0x5359
movq %rax, %rbx
movq %rsp, %rdi
callq 0x45e8
jmp 0x535c
movq %rax, %rbx
movq %rbx, %rdi
callq 0x4530