	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function copy_rectangles
_copy_rectangles:                       ## @copy_rectangles
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, -44(%rbp)                 ## 4-byte Spill
                                        ## kill: def $ecx killed $ecx def $rcx
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
                                        ## kill: def $esi killed $esi def $rsi
	movq	24(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	jle	LBB0_5
## %bb.2:
	movl	%edx, %ebx
	movq	%rdi, %r12
	addl	%edx, -44(%rbp)                 ## 4-byte Folded Spill
	leal	(%rsi,%rsi,2), %ecx
	movslq	%ecx, %r14
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	leal	(%rcx,%rcx,2), %r13d
	movslq	%esi, %r15
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movslq	(%r12), %rsi
	movslq	%ebx, %rbx
	imulq	%rbx, %rsi
	addq	%r14, %rsi
	movq	32(%r12), %rdi
	addq	%rsi, %rdi
	addq	%rax, %rsi
	movl	%r13d, %edx
	callq	_memcpy
	movslq	4(%r12), %rsi
	imulq	%rbx, %rsi
	addq	%r15, %rsi
	movq	16(%r12), %rdi
	addq	%rsi, %rdi
	addq	8(%r12), %rsi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_memcpy
	incl	%ebx
	cmpl	-44(%rbp), %ebx                 ## 4-byte Folded Reload
	jge	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	24(%r12), %rax
	jmp	LBB0_3
LBB0_5:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_copy_rectangles
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function copy_rectangles
_copy_rectangles:                       ; @copy_rectangles
	.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
                                        ; kill: def $w1 killed $w1 def $x1
	ldr	x8, [x0, #24]
	cmp	x8, #0
	ccmp	w4, #1, #8, ne
	b.ge	LBB0_2
LBB0_1:
	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
LBB0_2:
	mov	x19, x3
	mov	x20, x2
	mov	x21, x0
	add	w23, w4, w2
	add	w9, w1, w1, lsl #1
	sxtw	x24, w9
	add	w22, w3, w3, lsl #1
	sxtw	x25, w1
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x21, #32]
	ldrsw	x10, [x21]
	sxtw	x26, w20
	madd	x10, x10, x26, x24
	add	x0, x10, x9
	add	x1, x10, x8
	mov	x2, x22
	bl	_memcpy
	ldrsw	x8, [x21, #4]
	madd	x8, x8, x26, x25
	ldp	x10, x9, [x21, #8]
	add	x0, x8, x9
	add	x1, x8, x10
	mov	x2, x19
	bl	_memcpy
	add	w20, w20, #1
	cmp	w20, w23
	b.ge	LBB0_1
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x21, #24]
	b	LBB0_3
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_copy_rectangles
.subsections_via_symbols
