	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gfx_v6_0_set_compute_eop_interrupt_state
_gfx_v6_0_set_compute_eop_interrupt_state: ## @gfx_v6_0_set_compute_eop_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
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	cmpl	$128, %edx
	je	LBB0_6
## %bb.1:
	cmpl	$129, %edx
	jne	LBB0_11
## %bb.2:
	testl	%esi, %esi
	je	LBB0_3
## %bb.5:
	movq	_mmCP_INT_CNTL_RING2@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_RREG32
	movq	_CP_INT_CNTL_RING2__TIME_STAMP_INT_ENABLE_MASK@GOTPCREL(%rip), %rcx
	jmp	LBB0_4
LBB0_6:
	testl	%esi, %esi
	je	LBB0_7
## %bb.10:
	movq	_mmCP_INT_CNTL_RING2@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_RREG32
	movq	_CP_INT_CNTL_RING2__TIME_STAMP_INT_ENABLE_MASK@GOTPCREL(%rip), %rcx
	jmp	LBB0_8
LBB0_11:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_BUG                            ## TAILCALL
LBB0_3:
	movq	_mmCP_INT_CNTL_RING1@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_RREG32
	movq	_CP_INT_CNTL_RING1__TIME_STAMP_INT_ENABLE_MASK@GOTPCREL(%rip), %rcx
LBB0_4:
	movl	(%rcx), %esi
	notl	%esi
	andl	%eax, %esi
	movl	(%rbx), %edi
	jmp	LBB0_9
LBB0_7:
	movq	_mmCP_INT_CNTL_RING1@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_RREG32
	movq	_CP_INT_CNTL_RING1__TIME_STAMP_INT_ENABLE_MASK@GOTPCREL(%rip), %rcx
LBB0_8:
	orl	(%rcx), %eax
	movl	(%rbx), %edi
	movl	%eax, %esi
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_WREG32                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_mmCP_INT_CNTL_RING1,4,2        ## @mmCP_INT_CNTL_RING1
	.comm	_CP_INT_CNTL_RING1__TIME_STAMP_INT_ENABLE_MASK,4,2 ## @CP_INT_CNTL_RING1__TIME_STAMP_INT_ENABLE_MASK
	.comm	_mmCP_INT_CNTL_RING2,4,2        ## @mmCP_INT_CNTL_RING2
	.comm	_CP_INT_CNTL_RING2__TIME_STAMP_INT_ENABLE_MASK,4,2 ## @CP_INT_CNTL_RING2__TIME_STAMP_INT_ENABLE_MASK
	.no_dead_strip	_gfx_v6_0_set_compute_eop_interrupt_state
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gfx_v6_0_set_compute_eop_interrupt_state
_gfx_v6_0_set_compute_eop_interrupt_state: ; @gfx_v6_0_set_compute_eop_interrupt_state
	.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
	cmp	w2, #128
	b.eq	LBB0_4
; %bb.1:
	cmp	w2, #129
	b.ne	LBB0_6
; %bb.2:
	cbz	w1, LBB0_7
; %bb.3:
Lloh0:
	adrp	x19, _mmCP_INT_CNTL_RING2@GOTPAGE
Lloh1:
	ldr	x19, [x19, _mmCP_INT_CNTL_RING2@GOTPAGEOFF]
	ldr	w0, [x19]
	bl	_RREG32
Lloh2:
	adrp	x8, _CP_INT_CNTL_RING2__TIME_STAMP_INT_ENABLE_MASK@GOTPAGE
Lloh3:
	ldr	x8, [x8, _CP_INT_CNTL_RING2__TIME_STAMP_INT_ENABLE_MASK@GOTPAGEOFF]
	b	LBB0_8
LBB0_4:
	cbz	w1, LBB0_9
; %bb.5:
Lloh4:
	adrp	x19, _mmCP_INT_CNTL_RING2@GOTPAGE
Lloh5:
	ldr	x19, [x19, _mmCP_INT_CNTL_RING2@GOTPAGEOFF]
	ldr	w0, [x19]
	bl	_RREG32
Lloh6:
	adrp	x8, _CP_INT_CNTL_RING2__TIME_STAMP_INT_ENABLE_MASK@GOTPAGE
Lloh7:
	ldr	x8, [x8, _CP_INT_CNTL_RING2__TIME_STAMP_INT_ENABLE_MASK@GOTPAGEOFF]
	b	LBB0_10
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_BUG
LBB0_7:
Lloh8:
	adrp	x19, _mmCP_INT_CNTL_RING1@GOTPAGE
Lloh9:
	ldr	x19, [x19, _mmCP_INT_CNTL_RING1@GOTPAGEOFF]
	ldr	w0, [x19]
	bl	_RREG32
Lloh10:
	adrp	x8, _CP_INT_CNTL_RING1__TIME_STAMP_INT_ENABLE_MASK@GOTPAGE
Lloh11:
	ldr	x8, [x8, _CP_INT_CNTL_RING1__TIME_STAMP_INT_ENABLE_MASK@GOTPAGEOFF]
LBB0_8:
	ldr	w8, [x8]
	bic	w1, w0, w8
	b	LBB0_11
LBB0_9:
Lloh12:
	adrp	x19, _mmCP_INT_CNTL_RING1@GOTPAGE
Lloh13:
	ldr	x19, [x19, _mmCP_INT_CNTL_RING1@GOTPAGEOFF]
	ldr	w0, [x19]
	bl	_RREG32
Lloh14:
	adrp	x8, _CP_INT_CNTL_RING1__TIME_STAMP_INT_ENABLE_MASK@GOTPAGE
Lloh15:
	ldr	x8, [x8, _CP_INT_CNTL_RING1__TIME_STAMP_INT_ENABLE_MASK@GOTPAGEOFF]
LBB0_10:
	ldr	w8, [x8]
	orr	w1, w8, w0
LBB0_11:
	ldr	w0, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_WREG32
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_mmCP_INT_CNTL_RING1,4,2        ; @mmCP_INT_CNTL_RING1
	.comm	_CP_INT_CNTL_RING1__TIME_STAMP_INT_ENABLE_MASK,4,2 ; @CP_INT_CNTL_RING1__TIME_STAMP_INT_ENABLE_MASK
	.comm	_mmCP_INT_CNTL_RING2,4,2        ; @mmCP_INT_CNTL_RING2
	.comm	_CP_INT_CNTL_RING2__TIME_STAMP_INT_ENABLE_MASK,4,2 ; @CP_INT_CNTL_RING2__TIME_STAMP_INT_ENABLE_MASK
	.no_dead_strip	_gfx_v6_0_set_compute_eop_interrupt_state
.subsections_via_symbols
