	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_copy_rectangle2             ## -- Begin function ff_copy_rectangle2
	.p2align	4, 0x90
_ff_copy_rectangle2:                    ## @ff_copy_rectangle2
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, -44(%rbp)                 ## 4-byte Spill
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	cmpl	$0, (%rdi)
	jle	LBB0_6
## %bb.1:
	movq	%rdx, %r12
	movq	%rdi, %rbx
	xorl	%r15d, %r15d
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	movq	%r8, -56(%rbp)                  ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%r15
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movslq	(%rbx), %rax
	cmpq	%rax, %r15
	movq	-56(%rbp), %r8                  ## 8-byte Reload
	jge	LBB0_6
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
	movq	%rbx, %rdi
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	movq	%r8, %rdx
	movl	%r15d, %ecx
	movl	24(%rbp), %r8d
	movl	32(%rbp), %r9d
	callq	_pointer_at
	movq	%rax, %r13
	movq	%rbx, %rdi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	movq	%r12, %rdx
	movl	%r15d, %ecx
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	movl	16(%rbp), %r9d
	callq	_pointer_at
	movq	%rax, %r14
	movq	24(%rbx), %rax
	movl	(%rax,%r15,4), %esi
	movl	40(%rbp), %edi
	callq	_AV_CEIL_RSHIFT
	movq	8(%rbx), %rdx
	movq	16(%rbx), %rcx
	imull	(%rdx,%r15,4), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movl	(%rcx,%r15,4), %esi
	movl	48(%rbp), %edi
	callq	_AV_CEIL_RSHIFT
	testl	%eax, %eax
	jle	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%eax, %ebx
	.p2align	4, 0x90
LBB0_4:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r14, %rdi
	movq	%r13, %rsi
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	callq	_memcpy
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movslq	(%rax,%r15,4), %rax
	leaq	(%r13,%rax,4), %r13
	movslq	(%r12,%r15,4), %rax
	leaq	(%r14,%rax,4), %r14
	decl	%ebx
	jne	LBB0_4
	jmp	LBB0_5
LBB0_6:
	addq	$40, %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	_ff_copy_rectangle2             ; -- Begin function ff_copy_rectangle2
	.p2align	2
_ff_copy_rectangle2:                    ; @ff_copy_rectangle2
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	stp	w6, w7, [sp, #40]               ; 8-byte Folded Spill
	str	w5, [sp, #36]                   ; 4-byte Folded Spill
	stp	x1, x3, [sp, #16]               ; 16-byte Folded Spill
	ldr	w8, [x0]
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.1:
	mov	x22, x4
	mov	x24, x2
	mov	x26, x0
	mov	x27, #0
	ldr	w8, [x29, #24]
	str	w8, [sp, #12]                   ; 4-byte Folded Spill
	ldr	w8, [x29, #20]
	str	w8, [sp, #8]                    ; 4-byte Folded Spill
	ldr	w8, [x29, #16]
	str	w8, [sp, #4]                    ; 4-byte Folded Spill
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x27, x27, #1
	ldrsw	x8, [x26]
	cmp	x27, x8
	b.ge	LBB0_6
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_5 Depth 2
	mov	x0, x26
	ldr	x1, [sp, #24]                   ; 8-byte Folded Reload
	mov	x2, x22
	mov	x3, x27
	ldr	w4, [sp, #44]                   ; 4-byte Folded Reload
	ldr	w5, [sp, #4]                    ; 4-byte Folded Reload
	bl	_pointer_at
	mov	x21, x0
	mov	x0, x26
	ldr	x1, [sp, #16]                   ; 8-byte Folded Reload
	mov	x2, x24
	mov	x3, x27
	ldp	w4, w5, [sp, #36]               ; 8-byte Folded Reload
	bl	_pointer_at
	mov	x23, x0
	ldr	x8, [x26, #24]
	lsl	x19, x27, #2
	ldr	w1, [x8, x19]
	ldr	w0, [sp, #8]                    ; 4-byte Folded Reload
	bl	_AV_CEIL_RSHIFT
	mov	x28, x0
	ldp	x8, x9, [x26, #8]
	ldr	w20, [x8, x19]
	ldr	w1, [x9, x19]
	ldr	w0, [sp, #12]                   ; 4-byte Folded Reload
	bl	_AV_CEIL_RSHIFT
	cmp	w0, #1
	b.lt	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x25, x0
	mul	w28, w20, w28
LBB0_5:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x23
	mov	x1, x21
	mov	x2, x28
	bl	_memcpy
	ldrsw	x8, [x22, x19]
	add	x21, x21, x8, lsl #2
	ldrsw	x8, [x24, x19]
	add	x23, x23, x8, lsl #2
	subs	w25, w25, #1
	b.ne	LBB0_5
	b	LBB0_2
LBB0_6:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
