	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_radeon_gem_object_free         ## -- Begin function radeon_gem_object_free
	.p2align	4, 0x90
_radeon_gem_object_free:                ## @radeon_gem_object_free
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	callq	_gem_to_radeon_bo
	movq	%rax, -8(%rbp)
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	cmpq	$0, 8(%rax)
	je	LBB0_3
## %bb.2:
	movq	%rax, %rdi
	addq	$8, %rdi
	movl	(%rax), %esi
	callq	_drm_prime_gem_destroy
LBB0_3:
	leaq	-8(%rbp), %rdi
	callq	_radeon_bo_unref
LBB0_4:
	addq	$16, %rsp
	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	_radeon_gem_object_free         ; -- Begin function radeon_gem_object_free
	.p2align	2
_radeon_gem_object_free:                ; @radeon_gem_object_free
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.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
	bl	_gem_to_radeon_bo
	str	x0, [sp, #8]
	cbz	x0, LBB0_4
; %bb.1:
	mov	x8, x0
	ldr	x9, [x8, #8]!
	cbz	x9, LBB0_3
; %bb.2:
	ldr	w1, [x0]
	mov	x0, x8
	bl	_drm_prime_gem_destroy
LBB0_3:
	add	x0, sp, #8
	bl	_radeon_bo_unref
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
