// File: /workspace/github_cpp_makefile_star2_O3/jacky860226[P]JinkelaSat/src/include/JinkelaSat.hpp
// Function: MiniSat::JinkelaSat::addClause(std::vector<MiniSat::Literal, std::allocator<MiniSat::Literal>>&&)
bool addClause(std::vector<Literal> &&ps) {
    if (!ok)
      return false;
    for (Literal p : ps)
      while (p.var() >= int(nVars()))
        newVar();
    std::sort(ps.begin(), ps.end());
    Literal p;
    size_t j = 0;
    for (Literal l : ps) {
      if (value(l) == Status::True || l == ~p) {
        return true;
      } else if (value(l) != Status::False && l != p) {
        ps[j++] = p = l;
      }
    }
    ps.resize(j), ps.shrink_to_fit();
    if (ps.empty())
      return ok = false;
    else if (ps.size() == 1) {
      uncheckedEnqueue(ps[0]);
      return ok = (propagate() == nullptr);
    } else {
      clauses.emplace_back(new Clause(std::move(ps), false));
      attachClause(clauses.back().get());
    }
    return true;
  }

// Assembly:
cmpb $0x1, 0x208(%rdi)
jne 0x2926
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
movq (%rsi), %r15
movq 0x8(%rsi), %r12
cmpq %r12, %r15
je 0x2873
movq 0x1e8(%rbx), %rax
movl (%r15), %ebp
sarl %ebp
cmpl %eax, %ebp
jl 0x2863
movq %rbx, %rdi
callq 0x2fde
movq 0x1e8(%rbx), %rax
jmp 0x284e
addq $0x4, %r15
cmpq %r12, %r15
jne 0x2849
movq (%r14), %r15
movq 0x8(%r14), %r12
cmpq %r12, %r15
je 0x28ac
movq %r12, %rax
subq %r15, %rax
sarq $0x2, %rax
bsrq %rax, %rdx
xorl $0x3f, %edx
addl %edx, %edx
xorq $0x7e, %rdx
movq %r15, %rdi
movq %r12, %rsi
callq 0x4041
movq %r15, %rdi
movq %r12, %rsi
callq 0x4124
movq (%r14), %r15
movq 0x8(%r14), %r12
cmpq %r12, %r15
je 0x2929
movq 0x68(%rbx), %rcx
movl $0xffffffff, %r8d       # imm = 0xFFFFFFFF
xorl %esi, %esi
movl $0x2, %edx
movq %r15, %rdi
movl (%rdi), %r9d
movl %r9d, %eax
sarl %eax
cltq
movb (%rcx,%rax), %al
movl %r9d, %r10d
andb $0x1, %r10b
xorb %al, %r10b
cmpb $0x2, %al
movzbl %r10b, %r10d
cmovel %edx, %r10d
movb $0x1, %al
cmpb $0x1, %r10b
je 0x29e4
movl %r9d, %r11d
xorl %r8d, %r11d
cmpl $0x1, %r11d
je 0x29e4
testb %r10b, %r10b
je 0x2915
cmpl %r8d, %r9d
je 0x2915
movl %r9d, (%r15,%rsi,4)
incq %rsi
jmp 0x2918
movl %r8d, %r9d
addq $0x4, %rdi
movl %r9d, %r8d
cmpq %r12, %rdi
jne 0x28c5
jmp 0x292b
xorl %eax, %eax
retq
xorl %esi, %esi
movq %r14, %rdi
callq 0x309e
movq 0x8(%r14), %r12
cmpq %r12, 0x10(%r14)
je 0x2949
movq %r14, %rdi
callq 0x44ca
movq 0x8(%r14), %r12
movq (%r14), %r13
cmpq %r12, %r13
je 0x2982
movq %r12, %rax
subq %r13, %rax
cmpq $0x4, %rax
jne 0x298d
movl (%r13), %esi
movq %rbx, %rdi
xorl %edx, %edx
callq 0x30d0
movq %rbx, %rdi
callq 0x3134
testq %rax, %rax
sete %al
sete 0x208(%rbx)
jmp 0x29e4
movb $0x0, 0x208(%rbx)
xorl %eax, %eax
jmp 0x29e4
leaq 0x20(%rbx), %r15
movl $0x20, %edi
callq 0x2170
movq %r13, (%rax)
movq %r12, 0x8(%rax)
movq 0x10(%r14), %rcx
movq %rcx, 0x10(%rax)
xorps %xmm0, %xmm0
movups %xmm0, (%r14)
movq $0x0, 0x10(%r14)
movb $0x0, 0x18(%rax)
movl $0x0, 0x1c(%rax)
movq %rsp, %rsi
movq %rax, (%rsi)
movq %r15, %rdi
callq 0x33b2
movq 0x28(%rbx), %rax
movq -0x8(%rax), %rsi
movq %rbx, %rdi
callq 0x33ea
movb $0x1, %al
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop