// File: /workspace/github_cpp_makefile_star2_O1/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
movq %rcx, %rbx
movq %rdi, %r14
cmpq %rdx, %rsi
je 0x20df2
movq %rdx, %r15
leaq 0x26fe5(%rip), %r12     # 0x47d80
leaq 0x8(%rsp), %r13
movq %rsi, %rbp
movzbl (%rbp), %eax
cmpb $0x1, (%rax,%r12)
jne 0x20de8
cmpq %rsi, %rbp
je 0x20dd1
movq %rsi, 0x10(%rsp)
movq %rbp, 0x8(%rsp)
movq %r14, %rdi
leaq 0x10(%rsp), %rsi
movq %r13, %rdx
callq 0x20f2c
testb %al, %al
je 0x20e26
movsbl (%rbp), %esi
movq %r14, %rdi
movq %rbx, %rdx
callq 0x20e48
testb %al, %al
je 0x20e22
leaq 0x1(%rbp), %rsi
incq %rbp
cmpq %r15, %rbp
jne 0x20da3
jmp 0x20df5
movq %rsi, %rbp
cmpq %rbp, %rsi
je 0x20e1d
leaq 0x10(%rsp), %rax
movq %rsi, (%rax)
leaq 0x8(%rsp), %rdx
movq %rbp, (%rdx)
movq %r14, %rdi
movq %rax, %rsi
callq 0x20f2c
movl %eax, %ebp
testb %al, %al
je 0x20e28
jmp 0x20e37
movb $0x1, %bpl
jmp 0x20e37
xorl %ebp, %ebp
jmp 0x20e37
xorl %ebp, %ebp
callq 0x20204
movl $0x1, (%rbx)
movq %rax, 0x8(%rbx)
movl %ebp, %eax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq