	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function compute_is_dual_link_lvds
_compute_is_dual_link_lvds:             ## @compute_is_dual_link_lvds
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	16(%rdi), %rdi
	callq	_to_i915
	movq	%rax, %r15
	movq	_i915_modparams@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	jle	LBB0_2
## %bb.1:
	cmpl	$2, %eax
LBB0_10:
	sete	%r14b
	jmp	LBB0_11
LBB0_2:
	movq	8(%rbx), %rax
	movq	(%rax), %rax
	movb	$1, %r14b
	cmpl	$112999, (%rax)                 ## imm = 0x1B967
	jg	LBB0_11
## %bb.3:
	movq	_intel_dual_link_lvds@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_dmi_check_system
	testq	%rax, %rax
	je	LBB0_4
LBB0_11:
	movzbl	%r14b, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movl	(%rbx), %edi
	callq	_I915_READ
	movl	%eax, %r14d
	movq	%r15, %rdi
	callq	_HAS_PCH_CPT
	movq	_LVDS_DETECTED@GOTPCREL(%rip), %rcx
	testq	%rax, %rax
	jne	LBB0_5
## %bb.6:
	movq	_LVDS_PIPE_SEL_MASK@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_5:
	movq	_LVDS_PIPE_SEL_MASK_CPT@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %eax
	orl	(%rcx), %eax
	notl	%eax
	andl	%eax, %r14d
	jne	LBB0_9
## %bb.8:
	movl	(%r15), %r14d
LBB0_9:
	movq	_LVDS_CLKB_POWER_MASK@GOTPCREL(%rip), %rax
	andl	(%rax), %r14d
	movq	_LVDS_CLKB_POWER_UP@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r14d
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_i915_modparams,4,2             ## @i915_modparams
	.comm	_intel_dual_link_lvds,4,2       ## @intel_dual_link_lvds
	.comm	_LVDS_DETECTED,4,2              ## @LVDS_DETECTED
	.comm	_LVDS_PIPE_SEL_MASK_CPT,4,2     ## @LVDS_PIPE_SEL_MASK_CPT
	.comm	_LVDS_PIPE_SEL_MASK,4,2         ## @LVDS_PIPE_SEL_MASK
	.comm	_LVDS_CLKB_POWER_MASK,4,2       ## @LVDS_CLKB_POWER_MASK
	.comm	_LVDS_CLKB_POWER_UP,4,2         ## @LVDS_CLKB_POWER_UP
	.no_dead_strip	_compute_is_dual_link_lvds
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function compute_is_dual_link_lvds
_compute_is_dual_link_lvds:             ; @compute_is_dual_link_lvds
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x0
	ldr	x0, [x0, #16]
	bl	_to_i915
Lloh0:
	adrp	x8, _i915_modparams@GOTPAGE
Lloh1:
	ldr	x8, [x8, _i915_modparams@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.1:
	cmp	w8, #2
LBB0_2:
	cset	w0, eq
	b	LBB0_6
LBB0_3:
	ldr	x8, [x20, #8]
	ldr	x8, [x8]
	ldr	w8, [x8]
	mov	w9, #47463
	movk	w9, #1, lsl #16
	cmp	w8, w9
	b.gt	LBB0_5
; %bb.4:
	mov	x19, x0
Lloh3:
	adrp	x8, _intel_dual_link_lvds@GOTPAGE
Lloh4:
	ldr	x8, [x8, _intel_dual_link_lvds@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_dmi_check_system
	cbz	x0, LBB0_7
LBB0_5:
	mov	w0, #1
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_7:
	ldr	w0, [x20]
	bl	_I915_READ
	mov	x20, x0
	mov	x0, x19
	bl	_HAS_PCH_CPT
Lloh6:
	adrp	x8, _LVDS_DETECTED@GOTPAGE
Lloh7:
	ldr	x8, [x8, _LVDS_DETECTED@GOTPAGEOFF]
Lloh8:
	adrp	x9, _LVDS_PIPE_SEL_MASK@GOTPAGE
Lloh9:
	ldr	x9, [x9, _LVDS_PIPE_SEL_MASK@GOTPAGEOFF]
Lloh10:
	adrp	x10, _LVDS_PIPE_SEL_MASK_CPT@GOTPAGE
Lloh11:
	ldr	x10, [x10, _LVDS_PIPE_SEL_MASK_CPT@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	cmp	x0, #0
	csel	x9, x9, x10, eq
	ldr	w9, [x9]
	orr	w8, w9, w8
	bics	w8, w20, w8
	b.ne	LBB0_9
; %bb.8:
	ldr	w8, [x19]
LBB0_9:
Lloh13:
	adrp	x9, _LVDS_CLKB_POWER_MASK@GOTPAGE
Lloh14:
	ldr	x9, [x9, _LVDS_CLKB_POWER_MASK@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	and	w8, w9, w8
Lloh16:
	adrp	x9, _LVDS_CLKB_POWER_UP@GOTPAGE
Lloh17:
	ldr	x9, [x9, _LVDS_CLKB_POWER_UP@GOTPAGEOFF]
Lloh18:
	ldr	w9, [x9]
	cmp	w8, w9
	b	LBB0_2
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh12
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_i915_modparams,4,2             ; @i915_modparams
	.comm	_intel_dual_link_lvds,4,2       ; @intel_dual_link_lvds
	.comm	_LVDS_DETECTED,4,2              ; @LVDS_DETECTED
	.comm	_LVDS_PIPE_SEL_MASK_CPT,4,2     ; @LVDS_PIPE_SEL_MASK_CPT
	.comm	_LVDS_PIPE_SEL_MASK,4,2         ; @LVDS_PIPE_SEL_MASK
	.comm	_LVDS_CLKB_POWER_MASK,4,2       ; @LVDS_CLKB_POWER_MASK
	.comm	_LVDS_CLKB_POWER_UP,4,2         ; @LVDS_CLKB_POWER_UP
	.no_dead_strip	_compute_is_dual_link_lvds
.subsections_via_symbols
