	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function uyvyToY_c
_uyvyToY_c:                             ## @uyvyToY_c
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testl	%r8d, %r8d
	jle	LBB0_12
## %bb.1:
	movl	%r8d, %r9d
	cmpl	$9, %r8d
	jb	LBB0_2
## %bb.3:
	leaq	(%rsi,%r9,8), %rax
	cmpq	%rdi, %rax
	jbe	LBB0_6
## %bb.4:
	leaq	(%rdi,%r9,4), %rax
	leaq	4(%rsi), %rcx
	cmpq	%rax, %rcx
	jae	LBB0_6
LBB0_2:
	xorl	%ecx, %ecx
	jmp	LBB0_8
LBB0_6:
	movl	%r9d, %eax
	andl	$7, %eax
	testq	%rax, %rax
	movl	$8, %r8d
	cmovneq	%rax, %r8
	movq	%r9, %rcx
	subq	%r8, %rcx
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movups	4(%rsi,%rax,8), %xmm0
	movups	20(%rsi,%rax,8), %xmm1
	shufps	$136, %xmm1, %xmm0              ## xmm0 = xmm0[0,2],xmm1[0,2]
	movups	36(%rsi,%rax,8), %xmm1
	movups	52(%rsi,%rax,8), %xmm2
	shufps	$136, %xmm2, %xmm1              ## xmm1 = xmm1[0,2],xmm2[0,2]
	movups	%xmm0, (%rdi,%rax,4)
	movups	%xmm1, 16(%rdi,%rax,4)
	addq	$8, %rax
	cmpq	%rax, %rcx
	jne	LBB0_7
LBB0_8:
	movl	%r9d, %eax
	subl	%ecx, %eax
	movq	%rcx, %r8
	notq	%r8
	addq	%r9, %r8
	andq	$3, %rax
	je	LBB0_10
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movl	4(%rsi,%rcx,8), %edx
	movl	%edx, (%rdi,%rcx,4)
	incq	%rcx
	decq	%rax
	jne	LBB0_9
LBB0_10:
	cmpq	$3, %r8
	jb	LBB0_12
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movl	4(%rsi,%rcx,8), %eax
	movl	%eax, (%rdi,%rcx,4)
	movl	12(%rsi,%rcx,8), %eax
	movl	%eax, 4(%rdi,%rcx,4)
	movl	20(%rsi,%rcx,8), %eax
	movl	%eax, 8(%rdi,%rcx,4)
	movl	28(%rsi,%rcx,8), %eax
	movl	%eax, 12(%rdi,%rcx,4)
	addq	$4, %rcx
	cmpq	%rcx, %r9
	jne	LBB0_11
LBB0_12:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_uyvyToY_c
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function uyvyToY_c
_uyvyToY_c:                             ; @uyvyToY_c
	.cfi_startproc
; %bb.0:
	cmp	w4, #1
	b.lt	LBB0_8
; %bb.1:
	mov	w8, w4
	cmp	w4, #17
	b.lo	LBB0_5
; %bb.2:
	add	x9, x0, x8, lsl #2
	add	x10, x1, #4
	add	x11, x1, x8, lsl #3
	cmp	x11, x0
	ccmp	x10, x9, #2, hi
	b.lo	LBB0_5
; %bb.3:
	ands	x9, x8, #0xf
	mov	w10, #16
	csel	x9, x10, x9, eq
	sub	x9, x8, x9
	add	x12, x1, #68
	add	x10, x0, #32
	mov	x11, x9
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	sub	x13, x12, #64
	ld2.4s	{ v0, v1 }, [x13]
	sub	x13, x12, #32
	ld2.4s	{ v2, v3 }, [x13]
	add	x13, x12, #128
	ld2.4s	{ v4, v5 }, [x12], #32
	ld2.4s	{ v6, v7 }, [x12]
	stp	q0, q2, [x10, #-32]
	stp	q4, q6, [x10], #64
	mov	x12, x13
	subs	x11, x11, #16
	b.ne	LBB0_4
	b	LBB0_6
LBB0_5:
	mov	x9, #0
LBB0_6:
	add	x10, x1, x9, lsl #3
	add	x10, x10, #4
	add	x11, x0, x9, lsl #2
	sub	x8, x8, x9
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w9, [x10], #8
	str	w9, [x11], #4
	subs	x8, x8, #1
	b.ne	LBB0_7
LBB0_8:
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_uyvyToY_c
.subsections_via_symbols
