	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gf100_fifo_recover
_gf100_fifo_recover:                    ## @gf100_fifo_recover
	.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
	movq	%rdx, %r12
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	8(%rdi), %r13
	movl	8(%rdx), %r14d
	movq	_nvkm_subdev_name@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rsi), %rcx
	movl	(%rax,%rcx,4), %edx
	leaq	L_.str(%rip), %rsi
	movl	%r14d, %ecx
	callq	_nvkm_error
	leaq	16(%rbx), %rdi
	callq	_assert_spin_locked
	leal	12292(,%r14,8), %esi
	movq	%r13, %rdi
	movl	$1, %edx
	xorl	%ecx, %ecx
	callq	_nvkm_mask
	leaq	4(%r12), %rdi
	callq	_list_del_init
	movl	$1, (%r12)
	cmpq	%r15, %rbx
	je	LBB0_2
## %bb.1:
	movb	(%r15), %cl
	movl	$1, %eax
	shlq	%cl, %rax
	orq	%rax, 24(%rbx)
LBB0_2:
	leaq	32(%rbx), %rdi
	callq	_schedule_work
	movq	%rbx, %rdi
	movl	%r14d, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_nvkm_fifo_kevent               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s engine fault on channel %d, recovering...\n"

	.comm	_nvkm_subdev_name,8,3           ## @nvkm_subdev_name
	.no_dead_strip	_gf100_fifo_recover
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gf100_fifo_recover
_gf100_fifo_recover:                    ; @gf100_fifo_recover
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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, x2
	mov	x21, x1
	mov	x19, x0
	ldr	x23, [x0, #8]
	ldr	w20, [x2, #8]
Lloh0:
	adrp	x8, _nvkm_subdev_name@GOTPAGE
Lloh1:
	ldr	x8, [x8, _nvkm_subdev_name@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x9, [x1]
	ldr	w2, [x8, x9, lsl #2]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x3, x20
	bl	_nvkm_error
	add	x0, x19, #16
	bl	_assert_spin_locked
	mov	w8, #12292
	add	w1, w8, w20, lsl #3
	mov	w24, #1
	mov	x0, x23
	mov	w2, #1
	mov	w3, #0
	bl	_nvkm_mask
	add	x0, x22, #4
	bl	_list_del_init
	str	w24, [x22]
	cmp	x19, x21
	b.eq	LBB0_2
; %bb.1:
	ldr	x8, [x21]
	mov	w9, #1
	lsl	x8, x9, x8
	ldr	x9, [x19, #24]
	orr	x8, x9, x8
	str	x8, [x19, #24]
LBB0_2:
	add	x0, x19, #32
	bl	_schedule_work
	mov	x0, x19
	mov	x1, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_nvkm_fifo_kevent
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s engine fault on channel %d, recovering...\n"

	.comm	_nvkm_subdev_name,8,3           ; @nvkm_subdev_name
	.no_dead_strip	_gf100_fifo_recover
.subsections_via_symbols
