	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vce_v2_0_enable_mgcg           ## -- Begin function vce_v2_0_enable_mgcg
	.p2align	4, 0x90
_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	testl	%esi, %esi
	je	LBB0_4
## %bb.1:
	movq	_RADEON_CG_SUPPORT_VCE_MGCG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_4
## %bb.2:
	movq	%rbx, %rdi
	movl	$1, %esi
	jmp	LBB0_3
LBB0_4:
	movq	%rbx, %rdi
	callq	_vce_v2_0_disable_cg
	movq	%rbx, %rdi
	xorl	%esi, %esi
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_vce_v2_0_set_dyn_cg            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_RADEON_CG_SUPPORT_VCE_MGCG,4,2 ## @RADEON_CG_SUPPORT_VCE_MGCG
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vce_v2_0_enable_mgcg           ; -- Begin function vce_v2_0_enable_mgcg
	.p2align	2
_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	x19, x0
	cbz	w1, LBB0_3
; %bb.1:
	ldr	w8, [x19]
Lloh0:
	adrp	x9, _RADEON_CG_SUPPORT_VCE_MGCG@GOTPAGE
Lloh1:
	ldr	x9, [x9, _RADEON_CG_SUPPORT_VCE_MGCG@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.2:
	mov	x0, x19
	mov	w1, #1
	b	LBB0_4
LBB0_3:
	mov	x0, x19
	bl	_vce_v2_0_disable_cg
	mov	x0, x19
	mov	w1, #0
LBB0_4:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_RADEON_CG_SUPPORT_VCE_MGCG,4,2 ; @RADEON_CG_SUPPORT_VCE_MGCG
.subsections_via_symbols
