	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function init_entropy_decoder
LCPI0_0:
	.long	10                              ## 0xa
	.long	16384                           ## 0x4000
	.long	10                              ## 0xa
	.long	16384                           ## 0x4000
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_init_entropy_decoder:                  ## @init_entropy_decoder
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	cmpl	$3900, (%rdi)                   ## imm = 0xF3C
	jl	LBB0_4
## %bb.1:
	movl	4(%rbx), %eax
	subl	8(%rbx), %eax
	cmpl	$5, %eax
	jle	LBB0_2
## %bb.3:
	leaq	8(%rbx), %rdi
	callq	_bytestream_get_be32
	jmp	LBB0_5
LBB0_4:
	leaq	40(%rbx), %rdi
	movl	$32, %esi
	callq	_get_bits_long
                                        ## kill: def $eax killed $eax def $rax
LBB0_5:
	movl	%eax, 12(%rbx)
	movq	$0, 32(%rbx)
	movl	(%rbx), %ecx
	cmpl	$3820, %ecx                     ## imm = 0xEEC
	jle	LBB0_6
## %bb.7:
	testl	%eax, %eax
	jns	LBB0_10
## %bb.8:
	andl	$2147483647, %eax               ## imm = 0x7FFFFFFF
	movl	%eax, 12(%rbx)
	movl	4(%rbx), %eax
	subl	8(%rbx), %eax
	cmpl	$5, %eax
	jg	LBB0_9
LBB0_2:
	movq	_AVERROR_INVALIDDATA@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	jmp	LBB0_12
LBB0_6:
	movaps	LCPI0_0(%rip), %xmm0            ## xmm0 = [10,16384,10,16384]
	movups	%xmm0, 16(%rbx)
	xorl	%r14d, %r14d
	jmp	LBB0_12
LBB0_9:
	leaq	8(%rbx), %rdi
	callq	_bytestream_get_be32
	movq	%rax, 32(%rbx)
	movl	(%rbx), %ecx
LBB0_10:
	movaps	LCPI0_0(%rip), %xmm0            ## xmm0 = [10,16384,10,16384]
	movups	%xmm0, 16(%rbx)
	xorl	%r14d, %r14d
	cmpl	$3900, %ecx                     ## imm = 0xF3C
	jl	LBB0_12
## %bb.11:
	incl	8(%rbx)
	movq	%rbx, %rdi
	callq	_range_start_decoding
LBB0_12:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AVERROR_INVALIDDATA,4,2        ## @AVERROR_INVALIDDATA
	.no_dead_strip	_init_entropy_decoder
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function init_entropy_decoder
lCPI0_0:
	.long	10                              ; 0xa
	.long	16384                           ; 0x4000
	.long	10                              ; 0xa
	.long	16384                           ; 0x4000
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_init_entropy_decoder:                  ; @init_entropy_decoder
	.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	x19, x0
	ldr	w8, [x0]
	cmp	w8, #3900
	b.lt	LBB0_3
; %bb.1:
	mov	x0, x19
	ldr	w8, [x0, #8]!
	ldur	w9, [x0, #-4]
	sub	w8, w9, w8
	cmp	w8, #5
	b.le	LBB0_7
; %bb.2:
	bl	_bytestream_get_be32
	b	LBB0_4
LBB0_3:
	add	x0, x19, #40
	mov	w1, #32
	bl	_get_bits_long
                                        ; kill: def $w0 killed $w0 def $x0
LBB0_4:
	str	w0, [x19, #12]
	str	xzr, [x19, #32]
	ldr	w8, [x19]
	cmp	w8, #3820
	b.le	LBB0_8
; %bb.5:
	tbz	w0, #31, LBB0_10
; %bb.6:
	and	w8, w0, #0x7fffffff
	mov	x0, x19
	ldr	w9, [x0, #8]!
	str	w8, [x0, #4]
	ldur	w8, [x0, #-4]
	sub	w8, w8, w9
	cmp	w8, #5
	b.gt	LBB0_9
LBB0_7:
Lloh0:
	adrp	x8, _AVERROR_INVALIDDATA@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AVERROR_INVALIDDATA@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	b	LBB0_13
LBB0_8:
	mov	w0, #0
Lloh3:
	adrp	x8, lCPI0_0@PAGE
Lloh4:
	ldr	q0, [x8, lCPI0_0@PAGEOFF]
	str	q0, [x19, #16]
	b	LBB0_13
LBB0_9:
	bl	_bytestream_get_be32
	str	x0, [x19, #32]
	ldr	w8, [x19]
LBB0_10:
Lloh5:
	adrp	x9, lCPI0_0@PAGE
Lloh6:
	ldr	q0, [x9, lCPI0_0@PAGEOFF]
	str	q0, [x19, #16]
	cmp	w8, #3900
	b.lt	LBB0_12
; %bb.11:
	ldr	w8, [x19, #8]
	add	w8, w8, #1
	str	w8, [x19, #8]
	mov	x0, x19
	bl	_range_start_decoding
LBB0_12:
	mov	w0, #0
LBB0_13:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdr	Lloh3, Lloh4
	.loh AdrpLdr	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_AVERROR_INVALIDDATA,4,2        ; @AVERROR_INVALIDDATA
	.no_dead_strip	_init_entropy_decoder
.subsections_via_symbols
