LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_cpp_makefile_star2_O3/benjibc[P]json-universal-container/./json.h
// Function: JSON::JSON(JSON const&)
inline
JSON::JSON(const JSON & rhs)
{
    this->m_type = rhs.m_type;
    switch(m_type)
    {
        // for classes that copies memory dynamically, make a deep copy
        // using placement new instead of using memcpy otherwise things will
        // be deallocated as expected when the last object dies
        case type_array:
            new (&(m_data.u_arr)) Arr_t(rhs.m_data.u_arr);
            break;
        case type_obj:
            new (&(m_data.u_map)) Map_t(rhs.m_data.u_map);
            break;
        case type_str:
            new (&(m_data.u_str)) std::string(rhs.m_data.u_str);
            break;
        case type_double:
            m_data.u_double = rhs.m_data.u_double;
            break;
        default:
            m_data.u_bool = rhs.m_data.u_bool; 
            break;
    }
}

// Assembly:
movl 0x28(%rsi), %eax
movl %eax, 0x28(%rdi)
decl %eax
cmpl $0x3, %eax
ja 0x4476
leaq 0x4c22(%rip), %rcx      # 0x9058
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
leaq 0x10(%rdi), %rax
movq %rax, (%rdi)
movq (%rsi), %rax
movq 0x8(%rsi), %rdx
addq %rax, %rdx
movq %rax, %rsi
jmp 0x8128
jmp 0x4184
movsd (%rsi), %xmm0
movsd %xmm0, (%rdi)
retq
pushq %rax
leaq 0x7(%rsp), %rdx
callq 0x847e
addq $0x8, %rsp
retq
movb (%rsi), %al
movb %al, (%rdi)
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/benjibc[P]json-universal-container/./json.h
// Function: JSON::operator[](char const*)
inline
JSON & JSON::operator[](const char *key)
{
    //turn itself into an array 
    if(m_type != type_obj)
    {
        this->clear();
        m_type = type_obj;
        new (&(m_data.u_map)) Map_t();
    }
    auto it = m_data.u_map.find(key);
    if(it == m_data.u_map.end())
        m_data.u_map[key] = JSON();
    return m_data.u_map[key];
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x68, %rsp
movq %rsi, %r14
movq %rdi, %rbx
movl 0x28(%rdi), %eax
cmpl $0x1, %eax
je 0x4500
cmpl $0x2, %eax
je 0x4538
cmpl $0x3, %eax
jne 0x4511
movq %rbx, %rdi
callq 0x447c
jmp 0x4511
movq (%rbx), %rdi
leaq 0x10(%rbx), %rax
cmpq %rax, %rdi
je 0x4511
callq 0x2170
movl $0x2, 0x28(%rbx)
xorl %eax, %eax
movq %rax, (%rbx)
movq $0x10, 0x8(%rbx)
movq %rax, 0x10(%rbx)
movb $0x0, 0x19(%rbx)
movl $0x3f800000, 0x1c(%rbx) # imm = 0x3F800000
movq %rax, 0x20(%rbx)
leaq 0x10(%rsp), %rdi
leaq 0x48(%rsp), %rdx
movq %r14, %rsi
callq 0x20b0
leaq 0x10(%rsp), %r13
movq %rbx, %rdi
movq %r13, %rsi
callq 0x7a66
movq %rax, %r15
leaq 0x20(%rsp), %rbp
movq -0x10(%rbp), %rdi
cmpq %rbp, %rdi
je 0x4570
callq 0x2170
testq %r15, %r15
je 0x45bc
leaq 0x10(%rsp), %rdi
leaq 0x48(%rsp), %rdx
movq %r14, %rsi
callq 0x20b0
leaq 0x10(%rsp), %rsi
movq %rbx, %rdi
callq 0x71e4
movq %rax, %rbx
movq 0x10(%rsp), %rdi
cmpq %rbp, %rdi
je 0x45a6
callq 0x2170
addq $0x20, %rbx
movq %rbx, %rax
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl $0x0, 0x38(%rsp)
leaq 0x48(%rsp), %rdi
leaq 0xf(%rsp), %rdx
movq %r14, %rsi
callq 0x20b0
leaq 0x48(%rsp), %rsi
movq %rbx, %rdi
callq 0x71e4
movq %rax, %r15
leaq 0x20(%rax), %r12
cmpq %r13, %r12
je 0x4664
movl 0x48(%r15), %eax
cmpl $0x1, %eax
je 0x4616
cmpl $0x2, %eax
je 0x460c
cmpl $0x3, %eax
jne 0x462b
movq %r12, %rdi
callq 0x447c
jmp 0x462b
movq %r12, %rdi
callq 0x798c
jmp 0x462b
movq 0x20(%r15), %rdi
movq %r15, %rax
addq $0x30, %rax
cmpq %rax, %rdi
je 0x462b
callq 0x2170
movq 0x30(%rsp), %rax
movq %rax, 0x20(%r12)
movaps 0x10(%rsp), %xmm0
movaps 0x20(%rsp), %xmm1
movups %xmm1, 0x10(%r12)
movups %xmm0, (%r12)
movl 0x38(%rsp), %eax
movl %eax, 0x48(%r15)
xorps %xmm0, %xmm0
movups %xmm0, 0x2c(%rsp)
movaps %xmm0, 0x20(%rsp)
movaps %xmm0, 0x10(%rsp)
leaq 0x58(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x4677
callq 0x2170
movl 0x38(%rsp), %eax
cmpl $0x3, %eax
je 0x46b5
cmpl $0x2, %eax
je 0x46a6
cmpl $0x1, %eax
jne 0x4575
movq 0x10(%rsp), %rdi
cmpq %rbp, %rdi
je 0x4575
callq 0x2170
jmp 0x4575
leaq 0x10(%rsp), %rdi
callq 0x798c
jmp 0x4575
leaq 0x10(%rsp), %rdi
callq 0x447c
jmp 0x4575
jmp 0x46c6
movq %rax, %rdi
callq 0x696f
movq %rax, %rbx
leaq 0x58(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x46e9
callq 0x2170
jmp 0x46e9
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0x4334
jmp 0x4721
movq %rax, %rbx
movq 0x10(%rsp), %rdi
cmpq %rbp, %rdi
jne 0x4717
jmp 0x4721
jmp 0x471e
movq %rax, %rbx
leaq 0x20(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x4721
callq 0x2170
jmp 0x4721
movq %rax, %rbx
movq %rbx, %rdi
callq 0x2240
nop
// File: /workspace/github_cpp_makefile_star2_O3/benjibc[P]json-universal-container/./json.h
// Function: JSON::operator[](int)
inline
JSON & JSON::operator[](int i)
{
    //turn itself into an array 
    if(m_type != type_array)
    {
        this->clear();
        m_type = type_array;
        new (&(m_data.u_arr)) Arr_t(); 
    }
    //need to return the element at the given index
    int arrayOldSize = m_data.u_arr.size(); 
    //make sure the size of the arrray is big enough 
    if(i >= arrayOldSize) 
    {
        Arr_t append ( i-arrayOldSize +1);
        m_data.u_arr.insert(m_data.u_arr.end(),append.begin(),append.end()); 
    }
    return m_data.u_arr[i];
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
subq $0x40, %rsp
movl %esi, %ebp
movq %rdi, %rbx
movl 0x28(%rdi), %eax
cmpl $0x1, %eax
je 0x4758
cmpl $0x2, %eax
je 0x474e
cmpl $0x3, %eax
jne 0x4769
movl 0x8(%rbx), %eax
jmp 0x4780
movq %rbx, %rdi
callq 0x798c
jmp 0x4769
movq (%rbx), %rdi
leaq 0x10(%rbx), %rax
cmpq %rax, %rdi
je 0x4769
callq 0x2170
movl $0x3, 0x28(%rbx)
xorps %xmm0, %xmm0
movups %xmm0, (%rbx)
movq $0x0, 0x10(%rbx)
xorl %eax, %eax
cmpl %ebp, %eax
jg 0x47ef
movl %ebp, %ecx
subl %eax, %ecx
incl %ecx
movslq %ecx, %rsi
leaq 0x8(%rsp), %r14
movq %r14, %rdi
callq 0x7aa0
movq 0x8(%r14), %rdx
testq %rdx, %rdx
je 0x47e5
movq 0x8(%rsp), %rax
leaq (%rdx,%rdx,2), %rdi
shlq $0x4, %rdi
addq %rax, %rdi
movq 0x8(%rbx), %rcx
leaq (%rcx,%rcx,2), %rsi
shlq $0x4, %rsi
addq (%rbx), %rsi
leaq 0x959f(%rip), %r8       # 0xdd68
leaq 0x20(%rsp), %rcx
movq %r8, (%rcx)
movq %rbx, 0x8(%rcx)
movq %rax, 0x10(%rcx)
movq %rdi, 0x18(%rcx)
movq %rbx, %rdi
callq 0x6ac0
leaq 0x8(%rsp), %rdi
callq 0x447c
movslq %ebp, %rax
leaq (%rax,%rax,2), %rax
shlq $0x4, %rax
addq (%rbx), %rax
addq $0x40, %rsp
popq %rbx
popq %r14
popq %rbp
retq
movq %rax, %rdi
callq 0x696f
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0x447c
movq %rbx, %rdi
callq 0x2240
nop
// File: /workspace/github_cpp_makefile_star2_O3/benjibc[P]json-universal-container/./boost_file/boost/container/vector.hpp
// Function: void boost::container::vector<JSON, std::allocator<JSON>>::priv_push_back<JSON const&>(JSON const&)
void priv_push_back(BOOST_MOVE_CATCH_FWD(U) x)
   {
      if (this->members_.m_size < this->members_.m_capacity){
         //There is more memory, just construct a new object at the end
         allocator_traits_type::construct
            ( this->alloc()
            , container_detail::to_raw_pointer(this->members_.m_start + this->members_.m_size)
            , ::boost::forward<U>(x) );
         ++this->members_.m_size;
      }
      else{
         this->insert(this->cend(), ::boost::forward<U>(x));
      }
   }

// Assembly:
pushq %rbx
subq $0x30, %rsp
movq %rsi, %rdx
movq %rdi, %rbx
movq 0x8(%rdi), %rax
leaq (%rax,%rax,2), %rsi
shlq $0x4, %rsi
addq (%rdi), %rsi
cmpq 0x10(%rdi), %rax
jae 0x6a1c
movq %rbx, %rdi
callq 0x6a54
incq 0x8(%rbx)
jmp 0x6a4d
leaq 0x725d(%rip), %rax      # 0xdc80
movq %rsp, %rcx
movq %rax, (%rcx)
movq %rbx, 0x8(%rcx)
movq %rdx, 0x10(%rcx)
movq $0x1, 0x18(%rcx)
xorps %xmm0, %xmm0
movups %xmm0, 0x20(%rcx)
movl $0x1, %edx
movq %rbx, %rdi
callq 0x6ac0
addq $0x30, %rsp
popq %rbx
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/benjibc[P]json-universal-container/./boost_file/boost/container/detail/advanced_insert_int.hpp
// Function: boost::container::container_detail::advanced_insert_aux_proxy<std::allocator<JSON>, boost::container::container_detail::vector_iterator<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)
   {
      FwdIt mid = this->first_;
      std::advance(mid, division_count);
      if(first_n){
         ::boost::container::uninitialized_copy_or_move_alloc(this->a_, this->first_, mid, pos);
         this->first_ = mid;
      }
      else{
         ::boost::container::uninitialized_copy_or_move_alloc(this->a_, mid, this->last_, pos);
         this->last_ = mid;
      }
   }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
movq 0x8(%rdi), %r15
movq 0x10(%rdi), %r12
leaq (%rdx,%rdx,2), %r13
shlq $0x4, %r13
addq %r12, %r13
testl %ecx, %ecx
je 0x7e45
addq $0x10, %rbx
testq %rdx, %rdx
je 0x7e70
shlq $0x4, %rdx
leaq (%rdx,%rdx,2), %rbp
movq %r15, %rdi
movq %r14, %rsi
movq %r12, %rdx
callq 0x7f3e
addq $0x30, %r12
addq $0x30, %r14
addq $-0x30, %rbp
jne 0x7e27
jmp 0x7e70
movq 0x18(%rbx), %rbp
addq $0x18, %rbx
cmpq %rbp, %r13
je 0x7e70
movq %r13, %r12
movq %r15, %rdi
movq %r14, %rsi
movq %r12, %rdx
callq 0x7f3e
addq $0x30, %r12
addq $0x30, %r14
cmpq %rbp, %r12
jne 0x7e55
movq %r13, (%rbx)
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/benjibc[P]json-universal-container/./boost_file/boost/container/detail/advanced_insert_int.hpp
// Function: boost::container::container_detail::advanced_insert_aux_proxy<std::allocator<JSON>, boost::container::container_detail::vector_iterator<JSON*>, JSON*>::copy_some_and_update(JSON*, long, bool)
virtual void copy_some_and_update(Iterator pos, difference_type division_count, bool first_n)
   {
      FwdIt mid = this->first_;
      std::advance(mid, division_count);
      if(first_n){
         ::boost::copy_or_move(this->first_, mid, pos);
         this->first_ = mid;
      }
      else{
         ::boost::copy_or_move(mid, this->last_, pos);
         this->last_ = mid;
      }
   }

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rsi, %r14
movq %rdi, %rbx
movq 0x10(%rdi), %r15
leaq (%rdx,%rdx,2), %r13
shlq $0x4, %r13
addq %r15, %r13
testl %ecx, %ecx
je 0x7ee8
movq %r13, %rax
subq %r15, %rax
testq %rax, %rax
jle 0x7ee2
movabsq $-0x5555555555555555, %rcx # imm = 0xAAAAAAAAAAAAAAAB
mulq %rcx
movq %rdx, %r12
shrq $0x5, %r12
incq %r12
movq %r14, %rdi
movq %r15, %rsi
callq 0x23f8
addq $0x30, %r15
addq $0x30, %r14
decq %r12
cmpq $0x1, %r12
ja 0x7ec6
movq %r13, 0x10(%rbx)
jmp 0x7f2e
movq 0x18(%rbx), %rax
subq %r13, %rax
testq %rax, %rax
jle 0x7f2a
movabsq $-0x5555555555555555, %rcx # imm = 0xAAAAAAAAAAAAAAAB
mulq %rcx
movq %rdx, %r15
shrq $0x5, %r15
incq %r15
movq %r13, %r12
movq %r14, %rdi
movq %r12, %rsi
callq 0x23f8
addq $0x30, %r12
addq $0x30, %r14
decq %r15
cmpq $0x1, %r15
ja 0x7f0e
movq %r13, 0x18(%rbx)
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O3/benjibc[P]json-universal-container/./boost_file/boost/move/move.hpp
// Function: JSON* boost::move_backward<JSON*, JSON*>(JSON*, JSON*, JSON*)
O move_backward(I f, I l, O result)
   {
      while (f != l) {
         --l; --result;
         *result = ::boost::move(*l);
      }
      return result;
   }

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %rbx
cmpq %rdi, %rsi
je 0x7175
movq %rsi, %r15
movq %rdi, %r14
addq $-0x30, %rbx
leaq 0x30(%rbx), %rax
leaq -0x30(%r15), %r12
cmpq %rax, %r15
je 0x7161
movl 0x28(%rbx), %eax
cmpl $0x1, %eax
je 0x711a
cmpl $0x2, %eax
je 0x7110
cmpl $0x3, %eax
jne 0x712b
movq %rbx, %rdi
callq 0x447c
jmp 0x712b
movq %rbx, %rdi
callq 0x798c
jmp 0x712b
movq (%rbx), %rdi
leaq 0x10(%rbx), %rax
cmpq %rdi, %rax
je 0x712b
callq 0x2170
movq 0x20(%r12), %rax
movq %rax, 0x20(%rbx)
movups (%r12), %xmm0
movups 0x10(%r12), %xmm1
movups %xmm1, 0x10(%rbx)
movups %xmm0, (%rbx)
movl -0x8(%r15), %eax
movl %eax, 0x28(%rbx)
xorps %xmm0, %xmm0
movups %xmm0, 0x1c(%r12)
movups %xmm0, 0x10(%r12)
movups %xmm0, (%r12)
addq $-0x30, %rbx
movq %r12, %r15
cmpq %r14, %r12
jne 0x70e7
addq $0x30, %rbx
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movq %rax, %rdi
callq 0x696f
// File: /workspace/github_cpp_makefile_star2_O3/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>>>>::construct_node()
void node_constructor<Alloc>::construct_node()
    {
        if(!node_) {
            constructed_ = false;
            node_ = node_allocator_traits::allocate(alloc_, 1);
        }
        else if (constructed_) {
            boost::unordered::detail::destroy_node(alloc_,
                boost::addressof(*node_));
            constructed_ = false;
        }
    }

// Assembly:
pushq %rbx
movq %rdi, %rbx
movq 0x8(%rdi), %rsi
testq %rsi, %rsi
je 0x74d5
cmpb $0x1, 0x10(%rbx)
jne 0x74e7
movq (%rbx), %rdi
callq 0x760c
movb $0x0, 0x10(%rbx)
jmp 0x74e7
movb $0x0, 0x10(%rbx)
movl $0x60, %edi
callq 0x2190
movq %rax, 0x8(%rbx)
popq %rbx
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/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 0x7535
movq %rdi, %rbx
cmpb $0x1, 0x10(%rdi)
je 0x7535
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 0x8128
movl $0x0, 0x48(%r14)
movb $0x1, 0x10(%rbx)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
leaq 0x1f41(%rip), %rdi      # 0x947d
leaq 0x1f51(%rip), %rsi      # 0x9494
leaq 0x1f7a(%rip), %rcx      # 0x94c4
movl $0x4a, %edx
callq 0x20f0
// File: /workspace/github_cpp_makefile_star2_O3/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 0x757c
pushq %rbx
movq %rdi, %rbx
cmpb $0x1, 0x10(%rdi)
jne 0x7573
movq (%rbx), %rdi
callq 0x760c
movq 0x8(%rbx), %rsi
movq %rsi, %rdi
popq %rbx
jmp 0x2170
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/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 0x1a81(%rip), %xmm1     # 0x90f0
jb 0x7728
movq %rsi, %xmm2
punpckldq 0x1a0e(%rip), %xmm2 # xmm2 = xmm2[0],mem[0],xmm2[1],mem[1]
subpd 0x1a16(%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 0x1a29(%rip), %xmm1     # 0x90e0
sarq $0x3f, %rcx
cvttsd2si %xmm1, %rdx
andq %rcx, %rdx
orq %rax, %rdx
ucomisd 0x1a1a(%rip), %xmm0     # 0x90e8
movq $-0x1, %rcx
cmovbq %rdx, %rcx
leaq 0x1(%rcx), %rdx
movl $0x4, %eax
cmpq $0x5, %rdx
jb 0x7726
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 0x1fa4(%rip), %rdi      # 0x96d3
leaq 0x1fc3(%rip), %rsi      # 0x96f9
leaq 0x1fea(%rip), %rcx      # 0x9727
movl $0x8b, %edx
callq 0x20f0
nop
// File: /workspace/github_cpp_makefile_star2_O3/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 0x789c
movq 0x18(%rsp), %rax
movq %rax, (%rbx)
addq $0x30, %rsp
popq %rbx
retq
movq %rax, %rbx
movq 0x18(%rsp), %rdi
testq %rdi, %rdi
je 0x779d
callq 0x2170
movq %rbx, %rdi
callq 0x2240
nop
// 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>>>>>::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 0x785d
movq %rdi, %rbx
xorl %eax, %eax
leaq 0x8(%rsp), %rdi
movq %rax, (%rdi)
movq %rsi, 0x8(%rdi)
movq %rax, 0x10(%rdi)
callq 0x7748
movq (%rbx), %rcx
movq 0x8(%rbx), %rdi
movq 0x8(%rsp), %rdx
movq 0x10(%rsp), %rsi
movq (%rcx,%rdi,8), %rax
movq %rax, (%rdx,%rsi,8)
xorl %eax, %eax
movq %rax, (%rcx,%rdi,8)
movq 0x10(%rbx), %rcx
movq %rcx, 0x18(%rsp)
movq %rax, 0x10(%rbx)
cmpq %rax, (%rdx,%rsi,8)
je 0x7827
leaq (%rdx,%rsi,8), %rax
leaq 0x8(%rsp), %r14
movq %r14, %rdi
movq %rax, %rsi
callq 0x792e
cmpq $0x0, (%rax)
jne 0x780d
movq 0x18(%rsp), %rcx
movq 0x10(%rbx), %rax
leaq 0x8(%rsp), %rdi
movq (%rdi), %rdx
movq (%rbx), %rsi
movq %rsi, (%rdi)
movq %rdx, (%rbx)
movq 0x8(%rdi), %rdx
movq 0x8(%rbx), %rsi
movq %rsi, 0x8(%rdi)
movq %rdx, 0x8(%rbx)
movq %rax, 0x10(%rdi)
movq %rcx, 0x10(%rbx)
callq 0x798c
addq $0x28, %rsp
popq %rbx
popq %r14
retq
leaq 0x23cc(%rip), %rdi      # 0x9c30
leaq 0x21c8(%rip), %rsi      # 0x9a33
leaq 0x21f0(%rip), %rcx      # 0x9a62
movl $0x2d7, %edx            # imm = 0x2D7
callq 0x20f0
jmp 0x7893
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0x798c
movq %rbx, %rdi
callq 0x2240
movq %rax, %rdi
callq 0x696f
nop
// File: /workspace/github_cpp_makefile_star2_O3/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 0x78f2
movq %rsi, %rbx
movq %rdi, %r14
movq %rdx, 0x18(%rdi)
movq (%rdi), %rdi
movq %rdx, %rsi
xorl %edx, %edx
callq 0x7912
movq %rax, 0x8(%r14)
movq 0x18(%r14), %rcx
movq %rax, 0x10(%r14)
testq %rcx, %rcx
je 0x78ea
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 0x78d3
addq $0x8, %rsp
popq %rbx
popq %r14
retq
leaq 0x200c(%rip), %rdi      # 0x9905
leaq 0x200b(%rip), %rsi      # 0x990b
leaq 0x2035(%rip), %rcx      # 0x993c
movl $0x4bf, %edx            # imm = 0x4BF
callq 0x20f0
nop
// File: /workspace/github_cpp_makefile_star2_O3/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), %r14
testq %r14, %r14
je 0x7a2b
movq 0x8(%rbx), %r12
movq (%r14,%r12,8), %r15
testq %r15, %r15
je 0x7a1c
movq (%r15), %rax
movq %rax, (%r14,%r12,8)
leaq -0x30(%r15), %rdi
movl -0x8(%r15), %eax
cmpl $0x3, %eax
je 0x79e9
cmpl $0x2, %eax
je 0x79e2
cmpl $0x1, %eax
jne 0x79ee
movq -0x30(%r15), %rdi
leaq -0x20(%r15), %rax
cmpq %rax, %rdi
je 0x79ee
callq 0x2170
jmp 0x79ee
callq 0x798c
jmp 0x79ee
callq 0x447c
movq -0x50(%r15), %rdi
leaq -0x40(%r15), %rax
cmpq %rax, %rdi
je 0x7a00
callq 0x2170
addq $-0x50, %r15
movq %r15, %rdi
callq 0x2170
decq 0x10(%rbx)
movq (%r14,%r12,8), %r15
testq %r15, %r15
jne 0x79b0
movq (%rbx), %r14
movq %r14, %rdi
callq 0x2170
movq $0x0, (%rbx)
cmpq $0x0, 0x10(%rbx)
jne 0x7a3e
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
leaq 0x21ea(%rip), %rdi      # 0x9c2f
leaq 0x1a48(%rip), %rsi      # 0x9494
leaq 0x21e9(%rip), %rcx      # 0x9c3c
movl $0x342, %edx            # imm = 0x342
callq 0x20f0
movq %rax, %rdi
callq 0x696f
nop
// File: /workspace/github_cpp_makefile_star2_O3/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 0x70a4
movq %rax, %r15
leaq 0x6242(%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 0x7c12
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 0x7b13
movq %r15, %rdi
callq 0x2170
jmp 0x7b13
movq %rax, %r14
movq %rbx, %rdi
callq 0x447c
movq %r14, %rdi
callq 0x2240
nop
// File: /workspace/github_cpp_makefile_star2_O3/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 0x7b65
movq %rax, %rdx
jmp 0x7c12
movq 0x10(%rdi), %rdx
subq %rax, %rdx
jl 0x7b73
jmp 0x7c12
pushq %rax
leaq 0x23fe(%rip), %rdi      # 0x9f79
leaq 0x2305(%rip), %rsi      # 0x9e87
leaq 0x241f(%rip), %rcx      # 0x9fa8
movl $0x7e, %edx
callq 0x20f0
nop
// File: /workspace/github_cpp_makefile_star2_O3/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 0x7baf
testb %cl, %cl
jne 0x7ba8
testq %rdx, %rdx
jg 0x7bed
negq %rdx
testq %rdx, %rdx
jne 0x7bce
popq %rax
retq
leaq 0x22bf(%rip), %rdi      # 0x9e75
leaq 0x22ca(%rip), %rsi      # 0x9e87
leaq 0x2599(%rip), %rcx      # 0xa15d
movl $0x86, %edx
callq 0x20f0
leaq 0x2658(%rip), %rdi      # 0xa22d
leaq 0x22ab(%rip), %rsi      # 0x9e87
leaq 0x257a(%rip), %rcx      # 0xa15d
movl $0x90, %edx
callq 0x20f0
leaq 0x2385(%rip), %rdi      # 0x9f79
leaq 0x228c(%rip), %rsi      # 0x9e87
leaq 0x255b(%rip), %rcx      # 0xa15d
movl $0x8c, %edx
callq 0x20f0
// File: /workspace/github_cpp_makefile_star2_O3/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 0x7d36
testq %rdx, %rdx
je 0x7d30
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 0x1461(%rip), %xmm1     # 0x90b0
movdqa 0x1469(%rip), %xmm2     # 0x90c0
movdqa 0x1471(%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 0x7cb6
movl $0x0, -0x90(%rsi)
pxor %xmm4, %xmm6
pextrw $0x4, %xmm6, %r8d
testb $0x1, %r8b
je 0x7ccd
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 0x7d0a
movl $0x0, -0x30(%rsi)
pextrw $0x4, %xmm5, %r8d
testb $0x1, %r8b
je 0x7d1c
movl $0x0, (%rsi)
addq $0x4, %rdx
addq $0xc0, %rsi
cmpq %rdx, %rcx
jne 0x7c67
movq %rax, 0x10(%rdi)
popq %rax
retq
leaq 0x2349(%rip), %rdi      # 0xa086
leaq 0x2143(%rip), %rsi      # 0x9e87
leaq 0x234d(%rip), %rcx      # 0xa098
movl $0x97, %edx
callq 0x20f0
nop
// File: /workspace/github_cpp_makefile_star2_O3/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 0x8667
cmpb $0x1, 0x10(%rbx)
je 0x8667
xorps %xmm0, %xmm0
movups %xmm0, 0x50(%rdi)
callq 0x8686
movb $0x1, 0x10(%rbx)
popq %rbx
retq
leaq 0xe0f(%rip), %rdi       # 0x947d
leaq 0xe1f(%rip), %rsi       # 0x9494
leaq 0x1e37(%rip), %rcx      # 0xa4b3
movl $0x54, %edx
callq 0x20f0
// File: /workspace/github_cpp_makefile_star2_O3/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 %rbx
pushq %rax
movq 0x28(%rdi), %rax
testq %rax, %rax
je 0x248f
movq %rdi, %rcx
leaq 0x18(%rdi), %rbx
leaq 0x20(%rdi), %r14
movq %r14, %rdi
xorl %r8d, %r8d
cmpq %rsi, 0x20(%rax)
setb %r8b
cmovaeq %rax, %rdi
movq 0x10(%rax,%r8,8), %rax
testq %rax, %rax
jne 0x2467
cmpq %r14, %rdi
je 0x248f
cmpq %rsi, 0x20(%rdi)
cmovbeq %rdi, %r14
jbe 0x249c
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
testb %dl, %dl
je 0x24dd
movq 0x30(%rdi), %r15
testq %r15, %r15
je 0x24ec
movl 0x8(%r15), %eax
testl %eax, %eax
je 0x24ec
leal 0x1(%rax), %edx
lock
cmpxchgl %edx, 0x8(%r15)
jne 0x24ad
movl 0x8(%r15), %eax
testl %eax, %eax
je 0x24ec
movq 0x28(%rdi), %rdi
testq %rdi, %rdi
je 0x24ec
movq %rcx, %rsi
callq 0x251e
movq %r15, %rdi
callq 0x2ddc
movq %rbx, %rdi
movq %r14, %rsi
callq 0x3022
movb $0x1, %al
jmp 0x2491
leaq 0x3b65(%rip), %rdi      # 0x6058
leaq 0x3b15(%rip), %rsi      # 0x600f
leaq 0x3b6b(%rip), %rcx      # 0x606c
movl $0x16, %edx
callq 0x20c0
movq %rax, %rbx
movq %r15, %rdi
callq 0x2ddc
movq %rbx, %rdi
callq 0x21f0
// File: /workspace/github_cpp_makefile_star2_O3/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 0x28d2
cmpq %rbx, (%rax)
jne 0x25a4
movq %rdx, %r15
addq $0x8, %rax
movq %rax, %rdi
callq 0x2d5a
movq 0x10(%r15), %r14
testq %r14, %r14
je 0x2599
movl 0x8(%r14), %eax
testl %eax, %eax
je 0x2599
leal 0x1(%rax), %ecx
lock
cmpxchgl %ecx, 0x8(%r14)
jne 0x2551
movl 0x8(%r14), %eax
testl %eax, %eax
setne %al
movq 0x8(%r15), %rdi
testq %rdi, %rdi
setne %cl
andb %al, %cl
cmpb $0x1, %cl
jne 0x2587
movq %rbx, %rsi
movl $0x1, %edx
callq 0x2446
movq %r14, %rdi
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp 0x2ddc
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
leaq 0x3ba5(%rip), %rdi      # 0x6150
leaq 0x3a5d(%rip), %rsi      # 0x600f
leaq 0x3baf(%rip), %rcx      # 0x6168
movl $0x4f, %edx
callq 0x20c0
movq %rax, %rbx
movq %r14, %rdi
callq 0x2ddc
movq %rbx, %rdi
callq 0x21f0
// File: /workspace/github_cpp_makefile_star2_O3/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), %rax
testq %rax, %rax
je 0x2611
addq $0x20, %rdi
movq %rdi, %rcx
xorl %r8d, %r8d
cmpq %rsi, 0x20(%rax)
setb %r8b
cmovaeq %rax, %rcx
movq 0x10(%rax,%r8,8), %rax
testq %rax, %rax
jne 0x25ed
cmpq %rdi, %rcx
je 0x2611
cmpq %rsi, 0x20(%rcx)
jbe 0x261c
xorl %r14d, %r14d
movl %r14d, %eax
popq %rbx
popq %r14
popq %rbp
retq
movq 0x30(%rcx), %rbx
testq %rbx, %rbx
je 0x2658
movl 0x8(%rbx), %eax
testl %eax, %eax
je 0x2658
leal 0x1(%rax), %edi
lock
cmpxchgl %edi, 0x8(%rbx)
jne 0x2628
movl 0x8(%rbx), %eax
testl %eax, %eax
je 0x2658
movq 0x28(%rcx), %rdi
testq %rdi, %rdi
je 0x2658
callq 0x268a
movl %eax, %r14d
movq %rbx, %rdi
callq 0x2ddc
jmp 0x2614
leaq 0x39f9(%rip), %rdi      # 0x6058
leaq 0x39a9(%rip), %rsi      # 0x600f
leaq 0x3a22(%rip), %rcx      # 0x608f
movl $0x22, %edx
callq 0x20c0
movq %rax, %r14
movq %rbx, %rdi
callq 0x2ddc
movq %r14, %rdi
callq 0x21f0
// File: /workspace/github_cpp_makefile_star2_O3/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 %rbx
pushq %rax
movq %rdx, %rbx
movq %rsi, %r15
callq 0x28d2
cmpq %r15, (%rax)
jne 0x2707
movq %rax, %r14
movq 0x10(%rax), %rax
testq %rax, %rax
je 0x26fa
movl 0x8(%rax), %eax
testl %eax, %eax
je 0x26fa
movq %r14, %r15
addq $0x18, %r15
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 %r15, %rsi
callq 0x2040
incq 0x28(%r14)
movb $0x1, %al
jmp 0x26fc
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
leaq 0x3a78(%rip), %rdi      # 0x6186
leaq 0x38fa(%rip), %rsi      # 0x600f
leaq 0x3a82(%rip), %rcx      # 0x619e
movl $0x5e, %edx
callq 0x20c0
// File: /workspace/github_cpp_makefile_star2_O3/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 0x27bc
movq %rsi, %rbx
leaq -0x60(%rbp), %r12
movq 0x30(%r15), %r13
testq %r13, %r13
je 0x27cb
movl 0x8(%r13), %eax
testl %eax, %eax
je 0x27cb
leal 0x1(%rax), %ecx
lock
cmpxchgl %ecx, 0x8(%r13)
jne 0x275b
movl 0x8(%r13), %eax
testl %eax, %eax
je 0x27cb
movq 0x28(%r15), %rdi
testq %rdi, %rdi
je 0x27cb
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 0x268a
movq %r13, %rdi
callq 0x2ddc
movq %r15, %rdi
callq 0x20f0
movq %rax, %r15
cmpq %r14, %rax
jne 0x274e
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x3886(%rip), %rdi      # 0x6058
leaq 0x3836(%rip), %rsi      # 0x600f
leaq 0x38d9(%rip), %rcx      # 0x60b9
movl $0x29, %edx
callq 0x20c0
movq %rax, %rbx
movq %r13, %rdi
callq 0x2ddc
movq %rbx, %rdi
callq 0x21f0
nop
// File: /workspace/github_cpp_makefile_star2_O3/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 0x28e3
movq %rdi, %rax
movq %rcx, %rdi
jmp 0x28eb
movq %rcx, %rax
cmpq %rsi, (%rcx)
jne 0x28ef
movq %rdi, %rdx
retq
pushq %rbp
movq %rsp, %rbp
leaq 0x3817(%rip), %rdi      # 0x6111
leaq 0x370e(%rip), %rsi      # 0x600f
leaq 0x381c(%rip), %rcx      # 0x6124
movl $0x3a, %edx
callq 0x20c0
// File: /workspace/github_cpp_makefile_star2_O3/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), %rax
testq %rax, %rax
je 0x2946
movq %rdx, %r15
movq %rsi, %r14
movq (%rdx), %rcx
testq %rcx, %rcx
sete %dl
cmpq %rcx, %rax
sete %sil
orb %dl, %sil
je 0x2951
xorps %xmm0, %xmm0
movups %xmm0, (%rbx)
jmp 0x2a01
movq 0x28(%rax), %rdx
testq %rdx, %rdx
je 0x2985
leaq 0x20(%rax), %rdi
movq %rdi, %rsi
xorl %r8d, %r8d
cmpq %rcx, 0x20(%rdx)
setb %r8b
cmovaeq %rdx, %rsi
movq 0x10(%rdx,%r8,8), %rdx
testq %rdx, %rdx
jne 0x2961
cmpq %rdi, %rsi
je 0x2985
cmpq %rcx, 0x20(%rsi)
jbe 0x2946
movq 0x28(%rcx), %rdx
testq %rdx, %rdx
je 0x29b8
addq $0x20, %rcx
movq %rcx, %rsi
xorl %edi, %edi
cmpq %rax, 0x20(%rdx)
setb %dil
cmovaeq %rdx, %rsi
movq 0x10(%rdx,%rdi,8), %rdx
testq %rdx, %rdx
jne 0x2995
cmpq %rcx, %rsi
je 0x29b8
cmpq %rax, 0x20(%rsi)
jbe 0x2946
movl $0x60, %edi
callq 0x2130
movq %rax, %r13
movq %rax, %rdi
movq %r14, %rsi
movq %r15, %rdx
callq 0x2cc4
movq %r13, (%rbx)
leaq 0x8(%rbx), %r12
movq %r12, %rdi
movq %r13, %rsi
callq 0x3066
movq (%r14), %rdi
movq (%r15), %rsi
movq %rbx, %rdx
callq 0x23b6
movq (%r15), %rdi
movq (%r14), %rsi
movq %rbx, %rdx
callq 0x23b6
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movl $0x60, %esi
movq %r13, %rdi
callq 0x2140
jmp 0x2a36
movq %rax, %rbx
movq (%r12), %rdi
testq %rdi, %rdi
je 0x2a36
callq 0x2ddc
movq %rbx, %rdi
callq 0x21f0
// File: /workspace/github_cpp_makefile_star2_O3/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
pushq %rax
leaq 0x18(%rdx), %rbx
movq 0x18(%rdx), %r12
cmpq %rbx, %r12
je 0x2c6d
movq %rdx, %r14
movl 0x40(%r12), %eax
testl %eax, %eax
jle 0x2bfa
decl %eax
movl %eax, 0x40(%r12)
movq (%r12), %r12
jmp 0x2c64
movq 0x10(%r14), %r13
testq %r13, %r13
je 0x2c7c
leaq 0x10(%r12), %rdx
movl 0x8(%r13), %eax
testl %eax, %eax
je 0x2c7c
leal 0x1(%rax), %ecx
lock
cmpxchgl %ecx, 0x8(%r13)
jne 0x2c0c
movl 0x8(%r13), %eax
testl %eax, %eax
je 0x2c92
movq 0x8(%r14), %rdi
testq %rdi, %rdi
je 0x2c92
movq %rsi, %r15
callq 0x27fe
movq (%r12), %rax
movq %rax, -0x30(%rbp)
decq 0x28(%r14)
movq %r12, %rdi
callq 0x21b0
movl $0x48, %esi
movq %r12, %rdi
callq 0x2140
movq %r13, %rdi
callq 0x2ddc
movq -0x30(%rbp), %r12
movq %r15, %rsi
cmpq %rbx, %r12
jne 0x2be4
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x2da0
movq %rbx, %rdi
callq 0x2da0
movq %r13, %rdi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x2ddc
movq %rax, %rbx
movq %r13, %rdi
callq 0x2ddc
movq %rbx, %rdi
callq 0x21f0
nop