// File: oknenavin[P]cxon/test/../src/cxon/lang/common/cio/numeric.hxx
// Function: std::enable_if<std::is_integral<int>::value, bool>::type cxon::cio::num::imp::number_read__<cxon::test::input_iterator_traits<cxon::json::format_traits>, int, cxon::test::force_input_iterator<__gnu_cxx::__normal_iterator<char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>>, cxon::context<cxon::JSON<cxon::test::input_iterator_traits<cxon::json::format_traits>>>>(int&, cxon::test::force_input_iterator<__gnu_cxx::__normal_iterator<char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>>&, cxon::test::force_input_iterator<__gnu_cxx::__normal_iterator<char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>>, cxon::context<cxon::JSON<cxon::test::input_iterator_traits<cxon::json::format_traits>>>&)
inline auto number_read__(T& t, II& i, II e, Cx& cx)
                -> enable_if_t<std::is_integral<T>::value, bool>
            {
                constexpr auto base = integer_base::constant<napa_type<Cx>>(10);
                II const o = i;
                    char s[num_len_max::constant<napa_type<Cx>>(32)];
                    switch (number_consume_<X, T>(std::begin(s), std::end(s), i, e, is_digit<X, base>::fun)) {
                        case -1: return rewind(i, o), cx/X::read_error::overflow;
                        case  0: return rewind(i, o), cx/X::read_error::integral_invalid;
                        default: {
                            auto const r = charconv::from_chars(std::begin(s), std::end(s), t, base); CXON_ASSERT(r.ec == std::errc(), "unexpected");
                            return true;
                        }
                    }
            }

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xe0, %rsp
movq %rdx, -0xb8(%rbp)
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq %rdx, -0x20(%rbp)
movq %rcx, -0x28(%rbp)
movl $0xa, -0x2c(%rbp)
movq -0x18(%rbp), %rsi
leaq -0x38(%rbp), %rdi
callq 0x21a220
leaq -0x60(%rbp), %rdi
movq %rdi, -0xc0(%rbp)
callq 0x286a40
movq -0xc0(%rbp), %rdi
movq %rax, -0xb0(%rbp)
callq 0x286a50
movq -0xb8(%rbp), %rsi
movq %rax, -0xa8(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0xa0(%rbp)
leaq -0x68(%rbp), %rdi
movq %rdi, -0x98(%rbp)
callq 0x21a220
movq -0xb0(%rbp), %rdi
movq -0xa8(%rbp), %rsi
movq -0xa0(%rbp), %rdx
movq -0x98(%rbp), %rcx
leaq -0x6e45(%rip), %r8      # 0x27f950
callq 0x286880
movl %eax, %ecx
movl %ecx, -0x8c(%rbp)
subl $-0x1, %eax
je 0x2867b5
jmp 0x2867a9
movl -0x8c(%rbp), %eax
testl %eax, %eax
je 0x2867f2
jmp 0x28682f
movq -0x18(%rbp), %rax
movq %rax, -0xc8(%rbp)
leaq -0x70(%rbp), %rdi
leaq -0x38(%rbp), %rsi
callq 0x21a220
movq -0xc8(%rbp), %rdi
leaq -0x70(%rbp), %rsi
callq 0x21acf0
movq -0x28(%rbp), %rdi
movl $0x8, %esi
callq 0x21a620
andb $0x1, %al
movb %al, -0x1(%rbp)
jmp 0x28686e
movq -0x18(%rbp), %rax
movq %rax, -0xd0(%rbp)
leaq -0x78(%rbp), %rdi
leaq -0x38(%rbp), %rsi
callq 0x21a220
movq -0xd0(%rbp), %rdi
leaq -0x78(%rbp), %rsi
callq 0x21acf0
movq -0x28(%rbp), %rdi
movl $0x3, %esi
callq 0x21a620
andb $0x1, %al
movb %al, -0x1(%rbp)
jmp 0x28686e
leaq -0x60(%rbp), %rdi
callq 0x286a40
movq %rax, -0xd8(%rbp)
leaq -0x60(%rbp), %rdi
callq 0x286a50
movq -0xd8(%rbp), %rdi
movq %rax, %rsi
movq -0x10(%rbp), %rdx
movl $0xa, %ecx
callq 0x3d550
movq %rax, -0x88(%rbp)
movl %edx, -0x80(%rbp)
movb $0x1, -0x1(%rbp)
movb -0x1(%rbp), %al
andb $0x1, %al
addq $0xe0, %rsp
popq %rbp
retq
nopl (%rax)