	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mov_read_vpcc
_mov_read_vpcc:                         ## @mov_read_vpcc
	.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	%rdi, %rbx
	movq	(%rdi), %rdi
	movl	(%rdi), %eax
	xorl	%r14d, %r14d
	testl	%eax, %eax
	jle	LBB0_17
## %bb.1:
	cmpl	$4, %edx
	jg	LBB0_3
## %bb.2:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	xorl	%eax, %eax
	callq	_av_log
	jmp	LBB0_6
LBB0_3:
	movq	%rsi, %r12
	movq	8(%rdi), %rcx
	decl	%eax
	movq	(%rcx,%rax,8), %r15
	movq	%rsi, %rdi
	callq	_avio_r8
	cmpl	$1, %eax
	jne	LBB0_4
## %bb.5:
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	movl	$3, %esi
	callq	_avio_skip
	movq	%r12, %rdi
	movl	$2, %esi
	callq	_avio_skip
	movq	%r12, %rdi
	callq	_avio_r8
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	%r12, %rdi
	callq	_avio_r8
	movl	%eax, %r15d
	movq	%r12, %rdi
	callq	_avio_r8
	movl	%eax, %r13d
	movq	%r12, %rdi
	callq	_avio_r8
	movl	%eax, %ebx
	movq	%r12, %rdi
	callq	_avio_rb16
	testq	%rax, %rax
	je	LBB0_7
LBB0_6:
	movq	_AVERROR_INVALIDDATA@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	jmp	LBB0_17
LBB0_4:
	movq	(%rbx), %rdi
	movq	_AV_LOG_WARNING@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	leaq	L_.str.1(%rip), %rdx
	xorl	%r14d, %r14d
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_av_log
	jmp	LBB0_17
LBB0_7:
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	movl	-48(%rbp), %ebx                 ## 4-byte Reload
	movl	%r15d, %edi
	callq	_av_color_primaries_name
	testl	%eax, %eax
	jne	LBB0_9
## %bb.8:
	movq	_AVCOL_PRI_UNSPECIFIED@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
LBB0_9:
	movl	%r13d, %r12d
	movl	%r13d, %edi
	callq	_av_color_transfer_name
	testl	%eax, %eax
	movl	-44(%rbp), %r13d                ## 4-byte Reload
	jne	LBB0_11
## %bb.10:
	movq	_AVCOL_TRC_UNSPECIFIED@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
LBB0_11:
	movl	%r13d, %edi
	callq	_av_color_space_name
	testl	%eax, %eax
	jne	LBB0_13
## %bb.12:
	movq	_AVCOL_SPC_UNSPECIFIED@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
LBB0_13:
	testb	$1, %bl
	jne	LBB0_14
## %bb.15:
	movq	_AVCOL_RANGE_MPEG@GOTPCREL(%rip), %rax
	jmp	LBB0_16
LBB0_14:
	movq	_AVCOL_RANGE_JPEG@GOTPCREL(%rip), %rax
LBB0_16:
	movl	(%rax), %eax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rcx), %rcx
	movl	%eax, 12(%rcx)
	movl	%r15d, (%rcx)
	movl	%r12d, 4(%rcx)
	movl	%r13d, 8(%rcx)
LBB0_17:
	movl	%r14d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	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	"Empty VP Codec Configuration box\n"

	.comm	_AVERROR_INVALIDDATA,4,2        ## @AVERROR_INVALIDDATA
	.comm	_AV_LOG_WARNING,4,2             ## @AV_LOG_WARNING
L_.str.1:                               ## @.str.1
	.asciz	"Unsupported VP Codec Configuration box version %d\n"

	.comm	_AVCOL_PRI_UNSPECIFIED,4,2      ## @AVCOL_PRI_UNSPECIFIED
	.comm	_AVCOL_TRC_UNSPECIFIED,4,2      ## @AVCOL_TRC_UNSPECIFIED
	.comm	_AVCOL_SPC_UNSPECIFIED,4,2      ## @AVCOL_SPC_UNSPECIFIED
	.comm	_AVCOL_RANGE_JPEG,4,2           ## @AVCOL_RANGE_JPEG
	.comm	_AVCOL_RANGE_MPEG,4,2           ## @AVCOL_RANGE_MPEG
	.no_dead_strip	_mov_read_vpcc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mov_read_vpcc
_mov_read_vpcc:                         ; @mov_read_vpcc
	.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	x20, x0
	ldr	x0, [x0]
	ldr	w8, [x0]
	subs	w8, w8, #1
	b.lt	LBB0_3
; %bb.1:
	cmp	w2, #4
	b.gt	LBB0_4
; %bb.2:
Lloh0:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	bl	_av_log
	b	LBB0_6
LBB0_3:
	mov	w0, #0
	b	LBB0_9
LBB0_4:
	mov	x19, x1
	ldr	x9, [x0, #8]
	ldr	x24, [x9, w8, uxtw #3]
	mov	x0, x1
	bl	_avio_r8
                                        ; kill: def $w0 killed $w0 def $x0
	cmp	w0, #1
	b.ne	LBB0_7
; %bb.5:
	mov	x0, x19
	mov	w1, #3
	bl	_avio_skip
	mov	x0, x19
	mov	w1, #2
	bl	_avio_skip
	mov	x0, x19
	bl	_avio_r8
	mov	x20, x0
	mov	x0, x19
	bl	_avio_r8
	mov	x23, x0
	mov	x0, x19
	bl	_avio_r8
	mov	x22, x0
	mov	x0, x19
	bl	_avio_r8
	mov	x21, x0
	mov	x0, x19
	bl	_avio_rb16
	cbz	x0, LBB0_8
LBB0_6:
Lloh5:
	adrp	x8, _AVERROR_INVALIDDATA@GOTPAGE
Lloh6:
	ldr	x8, [x8, _AVERROR_INVALIDDATA@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	b	LBB0_9
LBB0_7:
	ldr	x8, [x20]
Lloh8:
	adrp	x9, _AV_LOG_WARNING@GOTPAGE
Lloh9:
	ldr	x9, [x9, _AV_LOG_WARNING@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x9]
	str	x0, [sp]
Lloh11:
	adrp	x2, l_.str.1@PAGE
Lloh12:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x8
	bl	_av_log
	mov	w0, #0
	b	LBB0_9
LBB0_8:
	mov	x0, x23
	bl	_av_color_primaries_name
Lloh13:
	adrp	x8, _AVCOL_PRI_UNSPECIFIED@GOTPAGE
Lloh14:
	ldr	x8, [x8, _AVCOL_PRI_UNSPECIFIED@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	cmp	w0, #0
	csel	w19, w8, w23, eq
	mov	x0, x22
	bl	_av_color_transfer_name
Lloh16:
	adrp	x8, _AVCOL_TRC_UNSPECIFIED@GOTPAGE
Lloh17:
	ldr	x8, [x8, _AVCOL_TRC_UNSPECIFIED@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	cmp	w0, #0
	csel	w22, w8, w22, eq
	mov	x0, x21
	bl	_av_color_space_name
	mov	x8, x0
	mov	w0, #0
Lloh19:
	adrp	x9, _AVCOL_SPC_UNSPECIFIED@GOTPAGE
Lloh20:
	ldr	x9, [x9, _AVCOL_SPC_UNSPECIFIED@GOTPAGEOFF]
Lloh21:
	ldr	w9, [x9]
	cmp	w8, #0
	csel	w8, w9, w21, eq
Lloh22:
	adrp	x9, _AVCOL_RANGE_JPEG@GOTPAGE
Lloh23:
	ldr	x9, [x9, _AVCOL_RANGE_JPEG@GOTPAGEOFF]
	tst	w20, #0x1
Lloh24:
	adrp	x10, _AVCOL_RANGE_MPEG@GOTPAGE
Lloh25:
	ldr	x10, [x10, _AVCOL_RANGE_MPEG@GOTPAGEOFF]
	csel	x9, x10, x9, eq
	ldr	w9, [x9]
	ldr	x10, [x24]
	stp	w19, w22, [x10]
	stp	w8, w9, [x10, #8]
LBB0_9:
	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 AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_LOG_ERROR,4,2               ; @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Empty VP Codec Configuration box\n"

	.comm	_AVERROR_INVALIDDATA,4,2        ; @AVERROR_INVALIDDATA
	.comm	_AV_LOG_WARNING,4,2             ; @AV_LOG_WARNING
l_.str.1:                               ; @.str.1
	.asciz	"Unsupported VP Codec Configuration box version %d\n"

	.comm	_AVCOL_PRI_UNSPECIFIED,4,2      ; @AVCOL_PRI_UNSPECIFIED
	.comm	_AVCOL_TRC_UNSPECIFIED,4,2      ; @AVCOL_TRC_UNSPECIFIED
	.comm	_AVCOL_SPC_UNSPECIFIED,4,2      ; @AVCOL_SPC_UNSPECIFIED
	.comm	_AVCOL_RANGE_JPEG,4,2           ; @AVCOL_RANGE_JPEG
	.comm	_AVCOL_RANGE_MPEG,4,2           ; @AVCOL_RANGE_MPEG
	.no_dead_strip	_mov_read_vpcc
.subsections_via_symbols
