// File: /workspace/github_cpp_makefile_star2_O3/planaria[P]cb_tree/./include/cb_tree/detail/cb_tree_base.hpp
// Function: std::pair<cb_tree::detail::cb_iterator<cb_tree::detail::cb_node<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>*>, bool> cb_tree::detail::cb_tree_base<cb_tree::cb_set<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, cb_tree::cb_key_traits<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, void>, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, cb_tree::cb_key_traits<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, void>, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>>::insert_impl<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&>(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
std::pair<iterator, bool> insert_impl(Value_&& value)
			{
				size_type size = traits_type::size(derived().key(value));

				if (root_node())
				{
					node_pointer branch = find_branch(derived().key(value), size);
					node_pointer leaf = branch->any_leaf();
					size_type mismatch = traits_type::mismatch(derived().key(value), derived().key(leaf->value()));

					while (branch != root_node() && mismatch <= branch->parent()->index())
						branch = branch->parent();

					if (mismatch == branch->index())
					{
						if (size == mismatch)
						{
							if (branch->leaf())
								return std::make_pair(iterator(branch), false);

							branch->construct_value(node_allocator(), std::forward<Value_>(value));
							++size_;

							return std::make_pair(make_new_iterator_to(branch), true);
						}
						else
						{
							assert(size > mismatch);

							node_pointer new_node = construct_node(std::forward<Value_>(value));
							++size_;

							new_node->parent() = branch;
							new_node->index() = size;

							if (traits_type::test(derived().key(new_node->value()), branch->index()))
								branch->right() = new_node;
							else
								branch->left() = new_node;

							return std::make_pair(make_new_iterator_to(new_node), true);
						}
					}
					else if (size == mismatch)
					{
						node_pointer new_node = construct_node(std::forward<Value_>(value));
						++size_;

						new_node->parent() = branch->parent();
						new_node->index() = size;

						if (branch->is_left_child())
							branch->parent()->left() = new_node;
						else
							branch->parent()->right() = new_node;

						branch->parent() = new_node;

						if (traits_type::test(derived().key(leaf->value()), mismatch))
							new_node->right() = branch;
						else
							new_node->left() = branch;

						return std::make_pair(make_new_iterator_to(new_node), true);
					}
					else
					{
						assert(size > mismatch);

						node_pointer branch_node = construct_node();
						node_pointer new_node;

						try
						{
							new_node = construct_node(std::forward<Value_>(value));
						}
						catch (...)
						{
							destroy_node(branch_node);
							throw;
						}

						++size_;

						branch_node->parent() = branch->parent();
						branch_node->index() = mismatch;

						if (branch->is_left_child())
							branch->parent()->left() = branch_node;
						else
							branch->parent()->right() = branch_node;

						branch->parent() = branch_node;

						new_node->parent() = branch_node;
						new_node->index() = size;

						if (traits_type::test(derived().key(leaf->value()), mismatch))
						{
							branch_node->left() = new_node;
							branch_node->right() = branch;
						}
						else
						{
							branch_node->left() = branch;
							branch_node->right() = new_node;
						}

						return std::make_pair(make_new_iterator_to(new_node), true);
					}
				}
				else
				{
					node_pointer new_node = construct_node(std::forward<Value_>(value));
					new_node->parent() = end_node();
					new_node->index() = size;
					begin_node() = new_node;
					root_node() = new_node;
					++size_;
					return std::make_pair(begin(), true);
				}
			}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rsi, %r12
movq %rdi, %rbp
movq 0x8(%rsi), %r13
shlq $0x4, %r13
leaq 0x1(%r13), %rbx
leaq 0x8(%rdi), %r14
cmpq $0x0, 0x8(%rdi)
je 0xc00b
movq %rbp, %rdi
movq %r12, %rsi
movq %rbx, 0x8(%rsp)
movq %rbx, %rdx
callq 0xc32c
movq %rax, %r15
movb 0x8(%rax), %al
movq %r15, %rbx
testb %al, %al
jne 0xbfb3
movq %r15, %rbx
xorl %eax, %eax
cmpq $0x0, (%rbx)
sete %al
shll $0x4, %eax
movq (%rbx,%rax), %rbx
movb 0x8(%rbx), %al
cmpb $0x1, %al
jne 0xbf9c
movq %rbp, (%rsp)
testb %al, %al
je 0xc29d
leaq 0x28(%rbx), %rsi
movq %r12, %rdi
movq %rsi, 0x10(%rsp)
callq 0xc3b8
movq %rax, %rbp
movq (%r14), %rax
movq %r15, %r14
cmpq %rax, %r15
je 0xbfe8
movq 0x18(%r14), %r15
cmpq 0x20(%r15), %rbp
jbe 0xbfd6
cmpq 0x20(%r14), %rbp
jne 0xc067
cmpq %rbp, 0x8(%rsp)
jne 0xc106
cmpb $0x0, 0x8(%r14)
je 0xc27f
xorl %edx, %edx
jmp 0xc26d
movl $0x48, %edi
callq 0xa3a0
movq %r14, %r15
movq %rax, %r14
xorl %eax, %eax
movq %rax, (%r14)
movb $0x1, 0x8(%r14)
leaq 0x28(%r14), %rdi
leaq 0x38(%r14), %rcx
xorps %xmm0, %xmm0
movups %xmm0, 0x10(%r14)
movq %rax, 0x20(%r14)
movq %rcx, 0x28(%r14)
movq (%r12), %rsi
movq 0x8(%r12), %rdx
addq %rsi, %rdx
callq 0xc586
movq %r15, 0x18(%r14)
movq %rbx, 0x20(%r14)
movq %r14, (%rbp)
movq %r14, 0x8(%rbp)
incq 0x18(%rbp)
jmp 0xc26b
movq 0x8(%rsp), %rax
cmpq %rbp, %rax
jne 0xc190
movl $0x48, %edi
movq %rax, %r13
callq 0xa3a0
movq %rax, %r15
xorl %eax, %eax
movq %rax, (%r15)
movb $0x1, 0x8(%r15)
leaq 0x28(%r15), %rdi
leaq 0x38(%r15), %rcx
xorps %xmm0, %xmm0
movups %xmm0, 0x10(%r15)
movq %rax, 0x20(%r15)
movq %rcx, 0x28(%r15)
movq (%r12), %rsi
movq 0x8(%r12), %rdx
addq %rsi, %rdx
callq 0xc586
movq (%rsp), %r12
incq 0x18(%r12)
movq 0x18(%r14), %rax
movq %rax, 0x18(%r15)
movq %r13, 0x20(%r15)
xorl %ecx, %ecx
cmpq %r14, (%rax)
setne %cl
shll $0x4, %ecx
movq %r15, (%rax,%rcx)
movq %r15, 0x18(%r14)
cmpb $0x0, 0x8(%rbx)
je 0xc29d
movq %r13, %rsi
movq 0x10(%rsp), %rdi
callq 0xc526
movzbl %al, %eax
shll $0x4, %eax
movq %r14, (%r15,%rax)
jmp 0xc25d
cmpq %rbp, %r13
jb 0xc2bc
movl $0x48, %edi
callq 0xa3a0
movq %rax, %r15
xorl %eax, %eax
movq %rax, (%r15)
movb $0x1, 0x8(%r15)
leaq 0x28(%r15), %r13
leaq 0x38(%r15), %rcx
xorps %xmm0, %xmm0
movups %xmm0, 0x10(%r15)
movq %rax, 0x20(%r15)
movq %rcx, 0x28(%r15)
movq (%r12), %rsi
movq 0x8(%r12), %rdx
addq %rsi, %rdx
movq %r13, %rdi
callq 0xc586
movq (%rsp), %rbx
incq 0x18(%rbx)
movq %r14, 0x18(%r15)
movq 0x8(%rsp), %rax
movq %rax, 0x20(%r15)
cmpb $0x0, 0x8(%r15)
je 0xc29d
movq 0x20(%r14), %rsi
movq %r13, %rdi
callq 0xc526
movzbl %al, %eax
shll $0x4, %eax
movq %r15, (%r14,%rax)
movq %rbx, %rdi
jmp 0xc260
cmpq %rbp, %r13
jb 0xc2db
movl $0x48, %edi
callq 0xa3a0
movq %rax, %r13
xorl %eax, %eax
movq %rax, (%r13)
movb $0x0, 0x8(%r13)
xorps %xmm0, %xmm0
movups %xmm0, 0x10(%r13)
movq %rax, 0x20(%r13)
movl $0x48, %edi
callq 0xa3a0
movq %rax, %r15
xorl %eax, %eax
movq %rax, (%r15)
movb $0x1, 0x8(%r15)
leaq 0x28(%r15), %rdi
leaq 0x38(%r15), %rcx
xorps %xmm0, %xmm0
movups %xmm0, 0x10(%r15)
movq %rax, 0x20(%r15)
movq %rcx, 0x28(%r15)
movq (%r12), %rsi
movq 0x8(%r12), %rdx
addq %rsi, %rdx
callq 0xc586
movq (%rsp), %r12
incq 0x18(%r12)
movq 0x18(%r14), %rax
movq %rax, 0x18(%r13)
movq %rbp, 0x20(%r13)
xorl %ecx, %ecx
cmpq %r14, (%rax)
setne %cl
shll $0x4, %ecx
movq %r13, (%rax,%rcx)
movq %r13, 0x18(%r14)
movq %r13, 0x18(%r15)
movq 0x8(%rsp), %rax
movq %rax, 0x20(%r15)
cmpb $0x0, 0x8(%rbx)
je 0xc29d
movq 0x10(%rsp), %rdi
movq %rbp, %rsi
callq 0xc526
testb %al, %al
movq %r14, %rax
cmovneq %r15, %rax
movq %r15, %rcx
cmovneq %r14, %rcx
movq %rax, (%r13)
movq %rcx, 0x10(%r13)
movq %r12, %rdi
movq %r15, %rsi
callq 0xc4aa
movq %rax, %r14
movb $0x1, %dl
movq %r14, %rax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %r14, %rdi
movq (%rsp), %rbx
movq %rbx, %rsi
movq %r12, %rdx
callq 0xc460
incq 0x18(%rbx)
movq %rbx, %rdi
movq %r14, %rsi
jmp 0xc263
leaq 0x40526(%rip), %rdi     # 0x4c7ca
leaq 0x40250(%rip), %rsi     # 0x4c4fb
leaq 0x4026e(%rip), %rcx     # 0x4c520
movl $0x78, %edx
callq 0xa240
leaq 0x3fdd6(%rip), %rdi     # 0x4c099
leaq 0x3fddf(%rip), %rsi     # 0x4c0a9
leaq 0x3fe02(%rip), %rcx     # 0x4c0d3
movl $0x246, %edx            # imm = 0x246
callq 0xa240
leaq 0x3fdb7(%rip), %rdi     # 0x4c099
leaq 0x3fdc0(%rip), %rsi     # 0x4c0a9
leaq 0x3fde3(%rip), %rcx     # 0x4c0d3
movl $0x26e, %edx            # imm = 0x26E
callq 0xa240
movq %rax, %rdi
callq 0xa150
movq (%rsp), %rdi
movq %r13, %rsi
callq 0xc6a8
callq 0xa510
movq %rax, %rbx
callq 0xa5f0
movq %rbx, %rdi
callq 0xa690
movq %rax, %rdi
callq 0xbda8
nop