	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mov_read_dvc1
_mov_read_dvc1:                         ## @mov_read_dvc1
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %rcx
	movl	(%rcx), %eax
	xorl	%ebx, %ebx
	testl	%eax, %eax
	jle	LBB0_3
## %bb.1:
	movl	%edx, %r15d
	leal	-268435456(%r15), %edx
	cmpl	$-268435450, %edx               ## imm = 0xF0000006
	ja	LBB0_4
## %bb.2:
	movq	_AVERROR_INVALIDDATA@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_3
LBB0_4:
	movq	%rsi, %r14
	movq	%rdi, %r12
	movq	8(%rcx), %rcx
	decl	%eax
	movq	(%rcx,%rax,8), %r13
	movq	%rsi, %rdi
	callq	_avio_r8
	andl	$240, %eax
	cmpl	$192, %eax
	jne	LBB0_3
## %bb.5:
	movq	_SEEK_CUR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movl	$6, %esi
	callq	_avio_seek
	movq	(%r13), %rdi
	callq	_av_freep
	movq	(%r12), %rdi
	movq	(%r13), %rsi
	addl	$-7, %r15d
	movq	%r14, %rdx
	movl	%r15d, %ecx
	callq	_ff_get_extradata
	movl	%eax, %ecx
	sarl	$31, %ecx
	andl	%ecx, %eax
	jmp	LBB0_6
LBB0_3:
	movl	%ebx, %eax
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AVERROR_INVALIDDATA,4,2        ## @AVERROR_INVALIDDATA
	.comm	_SEEK_CUR,4,2                   ## @SEEK_CUR
	.no_dead_strip	_mov_read_dvc1
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mov_read_dvc1
_mov_read_dvc1:                         ; @mov_read_dvc1
	.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
	ldr	x8, [x0]
	ldr	w9, [x8]
	subs	w9, w9, #1
	b.lt	LBB0_5
; %bb.1:
	mov	x20, x2
	mov	w10, #-268435456
	mov	w11, #6
	movk	w11, #61440, lsl #16
	add	w10, w20, w10
	cmp	w10, w11
	b.hi	LBB0_3
; %bb.2:
Lloh0:
	adrp	x8, _AVERROR_INVALIDDATA@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AVERROR_INVALIDDATA@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	b	LBB0_6
LBB0_3:
	mov	x19, x1
	mov	x21, x0
	ldr	x8, [x8, #8]
	ldr	x22, [x8, w9, uxtw #3]
	mov	x0, x1
	bl	_avio_r8
	and	w8, w0, #0xf0
	cmp	w8, #192
	b.ne	LBB0_5
; %bb.4:
Lloh3:
	adrp	x8, _SEEK_CUR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SEEK_CUR@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #6
	bl	_avio_seek
	ldr	x0, [x22]
	bl	_av_freep
	ldr	x0, [x21]
	ldr	x1, [x22]
	sub	w3, w20, #7
	mov	x2, x19
	bl	_ff_get_extradata
	cmp	w0, #0
	csel	w0, w0, wzr, lt
	b	LBB0_6
LBB0_5:
	mov	w0, #0
LBB0_6:
	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	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_AVERROR_INVALIDDATA,4,2        ; @AVERROR_INVALIDDATA
	.comm	_SEEK_CUR,4,2                   ; @SEEK_CUR
	.no_dead_strip	_mov_read_dvc1
.subsections_via_symbols
