	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function make_local_pal_sms
LCPI0_0:
	.long	12582912                        ## 0xc00000
	.long	12582912                        ## 0xc00000
	.long	12582912                        ## 0xc00000
	.long	12582912                        ## 0xc00000
LCPI0_1:
	.long	49152                           ## 0xc000
	.long	49152                           ## 0xc000
	.long	49152                           ## 0xc000
	.long	49152                           ## 0xc000
LCPI0_2:
	.long	192                             ## 0xc0
	.long	192                             ## 0xc0
	.long	192                             ## 0xc0
	.long	192                             ## 0xc0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_make_local_pal_sms:                    ## @make_local_pal_sms
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_Pico@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_localPal@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	xorl	%edx, %edx
	movdqa	LCPI0_0(%rip), %xmm0            ## xmm0 = [12582912,12582912,12582912,12582912]
	movdqa	LCPI0_1(%rip), %xmm1            ## xmm1 = [49152,49152,49152,49152]
	movdqa	LCPI0_2(%rip), %xmm2            ## xmm2 = [192,192,192,192]
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	pmovzxwd	(%rax,%rdx,2), %xmm3            ## xmm3 = mem[0],zero,mem[1],zero,mem[2],zero,mem[3],zero
	movdqa	%xmm3, %xmm4
	pslld	$22, %xmm4
	pand	%xmm0, %xmm4
	movdqa	%xmm3, %xmm5
	pslld	$12, %xmm5
	pand	%xmm1, %xmm5
	por	%xmm4, %xmm5
	pslld	$2, %xmm3
	pand	%xmm2, %xmm3
	por	%xmm5, %xmm3
	movdqa	%xmm3, %xmm4
	psrld	$2, %xmm4
	por	%xmm3, %xmm4
	movdqa	%xmm4, %xmm3
	psrld	$4, %xmm3
	por	%xmm4, %xmm3
	movdqu	%xmm3, (%rcx,%rdx,4)
	addq	$4, %rdx
	cmpq	$64, %rdx
	jne	LBB0_1
## %bb.2:
	movl	$64, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_Pico,8,3                       ## @Pico
	.comm	_localPal,8,3                   ## @localPal
	.no_dead_strip	_make_local_pal_sms
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function make_local_pal_sms
_make_local_pal_sms:                    ; @make_local_pal_sms
	.cfi_startproc
; %bb.0:
	mov	x8, #0
Lloh0:
	adrp	x9, _Pico@GOTPAGE
Lloh1:
	ldr	x9, [x9, _Pico@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
Lloh3:
	adrp	x10, _localPal@GOTPAGE
Lloh4:
	ldr	x10, [x10, _localPal@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	movi.4s	v0, #192, lsl #16
	movi.4s	v1, #192, lsl #8
	movi.4s	v2, #192
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	d3, [x9, x8]
	ushll.4s	v4, v3, #0
	shl.4s	v4, v4, #22
	and.16b	v4, v4, v0
	ushll.4s	v5, v3, #12
	and.16b	v5, v5, v1
	orr.16b	v4, v4, v5
	ushll.4s	v3, v3, #2
	and.16b	v3, v3, v2
	orr.16b	v3, v4, v3
	ushr.4s	v4, v3, #2
	orr.16b	v3, v4, v3
	ushr.4s	v4, v3, #4
	orr.16b	v3, v4, v3
	str	q3, [x10], #16
	add	x8, x8, #8
	cmp	x8, #128
	b.ne	LBB0_1
; %bb.2:
	mov	w0, #64
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_Pico,8,3                       ; @Pico
	.comm	_localPal,8,3                   ; @localPal
	.no_dead_strip	_make_local_pal_sms
.subsections_via_symbols
