	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_smu7_set_power_limit           ## -- Begin function smu7_set_power_limit
	.p2align	4, 0x90
_smu7_set_power_limit:                  ## @smu7_set_power_limit
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rax
	movq	_POWERCONTAINMENT_FEATURE_PkgPwrLimit@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_1
## %bb.2:
	movl	%esi, %edx
	movq	_PPSMC_MSG_PkgPwrSetLimit@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	shll	$8, %edx
	popq	%rbp
	jmp	_smum_send_msg_to_smc_with_parameter ## TAILCALL
LBB0_1:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_POWERCONTAINMENT_FEATURE_PkgPwrLimit,4,2 ## @POWERCONTAINMENT_FEATURE_PkgPwrLimit
	.comm	_PPSMC_MSG_PkgPwrSetLimit,4,2   ## @PPSMC_MSG_PkgPwrSetLimit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_smu7_set_power_limit           ; -- Begin function smu7_set_power_limit
	.p2align	2
_smu7_set_power_limit:                  ; @smu7_set_power_limit
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
	ldr	w8, [x8]
Lloh0:
	adrp	x9, _POWERCONTAINMENT_FEATURE_PkgPwrLimit@GOTPAGE
Lloh1:
	ldr	x9, [x9, _POWERCONTAINMENT_FEATURE_PkgPwrLimit@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _PPSMC_MSG_PkgPwrSetLimit@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PPSMC_MSG_PkgPwrSetLimit@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	lsl	w2, w1, #8
	mov	x1, x8
	b	_smum_send_msg_to_smc_with_parameter
LBB0_2:
	mov	w0, #0
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_POWERCONTAINMENT_FEATURE_PkgPwrLimit,4,2 ; @POWERCONTAINMENT_FEATURE_PkgPwrLimit
	.comm	_PPSMC_MSG_PkgPwrSetLimit,4,2   ; @PPSMC_MSG_PkgPwrSetLimit
.subsections_via_symbols
