	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gray8aToPacked24
_gray8aToPacked24:                      ## @gray8aToPacked24
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testl	%edx, %edx
	jle	LBB0_3
## %bb.1:
	movl	%edx, %r8d
	addq	%r8, %r8
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movslq	%edx, %r9
	movslq	(%rdi,%r9,4), %rax
	shlq	$4, %rax
	movl	(%rcx,%rax), %eax
	movl	%eax, (%rsi)
	movslq	(%rdi,%r9,4), %rax
	shlq	$4, %rax
	movl	4(%rcx,%rax), %eax
	movl	%eax, 4(%rsi)
	movslq	(%rdi,%r9,4), %rax
	shlq	$4, %rax
	movl	8(%rcx,%rax), %eax
	movl	%eax, 8(%rsi)
	addq	$2, %rdx
	addq	$12, %rsi
	cmpq	%rdx, %r8
	jne	LBB0_2
LBB0_3:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_gray8aToPacked24
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gray8aToPacked24
_gray8aToPacked24:                      ; @gray8aToPacked24
	.cfi_startproc
; %bb.0:
	cmp	w2, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x8, #0
	mov	w9, w2
	lsl	x9, x9, #1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	sxtw	x10, w8
	lsl	x10, x10, #2
	ldrsw	x11, [x0, x10]
	lsl	x11, x11, #4
	ldr	w11, [x3, x11]
	str	w11, [x1]
	ldrsw	x11, [x0, x10]
	add	x11, x3, x11, lsl #4
	ldr	w11, [x11, #4]
	str	w11, [x1, #4]
	ldrsw	x10, [x0, x10]
	add	x10, x3, x10, lsl #4
	ldr	w10, [x10, #8]
	str	w10, [x1, #8]
	add	x8, x8, #2
	add	x1, x1, #12
	cmp	x9, x8
	b.ne	LBB0_2
LBB0_3:
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_gray8aToPacked24
.subsections_via_symbols
