// File: /workspace/github_cpp_makefile_star2_O1/benjibc[P]json-universal-container/./boost_file/boost/unordered/detail/unique.hpp
// Function: boost::unordered::detail::table_impl<boost::unordered::detail::map<std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const, JSON>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, JSON, boost::hash<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>, std::equal_to<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>>>::copy_buckets_to(boost::unordered::detail::buckets<std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const, JSON>>, boost::unordered::detail::ptr_bucket, boost::unordered::detail::ptr_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const, JSON>>, boost::unordered::detail::mix64_policy<unsigned long>> const&, boost::unordered::detail::buckets<std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const, JSON>>, boost::unordered::detail::ptr_bucket, boost::unordered::detail::ptr_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const, JSON>>, boost::unordered::detail::mix64_policy<unsigned long>>&)
static void copy_buckets_to(buckets const& src, buckets& dst)
        {
            BOOST_ASSERT(!dst.buckets_);

            dst.create_buckets();

            node_constructor a(dst.node_alloc());

            iterator n = src.get_start();
            previous_pointer prev = dst.get_previous_start();

            while(n.node_) {
                a.construct_node();
                a.construct_value2(*n);

                node_pointer node = a.release();
                node->hash_ = n.node_->hash_;
                prev->next_ = static_cast<link_pointer>(node);
                ++dst.size_;
                ++n;

                prev = place_in_bucket(dst, prev);
            }
        }

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x20, %rsp
cmpq $0x0, (%rsi)
jne 0x861e
movq %rsi, %rbx
movq %rdi, %r14
movq %rsi, %rdi
callq 0x7768
leaq 0x18(%rbx), %rax
movq %rax, 0x8(%rsp)
movq $0x0, 0x10(%rsp)
movb $0x0, 0x18(%rsp)
movq (%r14), %rax
movq 0x8(%r14), %rcx
movq (%rax,%rcx,8), %r14
testq %r14, %r14
je 0x8606
movq 0x8(%rbx), %r15
shlq $0x3, %r15
addq (%rbx), %r15
addq $-0x50, %r14
leaq 0x8(%rsp), %r12
movq %r12, %rdi
callq 0x74c8
movq %r12, %rdi
movq %r14, %rsi
callq 0x8652
movq 0x10(%rsp), %rax
movq $0x0, 0x10(%rsp)
movq 0x58(%r14), %rcx
movq %rcx, 0x58(%rax)
leaq 0x50(%rax), %rcx
testq %rax, %rax
cmoveq %rax, %rcx
movq %rcx, (%r15)
incq 0x10(%rbx)
movq 0x50(%r14), %r13
leaq -0x50(%r13), %r14
movq %rbx, %rdi
movq %r15, %rsi
callq 0x794c
movq %rax, %r15
testq %r13, %r13
cmoveq %r13, %r14
jne 0x85ac
leaq 0x8(%rsp), %rdi
callq 0x7568
addq $0x20, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
leaq 0x1c99(%rip), %rdi      # 0xa2be
leaq 0x1407(%rip), %rsi      # 0x9a33
leaq 0x1c99(%rip), %rcx      # 0xa2cc
movl $0x29e, %edx            # imm = 0x29E
callq 0x20f0
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0x7568
movq %rbx, %rdi
callq 0x2240