// File: /workspace/github_cpp_makefile_star2_O1/sighingnow[P]compile-pascal/pl0_parser.cpp
// Function: pl0_prog_fn(input_t*)
pair<int, pl0_ast_prog *> pl0_prog_fn(input_t *text) {
    auto parser = ((~pl0_const_stmt) + (~pl0_var_stmt)) + (++pl0_executable + pl0_compound_stmt);
    auto res = (spaces >> parser << spaces)(text);
    if (verbose) {
        cout << "parsing: Prog" << endl;
    }
    return make_pair(std::get<0>(res), new pl0_ast_prog(
        text->locate(), 
        std::get<1>(res).first.first,
        std::get<1>(res).first.second,
        std::get<1>(res).second.first,
        std::get<1>(res).second.second
    ));
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x580, %rsp            # imm = 0x580
movq %rdi, %rbx
leaq 0xb64ea(%rip), %rsi     # 0xc09d8
movq %rsp, %rdi
callq 0x271ac
leaq 0xb66d3(%rip), %rsi     # 0xc0bd0
leaq 0xa0(%rsp), %rdi
callq 0x2721e
leaq 0x390(%rsp), %rdi
movq %rsp, %rsi
leaq 0xa0(%rsp), %rdx
callq 0x270de
leaq 0xb67c7(%rip), %rsi     # 0xc0cf0
leaq 0x58(%rsp), %rdi
callq 0x2735e
leaq 0xb6f06(%rip), %rdx     # 0xc1440
leaq 0xe8(%rsp), %rdi
leaq 0x58(%rsp), %rsi
callq 0x27290
leaq 0x270(%rsp), %rdi
leaq 0x390(%rsp), %rsi
leaq 0xe8(%rsp), %rdx
callq 0x26d74
leaq 0x130(%rsp), %rdi
callq 0x273d0
leaq 0xe8(%rsp), %rdi
callq 0x2740e
leaq 0x58(%rsp), %rdi
callq 0x2740e
leaq 0x3d8(%rsp), %rdi
callq 0x2744c
leaq 0x390(%rsp), %rdi
callq 0x2748a
leaq 0xa0(%rsp), %rdi
callq 0x2744c
movq %rsp, %rdi
callq 0x2748a
leaq 0xb60ed(%rip), %rsi     # 0xc06b0
leaq 0xe8(%rsp), %rdi
leaq 0x270(%rsp), %rdx
callq 0x2764c
leaq 0xb60d1(%rip), %rdx     # 0xc06b0
leaq 0x390(%rsp), %rdi
leaq 0xe8(%rsp), %rsi
callq 0x274c8
movq %rsp, %rdi
leaq 0x390(%rsp), %rsi
movq %rbx, %rdx
callq 0x168f0
leaq 0x390(%rsp), %rdi
callq 0x16d0a
leaq 0x150(%rsp), %r14
leaq 0x1e0(%rsp), %r15
leaq 0x228(%rsp), %rdi
callq 0x273d0
movq %r15, %rdi
callq 0x2740e
leaq 0x198(%rsp), %r15
movq %r15, %rdi
callq 0x2744c
movq %r14, %rdi
callq 0x2748a
movq -0x58(%r15), %rax
testq %rax, %rax
je 0xa66c
leaq 0x130(%rsp), %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
leaq 0xe8(%rsp), %rdi
callq 0x161e0
movl $0x38, %edi
callq 0x5250
movq %rax, %r14
movq 0x8(%rbx), %rax
leaq 0x30(%rsp), %rsi
movups -0x10(%rsi), %xmm0
movq 0x18(%rsi), %rbx
movq %rax, (%r14)
movups %xmm0, 0x8(%r14)
movq %r14, %rdi
addq $0x18, %rdi
callq 0x27722
movq %rbx, 0x30(%r14)
movl 0x50(%rsp), %ebx
movq 0x30(%rsp), %rdi
testq %rdi, %rdi
je 0xa6ca
movq 0x40(%rsp), %rsi
subq %rdi, %rsi
callq 0x5260
leaq 0x10(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xa6e5
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x5260
leaq 0x300(%rsp), %r15
leaq 0x348(%rsp), %rdi
callq 0x273d0
movq %r15, %rdi
callq 0x2740e
leaq 0x2b8(%rsp), %rdi
callq 0x2744c
leaq 0x270(%rsp), %rdi
callq 0x2748a
movl %ebx, %eax
movq %r14, %rdx
addq $0x580, %rsp            # imm = 0x580
popq %rbx
popq %r14
popq %r15
retq
movq %rax, %rdi
callq 0x266fe
movq %rax, %rbx
movl $0x38, %esi
movq %r14, %rdi
callq 0x5260
jmp 0xa74b
movq %rax, %rbx
movq %rsp, %rdi
callq 0x16e04
jmp 0xa77c
movq %rax, %rbx
leaq 0x390(%rsp), %rdi
callq 0x16d0a
jmp 0xa76a
movq %rax, %rbx
leaq 0xe8(%rsp), %rdi
callq 0x16d9c
jmp 0xa77c
movq %rax, %rbx
leaq 0x270(%rsp), %rdi
callq 0x16e38
jmp 0xa7f5
movq %rax, %rbx
leaq 0x130(%rsp), %rdi
callq 0x273d0
leaq 0xe8(%rsp), %rdi
callq 0x2740e
jmp 0xa7ad
movq %rax, %rbx
leaq 0x58(%rsp), %rdi
callq 0x2740e
jmp 0xa7bc
movq %rax, %rbx
leaq 0x3d8(%rsp), %rdi
callq 0x2744c
leaq 0x390(%rsp), %rdi
callq 0x2748a
jmp 0xa7db
movq %rax, %rbx
leaq 0xa0(%rsp), %rdi
callq 0x2744c
jmp 0xa7ed
movq %rax, %rbx
movq %rsp, %rdi
callq 0x2748a
movq %rbx, %rdi
callq 0x53d0