	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i9xx_hpd_irq_handler
_i9xx_hpd_irq_handler:                  ## @i9xx_hpd_irq_handler
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movl	$0, -24(%rbp)
	movl	$0, -20(%rbp)
	callq	_IS_G4X
	testq	%rax, %rax
	jne	LBB0_3
## %bb.1:
	movq	%rbx, %rdi
	callq	_IS_VALLEYVIEW
	testq	%rax, %rax
	jne	LBB0_3
## %bb.2:
	movq	%rbx, %rdi
	callq	_IS_CHERRYVIEW
	testq	%rax, %rax
	je	LBB0_7
LBB0_3:
	movq	_HOTPLUG_INT_STATUS_G4X@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	andl	%r14d, %ecx
	je	LBB0_5
## %bb.4:
	movq	_hpd_status_g4x@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	_i9xx_port_hotplug_long_detect@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rsp)
	leaq	-24(%rbp), %rsi
	leaq	-20(%rbp), %rdx
	movq	%rbx, %rdi
	movl	%ecx, %r8d
	callq	_intel_get_hpd_pins
	movl	-24(%rbp), %esi
	movl	-20(%rbp), %edx
	movq	%rbx, %rdi
	callq	_intel_hpd_irq_handler
LBB0_5:
	movq	_DP_AUX_CHANNEL_MASK_INT_STATUS_G4X@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	je	LBB0_9
## %bb.6:
	movq	%rbx, %rdi
	callq	_dp_aux_irq_handler
LBB0_9:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_7:
	movq	_HOTPLUG_INT_STATUS_I915@GOTPCREL(%rip), %rax
	andl	(%rax), %r14d
	je	LBB0_9
## %bb.8:
	movq	_hpd_status_i915@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	_i9xx_port_hotplug_long_detect@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rsp)
	leaq	-24(%rbp), %rsi
	leaq	-20(%rbp), %rdx
	movq	%rbx, %rdi
	movl	%r14d, %ecx
	movl	%r14d, %r8d
	callq	_intel_get_hpd_pins
	movl	-24(%rbp), %esi
	movl	-20(%rbp), %edx
	movq	%rbx, %rdi
	callq	_intel_hpd_irq_handler
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.comm	_HOTPLUG_INT_STATUS_G4X,4,2     ## @HOTPLUG_INT_STATUS_G4X
	.comm	_hpd_status_g4x,4,2             ## @hpd_status_g4x
	.comm	_i9xx_port_hotplug_long_detect,4,2 ## @i9xx_port_hotplug_long_detect
	.comm	_DP_AUX_CHANNEL_MASK_INT_STATUS_G4X,4,2 ## @DP_AUX_CHANNEL_MASK_INT_STATUS_G4X
	.comm	_HOTPLUG_INT_STATUS_I915,4,2    ## @HOTPLUG_INT_STATUS_I915
	.comm	_hpd_status_i915,4,2            ## @hpd_status_i915
	.no_dead_strip	_i9xx_hpd_irq_handler
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function i9xx_hpd_irq_handler
_i9xx_hpd_irq_handler:                  ; @i9xx_hpd_irq_handler
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	mov	x19, x0
	str	xzr, [sp, #8]
	bl	_IS_G4X
	cbnz	x0, LBB0_3
; %bb.1:
	mov	x0, x19
	bl	_IS_VALLEYVIEW
	cbnz	x0, LBB0_3
; %bb.2:
	mov	x0, x19
	bl	_IS_CHERRYVIEW
	cbz	x0, LBB0_8
LBB0_3:
Lloh0:
	adrp	x8, _HOTPLUG_INT_STATUS_G4X@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HOTPLUG_INT_STATUS_G4X@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ands	w3, w8, w20
	b.eq	LBB0_5
; %bb.4:
Lloh3:
	adrp	x8, _hpd_status_g4x@GOTPAGE
Lloh4:
	ldr	x8, [x8, _hpd_status_g4x@GOTPAGEOFF]
Lloh5:
	ldr	w5, [x8]
Lloh6:
	adrp	x8, _i9xx_port_hotplug_long_detect@GOTPAGE
Lloh7:
	ldr	x8, [x8, _i9xx_port_hotplug_long_detect@GOTPAGEOFF]
Lloh8:
	ldr	w6, [x8]
	add	x1, sp, #12
	add	x2, sp, #8
	mov	x0, x19
	mov	x4, x3
	bl	_intel_get_hpd_pins
	ldp	w2, w1, [sp, #8]
	mov	x0, x19
	bl	_intel_hpd_irq_handler
LBB0_5:
Lloh9:
	adrp	x8, _DP_AUX_CHANNEL_MASK_INT_STATUS_G4X@GOTPAGE
Lloh10:
	ldr	x8, [x8, _DP_AUX_CHANNEL_MASK_INT_STATUS_G4X@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_7
; %bb.6:
	mov	x0, x19
	bl	_dp_aux_irq_handler
LBB0_7:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_8:
Lloh12:
	adrp	x8, _HOTPLUG_INT_STATUS_I915@GOTPAGE
Lloh13:
	ldr	x8, [x8, _HOTPLUG_INT_STATUS_I915@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	ands	w3, w8, w20
	b.eq	LBB0_7
; %bb.9:
Lloh15:
	adrp	x8, _hpd_status_i915@GOTPAGE
Lloh16:
	ldr	x8, [x8, _hpd_status_i915@GOTPAGEOFF]
Lloh17:
	ldr	w5, [x8]
Lloh18:
	adrp	x8, _i9xx_port_hotplug_long_detect@GOTPAGE
Lloh19:
	ldr	x8, [x8, _i9xx_port_hotplug_long_detect@GOTPAGEOFF]
Lloh20:
	ldr	w6, [x8]
	add	x1, sp, #12
	add	x2, sp, #8
	mov	x0, x19
	mov	x4, x3
	bl	_intel_get_hpd_pins
	ldp	w2, w1, [sp, #8]
	mov	x0, x19
	bl	_intel_hpd_irq_handler
	b	LBB0_7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_HOTPLUG_INT_STATUS_G4X,4,2     ; @HOTPLUG_INT_STATUS_G4X
	.comm	_hpd_status_g4x,4,2             ; @hpd_status_g4x
	.comm	_i9xx_port_hotplug_long_detect,4,2 ; @i9xx_port_hotplug_long_detect
	.comm	_DP_AUX_CHANNEL_MASK_INT_STATUS_G4X,4,2 ; @DP_AUX_CHANNEL_MASK_INT_STATUS_G4X
	.comm	_HOTPLUG_INT_STATUS_I915,4,2    ; @HOTPLUG_INT_STATUS_I915
	.comm	_hpd_status_i915,4,2            ; @hpd_status_i915
	.no_dead_strip	_i9xx_hpd_irq_handler
.subsections_via_symbols
