	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nve0_graph_trap_isr
_nve0_graph_trap_isr:                   ## @nve0_graph_trap_isr
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movl	%edx, %r15d
	movl	%esi, %r13d
	movq	%rdi, %rbx
	movl	$4194568, %esi                  ## imm = 0x400108
	callq	_nv_rd32
	movl	%eax, %r12d
	testb	$1, %r12b
	jne	LBB0_1
## %bb.2:
	testb	$16, %r12b
	jne	LBB0_3
LBB0_4:
	testl	$33554432, %r12d                ## imm = 0x2000000
	jne	LBB0_5
	jmp	LBB0_9
LBB0_1:
	movq	%rbx, %rdi
	movl	$4210688, %esi                  ## imm = 0x404000
	callq	_nv_rd32
	movl	%eax, %r14d
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_nouveau_client_name
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	movl	%r13d, %edx
	movl	%r15d, %ecx
	movl	%eax, %r8d
	movl	%r14d, %r9d
	xorl	%eax, %eax
	callq	_nv_error
	movq	%rbx, %rdi
	movl	$4210688, %esi                  ## imm = 0x404000
	movl	$-1073741824, %edx              ## imm = 0xC0000000
	callq	_nv_wr32
	movq	%rbx, %rdi
	movl	$4194568, %esi                  ## imm = 0x400108
	movl	$1, %edx
	callq	_nv_wr32
	andl	$-2, %r12d
	testb	$16, %r12b
	je	LBB0_4
LBB0_3:
	movq	%rbx, %rdi
	movl	$4216896, %esi                  ## imm = 0x405840
	callq	_nv_rd32
	movl	%eax, %r14d
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_nouveau_client_name
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	movl	%r13d, %edx
	movl	%r15d, %ecx
	movl	%eax, %r8d
	movl	%r14d, %r9d
	xorl	%eax, %eax
	callq	_nv_error
	movq	%rbx, %rdi
	movl	$4216896, %esi                  ## imm = 0x405840
	movl	$-1073741824, %edx              ## imm = 0xC0000000
	callq	_nv_wr32
	movq	%rbx, %rdi
	movl	$4194568, %esi                  ## imm = 0x400108
	movl	$16, %edx
	callq	_nv_wr32
	andl	$-17, %r12d
	testl	$33554432, %r12d                ## imm = 0x2000000
	je	LBB0_9
LBB0_5:
	movl	%r12d, -56(%rbp)                ## 4-byte Spill
	cmpl	$0, (%rbx)
	movl	%r13d, -52(%rbp)                ## 4-byte Spill
	movl	%r15d, %r13d
	jle	LBB0_8
## %bb.6:
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r14d, %edi
	movl	$112, %esi
	callq	_ROP_UNIT
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_nv_rd32
	movl	%eax, %r12d
	movl	%r14d, %edi
	movl	$324, %esi                      ## imm = 0x144
	callq	_ROP_UNIT
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_nv_rd32
	movl	%eax, %r15d
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_nouveau_client_name
	movq	%rbx, %rdi
	leaq	L_.str.2(%rip), %rsi
	movl	%r14d, %edx
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	movl	%r13d, %r8d
	movl	%eax, %r9d
	xorl	%eax, %eax
	pushq	%r15
	pushq	%r12
	callq	_nv_error
	addq	$16, %rsp
	movl	%r14d, %edi
	movl	$112, %esi
	callq	_ROP_UNIT
	movq	%rbx, %rdi
	movl	%eax, %esi
	movl	$-1073741824, %edx              ## imm = 0xC0000000
	callq	_nv_wr32
	movl	%r14d, %edi
	movl	$324, %esi                      ## imm = 0x144
	callq	_ROP_UNIT
	movq	%rbx, %rdi
	movl	%eax, %esi
	movl	$-1073741824, %edx              ## imm = 0xC0000000
	callq	_nv_wr32
	incl	%r14d
	cmpl	(%rbx), %r14d
	jl	LBB0_7
LBB0_8:
	movq	%rbx, %rdi
	movl	$4194568, %esi                  ## imm = 0x400108
	movl	$33554432, %edx                 ## imm = 0x2000000
	callq	_nv_wr32
	movl	-56(%rbp), %r12d                ## 4-byte Reload
	andl	$-33554433, %r12d               ## imm = 0xFDFFFFFF
	movl	%r13d, %r15d
	movl	-52(%rbp), %r13d                ## 4-byte Reload
LBB0_9:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	testl	%r12d, %r12d
	je	LBB0_10
## %bb.11:
	callq	_nouveau_client_name
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdi
	movl	%r13d, %edx
	movl	%r15d, %ecx
	movl	%eax, %r8d
	movl	%r12d, %r9d
	xorl	%eax, %eax
	callq	_nv_error
	movq	%rbx, %rdi
	movl	$4194568, %esi                  ## imm = 0x400108
	movl	%r12d, %edx
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_nv_wr32                        ## TAILCALL
LBB0_10:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"DISPATCH ch %d [0x%010llx %s] 0x%08x\n"

L_.str.1:                               ## @.str.1
	.asciz	"SHADER ch %d [0x%010llx %s] 0x%08x\n"

L_.str.2:                               ## @.str.2
	.asciz	"ROP%d ch %d [0x%010llx %s] 0x%08x 0x%08x\n"

L_.str.3:                               ## @.str.3
	.asciz	"TRAP ch %d [0x%010llx %s] 0x%08x\n"

	.no_dead_strip	_nve0_graph_trap_isr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nve0_graph_trap_isr
_nve0_graph_trap_isr:                   ; @nve0_graph_trap_isr
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	mov	x23, x3
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	mov	w1, #264
	movk	w1, #64, lsl #16
	bl	_nv_rd32
	mov	x22, x0
	tbnz	w0, #0, LBB0_5
; %bb.1:
	tbnz	w22, #4, LBB0_6
LBB0_2:
	tbnz	w22, #25, LBB0_7
LBB0_3:
	cbz	w22, LBB0_11
LBB0_4:
	mov	x0, x23
	bl	_nouveau_client_name
	mov	x4, x0
Lloh0:
	adrp	x1, l_.str.3@PAGE
Lloh1:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	mov	x2, x21
	mov	x3, x20
	mov	x5, x22
	bl	_nv_error
	mov	x0, x19
	mov	w1, #264
	movk	w1, #64, lsl #16
	mov	x2, x22
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_nv_wr32
LBB0_5:
	mov	x0, x19
	mov	w1, #16384
	movk	w1, #64, lsl #16
	bl	_nv_rd32
	mov	x24, x0
	mov	x0, x23
	bl	_nouveau_client_name
	mov	x4, x0
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	x2, x21
	mov	x3, x20
	mov	x5, x24
	bl	_nv_error
	mov	x0, x19
	mov	w1, #16384
	movk	w1, #64, lsl #16
	mov	w2, #-1073741824
	bl	_nv_wr32
	mov	x0, x19
	mov	w1, #264
	movk	w1, #64, lsl #16
	mov	w2, #1
	bl	_nv_wr32
	and	w22, w22, #0xfffffffe
	tbz	w22, #4, LBB0_2
LBB0_6:
	mov	x0, x19
	mov	w1, #22592
	movk	w1, #64, lsl #16
	bl	_nv_rd32
	mov	x24, x0
	mov	x0, x23
	bl	_nouveau_client_name
	mov	x4, x0
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	x2, x21
	mov	x3, x20
	mov	x5, x24
	bl	_nv_error
	mov	x0, x19
	mov	w1, #22592
	movk	w1, #64, lsl #16
	mov	w2, #-1073741824
	bl	_nv_wr32
	mov	x0, x19
	mov	w1, #264
	movk	w1, #64, lsl #16
	mov	w2, #16
	bl	_nv_wr32
	and	w22, w22, #0xffffffef
	tbz	w22, #25, LBB0_3
LBB0_7:
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_10
; %bb.8:
	mov	w24, #0
Lloh6:
	adrp	x25, l_.str.2@PAGE
Lloh7:
	add	x25, x25, l_.str.2@PAGEOFF
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x24
	mov	w1, #112
	bl	_ROP_UNIT
	mov	x1, x0
	mov	x0, x19
	bl	_nv_rd32
	mov	x26, x0
	mov	x0, x24
	mov	w1, #324
	bl	_ROP_UNIT
	mov	x1, x0
	mov	x0, x19
	bl	_nv_rd32
	mov	x27, x0
	mov	x0, x23
	bl	_nouveau_client_name
	mov	x5, x0
	stp	x26, x27, [sp]
	mov	x0, x19
	mov	x1, x25
	mov	x2, x24
	mov	x3, x21
	mov	x4, x20
	bl	_nv_error
	mov	x0, x24
	mov	w1, #112
	bl	_ROP_UNIT
	mov	x1, x0
	mov	x0, x19
	mov	w2, #-1073741824
	bl	_nv_wr32
	mov	x0, x24
	mov	w1, #324
	bl	_ROP_UNIT
	mov	x1, x0
	mov	x0, x19
	mov	w2, #-1073741824
	bl	_nv_wr32
	add	w24, w24, #1
	ldr	w8, [x19]
	cmp	w24, w8
	b.lt	LBB0_9
LBB0_10:
	mov	x0, x19
	mov	w1, #264
	movk	w1, #64, lsl #16
	mov	w2, #33554432
	bl	_nv_wr32
	and	w22, w22, #0xfdffffff
	cbnz	w22, LBB0_4
LBB0_11:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"DISPATCH ch %d [0x%010llx %s] 0x%08x\n"

l_.str.1:                               ; @.str.1
	.asciz	"SHADER ch %d [0x%010llx %s] 0x%08x\n"

l_.str.2:                               ; @.str.2
	.asciz	"ROP%d ch %d [0x%010llx %s] 0x%08x 0x%08x\n"

l_.str.3:                               ; @.str.3
	.asciz	"TRAP ch %d [0x%010llx %s] 0x%08x\n"

	.no_dead_strip	_nve0_graph_trap_isr
.subsections_via_symbols
