	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ilk_has_edp_a
_ilk_has_edp_a:                         ## @ilk_has_edp_a
	.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	_IS_MOBILE
	xorl	%r14d, %r14d
	testl	%eax, %eax
	je	LBB0_5
## %bb.1:
	movq	_DP_A@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_I915_READ
	movq	_DP_DETECTED@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_5
## %bb.2:
	movq	%rbx, %rdi
	movl	$5, %esi
	callq	_IS_GEN
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	_FUSE_STRAP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_I915_READ
	movq	_ILK_eDP_A_DISABLE@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_5
LBB0_4:
	movl	$1, %r14d
LBB0_5:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DP_A,4,2                       ## @DP_A
	.comm	_DP_DETECTED,4,2                ## @DP_DETECTED
	.comm	_FUSE_STRAP,4,2                 ## @FUSE_STRAP
	.comm	_ILK_eDP_A_DISABLE,4,2          ## @ILK_eDP_A_DISABLE
	.no_dead_strip	_ilk_has_edp_a
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ilk_has_edp_a
_ilk_has_edp_a:                         ; @ilk_has_edp_a
	.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	_IS_MOBILE
	cbz	w0, LBB0_6
; %bb.1:
Lloh0:
	adrp	x8, _DP_A@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DP_A@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_I915_READ
Lloh3:
	adrp	x8, _DP_DETECTED@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DP_DETECTED@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_4
; %bb.2:
	mov	x0, x19
	mov	w1, #5
	bl	_IS_GEN
	cbz	x0, LBB0_5
; %bb.3:
Lloh6:
	adrp	x8, _FUSE_STRAP@GOTPAGE
Lloh7:
	ldr	x8, [x8, _FUSE_STRAP@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_I915_READ
Lloh9:
	adrp	x8, _ILK_eDP_A_DISABLE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ILK_eDP_A_DISABLE@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_5
LBB0_4:
	mov	w0, #0
	b	LBB0_6
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
	.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	_DP_A,4,2                       ; @DP_A
	.comm	_DP_DETECTED,4,2                ; @DP_DETECTED
	.comm	_FUSE_STRAP,4,2                 ; @FUSE_STRAP
	.comm	_ILK_eDP_A_DISABLE,4,2          ; @ILK_eDP_A_DISABLE
	.no_dead_strip	_ilk_has_edp_a
.subsections_via_symbols
