// File: /workspace/github_cpp_makefile_star2_O3/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, -0x80(%rbp)
movq %r8, -0x78(%rbp)
movq %rcx, -0x30(%rbp)
movq %rdx, %r15
movq %rsi, %r12
movq %rdi, -0x38(%rbp)
leaq 0x1dc(%rsi), %rdi
leaq -0x3d0(%rbp), %rsi
movq %r12, (%rsi)
callq 0x38b8f
movq 0x1c0(%r12), %rax
movq %rax, -0xc0(%rbp)
movq 0x1c8(%r12), %rcx
testq %rcx, %rcx
je 0x384d3
movq 0x25aab(%rip), %rax     # 0x5df70
cmpb $0x0, (%rax)
je 0x384cf
incl 0x8(%rcx)
jmp 0x384d3
lock
incl 0x8(%rcx)
xorps %xmm0, %xmm0
movaps %xmm0, -0x60(%rbp)
cmpq $0x0, 0x168(%r12)
movq %rcx, -0x40(%rbp)
je 0x384fd
leaq 0x158(%r12), %rdi
leaq -0x60(%rbp), %rsi
callq *0x170(%r12)
movq %r12, -0xb8(%rbp)
leaq -0x60(%rbp), %rax
movq %rax, -0xb0(%rbp)
movb $0x1, -0xa8(%rbp)
movq 0xc8(%r12), %rax
movq 0x1f8(%r12), %rbx
movq %rax, -0xa0(%rbp)
movq 0xd0(%r12), %rax
movq %rax, -0x98(%rbp)
testq %rax, %rax
je 0x38556
movq 0x25a28(%rip), %rcx     # 0x5df70
cmpb $0x0, (%rcx)
je 0x38552
incl 0x8(%rax)
jmp 0x38556
lock
incl 0x8(%rax)
movq 0xd8(%r12), %rax
movq %rax, -0x90(%rbp)
movq 0xe0(%r12), %rax
movq %rax, -0x88(%rbp)
testq %rax, %rax
je 0x3858e
movq 0x259f0(%rip), %rcx     # 0x5df70
cmpb $0x0, (%rcx)
je 0x3858a
incl 0x8(%rax)
jmp 0x3858e
lock
incl 0x8(%rax)
movb 0xe8(%r12), %r14b
leaq 0x110(%r12), %rsi
leaq -0x120(%rbp), %r13
movq %r13, %rdi
callq 0x11c16
leaq 0x130(%r12), %rsi
leaq -0x100(%rbp), %rdi
callq 0x11c7c
movq $0x0, -0x68(%rbp)
movq -0x60(%rbp), %rax
testq %rax, %rax
movq %r15, -0x48(%rbp)
je 0x385f1
leaq -0x70(%rbp), %rcx
leaq -0x128(%rbp), %rdx
movq %rcx, (%rdx)
leaq -0x60(%rbp), %rsi
movl $0x2, %edi
callq *%rax
jmp 0x385f9
movq $0x0, -0x70(%rbp)
movq 0x18(%rbp), %rsi
movb 0x150(%r12), %r15b
leaq -0xe0(%rbp), %rdi
callq 0xc1b6
movq 0x10(%rbp), %rsi
subq $0x8, %rsp
movzbl %r15b, %eax
leaq -0x70(%rbp), %r10
movzbl %r14b, %r11d
leaq -0x90(%rbp), %r15
leaq -0x3d0(%rbp), %rdi
leaq -0xa0(%rbp), %r9
movq -0x48(%rbp), %rdx
movq -0x30(%rbp), %rcx
movq %rbx, %r8
leaq -0xe0(%rbp), %rbx
pushq %rbx
pushq %rax
pushq %r10
leaq -0x100(%rbp), %rax
pushq %rax
pushq %r13
pushq %r11
pushq %r15
callq 0xa370
addq $0x40, %rsp
movq -0xd0(%rbp), %rax
testq %rax, %rax
je 0x38684
leaq -0xe0(%rbp), %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
movq -0x70(%rbp), %rax
testq %rax, %rax
je 0x386a2
leaq -0x70(%rbp), %rsi
movl $0x3, %edi
xorl %edx, %edx
callq *%rax
movq $0x0, -0x70(%rbp)
movq -0xf0(%rbp), %rax
testq %rax, %rax
je 0x386bf
leaq -0x100(%rbp), %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
movq -0x110(%rbp), %rax
testq %rax, %rax
je 0x386dc
leaq -0x120(%rbp), %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
movq -0x88(%rbp), %rdi
testq %rdi, %rdi
je 0x386ed
callq 0x123fc
movq -0x98(%rbp), %rdi
testq %rdi, %rdi
je 0x386fe
callq 0x123fc
movq 0xc8(%r12), %rdi
testq %rdi, %rdi
je 0x38754
leaq -0x3d0(%rbp), %r8
movb 0x240(%r8), %al
movb 0x288(%r8), %r13b
xorb $0x1, %al
movb %al, 0x288(%r8)
movq -0x48(%rbp), %rsi
movq -0x30(%rbp), %rdx
movq -0x78(%rbp), %rcx
movq -0x80(%rbp), %r9
callq 0xa7b8
movq %rax, %r15
cmpq $-0x1, %rax
je 0x3889a
movb %r13b, -0x148(%rbp)
jmp 0x38757
xorl %r15d, %r15d
movq -0x48(%rbp), %rax
leaq (%rax,%r15), %rsi
movq -0x30(%rbp), %rdx
subq %r15, %rdx
leaq -0x3d0(%rbp), %r8
movq -0xc0(%rbp), %rdi
movq -0x78(%rbp), %rcx
movq -0x80(%rbp), %r9
callq 0xa7b8
movq %rax, %rbx
cmpq $-0x1, %rax
je 0x387f4
addq %r15, %rbx
movb $0x1, %r13b
cmpq -0x30(%rbp), %rbx
jae 0x387fa
cmpb $0x0, 0x1b9(%r12)
je 0x387fa
movq -0x3c8(%rbp), %rax
movq -0x3b8(%rbp), %rcx
subq %rax, %rcx
movq -0x48(%rbp), %rsi
addq %rbx, %rsi
movq %rsi, %rdx
subq %rax, %rdx
cmpq %rdx, %rcx
movq -0x38(%rbp), %r14
jge 0x389b8
leaq -0x390(%rbp), %rdi
movq %rsi, -0x8(%rdi)
xorl %r13d, %r13d
movq 0x8(%rdi), %rdx
leaq 0xa6a5(%rip), %rcx      # 0x42e8a
movl $0x15, %r8d
xorl %esi, %esi
callq 0x83b0
jmp 0x387fe
xorl %r13d, %r13d
movq %r15, %rbx
movq -0x38(%rbp), %r14
movb %r13b, (%r14)
leaq -0x3b0(%rbp), %rsi
movb 0x70(%rsi), %al
movb %al, 0x1(%r14)
movq %rbx, 0x8(%r14)
movq -0x8(%rsi), %rax
movq %rax, 0x10(%r14)
leaq 0x18(%r14), %r15
movq %r15, %rdi
callq 0x38d9c
movq -0x398(%rbp), %rax
movq %rax, 0x30(%r14)
leaq 0x38(%r14), %r12
leaq 0x48(%r14), %rbx
movq %rbx, 0x38(%r14)
movq -0x390(%rbp), %rsi
movq -0x388(%rbp), %rdx
addq %rsi, %rdx
movq %r12, %rdi
callq 0x13028
leaq 0x58(%r14), %rdi
leaq 0x68(%r14), %rax
movq %rax, 0x58(%r14)
movq -0x370(%rbp), %rsi
movq -0x368(%rbp), %rdx
addq %rsi, %rdx
movq -0x40(%rbp), %r13
callq 0x13028
movb -0x348(%rbp), %al
movb %al, 0x80(%r14)
movq -0x350(%rbp), %rax
movq %rax, 0x78(%r14)
jmp 0x38943
movq -0x38(%rbp), %rcx
movb $0x0, (%rcx)
leaq -0x3b0(%rbp), %rsi
movb 0x70(%rsi), %al
movb %al, 0x1(%rcx)
movq $0x0, 0x8(%rcx)
movq -0x8(%rsi), %rax
movq %rax, 0x10(%rcx)
leaq 0x18(%rcx), %r15
movq %r15, %rdi
callq 0x38d9c
movq -0x398(%rbp), %rax
movq -0x38(%rbp), %r14
movq %rax, 0x30(%r14)
leaq 0x38(%r14), %r12
leaq 0x48(%r14), %rbx
movq %rbx, 0x38(%r14)
movq -0x390(%rbp), %rsi
movq -0x388(%rbp), %rdx
addq %rsi, %rdx
movq %r12, %rdi
callq 0x13028
leaq 0x58(%r14), %rdi
leaq 0x68(%r14), %rax
movq %rax, 0x58(%r14)
movq -0x370(%rbp), %rsi
movq -0x368(%rbp), %rdx
addq %rsi, %rdx
callq 0x13028
movb -0x348(%rbp), %al
movb %al, 0x80(%r14)
movq -0x350(%rbp), %rax
movq %rax, 0x78(%r14)
movb %r13b, -0x148(%rbp)
movq -0x40(%rbp), %r13
movq %r14, %rbx
leaq -0x3d0(%rbp), %rdi
callq 0xa966
cmpb $0x1, -0xa8(%rbp)
jne 0x38980
movq -0xb8(%rbp), %rax
cmpq $0x0, 0x188(%rax)
je 0x38980
leaq 0x178(%rax), %rdi
movq -0xb0(%rbp), %rsi
callq *0x190(%rax)
movq -0x60(%rbp), %rax
testq %rax, %rax
je 0x38996
leaq -0x60(%rbp), %rsi
movl $0x3, %edi
xorl %edx, %edx
callq *%rax
testq %r13, %r13
je 0x389a3
movq %r13, %rdi
callq 0x123fc
movq %rbx, %rax
addq $0x3a8, %rsp            # imm = 0x3A8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
xorl %r13d, %r13d
jmp 0x387fe
movq %rax, -0x30(%rbp)
movq (%r12), %rdi
cmpq %rbx, %rdi
je 0x389de
movq (%rbx), %rsi
incq %rsi
callq 0x82b0
jmp 0x389de
movq %rax, -0x30(%rbp)
movq (%r15), %rdi
testq %rdi, %rdi
je 0x38a6a
movq -0x38(%rbp), %rax
movq 0x28(%rax), %rsi
subq %rdi, %rsi
callq 0x82b0
jmp 0x38a6a
jmp 0x38afe
jmp 0x38afe
jmp 0x38afe
jmp 0x38afe
jmp 0x38afe
jmp 0x38afe
movq %rax, -0x30(%rbp)
jmp 0x38aba
movq %rax, -0x30(%rbp)
jmp 0x38b38
movq %rax, -0x30(%rbp)
movq (%r12), %rdi
cmpq %rbx, %rdi
je 0x38a4a
movq (%rbx), %rsi
incq %rsi
callq 0x82b0
jmp 0x38a4a
movq %rax, -0x30(%rbp)
movq (%r15), %rdi
testq %rdi, %rdi
je 0x38a77
movq -0x38(%rbp), %rax
movq 0x28(%rax), %rsi
subq %rdi, %rsi
callq 0x82b0
jmp 0x38a77
jmp 0x38a73
movq %rax, -0x30(%rbp)
movb %r13b, -0x148(%rbp)
jmp 0x38a77
movq %rax, -0x30(%rbp)
leaq -0x3d0(%rbp), %rdi
callq 0xa966
jmp 0x38b2c
movq %rax, -0x30(%rbp)
movq -0xd0(%rbp), %rax
testq %rax, %rax
je 0x38ab1
leaq -0xe0(%rbp), %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
jmp 0x38ab1
jmp 0x38afe
movq %rax, -0x30(%rbp)
leaq -0x70(%rbp), %rdi
callq 0xa784
movq -0xf0(%rbp), %rax
testq %rax, %rax
je 0x38adf
leaq -0x100(%rbp), %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
jmp 0x38adf
jmp 0x38afe
movq %rax, -0x30(%rbp)
movq -0x110(%rbp), %rax
testq %rax, %rax
je 0x38b0a
leaq -0x120(%rbp), %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
jmp 0x38b0a
movq %rax, %rdi
callq 0xe032
movq %rax, -0x30(%rbp)
movq -0x88(%rbp), %rdi
testq %rdi, %rdi
je 0x38b1b
callq 0x123fc
movq -0x98(%rbp), %rdi
testq %rdi, %rdi
je 0x38b2c
callq 0x123fc
leaq -0xb8(%rbp), %rdi
callq 0x38b5a
leaq -0x60(%rbp), %rdi
callq 0xa784
cmpq $0x0, -0x40(%rbp)
je 0x38b51
movq -0x40(%rbp), %rdi
callq 0x123fc
movq -0x30(%rbp), %rdi
callq 0x8420