// File: /workspace/github_cpp_makefile_star2_O2/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 %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rcx, %rbx
movq %rdx, %r12
movq %rsi, %r14
movq %rdi, %r15
leaq 0x24320(%rip), %r13     # 0x3bf10
cmpq %r12, %r14
je 0x17c35
movzbl (%r14), %eax
cmpb $0x1, (%rax,%r13)
jne 0x17c30
cmpq %rsi, %r14
je 0x17c1a
movq %r15, %rdi
movq %r14, %rdx
movq %rbx, %rcx
callq 0x17c61
testb %al, %al
je 0x17c51
movb (%r14), %al
movsbl %al, %esi
movq %r15, %rdi
movq %rbx, %rdx
callq 0x17c7e
testb %al, %al
je 0x17c51
leaq 0x1(%r14), %rsi
incq %r14
jmp 0x17bf0
cmpq %r12, %rsi
je 0x17c55
movq %r15, %rdi
movq %r14, %rdx
movq %rbx, %rcx
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
jmp 0x17c61
xorl %eax, %eax
jmp 0x17c57
movb $0x1, %al
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq