	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_smu7_powergate_gfx             ## -- Begin function smu7_powergate_gfx
	.p2align	4, 0x90
_smu7_powergate_gfx:                    ## @smu7_powergate_gfx
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testl	%esi, %esi
	je	LBB0_2
## %bb.1:
	movq	(%rdi), %rax
	movq	_PPSMC_MSG_GFX_CU_PG_ENABLE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	(%rax), %edx
	popq	%rbp
	jmp	_smum_send_msg_to_smc_with_parameter ## TAILCALL
LBB0_2:
	movq	_PPSMC_MSG_GFX_CU_PG_DISABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	popq	%rbp
	jmp	_smum_send_msg_to_smc           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PPSMC_MSG_GFX_CU_PG_ENABLE,4,2 ## @PPSMC_MSG_GFX_CU_PG_ENABLE
	.comm	_PPSMC_MSG_GFX_CU_PG_DISABLE,4,2 ## @PPSMC_MSG_GFX_CU_PG_DISABLE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_smu7_powergate_gfx             ; -- Begin function smu7_powergate_gfx
	.p2align	2
_smu7_powergate_gfx:                    ; @smu7_powergate_gfx
	.cfi_startproc
; %bb.0:
	cbz	w1, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _PPSMC_MSG_GFX_CU_PG_ENABLE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PPSMC_MSG_GFX_CU_PG_ENABLE@GOTPAGEOFF]
	ldr	x9, [x0]
Lloh2:
	ldr	w1, [x8]
	ldr	w2, [x9]
	b	_smum_send_msg_to_smc_with_parameter
LBB0_2:
Lloh3:
	adrp	x8, _PPSMC_MSG_GFX_CU_PG_DISABLE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PPSMC_MSG_GFX_CU_PG_DISABLE@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	b	_smum_send_msg_to_smc
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_PPSMC_MSG_GFX_CU_PG_ENABLE,4,2 ; @PPSMC_MSG_GFX_CU_PG_ENABLE
	.comm	_PPSMC_MSG_GFX_CU_PG_DISABLE,4,2 ; @PPSMC_MSG_GFX_CU_PG_DISABLE
.subsections_via_symbols
