	.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_r5g5_snorm_l6_unorm_nv
LCPI0_0:
	.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_1:
	.space	16,248
LCPI0_2:
	.short	16                              ## 0x10
	.short	16                              ## 0x10
	.short	16                              ## 0x10
	.short	16                              ## 0x10
	.short	16                              ## 0x10
	.short	16                              ## 0x10
	.short	16                              ## 0x10
	.short	16                              ## 0x10
LCPI0_3:
	.byte	15                              ## 0xf
	.byte	15                              ## 0xf
	.byte	15                              ## 0xf
	.byte	15                              ## 0xf
	.byte	15                              ## 0xf
	.byte	15                              ## 0xf
	.byte	15                              ## 0xf
	.byte	15                              ## 0xf
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
LCPI0_4:
	.short	248                             ## 0xf8
	.short	248                             ## 0xf8
	.short	248                             ## 0xf8
	.short	248                             ## 0xf8
	.short	248                             ## 0xf8
	.short	248                             ## 0xf8
	.short	248                             ## 0xf8
	.short	248                             ## 0xf8
LCPI0_5:
	.short	512                             ## 0x200
	.short	512                             ## 0x200
	.short	512                             ## 0x200
	.short	512                             ## 0x200
	.short	512                             ## 0x200
	.short	512                             ## 0x200
	.short	512                             ## 0x200
	.short	512                             ## 0x200
LCPI0_6:
	.short	15                              ## 0xf
	.short	15                              ## 0xf
	.short	15                              ## 0xf
	.short	15                              ## 0xf
	.short	15                              ## 0xf
	.short	15                              ## 0xf
	.short	15                              ## 0xf
	.short	15                              ## 0xf
LCPI0_7:
	.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_8:
	.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_9:
	.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_10:
	.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_r5g5_snorm_l6_unorm_nv:        ## @convert_r5g5_snorm_l6_unorm_nv
	.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	$32, %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_15
## %bb.1:
	movl	16(%rbp), %ecx
	movl	%eax, %eax
	movq	%rax, -128(%rbp)                ## 8-byte Spill
	leal	-1(%rcx), %esi
	leaq	(%rsi,%rsi,2), %rax
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	leaq	3(%rcx,%rax), %rax
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	leaq	2(%rax,%rsi,2), %rax
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	movq	%rsi, -192(%rbp)                ## 8-byte Spill
	leaq	1(%rsi), %rax
	movq	%rax, -152(%rbp)                ## 8-byte Spill
	andq	$-8, %rax
	movq	%rax, -144(%rbp)                ## 8-byte Spill
	leaq	(%rax,%rax,2), %rax
	movq	%rax, -136(%rbp)                ## 8-byte Spill
	xorl	%r12d, %r12d
	movdqa	LCPI0_0(%rip), %xmm9            ## xmm9 = <0,2,4,6,8,10,12,14,u,u,u,u,u,u,u,u>
	movdqa	LCPI0_2(%rip), %xmm11           ## xmm11 = [16,16,16,16,16,16,16,16]
	movdqa	LCPI0_3(%rip), %xmm12           ## xmm12 = [15,15,15,15,15,15,15,15,0,0,0,0,0,0,0,0]
	movdqa	LCPI0_4(%rip), %xmm3            ## xmm3 = [248,248,248,248,248,248,248,248]
	movdqa	LCPI0_5(%rip), %xmm5            ## xmm5 = [512,512,512,512,512,512,512,512]
	movdqa	LCPI0_6(%rip), %xmm6            ## xmm6 = [15,15,15,15,15,15,15,15]
	movdqa	LCPI0_7(%rip), %xmm4            ## xmm4 = [0,8,128,1,9,128,2,10,128,3,11,128,4,12,128,5]
	movdqa	LCPI0_8(%rip), %xmm8            ## xmm8 = [128,128,0,128,128,1,128,128,2,128,128,3,128,128,4,128]
	movdqa	LCPI0_9(%rip), %xmm15           ## xmm15 = <13,128,6,14,128,7,15,128,u,u,u,u,u,u,u,u>
	movdqa	LCPI0_10(%rip), %xmm13          ## xmm13 = <128,5,128,128,6,128,128,7,u,u,u,u,u,u,u,u>
	xorl	%eax, %eax
	xorl	%ecx, %ecx
	xorl	%esi, %esi
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	movl	%r8d, -56(%rbp)                 ## 4-byte Spill
	movl	%edx, -52(%rbp)                 ## 4-byte Spill
	pxor	%xmm10, %xmm10
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-64(%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, -64(%rbp)                 ## 8-byte Spill
	cmpq	-128(%rbp), %rdi                ## 8-byte Folded Reload
	je	LBB0_15
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
                                        ##       Child Loop BB0_9 Depth 3
                                        ##       Child Loop BB0_12 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_14
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	%eax, %esi
	imull	-44(%rbp), %esi                 ## 4-byte Folded Reload
	movl	%eax, %edi
	imull	-48(%rbp), %edi                 ## 4-byte Folded Reload
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rcx,%rsi), %rax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%rdi), %rbx
	movq	%rbx, -200(%rbp)                ## 8-byte Spill
	addq	-120(%rbp), %rdi                ## 8-byte Folded Reload
	movq	%rdi, -176(%rbp)                ## 8-byte Spill
	addq	-112(%rbp), %rsi                ## 8-byte Folded Reload
	movq	%rsi, -184(%rbp)                ## 8-byte Spill
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	addq	%rsi, %rax
	movq	%rax, -168(%rbp)                ## 8-byte Spill
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	addq	%rcx, %rax
	movq	%rax, -160(%rbp)                ## 8-byte Spill
	xorl	%r9d, %r9d
	xorl	%r11d, %r11d
	xorl	%r13d, %r13d
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_4 Depth=2
	incq	%r13
	movl	-56(%rbp), %r8d                 ## 4-byte Reload
	addl	%r8d, %r11d
	movl	-52(%rbp), %edx                 ## 4-byte Reload
	addl	%edx, %r9d
	movl	24(%rbp), %eax
	cmpq	%rax, %r13
	je	LBB0_14
LBB0_4:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_9 Depth 3
                                        ##       Child Loop BB0_12 Depth 3
	movl	16(%rbp), %eax
	testl	%eax, %eax
	je	LBB0_13
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=2
	movl	%r13d, %r15d
	movl	-56(%rbp), %ecx                 ## 4-byte Reload
	imull	%ecx, %r15d
	movq	-200(%rbp), %rsi                ## 8-byte Reload
	addq	%rsi, %r15
	movl	%r13d, %r10d
	movl	-52(%rbp), %edx                 ## 4-byte Reload
	imull	%edx, %r10d
	addq	-104(%rbp), %r10                ## 8-byte Folded Reload
	xorl	%r14d, %r14d
	cmpl	$7, -192(%rbp)                  ## 4-byte Folded Reload
	jb	LBB0_11
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=2
	movl	%r13d, %eax
	imull	%ecx, %eax
	addq	%rax, %rsi
	movl	%r13d, %ecx
	imull	%edx, %ecx
	movq	-184(%rbp), %rdx                ## 8-byte Reload
	leaq	(%rdx,%rcx), %rbx
	cmpq	%rbx, %rsi
	jae	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=2
	addq	-176(%rbp), %rax                ## 8-byte Folded Reload
	addq	-104(%rbp), %rcx                ## 8-byte Folded Reload
	cmpq	%rax, %rcx
	jb	LBB0_11
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=2
	movl	%r11d, %r14d
	addq	-168(%rbp), %r14                ## 8-byte Folded Reload
	movl	%r9d, %eax
	addq	-160(%rbp), %rax                ## 8-byte Folded Reload
	movq	-144(%rbp), %rcx                ## 8-byte Reload
	leaq	(%r10,%rcx,2), %r10
	addq	-136(%rbp), %r15                ## 8-byte Folded Reload
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_9:                                 ##   Parent Loop BB0_2 Depth=1
                                        ##     Parent Loop BB0_4 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movdqu	(%rax,%rbx,2), %xmm2
	movdqa	%xmm2, %xmm7
	pshufb	%xmm9, %xmm7
	movdqa	%xmm8, %xmm14
	movdqa	%xmm7, %xmm8
	movdqa	%xmm2, %xmm0
	pand	%xmm11, %xmm0
	pcmpeqw	%xmm10, %xmm0
	packsswb	%xmm0, %xmm0
	psrlw	$1, %xmm7
	pand	%xmm12, %xmm7
	pxor	%xmm1, %xmm1
	pblendvb	%xmm0, %xmm7, %xmm1
	psllw	$3, %xmm8
	pand	LCPI0_1(%rip), %xmm8
	por	%xmm8, %xmm1
	movdqa	%xmm14, %xmm8
	movdqa	%xmm2, %xmm0
	pand	%xmm5, %xmm0
	movdqa	%xmm2, %xmm7
	psrlw	$6, %xmm7
	pcmpeqw	%xmm10, %xmm0
	pand	%xmm7, %xmm0
	movdqa	%xmm2, %xmm7
	psrlw	$2, %xmm7
	pand	%xmm3, %xmm7
	pand	%xmm6, %xmm0
	por	%xmm7, %xmm0
	movdqa	%xmm2, %xmm7
	psrlw	$10, %xmm7
	packuswb	%xmm0, %xmm0
	punpcklqdq	%xmm0, %xmm1            ## xmm1 = xmm1[0],xmm0[0]
	psrlw	$15, %xmm2
	psllw	$1, %xmm7
	por	%xmm2, %xmm7
	packuswb	%xmm7, %xmm7
	movdqa	%xmm1, %xmm0
	pshufb	%xmm4, %xmm0
	movdqa	%xmm7, %xmm2
	pshufb	%xmm14, %xmm2
	por	%xmm0, %xmm2
	pshufb	%xmm15, %xmm1
	pshufb	%xmm13, %xmm7
	por	%xmm1, %xmm7
	movq	%xmm7, 16(%r14)
	movdqu	%xmm2, (%r14)
	addq	$8, %rbx
	addq	$24, %r14
	cmpq	%rbx, %rcx
	jne	LBB0_9
## %bb.10:                              ##   in Loop: Header=BB0_4 Depth=2
	movl	%ecx, %r14d
	cmpq	%rcx, -152(%rbp)                ## 8-byte Folded Reload
	je	LBB0_13
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_4 Depth=2
	movl	16(%rbp), %r8d
                                        ## kill: def $r8d killed $r8d killed $r8 def $r8
	subl	%r14d, %r8d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_12:                                ##   Parent Loop BB0_2 Depth=1
                                        ##     Parent Loop BB0_4 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movzwl	(%r10,%rbx,2), %esi
	movl	%esi, %ecx
	shrl	$10, %ecx
	leal	(,%rsi,8), %edi
	movl	%esi, %eax
	shrb	%al
	andb	$15, %al
	testb	$16, %sil
	movzbl	%al, %eax
	cmovnel	%r12d, %eax
	orb	%dil, %al
	movl	%esi, %edi
	shrl	$2, %edi
	andl	$248, %edi
	movl	%esi, %edx
	shrl	$6, %edx
	andl	$15, %edx
	testl	$512, %esi                      ## imm = 0x200
	cmovnel	%r12d, %edx
	orl	%edi, %edx
	movb	%al, (%r15)
	movb	%dl, 1(%r15)
	shldw	$1, %si, %cx
	movb	%cl, 2(%r15)
	incq	%rbx
	addq	$3, %r15
	cmpl	%ebx, %r8d
	jne	LBB0_12
	jmp	LBB0_13
LBB0_15:
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_convert_r5g5_snorm_l6_unorm_nv
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function convert_r5g5_snorm_l6_unorm_nv
_convert_r5g5_snorm_l6_unorm_nv:        ; @convert_r5g5_snorm_l6_unorm_nv
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 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, #40]               ; 8-byte Folded Spill
	stp	x0, x1, [sp, #16]               ; 16-byte Folded Spill
	ldr	w8, [sp, #144]
	str	x8, [sp, #32]                   ; 8-byte Folded Spill
	cbz	w8, LBB0_16
; %bb.1:
	mov	w8, #0
	mov	w12, #0
	mov	x9, #0
	ldr	w10, [sp, #40]                  ; 4-byte Folded Reload
	mov	w10, w10
	sub	w11, w6, #1
	lsl	x13, x11, #1
	add	x14, x13, x11
	ldr	x15, [sp, #24]                  ; 8-byte Folded Reload
	add	x14, x14, x15
	add	x15, x14, #3
	ldr	x14, [sp, #16]                  ; 8-byte Folded Reload
	add	x13, x13, x14
	add	x13, x13, #2
	stp	x13, x15, [sp]                  ; 16-byte Folded Spill
	add	x14, x11, #1
	and	x7, x14, #0x1fffffff8
	add	x16, x7, x7, lsl #1
	movi.8h	v0, #16
	movi.8b	v1, #15
	movi.8h	v2, #248
	movi.8h	v3, #2, lsl #8
	movi.8h	v4, #15
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x9, x9, #1
	ldr	w8, [sp, #44]                   ; 4-byte Folded Reload
	add	w12, w5, w8
	add	w8, w19, w3
	ldr	x13, [sp, #32]                  ; 8-byte Folded Reload
	cmp	x9, x13
	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, w12
	mov	w19, w8
	ldr	w8, [sp, #40]                   ; 4-byte Folded Reload
	cbz	w8, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	w20, #0
	mov	w21, #0
	mov	x22, #0
	mul	w8, w9, w3
	ldr	w12, [sp, #44]                  ; 4-byte Folded Reload
	mul	w12, w9, w12
	ldp	x15, x13, [sp, #16]             ; 16-byte Folded Reload
	add	x23, x15, x8
	add	x24, x13, x12
	ldr	x17, [sp, #8]                   ; 8-byte Folded Reload
	add	x25, x17, x12
	ldr	x12, [sp]                       ; 8-byte Folded Reload
	add	x26, x12, x8
	add	x27, x13, x5
	add	x28, x15, x19
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=2
	add	x22, x22, #1
	add	w21, w21, w4
	add	w20, w20, w2
	cmp	x22, x10
	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, w22, w4
	add	x30, x24, x8
	mul	w8, w22, w2
	add	x12, x23, x8
	cmp	w11, #7
	b.lo	LBB0_10
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=2
	mul	w8, w22, w4
	add	x15, x24, x8
	mul	w13, w22, w2
	add	x17, x26, x13
	cmp	x15, x17
	b.hs	LBB0_13
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=2
	add	x8, x25, x8
	add	x13, x23, x13
	cmp	x13, 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	w13, [x12], #2
	lsr	w15, w13, #10
	ubfx	w17, w13, #1, #4
	tst	w13, #0x10
	csel	w17, w17, wzr, eq
	orr	w17, w17, w13, lsl #3
	lsr	w1, w13, #2
	and	w1, w1, #0xf8
	ubfx	w0, w13, #6, #4
	tst	w13, #0x200
	csel	w0, w0, wzr, eq
	orr	w0, w0, w1
	strb	w17, [x30]
	strb	w0, [x30, #1]
	lsl	w13, w13, #16
	extr	w13, w15, w13, #31
	strb	w13, [x30, #2]
	add	x30, x30, #3
	subs	w8, w8, #1
	b.ne	LBB0_12
	b	LBB0_5
LBB0_13:                                ;   in Loop: Header=BB0_6 Depth=2
	add	x13, x27, w21, uxtw
	add	x8, x28, w20, uxtw
	add	x30, x30, x16
	mov	x15, x7
	add	x12, x12, x7, lsl #1
LBB0_14:                                ;   Parent Loop BB0_3 Depth=1
                                        ;     Parent Loop BB0_6 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldr	q5, [x8], #16
	ushr.8h	v6, v5, #10
	xtn.8b	v7, v5
	shl.8b	v16, v7, #3
	and.16b	v17, v5, v0
	cmeq.8h	v17, v17, #0
	xtn.8b	v17, v17
	ushr.8b	v7, v7, #1
	and.8b	v7, v7, v17
	and.8b	v7, v7, v1
	orr.8b	v16, v7, v16
	ushr.8h	v7, v5, #2
	and.16b	v7, v7, v2
	and.16b	v19, v5, v3
	cmeq.8h	v19, v19, #0
	ushr.8h	v20, v5, #6
	and.16b	v19, v20, v19
	and.16b	v19, v19, v4
	orr.16b	v7, v19, v7
	xtn.8b	v17, v7
	ushr.8h	v5, v5, #1
	ushr.8h	v5, v5, #14
	shl.8h	v6, v6, #1
	orr.16b	v5, v6, v5
	xtn.8b	v18, v5
	st3.8b	{ v16, v17, v18 }, [x13], #24
	subs	x15, x15, #8
	b.ne	LBB0_14
; %bb.15:                               ;   in Loop: Header=BB0_6 Depth=2
	mov	x8, x7
	cmp	x14, x7
	b.eq	LBB0_5
	b	LBB0_11
LBB0_16:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_convert_r5g5_snorm_l6_unorm_nv
.subsections_via_symbols
