LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_cpp_makefile_star2_O1/benjibc[P]json-universal-container/./boost_file/boost/unordered/detail/buckets.hpp
// Function: void boost::unordered::detail::node_constructor<std::allocator<boost::unordered::detail::ptr_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const, JSON>>>>::construct_value<boost::unordered::piecewise_construct_t const&, boost::tuples::tuple<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type>, boost::tuples::tuple<boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type>>(boost::unordered::piecewise_construct_t const&, boost::tuples::tuple<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type>&&, boost::tuples::tuple<boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type>&&)
void construct_value(BOOST_UNORDERED_EMPLACE_ARGS)
        {
            BOOST_ASSERT(node_ && !constructed_);
            boost::unordered::detail::construct_node(alloc_,
                boost::addressof(*node_), BOOST_UNORDERED_EMPLACE_FORWARD);
            node_->init(static_cast<typename node::link_pointer>(node_));
            constructed_ = true;
        }

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq 0x8(%rdi), %r14
testq %r14, %r14
je 0x7549
movq %rdi, %rbx
cmpb $0x1, 0x10(%rdi)
je 0x7549
leaq 0x10(%r14), %rax
xorps %xmm0, %xmm0
movups %xmm0, 0x50(%r14)
movq %rax, (%r14)
movq (%rdx), %rsi
movq 0x8(%rdx), %rdx
addq %rsi, %rdx
movq %r14, %rdi
callq 0x812c
movl $0x0, 0x48(%r14)
movb $0x1, 0x10(%rbx)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
leaq 0x1f2d(%rip), %rdi      # 0x947d
leaq 0x1f3d(%rip), %rsi      # 0x9494
leaq 0x1f66(%rip), %rcx      # 0x94c4
movl $0x4a, %edx
callq 0x20f0
// File: /workspace/github_cpp_makefile_star2_O1/benjibc[P]json-universal-container/./boost_file/boost/unordered/detail/buckets.hpp
// Function: boost::unordered::detail::node_constructor<std::allocator<boost::unordered::detail::ptr_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const, JSON>>>>::~node_constructor()
node_constructor<Alloc>::~node_constructor()
    {
        if (node_) {
            if (constructed_) {
                boost::unordered::detail::destroy_node(alloc_,
                    boost::addressof(*node_));
            }

            node_allocator_traits::deallocate(alloc_, node_, 1);
        }
    }

// Assembly:
movq 0x8(%rdi), %rsi
testq %rsi, %rsi
je 0x758d
pushq %rbx
movq %rdi, %rbx
cmpb $0x1, 0x10(%rdi)
jne 0x7583
movq (%rbx), %rdi
callq 0x762c
movq 0x8(%rbx), %rdi
popq %rbx
jmp 0x2170
retq
// File: /workspace/github_cpp_makefile_star2_O1/benjibc[P]json-universal-container/./boost_file/boost/unordered/detail/unique.hpp
// Function: boost::unordered::iterator_detail::iterator<boost::unordered::detail::ptr_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const, JSON>>*, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const, JSON>> 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>>>>>::find_node_impl<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>>>>(unsigned long, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, std::equal_to<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>> const&) const
iterator find_node_impl(
                std::size_t key_hash,
                Key const& k,
                Pred const& eq) const
        {
            std::size_t bucket_index =
                policy::to_bucket(this->bucket_count_, key_hash);
            iterator n = this->get_start(bucket_index);

            for (;;)
            {
                if (!n.node_) return n;

                std::size_t node_hash = n.node_->hash_;
                if (key_hash == node_hash)
                {
                    if (eq(k, this->get_key(*n)))
                        return n;
                }
                else
                {
                    if (policy::to_bucket(this->bucket_count_, node_hash)
                            != bucket_index)
                        return iterator();
                }

                ++n;
            }
        }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq (%rdi), %rax
movq 0x8(%rdi), %r13
decq %r13
movq %r13, %rbp
andq %rsi, %rbp
movq (%rax,%rbp,8), %rax
testq %rax, %rax
je 0x75c5
movq (%rax), %rax
leaq -0x50(%rax), %r14
testq %rax, %rax
cmoveq %rax, %r14
jmp 0x75c8
xorl %r14d, %r14d
testq %r14, %r14
je 0x761a
movq (%rdx), %r15
movq 0x8(%rdx), %r12
movq 0x58(%r14), %rax
cmpq %rbx, %rax
jne 0x75fc
cmpq 0x8(%r14), %r12
jne 0x7604
testq %r12, %r12
je 0x761a
movq (%r14), %rsi
movq %r15, %rdi
movq %r12, %rdx
callq 0x21a0
testl %eax, %eax
jne 0x7604
jmp 0x761a
andq %r13, %rax
cmpq %rbp, %rax
jne 0x7617
movq 0x50(%r14), %rax
leaq -0x50(%rax), %r14
testq %rax, %rax
cmoveq %rax, %r14
jne 0x75d4
jmp 0x761a
xorl %r14d, %r14d
movq %r14, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/benjibc[P]json-universal-container/./boost_file/boost/unordered/detail/table.hpp
// Function: boost::unordered::detail::table<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>>>>>::min_buckets_for_size(unsigned long) const
std::size_t min_buckets_for_size(std::size_t size) const
        {
            BOOST_ASSERT(this->mlf_ >= minimum_max_load_factor);
    
            using namespace std;
    
            // From 6.3.1/13:
            // size < mlf_ * count
            // => count > size / mlf_
            //
            // Or from rehash post-condition:
            // count > size / mlf_

            return policy::new_bucket_count(
                boost::unordered::detail::double_to_size(floor(
                    static_cast<double>(size) /
                    static_cast<double>(mlf_))) + 1);
        }

// Assembly:
pushq %rax
movss 0x1c(%rdi), %xmm1
ucomiss 0x1a61(%rip), %xmm1     # 0x90f0
jb 0x7748
movq %rsi, %xmm2
punpckldq 0x19ee(%rip), %xmm2 # xmm2 = xmm2[0],mem[0],xmm2[1],mem[1]
subpd 0x19f6(%rip), %xmm2     # 0x90a0
movapd %xmm2, %xmm0
unpckhpd %xmm2, %xmm0            # xmm0 = xmm0[1],xmm2[1]
addsd %xmm2, %xmm0
cvtss2sd %xmm1, %xmm1
divsd %xmm1, %xmm0
callq 0x2220
cvttsd2si %xmm0, %rax
movq %rax, %rcx
movapd %xmm0, %xmm1
subsd 0x1a09(%rip), %xmm1     # 0x90e0
sarq $0x3f, %rcx
cvttsd2si %xmm1, %rdx
andq %rcx, %rdx
orq %rax, %rdx
ucomisd 0x19fa(%rip), %xmm0     # 0x90e8
movq $-0x1, %rcx
cmovbq %rdx, %rcx
leaq 0x1(%rcx), %rdx
movl $0x4, %eax
cmpq $0x5, %rdx
jb 0x7746
movq %rcx, %rax
shrq %rax
orq %rcx, %rax
movq %rax, %rcx
shrq $0x2, %rcx
orq %rax, %rcx
movq %rcx, %rax
shrq $0x4, %rax
orq %rcx, %rax
movq %rax, %rcx
shrq $0x8, %rcx
orq %rax, %rcx
movq %rcx, %rdx
shrq $0x10, %rdx
orq %rcx, %rdx
movq %rdx, %rax
shrq $0x20, %rax
orq %rdx, %rax
incq %rax
popq %rcx
retq
leaq 0x1f84(%rip), %rdi      # 0x96d3
leaq 0x1fa3(%rip), %rsi      # 0x96f9
leaq 0x1fca(%rip), %rcx      # 0x9727
movl $0x8b, %edx
callq 0x20f0
nop
// File: /workspace/github_cpp_makefile_star2_O1/benjibc[P]json-universal-container/./boost_file/boost/unordered/detail/buckets.hpp
// Function: 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>>::create_buckets()
void create_buckets()
        {
            boost::unordered::detail::array_constructor<bucket_allocator>
                constructor(bucket_alloc());
    
            // Creates an extra bucket to act as the start node.
            constructor.construct(bucket(), this->bucket_count_ + 1);
    
            if (bucket::extra_node)
            {
                node_constructor a(this->node_alloc());
                a.construct_node();

                // Since this node is just to mark the beginning it doesn't
                // contain a value, so just construct node::node_base
                // which containers the pointer to the next element.
                node_allocator_traits::construct(node_alloc(),
                    static_cast<typename node::node_base*>(
                        boost::addressof(*a.get())),
                    typename node::node_base());

                (constructor.get() +
                    static_cast<std::ptrdiff_t>(this->bucket_count_))->next_ =
                        a.release();
            }

            this->buckets_ = constructor.release();
        }

// Assembly:
pushq %rbx
subq $0x30, %rsp
movq %rdi, %rbx
leaq 0x18(%rdi), %rax
leaq 0x10(%rsp), %rdi
movq %rax, (%rdi)
xorps %xmm0, %xmm0
movups %xmm0, 0x8(%rdi)
xorl %eax, %eax
movq %rax, 0x18(%rdi)
leaq 0x8(%rsp), %rsi
movq %rax, (%rsi)
movq 0x8(%rbx), %rdx
incq %rdx
callq 0x78ba
movq 0x18(%rsp), %rax
movq $0x0, 0x18(%rsp)
movq %rax, (%rbx)
addq $0x30, %rsp
popq %rbx
retq
movq %rax, %rbx
movq 0x18(%rsp), %rdi
testq %rdi, %rdi
je 0x77c6
callq 0x2170
movq %rbx, %rdi
callq 0x2240
// 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>>>>>::rehash_impl(unsigned long)
void rehash_impl(std::size_t num_buckets)
        {
            BOOST_ASSERT(this->size_);

            buckets dst(this->node_alloc(), num_buckets);
            dst.create_buckets();

            previous_pointer src_start = this->get_previous_start();
            previous_pointer dst_start = dst.get_previous_start();

            dst_start->next_ = src_start->next_;
            src_start->next_ = link_pointer();
            dst.size_ = this->size_;
            this->size_ = 0;

            previous_pointer prev = dst.get_previous_start();
            while (prev->next_)
                prev = place_in_bucket(dst, prev);

            // Swap the new nodes back into the container and setup the
            // variables.
            dst.swap(*this); // no throw
        }

// Assembly:
pushq %r14
pushq %rbx
subq $0x28, %rsp
cmpq $0x0, 0x10(%rdi)
je 0x787c
movq %rdi, %rbx
xorl %eax, %eax
leaq 0x8(%rsp), %rdi
movq %rax, (%rdi)
movq %rsi, 0x8(%rdi)
movq %rax, 0x10(%rdi)
callq 0x7768
movq (%rbx), %rdx
movq 0x8(%rbx), %rsi
movq 0x8(%rsp), %rax
movq 0x10(%rsp), %rcx
movq (%rdx,%rsi,8), %rdi
movq %rdi, (%rax,%rcx,8)
xorl %edi, %edi
movq %rdi, (%rdx,%rsi,8)
movq 0x10(%rbx), %rdx
movq %rdx, 0x18(%rsp)
movq %rdi, 0x10(%rbx)
cmpq %rdi, (%rax,%rcx,8)
je 0x7846
leaq (%rax,%rcx,8), %rax
leaq 0x8(%rsp), %r14
movq %r14, %rdi
movq %rax, %rsi
callq 0x794c
cmpq $0x0, (%rax)
jne 0x7835
leaq 0x8(%rsp), %rdi
movq (%rdi), %rax
movq (%rbx), %rcx
movq %rcx, (%rdi)
movq %rax, (%rbx)
movq 0x8(%rbx), %rax
movq 0x10(%rbx), %rcx
movups 0x8(%rdi), %xmm0
movq %rax, 0x8(%rdi)
movq %rcx, 0x10(%rdi)
movups %xmm0, 0x8(%rbx)
callq 0x79aa
addq $0x28, %rsp
popq %rbx
popq %r14
retq
leaq 0x23ad(%rip), %rdi      # 0x9c30
leaq 0x21a9(%rip), %rsi      # 0x9a33
leaq 0x21d1(%rip), %rcx      # 0x9a62
movl $0x2d7, %edx            # imm = 0x2D7
callq 0x20f0
jmp 0x78b2
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0x79aa
movq %rbx, %rdi
callq 0x2240
movq %rax, %rdi
callq 0x699d
// File: /workspace/github_cpp_makefile_star2_O1/benjibc[P]json-universal-container/./boost_file/boost/unordered/detail/allocate.hpp
// Function: void boost::unordered::detail::array_constructor<std::allocator<boost::unordered::detail::ptr_bucket>>::construct<boost::unordered::detail::ptr_bucket>(boost::unordered::detail::ptr_bucket const&, unsigned long)
void construct(V const& v, std::size_t l)
        {
            BOOST_ASSERT(!ptr_);
            length_ = l;
            ptr_ = traits::allocate(alloc_, length_);
            pointer end = ptr_ + static_cast<std::ptrdiff_t>(length_);
            for(constructed_ = ptr_; constructed_ != end; ++constructed_)
                traits::construct(alloc_, boost::addressof(*constructed_), v);
        }

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
cmpq $0x0, 0x8(%rdi)
jne 0x7910
movq %rsi, %rbx
movq %rdi, %r14
movq %rdx, 0x18(%rdi)
movq (%rdi), %rdi
movq %rdx, %rsi
xorl %edx, %edx
callq 0x7930
movq %rax, 0x8(%r14)
movq 0x18(%r14), %rcx
movq %rax, 0x10(%r14)
testq %rcx, %rcx
je 0x7908
leaq (%rax,%rcx,8), %rcx
movq (%rbx), %rdx
movq %rdx, (%rax)
movq 0x10(%r14), %rax
addq $0x8, %rax
movq %rax, 0x10(%r14)
cmpq %rcx, %rax
jne 0x78f1
addq $0x8, %rsp
popq %rbx
popq %r14
retq
leaq 0x1fee(%rip), %rdi      # 0x9905
leaq 0x1fed(%rip), %rsi      # 0x990b
leaq 0x2017(%rip), %rcx      # 0x993c
movl $0x4bf, %edx            # imm = 0x4BF
callq 0x20f0
nop
// 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>>>>>::place_in_bucket(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>>&, boost::unordered::detail::ptr_bucket*)
static previous_pointer place_in_bucket(buckets& dst,
                previous_pointer prev)
        {
            node_pointer n = static_cast<node_pointer>(prev->next_);
            bucket_pointer b = dst.get_bucket(
                buckets::to_bucket(dst.bucket_count_, n->hash_));

            if (!b->next_) {
                b->next_ = prev;
                return static_cast<previous_pointer>(n);
            }
            else {
                prev->next_ = n->next_;
                n->next_ = b->next_->next_;
                b->next_->next_ = static_cast<link_pointer>(n);
                return prev;
            }
        }

// Assembly:
movq %rsi, %rax
movq (%rsi), %rcx
leaq -0x50(%rcx), %rdx
testq %rcx, %rcx
cmoveq %rcx, %rdx
movq (%rdi), %rsi
movq 0x8(%rdi), %rdi
decq %rdi
andq 0x58(%rdx), %rdi
cmpq $0x0, (%rsi,%rdi,8)
je 0x7997
leaq 0x50(%rdx), %r8
testq %rcx, %rcx
movq 0x50(%rdx), %r9
movq %r9, (%rax)
movq (%rsi,%rdi,8), %r9
movq (%r9), %r9
movq %r9, 0x50(%rdx)
cmoveq %rcx, %r8
movq (%rsi,%rdi,8), %rcx
movq %r8, (%rcx)
retq
addq $0x50, %rdx
testq %rcx, %rcx
movq %rax, (%rsi,%rdi,8)
cmoveq %rcx, %rdx
movq %rdx, %rax
retq
// File: /workspace/github_cpp_makefile_star2_O1/benjibc[P]json-universal-container/./boost_file/boost/unordered/detail/buckets.hpp
// Function: 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>>::delete_buckets()
void delete_buckets()
        {
            if(this->buckets_) {
                previous_pointer prev = this->get_previous_start();

                while(prev->next_) {
                    node_pointer n = static_cast<node_pointer>(prev->next_);
                    prev->next_ = n->next_;
                    delete_node(iterator(n));
                }

                delete_extra_node(prev);

                bucket_pointer end = this->get_bucket(this->bucket_count_ + 1);
                for(bucket_pointer it = this->buckets_; it != end; ++it)
                {
                    bucket_allocator_traits::destroy(bucket_alloc(),
                        boost::addressof(*it));
                }

                bucket_allocator_traits::deallocate(bucket_alloc(),
                    this->buckets_, this->bucket_count_ + 1);
    
                this->buckets_ = bucket_pointer();
            }

            BOOST_ASSERT(!this->size_);
        }

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq (%rdi), %r15
testq %r15, %r15
je 0x7a3b
movq 0x8(%rbx), %r12
movq (%r15,%r12,8), %r14
testq %r14, %r14
je 0x7a2c
movq (%r14), %rax
movq %rax, (%r15,%r12,8)
leaq -0x30(%r14), %rdi
movl -0x8(%r14), %eax
cmpl $0x3, %eax
je 0x7a03
cmpl $0x2, %eax
je 0x79fc
cmpl $0x1, %eax
jne 0x7a08
movq -0x30(%r14), %rdi
leaq -0x20(%r14), %rax
cmpq %rax, %rdi
je 0x7a08
callq 0x2170
jmp 0x7a08
callq 0x79aa
jmp 0x7a08
callq 0x44b0
movq -0x50(%r14), %rdi
leaq -0x40(%r14), %rax
cmpq %rax, %rdi
je 0x7a1a
callq 0x2170
addq $-0x50, %r14
movq %r14, %rdi
callq 0x2170
decq 0x10(%rbx)
jmp 0x79c1
movq (%rbx), %rdi
callq 0x2170
movq $0x0, (%rbx)
cmpq $0x0, 0x10(%rbx)
jne 0x7a4e
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
leaq 0x21da(%rip), %rdi      # 0x9c2f
leaq 0x1a38(%rip), %rsi      # 0x9494
leaq 0x21d9(%rip), %rcx      # 0x9c3c
movl $0x342, %edx            # imm = 0x342
callq 0x20f0
movq %rax, %rdi
callq 0x699d
nop
// File: /workspace/github_cpp_makefile_star2_O1/benjibc[P]json-universal-container/./boost_file/boost/container/vector.hpp
// Function: boost::container::vector<JSON, std::allocator<JSON>>::vector(unsigned long)
explicit vector(size_type n)
      :  base_t()
   {
      //Allocate
      size_type real_cap;
      std::pair<pointer, bool> ret =
         this->allocation_command(allocate_new, n, n, real_cap, this->members_.m_start);
      T *new_mem = container_detail::to_raw_pointer(ret.first);
      //Anti-exception rollback
      typename value_traits::ArrayDeallocator scoped_alloc(new_mem, this->alloc(), real_cap);
      //Default constructor
      container_detail::default_construct_aux_proxy<A, T*> proxy(this->alloc(), n);
      proxy.uninitialized_copy_remaining_to(new_mem);
      //All ok, commit
      this->members_.m_start = ret.first;
      this->members_.m_size  = n;
      this->members_.m_capacity = real_cap;
      scoped_alloc.release();
   }

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x20, %rsp
movq %rsi, %r14
movq %rdi, %rbx
xorps %xmm0, %xmm0
movups %xmm0, (%rdi)
movq $0x0, 0x10(%rdi)
xorl %edx, %edx
callq 0x70ae
movq %rax, %r15
leaq 0x6232(%rip), %rax      # 0xdd10
leaq 0x8(%rsp), %rdi
movq %rax, (%rdi)
movq %rbx, 0x8(%rdi)
movq %r14, 0x10(%rdi)
movq %r15, %rsi
movq %r14, %rdx
callq 0x7c22
movq %r15, (%rbx)
movq %r14, 0x8(%rbx)
movq %r14, 0x10(%rbx)
addq $0x20, %rsp
popq %rbx
popq %r14
popq %r15
retq
movq %rax, %r14
testq %r15, %r15
je 0x7b23
movq %r15, %rdi
callq 0x2170
jmp 0x7b23
movq %rax, %r14
movq %rbx, %rdi
callq 0x44b0
movq %r14, %rdi
callq 0x2240
nop
// File: /workspace/github_cpp_makefile_star2_O1/benjibc[P]json-universal-container/./boost_file/boost/container/detail/advanced_insert_int.hpp
// Function: boost::container::container_detail::default_construct_aux_proxy<std::allocator<JSON>, JSON*>::uninitialized_copy_some_and_update(JSON*, long, bool)
virtual void uninitialized_copy_some_and_update(Iterator pos, difference_type division_count, bool first_n)
   {
      size_type new_count;
      if(first_n){
         new_count = division_count;
      }
      else{
         BOOST_ASSERT(difference_type(this->count_)>= division_count);
         new_count = this->count_ - division_count;
      }
      this->priv_uninitialized_copy(pos, new_count);
   }

// Assembly:
movq %rdx, %rax
testl %ecx, %ecx
je 0x7b75
movq %rax, %rdx
jmp 0x7c22
movq 0x10(%rdi), %rdx
subq %rax, %rdx
jl 0x7b83
jmp 0x7c22
pushq %rax
leaq 0x23ee(%rip), %rdi      # 0x9f79
leaq 0x22f5(%rip), %rsi      # 0x9e87
leaq 0x240f(%rip), %rcx      # 0x9fa8
movl $0x7e, %edx
callq 0x20f0
nop
// File: /workspace/github_cpp_makefile_star2_O1/benjibc[P]json-universal-container/./boost_file/boost/container/detail/advanced_insert_int.hpp
// Function: boost::container::container_detail::default_construct_aux_proxy<std::allocator<JSON>, JSON*>::copy_some_and_update(JSON*, long, bool)
virtual void copy_some_and_update(Iterator , difference_type division_count, bool first_n)
   {
      BOOST_ASSERT(this->count_ == 0);
      size_type new_count;
      if(first_n){
         new_count = division_count;
      }
      else{
         BOOST_ASSERT(difference_type(this->count_)>= division_count);
         new_count = this->count_ - division_count;
      }
      //This function should never called with a count different to zero
      BOOST_ASSERT(new_count == 0);
      (void)new_count;
   }

// Assembly:
pushq %rax
cmpq $0x0, 0x10(%rdi)
jne 0x7bbf
testb %cl, %cl
jne 0x7bb8
testq %rdx, %rdx
jg 0x7bfd
negq %rdx
testq %rdx, %rdx
jne 0x7bde
popq %rax
retq
leaq 0x22af(%rip), %rdi      # 0x9e75
leaq 0x22ba(%rip), %rsi      # 0x9e87
leaq 0x2589(%rip), %rcx      # 0xa15d
movl $0x86, %edx
callq 0x20f0
leaq 0x2648(%rip), %rdi      # 0xa22d
leaq 0x229b(%rip), %rsi      # 0x9e87
leaq 0x256a(%rip), %rcx      # 0xa15d
movl $0x90, %edx
callq 0x20f0
leaq 0x2375(%rip), %rdi      # 0x9f79
leaq 0x227c(%rip), %rsi      # 0x9e87
leaq 0x254b(%rip), %rcx      # 0xa15d
movl $0x8c, %edx
callq 0x20f0
// File: /workspace/github_cpp_makefile_star2_O1/benjibc[P]json-universal-container/./boost_file/boost/container/detail/advanced_insert_int.hpp
// Function: boost::container::container_detail::default_construct_aux_proxy<std::allocator<JSON>, JSON*>::priv_uninitialized_copy(JSON*, unsigned long)
void priv_uninitialized_copy(Iterator p, const size_type n)
   {
      BOOST_ASSERT(n <= this->count_);
      Iterator orig_p = p;
      size_type i = 0;
      try{
         for(; i < n; ++i, ++p){
            alloc_traits::construct(this->a_, container_detail::to_raw_pointer(&*p));
         }
      }
      catch(...){
         while(i--){
            alloc_traits::destroy(this->a_, container_detail::to_raw_pointer(&*orig_p++));
         }
         throw;
      }
      this->count_ -= n;
   }

// Assembly:
pushq %rax
movq 0x10(%rdi), %rax
subq %rdx, %rax
jb 0x7d46
testq %rdx, %rdx
je 0x7d40
leaq 0x3(%rdx), %rcx
andq $-0x4, %rcx
decq %rdx
movq %rdx, %xmm0
pshufd $0x44, %xmm0, %xmm0     # xmm0 = xmm0[0,1,0,1]
addq $0xb8, %rsi
xorl %edx, %edx
movdqa 0x1451(%rip), %xmm1     # 0x90b0
movdqa 0x1459(%rip), %xmm2     # 0x90c0
movdqa 0x1461(%rip), %xmm3     # 0x90d0
pxor %xmm3, %xmm0
pcmpeqd %xmm4, %xmm4
movq %rdx, %xmm5
pshufd $0x44, %xmm5, %xmm5     # xmm5 = xmm5[0,1,0,1]
movdqa %xmm5, %xmm6
por %xmm2, %xmm6
pxor %xmm3, %xmm6
movdqa %xmm6, %xmm7
pcmpgtd %xmm0, %xmm7
pcmpeqd %xmm0, %xmm6
pshufd $0xf5, %xmm6, %xmm8     # xmm8 = xmm6[1,1,3,3]
pand %xmm7, %xmm8
pshufd $0xf5, %xmm7, %xmm6     # xmm6 = xmm7[1,1,3,3]
por %xmm8, %xmm6
movd %xmm6, %r8d
notl %r8d
testb $0x1, %r8b
je 0x7cc6
movl $0x0, -0x90(%rsi)
pxor %xmm4, %xmm6
pextrw $0x4, %xmm6, %r8d
testb $0x1, %r8b
je 0x7cdd
movl $0x0, -0x60(%rsi)
por %xmm1, %xmm5
pxor %xmm3, %xmm5
movdqa %xmm5, %xmm6
pcmpgtd %xmm0, %xmm6
pcmpeqd %xmm0, %xmm5
pshufd $0xf5, %xmm5, %xmm7     # xmm7 = xmm5[1,1,3,3]
pand %xmm6, %xmm7
pshufd $0xf5, %xmm6, %xmm5     # xmm5 = xmm6[1,1,3,3]
por %xmm7, %xmm5
pxor %xmm4, %xmm5
pextrw $0x0, %xmm5, %r8d
testb $0x1, %r8b
je 0x7d1a
movl $0x0, -0x30(%rsi)
pextrw $0x4, %xmm5, %r8d
testb $0x1, %r8b
je 0x7d2c
movl $0x0, (%rsi)
addq $0x4, %rdx
addq $0xc0, %rsi
cmpq %rdx, %rcx
jne 0x7c77
movq %rax, 0x10(%rdi)
popq %rax
retq
leaq 0x2339(%rip), %rdi      # 0xa086
leaq 0x2133(%rip), %rsi      # 0x9e87
leaq 0x233d(%rip), %rcx      # 0xa098
movl $0x97, %edx
callq 0x20f0
nop
// File: /workspace/github_cpp_makefile_star2_O1/benjibc[P]json-universal-container/./boost_file/boost/unordered/detail/buckets.hpp
// Function: void boost::unordered::detail::node_constructor<std::allocator<boost::unordered::detail::ptr_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const, JSON>>>>::construct_value2<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const, JSON>&>(std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const, JSON>&)
void construct_value2(BOOST_FWD_REF(A0) a0)
        {
            BOOST_ASSERT(node_ && !constructed_);

            boost::unordered::detail::construct_node(alloc_,
                boost::addressof(*node_),
                BOOST_UNORDERED_EMPLACE_ARGS1(boost::forward<A0>(a0)));

            constructed_ = true;
            node_->init(static_cast<typename node::link_pointer>(node_));
        }

// Assembly:
pushq %rbx
movq %rdi, %rbx
movq 0x8(%rdi), %rdi
testq %rdi, %rdi
je 0x8677
cmpb $0x1, 0x10(%rbx)
je 0x8677
xorps %xmm0, %xmm0
movups %xmm0, 0x50(%rdi)
callq 0x8696
movb $0x1, 0x10(%rbx)
popq %rbx
retq
leaq 0xdff(%rip), %rdi       # 0x947d
leaq 0xe0f(%rip), %rsi       # 0x9494
leaq 0x1e27(%rip), %rcx      # 0xa4b3
movl $0x54, %edx
callq 0x20f0
// File: /workspace/github_cpp_makefile_star2_O1/frolosofsky[P]pbft/pbft_types.cpp
// Function: Node::unlink(unsigned long, bool)
bool Node::unlink(uintptr_t node, bool release_link) {
    auto it = _links.find(node);
    if(it == _links.end())
        return false;
    if(release_link) {
        auto link_ptr = it->second.lock();
        assert(link_ptr != nullptr);
        link_ptr->release(id());
    }
    _links.erase(it);
    return true;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rdi, %rbx
movq 0x28(%rdi), %rcx
leaq 0x20(%rdi), %r12
movq %r12, %rax
testq %rcx, %rcx
je 0x24af
movq %r12, %rax
xorl %edi, %edi
cmpq %rsi, 0x20(%rcx)
setb %dil
cmovaeq %rcx, %rax
movq 0x10(%rcx,%rdi,8), %rcx
testq %rcx, %rcx
jne 0x2497
movq %r12, %r14
cmpq %r12, %rax
je 0x24c2
cmpq %rsi, 0x20(%rax)
cmovaq %r12, %rax
movq %rax, %r14
cmpq %r12, %r14
je 0x252f
testb %dl, %dl
je 0x2520
movq 0x30(%r14), %r15
testq %r15, %r15
je 0x24ec
movl 0x8(%r15), %eax
testl %eax, %eax
je 0x24e9
leal 0x1(%rax), %ecx
lock
cmpxchgl %ecx, 0x8(%r15)
jne 0x24d8
jmp 0x24ec
xorl %r15d, %r15d
testq %r15, %r15
je 0x24fc
movl 0x8(%r15), %eax
testl %eax, %eax
sete %al
jmp 0x24fe
movb $0x1, %al
testb %al, %al
jne 0x253e
movq 0x28(%r14), %rdi
testq %rdi, %rdi
je 0x253e
movq %rbx, %rsi
callq 0x2576
testq %r15, %r15
je 0x2520
movq %r15, %rdi
callq 0x2ef2
addq $0x18, %rbx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x3142
cmpq %r12, %r14
setne %al
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
leaq 0x3b13(%rip), %rdi      # 0x6058
leaq 0x3ac3(%rip), %rsi      # 0x600f
leaq 0x3b19(%rip), %rcx      # 0x606c
movl $0x16, %edx
callq 0x20c0
movq %rax, %rbx
testq %r15, %r15
je 0x256d
movq %r15, %rdi
callq 0x2ef2
movq %rbx, %rdi
callq 0x21f0
nop
// File: /workspace/github_cpp_makefile_star2_O1/frolosofsky[P]pbft/pbft_types.cpp
// Function: Link::release(unsigned long)
void Link::release(uintptr_t src_id) {
    auto d = get_dst(src_id);
    assert(d.src.node_id == src_id);
    d.src.node.reset();
    auto dst_node = d.dst.node.lock();
    if(dst_node != nullptr)
        dst_node->unlink(src_id);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
callq 0x29a8
cmpq %rbx, (%rax)
jne 0x260c
movq %rdx, %r15
addq $0x8, %rax
movq %rax, %rdi
callq 0x2e70
movq 0x10(%r15), %r14
testq %r14, %r14
je 0x25bd
movl 0x8(%r14), %eax
testl %eax, %eax
je 0x25ba
leal 0x1(%rax), %ecx
lock
cmpxchgl %ecx, 0x8(%r14)
jne 0x25a9
jmp 0x25bd
xorl %r14d, %r14d
testq %r14, %r14
je 0x25cd
movl 0x8(%r14), %eax
testl %eax, %eax
sete %al
jmp 0x25cf
movb $0x1, %al
movq 0x8(%r15), %rdi
testq %rdi, %rdi
sete %cl
orb %al, %cl
jne 0x25ea
movq %rbx, %rsi
movl $0x1, %edx
callq 0x2476
testq %r14, %r14
je 0x2601
movq %r14, %rdi
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp 0x2ef2
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
leaq 0x3b3d(%rip), %rdi      # 0x6150
leaq 0x39f5(%rip), %rsi      # 0x600f
leaq 0x3b47(%rip), %rcx      # 0x6168
movl $0x4f, %edx
callq 0x20c0
movq %rax, %rbx
testq %r14, %r14
je 0x263b
movq %r14, %rdi
callq 0x2ef2
movq %rbx, %rdi
callq 0x21f0
nop
// File: /workspace/github_cpp_makefile_star2_O1/frolosofsky[P]pbft/pbft_types.cpp
// Function: Node::send_to(unsigned long, Message&&)
bool Node::send_to(uintptr_t node, Message &&msg) {
    auto it = _links.find(node);
    if(it == _links.end())
        return false;
    auto link_ptr = it->second.lock();
    assert(link_ptr != nullptr);
    return link_ptr->send(node, std::move(msg));
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movq 0x28(%rdi), %rcx
addq $0x20, %rdi
movq %rdi, %rax
testq %rcx, %rcx
je 0x2677
movq %rdi, %rax
xorl %r8d, %r8d
cmpq %rsi, 0x20(%rcx)
setb %r8b
cmovaeq %rcx, %rax
movq 0x10(%rcx,%r8,8), %rcx
testq %rcx, %rcx
jne 0x265e
movq %rdi, %rcx
cmpq %rdi, %rax
je 0x268a
cmpq %rsi, 0x20(%rax)
cmovaq %rdi, %rax
movq %rax, %rcx
cmpq %rdi, %rcx
je 0x26ab
movq 0x30(%rcx), %rbx
testq %rbx, %rbx
je 0x26b2
movl 0x8(%rbx), %eax
testl %eax, %eax
je 0x26b0
leal 0x1(%rax), %edi
lock
cmpxchgl %edi, 0x8(%rbx)
jne 0x269b
jmp 0x26b2
xorl %r14d, %r14d
jmp 0x26e5
xorl %ebx, %ebx
testq %rbx, %rbx
je 0x26c1
movl 0x8(%rbx), %eax
testl %eax, %eax
sete %al
jmp 0x26c3
movb $0x1, %al
testb %al, %al
jne 0x26ed
movq 0x28(%rcx), %rdi
testq %rdi, %rdi
je 0x26ed
callq 0x2724
movl %eax, %r14d
testq %rbx, %rbx
je 0x26e5
movq %rbx, %rdi
callq 0x2ef2
movl %r14d, %eax
popq %rbx
popq %r14
popq %rbp
retq
leaq 0x3964(%rip), %rdi      # 0x6058
leaq 0x3914(%rip), %rsi      # 0x600f
leaq 0x398d(%rip), %rcx      # 0x608f
movl $0x22, %edx
callq 0x20c0
movq %rax, %r14
testq %rbx, %rbx
je 0x271c
movq %rbx, %rdi
callq 0x2ef2
movq %r14, %rdi
callq 0x21f0
// File: /workspace/github_cpp_makefile_star2_O1/frolosofsky[P]pbft/pbft_types.cpp
// Function: Link::send(unsigned long, Message&&)
bool Link::send(uintptr_t dst_id, Message &&msg) {
    auto d = get_dst(dst_id);
    assert(d.src.node_id == dst_id);
    if(d.src.node.expired())
        return false; // just drop the message
    d.src.inbox.push_back(std::move(msg));
    return true;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rdx, %rbx
movq %rsi, %r15
callq 0x29a8
cmpq %r15, (%rax)
jne 0x27ad
movq %rax, %r14
movq 0x10(%rax), %rax
testq %rax, %rax
je 0x2756
movl 0x8(%rax), %eax
testl %eax, %eax
sete %r15b
jmp 0x2759
movb $0x1, %r15b
testb %r15b, %r15b
jne 0x279d
movq %r14, %r12
addq $0x18, %r12
movl $0x48, %edi
callq 0x2130
movups (%rbx), %xmm0
movups 0x10(%rbx), %xmm1
movups 0x20(%rbx), %xmm2
movups %xmm0, 0x10(%rax)
movups %xmm1, 0x20(%rax)
movups %xmm2, 0x30(%rax)
movq 0x30(%rbx), %rcx
movq %rcx, 0x40(%rax)
movq %rax, %rdi
movq %r12, %rsi
callq 0x2040
incq 0x28(%r14)
xorb $0x1, %r15b
movl %r15d, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
leaq 0x39d2(%rip), %rdi      # 0x6186
leaq 0x3854(%rip), %rsi      # 0x600f
leaq 0x39dc(%rip), %rcx      # 0x619e
movl $0x5e, %edx
callq 0x20c0
// File: /workspace/github_cpp_makefile_star2_O1/frolosofsky[P]pbft/pbft_types.cpp
// Function: Node::broadcast(Message&&)
void Node::broadcast(Message &&msg) {
    for(auto &l : _links) {
        auto link_ptr = l.second.lock();
        assert(link_ptr != nullptr);
        link_ptr->send(l.first, Message(msg));
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %rdi, %r14
movq 0x30(%rdi), %r15
addq $0x20, %r14
cmpq %r14, %r15
je 0x2882
movq %rsi, %rbx
leaq -0x60(%rbp), %r12
movq 0x30(%r15), %r13
testq %r13, %r13
je 0x2819
movl 0x8(%r13), %eax
testl %eax, %eax
je 0x2816
leal 0x1(%rax), %ecx
lock
cmpxchgl %ecx, 0x8(%r13)
jne 0x2805
jmp 0x2819
xorl %r13d, %r13d
testq %r13, %r13
je 0x2829
movl 0x8(%r13), %eax
testl %eax, %eax
sete %al
jmp 0x282b
movb $0x1, %al
testb %al, %al
jne 0x2891
movq 0x28(%r15), %rdi
testq %rdi, %rdi
je 0x2891
movq 0x20(%r15), %rsi
movl 0x30(%rbx), %eax
movl %eax, -0x30(%rbp)
movups (%rbx), %xmm0
movups 0x10(%rbx), %xmm1
movups 0x20(%rbx), %xmm2
movaps %xmm2, -0x40(%rbp)
movaps %xmm1, -0x50(%rbp)
movaps %xmm0, -0x60(%rbp)
movq %r12, %rdx
callq 0x2724
testq %r13, %r13
je 0x286e
movq %r13, %rdi
callq 0x2ef2
movq %r15, %rdi
callq 0x20f0
movq %rax, %r15
cmpq %r14, %rax
jne 0x27f8
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x37c0(%rip), %rdi      # 0x6058
leaq 0x3770(%rip), %rsi      # 0x600f
leaq 0x3813(%rip), %rcx      # 0x60b9
movl $0x29, %edx
callq 0x20c0
movq %rax, %rbx
testq %r13, %r13
je 0x28c0
movq %r13, %rdi
callq 0x2ef2
movq %rbx, %rdi
callq 0x21f0
// File: /workspace/github_cpp_makefile_star2_O1/frolosofsky[P]pbft/pbft_types.cpp
// Function: Link::get_dst(unsigned long)
Link::Destinations Link::get_dst(uintptr_t id) {
    if(first.node_id == id) {
        return {first, second};
    } else if (second.node_id == id) {
        return {second, first};
    } else {
        assert(not("Unreachable"));
    }
    return {first, second};
}

// Assembly:
leaq 0x30(%rdi), %rcx
cmpq %rsi, (%rdi)
jne 0x29b9
movq %rdi, %rax
movq %rcx, %rdi
jmp 0x29c1
movq %rcx, %rax
cmpq %rsi, (%rcx)
jne 0x29c5
movq %rdi, %rdx
retq
pushq %rbp
movq %rsp, %rbp
leaq 0x3741(%rip), %rdi      # 0x6111
leaq 0x3638(%rip), %rsi      # 0x600f
leaq 0x3746(%rip), %rcx      # 0x6124
movl $0x3a, %edx
callq 0x20c0
// File: /workspace/github_cpp_makefile_star2_O1/frolosofsky[P]pbft/pbft_types.cpp
// Function: Link::make(std::shared_ptr<Node> const&, std::shared_ptr<Node> const&)
std::shared_ptr<Link> Link::make(std::shared_ptr<Node> const &first, std::shared_ptr<Node> const &second) {
    if(first == nullptr || second == nullptr || first == second || first->has_link(second->id()) || second->has_link(first->id()))
        return nullptr;
    std::shared_ptr<Link> ptr(new Link(first, second)); // std::make_shared requires public c-tor
    first->link(second->id(), ptr);
    second->link(first->id(), ptr);
    return ptr;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq (%rsi), %rcx
testq %rcx, %rcx
je 0x2aab
movq %rdx, %r15
movq %rsi, %r14
movq (%rdx), %rax
testq %rax, %rax
sete %dl
cmpq %rax, %rcx
sete %sil
orb %dl, %sil
jne 0x2aab
movq 0x28(%rcx), %rdi
leaq 0x20(%rcx), %rdx
movq %rdx, %rsi
testq %rdi, %rdi
je 0x2a50
movq %rdx, %rsi
xorl %r8d, %r8d
cmpq %rax, 0x20(%rdi)
setb %r8b
cmovaeq %rdi, %rsi
movq 0x10(%rdi,%r8,8), %rdi
testq %rdi, %rdi
jne 0x2a37
movq %rdx, %rdi
cmpq %rdx, %rsi
je 0x2a63
cmpq %rax, 0x20(%rsi)
cmovaq %rdx, %rsi
movq %rsi, %rdi
cmpq %rdx, %rdi
jne 0x2aab
movq 0x28(%rax), %rsi
addq $0x20, %rax
movq %rax, %rdx
testq %rsi, %rsi
je 0x2a93
movq %rax, %rdx
xorl %edi, %edi
cmpq %rcx, 0x20(%rsi)
setb %dil
cmovaeq %rsi, %rdx
movq 0x10(%rsi,%rdi,8), %rsi
testq %rsi, %rsi
jne 0x2a7b
movq %rax, %rsi
cmpq %rax, %rdx
je 0x2aa6
cmpq %rcx, 0x20(%rdx)
cmovaq %rax, %rdx
movq %rdx, %rsi
cmpq %rax, %rsi
je 0x2ac3
xorps %xmm0, %xmm0
movups %xmm0, (%rbx)
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl $0x60, %edi
callq 0x2130
movq %rax, %r13
movq %rax, %rdi
movq %r14, %rsi
movq %r15, %rdx
callq 0x2dda
movq %r13, (%rbx)
leaq 0x8(%rbx), %r12
movq %r12, %rdi
movq %r13, %rsi
callq 0x3186
movq (%r14), %rdi
movq (%r15), %rsi
movq %rbx, %rdx
callq 0x23e6
movq (%r15), %rdi
movq (%r14), %rsi
movq %rbx, %rdx
callq 0x23e6
jmp 0x2ab1
movq %rax, %rbx
movl $0x60, %esi
movq %r13, %rdi
callq 0x2140
jmp 0x2b31
movq %rax, %rbx
movq (%r12), %rdi
testq %rdi, %rdi
je 0x2b31
callq 0x2ef2
movq %rbx, %rdi
callq 0x21f0
nop
// File: /workspace/github_cpp_makefile_star2_O1/frolosofsky[P]pbft/pbft_types.cpp
// Function: Link::process_messages(unsigned long, Link::Mailbox&)
void Link::process_messages(uintptr_t src, Mailbox &dst) {
    for(auto it = dst.inbox.begin(); it != dst.inbox.end(); ) {
        if(it->deliver_timeout > 0) {
            --it->deliver_timeout;
            ++it;
        } else {
            auto node_ptr = dst.node.lock();
            if(node_ptr == nullptr) {
                dst.inbox.clear();
                return;
            }
            node_ptr->put(src, std::move(*it));
            it = dst.inbox.erase(it);
        }
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rsi, -0x30(%rbp)
leaq 0x18(%rdx), %r15
movq 0x18(%rdx), %r12
cmpq %r15, %r12
je 0x2db3
movq %rdx, %rbx
movl 0x40(%r12), %eax
testl %eax, %eax
jle 0x2d14
decl %eax
movl %eax, 0x40(%r12)
movq (%r12), %r12
jmp 0x2daa
movq 0x10(%rbx), %r13
testq %r13, %r13
je 0x2d35
movl 0x8(%r13), %eax
testl %eax, %eax
je 0x2d32
leal 0x1(%rax), %ecx
lock
cmpxchgl %ecx, 0x8(%r13)
jne 0x2d21
jmp 0x2d35
xorl %r13d, %r13d
testq %r13, %r13
je 0x2d45
movl 0x8(%r13), %eax
testl %eax, %eax
sete %al
jmp 0x2d47
movb $0x1, %al
movq 0x8(%rbx), %rdi
testq %rdi, %rdi
sete %r14b
orb %al, %r14b
cmpb $0x1, %r14b
jne 0x2d65
movq %r15, %rdi
callq 0x2eb6
jmp 0x2d98
leaq 0x10(%r12), %rdx
movq -0x30(%rbp), %rsi
callq 0x28c8
movq (%r12), %rax
movq %rax, -0x38(%rbp)
decq 0x28(%rbx)
movq %r12, %rdi
callq 0x21b0
movl $0x48, %esi
movq %r12, %rdi
callq 0x2140
movq -0x38(%rbp), %r12
testq %r13, %r13
je 0x2da5
movq %r13, %rdi
callq 0x2ef2
testb %r14b, %r14b
jne 0x2db3
cmpq %r15, %r12
jne 0x2cfb
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
testq %r13, %r13
je 0x2dd2
movq %r13, %rdi
callq 0x2ef2
movq %rbx, %rdi
callq 0x21f0
// File: /workspace/github_cpp_makefile_star2_O1/frolosofsky[P]pbft/main.cpp
// Function: main
int main() {
    Simulator sim(1);
    sim.actions({
        Message::WriteOpRequest{1},
        Message::WriteOpRequest{2},
        Message::WriteOpRequest{10},
        Message::ReadOpRequest{0},
        Message::ReadOpRequest{2},
        Message::ReadOpRequest{3},
        });
    sim.run();
    sim.destroy_node(1);
    sim.actions({
        Message::WriteOpRequest{1000},
        Message::WriteOpRequest{1234},
        Message::WriteOpRequest{9876},
        Message::ReadOpRequest{5},
        Message::ReadOpRequest{10},
        Message::ReadOpRequest{3},
        });
    sim.run();
    return 0;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0xd8, %rsp
leaq -0x90(%rbp), %rdi
xorl %ebx, %ebx
movl $0x1, %esi
xorl %edx, %edx
callq 0x3434
leaq -0xf0(%rbp), %rsi
movl %ebx, (%rsi)
movl $0x1, 0x8(%rsi)
movl %ebx, 0x10(%rsi)
movl $0x2, %eax
movl %eax, 0x18(%rsi)
movl %ebx, 0x20(%rsi)
movl $0xa, 0x28(%rsi)
movl %eax, 0x30(%rsi)
movq $0x0, 0x38(%rsi)
movl %eax, 0x40(%rsi)
movq $0x2, 0x48(%rsi)
movl %eax, 0x50(%rsi)
movq $0x3, 0x58(%rsi)
leaq -0x38(%rbp), %r14
leaq -0x19(%rbp), %rcx
movl $0x6, %edx
movq %r14, %rdi
callq 0x34da
leaq -0x50(%rbp), %rbx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x5748
movq -0x38(%rbp), %rdi
cmpq %r14, %rdi
je 0x3315
movq (%rdi), %r15
movl $0x20, %esi
callq 0x2140
movq %r15, %rdi
cmpq %r14, %r15
jne 0x3300
leaq -0x90(%rbp), %rdi
callq 0x3536
leaq -0x90(%rbp), %rdi
movl $0x1, %esi
callq 0x35d0
xorl %eax, %eax
leaq -0xf0(%rbp), %rsi
movl %eax, (%rsi)
movl $0x3e8, 0x8(%rsi)       # imm = 0x3E8
movl %eax, 0x10(%rsi)
movl $0x4d2, 0x18(%rsi)      # imm = 0x4D2
movl %eax, 0x20(%rsi)
movl $0x2694, 0x28(%rsi)     # imm = 0x2694
movl $0x2, %eax
movl %eax, 0x30(%rsi)
movq $0x5, 0x38(%rsi)
movl %eax, 0x40(%rsi)
movq $0xa, 0x48(%rsi)
movl %eax, 0x50(%rsi)
movq $0x3, 0x58(%rsi)
leaq -0x38(%rbp), %r14
leaq -0x19(%rbp), %rcx
movl $0x6, %edx
movq %r14, %rdi
callq 0x34da
movq %rbx, %rdi
movq %r14, %rsi
callq 0x5748
movq -0x38(%rbp), %rdi
cmpq %r14, %rdi
je 0x33bc
movq (%rdi), %r15
movl $0x20, %esi
callq 0x2140
movq %r15, %rdi
cmpq %r14, %r15
jne 0x33a7
leaq -0x90(%rbp), %rdi
callq 0x3536
movq -0x50(%rbp), %rdi
cmpq %rbx, %rdi
je 0x33e6
movq (%rdi), %r14
movl $0x20, %esi
callq 0x2140
movq %r14, %rdi
cmpq %rbx, %r14
jne 0x33d1
leaq -0x68(%rbp), %rdi
callq 0x3a4c
leaq -0x80(%rbp), %rbx
movq %rbx, %rdi
callq 0x3aa2
movq -0x8(%rbx), %rdi
testq %rdi, %rdi
je 0x3409
callq 0x2ef2
xorl %eax, %eax
addq $0xd8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
jmp 0x341d
jmp 0x341d
movq %rax, %rbx
leaq -0x90(%rbp), %rdi
callq 0x3622
movq %rbx, %rdi
callq 0x21f0
// File: /workspace/github_cpp_makefile_star2_O1/frolosofsky[P]pbft/main.cpp
// Function: Simulator::run()
void run() {
        constexpr int ticks_limit = 10000;
        int c = 0;
        while(not(_actions.size() == 0 && _client->ready()) && c < ticks_limit) {
            tick();
            ++c;
        }
        std::cout << "Simulation has taken " << c << " ticks" << std::endl;
    }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movq %rdi, %r14
xorl %ebx, %ebx
cmpq $0x0, 0x50(%r14)
jne 0x3554
movq (%r14), %rax
movl 0x60(%rax), %ecx
cmpl 0x64(%rax), %ecx
je 0x3568
cmpl $0x270f, %ebx           # imm = 0x270F
ja 0x3568
movq %r14, %rdi
callq 0x57e0
incl %ebx
jmp 0x3542
movq 0x6a69(%rip), %r14      # 0x9fd8
leaq 0x30da(%rip), %rsi      # 0x6650
movl $0x15, %edx
movq %r14, %rdi
callq 0x2160
movq %r14, %rdi
movl %ebx, %esi
callq 0x21e0
movq %rax, %rbx
leaq 0x30cf(%rip), %rsi      # 0x6666
movl $0x6, %edx
movq %rax, %rdi
callq 0x2160
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x2120
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
popq %rbx
popq %r14
popq %rbp
jmp 0x20e0
nop
// File: /workspace/github_cpp_makefile_star2_O1/frolosofsky[P]pbft/./pbft_types.h
// Function: std::ostream& operator<<<std::ostream>(std::ostream&, Message const&)
Stream &operator<<(Stream &os, Message const &m) {
    switch(m.type) {
    case Message::Type::Write:
        return os << "Write{" << m.data.write << "}";
    case Message::Type::Read:
        return os << "Read{" << m.data.read << "}";
    case Message::Type::WriteAck:
        return os << "WriteAck{" << m.data.write_ack << "}";
    case Message::Type::ReadAck:
        return os << "ReadAck{" << m.data.read_ack << "}";
    case Message::Type::Response:
        return os << "Response{" << m.data.response << "}";
    case Message::Type::PrePrepare:
        return os << "PrePrepare{" << m.data.preprepare << "}";
    case Message::Type::Prepare:
        return os << "Prepare{" << m.data.prepare << "}";
    case Message::Type::Commit:
        return os << "Commit{" << m.data.commit << "}";
    }
    return os; // happy gcc
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movq %rdi, %rbx
movl (%rsi), %eax
cmpq $0x7, %rax
ja 0x41e2
movq %rsi, %r14
leaq 0x21d5(%rip), %rcx      # 0x6274
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
leaq 0x2455(%rip), %rsi      # 0x6504
movl $0x6, %edx
movq %rbx, %rdi
callq 0x2160
leaq 0x2495(%rip), %rsi      # 0x6558
movl $0x6, %edx
movq %rbx, %rdi
callq 0x2160
movl 0x8(%r14), %esi
movq %rbx, %rdi
callq 0x21e0
jmp 0x41cb
leaq 0x243e(%rip), %rsi      # 0x6526
movl $0x9, %edx
movq %rbx, %rdi
callq 0x2160
addq $0x8, %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0x4289
jmp 0x41cb
leaq 0x23fd(%rip), %rsi      # 0x650d
movl $0x5, %edx
movq %rbx, %rdi
callq 0x2160
leaq 0x242b(%rip), %rsi      # 0x654f
movl $0x6, %edx
movq %rbx, %rdi
callq 0x2160
movq 0x8(%r14), %rsi
movq %rbx, %rdi
callq 0x20d0
jmp 0x41cb
leaq 0x23d4(%rip), %rsi      # 0x651d
movl $0x8, %edx
movq %rbx, %rdi
callq 0x2160
addq $0x8, %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0x423a
jmp 0x41cb
leaq 0x23ce(%rip), %rsi      # 0x653c
movl $0x7, %edx
jmp 0x41b4
leaq 0x2397(%rip), %rsi      # 0x6513
movl $0x9, %edx
movq %rbx, %rdi
callq 0x2160
addq $0x8, %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0x41ea
jmp 0x41cb
leaq 0x238f(%rip), %rsi      # 0x6530
movl $0xb, %edx
jmp 0x41b4
leaq 0x2384(%rip), %rsi      # 0x6533
movl $0x8, %edx
movq %rbx, %rdi
callq 0x2160
addq $0x8, %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0x4333
movq %rax, %rbx
leaq 0x2336(%rip), %rsi      # 0x650b
movl $0x1, %edx
movq %rax, %rdi
callq 0x2160
movq %rbx, %rax
popq %rbx
popq %r14
popq %rbp
retq