	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i915_hpd_irq_setup
_i915_hpd_irq_setup:                    ## @i915_hpd_irq_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	callq	_lockdep_assert_held
	movq	_hpd_mask_i915@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_intel_hpd_enabled_irqs
	movl	%eax, %r14d
	movq	%rbx, %rdi
	callq	_IS_G4X
	xorl	%edx, %edx
	testq	%rax, %rax
	movq	_CRT_HOTPLUG_ACTIVATION_PERIOD_64@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	cmovnel	%esi, %edx
	orl	%r14d, %edx
	movq	_CRT_HOTPLUG_VOLTAGE_COMPARE_50@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	_HOTPLUG_INT_EN_MASK@GOTPCREL(%rip), %rax
	movq	_CRT_HOTPLUG_VOLTAGE_COMPARE_MASK@GOTPCREL(%rip), %rcx
	orl	(%rax), %esi
	orl	(%rcx), %esi
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_i915_hotplug_interrupt_update_locked ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_hpd_mask_i915,4,2              ## @hpd_mask_i915
	.comm	_CRT_HOTPLUG_ACTIVATION_PERIOD_64,4,2 ## @CRT_HOTPLUG_ACTIVATION_PERIOD_64
	.comm	_CRT_HOTPLUG_VOLTAGE_COMPARE_50,4,2 ## @CRT_HOTPLUG_VOLTAGE_COMPARE_50
	.comm	_HOTPLUG_INT_EN_MASK,4,2        ## @HOTPLUG_INT_EN_MASK
	.comm	_CRT_HOTPLUG_VOLTAGE_COMPARE_MASK,4,2 ## @CRT_HOTPLUG_VOLTAGE_COMPARE_MASK
	.no_dead_strip	_i915_hpd_irq_setup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function i915_hpd_irq_setup
_i915_hpd_irq_setup:                    ; @i915_hpd_irq_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
	mov	x19, x0
	bl	_lockdep_assert_held
Lloh0:
	adrp	x8, _hpd_mask_i915@GOTPAGE
Lloh1:
	ldr	x8, [x8, _hpd_mask_i915@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_intel_hpd_enabled_irqs
	mov	x20, x0
	mov	x0, x19
	bl	_IS_G4X
Lloh3:
	adrp	x8, _CRT_HOTPLUG_ACTIVATION_PERIOD_64@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CRT_HOTPLUG_ACTIVATION_PERIOD_64@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	x0, #0
	csel	w9, wzr, w8, eq
	orr	w9, w9, w20
Lloh6:
	adrp	x10, _CRT_HOTPLUG_VOLTAGE_COMPARE_50@GOTPAGE
Lloh7:
	ldr	x10, [x10, _CRT_HOTPLUG_VOLTAGE_COMPARE_50@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	orr	w2, w9, w10
Lloh9:
	adrp	x9, _HOTPLUG_INT_EN_MASK@GOTPAGE
Lloh10:
	ldr	x9, [x9, _HOTPLUG_INT_EN_MASK@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
Lloh12:
	adrp	x10, _CRT_HOTPLUG_VOLTAGE_COMPARE_MASK@GOTPAGE
Lloh13:
	ldr	x10, [x10, _CRT_HOTPLUG_VOLTAGE_COMPARE_MASK@GOTPAGEOFF]
Lloh14:
	ldr	w10, [x10]
	orr	w8, w9, w8
	orr	w1, w8, w10
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_i915_hotplug_interrupt_update_locked
	.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	_hpd_mask_i915,4,2              ; @hpd_mask_i915
	.comm	_CRT_HOTPLUG_ACTIVATION_PERIOD_64,4,2 ; @CRT_HOTPLUG_ACTIVATION_PERIOD_64
	.comm	_CRT_HOTPLUG_VOLTAGE_COMPARE_50,4,2 ; @CRT_HOTPLUG_VOLTAGE_COMPARE_50
	.comm	_HOTPLUG_INT_EN_MASK,4,2        ; @HOTPLUG_INT_EN_MASK
	.comm	_CRT_HOTPLUG_VOLTAGE_COMPARE_MASK,4,2 ; @CRT_HOTPLUG_VOLTAGE_COMPARE_MASK
	.no_dead_strip	_i915_hpd_irq_setup
.subsections_via_symbols
