	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ironlake_irq_postinstall
_ironlake_irq_postinstall:              ## @ironlake_irq_postinstall
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	callq	_INTEL_GEN
	movq	_DE_MASTER_IRQ_CONTROL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r12d
	cmpl	$7, %eax
	jl	LBB0_2
## %bb.1:
	movq	_DE_GSE_IVB@GOTPCREL(%rip), %rax
	orl	(%rax), %r12d
	movq	_DE_PCH_EVENT_IVB@GOTPCREL(%rip), %rax
	orl	(%rax), %r12d
	movq	_DE_AUX_CHANNEL_A_IVB@GOTPCREL(%rip), %rax
	orl	(%rax), %r12d
	movq	_DE_PIPEB_VBLANK_IVB@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_DE_DP_A_HOTPLUG_IVB@GOTPCREL(%rip), %rax
	movq	_DE_ERR_INT_IVB@GOTPCREL(%rip), %rcx
	movq	_DE_PIPEA_VBLANK_IVB@GOTPCREL(%rip), %rdx
	movq	_DE_PIPEC_VBLANK_IVB@GOTPCREL(%rip), %rsi
	jmp	LBB0_3
LBB0_2:
	movq	_DE_GSE@GOTPCREL(%rip), %rax
	orl	(%rax), %r12d
	movq	_DE_PCH_EVENT@GOTPCREL(%rip), %rax
	orl	(%rax), %r12d
	movq	_DE_AUX_CHANNEL_A@GOTPCREL(%rip), %rax
	orl	(%rax), %r12d
	movq	_DE_PIPEB_CRC_DONE@GOTPCREL(%rip), %rax
	orl	(%rax), %r12d
	movq	_DE_PIPEA_CRC_DONE@GOTPCREL(%rip), %rax
	orl	(%rax), %r12d
	movq	_DE_POISON@GOTPCREL(%rip), %rax
	orl	(%rax), %r12d
	movq	_DE_PIPEA_VBLANK@GOTPCREL(%rip), %rax
	movq	_DE_PIPEB_VBLANK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	orl	(%rax), %ebx
	movq	_DE_DP_A_HOTPLUG@GOTPCREL(%rip), %rax
	movq	_DE_PIPEA_FIFO_UNDERRUN@GOTPCREL(%rip), %rcx
	movq	_DE_PIPEB_FIFO_UNDERRUN@GOTPCREL(%rip), %rdx
	movq	_DE_PCU_EVENT@GOTPCREL(%rip), %rsi
LBB0_3:
	leaq	16(%r14), %r15
	orl	(%rsi), %ebx
	orl	(%rdx), %ebx
	orl	(%rcx), %ebx
	orl	(%rax), %ebx
	movq	%r14, %rdi
	callq	_IS_HASWELL
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	_EDP_PSR_IIR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_gen3_assert_iir_is_zero
	movl	12(%r14), %esi
	movq	%r14, %rdi
	callq	_intel_psr_irq_control
	movq	_DE_EDP_PSR_INT_HSW@GOTPCREL(%rip), %rax
	orl	(%rax), %r12d
LBB0_5:
	movl	%r12d, %eax
	notl	%eax
	movl	%eax, (%r14)
	movq	%r14, %rdi
	callq	_ibx_irq_pre_postinstall
	movq	_DE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r14), %edx
	orl	%r12d, %ebx
	movq	%r15, %rdi
	movl	%ebx, %ecx
	callq	_GEN3_IRQ_INIT
	leaq	8(%r14), %rdi
	callq	_gen5_gt_irq_postinstall
	movq	%r14, %rdi
	callq	_ilk_hpd_detection_setup
	movq	%r14, %rdi
	callq	_ibx_irq_postinstall
	movq	%r14, %rdi
	callq	_IS_IRONLAKE_M
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:
	leaq	4(%r14), %rbx
	movq	%rbx, %rdi
	callq	_spin_lock_irq
	movq	_DE_PCU_EVENT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_ilk_enable_display_irq
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_spin_unlock_irq                ## TAILCALL
LBB0_6:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DE_MASTER_IRQ_CONTROL,4,2      ## @DE_MASTER_IRQ_CONTROL
	.comm	_DE_GSE_IVB,4,2                 ## @DE_GSE_IVB
	.comm	_DE_PCH_EVENT_IVB,4,2           ## @DE_PCH_EVENT_IVB
	.comm	_DE_AUX_CHANNEL_A_IVB,4,2       ## @DE_AUX_CHANNEL_A_IVB
	.comm	_DE_PIPEC_VBLANK_IVB,4,2        ## @DE_PIPEC_VBLANK_IVB
	.comm	_DE_PIPEB_VBLANK_IVB,4,2        ## @DE_PIPEB_VBLANK_IVB
	.comm	_DE_PIPEA_VBLANK_IVB,4,2        ## @DE_PIPEA_VBLANK_IVB
	.comm	_DE_ERR_INT_IVB,4,2             ## @DE_ERR_INT_IVB
	.comm	_DE_DP_A_HOTPLUG_IVB,4,2        ## @DE_DP_A_HOTPLUG_IVB
	.comm	_DE_GSE,4,2                     ## @DE_GSE
	.comm	_DE_PCH_EVENT,4,2               ## @DE_PCH_EVENT
	.comm	_DE_AUX_CHANNEL_A,4,2           ## @DE_AUX_CHANNEL_A
	.comm	_DE_PIPEB_CRC_DONE,4,2          ## @DE_PIPEB_CRC_DONE
	.comm	_DE_PIPEA_CRC_DONE,4,2          ## @DE_PIPEA_CRC_DONE
	.comm	_DE_POISON,4,2                  ## @DE_POISON
	.comm	_DE_PIPEA_VBLANK,4,2            ## @DE_PIPEA_VBLANK
	.comm	_DE_PIPEB_VBLANK,4,2            ## @DE_PIPEB_VBLANK
	.comm	_DE_PCU_EVENT,4,2               ## @DE_PCU_EVENT
	.comm	_DE_PIPEB_FIFO_UNDERRUN,4,2     ## @DE_PIPEB_FIFO_UNDERRUN
	.comm	_DE_PIPEA_FIFO_UNDERRUN,4,2     ## @DE_PIPEA_FIFO_UNDERRUN
	.comm	_DE_DP_A_HOTPLUG,4,2            ## @DE_DP_A_HOTPLUG
	.comm	_EDP_PSR_IIR,4,2                ## @EDP_PSR_IIR
	.comm	_DE_EDP_PSR_INT_HSW,4,2         ## @DE_EDP_PSR_INT_HSW
	.comm	_DE,4,2                         ## @DE
	.no_dead_strip	_ironlake_irq_postinstall
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ironlake_irq_postinstall
_ironlake_irq_postinstall:              ; @ironlake_irq_postinstall
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x0
	add	x20, x0, #16
	bl	_INTEL_GEN
Lloh0:
	adrp	x8, _DE_MASTER_IRQ_CONTROL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DE_MASTER_IRQ_CONTROL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w0, #7
	b.lt	LBB0_2
; %bb.1:
Lloh3:
	adrp	x9, _DE_GSE_IVB@GOTPAGE
Lloh4:
	ldr	x9, [x9, _DE_GSE_IVB@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
Lloh6:
	adrp	x10, _DE_PCH_EVENT_IVB@GOTPAGE
Lloh7:
	ldr	x10, [x10, _DE_PCH_EVENT_IVB@GOTPAGEOFF]
	orr	w8, w9, w8
Lloh8:
	ldr	w9, [x10]
	orr	w8, w8, w9
Lloh9:
	adrp	x9, _DE_AUX_CHANNEL_A_IVB@GOTPAGE
Lloh10:
	ldr	x9, [x9, _DE_AUX_CHANNEL_A_IVB@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w22, w8, w9
Lloh12:
	adrp	x8, _DE_PIPEB_VBLANK_IVB@GOTPAGE
Lloh13:
	ldr	x8, [x8, _DE_PIPEB_VBLANK_IVB@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x8]
Lloh15:
	adrp	x8, _DE_DP_A_HOTPLUG_IVB@GOTPAGE
Lloh16:
	ldr	x8, [x8, _DE_DP_A_HOTPLUG_IVB@GOTPAGEOFF]
Lloh17:
	adrp	x10, _DE_ERR_INT_IVB@GOTPAGE
Lloh18:
	ldr	x10, [x10, _DE_ERR_INT_IVB@GOTPAGEOFF]
Lloh19:
	adrp	x11, _DE_PIPEA_VBLANK_IVB@GOTPAGE
Lloh20:
	ldr	x11, [x11, _DE_PIPEA_VBLANK_IVB@GOTPAGEOFF]
Lloh21:
	adrp	x12, _DE_PIPEC_VBLANK_IVB@GOTPAGE
Lloh22:
	ldr	x12, [x12, _DE_PIPEC_VBLANK_IVB@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:
Lloh23:
	adrp	x9, _DE_GSE@GOTPAGE
Lloh24:
	ldr	x9, [x9, _DE_GSE@GOTPAGEOFF]
Lloh25:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh26:
	adrp	x9, _DE_PCH_EVENT@GOTPAGE
Lloh27:
	ldr	x9, [x9, _DE_PCH_EVENT@GOTPAGEOFF]
Lloh28:
	ldr	w9, [x9]
Lloh29:
	adrp	x10, _DE_AUX_CHANNEL_A@GOTPAGE
Lloh30:
	ldr	x10, [x10, _DE_AUX_CHANNEL_A@GOTPAGEOFF]
	orr	w8, w8, w9
Lloh31:
	ldr	w9, [x10]
	orr	w8, w8, w9
Lloh32:
	adrp	x9, _DE_PIPEB_CRC_DONE@GOTPAGE
Lloh33:
	ldr	x9, [x9, _DE_PIPEB_CRC_DONE@GOTPAGEOFF]
Lloh34:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh35:
	adrp	x9, _DE_PIPEA_CRC_DONE@GOTPAGE
Lloh36:
	ldr	x9, [x9, _DE_PIPEA_CRC_DONE@GOTPAGEOFF]
Lloh37:
	ldr	w9, [x9]
Lloh38:
	adrp	x10, _DE_POISON@GOTPAGE
Lloh39:
	ldr	x10, [x10, _DE_POISON@GOTPAGEOFF]
	orr	w8, w8, w9
Lloh40:
	ldr	w9, [x10]
	orr	w22, w8, w9
Lloh41:
	adrp	x8, _DE_PIPEA_VBLANK@GOTPAGE
Lloh42:
	ldr	x8, [x8, _DE_PIPEA_VBLANK@GOTPAGEOFF]
Lloh43:
	ldr	w8, [x8]
Lloh44:
	adrp	x9, _DE_PIPEB_VBLANK@GOTPAGE
Lloh45:
	ldr	x9, [x9, _DE_PIPEB_VBLANK@GOTPAGEOFF]
Lloh46:
	ldr	w9, [x9]
	orr	w9, w9, w8
Lloh47:
	adrp	x8, _DE_DP_A_HOTPLUG@GOTPAGE
Lloh48:
	ldr	x8, [x8, _DE_DP_A_HOTPLUG@GOTPAGEOFF]
Lloh49:
	adrp	x10, _DE_PIPEA_FIFO_UNDERRUN@GOTPAGE
Lloh50:
	ldr	x10, [x10, _DE_PIPEA_FIFO_UNDERRUN@GOTPAGEOFF]
Lloh51:
	adrp	x11, _DE_PIPEB_FIFO_UNDERRUN@GOTPAGE
Lloh52:
	ldr	x11, [x11, _DE_PIPEB_FIFO_UNDERRUN@GOTPAGEOFF]
Lloh53:
	adrp	x12, _DE_PCU_EVENT@GOTPAGE
Lloh54:
	ldr	x12, [x12, _DE_PCU_EVENT@GOTPAGEOFF]
LBB0_3:
	ldr	w12, [x12]
	orr	w9, w9, w12
	ldr	w11, [x11]
	orr	w9, w9, w11
	ldr	w10, [x10]
	orr	w9, w9, w10
	ldr	w8, [x8]
	orr	w23, w9, w8
	mov	x0, x19
	bl	_IS_HASWELL
	cbz	x0, LBB0_5
; %bb.4:
Lloh55:
	adrp	x8, _EDP_PSR_IIR@GOTPAGE
Lloh56:
	ldr	x8, [x8, _EDP_PSR_IIR@GOTPAGEOFF]
Lloh57:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_gen3_assert_iir_is_zero
	ldr	w1, [x19, #12]
	mov	x0, x19
	bl	_intel_psr_irq_control
Lloh58:
	adrp	x8, _DE_EDP_PSR_INT_HSW@GOTPAGE
Lloh59:
	ldr	x8, [x8, _DE_EDP_PSR_INT_HSW@GOTPAGEOFF]
Lloh60:
	ldr	w8, [x8]
	orr	w22, w8, w22
LBB0_5:
	mvn	w8, w22
	str	w8, [x19]
	mov	x0, x19
	bl	_ibx_irq_pre_postinstall
Lloh61:
	adrp	x8, _DE@GOTPAGE
Lloh62:
	ldr	x8, [x8, _DE@GOTPAGEOFF]
Lloh63:
	ldr	w1, [x8]
	mov	x21, x19
	ldr	w2, [x21], #8
	orr	w3, w22, w23
	mov	x0, x20
	bl	_GEN3_IRQ_INIT
	mov	x0, x21
	bl	_gen5_gt_irq_postinstall
	mov	x0, x19
	bl	_ilk_hpd_detection_setup
	mov	x0, x19
	bl	_ibx_irq_postinstall
	mov	x0, x19
	bl	_IS_IRONLAKE_M
	cbz	x0, LBB0_7
; %bb.6:
Lloh64:
	adrp	x21, _DE_PCU_EVENT@GOTPAGE
Lloh65:
	ldr	x21, [x21, _DE_PCU_EVENT@GOTPAGEOFF]
	add	x20, x19, #4
	mov	x0, x20
	bl	_spin_lock_irq
Lloh66:
	ldr	w1, [x21]
	mov	x0, x19
	bl	_ilk_enable_display_irq
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_spin_unlock_irq
LBB0_7:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh53, Lloh54
	.loh AdrpLdrGot	Lloh51, Lloh52
	.loh AdrpLdrGot	Lloh49, Lloh50
	.loh AdrpLdrGot	Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.cfi_endproc
                                        ; -- End function
	.comm	_DE_MASTER_IRQ_CONTROL,4,2      ; @DE_MASTER_IRQ_CONTROL
	.comm	_DE_GSE_IVB,4,2                 ; @DE_GSE_IVB
	.comm	_DE_PCH_EVENT_IVB,4,2           ; @DE_PCH_EVENT_IVB
	.comm	_DE_AUX_CHANNEL_A_IVB,4,2       ; @DE_AUX_CHANNEL_A_IVB
	.comm	_DE_PIPEC_VBLANK_IVB,4,2        ; @DE_PIPEC_VBLANK_IVB
	.comm	_DE_PIPEB_VBLANK_IVB,4,2        ; @DE_PIPEB_VBLANK_IVB
	.comm	_DE_PIPEA_VBLANK_IVB,4,2        ; @DE_PIPEA_VBLANK_IVB
	.comm	_DE_ERR_INT_IVB,4,2             ; @DE_ERR_INT_IVB
	.comm	_DE_DP_A_HOTPLUG_IVB,4,2        ; @DE_DP_A_HOTPLUG_IVB
	.comm	_DE_GSE,4,2                     ; @DE_GSE
	.comm	_DE_PCH_EVENT,4,2               ; @DE_PCH_EVENT
	.comm	_DE_AUX_CHANNEL_A,4,2           ; @DE_AUX_CHANNEL_A
	.comm	_DE_PIPEB_CRC_DONE,4,2          ; @DE_PIPEB_CRC_DONE
	.comm	_DE_PIPEA_CRC_DONE,4,2          ; @DE_PIPEA_CRC_DONE
	.comm	_DE_POISON,4,2                  ; @DE_POISON
	.comm	_DE_PIPEA_VBLANK,4,2            ; @DE_PIPEA_VBLANK
	.comm	_DE_PIPEB_VBLANK,4,2            ; @DE_PIPEB_VBLANK
	.comm	_DE_PCU_EVENT,4,2               ; @DE_PCU_EVENT
	.comm	_DE_PIPEB_FIFO_UNDERRUN,4,2     ; @DE_PIPEB_FIFO_UNDERRUN
	.comm	_DE_PIPEA_FIFO_UNDERRUN,4,2     ; @DE_PIPEA_FIFO_UNDERRUN
	.comm	_DE_DP_A_HOTPLUG,4,2            ; @DE_DP_A_HOTPLUG
	.comm	_EDP_PSR_IIR,4,2                ; @EDP_PSR_IIR
	.comm	_DE_EDP_PSR_INT_HSW,4,2         ; @DE_EDP_PSR_INT_HSW
	.comm	_DE,4,2                         ; @DE
	.no_dead_strip	_ironlake_irq_postinstall
.subsections_via_symbols
