// File: /workspace/github_cpp_makefile_star2_O3/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 0x9c90
movq %rdi, %r14
movq 0x10(%rsi), %rax
movb (%rax), %bpl
movl %ebp, %eax
cmpb %bpl, (%rdi)
je 0x9c77
movq 0x8(%rsi), %r15
leaq 0x98(%rsp), %r13
movq %r13, -0x10(%r13)
leaq 0x8765d(%rip), %rsi     # 0x910b4
leaq 0x87669(%rip), %rdx     # 0x910c7
leaq 0x88(%rsp), %r12
movq %r12, %rdi
callq 0x253d0
leaq 0x8906a(%rip), %rsi     # 0x92adf
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 0x9aa4
movq %rdx, 0x8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x18(%rsp)
jmp 0x9aaa
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, %edi
leaq 0x18(%rsp), %rsi
cmpq %rsi, %rcx
je 0x9b02
movq 0x18(%rsp), %rdi
movq 0x28(%rsp), %rsi
cmpq %rdi, %rax
jbe 0x9b25
movl $0xf, %edi
leaq 0x38(%rsp), %r9
cmpq %r9, %rsi
je 0x9b20
movq 0x38(%rsp), %rdi
cmpq %rdi, %rax
jbe 0x9b31
leaq 0x8(%rsp), %rdi
callq 0x50d0
jmp 0x9b3f
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 0x9b63
movq %rsi, 0x48(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x58(%rsp)
jmp 0x9b69
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 0x88f4f(%rip), %rsi     # 0x92adf
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 0x9bc1
movq %rdx, 0x68(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x78(%rsp)
jmp 0x9bc9
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 0x9961
movq 0x68(%rsp), %rdi
cmpq %r13, %rdi
je 0x9c04
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x5260
leaq 0x58(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x9c1f
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x5260
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x9c3b
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x5260
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x9c57
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x5260
movq 0x88(%rsp), %rdi
cmpq %r12, %rdi
je 0x9c74
movq 0x98(%rsp), %rsi
incq %rsi
callq 0x5260
movb (%r14), %al
movzbl %al, %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 0x9cc4
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x5260
jmp 0x9cc4
movq %rax, %rbx
leaq 0x58(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x9ce7
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x5260
jmp 0x9ce7
movq %r13, %r12
movq %rax, %rbx
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x9d0b
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x5260
jmp 0x9d0b
movq %r13, %r12
movq %rax, %rbx
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x9d2f
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x5260
jmp 0x9d2f
movq %r13, %r12
movq %rax, %rbx
movq 0x88(%rsp), %rdi
cmpq %r12, %rdi
je 0x9d4c
movq 0x98(%rsp), %rsi
incq %rsi
callq 0x5260
movq %rbx, %rdi
callq 0x53d0