	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function smu8_dpm_powergate_acp
_smu8_dpm_powergate_acp:                ## @smu8_dpm_powergate_acp
	.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
	cmpl	%esi, (%rax)
	jne	LBB0_1
## %bb.5:
	popq	%rbp
	retq
LBB0_1:
	testl	%esi, %esi
	jne	LBB0_2
## %bb.3:
	movq	_PPSMC_MSG_ACPPowerON@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_2:
	movq	_PPSMC_MSG_ACPPowerOFF@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %esi
	popq	%rbp
	jmp	_smum_send_msg_to_smc           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PPSMC_MSG_ACPPowerOFF,4,2      ## @PPSMC_MSG_ACPPowerOFF
	.comm	_PPSMC_MSG_ACPPowerON,4,2       ## @PPSMC_MSG_ACPPowerON
	.no_dead_strip	_smu8_dpm_powergate_acp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function smu8_dpm_powergate_acp
_smu8_dpm_powergate_acp:                ; @smu8_dpm_powergate_acp
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
	ldr	w8, [x8]
	cmp	w8, w1
	b.ne	LBB0_2
; %bb.1:
	ret
LBB0_2:
Lloh0:
	adrp	x8, _PPSMC_MSG_ACPPowerON@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PPSMC_MSG_ACPPowerON@GOTPAGEOFF]
Lloh2:
	adrp	x9, _PPSMC_MSG_ACPPowerOFF@GOTPAGE
Lloh3:
	ldr	x9, [x9, _PPSMC_MSG_ACPPowerOFF@GOTPAGEOFF]
	cmp	w1, #0
	csel	x8, x8, x9, eq
	ldr	w1, [x8]
	b	_smum_send_msg_to_smc
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_PPSMC_MSG_ACPPowerOFF,4,2      ; @PPSMC_MSG_ACPPowerOFF
	.comm	_PPSMC_MSG_ACPPowerON,4,2       ; @PPSMC_MSG_ACPPowerON
	.no_dead_strip	_smu8_dpm_powergate_acp
.subsections_via_symbols
