// File: /workspace/github_cpp_makefile_star2_O1/demon386[P]git-store/./libs/program_options/src/value_semantic.cpp
// Function: boost::program_options::ambiguous_option::substitute_placeholders(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) const
void ambiguous_option::substitute_placeholders(const string& original_error_template) const
    {
        // For short forms, all alternatives must be identical, by
        //      definition, to the specified option, so we don't need to
        //      display alternatives
        if (m_option_style == command_line_style::allow_dash_for_short || 
            m_option_style == command_line_style::allow_slash_for_short)
        {
            error_with_option_name::substitute_placeholders(original_error_template);
            return;
        }


        string error_template  = original_error_template;
        // remove duplicates using std::set
        std::set<std::string>   alternatives_set (m_alternatives.begin(), m_alternatives.end());
        std::vector<std::string> alternatives_vec (alternatives_set.begin(), alternatives_set.end());

        error_template += " and matches ";
        // Being very cautious: should be > 1 alternative!
        if (alternatives_vec.size() > 1)
        {
            for (unsigned i = 0; i < alternatives_vec.size() - 1; ++i)
                error_template += "'%prefix%" + alternatives_vec[i] + "', ";
            error_template += "and ";
        }

        // there is a programming error if multiple options have the same name...
        if (m_alternatives.size() > 1 && alternatives_vec.size() == 1)
            error_template += "different versions of ";

        error_template += "'%prefix%" + alternatives_vec.back() + "'";


        // use inherited logic
        error_with_option_name::substitute_placeholders(error_template);
    }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xa8, %rsp
movq %rdi, %rbx
movl 0x10(%rdi), %eax
cmpl $0x8, %eax
je 0x20c8c
cmpl $0x4, %eax
jne 0x20ca5
movq %rbx, %rdi
addq $0xa8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x2097a
leaq -0x70(%rbp), %r15
movq %r15, -0x10(%r15)
movq (%rsi), %rax
movq 0x8(%rsi), %rdx
addq %rax, %rdx
leaq -0x80(%rbp), %rdi
movq %rax, %rsi
callq 0xfa18
movq 0xb8(%rbx), %rsi
movq 0xc0(%rbx), %rdx
leaq -0xd0(%rbp), %rdi
callq 0x21aca
leaq -0xc8(%rbp), %rdx
movq 0x10(%rdx), %rsi
leaq -0x60(%rbp), %rdi
leaq -0x48(%rbp), %rcx
callq 0x21b4c
leaq 0x14177(%rip), %rsi     # 0x34e73
leaq -0x80(%rbp), %rdi
callq 0xb880
movq -0x58(%rbp), %rax
subq -0x60(%rbp), %rax
cmpq $0x21, %rax
jb 0x20e11
movq -0x60(%rbp), %rax
movq -0x58(%rbp), %rcx
subq %rax, %rcx
cmpq $0x20, %rcx
je 0x20dfd
leaq -0x38(%rbp), %r14
movl $0x1, %r12d
xorl %edx, %edx
leaq -0xa0(%rbp), %r15
leaq -0x80(%rbp), %r13
shlq $0x5, %rdx
addq %rax, %rdx
movq %r15, %rdi
leaq 0x1412d(%rip), %rsi     # 0x34e81
callq 0x1739d
movq %r15, %rdi
leaq 0x14128(%rip), %rsi     # 0x34e8b
callq 0xb880
movq %r14, -0x48(%rbp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x20d88
movq %rdx, -0x48(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x38(%rbp)
jmp 0x20d8f
movups (%rcx), %xmm0
movups %xmm0, (%r14)
movq 0x8(%rax), %rdx
movq %rdx, -0x40(%rbp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq -0x48(%rbp), %rsi
movq -0x40(%rbp), %rdx
movq %r13, %rdi
callq 0xb160
movq -0x48(%rbp), %rdi
cmpq %r14, %rdi
je 0x20dc4
callq 0xb430
movq -0xa0(%rbp), %rdi
leaq -0x90(%rbp), %rax
cmpq %rax, %rdi
je 0x20ddc
callq 0xb430
movl %r12d, %edx
movq -0x60(%rbp), %rax
movq -0x58(%rbp), %rcx
subq %rax, %rcx
sarq $0x5, %rcx
decq %rcx
incl %r12d
cmpq %rdx, %rcx
ja 0x20d43
leaq 0x1408b(%rip), %rsi     # 0x34e8f
leaq -0x80(%rbp), %rdi
leaq -0x70(%rbp), %r15
callq 0xb880
movq 0xc0(%rbx), %rax
subq 0xb8(%rbx), %rax
cmpq $0x21, %rax
jb 0x20e43
movq -0x58(%rbp), %rax
subq -0x60(%rbp), %rax
cmpq $0x20, %rax
jne 0x20e43
leaq 0x1405a(%rip), %rsi     # 0x34e94
leaq -0x80(%rbp), %rdi
callq 0xb880
movq -0x58(%rbp), %rdx
addq $-0x20, %rdx
leaq 0x1402f(%rip), %rsi     # 0x34e81
leaq -0xa0(%rbp), %rdi
callq 0x1739d
leaq 0x11ffd(%rip), %rsi     # 0x32e62
leaq -0xa0(%rbp), %rdi
callq 0xb880
leaq -0x38(%rbp), %r14
movq %r14, -0x10(%r14)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x20e95
movq %rdx, -0x48(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x38(%rbp)
jmp 0x20e9c
movups (%rcx), %xmm0
movups %xmm0, (%r14)
movq 0x8(%rax), %rdx
movq %rdx, -0x40(%rbp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq -0x48(%rbp), %rsi
movq -0x40(%rbp), %rdx
leaq -0x80(%rbp), %rdi
callq 0xb160
movq -0x48(%rbp), %rdi
cmpq %r14, %rdi
je 0x20ed2
callq 0xb430
leaq -0x90(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x20ee7
callq 0xb430
leaq -0x80(%rbp), %rsi
movq %rbx, %rdi
callq 0x2097a
leaq -0x60(%rbp), %rdi
callq 0xe51e
leaq -0xd0(%rbp), %rdi
callq 0x13a3e
movq -0x80(%rbp), %rdi
cmpq %r15, %rdi
je 0x20f16
callq 0xb430
addq $0xa8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq -0x48(%rbp), %rdi
cmpq %r14, %rdi
je 0x20f3e
callq 0xb430
jmp 0x20f3e
movq %rax, %rbx
leaq -0x90(%rbp), %rax
movq -0x10(%rax), %rdi
jmp 0x20f82
jmp 0x20f59
movq %rax, %rbx
jmp 0x20f95
movq %rax, %rbx
jmp 0x20fa1
jmp 0x20f59
movq %rax, %rbx
jmp 0x20f8c
movq %rax, %rbx
jmp 0x20f74
movq %rax, %rbx
movq -0x48(%rbp), %rdi
cmpq %r14, %rdi
je 0x20f74
callq 0xb430
movq -0xa0(%rbp), %rdi
leaq -0x90(%rbp), %rax
cmpq %rax, %rdi
je 0x20f8c
callq 0xb430
leaq -0x60(%rbp), %rdi
callq 0xe51e
leaq -0xd0(%rbp), %rdi
callq 0x13a3e
movq -0x80(%rbp), %rdi
leaq -0x70(%rbp), %rax
cmpq %rax, %rdi
je 0x20fb3
callq 0xb430
movq %rbx, %rdi
callq 0xb7f0
nop