// File: /workspace/github_cpp_makefile_star2_O3/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 0xb03c3(%rip), %rsi     # 0xba9d8
movq %rsp, %rdi
callq 0x25e40
leaq 0xb05ac(%rip), %rsi     # 0xbabd0
leaq 0xa0(%rsp), %rdi
callq 0x25eb2
leaq 0x390(%rsp), %rdi
movq %rsp, %rsi
leaq 0xa0(%rsp), %rdx
callq 0x25d72
leaq 0xb06a0(%rip), %rsi     # 0xbacf0
leaq 0x58(%rsp), %rdi
callq 0x25ff2
leaq 0xb0ddf(%rip), %rdx     # 0xbb440
leaq 0xe8(%rsp), %rdi
leaq 0x58(%rsp), %rsi
callq 0x25f24
leaq 0x270(%rsp), %rdi
leaq 0x390(%rsp), %rsi
leaq 0xe8(%rsp), %rdx
callq 0x25a28
leaq 0x130(%rsp), %rdi
callq 0x26064
leaq 0xe8(%rsp), %rdi
callq 0x260a2
leaq 0x58(%rsp), %rdi
callq 0x260a2
leaq 0x3d8(%rsp), %rdi
callq 0x260e0
leaq 0x390(%rsp), %rdi
callq 0x2611e
leaq 0xa0(%rsp), %rdi
callq 0x260e0
movq %rsp, %rdi
callq 0x2611e
leaq 0xaffc6(%rip), %rsi     # 0xba6b0
leaq 0xe8(%rsp), %rdi
leaq 0x270(%rsp), %rdx
callq 0x262e0
leaq 0xaffaa(%rip), %rdx     # 0xba6b0
leaq 0x390(%rsp), %rdi
leaq 0xe8(%rsp), %rsi
callq 0x2615c
movq %rsp, %rdi
leaq 0x390(%rsp), %rsi
movq %rbx, %rdx
callq 0x1683c
leaq 0x390(%rsp), %rdi
callq 0x16c56
leaq 0x150(%rsp), %r14
leaq 0x1e0(%rsp), %r15
leaq 0x228(%rsp), %rdi
callq 0x26064
movq %r15, %rdi
callq 0x260a2
leaq 0x198(%rsp), %r15
movq %r15, %rdi
callq 0x260e0
movq %r14, %rdi
callq 0x2611e
movq -0x58(%r15), %rax
testq %rax, %rax
je 0xa793
leaq 0x130(%rsp), %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
leaq 0xe8(%rsp), %rdi
callq 0x161f6
movl $0x38, %edi
callq 0x5250
movq %rax, %r14
movq 0x8(%rbx), %rax
leaq 0x30(%rsp), %rsi
movq 0x18(%rsi), %rbx
movq %rax, (%r14)
movups -0x10(%rsi), %xmm0
movups %xmm0, 0x8(%r14)
movq %r14, %rdi
addq $0x18, %rdi
callq 0x263b6
movq %rbx, 0x30(%r14)
movl 0x50(%rsp), %ebx
movq 0x30(%rsp), %rdi
testq %rdi, %rdi
je 0xa7f1
movq 0x40(%rsp), %rsi
subq %rdi, %rsi
callq 0x5260
leaq 0x10(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xa80c
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x5260
leaq 0x300(%rsp), %r15
leaq 0x348(%rsp), %rdi
callq 0x26064
movq %r15, %rdi
callq 0x260a2
leaq 0x2b8(%rsp), %rdi
callq 0x260e0
leaq 0x270(%rsp), %rdi
callq 0x2611e
movl %ebx, %eax
movq %r14, %rdx
addq $0x580, %rsp            # imm = 0x580
popq %rbx
popq %r14
popq %r15
retq
movq %rax, %rdi
callq 0x253c4
movq %rax, %rbx
movl $0x38, %esi
movq %r14, %rdi
callq 0x5260
jmp 0xa872
movq %rax, %rbx
movq %rsp, %rdi
callq 0x16d50
jmp 0xa8a3
movq %rax, %rbx
leaq 0x390(%rsp), %rdi
callq 0x16c56
jmp 0xa891
movq %rax, %rbx
leaq 0xe8(%rsp), %rdi
callq 0x16ce8
jmp 0xa8a3
movq %rax, %rbx
leaq 0x270(%rsp), %rdi
callq 0x16d84
jmp 0xa91c
movq %rax, %rbx
leaq 0x130(%rsp), %rdi
callq 0x26064
leaq 0xe8(%rsp), %rdi
callq 0x260a2
jmp 0xa8d4
movq %rax, %rbx
leaq 0x58(%rsp), %rdi
callq 0x260a2
jmp 0xa8e3
movq %rax, %rbx
leaq 0x3d8(%rsp), %rdi
callq 0x260e0
leaq 0x390(%rsp), %rdi
callq 0x2611e
jmp 0xa902
movq %rax, %rbx
leaq 0xa0(%rsp), %rdi
callq 0x260e0
jmp 0xa914
movq %rax, %rbx
movq %rsp, %rdi
callq 0x2611e
movq %rbx, %rdi
callq 0x53d0