	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nv50_gr_trap_handler
_nv50_gr_trap_handler:                  ## @nv50_gr_trap_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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$200, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %rbx
	movl	%ecx, -200(%rbp)                ## 4-byte Spill
	movl	%edx, -196(%rbp)                ## 4-byte Spill
	movl	%esi, %r12d
	movq	%rdi, %r13
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	(%rdi), %r14
	movq	%r14, %rdi
	movl	$4194568, %esi                  ## imm = 0x400108
	callq	_nvkm_rd32
	movl	%eax, %r15d
	testl	%r12d, %r12d
	je	LBB0_3
## %bb.1:
	testl	%r15d, %r15d
	jne	LBB0_3
## %bb.2:
	leaq	L_.str(%rip), %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	callq	_nvkm_error
	movl	$1, %ebx
	jmp	LBB0_57
LBB0_3:
	testb	$1, %r15b
	movq	%r13, -192(%rbp)                ## 8-byte Spill
	movl	%r12d, -180(%rbp)               ## 4-byte Spill
	je	LBB0_27
## %bb.4:
	movq	%r14, %rdi
	movl	$4196356, %esi                  ## imm = 0x400804
	callq	_nvkm_rd32
	movl	%r12d, %ecx
	movl	%eax, %r12d
	movl	%eax, %r13d
	andl	$2147483647, %r13d              ## imm = 0x7FFFFFFF
	testl	%ecx, %ecx
	je	LBB0_7
## %bb.5:
	testl	%r13d, %r13d
	jne	LBB0_7
## %bb.6:
	leaq	L_.str.1(%rip), %rsi
	movq	-192(%rbp), %rdi                ## 8-byte Reload
	xorl	%eax, %eax
	callq	_nvkm_error
LBB0_7:
	movq	%r14, %rdi
	movl	$4195584, %esi                  ## imm = 0x400500
	xorl	%edx, %edx
	callq	_nvkm_wr32
	testb	$1, %r12b
	je	LBB0_14
## %bb.8:
	movq	%r14, %rdi
	movl	$4196360, %esi                  ## imm = 0x400808
	callq	_nvkm_rd32
	movl	%eax, %r13d
	movq	%r14, %rdi
	movl	$4196364, %esi                  ## imm = 0x40080C
	callq	_nvkm_rd32
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -216(%rbp)                ## 8-byte Spill
	movq	%r14, %rdi
	movl	$4196368, %esi                  ## imm = 0x400810
	callq	_nvkm_rd32
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -208(%rbp)                ## 8-byte Spill
	movq	%r14, %rdi
	movl	$4196372, %esi                  ## imm = 0x400814
	callq	_nvkm_rd32
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -232(%rbp)                ## 8-byte Spill
	movq	%r14, %rdi
	movl	$4196424, %esi                  ## imm = 0x400848
	callq	_nvkm_rd32
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -224(%rbp)                ## 8-byte Spill
	leaq	L_.str.2(%rip), %rsi
	movq	-192(%rbp), %rdi                ## 8-byte Reload
	xorl	%eax, %eax
	callq	_nvkm_error
	cmpl	$0, -180(%rbp)                  ## 4-byte Folded Reload
	je	LBB0_11
## %bb.9:
	testl	%r13d, %r13d
	jns	LBB0_11
## %bb.10:
	movq	%rbx, %r8
	movl	%r13d, %ebx
	andl	$8188, %ebx                     ## imm = 0x1FFC
	movl	%r13d, %r9d
	shrl	$16, %r9d
	andl	$7, %r9d
	leaq	L_.str.3(%rip), %rsi
	movq	-192(%rbp), %rdi                ## 8-byte Reload
	movl	-196(%rbp), %edx                ## 4-byte Reload
	movl	-200(%rbp), %ecx                ## 4-byte Reload
	xorl	%eax, %eax
	pushq	-224(%rbp)                      ## 8-byte Folded Reload
	pushq	%r13
	pushq	-216(%rbp)                      ## 8-byte Folded Reload
	pushq	-208(%rbp)                      ## 8-byte Folded Reload
	pushq	%rbx
	movq	%r8, %rbx
	pushq	-232(%rbp)                      ## 8-byte Folded Reload
	callq	_nvkm_error
	addq	$48, %rsp
	jmp	LBB0_13
LBB0_11:
	cmpl	$0, -180(%rbp)                  ## 4-byte Folded Reload
	je	LBB0_13
## %bb.12:
	leaq	L_.str.4(%rip), %rsi
	movq	-192(%rbp), %rdi                ## 8-byte Reload
	xorl	%eax, %eax
	callq	_nvkm_error
LBB0_13:
	movq	%r14, %rdi
	movl	$4196360, %esi                  ## imm = 0x400808
	xorl	%edx, %edx
	callq	_nvkm_wr32
	movq	%r14, %rdi
	movl	$4196584, %esi                  ## imm = 0x4008E8
	callq	_nvkm_rd32
	andl	$3, %eax
	movq	%r14, %rdi
	movl	$4196584, %esi                  ## imm = 0x4008E8
	movl	%eax, %edx
	callq	_nvkm_wr32
	movq	%r14, %rdi
	movl	$4196424, %esi                  ## imm = 0x400848
	xorl	%edx, %edx
	callq	_nvkm_wr32
	andl	$2147483646, %r12d              ## imm = 0x7FFFFFFE
	movl	%r12d, %r13d
LBB0_14:
	testb	$2, %r13b
	jne	LBB0_16
## %bb.15:
	movl	-180(%rbp), %r12d               ## 4-byte Reload
	testl	%r12d, %r12d
	jne	LBB0_23
	jmp	LBB0_25
LBB0_16:
	movq	%r14, %rdi
	movl	$4196428, %esi                  ## imm = 0x40084C
	callq	_nvkm_rd32
	movl	%eax, %r12d
	movq	%r14, %rdi
	movl	$4196444, %esi                  ## imm = 0x40085C
	callq	_nvkm_rd32
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -216(%rbp)                ## 8-byte Spill
	movq	%r14, %rdi
	movl	$4196372, %esi                  ## imm = 0x400814
	callq	_nvkm_rd32
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -208(%rbp)                ## 8-byte Spill
	leaq	L_.str.5(%rip), %rsi
	movq	-192(%rbp), %rdi                ## 8-byte Reload
	xorl	%eax, %eax
	callq	_nvkm_error
	cmpl	$0, -180(%rbp)                  ## 4-byte Folded Reload
	je	LBB0_19
## %bb.17:
	testl	%r12d, %r12d
	jns	LBB0_19
## %bb.18:
	movq	%rbx, %r8
	movl	%r12d, %ebx
	andl	$8188, %ebx                     ## imm = 0x1FFC
	movl	%r12d, %r9d
	shrl	$16, %r9d
	andl	$7, %r9d
	leaq	L_.str.6(%rip), %rsi
	movq	-192(%rbp), %rdi                ## 8-byte Reload
	movl	-196(%rbp), %edx                ## 4-byte Reload
	movl	-200(%rbp), %ecx                ## 4-byte Reload
	xorl	%eax, %eax
	pushq	%r12
	pushq	-216(%rbp)                      ## 8-byte Folded Reload
	pushq	%rbx
	pushq	-208(%rbp)                      ## 8-byte Folded Reload
	callq	_nvkm_error
	addq	$32, %rsp
	movl	-180(%rbp), %r12d               ## 4-byte Reload
	jmp	LBB0_21
LBB0_19:
	movl	-180(%rbp), %r12d               ## 4-byte Reload
	testl	%r12d, %r12d
	je	LBB0_21
## %bb.20:
	leaq	L_.str.4(%rip), %rsi
	movq	-192(%rbp), %rdi                ## 8-byte Reload
	xorl	%eax, %eax
	callq	_nvkm_error
LBB0_21:
	movq	%r14, %rdi
	movl	$4196428, %esi                  ## imm = 0x40084C
	xorl	%edx, %edx
	callq	_nvkm_wr32
	andl	$-3, %r13d
	testl	%r12d, %r12d
	je	LBB0_25
LBB0_23:
	testl	%r13d, %r13d
	je	LBB0_25
## %bb.24:
	leaq	L_.str.7(%rip), %rsi
	movq	-192(%rbp), %rdi                ## 8-byte Reload
	movl	%r13d, %edx
	xorl	%eax, %eax
	callq	_nvkm_error
LBB0_25:
	movq	%r14, %rdi
	movl	$4196356, %esi                  ## imm = 0x400804
	movl	$-1073741824, %edx              ## imm = 0xC0000000
	callq	_nvkm_wr32
	movq	%r14, %rdi
	movl	$4194568, %esi                  ## imm = 0x400108
	movl	$1, %edx
	callq	_nvkm_wr32
	andl	$-2, %r15d
	movq	-192(%rbp), %r13                ## 8-byte Reload
	je	LBB0_26
LBB0_27:
	testb	$2, %r15b
	jne	LBB0_28
## %bb.31:
	testb	$4, %r15b
	jne	LBB0_32
LBB0_35:
	testb	$8, %r15b
	jne	LBB0_36
LBB0_39:
	testb	$16, %r15b
	jne	LBB0_40
LBB0_43:
	testb	$32, %r15b
	jne	LBB0_44
LBB0_47:
	testb	$64, %r15b
	jne	LBB0_48
LBB0_49:
	testb	$-128, %r15b
	jne	LBB0_50
LBB0_51:
	testl	$256, %r15d                     ## imm = 0x100
	je	LBB0_53
LBB0_52:
	leaq	L_.str.19(%rip), %r9
	movq	%r13, %rdi
	movl	$8, %esi
	movl	$4230664, %edx                  ## imm = 0x408E08
	movl	$4228872, %ecx                  ## imm = 0x408708
	movl	%r12d, %r8d
	callq	_nv50_gr_tp_trap
	movq	%r14, %rdi
	movl	$4194568, %esi                  ## imm = 0x400108
	movl	$256, %edx                      ## imm = 0x100
	callq	_nvkm_wr32
	andl	$-257, %r15d                    ## imm = 0xFEFF
LBB0_53:
	movl	$1, %ebx
	testl	%r15d, %r15d
	je	LBB0_57
## %bb.54:
	testl	%r12d, %r12d
	je	LBB0_56
## %bb.55:
	leaq	L_.str.20(%rip), %rsi
	movq	%r13, %rdi
	movl	%r15d, %edx
	xorl	%eax, %eax
	callq	_nvkm_error
LBB0_56:
	movq	%r14, %rdi
	movl	$4194568, %esi                  ## imm = 0x400108
	movl	%r15d, %edx
	callq	_nvkm_wr32
	jmp	LBB0_57
LBB0_28:
	movq	%r14, %rdi
	movl	$4220928, %esi                  ## imm = 0x406800
	callq	_nvkm_rd32
	testl	%r12d, %r12d
	je	LBB0_30
## %bb.29:
	movl	%eax, %ebx
	andl	$2147483647, %ebx               ## imm = 0x7FFFFFFF
	movq	_nv50_gr_trap_m2mf@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-176(%rbp), %r12
	movq	%r12, %rdi
	movl	$128, %esi
	movl	%ebx, %ecx
	callq	_nvkm_snprintbf
	leaq	L_.str.8(%rip), %rsi
	movq	%r13, %rdi
	movl	%ebx, %edx
	movq	%r12, %rcx
	xorl	%eax, %eax
	callq	_nvkm_error
	movq	%r14, %rdi
	movl	$4220932, %esi                  ## imm = 0x406804
	callq	_nvkm_rd32
	movl	%eax, %r12d
	movq	%r14, %rdi
	movl	$4220936, %esi                  ## imm = 0x406808
	callq	_nvkm_rd32
	movl	%eax, %r13d
	movq	%r14, %rdi
	movl	$4220940, %esi                  ## imm = 0x40680C
	callq	_nvkm_rd32
	movl	%eax, %ebx
	movq	%r14, %rdi
	movl	$4220944, %esi                  ## imm = 0x406810
	callq	_nvkm_rd32
	leaq	L_.str.9(%rip), %rsi
	movq	-192(%rbp), %rdi                ## 8-byte Reload
	movl	%r12d, %edx
	movl	-180(%rbp), %r12d               ## 4-byte Reload
	movl	%r13d, %ecx
	movq	-192(%rbp), %r13                ## 8-byte Reload
	movl	%ebx, %r8d
	movl	%eax, %r9d
	xorl	%eax, %eax
	callq	_nvkm_error
LBB0_30:
	movq	%r14, %rdi
	movl	$4194368, %esi                  ## imm = 0x400040
	movl	$2, %edx
	callq	_nvkm_wr32
	movq	%r14, %rdi
	movl	$4194368, %esi                  ## imm = 0x400040
	xorl	%edx, %edx
	callq	_nvkm_wr32
	movq	%r14, %rdi
	movl	$4220928, %esi                  ## imm = 0x406800
	movl	$-1073741824, %edx              ## imm = 0xC0000000
	callq	_nvkm_wr32
	movq	%r14, %rdi
	movl	$4194568, %esi                  ## imm = 0x400108
	movl	$2, %edx
	callq	_nvkm_wr32
	andl	$-3, %r15d
	testb	$4, %r15b
	je	LBB0_35
LBB0_32:
	movq	%r14, %rdi
	movl	$4197380, %esi                  ## imm = 0x400C04
	callq	_nvkm_rd32
	testl	%r12d, %r12d
	je	LBB0_34
## %bb.33:
	movl	%eax, %ebx
	andl	$2147483647, %ebx               ## imm = 0x7FFFFFFF
	movq	_nv50_gr_trap_vfetch@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-176(%rbp), %r12
	movq	%r12, %rdi
	movl	$128, %esi
	movl	%ebx, %ecx
	callq	_nvkm_snprintbf
	leaq	L_.str.10(%rip), %rsi
	movq	%r13, %rdi
	movl	%ebx, %edx
	movq	%r12, %rcx
	xorl	%eax, %eax
	callq	_nvkm_error
	movq	%r14, %rdi
	movl	$4197376, %esi                  ## imm = 0x400C00
	callq	_nvkm_rd32
	movl	%eax, %r12d
	movq	%r14, %rdi
	movl	$4197384, %esi                  ## imm = 0x400C08
	callq	_nvkm_rd32
	movl	%eax, %r13d
	movq	%r14, %rdi
	movl	$4197388, %esi                  ## imm = 0x400C0C
	callq	_nvkm_rd32
	movl	%eax, %ebx
	movq	%r14, %rdi
	movl	$4197392, %esi                  ## imm = 0x400C10
	callq	_nvkm_rd32
	leaq	L_.str.11(%rip), %rsi
	movq	-192(%rbp), %rdi                ## 8-byte Reload
	movl	%r12d, %edx
	movl	-180(%rbp), %r12d               ## 4-byte Reload
	movl	%r13d, %ecx
	movq	-192(%rbp), %r13                ## 8-byte Reload
	movl	%ebx, %r8d
	movl	%eax, %r9d
	xorl	%eax, %eax
	callq	_nvkm_error
LBB0_34:
	movq	%r14, %rdi
	movl	$4197380, %esi                  ## imm = 0x400C04
	movl	$-1073741824, %edx              ## imm = 0xC0000000
	callq	_nvkm_wr32
	movq	%r14, %rdi
	movl	$4194568, %esi                  ## imm = 0x400108
	movl	$4, %edx
	callq	_nvkm_wr32
	andl	$-5, %r15d
	testb	$8, %r15b
	je	LBB0_39
LBB0_36:
	movq	%r14, %rdi
	movl	$4200448, %esi                  ## imm = 0x401800
	callq	_nvkm_rd32
	testl	%r12d, %r12d
	je	LBB0_38
## %bb.37:
	movl	%eax, %ebx
	andl	$2147483647, %ebx               ## imm = 0x7FFFFFFF
	movq	_nv50_gr_trap_strmout@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-176(%rbp), %r12
	movq	%r12, %rdi
	movl	$128, %esi
	movl	%ebx, %ecx
	callq	_nvkm_snprintbf
	leaq	L_.str.12(%rip), %rsi
	movq	%r13, %rdi
	movl	%ebx, %edx
	movq	%r12, %rcx
	xorl	%eax, %eax
	callq	_nvkm_error
	movq	%r14, %rdi
	movl	$4200452, %esi                  ## imm = 0x401804
	callq	_nvkm_rd32
	movl	%eax, %r12d
	movq	%r14, %rdi
	movl	$4200456, %esi                  ## imm = 0x401808
	callq	_nvkm_rd32
	movl	%eax, %r13d
	movq	%r14, %rdi
	movl	$4200460, %esi                  ## imm = 0x40180C
	callq	_nvkm_rd32
	movl	%eax, %ebx
	movq	%r14, %rdi
	movl	$4200464, %esi                  ## imm = 0x401810
	callq	_nvkm_rd32
	leaq	L_.str.13(%rip), %rsi
	movq	-192(%rbp), %rdi                ## 8-byte Reload
	movl	%r12d, %edx
	movl	-180(%rbp), %r12d               ## 4-byte Reload
	movl	%r13d, %ecx
	movq	-192(%rbp), %r13                ## 8-byte Reload
	movl	%ebx, %r8d
	movl	%eax, %r9d
	xorl	%eax, %eax
	callq	_nvkm_error
LBB0_38:
	movq	%r14, %rdi
	movl	$4194368, %esi                  ## imm = 0x400040
	movl	$128, %edx
	callq	_nvkm_wr32
	movq	%r14, %rdi
	movl	$4194368, %esi                  ## imm = 0x400040
	xorl	%edx, %edx
	callq	_nvkm_wr32
	movq	%r14, %rdi
	movl	$4200448, %esi                  ## imm = 0x401800
	movl	$-1073741824, %edx              ## imm = 0xC0000000
	callq	_nvkm_wr32
	movq	%r14, %rdi
	movl	$4194568, %esi                  ## imm = 0x400108
	movl	$8, %edx
	callq	_nvkm_wr32
	andl	$-9, %r15d
	testb	$16, %r15b
	je	LBB0_43
LBB0_40:
	movq	%r14, %rdi
	movl	$4214808, %esi                  ## imm = 0x405018
	callq	_nvkm_rd32
	testl	%r12d, %r12d
	je	LBB0_42
## %bb.41:
	movl	%eax, %ebx
	andl	$2147483647, %ebx               ## imm = 0x7FFFFFFF
	movq	_nv50_gr_trap_ccache@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-176(%rbp), %r12
	movq	%r12, %rdi
	movl	$128, %esi
	movl	%ebx, %ecx
	callq	_nvkm_snprintbf
	leaq	L_.str.14(%rip), %rsi
	movq	%r13, %rdi
	movl	%ebx, %edx
	movq	%r12, %rcx
	xorl	%eax, %eax
	callq	_nvkm_error
	movq	%r14, %rdi
	movl	$4214784, %esi                  ## imm = 0x405000
	callq	_nvkm_rd32
	movl	%eax, -200(%rbp)                ## 4-byte Spill
	movq	%r14, %rdi
	movl	$4214788, %esi                  ## imm = 0x405004
	callq	_nvkm_rd32
	movl	%eax, -196(%rbp)                ## 4-byte Spill
	movq	%r14, %rdi
	movl	$4214792, %esi                  ## imm = 0x405008
	callq	_nvkm_rd32
	movl	%eax, -216(%rbp)                ## 4-byte Spill
	movq	%r14, %rdi
	movl	$4214796, %esi                  ## imm = 0x40500C
	callq	_nvkm_rd32
	movl	%eax, -208(%rbp)                ## 4-byte Spill
	movq	%r14, %rdi
	movl	$4214800, %esi                  ## imm = 0x405010
	callq	_nvkm_rd32
	movl	%eax, %r13d
	movq	%r14, %rdi
	movl	$4214804, %esi                  ## imm = 0x405014
	callq	_nvkm_rd32
	movl	%eax, %r12d
	movq	%r14, %rdi
	movl	$4214812, %esi                  ## imm = 0x40501C
	callq	_nvkm_rd32
	movl	%eax, %ebx
	subq	$8, %rsp
	leaq	L_.str.15(%rip), %rsi
	movq	-192(%rbp), %rdi                ## 8-byte Reload
	movl	-200(%rbp), %edx                ## 4-byte Reload
	movl	-196(%rbp), %ecx                ## 4-byte Reload
	movl	-216(%rbp), %r8d                ## 4-byte Reload
	movl	-208(%rbp), %r9d                ## 4-byte Reload
	xorl	%eax, %eax
	pushq	%rbx
	pushq	%r12
	movl	-180(%rbp), %r12d               ## 4-byte Reload
	pushq	%r13
	movq	-192(%rbp), %r13                ## 8-byte Reload
	callq	_nvkm_error
	addq	$32, %rsp
LBB0_42:
	movq	%r14, %rdi
	movl	$4214808, %esi                  ## imm = 0x405018
	movl	$-1073741824, %edx              ## imm = 0xC0000000
	callq	_nvkm_wr32
	movq	%r14, %rdi
	movl	$4194568, %esi                  ## imm = 0x400108
	movl	$16, %edx
	callq	_nvkm_wr32
	andl	$-17, %r15d
	testb	$32, %r15b
	je	LBB0_47
LBB0_44:
	movq	%r14, %rdi
	movl	$4202496, %esi                  ## imm = 0x402000
	callq	_nvkm_rd32
	testl	%r12d, %r12d
	je	LBB0_46
## %bb.45:
	andl	$2147483647, %eax               ## imm = 0x7FFFFFFF
	leaq	L_.str.16(%rip), %rsi
	movq	%r13, %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_nvkm_error
LBB0_46:
	movq	%r14, %rdi
	movl	$4202496, %esi                  ## imm = 0x402000
	movl	$-1073741824, %edx              ## imm = 0xC0000000
	callq	_nvkm_wr32
	testb	$64, %r15b
	je	LBB0_49
LBB0_48:
	leaq	L_.str.17(%rip), %r9
	movq	%r13, %rdi
	movl	$6, %esi
	movl	$4229376, %edx                  ## imm = 0x408900
	movl	$4228608, %ecx                  ## imm = 0x408600
	movl	%r12d, %r8d
	callq	_nv50_gr_tp_trap
	movq	%r14, %rdi
	movl	$4194568, %esi                  ## imm = 0x400108
	movl	$64, %edx
	callq	_nvkm_wr32
	andl	$-65, %r15d
	testb	$-128, %r15b
	je	LBB0_51
LBB0_50:
	leaq	L_.str.18(%rip), %r9
	movq	%r13, %rdi
	movl	$7, %esi
	movl	$4227860, %edx                  ## imm = 0x408314
	movl	$4227868, %ecx                  ## imm = 0x40831C
	movl	%r12d, %r8d
	callq	_nv50_gr_tp_trap
	movq	%r14, %rdi
	movl	$4194568, %esi                  ## imm = 0x400108
	movl	$128, %edx
	callq	_nvkm_wr32
	andl	$-129, %r15d
	testl	$256, %r15d                     ## imm = 0x100
	jne	LBB0_52
	jmp	LBB0_53
LBB0_26:
	xorl	%ebx, %ebx
LBB0_57:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_59
## %bb.58:
	movl	%ebx, %eax
	addq	$200, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_59:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"TRAP: no units reporting traps?\n"

L_.str.1:                               ## @.str.1
	.asciz	"TRAP_DISPATCH - no ustatus?\n"

L_.str.2:                               ## @.str.2
	.asciz	"TRAP DISPATCH_FAULT\n"

L_.str.3:                               ## @.str.3
	.asciz	"ch %d [%010llx %s] subc %d class %04x mthd %04x data %08x%08x 400808 %08x 400848 %08x\n"

L_.str.4:                               ## @.str.4
	.asciz	"no stuck command?\n"

L_.str.5:                               ## @.str.5
	.asciz	"TRAP DISPATCH_QUERY\n"

L_.str.6:                               ## @.str.6
	.asciz	"ch %d [%010llx %s] subc %d class %04x mthd %04x data %08x 40084c %08x\n"

L_.str.7:                               ## @.str.7
	.asciz	"TRAP_DISPATCH (unknown %08x)\n"

	.comm	_nv50_gr_trap_m2mf,4,2          ## @nv50_gr_trap_m2mf
L_.str.8:                               ## @.str.8
	.asciz	"TRAP_M2MF %08x [%s]\n"

L_.str.9:                               ## @.str.9
	.asciz	"TRAP_M2MF %08x %08x %08x %08x\n"

	.comm	_nv50_gr_trap_vfetch,4,2        ## @nv50_gr_trap_vfetch
L_.str.10:                              ## @.str.10
	.asciz	"TRAP_VFETCH %08x [%s]\n"

L_.str.11:                              ## @.str.11
	.asciz	"TRAP_VFETCH %08x %08x %08x %08x\n"

	.comm	_nv50_gr_trap_strmout,4,2       ## @nv50_gr_trap_strmout
L_.str.12:                              ## @.str.12
	.asciz	"TRAP_STRMOUT %08x [%s]\n"

L_.str.13:                              ## @.str.13
	.asciz	"TRAP_STRMOUT %08x %08x %08x %08x\n"

	.comm	_nv50_gr_trap_ccache,4,2        ## @nv50_gr_trap_ccache
L_.str.14:                              ## @.str.14
	.asciz	"TRAP_CCACHE %08x [%s]\n"

L_.str.15:                              ## @.str.15
	.asciz	"TRAP_CCACHE %08x %08x %08x %08x %08x %08x %08x\n"

L_.str.16:                              ## @.str.16
	.asciz	"TRAP_UNKC04 %08x\n"

L_.str.17:                              ## @.str.17
	.asciz	"TRAP_TEXTURE"

L_.str.18:                              ## @.str.18
	.asciz	"TRAP_MP"

L_.str.19:                              ## @.str.19
	.asciz	"TRAP_PROP"

L_.str.20:                              ## @.str.20
	.asciz	"TRAP: unknown %08x\n"

	.no_dead_strip	_nv50_gr_trap_handler
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nv50_gr_trap_handler
_nv50_gr_trap_handler:                  ; @nv50_gr_trap_handler
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #352
	.cfi_def_cfa_offset 352
	stp	x28, x27, [sp, #256]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #272]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #288]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #304]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #320]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #336]            ; 16-byte Folded Spill
	add	x29, sp, #336
	.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, x4
	mov	x25, x3
	mov	x24, x2
	mov	x22, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-96]
	mov	w28, #264
	movk	w28, #64, lsl #16
	ldr	x20, [x0]
	mov	x0, x20
	mov	w1, #264
	movk	w1, #64, lsl #16
	bl	_nvkm_rd32
	mov	x21, x0
	cbz	w22, LBB0_3
; %bb.1:
	cbnz	w21, LBB0_3
; %bb.2:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_nvkm_error
	b	LBB0_57
LBB0_3:
	tbz	w21, #0, LBB0_27
; %bb.4:
	add	w1, w28, #1788
	mov	x0, x20
	bl	_nvkm_rd32
	mov	x26, x0
	and	w27, w0, #0x7fffffff
	cbz	w22, LBB0_7
; %bb.5:
	cbnz	w27, LBB0_7
; %bb.6:
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_nvkm_error
LBB0_7:
	add	w1, w28, #1016
	mov	x0, x20
	mov	w2, #0
	bl	_nvkm_wr32
	tbnz	w26, #0, LBB0_10
; %bb.8:
	tbnz	w27, #1, LBB0_17
LBB0_9:
	cbnz	w22, LBB0_24
	b	LBB0_26
LBB0_10:
	add	w1, w28, #1792
	mov	x0, x20
	bl	_nvkm_rd32
	mov	x27, x0
	add	w1, w28, #1796
	mov	x0, x20
	bl	_nvkm_rd32
	str	x0, [sp, #104]                  ; 8-byte Folded Spill
	add	w1, w28, #1800
	mov	x0, x20
	bl	_nvkm_rd32
	str	x0, [sp, #88]                   ; 8-byte Folded Spill
	add	w1, w28, #1804
	mov	x0, x20
	bl	_nvkm_rd32
	str	x0, [sp, #96]                   ; 8-byte Folded Spill
	add	w1, w28, #1856
	mov	x0, x20
	bl	_nvkm_rd32
	mov	x28, x0
Lloh7:
	adrp	x1, l_.str.2@PAGE
Lloh8:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_nvkm_error
	cbz	w22, LBB0_13
; %bb.11:
	tbz	w27, #31, LBB0_13
; %bb.12:
	and	w8, w27, #0x1ffc
	ubfx	w9, w27, #16, #3
	stp	x27, x28, [sp, #64]
	ldr	x11, [sp, #104]                 ; 8-byte Folded Reload
	ldr	x10, [sp, #88]                  ; 8-byte Folded Reload
	stp	x10, x11, [sp, #48]
	stp	x24, x25, [sp]
	ldr	x10, [sp, #96]                  ; 8-byte Folded Reload
	stp	x10, x8, [sp, #32]
Lloh9:
	adrp	x1, l_.str.3@PAGE
Lloh10:
	add	x1, x1, l_.str.3@PAGEOFF
	stp	x23, x9, [sp, #16]
	b	LBB0_15
LBB0_13:
	cbz	w22, LBB0_16
; %bb.14:
Lloh11:
	adrp	x1, l_.str.4@PAGE
Lloh12:
	add	x1, x1, l_.str.4@PAGEOFF
LBB0_15:
	mov	x0, x19
	bl	_nvkm_error
LBB0_16:
	mov	w28, #264
	movk	w28, #64, lsl #16
	add	w1, w28, #1792
	mov	x0, x20
	mov	w2, #0
	bl	_nvkm_wr32
	add	w27, w28, #2016
	mov	x0, x20
	mov	x1, x27
	bl	_nvkm_rd32
	and	w2, w0, #0x3
	mov	x0, x20
	mov	x1, x27
	bl	_nvkm_wr32
	add	w1, w28, #1856
	mov	x0, x20
	mov	w2, #0
	bl	_nvkm_wr32
	and	w27, w26, #0x7ffffffe
	tbz	w27, #1, LBB0_9
LBB0_17:
	add	w1, w28, #1860
	mov	x0, x20
	bl	_nvkm_rd32
	mov	x26, x0
	add	w1, w28, #1876
	mov	x0, x20
	bl	_nvkm_rd32
	mov	w8, #264
	movk	w8, #64, lsl #16
	mov	x28, x0
	add	w1, w8, #1804
	mov	x0, x20
	bl	_nvkm_rd32
	str	x0, [sp, #104]                  ; 8-byte Folded Spill
Lloh13:
	adrp	x1, l_.str.5@PAGE
Lloh14:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x19
	bl	_nvkm_error
	cbz	w22, LBB0_20
; %bb.18:
	tbz	w26, #31, LBB0_20
; %bb.19:
	and	w8, w26, #0x1ffc
	ubfx	w9, w26, #16, #3
	stp	x28, x26, [sp, #48]
                                        ; kill: def $w25 killed $w25 killed $x25 def $x25
                                        ; kill: def $w24 killed $w24 killed $x24 def $x24
	stp	x24, x25, [sp]
	ldr	x10, [sp, #104]                 ; 8-byte Folded Reload
	stp	x10, x8, [sp, #32]
Lloh15:
	adrp	x1, l_.str.6@PAGE
Lloh16:
	add	x1, x1, l_.str.6@PAGEOFF
	stp	x23, x9, [sp, #16]
	b	LBB0_22
LBB0_20:
	cbz	w22, LBB0_23
; %bb.21:
Lloh17:
	adrp	x1, l_.str.4@PAGE
Lloh18:
	add	x1, x1, l_.str.4@PAGEOFF
LBB0_22:
	mov	x0, x19
	bl	_nvkm_error
LBB0_23:
	mov	w28, #264
	movk	w28, #64, lsl #16
	add	w1, w28, #1860
	mov	x0, x20
	mov	w2, #0
	bl	_nvkm_wr32
	and	w27, w27, #0xfffffffd
	cbz	w22, LBB0_26
LBB0_24:
	cbz	w27, LBB0_26
; %bb.25:
	str	x27, [sp]
Lloh19:
	adrp	x1, l_.str.7@PAGE
Lloh20:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x19
	bl	_nvkm_error
LBB0_26:
	add	w1, w28, #1788
	mov	x0, x20
	mov	w2, #-1073741824
	bl	_nvkm_wr32
	mov	x0, x20
	mov	w1, #264
	movk	w1, #64, lsl #16
	mov	w2, #1
	bl	_nvkm_wr32
	ands	w21, w21, #0xfffffffe
	b.eq	LBB0_60
LBB0_27:
	tbnz	w21, #1, LBB0_32
; %bb.28:
	tbnz	w21, #2, LBB0_35
LBB0_29:
	tbnz	w21, #3, LBB0_38
LBB0_30:
	tbnz	w21, #4, LBB0_41
LBB0_31:
	tbnz	w21, #5, LBB0_44
	b	LBB0_47
LBB0_32:
	mov	w26, #26624
	movk	w26, #64, lsl #16
	mov	x0, x20
	mov	w1, #26624
	movk	w1, #64, lsl #16
	bl	_nvkm_rd32
	cbz	w22, LBB0_34
; %bb.33:
	and	w23, w0, #0x7fffffff
Lloh21:
	adrp	x8, _nv50_gr_trap_m2mf@GOTPAGE
Lloh22:
	ldr	x8, [x8, _nv50_gr_trap_m2mf@GOTPAGEOFF]
Lloh23:
	ldr	w2, [x8]
	add	x24, sp, #112
	add	x0, sp, #112
	mov	w1, #128
	mov	x3, x23
	bl	_nvkm_snprintbf
	stp	x23, x24, [sp]
Lloh24:
	adrp	x1, l_.str.8@PAGE
Lloh25:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x0, x19
	bl	_nvkm_error
	add	w1, w26, #4
	mov	x0, x20
	bl	_nvkm_rd32
	mov	x23, x0
	add	w1, w26, #8
	mov	x0, x20
	bl	_nvkm_rd32
	mov	x24, x0
	add	w1, w26, #12
	mov	x0, x20
	bl	_nvkm_rd32
	mov	x25, x0
	add	w1, w26, #16
	mov	x0, x20
	bl	_nvkm_rd32
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x25, x0, [sp, #16]
	stp	x23, x24, [sp]
Lloh26:
	adrp	x1, l_.str.9@PAGE
Lloh27:
	add	x1, x1, l_.str.9@PAGEOFF
	mov	x0, x19
	bl	_nvkm_error
LBB0_34:
	sub	w23, w28, #200
	mov	x0, x20
	mov	x1, x23
	mov	w2, #2
	bl	_nvkm_wr32
	mov	x0, x20
	mov	x1, x23
	mov	w2, #0
	bl	_nvkm_wr32
	mov	x0, x20
	mov	w1, #26624
	movk	w1, #64, lsl #16
	mov	w2, #-1073741824
	bl	_nvkm_wr32
	mov	x0, x20
	mov	w1, #264
	movk	w1, #64, lsl #16
	mov	w2, #2
	bl	_nvkm_wr32
	and	w21, w21, #0xfffffffd
	tbz	w21, #2, LBB0_29
LBB0_35:
	add	w23, w28, #2812
	mov	x0, x20
	mov	x1, x23
	bl	_nvkm_rd32
	cbz	w22, LBB0_37
; %bb.36:
	and	w24, w0, #0x7fffffff
Lloh28:
	adrp	x8, _nv50_gr_trap_vfetch@GOTPAGE
Lloh29:
	ldr	x8, [x8, _nv50_gr_trap_vfetch@GOTPAGEOFF]
Lloh30:
	ldr	w2, [x8]
	add	x25, sp, #112
	add	x0, sp, #112
	mov	w1, #128
	mov	x3, x24
	bl	_nvkm_snprintbf
	stp	x24, x25, [sp]
Lloh31:
	adrp	x1, l_.str.10@PAGE
Lloh32:
	add	x1, x1, l_.str.10@PAGEOFF
	mov	x0, x19
	bl	_nvkm_error
	add	w1, w28, #2808
	mov	x0, x20
	bl	_nvkm_rd32
	mov	x24, x0
	add	w1, w28, #2816
	mov	x0, x20
	bl	_nvkm_rd32
	mov	x25, x0
	add	w1, w28, #2820
	mov	x0, x20
	bl	_nvkm_rd32
	mov	x26, x0
	add	w1, w28, #2824
	mov	x0, x20
	bl	_nvkm_rd32
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x26, x0, [sp, #16]
	stp	x24, x25, [sp]
Lloh33:
	adrp	x1, l_.str.11@PAGE
Lloh34:
	add	x1, x1, l_.str.11@PAGEOFF
	mov	x0, x19
	bl	_nvkm_error
LBB0_37:
	mov	x0, x20
	mov	x1, x23
	mov	w2, #-1073741824
	bl	_nvkm_wr32
	mov	x0, x20
	mov	w1, #264
	movk	w1, #64, lsl #16
	mov	w2, #4
	bl	_nvkm_wr32
	and	w21, w21, #0xfffffffb
	tbz	w21, #3, LBB0_30
LBB0_38:
	mov	w26, #6144
	movk	w26, #64, lsl #16
	mov	x0, x20
	mov	w1, #6144
	movk	w1, #64, lsl #16
	bl	_nvkm_rd32
	cbz	w22, LBB0_40
; %bb.39:
	and	w23, w0, #0x7fffffff
Lloh35:
	adrp	x8, _nv50_gr_trap_strmout@GOTPAGE
Lloh36:
	ldr	x8, [x8, _nv50_gr_trap_strmout@GOTPAGEOFF]
Lloh37:
	ldr	w2, [x8]
	add	x24, sp, #112
	add	x0, sp, #112
	mov	w1, #128
	mov	x3, x23
	bl	_nvkm_snprintbf
	stp	x23, x24, [sp]
Lloh38:
	adrp	x1, l_.str.12@PAGE
Lloh39:
	add	x1, x1, l_.str.12@PAGEOFF
	mov	x0, x19
	bl	_nvkm_error
	add	w1, w26, #4
	mov	x0, x20
	bl	_nvkm_rd32
	mov	x23, x0
	add	w1, w26, #8
	mov	x0, x20
	bl	_nvkm_rd32
	mov	x24, x0
	add	w1, w26, #12
	mov	x0, x20
	bl	_nvkm_rd32
	mov	x25, x0
	add	w1, w26, #16
	mov	x0, x20
	bl	_nvkm_rd32
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x25, x0, [sp, #16]
	stp	x23, x24, [sp]
Lloh40:
	adrp	x1, l_.str.13@PAGE
Lloh41:
	add	x1, x1, l_.str.13@PAGEOFF
	mov	x0, x19
	bl	_nvkm_error
LBB0_40:
	sub	w23, w28, #200
	mov	x0, x20
	mov	x1, x23
	mov	w2, #128
	bl	_nvkm_wr32
	mov	x0, x20
	mov	x1, x23
	mov	w2, #0
	bl	_nvkm_wr32
	mov	x0, x20
	mov	w1, #6144
	movk	w1, #64, lsl #16
	mov	w2, #-1073741824
	bl	_nvkm_wr32
	mov	x0, x20
	mov	w1, #264
	movk	w1, #64, lsl #16
	mov	w2, #8
	bl	_nvkm_wr32
	and	w21, w21, #0xfffffff7
	tbz	w21, #4, LBB0_31
LBB0_41:
	mov	w24, #20504
	movk	w24, #64, lsl #16
	mov	x0, x20
	mov	w1, #20504
	movk	w1, #64, lsl #16
	bl	_nvkm_rd32
	cbz	w22, LBB0_43
; %bb.42:
	and	w23, w0, #0x7fffffff
Lloh42:
	adrp	x8, _nv50_gr_trap_ccache@GOTPAGE
Lloh43:
	ldr	x8, [x8, _nv50_gr_trap_ccache@GOTPAGEOFF]
Lloh44:
	ldr	w2, [x8]
	add	x25, sp, #112
	add	x0, sp, #112
	mov	w1, #128
	mov	x3, x23
	bl	_nvkm_snprintbf
	stp	x23, x25, [sp]
Lloh45:
	adrp	x1, l_.str.14@PAGE
Lloh46:
	add	x1, x1, l_.str.14@PAGEOFF
	mov	x0, x19
	bl	_nvkm_error
	sub	w1, w24, #24
	mov	x0, x20
	bl	_nvkm_rd32
	str	x0, [sp, #104]                  ; 8-byte Folded Spill
	sub	w1, w24, #20
	mov	x0, x20
	bl	_nvkm_rd32
	mov	x23, x0
	sub	w1, w24, #16
	mov	x0, x20
	bl	_nvkm_rd32
	mov	x25, x0
	sub	w1, w24, #12
	mov	x0, x20
	bl	_nvkm_rd32
	mov	x26, x0
	sub	w1, w24, #8
	mov	x0, x20
	bl	_nvkm_rd32
	mov	x27, x0
	sub	w1, w24, #4
	mov	x0, x20
	bl	_nvkm_rd32
	mov	x28, x0
	add	w1, w24, #4
	mov	x0, x20
	bl	_nvkm_rd32
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x28, x0, [sp, #40]
	stp	x26, x27, [sp, #24]
	stp	x23, x25, [sp, #8]
Lloh47:
	adrp	x1, l_.str.15@PAGE
Lloh48:
	add	x1, x1, l_.str.15@PAGEOFF
	ldr	x8, [sp, #104]                  ; 8-byte Folded Reload
	str	x8, [sp]
	mov	x0, x19
	bl	_nvkm_error
LBB0_43:
	mov	x0, x20
	mov	w1, #20504
	movk	w1, #64, lsl #16
	mov	w2, #-1073741824
	bl	_nvkm_wr32
	mov	x0, x20
	mov	w1, #264
	movk	w1, #64, lsl #16
	mov	w2, #16
	bl	_nvkm_wr32
	and	w21, w21, #0xffffffef
	tbz	w21, #5, LBB0_47
LBB0_44:
	mov	w8, #6144
	movk	w8, #64, lsl #16
	add	w23, w8, #2048
	mov	x0, x20
	mov	x1, x23
	bl	_nvkm_rd32
	cbz	w22, LBB0_46
; %bb.45:
	and	w8, w0, #0x7fffffff
	str	x8, [sp]
Lloh49:
	adrp	x1, l_.str.16@PAGE
Lloh50:
	add	x1, x1, l_.str.16@PAGEOFF
	mov	x0, x19
	bl	_nvkm_error
LBB0_46:
	mov	x0, x20
	mov	x1, x23
	mov	w2, #-1073741824
	bl	_nvkm_wr32
LBB0_47:
	mov	w23, #33556
	movk	w23, #64, lsl #16
	tbnz	w21, #6, LBB0_51
; %bb.48:
	tbnz	w21, #7, LBB0_52
LBB0_49:
	tbnz	w21, #8, LBB0_53
LBB0_50:
	cbnz	w21, LBB0_54
	b	LBB0_57
LBB0_51:
	add	w3, w23, #748
	add	w2, w23, #1516
Lloh51:
	adrp	x5, l_.str.17@PAGE
Lloh52:
	add	x5, x5, l_.str.17@PAGEOFF
	mov	x0, x19
	mov	w1, #6
	mov	x4, x22
	bl	_nv50_gr_tp_trap
	mov	x0, x20
	mov	w1, #264
	movk	w1, #64, lsl #16
	mov	w2, #64
	bl	_nvkm_wr32
	and	w21, w21, #0xffffffbf
	tbz	w21, #7, LBB0_49
LBB0_52:
	add	w3, w23, #8
Lloh53:
	adrp	x5, l_.str.18@PAGE
Lloh54:
	add	x5, x5, l_.str.18@PAGEOFF
	mov	x0, x19
	mov	w1, #7
	mov	w2, #33556
	movk	w2, #64, lsl #16
	mov	x4, x22
	bl	_nv50_gr_tp_trap
	mov	x0, x20
	mov	w1, #264
	movk	w1, #64, lsl #16
	mov	w2, #128
	bl	_nvkm_wr32
	and	w21, w21, #0xffffff7f
	tbz	w21, #8, LBB0_50
LBB0_53:
	add	w3, w23, #1012
	add	w2, w23, #2804
Lloh55:
	adrp	x5, l_.str.19@PAGE
Lloh56:
	add	x5, x5, l_.str.19@PAGEOFF
	mov	x0, x19
	mov	w1, #8
	mov	x4, x22
	bl	_nv50_gr_tp_trap
	mov	x0, x20
	mov	w1, #264
	movk	w1, #64, lsl #16
	mov	w2, #256
	bl	_nvkm_wr32
	and	w21, w21, #0xfffffeff
	cbz	w21, LBB0_57
LBB0_54:
	cbz	w22, LBB0_56
; %bb.55:
	str	x21, [sp]
Lloh57:
	adrp	x1, l_.str.20@PAGE
Lloh58:
	add	x1, x1, l_.str.20@PAGEOFF
	mov	x0, x19
	bl	_nvkm_error
LBB0_56:
	mov	x0, x20
	mov	w1, #264
	movk	w1, #64, lsl #16
	mov	x2, x21
	bl	_nvkm_wr32
LBB0_57:
	mov	w0, #1
LBB0_58:
	ldur	x8, [x29, #-96]
Lloh59:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh60:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh61:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_61
; %bb.59:
	ldp	x29, x30, [sp, #336]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #320]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #304]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #288]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #272]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #256]            ; 16-byte Folded Reload
	add	sp, sp, #352
	ret
LBB0_60:
	mov	w0, #0
	b	LBB0_58
LBB0_61:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpAdd	Lloh47, Lloh48
	.loh AdrpAdd	Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpAdd	Lloh49, Lloh50
	.loh AdrpAdd	Lloh51, Lloh52
	.loh AdrpAdd	Lloh53, Lloh54
	.loh AdrpAdd	Lloh55, Lloh56
	.loh AdrpAdd	Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"TRAP: no units reporting traps?\n"

l_.str.1:                               ; @.str.1
	.asciz	"TRAP_DISPATCH - no ustatus?\n"

l_.str.2:                               ; @.str.2
	.asciz	"TRAP DISPATCH_FAULT\n"

l_.str.3:                               ; @.str.3
	.asciz	"ch %d [%010llx %s] subc %d class %04x mthd %04x data %08x%08x 400808 %08x 400848 %08x\n"

l_.str.4:                               ; @.str.4
	.asciz	"no stuck command?\n"

l_.str.5:                               ; @.str.5
	.asciz	"TRAP DISPATCH_QUERY\n"

l_.str.6:                               ; @.str.6
	.asciz	"ch %d [%010llx %s] subc %d class %04x mthd %04x data %08x 40084c %08x\n"

l_.str.7:                               ; @.str.7
	.asciz	"TRAP_DISPATCH (unknown %08x)\n"

	.comm	_nv50_gr_trap_m2mf,4,2          ; @nv50_gr_trap_m2mf
l_.str.8:                               ; @.str.8
	.asciz	"TRAP_M2MF %08x [%s]\n"

l_.str.9:                               ; @.str.9
	.asciz	"TRAP_M2MF %08x %08x %08x %08x\n"

	.comm	_nv50_gr_trap_vfetch,4,2        ; @nv50_gr_trap_vfetch
l_.str.10:                              ; @.str.10
	.asciz	"TRAP_VFETCH %08x [%s]\n"

l_.str.11:                              ; @.str.11
	.asciz	"TRAP_VFETCH %08x %08x %08x %08x\n"

	.comm	_nv50_gr_trap_strmout,4,2       ; @nv50_gr_trap_strmout
l_.str.12:                              ; @.str.12
	.asciz	"TRAP_STRMOUT %08x [%s]\n"

l_.str.13:                              ; @.str.13
	.asciz	"TRAP_STRMOUT %08x %08x %08x %08x\n"

	.comm	_nv50_gr_trap_ccache,4,2        ; @nv50_gr_trap_ccache
l_.str.14:                              ; @.str.14
	.asciz	"TRAP_CCACHE %08x [%s]\n"

l_.str.15:                              ; @.str.15
	.asciz	"TRAP_CCACHE %08x %08x %08x %08x %08x %08x %08x\n"

l_.str.16:                              ; @.str.16
	.asciz	"TRAP_UNKC04 %08x\n"

l_.str.17:                              ; @.str.17
	.asciz	"TRAP_TEXTURE"

l_.str.18:                              ; @.str.18
	.asciz	"TRAP_MP"

l_.str.19:                              ; @.str.19
	.asciz	"TRAP_PROP"

l_.str.20:                              ; @.str.20
	.asciz	"TRAP: unknown %08x\n"

	.no_dead_strip	_nv50_gr_trap_handler
.subsections_via_symbols
