// File: /workspace/github_cpp_makefile_star2_O1/oknenavin[P]cxon/test/../src/cxon/lang/common/cio/string.hxx
// Function: std::enable_if<!chr::is_char_8<char>::value || !is_forward_iterator<std::istreambuf_iterator<char, std::char_traits<char>>>::value, bool>::type cxon::cio::str::imp::string_read_tail_<cxon::JSON<cxon::cio::str::raw_traits<cxon::json::format_traits>>, cxon::cnt::range_container<char*>, std::istreambuf_iterator<char, std::char_traits<char>>, cxon::context<cxon::JSON<cxon::json::format_traits>>, char>(cxon::cnt::range_container<char*>&, std::istreambuf_iterator<char, std::char_traits<char>>&, std::istreambuf_iterator<char, std::char_traits<char>>, cxon::context<cxon::JSON<cxon::json::format_traits>>&)
inline auto string_read_tail_(C& c, II& i, II e, Cx& cx)
                -> enable_if_t<!chr::is_char_8<T>::value || !is_forward_iterator<II>::value, bool>
            {
                constexpr bool HANDLE_ESCAPES = is_unquoted_key_context<X>::value || !X::assume_no_escapes;
                while (i != e) {
                    if (HANDLE_ESCAPES && *i == '\\') {
                        II const o = i; ++i;
                        CXON_IF_CONSTEXPR (is_unquoted_key_context<X>::value) {
                            if (i != e && *i == X::string::del)
                                return ++i, true;
                        }
                        char32_t c32 = chr::esc_to_utf32<X>(i, e, cx);
                            if (c32 == chr::bad_utf32) return rewind(i, o), false;
                        if (!char_append_(c, c32))
                            return rewind(i, o), cx/X::read_error::overflow;
                    }
                    else {
                        CXON_IF_CONSTEXPR (!is_unquoted_key_context<X>::value) {
                            if (delim_en_check<X>(*i))      return delim_en_read<X>(i, e);
                        }
                        CXON_IF_CONSTEXPR (X::validate_string_escapes) {
                            if (chr::is<X>::ctrl(*i))       return cx/X::read_error::unexpected;
                        }
                        if (!char_read_<X>(c, i, e, cx))    return false;
                    }
                }
                return cx/X::read_error::unexpected;
            }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %r8, 0x10(%rsp)
movl %ecx, %ebp
movq %rdx, %r14
movq %rsi, %rbx
movq %rdi, %r12
cmpl $-0x1, %ebp
sete %r15b
movq %rbx, %rdi
callq 0x9bbc
movl %eax, %r13d
testq %r14, %r14
setne %al
andb %r15b, %al
cmpb $0x1, %al
jne 0xe2e0
movq 0x10(%r14), %rax
cmpq 0x18(%r14), %rax
jae 0xe535
movzbl (%rax), %eax
cmpl $-0x1, %eax
jne 0xe2e2
xorl %r14d, %r14d
jmp 0xe2e2
movl %ebp, %eax
cmpl $-0x1, %r13d
sete %cl
cmpl $-0x1, %eax
sete %al
cmpb %al, %cl
je 0xe54e
movq %rbx, %rdi
callq 0x9bbc
cmpb $0x5c, %al
jne 0xe424
movq (%rbx), %rdi
movq 0x10(%rdi), %rax
cmpq 0x18(%rdi), %rax
jae 0xe543
incq %rax
movq %rax, 0x10(%rdi)
movl $0xffffffff, 0x8(%rbx)  # imm = 0xFFFFFFFF
movq %rbx, %rdi
movq %r14, %rsi
movl %ebp, %edx
movq 0x10(%rsp), %rcx
callq 0xe685
xorl %r13d, %r13d
cmpl $-0x1, %eax
je 0xe577
movl %eax, %ecx
andl $0xfffffc00, %ecx       # imm = 0xFFFFFC00
cmpl $0xd800, %ecx           # imm = 0xD800
je 0xe3e6
movl $0x1, %r13d
cmpl $0x80, %eax
jb 0xe38f
movl $0x2, %r13d
cmpl $0x800, %eax            # imm = 0x800
jb 0xe38f
movl $0x3, %r13d
cmpl $0x10000, %eax          # imm = 0x10000
jb 0xe38f
xorl %r13d, %r13d
cmpl $0x110000, %eax         # imm = 0x110000
setb %r13b
shll $0x2, %r13d
leal -0x1(%r13), %ecx
cmpl $0x3, %ecx
ja 0xe3e6
leaq 0x38e71(%rip), %rdx     # 0x47210
movslq (%rdx,%rcx,4), %rcx
addq %rdx, %rcx
jmpq *%rcx
movl %eax, %ecx
andb $0x3f, %cl
orb $-0x80, %cl
movb %cl, 0xb(%rsp)
shrl $0x6, %eax
movl %eax, %ecx
andb $0x3f, %cl
orb $-0x80, %cl
movb %cl, 0xa(%rsp)
shrl $0x6, %eax
movl %eax, %ecx
andb $0x3f, %cl
orb $-0x80, %cl
movb %cl, 0x9(%rsp)
shrl $0x6, %eax
movl %r13d, %ecx
leaq 0x39e61(%rip), %rdx     # 0x48240
orl (%rdx,%rcx,8), %eax
movb %al, 0x8(%rsp)
movl %r13d, %r13d
movq 0x8(%r12), %r15
movq 0x10(%r12), %rdi
subq %rdi, %r15
cmpq %r13, %r15
jl 0xe560
testq %r13, %r13
je 0xe411
leaq 0x8(%rsp), %rsi
movq %r13, %rdx
callq 0x41e0
addq %r13, 0x10(%r12)
cmpq %r13, %r15
jge 0xe2a6
jmp 0xe560
movq %rbx, %rdi
callq 0x9bbc
cmpb $0x22, %al
je 0xe589
movq %rbx, %rdi
callq 0x9bbc
testb $-0x20, %al
je 0xe54e
movq %rbx, %rdi
movq %r14, %rsi
movl %ebp, %edx
movq 0x10(%rsp), %rcx
callq 0xee46
xorl %r13d, %r13d
cmpl $-0x1, %eax
je 0xe577
movl %eax, %ecx
andl $0xfffffc00, %ecx       # imm = 0xFFFFFC00
cmpl $0xd800, %ecx           # imm = 0xD800
je 0xe504
movl $0x1, %r13d
cmpl $0x80, %eax
jb 0xe4ad
movl $0x2, %r13d
cmpl $0x800, %eax            # imm = 0x800
jb 0xe4ad
movl $0x3, %r13d
cmpl $0x10000, %eax          # imm = 0x10000
jb 0xe4ad
xorl %r13d, %r13d
cmpl $0x110000, %eax         # imm = 0x110000
setb %r13b
shll $0x2, %r13d
leal -0x1(%r13), %ecx
cmpl $0x3, %ecx
ja 0xe504
leaq 0x38d43(%rip), %rdx     # 0x47200
movslq (%rdx,%rcx,4), %rcx
addq %rdx, %rcx
jmpq *%rcx
movl %eax, %ecx
andb $0x3f, %cl
orb $-0x80, %cl
movb %cl, 0xf(%rsp)
shrl $0x6, %eax
movl %eax, %ecx
andb $0x3f, %cl
orb $-0x80, %cl
movb %cl, 0xe(%rsp)
shrl $0x6, %eax
movl %eax, %ecx
andb $0x3f, %cl
orb $-0x80, %cl
movb %cl, 0xd(%rsp)
shrl $0x6, %eax
movl %r13d, %ecx
leaq 0x39d43(%rip), %rdx     # 0x48240
orl (%rdx,%rcx,8), %eax
movb %al, 0xc(%rsp)
movl %r13d, %r13d
movq 0x8(%r12), %rax
movq 0x10(%r12), %rdi
subq %rdi, %rax
cmpq %r13, %rax
jl 0xe560
testq %r13, %r13
je 0xe52b
leaq 0xc(%rsp), %rsi
movq %r13, %rdx
callq 0x41e0
addq %r13, 0x10(%r12)
jmp 0xe2a6
movq (%r14), %rax
movq %r14, %rdi
callq *0x48(%rax)
jmp 0xe2d6
movq (%rdi), %rax
callq *0x50(%rax)
jmp 0xe31f
callq 0xcf7a
movq 0x10(%rsp), %rcx
movl $0x1, (%rcx)
jmp 0xe570
callq 0xcf7a
movq 0x10(%rsp), %rcx
movl $0x8, (%rcx)
movq %rax, 0x8(%rcx)
xorl %r13d, %r13d
movl %r13d, %eax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq (%rbx), %r15
movl 0x8(%rbx), %r12d
testq %r15, %r15
setne %al
cmpl $-0x1, %r12d
sete %cl
andb %al, %cl
cmpb $0x1, %cl
jne 0xe5c2
movq 0x10(%r15), %rax
cmpq 0x18(%r15), %rax
jae 0xe64e
movzbl (%rax), %r13d
xorl %eax, %eax
cmpl $-0x1, %r13d
cmoveq %rax, %r15
jmp 0xe5c5
movl %r12d, %r13d
cmpl $-0x1, %ebp
sete %al
testq %r14, %r14
setne %cl
andb %al, %cl
cmpb $0x1, %cl
jne 0xe5e5
movq 0x10(%r14), %rax
cmpq 0x18(%r14), %rax
jae 0xe65f
movzbl (%rax), %ebp
cmpl $-0x1, %r13d
sete %al
cmpl $-0x1, %ebp
sete %cl
cmpb %cl, %al
je 0xe622
cmpl $-0x1, %r12d
sete %al
testq %r15, %r15
setne %cl
andb %al, %cl
cmpb $0x1, %cl
jne 0xe618
movq 0x10(%r15), %rax
cmpq 0x18(%r15), %rax
jae 0xe677
movzbl (%rax), %r12d
cmpb $0x22, %r12b
sete %r13b
jmp 0xe625
xorl %r13d, %r13d
testb %r13b, %r13b
je 0xe577
movq (%rbx), %rdi
movq 0x10(%rdi), %rax
cmpq 0x18(%rdi), %rax
jae 0xe66f
incq %rax
movq %rax, 0x10(%rdi)
movl $0xffffffff, 0x8(%rbx)  # imm = 0xFFFFFFFF
jmp 0xe577
movq (%r15), %rax
movq %r15, %rdi
callq *0x48(%rax)
movl %eax, %r13d
jmp 0xe5b6
movq (%r14), %rax
movq %r14, %rdi
callq *0x48(%rax)
movl %eax, %ebp
jmp 0xe5e5
movq (%rdi), %rax
callq *0x50(%rax)
jmp 0xe642
movq (%r15), %rax
movq %r15, %rdi
callq *0x48(%rax)
movl %eax, %r12d
jmp 0xe618