	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vce_v2_0_set_interrupt_state
_vce_v2_0_set_interrupt_state:          ## @vce_v2_0_set_interrupt_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	_AMDGPU_IRQ_STATE_ENABLE@GOTPCREL(%rip), %rax
	xorl	%esi, %esi
	cmpl	%ecx, (%rax)
	movq	_VCE_SYS_INT_EN__VCE_SYS_INT_TRAP_INTERRUPT_EN_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	cmovel	%edx, %esi
	movq	_mmVCE_SYS_INT_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	notl	%edx
	callq	_WREG32_P
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AMDGPU_IRQ_STATE_ENABLE,4,2    ## @AMDGPU_IRQ_STATE_ENABLE
	.comm	_VCE_SYS_INT_EN__VCE_SYS_INT_TRAP_INTERRUPT_EN_MASK,4,2 ## @VCE_SYS_INT_EN__VCE_SYS_INT_TRAP_INTERRUPT_EN_MASK
	.comm	_mmVCE_SYS_INT_EN,4,2           ## @mmVCE_SYS_INT_EN
	.no_dead_strip	_vce_v2_0_set_interrupt_state
.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_set_interrupt_state
_vce_v2_0_set_interrupt_state:          ; @vce_v2_0_set_interrupt_state
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, _AMDGPU_IRQ_STATE_ENABLE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AMDGPU_IRQ_STATE_ENABLE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _VCE_SYS_INT_EN__VCE_SYS_INT_TRAP_INTERRUPT_EN_MASK@GOTPAGE
Lloh4:
	ldr	x9, [x9, _VCE_SYS_INT_EN__VCE_SYS_INT_TRAP_INTERRUPT_EN_MASK@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w8, w3
	csel	w1, w9, wzr, eq
Lloh6:
	adrp	x8, _mmVCE_SYS_INT_EN@GOTPAGE
Lloh7:
	ldr	x8, [x8, _mmVCE_SYS_INT_EN@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	mvn	w2, w9
	bl	_WREG32_P
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_AMDGPU_IRQ_STATE_ENABLE,4,2    ; @AMDGPU_IRQ_STATE_ENABLE
	.comm	_VCE_SYS_INT_EN__VCE_SYS_INT_TRAP_INTERRUPT_EN_MASK,4,2 ; @VCE_SYS_INT_EN__VCE_SYS_INT_TRAP_INTERRUPT_EN_MASK
	.comm	_mmVCE_SYS_INT_EN,4,2           ; @mmVCE_SYS_INT_EN
	.no_dead_strip	_vce_v2_0_set_interrupt_state
.subsections_via_symbols
