	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vega10_acg_disable
_vega10_acg_disable:                    ## @vega10_acg_disable
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	(%rdi), %rbx
	movq	(%rbx), %rax
	movq	_GNLD_ACG@GOTPCREL(%rip), %r14
	movq	(%r14), %rcx
	shlq	$4, %rcx
	cmpq	$0, 8(%rax,%rcx)
	je	LBB0_4
## %bb.1:
	cmpl	$0, (%rax,%rcx)
	je	LBB0_4
## %bb.2:
	movl	4(%rax,%rcx), %edx
	xorl	%esi, %esi
	callq	_vega10_enable_smc_features
	testl	%eax, %eax
	jne	LBB0_4
## %bb.3:
	movq	(%rbx), %rax
	movq	(%r14), %rcx
	shlq	$4, %rcx
	movl	$0, (%rax,%rcx)
LBB0_4:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GNLD_ACG,8,3                   ## @GNLD_ACG
	.no_dead_strip	_vega10_acg_disable
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vega10_acg_disable
_vega10_acg_disable:                    ; @vega10_acg_disable
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	x19, [x0]
	ldr	x8, [x19]
Lloh0:
	adrp	x20, _GNLD_ACG@GOTPAGE
Lloh1:
	ldr	x20, [x20, _GNLD_ACG@GOTPAGEOFF]
	ldr	x9, [x20]
	add	x10, x8, x9, lsl #4
	ldr	x10, [x10, #8]
	cbz	x10, LBB0_4
; %bb.1:
	lsl	x10, x9, #4
	ldr	w10, [x8, x10]
	cbz	w10, LBB0_4
; %bb.2:
	add	x8, x8, x9, lsl #4
	ldr	w2, [x8, #4]
	mov	w1, #0
	bl	_vega10_enable_smc_features
	cbnz	w0, LBB0_4
; %bb.3:
	ldr	x8, [x19]
	ldr	x9, [x20]
	lsl	x9, x9, #4
	str	wzr, [x8, x9]
LBB0_4:
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_GNLD_ACG,8,3                   ; @GNLD_ACG
	.no_dead_strip	_vega10_acg_disable
.subsections_via_symbols
