	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sws_convertPalette8ToPacked24  ## -- Begin function sws_convertPalette8ToPacked24
	.p2align	4, 0x90
_sws_convertPalette8ToPacked24:         ## @sws_convertPalette8ToPacked24
	.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
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movslq	(%rdi,%rdx,4), %rax
	shlq	$4, %rax
	movl	(%rcx,%rax), %eax
	movl	%eax, (%rsi)
	movslq	(%rdi,%rdx,4), %rax
	shlq	$4, %rax
	movl	4(%rcx,%rax), %eax
	movl	%eax, 4(%rsi)
	movslq	(%rdi,%rdx,4), %rax
	shlq	$4, %rax
	movl	8(%rcx,%rax), %eax
	movl	%eax, 8(%rsi)
	incq	%rdx
	addq	$12, %rsi
	cmpq	%rdx, %r8
	jne	LBB0_2
LBB0_3:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

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