	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nouveau_fifo_channel_destroy   ## -- Begin function nouveau_fifo_channel_destroy
	.p2align	4, 0x90
_nouveau_fifo_channel_destroy:          ## @nouveau_fifo_channel_destroy
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	callq	_nv_object
	movq	(%rax), %r14
	movl	20(%rbx), %edi
	callq	_iounmap
	movq	%r14, %rdi
	callq	_spin_lock_irqsave
	movq	8(%r14), %rax
	movq	(%rbx), %rcx
	movq	$0, (%rax,%rcx,8)
	movq	%r14, %rdi
	callq	_spin_unlock_irqrestore
	leaq	16(%rbx), %rsi
	xorl	%edi, %edi
	callq	_nouveau_gpuobj_ref
	leaq	12(%rbx), %rsi
	xorl	%edi, %edi
	callq	_nouveau_object_ref
	addq	$8, %rbx
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_nouveau_namedb_destroy         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nouveau_fifo_channel_destroy   ; -- Begin function nouveau_fifo_channel_destroy
	.p2align	2
_nouveau_fifo_channel_destroy:          ; @nouveau_fifo_channel_destroy
	.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
	bl	_nv_object
	ldr	x20, [x0]
	ldr	w0, [x19, #20]
	bl	_iounmap
	mov	x0, x20
	bl	_spin_lock_irqsave
	ldr	x8, [x20, #8]
	ldr	x9, [x19]
	str	xzr, [x8, x9, lsl #3]
	mov	x0, x20
	bl	_spin_unlock_irqrestore
	add	x1, x19, #16
	mov	x0, #0
	bl	_nouveau_gpuobj_ref
	add	x1, x19, #12
	mov	x0, #0
	bl	_nouveau_object_ref
	add	x0, x19, #8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_nouveau_namedb_destroy
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
