	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nouveau_cli_fini
_nouveau_cli_fini:                      ## @nouveau_cli_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	addq	$32, %rdi
	callq	_flush_work
	leaq	28(%rbx), %rdi
	callq	_list_empty
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_WARN_ON
	movq	%rbx, %rdi
	callq	_usif_client_fini
	leaq	24(%rbx), %rdi
	callq	_nouveau_vmm_fini
	leaq	20(%rbx), %rdi
	callq	_nouveau_vmm_fini
	leaq	16(%rbx), %rdi
	callq	_nvif_mmu_fini
	leaq	12(%rbx), %rdi
	callq	_nvif_device_fini
	movq	(%rbx), %rdi
	callq	_mutex_lock
	leaq	8(%rbx), %rdi
	callq	_nvif_client_fini
	movq	(%rbx), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_mutex_unlock                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_nouveau_cli_fini
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nouveau_cli_fini
_nouveau_cli_fini:                      ; @nouveau_cli_fini
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	add	x0, x0, #32
	bl	_flush_work
	add	x0, x19, #28
	bl	_list_empty
	cmp	w0, #0
	cset	w0, eq
	bl	_WARN_ON
	mov	x0, x19
	bl	_usif_client_fini
	add	x0, x19, #24
	bl	_nouveau_vmm_fini
	add	x0, x19, #20
	bl	_nouveau_vmm_fini
	add	x0, x19, #16
	bl	_nvif_mmu_fini
	add	x0, x19, #12
	bl	_nvif_device_fini
	ldr	x0, [x19]
	bl	_mutex_lock
	add	x0, x19, #8
	bl	_nvif_client_fini
	ldr	x0, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_mutex_unlock
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_nouveau_cli_fini
.subsections_via_symbols
