	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sumo_gfx_powergating_enable
_sumo_gfx_powergating_enable:           ## @sumo_gfx_powergating_enable
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%esi, %eax
	movq	_CG_PWR_GATING_CNTL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movq	_DYN_PWR_DOWN_EN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%esi, %edx
	notl	%edx
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	popq	%rbp
	jmp	_WREG32_P                       ## TAILCALL
LBB0_2:
	xorl	%esi, %esi
	callq	_WREG32_P
	movq	_GB_ADDR_CONFIG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	popq	%rbp
	jmp	_RREG32                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_CG_PWR_GATING_CNTL,4,2         ## @CG_PWR_GATING_CNTL
	.comm	_DYN_PWR_DOWN_EN,4,2            ## @DYN_PWR_DOWN_EN
	.comm	_GB_ADDR_CONFIG,4,2             ## @GB_ADDR_CONFIG
	.no_dead_strip	_sumo_gfx_powergating_enable
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sumo_gfx_powergating_enable
_sumo_gfx_powergating_enable:           ; @sumo_gfx_powergating_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
	mov	x8, x1
Lloh0:
	adrp	x9, _CG_PWR_GATING_CNTL@GOTPAGE
Lloh1:
	ldr	x9, [x9, _CG_PWR_GATING_CNTL@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x9]
Lloh3:
	adrp	x9, _DYN_PWR_DOWN_EN@GOTPAGE
Lloh4:
	ldr	x9, [x9, _DYN_PWR_DOWN_EN@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x9]
	mvn	w2, w1
	cbz	w8, LBB0_2
; %bb.1:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_WREG32_P
LBB0_2:
	mov	w1, #0
	bl	_WREG32_P
Lloh6:
	adrp	x8, _GB_ADDR_CONFIG@GOTPAGE
Lloh7:
	ldr	x8, [x8, _GB_ADDR_CONFIG@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_RREG32
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_CG_PWR_GATING_CNTL,4,2         ; @CG_PWR_GATING_CNTL
	.comm	_DYN_PWR_DOWN_EN,4,2            ; @DYN_PWR_DOWN_EN
	.comm	_GB_ADDR_CONFIG,4,2             ; @GB_ADDR_CONFIG
	.no_dead_strip	_sumo_gfx_powergating_enable
.subsections_via_symbols
