	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function smu10_init_power_gate_state
_smu10_init_power_gate_state:           ## @smu10_init_power_gate_state
	.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	8(%rdi), %rcx
	movabsq	$4294967297, %rdx               ## imm = 0x100000001
	movq	%rdx, (%rcx)
	movl	$1, 8(%rcx)
	movq	_AMD_PG_SUPPORT_GFX_PG@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_1
## %bb.2:
	movq	_PPSMC_MSG_SetGfxCGPG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$1, %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	_AMD_PG_SUPPORT_GFX_PG,4,2      ## @AMD_PG_SUPPORT_GFX_PG
	.comm	_PPSMC_MSG_SetGfxCGPG,4,2       ## @PPSMC_MSG_SetGfxCGPG
	.no_dead_strip	_smu10_init_power_gate_state
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function smu10_init_power_gate_state
_smu10_init_power_gate_state:           ; @smu10_init_power_gate_state
	.cfi_startproc
; %bb.0:
	ldp	x9, x8, [x0]
	movi.2s	v0, #1
	str	d0, [x8]
	mov	w10, #1
	str	w10, [x8, #8]
	ldr	w8, [x9]
Lloh0:
	adrp	x9, _AMD_PG_SUPPORT_GFX_PG@GOTPAGE
Lloh1:
	ldr	x9, [x9, _AMD_PG_SUPPORT_GFX_PG@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _PPSMC_MSG_SetGfxCGPG@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PPSMC_MSG_SetGfxCGPG@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	w2, #1
	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	_AMD_PG_SUPPORT_GFX_PG,4,2      ; @AMD_PG_SUPPORT_GFX_PG
	.comm	_PPSMC_MSG_SetGfxCGPG,4,2       ; @PPSMC_MSG_SetGfxCGPG
	.no_dead_strip	_smu10_init_power_gate_state
.subsections_via_symbols
