	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_cv_ycbcr_matrix
_get_cv_ycbcr_matrix:                   ## @get_cv_ycbcr_matrix
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movl	(%rdi), %edi
	leal	-128(%rdi), %eax
	cmpl	$5, %eax
	ja	LBB0_3
## %bb.1:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_2:
	movq	_kCVImageBufferYCbCrMatrix_ITU_R_601_4@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_3:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_av_color_space_name
	leaq	L_.str(%rip), %rdx
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	%eax, %ecx
	callq	_av_log
	movl	$-1, %eax
	jmp	LBB0_10
LBB0_4:
	movq	$0, (%rsi)
	jmp	LBB0_9
LBB0_5:
	movq	_kCVImageBufferYCbCrMatrix_SMPTE_240M_1995@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_6:
	movq	_compat_keys@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_7:
	movq	_kCVImageBufferYCbCrMatrix_ITU_R_709_2@GOTPCREL(%rip), %rax
LBB0_8:
	movq	(%rax), %rax
	movq	%rax, (%rsi)
LBB0_9:
	xorl	%eax, %eax
LBB0_10:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
LJTI0_0:
	.long	L0_0_set_4
	.long	L0_0_set_5
	.long	L0_0_set_2
	.long	L0_0_set_7
	.long	L0_0_set_2
	.long	L0_0_set_6
	.end_data_region
                                        ## -- End function
	.comm	_kCVImageBufferYCbCrMatrix_ITU_R_709_2,8,3 ## @kCVImageBufferYCbCrMatrix_ITU_R_709_2
	.comm	_kCVImageBufferYCbCrMatrix_ITU_R_601_4,8,3 ## @kCVImageBufferYCbCrMatrix_ITU_R_601_4
	.comm	_kCVImageBufferYCbCrMatrix_SMPTE_240M_1995,8,3 ## @kCVImageBufferYCbCrMatrix_SMPTE_240M_1995
	.comm	_compat_keys,8,3                ## @compat_keys
	.comm	_AV_LOG_ERROR,4,2               ## @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Color space %s is not supported.\n"

	.no_dead_strip	_get_cv_ycbcr_matrix
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_cv_ycbcr_matrix
_get_cv_ycbcr_matrix:                   ; @get_cv_ycbcr_matrix
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	w0, [x0]
	sub	w8, w0, #128
	cmp	w8, #5
	b.hi	LBB0_3
; %bb.1:
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	mov	w0, #0
Lloh2:
	adrp	x8, _kCVImageBufferYCbCrMatrix_ITU_R_601_4@GOTPAGE
Lloh3:
	ldr	x8, [x8, _kCVImageBufferYCbCrMatrix_ITU_R_601_4@GOTPAGEOFF]
	b	LBB0_8
LBB0_3:
Lloh4:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh5:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh6:
	ldr	w20, [x8]
	bl	_av_color_space_name
	mov	x3, x0
Lloh7:
	adrp	x2, l_.str@PAGE
Lloh8:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	mov	x1, x20
	bl	_av_log
	mov	w0, #-1
	b	LBB0_9
LBB0_4:
	mov	w0, #0
	str	xzr, [x1]
	b	LBB0_9
LBB0_5:
	mov	w0, #0
Lloh9:
	adrp	x8, _kCVImageBufferYCbCrMatrix_SMPTE_240M_1995@GOTPAGE
Lloh10:
	ldr	x8, [x8, _kCVImageBufferYCbCrMatrix_SMPTE_240M_1995@GOTPAGEOFF]
	b	LBB0_8
LBB0_6:
	mov	w0, #0
Lloh11:
	adrp	x8, _compat_keys@GOTPAGE
Lloh12:
	ldr	x8, [x8, _compat_keys@GOTPAGEOFF]
	b	LBB0_8
LBB0_7:
	mov	w0, #0
Lloh13:
	adrp	x8, _kCVImageBufferYCbCrMatrix_ITU_R_709_2@GOTPAGE
Lloh14:
	ldr	x8, [x8, _kCVImageBufferYCbCrMatrix_ITU_R_709_2@GOTPAGEOFF]
LBB0_8:
	ldr	x8, [x8]
	str	x8, [x1]
LBB0_9:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
                                        ; -- End function
	.comm	_kCVImageBufferYCbCrMatrix_ITU_R_709_2,8,3 ; @kCVImageBufferYCbCrMatrix_ITU_R_709_2
	.comm	_kCVImageBufferYCbCrMatrix_ITU_R_601_4,8,3 ; @kCVImageBufferYCbCrMatrix_ITU_R_601_4
	.comm	_kCVImageBufferYCbCrMatrix_SMPTE_240M_1995,8,3 ; @kCVImageBufferYCbCrMatrix_SMPTE_240M_1995
	.comm	_compat_keys,8,3                ; @compat_keys
	.comm	_AV_LOG_ERROR,4,2               ; @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Color space %s is not supported.\n"

	.no_dead_strip	_get_cv_ycbcr_matrix
.subsections_via_symbols
