// File: /workspace/github_cpp_makefile_star2_O3/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, -0x58(%rbp)
movq %r8, -0x48(%rbp)
movq %rcx, -0x50(%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 -0x78(%rbp), %rbx
movq %rbx, %rdi
callq 0xc1b6
leaq -0x120(%rbp), %r8
leaq -0x40(%rbp), %r9
movq %r12, -0x30(%rbp)
movq %r12, %rdi
movq %r14, %rsi
movq %r13, %rdx
movq -0x50(%rbp), %rcx
pushq %rbx
pushq -0x58(%rbp)
callq 0x38462
addq $0x10, %rsp
movq -0x68(%rbp), %rax
testq %rax, %rax
je 0x3ff20
leaq -0x78(%rbp), %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
movq -0x30(%rbp), %rbx
cmpb $0x1, (%rbx)
jne 0x3ff87
movq -0x120(%rbp), %rdi
cmpq -0x118(%rbp), %rdi
je 0x3ff87
cmpq $0x0, (%rdi)
je 0x3ff87
callq 0x3fd38
testq %rax, %rax
je 0x4000f
movq (%rax), %rcx
movq 0x8(%rax), %rax
testq %rax, %rax
je 0x3ff6e
movq 0x1e010(%rip), %rdx     # 0x5df70
cmpb $0x0, (%rdx)
je 0x3ff6a
incl 0x8(%rax)
jmp 0x3ff6e
lock
incl 0x8(%rax)
movq -0x48(%rbp), %rdx
movq %rcx, (%rdx)
movq 0x8(%rdx), %rdi
movq %rax, 0x8(%rdx)
testq %rdi, %rdi
je 0x3ff87
callq 0x123fc
movq -0x40(%rbp), %rax
testq %rax, %rax
je 0x3ff9d
leaq -0x40(%rbp), %rsi
movl $0x3, %edi
xorl %edx, %edx
callq *%rax
movq -0xa0(%rbp), %rdi
cmpq %r15, %rdi
je 0x3ffb8
movq -0x90(%rbp), %rsi
incq %rsi
callq 0x82b0
movq -0xe0(%rbp), %rdi
testq %rdi, %rdi
je 0x3ffd3
movq -0xd0(%rbp), %rsi
subq %rdi, %rsi
callq 0x82b0
movq -0xf8(%rbp), %rdi
testq %rdi, %rdi
je 0x3ffee
movq -0xe8(%rbp), %rsi
subq %rdi, %rsi
callq 0x82b0
leaq -0x120(%rbp), %rdi
callq 0x3b960
movq %rbx, %rax
addq $0xf8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
callq 0x2d5bc
movq %rax, %r14
movq -0x30(%rbp), %rdi
callq 0x36f2a
jmp 0x4004f
jmp 0x40044
jmp 0x40044
jmp 0x40044
movq %rax, %r14
movq -0x68(%rbp), %rax
testq %rax, %rax
je 0x4004f
leaq -0x78(%rbp), %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
jmp 0x4004f
movq %rax, %rdi
callq 0xe032
movq %rax, %r14
leaq -0x40(%rbp), %rdi
callq 0xa784
leaq -0x120(%rbp), %rdi
callq 0xabbc
movq %r14, %rdi
callq 0x8420