// 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>>::priv_range_insert_new_allocation(JSON*, unsigned long, JSON*, unsigned long, boost::container::container_detail::advanced_insert_aux_int<JSON*>&)
void priv_range_insert_new_allocation
      (T* new_start, size_type new_cap, T* pos, size_type n, advanced_insert_aux_int_t &interf)
   {
      //n can be zero, if we want to reallocate!
      T *new_finish = new_start;
      T *old_finish;
      //Anti-exception rollbacks
      typename value_traits::ArrayDeallocator scoped_alloc(new_start, this->alloc(), new_cap);
      typename value_traits::ArrayDestructor constructed_values_destroyer(new_start, this->alloc(), 0u);

      //Initialize with [begin(), pos) old buffer
      //the start of the new buffer
      T *old_buffer = container_detail::to_raw_pointer(this->members_.m_start);
      if(old_buffer){
         new_finish = ::boost::container::uninitialized_move_alloc
            (this->alloc(), container_detail::to_raw_pointer(this->members_.m_start), pos, old_finish = new_finish);
         constructed_values_destroyer.increment_size(new_finish - old_finish);
      }
      //Initialize new objects, starting from previous point
      interf.uninitialized_copy_remaining_to(old_finish = new_finish);
      new_finish += n;
      constructed_values_destroyer.increment_size(new_finish - old_finish);
      //Initialize from the rest of the old buffer,
      //starting from previous point
      if(old_buffer){
         new_finish = ::boost::container::uninitialized_move_alloc
            (this->alloc(), pos, old_buffer + this->members_.m_size, new_finish);
         //Destroy and deallocate old elements
         //If there is allocated memory, destroy and deallocate
         if(!value_traits::trivial_dctr_after_move)
            this->destroy_n(old_buffer, this->members_.m_size);
         this->alloc().deallocate(this->members_.m_start, this->members_.m_capacity);
      }
      this->members_.m_start     = new_start;
      this->members_.m_size      = new_finish - new_start;
      this->members_.m_capacity  = new_cap;
      //All construction successful, disable rollbacks
      constructed_values_destroyer.release();
      scoped_alloc.release();
   }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %r8, 0x8(%rsp)
movq %rcx, %rbp
movq %rdx, 0x10(%rsp)
movq %rsi, %rbx
movq %rdi, %r14
movq (%rdi), %r13
movabsq $-0x5555555555555555, %rdx # imm = 0xAAAAAAAAAAAAAAAB
testq %r13, %r13
je 0x6f8c
movq %rbx, %r12
cmpq %rbp, %r13
je 0x6f7c
xorps %xmm0, %xmm0
movq %rbx, %r12
movq %r13, %rax
movq $0x0, (%r12)
movl $0x0, 0x28(%r12)
movups (%rax), %xmm1
movups 0x10(%rax), %xmm2
movups %xmm1, (%r12)
movups %xmm2, 0x10(%r12)
movq 0x20(%rax), %rcx
movq %rcx, 0x20(%r12)
movl 0x28(%rax), %ecx
movl %ecx, 0x28(%r12)
movups %xmm0, 0x1c(%rax)
movups %xmm0, 0x10(%rax)
movups %xmm0, (%rax)
addq $0x30, %rax
addq $0x30, %r12
cmpq %rbp, %rax
jne 0x6f30
movq %r12, %r15
subq %rbx, %r15
sarq $0x4, %r15
imulq %rdx, %r15
jmp 0x6f92
xorl %r15d, %r15d
movq %rbx, %r12
movq (%r9), %rax
movq %r9, %rdi
movq %r12, %rsi
callq *0x8(%rax)
movq 0x8(%rsp), %rax
leaq (%rax,%rax,2), %rax
shlq $0x4, %rax
addq %rax, %r12
testq %r13, %r13
je 0x7041
movq 0x8(%r14), %rax
leaq (%rax,%rax,2), %rax
shlq $0x4, %rax
addq %r13, %rax
cmpq %rbp, %rax
je 0x701c
xorps %xmm0, %xmm0
movq $0x0, (%r12)
movl $0x0, 0x28(%r12)
movups (%rbp), %xmm1
movups 0x10(%rbp), %xmm2
movups %xmm1, (%r12)
movups %xmm2, 0x10(%r12)
movq 0x20(%rbp), %rcx
movq %rcx, 0x20(%r12)
movl 0x28(%rbp), %ecx
movl %ecx, 0x28(%r12)
movups %xmm0, 0x1c(%rbp)
movups %xmm0, 0x10(%rbp)
movups %xmm0, (%rbp)
addq $0x30, %rbp
addq $0x30, %r12
cmpq %rax, %rbp
jne 0x6fce
movq 0x8(%r14), %r15
testq %r15, %r15
je 0x7039
movq %r14, %rdi
movq %r13, %rsi
callq 0x7196
addq $0x30, %r13
decq %r15
jne 0x7025
movq (%r14), %rdi
callq 0x2170
movabsq $-0x5555555555555555, %rax # imm = 0xAAAAAAAAAAAAAAAB
movq %rbx, (%r14)
subq %rbx, %r12
sarq $0x4, %r12
imulq %rax, %r12
movq %r12, 0x8(%r14)
movq 0x10(%rsp), %rax
movq %rax, 0x10(%r14)
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r13
testq %rbx, %rbx
je 0x7099
testq %r15, %r15
je 0x7099
movq %rbx, %r12
movq %r14, %rdi
movq %r12, %rsi
callq 0x7196
addq $0x30, %r12
decq %r15
jne 0x7085
testq %rbx, %rbx
je 0x70a6
movq %rbx, %rdi
callq 0x2170
movq %r13, %rdi
callq 0x2240