// File: /workspace/github_cpp_makefile_star2_O1/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, -0x98(%rbp)
movq %rcx, %r13
movq %rdx, -0x90(%rbp)
movq 0x8(%r9), %rbx
testq %rbx, %rbx
movq %rdi, -0x38(%rbp)
movq %rsi, -0x48(%rbp)
movq %r9, -0x40(%rbp)
je 0xbd3b
movq %rdi, %rax
movq %r13, -0x30(%rbp)
movb 0x20(%rbp), %r14b
movq (%r9), %r13
xorl %r15d, %r15d
cmpq %r15, %rsi
je 0xbd1c
movsbl (%rax,%r15), %edi
testb %r14b, %r14b
je 0xbd03
callq 0x9380
movl %eax, %r12d
movsbl (%r13,%r15), %edi
callq 0x9380
cmpl %eax, %r12d
movq -0x48(%rbp), %rsi
movq -0x38(%rbp), %rax
je 0xbd0a
jmp 0xbd1c
cmpb (%r13,%r15), %dil
jne 0xbd1c
incq %r15
cmpq %r15, %rbx
jne 0xbcd2
movq -0x30(%rbp), %r13
movq -0x40(%rbp), %r9
jmp 0xbd3d
movq -0x40(%rbp), %rcx
movq (%rcx), %rdx
movq -0x30(%rbp), %rdi
movq %rax, %rsi
callq 0xb232
movq $-0x1, %r12
jmp 0xc0ac
xorl %ebx, %ebx
cmpq $0x0, 0x108(%r13)
je 0xc046
movq 0x18(%rbp), %r14
movq 0x10(%rbp), %rdi
movb 0x240(%r13), %al
movb 0x288(%r13), %r15b
xorb $0x1, %al
movb %al, 0x288(%r13)
leaq -0x468(%rbp), %rsi
movq %r13, (%rsi)
movq %r9, 0x8(%rsi)
movq %r14, 0x10(%rsi)
callq 0x1381f
cmpb $0x1, (%r14)
jne 0xbf3d
movb %r15b, -0x30(%rbp)
leaq -0x130(%rbp), %rcx
xorps %xmm0, %xmm0
movaps %xmm0, -0x20(%rcx)
movaps %xmm0, -0x30(%rcx)
movaps %xmm0, -0x40(%rcx)
movaps %xmm0, -0x50(%rcx)
movaps %xmm0, -0x60(%rcx)
movaps %xmm0, -0x70(%rcx)
movaps %xmm0, -0x80(%rcx)
movaps %xmm0, -0x90(%rcx)
movq %rcx, -0x10(%rcx)
xorl %eax, %eax
movq %rax, -0x8(%rcx)
movb $0x0, (%rcx)
movq 0x8(%r13), %rdx
movq 0x10(%r13), %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), %r14
movaps %xmm0, (%r14)
movaps %xmm0, 0x10(%r14)
leaq 0x33410(%rip), %rsi     # 0x3f21e
leaq -0x88(%rbp), %r15
movq %rsi, (%r15)
movq %rax, 0x8(%r15)
leaq -0xe0(%rbp), %r12
movaps %xmm0, (%r12)
movaps %xmm0, 0x10(%r12)
subq $0x8, %rsp
leaq -0x468(%rbp), %rdi
xorl %esi, %esi
xorl %r8d, %r8d
pushq %r12
pushq %rax
pushq %r15
pushq %r14
pushq %r11
pushq %rax
pushq %r10
callq 0xb3a6
addq $0x40, %rsp
movq -0xd0(%rbp), %rax
testq %rax, %rax
je 0xbe70
leaq -0xe0(%rbp), %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
movq -0x88(%rbp), %rax
testq %rax, %rax
movb -0x30(%rbp), %r15b
movq -0x38(%rbp), %r14
movq -0x48(%rbp), %r12
je 0xbea3
leaq -0x88(%rbp), %rsi
movl $0x3, %edi
xorl %edx, %edx
callq *%rax
movq $0x0, -0x88(%rbp)
movq -0xf0(%rbp), %rax
testq %rax, %rax
je 0xbec0
leaq -0x100(%rbp), %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
movq -0x110(%rbp), %rax
testq %rax, %rax
je 0xbedd
leaq -0x120(%rbp), %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
movq -0xa8(%rbp), %rdi
testq %rdi, %rdi
je 0xbeee
callq 0x13612
movq -0xb8(%rbp), %rdi
testq %rdi, %rdi
je 0xbeff
callq 0x13612
xorps %xmm0, %xmm0
movaps %xmm0, -0x60(%rbp)
leaq 0x51f5b(%rip), %rax     # 0x5de68
movq %rax, -0x78(%rbp)
movq 0x108(%r13), %rax
movq %rax, -0x70(%rbp)
movq 0x110(%r13), %rax
movq %rax, -0x68(%rbp)
testq %rax, %rax
je 0xbf49
movq 0x5403d(%rip), %rcx     # 0x5ff70
cmpb $0x0, (%rcx)
je 0xbf45
incl 0x8(%rax)
jmp 0xbf49
movb $0x1, %r14b
jmp 0xc03a
lock
incl 0x8(%rax)
leaq (%r14,%rbx), %rsi
movq %r12, %rdx
subq %rbx, %rdx
leaq -0x78(%rbp), %rdi
leaq -0x1c0(%rbp), %rcx
leaq -0x468(%rbp), %r8
leaq -0x60(%rbp), %r9
callq 0xb7ee
movq %rax, %r12
cmpq $-0x1, %rax
setne %r14b
je 0xbf80
addq %r12, %rbx
jmp 0xbf93
movq -0x40(%rbp), %rax
movq (%rax), %rdx
movq %r13, %rdi
movq -0x38(%rbp), %rsi
callq 0xb232
leaq 0x51ece(%rip), %rax     # 0x5de68
movq %rax, -0x78(%rbp)
movq -0x68(%rbp), %rdi
testq %rdi, %rdi
je 0xbfac
callq 0x13612
movq -0x60(%rbp), %rax
testq %rax, %rax
je 0xbfca
leaq -0x60(%rbp), %rsi
movl $0x3, %edi
xorl %edx, %edx
callq *%rax
movq $0x0, -0x60(%rbp)
leaq -0x468(%rbp), %rdi
callq 0xb992
movq -0x140(%rbp), %rdi
leaq -0x130(%rbp), %rax
cmpq %rax, %rdi
je 0xbff8
movq -0x130(%rbp), %rsi
incq %rsi
callq 0x92b0
movq -0x180(%rbp), %rdi
testq %rdi, %rdi
je 0xc013
movq -0x170(%rbp), %rsi
subq %rdi, %rsi
callq 0x92b0
movq -0x198(%rbp), %rdi
testq %rdi, %rdi
je 0xc02e
movq -0x188(%rbp), %rsi
subq %rdi, %rsi
callq 0x92b0
leaq -0x1c0(%rbp), %rdi
callq 0x3da52
movb %r15b, 0x288(%r13)
testb %r14b, %r14b
je 0xc0ac
cmpq $0x0, 0xe8(%r13)
jne 0xc0a9
movq 0xf0(%r13), %rdi
testq %rdi, %rdi
je 0xc0a9
movb 0x240(%r13), %al
movb 0x288(%r13), %r15b
xorb $0x1, %al
movb %al, 0x288(%r13)
movq -0x38(%rbp), %rsi
addq %rbx, %rsi
movq -0x48(%rbp), %rdx
subq %rbx, %rdx
movq -0x90(%rbp), %rcx
movq %r13, %r8
movq -0x98(%rbp), %r9
callq 0xb7ee
addq %rax, %rbx
cmpq $-0x1, %rax
movb %r15b, 0x288(%r13)
cmoveq %rax, %rbx
movq %rbx, %r12
movq %r12, %rax
addq $0x448, %rsp            # imm = 0x448
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
movb %r15b, 0x288(%r13)
jmp 0xc1cf
jmp 0xc177
jmp 0xc177
jmp 0xc177
jmp 0xc177
jmp 0xc177
movq %rax, %r14
movq -0xd0(%rbp), %rax
testq %rax, %rax
je 0xc109
leaq -0xe0(%rbp), %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
leaq -0x88(%rbp), %rdi
callq 0xb7ba
movq -0xf0(%rbp), %rax
testq %rax, %rax
je 0xc132
leaq -0x100(%rbp), %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
movq -0x110(%rbp), %rax
testq %rax, %rax
je 0xc14f
leaq -0x120(%rbp), %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
movq -0xa8(%rbp), %rdi
testq %rdi, %rdi
je 0xc160
callq 0x13612
movq -0xb8(%rbp), %rdi
testq %rdi, %rdi
je 0xc1b0
callq 0x13612
jmp 0xc1b0
jmp 0xc177
jmp 0xc177
movq %rax, %rdi
callq 0xf084
movq %rax, %r14
leaq 0x51cdf(%rip), %rax     # 0x5de68
movq %rax, -0x78(%rbp)
movq -0x68(%rbp), %rdi
testq %rdi, %rdi
je 0xc19b
callq 0x13612
leaq -0x60(%rbp), %rdi
callq 0xb7ba
leaq -0x468(%rbp), %rdi
callq 0xb992
leaq -0x1c0(%rbp), %rdi
callq 0xbbe8
jmp 0xc1c5
movb %r15b, -0x30(%rbp)
movq %rax, %r14
movb -0x30(%rbp), %al
movb %al, 0x288(%r13)
movq %r14, %rdi
callq 0x9420
nop