// File: biotomas[P]ipasir/sat/picosat961/picosat-961/picosat.c
// Function: picosat_failed_assumptions
const int *
picosat_failed_assumptions (PS * ps)
{
  Lit ** p, * lit;
  Var * v;
  int ilit;

  ps->falshead = ps->fals;
  check_ready (ps);
  check_unsat_state (ps);
  if (!ps->mtcls) 
    {
      assert (ps->failed_assumption);
      if (!ps->extracted_all_failed_assumptions)
	extract_all_failed_assumptions (ps);

      for (p = ps->als; p < ps->alshead; p++)
	{
	  lit = *p;
	  v = LIT2VAR (*p);
	  if (!v->failed)
	    continue;
	  ilit = LIT2INT (lit);
	  if (ps->falshead == ps->eofals)
	    ENLARGE (ps->fals, ps->falshead, ps->eofals);
	  *ps->falshead++ = ilit;
	}
    }
  if (ps->falshead == ps->eofals)
    ENLARGE (ps->fals, ps->falshead, ps->eofals);
  *ps->falshead++ = 0;
  return ps->fals;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x80, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq 0x160(%rax), %rcx
movq -0x8(%rbp), %rax
movq %rcx, 0x168(%rax)
movq -0x8(%rbp), %rdi
callq 0x49e0
movq -0x8(%rbp), %rdi
callq 0x8110
movq -0x8(%rbp), %rax
cmpq $0x0, 0x248(%rax)
jne 0x8b3e
movq -0x8(%rbp), %rax
cmpq $0x0, 0x1b8(%rax)
je 0x88e9
jmp 0x8908
leaq 0x14c92(%rip), %rdi     # 0x1d582
leaq 0x149ad(%rip), %rsi     # 0x1d2a4
movl $0x1c9c, %edx           # imm = 0x1C9C
leaq 0x14e50(%rip), %rcx     # 0x1d753
callq 0x10b0
movq -0x8(%rbp), %rax
cmpl $0x0, 0x1c0(%rax)
jne 0x891e
movq -0x8(%rbp), %rdi
callq 0x8340
movq -0x8(%rbp), %rax
movq 0xf8(%rax), %rax
movq %rax, -0x10(%rbp)
movq -0x10(%rbp), %rax
movq -0x8(%rbp), %rcx
cmpq 0x100(%rcx), %rax
jae 0x8b3c
movq -0x10(%rbp), %rax
movq (%rax), %rax
movq %rax, -0x18(%rbp)
movq -0x8(%rbp), %rax
movq 0x40(%rax), %rax
movq -0x10(%rbp), %rcx
movq (%rcx), %rcx
movq -0x8(%rbp), %rdx
movq 0x38(%rdx), %rdx
subq %rdx, %rcx
shrl %ecx
movl %ecx, %ecx
shlq $0x4, %rcx
addq %rcx, %rax
movq %rax, -0x20(%rbp)
movq -0x20(%rbp), %rax
movw (%rax), %ax
shrw $0x5, %ax
andw $0x1, %ax
movzwl %ax, %eax
cmpl $0x0, %eax
jne 0x8992
jmp 0x8b2b
movq -0x18(%rbp), %rax
movq -0x8(%rbp), %rcx
movq 0x38(%rcx), %rcx
subq %rcx, %rax
movl %eax, %edx
andl $0x1, %edx
movl $0x1, %eax
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
cmpl $0x0, %edx
cmovnel %ecx, %eax
movq -0x18(%rbp), %rcx
movq -0x8(%rbp), %rdx
movq 0x38(%rdx), %rdx
subq %rdx, %rcx
shrl %ecx
imull %ecx, %eax
movl %eax, -0x24(%rbp)
movq -0x8(%rbp), %rax
movq 0x168(%rax), %rax
movq -0x8(%rbp), %rcx
cmpq 0x170(%rcx), %rax
jne 0x8b0d
jmp 0x89eb
movq -0x8(%rbp), %rax
movq 0x170(%rax), %rax
movq -0x8(%rbp), %rcx
movq 0x160(%rcx), %rcx
subq %rcx, %rax
sarq $0x2, %rax
movl %eax, -0x28(%rbp)
cmpl $0x0, -0x28(%rbp)
je 0x8a1b
movl -0x28(%rbp), %eax
shll %eax
movl %eax, -0x74(%rbp)
jmp 0x8a25
movl $0x1, %eax
movl %eax, -0x74(%rbp)
jmp 0x8a25
movl -0x74(%rbp), %eax
movl %eax, %eax
movq %rax, -0x30(%rbp)
movq -0x8(%rbp), %rax
movq 0x168(%rax), %rax
movq -0x8(%rbp), %rcx
movq 0x160(%rcx), %rcx
subq %rcx, %rax
sarq $0x2, %rax
movl %eax, -0x34(%rbp)
movq -0x8(%rbp), %rax
movq 0x160(%rax), %rax
movq -0x8(%rbp), %rcx
cmpq 0x170(%rcx), %rax
ja 0x8a68
jmp 0x8a87
leaq 0x14d10(%rip), %rdi     # 0x1d77f
leaq 0x1482e(%rip), %rsi     # 0x1d2a4
movl $0x1ca8, %edx           # imm = 0x1CA8
leaq 0x14cd1(%rip), %rcx     # 0x1d753
callq 0x10b0
jmp 0x8a89
movl -0x28(%rbp), %eax
shlq $0x2, %rax
movq %rax, -0x40(%rbp)
movq -0x30(%rbp), %rax
shlq $0x2, %rax
movq %rax, -0x48(%rbp)
movq -0x8(%rbp), %rdi
movq -0x8(%rbp), %rax
movq 0x160(%rax), %rsi
movq -0x40(%rbp), %rdx
movq -0x48(%rbp), %rcx
callq 0x4f30
movq %rax, %rcx
movq -0x8(%rbp), %rax
movq %rcx, 0x160(%rax)
movq -0x8(%rbp), %rax
movq 0x160(%rax), %rcx
movl -0x34(%rbp), %eax
shlq $0x2, %rax
addq %rax, %rcx
movq -0x8(%rbp), %rax
movq %rcx, 0x168(%rax)
movq -0x8(%rbp), %rax
movq 0x160(%rax), %rcx
movq -0x30(%rbp), %rax
shlq $0x2, %rax
addq %rax, %rcx
movq -0x8(%rbp), %rax
movq %rcx, 0x170(%rax)
jmp 0x8b0d
movl -0x24(%rbp), %ecx
movq -0x8(%rbp), %rdx
movq 0x168(%rdx), %rax
movq %rax, %rsi
addq $0x4, %rsi
movq %rsi, 0x168(%rdx)
movl %ecx, (%rax)
movq -0x10(%rbp), %rax
addq $0x8, %rax
movq %rax, -0x10(%rbp)
jmp 0x892d
jmp 0x8b3e
movq -0x8(%rbp), %rax
movq 0x168(%rax), %rax
movq -0x8(%rbp), %rcx
cmpq 0x170(%rcx), %rax
jne 0x8c7e
jmp 0x8b5c
movq -0x8(%rbp), %rax
movq 0x170(%rax), %rax
movq -0x8(%rbp), %rcx
movq 0x160(%rcx), %rcx
subq %rcx, %rax
sarq $0x2, %rax
movl %eax, -0x4c(%rbp)
cmpl $0x0, -0x4c(%rbp)
je 0x8b8c
movl -0x4c(%rbp), %eax
shll %eax
movl %eax, -0x78(%rbp)
jmp 0x8b96
movl $0x1, %eax
movl %eax, -0x78(%rbp)
jmp 0x8b96
movl -0x78(%rbp), %eax
movl %eax, %eax
movq %rax, -0x58(%rbp)
movq -0x8(%rbp), %rax
movq 0x168(%rax), %rax
movq -0x8(%rbp), %rcx
movq 0x160(%rcx), %rcx
subq %rcx, %rax
sarq $0x2, %rax
movl %eax, -0x5c(%rbp)
movq -0x8(%rbp), %rax
movq 0x160(%rax), %rax
movq -0x8(%rbp), %rcx
cmpq 0x170(%rcx), %rax
ja 0x8bd9
jmp 0x8bf8
leaq 0x14b9f(%rip), %rdi     # 0x1d77f
leaq 0x146bd(%rip), %rsi     # 0x1d2a4
movl $0x1cad, %edx           # imm = 0x1CAD
leaq 0x14b60(%rip), %rcx     # 0x1d753
callq 0x10b0
jmp 0x8bfa
movl -0x4c(%rbp), %eax
shlq $0x2, %rax
movq %rax, -0x68(%rbp)
movq -0x58(%rbp), %rax
shlq $0x2, %rax
movq %rax, -0x70(%rbp)
movq -0x8(%rbp), %rdi
movq -0x8(%rbp), %rax
movq 0x160(%rax), %rsi
movq -0x68(%rbp), %rdx
movq -0x70(%rbp), %rcx
callq 0x4f30
movq %rax, %rcx
movq -0x8(%rbp), %rax
movq %rcx, 0x160(%rax)
movq -0x8(%rbp), %rax
movq 0x160(%rax), %rcx
movl -0x5c(%rbp), %eax
shlq $0x2, %rax
addq %rax, %rcx
movq -0x8(%rbp), %rax
movq %rcx, 0x168(%rax)
movq -0x8(%rbp), %rax
movq 0x160(%rax), %rcx
movq -0x58(%rbp), %rax
shlq $0x2, %rax
addq %rax, %rcx
movq -0x8(%rbp), %rax
movq %rcx, 0x170(%rax)
jmp 0x8c7e
movq -0x8(%rbp), %rcx
movq 0x168(%rcx), %rax
movq %rax, %rdx
addq $0x4, %rdx
movq %rdx, 0x168(%rcx)
movl $0x0, (%rax)
movq -0x8(%rbp), %rax
movq 0x160(%rax), %rax
addq $0x80, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)