	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ivybridge_handle_parity_error
_ivybridge_handle_parity_error:         ## @ivybridge_handle_parity_error
	.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
	callq	_HAS_L3_GPU_CACHE
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	leaq	8(%rbx), %r14
	movq	%r14, %rdi
	callq	_spin_lock_irqsave
	movq	_GT_GEN7_L3_PARITY_ERROR_INTERRUPT@GOTPCREL(%rip), %rax
	movl	12(%rbx), %esi
	orl	(%rax), %esi
	movl	%esi, 12(%rbx)
	movq	_GTIMR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_I915_WRITE
	movq	%r14, %rdi
	callq	_spin_unlock_irqrestore
	movl	4(%rbx), %edi
	movq	%rbx, %rsi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_queue_work                     ## TAILCALL
LBB0_1:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GT_GEN7_L3_PARITY_ERROR_INTERRUPT,4,2 ## @GT_GEN7_L3_PARITY_ERROR_INTERRUPT
	.comm	_GTIMR,4,2                      ## @GTIMR
	.no_dead_strip	_ivybridge_handle_parity_error
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ivybridge_handle_parity_error
_ivybridge_handle_parity_error:         ; @ivybridge_handle_parity_error
	.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
	ldr	x19, [x0]
	bl	_HAS_L3_GPU_CACHE
	cbz	w0, LBB0_2
; %bb.1:
	add	x20, x19, #8
	mov	x0, x20
	bl	_spin_lock_irqsave
Lloh0:
	adrp	x8, _GT_GEN7_L3_PARITY_ERROR_INTERRUPT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GT_GEN7_L3_PARITY_ERROR_INTERRUPT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldr	w9, [x19, #12]
	orr	w1, w9, w8
	str	w1, [x19, #12]
Lloh3:
	adrp	x8, _GTIMR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GTIMR@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_I915_WRITE
	mov	x0, x20
	bl	_spin_unlock_irqrestore
	ldr	w0, [x19, #4]
	mov	x1, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_queue_work
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_GT_GEN7_L3_PARITY_ERROR_INTERRUPT,4,2 ; @GT_GEN7_L3_PARITY_ERROR_INTERRUPT
	.comm	_GTIMR,4,2                      ; @GTIMR
	.no_dead_strip	_ivybridge_handle_parity_error
.subsections_via_symbols
