// File: /workspace/github_cpp_makefile_star2_O2/oknenavin[P]cxon/test/../src/cxon/lang/cbor/lib/boost/dynamic_bitset.hxx
// Function: bool cxon::cbor::imp::read_bitset_<cxon::CBOR<cxon::cbor::format_traits>, unsigned char, std::allocator<unsigned char>, unsigned char const*, cxon::context<cxon::CBOR<cxon::cbor::format_traits>>>(boost::dynamic_bitset<unsigned char, std::allocator<unsigned char>>&, unsigned char const*&, unsigned char const*, cxon::context<cxon::CBOR<cxon::cbor::format_traits>>&)
inline bool read_bitset_(boost::dynamic_bitset<B, A>& t, II& i, II e, Cx& cx) {
                switch (bio::peek(i, e) & X::mjr) {
                    case X::bstr: {
                        std::size_t N;
                        if (!cbor::cnt::read_size<X>(N, i, e, cx))
                            return false;
                        if (i == e)
                            return cx/cbor::read_error::unexpected;
                        bio::byte const S = *i;
                        t.resize(t.size() + --N * 8);
                            for (++i; N != 0 && i != e; --N, ++i) {
                                bio::byte const b = *i; t <<= 8;
                                t.set(7, b & 0x80); t.set(6, b & 0x40); t.set(5, b & 0x20); t.set(4, b & 0x10);
                                t.set(3, b & 0x08); t.set(2, b & 0x04); t.set(1, b & 0x02); t.set(0, b & 0x01);
                            }
                        t.resize(t.size() - S);
                        return N == 0 || cx/cbor::read_error::unexpected;
                    }
                    default:
                        return cx/cbor::read_error::unexpected;
                }
            }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rcx, %rbx
movq (%rsi), %rax
cmpq %rdx, %rax
je 0x7761a
movb (%rax), %al
andb $-0x20, %al
cmpb $0x40, %al
jne 0x7761a
movq %rdx, %r15
movq %rsi, %r12
movq %rdi, %r14
leaq 0x8(%rsp), %rdi
movq %rbx, %rcx
callq 0x148a4
testb %al, %al
je 0x77633
movq (%r12), %rax
cmpq %r15, %rax
je 0x77652
movzbl (%rax), %eax
movq %rax, 0x10(%rsp)
movq 0x8(%rsp), %rax
leaq -0x8(,%rax,8), %rsi
decq %rax
addq 0x18(%r14), %rsi
movq %rax, 0x8(%rsp)
movq %r14, %rdi
xorl %edx, %edx
callq 0x77670
movq 0x8(%rsp), %rax
pushq $0x8
popq %r13
movq (%r12), %rcx
incq %rcx
movq %rcx, (%r12)
testq %rax, %rax
je 0x77637
cmpq %r15, %rcx
je 0x77637
movb (%rcx), %bpl
movq %r14, %rdi
movq %r13, %rsi
callq 0x776f0
movq (%r14), %rax
movb (%rax), %cl
andb $0x7f, %cl
movl %ebp, %edx
andb $-0x80, %dl
orb %cl, %dl
movb %dl, (%rax)
movl %ebp, %eax
andb $0x40, %al
movq (%r14), %rcx
movb (%rcx), %dl
andb $-0x41, %dl
orb %al, %dl
movb %dl, (%rcx)
movl %ebp, %eax
andb $0x20, %al
movq (%r14), %rcx
movb (%rcx), %dl
andb $-0x21, %dl
orb %al, %dl
movb %dl, (%rcx)
movl %ebp, %eax
andb $0x10, %al
movq (%r14), %rcx
movb (%rcx), %dl
andb $-0x11, %dl
orb %al, %dl
movb %dl, (%rcx)
movl %ebp, %eax
andb $0x8, %al
movq (%r14), %rcx
movb (%rcx), %dl
andb $-0x9, %dl
orb %al, %dl
movb %dl, (%rcx)
movl %ebp, %eax
andb $0x4, %al
movq (%r14), %rcx
movb (%rcx), %dl
andb $-0x5, %dl
orb %al, %dl
movb %dl, (%rcx)
movl %ebp, %eax
andb $0x2, %al
movq (%r14), %rcx
movb (%rcx), %dl
andb $-0x3, %dl
orb %al, %dl
movb %dl, (%rcx)
andb $0x1, %bpl
movq (%r14), %rax
movb (%rax), %cl
andb $-0x2, %cl
orb %bpl, %cl
movb %cl, (%rax)
movq 0x8(%rsp), %rax
decq %rax
movq %rax, 0x8(%rsp)
jmp 0x7755b
pushq $0x1
popq %rsi
movq %rbx, %rdi
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x1445e
xorl %eax, %eax
jmp 0x77661
movq 0x18(%r14), %rsi
subq 0x10(%rsp), %rsi
movq %r14, %rdi
xorl %edx, %edx
callq 0x77670
cmpq $0x0, 0x8(%rsp)
je 0x7765f
pushq $0x1
popq %rsi
movq %rbx, %rdi
callq 0x1445e
jmp 0x77661
movb $0x1, %al
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq