	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_V_CopyRect                     ## -- Begin function V_CopyRect
	.p2align	4, 0x90
_V_CopyRect:                            ## @V_CopyRect
	.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
	movl	%r8d, %r15d
	movl	%ecx, %r14d
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movl	%esi, %r12d
	movl	%edi, %r13d
	movl	16(%rbp), %ebx
	movl	%r9d, -48(%rbp)                 ## 4-byte Spill
	movl	%r9d, %edi
	movl	%ebx, %esi
	movl	%ecx, %edx
	movl	%r8d, %ecx
	callq	_V_MarkRect
	testl	%r15d, %r15d
	jle	LBB0_3
## %bb.1:
	movq	_screens@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	24(%rbp), %rcx
	movl	%r13d, %r8d
	movq	_SCREENWIDTH@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	imull	%edx, %ebx
	movslq	%ebx, %rsi
	shlq	$2, %rsi
	addq	(%rax,%rcx,8), %rsi
	movslq	-48(%rbp), %rcx                 ## 4-byte Folded Reload
	movslq	-44(%rbp), %rdi                 ## 4-byte Folded Reload
	imull	%edx, %r12d
	movslq	%r12d, %rdx
	shlq	$2, %rdx
	addq	(%rax,%rdi,8), %rdx
	leaq	(%rsi,%rcx,4), %r12
	movslq	%r8d, %rax
	leaq	(%rdx,%rax,4), %rbx
	incl	%r15d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movl	%r14d, %edx
	callq	_memcpy
	movslq	(%r13), %rax
	leaq	(%rbx,%rax,4), %rbx
	leaq	(%r12,%rax,4), %r12
	decl	%r15d
	cmpl	$1, %r15d
	ja	LBB0_2
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_screens,8,3                    ## @screens
	.comm	_SCREENWIDTH,4,2                ## @SCREENWIDTH
	.comm	_SCREENHEIGHT,4,2               ## @SCREENHEIGHT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_V_CopyRect                     ; -- Begin function V_CopyRect
	.p2align	2
_V_CopyRect:                            ; @V_CopyRect
	.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	x26, x7
	mov	x25, x6
	mov	x20, x5
	mov	x22, x4
	mov	x19, x3
	mov	x24, x2
	mov	x23, x1
	mov	x21, x0
	mov	x0, x5
	mov	x1, x6
	mov	x2, x3
	mov	x3, x4
	bl	_V_MarkRect
	cmp	w22, #1
	b.lt	LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, _screens@GOTPAGE
Lloh1:
	ldr	x8, [x8, _screens@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x9, [x8, w26, sxtw #3]
Lloh3:
	adrp	x26, _SCREENWIDTH@GOTPAGE
Lloh4:
	ldr	x26, [x26, _SCREENWIDTH@GOTPAGEOFF]
	ldr	w10, [x26]
	mul	w11, w10, w25
	add	x9, x9, w11, sxtw #2
	add	x20, x9, w20, sxtw #2
	ldr	x8, [x8, w24, sxtw #3]
	mul	w9, w10, w23
	add	x8, x8, w9, sxtw #2
	add	x21, x8, w21, sxtw #2
	add	w22, w22, #1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, x21
	mov	x2, x19
	bl	_memcpy
	ldrsw	x8, [x26]
	lsl	x8, x8, #2
	add	x21, x21, x8
	add	x20, x20, x8
	sub	w22, w22, #1
	cmp	w22, #1
	b.hi	LBB0_2
LBB0_3:
	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	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_screens,8,3                    ; @screens
	.comm	_SCREENWIDTH,4,2                ; @SCREENWIDTH
	.comm	_SCREENHEIGHT,4,2               ; @SCREENHEIGHT
.subsections_via_symbols
