// File: /workspace/github_cpp_makefile_star2_O1/demon386[P]git-store/./libs/program_options/src/options_description.cpp
// Function: boost::program_options::options_description::find_nothrow(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, bool, bool, bool) const
const option_description*
    options_description::find_nothrow(const std::string& name, 
                                      bool approx,
                                      bool long_ignore_case,
                                      bool short_ignore_case) const
    {
        shared_ptr<option_description> found;
        bool had_full_match = false;
        vector<string> approximate_matches;
        vector<string> full_matches;
        
        // We use linear search because matching specified option
        // name with the declared option name need to take care about
        // case sensitivity and trailing '*' and so we can't use simple map.
        for(unsigned i = 0; i < m_options.size(); ++i)
        {
            option_description::match_result r = 
                m_options[i]->match(name, approx, long_ignore_case, short_ignore_case);

            if (r == option_description::no_match)
                continue;

            if (r == option_description::full_match)
            {                
                full_matches.push_back(m_options[i]->key(name));
                found = m_options[i];
                had_full_match = true;
            } 
            else 
            {                        
                // FIXME: the use of 'key' here might not
                // be the best approach.
                approximate_matches.push_back(m_options[i]->key(name));
                if (!had_full_match)
                    found = m_options[i];
            }
        }
        if (full_matches.size() > 1) 
            boost::throw_exception(ambiguous_option(full_matches));
        
        // If we have a full match, and an approximate match,
        // ignore approximate match instead of reporting error.
        // Say, if we have options "all" and "all-chroots", then
        // "--all" on the command line should select the first one,
        // without ambiguity.
        if (full_matches.empty() && approximate_matches.size() > 1)
            boost::throw_exception(ambiguous_option(approximate_matches));

        return found.get();
    }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x138, %rsp            # imm = 0x138
movq %rsi, -0x30(%rbp)
xorps %xmm0, %xmm0
movaps %xmm0, -0x90(%rbp)
xorl %eax, %eax
movq %rax, -0x70(%rbp)
movaps %xmm0, -0x80(%rbp)
movq %rax, -0x50(%rbp)
movaps %xmm0, -0x60(%rbp)
movq 0x28(%rdi), %rax
cmpq %rax, 0x30(%rdi)
je 0x165e2
movq %rdi, %r14
movl $0x1, %r13d
xorl %r15d, %r15d
movzbl %dl, %edx
movl %edx, -0x3c(%rbp)
movzbl %cl, %ecx
movl %ecx, -0x38(%rbp)
movzbl %r8b, %ecx
movl %ecx, -0x34(%rbp)
xorl %ebx, %ebx
shlq $0x4, %r15
movq (%rax,%r15), %rdi
testq %rdi, %rdi
je 0x16643
movq -0x30(%rbp), %rsi
movl -0x3c(%rbp), %edx
movl -0x38(%rbp), %ecx
movl -0x34(%rbp), %r8d
callq 0x157f8
testl %eax, %eax
je 0x165c4
cmpl $0x1, %eax
jne 0x16551
movq 0x28(%r14), %rax
movq (%rax,%r15), %r12
testq %r12, %r12
je 0x16643
cmpq $0x0, 0x30(%r12)
je 0x16588
addq $0x28, %r12
movq %r12, %rdi
movl $0x2a, %esi
xorl %edx, %edx
callq 0xb5c0
cmpq $-0x1, %rax
cmovneq -0x30(%rbp), %r12
jmp 0x1658c
movq 0x28(%r14), %rax
movq (%rax,%r15), %r12
testq %r12, %r12
je 0x16643
cmpq $0x0, 0x30(%r12)
je 0x1659c
addq $0x28, %r12
movq %r12, %rdi
movl $0x2a, %esi
xorl %edx, %edx
callq 0xb5c0
cmpq $-0x1, %rax
cmovneq -0x30(%rbp), %r12
jmp 0x165a0
addq $0x8, %r12
movb $0x1, %bl
leaq -0x60(%rbp), %rdi
movq %r12, %rsi
callq 0xe916
jmp 0x165b1
addq $0x8, %r12
leaq -0x80(%rbp), %rdi
movq %r12, %rsi
callq 0xe916
testb $0x1, %bl
jne 0x165c4
addq 0x28(%r14), %r15
leaq -0x90(%rbp), %rdi
movq %r15, %rsi
callq 0x17644
movl %r13d, %r15d
movq 0x28(%r14), %rax
movq 0x30(%r14), %rcx
subq %rax, %rcx
sarq $0x4, %rcx
incl %r13d
cmpq %r15, %rcx
ja 0x164e9
movq -0x60(%rbp), %rax
movq -0x58(%rbp), %rcx
movq %rcx, %rdx
subq %rax, %rdx
cmpq $0x20, %rdx
ja 0x16662
cmpq %rcx, %rax
jne 0x16609
movq -0x78(%rbp), %rax
subq -0x80(%rbp), %rax
cmpq $0x21, %rax
jae 0x1667e
leaq -0x88(%rbp), %rbx
movq -0x8(%rbx), %r14
leaq -0x60(%rbp), %rdi
callq 0xe51e
leaq -0x80(%rbp), %rdi
callq 0xe51e
movq %rbx, %rdi
callq 0xf5d6
movq %r14, %rax
addq $0x138, %rsp            # imm = 0x138
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x1bfea(%rip), %rdi     # 0x32634
leaq 0x1bfeb(%rip), %rsi     # 0x3263c
leaq 0x1d2e7(%rip), %rcx     # 0x3393f
movl $0x2af, %edx            # imm = 0x2AF
callq 0xb310
leaq -0x160(%rbp), %rdi
leaq -0x60(%rbp), %rsi
callq 0x1771a
leaq -0x160(%rbp), %rdi
callq 0x17694
leaq -0x160(%rbp), %rdi
leaq -0x80(%rbp), %rsi
callq 0x1771a
leaq -0x160(%rbp), %rdi
callq 0x17694
jmp 0x1669e
jmp 0x166cf
movq %rax, %rbx
leaq 0x34078(%rip), %rax     # 0x4a720
addq $0x10, %rax
leaq -0xa8(%rbp), %rdi
movq %rax, -0xb8(%rdi)
callq 0xe51e
leaq -0x160(%rbp), %rdi
callq 0xedb6
jmp 0x166d2
jmp 0x166cf
movq %rax, %rbx
leaq -0x60(%rbp), %rdi
callq 0xe51e
leaq -0x80(%rbp), %rdi
callq 0xe51e
leaq -0x88(%rbp), %rdi
callq 0xf5d6
movq %rbx, %rdi
callq 0xb7f0