	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vega12_init_powergate_state
_vega12_init_powergate_state:           ## @vega12_init_powergate_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
	movabsq	$4294967297, %rcx               ## imm = 0x100000001
	movq	%rcx, (%rax)
	movq	8(%rax), %rcx
	movq	_GNLD_DPM_UVD@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	cmpq	$0, (%rcx,%rdx,8)
	je	LBB0_2
## %bb.1:
	movl	$0, (%rax)
LBB0_2:
	movq	_GNLD_DPM_VCE@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	cmpq	$0, (%rcx,%rdx,8)
	je	LBB0_4
## %bb.3:
	movl	$0, 4(%rax)
LBB0_4:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GNLD_DPM_UVD,8,3               ## @GNLD_DPM_UVD
	.comm	_GNLD_DPM_VCE,8,3               ## @GNLD_DPM_VCE
	.no_dead_strip	_vega12_init_powergate_state
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vega12_init_powergate_state
_vega12_init_powergate_state:           ; @vega12_init_powergate_state
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
	movi.2s	v0, #1
	str	d0, [x8]
	ldr	x9, [x8, #8]
Lloh0:
	adrp	x10, _GNLD_DPM_UVD@GOTPAGE
Lloh1:
	ldr	x10, [x10, _GNLD_DPM_UVD@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	ldr	x10, [x9, x10, lsl #3]
	cbz	x10, LBB0_2
; %bb.1:
	str	wzr, [x8]
LBB0_2:
Lloh3:
	adrp	x10, _GNLD_DPM_VCE@GOTPAGE
Lloh4:
	ldr	x10, [x10, _GNLD_DPM_VCE@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	ldr	x9, [x9, x10, lsl #3]
	cbz	x9, LBB0_4
; %bb.3:
	str	wzr, [x8, #4]
LBB0_4:
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_GNLD_DPM_UVD,8,3               ; @GNLD_DPM_UVD
	.comm	_GNLD_DPM_VCE,8,3               ; @GNLD_DPM_VCE
	.no_dead_strip	_vega12_init_powergate_state
.subsections_via_symbols
