	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_radeon_gart_fini               ## -- Begin function radeon_gart_fini
	.p2align	4, 0x90
_radeon_gart_fini:                      ## @radeon_gart_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
	movq	16(%rdi), %rdi
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	cmpq	$0, 8(%rbx)
	je	LBB0_5
## %bb.3:
	cmpl	$0, (%rbx)
	je	LBB0_5
## %bb.4:
	movl	24(%rbx), %edx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_radeon_gart_unbind
	movq	16(%rbx), %rdi
	jmp	LBB0_5
LBB0_1:
	xorl	%edi, %edi
LBB0_5:
	movl	$0, (%rbx)
	callq	_vfree
	movq	8(%rbx), %rdi
	callq	_vfree
	xorps	%xmm0, %xmm0
	movups	%xmm0, 8(%rbx)
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_radeon_dummy_page_fini         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_radeon_gart_fini               ; -- Begin function radeon_gart_fini
	.p2align	2
_radeon_gart_fini:                      ; @radeon_gart_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
	ldr	x0, [x0, #16]
	cbz	x0, LBB0_4
; %bb.1:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_4
; %bb.2:
	ldr	w8, [x19]
	cbz	w8, LBB0_4
; %bb.3:
	ldr	w2, [x19, #24]
	mov	x0, x19
	mov	w1, #0
	bl	_radeon_gart_unbind
	ldr	x0, [x19, #16]
LBB0_4:
	str	wzr, [x19]
	bl	_vfree
	ldr	x0, [x19, #8]
	bl	_vfree
	stp	xzr, xzr, [x19, #8]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_radeon_dummy_page_fini
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
