	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_interleaved_ue_golomb
_get_interleaved_ue_golomb:             ## @get_interleaved_ue_golomb
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r13
	movq	_re@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	movq	%r13, %rsi
	callq	_OPEN_READER
	movl	(%r12), %edi
	movq	%r13, %rsi
	callq	_UPDATE_CACHE
	movl	(%r12), %edi
	movq	%r13, %rsi
	callq	_GET_CACHE
	movl	%eax, %r15d
	testl	$-1434451968, %eax              ## imm = 0xAA800000
	je	LBB0_1
## %bb.8:
	sarl	$24, %r15d
	movl	(%r12), %edi
	movq	_ff_interleaved_golomb_vlc_len@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	%r15d, %rbx
	movl	(%rax,%rbx,4), %edx
	movq	%r13, %rsi
	callq	_LAST_SKIP_BITS
	movl	(%r12), %edi
	movq	%r13, %rsi
	callq	_CLOSE_READER
	movq	_ff_interleaved_ue_golomb_vlc_code@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%rbx,4), %ebx
	jmp	LBB0_7
LBB0_1:
	movl	$1, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	sarl	$24, %r15d
	movl	(%r12), %r14d
	movq	_ff_interleaved_golomb_vlc_len@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	%r15d, %r15
	movl	(%rax,%r15,4), %edi
	movl	$8, %esi
	callq	_FFMIN
	movl	%r14d, %edi
	movq	%r13, %rsi
	movl	%eax, %edx
	callq	_LAST_SKIP_BITS
	movq	_ff_interleaved_golomb_vlc_len@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%r15,4), %ecx
	cmpl	$9, %ecx
	jne	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	shll	$4, %ebx
	movq	_ff_interleaved_dirac_golomb_vlc_code@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	orl	(%rax,%r15,4), %ebx
	movl	(%r12), %edi
	movq	%r13, %rsi
	callq	_UPDATE_CACHE
	movl	(%r12), %edi
	movq	%r13, %rsi
	callq	_GET_CACHE
	cmpl	$134217727, %ebx                ## imm = 0x7FFFFFF
	ja	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%eax, %r15d
	movl	(%r12), %edi
	movq	%r13, %rsi
	callq	_BITS_AVAILABLE
	testq	%rax, %rax
	jne	LBB0_2
	jmp	LBB0_6
LBB0_3:
	decl	%ecx
	shrl	%ecx
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %ebx
	movq	_ff_interleaved_dirac_golomb_vlc_code@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	orl	(%rax,%r15,4), %ebx
LBB0_6:
	movl	(%r12), %edi
	movq	%r13, %rsi
	callq	_CLOSE_READER
	decl	%ebx
LBB0_7:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_re,4,2                         ## @re
	.comm	_ff_interleaved_golomb_vlc_len,8,3 ## @ff_interleaved_golomb_vlc_len
	.comm	_ff_interleaved_ue_golomb_vlc_code,8,3 ## @ff_interleaved_ue_golomb_vlc_code
	.comm	_ff_interleaved_dirac_golomb_vlc_code,8,3 ## @ff_interleaved_dirac_golomb_vlc_code
	.no_dead_strip	_get_interleaved_ue_golomb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_interleaved_ue_golomb
_get_interleaved_ue_golomb:             ; @get_interleaved_ue_golomb
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x0
Lloh0:
	adrp	x22, _re@GOTPAGE
Lloh1:
	ldr	x22, [x22, _re@GOTPAGEOFF]
	ldr	w0, [x22]
	mov	x1, x19
	bl	_OPEN_READER
	ldr	w0, [x22]
	mov	x1, x19
	bl	_UPDATE_CACHE
	ldr	w0, [x22]
	mov	x1, x19
	bl	_GET_CACHE
	mov	x20, x0
	mov	w8, #-1434451968
	tst	w0, w8
	b.eq	LBB0_2
; %bb.1:
	asr	w8, w20, #24
	ldr	w0, [x22]
Lloh2:
	adrp	x9, _ff_interleaved_golomb_vlc_len@GOTPAGE
Lloh3:
	ldr	x9, [x9, _ff_interleaved_golomb_vlc_len@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	sbfiz	x20, x8, #2, #32
	ldr	w2, [x9, x20]
	mov	x1, x19
	bl	_LAST_SKIP_BITS
	ldr	w0, [x22]
	mov	x1, x19
	bl	_CLOSE_READER
Lloh5:
	adrp	x8, _ff_interleaved_ue_golomb_vlc_code@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ff_interleaved_ue_golomb_vlc_code@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	ldr	w0, [x8, x20]
	b	LBB0_8
LBB0_2:
	mov	w23, #1
Lloh8:
	adrp	x25, _ff_interleaved_golomb_vlc_len@GOTPAGE
Lloh9:
	ldr	x25, [x25, _ff_interleaved_golomb_vlc_len@GOTPAGEOFF]
Lloh10:
	adrp	x24, _ff_interleaved_dirac_golomb_vlc_code@GOTPAGE
Lloh11:
	ldr	x24, [x24, _ff_interleaved_dirac_golomb_vlc_code@GOTPAGEOFF]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	asr	w8, w20, #24
	ldr	w21, [x22]
	ldr	x9, [x25]
	sbfx	x20, x20, #24, #8
	sbfiz	x26, x8, #2, #32
	ldr	w0, [x9, x26]
	mov	w1, #8
	bl	_FFMIN
	mov	x2, x0
	mov	x0, x21
	mov	x1, x19
	bl	_LAST_SKIP_BITS
	ldr	x8, [x25]
	ldr	w8, [x8, x26]
	cmp	w8, #9
	b.ne	LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x24]
	ldr	w8, [x8, x20, lsl #2]
	orr	w23, w8, w23, lsl #4
	ldr	w0, [x22]
	mov	x1, x19
	bl	_UPDATE_CACHE
	ldr	w0, [x22]
	mov	x1, x19
	bl	_GET_CACHE
	lsr	w8, w23, #27
	cbnz	w8, LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x20, x0
	ldr	w0, [x22]
	mov	x1, x19
	bl	_BITS_AVAILABLE
	cbnz	x0, LBB0_3
	b	LBB0_7
LBB0_6:
	sub	w8, w8, #1
	asr	w8, w8, #1
	lsl	w8, w23, w8
	ldr	x9, [x24]
	ldr	w9, [x9, x20, lsl #2]
	orr	w23, w9, w8
LBB0_7:
	ldr	w0, [x22]
	mov	x1, x19
	bl	_CLOSE_READER
	sub	w0, w23, #1
LBB0_8:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_re,4,2                         ; @re
	.comm	_ff_interleaved_golomb_vlc_len,8,3 ; @ff_interleaved_golomb_vlc_len
	.comm	_ff_interleaved_ue_golomb_vlc_code,8,3 ; @ff_interleaved_ue_golomb_vlc_code
	.comm	_ff_interleaved_dirac_golomb_vlc_code,8,3 ; @ff_interleaved_dirac_golomb_vlc_code
	.no_dead_strip	_get_interleaved_ue_golomb
.subsections_via_symbols
