	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function intel_ddi_crt_present
_intel_ddi_crt_present:                 ## @intel_ddi_crt_present
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	callq	_INTEL_GEN
	xorl	%r14d, %r14d
	cmpl	$8, %eax
	jg	LBB0_7
## %bb.1:
	movq	%rbx, %rdi
	callq	_IS_HSW_ULT
	testq	%rax, %rax
	jne	LBB0_7
## %bb.2:
	movq	%rbx, %rdi
	callq	_IS_BDW_ULT
	testq	%rax, %rax
	je	LBB0_3
LBB0_7:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_3:
	movq	%rbx, %rdi
	callq	_HAS_PCH_LPT_H
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	_SFUSE_STRAP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_I915_READ
	movq	_SFUSE_STRAP_CRT_DISABLED@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_7
LBB0_5:
	movq	_PORT_A@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_DDI_BUF_CTL
	movl	%eax, %edi
	callq	_I915_READ
	movq	_DDI_A_4_LANES@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_7
## %bb.6:
	xorl	%r14d, %r14d
	cmpl	$0, (%rbx)
	setne	%r14b
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_SFUSE_STRAP,4,2                ## @SFUSE_STRAP
	.comm	_SFUSE_STRAP_CRT_DISABLED,4,2   ## @SFUSE_STRAP_CRT_DISABLED
	.comm	_PORT_A,4,2                     ## @PORT_A
	.comm	_DDI_A_4_LANES,4,2              ## @DDI_A_4_LANES
	.no_dead_strip	_intel_ddi_crt_present
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function intel_ddi_crt_present
_intel_ddi_crt_present:                 ; @intel_ddi_crt_present
	.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	x19, x0
	bl	_INTEL_GEN
	cmp	w0, #8
	b.gt	LBB0_3
; %bb.1:
	mov	x0, x19
	bl	_IS_HSW_ULT
	cbnz	x0, LBB0_3
; %bb.2:
	mov	x0, x19
	bl	_IS_BDW_ULT
	cbz	x0, LBB0_5
LBB0_3:
	mov	w0, #0
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_5:
	mov	x0, x19
	bl	_HAS_PCH_LPT_H
	cbz	x0, LBB0_7
; %bb.6:
Lloh0:
	adrp	x8, _SFUSE_STRAP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SFUSE_STRAP@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_I915_READ
Lloh3:
	adrp	x8, _SFUSE_STRAP_CRT_DISABLED@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SFUSE_STRAP_CRT_DISABLED@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	tst	w8, w0
	b.ne	LBB0_3
LBB0_7:
Lloh6:
	adrp	x8, _PORT_A@GOTPAGE
Lloh7:
	ldr	x8, [x8, _PORT_A@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_DDI_BUF_CTL
	bl	_I915_READ
Lloh9:
	adrp	x8, _DDI_A_4_LANES@GOTPAGE
Lloh10:
	ldr	x8, [x8, _DDI_A_4_LANES@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	tst	w8, w0
	b.ne	LBB0_3
; %bb.8:
	ldr	w8, [x19]
	cmp	w8, #0
	cset	w0, ne
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_SFUSE_STRAP,4,2                ; @SFUSE_STRAP
	.comm	_SFUSE_STRAP_CRT_DISABLED,4,2   ; @SFUSE_STRAP_CRT_DISABLED
	.comm	_PORT_A,4,2                     ; @PORT_A
	.comm	_DDI_A_4_LANES,4,2              ; @DDI_A_4_LANES
	.no_dead_strip	_intel_ddi_crt_present
.subsections_via_symbols
