	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_komeda_select_yuv2rgb_coeffs   ## -- Begin function komeda_select_yuv2rgb_coeffs
	.p2align	4, 0x90
_komeda_select_yuv2rgb_coeffs:          ## @komeda_select_yuv2rgb_coeffs
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	cmpq	$130, %rdi
	je	LBB0_10
## %bb.1:
	movq	_DRM_COLOR_YCBCR_LIMITED_RANGE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	$129, %rdi
	je	LBB0_7
## %bb.2:
	cmpq	$128, %rdi
	jne	LBB0_3
## %bb.4:
	cmpq	%rsi, %rax
	jne	LBB0_5
## %bb.6:
	movq	_yuv2rgb_bt709_narrow@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_10:
	movq	_yuv2rgb_bt2020@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_7:
	cmpq	%rsi, %rax
	jne	LBB0_8
## %bb.9:
	movq	_yuv2rgb_bt601_narrow@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_3:
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_8:
	movq	_yuv2rgb_bt601_wide@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_5:
	movq	_yuv2rgb_bt709_wide@GOTPCREL(%rip), %rax
LBB0_11:
	movq	(%rax), %rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DRM_COLOR_YCBCR_LIMITED_RANGE,8,3 ## @DRM_COLOR_YCBCR_LIMITED_RANGE
	.comm	_yuv2rgb_bt709_narrow,8,3       ## @yuv2rgb_bt709_narrow
	.comm	_yuv2rgb_bt709_wide,8,3         ## @yuv2rgb_bt709_wide
	.comm	_yuv2rgb_bt601_narrow,8,3       ## @yuv2rgb_bt601_narrow
	.comm	_yuv2rgb_bt601_wide,8,3         ## @yuv2rgb_bt601_wide
	.comm	_yuv2rgb_bt2020,8,3             ## @yuv2rgb_bt2020
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_komeda_select_yuv2rgb_coeffs   ; -- Begin function komeda_select_yuv2rgb_coeffs
	.p2align	2
_komeda_select_yuv2rgb_coeffs:          ; @komeda_select_yuv2rgb_coeffs
	.cfi_startproc
; %bb.0:
	cmp	x0, #130
	b.eq	LBB0_4
; %bb.1:
Lloh0:
	adrp	x8, _DRM_COLOR_YCBCR_LIMITED_RANGE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DRM_COLOR_YCBCR_LIMITED_RANGE@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, #129
	b.eq	LBB0_5
; %bb.2:
	cmp	x0, #128
	b.ne	LBB0_7
; %bb.3:
Lloh3:
	adrp	x9, _yuv2rgb_bt709_narrow@GOTPAGE
Lloh4:
	ldr	x9, [x9, _yuv2rgb_bt709_narrow@GOTPAGEOFF]
Lloh5:
	adrp	x10, _yuv2rgb_bt709_wide@GOTPAGE
Lloh6:
	ldr	x10, [x10, _yuv2rgb_bt709_wide@GOTPAGEOFF]
	b	LBB0_6
LBB0_4:
Lloh7:
	adrp	x8, _yuv2rgb_bt2020@GOTPAGE
Lloh8:
	ldr	x8, [x8, _yuv2rgb_bt2020@GOTPAGEOFF]
Lloh9:
	ldr	x0, [x8]
	ret
LBB0_5:
Lloh10:
	adrp	x9, _yuv2rgb_bt601_narrow@GOTPAGE
Lloh11:
	ldr	x9, [x9, _yuv2rgb_bt601_narrow@GOTPAGEOFF]
Lloh12:
	adrp	x10, _yuv2rgb_bt601_wide@GOTPAGE
Lloh13:
	ldr	x10, [x10, _yuv2rgb_bt601_wide@GOTPAGEOFF]
LBB0_6:
	cmp	x8, x1
	csel	x8, x9, x10, eq
	ldr	x0, [x8]
	ret
LBB0_7:
	mov	x0, #0
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_DRM_COLOR_YCBCR_LIMITED_RANGE,8,3 ; @DRM_COLOR_YCBCR_LIMITED_RANGE
	.comm	_yuv2rgb_bt709_narrow,8,3       ; @yuv2rgb_bt709_narrow
	.comm	_yuv2rgb_bt709_wide,8,3         ; @yuv2rgb_bt709_wide
	.comm	_yuv2rgb_bt601_narrow,8,3       ; @yuv2rgb_bt601_narrow
	.comm	_yuv2rgb_bt601_wide,8,3         ; @yuv2rgb_bt601_wide
	.comm	_yuv2rgb_bt2020,8,3             ; @yuv2rgb_bt2020
.subsections_via_symbols
