// File: /workspace/github_cpp_makefile_star2_O1/yhirose[P]fizzbuzzlang/./peglib.h
// Function: peg::Definition::Result peg::Definition::parse_and_get_value<std::shared_ptr<peg::AstBase<peg::EmptyType>>>(char const*, unsigned long, std::shared_ptr<peg::AstBase<peg::EmptyType>>&, 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_and_get_value(const char *s, size_t n, T &val,
                             const char *path = nullptr,
                             Log log = nullptr) const {
    SemanticValues vs;
    std::any dt;
    auto r = parse_core(s, n, vs, dt, path, log);
    if (r.ret && !vs.empty() && vs.front().has_value()) {
      val = std::any_cast<T>(vs[0]);
    }
    return r;
  }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xf8, %rsp
movq %r9, -0x60(%rbp)
movq %r8, -0x50(%rbp)
movq %rcx, -0x58(%rbp)
movq %rdx, %r13
movq %rsi, %r14
movq %rdi, %r12
movq 0x10(%rbp), %rsi
leaq -0x90(%rbp), %r15
xorps %xmm0, %xmm0
movaps %xmm0, -0x20(%r15)
movaps %xmm0, -0x30(%r15)
movaps %xmm0, -0x40(%r15)
movaps %xmm0, -0x50(%r15)
movaps %xmm0, -0x60(%r15)
movaps %xmm0, -0x70(%r15)
movaps %xmm0, -0x80(%r15)
movaps %xmm0, -0x90(%r15)
movq %r15, -0x10(%r15)
movq $0x0, -0x8(%r15)
movb $0x0, (%r15)
movaps %xmm0, -0x40(%rbp)
leaq -0x80(%rbp), %rbx
movq %rbx, %rdi
callq 0xd1a0
leaq -0x120(%rbp), %r8
leaq -0x40(%rbp), %r9
movq %r12, -0x48(%rbp)
movq %r12, %rdi
movq %r14, %rsi
movq %r13, %rdx
movq -0x58(%rbp), %rcx
pushq %rbx
pushq -0x60(%rbp)
callq 0x3a4be
addq $0x10, %rsp
movq -0x70(%rbp), %rax
testq %rax, %rax
je 0x42068
leaq -0x80(%rbp), %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
movq -0x48(%rbp), %rbx
cmpb $0x1, (%rbx)
jne 0x420cf
movq -0x120(%rbp), %rdi
cmpq -0x118(%rbp), %rdi
je 0x420cf
cmpq $0x0, (%rdi)
je 0x420cf
callq 0x41e80
testq %rax, %rax
je 0x4215f
movq (%rax), %rcx
movq 0x8(%rax), %rax
testq %rax, %rax
je 0x420b6
movq 0x1dec8(%rip), %rdx     # 0x5ff70
cmpb $0x0, (%rdx)
je 0x420b2
incl 0x8(%rax)
jmp 0x420b6
lock
incl 0x8(%rax)
movq -0x50(%rbp), %rdx
movq %rcx, (%rdx)
movq 0x8(%rdx), %rdi
movq %rax, 0x8(%rdx)
testq %rdi, %rdi
je 0x420cf
callq 0x13612
movq -0x40(%rbp), %rax
testq %rax, %rax
je 0x420ed
leaq -0x40(%rbp), %rsi
movl $0x3, %edi
xorl %edx, %edx
callq *%rax
movq $0x0, -0x40(%rbp)
movq -0xa0(%rbp), %rdi
cmpq %r15, %rdi
je 0x42108
movq -0x90(%rbp), %rsi
incq %rsi
callq 0x92b0
movq -0xe0(%rbp), %rdi
testq %rdi, %rdi
je 0x42123
movq -0xd0(%rbp), %rsi
subq %rdi, %rsi
callq 0x92b0
movq -0xf8(%rbp), %rdi
testq %rdi, %rdi
je 0x4213e
movq -0xe8(%rbp), %rsi
subq %rdi, %rsi
callq 0x92b0
leaq -0x120(%rbp), %rdi
callq 0x3da52
movq %rbx, %rax
addq $0xf8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
callq 0x2f195
movq %rax, %r14
movq -0x48(%rbp), %rdi
callq 0x38f62
jmp 0x4219f
jmp 0x42194
jmp 0x42194
jmp 0x42194
movq %rax, %r14
movq -0x70(%rbp), %rax
testq %rax, %rax
je 0x4219f
leaq -0x80(%rbp), %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
jmp 0x4219f
movq %rax, %rdi
callq 0xf084
movq %rax, %r14
leaq -0x40(%rbp), %rdi
callq 0xb7ba
leaq -0x120(%rbp), %rdi
callq 0xbbe8
movq %r14, %rdi
callq 0x9420