// File: Myyura[P]MyyuraSat/./source/./solver_debug.cpp
// Function: MyyuraSat::Solver::garbage_collection_test()
void Solver::garbage_collection_test(void) {
    Vector<Literal> A = {Literal(1, 0), Literal(2, 0), Literal(3, 0)};
    Vector<Literal> B = {Literal(1, 0), Literal(2, 0)};
    Vector<Literal> C = {Literal(1, 0), Literal(2, 0), Literal(4, 0)};

    for (int i = 0; i <= 4; i++) {
        new_variable();
    }
    add_clause(A);
    add_clause(B);
    add_clause(C);

    print_clauses();
    remove_clause(_clauses[1]);
    print_clauses();
    garbage_collect();
    print_clauses();
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xd0, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0xc0(%rbp)
leaq -0x34(%rbp), %rdi
movq %rdi, -0xb8(%rbp)
movl $0x1, %esi
movl %esi, -0xac(%rbp)
xorl %edx, %edx
movl %edx, -0xa8(%rbp)
callq 0x7430
movl -0xa8(%rbp), %edx
leaq -0x30(%rbp), %rdi
movl $0x2, %esi
callq 0x7430
movl -0xa8(%rbp), %edx
leaq -0x2c(%rbp), %rdi
movl $0x3, %esi
callq 0x7430
movq -0xb8(%rbp), %rax
movq %rax, -0x28(%rbp)
movq $0x3, -0x20(%rbp)
movq -0x28(%rbp), %rsi
movq -0x20(%rbp), %rdx
leaq -0x18(%rbp), %rdi
callq 0x94d0
movl -0xac(%rbp), %esi
movl -0xa8(%rbp), %edx
leaq -0x60(%rbp), %rdi
callq 0x7430
jmp 0x6400
leaq -0x5c(%rbp), %rdi
movl $0x2, %esi
xorl %edx, %edx
callq 0x7430
jmp 0x6412
leaq -0x60(%rbp), %rax
movq %rax, -0x58(%rbp)
movq $0x2, -0x50(%rbp)
movq -0x58(%rbp), %rsi
movq -0x50(%rbp), %rdx
leaq -0x48(%rbp), %rdi
callq 0x94d0
jmp 0x6435
leaq -0x9c(%rbp), %rdi
movl $0x1, %esi
xorl %edx, %edx
callq 0x7430
jmp 0x644a
leaq -0x98(%rbp), %rdi
movl $0x2, %esi
xorl %edx, %edx
callq 0x7430
jmp 0x645f
leaq -0x94(%rbp), %rdi
movl $0x4, %esi
xorl %edx, %edx
callq 0x7430
jmp 0x6474
leaq -0x9c(%rbp), %rax
movq %rax, -0x90(%rbp)
movq $0x3, -0x88(%rbp)
movq -0x90(%rbp), %rsi
movq -0x88(%rbp), %rdx
leaq -0x80(%rbp), %rdi
callq 0x94d0
jmp 0x64a6
movl $0x0, -0xa0(%rbp)
cmpl $0x4, -0xa0(%rbp)
jg 0x652e
movq -0xc0(%rbp), %rdi
movb 0xfc90(%rip), %al       # 0x16156
movb %al, -0xa1(%rbp)
movzbl -0xa1(%rbp), %esi
movl $0x1, %edx
callq 0x2aa0
jmp 0x64df
jmp 0x64e1
movl -0xa0(%rbp), %eax
addl $0x1, %eax
movl %eax, -0xa0(%rbp)
jmp 0x64b0
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x68(%rbp)
movl %eax, -0x6c(%rbp)
jmp 0x6601
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x68(%rbp)
movl %eax, -0x6c(%rbp)
jmp 0x65f8
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x68(%rbp)
movl %eax, -0x6c(%rbp)
leaq -0x80(%rbp), %rdi
callq 0x7640
jmp 0x65f8
movq -0xc0(%rbp), %rdi
leaq -0x18(%rbp), %rsi
callq 0x75f0
jmp 0x6540
movq -0xc0(%rbp), %rdi
leaq -0x48(%rbp), %rsi
callq 0x75f0
jmp 0x6552
movq -0xc0(%rbp), %rdi
leaq -0x80(%rbp), %rsi
callq 0x75f0
jmp 0x6564
movq -0xc0(%rbp), %rdi
callq 0x95c0
jmp 0x6572
movq -0xc0(%rbp), %rdi
addq $0x8, %rdi
movl $0x1, %esi
callq 0x7d90
movq %rax, -0xc8(%rbp)
jmp 0x6590
movq -0xc0(%rbp), %rdi
movq -0xc8(%rbp), %rax
movl (%rax), %esi
callq 0x38e0
jmp 0x65a7
movq -0xc0(%rbp), %rdi
callq 0x95c0
jmp 0x65b5
movq -0xc0(%rbp), %rdi
movq (%rdi), %rax
movq (%rax), %rax
callq *%rax
jmp 0x65c6
movq -0xc0(%rbp), %rdi
callq 0x95c0
jmp 0x65d4
leaq -0x80(%rbp), %rdi
callq 0x7640
leaq -0x48(%rbp), %rdi
callq 0x7640
leaq -0x18(%rbp), %rdi
callq 0x7640
addq $0xd0, %rsp
popq %rbp
retq
leaq -0x48(%rbp), %rdi
callq 0x7640
leaq -0x18(%rbp), %rdi
callq 0x7640
movq -0x68(%rbp), %rdi
callq 0x2230
nopw %cs:(%rax,%rax)