	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mvc_decode_frame
_mvc_decode_frame:                      ## @mvc_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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r15
	movq	%rdx, %r14
	movq	%rsi, %r12
	movq	%rdi, %rbx
	movq	16(%rdi), %r13
	xorl	%edx, %edx
	callq	_ff_get_buffer
	testl	%eax, %eax
	js	LBB0_6
## %bb.1:
	movl	(%r15), %edx
	movl	4(%r15), %esi
	leaq	-44(%rbp), %rdi
	callq	_bytestream2_init
	movq	(%rbx), %rax
	movq	_AV_CODEC_ID_MVC1@GOTPCREL(%rip), %rsi
	movq	8(%r12), %rdi
	movq	16(%r12), %rcx
	movl	(%rcx), %edx
	movl	12(%rbx), %ecx
	movl	8(%rbx), %r8d
	movl	(%rdi), %r9d
	cmpq	(%rsi), %rax
	jne	LBB0_3
## %bb.2:
	leaq	-44(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_decode_mvc1
	testl	%eax, %eax
	jns	LBB0_5
	jmp	LBB0_6
LBB0_3:
	movl	(%r13), %eax
	movl	%eax, (%rsp)
	leaq	-44(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_decode_mvc2
	testl	%eax, %eax
	js	LBB0_6
LBB0_5:
	movq	_AV_PICTURE_TYPE_I@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%r12)
	movl	$1, (%r12)
	movl	$1, (%r14)
	movl	(%r15), %eax
LBB0_6:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_CODEC_ID_MVC1,8,3           ## @AV_CODEC_ID_MVC1
	.comm	_AV_PICTURE_TYPE_I,4,2          ## @AV_PICTURE_TYPE_I
	.no_dead_strip	_mvc_decode_frame
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mvc_decode_frame
_mvc_decode_frame:                      ; @mvc_decode_frame
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
	ldr	x23, [x0, #16]
	mov	w2, #0
	bl	_ff_get_buffer
	tbnz	w0, #31, LBB0_5
; %bb.1:
	ldp	w2, w1, [x19]
	add	x0, sp, #12
	bl	_bytestream2_init
	ldr	x8, [x22]
Lloh0:
	adrp	x9, _AV_CODEC_ID_MVC1@GOTPAGE
Lloh1:
	ldr	x9, [x9, _AV_CODEC_ID_MVC1@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	ldp	x11, x10, [x21, #8]
	ldr	w2, [x10]
	ldp	w4, w3, [x22, #8]
	ldr	w5, [x11]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.2:
	add	x1, sp, #12
	mov	x0, x22
	bl	_decode_mvc1
	tbz	w0, #31, LBB0_4
	b	LBB0_5
LBB0_3:
	ldr	w6, [x23]
	add	x1, sp, #12
	mov	x0, x22
	bl	_decode_mvc2
	tbnz	w0, #31, LBB0_5
LBB0_4:
Lloh3:
	adrp	x8, _AV_PICTURE_TYPE_I@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AV_PICTURE_TYPE_I@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	mov	w9, #1
	stp	w9, w8, [x21]
	str	w9, [x20]
	ldr	w0, [x19]
LBB0_5:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_CODEC_ID_MVC1,8,3           ; @AV_CODEC_ID_MVC1
	.comm	_AV_PICTURE_TYPE_I,4,2          ; @AV_PICTURE_TYPE_I
	.no_dead_strip	_mvc_decode_frame
.subsections_via_symbols
