// File: /workspace/github_cpp_makefile_star2_O3/oknenavin[P]cxon/test/../src/cxon/lang/common/cio/char.hxx
// Function: std::enable_if<(std::integral_constant<bool, true>::value || !cxon::JSON<cxon::cio::key::unquoted_traits<cxon::json::format_traits>>::assume_no_escapes) && !use_simd_<cxon::JSON<cxon::cio::key::unquoted_traits<cxon::json::format_traits>>>::value, bool>::type cxon::cio::chr::imp::encode_<cxon::JSON<cxon::cio::key::unquoted_traits<cxon::json::format_traits>>, char>::range<cxon::json::indenter<cxon::JSON<cxon::JSON<cxon::json::format_traits>>, std::ostreambuf_iterator<char, std::char_traits<char>>>, cxon::context<cxon::JSON<cxon::json::format_traits>, cxon::napa::imp::var<cxon::node::recursion_guard, unsigned int>>, cxon::JSON<cxon::cio::key::unquoted_traits<cxon::json::format_traits>>>(cxon::json::indenter<cxon::JSON<cxon::JSON<cxon::json::format_traits>>, std::ostreambuf_iterator<char, std::char_traits<char>>>&, char const*, char const*, cxon::context<cxon::JSON<cxon::json::format_traits>, cxon::napa::imp::var<cxon::node::recursion_guard, unsigned int>>&)
static auto range(O& o, const char* f, const char* l, Cx& cx)
                        -> enable_if_t<( is_unquoted_key_context<X>::value || !Y::assume_no_escapes) && !use_simd_<Y>::value, bool>
                    {
                        char const* a = f;
                        for ( ; f != l; ++f) {
                            if (should_escape_<Y>(*f)) {
                                if (a != f && !poke<Y>(o, a, f, cx))    return false;
                                if (!value(o, *f, cx))                  return false;
                                a = f + 1;
                            }
                            else CXON_IF_CONSTEXPR (Y::produce_strict_javascript) {
                                if (*f == '\xE2' && l - f > 2) {
                                    if (f[1] == '\x80') {
                                        if (f[2] == '\xA8' || f[2] == '\xA9') {
                                            if (a != f)
                                                if (!poke<Y>(o, a, f, cx)) return false;
                                            if (!poke<Y>(o, f[2] == '\xA8' ? "\\u2028" : "\\u2029", 6, cx)) return false;
                                            f += 2, a = f + 1;
                                        }
                                    }
                                }
                            }
                        }
                        return a == f || poke<Y>(o, a, f, cx);
                    }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movb $0x1, %al
movl %eax, 0x4(%rsp)
cmpq %rdx, %rsi
je 0x1eef4
movq %rcx, %r14
movq %rdx, %r12
movq %rdi, %r15
leaq 0x25e5d(%rip), %r13     # 0x44cc0
leaq 0x8(%rsp), %rbp
movq %rsi, %rbx
movzbl (%rbx), %eax
cmpb $0x1, (%rax,%r13)
jne 0x1eeb0
cmpq %rsi, %rbx
je 0x1ee9a
movq %rsi, 0x10(%rsp)
movq %rbx, 0x8(%rsp)
movq %r15, %rdi
leaq 0x10(%rsp), %rsi
movq %rbp, %rdx
callq 0x1efe6
testb %al, %al
je 0x1eedc
movb (%rbx), %al
movsbl %al, %esi
movq %r15, %rdi
movq %r14, %rdx
callq 0x1ef08
testb %al, %al
je 0x1eeec
leaq 0x1(%rbx), %rsi
incq %rbx
cmpq %r12, %rbx
jne 0x1ee6b
cmpq %rsi, %rbx
je 0x1eef4
leaq 0x10(%rsp), %rax
movq %rsi, (%rax)
leaq 0x8(%rsp), %rdx
movq %rbx, (%rdx)
movq %r15, %rdi
movq %rax, %rsi
callq 0x1efe6
testb %al, %al
jne 0x1eef4
callq 0x1e39a
movl $0x1, (%r14)
movq %rax, 0x8(%r14)
movl $0x0, 0x4(%rsp)
movl 0x4(%rsp), %eax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop