// File: demon386[P]git-store/./boost/function/function_base.hpp
// Function: boost::detail::function::functor_manager_common<boost::_bi::bind_t<std::vector<boost::program_options::basic_option<char>, std::allocator<boost::program_options::basic_option<char>>>, boost::_mfi::mf1<std::vector<boost::program_options::basic_option<char>, std::allocator<boost::program_options::basic_option<char>>>, boost::program_options::detail::cmdline, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>>&>, boost::_bi::list2<boost::_bi::value<boost::program_options::detail::cmdline*>, boost::arg<1>>>>::manage_small(boost::detail::function::function_buffer const&, boost::detail::function::function_buffer&, boost::detail::function::functor_manager_operation_type)
static inline void
        manage_small(const function_buffer& in_buffer, function_buffer& out_buffer, 
                functor_manager_operation_type op)
        {
          if (op == clone_functor_tag || op == move_functor_tag) {
            const functor_type* in_functor = 
              reinterpret_cast<const functor_type*>(&in_buffer.data);
            new (reinterpret_cast<void*>(&out_buffer.data)) functor_type(*in_functor);

            if (op == move_functor_tag) {
              functor_type* f = reinterpret_cast<functor_type*>(&in_buffer.data);
              (void)f; // suppress warning about the value of f not being used (MSVC)
              f->~Functor();
            }
          } else if (op == destroy_functor_tag) {
            // Some compilers (Borland, vc6, ...) are unhappy with ~functor_type.
             functor_type* f = reinterpret_cast<functor_type*>(&out_buffer.data);
             (void)f; // suppress warning about the value of f not being used (MSVC)
             f->~Functor();
          } else if (op == check_functor_type_tag) {
            const detail::sp_typeinfo& check_type 
              = *out_buffer.type.type;
            if (BOOST_FUNCTION_COMPARE_TYPE_ID(check_type, BOOST_SP_TYPEID(Functor)))
              out_buffer.obj_ptr = &in_buffer.data;
            else
              out_buffer.obj_ptr = 0;
          } else /* op == get_functor_type_tag */ {
            out_buffer.type.type = &BOOST_SP_TYPEID(Functor);
            out_buffer.type.const_qualified = false;
            out_buffer.type.volatile_qualified = false;            
          }
        }

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movl %edx, -0x14(%rbp)
cmpl $0x0, -0x14(%rbp)
je 0x1867f
cmpl $0x1, -0x14(%rbp)
jne 0x186b8
movq -0x8(%rbp), %rax
movq %rax, -0x20(%rbp)
movq -0x10(%rbp), %rax
movq -0x20(%rbp), %rcx
movq (%rcx), %rdx
movq %rdx, (%rax)
movq 0x8(%rcx), %rdx
movq %rdx, 0x8(%rax)
movq 0x10(%rcx), %rcx
movq %rcx, 0x10(%rax)
cmpl $0x1, -0x14(%rbp)
jne 0x186b3
movq -0x8(%rbp), %rax
movq %rax, -0x28(%rbp)
jmp 0x1873f
cmpl $0x2, -0x14(%rbp)
jne 0x186c8
movq -0x10(%rbp), %rax
movq %rax, -0x30(%rbp)
jmp 0x1873d
cmpl $0x3, -0x14(%rbp)
jne 0x1871d
movq -0x10(%rbp), %rax
movq (%rax), %rax
movq %rax, -0x38(%rbp)
movq -0x38(%rbp), %rdi
callq 0x18750
movq %rax, -0x40(%rbp)
leaq 0x7286b(%rip), %rdi     # 0x8af58
callq 0x18750
movq -0x40(%rbp), %rdi
movq %rax, %rsi
callq 0xd900
cmpl $0x0, %eax
jne 0x18710
movq -0x8(%rbp), %rcx
movq -0x10(%rbp), %rax
movq %rcx, (%rax)
jmp 0x1871b
movq -0x10(%rbp), %rax
movq $0x0, (%rax)
jmp 0x1873b
movq -0x10(%rbp), %rax
leaq 0x72830(%rip), %rcx     # 0x8af58
movq %rcx, (%rax)
movq -0x10(%rbp), %rax
movb $0x0, 0x8(%rax)
movq -0x10(%rbp), %rax
movb $0x0, 0x9(%rax)
jmp 0x1873d
jmp 0x1873f
addq $0x40, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
nop