	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nv20_gr_intr                   ## -- Begin function nv20_gr_intr
	.p2align	4, 0x90
_nv20_gr_intr:                          ## @nv20_gr_intr
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$456, %rsp                      ## imm = 0x1C8
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	callq	_nv20_gr
	movq	%rax, -480(%rbp)                ## 8-byte Spill
	movq	(%rax), %rbx
	movq	_NV03_PGRAPH_INTR@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	%rbx, %rdi
	callq	_nvkm_rd32
	movl	%eax, -440(%rbp)                ## 4-byte Spill
	movq	_NV03_PGRAPH_NSOURCE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_nvkm_rd32
	movl	%eax, -436(%rbp)                ## 4-byte Spill
	movq	_NV03_PGRAPH_NSTATUS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_nvkm_rd32
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -448(%rbp)                ## 8-byte Spill
	movq	_NV04_PGRAPH_TRAPPED_ADDR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_nvkm_rd32
                                        ## kill: def $eax killed $eax def $rax
	movl	%eax, %r15d
	shrl	$20, %r15d
	andl	$31, %r15d
	movq	%rax, -464(%rbp)                ## 8-byte Spill
	movl	%eax, %r13d
	shrl	$16, %r13d
	andl	$7, %r13d
	movq	_NV04_PGRAPH_TRAPPED_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_nvkm_rd32
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -472(%rbp)                ## 8-byte Spill
	leal	4194656(,%r13,4), %esi
	movq	%rbx, %rdi
	callq	_nvkm_rd32
	movl	%eax, %r14d
	movl	(%rbx), %edi
	leaq	-488(%rbp), %rdx
	movl	%r15d, %esi
	callq	_nvkm_fifo_chan_chid
	movq	%rax, -456(%rbp)                ## 8-byte Spill
	movq	%rax, -496(%rbp)
	movl	(%r12), %esi
	movq	%rbx, %rdi
	movl	-440(%rbp), %r12d               ## 4-byte Reload
	movl	%r12d, %edx
	callq	_nvkm_wr32
	movq	_NV04_PGRAPH_FIFO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$1, %edx
	callq	_nvkm_wr32
	testl	%r12d, %r12d
	je	LBB0_5
## %bb.1:
	movl	%r12d, %ecx
	movq	-464(%rbp), %r12                ## 8-byte Reload
	andl	$8188, %r12d                    ## imm = 0x1FFC
	andl	$4095, %r14d                    ## imm = 0xFFF
	movq	_nv10_gr_intr_name@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-176(%rbp), %rdi
	movl	$128, %esi
	callq	_nvkm_snprintbf
	movq	_nv04_gr_nsource@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-304(%rbp), %rdi
	movl	$128, %esi
	movl	-436(%rbp), %ecx                ## 4-byte Reload
	callq	_nvkm_snprintbf
	movq	_nv10_gr_nstatus@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-432(%rbp), %rdi
	movl	$128, %esi
	movq	-448(%rbp), %rcx                ## 8-byte Reload
                                        ## kill: def $ecx killed $ecx killed $rcx
	callq	_nvkm_snprintbf
	movq	-456(%rbp), %rax                ## 8-byte Reload
	testq	%rax, %rax
	movq	%r12, %r10
	je	LBB0_2
## %bb.3:
	movq	(%rax), %rax
	movq	(%rax), %rax
	jmp	LBB0_4
LBB0_2:
	leaq	L_.str.1(%rip), %rax
LBB0_4:
	leaq	L_.str(%rip), %rsi
	leaq	-176(%rbp), %rcx
	leaq	-304(%rbp), %r9
	movq	-480(%rbp), %rdi                ## 8-byte Reload
	movl	-440(%rbp), %edx                ## 4-byte Reload
	movl	-436(%rbp), %r8d                ## 4-byte Reload
	pushq	-472(%rbp)                      ## 8-byte Folded Reload
	pushq	%r10
	pushq	%r14
	pushq	%r13
	pushq	%rax
	pushq	%r15
	leaq	-432(%rbp), %rax
	pushq	%rax
	pushq	-448(%rbp)                      ## 8-byte Folded Reload
	callq	_nvkm_error
	addq	$64, %rsp
LBB0_5:
	movl	(%rbx), %edi
	movq	-488(%rbp), %rsi
	leaq	-496(%rbp), %rdx
	callq	_nvkm_fifo_chan_put
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_7
## %bb.6:
	addq	$456, %rsp                      ## imm = 0x1C8
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_NV03_PGRAPH_INTR,4,2           ## @NV03_PGRAPH_INTR
	.comm	_NV03_PGRAPH_NSOURCE,4,2        ## @NV03_PGRAPH_NSOURCE
	.comm	_NV03_PGRAPH_NSTATUS,4,2        ## @NV03_PGRAPH_NSTATUS
	.comm	_NV04_PGRAPH_TRAPPED_ADDR,4,2   ## @NV04_PGRAPH_TRAPPED_ADDR
	.comm	_NV04_PGRAPH_TRAPPED_DATA,4,2   ## @NV04_PGRAPH_TRAPPED_DATA
	.comm	_NV04_PGRAPH_FIFO,4,2           ## @NV04_PGRAPH_FIFO
	.comm	_nv10_gr_intr_name,4,2          ## @nv10_gr_intr_name
	.comm	_nv04_gr_nsource,4,2            ## @nv04_gr_nsource
	.comm	_nv10_gr_nstatus,4,2            ## @nv10_gr_nstatus
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"intr %08x [%s] nsource %08x [%s] nstatus %08x [%s] ch %d [%s] subc %d class %04x mthd %04x data %08x\n"

L_.str.1:                               ## @.str.1
	.asciz	"unknown"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nv20_gr_intr                   ; -- Begin function nv20_gr_intr
	.p2align	2
_nv20_gr_intr:                          ; @nv20_gr_intr
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #464
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-96]
	bl	_nv20_gr
	str	x0, [sp, #40]                   ; 8-byte Folded Spill
	ldr	x19, [x0]
Lloh3:
	adrp	x22, _NV03_PGRAPH_INTR@GOTPAGE
Lloh4:
	ldr	x22, [x22, _NV03_PGRAPH_INTR@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	x0, x19
	bl	_nvkm_rd32
	mov	x21, x0
Lloh5:
	adrp	x8, _NV03_PGRAPH_NSOURCE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _NV03_PGRAPH_NSOURCE@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_nvkm_rd32
	mov	x23, x0
Lloh8:
	adrp	x8, _NV03_PGRAPH_NSTATUS@GOTPAGE
Lloh9:
	ldr	x8, [x8, _NV03_PGRAPH_NSTATUS@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_nvkm_rd32
	mov	x20, x0
Lloh11:
	adrp	x8, _NV04_PGRAPH_TRAPPED_ADDR@GOTPAGE
Lloh12:
	ldr	x8, [x8, _NV04_PGRAPH_TRAPPED_ADDR@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_nvkm_rd32
	mov	x27, x0
	ubfx	w24, w0, #20, #5
	ubfx	w25, w0, #16, #3
Lloh14:
	adrp	x8, _NV04_PGRAPH_TRAPPED_DATA@GOTPAGE
Lloh15:
	ldr	x8, [x8, _NV04_PGRAPH_TRAPPED_DATA@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_nvkm_rd32
	str	w0, [sp, #36]                   ; 4-byte Folded Spill
	mov	w1, #352
	movk	w1, #64, lsl #16
	bfi	w1, w25, #2, #3
	mov	x0, x19
	bl	_nvkm_rd32
	mov	x28, x0
	ldr	w0, [x19]
	add	x2, sp, #48
	mov	x1, x24
	bl	_nvkm_fifo_chan_chid
	mov	x26, x0
	str	x0, [sp, #56]
	ldr	w1, [x22]
	mov	x0, x19
	mov	x2, x21
	bl	_nvkm_wr32
Lloh17:
	adrp	x8, _NV04_PGRAPH_FIFO@GOTPAGE
Lloh18:
	ldr	x8, [x8, _NV04_PGRAPH_FIFO@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #1
	bl	_nvkm_wr32
	cbz	w21, LBB0_5
; %bb.1:
	and	w22, w27, #0x1ffc
	and	w27, w28, #0xfff
Lloh20:
	adrp	x8, _nv10_gr_intr_name@GOTPAGE
Lloh21:
	ldr	x8, [x8, _nv10_gr_intr_name@GOTPAGEOFF]
Lloh22:
	ldr	w2, [x8]
	sub	x0, x29, #224
	mov	w1, #128
	mov	x3, x21
	bl	_nvkm_snprintbf
Lloh23:
	adrp	x8, _nv04_gr_nsource@GOTPAGE
Lloh24:
	ldr	x8, [x8, _nv04_gr_nsource@GOTPAGEOFF]
Lloh25:
	ldr	w2, [x8]
	add	x0, sp, #192
	mov	w1, #128
	mov	x3, x23
	bl	_nvkm_snprintbf
Lloh26:
	adrp	x8, _nv10_gr_nstatus@GOTPAGE
Lloh27:
	ldr	x8, [x8, _nv10_gr_nstatus@GOTPAGEOFF]
Lloh28:
	ldr	w2, [x8]
	add	x0, sp, #64
	mov	w1, #128
	mov	x3, x20
	bl	_nvkm_snprintbf
	cbz	x26, LBB0_3
; %bb.2:
	ldr	x8, [x26]
	ldr	x8, [x8]
	b	LBB0_4
LBB0_3:
Lloh29:
	adrp	x8, l_.str.1@PAGE
Lloh30:
	add	x8, x8, l_.str.1@PAGEOFF
LBB0_4:
	ldr	w9, [sp, #36]                   ; 4-byte Folded Reload
	stp	w22, w9, [sp, #24]
	stp	w25, w27, [sp, #16]
Lloh31:
	adrp	x1, l_.str@PAGE
Lloh32:
	add	x1, x1, l_.str@PAGEOFF
	sub	x3, x29, #224
	add	x5, sp, #192
	str	x8, [sp, #8]
	str	w24, [sp]
	add	x7, sp, #64
	ldr	x0, [sp, #40]                   ; 8-byte Folded Reload
	mov	x2, x21
	mov	x4, x23
	mov	x6, x20
	bl	_nvkm_error
LBB0_5:
	ldr	w0, [x19]
	ldr	x1, [sp, #48]
	add	x2, sp, #56
	bl	_nvkm_fifo_chan_put
	ldur	x8, [x29, #-96]
Lloh33:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh34:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh35:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_7
; %bb.6:
	add	sp, sp, #464
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_7:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.cfi_endproc
                                        ; -- End function
	.comm	_NV03_PGRAPH_INTR,4,2           ; @NV03_PGRAPH_INTR
	.comm	_NV03_PGRAPH_NSOURCE,4,2        ; @NV03_PGRAPH_NSOURCE
	.comm	_NV03_PGRAPH_NSTATUS,4,2        ; @NV03_PGRAPH_NSTATUS
	.comm	_NV04_PGRAPH_TRAPPED_ADDR,4,2   ; @NV04_PGRAPH_TRAPPED_ADDR
	.comm	_NV04_PGRAPH_TRAPPED_DATA,4,2   ; @NV04_PGRAPH_TRAPPED_DATA
	.comm	_NV04_PGRAPH_FIFO,4,2           ; @NV04_PGRAPH_FIFO
	.comm	_nv10_gr_intr_name,4,2          ; @nv10_gr_intr_name
	.comm	_nv04_gr_nsource,4,2            ; @nv04_gr_nsource
	.comm	_nv10_gr_nstatus,4,2            ; @nv10_gr_nstatus
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"intr %08x [%s] nsource %08x [%s] nstatus %08x [%s] ch %d [%s] subc %d class %04x mthd %04x data %08x\n"

l_.str.1:                               ; @.str.1
	.asciz	"unknown"

.subsections_via_symbols
