	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gf100_gr_trap_intr
_gf100_gr_trap_intr:                    ## @gf100_gr_trap_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	$168, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	leaq	8(%rdi), %rax
	movq	%rax, -192(%rbp)                ## 8-byte Spill
	movq	8(%rdi), %r14
	movq	%r14, %rdi
	movl	$4194568, %esi                  ## imm = 0x400108
	callq	_nvkm_rd32
	movl	%eax, %ebx
	testb	$1, %bl
	jne	LBB0_1
## %bb.2:
	testb	$2, %bl
	jne	LBB0_3
LBB0_4:
	testb	$8, %bl
	jne	LBB0_5
LBB0_6:
	testb	$16, %bl
	jne	LBB0_7
LBB0_8:
	testb	$64, %bl
	jne	LBB0_9
LBB0_10:
	testb	$-128, %bl
	jne	LBB0_11
LBB0_12:
	testl	$256, %ebx                      ## imm = 0x100
	jne	LBB0_13
LBB0_16:
	testl	$16777216, %ebx                 ## imm = 0x1000000
	jne	LBB0_17
LBB0_24:
	testl	$33554432, %ebx                 ## imm = 0x2000000
	jne	LBB0_26
LBB0_25:
	movq	-192(%rbp), %rdi                ## 8-byte Reload
	testl	%ebx, %ebx
	jne	LBB0_31
	jmp	LBB0_32
LBB0_1:
	movq	%r14, %rdi
	movl	$4210688, %esi                  ## imm = 0x404000
	callq	_nvkm_rd32
	movl	%eax, %r13d
	movq	_gf100_dispatch_error@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r13d, %ecx
	andl	$1073741823, %ecx               ## imm = 0x3FFFFFFF
	leaq	-176(%rbp), %r15
	movq	%r15, %rdi
	movl	$128, %esi
	callq	_nvkm_snprintbf
	leaq	L_.str(%rip), %rsi
	movq	-192(%rbp), %rdi                ## 8-byte Reload
	movl	%r13d, %edx
	movq	%r15, %rcx
	xorl	%eax, %eax
	callq	_nvkm_error
	movq	%r14, %rdi
	movl	$4210688, %esi                  ## imm = 0x404000
	movl	$-1073741824, %edx              ## imm = 0xC0000000
	callq	_nvkm_wr32
	movq	%r14, %rdi
	movl	$4194568, %esi                  ## imm = 0x400108
	movl	$1, %edx
	callq	_nvkm_wr32
	andl	$-2, %ebx
	testb	$2, %bl
	je	LBB0_4
LBB0_3:
	movq	%r14, %rdi
	movl	$4212224, %esi                  ## imm = 0x404600
	callq	_nvkm_rd32
	movl	%eax, %r13d
	movq	_gf100_m2mf_error@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r13d, %ecx
	andl	$1073741823, %ecx               ## imm = 0x3FFFFFFF
	leaq	-176(%rbp), %r15
	movq	%r15, %rdi
	movl	$128, %esi
	callq	_nvkm_snprintbf
	leaq	L_.str.1(%rip), %rsi
	movq	-192(%rbp), %rdi                ## 8-byte Reload
	movl	%r13d, %edx
	movq	%r15, %rcx
	xorl	%eax, %eax
	callq	_nvkm_error
	movq	%r14, %rdi
	movl	$4212224, %esi                  ## imm = 0x404600
	movl	$-1073741824, %edx              ## imm = 0xC0000000
	callq	_nvkm_wr32
	movq	%r14, %rdi
	movl	$4194568, %esi                  ## imm = 0x400108
	movl	$2, %edx
	callq	_nvkm_wr32
	andl	$-3, %ebx
	testb	$8, %bl
	je	LBB0_6
LBB0_5:
	movq	%r14, %rdi
	movl	$4227120, %esi                  ## imm = 0x408030
	callq	_nvkm_rd32
	movl	%eax, %r13d
	movq	_gf100_ccache_error@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r13d, %ecx
	andl	$1073741823, %ecx               ## imm = 0x3FFFFFFF
	leaq	-176(%rbp), %r15
	movq	%r15, %rdi
	movl	$128, %esi
	callq	_nvkm_snprintbf
	leaq	L_.str.2(%rip), %rsi
	movq	-192(%rbp), %rdi                ## 8-byte Reload
	movl	%r13d, %edx
	movq	%r15, %rcx
	xorl	%eax, %eax
	callq	_nvkm_error
	movq	%r14, %rdi
	movl	$4227120, %esi                  ## imm = 0x408030
	movl	$-1073741824, %edx              ## imm = 0xC0000000
	callq	_nvkm_wr32
	movq	%r14, %rdi
	movl	$4194568, %esi                  ## imm = 0x400108
	movl	$8, %edx
	callq	_nvkm_wr32
	andl	$-9, %ebx
	testb	$16, %bl
	je	LBB0_8
LBB0_7:
	movq	%r14, %rdi
	movl	$4216896, %esi                  ## imm = 0x405840
	callq	_nvkm_rd32
	movl	%eax, %ecx
	andl	$16777215, %ecx                 ## imm = 0xFFFFFF
	movl	%eax, %r8d
	shrl	$24, %r8d
	andl	$63, %r8d
	leaq	L_.str.3(%rip), %rsi
	movq	-192(%rbp), %rdi                ## 8-byte Reload
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_nvkm_error
	movq	%r14, %rdi
	movl	$4216896, %esi                  ## imm = 0x405840
	movl	$-1073741824, %edx              ## imm = 0xC0000000
	callq	_nvkm_wr32
	movq	%r14, %rdi
	movl	$4194568, %esi                  ## imm = 0x400108
	movl	$16, %edx
	callq	_nvkm_wr32
	andl	$-17, %ebx
	testb	$64, %bl
	je	LBB0_10
LBB0_9:
	movq	%r14, %rdi
	movl	$4218908, %esi                  ## imm = 0x40601C
	callq	_nvkm_rd32
	movl	%eax, %r13d
	movq	_gf100_unk6_error@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r13d, %ecx
	andl	$1073741823, %ecx               ## imm = 0x3FFFFFFF
	leaq	-176(%rbp), %r15
	movq	%r15, %rdi
	movl	$128, %esi
	callq	_nvkm_snprintbf
	leaq	L_.str.4(%rip), %rsi
	movq	-192(%rbp), %rdi                ## 8-byte Reload
	movl	%r13d, %edx
	movq	%r15, %rcx
	xorl	%eax, %eax
	callq	_nvkm_error
	movq	%r14, %rdi
	movl	$4218908, %esi                  ## imm = 0x40601C
	movl	$-1073741824, %edx              ## imm = 0xC0000000
	callq	_nvkm_wr32
	movq	%r14, %rdi
	movl	$4194568, %esi                  ## imm = 0x400108
	movl	$64, %edx
	callq	_nvkm_wr32
	andl	$-65, %ebx
	testb	$-128, %bl
	je	LBB0_12
LBB0_11:
	movq	%r14, %rdi
	movl	$4211856, %esi                  ## imm = 0x404490
	callq	_nvkm_rd32
	movl	%eax, %r15d
	movq	%r14, %rdi
	movl	$4211860, %esi                  ## imm = 0x404494
	callq	_nvkm_rd32
	movl	%eax, %r13d
	movq	%r14, %rdi
	movl	$4211868, %esi                  ## imm = 0x40449C
	callq	_nvkm_rd32
	movl	%ebx, -180(%rbp)                ## 4-byte Spill
	movl	%eax, %ebx
	movq	_gf100_macro_error@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r15d, %ecx
	andl	$536870911, %ecx                ## imm = 0x1FFFFFFF
	leaq	-176(%rbp), %rdi
	movl	$128, %esi
	callq	_nvkm_snprintbf
	movl	%r13d, %r8d
	andl	$2047, %r8d                     ## imm = 0x7FF
	testl	$268435456, %r13d               ## imm = 0x10000000
	leaq	L_.str.7(%rip), %rax
	leaq	L_.str.6(%rip), %r9
	cmoveq	%rax, %r9
	movl	%ebx, (%rsp)
	movl	-180(%rbp), %ebx                ## 4-byte Reload
	leaq	L_.str.5(%rip), %rsi
	movq	-192(%rbp), %rdi                ## 8-byte Reload
	movl	%r15d, %edx
	leaq	-176(%rbp), %rcx
	xorl	%eax, %eax
	callq	_nvkm_error
	movq	%r14, %rdi
	movl	$4211856, %esi                  ## imm = 0x404490
	movl	$-1073741824, %edx              ## imm = 0xC0000000
	callq	_nvkm_wr32
	movq	%r14, %rdi
	movl	$4194568, %esi                  ## imm = 0x400108
	movl	$128, %edx
	callq	_nvkm_wr32
	andl	$-129, %ebx
	testl	$256, %ebx                      ## imm = 0x100
	je	LBB0_16
LBB0_13:
	movl	%ebx, -180(%rbp)                ## 4-byte Spill
	movq	%r14, %rdi
	movl	$4223008, %esi                  ## imm = 0x407020
	callq	_nvkm_rd32
	movl	%eax, %r15d
	movq	_gk104_sked_error@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r15d, %ebx
	andl	$1073741823, %ebx               ## imm = 0x3FFFFFFF
	leaq	-176(%rbp), %r13
	movq	%r13, %rdi
	movl	$128, %esi
	movl	%ebx, %ecx
	callq	_nvkm_snprintbf
	leaq	L_.str.8(%rip), %rsi
	movq	-192(%rbp), %rdi                ## 8-byte Reload
	movl	%ebx, %edx
	movq	%r13, %rcx
	xorl	%eax, %eax
	callq	_nvkm_error
	andl	$1073741823, %r15d              ## imm = 0x3FFFFFFF
	je	LBB0_15
## %bb.14:
	movq	%r14, %rdi
	movl	$4223008, %esi                  ## imm = 0x407020
	movl	$1073741824, %edx               ## imm = 0x40000000
	callq	_nvkm_wr32
LBB0_15:
	movq	%r14, %rdi
	movl	$4194568, %esi                  ## imm = 0x400108
	movl	$256, %edx                      ## imm = 0x100
	callq	_nvkm_wr32
	movl	-180(%rbp), %ebx                ## 4-byte Reload
	andl	$-257, %ebx                     ## imm = 0xFEFF
	testl	$16777216, %ebx                 ## imm = 0x1000000
	je	LBB0_24
LBB0_17:
	movl	%ebx, -180(%rbp)                ## 4-byte Spill
	movq	%r14, %rdi
	movl	$4194584, %esi                  ## imm = 0x400118
	callq	_nvkm_rd32
	testl	%eax, %eax
	je	LBB0_23
## %bb.18:
	movl	%eax, %r15d
	xorl	%ebx, %ebx
	jmp	LBB0_19
	.p2align	4, 0x90
LBB0_22:                                ##   in Loop: Header=BB0_19 Depth=1
	incl	%ebx
	testl	%r15d, %r15d
	je	LBB0_23
LBB0_19:                                ## =>This Inner Loop Header: Depth=1
	cmpl	(%r12), %ebx
	jge	LBB0_23
## %bb.20:                              ##   in Loop: Header=BB0_19 Depth=1
	movl	$1, %r13d
	movl	%ebx, %ecx
	shll	%cl, %r13d
	btl	%ebx, %r15d
	jae	LBB0_22
## %bb.21:                              ##   in Loop: Header=BB0_19 Depth=1
	movq	%r12, %rdi
	movl	%ebx, %esi
	callq	_gf100_gr_trap_gpc
	movq	%r14, %rdi
	movl	$4194584, %esi                  ## imm = 0x400118
	movl	%r13d, %edx
	callq	_nvkm_wr32
	notl	%r13d
	andl	%r13d, %r15d
	jmp	LBB0_22
LBB0_23:
	movq	%r14, %rdi
	movl	$4194568, %esi                  ## imm = 0x400108
	movl	$16777216, %edx                 ## imm = 0x1000000
	callq	_nvkm_wr32
	movl	-180(%rbp), %ebx                ## 4-byte Reload
	andl	$-16777217, %ebx                ## imm = 0xFEFFFFFF
	testl	$33554432, %ebx                 ## imm = 0x2000000
	je	LBB0_25
LBB0_26:
	movl	%ebx, -180(%rbp)                ## 4-byte Spill
	cmpl	$0, 4(%r12)
	movq	-192(%rbp), %r13                ## 8-byte Reload
	jle	LBB0_29
## %bb.27:
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_28:                                ## =>This Inner Loop Header: Depth=1
	movl	%r15d, %edi
	movl	$112, %esi
	callq	_ROP_UNIT
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_nvkm_rd32
	movl	%eax, %ebx
	movl	%r15d, %edi
	movl	$324, %esi                      ## imm = 0x144
	callq	_ROP_UNIT
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_nvkm_rd32
	movq	%r13, %rdi
	leaq	L_.str.9(%rip), %rsi
	movl	%r15d, %edx
	movl	%ebx, %ecx
	movl	%eax, %r8d
	xorl	%eax, %eax
	callq	_nvkm_error
	movl	%r15d, %edi
	movl	$112, %esi
	callq	_ROP_UNIT
	movq	%r14, %rdi
	movl	%eax, %esi
	movl	$-1073741824, %edx              ## imm = 0xC0000000
	callq	_nvkm_wr32
	movl	%r15d, %edi
	movl	$324, %esi                      ## imm = 0x144
	callq	_ROP_UNIT
	movq	%r14, %rdi
	movl	%eax, %esi
	movl	$-1073741824, %edx              ## imm = 0xC0000000
	callq	_nvkm_wr32
	incl	%r15d
	cmpl	4(%r12), %r15d
	jl	LBB0_28
LBB0_29:
	movq	%r14, %rdi
	movl	$4194568, %esi                  ## imm = 0x400108
	movl	$33554432, %edx                 ## imm = 0x2000000
	callq	_nvkm_wr32
	movl	-180(%rbp), %ebx                ## 4-byte Reload
	andl	$-33554433, %ebx                ## imm = 0xFDFFFFFF
	movq	%r13, %rdi
	testl	%ebx, %ebx
	je	LBB0_32
LBB0_31:
	leaq	L_.str.10(%rip), %rsi
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_nvkm_error
	movq	%r14, %rdi
	movl	$4194568, %esi                  ## imm = 0x400108
	movl	%ebx, %edx
	callq	_nvkm_wr32
LBB0_32:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_34
## %bb.33:
	addq	$168, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_34:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_gf100_dispatch_error,4,2       ## @gf100_dispatch_error
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"DISPATCH %08x [%s]\n"

	.comm	_gf100_m2mf_error,4,2           ## @gf100_m2mf_error
L_.str.1:                               ## @.str.1
	.asciz	"M2MF %08x [%s]\n"

	.comm	_gf100_ccache_error,4,2         ## @gf100_ccache_error
L_.str.2:                               ## @.str.2
	.asciz	"CCACHE %08x [%s]\n"

L_.str.3:                               ## @.str.3
	.asciz	"SHADER %08x, sph: 0x%06x, stage: 0x%02x\n"

	.comm	_gf100_unk6_error,4,2           ## @gf100_unk6_error
L_.str.4:                               ## @.str.4
	.asciz	"UNK6 %08x [%s]\n"

	.comm	_gf100_macro_error,4,2          ## @gf100_macro_error
L_.str.5:                               ## @.str.5
	.asciz	"MACRO %08x [%s], pc: 0x%03x%s, op: 0x%08x\n"

L_.str.6:                               ## @.str.6
	.space	1

L_.str.7:                               ## @.str.7
	.asciz	" (invalid)"

	.comm	_gk104_sked_error,4,2           ## @gk104_sked_error
L_.str.8:                               ## @.str.8
	.asciz	"SKED: %08x [%s]\n"

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

L_.str.10:                              ## @.str.10
	.asciz	"TRAP UNHANDLED %08x\n"

	.no_dead_strip	_gf100_gr_trap_intr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gf100_gr_trap_intr
_gf100_gr_trap_intr:                    ; @gf100_gr_trap_intr
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #272
	.cfi_def_cfa_offset 272
	stp	x28, x27, [sp, #176]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #192]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #208]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #224]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #240]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #256]            ; 16-byte Folded Spill
	add	x29, sp, #256
	.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	x22, 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	w26, #16384
	movk	w26, #64, lsl #16
	mov	w27, #264
	movk	w27, #64, lsl #16
	mov	x20, x0
	ldr	x19, [x20, #8]!
	mov	x0, x19
	mov	w1, #264
	movk	w1, #64, lsl #16
	bl	_nvkm_rd32
	mov	x21, x0
	tbnz	w0, #0, LBB0_13
; %bb.1:
	tbnz	w21, #1, LBB0_14
LBB0_2:
	tbnz	w21, #3, LBB0_15
LBB0_3:
	tbnz	w21, #4, LBB0_16
LBB0_4:
	tbnz	w21, #6, LBB0_17
LBB0_5:
	tbnz	w21, #7, LBB0_18
LBB0_6:
	tbnz	w21, #8, LBB0_19
LBB0_7:
	tbnz	w21, #24, LBB0_22
LBB0_8:
	tbnz	w21, #25, LBB0_29
LBB0_9:
	cbz	w21, LBB0_11
LBB0_10:
Lloh3:
	adrp	x1, l_.str.10@PAGE
Lloh4:
	add	x1, x1, l_.str.10@PAGEOFF
	mov	x0, x20
	mov	x2, x21
	bl	_nvkm_error
	mov	x0, x19
	mov	w1, #264
	movk	w1, #64, lsl #16
	mov	x2, x21
	bl	_nvkm_wr32
LBB0_11:
	ldur	x8, [x29, #-96]
Lloh5:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh6:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_33
; %bb.12:
	ldp	x29, x30, [sp, #256]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #240]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #224]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #208]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #192]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #176]            ; 16-byte Folded Reload
	add	sp, sp, #272
	ret
LBB0_13:
	mov	x0, x19
	mov	w1, #16384
	movk	w1, #64, lsl #16
	bl	_nvkm_rd32
	mov	x23, x0
Lloh8:
	adrp	x8, _gf100_dispatch_error@GOTPAGE
Lloh9:
	ldr	x8, [x8, _gf100_dispatch_error@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	and	w3, w0, #0x3fffffff
	add	x24, sp, #32
	add	x0, sp, #32
	mov	w1, #128
	bl	_nvkm_snprintbf
	str	x24, [sp]
Lloh11:
	adrp	x1, l_.str@PAGE
Lloh12:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	mov	x2, x23
	bl	_nvkm_error
	mov	x0, x19
	mov	w1, #16384
	movk	w1, #64, lsl #16
	mov	w2, #-1073741824
	bl	_nvkm_wr32
	mov	x0, x19
	mov	w1, #264
	movk	w1, #64, lsl #16
	mov	w2, #1
	bl	_nvkm_wr32
	and	w21, w21, #0xfffffffe
	tbz	w21, #1, LBB0_2
LBB0_14:
	add	w23, w26, #1536
	mov	x0, x19
	mov	x1, x23
	bl	_nvkm_rd32
	mov	x24, x0
Lloh13:
	adrp	x8, _gf100_m2mf_error@GOTPAGE
Lloh14:
	ldr	x8, [x8, _gf100_m2mf_error@GOTPAGEOFF]
Lloh15:
	ldr	w2, [x8]
	and	w3, w0, #0x3fffffff
	add	x25, sp, #32
	add	x0, sp, #32
	mov	w1, #128
	bl	_nvkm_snprintbf
	str	x25, [sp]
Lloh16:
	adrp	x1, l_.str.1@PAGE
Lloh17:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	mov	x2, x24
	bl	_nvkm_error
	mov	x0, x19
	mov	x1, x23
	mov	w2, #-1073741824
	bl	_nvkm_wr32
	mov	x0, x19
	mov	w1, #264
	movk	w1, #64, lsl #16
	mov	w2, #2
	bl	_nvkm_wr32
	and	w21, w21, #0xfffffffd
	tbz	w21, #3, LBB0_3
LBB0_15:
	mov	x0, x19
	mov	w1, #32816
	movk	w1, #64, lsl #16
	bl	_nvkm_rd32
	mov	x23, x0
Lloh18:
	adrp	x8, _gf100_ccache_error@GOTPAGE
Lloh19:
	ldr	x8, [x8, _gf100_ccache_error@GOTPAGEOFF]
Lloh20:
	ldr	w2, [x8]
	and	w3, w0, #0x3fffffff
	add	x24, sp, #32
	add	x0, sp, #32
	mov	w1, #128
	bl	_nvkm_snprintbf
	str	x24, [sp]
Lloh21:
	adrp	x1, l_.str.2@PAGE
Lloh22:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	mov	x2, x23
	bl	_nvkm_error
	mov	x0, x19
	mov	w1, #32816
	movk	w1, #64, lsl #16
	mov	w2, #-1073741824
	bl	_nvkm_wr32
	mov	x0, x19
	mov	w1, #264
	movk	w1, #64, lsl #16
	mov	w2, #8
	bl	_nvkm_wr32
	and	w21, w21, #0xfffffff7
	tbz	w21, #4, LBB0_4
LBB0_16:
	mov	x0, x19
	mov	w1, #22592
	movk	w1, #64, lsl #16
	bl	_nvkm_rd32
	mov	x2, x0
	and	w8, w0, #0xffffff
	ubfx	w9, w0, #24, #6
	stp	x8, x9, [sp]
Lloh23:
	adrp	x1, l_.str.3@PAGE
Lloh24:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x20
	bl	_nvkm_error
	mov	x0, x19
	mov	w1, #22592
	movk	w1, #64, lsl #16
	mov	w2, #-1073741824
	bl	_nvkm_wr32
	mov	x0, x19
	mov	w1, #264
	movk	w1, #64, lsl #16
	mov	w2, #16
	bl	_nvkm_wr32
	and	w21, w21, #0xffffffef
	tbz	w21, #6, LBB0_5
LBB0_17:
	mov	w8, #22592
	movk	w8, #64, lsl #16
	add	w23, w8, #2012
	mov	x0, x19
	mov	x1, x23
	bl	_nvkm_rd32
	mov	x24, x0
Lloh25:
	adrp	x8, _gf100_unk6_error@GOTPAGE
Lloh26:
	ldr	x8, [x8, _gf100_unk6_error@GOTPAGEOFF]
Lloh27:
	ldr	w2, [x8]
	and	w3, w0, #0x3fffffff
	add	x25, sp, #32
	add	x0, sp, #32
	mov	w1, #128
	bl	_nvkm_snprintbf
	str	x25, [sp]
Lloh28:
	adrp	x1, l_.str.4@PAGE
Lloh29:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x20
	mov	x2, x24
	bl	_nvkm_error
	mov	x0, x19
	mov	x1, x23
	mov	w2, #-1073741824
	bl	_nvkm_wr32
	mov	x0, x19
	mov	w1, #264
	movk	w1, #64, lsl #16
	mov	w2, #64
	bl	_nvkm_wr32
	and	w21, w21, #0xffffffbf
	tbz	w21, #7, LBB0_6
LBB0_18:
	add	w23, w26, #1168
	mov	x0, x19
	mov	x1, x23
	bl	_nvkm_rd32
	mov	x24, x0
	add	w1, w26, #1172
	mov	x0, x19
	bl	_nvkm_rd32
	mov	x25, x0
	add	w1, w26, #1180
	mov	x0, x19
	bl	_nvkm_rd32
	mov	x26, x0
Lloh30:
	adrp	x8, _gf100_macro_error@GOTPAGE
Lloh31:
	ldr	x8, [x8, _gf100_macro_error@GOTPAGEOFF]
Lloh32:
	ldr	w2, [x8]
	and	w3, w24, #0x1fffffff
	add	x28, sp, #32
	add	x0, sp, #32
	mov	w1, #128
	bl	_nvkm_snprintbf
	and	w8, w25, #0x7ff
Lloh33:
	adrp	x9, l_.str.6@PAGE
Lloh34:
	add	x9, x9, l_.str.6@PAGEOFF
Lloh35:
	adrp	x10, l_.str.7@PAGE
Lloh36:
	add	x10, x10, l_.str.7@PAGEOFF
	tst	w25, #0x10000000
	csel	x9, x10, x9, eq
	stp	x9, x26, [sp, #16]
	stp	x28, x8, [sp]
Lloh37:
	adrp	x1, l_.str.5@PAGE
Lloh38:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x20
	mov	x2, x24
	bl	_nvkm_error
	mov	x0, x19
	mov	x1, x23
	mov	w2, #-1073741824
	bl	_nvkm_wr32
	mov	x0, x19
	mov	w1, #264
	movk	w1, #64, lsl #16
	mov	w2, #128
	bl	_nvkm_wr32
	and	w21, w21, #0xffffff7f
	tbz	w21, #8, LBB0_7
LBB0_19:
	mov	x0, x19
	mov	w1, #28704
	movk	w1, #64, lsl #16
	bl	_nvkm_rd32
	and	w23, w0, #0x3fffffff
Lloh39:
	adrp	x8, _gk104_sked_error@GOTPAGE
Lloh40:
	ldr	x8, [x8, _gk104_sked_error@GOTPAGEOFF]
Lloh41:
	ldr	w2, [x8]
	add	x24, sp, #32
	add	x0, sp, #32
	mov	w1, #128
	mov	x3, x23
	bl	_nvkm_snprintbf
	str	x24, [sp]
Lloh42:
	adrp	x1, l_.str.8@PAGE
Lloh43:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x0, x20
	mov	x2, x23
	bl	_nvkm_error
	cbz	w23, LBB0_21
; %bb.20:
	mov	x0, x19
	mov	w1, #28704
	movk	w1, #64, lsl #16
	mov	w2, #1073741824
	bl	_nvkm_wr32
LBB0_21:
	mov	x0, x19
	mov	w1, #264
	movk	w1, #64, lsl #16
	mov	w2, #256
	bl	_nvkm_wr32
	and	w21, w21, #0xfffffeff
	tbz	w21, #24, LBB0_8
LBB0_22:
	add	w1, w27, #16
	mov	x0, x19
	bl	_nvkm_rd32
	cbz	w0, LBB0_28
; %bb.23:
	mov	x23, x0
	mov	w24, #0
	mov	w26, #1
	b	LBB0_25
LBB0_24:                                ;   in Loop: Header=BB0_25 Depth=1
	add	w24, w24, #1
	cbz	w23, LBB0_28
LBB0_25:                                ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x22]
	cmp	w24, w8
	b.ge	LBB0_28
; %bb.26:                               ;   in Loop: Header=BB0_25 Depth=1
	lsl	w25, w26, w24
	tst	w25, w23
	b.eq	LBB0_24
; %bb.27:                               ;   in Loop: Header=BB0_25 Depth=1
	mov	x0, x22
	mov	x1, x24
	bl	_gf100_gr_trap_gpc
	add	w1, w27, #16
	mov	x0, x19
	mov	x2, x25
	bl	_nvkm_wr32
	bic	w23, w23, w25
	b	LBB0_24
LBB0_28:
	mov	x0, x19
	mov	w1, #264
	movk	w1, #64, lsl #16
	mov	w2, #16777216
	bl	_nvkm_wr32
	and	w21, w21, #0xfeffffff
	tbz	w21, #25, LBB0_9
LBB0_29:
	ldr	w8, [x22, #4]
	cmp	w8, #1
	b.lt	LBB0_32
; %bb.30:
	mov	w23, #0
Lloh44:
	adrp	x24, l_.str.9@PAGE
Lloh45:
	add	x24, x24, l_.str.9@PAGEOFF
LBB0_31:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x23
	mov	w1, #112
	bl	_ROP_UNIT
	mov	x1, x0
	mov	x0, x19
	bl	_nvkm_rd32
	mov	x25, x0
	mov	x0, x23
	mov	w1, #324
	bl	_ROP_UNIT
	mov	x1, x0
	mov	x0, x19
	bl	_nvkm_rd32
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x25, x0, [sp]
	mov	x0, x20
	mov	x1, x24
	mov	x2, x23
	bl	_nvkm_error
	mov	x0, x23
	mov	w1, #112
	bl	_ROP_UNIT
	mov	x1, x0
	mov	x0, x19
	mov	w2, #-1073741824
	bl	_nvkm_wr32
	mov	x0, x23
	mov	w1, #324
	bl	_ROP_UNIT
	mov	x1, x0
	mov	x0, x19
	mov	w2, #-1073741824
	bl	_nvkm_wr32
	add	w23, w23, #1
	ldr	w8, [x22, #4]
	cmp	w23, w8
	b.lt	LBB0_31
LBB0_32:
	mov	x0, x19
	mov	w1, #264
	movk	w1, #64, lsl #16
	mov	w2, #33554432
	bl	_nvkm_wr32
	and	w21, w21, #0xfdffffff
	cbnz	w21, LBB0_10
	b	LBB0_11
LBB0_33:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpAdd	Lloh44, Lloh45
	.cfi_endproc
                                        ; -- End function
	.comm	_gf100_dispatch_error,4,2       ; @gf100_dispatch_error
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"DISPATCH %08x [%s]\n"

	.comm	_gf100_m2mf_error,4,2           ; @gf100_m2mf_error
l_.str.1:                               ; @.str.1
	.asciz	"M2MF %08x [%s]\n"

	.comm	_gf100_ccache_error,4,2         ; @gf100_ccache_error
l_.str.2:                               ; @.str.2
	.asciz	"CCACHE %08x [%s]\n"

l_.str.3:                               ; @.str.3
	.asciz	"SHADER %08x, sph: 0x%06x, stage: 0x%02x\n"

	.comm	_gf100_unk6_error,4,2           ; @gf100_unk6_error
l_.str.4:                               ; @.str.4
	.asciz	"UNK6 %08x [%s]\n"

	.comm	_gf100_macro_error,4,2          ; @gf100_macro_error
l_.str.5:                               ; @.str.5
	.asciz	"MACRO %08x [%s], pc: 0x%03x%s, op: 0x%08x\n"

l_.str.6:                               ; @.str.6
	.space	1

l_.str.7:                               ; @.str.7
	.asciz	" (invalid)"

	.comm	_gk104_sked_error,4,2           ; @gk104_sked_error
l_.str.8:                               ; @.str.8
	.asciz	"SKED: %08x [%s]\n"

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

l_.str.10:                              ; @.str.10
	.asciz	"TRAP UNHANDLED %08x\n"

	.no_dead_strip	_gf100_gr_trap_intr
.subsections_via_symbols
