	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_msrle_decode                ## -- Begin function ff_msrle_decode
	.p2align	4, 0x90
_ff_msrle_decode:                       ## @ff_msrle_decode
	.cfi_startproc
## %bb.0:
	movl	%edx, %r8d
	leal	-4(%r8), %edx
	roll	$30, %edx
	cmpl	$7, %edx
	ja	LBB0_5
## %bb.1:
	movl	$170, %eax
	btl	%edx, %eax
	jae	LBB0_2
## %bb.4:
	movl	%r8d, %edx
	jmp	_msrle_decode_8_16_24_32        ## TAILCALL
LBB0_2:
	testl	%edx, %edx
	jne	LBB0_5
## %bb.3:
	movq	%rcx, %rdx
	jmp	_msrle_decode_pal4              ## TAILCALL
LBB0_5:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movl	%r8d, %ecx
	callq	_av_log
	movl	$-1, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_LOG_ERROR,4,2               ## @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unknown depth %d\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_msrle_decode                ; -- Begin function ff_msrle_decode
	.p2align	2
_ff_msrle_decode:                       ; @ff_msrle_decode
	.cfi_startproc
; %bb.0:
	mov	x8, x2
	sub	w9, w2, #4
	ror	w9, w9, #2
	cmp	w9, #7
	b.hi	LBB0_5
; %bb.1:
	mov	w10, #1
	lsl	w10, w10, w9
	mov	w11, #170
	tst	w10, w11
	b.eq	LBB0_3
; %bb.2:
	mov	x2, x8
	b	_msrle_decode_8_16_24_32
LBB0_3:
	cbnz	w9, LBB0_5
; %bb.4:
	mov	x2, x3
	b	_msrle_decode_pal4
LBB0_5:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x9, _AV_LOG_ERROR@GOTPAGE
Lloh1:
	ldr	x9, [x9, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x9]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	mov	x3, x8
	bl	_av_log
	mov	w0, #-1
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_LOG_ERROR,4,2               ; @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unknown depth %d\n"

.subsections_via_symbols
