	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_radeon_dpm_enable_vce          ## -- Begin function radeon_dpm_enable_vce
	.p2align	4, 0x90
_radeon_dpm_enable_vce:                 ## @radeon_dpm_enable_vce
	.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	%esi, %r14d
	movq	%rdi, %rbx
	callq	_mutex_lock
	testl	%r14d, %r14d
	je	LBB0_2
## %bb.1:
	movl	$1, 4(%rbx)
	movq	_RADEON_VCE_LEVEL_AC_ALL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	jmp	LBB0_3
LBB0_2:
	movl	$0, 4(%rbx)
LBB0_3:
	movq	%rbx, %rdi
	callq	_mutex_unlock
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_radeon_pm_compute_clocks       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_RADEON_VCE_LEVEL_AC_ALL,4,2    ## @RADEON_VCE_LEVEL_AC_ALL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_radeon_dpm_enable_vce          ; -- Begin function radeon_dpm_enable_vce
	.p2align	2
_radeon_dpm_enable_vce:                 ; @radeon_dpm_enable_vce
	.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, x1
	mov	x19, x0
	bl	_mutex_lock
	cbz	w20, LBB0_2
; %bb.1:
	mov	w8, #1
Lloh0:
	adrp	x9, _RADEON_VCE_LEVEL_AC_ALL@GOTPAGE
Lloh1:
	ldr	x9, [x9, _RADEON_VCE_LEVEL_AC_ALL@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	stp	w8, w9, [x19, #4]
	b	LBB0_3
LBB0_2:
	str	wzr, [x19, #4]
LBB0_3:
	mov	x0, x19
	bl	_mutex_unlock
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_radeon_pm_compute_clocks
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_RADEON_VCE_LEVEL_AC_ALL,4,2    ; @RADEON_VCE_LEVEL_AC_ALL
.subsections_via_symbols
