// File: oknenavin[P]cxon/test/../src/cxon/lang/common/cio/class.hxx
// Function: std::enable_if<is_bare_class<test::config>::value, bool>::type cxon::cio::cls::imp::read_fields_<cxon::JSON<cxon::cio::key::simple_traits<cxon::cxcf::format_traits>>, test::config, cxon::cio::cls::field<std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, test::fixture, std::less<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, test::fixture>>> test::config::*>, cxon::cio::cls::field<std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, test::fixture, std::less<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, test::fixture>>> test::config::*>, char const*, cxon::context<cxon::JSON<cxon::cxcf::format_traits>>>(test::config&, std::tuple<cxon::cio::cls::field<std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, test::fixture, std::less<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, test::fixture>>> test::config::*>, cxon::cio::cls::field<std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, test::fixture, std::less<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, test::fixture>>> test::config::*>> const&, char const*&, char const*, cxon::context<cxon::JSON<cxon::cxcf::format_traits>>&)
inline auto read_fields_(T& t, const fields<Fs...>& fs, II& i, II e, Cx& cx)
                -> enable_if_t< is_bare_class<T>::value, bool>
            {
                if (!consume<X>(i, e, cx)) return false;
                    if (i == e) return true;
                int st[sizeof...(Fs)];
                    CXON_IF_CONSTEXPR (X::assume_unique_object_keys)
                        std::fill_n(st, sizeof...(Fs), 0);
                for (char id[ids_len_max::constant<napa_type<Cx>>(64)]; i != e && *i; ) {
                    II const o = i;
                        if (!read_map_key<X>(id, i, e, cx))
                            return false;
                        if (!read_field_<X>(t, id, fs, st, i, e, cx))
                            return cx && (rewind(i, o), cx/X::read_error::unexpected);
                        if (!consume<X>(i, e, cx))
                            return false;
                }
                return true;
            }

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xa0, %rsp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq %rdx, -0x20(%rbp)
movq %rcx, -0x28(%rbp)
movq %r8, -0x30(%rbp)
movq -0x20(%rbp), %rdi
movq -0x28(%rbp), %rsi
movq -0x30(%rbp), %rdx
callq 0x11ec0
testb $0x1, %al
jne 0x11d7d
movb $0x0, -0x1(%rbp)
jmp 0x11eab
movq -0x20(%rbp), %rax
movq (%rax), %rax
cmpq -0x28(%rbp), %rax
jne 0x11d93
movb $0x1, -0x1(%rbp)
jmp 0x11eab
leaq -0x38(%rbp), %rdi
movl $0x0, -0x3c(%rbp)
movl $0x2, %esi
leaq -0x3c(%rbp), %rdx
callq 0x11f10
movq -0x20(%rbp), %rax
movq (%rax), %rcx
xorl %eax, %eax
cmpq -0x28(%rbp), %rcx
movb %al, -0x89(%rbp)
je 0x11dd4
movq -0x20(%rbp), %rax
movq (%rax), %rax
cmpb $0x0, (%rax)
setne %al
movb %al, -0x89(%rbp)
movb -0x89(%rbp), %al
testb $0x1, %al
jne 0x11de3
jmp 0x11ea7
movq -0x20(%rbp), %rax
movq (%rax), %rax
movq %rax, -0x88(%rbp)
movq -0x20(%rbp), %rsi
movq -0x28(%rbp), %rdx
movq -0x30(%rbp), %rcx
leaq -0x80(%rbp), %rdi
callq 0x11f70
testb $0x1, %al
jne 0x11e13
movb $0x0, -0x1(%rbp)
jmp 0x11eab
movq -0x10(%rbp), %rdi
leaq -0x80(%rbp), %rsi
movq -0x18(%rbp), %rdx
movq -0x20(%rbp), %r8
movq -0x28(%rbp), %r9
movq -0x30(%rbp), %rax
leaq -0x38(%rbp), %rcx
movq %rax, (%rsp)
callq 0x11fd0
testb $0x1, %al
jne 0x11e87
movq -0x30(%rbp), %rdi
callq 0x12030
movb %al, %cl
xorl %eax, %eax
testb $0x1, %cl
movb %al, -0x8a(%rbp)
jne 0x11e56
jmp 0x11e7a
movq -0x20(%rbp), %rdi
movq -0x88(%rbp), %rsi
callq 0x12050
movq -0x30(%rbp), %rdi
movl $0x1, %esi
callq 0x12080
movb %al, -0x8a(%rbp)
movb -0x8a(%rbp), %al
andb $0x1, %al
movb %al, -0x1(%rbp)
jmp 0x11eab
movq -0x20(%rbp), %rdi
movq -0x28(%rbp), %rsi
movq -0x30(%rbp), %rdx
callq 0x11ec0
testb $0x1, %al
jne 0x11ea2
movb $0x0, -0x1(%rbp)
jmp 0x11eab
jmp 0x11dac
movb $0x1, -0x1(%rbp)
movb -0x1(%rbp), %al
andb $0x1, %al
addq $0xa0, %rsp
popq %rbp
retq
nopl (%rax)