	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function store_slice_c
_store_slice_c:                         ## @store_slice_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
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, -88(%rbp)                 ## 8-byte Spill
	movq	%rdi, -80(%rbp)                 ## 8-byte Spill
	testl	%r9d, %r9d
	jle	LBB0_13
## %bb.1:
	movl	%ecx, %r11d
	movl	16(%rbp), %ecx
	movq	_dither@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -144(%rbp)                ## 8-byte Spill
	movslq	%r8d, %r13
	movslq	%r11d, %rax
	movslq	%edx, %rdx
	movl	%r9d, %r9d
	leaq	7(%r13), %rsi
	andq	$-8, %rsi
	movq	%rsi, -112(%rbp)                ## 8-byte Spill
	leaq	-1(%r13), %rsi
	movq	%rsi, -136(%rbp)                ## 8-byte Spill
	shrq	$3, %rsi
	incq	%rsi
	movq	%rsi, -104(%rbp)                ## 8-byte Spill
	andq	$-4, %rsi
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	leaq	(,%rsi,8), %rsi
	movq	%rsi, -96(%rbp)                 ## 8-byte Spill
	movd	%ecx, %xmm0
	movq	%rax, -128(%rbp)                ## 8-byte Spill
	leaq	(,%rax,4), %r14
	movq	%rdx, -120(%rbp)                ## 8-byte Spill
	leaq	(,%rdx,4), %r12
	pmovzxdq	%xmm0, %xmm9                    ## xmm9 = xmm0[0],zero,xmm0[1],zero
	pcmpeqd	%xmm8, %xmm8
	xorl	%r11d, %r11d
	movq	-80(%rbp), %r15                 ## 8-byte Reload
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	movl	%r8d, -44(%rbp)                 ## 4-byte Spill
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	incq	%r11
	addq	%r14, %rsi
	addq	%r12, %r15
	cmpq	%r9, %r11
	je	LBB0_13
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_9 Depth 2
                                        ##     Child Loop BB0_11 Depth 2
	testl	%r8d, %r8d
	jle	LBB0_12
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%r11d, %edx
	andl	$7, %edx
	movq	-144(%rbp), %rax                ## 8-byte Reload
	movq	(%rax,%rdx,8), %r10
	cmpq	$24, -136(%rbp)                 ## 8-byte Folded Reload
	jae	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%ebx, %ebx
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r9, %rax
	movq	%r11, %rdx
	imulq	-120(%rbp), %rdx                ## 8-byte Folded Reload
	movq	-112(%rbp), %rdi                ## 8-byte Reload
	leaq	(%rdi,%rdx), %r14
	movq	%r11, %rbx
	imulq	-128(%rbp), %rbx                ## 8-byte Folded Reload
	leaq	(%rdi,%rbx), %r12
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	leaq	(%rdi,%rdx,4), %rdx
	leaq	(%rdi,%r14,4), %r14
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	leaq	(%rdi,%rbx,4), %rbx
	leaq	(%rdi,%r12,4), %r12
	leaq	32(%r10), %r9
	cmpq	%r12, %rdx
	setb	%r12b
	cmpq	%r14, %rbx
	setb	%bl
	cmpq	%r9, %rdx
	setb	%dl
	cmpq	%r14, %r10
	setb	%r14b
	testb	%bl, %r12b
	jne	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	$0, %ebx
	andb	%r14b, %dl
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	movq	%rax, %r9
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	jne	LBB0_11
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_9:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movdqu	112(%rsi,%r14), %xmm10
	movdqu	80(%rsi,%r14), %xmm0
	movdqu	96(%rsi,%r14), %xmm4
	movdqu	64(%rsi,%r14), %xmm5
	movdqu	(%rsi,%r14), %xmm2
	movdqu	16(%rsi,%r14), %xmm12
	movdqu	32(%rsi,%r14), %xmm3
	movdqu	48(%rsi,%r14), %xmm11
	movdqa	%xmm2, %xmm1
	punpckldq	%xmm3, %xmm1            ## xmm1 = xmm1[0],xmm3[0],xmm1[1],xmm3[1]
	movdqa	%xmm5, %xmm6
	punpckldq	%xmm4, %xmm6            ## xmm6 = xmm6[0],xmm4[0],xmm6[1],xmm4[1]
	punpcklqdq	%xmm6, %xmm1            ## xmm1 = xmm1[0],xmm6[0]
	pshufd	$85, %xmm2, %xmm7               ## xmm7 = xmm2[1,1,1,1]
	pblendw	$12, %xmm3, %xmm7               ## xmm7 = xmm7[0,1],xmm3[2,3],xmm7[4,5,6,7]
	pblendw	$240, %xmm6, %xmm7              ## xmm7 = xmm7[0,1,2,3],xmm6[4,5,6,7]
	pshufd	$170, %xmm4, %xmm6              ## xmm6 = xmm4[2,2,2,2]
	pblendw	$63, %xmm5, %xmm6               ## xmm6 = xmm5[0,1,2,3,4,5],xmm6[6,7]
	punpckhdq	%xmm3, %xmm2            ## xmm2 = xmm2[2],xmm3[2],xmm2[3],xmm3[3]
	pblendw	$15, %xmm2, %xmm6               ## xmm6 = xmm2[0,1,2,3],xmm6[4,5,6,7]
	punpckhdq	%xmm4, %xmm5            ## xmm5 = xmm5[2],xmm4[2],xmm5[3],xmm4[3]
	punpckhqdq	%xmm5, %xmm2            ## xmm2 = xmm2[1],xmm5[1]
	movdqa	%xmm12, %xmm4
	punpckldq	%xmm11, %xmm4           ## xmm4 = xmm4[0],xmm11[0],xmm4[1],xmm11[1]
	movdqa	%xmm0, %xmm3
	punpckldq	%xmm10, %xmm3           ## xmm3 = xmm3[0],xmm10[0],xmm3[1],xmm10[1]
	punpcklqdq	%xmm3, %xmm4            ## xmm4 = xmm4[0],xmm3[0]
	pshufd	$85, %xmm12, %xmm5              ## xmm5 = xmm12[1,1,1,1]
	pblendw	$12, %xmm11, %xmm5              ## xmm5 = xmm5[0,1],xmm11[2,3],xmm5[4,5,6,7]
	pblendw	$240, %xmm3, %xmm5              ## xmm5 = xmm5[0,1,2,3],xmm3[4,5,6,7]
	pshufd	$170, %xmm10, %xmm13            ## xmm13 = xmm10[2,2,2,2]
	pblendw	$63, %xmm0, %xmm13              ## xmm13 = xmm0[0,1,2,3,4,5],xmm13[6,7]
	punpckhdq	%xmm11, %xmm12          ## xmm12 = xmm12[2],xmm11[2],xmm12[3],xmm11[3]
	pblendw	$15, %xmm12, %xmm13             ## xmm13 = xmm12[0,1,2,3],xmm13[4,5,6,7]
	punpckhdq	%xmm10, %xmm0           ## xmm0 = xmm0[2],xmm10[2],xmm0[3],xmm10[3]
	punpckhqdq	%xmm0, %xmm12           ## xmm12 = xmm12[1],xmm0[1]
	pslld	%xmm9, %xmm1
	movd	(%r10), %xmm0                   ## xmm0 = mem[0],zero,zero,zero
	pshufd	$0, %xmm0, %xmm0                ## xmm0 = xmm0[0,0,0,0]
	paddd	%xmm1, %xmm0
	movdqa	%xmm0, %xmm15
	psrad	$8, %xmm15
	movdqa	%xmm0, %xmm1
	pcmpgtd	%xmm8, %xmm1
	pslld	$15, %xmm0
	blendvps	%xmm0, %xmm1, %xmm15
	pslld	%xmm9, %xmm7
	movd	4(%r10), %xmm0                  ## xmm0 = mem[0],zero,zero,zero
	pshufd	$0, %xmm0, %xmm0                ## xmm0 = xmm0[0,0,0,0]
	paddd	%xmm7, %xmm0
	movdqa	%xmm0, %xmm10
	psrad	$8, %xmm10
	movdqa	%xmm0, %xmm1
	pcmpgtd	%xmm8, %xmm1
	pslld	$15, %xmm0
	blendvps	%xmm0, %xmm1, %xmm10
	pslld	%xmm9, %xmm6
	movd	8(%r10), %xmm0                  ## xmm0 = mem[0],zero,zero,zero
	pshufd	$0, %xmm0, %xmm0                ## xmm0 = xmm0[0,0,0,0]
	paddd	%xmm6, %xmm0
	movdqa	%xmm0, %xmm14
	psrad	$8, %xmm14
	movdqa	%xmm0, %xmm1
	pcmpgtd	%xmm8, %xmm1
	pslld	$15, %xmm0
	blendvps	%xmm0, %xmm1, %xmm14
	pslld	%xmm9, %xmm2
	movd	12(%r10), %xmm0                 ## xmm0 = mem[0],zero,zero,zero
	pshufd	$0, %xmm0, %xmm0                ## xmm0 = xmm0[0,0,0,0]
	paddd	%xmm2, %xmm0
	movdqa	%xmm0, %xmm11
	psrad	$8, %xmm11
	movdqa	%xmm0, %xmm1
	pcmpgtd	%xmm8, %xmm1
	pslld	$15, %xmm0
	blendvps	%xmm0, %xmm1, %xmm11
	pslld	%xmm9, %xmm4
	movd	16(%r10), %xmm0                 ## xmm0 = mem[0],zero,zero,zero
	pshufd	$0, %xmm0, %xmm0                ## xmm0 = xmm0[0,0,0,0]
	paddd	%xmm4, %xmm0
	movdqa	%xmm0, %xmm1
	psrad	$8, %xmm1
	movdqa	%xmm0, %xmm2
	pcmpgtd	%xmm8, %xmm2
	pslld	$15, %xmm0
	blendvps	%xmm0, %xmm2, %xmm1
	pslld	%xmm9, %xmm5
	movd	20(%r10), %xmm0                 ## xmm0 = mem[0],zero,zero,zero
	pshufd	$0, %xmm0, %xmm0                ## xmm0 = xmm0[0,0,0,0]
	paddd	%xmm5, %xmm0
	movdqa	%xmm0, %xmm4
	psrad	$8, %xmm4
	movdqa	%xmm0, %xmm2
	pcmpgtd	%xmm8, %xmm2
	pslld	$15, %xmm0
	blendvps	%xmm0, %xmm2, %xmm4
	pslld	%xmm9, %xmm13
	movd	24(%r10), %xmm0                 ## xmm0 = mem[0],zero,zero,zero
	pshufd	$0, %xmm0, %xmm0                ## xmm0 = xmm0[0,0,0,0]
	paddd	%xmm13, %xmm0
	movdqa	%xmm0, %xmm3
	psrad	$8, %xmm3
	movdqa	%xmm0, %xmm5
	pcmpgtd	%xmm8, %xmm5
	pslld	$15, %xmm0
	blendvps	%xmm0, %xmm5, %xmm3
	pslld	%xmm9, %xmm12
	movd	28(%r10), %xmm0                 ## xmm0 = mem[0],zero,zero,zero
	pshufd	$0, %xmm0, %xmm0                ## xmm0 = xmm0[0,0,0,0]
	paddd	%xmm12, %xmm0
	movdqa	%xmm0, %xmm5
	psrad	$8, %xmm5
	movdqa	%xmm0, %xmm6
	pcmpgtd	%xmm8, %xmm6
	pslld	$15, %xmm0
	blendvps	%xmm0, %xmm6, %xmm5
	movaps	%xmm3, %xmm2
	unpcklps	%xmm5, %xmm2                    ## xmm2 = xmm2[0],xmm5[0],xmm2[1],xmm5[1]
	movaps	%xmm1, %xmm12
	unpcklps	%xmm4, %xmm12                   ## xmm12 = xmm12[0],xmm4[0],xmm12[1],xmm4[1]
	movlhps	%xmm2, %xmm12                   ## xmm12 = xmm12[0],xmm2[0]
	movaps	%xmm14, %xmm0
	unpcklps	%xmm11, %xmm0                   ## xmm0 = xmm0[0],xmm11[0],xmm0[1],xmm11[1]
	movaps	%xmm15, %xmm7
	unpcklps	%xmm10, %xmm7                   ## xmm7 = xmm7[0],xmm10[0],xmm7[1],xmm10[1]
	movlhps	%xmm0, %xmm7                    ## xmm7 = xmm7[0],xmm0[0]
	pshufd	$85, %xmm1, %xmm6               ## xmm6 = xmm1[1,1,1,1]
	pblendw	$12, %xmm4, %xmm6               ## xmm6 = xmm6[0,1],xmm4[2,3],xmm6[4,5,6,7]
	pblendw	$240, %xmm2, %xmm6              ## xmm6 = xmm6[0,1,2,3],xmm2[4,5,6,7]
	pshufd	$85, %xmm15, %xmm2              ## xmm2 = xmm15[1,1,1,1]
	pblendw	$12, %xmm10, %xmm2              ## xmm2 = xmm2[0,1],xmm10[2,3],xmm2[4,5,6,7]
	pblendw	$240, %xmm0, %xmm2              ## xmm2 = xmm2[0,1,2,3],xmm0[4,5,6,7]
	pshufd	$170, %xmm5, %xmm0              ## xmm0 = xmm5[2,2,2,2]
	pblendw	$63, %xmm3, %xmm0               ## xmm0 = xmm3[0,1,2,3,4,5],xmm0[6,7]
	punpckhdq	%xmm4, %xmm1            ## xmm1 = xmm1[2],xmm4[2],xmm1[3],xmm4[3]
	pblendw	$15, %xmm1, %xmm0               ## xmm0 = xmm1[0,1,2,3],xmm0[4,5,6,7]
	pshufd	$170, %xmm11, %xmm4             ## xmm4 = xmm11[2,2,2,2]
	pblendw	$63, %xmm14, %xmm4              ## xmm4 = xmm14[0,1,2,3,4,5],xmm4[6,7]
	punpckhdq	%xmm10, %xmm15          ## xmm15 = xmm15[2],xmm10[2],xmm15[3],xmm10[3]
	pblendw	$15, %xmm15, %xmm4              ## xmm4 = xmm15[0,1,2,3],xmm4[4,5,6,7]
	punpckhdq	%xmm5, %xmm3            ## xmm3 = xmm3[2],xmm5[2],xmm3[3],xmm5[3]
	punpckhqdq	%xmm3, %xmm1            ## xmm1 = xmm1[1],xmm3[1]
	punpckhdq	%xmm11, %xmm14          ## xmm14 = xmm14[2],xmm11[2],xmm14[3],xmm11[3]
	punpckhqdq	%xmm14, %xmm15          ## xmm15 = xmm15[1],xmm14[1]
	movdqu	%xmm15, 96(%r15,%r14)
	movdqu	%xmm1, 112(%r15,%r14)
	movdqu	%xmm4, 64(%r15,%r14)
	movdqu	%xmm0, 80(%r15,%r14)
	movdqu	%xmm2, 32(%r15,%r14)
	movdqu	%xmm6, 48(%r15,%r14)
	movups	%xmm7, (%r15,%r14)
	movups	%xmm12, 16(%r15,%r14)
	subq	$-128, %r14
	addq	$-4, %r12
	jne	LBB0_9
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	-96(%rbp), %rbx                 ## 8-byte Reload
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	cmpq	%rax, -104(%rbp)                ## 8-byte Folded Reload
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	jne	LBB0_11
	jmp	LBB0_12
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	xorl	%ebx, %ebx
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	movq	%rax, %r9
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_11:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%rsi,%rbx,4), %eax
	shll	%cl, %eax
	addl	(%r10), %eax
	movl	%eax, %edi
	sarl	$8, %edi
	movl	%eax, %edx
	sarl	$31, %edx
	testl	$65536, %eax                    ## imm = 0x10000
	notl	%edx
	cmovel	%edi, %edx
	movl	%edx, (%r15,%rbx,4)
	movl	4(%rsi,%rbx,4), %eax
	shll	%cl, %eax
	addl	4(%r10), %eax
	movl	%eax, %edx
	sarl	$8, %edx
	movl	%eax, %edi
	sarl	$31, %edi
	testl	$65536, %eax                    ## imm = 0x10000
	notl	%edi
	cmovel	%edx, %edi
	movl	%edi, 4(%r15,%rbx,4)
	movl	8(%rsi,%rbx,4), %eax
	shll	%cl, %eax
	addl	8(%r10), %eax
	movl	%eax, %edx
	sarl	$8, %edx
	movl	%eax, %edi
	sarl	$31, %edi
	testl	$65536, %eax                    ## imm = 0x10000
	notl	%edi
	cmovel	%edx, %edi
	movl	%edi, 8(%r15,%rbx,4)
	movl	12(%rsi,%rbx,4), %eax
	shll	%cl, %eax
	addl	12(%r10), %eax
	movl	%eax, %edx
	sarl	$8, %edx
	movl	%eax, %edi
	sarl	$31, %edi
	testl	$65536, %eax                    ## imm = 0x10000
	notl	%edi
	cmovel	%edx, %edi
	movl	%edi, 12(%r15,%rbx,4)
	movl	16(%rsi,%rbx,4), %eax
	shll	%cl, %eax
	addl	16(%r10), %eax
	movl	%eax, %edx
	sarl	$8, %edx
	movl	%eax, %edi
	sarl	$31, %edi
	testl	$65536, %eax                    ## imm = 0x10000
	notl	%edi
	cmovel	%edx, %edi
	movl	%edi, 16(%r15,%rbx,4)
	movl	20(%rsi,%rbx,4), %eax
	shll	%cl, %eax
	addl	20(%r10), %eax
	movl	%eax, %edx
	sarl	$8, %edx
	movl	%eax, %edi
	sarl	$31, %edi
	testl	$65536, %eax                    ## imm = 0x10000
	notl	%edi
	cmovel	%edx, %edi
	movl	%edi, 20(%r15,%rbx,4)
	movl	24(%rsi,%rbx,4), %eax
	shll	%cl, %eax
	addl	24(%r10), %eax
	movl	%eax, %edx
	sarl	$8, %edx
	movl	%eax, %edi
	sarl	$31, %edi
	testl	$65536, %eax                    ## imm = 0x10000
	notl	%edi
	cmovel	%edx, %edi
	movl	%edi, 24(%r15,%rbx,4)
	movl	28(%rsi,%rbx,4), %eax
	shll	%cl, %eax
	addl	28(%r10), %eax
	movl	%eax, %edx
	sarl	$8, %edx
	movl	%eax, %edi
	sarl	$31, %edi
	testl	$65536, %eax                    ## imm = 0x10000
	notl	%edi
	cmovel	%edx, %edi
	movl	%edi, 28(%r15,%rbx,4)
	addq	$8, %rbx
	cmpq	%r13, %rbx
	jl	LBB0_11
	jmp	LBB0_12
LBB0_13:
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_dither,8,3                     ## @dither
	.no_dead_strip	_store_slice_c
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function store_slice_c
_store_slice_c:                         ; @store_slice_c
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 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 $w4 killed $w4 def $x4
                                        ; kill: def $w3 killed $w3 def $x3
                                        ; kill: def $w2 killed $w2 def $x2
	cmp	w5, #1
	b.lt	LBB0_13
; %bb.1:
	mov	x8, #0
Lloh0:
	adrp	x9, _dither@GOTPAGE
Lloh1:
	ldr	x9, [x9, _dither@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	sxtw	x10, w4
	sxtw	x11, w3
	sxtw	x12, w2
	mov	w13, w5
	add	x14, x10, #7
	and	x14, x14, #0xfffffffffffffff8
	sub	x15, x10, #1
	lsr	x16, x15, #3
	add	x16, x16, #1
	and	x17, x16, #0x3ffffffffffffffc
	lsl	x5, x17, #3
	str	x5, [sp, #8]                    ; 8-byte Folded Spill
	dup.4s	v0, w6
	sbfiz	x3, x3, #2, #32
	sbfiz	x2, x2, #2, #32
	mov	w7, #7
	movi.4s	v1, #1, lsl #16
	mov	x19, x0
	mov	x20, x1
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x8, x8, #1
	add	x20, x20, x3
	add	x19, x19, x2
	add	x7, x7, x11
	cmp	x8, x13
	b.eq	LBB0_13
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_9 Depth 2
                                        ;     Child Loop BB0_12 Depth 2
	cmp	w4, #1
	b.lt	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	and	x21, x8, #0x7
	ldr	x21, [x9, x21, lsl #3]
	cmp	x15, #24
	b.hs	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x22, #0
	b	LBB0_11
LBB0_6:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x22, #0
	mul	x23, x8, x12
	add	x24, x0, x23, lsl #2
	add	x23, x14, x23
	add	x25, x0, x23, lsl #2
	mul	x26, x8, x11
	add	x27, x1, x26, lsl #2
	add	x23, x21, #32
	cmp	x24, x23
	ccmp	x21, x25, #2, lo
	cset	w23, lo
	cmp	x27, x25
	add	x25, x14, x26
	add	x25, x1, x25, lsl #2
	ccmp	x24, x25, #2, lo
	b.lo	LBB0_11
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	tbnz	w23, #0, LBB0_11
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x22, x17
	mov	x23, x19
	mov	x24, x20
LBB0_9:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldp	q3, q2, [x24, #96]
	ldp	q5, q4, [x24, #64]
	ldp	q7, q6, [x24, #32]
	ldp	q17, q16, [x24]
	zip1.4s	v18, v17, v7
	zip1.4s	v19, v5, v3
	ext.16b	v20, v5, v19, #8
	trn2.4s	v21, v17, v7
	mov.d	v21[1], v19[1]
	zip2.4s	v19, v5, v3
	zip2.4s	v22, v17, v7
	uzp2.4s	v7, v17, v7
	mov.s	v5[3], v3[2]
	uzp2.4s	v3, v7, v17
	zip1.4s	v7, v16, v6
	zip1.4s	v17, v4, v2
	ext.16b	v23, v4, v17, #8
	mov.d	v18[1], v20[1]
	trn2.4s	v20, v16, v6
	mov.d	v20[1], v17[1]
	zip2.4s	v17, v4, v2
	mov.d	v3[1], v19[1]
	mov.s	v4[3], v2[2]
	zip2.4s	v19, v16, v6
	mov.d	v22[1], v5[1]
	uzp2.4s	v2, v16, v6
	uzp2.4s	v5, v2, v16
	mov.d	v5[1], v17[1]
	mov.d	v19[1], v4[1]
	mov	x25, x21
	ld1r.4s	{ v2 }, [x25], #4
	mov.d	v7[1], v23[1]
	ushl.4s	v4, v18, v0
	add.4s	v2, v4, v2
	sshr.4s	v4, v2, #8
	and.16b	v6, v2, v1
	ushl.4s	v16, v21, v0
	cmge.4s	v17, v2, #0
	ld1r.4s	{ v2 }, [x25]
	add.4s	v2, v16, v2
	sshr.4s	v16, v2, #8
	and.16b	v18, v2, v1
	cmeq.4s	v6, v6, #0
	cmeq.4s	v18, v18, #0
	cmge.4s	v2, v2, #0
	add	x25, x21, #8
	ld1r.4s	{ v21 }, [x25]
	bit.16b	v2, v16, v18
	ushl.4s	v16, v22, v0
	ushl.4s	v3, v3, v0
	add	x25, x21, #12
	ld1r.4s	{ v18 }, [x25]
	add.4s	v16, v16, v21
	add.4s	v3, v3, v18
	sshr.4s	v18, v3, #8
	and.16b	v21, v3, v1
	cmeq.4s	v21, v21, #0
	cmge.4s	v22, v3, #0
	mov.16b	v3, v6
	bsl.16b	v3, v4, v17
	ushl.4s	v4, v7, v0
	add	x25, x21, #16
	ld1r.4s	{ v6 }, [x25]
	add.4s	v4, v4, v6
	mov.16b	v6, v21
	bsl.16b	v6, v18, v22
	sshr.4s	v7, v4, #8
	and.16b	v17, v4, v1
	cmeq.4s	v17, v17, #0
	cmge.4s	v4, v4, #0
	bit.16b	v4, v7, v17
	sshr.4s	v7, v16, #8
	ushl.4s	v17, v20, v0
	add	x25, x21, #20
	ld1r.4s	{ v18 }, [x25]
	add.4s	v17, v17, v18
	and.16b	v18, v16, v1
	sshr.4s	v20, v17, #8
	and.16b	v21, v17, v1
	cmeq.4s	v21, v21, #0
	cmge.4s	v17, v17, #0
	bit.16b	v17, v20, v21
	cmge.4s	v16, v16, #0
	ushl.4s	v19, v19, v0
	add	x25, x21, #24
	ld1r.4s	{ v20 }, [x25]
	add.4s	v19, v19, v20
	cmeq.4s	v18, v18, #0
	sshr.4s	v20, v19, #8
	and.16b	v21, v19, v1
	cmeq.4s	v21, v21, #0
	cmge.4s	v19, v19, #0
	ushl.4s	v5, v5, v0
	bif.16b	v7, v16, v18
	add	x25, x21, #28
	ld1r.4s	{ v16 }, [x25]
	add.4s	v5, v5, v16
	sshr.4s	v16, v5, #8
	mov.16b	v18, v21
	bsl.16b	v18, v20, v19
	and.16b	v19, v5, v1
	cmeq.4s	v19, v19, #0
	cmge.4s	v5, v5, #0
	bit.16b	v5, v16, v19
	zip1.4s	v16, v4, v17
	zip1.4s	v19, v18, v5
	ext.16b	v20, v18, v19, #8
	zip2.4s	v21, v18, v5
	uzp2.4s	v22, v4, v17
	uzp2.4s	v22, v22, v4
	mov.d	v22[1], v21[1]
	zip1.4s	v21, v3, v2
	zip2.4s	v23, v7, v6
	uzp2.4s	v24, v3, v2
	uzp2.4s	v24, v24, v3
	mov.d	v24[1], v23[1]
	trn2.4s	v23, v4, v17
	mov.d	v23[1], v19[1]
	zip1.4s	v19, v7, v6
	mov.d	v16[1], v20[1]
	trn2.4s	v20, v3, v2
	mov.d	v20[1], v19[1]
	ext.16b	v19, v7, v19, #8
	mov.d	v21[1], v19[1]
	mov.s	v18[3], v5[2]
	zip2.4s	v4, v4, v17
	mov.d	v4[1], v18[1]
	mov.s	v7[3], v6[2]
	zip2.4s	v2, v3, v2
	mov.d	v2[1], v7[1]
	stp	q20, q23, [x23, #32]
	stp	q4, q24, [x23, #80]
	str	q2, [x23, #64]
	str	q22, [x23, #112]
	stp	q21, q16, [x23], #128
	add	x24, x24, #128
	subs	x22, x22, #4
	b.ne	LBB0_9
; %bb.10:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x22, [sp, #8]                   ; 8-byte Folded Reload
	cmp	x16, x17
	b.eq	LBB0_2
LBB0_11:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x23, #0
	add	x24, x22, x7
	add	x24, x1, x24, lsl #2
	add	x25, x19, x22, lsl #2
LBB0_12:                                ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	x26, x24, x23
	ldur	w27, [x26, #-28]
	lsl	w27, w27, w6
	ldr	w28, [x21]
	add	w27, w27, w28
	asr	w28, w27, #8
	asr	w30, w27, #31
	tst	w27, #0x10000
	csinv	w28, w28, w30, eq
	add	x27, x25, x23
	str	w28, [x27]
	ldur	w28, [x26, #-24]
	lsl	w28, w28, w6
	ldr	w30, [x21, #4]
	add	w28, w28, w30
	asr	w30, w28, #8
	asr	w5, w28, #31
	tst	w28, #0x10000
	csinv	w5, w30, w5, eq
	str	w5, [x27, #4]
	ldur	w5, [x26, #-20]
	ldr	w28, [x21, #8]
	lsl	w5, w5, w6
	add	w5, w5, w28
	asr	w28, w5, #8
	asr	w30, w5, #31
	tst	w5, #0x10000
	csinv	w5, w28, w30, eq
	str	w5, [x27, #8]
	ldur	w5, [x26, #-16]
	lsl	w5, w5, w6
	ldr	w28, [x21, #12]
	add	w5, w5, w28
	asr	w28, w5, #8
	asr	w30, w5, #31
	tst	w5, #0x10000
	csinv	w5, w28, w30, eq
	str	w5, [x27, #12]
	ldur	w5, [x26, #-12]
	ldr	w28, [x21, #16]
	lsl	w5, w5, w6
	add	w5, w5, w28
	asr	w28, w5, #8
	asr	w30, w5, #31
	tst	w5, #0x10000
	csinv	w5, w28, w30, eq
	str	w5, [x27, #16]
	ldur	w5, [x26, #-8]
	lsl	w5, w5, w6
	ldr	w28, [x21, #20]
	add	w5, w5, w28
	asr	w28, w5, #8
	asr	w30, w5, #31
	tst	w5, #0x10000
	csinv	w5, w28, w30, eq
	str	w5, [x27, #20]
	ldur	w5, [x26, #-4]
	ldr	w28, [x21, #24]
	lsl	w5, w5, w6
	add	w5, w5, w28
	asr	w28, w5, #8
	asr	w30, w5, #31
	tst	w5, #0x10000
	csinv	w5, w28, w30, eq
	str	w5, [x27, #24]
	ldr	w5, [x26]
	lsl	w5, w5, w6
	ldr	w26, [x21, #28]
	add	w5, w5, w26
	asr	w26, w5, #8
	asr	w28, w5, #31
	tst	w5, #0x10000
	csinv	w5, w26, w28, eq
	str	w5, [x27, #28]
	add	x22, x22, #8
	add	x23, x23, #32
	cmp	x22, x10
	b.lt	LBB0_12
	b	LBB0_2
LBB0_13:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_dither,8,3                     ; @dither
	.no_dead_strip	_store_slice_c
.subsections_via_symbols
