// File: /workspace/github_cpp_makefile_star2_O3/jacky860226[P]JinkelaSat/src/include/JinkelaSat.hpp
// Function: MiniSat::JinkelaSat::search(int)
Status search(int nof_conflicts) {
    int conflictC = 0;
    for (;;) {
      auto confl = propagate();
      if (confl != nullptr) {
        ++conflictC;
        if (decisionLevel() == 0)
          return Status::False;
        std::vector<Literal> learnt_clause;
        int backtrack_level;
        analyze(confl, learnt_clause, backtrack_level);
        cancelUntil(backtrack_level);
        if (learnt_clause.size() == 1) {
          uncheckedEnqueue(learnt_clause[0]);
        } else {
          learnts.emplace_back(new Clause(std::move(learnt_clause), true));
          auto cr = learnts.back().get();
          attachClause(cr);
          claBumpActivity(*cr);
          uncheckedEnqueue((*cr)[0], cr);
        }
        varDecayActivity();
        claDecayActivity();
        if (--learntsize_adjust_cnt == 0) {
          learntsize_adjust_confl *= learntsize_adjust_inc;
          learntsize_adjust_cnt = (int)learntsize_adjust_confl;
          max_learnts *= learntsize_inc;
        }
      } else {
        if (nof_conflicts >= 0 && conflictC >= nof_conflicts) {
          cancelUntil(0);
          return Status::Undef;
        }
        if (decisionLevel() == 0 && !simplify())
          return Status::False;
        if (int(learnts.size()) - int(nAssigns()) >= max_learnts)
          reduceDB();
        Literal next = pickBranchLit();
        if (next.isUndef())
          return Status::True;
        newDecisionLevel();
        uncheckedEnqueue(next);
      }
    }
  }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movl %esi, %ebp
movq %rdi, %rbx
leaq 0x38(%rdi), %r14
xorl %r15d, %r15d
movapd 0x2924(%rip), %xmm0     # 0x8050
shufpd $0x1, %xmm0, %xmm0      # xmm0 = xmm0[1,0]
movapd %xmm0, 0x30(%rsp)
movq %rbx, %rdi
callq 0x3134
testq %rax, %rax
je 0x58ad
movq 0x58(%rbx), %rcx
cmpq 0x50(%rbx), %rcx
je 0x5947
xorpd %xmm0, %xmm0
movapd %xmm0, (%rsp)
movq $0x0, 0x10(%rsp)
movq %rbx, %rdi
movq %rax, %rsi
movq %rsp, %rdx
leaq 0x24(%rsp), %rcx
callq 0x5b52
movslq 0x24(%rsp), %rsi
movq %rbx, %rdi
callq 0x5a50
movq (%rsp), %r13
movq 0x8(%rsp), %r12
movq %r12, %rax
subq %r13, %rax
cmpq $0x4, %rax
jne 0x57ad
movl (%r13), %esi
movq %rbx, %rdi
xorl %edx, %edx
callq 0x30d0
jmp 0x5825
movl $0x20, %edi
callq 0x2170
movq %r13, (%rax)
movq %r12, 0x8(%rax)
movq 0x10(%rsp), %rcx
movq %rcx, 0x10(%rax)
xorpd %xmm0, %xmm0
movapd %xmm0, (%rsp)
movq $0x0, 0x10(%rsp)
movb $0x1, 0x18(%rax)
movl $0x0, 0x1c(%rax)
movq %rax, 0x28(%rsp)
movq %r14, %rdi
leaq 0x28(%rsp), %rsi
callq 0x33b2
movq 0x40(%rbx), %rax
movq -0x8(%rax), %r13
movq %rbx, %rdi
movq %r13, %rsi
callq 0x33ea
movq %rbx, %rdi
movq %r13, %rsi
callq 0x5e98
movq (%r13), %rax
movl (%rax), %esi
movq %rbx, %rdi
movq %r13, %rdx
callq 0x30d0
movupd 0x1a0(%rbx), %xmm0
movupd 0x1b0(%rbx), %xmm1
shufpd $0x1, %xmm0, %xmm0      # xmm0 = xmm0[1,0]
movapd 0x30(%rsp), %xmm2
divpd %xmm0, %xmm2
mulpd %xmm1, %xmm2
movupd %xmm2, 0x1b0(%rbx)
decq 0x1d0(%rbx)
jne 0x588f
movupd 0x190(%rbx), %xmm0
movupd 0x1c0(%rbx), %xmm1
shufpd $0x1, %xmm0, %xmm0      # xmm0 = xmm0[1,0]
mulpd %xmm1, %xmm0
movapd %xmm0, %xmm1
unpckhpd %xmm0, %xmm1            # xmm1 = xmm1[1],xmm0[1]
cvttsd2si %xmm1, %eax
cltq
movq %rax, 0x1d0(%rbx)
movupd %xmm0, 0x1c0(%rbx)
movq (%rsp), %rdi
testq %rdi, %rdi
je 0x58a5
movq 0x10(%rsp), %rsi
subq %rdi, %rsi
callq 0x2180
incl %r15d
jmp 0x5737
testl %ebp, %ebp
sets %al
cmpl %ebp, %r15d
setl %cl
orb %al, %cl
cmpb $0x1, %cl
jne 0x5958
movq 0x58(%rbx), %rax
cmpq 0x50(%rbx), %rax
jne 0x58d9
movq %rbx, %rdi
callq 0x5f08
testb %al, %al
je 0x5947
movq 0x40(%rbx), %rax
subq 0x38(%rbx), %rax
movq 0x10(%rbx), %rcx
shrq $0x3, %rax
subq 0x8(%rbx), %rcx
shrq $0x2, %rcx
subl %ecx, %eax
xorps %xmm0, %xmm0
cvtsi2sd %eax, %xmm0
ucomisd 0x1c0(%rbx), %xmm0
jb 0x590c
movq %rbx, %rdi
callq 0x5f84
movq %rbx, %rdi
callq 0x611a
cmpl $-0x1, %eax
je 0x5943
movl %eax, %r13d
movq %rbx, %rdi
callq 0x61cc
movq %rbx, %rdi
movl %r13d, %esi
xorl %edx, %edx
callq 0x30d0
movq %rbx, %rdi
callq 0x3134
testq %rax, %rax
je 0x58c3
jmp 0x5748
movb $0x1, %al
jmp 0x5949
xorl %eax, %eax
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rbx, %rdi
xorl %esi, %esi
callq 0x5a50
movb $0x2, %al
jmp 0x5949
jmp 0x596a
jmp 0x596a
movq %rax, %rbx
movq (%rsp), %rdi
testq %rdi, %rdi
je 0x5983
movq 0x10(%rsp), %rsi
subq %rdi, %rsi
callq 0x2180
movq %rbx, %rdi
callq 0x2240
nop