	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ironlake_irq_reset
_ironlake_irq_reset:                    ## @ironlake_irq_reset
	.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
	leaq	4(%rdi), %r14
	movq	_DE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_GEN3_IRQ_RESET
	movq	%rbx, %rdi
	movl	$7, %esi
	callq	_IS_GEN
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_GEN7_ERR_INT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	$-1, %edx
	callq	_intel_uncore_write
LBB0_2:
	movq	%rbx, %rdi
	callq	_IS_HASWELL
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	_EDP_PSR_IMR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	$-1, %edx
	callq	_intel_uncore_write
	movq	_EDP_PSR_IIR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	$-1, %edx
	callq	_intel_uncore_write
LBB0_4:
	movq	%rbx, %rdi
	callq	_gen5_gt_irq_reset
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_ibx_irq_reset                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_DE,4,2                         ## @DE
	.comm	_GEN7_ERR_INT,4,2               ## @GEN7_ERR_INT
	.comm	_EDP_PSR_IMR,4,2                ## @EDP_PSR_IMR
	.comm	_EDP_PSR_IIR,4,2                ## @EDP_PSR_IIR
	.no_dead_strip	_ironlake_irq_reset
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ironlake_irq_reset
_ironlake_irq_reset:                    ; @ironlake_irq_reset
	.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
	add	x20, x0, #4
Lloh0:
	adrp	x8, _DE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_GEN3_IRQ_RESET
	mov	x0, x19
	mov	w1, #7
	bl	_IS_GEN
	cbz	x0, LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _GEN7_ERR_INT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GEN7_ERR_INT@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #-1
	bl	_intel_uncore_write
LBB0_2:
	mov	x0, x19
	bl	_IS_HASWELL
	cbz	x0, LBB0_4
; %bb.3:
Lloh6:
	adrp	x8, _EDP_PSR_IMR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EDP_PSR_IMR@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #-1
	bl	_intel_uncore_write
Lloh9:
	adrp	x8, _EDP_PSR_IIR@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EDP_PSR_IIR@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #-1
	bl	_intel_uncore_write
LBB0_4:
	mov	x0, x19
	bl	_gen5_gt_irq_reset
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ibx_irq_reset
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_DE,4,2                         ; @DE
	.comm	_GEN7_ERR_INT,4,2               ; @GEN7_ERR_INT
	.comm	_EDP_PSR_IMR,4,2                ; @EDP_PSR_IMR
	.comm	_EDP_PSR_IIR,4,2                ; @EDP_PSR_IIR
	.no_dead_strip	_ironlake_irq_reset
.subsections_via_symbols
