// File: /workspace/github_cpp_makefile_star2_O1/shisharka[P]interactive_deduction/naturaldeduction.cpp
// Function: operator<<(std::ostream&, std::deque<std::pair<std::vector<std::shared_ptr<BaseFormula>, std::allocator<std::shared_ptr<BaseFormula>>>, std::shared_ptr<BaseFormula>>, std::allocator<std::pair<std::vector<std::shared_ptr<BaseFormula>, std::allocator<std::shared_ptr<BaseFormula>>>, std::shared_ptr<BaseFormula>>>> const&)
ostream & operator << (ostream & ostr, const Goals & goals) {
  ostr << endl << "Goals:" << endl;
  for(unsigned i = 0; i < goals.size(); i++) {
    ostr << i + 1 << ". ";
    for(unsigned j = 0; j < goals[i].first.size(); j++) {
      ostr << goals[i].first[j];
      if(j < goals[i].first.size() - 1)
        ostr << " , ";
    };
    ostr << " |-- ";
    ostr << goals[i].second << endl;
  };
  
  return ostr;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rsi, %r14
movq %rdi, %rbx
movq (%rdi), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x3160
movsbl %al, %esi
movq %rbx, %rdi
callq 0x3030
movq %rax, %rdi
callq 0x3100
movq %rax, %r15
leaq 0x23b5(%rip), %rsi      # 0xc1bd
movl $0x6, %edx
movq %rax, %rdi
callq 0x31b0
movq (%r15), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x3160
movsbl %al, %esi
movq %r15, %rdi
callq 0x3030
movq %rax, %rdi
callq 0x3100
movq %r14, 0x8(%rsp)
leaq 0x10(%r14), %r15
xorl %eax, %eax
leaq 0x2379(%rip), %rbp      # 0xc1c7
movl %eax, %r13d
movq 0x8(%rsp), %rsi
movq 0x48(%rsi), %rax
movq %rax, %rcx
subq 0x28(%rsi), %rcx
sarq $0x3, %rcx
cmpq $0x1, %rax
adcq $-0x1, %rcx
leaq (%rcx,%rcx,2), %rax
movq 0x20(%rsi), %rcx
movq 0x30(%rsi), %rdx
subq 0x38(%rsi), %rdx
sarq $0x3, %rdx
movabsq $-0x3333333333333333, %rdi # imm = 0xCCCCCCCCCCCCCCCD
imulq %rdi, %rdx
leaq (%rdx,%rax,4), %rax
subq 0x10(%rsi), %rcx
sarq $0x3, %rcx
imulq %rdi, %rcx
addq %rax, %rcx
cmpq %r13, %rcx
jbe 0x9fb8
leal 0x1(%r13), %esi
movq %rbx, %rdi
movq %rsi, 0x10(%rsp)
callq 0x30f0
movl $0x2, %edx
movq %rax, %rdi
leaq 0x22f9(%rip), %rsi      # 0xc1c4
callq 0x31b0
movq %r15, %rdi
movq %r13, %rsi
callq 0xa890
movq 0x8(%rax), %rcx
cmpq (%rax), %rcx
je 0x9f59
movl $0x1, %r12d
xorl %r14d, %r14d
movq %r15, %rdi
movq %r13, %rsi
callq 0xa890
movq %r14, %rsi
shlq $0x4, %rsi
addq (%rax), %rsi
movq %rbx, %rdi
callq 0x7da0
movq %r15, %rdi
movq %r13, %rsi
callq 0xa890
movq 0x8(%rax), %rcx
subq (%rax), %rcx
sarq $0x4, %rcx
decq %rcx
cmpq %r14, %rcx
jbe 0x9f38
movl $0x3, %edx
movq %rbx, %rdi
movq %rbp, %rsi
callq 0x31b0
movl %r12d, %r14d
movq %r15, %rdi
movq %r13, %rsi
callq 0xa890
movq 0x8(%rax), %rcx
subq (%rax), %rcx
sarq $0x4, %rcx
incl %r12d
cmpq %r14, %rcx
ja 0x9eed
movl $0x5, %edx
movq %rbx, %rdi
leaq 0x2263(%rip), %rsi      # 0xc1cb
callq 0x31b0
movq %r15, %rdi
movq %r13, %rsi
callq 0xa890
leaq 0x18(%rax), %rsi
movq %rbx, %rdi
callq 0x7da0
movq %rax, %r13
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r13, %rdi
movl $0xa, %esi
callq 0x3160
movsbl %al, %esi
movq %r13, %rdi
callq 0x3030
movq %rax, %rdi
callq 0x3100
movq 0x10(%rsp), %rax
jmp 0x9e4e
movq %rbx, %rax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq