	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function PicoDoHighPal555M4
LCPI0_0:
	.long	3221274624                      ## 0xc000c000
	.long	3221274624                      ## 0xc000c000
	.long	3221274624                      ## 0xc000c000
	.long	3221274624                      ## 0xc000c000
LCPI0_1:
	.long	100664832                       ## 0x6000600
	.long	100664832                       ## 0x6000600
	.long	100664832                       ## 0x6000600
	.long	100664832                       ## 0x6000600
LCPI0_2:
	.long	1572888                         ## 0x180018
	.long	1572888                         ## 0x180018
	.long	1572888                         ## 0x180018
	.long	1572888                         ## 0x180018
LCPI0_3:
	.long	140576865                       ## 0x8610861
	.long	140576865                       ## 0x8610861
	.long	140576865                       ## 0x8610861
	.long	140576865                       ## 0x8610861
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_PicoDoHighPal555M4
	.p2align	4, 0x90
_PicoDoHighPal555M4:                    ## @PicoDoHighPal555M4
	.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), %rdx
	movq	8(%rdx), %r9
	movq	_HighPal@GOTPCREL(%rip), %rax
	movq	(%rax), %r8
	movq	$0, (%rdx)
	movq	%r8, %rdx
	subq	%r9, %rdx
	cmpq	$15, %rdx
	ja	LBB0_4
## %bb.1:
	movl	$17, %edx
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r9,%rsi), %edi
	movl	%edi, %eax
	shll	$14, %eax
	andl	$-1073692672, %eax              ## imm = 0xC000C000
	movl	%edi, %ecx
	shll	$7, %ecx
	andl	$100664832, %ecx                ## imm = 0x6000600
	orl	%eax, %ecx
	shrl	%edi
	andl	$1572888, %edi                  ## imm = 0x180018
	orl	%ecx, %edi
	movl	%edi, %eax
	shrl	$2, %eax
	orl	%edi, %eax
	movl	%eax, %ecx
	shrl	$4, %ecx
	andl	$140576865, %ecx                ## imm = 0x8610861
	orl	%eax, %ecx
	movl	%ecx, (%r8,%rsi)
	decl	%edx
	addq	$4, %rsi
	cmpl	$1, %edx
	ja	LBB0_2
	jmp	LBB0_3
LBB0_4:
	movdqu	(%r9), %xmm3
	movdqa	%xmm3, %xmm2
	pslld	$14, %xmm2
	movdqa	LCPI0_0(%rip), %xmm0            ## xmm0 = [3221274624,3221274624,3221274624,3221274624]
	pand	%xmm0, %xmm2
	movdqa	%xmm3, %xmm4
	pslld	$7, %xmm4
	movdqa	LCPI0_1(%rip), %xmm1            ## xmm1 = [100664832,100664832,100664832,100664832]
	pand	%xmm1, %xmm4
	por	%xmm2, %xmm4
	psrld	$1, %xmm3
	movdqa	LCPI0_2(%rip), %xmm2            ## xmm2 = [1572888,1572888,1572888,1572888]
	pand	%xmm2, %xmm3
	por	%xmm4, %xmm3
	movdqa	%xmm3, %xmm4
	psrld	$2, %xmm4
	por	%xmm3, %xmm4
	movdqa	%xmm4, %xmm5
	psrld	$4, %xmm5
	movdqa	LCPI0_3(%rip), %xmm3            ## xmm3 = [140576865,140576865,140576865,140576865]
	pand	%xmm3, %xmm5
	por	%xmm4, %xmm5
	movdqu	%xmm5, (%r8)
	movdqu	16(%r9), %xmm4
	movdqa	%xmm4, %xmm5
	pslld	$14, %xmm5
	pand	%xmm0, %xmm5
	movdqa	%xmm4, %xmm6
	pslld	$7, %xmm6
	pand	%xmm1, %xmm6
	por	%xmm5, %xmm6
	psrld	$1, %xmm4
	pand	%xmm2, %xmm4
	por	%xmm6, %xmm4
	movdqa	%xmm4, %xmm5
	psrld	$2, %xmm5
	por	%xmm4, %xmm5
	movdqa	%xmm5, %xmm4
	psrld	$4, %xmm4
	pand	%xmm3, %xmm4
	por	%xmm5, %xmm4
	movdqu	%xmm4, 16(%r8)
	movdqu	32(%r9), %xmm4
	movdqa	%xmm4, %xmm5
	pslld	$14, %xmm5
	pand	%xmm0, %xmm5
	movdqa	%xmm4, %xmm6
	pslld	$7, %xmm6
	pand	%xmm1, %xmm6
	por	%xmm5, %xmm6
	psrld	$1, %xmm4
	pand	%xmm2, %xmm4
	por	%xmm6, %xmm4
	movdqa	%xmm4, %xmm5
	psrld	$2, %xmm5
	por	%xmm4, %xmm5
	movdqa	%xmm5, %xmm4
	psrld	$4, %xmm4
	pand	%xmm3, %xmm4
	por	%xmm5, %xmm4
	movdqu	%xmm4, 32(%r8)
	movdqu	48(%r9), %xmm4
	movdqa	%xmm4, %xmm5
	pslld	$14, %xmm5
	pand	%xmm0, %xmm5
	movdqa	%xmm4, %xmm0
	pslld	$7, %xmm0
	pand	%xmm1, %xmm0
	por	%xmm5, %xmm0
	psrld	$1, %xmm4
	pand	%xmm2, %xmm4
	por	%xmm0, %xmm4
	movdqa	%xmm4, %xmm0
	psrld	$2, %xmm0
	por	%xmm4, %xmm0
	movdqa	%xmm0, %xmm1
	psrld	$4, %xmm1
	pand	%xmm3, %xmm1
	por	%xmm0, %xmm1
	movdqu	%xmm1, 48(%r8)
LBB0_3:
	movq	$0, 1792(%r8)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_Pico,16,3                      ## @Pico
	.comm	_HighPal,8,3                    ## @HighPal
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_PicoDoHighPal555M4             ; -- Begin function PicoDoHighPal555M4
	.p2align	2
_PicoDoHighPal555M4:                    ; @PicoDoHighPal555M4
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x10, _Pico@GOTPAGE
Lloh1:
	ldr	x10, [x10, _Pico@GOTPAGEOFF]
	ldr	x9, [x10, #8]
Lloh2:
	adrp	x8, _HighPal@GOTPAGE
Lloh3:
	ldr	x8, [x8, _HighPal@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	str	xzr, [x10]
	sub	x10, x8, x9
	cmp	x10, #15
	b.hi	LBB0_4
; %bb.1:
	mov	w10, #17
	mov	w11, #2145
	movk	w11, #2145, lsl #16
	mov	x12, x8
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w13, [x9], #4
	lsl	w14, w13, #14
	and	w14, w14, #0xc000c000
	lsl	w15, w13, #7
	and	w15, w15, #0x6000600
	orr	w14, w14, w15
	lsr	w13, w13, #1
	and	w13, w13, #0x180018
	orr	w13, w14, w13
	orr	w13, w13, w13, lsr #2
	and	w14, w11, w13, lsr #4
	orr	w13, w14, w13
	str	w13, [x12], #4
	sub	w10, w10, #1
	cmp	w10, #1
	b.hi	LBB0_2
; %bb.3:
	str	xzr, [x8, #1792]
	ret
LBB0_4:
	ldr	q0, [x9]
	shl.4s	v1, v0, #14
	movi.8h	v2, #192, lsl #8
	and.16b	v1, v1, v2
	shl.4s	v3, v0, #7
	movi.8h	v4, #6, lsl #8
	and.16b	v3, v3, v4
	orr.16b	v1, v1, v3
	ushr.4s	v0, v0, #1
	movi.8h	v3, #24
	and.16b	v0, v0, v3
	orr.16b	v0, v1, v0
	ushr.4s	v1, v0, #2
	orr.16b	v0, v1, v0
	ushr.4s	v1, v0, #4
	mov	w10, #2145
	movk	w10, #2145, lsl #16
	dup.4s	v5, w10
	and.16b	v1, v1, v5
	orr.16b	v0, v1, v0
	str	q0, [x8]
	ldr	q0, [x9, #16]
	shl.4s	v1, v0, #14
	and.16b	v1, v1, v2
	shl.4s	v6, v0, #7
	and.16b	v6, v6, v4
	orr.16b	v1, v1, v6
	ushr.4s	v0, v0, #1
	and.16b	v0, v0, v3
	orr.16b	v0, v1, v0
	ushr.4s	v1, v0, #2
	orr.16b	v0, v1, v0
	ushr.4s	v1, v0, #4
	and.16b	v1, v1, v5
	orr.16b	v0, v1, v0
	str	q0, [x8, #16]
	ldr	q0, [x9, #32]
	shl.4s	v1, v0, #14
	and.16b	v1, v1, v2
	shl.4s	v6, v0, #7
	and.16b	v6, v6, v4
	orr.16b	v1, v1, v6
	ushr.4s	v0, v0, #1
	and.16b	v0, v0, v3
	orr.16b	v0, v1, v0
	ushr.4s	v1, v0, #2
	orr.16b	v0, v1, v0
	ushr.4s	v1, v0, #4
	and.16b	v1, v1, v5
	orr.16b	v0, v1, v0
	str	q0, [x8, #32]
	ldr	q0, [x9, #48]
	shl.4s	v1, v0, #14
	and.16b	v1, v1, v2
	shl.4s	v2, v0, #7
	and.16b	v2, v2, v4
	orr.16b	v1, v1, v2
	ushr.4s	v0, v0, #1
	and.16b	v0, v0, v3
	orr.16b	v0, v1, v0
	ushr.4s	v1, v0, #2
	orr.16b	v0, v1, v0
	ushr.4s	v1, v0, #4
	and.16b	v1, v1, v5
	orr.16b	v0, v1, v0
	str	q0, [x8, #48]
	str	xzr, [x8, #1792]
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_Pico,16,3                      ; @Pico
	.comm	_HighPal,8,3                    ; @HighPal
.subsections_via_symbols
