	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function x8_get_dc_rlf
_x8_get_dc_rlf:                         ## @x8_get_dc_rlf
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r15
	movq	%rdx, %r14
	movl	%esi, %ebx
	movq	%rdi, %r12
	xorl	%edi, %edi
	cmpl	$3, %esi
	setl	%dil
	callq	_av_assert2
	movq	8(%r12), %rax
	movslq	%ebx, %rbx
	movq	(%rax,%rbx,8), %rax
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	movl	4(%r12), %edi
	movl	$3, %esi
	callq	_get_bits
	movq	_j_dc_vlc@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	xorl	%edx, %edx
	cmpl	$13, (%r12)
	setl	%dl
	cltq
	shlq	$2, %rax
	addq	(%rcx,%rdx,8), %rax
	movq	8(%r12), %rcx
	movq	%rax, (%rcx,%rbx,8)
	movq	8(%r12), %rax
	movq	(%rax,%rbx,8), %rax
LBB0_2:
	movl	4(%r12), %edi
	movl	(%rax), %esi
	movq	_DC_VLC_BITS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_DC_VLC_MTD@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	callq	_get_vlc2
                                        ## kill: def $eax killed $eax def $rax
	leal	-17(%rax), %ebx
	xorl	%ecx, %ecx
	cmpl	$17, %eax
	setge	%cl
	movl	%ecx, (%r15)
	cmovll	%eax, %ebx
	testl	%ebx, %ebx
	jle	LBB0_3
## %bb.4:
	leal	1(%rbx), %esi
	shrl	%esi
	cmpl	$3, %ebx
	adcl	$-1, %esi
	movl	4(%r12), %edi
	callq	_get_bits
	movq	_dc_index_offset@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	%ebx, %edx
	movl	%eax, %esi
	sarl	%esi
	addl	(%rcx,%rdx,4), %esi
	andl	$1, %eax
	movl	%eax, %ecx
	negl	%ecx
	xorl	%esi, %ecx
	addl	%eax, %ecx
	movl	%ecx, (%r14)
	xorl	%ebx, %ebx
	jmp	LBB0_5
LBB0_3:
	movl	$0, (%r14)
	negl	%ebx
LBB0_5:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_j_dc_vlc,8,3                   ## @j_dc_vlc
	.comm	_DC_VLC_BITS,4,2                ## @DC_VLC_BITS
	.comm	_DC_VLC_MTD,4,2                 ## @DC_VLC_MTD
	.comm	_dc_index_offset,8,3            ## @dc_index_offset
	.no_dead_strip	_x8_get_dc_rlf
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function x8_get_dc_rlf
_x8_get_dc_rlf:                         ; @x8_get_dc_rlf
	.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	x21, x3
	mov	x19, x2
	mov	x22, x1
	mov	x20, x0
	cmp	w1, #3
	cset	w0, lt
	bl	_av_assert2
	ldr	x8, [x20, #8]
	ldr	x8, [x8, w22, sxtw #3]
	cbnz	x8, LBB0_2
; %bb.1:
	sxtw	x22, w22
	ldr	w0, [x20, #4]
	mov	w1, #3
	bl	_get_bits
Lloh0:
	adrp	x8, _j_dc_vlc@GOTPAGE
Lloh1:
	ldr	x8, [x8, _j_dc_vlc@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	w9, [x20]
	cmp	w9, #13
	cset	w9, lt
	ldr	x8, [x8, w9, uxtw #3]
	add	x8, x8, w0, sxtw #2
	ldr	x9, [x20, #8]
	lsl	x10, x22, #3
	str	x8, [x9, x10]
	ldr	x8, [x20, #8]
	ldr	x8, [x8, x10]
LBB0_2:
	ldr	w0, [x20, #4]
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _DC_VLC_BITS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DC_VLC_BITS@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
Lloh6:
	adrp	x8, _DC_VLC_MTD@GOTPAGE
Lloh7:
	ldr	x8, [x8, _DC_VLC_MTD@GOTPAGEOFF]
Lloh8:
	ldr	w3, [x8]
	bl	_get_vlc2
	mov	w8, #-17
	cmp	w0, #16
	csel	w8, w8, wzr, gt
	cset	w9, gt
	str	w9, [x21]
	add	w21, w8, w0
	cmp	w21, #0
	b.le	LBB0_4
; %bb.3:
	add	w8, w21, #1
	lsr	w8, w8, #1
	cmp	w21, #2
	cset	w9, hi
	sub	w1, w8, w9
	ldr	w0, [x20, #4]
	bl	_get_bits
	mov	x8, x0
	mov	w0, #0
Lloh9:
	adrp	x9, _dc_index_offset@GOTPAGE
Lloh10:
	ldr	x9, [x9, _dc_index_offset@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	ldr	w9, [x9, w21, uxtw #2]
	add	w9, w9, w8, asr #1
	and	w8, w8, #0x1
	neg	w10, w8
	eor	w9, w9, w10
	add	w8, w9, w8
	str	w8, [x19]
	b	LBB0_5
LBB0_4:
	str	wzr, [x19]
	neg	w0, w21
LBB0_5:
	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	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_j_dc_vlc,8,3                   ; @j_dc_vlc
	.comm	_DC_VLC_BITS,4,2                ; @DC_VLC_BITS
	.comm	_DC_VLC_MTD,4,2                 ; @DC_VLC_MTD
	.comm	_dc_index_offset,8,3            ; @dc_index_offset
	.no_dead_strip	_x8_get_dc_rlf
.subsections_via_symbols
