	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function copy_chroma
_copy_chroma:                           ## @copy_chroma
	.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
	cmpl	$2, %ecx
	jl	LBB0_6
## %bb.1:
	movq	%rsi, %r14
	movq	%rdi, %r13
	movl	%ecx, %ebx
	shrl	$31, %ebx
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	addl	%ecx, %ebx
	sarl	%ebx
	movl	%edx, %r15d
	shrl	$31, %r15d
	addl	%edx, %r15d
	sarl	%r15d
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r13), %rax
	movq	8(%r13), %rcx
	movslq	4(%rax), %rdi
	movslq	%r12d, %r12
	imulq	%r12, %rdi
	addq	8(%rcx), %rdi
	movq	(%r14), %rax
	movq	8(%r14), %rcx
	movslq	4(%rax), %rsi
	imulq	%r12, %rsi
	addq	8(%rcx), %rsi
	movl	%r15d, %edx
	callq	_memcpy
	incl	%r12d
	cmpl	%r12d, %ebx
	jne	LBB0_2
## %bb.3:
	cmpl	$2, -44(%rbp)                   ## 4-byte Folded Reload
	jl	LBB0_6
## %bb.4:
	movl	%ebx, %r12d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r13), %rax
	movq	8(%r13), %rcx
	movslq	8(%rax), %rdi
	movslq	%ebx, %rbx
	imulq	%rbx, %rdi
	addq	16(%rcx), %rdi
	movq	(%r14), %rax
	movq	8(%r14), %rcx
	movslq	8(%rax), %rsi
	imulq	%rbx, %rsi
	addq	16(%rcx), %rsi
	movl	%r15d, %edx
	callq	_memcpy
	incl	%ebx
	cmpl	%ebx, %r12d
	jne	LBB0_5
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_copy_chroma
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function copy_chroma
_copy_chroma:                           ; @copy_chroma
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	cmp	w3, #0
	cinc	w8, w3, lt
	cmp	w2, #0
	cinc	w9, w2, lt
	cmp	w3, #2
	b.lt	LBB0_6
; %bb.1:
	mov	x22, x3
	mov	x19, x1
	mov	x20, x0
	mov	w24, #0
	asr	w23, w8, #1
	asr	w21, w9, #1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldp	x9, x8, [x20]
	ldr	x8, [x8, #8]
	ldrsw	x9, [x9, #4]
	sxtw	x10, w24
	madd	x0, x9, x10, x8
	ldp	x9, x8, [x19]
	ldr	x8, [x8, #8]
	ldrsw	x9, [x9, #4]
	madd	x1, x9, x10, x8
	mov	x2, x21
	bl	_memcpy
	add	w24, w24, #1
	cmp	w23, w24
	b.ne	LBB0_2
; %bb.3:
	cmp	w22, #2
	b.lt	LBB0_6
; %bb.4:
	mov	w22, #0
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldp	x9, x8, [x20]
	ldr	x8, [x8, #16]
	ldrsw	x9, [x9, #8]
	sxtw	x10, w22
	madd	x0, x9, x10, x8
	ldp	x9, x8, [x19]
	ldr	x8, [x8, #16]
	ldrsw	x9, [x9, #8]
	madd	x1, x9, x10, x8
	mov	x2, x21
	bl	_memcpy
	add	w22, w22, #1
	cmp	w23, w22
	b.ne	LBB0_5
LBB0_6:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_copy_chroma
.subsections_via_symbols
