// File: /workspace/github_cpp_makefile_star2_O2/yhirose[P]fizzbuzzlang/./peglib.h
// Function: peg::Definition::parse_core(char const*, unsigned long, peg::SemanticValues&, std::any&, char const*, std::function<void (unsigned long, unsigned long, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)>) const
Result parse_core(const char *s, size_t n, SemanticValues &vs, std::any &dt,
                    const char *path, Log log) const {
    initialize_definition_ids();

    std::shared_ptr<Ope> ope = holder_;

    std::any trace_data;
    if (tracer_start) { tracer_start(trace_data); }
    auto se = scope_exit([&]() {
      if (tracer_end) { tracer_end(trace_data); }
    });

    Context c(path, s, n, definition_ids_.size(), whitespaceOpe, wordOpe,
              enablePackratParsing, tracer_enter, tracer_leave, trace_data,
              verbose_trace, log);

    size_t i = 0;

    if (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 = whitespaceOpe->parse(s, n, vs, c, dt);
      if (fail(len)) { return Result{false, c.recovered, i, c.error_info}; }

      i = len;
    }

    auto len = ope->parse(s + i, n - i, vs, c, dt);
    auto ret = success(len);
    if (ret) {
      i += len;
      if (eoi_check) {
        if (i < n) {
          if (c.error_info.error_pos - c.s < s + i - c.s) {
            c.error_info.message_pos = s + i;
            c.error_info.message = "expected end of input";
          }
          ret = false;
        }
      }
    }
    return Result{ret, c.recovered, i, c.error_info};
  }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x3a8, %rsp            # imm = 0x3A8
movq %r9, -0x60(%rbp)
movq %r8, -0x58(%rbp)
movq %rcx, -0x38(%rbp)
movq %rdx, -0x70(%rbp)
movq %rsi, %r15
movq %rdi, -0x30(%rbp)
movq %rsi, %rdi
callq 0x2f3c8
leaq 0x1c0(%r15), %rsi
leaq -0xb0(%rbp), %rdi
callq 0x11be2
xorps %xmm0, %xmm0
movaps %xmm0, -0x50(%rbp)
cmpq $0x0, 0x168(%r15)
je 0x2f079
leaq 0x158(%r15), %rdi
leaq -0x50(%rbp), %rsi
callq 0x2f3ea
movq %r15, -0xc8(%rbp)
leaq -0x50(%rbp), %rax
movq %rax, -0xc0(%rbp)
movb $0x1, -0xb8(%rbp)
movq 0x1f8(%r15), %r14
leaq 0xc8(%r15), %rsi
leaq -0xa0(%rbp), %rdi
movq %rsi, -0x68(%rbp)
callq 0x117ce
leaq 0xd8(%r15), %rsi
leaq -0x90(%rbp), %rdi
callq 0x117ce
movb 0xe8(%r15), %r12b
leaq 0x110(%r15), %rsi
leaq -0x108(%rbp), %rdi
callq 0x106d2
leaq 0x130(%r15), %rsi
leaq -0xe8(%rbp), %rdi
callq 0x10720
leaq -0x80(%rbp), %rdi
leaq -0x50(%rbp), %rsi
callq 0x1076e
movq 0x18(%rbp), %rsi
movb 0x150(%r15), %r13b
leaq -0x128(%rbp), %rbx
movq %rbx, %rdi
callq 0xbff0
movq 0x10(%rbp), %rsi
subq $0x8, %rsp
movzbl %r13b, %eax
movzbl %r12b, %r10d
leaq -0x3d0(%rbp), %rdi
leaq -0xa0(%rbp), %r9
movq -0x70(%rbp), %r12
movq %r12, %rdx
movq -0x38(%rbp), %rcx
movq %r14, %r8
pushq %rbx
pushq %rax
leaq -0x80(%rbp), %rax
pushq %rax
leaq -0xe8(%rbp), %rax
pushq %rax
leaq -0x108(%rbp), %rax
pushq %rax
pushq %r10
leaq -0x90(%rbp), %rax
pushq %rax
callq 0xa898
addq $0x40, %rsp
leaq -0x128(%rbp), %rdi
callq 0x3209c
leaq -0x80(%rbp), %rdi
callq 0x1113a
leaq -0xe8(%rbp), %rdi
callq 0x3209c
leaq -0x108(%rbp), %rdi
callq 0x3209c
leaq -0x88(%rbp), %rdi
callq 0x1106c
leaq -0x98(%rbp), %rdi
callq 0x1106c
movq -0x68(%rbp), %rax
movq (%rax), %rdi
testq %rdi, %rdi
je 0x2f206
leaq -0x3d0(%rbp), %r8
movb 0x240(%r8), %al
movb 0x288(%r8), %r14b
xorb $0x1, %al
movb %al, 0x288(%r8)
movq %r12, %rsi
movq -0x38(%rbp), %rdx
movq -0x58(%rbp), %rcx
movq -0x60(%rbp), %r9
callq 0xabc8
movq %rax, %r13
cmpq $-0x1, %rax
je 0x2f2ac
movb %r14b, -0x148(%rbp)
jmp 0x2f209
xorl %r13d, %r13d
movq -0xb0(%rbp), %rdi
leaq (%r12,%r13), %rsi
movq -0x38(%rbp), %rdx
subq %r13, %rdx
leaq -0x3d0(%rbp), %r8
movq -0x58(%rbp), %rcx
movq -0x60(%rbp), %r9
callq 0xabc8
cmpq $-0x1, %rax
je 0x2f288
addq %rax, %r13
movb $0x1, %al
cmpq -0x38(%rbp), %r13
jae 0x2f28a
cmpb $0x0, 0x1b9(%r15)
je 0x2f28a
movq -0x3c8(%rbp), %rax
movq -0x3b8(%rbp), %rcx
subq %rax, %rcx
addq %r13, %r12
movq %r12, %rdx
subq %rax, %rdx
cmpq %rdx, %rcx
movq -0x30(%rbp), %rbx
jge 0x2f284
leaq -0x390(%rbp), %rdi
movq %r12, -0x8(%rdi)
leaq 0xac0b(%rip), %rsi      # 0x39e8a
callq 0x94a0
xorl %eax, %eax
jmp 0x2f28e
xorl %eax, %eax
movq -0x30(%rbp), %rbx
movb %al, (%rbx)
leaq -0x3b8(%rbp), %rsi
movb 0x78(%rsi), %al
movb %al, 0x1(%rbx)
movq %r13, 0x8(%rbx)
leaq 0x10(%rbx), %rdi
callq 0x2f400
jmp 0x2f2d9
movq -0x30(%rbp), %rcx
movb $0x0, (%rcx)
leaq -0x3b8(%rbp), %rsi
movb 0x78(%rsi), %al
movb %al, 0x1(%rcx)
andq $0x0, 0x8(%rcx)
leaq 0x10(%rcx), %rdi
callq 0x2f400
movb %r14b, -0x148(%rbp)
movq -0x30(%rbp), %rbx
leaq -0x3d0(%rbp), %rdi
callq 0xaca8
leaq -0xc8(%rbp), %rdi
callq 0x2f486
leaq -0x50(%rbp), %rdi
callq 0x1113a
leaq -0xa8(%rbp), %rdi
callq 0x1106c
movq %rbx, %rax
addq $0x3a8, %rsp            # imm = 0x3A8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
jmp 0x2f3aa
jmp 0x2f331
movq %rax, %rbx
movb %r14b, -0x148(%rbp)
jmp 0x2f334
movq %rax, %rbx
leaq -0x3d0(%rbp), %rdi
callq 0xaca8
jmp 0x2f39e
movq %rax, %rbx
leaq -0x128(%rbp), %rdi
callq 0x3209c
jmp 0x2f356
movq %rax, %rbx
leaq -0x80(%rbp), %rdi
callq 0x1113a
jmp 0x2f364
movq %rax, %rbx
leaq -0xe8(%rbp), %rdi
callq 0x3209c
jmp 0x2f375
movq %rax, %rbx
leaq -0x108(%rbp), %rdi
callq 0x3209c
jmp 0x2f386
movq %rax, %rbx
leaq -0x88(%rbp), %rdi
callq 0x1106c
leaq -0x98(%rbp), %rdi
callq 0x1106c
leaq -0xc8(%rbp), %rdi
callq 0x2f486
leaq -0x50(%rbp), %rdi
callq 0x1113a
leaq -0xa8(%rbp), %rdi
callq 0x1106c
movq %rbx, %rdi
callq 0x9430
nop