	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snb_gt_irq_handler
_snb_gt_irq_handler:                    ## @snb_gt_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	%edx, %ebx
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	_GEN6_RENDER_USER_INTERRUPT@GOTPCREL(%rip), %rax
	movq	_GEN6_RENDER_PIPE_CONTROL_NOTIFY_INTERRUPT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	testl	%edx, %ecx
	je	LBB0_2
## %bb.1:
	movq	_RCS@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	shlq	$2, %rsi
	addq	(%r15), %rsi
	movq	%r14, %rdi
	callq	_notify_ring
LBB0_2:
	movq	_GEN6_BSD_USER_INTERRUPT@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_4
## %bb.3:
	movq	_VCS@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	shlq	$2, %rsi
	addq	(%r15), %rsi
	movq	%r14, %rdi
	callq	_notify_ring
LBB0_4:
	movq	_GEN6_BLITTER_USER_INTERRUPT@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_6
## %bb.5:
	movq	_BCS@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	shlq	$2, %rsi
	addq	(%r15), %rsi
	movq	%r14, %rdi
	callq	_notify_ring
LBB0_6:
	movq	_GT_GEN6_BLT_CS_ERROR_INTERRUPT@GOTPCREL(%rip), %rax
	movq	_GT_GEN6_BSD_CS_ERROR_INTERRUPT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_GT_RENDER_CS_ERROR_INTERRUPT@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	testl	%ebx, %ecx
	je	LBB0_8
## %bb.7:
	leaq	L_.str(%rip), %rdi
	movl	%ebx, %esi
	callq	_DRM_ERROR
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_i915_handle_error
LBB0_8:
	movq	_GT_GEN7_L3_PARITY_ERROR_INTERRUPT@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_9
## %bb.10:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ivybridge_handle_parity_error  ## TAILCALL
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GEN6_RENDER_USER_INTERRUPT,4,2 ## @GEN6_RENDER_USER_INTERRUPT
	.comm	_GEN6_RENDER_PIPE_CONTROL_NOTIFY_INTERRUPT,4,2 ## @GEN6_RENDER_PIPE_CONTROL_NOTIFY_INTERRUPT
	.comm	_RCS,8,3                        ## @RCS
	.comm	_GEN6_BSD_USER_INTERRUPT,4,2    ## @GEN6_BSD_USER_INTERRUPT
	.comm	_VCS,8,3                        ## @VCS
	.comm	_GEN6_BLITTER_USER_INTERRUPT,4,2 ## @GEN6_BLITTER_USER_INTERRUPT
	.comm	_BCS,8,3                        ## @BCS
	.comm	_GT_GEN6_BLT_CS_ERROR_INTERRUPT,4,2 ## @GT_GEN6_BLT_CS_ERROR_INTERRUPT
	.comm	_GT_GEN6_BSD_CS_ERROR_INTERRUPT,4,2 ## @GT_GEN6_BSD_CS_ERROR_INTERRUPT
	.comm	_GT_RENDER_CS_ERROR_INTERRUPT,4,2 ## @GT_RENDER_CS_ERROR_INTERRUPT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"GT error interrupt 0x%08x\n"

	.comm	_GT_GEN7_L3_PARITY_ERROR_INTERRUPT,4,2 ## @GT_GEN7_L3_PARITY_ERROR_INTERRUPT
	.no_dead_strip	_snb_gt_irq_handler
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function snb_gt_irq_handler
_snb_gt_irq_handler:                    ; @snb_gt_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	x20, x2
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _GEN6_RENDER_USER_INTERRUPT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GEN6_RENDER_USER_INTERRUPT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _GEN6_RENDER_PIPE_CONTROL_NOTIFY_INTERRUPT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _GEN6_RENDER_PIPE_CONTROL_NOTIFY_INTERRUPT@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w9, w8
	tst	w8, w2
	b.eq	LBB0_2
; %bb.1:
	ldr	x8, [x21]
Lloh6:
	adrp	x9, _RCS@GOTPAGE
Lloh7:
	ldr	x9, [x9, _RCS@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	add	x1, x8, x9, lsl #2
	mov	x0, x19
	bl	_notify_ring
LBB0_2:
Lloh9:
	adrp	x8, _GEN6_BSD_USER_INTERRUPT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _GEN6_BSD_USER_INTERRUPT@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_4
; %bb.3:
	ldr	x8, [x21]
Lloh12:
	adrp	x9, _VCS@GOTPAGE
Lloh13:
	ldr	x9, [x9, _VCS@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	add	x1, x8, x9, lsl #2
	mov	x0, x19
	bl	_notify_ring
LBB0_4:
Lloh15:
	adrp	x8, _GEN6_BLITTER_USER_INTERRUPT@GOTPAGE
Lloh16:
	ldr	x8, [x8, _GEN6_BLITTER_USER_INTERRUPT@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_6
; %bb.5:
	ldr	x8, [x21]
Lloh18:
	adrp	x9, _BCS@GOTPAGE
Lloh19:
	ldr	x9, [x9, _BCS@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	add	x1, x8, x9, lsl #2
	mov	x0, x19
	bl	_notify_ring
LBB0_6:
Lloh21:
	adrp	x8, _GT_GEN6_BLT_CS_ERROR_INTERRUPT@GOTPAGE
Lloh22:
	ldr	x8, [x8, _GT_GEN6_BLT_CS_ERROR_INTERRUPT@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
Lloh24:
	adrp	x9, _GT_GEN6_BSD_CS_ERROR_INTERRUPT@GOTPAGE
Lloh25:
	ldr	x9, [x9, _GT_GEN6_BSD_CS_ERROR_INTERRUPT@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh27:
	adrp	x9, _GT_RENDER_CS_ERROR_INTERRUPT@GOTPAGE
Lloh28:
	ldr	x9, [x9, _GT_RENDER_CS_ERROR_INTERRUPT@GOTPAGEOFF]
Lloh29:
	ldr	w9, [x9]
	orr	w8, w8, w9
	tst	w8, w20
	b.eq	LBB0_8
; %bb.7:
Lloh30:
	adrp	x0, l_.str@PAGE
Lloh31:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x20
	bl	_DRM_ERROR
	mov	x0, x19
	mov	w1, #0
	bl	_i915_handle_error
LBB0_8:
Lloh32:
	adrp	x8, _GT_GEN7_L3_PARITY_ERROR_INTERRUPT@GOTPAGE
Lloh33:
	ldr	x8, [x8, _GT_GEN7_L3_PARITY_ERROR_INTERRUPT@GOTPAGEOFF]
Lloh34:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_10
; %bb.9:
	mov	x0, x19
	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	_ivybridge_handle_parity_error
LBB0_10:
	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	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.cfi_endproc
                                        ; -- End function
	.comm	_GEN6_RENDER_USER_INTERRUPT,4,2 ; @GEN6_RENDER_USER_INTERRUPT
	.comm	_GEN6_RENDER_PIPE_CONTROL_NOTIFY_INTERRUPT,4,2 ; @GEN6_RENDER_PIPE_CONTROL_NOTIFY_INTERRUPT
	.comm	_RCS,8,3                        ; @RCS
	.comm	_GEN6_BSD_USER_INTERRUPT,4,2    ; @GEN6_BSD_USER_INTERRUPT
	.comm	_VCS,8,3                        ; @VCS
	.comm	_GEN6_BLITTER_USER_INTERRUPT,4,2 ; @GEN6_BLITTER_USER_INTERRUPT
	.comm	_BCS,8,3                        ; @BCS
	.comm	_GT_GEN6_BLT_CS_ERROR_INTERRUPT,4,2 ; @GT_GEN6_BLT_CS_ERROR_INTERRUPT
	.comm	_GT_GEN6_BSD_CS_ERROR_INTERRUPT,4,2 ; @GT_GEN6_BSD_CS_ERROR_INTERRUPT
	.comm	_GT_RENDER_CS_ERROR_INTERRUPT,4,2 ; @GT_RENDER_CS_ERROR_INTERRUPT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"GT error interrupt 0x%08x\n"

	.comm	_GT_GEN7_L3_PARITY_ERROR_INTERRUPT,4,2 ; @GT_GEN7_L3_PARITY_ERROR_INTERRUPT
	.no_dead_strip	_snb_gt_irq_handler
.subsections_via_symbols
