// File: /workspace/github_cpp_makefile_star2_O2/oknenavin[P]cxon/test/../src/cxon/lang/common/cio/numeric.hxx
// Function: std::enable_if<std::is_floating_point<double>::value, int>::type cxon::cio::num::imp::number_consume_<cxon::json::format_traits, double, std::istreambuf_iterator<char, std::char_traits<char>>>(char*, char const*, std::istreambuf_iterator<char, std::char_traits<char>>&, std::istreambuf_iterator<char, std::char_traits<char>>)
inline auto number_consume_(char* f, const char* l, II& i, II e)
                -> enable_if_t<std::is_floating_point<T>::value, int>
            {   // as in RFC7159 (except nans)
                CXON_ASSERT(f && f < l, "unexpected");
                char c = peek(i, e);
#                   if defined(__GNUC__) && __GNUC__ == 14 && !defined(__clang__)
#                       pragma GCC diagnostic push
#                       pragma GCC diagnostic ignored "-Warray-bounds"
#                       pragma GCC diagnostic ignored "-Wstringop-overflow"
#                   endif
                        CXON_IF_CONSTEXPR(!X::allow_javascript_nans) {
                            if (c == '"') {
                                ;                               CXON_READ()
                                if (is_sign_<T>(c))             CXON_NEXT()
                                if (c == 'i') {
                                    CXON_NEXT() if (c != 'n')   return 0;
                                    CXON_NEXT() if (c != 'f')   return 0;
                                }
                                else if (c == 'n') {
                                    CXON_NEXT() if (c != 'a')   return 0;
                                    CXON_NEXT() if (c != 'n')   return 0;
                                }
                                else                            return 0;
                                CXON_NEXT() if (c != '"')       return 0;
                                CXON_NEXT()                     goto trap_end;
                            }
                        }
                        if (is_sign_<T>(c))                     CXON_READ()
                        CXON_IF_CONSTEXPR( X::allow_javascript_nans) {
                            if (c == 'I') {
                                CXON_NEXT() if (c != 'n')       return 0;
                                CXON_NEXT() if (c != 'f')       return 0;
                                CXON_NEXT() if (c != 'i')       return 0;
                                CXON_NEXT() if (c != 'n')       return 0;
                                CXON_NEXT() if (c != 'i')       return 0;
                                CXON_NEXT() if (c != 't')       return 0;
                                CXON_NEXT() if (c != 'y')       return 0;
                                CXON_NEXT()                     goto trap_end;
                            }
                            if (c == 'N') {
                                CXON_NEXT() if (c != 'a')       return 0;
                                CXON_NEXT() if (c != 'N')       return 0;
                                CXON_NEXT()                     goto trap_end;
                            }
                        }
#                   if defined(__GNUC__) && __GNUC__ == 14 && !defined(__clang__)
#                       pragma GCC diagnostic pop
#                   endif
                    if (c == '0')                           goto trap_zero;
                //trap_whole:
                       if (!chr::is<X>::digit10(c))         return 0;
                    while ( chr::is<X>::digit10(c))         CXON_NEXT()
                    if (c == '.')                           goto trap_fraction;
                    if (c == 'e' || c == 'E')               goto trap_exponent;
                    ;                                       goto trap_end;
                trap_zero:
                    ;                                       CXON_NEXT()
                    if (c == '.')                           goto trap_fraction;
                    if (c == 'e' || c == 'E')               goto trap_exponent;
                    ;                                       goto trap_end;
                trap_fraction:
                    ;                                       CXON_NEXT()
                       if (!chr::is<X>::digit10(c))         return 0;
                    while ( chr::is<X>::digit10(c))         CXON_NEXT()
                    if (c == 'e' || c == 'E')               goto trap_exponent;
                    ;                                       goto trap_end;
                trap_exponent:
                    ;                                       CXON_NEXT()
                    if (c == '-' || c == '+')               CXON_NEXT()
                       if (!chr::is<X>::digit10(c))         return 0;
                    while ( chr::is<X>::digit10(c))         CXON_NEXT()
                    ;                                       goto trap_end;
                trap_end:
                    return f != l ? (*f = '\0', 1) : -1;
            }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %r8d, %ebp
movq %rcx, %r14
movq %rdx, %r15
movq %rsi, %rbx
movq %rdi, %r12
movq (%rdx), %rdi
movl 0x8(%rdx), %esi
movq %rcx, %rdx
movl %r8d, %ecx
callq 0xbac3
pushq $-0x1
popq %r13
cmpb $0x2d, %al
je 0xf211
movzbl %al, %ecx
cmpl $0x22, %ecx
jne 0xf226
movb $0x22, (%r12)
movq %r15, %rdi
movq %r14, %rsi
movl %ebp, %edx
callq 0xc624
leaq 0x1(%r12), %rcx
cmpb $0x2d, %al
jne 0xf1a9
cmpq %rbx, %rcx
je 0xf41d
movb $0x2d, 0x1(%r12)
movq %r15, %rdi
movq %r14, %rsi
movl %ebp, %edx
callq 0xc624
addq $0x2, %r12
movq %r12, %rcx
xorl %r13d, %r13d
cmpb $0x6e, %al
je 0xf385
movzbl %al, %eax
cmpl $0x69, %eax
jne 0xf41d
cmpq %rbx, %rcx
je 0xf404
movb $0x69, (%rcx)
movq %r15, %rdi
movq %r14, %rsi
movq %rcx, %r12
movl %ebp, %edx
callq 0xc624
cmpb $0x6e, %al
jne 0xf41d
leaq 0x1(%r12), %rax
cmpq %rbx, %rax
je 0xf404
movb $0x6e, (%rax)
movq %r15, %rdi
movq %r14, %rsi
movl %ebp, %edx
callq 0xc624
movb $0x66, %cl
cmpb $0x66, %al
je 0xf3c1
jmp 0xf41d
movb $0x2d, (%r12)
movq %r15, %rdi
movq %r14, %rsi
movl %ebp, %edx
callq 0xc624
incq %r12
cmpb $0x30, %al
jne 0xf2a8
cmpq %rbx, %r12
je 0xf41d
movb $0x30, (%r12)
movq %r15, %rdi
movq %r14, %rsi
movl %ebp, %edx
callq 0xc624
incq %r12
cmpb $0x2e, %al
jne 0xf2e5
cmpq %rbx, %r12
je 0xf41d
movb $0x2e, (%r12)
movq %r15, %rdi
movq %r14, %rsi
movl %ebp, %edx
callq 0xc624
movzbl %al, %ecx
addq $-0x30, %rcx
cmpq $0x9, %rcx
ja 0xf37d
incq %r12
movzbl %al, %ecx
addq $-0x30, %rcx
cmpq $0x9, %rcx
ja 0xf2e5
cmpq %rbx, %r12
je 0xf41d
movb %al, (%r12)
movq %r15, %rdi
movq %r14, %rsi
movl %ebp, %edx
callq 0xc624
jmp 0xf27c
movzbl %al, %ecx
addq $-0x30, %rcx
cmpq $0x9, %rcx
ja 0xf37d
movzbl %al, %ecx
addq $-0x30, %rcx
cmpq $0x9, %rcx
ja 0xf248
cmpq %rbx, %r12
je 0xf41d
movb %al, (%r12)
movq %r15, %rdi
movq %r14, %rsi
movl %ebp, %edx
callq 0xc624
incq %r12
jmp 0xf2b9
movl %eax, %ecx
andb $-0x21, %cl
cmpb $0x45, %cl
jne 0xf40f
cmpq %rbx, %r12
je 0xf41d
movb %al, (%r12)
movq %r15, %rdi
movq %r14, %rsi
movl %ebp, %edx
callq 0xc624
leaq 0x1(%r12), %r13
cmpb $0x2d, %al
je 0xf31e
movzbl %al, %ecx
cmpl $0x2b, %ecx
jne 0xf340
cmpq %rbx, %r13
je 0xf404
movb %al, 0x1(%r12)
movq %r15, %rdi
movq %r14, %rsi
movl %ebp, %edx
callq 0xc624
addq $0x2, %r12
movq %r12, %r13
movzbl %al, %ecx
addq $-0x30, %rcx
cmpq $0x9, %rcx
ja 0xf37d
movzbl %al, %ecx
addq $-0x30, %rcx
cmpq $0x9, %rcx
ja 0xf408
cmpq %rbx, %r13
je 0xf404
movb %al, (%r13)
movq %r15, %rdi
movq %r14, %rsi
movl %ebp, %edx
callq 0xc624
incq %r13
jmp 0xf34d
xorl %r13d, %r13d
jmp 0xf41d
cmpq %rbx, %rcx
je 0xf404
movb $0x6e, (%rcx)
movq %r15, %rdi
movq %r14, %rsi
movq %rcx, %r12
movl %ebp, %edx
callq 0xc624
cmpb $0x61, %al
jne 0xf41d
leaq 0x1(%r12), %rax
cmpq %rbx, %rax
je 0xf404
movb $0x61, (%rax)
movq %r15, %rdi
movq %r14, %rsi
movl %ebp, %edx
callq 0xc624
movb $0x6e, %cl
cmpb $0x6e, %al
jne 0xf41d
leaq 0x2(%r12), %rax
cmpq %rbx, %rax
je 0xf404
movb %cl, 0x2(%r12)
movq %r15, %rdi
movq %r14, %rsi
movl %ebp, %edx
callq 0xc624
cmpb $0x22, %al
jne 0xf41d
leaq 0x3(%r12), %rax
cmpq %rbx, %rax
je 0xf404
movb $0x22, 0x3(%r12)
movq %r15, %rdi
movq %r14, %rsi
movl %ebp, %edx
callq 0xc624
addq $0x4, %r12
jmp 0xf40b
pushq $-0x1
jmp 0xf41b
movq %r13, %r12
pushq $-0x1
popq %r13
cmpq %rbx, %r12
je 0xf41d
movb $0x0, (%r12)
pushq $0x1
popq %r13
movl %r13d, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq