	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function yuy2toyv12_c
_yuy2toyv12_c:                          ## @yuy2toyv12_c
	.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	$112, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, -120(%rbp)                ## 8-byte Spill
	movq	%rdx, -112(%rbp)                ## 8-byte Spill
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	testl	%r9d, %r9d
	jle	LBB0_40
## %bb.1:
	movl	%r9d, %r13d
	movq	%rsi, %rdi
	movl	%r8d, %ecx
	sarl	%ecx
	movslq	16(%rbp), %rdx
	movslq	32(%rbp), %rsi
	movslq	24(%rbp), %r10
	cmpl	$2, %ecx
	movl	$1, %eax
	cmovgel	%ecx, %eax
	leaq	(%rdx,%rdx), %rcx
	movq	%rcx, -232(%rbp)                ## 8-byte Spill
	leaq	(%rax,%rax), %rcx
	movq	%rcx, -208(%rbp)                ## 8-byte Spill
	leaq	(%rdx,%rax,2), %rcx
	movq	%rcx, -152(%rbp)                ## 8-byte Spill
	movl	%eax, %ecx
	andl	$2147483646, %ecx               ## imm = 0x7FFFFFFE
	movq	%rcx, -184(%rbp)                ## 8-byte Spill
	addq	$-2, %rcx
	movq	%rcx, -176(%rbp)                ## 8-byte Spill
	movq	%rcx, %rbx
	shrq	%rbx
	incq	%rbx
	movq	%rbx, %rcx
	movq	%rbx, -168(%rbp)                ## 8-byte Spill
	andq	$-2, %rbx
	movq	%rbx, -144(%rbp)                ## 8-byte Spill
	movl	%eax, %ebx
	andl	$1, %ebx
	testq	%rbx, %rbx
	movl	$2, %ecx
	cmovneq	%rbx, %rcx
	movq	%rax, %rbx
	subq	%rcx, %rbx
	movq	%rbx, -136(%rbp)                ## 8-byte Spill
	movq	%rax, %rcx
	negq	%rcx
	movq	%rcx, -200(%rbp)                ## 8-byte Spill
	leaq	(%rsi,%rsi), %rcx
	movq	%rcx, -224(%rbp)                ## 8-byte Spill
	leaq	(,%rax,4), %rcx
	movq	%rcx, -192(%rbp)                ## 8-byte Spill
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	leaq	-1(%rsi,%rax,4), %rax
	movq	%rax, -160(%rbp)                ## 8-byte Spill
	movq	-72(%rbp), %r9                  ## 8-byte Reload
	leaq	32(%r9), %rbx
	leaq	(,%rsi,8), %rax
	movq	%rax, -280(%rbp)                ## 8-byte Spill
	leaq	(,%rdx,8), %rax
	movq	%rax, -272(%rbp)                ## 8-byte Spill
	movq	%r10, -216(%rbp)                ## 8-byte Spill
	leaq	(,%r10,4), %rax
	movq	%rax, -264(%rbp)                ## 8-byte Spill
	movq	%rsi, -96(%rbp)                 ## 8-byte Spill
	leaq	(%r9,%rsi,4), %r15
	movq	%rdx, -104(%rbp)                ## 8-byte Spill
	leaq	(%rdi,%rdx,4), %r14
	xorl	%esi, %esi
	movq	-120(%rbp), %r11                ## 8-byte Reload
	movq	-112(%rbp), %r12                ## 8-byte Reload
	movq	%rdi, %r10
	xorl	%edx, %edx
	movq	%rdi, -240(%rbp)                ## 8-byte Spill
	movl	%r13d, -52(%rbp)                ## 4-byte Spill
	movl	%r8d, -84(%rbp)                 ## 4-byte Spill
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	-264(%rbp), %rax                ## 8-byte Reload
	addq	%rax, %r12
	addq	%rax, %r11
	movq	-272(%rbp), %rcx                ## 8-byte Reload
	addq	%rcx, %r10
	movq	-280(%rbp), %rax                ## 8-byte Reload
	addq	%rax, %r9
	movl	-88(%rbp), %edx                 ## 4-byte Reload
	addl	$2, %edx
	incq	%rsi
	addq	%rax, %rbx
	addq	%rax, %r15
	addq	%rcx, %r14
	cmpl	%r13d, %edx
	jge	LBB0_40
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_14 Depth 2
                                        ##     Child Loop BB0_25 Depth 2
                                        ##     Child Loop BB0_33 Depth 2
                                        ##     Child Loop BB0_39 Depth 2
	movl	%edx, -88(%rbp)                 ## 4-byte Spill
	cmpl	$2, %r8d
	jl	LBB0_2
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rdi, %r13
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	movq	-232(%rbp), %rcx                ## 8-byte Reload
	imulq	%rsi, %rcx
	movq	-224(%rbp), %rdi                ## 8-byte Reload
	imulq	%rsi, %rdi
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	cmpl	$2, %edx
	movq	%rsi, -128(%rbp)                ## 8-byte Spill
	movq	%rcx, -256(%rbp)                ## 8-byte Spill
	movq	%rdi, -248(%rbp)                ## 8-byte Spill
	jae	LBB0_6
LBB0_23:                                ##   in Loop: Header=BB0_3 Depth=1
	xorl	%ebx, %ebx
LBB0_24:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	subq	%rbx, %rcx
	leaq	(%r12,%rbx,4), %r13
	leaq	(%r11,%rbx,4), %rax
	leaq	(%r10,%rbx,8), %rdi
	shlq	$4, %rbx
	addq	%r9, %rbx
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_25:                                ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%rbx,%rsi,4), %edx
	movl	%edx, (%rdi,%rsi,2)
	movl	4(%rbx,%rsi,4), %edx
	movl	%edx, (%r13,%rsi)
	movl	8(%rbx,%rsi,4), %edx
	movl	%edx, 4(%rdi,%rsi,2)
	movl	12(%rbx,%rsi,4), %edx
	movl	%edx, (%rax,%rsi)
	addq	$4, %rsi
	decq	%rcx
	jne	LBB0_25
LBB0_26:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	-84(%rbp), %r8d                 ## 4-byte Reload
	cmpl	$2, %r8d
	movl	-52(%rbp), %r13d                ## 4-byte Reload
	movq	-240(%rbp), %rdi                ## 8-byte Reload
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	movq	-128(%rbp), %rsi                ## 8-byte Reload
	jl	LBB0_2
## %bb.27:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	cmpl	$3, %esi
	jae	LBB0_29
## %bb.28:                              ##   in Loop: Header=BB0_3 Depth=1
	xorl	%ebx, %ebx
	jmp	LBB0_35
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	-208(%rbp), %rax                ## 8-byte Reload
	addq	%rcx, %rax
	movq	%rsi, %rcx
	imulq	-216(%rbp), %rcx                ## 8-byte Folded Reload
	addq	%rdx, %rcx
	movq	-192(%rbp), %rdx                ## 8-byte Reload
	addq	%rdi, %rdx
	leaq	(%r13,%rax,4), %rax
	movq	-112(%rbp), %rsi                ## 8-byte Reload
	leaq	(%rsi,%rcx,4), %rsi
	movq	-120(%rbp), %rdi                ## 8-byte Reload
	leaq	(%rdi,%rcx,4), %r13
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rcx,%rdx,4), %rdi
	cmpq	%rsi, %r10
	setb	-46(%rbp)                       ## 1-byte Folded Spill
	cmpq	%rax, %r12
	setb	-45(%rbp)                       ## 1-byte Folded Spill
	cmpq	%r13, %r10
	setb	%cl
	cmpq	%rax, %r11
	setb	-44(%rbp)                       ## 1-byte Folded Spill
	cmpq	%rdi, %r10
	setb	%dl
	cmpq	%rax, %r9
	setb	-43(%rbp)                       ## 1-byte Folded Spill
	cmpq	%r13, %r12
	setb	%bl
	cmpq	%rsi, %r11
	setb	-42(%rbp)                       ## 1-byte Folded Spill
	cmpq	%rdi, %r12
	setb	%r8b
	cmpq	%rsi, %r9
	setb	-41(%rbp)                       ## 1-byte Folded Spill
	cmpq	%rdi, %r11
	setb	%dil
	cmpq	%r13, %r9
	setb	%sil
	movb	-45(%rbp), %al                  ## 1-byte Reload
	testb	%al, -46(%rbp)                  ## 1-byte Folded Reload
	jne	LBB0_23
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	andb	-44(%rbp), %cl                  ## 1-byte Folded Reload
	jne	LBB0_23
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	andb	-43(%rbp), %dl                  ## 1-byte Folded Reload
	jne	LBB0_23
## %bb.9:                               ##   in Loop: Header=BB0_3 Depth=1
	andb	-42(%rbp), %bl                  ## 1-byte Folded Reload
	jne	LBB0_23
## %bb.10:                              ##   in Loop: Header=BB0_3 Depth=1
	andb	-41(%rbp), %r8b                 ## 1-byte Folded Reload
	jne	LBB0_23
## %bb.11:                              ##   in Loop: Header=BB0_3 Depth=1
	movl	$0, %ebx
	andb	%sil, %dil
	jne	LBB0_24
## %bb.12:                              ##   in Loop: Header=BB0_3 Depth=1
	cmpq	$0, -176(%rbp)                  ## 8-byte Folded Reload
	je	LBB0_18
## %bb.13:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	-144(%rbp), %rbx                ## 8-byte Reload
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	xorl	%r13d, %r13d
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_14:                                ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movdqu	-32(%rcx), %xmm0
	movdqu	-16(%rcx), %xmm1
	pshufd	$85, %xmm0, %xmm2               ## xmm2 = xmm0[1,1,1,1]
	pblendw	$12, %xmm1, %xmm2               ## xmm2 = xmm2[0,1],xmm1[2,3],xmm2[4,5,6,7]
	movdqa	%xmm0, %xmm3
	punpckhdq	%xmm1, %xmm3            ## xmm3 = xmm3[2],xmm1[2],xmm3[3],xmm1[3]
	movq	%xmm2, (%r12,%r13,4)
	shufps	$136, %xmm1, %xmm0              ## xmm0 = xmm0[0,2],xmm1[0,2]
	movups	%xmm0, (%r10,%r13,8)
	pextrq	$1, %xmm3, (%r11,%r13,4)
	movdqu	(%rcx), %xmm0
	movdqu	16(%rcx), %xmm1
	pshufd	$85, %xmm0, %xmm2               ## xmm2 = xmm0[1,1,1,1]
	pblendw	$12, %xmm1, %xmm2               ## xmm2 = xmm2[0,1],xmm1[2,3],xmm2[4,5,6,7]
	movdqa	%xmm0, %xmm3
	punpckhdq	%xmm1, %xmm3            ## xmm3 = xmm3[2],xmm1[2],xmm3[3],xmm1[3]
	movq	%xmm2, 8(%r12,%r13,4)
	shufps	$136, %xmm1, %xmm0              ## xmm0 = xmm0[0,2],xmm1[0,2]
	movups	%xmm0, 16(%r10,%r13,8)
	pextrq	$1, %xmm3, 8(%r11,%r13,4)
	addq	$4, %r13
	addq	$64, %rcx
	addq	$-2, %rbx
	jne	LBB0_14
## %bb.15:                              ##   in Loop: Header=BB0_3 Depth=1
	testb	$1, -168(%rbp)                  ## 1-byte Folded Reload
	je	LBB0_17
LBB0_16:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	%r13, %rax
	shlq	$4, %rax
	movdqu	(%r9,%rax), %xmm0
	movdqu	16(%r9,%rax), %xmm1
	pshufd	$85, %xmm0, %xmm2               ## xmm2 = xmm0[1,1,1,1]
	pblendw	$12, %xmm1, %xmm2               ## xmm2 = xmm2[0,1],xmm1[2,3],xmm2[4,5,6,7]
	movdqa	%xmm0, %xmm3
	punpckhdq	%xmm1, %xmm3            ## xmm3 = xmm3[2],xmm1[2],xmm3[3],xmm1[3]
	movq	%xmm2, (%r12,%r13,4)
	shufps	$136, %xmm1, %xmm0              ## xmm0 = xmm0[0,2],xmm1[0,2]
	movups	%xmm0, (%r10,%r13,8)
	pextrq	$1, %xmm3, (%r11,%r13,4)
LBB0_17:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	-184(%rbp), %rax                ## 8-byte Reload
	movq	%rax, %rbx
	cmpq	%rdx, %rax
	jne	LBB0_24
	jmp	LBB0_26
LBB0_29:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	-104(%rbp), %rax                ## 8-byte Reload
	movq	-256(%rbp), %rbx                ## 8-byte Reload
	addq	%rbx, %rax
	movq	-160(%rbp), %rcx                ## 8-byte Reload
	movq	%rdi, %r13
	movq	-248(%rbp), %rdi                ## 8-byte Reload
	addq	%rdi, %rcx
	leaq	(,%rax,4), %rax
	addq	%r13, %rax
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	leaq	(%rdx,%rcx,4), %rcx
	cmpq	%rcx, %rax
	jae	LBB0_32
## %bb.30:                              ##   in Loop: Header=BB0_3 Depth=1
	addq	-152(%rbp), %rbx                ## 8-byte Folded Reload
	addq	-96(%rbp), %rdi                 ## 8-byte Folded Reload
	leaq	(,%rbx,4), %rax
	addq	%r13, %rax
	leaq	(%rdx,%rdi,4), %rcx
	cmpq	%rax, %rcx
	jae	LBB0_32
## %bb.31:                              ##   in Loop: Header=BB0_3 Depth=1
	xorl	%ebx, %ebx
	jmp	LBB0_34
LBB0_32:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	%r15, %rax
	xorl	%ecx, %ecx
	movq	-136(%rbp), %rbx                ## 8-byte Reload
	.p2align	4, 0x90
LBB0_33:                                ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movups	(%rax), %xmm0
	movups	16(%rax), %xmm1
	shufps	$136, %xmm1, %xmm0              ## xmm0 = xmm0[0,2],xmm1[0,2]
	movups	%xmm0, (%r14,%rcx,8)
	addq	$2, %rcx
	addq	$32, %rax
	cmpq	%rcx, %rbx
	jne	LBB0_33
LBB0_34:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	%r13, %rdi
	movl	-52(%rbp), %r13d                ## 4-byte Reload
LBB0_35:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	%esi, %eax
	subl	%ebx, %eax
	movq	%rbx, %rcx
	testb	$1, %al
	je	LBB0_37
## %bb.36:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	-104(%rbp), %rax                ## 8-byte Reload
	leaq	(%r10,%rax,4), %rax
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%r9,%rcx,4), %rcx
	movq	%rbx, %rdx
	shlq	$4, %rdx
	movl	(%rcx,%rdx), %esi
	movl	%esi, (%rax,%rbx,8)
	movl	8(%rcx,%rdx), %ecx
	movl	%ecx, 4(%rax,%rbx,8)
	leaq	1(%rbx), %rcx
LBB0_37:                                ##   in Loop: Header=BB0_3 Depth=1
	notq	%rbx
	cmpq	-200(%rbp), %rbx                ## 8-byte Folded Reload
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	movq	-128(%rbp), %rsi                ## 8-byte Reload
	je	LBB0_2
## %bb.38:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	subq	%rcx, %rax
	shlq	$3, %rcx
	.p2align	4, 0x90
LBB0_39:                                ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%r15,%rcx,2), %edx
	movl	%edx, (%r14,%rcx)
	movl	8(%r15,%rcx,2), %edx
	movl	%edx, 4(%r14,%rcx)
	movl	16(%r15,%rcx,2), %edx
	movl	%edx, 8(%r14,%rcx)
	movl	24(%r15,%rcx,2), %edx
	movl	%edx, 12(%r14,%rcx)
	addq	$16, %rcx
	addq	$-2, %rax
	jne	LBB0_39
	jmp	LBB0_2
LBB0_18:                                ##   in Loop: Header=BB0_3 Depth=1
	xorl	%r13d, %r13d
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	testb	$1, -168(%rbp)                  ## 1-byte Folded Reload
	jne	LBB0_16
	jmp	LBB0_17
LBB0_40:
	addq	$112, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_yuy2toyv12_c
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function yuy2toyv12_c
_yuy2toyv12_c:                          ; @yuy2toyv12_c
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #192
	.cfi_def_cfa_offset 192
	stp	x28, x27, [sp, #96]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #112]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #128]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #144]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #160]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #176]            ; 16-byte Folded Spill
	.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 $w7 killed $w7 def $x7
                                        ; kill: def $w6 killed $w6 def $x6
	stp	x2, x3, [sp, #72]               ; 16-byte Folded Spill
	cmp	w5, #1
	b.lt	LBB0_27
; %bb.1:
	mov	x10, x1
	mov	x12, x0
	mov	x8, #0
	mov	w9, #0
	ldr	w11, [sp, #192]
	asr	w13, w4, #1
	sxtw	x14, w6
	sxtw	x15, w11
	sxtw	x17, w7
	cmp	w13, #1
	csinc	w13, w13, wzr, gt
	sbfiz	x16, x6, #1, #32
	str	x16, [sp, #88]                  ; 8-byte Folded Spill
	lsl	x16, x13, #1
	str	x14, [sp, #32]                  ; 8-byte Folded Spill
	stp	x16, x17, [sp, #56]             ; 16-byte Folded Spill
	add	x14, x16, x14
	stp	x14, x15, [sp, #8]              ; 16-byte Folded Spill
	sbfiz	x17, x11, #1, #32
	lsl	x14, x13, #2
	str	x14, [sp, #48]                  ; 8-byte Folded Spill
	add	x15, x14, x15
	sub	x14, x15, #1
	str	x14, [sp, #24]                  ; 8-byte Folded Spill
	and	x22, x13, #0x7ffffffc
	ands	x15, x13, #0x7
	mov	w16, #8
	csel	x15, x16, x15, eq
	sub	x14, x13, x15
	str	x14, [sp, #40]                  ; 8-byte Folded Spill
	sbfiz	x23, x11, #3, #32
	sbfiz	x24, x6, #3, #32
	add	x6, x1, w6, sxtw #2
	add	x25, x6, #32
	add	x26, x0, w11, sxtw #2
	add	x27, x26, #64
	sbfiz	x7, x7, #2, #32
	ldp	x30, x28, [sp, #72]             ; 16-byte Folded Reload
	mov	x16, x1
	mov	x11, x0
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x30, x30, x7
	add	x28, x28, x7
	add	x16, x16, x24
	add	x11, x11, x23
	add	w9, w9, #2
	add	x8, x8, #1
	add	x25, x25, x24
	add	x27, x27, x23
	add	x26, x26, x23
	add	x6, x6, x24
	cmp	w9, w5
	b.ge	LBB0_27
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_20 Depth 2
                                        ;     Child Loop BB0_7 Depth 2
                                        ;     Child Loop BB0_23 Depth 2
                                        ;     Child Loop BB0_26 Depth 2
	cmp	w4, #2
	b.lt	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	w13, #4
	b.hs	LBB0_13
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x21, #0
LBB0_6:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x20, x11, x21, lsl #4
	add	x0, x16, x21, lsl #3
LBB0_7:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w14, [x20]
	str	w14, [x0]
	ldr	w14, [x20, #4]
	lsl	x15, x21, #2
	str	w14, [x30, x15]
	ldr	w14, [x20, #8]
	str	w14, [x0, #4]
	ldr	w14, [x20, #12]
	str	w14, [x28, x15]
	add	x21, x21, #1
	add	x20, x20, #16
	add	x0, x0, #8
	cmp	x13, x21
	b.ne	LBB0_7
LBB0_8:                                 ;   in Loop: Header=BB0_3 Depth=1
	cmp	w4, #2
	b.lt	LBB0_2
; %bb.9:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	w13, #9
	b.lo	LBB0_12
; %bb.10:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x14, [sp, #88]                  ; 8-byte Folded Reload
	mul	x15, x14, x8
	ldp	x1, x14, [sp, #24]              ; 16-byte Folded Reload
	add	x14, x15, x14
	add	x14, x10, x14, lsl #2
	mul	x0, x17, x8
	add	x1, x1, x0
	add	x1, x12, x1, lsl #2
	cmp	x14, x1
	b.hs	LBB0_22
; %bb.11:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x14, [sp, #8]                   ; 8-byte Folded Reload
	add	x14, x14, x15
	add	x14, x10, x14, lsl #2
	ldr	x15, [sp, #16]                  ; 8-byte Folded Reload
	add	x15, x0, x15
	add	x15, x12, x15, lsl #2
	cmp	x15, x14
	b.hs	LBB0_22
LBB0_12:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x15, #0
	b	LBB0_25
LBB0_13:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x21, #0
	ldr	x14, [sp, #88]                  ; 8-byte Folded Reload
	ldr	x15, [sp, #56]                  ; 8-byte Folded Reload
	madd	x15, x14, x8, x15
	add	x14, x10, x15, lsl #2
	ldp	x15, x0, [sp, #64]              ; 16-byte Folded Reload
	madd	x15, x8, x15, x13
	lsl	x15, x15, #2
	add	x3, x0, x15
	ldr	x0, [sp, #48]                   ; 8-byte Folded Reload
	madd	x0, x17, x8, x0
	add	x19, x12, x0, lsl #2
	ldr	x0, [sp, #80]                   ; 8-byte Folded Reload
	add	x2, x0, x15
	cmp	x16, x2
	ccmp	x28, x14, #2, lo
	cset	w0, lo
	cmp	x16, x19
	ccmp	x11, x14, #2, lo
	cset	w1, lo
	cmp	x30, x2
	ccmp	x28, x3, #2, lo
	cset	w20, lo
	cmp	x30, x19
	ccmp	x11, x3, #2, lo
	cset	w15, lo
	cmp	x28, x19
	ccmp	x11, x2, #2, lo
	cset	w19, lo
	cmp	x30, x14
	ccmp	x16, x3, #2, lo
	b.lo	LBB0_6
; %bb.14:                               ;   in Loop: Header=BB0_3 Depth=1
	tbnz	w0, #0, LBB0_6
; %bb.15:                               ;   in Loop: Header=BB0_3 Depth=1
	tbnz	w1, #0, LBB0_6
; %bb.16:                               ;   in Loop: Header=BB0_3 Depth=1
	tbnz	w20, #0, LBB0_6
; %bb.17:                               ;   in Loop: Header=BB0_3 Depth=1
	tbnz	w15, #0, LBB0_6
; %bb.18:                               ;   in Loop: Header=BB0_3 Depth=1
	tbnz	w19, #0, LBB0_6
; %bb.19:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	x21, #0
	mov	x20, x22
	mov	x1, x16
	mov	x0, x11
LBB0_20:                                ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ld4.4s	{ v0, v1, v2, v3 }, [x0], #64
	mov.16b	v4, v0
	str	q1, [x30, x21]
	mov.16b	v5, v2
	st2.4s	{ v4, v5 }, [x1], #32
	str	q3, [x28, x21]
	add	x21, x21, #16
	subs	x20, x20, #4
	b.ne	LBB0_20
; %bb.21:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	x21, x22
	cmp	x22, x13
	b.ne	LBB0_6
	b	LBB0_8
LBB0_22:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x1, x27
	mov	x0, x25
	ldr	x20, [sp, #40]                  ; 8-byte Folded Reload
LBB0_23:                                ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	sub	x14, x1, #64
	ld4.4s	{ v0, v1, v2, v3 }, [x14]
	ld4.4s	{ v4, v5, v6, v7 }, [x1]
	mov.16b	v1, v2
	sub	x14, x0, #32
	st2.4s	{ v0, v1 }, [x14]
	mov.16b	v5, v6
	st2.4s	{ v4, v5 }, [x0]
	add	x0, x0, #64
	add	x1, x1, #128
	subs	x20, x20, #8
	b.ne	LBB0_23
; %bb.24:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x15, [sp, #40]                  ; 8-byte Folded Reload
LBB0_25:                                ;   in Loop: Header=BB0_3 Depth=1
	sub	x0, x13, x15
	add	x1, x26, x15, lsl #4
	add	x20, x6, x15, lsl #3
LBB0_26:                                ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w14, [x1]
	str	w14, [x20]
	ldr	w14, [x1, #8]
	str	w14, [x20, #4]
	add	x1, x1, #16
	add	x20, x20, #8
	subs	x0, x0, #1
	b.ne	LBB0_26
	b	LBB0_2
LBB0_27:
	ldp	x29, x30, [sp, #176]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #160]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #144]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #128]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #112]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #192
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_yuy2toyv12_c
.subsections_via_symbols
