// File: /workspace/github_cpp_makefile_star2_O1/oknenavin[P]cxon/test/../src/cxon/lang/common/cio/char.hxx
// Function: char32_t cxon::cio::chr::imp::esc_to_utf32_<cxon::JSON<cxon::cio::str::raw_traits<cxon::json::format_traits>>, std::istreambuf_iterator<char, std::char_traits<char>>>(std::istreambuf_iterator<char, std::char_traits<char>>&, std::istreambuf_iterator<char, std::char_traits<char>>)
inline char32_t esc_to_utf32_(II& i, II e) {
                switch (peek(i, e)) {
                    case '"' :  return ++i, U'"';
                    case '\\':  return ++i, U'\\';
                    case '/' :  return ++i, U'/';
                    case 'b' :  return ++i, U'\b';
                    case 'f' :  return ++i, U'\f';
                    case 'n' :  return ++i, U'\n';
                    case 'r' :  return ++i, U'\r';
                    case 't' :  return ++i, U'\t';
                    case 'u' :  return u_to_<X>::dec(i, e);
                    case ' ' :
                        CXON_IF_CONSTEXPR (is_quoted_key_context<X>::value)
                                return ++i, U' ';
                        else    return bad_utf32;
                    case ':' :
                        CXON_IF_CONSTEXPR (is_quoted_key_context<X>::value && X::map::div == ':')
                                return ++i, U':';
                        else    return bad_utf32;
                    case '=' :
                        CXON_IF_CONSTEXPR (is_quoted_key_context<X>::value && X::map::div == '=')
                                return ++i, U'=';
                        else    return bad_utf32;
                    case '\'':
                        CXON_IF_CONSTEXPR (X::string::del == '\'')
                                return ++i, U'\'';
                        else    return bad_utf32;
                    default  :  return bad_utf32;
                }
            }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %edx, %ebp
movq %rsi, %r14
movq %rdi, %rbx
movq (%rdi), %r15
movl 0x8(%rdi), %r12d
testq %r15, %r15
setne %al
cmpl $-0x1, %r12d
sete %cl
andb %al, %cl
cmpb $0x1, %cl
jne 0xe885
movq 0x10(%r15), %rax
cmpq 0x18(%r15), %rax
jae 0xeaa7
movzbl (%rax), %r13d
xorl %eax, %eax
cmpl $-0x1, %r13d
cmoveq %rax, %r15
jmp 0xe888
movl %r12d, %r13d
testq %r14, %r14
setne %al
cmpl $-0x1, %ebp
sete %cl
andb %al, %cl
movl %ebp, %eax
cmpb $0x1, %cl
jne 0xe8ae
movq 0x10(%r14), %rax
cmpq 0x18(%r14), %rax
jae 0xeab8
movzbl (%rax), %eax
cmpl $-0x1, %r13d
sete %cl
cmpl $-0x1, %eax
sete %dl
movb $-0x1, %al
cmpb %dl, %cl
je 0xe8ea
cmpl $-0x1, %r12d
sete %al
testq %r15, %r15
setne %cl
andb %al, %cl
cmpb $0x1, %cl
jne 0xe8e7
movq 0x10(%r15), %rax
cmpq 0x18(%r15), %rax
jae 0xeac6
movzbl (%rax), %r12d
movl %r12d, %eax
movzbl %al, %ecx
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
cmpl $0x61, %ecx
jg 0xe93b
cmpl $0x22, %ecx
je 0xe980
cmpl $0x2f, %ecx
je 0xe9a9
cmpl $0x5c, %ecx
jne 0xea98
movq (%rbx), %rdi
movq 0x10(%rdi), %rax
cmpq 0x18(%rdi), %rax
jae 0xead7
incq %rax
movq %rax, 0x10(%rdi)
movl $0xffffffff, 0x8(%rbx)  # imm = 0xFFFFFFFF
movl $0x5c, %eax
jmp 0xea98
leal -0x6e(%rcx), %edx
cmpl $0x7, %edx
ja 0xe9d2
leaq 0x388d2(%rip), %rcx     # 0x47220
movslq (%rcx,%rdx,4), %rdx
addq %rcx, %rdx
jmpq *%rdx
movq (%rbx), %rdi
movq 0x10(%rdi), %rax
cmpq 0x18(%rdi), %rax
jae 0xeaf8
incq %rax
movq %rax, 0x10(%rdi)
movl $0xffffffff, 0x8(%rbx)  # imm = 0xFFFFFFFF
movl $0xa, %eax
jmp 0xea98
movq (%rbx), %rdi
movq 0x10(%rdi), %rax
cmpq 0x18(%rdi), %rax
jae 0xeae2
incq %rax
movq %rax, 0x10(%rdi)
movl $0xffffffff, 0x8(%rbx)  # imm = 0xFFFFFFFF
movl $0x22, %eax
jmp 0xea98
movq (%rbx), %rdi
movq 0x10(%rdi), %rax
cmpq 0x18(%rdi), %rax
jae 0xeaed
incq %rax
movq %rax, 0x10(%rdi)
movl $0xffffffff, 0x8(%rbx)  # imm = 0xFFFFFFFF
movl $0x2f, %eax
jmp 0xea98
cmpl $0x62, %ecx
je 0xea74
cmpl $0x66, %ecx
jne 0xea98
movq (%rbx), %rdi
movq 0x10(%rdi), %rax
cmpq 0x18(%rdi), %rax
jae 0xeb19
incq %rax
movq %rax, 0x10(%rdi)
movl $0xffffffff, 0x8(%rbx)  # imm = 0xFFFFFFFF
movl $0xc, %eax
jmp 0xea98
movq %rbx, %rdi
movq %r14, %rsi
movl %ebp, %edx
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0xeb30
movq (%rbx), %rdi
movq 0x10(%rdi), %rax
cmpq 0x18(%rdi), %rax
jae 0xeb03
incq %rax
movq %rax, 0x10(%rdi)
movl $0xffffffff, 0x8(%rbx)  # imm = 0xFFFFFFFF
movl $0xd, %eax
jmp 0xea98
movq (%rbx), %rdi
movq 0x10(%rdi), %rax
cmpq 0x18(%rdi), %rax
jae 0xeb0e
incq %rax
movq %rax, 0x10(%rdi)
movl $0xffffffff, 0x8(%rbx)  # imm = 0xFFFFFFFF
movl $0x9, %eax
jmp 0xea98
movq (%rbx), %rdi
movq 0x10(%rdi), %rax
cmpq 0x18(%rdi), %rax
jae 0xeb24
incq %rax
movq %rax, 0x10(%rdi)
movl $0xffffffff, 0x8(%rbx)  # imm = 0xFFFFFFFF
movl $0x8, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq (%r15), %rax
movq %r15, %rdi
callq *0x48(%rax)
movl %eax, %r13d
jmp 0xe879
movq (%r14), %rax
movq %r14, %rdi
callq *0x48(%rax)
jmp 0xe8ae
movq (%r15), %rax
movq %r15, %rdi
callq *0x48(%rax)
movl %eax, %r12d
jmp 0xe8e7
movq (%rdi), %rax
callq *0x50(%rax)
jmp 0xe92a
movq (%rdi), %rax
callq *0x50(%rax)
jmp 0xe998
movq (%rdi), %rax
callq *0x50(%rax)
jmp 0xe9c1
movq (%rdi), %rax
callq *0x50(%rax)
jmp 0xe96f
movq (%rdi), %rax
callq *0x50(%rax)
jmp 0xea40
movq (%rdi), %rax
callq *0x50(%rax)
jmp 0xea66
movq (%rdi), %rax
callq *0x50(%rax)
jmp 0xe9fc
movq (%rdi), %rax
callq *0x50(%rax)
jmp 0xea8c
nop