	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_isom_get_vpcc_features      ## -- Begin function ff_isom_get_vpcc_features
	.p2align	4, 0x90
_ff_isom_get_vpcc_features:             ## @ff_isom_get_vpcc_features
	.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	%rcx, %r15
	movq	%rsi, %rbx
	movq	%rdi, %r13
	movl	(%rsi), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	4(%rsi), %r14d
	movq	_FF_LEVEL_UNKNOWN@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r14d
	jne	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	movq	%rdx, %rsi
	callq	_get_vp9_level
	movl	%eax, %r14d
LBB0_2:
	movl	16(%rbx), %esi
	movq	%r13, %rdi
	callq	_get_bit_depth
	movl	%eax, %r12d
	movl	12(%rbx), %edx
	movl	16(%rbx), %esi
	movq	%r13, %rdi
	callq	_get_vpx_chroma_subsampling
	movl	%eax, %r13d
	movl	8(%rbx), %edi
	callq	_get_vpx_video_full_range_flag
	testl	%r12d, %r12d
	js	LBB0_4
## %bb.3:
	testl	%r13d, %r13d
	js	LBB0_4
## %bb.5:
	movq	_FF_PROFILE_UNKNOWN@GOTPCREL(%rip), %rcx
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	cmpl	(%rcx), %edx
	movl	%edx, %ecx
	jne	LBB0_15
## %bb.6:
	movq	_VPX_SUBSAMPLING_420_VERTICAL@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %r13d
	je	LBB0_8
## %bb.7:
	movq	_VPX_SUBSAMPLING_420_COLLOCATED_WITH_LUMA@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %r13d
	je	LBB0_8
## %bb.11:
	cmpl	$8, %r12d
	jne	LBB0_12
## %bb.13:
	movq	_FF_PROFILE_VP9_1@GOTPCREL(%rip), %rcx
	jmp	LBB0_14
LBB0_4:
	movq	_AVERROR_INVALIDDATA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_16
LBB0_8:
	cmpl	$8, %r12d
	jne	LBB0_9
## %bb.10:
	movq	_FF_PROFILE_VP9_0@GOTPCREL(%rip), %rcx
	jmp	LBB0_14
LBB0_12:
	movq	_FF_PROFILE_VP9_3@GOTPCREL(%rip), %rcx
	jmp	LBB0_14
LBB0_9:
	movq	_FF_PROFILE_VP9_2@GOTPCREL(%rip), %rcx
LBB0_14:
	movl	(%rcx), %ecx
LBB0_15:
	movl	%ecx, (%r15)
	movl	%r14d, 4(%r15)
	movl	%r12d, 8(%r15)
	movl	%r13d, 12(%r15)
	movl	%eax, 16(%r15)
	xorl	%eax, %eax
LBB0_16:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FF_LEVEL_UNKNOWN,4,2           ## @FF_LEVEL_UNKNOWN
	.comm	_AVERROR_INVALIDDATA,4,2        ## @AVERROR_INVALIDDATA
	.comm	_FF_PROFILE_UNKNOWN,4,2         ## @FF_PROFILE_UNKNOWN
	.comm	_VPX_SUBSAMPLING_420_VERTICAL,4,2 ## @VPX_SUBSAMPLING_420_VERTICAL
	.comm	_VPX_SUBSAMPLING_420_COLLOCATED_WITH_LUMA,4,2 ## @VPX_SUBSAMPLING_420_COLLOCATED_WITH_LUMA
	.comm	_FF_PROFILE_VP9_0,4,2           ## @FF_PROFILE_VP9_0
	.comm	_FF_PROFILE_VP9_2,4,2           ## @FF_PROFILE_VP9_2
	.comm	_FF_PROFILE_VP9_1,4,2           ## @FF_PROFILE_VP9_1
	.comm	_FF_PROFILE_VP9_3,4,2           ## @FF_PROFILE_VP9_3
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_isom_get_vpcc_features      ; -- Begin function ff_isom_get_vpcc_features
	.p2align	2
_ff_isom_get_vpcc_features:             ; @ff_isom_get_vpcc_features
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x23, x1
	mov	x22, x0
	ldp	w24, w20, [x1]
Lloh0:
	adrp	x8, _FF_LEVEL_UNKNOWN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FF_LEVEL_UNKNOWN@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w20, w8
	b.ne	LBB0_2
; %bb.1:
	mov	x0, x23
	mov	x1, x2
	bl	_get_vp9_level
	mov	x20, x0
LBB0_2:
	ldr	w1, [x23, #16]
	mov	x0, x22
	bl	_get_bit_depth
	mov	x21, x0
	ldp	w2, w1, [x23, #12]
	mov	x0, x22
	bl	_get_vpx_chroma_subsampling
	mov	x22, x0
	ldr	w0, [x23, #8]
	bl	_get_vpx_video_full_range_flag
	tbnz	w21, #31, LBB0_7
; %bb.3:
	tbnz	w22, #31, LBB0_7
; %bb.4:
Lloh3:
	adrp	x8, _FF_PROFILE_UNKNOWN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FF_PROFILE_UNKNOWN@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w24, w8
	b.ne	LBB0_10
; %bb.5:
Lloh6:
	adrp	x8, _VPX_SUBSAMPLING_420_VERTICAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _VPX_SUBSAMPLING_420_VERTICAL@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _VPX_SUBSAMPLING_420_COLLOCATED_WITH_LUMA@GOTPAGE
Lloh10:
	ldr	x9, [x9, _VPX_SUBSAMPLING_420_COLLOCATED_WITH_LUMA@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	cmp	w22, w8
	ccmp	w22, w9, #4, ne
	b.ne	LBB0_8
; %bb.6:
Lloh12:
	adrp	x8, _FF_PROFILE_VP9_0@GOTPAGE
Lloh13:
	ldr	x8, [x8, _FF_PROFILE_VP9_0@GOTPAGEOFF]
Lloh14:
	adrp	x9, _FF_PROFILE_VP9_2@GOTPAGE
Lloh15:
	ldr	x9, [x9, _FF_PROFILE_VP9_2@GOTPAGEOFF]
	b	LBB0_9
LBB0_7:
Lloh16:
	adrp	x8, _AVERROR_INVALIDDATA@GOTPAGE
Lloh17:
	ldr	x8, [x8, _AVERROR_INVALIDDATA@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	b	LBB0_11
LBB0_8:
Lloh19:
	adrp	x8, _FF_PROFILE_VP9_1@GOTPAGE
Lloh20:
	ldr	x8, [x8, _FF_PROFILE_VP9_1@GOTPAGEOFF]
Lloh21:
	adrp	x9, _FF_PROFILE_VP9_3@GOTPAGE
Lloh22:
	ldr	x9, [x9, _FF_PROFILE_VP9_3@GOTPAGEOFF]
LBB0_9:
	cmp	w21, #8
	csel	x8, x8, x9, eq
	ldr	w24, [x8]
LBB0_10:
	mov	w8, #0
	stp	w24, w20, [x19]
	stp	w21, w22, [x19, #8]
	str	w0, [x19, #16]
LBB0_11:
	mov	x0, x8
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_FF_LEVEL_UNKNOWN,4,2           ; @FF_LEVEL_UNKNOWN
	.comm	_AVERROR_INVALIDDATA,4,2        ; @AVERROR_INVALIDDATA
	.comm	_FF_PROFILE_UNKNOWN,4,2         ; @FF_PROFILE_UNKNOWN
	.comm	_VPX_SUBSAMPLING_420_VERTICAL,4,2 ; @VPX_SUBSAMPLING_420_VERTICAL
	.comm	_VPX_SUBSAMPLING_420_COLLOCATED_WITH_LUMA,4,2 ; @VPX_SUBSAMPLING_420_COLLOCATED_WITH_LUMA
	.comm	_FF_PROFILE_VP9_0,4,2           ; @FF_PROFILE_VP9_0
	.comm	_FF_PROFILE_VP9_2,4,2           ; @FF_PROFILE_VP9_2
	.comm	_FF_PROFILE_VP9_1,4,2           ; @FF_PROFILE_VP9_1
	.comm	_FF_PROFILE_VP9_3,4,2           ; @FF_PROFILE_VP9_3
.subsections_via_symbols
