	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tc_srcctrl
_tc_srcctrl:                            ## @tc_srcctrl
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_DP0_SRCCTRL_NOTP@GOTPCREL(%rip), %rcx
	movq	_DP0_SRCCTRL_LANESKEW@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	(%rcx), %eax
	movq	_DP0_SRCCTRL_EN810B@GOTPCREL(%rip), %rdx
	xorl	%ecx, %ecx
	cmpq	$0, 16(%rdi)
	movl	$0, %esi
	je	LBB0_2
## %bb.1:
	movq	_DP0_SRCCTRL_SCRMBLDIS@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
LBB0_2:
	orl	(%rdx), %eax
	cmpq	$0, 8(%rdi)
	movl	$0, %edx
	je	LBB0_4
## %bb.3:
	movq	_DP0_SRCCTRL_SSCG@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
LBB0_4:
	orl	%esi, %eax
	movl	4(%rdi), %esi
	cmpl	$2, (%rdi)
	movl	$0, %edi
	jne	LBB0_6
## %bb.5:
	movq	_DP0_SRCCTRL_LANES_2@GOTPCREL(%rip), %rdi
	movl	(%rdi), %edi
LBB0_6:
	orl	%edi, %edx
	orl	%edx, %eax
	cmpl	$162000, %esi                   ## imm = 0x278D0
	je	LBB0_8
## %bb.7:
	movq	_DP0_SRCCTRL_BW27@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
LBB0_8:
	orl	%ecx, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DP0_SRCCTRL_NOTP,4,2           ## @DP0_SRCCTRL_NOTP
	.comm	_DP0_SRCCTRL_LANESKEW,4,2       ## @DP0_SRCCTRL_LANESKEW
	.comm	_DP0_SRCCTRL_EN810B,4,2         ## @DP0_SRCCTRL_EN810B
	.comm	_DP0_SRCCTRL_SCRMBLDIS,4,2      ## @DP0_SRCCTRL_SCRMBLDIS
	.comm	_DP0_SRCCTRL_SSCG,4,2           ## @DP0_SRCCTRL_SSCG
	.comm	_DP0_SRCCTRL_LANES_2,4,2        ## @DP0_SRCCTRL_LANES_2
	.comm	_DP0_SRCCTRL_BW27,4,2           ## @DP0_SRCCTRL_BW27
	.no_dead_strip	_tc_srcctrl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tc_srcctrl
_tc_srcctrl:                            ; @tc_srcctrl
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _DP0_SRCCTRL_NOTP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DP0_SRCCTRL_NOTP@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _DP0_SRCCTRL_LANESKEW@GOTPAGE
Lloh4:
	ldr	x9, [x9, _DP0_SRCCTRL_LANESKEW@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh6:
	adrp	x9, _DP0_SRCCTRL_EN810B@GOTPAGE
Lloh7:
	ldr	x9, [x9, _DP0_SRCCTRL_EN810B@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w8, w8, w9
	ldp	x10, x9, [x0, #8]
	cmp	x9, #0
Lloh9:
	adrp	x9, _DP0_SRCCTRL_SCRMBLDIS@GOTPAGE
Lloh10:
	ldr	x9, [x9, _DP0_SRCCTRL_SCRMBLDIS@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	csel	w9, wzr, w9, eq
	orr	w8, w8, w9
Lloh12:
	adrp	x9, _DP0_SRCCTRL_SSCG@GOTPAGE
Lloh13:
	ldr	x9, [x9, _DP0_SRCCTRL_SSCG@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	cmp	x10, #0
	csel	w9, wzr, w9, eq
	orr	w8, w8, w9
Lloh15:
	adrp	x9, _DP0_SRCCTRL_LANES_2@GOTPAGE
Lloh16:
	ldr	x9, [x9, _DP0_SRCCTRL_LANES_2@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	ldp	w10, w11, [x0]
	cmp	w10, #2
	csel	w9, w9, wzr, eq
	orr	w8, w8, w9
Lloh18:
	adrp	x9, _DP0_SRCCTRL_BW27@GOTPAGE
Lloh19:
	ldr	x9, [x9, _DP0_SRCCTRL_BW27@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	sub	w10, w11, #39, lsl #12          ; =159744
	cmp	w10, #2256
	csel	w9, wzr, w9, eq
	orr	w0, w8, w9
	ret
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.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	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_DP0_SRCCTRL_NOTP,4,2           ; @DP0_SRCCTRL_NOTP
	.comm	_DP0_SRCCTRL_LANESKEW,4,2       ; @DP0_SRCCTRL_LANESKEW
	.comm	_DP0_SRCCTRL_EN810B,4,2         ; @DP0_SRCCTRL_EN810B
	.comm	_DP0_SRCCTRL_SCRMBLDIS,4,2      ; @DP0_SRCCTRL_SCRMBLDIS
	.comm	_DP0_SRCCTRL_SSCG,4,2           ; @DP0_SRCCTRL_SSCG
	.comm	_DP0_SRCCTRL_LANES_2,4,2        ; @DP0_SRCCTRL_LANES_2
	.comm	_DP0_SRCCTRL_BW27,4,2           ; @DP0_SRCCTRL_BW27
	.no_dead_strip	_tc_srcctrl
.subsections_via_symbols
