// File: sighingnow[P]compile-pascal/./libparsec/parse_tool.hpp
// Function: ParsecT<parser_t<pl0_ast_program*>, pl0_ast_program*>::parse(input_t*) const
ValueT<V> parse(input_t *text) const {
        pair<int, int> loc = make_pair(1, 1);
        tuple<int, V, string> res;
        try { // try exception throwed during operating the stream object.
            res = parser(text);
        } catch (std::exception & e) {
            cout << string("!!!Exception: ") + string(e.what()) << endl;
            res = make_tuple(-1, V(), "!!!Exception: " + string(e.what()));
        } catch (...) {
            cout << string("!!!Exception: ") + "unknown exception." << endl;
        }
        text = text->next(std::get<0>(res)); // move ahead offset.
        if (!text->empty()) {
            // cout << "NOT COMSUME ALL TOKEN IN THE INPUT STREAM!" << endl;
            // cout << "    in stream: " << (*text) << endl;
        }
        return ValueT<V>(std::get<0>(res) != -1, loc, std::get<0>(res), std::get<1>(res), std::get<2>(res), text->empty());
    }

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x2a0, %rsp            # imm = 0x2A0
movq %rdi, -0x208(%rbp)
movq %rdi, %rax
movq %rax, -0x200(%rbp)
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x1f8(%rbp)
movl $0x1, -0x24(%rbp)
movl $0x1, -0x28(%rbp)
leaq -0x24(%rbp), %rdi
leaq -0x28(%rbp), %rsi
callq 0xed3e0
movq %rax, -0x20(%rbp)
leaq -0x58(%rbp), %rdi
callq 0xed410
movq -0x1f8(%rbp), %rsi
movq -0x18(%rbp), %rdx
leaq -0x88(%rbp), %rdi
callq 0xed440
jmp 0xecdf4
leaq -0x58(%rbp), %rdi
leaq -0x88(%rbp), %rsi
callq 0xed520
jmp 0xece06
leaq -0x88(%rbp), %rdi
callq 0xed550
jmp 0xed057
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x90(%rbp)
movl %eax, -0x94(%rbp)
jmp 0xece49
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x90(%rbp)
movl %eax, -0x94(%rbp)
leaq -0x88(%rbp), %rdi
callq 0xed550
movl -0x94(%rbp), %eax
movl $0x2, %ecx
cmpl %ecx, %eax
jne 0xed0b4
movq -0x90(%rbp), %rdi
callq 0x5140
movq %rax, -0xe8(%rbp)
leaq -0x129(%rbp), %rdi
movq %rdi, -0x210(%rbp)
callq 0x55d0
movq -0x210(%rbp), %rdx
leaq 0x4da3(%rip), %rsi      # 0xf1c33
leaq -0x128(%rbp), %rdi
callq 0x19840
jmp 0xece9e
movq -0xe8(%rbp), %rdi
movq (%rdi), %rax
movq 0x10(%rax), %rax
callq *%rax
movq %rax, -0x220(%rbp)
leaq -0x151(%rbp), %rdi
movq %rdi, -0x218(%rbp)
callq 0x55d0
movq -0x220(%rbp), %rsi
movq -0x218(%rbp), %rdx
leaq -0x150(%rbp), %rdi
callq 0x19840
jmp 0xecee4
leaq -0x108(%rbp), %rdi
leaq -0x128(%rbp), %rsi
leaq -0x150(%rbp), %rdx
callq 0x1a3d0
jmp 0xecf00
movq 0x720d1(%rip), %rdi     # 0x15efd8
leaq -0x108(%rbp), %rsi
callq 0x52e0
movq %rax, -0x228(%rbp)
jmp 0xecf1c
movq -0x228(%rbp), %rdi
movq 0x72096(%rip), %rsi     # 0x15efc0
callq 0x53a0
jmp 0xecf31
leaq -0x108(%rbp), %rdi
callq 0x5200
leaq -0x150(%rbp), %rdi
callq 0x5200
leaq -0x151(%rbp), %rdi
callq 0x53c0
leaq -0x128(%rbp), %rdi
callq 0x5200
leaq -0x129(%rbp), %rdi
callq 0x53c0
movl $0xffffffff, -0x18c(%rbp) # imm = 0xFFFFFFFF
movq $0x0, -0x198(%rbp)
movq -0xe8(%rbp), %rdi
movq (%rdi), %rax
movq 0x10(%rax), %rax
callq *%rax
movq %rax, -0x238(%rbp)
leaq -0x1d9(%rbp), %rdi
movq %rdi, -0x230(%rbp)
callq 0x55d0
movq -0x238(%rbp), %rsi
movq -0x230(%rbp), %rdx
leaq -0x1d8(%rbp), %rdi
callq 0x19840
jmp 0xecfc8
leaq 0x4c64(%rip), %rsi      # 0xf1c33
leaq -0x1b8(%rbp), %rdi
leaq -0x1d8(%rbp), %rdx
callq 0x19ad0
jmp 0xecfe4
leaq -0x188(%rbp), %rdi
leaq -0x18c(%rbp), %rsi
leaq -0x198(%rbp), %rdx
leaq -0x1b8(%rbp), %rcx
callq 0xed570
jmp 0xed007
leaq -0x58(%rbp), %rdi
leaq -0x188(%rbp), %rsi
movq %rsi, -0x240(%rbp)
callq 0xed5b0
movq -0x240(%rbp), %rdi
callq 0xed5f0
leaq -0x1b8(%rbp), %rdi
callq 0x5200
leaq -0x1d8(%rbp), %rdi
callq 0x5200
leaq -0x1d9(%rbp), %rdi
callq 0x53c0
callq 0x5540
jmp 0xed055
jmp 0xed057
movq -0x18(%rbp), %rax
movq %rax, -0x250(%rbp)
leaq -0x58(%rbp), %rdi
callq 0xed640
movq -0x250(%rbp), %rdi
movq %rax, %rsi
callq 0xed610
movq %rax, -0x248(%rbp)
jmp 0xed083
movq -0x248(%rbp), %rax
movq %rax, -0x18(%rbp)
movq -0x18(%rbp), %rdi
callq 0x19780
movb %al, -0x251(%rbp)
jmp 0xed09f
movb -0x251(%rbp), %al
testb $0x1, %al
jne 0xed2e3
jmp 0xed0af
jmp 0xed2e3
movq -0x90(%rbp), %rdi
callq 0x5140
leaq -0xd9(%rbp), %rdi
movq %rdi, -0x260(%rbp)
callq 0x55d0
movq -0x260(%rbp), %rdx
leaq 0x4b52(%rip), %rsi      # 0xf1c33
leaq -0xd8(%rbp), %rdi
callq 0x19840
jmp 0xed0ef
leaq 0x4b4c(%rip), %rdx      # 0xf1c42
leaq -0xb8(%rbp), %rdi
leaq -0xd8(%rbp), %rsi
callq 0x1a380
jmp 0xed10b
movq 0x71ec6(%rip), %rdi     # 0x15efd8
leaq -0xb8(%rbp), %rsi
callq 0x52e0
movq %rax, -0x268(%rbp)
jmp 0xed127
movq -0x268(%rbp), %rdi
movq 0x71e8b(%rip), %rsi     # 0x15efc0
callq 0x53a0
jmp 0xed13c
leaq -0xb8(%rbp), %rdi
callq 0x5200
leaq -0xd8(%rbp), %rdi
callq 0x5200
leaq -0xd9(%rbp), %rdi
callq 0x53c0
callq 0x5540
jmp 0xed167
jmp 0xed057
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x90(%rbp)
movl %eax, -0x94(%rbp)
jmp 0xed1be
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x90(%rbp)
movl %eax, -0x94(%rbp)
jmp 0xed1b2
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x90(%rbp)
movl %eax, -0x94(%rbp)
leaq -0xb8(%rbp), %rdi
callq 0x5200
leaq -0xd8(%rbp), %rdi
callq 0x5200
leaq -0xd9(%rbp), %rdi
callq 0x53c0
callq 0x5540
jmp 0xed1e8
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x90(%rbp)
movl %eax, -0x94(%rbp)
jmp 0xed3c1
jmp 0xed3c1
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x90(%rbp)
movl %eax, -0x94(%rbp)
jmp 0xed26b
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x90(%rbp)
movl %eax, -0x94(%rbp)
jmp 0xed253
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x90(%rbp)
movl %eax, -0x94(%rbp)
jmp 0xed247
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x90(%rbp)
movl %eax, -0x94(%rbp)
leaq -0x108(%rbp), %rdi
callq 0x5200
leaq -0x150(%rbp), %rdi
callq 0x5200
leaq -0x151(%rbp), %rdi
callq 0x53c0
leaq -0x128(%rbp), %rdi
callq 0x5200
leaq -0x129(%rbp), %rdi
callq 0x53c0
jmp 0xed2d7
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x90(%rbp)
movl %eax, -0x94(%rbp)
jmp 0xed2cb
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x90(%rbp)
movl %eax, -0x94(%rbp)
jmp 0xed2bf
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x90(%rbp)
movl %eax, -0x94(%rbp)
leaq -0x1b8(%rbp), %rdi
callq 0x5200
leaq -0x1d8(%rbp), %rdi
callq 0x5200
leaq -0x1d9(%rbp), %rdi
callq 0x53c0
callq 0x5540
jmp 0xed2de
jmp 0xed3c1
leaq -0x58(%rbp), %rdi
movq %rdi, -0x288(%rbp)
callq 0xed640
movq -0x288(%rbp), %rdi
movl (%rax), %eax
subl $-0x1, %eax
setne %al
movb %al, -0x28d(%rbp)
movq -0x20(%rbp), %rax
movq %rax, -0x1e8(%rbp)
callq 0xed640
movq -0x288(%rbp), %rdi
movl (%rax), %eax
movl %eax, -0x28c(%rbp)
callq 0xed660
movq -0x288(%rbp), %rdi
movq %rax, -0x280(%rbp)
callq 0xed680
movq %rax, -0x278(%rbp)
movq -0x18(%rbp), %rdi
callq 0x19780
movb %al, -0x269(%rbp)
jmp 0xed357
movq -0x278(%rbp), %r9
movq -0x280(%rbp), %r8
movl -0x28c(%rbp), %ecx
movq -0x208(%rbp), %rdi
movb -0x28d(%rbp), %al
movb -0x269(%rbp), %dl
andb $0x1, %dl
movb %dl, -0x1e9(%rbp)
movq -0x1e8(%rbp), %rdx
movq %rsp, %rsi
leaq -0x1e9(%rbp), %r10
movq %r10, (%rsi)
movzbl %al, %esi
andl $0x1, %esi
callq 0xed6a0
jmp 0xed3a8
leaq -0x58(%rbp), %rdi
callq 0xed5f0
movq -0x200(%rbp), %rax
addq $0x2a0, %rsp            # imm = 0x2A0
popq %rbp
retq
leaq -0x58(%rbp), %rdi
callq 0xed5f0
movq -0x90(%rbp), %rdi
callq 0x55b0
movq %rax, %rdi
callq 0x2ca40
nop