// File: /workspace/github_cpp_makefile_star2_O1/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 $0x3b8, %rsp            # imm = 0x3B8
movq %r9, -0x88(%rbp)
movq %r8, -0x80(%rbp)
movq %rcx, -0x48(%rbp)
movq %rdx, %r15
movq %rsi, %r12
movq %rdi, -0x38(%rbp)
leaq 0x1dc(%rsi), %rdi
leaq -0x3e0(%rbp), %rsi
movq %r12, (%rsi)
callq 0x3ac0f
movq 0x1c0(%r12), %rbx
movq 0x1c8(%r12), %rax
movq %rax, -0x40(%rbp)
testq %rax, %rax
je 0x3a537
movq 0x25a4f(%rip), %rax     # 0x5ff70
cmpb $0x0, (%rax)
je 0x3a52f
movq -0x40(%rbp), %rax
incl 0x8(%rax)
jmp 0x3a537
movq -0x40(%rbp), %rax
lock
incl 0x8(%rax)
xorps %xmm0, %xmm0
movaps %xmm0, -0x60(%rbp)
cmpq $0x0, 0x168(%r12)
je 0x3a55d
leaq 0x158(%r12), %rdi
leaq -0x60(%rbp), %rsi
callq *0x170(%r12)
movq %r12, -0xc0(%rbp)
leaq -0x60(%rbp), %rax
movq %rax, -0xb8(%rbp)
movb $0x1, -0xb0(%rbp)
movq 0xc8(%r12), %rax
movq 0x1f8(%r12), %r13
movq %rax, -0xa8(%rbp)
movq 0xd0(%r12), %rax
movq %rax, -0xa0(%rbp)
testq %rax, %rax
je 0x3a5b6
movq 0x259c8(%rip), %rcx     # 0x5ff70
cmpb $0x0, (%rcx)
je 0x3a5b2
incl 0x8(%rax)
jmp 0x3a5b6
lock
incl 0x8(%rax)
movq 0xd8(%r12), %rax
movq %rax, -0x98(%rbp)
movq 0xe0(%r12), %rax
movq %rax, -0x90(%rbp)
testq %rax, %rax
je 0x3a5ee
movq 0x25990(%rip), %rcx     # 0x5ff70
cmpb $0x0, (%rcx)
je 0x3a5ea
incl 0x8(%rax)
jmp 0x3a5ee
lock
incl 0x8(%rax)
movq %rbx, -0xd0(%rbp)
movb 0xe8(%r12), %r14b
leaq 0x110(%r12), %rsi
leaq -0x110(%rbp), %rdi
callq 0x12e36
leaq 0x130(%r12), %rsi
leaq -0xf0(%rbp), %rdi
callq 0x12e9c
movq $0x0, -0x70(%rbp)
movq -0x60(%rbp), %rax
testq %rax, %rax
movq %r15, -0x68(%rbp)
je 0x3a658
leaq -0x78(%rbp), %rcx
leaq -0x138(%rbp), %rdx
movq %rcx, (%rdx)
leaq -0x60(%rbp), %rsi
movl $0x2, %edi
callq *%rax
movq %r13, %rbx
jmp 0x3a663
movq %r13, %rbx
movq $0x0, -0x78(%rbp)
movq 0x18(%rbp), %rsi
movb 0x150(%r12), %r15b
leaq -0x130(%rbp), %r13
movq %r13, %rdi
callq 0xd1a0
movq 0x10(%rbp), %rsi
subq $0x8, %rsp
movzbl %r15b, %eax
leaq -0x78(%rbp), %r10
movzbl %r14b, %r11d
leaq -0x98(%rbp), %r14
leaq -0x3e0(%rbp), %rdi
leaq -0xa8(%rbp), %r9
movq -0x68(%rbp), %rdx
movq %rdx, %r15
movq -0x48(%rbp), %rcx
movq %rbx, %r8
pushq %r13
pushq %rax
pushq %r10
leaq -0xf0(%rbp), %rax
pushq %rax
leaq -0x110(%rbp), %rax
pushq %rax
pushq %r11
pushq %r14
callq 0xb3a6
addq $0x40, %rsp
movq -0x120(%rbp), %rax
testq %rax, %rax
je 0x3a6f4
leaq -0x130(%rbp), %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
movq -0x78(%rbp), %rax
testq %rax, %rax
je 0x3a712
leaq -0x78(%rbp), %rsi
movl $0x3, %edi
xorl %edx, %edx
callq *%rax
movq $0x0, -0x78(%rbp)
movq -0xe0(%rbp), %rax
testq %rax, %rax
je 0x3a72f
leaq -0xf0(%rbp), %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
movq -0x100(%rbp), %rax
testq %rax, %rax
je 0x3a74c
leaq -0x110(%rbp), %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
movq -0x90(%rbp), %rdi
testq %rdi, %rdi
je 0x3a75d
callq 0x13612
movq -0xa0(%rbp), %rdi
testq %rdi, %rdi
je 0x3a76e
callq 0x13612
movq 0xc8(%r12), %rdi
testq %rdi, %rdi
je 0x3a883
leaq -0x3e0(%rbp), %r8
movb 0x240(%r8), %al
movb 0x288(%r8), %cl
movb %cl, -0x29(%rbp)
xorb $0x1, %al
movb %al, 0x288(%r8)
movq %r15, %rsi
movq -0x48(%rbp), %rdx
movq -0x80(%rbp), %rcx
movq -0x88(%rbp), %r9
callq 0xb7ee
movq %rax, %r13
movq %rax, %rbx
cmpq $-0x1, %rax
jne 0x3a86f
movq -0x38(%rbp), %rcx
movb $0x0, (%rcx)
leaq -0x3c0(%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), %rdi
movq %rdi, -0xc8(%rbp)
callq 0x3ae1c
movq -0x3a8(%rbp), %rax
movq -0x38(%rbp), %r14
movq %rax, 0x30(%r14)
leaq 0x38(%r14), %r15
leaq 0x48(%r14), %rbx
movq %rbx, 0x38(%r14)
movq -0x3a0(%rbp), %rsi
movq -0x398(%rbp), %rdx
addq %rsi, %rdx
movq %r15, %rdi
callq 0x14292
leaq 0x58(%r14), %rdi
leaq 0x68(%r14), %rax
movq %rax, 0x58(%r14)
movq -0x380(%rbp), %rsi
movq -0x378(%rbp), %rdx
addq %rsi, %rdx
callq 0x14292
movb -0x358(%rbp), %al
movb %al, 0x80(%r14)
movq -0x360(%rbp), %rax
movq %rax, 0x78(%r14)
xorl %ebx, %ebx
movq -0x68(%rbp), %r15
movb -0x29(%rbp), %al
movb %al, -0x158(%rbp)
cmpq $-0x1, %r13
jne 0x3a885
jmp 0x3a9c1
xorl %ebx, %ebx
leaq (%r15,%rbx), %rsi
movq -0x48(%rbp), %rdx
subq %rbx, %rdx
leaq -0x3e0(%rbp), %r8
movq -0xd0(%rbp), %rdi
movq -0x80(%rbp), %rcx
movq -0x88(%rbp), %r9
callq 0xb7ee
movq %rax, %r13
cmpq $-0x1, %rax
setne %r15b
je 0x3a925
addq %rbx, %r13
movb $0x1, %r15b
cmpq -0x48(%rbp), %r13
jae 0x3a928
cmpb $0x0, 0x1b9(%r12)
je 0x3a928
movq -0x3d8(%rbp), %rax
movq -0x3c8(%rbp), %rcx
subq %rax, %rcx
movq -0x68(%rbp), %rsi
addq %r13, %rsi
movq %rsi, %rdx
subq %rax, %rdx
cmpq %rdx, %rcx
movq -0x38(%rbp), %rbx
jge 0x3aa40
leaq -0x3a0(%rbp), %rdi
movq %rsi, -0x8(%rdi)
xorl %r15d, %r15d
movq 0x8(%rdi), %rdx
leaq 0xa574(%rip), %rcx      # 0x44e8a
movl $0x15, %r8d
xorl %esi, %esi
callq 0x93b0
jmp 0x3a92c
movq %rbx, %r13
movq -0x38(%rbp), %rbx
movb %r15b, (%rbx)
leaq -0x3c0(%rbp), %rsi
movb 0x70(%rsi), %al
movb %al, 0x1(%rbx)
movq %r13, 0x8(%rbx)
movq -0x8(%rsi), %rax
movq %rax, 0x10(%rbx)
leaq 0x18(%rbx), %r15
movq %r15, %rdi
callq 0x3ae1c
movq -0x3a8(%rbp), %rax
movq %rax, 0x30(%rbx)
movq %rbx, %r14
leaq 0x38(%rbx), %r12
addq $0x48, %rbx
movq %rbx, 0x38(%r14)
movq -0x3a0(%rbp), %rsi
movq -0x398(%rbp), %rdx
addq %rsi, %rdx
movq %r12, %rdi
callq 0x14292
leaq 0x58(%r14), %rdi
leaq 0x68(%r14), %rax
movq %rax, 0x58(%r14)
movq -0x380(%rbp), %rsi
movq -0x378(%rbp), %rdx
addq %rsi, %rdx
callq 0x14292
movb -0x358(%rbp), %al
movb %al, 0x80(%r14)
movq -0x360(%rbp), %rax
movq %rax, 0x78(%r14)
leaq -0x3e0(%rbp), %rdi
callq 0xb992
cmpb $0x1, -0xb0(%rbp)
jne 0x3a9fb
movq -0xc0(%rbp), %rax
cmpq $0x0, 0x188(%rax)
je 0x3a9fb
leaq 0x178(%rax), %rdi
movq -0xb8(%rbp), %rsi
callq *0x190(%rax)
movq -0x60(%rbp), %rax
testq %rax, %rax
movq -0x38(%rbp), %rbx
je 0x3aa1d
leaq -0x60(%rbp), %rsi
movl $0x3, %edi
xorl %edx, %edx
callq *%rax
movq $0x0, -0x60(%rbp)
movq -0x40(%rbp), %rdi
testq %rdi, %rdi
je 0x3aa2b
callq 0x13612
movq %rbx, %rax
addq $0x3b8, %rsp            # imm = 0x3B8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
xorl %r15d, %r15d
jmp 0x3a92c
movq %rax, %r13
movq (%r15), %rdi
cmpq %rbx, %rdi
je 0x3aa63
movq (%rbx), %rsi
incq %rsi
callq 0x92b0
jmp 0x3aa63
movq %rax, %r13
movq -0xc8(%rbp), %rax
movq (%rax), %rdi
testq %rdi, %rdi
je 0x3aaed
movq -0x38(%rbp), %rax
movq 0x28(%rax), %rsi
subq %rdi, %rsi
callq 0x92b0
jmp 0x3aaed
jmp 0x3ab7f
jmp 0x3ab7f
jmp 0x3ab7f
jmp 0x3ab7f
jmp 0x3ab7f
jmp 0x3ab7f
movq %rax, %r13
jmp 0x3ab3c
movq %rax, %r13
jmp 0x3abb8
movq %rax, %r13
movq (%r12), %rdi
cmpq %rbx, %rdi
je 0x3aace
movq (%rbx), %rsi
incq %rsi
callq 0x92b0
jmp 0x3aace
movq %rax, %r13
movq (%r15), %rdi
testq %rdi, %rdi
je 0x3aafb
movq -0x38(%rbp), %rax
movq 0x28(%rax), %rsi
subq %rdi, %rsi
callq 0x92b0
jmp 0x3aafb
jmp 0x3aaf8
movq %rax, %r13
movb -0x29(%rbp), %al
movb %al, -0x158(%rbp)
jmp 0x3aafb
movq %rax, %r13
leaq -0x3e0(%rbp), %rdi
callq 0xb992
jmp 0x3abac
movq %rax, %r13
movq -0x120(%rbp), %rax
testq %rax, %rax
je 0x3ab33
leaq -0x130(%rbp), %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
jmp 0x3ab33
jmp 0x3ab7f
movq %rax, %r13
leaq -0x78(%rbp), %rdi
callq 0xb7ba
movq -0xe0(%rbp), %rax
testq %rax, %rax
je 0x3ab60
leaq -0xf0(%rbp), %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
jmp 0x3ab60
jmp 0x3ab7f
movq %rax, %r13
movq -0x100(%rbp), %rax
testq %rax, %rax
je 0x3ab8a
leaq -0x110(%rbp), %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
jmp 0x3ab8a
movq %rax, %rdi
callq 0xf084
movq %rax, %r13
movq -0x90(%rbp), %rdi
testq %rdi, %rdi
je 0x3ab9b
callq 0x13612
movq -0xa0(%rbp), %rdi
testq %rdi, %rdi
je 0x3abac
callq 0x13612
leaq -0xc0(%rbp), %rdi
callq 0x3abda
leaq -0x60(%rbp), %rdi
callq 0xb7ba
cmpq $0x0, -0x40(%rbp)
je 0x3abd1
movq -0x40(%rbp), %rdi
callq 0x13612
movq %r13, %rdi
callq 0x9420
nop