	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function spt_irq_handler
_spt_irq_handler:                       ## @spt_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	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	movq	%rdi, %r14
	movq	_SDE_HOTPLUG_MASK_SPT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%esi, %eax
	movq	_SDE_PORTE_HOTPLUG_SPT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r12d
	movl	%r12d, %ebx
	notl	%ebx
	andl	%esi, %r12d
	movl	$0, -48(%rbp)
	movl	$0, -44(%rbp)
	andl	%eax, %ebx
	je	LBB0_2
## %bb.1:
	movq	_PCH_PORT_HOTPLUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_I915_READ
	movl	%eax, %r13d
	movq	_PCH_PORT_HOTPLUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%r13d, %esi
	callq	_I915_WRITE
	movq	_hpd_spt@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	_spt_port_hotplug_long_detect@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rsp)
	leaq	-48(%rbp), %rsi
	leaq	-44(%rbp), %rdx
	movq	%r14, %rdi
	movl	%ebx, %ecx
	movl	%r13d, %r8d
	callq	_intel_get_hpd_pins
LBB0_2:
	testl	%r12d, %r12d
	je	LBB0_4
## %bb.3:
	movq	%r14, %r13
	movq	_PCH_PORT_HOTPLUG2@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	callq	_I915_READ
	movl	%eax, %ebx
	movl	(%r14), %edi
	movq	%r13, %r14
	movl	%eax, %esi
	callq	_I915_WRITE
	movq	_hpd_spt@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	_spt_port_hotplug2_long_detect@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rsp)
	leaq	-48(%rbp), %rsi
	leaq	-44(%rbp), %rdx
	movq	%r13, %rdi
	movl	%r12d, %ecx
	movl	%ebx, %r8d
	callq	_intel_get_hpd_pins
LBB0_4:
	movl	-48(%rbp), %esi
	testl	%esi, %esi
	je	LBB0_6
## %bb.5:
	movl	-44(%rbp), %edx
	movq	%r14, %rdi
	callq	_intel_hpd_irq_handler
LBB0_6:
	movq	_SDE_GMBUS_CPT@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	je	LBB0_8
## %bb.7:
	movq	%r14, %rdi
	callq	_gmbus_irq_handler
LBB0_8:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SDE_HOTPLUG_MASK_SPT,4,2       ## @SDE_HOTPLUG_MASK_SPT
	.comm	_SDE_PORTE_HOTPLUG_SPT,4,2      ## @SDE_PORTE_HOTPLUG_SPT
	.comm	_PCH_PORT_HOTPLUG,4,2           ## @PCH_PORT_HOTPLUG
	.comm	_hpd_spt,4,2                    ## @hpd_spt
	.comm	_spt_port_hotplug_long_detect,4,2 ## @spt_port_hotplug_long_detect
	.comm	_PCH_PORT_HOTPLUG2,4,2          ## @PCH_PORT_HOTPLUG2
	.comm	_spt_port_hotplug2_long_detect,4,2 ## @spt_port_hotplug2_long_detect
	.comm	_SDE_GMBUS_CPT,4,2              ## @SDE_GMBUS_CPT
	.no_dead_strip	_spt_irq_handler
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function spt_irq_handler
_spt_irq_handler:                       ; @spt_irq_handler
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _SDE_HOTPLUG_MASK_SPT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SDE_HOTPLUG_MASK_SPT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	and	w8, w8, w1
Lloh3:
	adrp	x9, _SDE_PORTE_HOTPLUG_SPT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SDE_PORTE_HOTPLUG_SPT@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	and	w21, w9, w1
	str	xzr, [sp, #8]
Lloh6:
	adrp	x24, _hpd_spt@GOTPAGE
Lloh7:
	ldr	x24, [x24, _hpd_spt@GOTPAGEOFF]
	bics	w22, w8, w9
	b.eq	LBB0_2
; %bb.1:
Lloh8:
	adrp	x25, _PCH_PORT_HOTPLUG@GOTPAGE
Lloh9:
	ldr	x25, [x25, _PCH_PORT_HOTPLUG@GOTPAGEOFF]
	ldr	w0, [x25]
	bl	_I915_READ
	mov	x23, x0
	ldr	w0, [x25]
	mov	x1, x23
	bl	_I915_WRITE
	ldr	w5, [x24]
Lloh10:
	adrp	x8, _spt_port_hotplug_long_detect@GOTPAGE
Lloh11:
	ldr	x8, [x8, _spt_port_hotplug_long_detect@GOTPAGEOFF]
Lloh12:
	ldr	w6, [x8]
	add	x1, sp, #12
	add	x2, sp, #8
	mov	x0, x19
	mov	x3, x22
	mov	x4, x23
	bl	_intel_get_hpd_pins
LBB0_2:
	cbz	w21, LBB0_4
; %bb.3:
Lloh13:
	adrp	x23, _PCH_PORT_HOTPLUG2@GOTPAGE
Lloh14:
	ldr	x23, [x23, _PCH_PORT_HOTPLUG2@GOTPAGEOFF]
	ldr	w0, [x23]
	bl	_I915_READ
	mov	x22, x0
	ldr	w0, [x23]
	mov	x1, x22
	bl	_I915_WRITE
	ldr	w5, [x24]
Lloh15:
	adrp	x8, _spt_port_hotplug2_long_detect@GOTPAGE
Lloh16:
	ldr	x8, [x8, _spt_port_hotplug2_long_detect@GOTPAGEOFF]
Lloh17:
	ldr	w6, [x8]
	add	x1, sp, #12
	add	x2, sp, #8
	mov	x0, x19
	mov	x3, x21
	mov	x4, x22
	bl	_intel_get_hpd_pins
LBB0_4:
	ldr	w1, [sp, #12]
	cbz	w1, LBB0_6
; %bb.5:
	ldr	w2, [sp, #8]
	mov	x0, x19
	bl	_intel_hpd_irq_handler
LBB0_6:
Lloh18:
	adrp	x8, _SDE_GMBUS_CPT@GOTPAGE
Lloh19:
	ldr	x8, [x8, _SDE_GMBUS_CPT@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_8
; %bb.7:
	mov	x0, x19
	bl	_gmbus_irq_handler
LBB0_8:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_SDE_HOTPLUG_MASK_SPT,4,2       ; @SDE_HOTPLUG_MASK_SPT
	.comm	_SDE_PORTE_HOTPLUG_SPT,4,2      ; @SDE_PORTE_HOTPLUG_SPT
	.comm	_PCH_PORT_HOTPLUG,4,2           ; @PCH_PORT_HOTPLUG
	.comm	_hpd_spt,4,2                    ; @hpd_spt
	.comm	_spt_port_hotplug_long_detect,4,2 ; @spt_port_hotplug_long_detect
	.comm	_PCH_PORT_HOTPLUG2,4,2          ; @PCH_PORT_HOTPLUG2
	.comm	_spt_port_hotplug2_long_detect,4,2 ; @spt_port_hotplug2_long_detect
	.comm	_SDE_GMBUS_CPT,4,2              ; @SDE_GMBUS_CPT
	.no_dead_strip	_spt_irq_handler
.subsections_via_symbols
