	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rgbaToA_c
_rgbaToA_c:                             ## @rgbaToA_c
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testl	%r8d, %r8d
	jle	LBB0_13
## %bb.1:
	movl	%r8d, %r9d
	cmpl	$9, %r8d
	jb	LBB0_2
## %bb.3:
	movq	%r9, %rax
	shlq	$4, %rax
	addq	%rsi, %rax
	cmpq	%rdi, %rax
	jbe	LBB0_6
## %bb.4:
	leaq	(%rdi,%r9,4), %rax
	leaq	12(%rsi), %rcx
	cmpq	%rax, %rcx
	jae	LBB0_6
LBB0_2:
	xorl	%ecx, %ecx
	jmp	LBB0_8
LBB0_6:
	movl	%r9d, %eax
	andl	$7, %eax
	testq	%rax, %rax
	movl	$8, %edx
	cmovneq	%rax, %rdx
	movq	%r9, %rcx
	subq	%rdx, %rcx
	leaq	76(%rsi), %rdx
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movdqu	-64(%rdx), %xmm0
	movdqu	-48(%rdx), %xmm1
	punpckldq	%xmm1, %xmm0            ## xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
	movdqu	-32(%rdx), %xmm1
	movdqu	-16(%rdx), %xmm2
	punpckldq	%xmm2, %xmm1            ## xmm1 = xmm1[0],xmm2[0],xmm1[1],xmm2[1]
	punpcklqdq	%xmm1, %xmm0            ## xmm0 = xmm0[0],xmm1[0]
	movdqu	16(%rdx), %xmm1
	movdqu	(%rdx), %xmm2
	punpckldq	%xmm1, %xmm2            ## xmm2 = xmm2[0],xmm1[0],xmm2[1],xmm1[1]
	movdqu	48(%rdx), %xmm1
	movdqu	32(%rdx), %xmm3
	punpckldq	%xmm1, %xmm3            ## xmm3 = xmm3[0],xmm1[0],xmm3[1],xmm1[1]
	punpcklqdq	%xmm3, %xmm2            ## xmm2 = xmm2[0],xmm3[0]
	pslld	$6, %xmm0
	pslld	$6, %xmm2
	movdqu	%xmm0, (%rdi,%rax,4)
	movdqu	%xmm2, 16(%rdi,%rax,4)
	addq	$8, %rax
	subq	$-128, %rdx
	cmpq	%rax, %rcx
	jne	LBB0_7
LBB0_8:
	movl	%r9d, %edx
	subl	%ecx, %edx
	movq	%rcx, %rax
	notq	%rax
	testb	$1, %dl
	je	LBB0_10
## %bb.9:
	movq	%rcx, %rdx
	shlq	$4, %rdx
	movl	12(%rsi,%rdx), %edx
	shll	$6, %edx
	movl	%edx, (%rdi,%rcx,4)
	incq	%rcx
LBB0_10:
	addq	%r9, %rax
	je	LBB0_13
## %bb.11:
	movq	%rcx, %rax
	shlq	$4, %rax
	addq	%rsi, %rax
	addq	$28, %rax
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movl	-16(%rax), %edx
	shll	$6, %edx
	movl	%edx, (%rdi,%rcx,4)
	movl	(%rax), %edx
	shll	$6, %edx
	movl	%edx, 4(%rdi,%rcx,4)
	addq	$2, %rcx
	addq	$32, %rax
	cmpq	%rcx, %r9
	jne	LBB0_12
LBB0_13:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_rgbaToA_c
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rgbaToA_c
_rgbaToA_c:                             ; @rgbaToA_c
	.cfi_startproc
; %bb.0:
	cmp	w4, #1
	b.lt	LBB0_8
; %bb.1:
	mov	w8, w4
	cmp	w4, #17
	b.lo	LBB0_5
; %bb.2:
	add	x9, x0, x8, lsl #2
	add	x10, x1, #12
	add	x11, x1, x8, lsl #4
	cmp	x11, x0
	ccmp	x10, x9, #2, hi
	b.lo	LBB0_5
; %bb.3:
	ands	x9, x8, #0xf
	mov	w10, #16
	csel	x9, x10, x9, eq
	sub	x9, x8, x9
	add	x10, x1, #140
	add	x11, x0, #32
	mov	x12, x9
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	sub	x13, x10, #128
	sub	x14, x10, #64
	ld4.4s	{ v0, v1, v2, v3 }, [x13]
	ld4.4s	{ v4, v5, v6, v7 }, [x14]
	mov	x13, x10
	ld4.4s	{ v16, v17, v18, v19 }, [x13], #64
	ld4.4s	{ v20, v21, v22, v23 }, [x13]
	shl.4s	v0, v0, #6
	shl.4s	v1, v4, #6
	shl.4s	v2, v16, #6
	stp	q0, q1, [x11, #-32]
	shl.4s	v0, v20, #6
	stp	q2, q0, [x11], #64
	add	x10, x10, #256
	subs	x12, x12, #16
	b.ne	LBB0_4
	b	LBB0_6
LBB0_5:
	mov	x9, #0
LBB0_6:
	add	x10, x1, x9, lsl #4
	add	x10, x10, #12
	add	x11, x0, x9, lsl #2
	sub	x8, x8, x9
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w9, [x10], #16
	lsl	w9, w9, #6
	str	w9, [x11], #4
	subs	x8, x8, #1
	b.ne	LBB0_7
LBB0_8:
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_rgbaToA_c
.subsections_via_symbols
