// File: /workspace/github_cpp_makefile_star2_O3/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 %r12
pushq %rbx
subq $0x18, %rsp
cmpq $0x0, (%rsi)
jne 0x8610
movq %rsi, %rbx
movq %rdi, %r14
movq %rsi, %rdi
callq 0x7748
leaq 0x18(%rbx), %rax
movq %rax, (%rsp)
movq $0x0, 0x8(%rsp)
movb $0x0, 0x10(%rsp)
movq (%r14), %rax
movq 0x8(%r14), %rcx
movq (%rax,%rcx,8), %r12
testq %r12, %r12
je 0x85fc
movq 0x8(%rbx), %r14
shlq $0x3, %r14
addq (%rbx), %r14
movq %rsp, %r15
movq %r15, %rdi
callq 0x74b4
leaq -0x50(%r12), %rsi
movq %r15, %rdi
callq 0x8642
movq 0x8(%rsp), %rax
movq $0x0, 0x8(%rsp)
movq 0x8(%r12), %rcx
movq %rcx, 0x58(%rax)
leaq 0x50(%rax), %rcx
testq %rax, %rax
cmoveq %rax, %rcx
movq %rcx, (%r14)
incq 0x10(%rbx)
movq (%r12), %r12
movq %rbx, %rdi
movq %r14, %rsi
callq 0x792e
movq %rax, %r14
testq %r12, %r12
jne 0x85a7
movq %rsp, %rdi
callq 0x7554
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
leaq 0x1ca7(%rip), %rdi      # 0xa2be
leaq 0x1415(%rip), %rsi      # 0x9a33
leaq 0x1ca7(%rip), %rcx      # 0xa2cc
movl $0x29e, %edx            # imm = 0x29E
callq 0x20f0
movq %rax, %rbx
movq %rsp, %rdi
callq 0x7554
movq %rbx, %rdi
callq 0x2240