// File: /workspace/github_cpp_makefile_star2_O3/silverneko[P]Lambda-calculus-interpreter/src/Dictionary.hpp
// Function: (anonymous namespace)::Trie<std::shared_ptr<Object>>::insert(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, std::shared_ptr<Object> const&, int) const
shared_ptr<Trie<T>> insert(const string& str, const T& t, int i = 0) const {
      shared_ptr<Trie<T>> newNode(new Trie<T>(*this));
      if(i == str.size()){
        newNode->endHere = true;
        newNode->cargo = t;
      }else{
        char c = str[i];
        auto branch = branches.find(c);
        if(branch != branches.end()){
          newNode->branches[c] = branch->second->insert(str, t, i+1);
        }else{
          shared_ptr<Trie<T>> empty(new Trie<T>());
          newNode->branches[c] = empty->insert(str, t, i+1);
        }
      }
      return newNode;
    }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movl %r8d, %ebp
movq %rcx, %r14
movq %rdx, %r15
movq %rsi, %r12
movq %rdi, %rbx
movl $0x50, %edi
callq 0x31c0
movq %rax, %r13
movq %rax, %rdi
movq %r12, %rsi
callq 0x3340
movq %rbx, %rdi
movq %r13, %rsi
callq 0x7118
movslq %ebp, %rax
cmpq %rax, 0x8(%r15)
jne 0x730d
movq (%rbx), %rdi
movb $0x1, 0x38(%rdi)
movq (%r14), %rax
movq %rax, 0x40(%rdi)
addq $0x48, %rdi
addq $0x8, %r14
movq %r14, %rsi
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x9e30
movq (%r15), %rcx
movsbq (%rcx,%rax), %rcx
movb %cl, 0xf(%rsp)
movq (%r12), %rdi
movq 0x8(%r12), %r8
movq %rcx, %rax
xorl %edx, %edx
divq %r8
movq (%rdi,%rdx,8), %rax
testq %rax, %rax
je 0x7395
movq (%rax), %r9
cmpb %cl, 0x8(%r9)
je 0x735e
movq %rdx, %rsi
movq (%r9), %r9
testq %r9, %r9
je 0x7395
movsbq 0x8(%r9), %rdi
movq %rdi, %rax
xorl %edx, %edx
divq %r8
cmpq %rsi, %rdx
jne 0x7395
cmpb %cl, %dil
jne 0x733f
movq 0x10(%r9), %rsi
incl %ebp
leaq 0x10(%rsp), %rdi
movq %r15, %rdx
movq %r14, %rcx
movl %ebp, %r8d
callq 0x7298
movq (%rbx), %rdi
leaq 0xf(%rsp), %rsi
callq 0x748a
movq 0x8(%rax), %rdi
movaps 0x10(%rsp), %xmm0
movups %xmm0, (%rax)
jmp 0x741a
movl $0x50, %edi
callq 0x31c0
movq %rax, %rcx
addq $0x30, %rcx
movq %rcx, (%rax)
movq $0x1, 0x8(%rax)
xorps %xmm0, %xmm0
movups %xmm0, 0x10(%rax)
movl $0x3f800000, 0x20(%rax) # imm = 0x3F800000
movups %xmm0, 0x40(%rax)
movups %xmm0, 0x28(%rax)
movb $0x0, 0x38(%rax)
leaq 0x10(%rsp), %rdi
movq %rax, %rsi
callq 0x7118
movq 0x10(%rsp), %rsi
incl %ebp
leaq 0x20(%rsp), %rdi
movq %r15, %rdx
movq %r14, %rcx
movl %ebp, %r8d
callq 0x7298
movq (%rbx), %rdi
leaq 0xf(%rsp), %rsi
callq 0x748a
movq 0x8(%rax), %rdi
movaps 0x20(%rsp), %xmm0
movups %xmm0, (%rax)
testq %rdi, %rdi
je 0x7415
callq 0x9e7a
movq 0x18(%rsp), %rdi
testq %rdi, %rdi
je 0x7424
callq 0x9e7a
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x744b
jmp 0x745f
movq %rax, %r14
movq 0x28(%rsp), %rdi
testq %rdi, %rdi
je 0x744e
callq 0x9e7a
jmp 0x744e
movq %rax, %r14
movq 0x18(%rsp), %rdi
testq %rdi, %rdi
je 0x7462
callq 0x9e7a
jmp 0x7462
movq %rax, %r14
movq 0x8(%rbx), %rdi
testq %rdi, %rdi
je 0x7482
callq 0x9e7a
jmp 0x7482
movq %rax, %r14
movl $0x50, %esi
movq %r13, %rdi
callq 0x31d0
movq %r14, %rdi
callq 0x32d0