	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nouveau_local_fence
_nouveau_local_fence:                   ## @nouveau_local_fence
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	8(%rdi), %rax
	cmpq	_nouveau_fence_ops_legacy@GOTPCREL(%rip), %rax
	je	LBB0_2
## %bb.1:
	cmpq	_nouveau_fence_ops_uevent@GOTPCREL(%rip), %rax
	jne	LBB0_4
LBB0_2:
	movq	(%rdi), %rax
	movq	(%rsi), %rcx
	cmpq	%rcx, %rax
	jl	LBB0_4
## %bb.3:
	addq	8(%rsi), %rcx
	cmpq	%rcx, %rax
	jge	LBB0_4
## %bb.5:
	popq	%rbp
	jmp	_from_fence                     ## TAILCALL
LBB0_4:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_nouveau_fence_ops_legacy,4,2   ## @nouveau_fence_ops_legacy
	.comm	_nouveau_fence_ops_uevent,4,2   ## @nouveau_fence_ops_uevent
	.no_dead_strip	_nouveau_local_fence
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nouveau_local_fence
_nouveau_local_fence:                   ; @nouveau_local_fence
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0, #8]
Lloh0:
	adrp	x9, _nouveau_fence_ops_legacy@GOTPAGE
Lloh1:
	ldr	x9, [x9, _nouveau_fence_ops_legacy@GOTPAGEOFF]
	cmp	x8, x9
Lloh2:
	adrp	x9, _nouveau_fence_ops_uevent@GOTPAGE
Lloh3:
	ldr	x9, [x9, _nouveau_fence_ops_uevent@GOTPAGEOFF]
	ccmp	x8, x9, #4, ne
	b.ne	LBB0_4
; %bb.1:
	ldr	x8, [x0]
	ldr	x9, [x1]
	cmp	x8, x9
	b.lt	LBB0_4
; %bb.2:
	ldr	x10, [x1, #8]
	add	x9, x10, x9
	cmp	x8, x9
	b.ge	LBB0_4
; %bb.3:
	b	_from_fence
LBB0_4:
	mov	x0, #0
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_nouveau_fence_ops_legacy,4,2   ; @nouveau_fence_ops_legacy
	.comm	_nouveau_fence_ops_uevent,4,2   ; @nouveau_fence_ops_uevent
	.no_dead_strip	_nouveau_local_fence
.subsections_via_symbols
