// File: /workspace/github_cpp_makefile_star2_O1/sighingnow[P]compile-pascal/pl0_parser.cpp
// Function: pl0_character_helper(char const&, input_t*)
pair<int, char> pl0_character_helper(char const & ch, input_t *text) {
    if (text->empty()) { return make_pair(-1, '\0'); }
    char c = text->at(0);
    if (ch != c) { pl0_parser_error(text->locate(), string("expected character ") + "'" + string(0, ch) + "'"); }
    return make_pair(ch == c ? (1) : (-1), ch);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xa8, %rsp
movl $0xffffffff, %ebx       # imm = 0xFFFFFFFF
cmpq $0x0, 0x18(%rsi)
je 0x9b79
movq %rdi, %r14
movq 0x10(%rsi), %rax
movb (%rax), %bpl
cmpb %bpl, (%rdi)
je 0x9b5f
movq 0x8(%rsi), %r15
leaq 0x98(%rsp), %r13
movq %r13, -0x10(%r13)
leaq 0x8d774(%rip), %rsi     # 0x970b4
leaq 0x8d780(%rip), %rdx     # 0x970c7
leaq 0x88(%rsp), %r12
movq %r12, %rdi
callq 0x2670a
leaq 0x8f181(%rip), %rsi     # 0x98adf
movq %r12, %rdi
callq 0x5420
leaq 0x18(%rsp), %rsi
movq %rsi, -0x10(%rsi)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x998d
movq %rdx, 0x8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x18(%rsp)
jmp 0x9993
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq 0x8(%rax), %rdx
movq %rdx, 0x10(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movsbl (%r14), %edx
leaq 0x38(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x28(%rsp), %rdi
xorl %esi, %esi
callq 0x5300
movq 0x8(%rsp), %rcx
movq 0x10(%rsp), %r8
movq 0x30(%rsp), %rdx
leaq (%rdx,%r8), %rax
movl $0xf, %esi
leaq 0x18(%rsp), %rdi
cmpq %rdi, %rcx
je 0x99eb
movq 0x18(%rsp), %rsi
cmpq %rsi, %rax
jbe 0x9a0b
movl $0xf, %esi
leaq 0x38(%rsp), %rdi
cmpq %rdi, 0x28(%rsp)
je 0x9a06
movq 0x38(%rsp), %rsi
cmpq %rsi, %rax
jbe 0x9a1c
movq 0x28(%rsp), %rsi
leaq 0x8(%rsp), %rdi
callq 0x50d0
jmp 0x9a2a
leaq 0x28(%rsp), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x52c0
leaq 0x58(%rsp), %rdx
movq %rdx, -0x10(%rdx)
movq (%rax), %rsi
leaq 0x10(%rax), %rcx
cmpq %rcx, %rsi
je 0x9a4e
movq %rsi, 0x48(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x58(%rsp)
jmp 0x9a54
movups (%rcx), %xmm0
movups %xmm0, (%rdx)
movq %rax, %rdx
addq $0x8, %rdx
movq 0x8(%rax), %rsi
movq %rsi, 0x50(%rsp)
movq %rcx, (%rax)
movq %r13, %r12
movq $0x0, (%rdx)
movb $0x0, (%rcx)
leaq 0x8f064(%rip), %rsi     # 0x98adf
leaq 0x48(%rsp), %rdi
callq 0x5420
leaq 0x78(%rsp), %r13
movq %r13, -0x10(%r13)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x9aac
movq %rdx, 0x68(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x78(%rsp)
jmp 0x9ab4
movups (%rcx), %xmm0
movups %xmm0, (%r13)
movq 0x8(%rax), %rdx
leaq 0x68(%rsp), %rsi
movq %rdx, 0x8(%rsi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq %r15, %rdi
callq 0x984c
movq 0x68(%rsp), %rdi
cmpq %r13, %rdi
je 0x9aef
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x5260
leaq 0x58(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x9b0a
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x5260
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x9b26
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x5260
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x9b42
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x5260
movq 0x88(%rsp), %rdi
cmpq %r12, %rdi
je 0x9b5f
movq 0x98(%rsp), %rsi
incq %rsi
callq 0x5260
movzbl (%r14), %eax
movq %rax, %rcx
shlq $0x20, %rcx
cmpb %bpl, %al
movl $0x1, %eax
cmoveq %rax, %rbx
orq %rcx, %rbx
movq %rbx, %rax
addq $0xa8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq 0x68(%rsp), %rdi
cmpq %r13, %rdi
je 0x9bad
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x5260
jmp 0x9bad
movq %rax, %rbx
leaq 0x58(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x9bd0
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x5260
jmp 0x9bd0
movq %r13, %r12
movq %rax, %rbx
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x9bf4
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x5260
jmp 0x9bf4
movq %r13, %r12
movq %rax, %rbx
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x9c18
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x5260
jmp 0x9c18
movq %r13, %r12
movq %rax, %rbx
movq 0x88(%rsp), %rdi
cmpq %r12, %rdi
je 0x9c35
movq 0x98(%rsp), %rsi
incq %rsi
callq 0x5260
movq %rbx, %rdi
callq 0x53d0