	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vmw_seqno_passed               ## -- Begin function vmw_seqno_passed
	.p2align	4, 0x90
_vmw_seqno_passed:                      ## @vmw_seqno_passed
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	subq	%rsi, %rax
	movq	_VMW_FENCE_WRAP@GOTPCREL(%rip), %r13
	xorl	%edi, %edi
	cmpq	(%r13), %rax
	setl	%dil
	callq	_likely
	movl	$1, %r15d
	testq	%rax, %rax
	jne	LBB0_5
## %bb.1:
	leaq	12(%rbx), %r12
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_vmw_update_seqno
	movq	(%rbx), %rax
	subq	%r14, %rax
	xorl	%edi, %edi
	cmpq	(%r13), %rax
	setl	%dil
	callq	_likely
	testq	%rax, %rax
	jne	LBB0_5
## %bb.2:
	movq	_SVGA_FIFO_CAP_FENCE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r12)
	jne	LBB0_4
## %bb.3:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_vmw_fifo_idle
	testq	%rax, %rax
	jne	LBB0_5
LBB0_4:
	addq	$8, %rbx
	movq	%rbx, %rdi
	callq	_atomic_read
	subq	%r14, %rax
	xorl	%r15d, %r15d
	cmpq	(%r13), %rax
	setg	%r15b
LBB0_5:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VMW_FENCE_WRAP,8,3             ## @VMW_FENCE_WRAP
	.comm	_SVGA_FIFO_CAP_FENCE,4,2        ## @SVGA_FIFO_CAP_FENCE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vmw_seqno_passed               ; -- Begin function vmw_seqno_passed
	.p2align	2
_vmw_seqno_passed:                      ; @vmw_seqno_passed
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x1
	mov	x20, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x22, _VMW_FENCE_WRAP@GOTPAGE
Lloh1:
	ldr	x22, [x22, _VMW_FENCE_WRAP@GOTPAGEOFF]
	ldr	x9, [x22]
	sub	x8, x8, x1
	cmp	x8, x9
	cset	w0, lt
	bl	_likely
	cbnz	x0, LBB0_2
; %bb.1:
	add	x21, x20, #12
	mov	x0, x20
	mov	x1, x21
	bl	_vmw_update_seqno
	ldr	x8, [x20]
	ldr	x9, [x22]
	sub	x8, x8, x19
	cmp	x8, x9
	cset	w0, lt
	bl	_likely
	cbz	x0, LBB0_4
LBB0_2:
	mov	w0, #1
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_4:
	ldr	w8, [x21]
Lloh2:
	adrp	x9, _SVGA_FIFO_CAP_FENCE@GOTPAGE
Lloh3:
	ldr	x9, [x9, _SVGA_FIFO_CAP_FENCE@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_6
LBB0_5:
	add	x0, x20, #8
	bl	_atomic_read
	ldr	x8, [x22]
	sub	x9, x0, x19
	cmp	x9, x8
	cset	w0, gt
	b	LBB0_3
LBB0_6:
	mov	x0, x20
	mov	x1, x19
	bl	_vmw_fifo_idle
	cbnz	x0, LBB0_2
	b	LBB0_5
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_VMW_FENCE_WRAP,8,3             ; @VMW_FENCE_WRAP
	.comm	_SVGA_FIFO_CAP_FENCE,4,2        ; @SVGA_FIFO_CAP_FENCE
.subsections_via_symbols
