	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function armada_csc
_armada_csc:                            ## @armada_csc
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_CFG_CSC_RGB_COMPUTER@GOTPCREL(%rip), %rcx
	movq	(%rdi), %rax
	movq	_DRM_COLOR_YCBCR_BT709@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	jne	LBB0_1
## %bb.2:
	movq	_CFG_CSC_YUV_CCIR709@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_CFG_CSC_YUV_CCIR601@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
	orl	(%rcx), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CFG_CSC_RGB_COMPUTER,4,2       ## @CFG_CSC_RGB_COMPUTER
	.comm	_DRM_COLOR_YCBCR_BT709,8,3      ## @DRM_COLOR_YCBCR_BT709
	.comm	_CFG_CSC_YUV_CCIR709,4,2        ## @CFG_CSC_YUV_CCIR709
	.comm	_CFG_CSC_YUV_CCIR601,4,2        ## @CFG_CSC_YUV_CCIR601
	.no_dead_strip	_armada_csc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function armada_csc
_armada_csc:                            ; @armada_csc
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _CFG_CSC_RGB_COMPUTER@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CFG_CSC_RGB_COMPUTER@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldr	x9, [x0]
Lloh3:
	adrp	x10, _DRM_COLOR_YCBCR_BT709@GOTPAGE
Lloh4:
	ldr	x10, [x10, _DRM_COLOR_YCBCR_BT709@GOTPAGEOFF]
Lloh5:
	adrp	x11, _CFG_CSC_YUV_CCIR709@GOTPAGE
Lloh6:
	ldr	x11, [x11, _CFG_CSC_YUV_CCIR709@GOTPAGEOFF]
Lloh7:
	adrp	x12, _CFG_CSC_YUV_CCIR601@GOTPAGE
Lloh8:
	ldr	x12, [x12, _CFG_CSC_YUV_CCIR601@GOTPAGEOFF]
Lloh9:
	ldr	x10, [x10]
	cmp	x9, x10
	csel	x9, x11, x12, eq
	ldr	w9, [x9]
	orr	w0, w9, w8
	ret
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh9
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_CFG_CSC_RGB_COMPUTER,4,2       ; @CFG_CSC_RGB_COMPUTER
	.comm	_DRM_COLOR_YCBCR_BT709,8,3      ; @DRM_COLOR_YCBCR_BT709
	.comm	_CFG_CSC_YUV_CCIR709,4,2        ; @CFG_CSC_YUV_CCIR709
	.comm	_CFG_CSC_YUV_CCIR601,4,2        ; @CFG_CSC_YUV_CCIR601
	.no_dead_strip	_armada_csc
.subsections_via_symbols
