	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ilk_hpd_irq_setup
_ilk_hpd_irq_setup:                     ## @ilk_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	_INTEL_GEN
	cmpl	$8, %eax
	jl	LBB0_2
## %bb.1:
	movq	_GEN8_PORT_DP_A_HOTPLUG@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_hpd_bdw@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_intel_hpd_enabled_irqs
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	%eax, %edx
	callq	_bdw_update_port_irq
	jmp	LBB0_6
LBB0_2:
	movq	%rbx, %rdi
	callq	_INTEL_GEN
	cmpl	$7, %eax
	jl	LBB0_4
## %bb.3:
	movq	_DE_DP_A_HOTPLUG_IVB@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_hpd_ivb@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_4:
	movq	_DE_DP_A_HOTPLUG@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_hpd_ilk@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_intel_hpd_enabled_irqs
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	%eax, %edx
	callq	_ilk_update_display_irq
LBB0_6:
	movq	%rbx, %rdi
	callq	_ilk_hpd_detection_setup
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_ibx_hpd_irq_setup              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_GEN8_PORT_DP_A_HOTPLUG,4,2     ## @GEN8_PORT_DP_A_HOTPLUG
	.comm	_hpd_bdw,4,2                    ## @hpd_bdw
	.comm	_DE_DP_A_HOTPLUG_IVB,4,2        ## @DE_DP_A_HOTPLUG_IVB
	.comm	_hpd_ivb,4,2                    ## @hpd_ivb
	.comm	_DE_DP_A_HOTPLUG,4,2            ## @DE_DP_A_HOTPLUG
	.comm	_hpd_ilk,4,2                    ## @hpd_ilk
	.no_dead_strip	_ilk_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 ilk_hpd_irq_setup
_ilk_hpd_irq_setup:                     ; @ilk_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	_INTEL_GEN
	cmp	w0, #7
	b.le	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _GEN8_PORT_DP_A_HOTPLUG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GEN8_PORT_DP_A_HOTPLUG@GOTPAGEOFF]
Lloh2:
	ldr	w20, [x8]
Lloh3:
	adrp	x8, _hpd_bdw@GOTPAGE
Lloh4:
	ldr	x8, [x8, _hpd_bdw@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_intel_hpd_enabled_irqs
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	bl	_bdw_update_port_irq
	b	LBB0_6
LBB0_2:
	mov	x0, x19
	bl	_INTEL_GEN
	cmp	w0, #7
	b.lt	LBB0_4
; %bb.3:
Lloh6:
	adrp	x8, _DE_DP_A_HOTPLUG_IVB@GOTPAGE
Lloh7:
	ldr	x8, [x8, _DE_DP_A_HOTPLUG_IVB@GOTPAGEOFF]
Lloh8:
	ldr	w20, [x8]
Lloh9:
	adrp	x8, _hpd_ivb@GOTPAGE
Lloh10:
	ldr	x8, [x8, _hpd_ivb@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:
Lloh11:
	adrp	x8, _DE_DP_A_HOTPLUG@GOTPAGE
Lloh12:
	ldr	x8, [x8, _DE_DP_A_HOTPLUG@GOTPAGEOFF]
Lloh13:
	ldr	w20, [x8]
Lloh14:
	adrp	x8, _hpd_ilk@GOTPAGE
Lloh15:
	ldr	x8, [x8, _hpd_ilk@GOTPAGEOFF]
LBB0_5:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_intel_hpd_enabled_irqs
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	bl	_ilk_update_display_irq
LBB0_6:
	mov	x0, x19
	bl	_ilk_hpd_detection_setup
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ibx_hpd_irq_setup
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_GEN8_PORT_DP_A_HOTPLUG,4,2     ; @GEN8_PORT_DP_A_HOTPLUG
	.comm	_hpd_bdw,4,2                    ; @hpd_bdw
	.comm	_DE_DP_A_HOTPLUG_IVB,4,2        ; @DE_DP_A_HOTPLUG_IVB
	.comm	_hpd_ivb,4,2                    ; @hpd_ivb
	.comm	_DE_DP_A_HOTPLUG,4,2            ; @DE_DP_A_HOTPLUG
	.comm	_hpd_ilk,4,2                    ; @hpd_ilk
	.no_dead_strip	_ilk_hpd_irq_setup
.subsections_via_symbols
