// File: /workspace/github_cpp_makefile_star2_O3/yhirose[P]fizzbuzzlang/./peglib.h
// Function: peg::Dictionary::parse_core(char const*, unsigned long, peg::SemanticValues&, peg::Context&, std::any&) const
inline size_t Dictionary::parse_core(const char *s, size_t n,
                                     SemanticValues &vs, Context &c,
                                     std::any &dt) const {
  size_t id;
  auto i = trie_.match(s, n, id);

  if (i == 0) {
    c.set_error_pos(s);
    return static_cast<size_t>(-1);
  }

  vs.choice_count_ = trie_.size();
  vs.choice_ = id;

  // 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; });

    {
      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);
        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 %r9, %r15
movq %r8, %rbx
movq %rcx, %r12
movq %rsi, %r14
movq %rdi, %r13
addq $0x18, %rdi
leaq -0xa0(%rbp), %rcx
movq %rdx, -0x38(%rbp)
callq 0xa02e
movq %rax, -0x40(%rbp)
testq %rax, %rax
je 0x9da0
movq 0x40(%r13), %rax
movq %rax, 0x70(%r12)
movq -0xa0(%rbp), %rax
movq %rax, 0x78(%r12)
cmpq $0x0, 0x108(%rbx)
movq %r15, -0x88(%rbp)
je 0x9db2
movq %r12, -0x90(%rbp)
movq %r14, -0x98(%rbp)
movb 0x240(%rbx), %al
movb 0x288(%rbx), %cl
movb %cl, -0x29(%rbp)
xorb $0x1, %al
movb %al, 0x288(%rbx)
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(%rbx), %rdx
movq 0x10(%rbx), %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), %r13
movaps %xmm0, (%r13)
movaps %xmm0, 0x10(%r13)
leaq 0x334af(%rip), %rsi     # 0x3d12a
leaq -0x80(%rbp), %r12
movq %rsi, (%r12)
movq %rax, 0x8(%r12)
leaq -0xe0(%rbp), %r15
movaps %xmm0, (%r15)
movaps %xmm0, 0x10(%r15)
subq $0x8, %rsp
leaq -0x468(%rbp), %rdi
xorl %esi, %esi
xorl %r8d, %r8d
pushq %r15
pushq %rax
pushq %r12
pushq %r13
pushq %r11
pushq %rax
pushq %r10
callq 0xa370
addq $0x40, %rsp
movq -0xd0(%rbp), %rax
testq %rax, %rax
movq -0x40(%rbp), %r14
je 0x9cde
leaq -0xe0(%rbp), %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
movq -0x80(%rbp), %rax
testq %rax, %rax
movq -0x98(%rbp), %r15
je 0x9d03
leaq -0x80(%rbp), %rsi
movl $0x3, %edi
xorl %edx, %edx
callq *%rax
movq $0x0, -0x80(%rbp)
movq -0xf0(%rbp), %rax
testq %rax, %rax
je 0x9d20
leaq -0x100(%rbp), %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
movq -0x110(%rbp), %rax
testq %rax, %rax
je 0x9d3d
leaq -0x120(%rbp), %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
movq -0xa8(%rbp), %rdi
testq %rdi, %rdi
je 0x9d4e
callq 0x123fc
movq -0xb8(%rbp), %rdi
testq %rdi, %rdi
je 0x9d5f
callq 0x123fc
xorps %xmm0, %xmm0
movaps %xmm0, -0x70(%rbp)
leaq 0x52133(%rip), %rax     # 0x5bea0
movq %rax, %r12
movq %rax, -0x58(%rbp)
movq 0x108(%rbx), %rax
movq %rax, -0x50(%rbp)
movq 0x110(%rbx), %rax
movq %rax, -0x48(%rbp)
testq %rax, %rax
je 0x9dc2
movq 0x541da(%rip), %rcx     # 0x5df70
cmpb $0x0, (%rcx)
je 0x9dbe
incl 0x8(%rax)
jmp 0x9dc2
movq %rbx, %rdi
movq %r14, %rsi
xorl %edx, %edx
callq 0xa1fe
jmp 0x9f0f
movq %r14, %r15
movq -0x40(%rbp), %r14
jmp 0x9eb1
lock
incl 0x8(%rax)
leaq (%r15,%r14), %rsi
movq -0x38(%rbp), %rdx
subq %r14, %rdx
leaq -0x58(%rbp), %rdi
leaq -0x1c0(%rbp), %rcx
leaq -0x468(%rbp), %r8
leaq -0x70(%rbp), %r9
callq 0xa7b8
movq %rax, %r13
cmpq $-0x1, %rax
je 0x9df6
addq %r13, %r14
jmp 0x9e03
movq %rbx, %rdi
movq %r15, %rsi
xorl %edx, %edx
callq 0xa1fe
movq %r12, -0x58(%rbp)
movq -0x48(%rbp), %rdi
testq %rdi, %rdi
je 0x9e15
callq 0x123fc
movq -0x70(%rbp), %rax
testq %rax, %rax
je 0x9e2b
leaq -0x70(%rbp), %rsi
movl $0x3, %edi
xorl %edx, %edx
callq *%rax
leaq -0x468(%rbp), %rdi
callq 0xa966
movq -0x140(%rbp), %rdi
leaq -0x130(%rbp), %rax
cmpq %rax, %rdi
je 0x9e59
movq -0x130(%rbp), %rsi
incq %rsi
callq 0x82b0
movq -0x180(%rbp), %rdi
testq %rdi, %rdi
je 0x9e74
movq -0x170(%rbp), %rsi
subq %rdi, %rsi
callq 0x82b0
movq -0x198(%rbp), %rdi
testq %rdi, %rdi
je 0x9e8f
movq -0x188(%rbp), %rsi
subq %rdi, %rsi
callq 0x82b0
leaq -0x1c0(%rbp), %rdi
callq 0x3b960
movb -0x29(%rbp), %al
movb %al, 0x288(%rbx)
cmpq $-0x1, %r13
movq -0x90(%rbp), %r12
je 0x9f0f
cmpq $0x0, 0xe8(%rbx)
jne 0x9f16
movq 0xf0(%rbx), %rdi
testq %rdi, %rdi
je 0x9f16
movb 0x240(%rbx), %al
movq %r15, %rsi
movb 0x288(%rbx), %r15b
xorb $0x1, %al
movb %al, 0x288(%rbx)
addq %r14, %rsi
movq -0x38(%rbp), %rdx
subq %r14, %rdx
movq %r12, %rcx
movq %rbx, %r8
movq -0x88(%rbp), %r9
callq 0xa7b8
addq %rax, %r14
cmpq $-0x1, %rax
movb %r15b, 0x288(%rbx)
cmoveq %rax, %r14
jmp 0x9f16
movq $-0x1, %r14
movq %r14, %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(%rbx)
jmp 0xa025
jmp 0x9fde
jmp 0x9fde
jmp 0x9fde
jmp 0x9fde
jmp 0x9fde
movq %rax, %r14
movq -0xd0(%rbp), %rax
testq %rax, %rax
je 0x9f73
leaq -0xe0(%rbp), %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
leaq -0x80(%rbp), %rdi
callq 0xa784
movq -0xf0(%rbp), %rax
testq %rax, %rax
je 0x9f99
leaq -0x100(%rbp), %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
movq -0x110(%rbp), %rax
testq %rax, %rax
je 0x9fb6
leaq -0x120(%rbp), %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
movq -0xa8(%rbp), %rdi
testq %rdi, %rdi
je 0x9fc7
callq 0x123fc
movq -0xb8(%rbp), %rdi
testq %rdi, %rdi
je 0xa010
callq 0x123fc
jmp 0xa010
jmp 0x9fde
jmp 0x9fde
movq %rax, %rdi
callq 0xe032
movq %rax, %r14
movq %r12, -0x58(%rbp)
movq -0x48(%rbp), %rdi
testq %rdi, %rdi
je 0x9ffb
callq 0x123fc
leaq -0x70(%rbp), %rdi
callq 0xa784
leaq -0x468(%rbp), %rdi
callq 0xa966
leaq -0x1c0(%rbp), %rdi
callq 0xabbc
movb -0x29(%rbp), %al
movb %al, 0x288(%rbx)
movq %r14, %rdi
callq 0x8420
nop