	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function convert_r8g8_snorm
LCPI0_0:
	.byte	128                             ## 0x80
	.byte	128                             ## 0x80
	.byte	128                             ## 0x80
	.byte	128                             ## 0x80
	.byte	128                             ## 0x80
	.byte	128                             ## 0x80
	.byte	128                             ## 0x80
	.byte	128                             ## 0x80
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
LCPI0_1:
	.byte	0                               ## 0x0
	.byte	2                               ## 0x2
	.byte	4                               ## 0x4
	.byte	6                               ## 0x6
	.byte	8                               ## 0x8
	.byte	10                              ## 0xa
	.byte	12                              ## 0xc
	.byte	14                              ## 0xe
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
LCPI0_2:
	.byte	0                               ## 0x0
	.byte	8                               ## 0x8
	.byte	128                             ## 0x80
	.byte	1                               ## 0x1
	.byte	9                               ## 0x9
	.byte	128                             ## 0x80
	.byte	2                               ## 0x2
	.byte	10                              ## 0xa
	.byte	128                             ## 0x80
	.byte	3                               ## 0x3
	.byte	11                              ## 0xb
	.byte	128                             ## 0x80
	.byte	4                               ## 0x4
	.byte	12                              ## 0xc
	.byte	128                             ## 0x80
	.byte	5                               ## 0x5
LCPI0_3:
	.byte	128                             ## 0x80
	.byte	128                             ## 0x80
	.byte	0                               ## 0x0
	.byte	128                             ## 0x80
	.byte	128                             ## 0x80
	.byte	1                               ## 0x1
	.byte	128                             ## 0x80
	.byte	128                             ## 0x80
	.byte	2                               ## 0x2
	.byte	128                             ## 0x80
	.byte	128                             ## 0x80
	.byte	3                               ## 0x3
	.byte	128                             ## 0x80
	.byte	128                             ## 0x80
	.byte	4                               ## 0x4
	.byte	128                             ## 0x80
LCPI0_4:
	.byte	13                              ## 0xd
	.byte	128                             ## 0x80
	.byte	6                               ## 0x6
	.byte	14                              ## 0xe
	.byte	128                             ## 0x80
	.byte	7                               ## 0x7
	.byte	15                              ## 0xf
	.byte	128                             ## 0x80
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
LCPI0_5:
	.byte	128                             ## 0x80
	.byte	5                               ## 0x5
	.byte	128                             ## 0x80
	.byte	128                             ## 0x80
	.byte	6                               ## 0x6
	.byte	128                             ## 0x80
	.byte	128                             ## 0x80
	.byte	7                               ## 0x7
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_convert_r8g8_snorm:                    ## @convert_r8g8_snorm
	.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	$64, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, -48(%rbp)                 ## 4-byte Spill
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movq	%rsi, -80(%rbp)                 ## 8-byte Spill
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	movl	32(%rbp), %eax
	testl	%eax, %eax
	je	LBB0_25
## %bb.1:
	movl	16(%rbp), %r14d
	movl	%eax, %eax
	movq	%rax, -152(%rbp)                ## 8-byte Spill
	movl	24(%rbp), %r12d
	leal	-1(%r14), %r15d
	leaq	(%r15,%r15,2), %rax
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	leaq	3(%rcx,%rax), %rax
	movq	%rax, -144(%rbp)                ## 8-byte Spill
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	leaq	2(%rcx,%r15,2), %rax
	movq	%rax, -136(%rbp)                ## 8-byte Spill
	leaq	1(%r15), %rax
	movq	%rax, -208(%rbp)                ## 8-byte Spill
	movq	%rax, %rsi
	andq	$-8, %rsi
	leaq	-8(%rsi), %rax
	movq	%rax, -200(%rbp)                ## 8-byte Spill
	movq	%rax, %rdi
	shrq	$3, %rdi
	incq	%rdi
	movq	%rdi, %rax
	movq	%rdi, -192(%rbp)                ## 8-byte Spill
	andq	$-2, %rdi
	movq	%rdi, -168(%rbp)                ## 8-byte Spill
	movl	$255, %eax
	movd	%eax, %xmm3
	pinsrb	$1, %eax, %xmm3
	pinsrb	$2, %eax, %xmm3
	pinsrb	$3, %eax, %xmm3
	pinsrb	$4, %eax, %xmm3
	pinsrb	$5, %eax, %xmm3
	pinsrb	$6, %eax, %xmm3
	pinsrb	$7, %eax, %xmm3
	movl	%r14d, %eax
	negl	%eax
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	movdqa	LCPI0_0(%rip), %xmm1            ## xmm1 = <128,128,128,128,128,128,128,128,u,u,u,u,u,u,u,u>
	movdqa	LCPI0_1(%rip), %xmm8            ## xmm8 = <0,2,4,6,8,10,12,14,u,u,u,u,u,u,u,u>
	movdqa	LCPI0_2(%rip), %xmm9            ## xmm9 = [0,8,128,1,9,128,2,10,128,3,11,128,4,12,128,5]
	movdqa	LCPI0_3(%rip), %xmm10           ## xmm10 = [128,128,0,128,128,1,128,128,2,128,128,3,128,128,4,128]
	movdqa	LCPI0_4(%rip), %xmm5            ## xmm5 = <13,128,6,14,128,7,15,128,u,u,u,u,u,u,u,u>
	movdqa	LCPI0_5(%rip), %xmm6            ## xmm6 = <128,5,128,128,6,128,128,7,u,u,u,u,u,u,u,u>
	movq	%rsi, -104(%rbp)                ## 8-byte Spill
	leaq	(%rsi,%rsi,2), %rax
	movq	%rax, -160(%rbp)                ## 8-byte Spill
	leaq	16(%rcx), %rax
	movq	%rax, -128(%rbp)                ## 8-byte Spill
	xorl	%eax, %eax
	xorl	%ecx, %ecx
	xorl	%esi, %esi
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	%r15, -112(%rbp)                ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_24:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	incq	%rdi
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	addl	-48(%rbp), %ecx                 ## 4-byte Folded Reload
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	addl	-44(%rbp), %eax                 ## 4-byte Folded Reload
	movq	%rdi, %rsi
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	cmpq	-152(%rbp), %rdi                ## 8-byte Folded Reload
	je	LBB0_25
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
                                        ##       Child Loop BB0_12 Depth 3
                                        ##       Child Loop BB0_22 Depth 3
	movl	%ecx, %ecx
	movq	%rcx, -88(%rbp)                 ## 8-byte Spill
	movl	%eax, %eax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	cmpl	$0, 24(%rbp)
	je	LBB0_24
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	%eax, %ecx
	imull	-44(%rbp), %ecx                 ## 4-byte Folded Reload
	movl	%eax, %esi
	imull	-48(%rbp), %esi                 ## 4-byte Folded Reload
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	addq	%rcx, %rax
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%rsi), %rdi
	movq	%rdi, -232(%rbp)                ## 8-byte Spill
	addq	-144(%rbp), %rsi                ## 8-byte Folded Reload
	movq	%rsi, -216(%rbp)                ## 8-byte Spill
	addq	-136(%rbp), %rcx                ## 8-byte Folded Reload
	movq	%rcx, -224(%rbp)                ## 8-byte Spill
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	addq	%rcx, %rax
	movq	%rax, -184(%rbp)                ## 8-byte Spill
	movq	-128(%rbp), %rax                ## 8-byte Reload
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	addq	%rcx, %rax
	movq	%rax, -176(%rbp)                ## 8-byte Spill
	xorl	%r13d, %r13d
	xorl	%r10d, %r10d
	xorl	%r11d, %r11d
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_23:                                ##   in Loop: Header=BB0_4 Depth=2
	incq	%r11
	addl	%r8d, %r10d
	addl	%edx, %r13d
	cmpq	%r12, %r11
	je	LBB0_24
LBB0_4:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_12 Depth 3
                                        ##       Child Loop BB0_22 Depth 3
	testl	%r14d, %r14d
	je	LBB0_23
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=2
	movl	%r11d, %esi
	imull	%r8d, %esi
	movq	-232(%rbp), %rdi                ## 8-byte Reload
	addq	%rdi, %rsi
	movl	%r11d, %r9d
	imull	%edx, %r9d
	addq	-120(%rbp), %r9                 ## 8-byte Folded Reload
	xorl	%ecx, %ecx
	cmpl	$7, %r15d
	jb	LBB0_17
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=2
	movq	%r12, %r15
	movq	%r14, %r12
	movl	%r11d, %eax
	imull	%r8d, %eax
	leaq	(%rdi,%rax), %r14
	movl	%r11d, %edi
	imull	%edx, %edi
	movq	-224(%rbp), %rbx                ## 8-byte Reload
	addq	%rdi, %rbx
	cmpq	%rbx, %r14
	jae	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=2
	addq	-216(%rbp), %rax                ## 8-byte Folded Reload
	addq	-120(%rbp), %rdi                ## 8-byte Folded Reload
	cmpq	%rax, %rdi
	jae	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=2
	movq	%r12, %r14
	movq	%r15, %r12
	movq	-112(%rbp), %r15                ## 8-byte Reload
	jmp	LBB0_17
LBB0_9:                                 ##   in Loop: Header=BB0_4 Depth=2
	cmpq	$0, -200(%rbp)                  ## 8-byte Folded Reload
	je	LBB0_10
## %bb.11:                              ##   in Loop: Header=BB0_4 Depth=2
	movl	%r10d, %edi
	addq	-184(%rbp), %rdi                ## 8-byte Folded Reload
	movl	%r13d, %r14d
	addq	-176(%rbp), %r14                ## 8-byte Folded Reload
	movq	-168(%rbp), %rax                ## 8-byte Reload
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_12:                                ##   Parent Loop BB0_2 Depth=1
                                        ##     Parent Loop BB0_4 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movdqu	-16(%r14,%rcx,2), %xmm7
	movdqa	%xmm7, %xmm2
	psrlw	$8, %xmm2
	packuswb	%xmm2, %xmm2
	pxor	%xmm1, %xmm2
	pshufb	%xmm8, %xmm7
	pxor	%xmm1, %xmm7
	movdqa	%xmm3, %xmm0
	punpcklqdq	%xmm2, %xmm0            ## xmm0 = xmm0[0],xmm2[0]
	movdqa	%xmm0, %xmm2
	pshufb	%xmm9, %xmm2
	movdqa	%xmm7, %xmm4
	pshufb	%xmm10, %xmm4
	por	%xmm2, %xmm4
	pshufb	%xmm5, %xmm0
	pshufb	%xmm6, %xmm7
	por	%xmm0, %xmm7
	movq	%xmm7, 16(%rdi)
	movdqu	%xmm4, (%rdi)
	movdqu	(%r14,%rcx,2), %xmm0
	movdqa	%xmm0, %xmm2
	psrlw	$8, %xmm2
	packuswb	%xmm2, %xmm2
	pxor	%xmm1, %xmm2
	pshufb	%xmm8, %xmm0
	pxor	%xmm1, %xmm0
	movdqa	%xmm3, %xmm4
	punpcklqdq	%xmm2, %xmm4            ## xmm4 = xmm4[0],xmm2[0]
	movdqa	%xmm4, %xmm2
	pshufb	%xmm9, %xmm2
	movdqa	%xmm0, %xmm7
	pshufb	%xmm10, %xmm7
	por	%xmm2, %xmm7
	pshufb	%xmm5, %xmm4
	pshufb	%xmm6, %xmm0
	por	%xmm4, %xmm0
	movq	%xmm0, 40(%rdi)
	movdqu	%xmm7, 24(%rdi)
	addq	$16, %rcx
	addq	$48, %rdi
	addq	$-2, %rax
	jne	LBB0_12
## %bb.13:                              ##   in Loop: Header=BB0_4 Depth=2
	testb	$1, -192(%rbp)                  ## 1-byte Folded Reload
	je	LBB0_15
LBB0_14:                                ##   in Loop: Header=BB0_4 Depth=2
	leaq	(%rcx,%rcx,2), %rax
	movdqu	(%r9,%rcx,2), %xmm0
	movdqa	%xmm0, %xmm2
	psrlw	$8, %xmm2
	packuswb	%xmm2, %xmm2
	pxor	%xmm1, %xmm2
	pshufb	%xmm8, %xmm0
	pxor	%xmm1, %xmm0
	movdqa	%xmm3, %xmm4
	punpcklqdq	%xmm2, %xmm4            ## xmm4 = xmm4[0],xmm2[0]
	movdqa	%xmm4, %xmm2
	pshufb	%xmm9, %xmm2
	movdqa	%xmm0, %xmm7
	pshufb	%xmm10, %xmm7
	por	%xmm2, %xmm7
	pshufb	%xmm5, %xmm4
	pshufb	%xmm6, %xmm0
	por	%xmm4, %xmm0
	movq	%xmm0, 16(%rsi,%rax)
	movdqu	%xmm7, (%rsi,%rax)
LBB0_15:                                ##   in Loop: Header=BB0_4 Depth=2
	movq	-104(%rbp), %rax                ## 8-byte Reload
	cmpq	%rax, -208(%rbp)                ## 8-byte Folded Reload
	movq	%r12, %r14
	movq	%r15, %r12
	movq	-112(%rbp), %r15                ## 8-byte Reload
	je	LBB0_23
## %bb.16:                              ##   in Loop: Header=BB0_4 Depth=2
	addq	-160(%rbp), %rsi                ## 8-byte Folded Reload
	movq	-104(%rbp), %rcx                ## 8-byte Reload
	leaq	(%r9,%rcx,2), %r9
                                        ## kill: def $ecx killed $ecx killed $rcx def $rcx
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_4 Depth=2
	movl	%r14d, %eax
	subl	%ecx, %eax
	testb	$1, %al
	jne	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_4 Depth=2
	movl	%ecx, %edi
	jmp	LBB0_20
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_4 Depth=2
	movzwl	(%r9), %eax
	addq	$2, %r9
	movb	$-1, (%rsi)
	movl	%eax, %edi
	shrl	$8, %edi
	addb	$-128, %dil
	movb	%dil, 1(%rsi)
	addb	$-128, %al
	movb	%al, 2(%rsi)
	addq	$3, %rsi
	leal	1(%rcx), %edi
LBB0_20:                                ##   in Loop: Header=BB0_4 Depth=2
	notl	%ecx
	cmpl	-60(%rbp), %ecx                 ## 4-byte Folded Reload
	je	LBB0_23
## %bb.21:                              ##   in Loop: Header=BB0_4 Depth=2
	movl	%r14d, %eax
	subl	%edi, %eax
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_22:                                ##   Parent Loop BB0_2 Depth=1
                                        ##     Parent Loop BB0_4 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movzwl	(%r9,%rcx,2), %edi
	movb	$-1, (%rsi)
	movl	%edi, %ebx
	shrl	$8, %ebx
	addb	$-128, %bl
	movb	%bl, 1(%rsi)
	addb	$-128, %dil
	movb	%dil, 2(%rsi)
	movzwl	2(%r9,%rcx,2), %edi
	movb	$-1, 3(%rsi)
	movl	%edi, %ebx
	shrl	$8, %ebx
	addb	$-128, %bl
	movb	%bl, 4(%rsi)
	addb	$-128, %dil
	movb	%dil, 5(%rsi)
	addq	$2, %rcx
	addq	$6, %rsi
	cmpl	%ecx, %eax
	jne	LBB0_22
	jmp	LBB0_23
LBB0_10:                                ##   in Loop: Header=BB0_4 Depth=2
	xorl	%ecx, %ecx
	testb	$1, -192(%rbp)                  ## 1-byte Folded Reload
	jne	LBB0_14
	jmp	LBB0_15
LBB0_25:
	addq	$64, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_convert_r8g8_snorm
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function convert_r8g8_snorm
_convert_r8g8_snorm:                    ; @convert_r8g8_snorm
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 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
	stp	w7, w5, [sp, #56]               ; 8-byte Folded Spill
	stp	x0, x1, [sp, #32]               ; 16-byte Folded Spill
	ldr	w8, [sp, #160]
	str	x8, [sp, #48]                   ; 8-byte Folded Spill
	cbz	w8, LBB0_16
; %bb.1:
	mov	w8, #0
	mov	w11, #0
	mov	x9, #0
	sub	w10, w6, #1
	lsl	x12, x10, #1
	add	x13, x12, x10
	ldp	x15, x14, [sp, #32]             ; 16-byte Folded Reload
	add	x13, x13, x14
	add	x13, x13, #3
	add	x12, x12, x15
	add	x12, x12, #2
	stp	x12, x13, [sp, #16]             ; 16-byte Folded Spill
	add	x13, x10, #1
	and	x0, x13, #0x1ffffffe0
	add	x12, x14, #48
	str	x12, [sp, #8]                   ; 8-byte Folded Spill
	add	x12, x15, #32
	str	x12, [sp]                       ; 8-byte Folded Spill
	mov	w17, #255
	movi.8b	v0, #128
	movi.2d	v1, #0xffffffffffffffff
	ldr	w12, [sp, #56]                  ; 4-byte Folded Reload
	mov	w19, w12
	add	x20, x0, x0, lsl #1
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x9, x9, #1
	ldr	w8, [sp, #60]                   ; 4-byte Folded Reload
	add	w11, w5, w8
	add	w8, w22, w3
	ldr	x12, [sp, #48]                  ; 8-byte Folded Reload
	cmp	x9, x12
	b.eq	LBB0_16
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
                                        ;       Child Loop BB0_14 Depth 3
                                        ;       Child Loop BB0_12 Depth 3
	mov	w5, w11
	mov	w22, w8
	ldr	w8, [sp, #56]                   ; 4-byte Folded Reload
	cbz	w8, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	w23, #0
	mov	w24, #0
	mov	x25, #0
	mul	w8, w9, w3
	ldr	w11, [sp, #60]                  ; 4-byte Folded Reload
	mul	w11, w9, w11
	ldr	x12, [sp, #32]                  ; 8-byte Folded Reload
	add	x26, x12, x8
	ldr	x12, [sp, #40]                  ; 8-byte Folded Reload
	add	x27, x12, x11
	ldr	x12, [sp, #24]                  ; 8-byte Folded Reload
	add	x28, x12, x11
	ldr	x11, [sp, #16]                  ; 8-byte Folded Reload
	add	x30, x11, x8
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	add	x11, x8, x5
	ldr	x8, [sp]                        ; 8-byte Folded Reload
	add	x12, x8, x22
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=2
	add	x25, x25, #1
	add	w24, w24, w4
	add	w23, w23, w2
	cmp	x25, x19
	b.eq	LBB0_2
LBB0_6:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_14 Depth 3
                                        ;       Child Loop BB0_12 Depth 3
	cbz	w6, LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=2
	mul	w8, w25, w4
	add	x15, x27, x8
	mul	w8, w25, w2
	add	x16, x26, x8
	cmp	w10, #31
	b.lo	LBB0_10
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=2
	mul	w8, w25, w4
	add	x1, x27, x8
	mul	w14, w25, w2
	add	x7, x30, x14
	cmp	x1, x7
	b.hs	LBB0_13
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=2
	add	x8, x28, x8
	add	x14, x26, x14
	cmp	x14, x8
	b.hs	LBB0_13
LBB0_10:                                ;   in Loop: Header=BB0_6 Depth=2
	mov	w8, #0
LBB0_11:                                ;   in Loop: Header=BB0_6 Depth=2
	sub	w8, w6, w8
LBB0_12:                                ;   Parent Loop BB0_3 Depth=1
                                        ;     Parent Loop BB0_6 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldrh	w14, [x16], #2
	strb	w17, [x15]
	lsr	w1, w14, #8
	eor	w1, w1, #0x80
	strb	w1, [x15, #1]
	eor	w14, w14, #0x80
	strb	w14, [x15, #2]
	add	x15, x15, #3
	subs	w8, w8, #1
	b.ne	LBB0_12
	b	LBB0_5
LBB0_13:                                ;   in Loop: Header=BB0_6 Depth=2
	add	x1, x11, w24, uxtw
	add	x8, x12, w23, uxtw
	add	x15, x15, x20
	mov	x14, x0
	add	x16, x16, x0, lsl #1
LBB0_14:                                ;   Parent Loop BB0_3 Depth=1
                                        ;     Parent Loop BB0_6 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldp	q4, q5, [x8, #-32]
	ldp	q6, q7, [x8], #64
	shrn.8b	v16, v4, #8
	shrn.8b	v17, v5, #8
	shrn.8b	v18, v6, #8
	shrn.8b	v19, v7, #8
	eor.8b	v21, v16, v0
	eor.8b	v24, v17, v0
	eor.8b	v17, v18, v0
	eor.8b	v2, v19, v0
	xtn.8b	v4, v4
	xtn.8b	v5, v5
	xtn.8b	v6, v6
	xtn.8b	v7, v7
	eor.8b	v22, v4, v0
	eor.8b	v25, v5, v0
	eor.8b	v18, v6, v0
	eor.8b	v3, v7, v0
	sub	x7, x1, #48
	sub	x21, x1, #24
	fmov	d20, d1
	st3.8b	{ v20, v21, v22 }, [x7]
	fmov	d16, d1
	fmov	d23, d1
	st3.8b	{ v23, v24, v25 }, [x21]
	add	x7, x1, #96
	st3.8b	{ v16, v17, v18 }, [x1], #24
	st3.8b	{ v1, v2, v3 }, [x1]
	mov	x1, x7
	subs	x14, x14, #32
	b.ne	LBB0_14
; %bb.15:                               ;   in Loop: Header=BB0_6 Depth=2
	mov	x8, x0
	cmp	x13, x0
	b.eq	LBB0_5
	b	LBB0_11
LBB0_16:
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_convert_r8g8_snorm
.subsections_via_symbols
