// File: /workspace/github_cpp_makefile_star2_O3/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 $0xb8, %rsp
movq %rdi, %r15
movl 0x10(%rdi), %eax
cmpl $0x8, %eax
je 0x20b00
cmpl $0x4, %eax
jne 0x20b19
movq %r15, %rdi
addq $0xb8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x207ee
leaq -0x70(%rbp), %r14
movq %r14, -0x10(%r14)
movq (%rsi), %rax
movq 0x8(%rsi), %rdx
addq %rax, %rdx
leaq -0x80(%rbp), %rdi
movq %rax, %rsi
callq 0xf98c
movq 0xb8(%r15), %rsi
movq 0xc0(%r15), %rdx
leaq -0xd8(%rbp), %rdi
callq 0x21920
leaq -0xd0(%rbp), %rdx
movq 0x10(%rdx), %rsi
leaq -0x60(%rbp), %rdi
leaq -0x48(%rbp), %rcx
callq 0x2199c
leaq 0x14303(%rip), %rsi     # 0x34e73
leaq -0x80(%rbp), %rdi
callq 0xb880
movq -0x60(%rbp), %rax
movq -0x58(%rbp), %rdx
movq %rdx, %rcx
subq %rax, %rcx
cmpq $0x21, %rcx
jb 0x20c8a
movq %r15, -0xa8(%rbp)
leaq -0x38(%rbp), %rbx
movl $0x1, %r14d
xorl %edx, %edx
leaq -0xa0(%rbp), %r15
leaq 0x142d9(%rip), %r12     # 0x34e8b
leaq -0x80(%rbp), %r13
shlq $0x5, %rdx
addq %rax, %rdx
movq %r15, %rdi
leaq 0x142ba(%rip), %rsi     # 0x34e81
callq 0x17287
movq %r15, %rdi
movq %r12, %rsi
callq 0xb880
movq %rbx, -0x48(%rbp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x20bf7
movq %rdx, -0x48(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x38(%rbp)
jmp 0x20bfd
movups (%rcx), %xmm0
movups %xmm0, (%rbx)
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 %rbx, %rdi
je 0x20c32
callq 0xb430
movq -0xa0(%rbp), %rdi
leaq -0x90(%rbp), %rax
cmpq %rax, %rdi
je 0x20c4a
callq 0xb430
movl %r14d, %edx
movq -0x60(%rbp), %rax
movq -0x58(%rbp), %rcx
subq %rax, %rcx
sarq $0x5, %rcx
decq %rcx
incl %r14d
cmpq %rdx, %rcx
ja 0x20bb6
leaq 0x1421d(%rip), %rsi     # 0x34e8f
leaq -0x80(%rbp), %rdi
leaq -0x70(%rbp), %r14
callq 0xb880
movq -0xa8(%rbp), %r15
movq -0x58(%rbp), %rdx
movq 0xc0(%r15), %rax
subq 0xb8(%r15), %rax
cmpq $0x21, %rax
jb 0x20cbf
movq %rdx, %rax
subq -0x60(%rbp), %rax
cmpq $0x20, %rax
jne 0x20cbf
leaq 0x141e2(%rip), %rsi     # 0x34e94
leaq -0x80(%rbp), %rdi
callq 0xb880
movq -0x58(%rbp), %rdx
addq $-0x20, %rdx
leaq 0x141b7(%rip), %rsi     # 0x34e81
leaq -0xa0(%rbp), %rdi
callq 0x17287
leaq 0x12185(%rip), %rsi     # 0x32e62
leaq -0xa0(%rbp), %rdi
callq 0xb880
leaq -0x38(%rbp), %rbx
movq %rbx, -0x10(%rbx)
movq (%rax), %rsi
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rsi
je 0x20d0d
movq %rsi, -0x48(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x38(%rbp)
jmp 0x20d16
movups (%rcx), %xmm0
movups %xmm0, (%rbx)
movq %rbx, %rsi
movq 0x8(%rax), %rdx
movq %rdx, -0x40(%rbp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq -0x80(%rbp), %rdi
callq 0xb160
movq -0x48(%rbp), %rdi
cmpq %rbx, %rdi
je 0x20d44
callq 0xb430
leaq -0x90(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x20d59
callq 0xb430
leaq -0x80(%rbp), %rsi
movq %r15, %rdi
callq 0x207ee
leaq -0x60(%rbp), %rdi
callq 0xe470
leaq -0xd8(%rbp), %rdi
callq 0x138f0
movq -0x80(%rbp), %rdi
cmpq %r14, %rdi
je 0x20d88
callq 0xb430
addq $0xb8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
movq -0x48(%rbp), %rdi
cmpq %rbx, %rdi
je 0x20db0
callq 0xb430
jmp 0x20db0
movq %rax, %r14
leaq -0x90(%rbp), %rax
movq -0x10(%rax), %rdi
jmp 0x20df4
jmp 0x20dcb
movq %rax, %r14
jmp 0x20e07
movq %rax, %r14
jmp 0x20e13
jmp 0x20dcb
movq %rax, %r14
jmp 0x20dfe
movq %rax, %r14
jmp 0x20de6
movq %rax, %r14
movq -0x48(%rbp), %rdi
cmpq %rbx, %rdi
je 0x20de6
callq 0xb430
movq -0xa0(%rbp), %rdi
leaq -0x90(%rbp), %rax
cmpq %rax, %rdi
je 0x20dfe
callq 0xb430
leaq -0x60(%rbp), %rdi
callq 0xe470
leaq -0xd8(%rbp), %rdi
callq 0x138f0
movq -0x80(%rbp), %rdi
leaq -0x70(%rbp), %rax
cmpq %rax, %rdi
je 0x20e25
callq 0xb430
movq %r14, %rdi
callq 0xb7f0
nop