	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gf100_fifo_gpfifo_fini
_gf100_fifo_gpfifo_fini:                ## @gf100_fifo_gpfifo_fini
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	callq	_gf100_fifo_chan
	movq	%rax, %rbx
	movq	16(%rax), %r15
	movq	(%r15), %r14
	movl	8(%rax), %r12d
	shll	$3, %r12d
	leaq	4(%rax), %rdi
	callq	_list_empty
	testl	%eax, %eax
	jne	LBB0_3
## %bb.1:
	cmpl	$0, (%rbx)
	jne	LBB0_3
## %bb.2:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_gf100_fifo_runlist_remove
	leal	12292(%r12), %esi
	movq	%r14, %rdi
	movl	$1, %edx
	xorl	%ecx, %ecx
	callq	_nvkm_mask
	movq	%r15, %rdi
	callq	_gf100_fifo_runlist_commit
LBB0_3:
	movq	%r15, %rdi
	callq	_gf100_fifo_intr_engine
	addl	$12288, %r12d                   ## imm = 0x3000
	movq	%r14, %rdi
	movl	%r12d, %esi
	xorl	%edx, %edx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_nvkm_wr32                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_gf100_fifo_gpfifo_fini
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gf100_fifo_gpfifo_fini
_gf100_fifo_gpfifo_fini:                ; @gf100_fifo_gpfifo_fini
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	bl	_gf100_fifo_chan
	mov	x21, x0
	ldr	x20, [x0, #16]
	ldr	x19, [x20]
	ldr	w8, [x0, #8]
	lsl	w22, w8, #3
	add	x0, x0, #4
	bl	_list_empty
	cbnz	w0, LBB0_3
; %bb.1:
	ldr	w8, [x21]
	cbnz	w8, LBB0_3
; %bb.2:
	mov	x0, x20
	mov	x1, x21
	bl	_gf100_fifo_runlist_remove
	mov	w8, #12292
	add	w1, w22, w8
	mov	x0, x19
	mov	w2, #1
	mov	w3, #0
	bl	_nvkm_mask
	mov	x0, x20
	bl	_gf100_fifo_runlist_commit
LBB0_3:
	mov	x0, x20
	bl	_gf100_fifo_intr_engine
	add	w1, w22, #3, lsl #12            ; =12288
	mov	x0, x19
	mov	w2, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_nvkm_wr32
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_gf100_fifo_gpfifo_fini
.subsections_via_symbols
