	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nve0_fifo_isr_vm_fault
_nve0_fifo_isr_vm_fault:                ## @nve0_fifo_isr_vm_fault
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r12d
	movq	%rdi, %r15
	movl	%esi, %ebx
	shll	$4, %ebx
	leal	10240(%rbx), %esi
	callq	_nv_rd32
	movl	%eax, %r14d
	leal	10244(%rbx), %esi
	movq	%r15, %rdi
	callq	_nv_rd32
	leal	10248(%rbx), %esi
	movq	%r15, %rdi
	callq	_nv_rd32
	addl	$10252, %ebx                    ## imm = 0x280C
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_nv_rd32
	movl	%eax, %ebx
	movl	%eax, %r13d
	shrl	$8, %r13d
	andl	$31, %r13d
	testb	$-128, %bl
	leaq	L_.str.2(%rip), %rax
	leaq	L_.str.1(%rip), %rdx
	cmoveq	%rax, %rdx
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	callq	_nv_error
	movq	_nve0_fifo_fault_reason@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%ebx, %esi
	andl	$15, %esi
	callq	_nouveau_enum_print
	leaq	L_.str.3(%rip), %rdi
	xorl	%eax, %eax
	callq	_pr_cont
	movq	_nve0_fifo_fault_unit@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%r12d, %esi
	callq	_nouveau_enum_print
	movq	%rax, %r12
	testb	$64, %bl
	jne	LBB0_2
## %bb.1:
	shrl	$24, %ebx
	andl	$31, %ebx
	leaq	L_.str.5(%rip), %rdi
	movl	%ebx, %esi
	xorl	%eax, %eax
	callq	_pr_cont
	movq	_nve0_fifo_fault_gpcclient@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_2:
	leaq	L_.str.4(%rip), %rdi
	xorl	%eax, %eax
	callq	_pr_cont
	movq	_nve0_fifo_fault_hubclient@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %edi
	movl	%r13d, %esi
	callq	_nouveau_enum_print
	testq	%r12, %r12
	je	LBB0_9
## %bb.4:
	movq	(%r12), %rsi
	testq	%rsi, %rsi
	je	LBB0_9
## %bb.5:
	movq	%r15, %rdi
	callq	_nouveau_engine
	testq	%rax, %rax
	je	LBB0_9
## %bb.6:
	movq	%rax, %rdi
	movl	%r14d, %esi
	callq	_nouveau_engctx_get
	movq	%rax, %rbx
	jmp	LBB0_10
LBB0_9:
	xorl	%ebx, %ebx
LBB0_10:
	shll	$12, %r14d
	movq	%rbx, %rdi
	callq	_nouveau_client_name
	leaq	L_.str.6(%rip), %rdi
	movl	%r14d, %esi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_pr_cont
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_nouveau_engctx_put             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"PFIFO: %s fault at 0x%010llx ["

L_.str.1:                               ## @.str.1
	.asciz	"write"

L_.str.2:                               ## @.str.2
	.asciz	"read"

	.comm	_nve0_fifo_fault_reason,4,2     ## @nve0_fifo_fault_reason
L_.str.3:                               ## @.str.3
	.asciz	"] from "

	.comm	_nve0_fifo_fault_unit,4,2       ## @nve0_fifo_fault_unit
L_.str.4:                               ## @.str.4
	.asciz	"/"

	.comm	_nve0_fifo_fault_hubclient,4,2  ## @nve0_fifo_fault_hubclient
L_.str.5:                               ## @.str.5
	.asciz	"/GPC%d/"

	.comm	_nve0_fifo_fault_gpcclient,4,2  ## @nve0_fifo_fault_gpcclient
L_.str.6:                               ## @.str.6
	.asciz	" on channel 0x%010llx [%s]\n"

	.no_dead_strip	_nve0_fifo_isr_vm_fault
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nve0_fifo_isr_vm_fault
_nve0_fifo_isr_vm_fault:                ; @nve0_fifo_isr_vm_fault
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x22, x1
	mov	x20, x0
	lsl	w21, w1, #4
	mov	w8, #10240
	add	w1, w21, w8
	bl	_nv_rd32
	mov	x19, x0
	mov	w8, #10244
	add	w1, w21, w8
	mov	x0, x20
	bl	_nv_rd32
	mov	w8, #10248
	add	w1, w21, w8
	mov	x0, x20
	bl	_nv_rd32
	mov	w8, #10252
	add	w1, w21, w8
	mov	x0, x20
	bl	_nv_rd32
	mov	x23, x0
	ubfx	w21, w0, #8, #5
Lloh0:
	adrp	x8, l_.str.1@PAGE
Lloh1:
	add	x8, x8, l_.str.1@PAGEOFF
Lloh2:
	adrp	x9, l_.str.2@PAGE
Lloh3:
	add	x9, x9, l_.str.2@PAGEOFF
	tst	w0, #0x80
	csel	x2, x9, x8, eq
Lloh4:
	adrp	x1, l_.str@PAGE
Lloh5:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_nv_error
Lloh6:
	adrp	x8, _nve0_fifo_fault_reason@GOTPAGE
Lloh7:
	ldr	x8, [x8, _nve0_fifo_fault_reason@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	and	w1, w23, #0xf
	bl	_nouveau_enum_print
Lloh9:
	adrp	x0, l_.str.3@PAGE
Lloh10:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_pr_cont
Lloh11:
	adrp	x8, _nve0_fifo_fault_unit@GOTPAGE
Lloh12:
	ldr	x8, [x8, _nve0_fifo_fault_unit@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	mov	x1, x22
	bl	_nouveau_enum_print
	mov	x22, x0
	tbnz	w23, #6, LBB0_2
; %bb.1:
	ubfx	w8, w23, #24, #5
	str	x8, [sp]
Lloh14:
	adrp	x0, l_.str.5@PAGE
Lloh15:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_pr_cont
Lloh16:
	adrp	x8, _nve0_fifo_fault_gpcclient@GOTPAGE
Lloh17:
	ldr	x8, [x8, _nve0_fifo_fault_gpcclient@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:
Lloh18:
	adrp	x0, l_.str.4@PAGE
Lloh19:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_pr_cont
Lloh20:
	adrp	x8, _nve0_fifo_fault_hubclient@GOTPAGE
Lloh21:
	ldr	x8, [x8, _nve0_fifo_fault_hubclient@GOTPAGEOFF]
LBB0_3:
	ldr	w0, [x8]
	mov	x1, x21
	bl	_nouveau_enum_print
	cbz	x22, LBB0_7
; %bb.4:
	ldr	x1, [x22]
	cbz	x1, LBB0_7
; %bb.5:
	mov	x0, x20
	bl	_nouveau_engine
	cbz	x0, LBB0_7
; %bb.6:
	mov	x1, x19
	bl	_nouveau_engctx_get
	mov	x20, x0
	b	LBB0_8
LBB0_7:
	mov	x20, #0
LBB0_8:
	lsl	w19, w19, #12
	mov	x0, x20
	bl	_nouveau_client_name
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x19, x0, [sp]
Lloh22:
	adrp	x0, l_.str.6@PAGE
Lloh23:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_pr_cont
	mov	x0, x20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	b	_nouveau_engctx_put
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"PFIFO: %s fault at 0x%010llx ["

l_.str.1:                               ; @.str.1
	.asciz	"write"

l_.str.2:                               ; @.str.2
	.asciz	"read"

	.comm	_nve0_fifo_fault_reason,4,2     ; @nve0_fifo_fault_reason
l_.str.3:                               ; @.str.3
	.asciz	"] from "

	.comm	_nve0_fifo_fault_unit,4,2       ; @nve0_fifo_fault_unit
l_.str.4:                               ; @.str.4
	.asciz	"/"

	.comm	_nve0_fifo_fault_hubclient,4,2  ; @nve0_fifo_fault_hubclient
l_.str.5:                               ; @.str.5
	.asciz	"/GPC%d/"

	.comm	_nve0_fifo_fault_gpcclient,4,2  ; @nve0_fifo_fault_gpcclient
l_.str.6:                               ; @.str.6
	.asciz	" on channel 0x%010llx [%s]\n"

	.no_dead_strip	_nve0_fifo_isr_vm_fault
.subsections_via_symbols
