	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vega20_smu_fini
_vega20_smu_fini:                       ## @vega20_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_2
## %bb.1:
	movq	%rdi, %r14
	movq	(%rbx), %rax
	movq	_TABLE_PPTABLE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	leaq	(%rcx,%rcx,2), %rcx
	leaq	(%rax,%rcx,4), %rdi
	addq	$8, %rdi
	leaq	(%rax,%rcx,4), %rdx
	leaq	(%rax,%rcx,4), %rsi
	addq	$4, %rsi
	callq	_amdgpu_bo_free_kernel
	movq	(%rbx), %rax
	movq	_TABLE_WATERMARKS@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	leaq	(%rcx,%rcx,2), %rcx
	leaq	(%rax,%rcx,4), %rdi
	addq	$8, %rdi
	leaq	(%rax,%rcx,4), %rdx
	leaq	(%rax,%rcx,4), %rsi
	addq	$4, %rsi
	callq	_amdgpu_bo_free_kernel
	movq	(%rbx), %rax
	movq	_TABLE_PMSTATUSLOG@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	leaq	(%rcx,%rcx,2), %rcx
	leaq	(%rax,%rcx,4), %rdi
	addq	$8, %rdi
	leaq	(%rax,%rcx,4), %rdx
	leaq	(%rax,%rcx,4), %rsi
	addq	$4, %rsi
	callq	_amdgpu_bo_free_kernel
	movq	(%rbx), %rax
	movq	_TABLE_OVERDRIVE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	leaq	(%rcx,%rcx,2), %rcx
	leaq	(%rax,%rcx,4), %rdi
	addq	$8, %rdi
	leaq	(%rax,%rcx,4), %rdx
	leaq	(%rax,%rcx,4), %rsi
	addq	$4, %rsi
	callq	_amdgpu_bo_free_kernel
	movq	(%rbx), %rax
	movq	_TABLE_SMU_METRICS@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	leaq	(%rcx,%rcx,2), %rcx
	leaq	(%rax,%rcx,4), %rdi
	addq	$8, %rdi
	leaq	(%rax,%rcx,4), %rdx
	leaq	(%rax,%rcx,4), %rsi
	addq	$4, %rsi
	callq	_amdgpu_bo_free_kernel
	movq	(%rbx), %rax
	movq	_TABLE_ACTIVITY_MONITOR_COEFF@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	leaq	(%rcx,%rcx,2), %rcx
	leaq	(%rax,%rcx,4), %rdi
	addq	$8, %rdi
	leaq	(%rax,%rcx,4), %rdx
	leaq	(%rax,%rcx,4), %rsi
	addq	$4, %rsi
	callq	_amdgpu_bo_free_kernel
	movq	(%r14), %rdi
	callq	_kfree
	movq	$0, (%r14)
LBB0_2:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TABLE_PPTABLE,8,3              ## @TABLE_PPTABLE
	.comm	_TABLE_WATERMARKS,8,3           ## @TABLE_WATERMARKS
	.comm	_TABLE_PMSTATUSLOG,8,3          ## @TABLE_PMSTATUSLOG
	.comm	_TABLE_OVERDRIVE,8,3            ## @TABLE_OVERDRIVE
	.comm	_TABLE_SMU_METRICS,8,3          ## @TABLE_SMU_METRICS
	.comm	_TABLE_ACTIVITY_MONITOR_COEFF,8,3 ## @TABLE_ACTIVITY_MONITOR_COEFF
	.no_dead_strip	_vega20_smu_fini
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vega20_smu_fini
_vega20_smu_fini:                       ; @vega20_smu_fini
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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]
	cbz	x20, LBB0_2
; %bb.1:
	mov	x19, x0
Lloh0:
	adrp	x8, _TABLE_PPTABLE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TABLE_PPTABLE@GOTPAGEOFF]
	ldr	x9, [x20]
Lloh2:
	ldr	x8, [x8]
	mov	w21, #12
	madd	x2, x8, x21, x9
	add	x0, x2, #8
	add	x1, x2, #4
	bl	_amdgpu_bo_free_kernel
	ldr	x8, [x20]
Lloh3:
	adrp	x9, _TABLE_WATERMARKS@GOTPAGE
Lloh4:
	ldr	x9, [x9, _TABLE_WATERMARKS@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	madd	x2, x9, x21, x8
	add	x0, x2, #8
	add	x1, x2, #4
	bl	_amdgpu_bo_free_kernel
	ldr	x8, [x20]
Lloh6:
	adrp	x9, _TABLE_PMSTATUSLOG@GOTPAGE
Lloh7:
	ldr	x9, [x9, _TABLE_PMSTATUSLOG@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	madd	x2, x9, x21, x8
	add	x0, x2, #8
	add	x1, x2, #4
	bl	_amdgpu_bo_free_kernel
	ldr	x8, [x20]
Lloh9:
	adrp	x9, _TABLE_OVERDRIVE@GOTPAGE
Lloh10:
	ldr	x9, [x9, _TABLE_OVERDRIVE@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	madd	x2, x9, x21, x8
	add	x0, x2, #8
	add	x1, x2, #4
	bl	_amdgpu_bo_free_kernel
	ldr	x8, [x20]
Lloh12:
	adrp	x9, _TABLE_SMU_METRICS@GOTPAGE
Lloh13:
	ldr	x9, [x9, _TABLE_SMU_METRICS@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	madd	x2, x9, x21, x8
	add	x0, x2, #8
	add	x1, x2, #4
	bl	_amdgpu_bo_free_kernel
	ldr	x8, [x20]
Lloh15:
	adrp	x9, _TABLE_ACTIVITY_MONITOR_COEFF@GOTPAGE
Lloh16:
	ldr	x9, [x9, _TABLE_ACTIVITY_MONITOR_COEFF@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	madd	x2, x9, x21, x8
	add	x0, x2, #8
	add	x1, x2, #4
	bl	_amdgpu_bo_free_kernel
	ldr	x0, [x19]
	bl	_kfree
	str	xzr, [x19]
LBB0_2:
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_TABLE_PPTABLE,8,3              ; @TABLE_PPTABLE
	.comm	_TABLE_WATERMARKS,8,3           ; @TABLE_WATERMARKS
	.comm	_TABLE_PMSTATUSLOG,8,3          ; @TABLE_PMSTATUSLOG
	.comm	_TABLE_OVERDRIVE,8,3            ; @TABLE_OVERDRIVE
	.comm	_TABLE_SMU_METRICS,8,3          ; @TABLE_SMU_METRICS
	.comm	_TABLE_ACTIVITY_MONITOR_COEFF,8,3 ; @TABLE_ACTIVITY_MONITOR_COEFF
	.no_dead_strip	_vega20_smu_fini
.subsections_via_symbols
