	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vmw_fifo_slow_copy
_vmw_fifo_slow_copy:                    ## @vmw_fifo_slow_copy
	.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	%r9, %rbx
	movq	%r8, -48(%rbp)                  ## 8-byte Spill
	movq	%rcx, %r15
	movq	%rdx, %r13
	movq	%rsi, %r12
	movq	8(%rdi), %r14
	testq	%r14, %r14
	je	LBB0_1
## %bb.2:
	testq	%rbx, %rbx
	jg	LBB0_3
	jmp	LBB0_7
LBB0_1:
	movq	(%rdi), %r14
	testq	%rbx, %rbx
	jle	LBB0_7
LBB0_3:
	addq	$8, %rbx
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	addq	$8, %r14
	xorl	%eax, %eax
	callq	_mb
	movq	_SVGA_FIFO_NEXT_CMD@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	leaq	(%r12,%rax,4), %rsi
	movq	%r13, %rdi
	callq	_vmw_mmio_write
	xorl	%eax, %eax
	callq	_mb
	addq	$-8, %rbx
	cmpq	$8, %rbx
	jbe	LBB0_7
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r14), %rdi
	movq	%r13, %rsi
	andq	$-4, %rsi
	addq	%r12, %rsi
	callq	_vmw_mmio_write
	addq	$8, %r13
	xorl	%edi, %edi
	cmpq	%r15, %r13
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	jmp	LBB0_6
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SVGA_FIFO_NEXT_CMD,4,2         ## @SVGA_FIFO_NEXT_CMD
	.no_dead_strip	_vmw_fifo_slow_copy
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vmw_fifo_slow_copy
_vmw_fifo_slow_copy:                    ; @vmw_fifo_slow_copy
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x4
	mov	x20, x3
	mov	x22, x2
	mov	x21, x1
	ldr	x23, [x0, #8]
	cbz	x23, LBB0_2
; %bb.1:
	cmp	x5, #1
	b.ge	LBB0_3
	b	LBB0_5
LBB0_2:
	ldr	x23, [x0]
	cmp	x5, #1
	b.lt	LBB0_5
LBB0_3:
	add	x24, x5, #8
Lloh0:
	adrp	x25, _SVGA_FIFO_NEXT_CMD@GOTPAGE
Lloh1:
	ldr	x25, [x25, _SVGA_FIFO_NEXT_CMD@GOTPAGEOFF]
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x23], #8
	and	x8, x22, #0xfffffffffffffffc
	add	x1, x21, x8
	bl	_vmw_mmio_write
	add	x22, x22, #8
	cmp	x22, x20
	cset	w0, eq
	bl	_unlikely
	cmp	x0, #0
	csel	x22, x22, x19, eq
	bl	_mb
	ldrsw	x8, [x25]
	add	x1, x21, x8, lsl #2
	mov	x0, x22
	bl	_vmw_mmio_write
	bl	_mb
	sub	x24, x24, #8
	cmp	x24, #8
	b.hi	LBB0_4
LBB0_5:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_SVGA_FIFO_NEXT_CMD,4,2         ; @SVGA_FIFO_NEXT_CMD
	.no_dead_strip	_vmw_fifo_slow_copy
.subsections_via_symbols
