	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function rgb24ToUV_half_c
LCPI0_0:
	.long	256                             ## 0x100
	.long	256                             ## 0x100
	.long	256                             ## 0x100
	.long	256                             ## 0x100
LCPI0_1:
	.long	4294967290                      ## 0xfffffffa
	.long	4294967290                      ## 0xfffffffa
	.long	4294967290                      ## 0xfffffffa
	.long	4294967290                      ## 0xfffffffa
LCPI0_2:
	.long	1                               ## 0x1
	.long	1                               ## 0x1
	.long	1                               ## 0x1
	.long	1                               ## 0x1
LCPI0_3:
	.long	4294967291                      ## 0xfffffffb
	.long	4294967291                      ## 0xfffffffb
	.long	4294967291                      ## 0xfffffffb
	.long	4294967291                      ## 0xfffffffb
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_rgb24ToUV_half_c:                      ## @rgb24ToUV_half_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	$184, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, %r12d
	movq	%rcx, %rdx
	movq	%rsi, -120(%rbp)                ## 8-byte Spill
	movq	%rdi, -112(%rbp)                ## 8-byte Spill
	movq	16(%rbp), %rax
	movq	_RU_IDX@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %r15d
	movq	_GU_IDX@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %ecx
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movq	_BU_IDX@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %ecx
	movl	%ecx, -52(%rbp)                 ## 4-byte Spill
	movq	_RV_IDX@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %r13d
	movq	_GV_IDX@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %ebx
	movq	_BV_IDX@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %r14d
	xorl	%edi, %edi
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	cmpq	%r8, %rdx
	sete	%dil
	callq	_av_assert1
	testl	%r12d, %r12d
	jle	LBB0_15
## %bb.1:
	movl	%r14d, -60(%rbp)                ## 4-byte Spill
	movl	%ebx, -56(%rbp)                 ## 4-byte Spill
	movl	%r13d, -48(%rbp)                ## 4-byte Spill
	movq	-112(%rbp), %rdx                ## 8-byte Reload
	movq	-120(%rbp), %r13                ## 8-byte Reload
	movl	%r12d, %ecx
	cmpl	$4, %r12d
	movq	%rcx, -104(%rbp)                ## 8-byte Spill
	jae	LBB0_3
## %bb.2:
	xorl	%r10d, %r10d
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movq	%r13, %r8
	movq	%rdx, %r13
	movl	%eax, %edx
	jmp	LBB0_5
LBB0_3:
	leaq	(%rdx,%rcx,4), %rax
	leaq	(,%rcx,4), %rsi
	addq	%r13, %rsi
	cmpq	%rdx, %rsi
	seta	-96(%rbp)                       ## 1-byte Folded Spill
	leaq	(%rcx,%rcx,2), %rdi
	cmpq	%r13, %rax
	seta	%r11b
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rcx,%rdi,8), %rbx
	cmpq	%rdx, %rbx
	seta	%r14b
	cmpq	%rcx, %rax
	seta	%r12b
	movq	_RGB2YUV_SHIFT@GOTPCREL(%rip), %r10
	leaq	4(%r10), %rdi
	cmpq	%rdi, %rdx
	setb	%r8b
	cmpq	%r10, %rax
	seta	%r9b
	cmpq	%r13, %rbx
	seta	%al
	cmpq	%rcx, %rsi
	seta	%bl
	cmpq	%rdi, %r13
	movq	%r10, %rdi
	setb	%cl
	cmpq	%r10, %rsi
	seta	%sil
	xorl	%r10d, %r10d
	testb	%r11b, -96(%rbp)                ## 1-byte Folded Reload
	jne	LBB0_4
## %bb.6:
	andb	%r12b, %r14b
	jne	LBB0_4
## %bb.7:
	andb	%r9b, %r8b
	jne	LBB0_4
## %bb.8:
	andb	%bl, %al
	jne	LBB0_4
## %bb.9:
	andb	%sil, %cl
	movq	%r13, %r8
	movq	%rdx, %r13
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movl	-52(%rbp), %r14d                ## 4-byte Reload
	movl	-48(%rbp), %r9d                 ## 4-byte Reload
	movl	-60(%rbp), %ebx                 ## 4-byte Reload
	movq	-104(%rbp), %rsi                ## 8-byte Reload
	jne	LBB0_13
## %bb.10:
	movl	%esi, %r10d
	andl	$-4, %r10d
	movd	%r15d, %xmm0
	pshufd	$0, %xmm0, %xmm0                ## xmm0 = xmm0[0,0,0,0]
	movdqa	%xmm0, -96(%rbp)                ## 16-byte Spill
	movd	%edx, %xmm0
	pshufd	$0, %xmm0, %xmm0                ## xmm0 = xmm0[0,0,0,0]
	movdqa	%xmm0, -224(%rbp)               ## 16-byte Spill
	movd	%r14d, %xmm0
	pshufd	$0, %xmm0, %xmm0                ## xmm0 = xmm0[0,0,0,0]
	movdqa	%xmm0, -208(%rbp)               ## 16-byte Spill
	movd	%r9d, %xmm0
	pshufd	$0, %xmm0, %xmm0                ## xmm0 = xmm0[0,0,0,0]
	movdqa	%xmm0, -192(%rbp)               ## 16-byte Spill
	movd	-56(%rbp), %xmm0                ## 4-byte Folded Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	pshufd	$0, %xmm0, %xmm0                ## xmm0 = xmm0[0,0,0,0]
	movdqa	%xmm0, -176(%rbp)               ## 16-byte Spill
	movd	%ebx, %xmm0
	movd	(%rdi), %xmm1                   ## xmm1 = mem[0],zero,zero,zero
	pshufd	$0, %xmm1, %xmm11               ## xmm11 = xmm1[0,0,0,0]
	movdqa	LCPI0_0(%rip), %xmm15           ## xmm15 = [256,256,256,256]
	pslld	%xmm1, %xmm15
	paddd	LCPI0_1(%rip), %xmm1
	pmovzxdq	%xmm1, %xmm1                    ## xmm1 = xmm1[0],zero,xmm1[1],zero
	movdqa	LCPI0_2(%rip), %xmm12           ## xmm12 = [1,1,1,1]
	pslld	%xmm1, %xmm12
	pshufd	$0, %xmm0, %xmm0                ## xmm0 = xmm0[0,0,0,0]
	movdqa	%xmm0, -160(%rbp)               ## 16-byte Spill
	paddd	LCPI0_3(%rip), %xmm11
	leaq	(,%rsi,4), %rax
	andq	$-16, %rax
	xorl	%ecx, %ecx
	pshufd	$238, %xmm11, %xmm0             ## xmm0 = xmm11[2,3,2,3]
	movdqa	%xmm0, -144(%rbp)               ## 16-byte Spill
	pshuflw	$254, %xmm0, %xmm13             ## xmm13 = xmm0[2,3,3,3,4,5,6,7]
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	%r8, %rdx
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movdqu	80(%rdi), %xmm3
	movdqu	64(%rdi), %xmm0
	movdqu	(%rdi), %xmm14
	movdqu	16(%rdi), %xmm1
	movdqu	32(%rdi), %xmm6
	movdqu	48(%rdi), %xmm10
	pshufd	$250, %xmm1, %xmm9              ## xmm9 = xmm1[2,2,3,3]
	pblendw	$243, %xmm14, %xmm9             ## xmm9 = xmm14[0,1],xmm9[2,3],xmm14[4,5,6,7]
	movdqa	%xmm10, %xmm8
	pblendw	$240, %xmm0, %xmm8              ## xmm8 = xmm8[0,1,2,3],xmm0[4,5,6,7]
	pshufd	$132, %xmm8, %xmm8              ## xmm8 = xmm8[0,1,0,2]
	pblendw	$15, %xmm9, %xmm8               ## xmm8 = xmm9[0,1,2,3],xmm8[4,5,6,7]
	pmovzxdq	%xmm10, %xmm7                   ## xmm7 = xmm10[0],zero,xmm10[1],zero
	pblendw	$192, %xmm0, %xmm7              ## xmm7 = xmm7[0,1,2,3,4,5],xmm0[6,7]
	movdqa	%xmm6, %xmm2
	pblendw	$240, %xmm14, %xmm2             ## xmm2 = xmm2[0,1,2,3],xmm14[4,5,6,7]
	movdqa	%xmm14, %xmm4
	pblendw	$240, %xmm1, %xmm4              ## xmm4 = xmm4[0,1,2,3],xmm1[4,5,6,7]
	pshufd	$237, %xmm4, %xmm5              ## xmm5 = xmm4[1,3,2,3]
	pblendw	$240, %xmm7, %xmm5              ## xmm5 = xmm5[0,1,2,3],xmm7[4,5,6,7]
	pshufd	$0, %xmm3, %xmm4                ## xmm4 = xmm3[0,0,0,0]
	pblendw	$63, %xmm10, %xmm4              ## xmm4 = xmm10[0,1,2,3,4,5],xmm4[6,7]
	pshufd	$226, %xmm2, %xmm9              ## xmm9 = xmm2[2,0,2,3]
	pblendw	$240, %xmm4, %xmm9              ## xmm9 = xmm9[0,1,2,3],xmm4[4,5,6,7]
	pshufd	$255, %xmm14, %xmm7             ## xmm7 = xmm14[3,3,3,3]
	pblendw	$12, %xmm6, %xmm7               ## xmm7 = xmm7[0,1],xmm6[2,3],xmm7[4,5,6,7]
	pblendw	$15, %xmm3, %xmm10              ## xmm10 = xmm3[0,1,2,3],xmm10[4,5,6,7]
	pshufd	$116, %xmm10, %xmm4             ## xmm4 = xmm10[0,1,3,1]
	pblendw	$15, %xmm7, %xmm4               ## xmm4 = xmm7[0,1,2,3],xmm4[4,5,6,7]
	paddd	%xmm8, %xmm4
	pshufd	$250, %xmm6, %xmm7              ## xmm7 = xmm6[2,2,3,3]
	pblendw	$243, %xmm1, %xmm7              ## xmm7 = xmm1[0,1],xmm7[2,3],xmm1[4,5,6,7]
	pmovzxdq	%xmm0, %xmm2                    ## xmm2 = xmm0[0],zero,xmm0[1],zero
	pblendw	$240, %xmm3, %xmm0              ## xmm0 = xmm0[0,1,2,3],xmm3[4,5,6,7]
	pshufd	$132, %xmm0, %xmm0              ## xmm0 = xmm0[0,1,0,2]
	pblendw	$15, %xmm7, %xmm0               ## xmm0 = xmm7[0,1,2,3],xmm0[4,5,6,7]
	paddd	%xmm5, %xmm0
	pblendw	$192, %xmm3, %xmm2              ## xmm2 = xmm2[0,1,2,3,4,5],xmm3[6,7]
	pblendw	$240, %xmm6, %xmm1              ## xmm1 = xmm1[0,1,2,3],xmm6[4,5,6,7]
	pshufd	$237, %xmm1, %xmm3              ## xmm3 = xmm1[1,3,2,3]
	pblendw	$240, %xmm2, %xmm3              ## xmm3 = xmm3[0,1,2,3],xmm2[4,5,6,7]
	paddd	%xmm9, %xmm3
	movdqa	%xmm4, %xmm1
	pmulld	-96(%rbp), %xmm1                ## 16-byte Folded Reload
	movdqa	%xmm0, %xmm2
	pmulld	-224(%rbp), %xmm2               ## 16-byte Folded Reload
	paddd	%xmm1, %xmm2
	movdqa	%xmm3, %xmm1
	pmulld	-208(%rbp), %xmm1               ## 16-byte Folded Reload
	paddd	%xmm2, %xmm1
	paddd	%xmm15, %xmm1
	paddd	%xmm12, %xmm1
	movdqa	%xmm1, %xmm2
	psrad	%xmm13, %xmm2
	pshuflw	$254, %xmm11, %xmm8             ## xmm8 = xmm11[2,3,3,3,4,5,6,7]
	movdqa	%xmm1, %xmm5
	psrad	%xmm8, %xmm5
	pblendw	$240, %xmm2, %xmm5              ## xmm5 = xmm5[0,1,2,3],xmm2[4,5,6,7]
	pshuflw	$84, -144(%rbp), %xmm2          ## 16-byte Folded Reload
                                        ## xmm2 = mem[0,1,1,1,4,5,6,7]
	movdqa	%xmm1, %xmm7
	psrad	%xmm2, %xmm7
	pshuflw	$84, %xmm11, %xmm6              ## xmm6 = xmm11[0,1,1,1,4,5,6,7]
	psrad	%xmm6, %xmm1
	pblendw	$240, %xmm7, %xmm1              ## xmm1 = xmm1[0,1,2,3],xmm7[4,5,6,7]
	pblendw	$204, %xmm5, %xmm1              ## xmm1 = xmm1[0,1],xmm5[2,3],xmm1[4,5],xmm5[6,7]
	pmulld	-192(%rbp), %xmm4               ## 16-byte Folded Reload
	pmulld	-176(%rbp), %xmm0               ## 16-byte Folded Reload
	paddd	%xmm4, %xmm0
	pmulld	-160(%rbp), %xmm3               ## 16-byte Folded Reload
	paddd	%xmm0, %xmm3
	paddd	%xmm15, %xmm3
	paddd	%xmm12, %xmm3
	movdqa	%xmm3, %xmm0
	psrad	%xmm8, %xmm0
	movdqa	%xmm3, %xmm4
	psrad	%xmm13, %xmm4
	movdqu	%xmm1, (%r13,%rcx)
	pblendw	$240, %xmm4, %xmm0              ## xmm0 = xmm0[0,1,2,3],xmm4[4,5,6,7]
	movdqa	%xmm3, %xmm1
	psrad	%xmm2, %xmm1
	psrad	%xmm6, %xmm3
	pblendw	$240, %xmm1, %xmm3              ## xmm3 = xmm3[0,1,2,3],xmm1[4,5,6,7]
	pblendw	$204, %xmm0, %xmm3              ## xmm3 = xmm3[0,1],xmm0[2,3],xmm3[4,5],xmm0[6,7]
	movdqu	%xmm3, (%rdx,%rcx)
	addq	$96, %rdi
	addq	$16, %rcx
	cmpq	%rcx, %rax
	jne	LBB0_11
## %bb.12:
	cmpq	%rsi, %r10
	movq	%rdx, %r8
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movl	-52(%rbp), %r14d                ## 4-byte Reload
	movl	-48(%rbp), %r9d                 ## 4-byte Reload
	jne	LBB0_13
	jmp	LBB0_15
LBB0_4:
	movq	%r13, %r8
	movq	%rdx, %r13
	movl	-44(%rbp), %edx                 ## 4-byte Reload
LBB0_5:
	movl	-52(%rbp), %r14d                ## 4-byte Reload
	movl	-48(%rbp), %r9d                 ## 4-byte Reload
LBB0_13:
	leaq	(%r10,%r10,2), %rax
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rcx,%rax,8), %r12
	addq	$20, %r12
	.p2align	4, 0x90
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movq	%r10, -96(%rbp)                 ## 8-byte Spill
	movl	-8(%r12), %r11d
	movl	-4(%r12), %esi
	addl	-20(%r12), %r11d
	addl	-16(%r12), %esi
	movl	(%r12), %edi
	addl	-12(%r12), %edi
	movl	%r11d, %eax
	imull	%r15d, %eax
	movl	%esi, %ebx
	imull	%edx, %ebx
	addl	%eax, %ebx
	movl	%edi, %edx
	imull	%r14d, %edx
	movq	_RGB2YUV_SHIFT@GOTPCREL(%rip), %rax
	movzbl	(%rax), %eax
	movl	%r9d, %r10d
	movl	%r14d, %r9d
	movq	%r8, %r14
	movl	%r15d, %r8d
	movl	$256, %r15d                     ## imm = 0x100
	movl	%eax, %ecx
	shll	%cl, %r15d
	addl	%ebx, %edx
	addl	%edx, %r15d
	leal	-6(%rax), %ecx
	movl	$1, %edx
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %edx
	addl	%r15d, %edx
	movl	%r8d, %r15d
	movq	%r14, %r8
	movl	%r9d, %r14d
	movl	%r10d, %r9d
	movl	-60(%rbp), %ebx                 ## 4-byte Reload
	movq	-96(%rbp), %r10                 ## 8-byte Reload
	addb	$-5, %al
	movl	%eax, %ecx
	sarl	%cl, %edx
	movl	%edx, (%r13,%r10,4)
	imull	%r9d, %r11d
	imull	-56(%rbp), %esi                 ## 4-byte Folded Reload
	addl	%r11d, %esi
	imull	%ebx, %edi
	movq	_RGB2YUV_SHIFT@GOTPCREL(%rip), %rax
	movzbl	(%rax), %eax
	movl	$256, %edx                      ## imm = 0x100
	movl	%eax, %ecx
	shll	%cl, %edx
	addl	%esi, %edi
	addl	%edi, %edx
	leal	-6(%rax), %ecx
	movl	$1, %esi
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %esi
	addl	%edx, %esi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	addb	$-5, %al
	movl	%eax, %ecx
	sarl	%cl, %esi
	movl	%esi, (%r8,%r10,4)
	incq	%r10
	addq	$24, %r12
	cmpq	%r10, -104(%rbp)                ## 8-byte Folded Reload
	jne	LBB0_14
LBB0_15:
	addq	$184, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RU_IDX,8,3                     ## @RU_IDX
	.comm	_GU_IDX,8,3                     ## @GU_IDX
	.comm	_BU_IDX,8,3                     ## @BU_IDX
	.comm	_RV_IDX,8,3                     ## @RV_IDX
	.comm	_GV_IDX,8,3                     ## @GV_IDX
	.comm	_BV_IDX,8,3                     ## @BV_IDX
	.comm	_RGB2YUV_SHIFT,4,2              ## @RGB2YUV_SHIFT
	.no_dead_strip	_rgb24ToUV_half_c
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rgb24ToUV_half_c
_rgb24ToUV_half_c:                      ; @rgb24ToUV_half_c
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	mov	x22, x5
	mov	x19, x3
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x8, _RU_IDX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RU_IDX@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	w23, [x6, x8, lsl #2]
Lloh3:
	adrp	x8, _GU_IDX@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GU_IDX@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	ldr	w24, [x6, x8, lsl #2]
Lloh6:
	adrp	x8, _BU_IDX@GOTPAGE
Lloh7:
	ldr	x8, [x8, _BU_IDX@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	ldr	w25, [x6, x8, lsl #2]
Lloh9:
	adrp	x8, _RV_IDX@GOTPAGE
Lloh10:
	ldr	x8, [x8, _RV_IDX@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	ldr	w26, [x6, x8, lsl #2]
Lloh12:
	adrp	x8, _GV_IDX@GOTPAGE
Lloh13:
	ldr	x8, [x8, _GV_IDX@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	ldr	w27, [x6, x8, lsl #2]
Lloh15:
	adrp	x8, _BV_IDX@GOTPAGE
Lloh16:
	ldr	x8, [x8, _BV_IDX@GOTPAGEOFF]
Lloh17:
	ldr	x8, [x8]
	ldr	w28, [x6, x8, lsl #2]
	cmp	x3, x4
	cset	w0, eq
	bl	_av_assert1
	cmp	w22, #1
	b.lt	LBB0_13
; %bb.1:
	mov	w9, w22
Lloh18:
	adrp	x8, _RGB2YUV_SHIFT@GOTPAGE
Lloh19:
	ldr	x8, [x8, _RGB2YUV_SHIFT@GOTPAGEOFF]
	cmp	w22, #4
	b.hs	LBB0_3
; %bb.2:
	mov	x10, #0
	b	LBB0_11
LBB0_3:
	mov	x10, #0
	lsl	x11, x9, #2
	add	x15, x20, x11
	mov	w12, #24
	madd	x13, x9, x12, x19
	cmp	x13, x21
	add	x16, x21, x11
	ccmp	x16, x19, #0, hi
	cset	w11, hi
	add	x14, x8, #4
	cmp	x21, x14
	ccmp	x16, x8, #0, lo
	cset	w12, hi
	cmp	x13, x20
	ccmp	x15, x19, #0, hi
	cset	w13, hi
	cmp	x20, x14
	ccmp	x15, x8, #0, lo
	cset	w14, hi
	cmp	x16, x20
	ccmp	x15, x21, #0, hi
	b.hi	LBB0_11
; %bb.4:
	tbnz	w11, #0, LBB0_11
; %bb.5:
	tbnz	w12, #0, LBB0_11
; %bb.6:
	tbnz	w13, #0, LBB0_11
; %bb.7:
	tbnz	w14, #0, LBB0_11
; %bb.8:
	dup.4s	v0, w23
	dup.4s	v1, w24
	dup.4s	v2, w25
	dup.4s	v3, w26
	dup.4s	v4, w27
	and	x10, x9, #0xfffffffc
	dup.4s	v5, w28
	ld1r.4s	{ v16 }, [x8]
	movi.4s	v6, #1, lsl #8
	ushl.4s	v6, v6, v16
	mvni.4s	v7, #5
	add.4s	v7, v16, v7
	movi.4s	v17, #1
	ushl.4s	v7, v17, v7
	mvni.4s	v17, #4
	add.4s	v16, v16, v17
	neg.4s	v16, v16
	mov	x11, x10
	mov	x12, x20
	mov	x13, x21
	mov	x14, x19
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldp	q18, q17, [x14, #64]
	ldp	q19, q20, [x14, #32]
	ldp	q22, q21, [x14], #96
	trn2.4s	v23, v21, v22
	ext.16b	v23, v23, v22, #4
	uzp1.4s	v24, v22, v19
	mov.16b	v25, v21
	mov.s	v25[1], v19[2]
	trn2.4s	v26, v19, v21
	zip2.4s	v24, v22, v24
	mov.s	v19[0], v22[3]
	uzp1.4s	v27, v20, v20
	trn1.4s	v27, v27, v18
	mov.16b	v28, v20
	mov.s	v28[3], v17[0]
	ext.16b	v29, v20, v17, #8
	mov.s	v22[1], v21[2]
	uzp1.4s	v30, v18, v18
	trn1.4s	v30, v30, v17
	mov.s	v17[2], v18[1]
	mov.d	v22[1], v27[1]
	mov.s	v18[2], v20[1]
	zip2.4s	v20, v20, v29
	mov.d	v23[1], v18[1]
	mov.d	v19[1], v20[1]
	mov.d	v25[1], v30[1]
	mov.d	v24[1], v28[1]
	ext.16b	v18, v26, v21, #4
	mov.d	v18[1], v17[1]
	add.4s	v17, v19, v22
	add.4s	v18, v18, v24
	add.4s	v19, v25, v23
	mul.4s	v20, v17, v0
	mla.4s	v20, v19, v1
	mla.4s	v20, v18, v2
	add.4s	v20, v20, v6
	add.4s	v20, v20, v7
	sshl.4s	v20, v20, v16
	mul.4s	v17, v17, v3
	mla.4s	v17, v19, v4
	mla.4s	v17, v18, v5
	add.4s	v17, v17, v6
	str	q20, [x13], #16
	add.4s	v17, v17, v7
	sshl.4s	v17, v17, v16
	str	q17, [x12], #16
	subs	x11, x11, #4
	b.ne	LBB0_9
; %bb.10:
	cmp	x10, x9
	b.eq	LBB0_13
LBB0_11:
	sub	x9, x9, x10
	lsl	x12, x10, #2
	add	x11, x21, x12
	add	x12, x20, x12
	mov	w13, #24
	madd	x10, x10, x13, x19
	add	x10, x10, #12
	mov	w13, #256
	mov	w14, #1
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	ldp	w15, w16, [x10, #-12]
	ldp	w17, w0, [x10]
	add	w15, w17, w15
	add	w16, w0, w16
	ldur	w17, [x10, #-4]
	ldr	w0, [x10, #8]
	add	w17, w0, w17
	mul	w0, w15, w23
	mul	w1, w16, w24
	mul	w2, w17, w25
	add	w0, w1, w0
	add	w0, w0, w2
	ldr	w1, [x8]
	lsl	w2, w13, w1
	sub	w3, w1, #6
	lsl	w3, w14, w3
	add	w0, w0, w2
	add	w0, w0, w3
	sub	w1, w1, #5
	asr	w0, w0, w1
	str	w0, [x11], #4
	mul	w15, w15, w26
	mul	w16, w16, w27
	mul	w17, w17, w28
	add	w15, w16, w15
	add	w15, w15, w17
	ldr	w16, [x8]
	lsl	w17, w13, w16
	sub	w0, w16, #6
	lsl	w0, w14, w0
	add	w15, w15, w17
	add	w15, w15, w0
	sub	w16, w16, #5
	asr	w15, w15, w16
	str	w15, [x12], #4
	add	x10, x10, #24
	subs	x9, x9, #1
	b.ne	LBB0_12
LBB0_13:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_RU_IDX,8,3                     ; @RU_IDX
	.comm	_GU_IDX,8,3                     ; @GU_IDX
	.comm	_BU_IDX,8,3                     ; @BU_IDX
	.comm	_RV_IDX,8,3                     ; @RV_IDX
	.comm	_GV_IDX,8,3                     ; @GV_IDX
	.comm	_BV_IDX,8,3                     ; @BV_IDX
	.comm	_RGB2YUV_SHIFT,4,2              ; @RGB2YUV_SHIFT
	.no_dead_strip	_rgb24ToUV_half_c
.subsections_via_symbols
