// File: /workspace/github_cpp_makefile_star2_O3/UBOdin[P]jitd-cpp/include/jitd.hpp
// Function: JITD<Record, PureLocalPolicy<Record>>::remove(std::shared_ptr<std::vector<Record, std::allocator<Record>>>)
void remove(Buffer<Tuple> records)
    {
      DeleteCog<Tuple> *newRootCog = new DeleteCog<Tuple>(
        nullptr,
        CogHandle<Tuple>(new CogHandleBase<Tuple>(CogPtr<Tuple>(
          new ArrayCog<Tuple>(records))))
      );
      CogHandle<Tuple> newRoot = 
        CogHandle<Tuple>(new CogHandleBase<Tuple>(CogPtr<Tuple>(newRootCog)));
      swapInNewRoot(newRoot, newRootCog->source);
    }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x68, %rsp
movq %rsi, %r15
movq %rdi, %r14
movl $0x30, %edi
callq 0x4270
movq %rax, %r13
xorps %xmm0, %xmm0
movaps %xmm0, -0x60(%rbp)
movl $0x10, %edi
callq 0x4270
movq %rax, %r12
movl $0x30, %edi
callq 0x4270
movq (%r15), %rcx
movq 0x8(%r15), %r15
testq %r15, %r15
je 0xbcf1
movq 0xc2f3(%rip), %rdx      # 0x17fc0
cmpb $0x0, (%rdx)
je 0xbd10
incl 0x8(%r15)
movl $0x3, 0x8(%rax)
leaq 0xb9cc(%rip), %rdx      # 0x176b0
movq %rdx, (%rax)
movq %rcx, 0x10(%rax)
movq %r15, 0x18(%rax)
jmp 0xbd37
movl $0x3, 0x8(%rax)
leaq 0xb9b1(%rip), %rdx      # 0x176b0
movq %rdx, (%rax)
movq %rcx, 0x10(%rax)
movq $0x0, 0x18(%rax)
jmp 0xbd3b
lock
incl 0x8(%r15)
cmpb $0x0, (%rdx)
movl $0x3, 0x8(%rax)
leaq 0xb98a(%rip), %rdx      # 0x176b0
movq %rdx, (%rax)
movq %rcx, 0x10(%rax)
movq %r15, 0x18(%rax)
je 0xbedb
incl 0x8(%r15)
movq (%rcx), %rdx
movq %rdx, 0x20(%rax)
movq 0x8(%rcx), %rcx
movq %rcx, 0x28(%rax)
leaq -0x40(%rbp), %rdi
movq %rax, -0x8(%rdi)
movq %rax, %rsi
callq 0x6eb0
movq -0x48(%rbp), %rax
movq %rax, (%r12)
movq -0x40(%rbp), %rax
movq %rax, 0x8(%r12)
testq %rax, %rax
je 0xbd85
movq 0xc249(%rip), %rcx      # 0x17fc0
cmpb $0x0, (%rcx)
je 0xbd81
incl 0x8(%rax)
jmp 0xbd85
lock
incl 0x8(%rax)
leaq -0x88(%rbp), %rdi
movq %r12, -0x8(%rdi)
movq %r12, %rsi
callq 0x6f94
leaq -0x60(%rbp), %rsi
leaq -0x90(%rbp), %rbx
movq %r13, %rdi
movq %rbx, %rdx
callq 0xcf18
movq 0x8(%rbx), %rdi
testq %rdi, %rdi
je 0xbdbc
callq 0x65c2
movq -0x40(%rbp), %rdi
testq %rdi, %rdi
je 0xbdca
callq 0x65c2
testq %r15, %r15
je 0xbdd7
movq %r15, %rdi
callq 0x65c2
movq -0x58(%rbp), %rdi
testq %rdi, %rdi
je 0xbde5
callq 0x65c2
movl $0x10, %edi
callq 0x4270
movq %rax, %r15
leaq -0x30(%rbp), %rdi
movq %r13, %rsi
movq %r13, -0x8(%rdi)
callq 0xd1b8
movq -0x38(%rbp), %rax
movq %rax, (%r15)
movq -0x30(%rbp), %rax
movq %rax, 0x8(%r15)
testq %rax, %rax
je 0xbe2b
movq 0xc1a3(%rip), %rcx      # 0x17fc0
cmpb $0x0, (%rcx)
je 0xbe27
incl 0x8(%rax)
jmp 0xbe2b
lock
incl 0x8(%rax)
leaq -0x68(%rbp), %rdi
movq %r15, -0x8(%rdi)
movq %r15, %rsi
callq 0x6f94
movq -0x30(%rbp), %rdi
testq %rdi, %rdi
je 0xbe49
callq 0x65c2
leaq 0x10(%r13), %r15
addq $0x18, %r13
leaq 0x8(%r14), %r12
movq (%r14), %rax
movq %rax, (%r15)
movq %r13, %rdi
movq %r12, %rsi
callq 0xce1a
movq -0x70(%rbp), %rax
movq -0x68(%rbp), %rcx
testq %rcx, %rcx
je 0xbe88
movq 0xc146(%rip), %rdx      # 0x17fc0
cmpb $0x0, (%rdx)
je 0xbe84
incl 0x8(%rcx)
jmp 0xbe88
lock
incl 0x8(%rcx)
movq %rax, -0x80(%rbp)
movq %rcx, -0x78(%rbp)
movq %r14, %rdi
movq %r15, %rsi
leaq -0x80(%rbp), %rdx
movl $0x5, %ecx
movl $0x5, %r8d
callq 0xce63
movl %eax, %ebx
movq -0x78(%rbp), %rdi
testq %rdi, %rdi
je 0xbeba
callq 0x65c2
testb %bl, %bl
je 0xbe55
movq -0x68(%rbp), %rdi
testq %rdi, %rdi
je 0xbecc
callq 0x65c2
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
lock
incl 0x8(%r15)
jmp 0xbd3b
movq %rax, %r14
movq -0x30(%rbp), %rdi
testq %rdi, %rdi
je 0xbf67
callq 0x65c2
jmp 0xbf67
movq %rax, %r14
movl $0x10, %esi
movq %r15, %rdi
jmp 0xbf62
movq %rax, %r14
movq -0x40(%rbp), %rdi
testq %rdi, %rdi
je 0xbf16
callq 0x65c2
testq %r15, %r15
je 0xbf4c
movq %r15, %rdi
callq 0x65c2
jmp 0xbf4c
movq %rax, %r14
testq %r15, %r15
je 0xbf3a
movq %r15, %rdi
callq 0x65c2
jmp 0xbf3a
movq %rax, %r14
movl $0x10, %esi
movq %r12, %rdi
callq 0x4280
jmp 0xbf4c
movq %rax, %r14
movq -0x58(%rbp), %rdi
testq %rdi, %rdi
je 0xbf5a
callq 0x65c2
movl $0x30, %esi
movq %r13, %rdi
callq 0x4280
movq %r14, %rdi
callq 0x4400