	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vmw_fifo_is_full
_vmw_fifo_is_full:                      ## @vmw_fifo_is_full
	.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), %r13
	movq	_SVGA_FIFO_MAX@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	leaq	(,%rax,4), %rdi
	addq	%r13, %rdi
	callq	_vmw_mmio_read
	movq	%rax, %r12
	movq	_SVGA_FIFO_NEXT_CMD@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	leaq	(,%rax,4), %rdi
	addq	%r13, %rdi
	callq	_vmw_mmio_read
	movq	%rax, %r15
	movq	_SVGA_FIFO_MIN@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	leaq	(,%rax,4), %rdi
	addq	%r13, %rdi
	callq	_vmw_mmio_read
	movq	%rax, %rbx
	movq	_SVGA_FIFO_STOP@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	leaq	(,%rax,4), %rdi
	addq	%r13, %rdi
	callq	_vmw_mmio_read
	addq	%r15, %rbx
	subq	%rbx, %r12
	addq	%rax, %r12
	xorl	%eax, %eax
	cmpq	%r14, %r12
	setle	%al
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SVGA_FIFO_MAX,4,2              ## @SVGA_FIFO_MAX
	.comm	_SVGA_FIFO_NEXT_CMD,4,2         ## @SVGA_FIFO_NEXT_CMD
	.comm	_SVGA_FIFO_MIN,4,2              ## @SVGA_FIFO_MIN
	.comm	_SVGA_FIFO_STOP,4,2             ## @SVGA_FIFO_STOP
	.no_dead_strip	_vmw_fifo_is_full
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vmw_fifo_is_full
_vmw_fifo_is_full:                      ; @vmw_fifo_is_full
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x1
	ldr	x23, [x0]
Lloh0:
	adrp	x8, _SVGA_FIFO_MAX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SVGA_FIFO_MAX@GOTPAGEOFF]
Lloh2:
	ldrsw	x8, [x8]
	add	x0, x23, x8, lsl #2
	bl	_vmw_mmio_read
	mov	x20, x0
Lloh3:
	adrp	x8, _SVGA_FIFO_NEXT_CMD@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SVGA_FIFO_NEXT_CMD@GOTPAGEOFF]
Lloh5:
	ldrsw	x8, [x8]
	add	x0, x23, x8, lsl #2
	bl	_vmw_mmio_read
	mov	x21, x0
Lloh6:
	adrp	x8, _SVGA_FIFO_MIN@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SVGA_FIFO_MIN@GOTPAGEOFF]
Lloh8:
	ldrsw	x8, [x8]
	add	x0, x23, x8, lsl #2
	bl	_vmw_mmio_read
	mov	x22, x0
Lloh9:
	adrp	x8, _SVGA_FIFO_STOP@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SVGA_FIFO_STOP@GOTPAGEOFF]
Lloh11:
	ldrsw	x8, [x8]
	add	x0, x23, x8, lsl #2
	bl	_vmw_mmio_read
	add	x8, x21, x22
	sub	x8, x20, x8
	add	x8, x8, x0
	cmp	x8, x19
	cset	w0, le
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SVGA_FIFO_MAX,4,2              ; @SVGA_FIFO_MAX
	.comm	_SVGA_FIFO_NEXT_CMD,4,2         ; @SVGA_FIFO_NEXT_CMD
	.comm	_SVGA_FIFO_MIN,4,2              ; @SVGA_FIFO_MIN
	.comm	_SVGA_FIFO_STOP,4,2             ; @SVGA_FIFO_STOP
	.no_dead_strip	_vmw_fifo_is_full
.subsections_via_symbols
