	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vmw_diff_memcpy                ## -- Begin function vmw_diff_memcpy
	.p2align	4, 0x90
_vmw_diff_memcpy:                       ## @vmw_diff_memcpy
	.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	%rcx, %rbx
	movq	%rdx, %r15
	movq	%rsi, %r12
	movq	%rdi, %r14
	movq	(%rdi), %rsi
	movq	%rcx, %rdi
	callq	_round_down
	xorl	%edi, %edi
	cmpq	%rbx, %rax
	setne	%dil
	callq	_WARN_ON_ONCE
	testq	%rax, %rax
	jne	LBB0_4
## %bb.1:
	movq	(%r14), %rcx
	movq	%r12, %rdi
	movq	%r15, %rsi
	movq	%rbx, %rdx
	callq	_vmw_find_first_diff
	cmpq	%rbx, %rax
	jae	LBB0_3
## %bb.2:
	movq	%rax, %r13
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_vmw_adjust_rect
	movq	(%r14), %rcx
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	addq	%r13, 8(%r14)
	leaq	(%r12,%r13,4), %r12
	leaq	(%r15,%r13,4), %r15
	subq	%r13, %rbx
	movq	%r12, %rdi
	movq	%r15, %rsi
	movq	%rbx, %rdx
	callq	_vmw_find_last_diff
	movq	%rax, %r13
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_vmw_adjust_rect
	addq	-48(%rbp), %r13                 ## 8-byte Folded Reload
	movq	%r12, %rdi
	movq	%r15, %rsi
	movq	%r13, %rdx
	callq	_memcpy
LBB0_3:
	addq	%rbx, 8(%r14)
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	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	_vmw_diff_memcpy                ; -- Begin function vmw_diff_memcpy
	.p2align	2
_vmw_diff_memcpy:                       ; @vmw_diff_memcpy
	.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, x3
	mov	x21, x2
	mov	x22, x1
	mov	x20, x0
	ldr	x1, [x0]
	mov	x0, x3
	bl	_round_down
	cmp	x0, x19
	cset	w0, ne
	bl	_WARN_ON_ONCE
	cbnz	x0, LBB0_4
; %bb.1:
	ldr	x3, [x20]
	mov	x0, x22
	mov	x1, x21
	mov	x2, x19
	bl	_vmw_find_first_diff
	cmp	x0, x19
	b.hs	LBB0_3
; %bb.2:
	mov	x23, x0
	mov	x0, x20
	mov	x1, x23
	bl	_vmw_adjust_rect
	ldp	x24, x8, [x20]
	add	x8, x8, x23
	str	x8, [x20, #8]
	lsl	x8, x23, #2
	add	x22, x22, x8
	add	x21, x21, x8
	sub	x19, x19, x23
	mov	x0, x22
	mov	x1, x21
	mov	x2, x19
	mov	x3, x24
	bl	_vmw_find_last_diff
	mov	x23, x0
	mov	x0, x20
	mov	x1, x23
	bl	_vmw_adjust_rect
	add	x2, x23, x24
	mov	x0, x22
	mov	x1, x21
	bl	_memcpy
LBB0_3:
	ldr	x8, [x20, #8]
	add	x8, x8, x19
	str	x8, [x20, #8]
LBB0_4:
	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
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
