// File: /workspace/github_cpp_makefile_star2_O3/yhirose[P]fizzbuzzlang/./peglib.h
// Function: peg::parse_literal(char const*, unsigned long, peg::SemanticValues&, peg::Context&, std::any&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, std::once_flag&, bool&, bool)
inline size_t parse_literal(const char *s, size_t n, SemanticValues &vs,
                            Context &c, std::any &dt, const std::string &lit,
                            std::once_flag &init_is_word, bool &is_word,
                            bool ignore_case) {
  size_t i = 0;
  for (; i < lit.size(); i++) {
    if (i >= n || (ignore_case ? (std::tolower(s[i]) != std::tolower(lit[i]))
                               : (s[i] != lit[i]))) {
      c.set_error_pos(s, lit.data());
      return static_cast<size_t>(-1);
    }
  }

  // Word check
  if (c.wordOpe) {
    auto save_ignore_trace_state = c.ignore_trace_state;
    c.ignore_trace_state = !c.verbose_trace;
    auto se =
        scope_exit([&]() { c.ignore_trace_state = save_ignore_trace_state; });

    std::call_once(init_is_word, [&]() {
      SemanticValues dummy_vs;
      Context dummy_c(nullptr, c.s, c.l, 0, nullptr, nullptr, false, nullptr,
                      nullptr, nullptr, false, nullptr);
      std::any dummy_dt;

      auto len =
          c.wordOpe->parse(lit.data(), lit.size(), dummy_vs, dummy_c, dummy_dt);
      is_word = success(len);
    });

    if (is_word) {
      SemanticValues dummy_vs;
      Context dummy_c(nullptr, c.s, c.l, 0, nullptr, nullptr, false, nullptr,
                      nullptr, nullptr, false, nullptr);
      std::any dummy_dt;

      NotPredicate ope(c.wordOpe);
      auto len = ope.parse(s + i, n - i, dummy_vs, dummy_c, dummy_dt);
      if (fail(len)) {
        c.set_error_pos(s, lit.data());
        return len;
      }
      i += len;
    }
  }

  // Skip whitespace
  if (!c.in_token_boundary_count && c.whitespaceOpe) {
    auto save_ignore_trace_state = c.ignore_trace_state;
    c.ignore_trace_state = !c.verbose_trace;
    auto se =
        scope_exit([&]() { c.ignore_trace_state = save_ignore_trace_state; });

    auto len = c.whitespaceOpe->parse(s + i, n - i, vs, c, dt);
    if (fail(len)) { return len; }
    i += len;
  }

  return i;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x448, %rsp            # imm = 0x448
movq %r8, -0xa0(%rbp)
movq %rcx, -0x40(%rbp)
movq %rdx, -0x98(%rbp)
movq %rdi, %rax
movq %r9, -0x48(%rbp)
movq 0x8(%r9), %r14
testq %r14, %r14
movq %rsi, -0x50(%rbp)
je 0xacfe
movb 0x20(%rbp), %r12b
movq -0x48(%rbp), %rcx
movq (%rcx), %rcx
movq %rcx, -0x38(%rbp)
xorl %r13d, %r13d
cmpq %r13, %rsi
je 0xaf11
movsbl (%rax,%r13), %edi
testb %r12b, %r12b
je 0xace8
movq %r14, %r15
movq %rax, %r14
callq 0x8380
movl %eax, %ebx
movq -0x38(%rbp), %rax
movsbl (%rax,%r13), %edi
callq 0x8380
cmpl %eax, %ebx
movq %r14, %rax
movq %r15, %r14
movq -0x50(%rbp), %rsi
je 0xacf6
jmp 0xaf11
movq -0x38(%rbp), %rcx
cmpb (%rcx,%r13), %dil
jne 0xaf11
incq %r13
cmpq %r13, %r14
jne 0xaca7
movq -0x40(%rbp), %r15
cmpq $0x0, 0x108(%r15)
je 0xb035
movq %rax, -0x38(%rbp)
movq 0x18(%rbp), %rbx
movq 0x10(%rbp), %rdi
movb 0x240(%r15), %al
movb 0x288(%r15), %r12b
xorb $0x1, %al
movb %al, 0x288(%r15)
leaq -0x468(%rbp), %rsi
movq %r15, (%rsi)
movq -0x48(%rbp), %rax
movq %rax, 0x8(%rsi)
movq %rbx, 0x10(%rsi)
callq 0x12609
cmpb $0x0, (%rbx)
je 0xaf2d
movb %r12b, -0x29(%rbp)
leaq -0x130(%rbp), %r12
xorps %xmm0, %xmm0
movaps %xmm0, -0x20(%r12)
movaps %xmm0, -0x30(%r12)
movaps %xmm0, -0x40(%r12)
movaps %xmm0, -0x50(%r12)
movaps %xmm0, -0x60(%r12)
movaps %xmm0, -0x70(%r12)
movaps %xmm0, -0x80(%r12)
movaps %xmm0, -0x90(%r12)
movq %r12, -0x10(%r12)
xorl %eax, %eax
movq %rax, -0x8(%r12)
movb $0x0, (%r12)
movq 0x8(%r15), %rdx
movq 0x10(%r15), %rcx
leaq -0xc0(%rbp), %r9
movaps %xmm0, (%r9)
leaq -0xb0(%rbp), %r10
movaps %xmm0, (%r10)
leaq -0x120(%rbp), %r11
movaps %xmm0, (%r11)
movaps %xmm0, 0x10(%r11)
leaq -0x100(%rbp), %rbx
movaps %xmm0, (%rbx)
movaps %xmm0, 0x10(%rbx)
leaq 0x3233e(%rip), %rsi     # 0x3d12a
leaq -0x90(%rbp), %r15
movq %rsi, (%r15)
movq %rax, 0x8(%r15)
leaq -0xe0(%rbp), %r13
movaps %xmm0, (%r13)
movaps %xmm0, 0x10(%r13)
subq $0x8, %rsp
leaq -0x468(%rbp), %rdi
xorl %esi, %esi
xorl %r8d, %r8d
pushq %r13
pushq %rax
pushq %r15
pushq %rbx
pushq %r11
pushq %rax
pushq %r10
callq 0xa370
addq $0x40, %rsp
movq -0xd0(%rbp), %rax
testq %rax, %rax
je 0xae4c
leaq -0xe0(%rbp), %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
movq -0x90(%rbp), %rax
testq %rax, %rax
movq -0x40(%rbp), %r15
je 0xae77
leaq -0x90(%rbp), %rsi
movl $0x3, %edi
xorl %edx, %edx
callq *%rax
movq $0x0, -0x90(%rbp)
movq -0xf0(%rbp), %rax
testq %rax, %rax
je 0xae94
leaq -0x100(%rbp), %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
movq -0x110(%rbp), %rax
testq %rax, %rax
je 0xaeb1
leaq -0x120(%rbp), %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
movq -0xa8(%rbp), %rdi
testq %rdi, %rdi
je 0xaec2
callq 0x123fc
movq -0xb8(%rbp), %rdi
testq %rdi, %rdi
je 0xaed3
callq 0x123fc
xorps %xmm0, %xmm0
movaps %xmm0, -0x80(%rbp)
leaq 0x50fbf(%rip), %rbx     # 0x5bea0
movq %rbx, -0x68(%rbp)
movq 0x108(%r15), %rax
movq %rax, -0x60(%rbp)
movq 0x110(%r15), %rax
movq %rax, -0x58(%rbp)
testq %rax, %rax
je 0xaf41
movq 0x53069(%rip), %rcx     # 0x5df70
cmpb $0x0, (%rcx)
je 0xaf3d
incl 0x8(%rax)
jmp 0xaf41
movq -0x40(%rbp), %rdi
movq %rax, %rsi
movq -0x38(%rbp), %rdx
callq 0xa1fe
movq $-0x1, %r14
jmp 0xb097
movb %r12b, 0x288(%r15)
movq -0x38(%rbp), %rax
jmp 0xb035
lock
incl 0x8(%rax)
movq -0x38(%rbp), %rax
leaq (%rax,%r14), %rsi
movq -0x50(%rbp), %rdx
subq %r14, %rdx
leaq -0x68(%rbp), %rdi
leaq -0x1c0(%rbp), %rcx
leaq -0x468(%rbp), %r8
leaq -0x80(%rbp), %r9
callq 0xa7b8
movq %rax, %r13
cmpq $-0x1, %rax
je 0xaf79
addq %r13, %r14
jmp 0xaf8c
movq -0x48(%rbp), %rax
movq (%rax), %rdx
movq %r15, %rdi
movq -0x38(%rbp), %rsi
callq 0xa1fe
movq %rbx, -0x68(%rbp)
movq -0x58(%rbp), %rdi
testq %rdi, %rdi
je 0xaf9e
callq 0x123fc
movq -0x80(%rbp), %rax
testq %rax, %rax
je 0xafb4
leaq -0x80(%rbp), %rsi
movl $0x3, %edi
xorl %edx, %edx
callq *%rax
leaq -0x468(%rbp), %rdi
callq 0xa966
movq -0x140(%rbp), %rdi
cmpq %r12, %rdi
je 0xafdb
movq -0x130(%rbp), %rsi
incq %rsi
callq 0x82b0
movq -0x180(%rbp), %rdi
testq %rdi, %rdi
movb -0x29(%rbp), %bl
je 0xaff9
movq -0x170(%rbp), %rsi
subq %rdi, %rsi
callq 0x82b0
movq -0x198(%rbp), %rdi
testq %rdi, %rdi
je 0xb014
movq -0x188(%rbp), %rsi
subq %rdi, %rsi
callq 0x82b0
leaq -0x1c0(%rbp), %rdi
callq 0x3b960
movb %bl, 0x288(%r15)
cmpq $-0x1, %r13
movq -0x38(%rbp), %rax
je 0xaf21
cmpq $0x0, 0xe8(%r15)
jne 0xb097
movq 0xf0(%r15), %rdi
testq %rdi, %rdi
je 0xb097
movq %rax, %rsi
movb 0x240(%r15), %al
movb 0x288(%r15), %bl
xorb $0x1, %al
movb %al, 0x288(%r15)
addq %r14, %rsi
movq -0x50(%rbp), %rdx
subq %r14, %rdx
movq -0x98(%rbp), %rcx
movq %r15, %r8
movq -0xa0(%rbp), %r9
callq 0xa7b8
addq %rax, %r14
cmpq $-0x1, %rax
movb %bl, 0x288(%r15)
cmoveq %rax, %r14
movq %r14, %rax
addq $0x448, %rsp            # imm = 0x448
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0xb162
jmp 0xb162
jmp 0xb162
jmp 0xb162
jmp 0xb162
movq %rax, %r14
movb %bl, 0x288(%r15)
jmp 0xb1b6
movq %rax, %r14
movq -0xd0(%rbp), %rax
testq %rax, %rax
je 0xb0f4
leaq -0xe0(%rbp), %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
leaq -0x90(%rbp), %rdi
callq 0xa784
movq -0xf0(%rbp), %rax
testq %rax, %rax
je 0xb11d
leaq -0x100(%rbp), %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
movq -0x110(%rbp), %rax
testq %rax, %rax
je 0xb13a
leaq -0x120(%rbp), %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
movq -0xa8(%rbp), %rdi
testq %rdi, %rdi
je 0xb14b
callq 0x123fc
movq -0xb8(%rbp), %rdi
testq %rdi, %rdi
je 0xb194
callq 0x123fc
jmp 0xb194
jmp 0xb162
jmp 0xb162
movq %rax, %rdi
callq 0xe032
movq %rax, %r14
movq %rbx, -0x68(%rbp)
movq -0x58(%rbp), %rdi
testq %rdi, %rdi
je 0xb17f
callq 0x123fc
leaq -0x80(%rbp), %rdi
callq 0xa784
leaq -0x468(%rbp), %rdi
callq 0xa966
leaq -0x1c0(%rbp), %rdi
callq 0xabbc
jmp 0xb1a9
movb %r12b, -0x29(%rbp)
movq %rax, %r14
movq -0x40(%rbp), %rax
movb -0x29(%rbp), %cl
movb %cl, 0x288(%rax)
movq %r14, %rdi
callq 0x8420