// File: sighingnow[P]compile-pascal/pl0_parser.cpp
// Function: pl0_compound_stmt_fn(input_t*)
pair<int, pl0_ast_compound_stmt *> pl0_compound_stmt_fn(input_t *text) {
    auto parser = (spaces >> pl0_string_literal("begin") << spaces)
        >> (pl0_stmt % (spaces >> pl0_character(';') << spaces))
        << (spaces >> pl0_string_literal("end") << spaces);
    auto res = (spaces >> parser << spaces)(text);
    if (verbose) {
        cout << "parsing: Compound Statement" << endl;
    }
    return make_pair(std::get<0>(res), new pl0_ast_compound_stmt(text->locate(), std::get<1>(res)));
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x1700, %rsp           # imm = 0x1700
movq %rdi, -0x18(%rbp)
leaq -0x851(%rbp), %rdi
movq %rdi, -0x16c8(%rbp)
callq 0x55d0
movq -0x16c8(%rbp), %rdx
leaq 0xd8bb9(%rip), %rsi     # 0xef219
leaq -0x850(%rbp), %rdi
callq 0x19840
jmp 0x1666e
leaq -0x830(%rbp), %rdi
leaq -0x850(%rbp), %rsi
callq 0xa6a0
jmp 0x16683
leaq 0x149146(%rip), %rsi    # 0x15f7d0
leaq -0x7e8(%rbp), %rdi
leaq -0x830(%rbp), %rdx
callq 0x20710
jmp 0x1669f
leaq 0x14912a(%rip), %rdx    # 0x15f7d0
leaq -0x738(%rbp), %rdi
leaq -0x7e8(%rbp), %rsi
callq 0x206d0
jmp 0x166bb
movb $0x3b, -0xbd9(%rbp)
leaq -0xbd8(%rbp), %rdi
leaq -0xbd9(%rbp), %rsi
callq 0xa240
jmp 0x166d7
leaq 0x1490f2(%rip), %rsi    # 0x15f7d0
leaq -0xb90(%rbp), %rdi
leaq -0xbd8(%rbp), %rdx
callq 0x26910
jmp 0x166f3
leaq 0x1490d6(%rip), %rdx    # 0x15f7d0
leaq -0xae0(%rbp), %rdi
leaq -0xb90(%rbp), %rsi
callq 0x29790
jmp 0x1670f
leaq 0x1498fa(%rip), %rsi    # 0x160010
leaq -0x9c8(%rbp), %rdi
leaq -0xae0(%rbp), %rdx
callq 0x2a7a0
jmp 0x1672b
leaq -0x620(%rbp), %rdi
leaq -0x738(%rbp), %rsi
leaq -0x9c8(%rbp), %rdx
callq 0x2a760
jmp 0x16747
leaq -0xe11(%rbp), %rdi
movq %rdi, -0x16d0(%rbp)
callq 0x55d0
movq -0x16d0(%rbp), %rdx
leaq 0xd8ab7(%rip), %rsi     # 0xef21f
leaq -0xe10(%rbp), %rdi
callq 0x19840
jmp 0x16776
leaq -0xdf0(%rbp), %rdi
leaq -0xe10(%rbp), %rsi
callq 0xa6a0
jmp 0x1678b
leaq 0x14903e(%rip), %rsi    # 0x15f7d0
leaq -0xda8(%rbp), %rdi
leaq -0xdf0(%rbp), %rdx
callq 0x20710
jmp 0x167a7
leaq 0x149022(%rip), %rdx    # 0x15f7d0
leaq -0xcf8(%rbp), %rdi
leaq -0xda8(%rbp), %rsi
callq 0x206d0
jmp 0x167c3
leaq -0x3a8(%rbp), %rdi
leaq -0x620(%rbp), %rsi
leaq -0xcf8(%rbp), %rdx
callq 0x2a720
jmp 0x167df
leaq -0xcf8(%rbp), %rdi
callq 0x20ad0
leaq -0xda8(%rbp), %rdi
callq 0x20b00
leaq -0xdf0(%rbp), %rdi
callq 0x1d950
leaq -0xe10(%rbp), %rdi
callq 0x5200
leaq -0xe11(%rbp), %rdi
callq 0x53c0
leaq -0x620(%rbp), %rdi
callq 0x2a7e0
leaq -0x9c8(%rbp), %rdi
callq 0x2a810
leaq -0xae0(%rbp), %rdi
callq 0x29c80
leaq -0xb90(%rbp), %rdi
callq 0x26db0
leaq -0xbd8(%rbp), %rdi
callq 0x19a20
leaq -0x738(%rbp), %rdi
callq 0x20ad0
leaq -0x7e8(%rbp), %rdi
callq 0x20b00
leaq -0x830(%rbp), %rdi
callq 0x1d950
leaq -0x850(%rbp), %rdi
callq 0x5200
leaq -0x851(%rbp), %rdi
callq 0x53c0
leaq 0x148f36(%rip), %rsi    # 0x15f7d0
leaq -0x16b0(%rbp), %rdi
leaq -0x3a8(%rbp), %rdx
callq 0x2a880
jmp 0x168af
leaq 0x148f1a(%rip), %rdx    # 0x15f7d0
leaq -0x12b8(%rbp), %rdi
leaq -0x16b0(%rbp), %rsi
callq 0x2a840
jmp 0x168cb
movq -0x18(%rbp), %rdx
leaq -0xe58(%rbp), %rdi
leaq -0x12b8(%rbp), %rsi
callq 0x2a8c0
jmp 0x168e4
leaq -0x12b8(%rbp), %rdi
callq 0x2acb0
leaq -0x16b0(%rbp), %rdi
callq 0x2ace0
testb $0x1, 0x148f35(%rip)    # 0x15f838
je 0x16b9a
movq 0x1486c8(%rip), %rdi    # 0x15efd8
leaq 0xd8c84(%rip), %rsi     # 0xef59b
callq 0x5330
movq %rax, -0x16d8(%rbp)
jmp 0x16925
movq -0x16d8(%rbp), %rdi
movq 0x14868d(%rip), %rsi    # 0x15efc0
callq 0x53a0
jmp 0x1693a
jmp 0x16b9a
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x860(%rbp)
movl %eax, -0x864(%rbp)
jmp 0x16b18
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x860(%rbp)
movl %eax, -0x864(%rbp)
jmp 0x16b0c
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x860(%rbp)
movl %eax, -0x864(%rbp)
jmp 0x16b00
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x860(%rbp)
movl %eax, -0x864(%rbp)
jmp 0x16af4
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x860(%rbp)
movl %eax, -0x864(%rbp)
jmp 0x16ae8
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x860(%rbp)
movl %eax, -0x864(%rbp)
jmp 0x16adc
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x860(%rbp)
movl %eax, -0x864(%rbp)
jmp 0x16ad0
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x860(%rbp)
movl %eax, -0x864(%rbp)
jmp 0x16ac4
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x860(%rbp)
movl %eax, -0x864(%rbp)
jmp 0x16ab8
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x860(%rbp)
movl %eax, -0x864(%rbp)
jmp 0x16aa0
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x860(%rbp)
movl %eax, -0x864(%rbp)
jmp 0x16a94
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x860(%rbp)
movl %eax, -0x864(%rbp)
jmp 0x16a88
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x860(%rbp)
movl %eax, -0x864(%rbp)
jmp 0x16a7c
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x860(%rbp)
movl %eax, -0x864(%rbp)
leaq -0xcf8(%rbp), %rdi
callq 0x20ad0
leaq -0xda8(%rbp), %rdi
callq 0x20b00
leaq -0xdf0(%rbp), %rdi
callq 0x1d950
leaq -0xe10(%rbp), %rdi
callq 0x5200
leaq -0xe11(%rbp), %rdi
callq 0x53c0
leaq -0x620(%rbp), %rdi
callq 0x2a7e0
leaq -0x9c8(%rbp), %rdi
callq 0x2a810
leaq -0xae0(%rbp), %rdi
callq 0x29c80
leaq -0xb90(%rbp), %rdi
callq 0x26db0
leaq -0xbd8(%rbp), %rdi
callq 0x19a20
leaq -0x738(%rbp), %rdi
callq 0x20ad0
leaq -0x7e8(%rbp), %rdi
callq 0x20b00
leaq -0x830(%rbp), %rdi
callq 0x1d950
leaq -0x850(%rbp), %rdi
callq 0x5200
leaq -0x851(%rbp), %rdi
callq 0x53c0
jmp 0x16cab
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x860(%rbp)
movl %eax, -0x864(%rbp)
jmp 0x16c9f
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x860(%rbp)
movl %eax, -0x864(%rbp)
jmp 0x16b72
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x860(%rbp)
movl %eax, -0x864(%rbp)
leaq -0x12b8(%rbp), %rdi
callq 0x2acb0
leaq -0x16b0(%rbp), %rdi
callq 0x2ace0
jmp 0x16c9f
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x860(%rbp)
movl %eax, -0x864(%rbp)
jmp 0x16c93
leaq -0xe58(%rbp), %rdi
callq 0x2ad40
movq %rax, -0x16e8(%rbp)
movl $0x30, %edi
callq 0x5340
movq %rax, -0x16e0(%rbp)
jmp 0x16bc0
movq -0x18(%rbp), %rdi
callq 0x1a350
movq %rax, -0x16f0(%rbp)
jmp 0x16bd2
movq -0x16f0(%rbp), %rax
movq %rax, -0x16c0(%rbp)
leaq -0xe58(%rbp), %rdi
callq 0x2ad60
movq -0x16e0(%rbp), %rdi
movq %rax, %rdx
movq -0x16c0(%rbp), %rsi
callq 0x2ad80
jmp 0x16c04
movq -0x16e8(%rbp), %rdi
movq -0x16e0(%rbp), %rax
movq %rax, -0x16b8(%rbp)
leaq -0x16b8(%rbp), %rsi
callq 0x2ad10
movq %rdx, -0x1700(%rbp)
movl %eax, -0x16f4(%rbp)
jmp 0x16c34
movq -0x1700(%rbp), %rax
movl -0x16f4(%rbp), %ecx
movl %ecx, -0x10(%rbp)
movq %rax, -0x8(%rbp)
leaq -0xe58(%rbp), %rdi
callq 0x2ae00
leaq -0x3a8(%rbp), %rdi
callq 0x2ae20
movl -0x10(%rbp), %eax
movq -0x8(%rbp), %rdx
addq $0x1700, %rsp           # imm = 0x1700
popq %rbp
retq
movq -0x16e0(%rbp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x860(%rbp)
movl %eax, -0x864(%rbp)
movl $0x30, %esi
callq 0x5350
leaq -0xe58(%rbp), %rdi
callq 0x2ae00
leaq -0x3a8(%rbp), %rdi
callq 0x2ae20
movq -0x860(%rbp), %rdi
callq 0x55b0
nopw (%rax,%rax)