	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pp_nv_set_pme_wa_enable        ## -- Begin function pp_nv_set_pme_wa_enable
	.p2align	4, 0x90
_pp_nv_set_pme_wa_enable:               ## @pp_nv_set_pme_wa_enable
	.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	(%rax), %rdi
	cmpl	$0, (%rdi)
	je	LBB0_1
## %bb.2:
	callq	_smu_set_azalia_d3_pme
	testq	%rax, %rax
	jne	LBB0_3
## %bb.4:
	movq	_PP_SMU_RESULT_OK@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_1:
	movq	_PP_SMU_RESULT_UNSUPPORTED@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_3:
	movq	_PP_SMU_RESULT_FAIL@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PP_SMU_RESULT_UNSUPPORTED,4,2  ## @PP_SMU_RESULT_UNSUPPORTED
	.comm	_PP_SMU_RESULT_FAIL,4,2         ## @PP_SMU_RESULT_FAIL
	.comm	_PP_SMU_RESULT_OK,4,2           ## @PP_SMU_RESULT_OK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pp_nv_set_pme_wa_enable        ; -- Begin function pp_nv_set_pme_wa_enable
	.p2align	2
_pp_nv_set_pme_wa_enable:               ; @pp_nv_set_pme_wa_enable
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldr	x8, [x0]
	ldr	x0, [x8]
	ldr	w8, [x0]
	cbz	w8, LBB0_2
; %bb.1:
	bl	_smu_set_azalia_d3_pme
Lloh0:
	adrp	x8, _PP_SMU_RESULT_FAIL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PP_SMU_RESULT_FAIL@GOTPAGEOFF]
Lloh2:
	adrp	x9, _PP_SMU_RESULT_OK@GOTPAGE
Lloh3:
	ldr	x9, [x9, _PP_SMU_RESULT_OK@GOTPAGEOFF]
	cmp	x0, #0
	csel	x8, x9, x8, eq
	b	LBB0_3
LBB0_2:
Lloh4:
	adrp	x8, _PP_SMU_RESULT_UNSUPPORTED@GOTPAGE
Lloh5:
	ldr	x8, [x8, _PP_SMU_RESULT_UNSUPPORTED@GOTPAGEOFF]
LBB0_3:
	ldr	w0, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_PP_SMU_RESULT_UNSUPPORTED,4,2  ; @PP_SMU_RESULT_UNSUPPORTED
	.comm	_PP_SMU_RESULT_FAIL,4,2         ; @PP_SMU_RESULT_FAIL
	.comm	_PP_SMU_RESULT_OK,4,2           ; @PP_SMU_RESULT_OK
.subsections_via_symbols
