	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mm_decode_frame
_mm_decode_frame:                       ## @mm_decode_frame
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	(%rcx), %r15d
	movq	_MM_PREAMBLE_SIZE@GOTPCREL(%rip), %r13
	cmpl	(%r13), %r15d
	jge	LBB0_2
## %bb.1:
	movq	_AVERROR_INVALIDDATA@GOTPCREL(%rip), %rax
	jmp	LBB0_20
LBB0_2:
	movq	%rdi, %r14
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	(%rdi), %rbx
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movq	8(%rcx), %r12
	movq	%r12, %rdi
	callq	_AV_RL16
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movslq	(%r13), %rax
	leaq	(%r12,%rax,4), %rsi
	subl	%eax, %r15d
	leaq	12(%rbx), %rdi
	movl	%r15d, %edx
	callq	_bytestream2_init
	movq	(%rbx), %rsi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_ff_reget_buffer
	testl	%eax, %eax
	js	LBB0_21
## %bb.3:
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	addl	$-128, %ecx
	cmpl	$6, %ecx
	ja	LBB0_6
## %bb.4:
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rcx,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_5:
	movq	%rbx, %rdi
	callq	_mm_decode_pal
	jmp	LBB0_19
LBB0_6:
	movq	_AVERROR_INVALIDDATA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_16
LBB0_7:
	movq	%rbx, %rdi
	movl	$1, %esi
	movl	$1, %edx
	callq	_mm_decode_intra
	jmp	LBB0_16
LBB0_8:
	movq	%rbx, %rdi
	movl	$1, %esi
	jmp	LBB0_10
LBB0_9:
	movq	%rbx, %rdi
	xorl	%esi, %esi
LBB0_10:
	xorl	%edx, %edx
	callq	_mm_decode_intra
	jmp	LBB0_16
LBB0_11:
	movq	%rbx, %rdi
	movl	$1, %esi
	movl	$1, %edx
	jmp	LBB0_15
LBB0_12:
	movq	%rbx, %rdi
	movl	$1, %esi
	jmp	LBB0_14
LBB0_13:
	movq	%rbx, %rdi
	xorl	%esi, %esi
LBB0_14:
	xorl	%edx, %edx
LBB0_15:
	callq	_mm_decode_inter
LBB0_16:
	testl	%eax, %eax
	js	LBB0_21
## %bb.17:
	movq	(%rbx), %rax
	movq	(%rax), %rax
	movl	4(%rax), %edi
	movl	8(%rbx), %esi
	movq	_AVPALETTE_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_memcpy
	movq	(%rbx), %rsi
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_av_frame_ref
	testl	%eax, %eax
	js	LBB0_21
## %bb.18:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	$1, (%rax)
LBB0_19:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
LBB0_20:
	movl	(%rax), %eax
LBB0_21:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
LJTI0_0:
	.long	L0_0_set_5
	.long	L0_0_set_7
	.long	L0_0_set_8
	.long	L0_0_set_9
	.long	L0_0_set_11
	.long	L0_0_set_12
	.long	L0_0_set_13
	.end_data_region
                                        ## -- End function
	.comm	_MM_PREAMBLE_SIZE,4,2           ## @MM_PREAMBLE_SIZE
	.comm	_AVERROR_INVALIDDATA,4,2        ## @AVERROR_INVALIDDATA
	.comm	_AVPALETTE_SIZE,4,2             ## @AVPALETTE_SIZE
	.no_dead_strip	_mm_decode_frame
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mm_decode_frame
_mm_decode_frame:                       ; @mm_decode_frame
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	ldr	w26, [x3]
Lloh0:
	adrp	x27, _MM_PREAMBLE_SIZE@GOTPAGE
Lloh1:
	ldr	x27, [x27, _MM_PREAMBLE_SIZE@GOTPAGEOFF]
	ldr	w8, [x27]
	cmp	w26, w8
	b.ge	LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _AVERROR_INVALIDDATA@GOTPAGE
Lloh3:
	ldr	x8, [x8, _AVERROR_INVALIDDATA@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	b	LBB0_20
LBB0_2:
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x23, x0
	ldr	x22, [x0]
	ldr	x25, [x3, #8]
	mov	x0, x25
	bl	_AV_RL16
	mov	x24, x0
	ldrsw	x8, [x27]
	add	x1, x25, x8, lsl #2
	sub	w2, w26, w8
	add	x0, x22, #12
	bl	_bytestream2_init
	ldr	x1, [x22]
	mov	x0, x23
	mov	w2, #0
	bl	_ff_reget_buffer
	tbnz	w0, #31, LBB0_20
; %bb.3:
	sub	w8, w24, #128
	cmp	w8, #6
	b.hi	LBB0_6
; %bb.4:
Lloh5:
	adrp	x9, lJTI0_0@PAGE
Lloh6:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_5
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_5:
	mov	x0, x22
	bl	_mm_decode_pal
	b	LBB0_19
LBB0_6:
Lloh7:
	adrp	x8, _AVERROR_INVALIDDATA@GOTPAGE
Lloh8:
	ldr	x8, [x8, _AVERROR_INVALIDDATA@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	b	LBB0_16
LBB0_7:
	mov	x0, x22
	mov	w1, #1
	mov	w2, #1
	bl	_mm_decode_intra
	b	LBB0_16
LBB0_8:
	mov	x0, x22
	mov	w1, #1
	b	LBB0_10
LBB0_9:
	mov	x0, x22
	mov	w1, #0
LBB0_10:
	mov	w2, #0
	bl	_mm_decode_intra
	b	LBB0_16
LBB0_11:
	mov	x0, x22
	mov	w1, #1
	mov	w2, #1
	b	LBB0_15
LBB0_12:
	mov	x0, x22
	mov	w1, #1
	b	LBB0_14
LBB0_13:
	mov	x0, x22
	mov	w1, #0
LBB0_14:
	mov	w2, #0
LBB0_15:
	bl	_mm_decode_inter
LBB0_16:
	tbnz	w0, #31, LBB0_20
; %bb.17:
	ldr	x8, [x22]
	ldr	x8, [x8]
	ldr	w0, [x8, #4]
	ldr	w1, [x22, #8]
Lloh10:
	adrp	x8, _AVPALETTE_SIZE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _AVPALETTE_SIZE@GOTPAGEOFF]
Lloh12:
	ldr	w2, [x8]
	bl	_memcpy
	ldr	x1, [x22]
	mov	x0, x21
	bl	_av_frame_ref
	tbnz	w0, #31, LBB0_20
; %bb.18:
	mov	w8, #1
	str	w8, [x20]
LBB0_19:
	ldr	w0, [x19]
LBB0_20:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_5-LBB0_5)>>2
	.byte	(LBB0_7-LBB0_5)>>2
	.byte	(LBB0_8-LBB0_5)>>2
	.byte	(LBB0_9-LBB0_5)>>2
	.byte	(LBB0_11-LBB0_5)>>2
	.byte	(LBB0_12-LBB0_5)>>2
	.byte	(LBB0_13-LBB0_5)>>2
                                        ; -- End function
	.comm	_MM_PREAMBLE_SIZE,4,2           ; @MM_PREAMBLE_SIZE
	.comm	_AVERROR_INVALIDDATA,4,2        ; @AVERROR_INVALIDDATA
	.comm	_AVPALETTE_SIZE,4,2             ; @AVPALETTE_SIZE
	.no_dead_strip	_mm_decode_frame
.subsections_via_symbols
