	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rbsp_read_uev
_rbsp_read_uev:                         ## @rbsp_read_uev
	.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
	movq	%rsi, %r14
	movq	%rdi, %r15
	movl	$0, -28(%rbp)
	movl	$-1, %ebx
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	callq	_rbsp_read_bit
	incl	%ebx
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	js	LBB0_7
## %bb.3:
	testl	%ebx, %ebx
	je	LBB0_5
## %bb.4:
	leaq	-28(%rbp), %rdx
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_rbsp_read_bits
	testl	%eax, %eax
	jne	LBB0_7
LBB0_5:
	xorl	%eax, %eax
	testq	%r14, %r14
	je	LBB0_7
## %bb.6:
	movl	$-1, %edx
	movl	%ebx, %ecx
	shll	%cl, %edx
	notl	%edx
	addl	-28(%rbp), %edx
	movl	%edx, (%r14)
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_rbsp_read_uev
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rbsp_read_uev
_rbsp_read_uev:                         ; @rbsp_read_uev
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x1
	mov	x21, x0
	str	wzr, [sp, #12]
	mov	w20, #-1
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	bl	_rbsp_read_bit
	add	w20, w20, #1
	cbz	w0, LBB0_1
; %bb.2:
	tbnz	w0, #31, LBB0_7
; %bb.3:
	cbz	w20, LBB0_5
; %bb.4:
	add	x2, sp, #12
	mov	x0, x21
	mov	x1, x20
	bl	_rbsp_read_bits
	cbnz	w0, LBB0_7
LBB0_5:
	mov	w0, #0
	cbz	x19, LBB0_7
; %bb.6:
	mov	w8, #-1
	lsl	w8, w8, w20
	mvn	w8, w8
	ldr	w9, [sp, #12]
	add	w8, w9, w8
	str	w8, [x19]
LBB0_7:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_rbsp_read_uev
.subsections_via_symbols
