// File: /workspace/github_cpp_makefile_star2_O3/oknenavin[P]cxon/test/../src/cxon/lang/cbor/compound.hxx
// Function: std::enable_if<std::is_assignable<decltype(*fp), decltype(*fp0)>::value, bool>::type cxon::cbor::imp::read_pointer_<cxon::CBOR<cxon::cbor::format_traits>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, unsigned char const*, cxon::context<cxon::CBOR<cxon::cbor::format_traits>>>(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>*&, unsigned char const*&, unsigned char const*, cxon::context<cxon::CBOR<cxon::cbor::format_traits>>&)
inline auto read_pointer_(T*& t, II& i, II e, Cx& cx)
                -> enable_if_t< std::is_assignable<decltype(*t), decltype(*i)>::value, bool>
            {
                typename X::tag_type tag;
                if (!tag::read<X>(tag, i, e, cx))
                    return false;
                switch (bio::peek(i, e) & X::mjr) {
                    case X::bstr: case X::tstr: case X::arr: {
                                auto c = cxon::cnt::make_pointer_container<X, T>(cx);
                                return cbor::cnt::read_array<X>(c, tag, i, e, cx) && (c.push_back({}), t = c.release());
                    }
                    default:    return read_pointer_t_<X>(t, i, e, cx);
                }
            }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %rcx, %r14
movq %rdx, %r12
movq %rsi, %r15
movq %rdi, %rbx
leaq 0x40(%rsp), %rdi
callq 0x2fcfb
testb %al, %al
je 0xc9f8b
movq (%r15), %rax
cmpq %r12, %rax
je 0xc9f39
movzbl (%rax), %ecx
movl %ecx, %edx
andl $-0x20, %edx
cmpl $0x40, %edx
je 0xc9e7e
cmpl $0x80, %edx
je 0xc9e7e
cmpl $0x60, %edx
jne 0xc9f25
xorps %xmm0, %xmm0
movq %rsp, %r13
movups %xmm0, 0x8(%r13)
movq $0x0, 0x18(%r13)
movl $0x8, %esi
movq %r13, %rdi
callq 0xca026
movq %r13, %rdi
movq %r15, %rsi
movq %r12, %rdx
movq %r14, %rcx
callq 0xca16f
testb %al, %al
je 0xc9f19
leaq 0x30(%rsp), %r14
movq %r14, -0x10(%r14)
movq $0x0, -0x8(%r14)
movb $0x0, (%r14)
movq %rsp, %rdi
leaq 0x20(%rsp), %rsi
callq 0xc9fc6
movq %rsp, %rdi
movq 0x18(%rdi), %rsi
subq 0x8(%rdi), %rsi
sarq $0x5, %rsi
callq 0xca026
leaq 0x8(%rsp), %rax
movq (%rax), %rcx
xorps %xmm0, %xmm0
movups %xmm0, (%rax)
movq $0x0, 0x10(%rax)
movq %rcx, (%rbx)
testq %rcx, %rcx
setne %bl
movq 0x20(%rsp), %rdi
cmpq %r14, %rdi
je 0xc9f1b
callq 0x5200
jmp 0xc9f1b
xorl %ebx, %ebx
movq %rsp, %rdi
callq 0xca006
jmp 0xc9f8d
cmpb $-0xa, %cl
jne 0xc9f39
incq %rax
movq %rax, (%r15)
movq $0x0, (%rbx)
jmp 0xc9f71
movl $0x20, %edi
callq 0x5210
movq %rax, %r13
leaq 0x10(%rax), %rbp
movq %rbp, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq %rax, %rdi
movq %r15, %rsi
movq %r12, %rdx
movq %r14, %rcx
callq 0xc7ee6
testb %al, %al
je 0xc9f75
movq %r13, (%rbx)
movb $0x1, %bl
jmp 0xc9f8d
movq (%r13), %rdi
cmpq %rbp, %rdi
je 0xc9f83
callq 0x5200
movq %r13, %rdi
callq 0x5200
xorl %ebx, %ebx
movl %ebx, %eax
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq 0x20(%rsp), %rdi
cmpq %r14, %rdi
je 0xc9fb5
callq 0x5200
jmp 0xc9fb5
movq %rax, %rbx
movq %rsp, %rdi
callq 0xca006
movq %rbx, %rdi
callq 0x5370
nop