	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function copy_rectangle
_copy_rectangle:                        ## @copy_rectangle
	.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	%rbx
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	16(%rsi), %r10d
	testl	%r10d, %r10d
	jle	LBB0_7
## %bb.1:
	movq	8(%rdi), %r8
	movq	24(%rdi), %rax
	movslq	(%rsi), %rcx
	movslq	(%rdi), %rbx
	subq	%rbx, %rcx
	shlq	$2, %rcx
	addq	(%rax), %rcx
	movl	(%r8), %r11d
	movl	4(%rsi), %eax
	subl	4(%rdi), %eax
	imull	%r11d, %eax
	cltq
	leaq	(%rcx,%rax,4), %rcx
	movq	24(%rsi), %rax
	movq	(%rax), %rdi
	movq	8(%rsi), %r9
	movl	20(%rsi), %ebx
	xorl	%r14d, %r14d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movslq	(%r9), %rax
	movslq	%ebx, %r15
	subq	%r15, %rax
	leaq	(%rdi,%rax,4), %rdi
	movl	%r11d, %eax
	subl	%r15d, %eax
	cltq
	leaq	(%rcx,%rax,4), %rcx
	incl	%r14d
	cmpl	%r10d, %r14d
	jge	LBB0_7
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
	testl	%ebx, %ebx
	jle	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_4:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movslq	(%rdi), %rbx
	addq	$4, %rdi
	movl	(%rdx,%rbx,4), %ebx
	movl	%ebx, (%rcx)
	addq	$4, %rcx
	incl	%eax
	movl	20(%rsi), %ebx
	cmpl	%ebx, %eax
	jl	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r8), %r11d
	movl	16(%rsi), %r10d
	jmp	LBB0_6
LBB0_7:
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_copy_rectangle
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function copy_rectangle
_copy_rectangle:                        ; @copy_rectangle
	.cfi_startproc
; %bb.0:
	ldr	w13, [x1, #16]
	cmp	w13, #1
	b.lt	LBB0_7
; %bb.1:
	mov	w8, #0
	ldr	x9, [x0, #8]
	ldr	x10, [x0, #24]
	ldr	x10, [x10]
	ldp	w11, w12, [x1]
	ldp	w14, w16, [x0]
	sub	w11, w11, w14
	add	x10, x10, w11, sxtw #2
	ldr	w15, [x9]
	sub	w11, w12, w16
	mul	w11, w15, w11
	add	x10, x10, w11, sxtw #2
	ldr	x11, [x1, #24]
	ldr	x11, [x11]
	ldr	x12, [x1, #8]
	ldr	w14, [x1, #20]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w16, [x12]
	sub	w16, w16, w14
	add	x11, x11, w16, sxtw #2
	sub	w16, w15, w14
	add	x10, x10, w16, sxtw #2
	add	w8, w8, #1
	cmp	w8, w13
	b.ge	LBB0_7
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_5 Depth 2
	cmp	w14, #1
	b.lt	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	w13, #0
LBB0_5:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrsw	x14, [x11], #4
	ldr	w14, [x2, x14, lsl #2]
	str	w14, [x10], #4
	add	w13, w13, #1
	ldr	w14, [x1, #20]
	cmp	w13, w14
	b.lt	LBB0_5
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w15, [x9]
	ldr	w13, [x1, #16]
	b	LBB0_2
LBB0_7:
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_copy_rectangle
.subsections_via_symbols
