	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ilk_hpd_detection_setup
_ilk_hpd_detection_setup:               ## @ilk_hpd_detection_setup
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_DIGITAL_PORT_HOTPLUG_CNTRL@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_I915_READ
	movq	_DIGITAL_PORTA_PULSE_DURATION_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	notl	%esi
	andl	%eax, %esi
	movq	_DIGITAL_PORTA_HOTPLUG_ENABLE@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	movq	_DIGITAL_PORTA_PULSE_DURATION_2ms@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	movl	(%rbx), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_I915_WRITE                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_DIGITAL_PORT_HOTPLUG_CNTRL,4,2 ## @DIGITAL_PORT_HOTPLUG_CNTRL
	.comm	_DIGITAL_PORTA_PULSE_DURATION_MASK,4,2 ## @DIGITAL_PORTA_PULSE_DURATION_MASK
	.comm	_DIGITAL_PORTA_HOTPLUG_ENABLE,4,2 ## @DIGITAL_PORTA_HOTPLUG_ENABLE
	.comm	_DIGITAL_PORTA_PULSE_DURATION_2ms,4,2 ## @DIGITAL_PORTA_PULSE_DURATION_2ms
	.no_dead_strip	_ilk_hpd_detection_setup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ilk_hpd_detection_setup
_ilk_hpd_detection_setup:               ; @ilk_hpd_detection_setup
	.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
Lloh0:
	adrp	x19, _DIGITAL_PORT_HOTPLUG_CNTRL@GOTPAGE
Lloh1:
	ldr	x19, [x19, _DIGITAL_PORT_HOTPLUG_CNTRL@GOTPAGEOFF]
	ldr	w0, [x19]
	bl	_I915_READ
Lloh2:
	adrp	x8, _DIGITAL_PORTA_PULSE_DURATION_MASK@GOTPAGE
Lloh3:
	ldr	x8, [x8, _DIGITAL_PORTA_PULSE_DURATION_MASK@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	bic	w8, w0, w8
Lloh5:
	adrp	x9, _DIGITAL_PORTA_HOTPLUG_ENABLE@GOTPAGE
Lloh6:
	ldr	x9, [x9, _DIGITAL_PORTA_HOTPLUG_ENABLE@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
Lloh8:
	adrp	x10, _DIGITAL_PORTA_PULSE_DURATION_2ms@GOTPAGE
Lloh9:
	ldr	x10, [x10, _DIGITAL_PORTA_PULSE_DURATION_2ms@GOTPAGEOFF]
Lloh10:
	ldr	w10, [x10]
	orr	w8, w8, w9
	orr	w1, w8, w10
	ldr	w0, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_I915_WRITE
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_DIGITAL_PORT_HOTPLUG_CNTRL,4,2 ; @DIGITAL_PORT_HOTPLUG_CNTRL
	.comm	_DIGITAL_PORTA_PULSE_DURATION_MASK,4,2 ; @DIGITAL_PORTA_PULSE_DURATION_MASK
	.comm	_DIGITAL_PORTA_HOTPLUG_ENABLE,4,2 ; @DIGITAL_PORTA_HOTPLUG_ENABLE
	.comm	_DIGITAL_PORTA_PULSE_DURATION_2ms,4,2 ; @DIGITAL_PORTA_PULSE_DURATION_2ms
	.no_dead_strip	_ilk_hpd_detection_setup
.subsections_via_symbols
