// File: /workspace/github_cpp_makefile_star2_O1/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 0x5698(%rip), %rbx      # 0x8101
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 0x2b91
movq 0x68(%rsp), %rdi
movzbl (%rdi), %eax
cmpl $0x63, %eax
je 0x2a71
cmpl $0x70, %eax
jne 0x2ad1
leaq 0x5637(%rip), %rsi      # 0x80f5
leaq 0x2c(%rsp), %rdx
leaq 0x28(%rsp), %rcx
xorl %eax, %eax
callq 0x2160
jmp 0x2a71
movq %r12, %rdi
movq %rbx, %rsi
movq %r15, %rdx
callq 0x4fda
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 0x2b16
movq %rdx, 0x90(%rsp)
movq (%rcx), %rdx
movq %rdx, 0xa0(%rsp)
jmp 0x2b1d
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 0x2b6d
movq 0xa0(%rsp), %rsi
incq %rsi
callq 0x2180
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x2a71
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x2180
jmp 0x2a71
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 0x2c43
movl 0x24(%rsp), %eax
testl %eax, %eax
je 0x2c05
movq 0x8(%rsp), %rsi
cmpq 0x10(%rsp), %rsi
je 0x2c36
movl %eax, (%rsi)
addq $0x4, %rsi
movq %rsi, 0x8(%rsp)
jmp 0x2bcb
movq 0x10(%rsp), %rax
cmpq 0x8(%rsp), %rax
je 0x2c19
movq %rbx, %rdi
callq 0x50fe
movq %r12, %rdi
movq %rbx, %rsi
callq 0x5062
movq (%rsp), %rax
cmpq %rax, 0x8(%rsp)
je 0x2bcb
movq %rax, 0x8(%rsp)
jmp 0x2bcb
movq %rbx, %rdi
movq %r15, %rdx
callq 0x5428
jmp 0x2bcb
movl 0x2c(%rsp), %eax
movl 0x28(%rsp), %ecx
movq 0x88(%rsp), %rbx
movl %eax, (%rbx)
movl %ecx, 0x4(%rbx)
movq 0x30(%rsp), %rax
movq %rax, 0x8(%rbx)
movq 0x38(%rsp), %rax
movq %rax, 0x10(%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 0x2c9a
movq 0x10(%rsp), %rsi
subq %rdi, %rsi
callq 0x2180
movq 0x9317(%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 0x2cd7
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x2180
movq 0x68(%rsp), %rdi
leaq 0x78(%rsp), %rax
cmpq %rax, %rdi
je 0x2cf3
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x2180
leaq 0x30(%rsp), %rdi
callq 0x50b0
movq %rbx, %rax
addq $0x218, %rsp            # imm = 0x218
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x2d97
movq %rax, %rbx
movq 0x90(%rsp), %rdi
cmpq %rbp, %rdi
je 0x2d3c
movq 0xa0(%rsp), %rsi
incq %rsi
callq 0x2180
jmp 0x2d3c
movq %rax, %rbx
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x2d9a
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x2180
jmp 0x2d9a
jmp 0x2d97
movq %rax, %rbx
movq (%rsp), %rdi
testq %rdi, %rdi
je 0x2d74
movq 0x10(%rsp), %rsi
subq %rdi, %rsi
callq 0x2180
movq 0x923d(%rip), %rsi      # 0xbfb8
leaq 0x90(%rsp), %rdi
callq 0x2110
leaq 0x110(%rsp), %rdi
callq 0x2070
jmp 0x2d9a
movq %rax, %rbx
movq 0x48(%rsp), %rdi
leaq 0x58(%rsp), %rax
cmpq %rax, %rdi
je 0x2db6
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x2180
movq 0x68(%rsp), %rdi
leaq 0x78(%rsp), %rax
cmpq %rax, %rdi
je 0x2dd2
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x2180
leaq 0x30(%rsp), %rdi
callq 0x50b0
movq %rbx, %rdi
callq 0x2240