// File: ushitora-anqou[P]femtoyaml/./femtoyaml.hpp
// Function: auto femtoyaml::value::visit<femtoyaml::detail::serializer::do_serialize(femtoyaml::value const&, int)::'lambda'(int), femtoyaml::detail::serializer::do_serialize(femtoyaml::value const&, int)::'lambda'(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&), femtoyaml::detail::serializer::do_serialize(femtoyaml::value const&, int)::'lambda'(std::vector<femtoyaml::value, std::allocator<femtoyaml::value>> const&), femtoyaml::detail::serializer::do_serialize(femtoyaml::value const&, int)::'lambda'(std::unordered_map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, femtoyaml::value, std::hash<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>, std::equal_to<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const, femtoyaml::value>>> const&)>(femtoyaml::detail::serializer::do_serialize(femtoyaml::value const&, int)::'lambda'(int)&&, femtoyaml::detail::serializer::do_serialize(femtoyaml::value const&, int)::'lambda'(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)&&, femtoyaml::detail::serializer::do_serialize(femtoyaml::value const&, int)::'lambda'(std::vector<femtoyaml::value, std::allocator<femtoyaml::value>> const&)&&, femtoyaml::detail::serializer::do_serialize(femtoyaml::value const&, int)::'lambda'(std::unordered_map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, femtoyaml::value, std::hash<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>, std::equal_to<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const, femtoyaml::value>>> const&)&&) const
auto visit(Visitors&&... visitors) const
    {
        auto callback = overloaded{visitors...};
        return match_with(
            val_,
            [&](const std::shared_ptr<list>& ptr) { return callback(*ptr); },
            [&](const std::shared_ptr<map>& ptr) { return callback(*ptr); },
            [&](int val) { return callback(val); },
            [&](const std::string& str) { return callback(str); });
    }

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x90, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq %rcx, -0x20(%rbp)
movq %r8, -0x28(%rbp)
movq -0x8(%rbp), %rdi
movq -0x10(%rbp), %rax
movq (%rax), %rcx
movq %rcx, -0x68(%rbp)
movq 0x8(%rax), %rax
movq %rax, -0x60(%rbp)
movq -0x18(%rbp), %rax
movq (%rax), %rcx
movq %rcx, -0x58(%rbp)
movq 0x8(%rax), %rax
movq %rax, -0x50(%rbp)
movq -0x20(%rbp), %rax
movq (%rax), %rcx
movq %rcx, -0x48(%rbp)
movq 0x8(%rax), %rax
movq %rax, -0x40(%rbp)
movq -0x28(%rbp), %rax
movq (%rax), %rcx
movq %rcx, -0x38(%rbp)
movq 0x8(%rax), %rax
movq %rax, -0x30(%rbp)
leaq -0x68(%rbp), %rax
movq %rax, -0x70(%rbp)
leaq -0x68(%rbp), %rax
movq %rax, -0x78(%rbp)
leaq -0x68(%rbp), %rax
movq %rax, -0x80(%rbp)
leaq -0x68(%rbp), %rax
movq %rax, -0x88(%rbp)
leaq -0x70(%rbp), %rsi
leaq -0x78(%rbp), %rdx
leaq -0x80(%rbp), %rcx
leaq -0x88(%rbp), %r8
callq 0x5d80
addq $0x90, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
nopl (%rax)