// File: /workspace/github_cpp_makefile_star2_O3/biotomas[P]ipasir/sat/picosat961/picosat-961/picosat.c
// Function: bcp
static void
bcp (PS * ps)
{
  int props = 0;
  assert (!ps->conflict);

  if (ps->mtcls)
    return;

  for (;;)
    {
      if (ps->ttail2 < ps->thead)	/* prioritize implications */
	{
	  props++;
	  prop2 (ps, NOTLIT (*ps->ttail2++));
	}
      else if (ps->ttail < ps->thead)	/* unit clauses or clauses with length > 2 */
	{
	  if (ps->conflict) break;
	  propl (ps, NOTLIT (*ps->ttail++));
	  if (ps->conflict) break;
	}
#ifndef NADC
      else if (ps->ttailado < ps->thead)
	{
	  if (ps->conflict) break;
	  propado (ps, LIT2VAR (*ps->ttailado++));
	  if (ps->conflict) break;
	}
#endif
      else
	break;		/* all assignments propagated, so break */
    }

  ps->propagations += props;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
cmpq $0x0, 0x250(%rdi)
jne 0xe479
movq %rdi, %rbx
cmpq $0x0, 0x248(%rdi)
jne 0xe334
leaq 0x98(%rbx), %r12
movq $0x0, (%rsp)
movq 0xd0(%rbx), %rcx
movq 0xe8(%rbx), %rax
cmpq %rcx, %rax
jae 0xe11a
movq 0x38(%rbx), %r14
leaq 0x8(%rax), %rcx
movq %rcx, 0xe8(%rbx)
movq (%rax), %rax
subq %r14, %rax
xorq $0x1, %rax
cmpb $-0x1, (%r14,%rax)
jne 0xe43b
movq (%rsp), %rcx
incl %ecx
movq %rcx, (%rsp)
movq 0x68(%rbx), %rcx
movl %eax, %edx
shlq $0x4, %rdx
movl 0x8(%rcx,%rdx), %r13d
testq %r13, %r13
je 0xe02a
addq %rax, %r14
movq (%rcx,%rdx), %rbp
shlq $0x3, %r13
incq 0x458(%rbx)
movq -0x8(%rbp,%r13), %rdx
movzbl (%rdx), %eax
cmpl $0x1, %eax
je 0xe10b
cmpl $0xff, %eax
jne 0xe0dd
cmpq %r12, 0x250(%rbx)
jne 0xe0c9
cmpl $0x0, 0xc4(%rbx)
je 0xe3fd
movl $0x0, 0xc4(%rbx)
movq %rbx, %rdi
movq %r14, %rsi
callq 0xea36
movq %rax, 0x250(%rbx)
jmp 0xe10b
movq 0x38(%rbx), %rcx
movq %r14, %rax
subq %rcx, %rax
xorq $0x1, %rax
cmpb $0x1, (%rcx,%rax)
jne 0xe3a0
leaq 0x1(,%rax,2), %rax
movq %rbx, %rdi
movq %rdx, %rsi
movq %rax, %rdx
callq 0xe4b7
addq $-0x8, %r13
jne 0xe08e
jmp 0xe02a
movq 0xe0(%rbx), %rax
cmpq %rcx, %rax
jae 0xe329
cmpq $0x0, 0x250(%rbx)
jne 0xe329
movq 0x38(%rbx), %r14
leaq 0x8(%rax), %rcx
movq %rcx, 0xe0(%rbx)
movq (%rax), %rax
subq %r14, %rax
xorq $0x1, %rax
cmpb $-0x1, (%r14,%rax)
jne 0xe45a
movq 0x58(%rbx), %rcx
movl %eax, %edx
movq (%rcx,%rdx,8), %r13
testq %r13, %r13
je 0xe02a
addq %rax, %r14
leaq (%rcx,%rdx,8), %rax
incq 0x458(%rbx)
movl (%r13), %ecx
testq %rcx, %rcx
je 0xe343
movq %r13, %rdx
movq 0x18(%r13), %rsi
cmpq %r14, %rsi
je 0xe1b9
cmpl $0x1, %ecx
je 0xe381
movq %r14, 0x18(%rdx)
movq %rsi, 0x20(%rdx)
movq 0x8(%rdx), %rdi
movq 0x10(%rdx), %r13
movq %rdi, 0x10(%rdx)
movq %r13, 0x8(%rdx)
jmp 0xe1ca
cmpl $0x1, %ecx
je 0xe2eb
movq 0x8(%rdx), %r13
movq 0x20(%rdx), %rsi
testb $0x1, 0x4(%rdx)
jne 0xe362
leaq 0x8(%rdx), %rbp
movb (%rsi), %dil
cmpb $0x1, %dil
jne 0xe226
movq 0x40(%rbx), %rcx
subq 0x38(%rbx), %rsi
movl %esi, %edi
shrl %edi
shlq $0x4, %rdi
movl 0x4(%rcx,%rdi), %ecx
testl %ecx, %ecx
je 0xe20f
cmpl $0x0, 0x408(%rbx)
jne 0xe2cf
cmpl 0x28(%rbx), %ecx
jae 0xe2cf
movq 0x60(%rbx), %rcx
movl %esi, %esi
movq (%rcx,%rsi,8), %rdi
movq %rdi, 0x8(%rdx)
movq %rdx, (%rcx,%rsi,8)
jmp 0xe2c9
leaq (,%rcx,8), %r8
cmpq $0x10, %r8
jne 0xe25c
cmpq %r14, 0x18(%rdx)
jne 0xe3bf
cmpq 0x20(%rdx), %rsi
jne 0xe3de
cmpb $-0x1, %dil
je 0xe314
movq %rbx, %rdi
callq 0xe4b7
jmp 0xe2cf
leaq -0x10(%r8), %r10
xorl %r11d, %r11d
movq %r14, %r9
movq %r9, %r15
movq 0x28(%rdx,%r11), %r9
movq %r15, 0x28(%rdx,%r11)
movb (%r9), %r15b
cmpb $-0x1, %r15b
jne 0xe2a7
addq $0x8, %r11
cmpq %r11, %r10
jne 0xe266
cmpl $0x3, %ecx
jb 0xe234
addq $0x20, %r8
movq -0x10(%rdx,%r8), %rax
movq %r9, -0x10(%rdx,%r8)
addq $-0x8, %r8
movq %rax, %r9
cmpq $0x30, %r8
ja 0xe28e
jmp 0xe234
cmpb $0x2, %r15b
jae 0xe41c
movq %r9, 0x18(%rdx)
movq 0x58(%rbx), %rcx
subl 0x38(%rbx), %r9d
movq (%rcx,%r9,8), %rsi
movq %rsi, 0x8(%rdx)
movq %rdx, (%rcx,%r9,8)
movq %r13, (%rax)
movq %rax, %rbp
movq %rbp, %rax
testq %r13, %r13
jne 0xe176
cmpq $0x0, 0x250(%rbx)
je 0xe02a
jmp 0xe329
cmpq $0x0, 0x250(%rbx)
je 0xe322
leaq 0x60fa(%rip), %rdi      # 0x143f6
leaq 0x4f79(%rip), %rsi      # 0x1327c
leaq 0x693a(%rip), %rcx      # 0x14c44
movl $0xfbf, %edx            # imm = 0xFBF
callq 0x10b0
cmpq $0x0, 0x250(%rbx)
jne 0xe498
movq %rdx, 0x250(%rbx)
movslq (%rsp), %rax
addq %rax, 0x3d8(%rbx)
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x6912(%rip), %rdi      # 0x14c5c
leaq 0x4f2b(%rip), %rsi      # 0x1327c
leaq 0x68ec(%rip), %rcx      # 0x14c44
movl $0xfaf, %edx            # imm = 0xFAF
callq 0x10b0
leaq 0x600e(%rip), %rdi      # 0x14377
leaq 0x4f0c(%rip), %rsi      # 0x1327c
leaq 0x68cd(%rip), %rcx      # 0x14c44
movl $0xfcc, %edx            # imm = 0xFCC
callq 0x10b0
leaq 0x68e0(%rip), %rdi      # 0x14c68
leaq 0x4eed(%rip), %rsi      # 0x1327c
leaq 0x68ae(%rip), %rcx      # 0x14c44
movl $0xfb4, %edx            # imm = 0xFB4
callq 0x10b0
leaq 0x62ca(%rip), %rdi      # 0x14671
leaq 0x4ece(%rip), %rsi      # 0x1327c
leaq 0x62a4(%rip), %rcx      # 0x14659
movl $0xf3d, %edx            # imm = 0xF3D
callq 0x10b0
leaq 0x68c3(%rip), %rdi      # 0x14c89
leaq 0x4eaf(%rip), %rsi      # 0x1327c
leaq 0x6870(%rip), %rcx      # 0x14c44
movl $0x1001, %edx           # imm = 0x1001
callq 0x10b0
leaq 0x6890(%rip), %rdi      # 0x14c75
leaq 0x4e90(%rip), %rsi      # 0x1327c
leaq 0x6851(%rip), %rcx      # 0x14c44
movl $0x1003, %edx           # imm = 0x1003
callq 0x10b0
leaq 0x67fb(%rip), %rdi      # 0x14bff
leaq 0x4e71(%rip), %rsi      # 0x1327c
leaq 0x5dae(%rip), %rcx      # 0x141c0
movl $0x6ab, %edx            # imm = 0x6AB
callq 0x10b0
leaq 0x6879(%rip), %rdi      # 0x14c9c
leaq 0x4e52(%rip), %rsi      # 0x1327c
leaq 0x6813(%rip), %rcx      # 0x14c44
movl $0x1010, %edx           # imm = 0x1010
callq 0x10b0
leaq 0x6204(%rip), %rdi      # 0x14646
leaq 0x4e33(%rip), %rsi      # 0x1327c
leaq 0x6209(%rip), %rcx      # 0x14659
movl $0xf1e, %edx            # imm = 0xF1E
callq 0x10b0
leaq 0x61e5(%rip), %rdi      # 0x14646
leaq 0x4e14(%rip), %rsi      # 0x1327c
leaq 0x67d5(%rip), %rcx      # 0x14c44
movl $0xf97, %edx            # imm = 0xF97
callq 0x10b0
leaq 0x5f76(%rip), %rdi      # 0x143f6
leaq 0x4df5(%rip), %rsi      # 0x1327c
leaq 0x61a9(%rip), %rcx      # 0x14637
movl $0x10c7, %edx           # imm = 0x10C7
callq 0x10b0
leaq 0x5f57(%rip), %rdi      # 0x143f6
leaq 0x4dd6(%rip), %rsi      # 0x1327c
leaq 0x6797(%rip), %rcx      # 0x14c44
movl $0x1006, %edx           # imm = 0x1006
callq 0x10b0