	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function mixer_cfg_rgb_fmt
LCPI0_0:
	.quad	0x3fc78d4fdf3b645a              ## double 0.184
LCPI0_1:
	.quad	0x3fe3a5e353f7ced9              ## double 0.61399999999999999
LCPI0_2:
	.quad	0x3fb020c49ba5e354              ## double 0.063
LCPI0_3:
	.quad	0xbfba1cac083126e9              ## double -0.10199999999999999
LCPI0_4:
	.quad	0xbfd5a1cac083126f              ## double -0.33800000000000002
LCPI0_5:
	.quad	0x3fdc28f5c28f5c29              ## double 0.44
LCPI0_6:
	.quad	0xbfd989374bc6a7f0              ## double -0.39900000000000002
LCPI0_7:
	.quad	0xbfa47ae147ae147b              ## double -0.040000000000000001
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_mixer_cfg_rgb_fmt:                     ## @mixer_cfg_rgb_fmt
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	%rsi, %rdi
	callq	_drm_default_rgb_quant_range
	movl	%eax, %r15d
	cmpl	$719, (%rbx)                    ## imm = 0x2CF
	jg	LBB0_2
## %bb.1:
	movq	_MXR_CFG_RGB601@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_3
LBB0_2:
	movq	_MXR_CFG_RGB709@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_MXR_CM_COEFF_Y@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movsd	LCPI0_0(%rip), %xmm0            ## xmm0 = mem[0],zero
	movsd	LCPI0_1(%rip), %xmm1            ## xmm1 = mem[0],zero
	movsd	LCPI0_2(%rip), %xmm2            ## xmm2 = mem[0],zero
	callq	_MXR_CSC_CT
	movq	_MXR_CM_COEFF_RGB_FULL@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	%r14, %rdi
	movl	%r12d, %esi
	movl	%eax, %edx
	callq	_mixer_reg_write
	movq	_MXR_CM_COEFF_CB@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movsd	LCPI0_3(%rip), %xmm0            ## xmm0 = mem[0],zero
	movsd	LCPI0_4(%rip), %xmm1            ## xmm1 = mem[0],zero
	movsd	LCPI0_5(%rip), %xmm2            ## xmm2 = mem[0],zero
	callq	_MXR_CSC_CT
	movq	%r14, %rdi
	movl	%r12d, %esi
	movl	%eax, %edx
	callq	_mixer_reg_write
	movq	_MXR_CM_COEFF_CR@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movsd	LCPI0_6(%rip), %xmm1            ## xmm1 = mem[0],zero
	movsd	LCPI0_7(%rip), %xmm2            ## xmm2 = mem[0],zero
	movsd	LCPI0_5(%rip), %xmm0            ## xmm0 = mem[0],zero
	callq	_MXR_CSC_CT
	movq	%r14, %rdi
	movl	%r12d, %esi
	movl	%eax, %edx
	callq	_mixer_reg_write
LBB0_3:
	movq	_HDMI_QUANTIZATION_RANGE_FULL@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r15d
	jne	LBB0_4
## %bb.5:
	movq	_MXR_CFG_QUANT_RANGE_FULL@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_4:
	movq	_MXR_CFG_QUANT_RANGE_LIMITED@GOTPCREL(%rip), %rax
LBB0_6:
	orl	(%rax), %ebx
	movq	_MXR_CFG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_MXR_CFG_RGB_FMT_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	movl	%ebx, %edx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mixer_reg_writemask            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MXR_CFG_RGB601,4,2             ## @MXR_CFG_RGB601
	.comm	_MXR_CFG_RGB709,4,2             ## @MXR_CFG_RGB709
	.comm	_MXR_CM_COEFF_Y,4,2             ## @MXR_CM_COEFF_Y
	.comm	_MXR_CM_COEFF_RGB_FULL,4,2      ## @MXR_CM_COEFF_RGB_FULL
	.comm	_MXR_CM_COEFF_CB,4,2            ## @MXR_CM_COEFF_CB
	.comm	_MXR_CM_COEFF_CR,4,2            ## @MXR_CM_COEFF_CR
	.comm	_HDMI_QUANTIZATION_RANGE_FULL,4,2 ## @HDMI_QUANTIZATION_RANGE_FULL
	.comm	_MXR_CFG_QUANT_RANGE_FULL,4,2   ## @MXR_CFG_QUANT_RANGE_FULL
	.comm	_MXR_CFG_QUANT_RANGE_LIMITED,4,2 ## @MXR_CFG_QUANT_RANGE_LIMITED
	.comm	_MXR_CFG,4,2                    ## @MXR_CFG
	.comm	_MXR_CFG_RGB_FMT_MASK,4,2       ## @MXR_CFG_RGB_FMT_MASK
	.no_dead_strip	_mixer_cfg_rgb_fmt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mixer_cfg_rgb_fmt
_mixer_cfg_rgb_fmt:                     ; @mixer_cfg_rgb_fmt
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [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 b8, -56
	.cfi_offset b9, -64
	mov	x21, x1
	mov	x19, x0
	mov	x0, x1
	bl	_drm_default_rgb_quant_range
	mov	x20, x0
	ldr	w8, [x21]
	cmp	w8, #719
	b.gt	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _MXR_CFG_RGB601@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MXR_CFG_RGB601@GOTPAGEOFF]
Lloh2:
	ldr	w22, [x8]
	b	LBB0_3
LBB0_2:
Lloh3:
	adrp	x8, _MXR_CFG_RGB709@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MXR_CFG_RGB709@GOTPAGEOFF]
Lloh5:
	ldr	w22, [x8]
Lloh6:
	adrp	x8, _MXR_CM_COEFF_Y@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MXR_CM_COEFF_Y@GOTPAGEOFF]
Lloh8:
	ldr	w21, [x8]
	mov	x8, #25690
	movk	x8, #57147, lsl #16
	movk	x8, #36175, lsl #32
	movk	x8, #16327, lsl #48
	fmov	d0, x8
	mov	x8, #52953
	movk	x8, #21495, lsl #16
	movk	x8, #42467, lsl #32
	movk	x8, #16355, lsl #48
	fmov	d1, x8
	mov	x8, #58196
	movk	x8, #39845, lsl #16
	movk	x8, #8388, lsl #32
	movk	x8, #16304, lsl #48
	fmov	d2, x8
	bl	_MXR_CSC_CT
Lloh9:
	adrp	x8, _MXR_CM_COEFF_RGB_FULL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MXR_CM_COEFF_RGB_FULL@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	orr	w2, w8, w0
	mov	x0, x19
	mov	x1, x21
	bl	_mixer_reg_write
Lloh12:
	adrp	x8, _MXR_CM_COEFF_CB@GOTPAGE
Lloh13:
	ldr	x8, [x8, _MXR_CM_COEFF_CB@GOTPAGEOFF]
Lloh14:
	ldr	w21, [x8]
	mov	x8, #9961
	movk	x8, #2097, lsl #16
	movk	x8, #7340, lsl #32
	movk	x8, #49082, lsl #48
	fmov	d0, x8
	mov	x8, #4719
	movk	x8, #49283, lsl #16
	movk	x8, #41418, lsl #32
	movk	x8, #49109, lsl #48
	fmov	d1, x8
	mov	x8, #23593
	movk	x8, #49807, lsl #16
	movk	x8, #10485, lsl #32
	movk	x8, #16348, lsl #48
	fmov	d8, x8
	fmov	d2, d8
	bl	_MXR_CSC_CT
	mov	x2, x0
	mov	x0, x19
	mov	x1, x21
	bl	_mixer_reg_write
Lloh15:
	adrp	x8, _MXR_CM_COEFF_CR@GOTPAGE
Lloh16:
	ldr	x8, [x8, _MXR_CM_COEFF_CR@GOTPAGEOFF]
Lloh17:
	ldr	w21, [x8]
	mov	x8, #42992
	movk	x8, #19398, lsl #16
	movk	x8, #35127, lsl #32
	movk	x8, #49113, lsl #48
	fmov	d1, x8
	mov	x8, #5243
	movk	x8, #18350, lsl #16
	movk	x8, #31457, lsl #32
	movk	x8, #49060, lsl #48
	fmov	d2, x8
	fmov	d0, d8
	bl	_MXR_CSC_CT
	mov	x2, x0
	mov	x0, x19
	mov	x1, x21
	bl	_mixer_reg_write
LBB0_3:
Lloh18:
	adrp	x8, _HDMI_QUANTIZATION_RANGE_FULL@GOTPAGE
Lloh19:
	ldr	x8, [x8, _HDMI_QUANTIZATION_RANGE_FULL@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
Lloh21:
	adrp	x9, _MXR_CFG_QUANT_RANGE_FULL@GOTPAGE
Lloh22:
	ldr	x9, [x9, _MXR_CFG_QUANT_RANGE_FULL@GOTPAGEOFF]
Lloh23:
	adrp	x10, _MXR_CFG_QUANT_RANGE_LIMITED@GOTPAGE
Lloh24:
	ldr	x10, [x10, _MXR_CFG_QUANT_RANGE_LIMITED@GOTPAGEOFF]
	cmp	w20, w8
	csel	x8, x9, x10, eq
	ldr	w8, [x8]
	orr	w2, w8, w22
Lloh25:
	adrp	x8, _MXR_CFG@GOTPAGE
Lloh26:
	ldr	x8, [x8, _MXR_CFG@GOTPAGEOFF]
Lloh27:
	adrp	x9, _MXR_CFG_RGB_FMT_MASK@GOTPAGE
Lloh28:
	ldr	x9, [x9, _MXR_CFG_RGB_FMT_MASK@GOTPAGEOFF]
Lloh29:
	ldr	w1, [x8]
Lloh30:
	ldr	w3, [x9]
	mov	x0, x19
	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	d9, d8, [sp], #64               ; 16-byte Folded Reload
	b	_mixer_reg_writemask
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh29
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_MXR_CFG_RGB601,4,2             ; @MXR_CFG_RGB601
	.comm	_MXR_CFG_RGB709,4,2             ; @MXR_CFG_RGB709
	.comm	_MXR_CM_COEFF_Y,4,2             ; @MXR_CM_COEFF_Y
	.comm	_MXR_CM_COEFF_RGB_FULL,4,2      ; @MXR_CM_COEFF_RGB_FULL
	.comm	_MXR_CM_COEFF_CB,4,2            ; @MXR_CM_COEFF_CB
	.comm	_MXR_CM_COEFF_CR,4,2            ; @MXR_CM_COEFF_CR
	.comm	_HDMI_QUANTIZATION_RANGE_FULL,4,2 ; @HDMI_QUANTIZATION_RANGE_FULL
	.comm	_MXR_CFG_QUANT_RANGE_FULL,4,2   ; @MXR_CFG_QUANT_RANGE_FULL
	.comm	_MXR_CFG_QUANT_RANGE_LIMITED,4,2 ; @MXR_CFG_QUANT_RANGE_LIMITED
	.comm	_MXR_CFG,4,2                    ; @MXR_CFG
	.comm	_MXR_CFG_RGB_FMT_MASK,4,2       ; @MXR_CFG_RGB_FMT_MASK
	.no_dead_strip	_mixer_cfg_rgb_fmt
.subsections_via_symbols
