	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_analogix_dp_set_video_cr_mn    ## -- Begin function analogix_dp_set_video_cr_mn
	.p2align	4, 0x90
_analogix_dp_set_video_cr_mn:           ## @analogix_dp_set_video_cr_mn
	.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
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movl	%edx, %r13d
	movl	%esi, %r12d
	movq	%rdi, %r15
	movq	_REGISTER_M@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_ANALOGIX_DP_SYS_CTL_4@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	addq	(%r15), %rdi
	callq	_readl
	movq	_FIX_M_VID@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	cmpl	%r12d, %ebx
	jne	LBB0_2
## %bb.1:
	orl	%eax, %edi
	movq	(%r14), %rsi
	addq	(%r15), %rsi
	callq	_writel
	movl	%r13d, %ebx
	movzbl	%bl, %edi
	movq	_ANALOGIX_DP_M_VID_0@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%r15), %rsi
	callq	_writel
	movzbl	%bh, %edi
	movq	_ANALOGIX_DP_M_VID_1@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%r15), %rsi
	callq	_writel
	shrl	$16, %ebx
	movzbl	%bl, %edi
	movq	_ANALOGIX_DP_M_VID_2@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%r15), %rsi
	callq	_writel
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	movzbl	%bl, %edi
	movq	_ANALOGIX_DP_N_VID_0@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%r15), %rsi
	callq	_writel
	movzbl	%bh, %edi
	movq	_ANALOGIX_DP_N_VID_1@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%r15), %rsi
	callq	_writel
	shrl	$16, %ebx
	movzbl	%bl, %r14d
	jmp	LBB0_3
LBB0_2:
	notl	%edi
	andl	%edi, %eax
	movq	(%r14), %rsi
	addq	(%r15), %rsi
	movl	%eax, %edi
	callq	_writel
	movq	_ANALOGIX_DP_N_VID_0@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%r15), %rsi
	xorl	%r14d, %r14d
	xorl	%edi, %edi
	callq	_writel
	movq	_ANALOGIX_DP_N_VID_1@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%r15), %rsi
	movl	$128, %edi
	callq	_writel
LBB0_3:
	movq	_ANALOGIX_DP_N_VID_2@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%r15), %rsi
	movl	%r14d, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_writel                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_REGISTER_M,4,2                 ## @REGISTER_M
	.comm	_ANALOGIX_DP_SYS_CTL_4,8,3      ## @ANALOGIX_DP_SYS_CTL_4
	.comm	_FIX_M_VID,4,2                  ## @FIX_M_VID
	.comm	_ANALOGIX_DP_M_VID_0,8,3        ## @ANALOGIX_DP_M_VID_0
	.comm	_ANALOGIX_DP_M_VID_1,8,3        ## @ANALOGIX_DP_M_VID_1
	.comm	_ANALOGIX_DP_M_VID_2,8,3        ## @ANALOGIX_DP_M_VID_2
	.comm	_ANALOGIX_DP_N_VID_0,8,3        ## @ANALOGIX_DP_N_VID_0
	.comm	_ANALOGIX_DP_N_VID_1,8,3        ## @ANALOGIX_DP_N_VID_1
	.comm	_ANALOGIX_DP_N_VID_2,8,3        ## @ANALOGIX_DP_N_VID_2
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_analogix_dp_set_video_cr_mn    ; -- Begin function analogix_dp_set_video_cr_mn
	.p2align	2
_analogix_dp_set_video_cr_mn:           ; @analogix_dp_set_video_cr_mn
	.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	x20, x3
	mov	x21, x2
	mov	x22, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _REGISTER_M@GOTPAGE
Lloh1:
	ldr	x8, [x8, _REGISTER_M@GOTPAGEOFF]
Lloh2:
	ldr	w24, [x8]
	ldr	x8, [x0]
Lloh3:
	adrp	x23, _ANALOGIX_DP_SYS_CTL_4@GOTPAGE
Lloh4:
	ldr	x23, [x23, _ANALOGIX_DP_SYS_CTL_4@GOTPAGEOFF]
	ldr	x9, [x23]
	add	x0, x9, x8
	bl	_readl
Lloh5:
	adrp	x8, _FIX_M_VID@GOTPAGE
Lloh6:
	ldr	x8, [x8, _FIX_M_VID@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	cmp	w24, w22
	b.ne	LBB0_2
; %bb.1:
	orr	w0, w8, w0
	ldr	x8, [x19]
	ldr	x9, [x23]
	add	x1, x9, x8
	bl	_writel
	and	w0, w21, #0xff
	ldr	x8, [x19]
Lloh8:
	adrp	x9, _ANALOGIX_DP_M_VID_0@GOTPAGE
Lloh9:
	ldr	x9, [x9, _ANALOGIX_DP_M_VID_0@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel
	ubfx	w0, w21, #8, #8
	ldr	x8, [x19]
Lloh11:
	adrp	x9, _ANALOGIX_DP_M_VID_1@GOTPAGE
Lloh12:
	ldr	x9, [x9, _ANALOGIX_DP_M_VID_1@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel
	ubfx	w0, w21, #16, #8
	ldr	x8, [x19]
Lloh14:
	adrp	x9, _ANALOGIX_DP_M_VID_2@GOTPAGE
Lloh15:
	ldr	x9, [x9, _ANALOGIX_DP_M_VID_2@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel
	and	w0, w20, #0xff
	ldr	x8, [x19]
Lloh17:
	adrp	x9, _ANALOGIX_DP_N_VID_0@GOTPAGE
Lloh18:
	ldr	x9, [x9, _ANALOGIX_DP_N_VID_0@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel
	ubfx	w0, w20, #8, #8
	ldr	x8, [x19]
Lloh20:
	adrp	x9, _ANALOGIX_DP_N_VID_1@GOTPAGE
Lloh21:
	ldr	x9, [x9, _ANALOGIX_DP_N_VID_1@GOTPAGEOFF]
Lloh22:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel
	ubfx	w0, w20, #16, #8
	b	LBB0_3
LBB0_2:
	bic	w0, w0, w8
	ldr	x8, [x19]
	ldr	x9, [x23]
	add	x1, x9, x8
	bl	_writel
	ldr	x8, [x19]
Lloh23:
	adrp	x9, _ANALOGIX_DP_N_VID_0@GOTPAGE
Lloh24:
	ldr	x9, [x9, _ANALOGIX_DP_N_VID_0@GOTPAGEOFF]
Lloh25:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	w0, #0
	bl	_writel
	ldr	x8, [x19]
Lloh26:
	adrp	x9, _ANALOGIX_DP_N_VID_1@GOTPAGE
Lloh27:
	ldr	x9, [x9, _ANALOGIX_DP_N_VID_1@GOTPAGEOFF]
Lloh28:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	w0, #128
	bl	_writel
	mov	w0, #0
LBB0_3:
	ldr	x8, [x19]
Lloh29:
	adrp	x9, _ANALOGIX_DP_N_VID_2@GOTPAGE
Lloh30:
	ldr	x9, [x9, _ANALOGIX_DP_N_VID_2@GOTPAGEOFF]
Lloh31:
	ldr	x9, [x9]
	add	x1, x9, 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
	b	_writel
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.cfi_endproc
                                        ; -- End function
	.comm	_REGISTER_M,4,2                 ; @REGISTER_M
	.comm	_ANALOGIX_DP_SYS_CTL_4,8,3      ; @ANALOGIX_DP_SYS_CTL_4
	.comm	_FIX_M_VID,4,2                  ; @FIX_M_VID
	.comm	_ANALOGIX_DP_M_VID_0,8,3        ; @ANALOGIX_DP_M_VID_0
	.comm	_ANALOGIX_DP_M_VID_1,8,3        ; @ANALOGIX_DP_M_VID_1
	.comm	_ANALOGIX_DP_M_VID_2,8,3        ; @ANALOGIX_DP_M_VID_2
	.comm	_ANALOGIX_DP_N_VID_0,8,3        ; @ANALOGIX_DP_N_VID_0
	.comm	_ANALOGIX_DP_N_VID_1,8,3        ; @ANALOGIX_DP_N_VID_1
	.comm	_ANALOGIX_DP_N_VID_2,8,3        ; @ANALOGIX_DP_N_VID_2
.subsections_via_symbols
