	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vega10_smu_fini
_vega10_smu_fini:                       ## @vega10_smu_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	(%rdi), %rbx
	testq	%rbx, %rbx
	je	LBB0_4
## %bb.1:
	movq	%rdi, %r14
	movq	(%rbx), %rax
	movq	_PPTABLE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	shlq	$4, %rcx
	leaq	(%rax,%rcx), %rdi
	addq	$12, %rdi
	leaq	(%rax,%rcx), %rdx
	leaq	(%rax,%rcx), %rsi
	addq	$8, %rsi
	callq	_amdgpu_bo_free_kernel
	movq	(%rbx), %rax
	movq	_WMTABLE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	shlq	$4, %rcx
	leaq	(%rax,%rcx), %rdi
	addq	$12, %rdi
	leaq	(%rax,%rcx), %rdx
	leaq	(%rax,%rcx), %rsi
	addq	$8, %rsi
	callq	_amdgpu_bo_free_kernel
	movq	(%rbx), %rax
	movq	_AVFSTABLE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	shlq	$4, %rcx
	leaq	(%rax,%rcx), %rdi
	addq	$12, %rdi
	leaq	(%rax,%rcx), %rdx
	leaq	(%rax,%rcx), %rsi
	addq	$8, %rsi
	callq	_amdgpu_bo_free_kernel
	movq	(%rbx), %rax
	movq	_TOOLSTABLE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	shlq	$4, %rcx
	cmpq	$0, (%rax,%rcx)
	je	LBB0_3
## %bb.2:
	leaq	(%rax,%rcx), %rdx
	leaq	(%rax,%rcx), %rdi
	addq	$12, %rdi
	leaq	(%rax,%rcx), %rsi
	addq	$8, %rsi
	callq	_amdgpu_bo_free_kernel
	movq	(%rbx), %rax
LBB0_3:
	movq	_AVFSFUSETABLE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	shlq	$4, %rcx
	leaq	(%rax,%rcx), %rdi
	addq	$12, %rdi
	leaq	(%rax,%rcx), %rdx
	leaq	(%rax,%rcx), %rsi
	addq	$8, %rsi
	callq	_amdgpu_bo_free_kernel
	movq	(%r14), %rdi
	callq	_kfree
	movq	$0, (%r14)
LBB0_4:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PPTABLE,8,3                    ## @PPTABLE
	.comm	_WMTABLE,8,3                    ## @WMTABLE
	.comm	_AVFSTABLE,8,3                  ## @AVFSTABLE
	.comm	_TOOLSTABLE,8,3                 ## @TOOLSTABLE
	.comm	_AVFSFUSETABLE,8,3              ## @AVFSFUSETABLE
	.no_dead_strip	_vega10_smu_fini
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vega10_smu_fini
_vega10_smu_fini:                       ; @vega10_smu_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
	ldr	x20, [x0]
	cbz	x20, LBB0_4
; %bb.1:
	mov	x19, x0
	ldr	x8, [x20]
Lloh0:
	adrp	x9, _PPTABLE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _PPTABLE@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	add	x2, x8, x9, lsl #4
	add	x0, x2, #12
	add	x1, x2, #8
	bl	_amdgpu_bo_free_kernel
	ldr	x8, [x20]
Lloh3:
	adrp	x9, _WMTABLE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _WMTABLE@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	add	x2, x8, x9, lsl #4
	add	x0, x2, #12
	add	x1, x2, #8
	bl	_amdgpu_bo_free_kernel
	ldr	x8, [x20]
Lloh6:
	adrp	x9, _AVFSTABLE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _AVFSTABLE@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	add	x2, x8, x9, lsl #4
	add	x0, x2, #12
	add	x1, x2, #8
	bl	_amdgpu_bo_free_kernel
	ldr	x8, [x20]
Lloh9:
	adrp	x9, _TOOLSTABLE@GOTPAGE
Lloh10:
	ldr	x9, [x9, _TOOLSTABLE@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	add	x2, x8, x9, lsl #4
	ldr	x9, [x2]
	cbz	x9, LBB0_3
; %bb.2:
	add	x0, x2, #12
	add	x1, x2, #8
	bl	_amdgpu_bo_free_kernel
	ldr	x8, [x20]
LBB0_3:
Lloh12:
	adrp	x9, _AVFSFUSETABLE@GOTPAGE
Lloh13:
	ldr	x9, [x9, _AVFSFUSETABLE@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	add	x2, x8, x9, lsl #4
	add	x0, x2, #12
	add	x1, x2, #8
	bl	_amdgpu_bo_free_kernel
	ldr	x0, [x19]
	bl	_kfree
	str	xzr, [x19]
LBB0_4:
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_PPTABLE,8,3                    ; @PPTABLE
	.comm	_WMTABLE,8,3                    ; @WMTABLE
	.comm	_AVFSTABLE,8,3                  ; @AVFSTABLE
	.comm	_TOOLSTABLE,8,3                 ; @TOOLSTABLE
	.comm	_AVFSFUSETABLE,8,3              ; @AVFSFUSETABLE
	.no_dead_strip	_vega10_smu_fini
.subsections_via_symbols
