	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nv50_priv_tp_trap
_nv50_priv_tp_trap:                     ## @nv50_priv_tp_trap
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r12
	movl	%r8d, %r14d
	movl	%ecx, -108(%rbp)                ## 4-byte Spill
	movl	%edx, -104(%rbp)                ## 4-byte Spill
	movl	%esi, -100(%rbp)                ## 4-byte Spill
	movq	%rdi, %r15
	movl	$5440, %esi                     ## imm = 0x1540
	callq	_nv_rd32
	movl	%eax, -112(%rbp)                ## 4-byte Spill
	movl	$0, -72(%rbp)                   ## 4-byte Folded Spill
	xorl	%ebx, %ebx
	movq	%r12, -80(%rbp)                 ## 8-byte Spill
	movl	%r14d, -68(%rbp)                ## 4-byte Spill
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_32:                                ##   in Loop: Header=BB0_1 Depth=1
	incl	-72(%rbp)                       ## 4-byte Folded Spill
	movq	%r15, %rdi
	movq	-96(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	movl	$-1073741824, %edx              ## imm = 0xC0000000
	callq	_nv_wr32
LBB0_33:                                ##   in Loop: Header=BB0_1 Depth=1
	incl	%ebx
	cmpl	$16, %ebx
	je	LBB0_34
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_8 Depth 2
	movl	-112(%rbp), %eax                ## 4-byte Reload
	btl	%ebx, %eax
	jae	LBB0_33
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%r15, %rdi
	callq	_nv_device
	movl	%ebx, %ecx
	shll	$12, %ecx
	addl	-104(%rbp), %ecx                ## 4-byte Folded Reload
	movl	%ebx, %esi
	shll	$11, %esi
	addl	-108(%rbp), %esi                ## 4-byte Folded Reload
	cmpl	$160, (%rax)
	cmovll	%ecx, %esi
	movq	%r15, %rdi
	movq	%rsi, -96(%rbp)                 ## 8-byte Spill
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_nv_rd32
	movl	%eax, %r8d
	andl	$2147483647, %r8d               ## imm = 0x7FFFFFFF
	je	LBB0_33
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	%eax, %r13d
	movl	-100(%rbp), %eax                ## 4-byte Reload
	cmpl	$8, %eax
	je	LBB0_12
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$7, %eax
	je	LBB0_10
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$6, %eax
	jne	LBB0_29
## %bb.6:                               ##   in Loop: Header=BB0_1 Depth=1
	testl	%r14d, %r14d
	je	LBB0_32
## %bb.7:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	%r8d, -56(%rbp)                 ## 4-byte Spill
	movq	%r15, %rdi
	leaq	L_.str(%rip), %rsi
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_nv_error
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	leal	8(%rax), %r13d
	movq	%r15, %r14
	leal	-4(%rax), %r12d
	leaq	L_.str.1(%rip), %r15
	.p2align	4, 0x90
LBB0_8:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	leal	8(%r12), %ebx
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_nv_rd32
	movq	%r14, %rdi
	movq	%r15, %rsi
	movl	%ebx, %edx
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_nv_error
	addl	$4, %r12d
	cmpl	%r13d, %r12d
	jle	LBB0_8
## %bb.9:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	-80(%rbp), %r12                 ## 8-byte Reload
	movq	%r14, %r15
	movl	-68(%rbp), %r14d                ## 4-byte Reload
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	movl	-56(%rbp), %r8d                 ## 4-byte Reload
	testl	%r14d, %r14d
	jne	LBB0_30
	jmp	LBB0_32
LBB0_12:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	-96(%rbp), %r12                 ## 8-byte Reload
	leal	4(%r12), %esi
	movq	%r15, %rdi
	movl	%r8d, %r14d
	callq	_nv_rd32
	movl	%eax, -64(%rbp)                 ## 4-byte Spill
	leal	8(%r12), %esi
	movq	%r15, %rdi
	callq	_nv_rd32
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	leal	12(%r12), %esi
	movq	%r15, %rdi
	callq	_nv_rd32
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	leal	16(%r12), %esi
	movq	%r15, %rdi
	callq	_nv_rd32
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	leal	20(%r12), %esi
	movq	%r15, %rdi
	callq	_nv_rd32
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	leal	24(%r12), %esi
	movq	%r15, %rdi
	callq	_nv_rd32
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	leal	28(%r12), %esi
	movq	%r15, %rdi
	callq	_nv_rd32
	movl	%r14d, %r8d
	movl	-68(%rbp), %r14d                ## 4-byte Reload
	movl	%eax, %r12d
	testb	$16, %r13b
	je	LBB0_16
## %bb.13:                              ##   in Loop: Header=BB0_1 Depth=1
	testl	%r14d, %r14d
	je	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	%r15, %rdi
	leaq	L_.str.2(%rip), %rsi
	movl	%ebx, %edx
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	movl	-48(%rbp), %r8d                 ## 4-byte Reload
	xorl	%eax, %eax
	callq	_nv_error
	movq	%r15, %rdi
	leaq	L_.str.3(%rip), %rsi
	movl	%ebx, %edx
	movl	-64(%rbp), %ecx                 ## 4-byte Reload
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	movl	-60(%rbp), %r9d                 ## 4-byte Reload
	xorl	%eax, %eax
	pushq	%r12
	pushq	-88(%rbp)                       ## 8-byte Folded Reload
	callq	_nv_error
	addq	$16, %rsp
LBB0_15:                                ##   in Loop: Header=BB0_1 Depth=1
	andl	$2147483631, %r13d              ## imm = 0x7FFFFFEF
	movl	%r13d, %r8d
LBB0_16:                                ##   in Loop: Header=BB0_1 Depth=1
	testb	$64, %r8b
	movq	%r12, -120(%rbp)                ## 8-byte Spill
	je	LBB0_20
## %bb.17:                              ##   in Loop: Header=BB0_1 Depth=1
	testl	%r14d, %r14d
	je	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	%r15, %rdi
	leaq	L_.str.4(%rip), %rsi
	movl	%ebx, %edx
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	movl	%r8d, %r14d
	movl	-48(%rbp), %r8d                 ## 4-byte Reload
	xorl	%eax, %eax
	callq	_nv_error
	movq	%r15, %rdi
	leaq	L_.str.5(%rip), %rsi
	movl	%ebx, %edx
	movl	-64(%rbp), %ecx                 ## 4-byte Reload
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	movl	-60(%rbp), %r9d                 ## 4-byte Reload
	xorl	%eax, %eax
	pushq	%r12
	pushq	-88(%rbp)                       ## 8-byte Folded Reload
	callq	_nv_error
	movl	%r14d, %r8d
	movl	-68(%rbp), %r14d                ## 4-byte Reload
	addq	$16, %rsp
LBB0_19:                                ##   in Loop: Header=BB0_1 Depth=1
	andl	$-65, %r8d
LBB0_20:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	-80(%rbp), %r12                 ## 8-byte Reload
	testb	$-128, %r8b
	je	LBB0_29
## %bb.21:                              ##   in Loop: Header=BB0_1 Depth=1
	testl	%r14d, %r14d
	je	LBB0_28
## %bb.22:                              ##   in Loop: Header=BB0_1 Depth=1
	movl	-44(%rbp), %r13d                ## 4-byte Reload
	testl	%r13d, %r13d
	movl	%r8d, -56(%rbp)                 ## 4-byte Spill
	js	LBB0_23
## %bb.24:                              ##   in Loop: Header=BB0_1 Depth=1
	testb	$12, %r13b
	je	LBB0_26
## %bb.25:                              ##   in Loop: Header=BB0_1 Depth=1
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	shrl	$7, %r8d
	andl	$31, %r8d
	orl	-48(%rbp), %r8d                 ## 4-byte Folded Reload
	movq	%r15, %rdi
	leaq	L_.str.7(%rip), %rsi
	movl	%ebx, %edx
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	xorl	%eax, %eax
	callq	_nv_error
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	andl	$-3969, %r8d                    ## imm = 0xF07F
	jmp	LBB0_27
LBB0_10:                                ##   in Loop: Header=BB0_1 Depth=1
	testl	$67305472, %r13d                ## imm = 0x4030000
	je	LBB0_29
## %bb.11:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	%r15, %rdi
	movl	%ebx, %esi
	movl	%r14d, %edx
	callq	_nv50_priv_mp_trap
	andl	$2080178175, %r13d              ## imm = 0x7BFCFFFF
	movl	%r13d, %r8d
	.p2align	4, 0x90
LBB0_29:                                ##   in Loop: Header=BB0_1 Depth=1
	testl	%r14d, %r14d
	je	LBB0_32
LBB0_30:                                ##   in Loop: Header=BB0_1 Depth=1
	testl	%r8d, %r8d
	je	LBB0_32
## %bb.31:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	%r15, %rdi
	leaq	L_.str.10(%rip), %rsi
	movq	%r12, %rdx
	movl	%ebx, %ecx
	xorl	%eax, %eax
	callq	_nv_error
	jmp	LBB0_32
LBB0_23:                                ##   in Loop: Header=BB0_1 Depth=1
	movl	%r13d, %r8d
	shrl	$24, %r8d
	andl	$31, %r8d
	orl	-48(%rbp), %r8d                 ## 4-byte Folded Reload
	movq	%r15, %rdi
	leaq	L_.str.6(%rip), %rsi
	movl	%ebx, %edx
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	xorl	%eax, %eax
	callq	_nv_error
	andl	$-520093697, %r13d              ## imm = 0xE0FFFFFF
	movl	%r13d, %r8d
	jmp	LBB0_27
LBB0_26:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	%r15, %rdi
	leaq	L_.str.8(%rip), %rsi
	movl	%ebx, %edx
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	movl	-48(%rbp), %r8d                 ## 4-byte Reload
	xorl	%eax, %eax
	callq	_nv_error
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
LBB0_27:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	%r15, %rdi
	leaq	L_.str.9(%rip), %rsi
	movl	%ebx, %edx
	movl	-64(%rbp), %ecx                 ## 4-byte Reload
	movl	-60(%rbp), %r9d                 ## 4-byte Reload
	xorl	%eax, %eax
	pushq	-120(%rbp)                      ## 8-byte Folded Reload
	pushq	-88(%rbp)                       ## 8-byte Folded Reload
	callq	_nv_error
	addq	$16, %rsp
	movl	-56(%rbp), %r8d                 ## 4-byte Reload
LBB0_28:                                ##   in Loop: Header=BB0_1 Depth=1
	andl	$2147483519, %r8d               ## imm = 0x7FFFFF7F
	testl	%r14d, %r14d
	jne	LBB0_30
	jmp	LBB0_32
LBB0_34:
	testl	%r14d, %r14d
	je	LBB0_36
## %bb.35:
	cmpl	$0, -72(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_36
## %bb.37:
	leaq	L_.str.11(%rip), %rsi
	movq	%r15, %rdi
	movq	%r12, %rdx
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_nv_warn                        ## TAILCALL
LBB0_36:
	addq	$88, %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	"magic set %d:\n"

L_.str.1:                               ## @.str.1
	.asciz	"\t0x%08x: 0x%08x\n"

L_.str.2:                               ## @.str.2
	.asciz	"TRAP_TPDMA_2D - TP %d - Unknown fault at address %02x%08x\n"

L_.str.3:                               ## @.str.3
	.asciz	"TRAP_TPDMA_2D - TP %d - e0c: %08x, e18: %08x, e1c: %08x, e20: %08x, e24: %08x\n"

L_.str.4:                               ## @.str.4
	.asciz	"TRAP_TPDMA_RT - TP %d - Unknown fault at address %02x%08x\n"

L_.str.5:                               ## @.str.5
	.asciz	"TRAP_TPDMA_RT - TP %d - e0c: %08x, e18: %08x, e1c: %08x, e20: %08x, e24: %08x\n"

L_.str.6:                               ## @.str.6
	.asciz	"TRAP_TPDMA - TP %d - Global read fault at address %02x%08x\n"

L_.str.7:                               ## @.str.7
	.asciz	"TRAP_TPDMA - TP %d - Global write fault at address %02x%08x\n"

L_.str.8:                               ## @.str.8
	.asciz	"TRAP_TPDMA - TP %d - Unknown CUDA fault at address %02x%08x\n"

L_.str.9:                               ## @.str.9
	.asciz	"TRAP_TPDMA - TP %d - e0c: %08x, e18: %08x, e1c: %08x, e20: %08x, e24: %08x\n"

L_.str.10:                              ## @.str.10
	.asciz	"%s - TP%d: Unhandled ustatus 0x%08x\n"

L_.str.11:                              ## @.str.11
	.asciz	"%s - No TPs claiming errors?\n"

	.no_dead_strip	_nv50_priv_tp_trap
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nv50_priv_tp_trap
_nv50_priv_tp_trap:                     ; @nv50_priv_tp_trap
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #224
	.cfi_def_cfa_offset 224
	stp	x28, x27, [sp, #128]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #144]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #160]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #176]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #192]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #208]            ; 16-byte Folded Spill
	add	x29, sp, #208
	.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, x5
	mov	x21, x4
	stp	w2, w3, [x29, #-92]             ; 8-byte Folded Spill
	mov	x24, x1
	mov	x20, x0
	mov	w1, #5440
	bl	_nv_rd32
	mov	x25, x0
	stur	wzr, [x29, #-84]                ; 4-byte Folded Spill
	mov	w26, #0
Lloh0:
	adrp	x27, l_.str.1@PAGE
Lloh1:
	add	x27, x27, l_.str.1@PAGEOFF
	str	w21, [sp, #52]                  ; 4-byte Folded Spill
	str	x22, [sp, #72]                  ; 8-byte Folded Spill
	b	LBB0_3
LBB0_1:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldur	w8, [x29, #-84]                 ; 4-byte Folded Reload
	add	w8, w8, #1
	stur	w8, [x29, #-84]                 ; 4-byte Folded Spill
	mov	x0, x20
	mov	x1, x28
	mov	w2, #-1073741824
	bl	_nv_wr32
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	w26, w26, #1
	cmp	w26, #16
	b.eq	LBB0_35
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_10 Depth 2
	lsr	w8, w25, w26
	tbz	w8, #0, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x20
	bl	_nv_device
	ldr	w8, [x0]
	ldp	w9, w10, [x29, #-92]            ; 8-byte Folded Reload
	add	w9, w9, w26, lsl #12
	add	w10, w10, w26, lsl #11
	cmp	w8, #160
	csel	w28, w9, w10, lt
	mov	x0, x20
	mov	x1, x28
	bl	_nv_rd32
	ands	w23, w0, #0x7fffffff
	b.eq	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x19, x0
	cmp	w24, #8
	b.eq	LBB0_12
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	w24, #7
	b.eq	LBB0_15
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	w24, #6
	b.ne	LBB0_32
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	cbz	w21, LBB0_1
; %bb.9:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x8, x26
	str	x8, [sp]
	mov	x0, x20
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_nv_error
	add	w21, w28, #8
	sub	w22, w28, #4
LBB0_10:                                ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	w19, w22, #8
	mov	x0, x20
	mov	x1, x19
	bl	_nv_rd32
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x19, x0, [sp]
	mov	x0, x20
	mov	x1, x27
	bl	_nv_error
	add	w22, w22, #4
	cmp	w22, w21
	b.le	LBB0_10
; %bb.11:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x22, [sp, #72]                  ; 8-byte Folded Reload
	ldr	w21, [sp, #52]                  ; 4-byte Folded Reload
	b	LBB0_32
LBB0_12:                                ;   in Loop: Header=BB0_3 Depth=1
	add	w1, w28, #4
	mov	x0, x20
	bl	_nv_rd32
	str	x0, [sp, #104]                  ; 8-byte Folded Spill
	add	w1, w28, #8
	mov	x0, x20
	bl	_nv_rd32
	str	x0, [sp, #64]                   ; 8-byte Folded Spill
	add	w1, w28, #12
	mov	x0, x20
	bl	_nv_rd32
	str	x0, [sp, #56]                   ; 8-byte Folded Spill
	add	w1, w28, #16
	mov	x0, x20
	bl	_nv_rd32
	mov	x22, x0
	add	w1, w28, #20
	mov	x0, x20
	bl	_nv_rd32
	str	x0, [sp, #96]                   ; 8-byte Folded Spill
	add	w1, w28, #24
	mov	x0, x20
	bl	_nv_rd32
	str	x0, [sp, #88]                   ; 8-byte Folded Spill
	add	w1, w28, #28
	mov	x0, x20
	bl	_nv_rd32
	str	x0, [sp, #80]                   ; 8-byte Folded Spill
	tbnz	w19, #4, LBB0_17
; %bb.13:                               ;   in Loop: Header=BB0_3 Depth=1
	tbnz	w23, #6, LBB0_20
LBB0_14:                                ;   in Loop: Header=BB0_3 Depth=1
	tbnz	w23, #7, LBB0_23
	b	LBB0_31
LBB0_15:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	w8, #67305472
	tst	w19, w8
	b.eq	LBB0_32
; %bb.16:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x20
	mov	x1, x26
	mov	x2, x21
	bl	_nv50_priv_mp_trap
	mov	w8, #2080178175
	and	w23, w19, w8
	b	LBB0_32
LBB0_17:                                ;   in Loop: Header=BB0_3 Depth=1
	cbz	w21, LBB0_19
; %bb.18:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x9, [sp, #64]                   ; 8-byte Folded Reload
	mov	x21, x26
	ldr	x8, [sp, #56]                   ; 8-byte Folded Reload
	stp	x8, x9, [sp, #8]
	str	x21, [sp]
	mov	x0, x20
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_nv_error
	ldp	x8, x9, [sp, #80]               ; 16-byte Folded Reload
                                        ; kill: def $w8 killed $w8 killed $x8 def $x8
                                        ; kill: def $w9 killed $w9 killed $x9 def $x9
	stp	x9, x8, [sp, #32]
	ldr	x8, [sp, #96]                   ; 8-byte Folded Reload
                                        ; kill: def $w8 killed $w8 killed $x8 def $x8
	mov	x9, x22
	stp	x9, x8, [sp, #16]
	ldr	x8, [sp, #104]                  ; 8-byte Folded Reload
                                        ; kill: def $w8 killed $w8 killed $x8 def $x8
	stp	x21, x8, [sp]
	ldr	w21, [sp, #52]                  ; 4-byte Folded Reload
	mov	x0, x20
Lloh6:
	adrp	x1, l_.str.3@PAGE
Lloh7:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_nv_error
LBB0_19:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	w8, #65471
	movk	w8, #32767, lsl #16
	add	w8, w8, #48
	and	w23, w19, w8
	tbz	w23, #6, LBB0_14
LBB0_20:                                ;   in Loop: Header=BB0_3 Depth=1
	cbz	w21, LBB0_22
; %bb.21:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [sp, #64]                   ; 8-byte Folded Reload
                                        ; kill: def $w8 killed $w8 killed $x8 def $x8
	str	x8, [sp, #16]
	ldr	x8, [sp, #56]                   ; 8-byte Folded Reload
                                        ; kill: def $w8 killed $w8 killed $x8 def $x8
	mov	x19, x26
	stp	x19, x8, [sp]
	mov	x0, x20
Lloh8:
	adrp	x1, l_.str.4@PAGE
Lloh9:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_nv_error
	ldp	x8, x9, [sp, #80]               ; 16-byte Folded Reload
                                        ; kill: def $w8 killed $w8 killed $x8 def $x8
                                        ; kill: def $w9 killed $w9 killed $x9 def $x9
	stp	x9, x8, [sp, #32]
	ldr	x8, [sp, #96]                   ; 8-byte Folded Reload
                                        ; kill: def $w8 killed $w8 killed $x8 def $x8
	mov	x9, x22
	stp	x9, x8, [sp, #16]
	ldr	x8, [sp, #104]                  ; 8-byte Folded Reload
                                        ; kill: def $w8 killed $w8 killed $x8 def $x8
	stp	x19, x8, [sp]
	mov	x0, x20
Lloh10:
	adrp	x1, l_.str.5@PAGE
Lloh11:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_nv_error
LBB0_22:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	w8, #65471
	movk	w8, #32767, lsl #16
	and	w23, w23, w8
	tbz	w23, #7, LBB0_31
LBB0_23:                                ;   in Loop: Header=BB0_3 Depth=1
	cbz	w21, LBB0_30
; %bb.24:                               ;   in Loop: Header=BB0_3 Depth=1
	tbnz	w22, #31, LBB0_27
; %bb.25:                               ;   in Loop: Header=BB0_3 Depth=1
	tst	w22, #0xc
	b.eq	LBB0_28
; %bb.26:                               ;   in Loop: Header=BB0_3 Depth=1
	ubfx	w8, w22, #7, #5
	ldr	x9, [sp, #64]                   ; 8-byte Folded Reload
	orr	w8, w8, w9
	ldr	x9, [sp, #56]                   ; 8-byte Folded Reload
                                        ; kill: def $w9 killed $w9 killed $x9 def $x9
	mov	x10, x26
	stp	x10, x9, [sp]
	str	x8, [sp, #16]
	mov	x0, x20
Lloh12:
	adrp	x1, l_.str.7@PAGE
Lloh13:
	add	x1, x1, l_.str.7@PAGEOFF
	bl	_nv_error
	and	w22, w22, #0xfffff07f
	b	LBB0_29
LBB0_27:                                ;   in Loop: Header=BB0_3 Depth=1
	ubfx	w8, w22, #24, #5
	ldr	x9, [sp, #64]                   ; 8-byte Folded Reload
	orr	w8, w8, w9
	ldr	x9, [sp, #56]                   ; 8-byte Folded Reload
                                        ; kill: def $w9 killed $w9 killed $x9 def $x9
	mov	x10, x26
	stp	x10, x9, [sp]
	str	x8, [sp, #16]
	mov	x0, x20
Lloh14:
	adrp	x1, l_.str.6@PAGE
Lloh15:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_nv_error
	and	w22, w22, #0xe0ffffff
	b	LBB0_29
LBB0_28:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [sp, #64]                   ; 8-byte Folded Reload
                                        ; kill: def $w8 killed $w8 killed $x8 def $x8
	str	x8, [sp, #16]
	ldr	x8, [sp, #56]                   ; 8-byte Folded Reload
                                        ; kill: def $w8 killed $w8 killed $x8 def $x8
	mov	x9, x26
	stp	x9, x8, [sp]
	mov	x0, x20
Lloh16:
	adrp	x1, l_.str.8@PAGE
Lloh17:
	add	x1, x1, l_.str.8@PAGEOFF
	bl	_nv_error
LBB0_29:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x9, [sp, #80]                   ; 8-byte Folded Reload
	ldr	x8, [sp, #88]                   ; 8-byte Folded Reload
	stp	x8, x9, [sp, #32]
	ldr	x8, [sp, #96]                   ; 8-byte Folded Reload
	stp	x22, x8, [sp, #16]
	ldr	x8, [sp, #104]                  ; 8-byte Folded Reload
	stp	x26, x8, [sp]
	mov	x0, x20
Lloh18:
	adrp	x1, l_.str.9@PAGE
Lloh19:
	add	x1, x1, l_.str.9@PAGEOFF
	bl	_nv_error
LBB0_30:                                ;   in Loop: Header=BB0_3 Depth=1
	and	w23, w23, #0xffffff7f
LBB0_31:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x22, [sp, #72]                  ; 8-byte Folded Reload
LBB0_32:                                ;   in Loop: Header=BB0_3 Depth=1
	cbz	w21, LBB0_1
; %bb.33:                               ;   in Loop: Header=BB0_3 Depth=1
	cbz	w23, LBB0_1
; %bb.34:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	x8, x26
	stp	x8, x23, [sp, #8]
	str	x22, [sp]
	mov	x0, x20
Lloh20:
	adrp	x1, l_.str.10@PAGE
Lloh21:
	add	x1, x1, l_.str.10@PAGEOFF
	bl	_nv_error
	b	LBB0_1
LBB0_35:
	cbz	w21, LBB0_38
; %bb.36:
	ldur	w8, [x29, #-84]                 ; 4-byte Folded Reload
	cbnz	w8, LBB0_38
; %bb.37:
Lloh22:
	adrp	x1, l_.str.11@PAGE
Lloh23:
	add	x1, x1, l_.str.11@PAGEOFF
	mov	x0, x20
	mov	x2, x22
	ldp	x29, x30, [sp, #208]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #192]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #176]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #160]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #144]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #128]            ; 16-byte Folded Reload
	add	sp, sp, #224
	b	_nv_warn
LBB0_38:
	ldp	x29, x30, [sp, #208]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #192]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #176]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #160]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #144]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #128]            ; 16-byte Folded Reload
	add	sp, sp, #224
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"magic set %d:\n"

l_.str.1:                               ; @.str.1
	.asciz	"\t0x%08x: 0x%08x\n"

l_.str.2:                               ; @.str.2
	.asciz	"TRAP_TPDMA_2D - TP %d - Unknown fault at address %02x%08x\n"

l_.str.3:                               ; @.str.3
	.asciz	"TRAP_TPDMA_2D - TP %d - e0c: %08x, e18: %08x, e1c: %08x, e20: %08x, e24: %08x\n"

l_.str.4:                               ; @.str.4
	.asciz	"TRAP_TPDMA_RT - TP %d - Unknown fault at address %02x%08x\n"

l_.str.5:                               ; @.str.5
	.asciz	"TRAP_TPDMA_RT - TP %d - e0c: %08x, e18: %08x, e1c: %08x, e20: %08x, e24: %08x\n"

l_.str.6:                               ; @.str.6
	.asciz	"TRAP_TPDMA - TP %d - Global read fault at address %02x%08x\n"

l_.str.7:                               ; @.str.7
	.asciz	"TRAP_TPDMA - TP %d - Global write fault at address %02x%08x\n"

l_.str.8:                               ; @.str.8
	.asciz	"TRAP_TPDMA - TP %d - Unknown CUDA fault at address %02x%08x\n"

l_.str.9:                               ; @.str.9
	.asciz	"TRAP_TPDMA - TP %d - e0c: %08x, e18: %08x, e1c: %08x, e20: %08x, e24: %08x\n"

l_.str.10:                              ; @.str.10
	.asciz	"%s - TP%d: Unhandled ustatus 0x%08x\n"

l_.str.11:                              ; @.str.11
	.asciz	"%s - No TPs claiming errors?\n"

	.no_dead_strip	_nv50_priv_tp_trap
.subsections_via_symbols
