	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_copy_pixels                    ## -- Begin function copy_pixels
	.p2align	4, 0x90
_copy_pixels:                           ## @copy_pixels
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r10d
	movq	24(%rbp), %rax
	movq	16(%rbp), %r12
	movl	(%rax), %ebx
	movl	4(%rax), %r14d
	movl	(%r12), %eax
	movl	4(%r12), %r11d
	addl	%ebx, %eax
	decl	%eax
	cltd
	idivl	%ebx
	movl	%eax, %r13d
	leal	(%r11,%r14), %eax
	decl	%eax
	cltd
	idivl	%r14d
	movl	8(%r12), %r11d
	testl	%r11d, %r11d
	jle	LBB0_7
## %bb.1:
	movq	%rdi, %r15
	movslq	%esi, %r14
	movslq	%r8d, %r12
	movslq	%r10d, %rdx
	movslq	%r9d, %r9
	shlq	$2, %rdx
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	shlq	$2, %r14
	shlq	$2, %r9
	movq	%r9, -56(%rbp)                  ## 8-byte Spill
	shlq	$2, %r12
	xorl	%ebx, %ebx
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	%r13d, -48(%rbp)                ## 4-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%rbx
	movslq	%r11d, %rdx
	addq	-64(%rbp), %r15                 ## 8-byte Folded Reload
	addq	-56(%rbp), %rcx                 ## 8-byte Folded Reload
	cmpq	%rdx, %rbx
	jge	LBB0_7
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
	testl	%eax, %eax
	jle	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	movq	%rcx, -88(%rbp)                 ## 8-byte Spill
	movq	%rcx, %rbx
	movq	%r15, -80(%rbp)                 ## 8-byte Spill
	movl	%eax, %r13d
	.p2align	4, 0x90
LBB0_4:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	24(%rbp), %rax
	movl	8(%rax), %edx
	imull	-48(%rbp), %edx                 ## 4-byte Folded Reload
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_memcpy
	addq	%r14, %r15
	addq	%r12, %rbx
	decl	%r13d
	jne	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	16(%rbp), %rax
	movl	8(%rax), %r11d
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	movq	-80(%rbp), %r15                 ## 8-byte Reload
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_6
LBB0_7:
	addq	$56, %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	_copy_pixels                    ; -- Begin function copy_pixels
	.p2align	2
_copy_pixels:                           ; @copy_pixels
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
                                        ; kill: def $w5 killed $w5 def $x5
                                        ; kill: def $w4 killed $w4 def $x4
                                        ; kill: def $w2 killed $w2 def $x2
                                        ; kill: def $w1 killed $w1 def $x1
	str	x6, [sp, #8]                    ; 8-byte Folded Spill
	ldr	w8, [x6, #8]
	cmp	w8, #1
	b.lt	LBB0_7
; %bb.1:
	mov	x19, x7
	mov	x21, x3
	mov	x22, x0
	mov	x25, #0
	ldr	x10, [sp, #8]                   ; 8-byte Folded Reload
	ldp	w9, w10, [x10]
	ldp	w11, w12, [x7]
	add	w9, w9, w11
	sub	w9, w9, #1
	sdiv	w26, w9, w11
	add	w9, w10, w12
	sub	w9, w9, #1
	sdiv	w27, w9, w12
	sbfiz	x10, x2, #2, #32
	sbfiz	x20, x1, #2, #32
	sbfiz	x9, x5, #2, #32
	stp	x9, x10, [sp, #16]              ; 16-byte Folded Spill
	sbfiz	x28, x4, #2, #32
	str	w27, [sp, #4]                   ; 4-byte Folded Spill
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x25, x25, #1
	ldr	x9, [sp, #24]                   ; 8-byte Folded Reload
	add	x22, x22, x9
	ldr	x9, [sp, #16]                   ; 8-byte Folded Reload
	add	x21, x21, x9
	cmp	x25, w8, sxtw
	b.ge	LBB0_7
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_5 Depth 2
	cmp	w27, #1
	b.lt	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x23, x21
	mov	x24, x22
LBB0_5:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w8, [x19, #8]
	mul	w2, w8, w26
	mov	x0, x23
	mov	x1, x24
	bl	_memcpy
	add	x24, x24, x20
	add	x23, x23, x28
	subs	w27, w27, #1
	b.ne	LBB0_5
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	ldr	w8, [x8, #8]
	ldr	w27, [sp, #4]                   ; 4-byte Folded Reload
	b	LBB0_2
LBB0_7:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
