	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gen7_parity_error_irq_handler
_gen7_parity_error_irq_handler:         ## @gen7_parity_error_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movq	(%rdi), %rdi
	callq	_HAS_L3_DPF
	testl	%eax, %eax
	je	LBB0_6
## %bb.1:
	leaq	8(%rbx), %r15
	movq	%r15, %rdi
	callq	_spin_lock
	movq	(%rbx), %rdi
	callq	_GT_PARITY_ERROR
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_gen5_gt_disable_irq
	movq	%r15, %rdi
	callq	_spin_unlock
	movq	_GT_RENDER_L3_PARITY_ERROR_INTERRUPT_S1@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	je	LBB0_3
## %bb.2:
	movq	(%rbx), %rax
	orl	$2, (%rax)
LBB0_3:
	movq	_GT_RENDER_L3_PARITY_ERROR_INTERRUPT@GOTPCREL(%rip), %rax
	movq	(%rbx), %rdi
	testl	%r14d, (%rax)
	je	LBB0_5
## %bb.4:
	orb	$1, (%rdi)
LBB0_5:
	addq	$4, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_schedule_work                  ## TAILCALL
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GT_RENDER_L3_PARITY_ERROR_INTERRUPT_S1,4,2 ## @GT_RENDER_L3_PARITY_ERROR_INTERRUPT_S1
	.comm	_GT_RENDER_L3_PARITY_ERROR_INTERRUPT,4,2 ## @GT_RENDER_L3_PARITY_ERROR_INTERRUPT
	.no_dead_strip	_gen7_parity_error_irq_handler
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gen7_parity_error_irq_handler
_gen7_parity_error_irq_handler:         ; @gen7_parity_error_irq_handler
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x1
	mov	x20, x0
	ldr	x0, [x0]
	bl	_HAS_L3_DPF
	cbz	w0, LBB0_6
; %bb.1:
	add	x21, x20, #8
	mov	x0, x21
	bl	_spin_lock
	ldr	x0, [x20]
	bl	_GT_PARITY_ERROR
	mov	x1, x0
	mov	x0, x20
	bl	_gen5_gt_disable_irq
	mov	x0, x21
	bl	_spin_unlock
Lloh0:
	adrp	x8, _GT_RENDER_L3_PARITY_ERROR_INTERRUPT_S1@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GT_RENDER_L3_PARITY_ERROR_INTERRUPT_S1@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w19
	b.eq	LBB0_3
; %bb.2:
	ldr	x8, [x20]
	ldr	w9, [x8]
	orr	w9, w9, #0x2
	str	w9, [x8]
LBB0_3:
Lloh3:
	adrp	x8, _GT_RENDER_L3_PARITY_ERROR_INTERRUPT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GT_RENDER_L3_PARITY_ERROR_INTERRUPT@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x8]
	ldr	x8, [x20]
	tst	w9, w19
	b.eq	LBB0_5
; %bb.4:
	ldr	w9, [x8]
	orr	w9, w9, #0x1
	str	w9, [x8]
LBB0_5:
	add	x0, x8, #4
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_schedule_work
LBB0_6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_GT_RENDER_L3_PARITY_ERROR_INTERRUPT_S1,4,2 ; @GT_RENDER_L3_PARITY_ERROR_INTERRUPT_S1
	.comm	_GT_RENDER_L3_PARITY_ERROR_INTERRUPT,4,2 ; @GT_RENDER_L3_PARITY_ERROR_INTERRUPT
	.no_dead_strip	_gen7_parity_error_irq_handler
.subsections_via_symbols
