	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gfx_v6_0_eop_irq
_gfx_v6_0_eop_irq:                      ## @gfx_v6_0_eop_irq
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdx), %ecx
	leal	-1(%rcx), %eax
	cmpl	$2, %eax
	jae	LBB0_1
## %bb.3:
	shlq	$2, %rax
	addq	(%rdi), %rax
	jmp	LBB0_4
LBB0_1:
	testl	%ecx, %ecx
	jne	LBB0_5
## %bb.2:
	movq	8(%rdi), %rax
LBB0_4:
	movq	%rax, %rdi
	callq	_amdgpu_fence_process
LBB0_5:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_gfx_v6_0_eop_irq
.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_eop_irq
_gfx_v6_0_eop_irq:                      ; @gfx_v6_0_eop_irq
	.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
	ldr	w8, [x2]
	sub	w9, w8, #1
	cmp	w9, #2
	b.hs	LBB0_2
; %bb.1:
	ldr	x8, [x0]
	add	x0, x8, w9, uxtw #2
	b	LBB0_4
LBB0_2:
	cbnz	w8, LBB0_5
; %bb.3:
	ldr	x0, [x0, #8]
LBB0_4:
	bl	_amdgpu_fence_process
LBB0_5:
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_gfx_v6_0_eop_irq
.subsections_via_symbols
