	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_smu_force_performance_level    ## -- Begin function smu_force_performance_level
	.p2align	4, 0x90
_smu_force_performance_level:           ## @smu_force_performance_level
	.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
	movl	%esi, -12(%rbp)
	cmpl	$0, (%rdi)
	je	LBB0_1
## %bb.2:
	movq	%rdi, %rbx
	leaq	-12(%rbp), %rsi
	callq	_smu_enable_umd_pstate
	testl	%eax, %eax
	jne	LBB0_4
## %bb.3:
	movl	-12(%rbp), %esi
	movq	_AMD_PP_TASK_READJUST_POWER_STATE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_smu_handle_task
	jmp	LBB0_4
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_AMD_PP_TASK_READJUST_POWER_STATE,4,2 ## @AMD_PP_TASK_READJUST_POWER_STATE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_smu_force_performance_level    ; -- Begin function smu_force_performance_level
	.p2align	2
_smu_force_performance_level:           ; @smu_force_performance_level
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	str	w1, [sp, #12]
	ldr	w8, [x0]
	cbz	w8, LBB0_3
; %bb.1:
	mov	x19, x0
	add	x1, sp, #12
	bl	_smu_enable_umd_pstate
	cbnz	w0, LBB0_4
; %bb.2:
	ldr	w1, [sp, #12]
Lloh0:
	adrp	x8, _AMD_PP_TASK_READJUST_POWER_STATE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AMD_PP_TASK_READJUST_POWER_STATE@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_smu_handle_task
	b	LBB0_4
LBB0_3:
Lloh3:
	adrp	x8, _EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_4:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_AMD_PP_TASK_READJUST_POWER_STATE,4,2 ; @AMD_PP_TASK_READJUST_POWER_STATE
.subsections_via_symbols
