	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nouveau_gem_object_del         ## -- Begin function nouveau_gem_object_del
	.p2align	4, 0x90
_nouveau_gem_object_del:                ## @nouveau_gem_object_del
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	8(%rdi), %rbx
	leaq	4(%rbx), %r15
	movq	%r15, -32(%rbp)
	testq	%rbx, %rbx
	je	LBB0_6
## %bb.1:
	movq	%rdi, %r14
	movq	$0, 8(%rbx)
	movl	(%rbx), %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movl	$1, (%rbx)
	movq	%rbx, %rdi
	callq	_nouveau_bo_unpin
LBB0_3:
	cmpq	$0, (%r14)
	je	LBB0_5
## %bb.4:
	movl	(%r15), %esi
	movq	%r14, %rdi
	callq	_drm_prime_gem_destroy
LBB0_5:
	leaq	-32(%rbp), %rdi
	callq	_ttm_bo_unref
	movq	%r14, %rdi
	callq	_drm_gem_object_release
	movq	%r14, %rdi
	callq	_kfree
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nouveau_gem_object_del         ; -- Begin function nouveau_gem_object_del
	.p2align	2
_nouveau_gem_object_del:                ; @nouveau_gem_object_del
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	ldr	x20, [x0, #8]
	add	x21, x20, #4
	str	x21, [sp, #8]
	cbz	x20, LBB0_6
; %bb.1:
	mov	x19, x0
	str	xzr, [x20, #8]
	ldr	w0, [x20]
	bl	_unlikely
	cbz	x0, LBB0_3
; %bb.2:
	mov	w8, #1
	str	w8, [x20]
	mov	x0, x20
	bl	_nouveau_bo_unpin
LBB0_3:
	ldr	x8, [x19]
	cbz	x8, LBB0_5
; %bb.4:
	ldr	w1, [x21]
	mov	x0, x19
	bl	_drm_prime_gem_destroy
LBB0_5:
	add	x0, sp, #8
	bl	_ttm_bo_unref
	mov	x0, x19
	bl	_drm_gem_object_release
	mov	x0, x19
	bl	_kfree
LBB0_6:
	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
	add	sp, sp, #64
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
