	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_els_decoder_init            ## -- Begin function ff_els_decoder_init
	.p2align	4, 0x90
_ff_els_decoder_init:                   ## @ff_els_decoder_init
	.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	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	cmpq	$3, %rdx
	jb	LBB0_2
## %bb.1:
	movq	%r15, %rdi
	callq	_AV_RB24
	movl	$3, %ecx
	jmp	LBB0_5
LBB0_2:
	cmpq	$2, %r14
	jne	LBB0_4
## %bb.3:
	movq	%r15, %rdi
	callq	_AV_RB16
	movl	$2, %ecx
	jmp	LBB0_5
LBB0_4:
	movq	(%r15), %rax
	movl	$1, %ecx
LBB0_5:
	movq	%rax, 16(%rbx)
	leaq	(%r15,%rcx,8), %rdx
	movq	%rdx, 48(%rbx)
	subq	%rcx, %r14
	movq	%r14, (%rbx)
	movq	$0, 40(%rbx)
	movq	_ELS_JOTS_PER_BYTE@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	movl	%ecx, 8(%rbx)
	movq	_ELS_MAX@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rsi
	movq	%rsi, 32(%rbx)
	movq	%rsi, %rdi
	subq	%rax, %rdi
	movq	_els_exp_tab@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	shlq	$5, %rcx
	subq	-8(%rcx,%rax), %rsi
	callq	_FFMIN
	movl	%eax, 24(%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ELS_JOTS_PER_BYTE,4,2          ## @ELS_JOTS_PER_BYTE
	.comm	_ELS_MAX,8,3                    ## @ELS_MAX
	.comm	_els_exp_tab,8,3                ## @els_exp_tab
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_els_decoder_init            ; -- Begin function ff_els_decoder_init
	.p2align	2
_ff_els_decoder_init:                   ; @ff_els_decoder_init
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x20, x2
	mov	x21, x1
	mov	x19, x0
	cmp	x2, #3
	b.lo	LBB0_2
; %bb.1:
	mov	x0, x21
	bl	_AV_RB24
	mov	w8, #3
	b	LBB0_5
LBB0_2:
	cmp	x20, #2
	b.ne	LBB0_4
; %bb.3:
	mov	x0, x21
	bl	_AV_RB16
	mov	w8, #2
	b	LBB0_5
LBB0_4:
	ldr	x0, [x21]
	mov	w8, #1
LBB0_5:
	str	x0, [x19, #16]
	add	x9, x21, x8, lsl #3
	str	x9, [x19, #48]
	sub	x8, x20, x8
	str	x8, [x19]
Lloh0:
	adrp	x8, _ELS_JOTS_PER_BYTE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ELS_JOTS_PER_BYTE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x19, #8]
Lloh3:
	adrp	x9, _ELS_MAX@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ELS_MAX@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	stp	x9, xzr, [x19, #32]
	sub	x0, x9, x0
Lloh6:
	adrp	x10, _els_exp_tab@GOTPAGE
Lloh7:
	ldr	x10, [x10, _els_exp_tab@GOTPAGEOFF]
Lloh8:
	ldr	x10, [x10]
	lsl	w8, w8, #2
	sub	w8, w8, #1
	ldr	x8, [x10, w8, sxtw #3]
	sub	x1, x9, x8
	bl	_FFMIN
	str	w0, [x19, #24]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ELS_JOTS_PER_BYTE,4,2          ; @ELS_JOTS_PER_BYTE
	.comm	_ELS_MAX,8,3                    ; @ELS_MAX
	.comm	_els_exp_tab,8,3                ; @els_exp_tab
.subsections_via_symbols
