// File: /workspace/github_cpp_makefile_star2_O3/jacky860226[P]JinkelaSat/src/include/DIMACS_CNF_Parser.hpp
// Function: DIMACS::CNF::Parser::parse(std::istream&)
Input parse(std::istream &input) {
    unsigned VariableNum, ClauseNum;
    std::vector<std::vector<int>> Clauses;
    std::string Line, Buffer;
    while (std::getline(input, Line)) {
      if (Line[0] == 'c')
        continue;
      if (Line[0] == 'p') {
        sscanf(Line.c_str(), "p cnf %u %u", &VariableNum, &ClauseNum);
        continue;
      }
      Buffer += " " + Line + " ";
    }
    std::stringstream SS(Buffer);
    std::vector<int> Clause;
    int Lit;
    while (SS >> Lit) {
      if (Lit == 0) {
        Clause.shrink_to_fit();
        Clauses.emplace_back(std::move(Clause));
        Clause.clear();
        continue;
      }
      Clause.emplace_back(Lit);
    }
    return Input(VariableNum, ClauseNum, std::move(Clauses));
  }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x218, %rsp            # imm = 0x218
movq %rdx, %r14
movq %rdi, 0x88(%rsp)
xorl %eax, %eax
movq %rax, 0x40(%rsp)
xorps %xmm0, %xmm0
movaps %xmm0, 0x30(%rsp)
leaq 0x78(%rsp), %rcx
movq %rcx, -0x10(%rcx)
movq %rax, -0x8(%rcx)
movb %al, (%rcx)
leaq 0x58(%rsp), %rcx
movq %rcx, -0x10(%rcx)
movq %rax, -0x8(%rcx)
movb %al, (%rcx)
leaq 0xa0(%rsp), %rbp
leaq 0x68(%rsp), %r15
leaq 0x5718(%rip), %rbx      # 0x8169
movq %rsp, %r12
leaq 0x48(%rsp), %r13
movq (%r14), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x2150
movsbl %al, %edx
movq %r14, %rdi
movq %r15, %rsi
callq 0x2250
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
testb $0x5, 0x20(%rax,%rcx)
jne 0x2b79
movq 0x68(%rsp), %rdi
movzbl (%rdi), %eax
cmpl $0x63, %eax
je 0x2a59
cmpl $0x70, %eax
jne 0x2ab9
leaq 0x56b7(%rip), %rsi      # 0x815d
leaq 0x2c(%rsp), %rdx
leaq 0x28(%rsp), %rcx
xorl %eax, %eax
callq 0x2160
jmp 0x2a59
movq %r12, %rdi
movq %rbx, %rsi
movq %r15, %rdx
callq 0x4ff6
movq %r12, %rdi
movq %rbx, %rsi
callq 0x2260
movq %rbp, 0x90(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x2afe
movq %rdx, 0x90(%rsp)
movq (%rcx), %rdx
movq %rdx, 0xa0(%rsp)
jmp 0x2b05
movups (%rcx), %xmm0
movups %xmm0, (%rbp)
movq 0x8(%rax), %rdx
movq %rdx, 0x98(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x90(%rsp), %rsi
movq 0x98(%rsp), %rdx
movq %r13, %rdi
callq 0x2060
movq 0x90(%rsp), %rdi
cmpq %rbp, %rdi
je 0x2b55
movq 0xa0(%rsp), %rsi
incq %rsi
callq 0x2180
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x2a59
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x2180
jmp 0x2a59
leaq 0x90(%rsp), %rdi
leaq 0x48(%rsp), %rsi
movl $0x18, %edx
callq 0x2200
xorps %xmm0, %xmm0
movq %rsp, %rbx
movaps %xmm0, (%rbx)
movq $0x0, 0x10(%rbx)
leaq 0x90(%rsp), %r14
leaq 0x24(%rsp), %r15
leaq 0x30(%rsp), %r12
movq %r14, %rdi
movq %r15, %rsi
callq 0x20f0
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
testb $0x5, 0x20(%rax,%rcx)
jne 0x2c26
movl 0x24(%rsp), %eax
testl %eax, %eax
je 0x2be8
movq 0x8(%rsp), %rsi
cmpq 0x10(%rsp), %rsi
je 0x2c19
movl %eax, (%rsi)
addq $0x4, %rsi
jmp 0x2c12
movq 0x10(%rsp), %rax
cmpq 0x8(%rsp), %rax
je 0x2bfc
movq %rbx, %rdi
callq 0x5120
movq %r12, %rdi
movq %rbx, %rsi
callq 0x507e
movq (%rsp), %rsi
cmpq %rsi, 0x8(%rsp)
je 0x2bb3
movq %rsi, 0x8(%rsp)
jmp 0x2bb3
movq %rbx, %rdi
movq %r15, %rdx
callq 0x5426
jmp 0x2bb3
movl 0x2c(%rsp), %eax
movl 0x28(%rsp), %ecx
movq 0x88(%rsp), %rbx
movl %eax, (%rbx)
movl %ecx, 0x4(%rbx)
movaps 0x30(%rsp), %xmm0
movups %xmm0, 0x8(%rbx)
movq 0x40(%rsp), %rax
movq %rax, 0x18(%rbx)
xorps %xmm0, %xmm0
movaps %xmm0, 0x30(%rsp)
movq $0x0, 0x40(%rsp)
movq (%rsp), %rdi
testq %rdi, %rdi
je 0x2c74
movq 0x10(%rsp), %rsi
subq %rdi, %rsi
callq 0x2180
movq 0x933d(%rip), %rsi      # 0xbfb8
leaq 0x90(%rsp), %rdi
callq 0x2110
leaq 0x110(%rsp), %rdi
callq 0x2070
movq 0x48(%rsp), %rdi
leaq 0x58(%rsp), %rax
cmpq %rax, %rdi
je 0x2cb1
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x2180
movq 0x68(%rsp), %rdi
leaq 0x78(%rsp), %rax
cmpq %rax, %rdi
je 0x2ccd
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x2180
leaq 0x30(%rsp), %rdi
callq 0x50cc
movq %rbx, %rax
addq $0x218, %rsp            # imm = 0x218
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x2d71
movq %rax, %rbx
movq 0x90(%rsp), %rdi
cmpq %rbp, %rdi
je 0x2d16
movq 0xa0(%rsp), %rsi
incq %rsi
callq 0x2180
jmp 0x2d16
movq %rax, %rbx
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x2d74
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x2180
jmp 0x2d74
jmp 0x2d71
movq %rax, %rbx
movq (%rsp), %rdi
testq %rdi, %rdi
je 0x2d4e
movq 0x10(%rsp), %rsi
subq %rdi, %rsi
callq 0x2180
movq 0x9263(%rip), %rsi      # 0xbfb8
leaq 0x90(%rsp), %rdi
callq 0x2110
leaq 0x110(%rsp), %rdi
callq 0x2070
jmp 0x2d74
movq %rax, %rbx
movq 0x48(%rsp), %rdi
leaq 0x58(%rsp), %rax
cmpq %rax, %rdi
je 0x2d90
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x2180
movq 0x68(%rsp), %rdi
leaq 0x78(%rsp), %rax
cmpq %rax, %rdi
je 0x2dac
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x2180
leaq 0x30(%rsp), %rdi
callq 0x50cc
movq %rbx, %rdi
callq 0x2240