	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_smu_feature_update_enable_state ## -- Begin function smu_feature_update_enable_state
	.p2align	4, 0x90
_smu_feature_update_enable_state:       ## @smu_feature_update_enable_state
	.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
	xorl	%eax, %eax
	cmpl	$0, (%rdi)
	je	LBB0_8
## %bb.1:
	movl	%esi, %ecx
	movq	%rdi, %rbx
	testl	%edx, %edx
	je	LBB0_4
## %bb.2:
	movq	_SMU_MSG_EnableSmuFeaturesLow@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	%ecx, %edx
	callq	_smu_send_smc_msg_with_param
	testl	%eax, %eax
	jne	LBB0_8
## %bb.3:
	movq	_SMU_MSG_EnableSmuFeaturesHigh@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_4:
	movq	_SMU_MSG_DisableSmuFeaturesLow@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	%ecx, %edx
	callq	_smu_send_smc_msg_with_param
	testl	%eax, %eax
	jne	LBB0_8
## %bb.5:
	movq	_SMU_MSG_DisableSmuFeaturesHigh@GOTPCREL(%rip), %rax
LBB0_6:
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_smu_send_smc_msg_with_param
	testl	%eax, %eax
	jne	LBB0_8
## %bb.7:
	xorl	%eax, %eax
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SMU_MSG_EnableSmuFeaturesLow,4,2 ## @SMU_MSG_EnableSmuFeaturesLow
	.comm	_SMU_MSG_EnableSmuFeaturesHigh,4,2 ## @SMU_MSG_EnableSmuFeaturesHigh
	.comm	_SMU_MSG_DisableSmuFeaturesLow,4,2 ## @SMU_MSG_DisableSmuFeaturesLow
	.comm	_SMU_MSG_DisableSmuFeaturesHigh,4,2 ## @SMU_MSG_DisableSmuFeaturesHigh
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_smu_feature_update_enable_state ; -- Begin function smu_feature_update_enable_state
	.p2align	2
_smu_feature_update_enable_state:       ; @smu_feature_update_enable_state
	.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
	ldr	w9, [x0]
	cbz	w9, LBB0_7
; %bb.1:
	mov	x8, x1
	mov	x19, x0
	cbz	w2, LBB0_4
; %bb.2:
Lloh0:
	adrp	x9, _SMU_MSG_EnableSmuFeaturesLow@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SMU_MSG_EnableSmuFeaturesLow@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x9]
	mov	x0, x19
	mov	x2, x8
	bl	_smu_send_smc_msg_with_param
	cbnz	w0, LBB0_8
; %bb.3:
Lloh3:
	adrp	x8, _SMU_MSG_EnableSmuFeaturesHigh@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SMU_MSG_EnableSmuFeaturesHigh@GOTPAGEOFF]
	b	LBB0_6
LBB0_4:
Lloh5:
	adrp	x9, _SMU_MSG_DisableSmuFeaturesLow@GOTPAGE
Lloh6:
	ldr	x9, [x9, _SMU_MSG_DisableSmuFeaturesLow@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x9]
	mov	x0, x19
	mov	x2, x8
	bl	_smu_send_smc_msg_with_param
	cbnz	w0, LBB0_8
; %bb.5:
Lloh8:
	adrp	x8, _SMU_MSG_DisableSmuFeaturesHigh@GOTPAGE
Lloh9:
	ldr	x8, [x8, _SMU_MSG_DisableSmuFeaturesHigh@GOTPAGEOFF]
LBB0_6:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_smu_send_smc_msg_with_param
	cbnz	w0, LBB0_8
LBB0_7:
	mov	w0, #0
LBB0_8:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_SMU_MSG_EnableSmuFeaturesLow,4,2 ; @SMU_MSG_EnableSmuFeaturesLow
	.comm	_SMU_MSG_EnableSmuFeaturesHigh,4,2 ; @SMU_MSG_EnableSmuFeaturesHigh
	.comm	_SMU_MSG_DisableSmuFeaturesLow,4,2 ; @SMU_MSG_DisableSmuFeaturesLow
	.comm	_SMU_MSG_DisableSmuFeaturesHigh,4,2 ; @SMU_MSG_DisableSmuFeaturesHigh
.subsections_via_symbols
