	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vc_container_bits_read_u32     ## -- Begin function vc_container_bits_read_u32
	.p2align	4, 0x90
_vc_container_bits_read_u32:            ## @vc_container_bits_read_u32
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	movq	%rdi, %r14
	xorl	%edi, %edi
	cmpl	$33, %esi
	setl	%dil
	callq	_vc_container_assert
	movq	%r14, %rdi
	callq	_vc_container_bits_available
	cmpl	%r15d, %eax
	jge	LBB0_1
## %bb.8:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_vc_container_bits_invalidate   ## TAILCALL
LBB0_1:
	movl	(%r14), %edx
	testl	%r15d, %r15d
	je	LBB0_2
## %bb.3:
	movq	8(%r14), %r8
	xorl	%eax, %eax
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	cmpl	%edx, %r15d
	movl	%edx, %esi
	cmovll	%r15d, %esi
	subl	%esi, %edx
	movl	%esi, %ecx
	shll	%cl, %eax
	movl	(%r8), %r9d
	movl	%r9d, %edi
	movl	%edx, %ecx
	sarl	%cl, %edi
	movl	$-1, %ebx
	movl	%esi, %ecx
	shll	%cl, %ebx
	notl	%ebx
	andl	%edi, %ebx
	cmpl	$8, %esi
	cmovel	%r9d, %ebx
	orl	%ebx, %eax
	subl	%esi, %r15d
	je	LBB0_7
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	testl	%edx, %edx
	jne	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	decl	16(%r14)
	addq	$4, %r8
	movq	%r8, 8(%r14)
	movl	$8, %edx
	jmp	LBB0_6
LBB0_2:
	xorl	%eax, %eax
LBB0_7:
	movl	%edx, (%r14)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vc_container_bits_read_u32     ; -- Begin function vc_container_bits_read_u32
	.p2align	2
_vc_container_bits_read_u32:            ; @vc_container_bits_read_u32
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	mov	x19, x0
	cmp	w1, #33
	cset	w0, lt
	bl	_vc_container_assert
	mov	x0, x19
	bl	_vc_container_bits_available
	cmp	w0, w20
	b.ge	LBB0_2
; %bb.1:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_vc_container_bits_invalidate
LBB0_2:
	ldr	w8, [x19]
	mov	w0, #0
	cbz	w20, LBB0_7
; %bb.3:
	ldr	x9, [x19, #8]
	mov	w10, #-1
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	cmp	w20, w8
	csel	w11, w20, w8, lt
	sub	w8, w8, w11
	lsl	w12, w0, w11
	ldr	w13, [x9]
	asr	w14, w13, w8
	lsl	w15, w10, w11
	bic	w14, w14, w15
	cmp	w11, #8
	csel	w13, w13, w14, eq
	orr	w0, w13, w12
	sub	w20, w20, w11
	cbz	w20, LBB0_7
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	cbnz	w8, LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x19, #16]
	sub	w8, w8, #1
	str	w8, [x19, #16]
	add	x9, x9, #4
	str	x9, [x19, #8]
	mov	w8, #8
	b	LBB0_4
LBB0_7:
	str	w8, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
