	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vce_v2_0_enable_mgcg
_vce_v2_0_enable_mgcg:                  ## @vce_v2_0_enable_mgcg
	.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
	movl	%edx, %r14d
	movq	%rdi, %rbx
	testl	%esi, %esi
	je	LBB0_5
## %bb.1:
	movq	_AMD_CG_SUPPORT_VCE_MGCG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_5
## %bb.2:
	movq	%rbx, %rdi
	movl	$1, %esi
	testl	%r14d, %r14d
	jne	LBB0_6
LBB0_4:
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_vce_v2_0_set_dyn_cg            ## TAILCALL
LBB0_5:
	movq	%rbx, %rdi
	callq	_vce_v2_0_disable_cg
	movq	%rbx, %rdi
	xorl	%esi, %esi
	testl	%r14d, %r14d
	je	LBB0_4
LBB0_6:
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_vce_v2_0_set_sw_cg             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_AMD_CG_SUPPORT_VCE_MGCG,4,2    ## @AMD_CG_SUPPORT_VCE_MGCG
	.no_dead_strip	_vce_v2_0_enable_mgcg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vce_v2_0_enable_mgcg
_vce_v2_0_enable_mgcg:                  ; @vce_v2_0_enable_mgcg
	.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
	mov	x20, x2
	mov	x19, x0
	cbz	w1, LBB0_4
; %bb.1:
	ldr	w8, [x19]
Lloh0:
	adrp	x9, _AMD_CG_SUPPORT_VCE_MGCG@GOTPAGE
Lloh1:
	ldr	x9, [x9, _AMD_CG_SUPPORT_VCE_MGCG@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.2:
	mov	x0, x19
	mov	w1, #1
	cbnz	w20, LBB0_5
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_vce_v2_0_set_dyn_cg
LBB0_4:
	mov	x0, x19
	bl	_vce_v2_0_disable_cg
	mov	x0, x19
	mov	w1, #0
	cbz	w20, LBB0_3
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_vce_v2_0_set_sw_cg
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_AMD_CG_SUPPORT_VCE_MGCG,4,2    ; @AMD_CG_SUPPORT_VCE_MGCG
	.no_dead_strip	_vce_v2_0_enable_mgcg
.subsections_via_symbols
