	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_radeon_fence_need_sync         ## -- Begin function radeon_fence_need_sync
	.p2align	4, 0x90
_radeon_fence_need_sync:                ## @radeon_fence_need_sync
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	xorl	%eax, %eax
	testq	%rdi, %rdi
	je	LBB0_3
## %bb.1:
	movslq	(%rdi), %rcx
	cmpl	%esi, %ecx
	je	LBB0_3
## %bb.2:
	movq	8(%rdi), %rdx
	movq	16(%rdi), %rax
	movq	(%rax), %rax
	movslq	%esi, %rsi
	movq	(%rax,%rsi,8), %rsi
	xorl	%eax, %eax
	cmpq	(%rsi,%rcx,8), %rdx
	setg	%al
LBB0_3:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_radeon_fence_need_sync         ; -- Begin function radeon_fence_need_sync
	.p2align	2
_radeon_fence_need_sync:                ; @radeon_fence_need_sync
	.cfi_startproc
; %bb.0:
	cbz	x0, LBB0_4
; %bb.1:
	ldrsw	x8, [x0]
	cmp	w8, w1
	b.ne	LBB0_3
; %bb.2:
	mov	w0, #0
	ret
LBB0_3:
	ldp	x10, x9, [x0, #8]
	ldr	x9, [x9]
	ldr	x9, [x9, w1, sxtw #3]
	ldr	x8, [x9, x8, lsl #3]
	cmp	x10, x8
	cset	w0, gt
LBB0_4:
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
