	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nv50_gr_prop_trap
_nv50_gr_prop_trap:                     ## @nv50_gr_prop_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	$168, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, -184(%rbp)                ## 4-byte Spill
	movl	%edx, %r13d
	movl	%esi, %ebx
	movq	%rdi, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	(%rdi), %r14
	leal	4(%rbx), %esi
	movq	%r14, %rdi
	callq	_nvkm_rd32
	movl	%eax, -200(%rbp)                ## 4-byte Spill
	leal	8(%rbx), %esi
	movq	%r14, %rdi
	callq	_nvkm_rd32
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -192(%rbp)                ## 8-byte Spill
	leal	12(%rbx), %esi
	movq	%r14, %rdi
	callq	_nvkm_rd32
	movl	%eax, -180(%rbp)                ## 4-byte Spill
	leal	16(%rbx), %esi
	movq	%r14, %rdi
	callq	_nvkm_rd32
	movl	%eax, %r15d
	leal	20(%rbx), %esi
	movq	%r14, %rdi
	callq	_nvkm_rd32
	movl	%eax, -196(%rbp)                ## 4-byte Spill
	leal	24(%rbx), %esi
	movq	%r14, %rdi
	callq	_nvkm_rd32
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -208(%rbp)                ## 8-byte Spill
	addl	$28, %ebx
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_nvkm_rd32
	movl	%eax, %ebx
	testb	$-128, %r13b
	je	LBB0_7
## %bb.1:
	testl	%r15d, %r15d
	js	LBB0_2
## %bb.3:
	testb	$12, %r15b
	movl	-184(%rbp), %edx                ## 4-byte Reload
	je	LBB0_5
## %bb.4:
	movl	%r15d, %r8d
	shrl	$7, %r8d
	andl	$31, %r8d
	orl	-192(%rbp), %r8d                ## 4-byte Folded Reload
	leaq	L_.str.1(%rip), %rsi
	movq	%r12, %rdi
	movl	-180(%rbp), %ecx                ## 4-byte Reload
	xorl	%eax, %eax
	callq	_nvkm_error
	andl	$-3969, %r15d                   ## imm = 0xF07F
	jmp	LBB0_6
LBB0_2:
	movl	%r15d, %r8d
	shrl	$24, %r8d
	andl	$31, %r8d
	orl	-192(%rbp), %r8d                ## 4-byte Folded Reload
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdi
	movl	-184(%rbp), %edx                ## 4-byte Reload
	movl	-180(%rbp), %ecx                ## 4-byte Reload
	xorl	%eax, %eax
	callq	_nvkm_error
	andl	$-520093697, %r15d              ## imm = 0xE0FFFFFF
	jmp	LBB0_6
LBB0_5:
	leaq	L_.str.2(%rip), %rsi
	movq	%r12, %rdi
	movl	-180(%rbp), %ecx                ## 4-byte Reload
	movq	-192(%rbp), %r8                 ## 8-byte Reload
                                        ## kill: def $r8d killed $r8d killed $r8
	xorl	%eax, %eax
	callq	_nvkm_error
LBB0_6:
	andl	$-129, %r13d
LBB0_7:
	testl	%r13d, %r13d
	movl	-184(%rbp), %r14d               ## 4-byte Reload
	je	LBB0_9
## %bb.8:
	movq	_nv50_gr_trap_prop@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-176(%rbp), %rdi
	movl	$128, %esi
	movl	%r13d, %ecx
	callq	_nvkm_snprintbf
	subq	$8, %rsp
	leaq	L_.str.3(%rip), %rsi
	movq	%r12, %rdi
	movl	%r14d, %edx
	movl	%r13d, %ecx
	leaq	-176(%rbp), %r8
	movl	-180(%rbp), %r9d                ## 4-byte Reload
	xorl	%eax, %eax
	pushq	-192(%rbp)                      ## 8-byte Folded Reload
	callq	_nvkm_error
	addq	$16, %rsp
LBB0_9:
	leaq	L_.str.4(%rip), %rsi
	movq	%r12, %rdi
	movl	%r14d, %edx
	movl	-200(%rbp), %ecx                ## 4-byte Reload
	movl	%r15d, %r8d
	movl	-196(%rbp), %r9d                ## 4-byte Reload
	xorl	%eax, %eax
	pushq	%rbx
	pushq	-208(%rbp)                      ## 8-byte Folded Reload
	callq	_nvkm_error
	addq	$16, %rsp
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_11
## %bb.10:
	addq	$168, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"TRAP_PROP - TP %d - CUDA_FAULT - Global read fault at address %02x%08x\n"

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

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

	.comm	_nv50_gr_trap_prop,4,2          ## @nv50_gr_trap_prop
L_.str.3:                               ## @.str.3
	.asciz	"TRAP_PROP - TP %d - %08x [%s] - Address %02x%08x\n"

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

	.no_dead_strip	_nv50_gr_prop_trap
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nv50_gr_prop_trap
_nv50_gr_prop_trap:                     ; @nv50_gr_prop_trap
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #288
	.cfi_def_cfa_offset 288
	stp	x28, x27, [sp, #192]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #208]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #224]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #240]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #256]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #272]            ; 16-byte Folded Spill
	add	x29, sp, #272
	.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	x19, x3
	mov	x22, x2
	mov	x28, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-96]
	ldr	x21, [x0]
	add	w1, w1, #4
	mov	x0, x21
	bl	_nvkm_rd32
	str	w0, [sp, #44]                   ; 4-byte Folded Spill
	add	w1, w28, #8
	mov	x0, x21
	bl	_nvkm_rd32
	mov	x24, x0
	add	w1, w28, #12
	mov	x0, x21
	bl	_nvkm_rd32
	mov	x26, x0
	add	w1, w28, #16
	mov	x0, x21
	bl	_nvkm_rd32
	mov	x23, x0
	add	w1, w28, #20
	mov	x0, x21
	bl	_nvkm_rd32
	mov	x25, x0
	add	w1, w28, #24
	mov	x0, x21
	bl	_nvkm_rd32
	mov	x27, x0
	add	w1, w28, #28
	mov	x0, x21
	bl	_nvkm_rd32
	mov	x28, x0
	tbz	w22, #7, LBB0_7
; %bb.1:
	tbnz	w23, #31, LBB0_4
; %bb.2:
	tst	w23, #0xc
	b.eq	LBB0_5
; %bb.3:
	ubfx	w8, w23, #7, #5
	orr	w8, w8, w24
	str	x8, [sp]
Lloh3:
	adrp	x1, l_.str.1@PAGE
Lloh4:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	mov	x2, x19
	mov	x3, x26
	bl	_nvkm_error
	and	w23, w23, #0xfffff07f
	b	LBB0_6
LBB0_4:
	ubfx	w8, w23, #24, #5
	orr	w8, w8, w24
	str	x8, [sp]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	mov	x2, x19
	mov	x3, x26
	bl	_nvkm_error
	and	w23, w23, #0xe0ffffff
	b	LBB0_6
LBB0_5:
	str	x24, [sp]
Lloh7:
	adrp	x1, l_.str.2@PAGE
Lloh8:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	mov	x2, x19
	mov	x3, x26
	bl	_nvkm_error
LBB0_6:
	and	w22, w22, #0xffffff7f
LBB0_7:
	cbz	w22, LBB0_9
; %bb.8:
Lloh9:
	adrp	x8, _nv50_gr_trap_prop@GOTPAGE
Lloh10:
	ldr	x8, [x8, _nv50_gr_trap_prop@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
	add	x21, sp, #48
	add	x0, sp, #48
	mov	w1, #128
	mov	x3, x22
	bl	_nvkm_snprintbf
                                        ; kill: def $w24 killed $w24 killed $x24 def $x24
	stp	x26, x24, [sp, #8]
	str	x21, [sp]
Lloh12:
	adrp	x1, l_.str.3@PAGE
Lloh13:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x20
	mov	x2, x19
	mov	x3, x22
	bl	_nvkm_error
LBB0_9:
	stp	x27, x28, [sp, #16]
	stp	x23, x25, [sp]
Lloh14:
	adrp	x1, l_.str.4@PAGE
Lloh15:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x20
	mov	x2, x19
	ldr	w3, [sp, #44]                   ; 4-byte Folded Reload
	bl	_nvkm_error
	ldur	x8, [x29, #-96]
Lloh16:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh17:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh18:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_11
; %bb.10:
	ldp	x29, x30, [sp, #272]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #256]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #240]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #224]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #208]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #192]            ; 16-byte Folded Reload
	add	sp, sp, #288
	ret
LBB0_11:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"TRAP_PROP - TP %d - CUDA_FAULT - Global read fault at address %02x%08x\n"

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

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

	.comm	_nv50_gr_trap_prop,4,2          ; @nv50_gr_trap_prop
l_.str.3:                               ; @.str.3
	.asciz	"TRAP_PROP - TP %d - %08x [%s] - Address %02x%08x\n"

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

	.no_dead_strip	_nv50_gr_prop_trap
.subsections_via_symbols
