// File: /workspace/github_cpp_makefile_star2_O3/demon386[P]git-store/./libs/program_options/src/value_semantic.cpp
// Function: boost::program_options::error_with_option_name::substitute_placeholders(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) const
void error_with_option_name::substitute_placeholders(const string& error_template) const
    {
        m_message = error_template;
        std::map<std::string, std::string> substitutions(m_substitutions);
        substitutions["canonical_option"]   = get_canonical_option_name();
        substitutions["prefix"]             = get_canonical_option_prefix();


        //
        //  replace placeholder with defaults if values are missing 
        // 
        for (map<string, string_pair>::const_iterator iter = m_substitution_defaults.begin();
              iter != m_substitution_defaults.end(); ++iter)
        {
            // missing parameter: use default
            if (substitutions.count(iter->first) == 0 ||
                substitutions[iter->first].length() == 0)
                replace_token(iter->second.first, iter->second.second);
        }


        //
        //  replace placeholder with values
        //  placeholder are denoted by surrounding '%'
        // 
        for (map<string, string>::iterator iter = substitutions.begin();
              iter != substitutions.end(); ++iter)
            replace_token('%' + iter->first + '%', iter->second);
    }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x78, %rsp
movq %rdi, %rbx
addq $0x98, %rdi
callq 0xb290
leaq 0x18(%rbx), %rsi
leaq -0xa0(%rbp), %rdi
callq 0x11c56
leaq -0x70(%rbp), %rdi
movq %rbx, -0x30(%rbp)
movq %rbx, %rsi
callq 0x204b2
leaq -0x40(%rbp), %rax
movq %rax, -0x10(%rax)
leaq 0x1457b(%rip), %rsi     # 0x34db8
leaq 0x14584(%rip), %rdx     # 0x34dc8
leaq -0x50(%rbp), %rdi
callq 0xf8ee
leaq -0xa0(%rbp), %rdi
leaq -0x50(%rbp), %rsi
callq 0x13908
leaq -0x70(%rbp), %rsi
movq %rax, %rdi
callq 0xb560
movq -0x50(%rbp), %rdi
leaq -0x40(%rbp), %rax
cmpq %rax, %rdi
je 0x2087b
callq 0xb430
leaq -0x60(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x2088d
callq 0xb430
leaq -0x70(%rbp), %rdi
movq -0x30(%rbp), %rsi
callq 0x203da
leaq -0x50(%rbp), %rdi
leaq -0x40(%rbp), %rax
movq %rax, (%rdi)
leaq 0x14532(%rip), %rsi     # 0x34dde
leaq 0x14531(%rip), %rdx     # 0x34de4
callq 0xf8ee
leaq -0xa0(%rbp), %rdi
leaq -0x50(%rbp), %rsi
callq 0x13908
leaq -0x70(%rbp), %rsi
movq %rax, %rdi
callq 0xb560
movq -0x50(%rbp), %rdi
leaq -0x40(%rbp), %rax
cmpq %rax, %rdi
je 0x208e6
callq 0xb430
movq -0x70(%rbp), %rdi
leaq -0x60(%rbp), %rax
cmpq %rax, %rdi
je 0x208f8
callq 0xb430
movq -0x30(%rbp), %rax
movq 0x60(%rax), %r14
leaq 0x50(%rax), %r13
cmpq %r13, %r14
je 0x2095e
leaq -0x98(%rbp), %rbx
leaq -0xa0(%rbp), %r15
leaq 0x20(%r14), %r12
movq %r15, %rdi
movq %r12, %rsi
callq 0x13b50
cmpq %rbx, %rax
je 0x2093d
movq %r15, %rdi
movq %r12, %rsi
callq 0xf106
cmpq $0x0, 0x8(%rax)
jne 0x2094e
leaq 0x40(%r14), %rsi
leaq 0x60(%r14), %rdx
movq -0x30(%rbp), %rdi
callq 0x20382
movq %r14, %rdi
callq 0xb510
movq %rax, %r14
cmpq %r13, %rax
jne 0x20917
leaq -0x98(%rbp), %r13
movq 0x10(%r13), %r14
cmpq %r13, %r14
je 0x20a2d
leaq -0x50(%rbp), %r15
leaq -0x70(%rbp), %r12
leaq 0x20(%r14), %rdx
movq %r15, %rdi
movl $0x25, %esi
callq 0x218a3
movq -0x48(%rbp), %rsi
movl $0x1, %ecx
movq %r15, %rdi
xorl %edx, %edx
movl $0x25, %r8d
callq 0xb850
leaq -0x60(%rbp), %rsi
movq %rsi, -0x70(%rbp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x209c8
movq %rdx, -0x70(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x60(%rbp)
jmp 0x209ce
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq 0x8(%rax), %rdx
movq %rdx, -0x68(%rbp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x40(%r14), %rdx
movq -0x30(%rbp), %rdi
movq %r12, %rsi
callq 0x20382
movq -0x70(%rbp), %rdi
leaq -0x60(%rbp), %rax
cmpq %rax, %rdi
je 0x20a07
callq 0xb430
movq -0x50(%rbp), %rdi
leaq -0x40(%rbp), %rax
cmpq %rax, %rdi
je 0x20a19
callq 0xb430
movq %r14, %rdi
callq 0xb330
movq %rax, %r14
cmpq %r13, %rax
jne 0x2097a
leaq -0xa0(%rbp), %rdi
callq 0xf714
addq $0x78, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq -0x50(%rbp), %rdi
leaq -0x40(%rbp), %rax
cmpq %rax, %rdi
je 0x20a62
callq 0xb430
jmp 0x20a62
movq %rax, %rbx
movq -0x70(%rbp), %rdi
leaq -0x60(%rbp), %rax
jmp 0x20ab8
jmp 0x20ac4
movq %rax, %rbx
movq -0x50(%rbp), %rdi
leaq -0x40(%rbp), %rax
cmpq %rax, %rdi
je 0x20a88
callq 0xb430
jmp 0x20a88
movq %rax, %rbx
leaq -0x60(%rbp), %rax
movq -0x10(%rax), %rdi
jmp 0x20ab8
jmp 0x20ac4
jmp 0x20ac4
movq %rax, %rbx
jmp 0x20ab0
movq %rax, %rbx
movq -0x70(%rbp), %rdi
leaq -0x60(%rbp), %rax
cmpq %rax, %rdi
je 0x20ab0
callq 0xb430
movq -0x50(%rbp), %rdi
leaq -0x40(%rbp), %rax
cmpq %rax, %rdi
je 0x20ac7
callq 0xb430
jmp 0x20ac7
movq %rax, %rbx
leaq -0xa0(%rbp), %rdi
callq 0xf714
movq %rbx, %rdi
callq 0xb7f0
nop