// File: /workspace/github_cpp_makefile_star2_O2/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 0x6497
movq %rsi, %rbx
movq %rdi, %r15
movq %rsi, %rdi
callq 0x54b2
leaq 0x18(%rbx), %rax
leaq 0x8(%rsp), %r14
movq %rax, (%r14)
andq $0x0, 0x8(%r14)
movb $0x0, 0x10(%r14)
movq (%r15), %rax
movq 0x8(%r15), %rcx
movq (%rax,%rcx,8), %r15
movq 0x8(%rbx), %r12
shlq $0x3, %r12
addq (%rbx), %r12
leaq -0x50(%r15), %rax
testq %r15, %r15
cmovneq %rax, %r15
testq %r15, %r15
je 0x647f
movq %r14, %rdi
callq 0x50c4
movq %r14, %rdi
movq %r15, %rsi
callq 0x64cc
movq 0x10(%rsp), %rax
andq $0x0, 0x10(%rsp)
movq 0x58(%r15), %rcx
movq %rcx, 0x58(%rax)
leaq 0x50(%rax), %rcx
testq %rax, %rax
cmoveq %rax, %rcx
movq %rcx, (%r12)
incq 0x10(%rbx)
movq 0x50(%r15), %r13
leaq -0x50(%r13), %r15
movq %rbx, %rdi
movq %r12, %rsi
callq 0x5744
movq %rax, %r12
testq %r13, %r13
cmoveq %r13, %r15
jmp 0x6422
leaq 0x8(%rsp), %rdi
callq 0x5228
addq $0x20, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
leaq 0x1d8c(%rip), %rdi      # 0x822a
leaq 0x14fa(%rip), %rsi      # 0x799f
leaq 0x1d8c(%rip), %rcx      # 0x8238
movl $0x29e, %edx            # imm = 0x29E
callq 0x2100
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0x5228
movq %rbx, %rdi
callq 0x2250
nop