	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_amdgpu_pm_virt_sysfs_fini      ## -- Begin function amdgpu_pm_virt_sysfs_fini
	.p2align	4, 0x90
_amdgpu_pm_virt_sysfs_fini:             ## @amdgpu_pm_virt_sysfs_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
	callq	_amdgpu_sriov_vf
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	callq	_amdgim_is_hwperf
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movl	(%rbx), %edi
	movq	_dev_attr_power_dpm_force_performance_level@GOTPCREL(%rip), %rsi
	callq	_device_remove_file
	movl	(%rbx), %edi
	movq	_dev_attr_pp_dpm_sclk@GOTPCREL(%rip), %rsi
	callq	_device_remove_file
	movl	(%rbx), %edi
	movq	_dev_attr_pp_dpm_mclk@GOTPCREL(%rip), %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_device_remove_file             ## TAILCALL
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_dev_attr_power_dpm_force_performance_level,4,2 ## @dev_attr_power_dpm_force_performance_level
	.comm	_dev_attr_pp_dpm_sclk,4,2       ## @dev_attr_pp_dpm_sclk
	.comm	_dev_attr_pp_dpm_mclk,4,2       ## @dev_attr_pp_dpm_mclk
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_amdgpu_pm_virt_sysfs_fini      ; -- Begin function amdgpu_pm_virt_sysfs_fini
	.p2align	2
_amdgpu_pm_virt_sysfs_fini:             ; @amdgpu_pm_virt_sysfs_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
	bl	_amdgpu_sriov_vf
	cbz	x0, LBB0_3
; %bb.1:
	mov	x0, x19
	bl	_amdgim_is_hwperf
	cbz	x0, LBB0_3
; %bb.2:
	ldr	w0, [x19]
Lloh0:
	adrp	x1, _dev_attr_power_dpm_force_performance_level@GOTPAGE
Lloh1:
	ldr	x1, [x1, _dev_attr_power_dpm_force_performance_level@GOTPAGEOFF]
	bl	_device_remove_file
	ldr	w0, [x19]
Lloh2:
	adrp	x1, _dev_attr_pp_dpm_sclk@GOTPAGE
Lloh3:
	ldr	x1, [x1, _dev_attr_pp_dpm_sclk@GOTPAGEOFF]
	bl	_device_remove_file
	ldr	w0, [x19]
Lloh4:
	adrp	x1, _dev_attr_pp_dpm_mclk@GOTPAGE
Lloh5:
	ldr	x1, [x1, _dev_attr_pp_dpm_mclk@GOTPAGEOFF]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_device_remove_file
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_dev_attr_power_dpm_force_performance_level,4,2 ; @dev_attr_power_dpm_force_performance_level
	.comm	_dev_attr_pp_dpm_sclk,4,2       ; @dev_attr_pp_dpm_sclk
	.comm	_dev_attr_pp_dpm_mclk,4,2       ; @dev_attr_pp_dpm_mclk
.subsections_via_symbols
