	.file	"extr_draw.c_PicoDoHighPal555.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	PicoDoHighPal555
	.type	PicoDoHighPal555, @function
PicoDoHighPal555:
.LFB0:
	.cfi_startproc
	endbr64
	mov	rsi, QWORD PTR HighPal[rip]
	mov	rcx, QWORD PTR Pico[rip]
	mov	QWORD PTR Pico[rip+8], 0
	mov	r8, rsi
	lea	r9, 128[rcx]
	sub	r8, rcx
	.p2align 4,,10
	.p2align 3
.L2:
	mov	edx, DWORD PTR [rcx]
	mov	eax, edx
	lea	r10d, 0[0+rdx*8]
	shr	edx, 7
	sal	eax, 12
	and	r10d, 117442304
	and	edx, 1835036
	and	eax, -536813568
	or	eax, r10d
	mov	r10, rsi
	or	eax, edx
	mov	edx, eax
	shr	edx, 4
	and	edx, 140576865
	or	eax, edx
	mov	DWORD PTR [r8+rcx], eax
	add	rcx, 4
	cmp	r9, rcx
	jne	.L2
	test	edi, edi
	je	.L1
	mov	rcx, rsi
	xor	edx, edx
	.p2align 4,,10
	.p2align 3
.L4:
	mov	eax, DWORD PTR [rcx]
	mov	edi, edx
	add	rcx, 4
	or	edi, 96
	shr	eax
	and	eax, 1938715534
	mov	DWORD PTR [rsi+rdi*4], eax
	mov	edi, edx
	add	edx, 1
	or	edi, 32
	mov	DWORD PTR [rsi+rdi*4], eax
	cmp	edx, 32
	jne	.L4
	xor	ecx, ecx
	.p2align 4,,10
	.p2align 3
.L5:
	mov	eax, DWORD PTR [r10]
	mov	edi, ecx
	add	ecx, 1
	add	r10, 4
	or	edi, 64
	shr	eax
	and	eax, 1938715534
	add	eax, 1938715534
	mov	edx, eax
	shr	edx, 4
	and	edx, 140576865
	or	eax, edx
	mov	DWORD PTR [rsi+rdi*4], eax
	cmp	ecx, 32
	jne	.L5
.L1:
	ret
	.cfi_endproc
.LFE0:
	.size	PicoDoHighPal555, .-PicoDoHighPal555
	.comm	Pico,16,16
	.comm	HighPal,8,8
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_draw.c_PicoDoHighPal555.c"
	.text
	.align	2
	.global	PicoDoHighPal555
	.syntax unified
	.arm
	.fpu softvfp
	.type	PicoDoHighPal555, %function
PicoDoHighPal555:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L14
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	ldr	r4, [r3]
	mov	r2, #0
	mov	r1, r4
	ldr	ip, .L14+4
	ldr	r9, .L14+8
	ldr	ip, [ip]
	ldr	r8, .L14+12
	ldr	r7, .L14+16
	ldr	r6, .L14+20
	str	r2, [r3, #4]
	add	r4, r4, #128
	sub	r5, ip, r1
.L2:
	ldr	r2, [r1]
	mov	lr, ip
	and	r3, r9, r2, lsl #12
	and	r10, r8, r2, lsl #3
	orr	r3, r3, r10
	and	r2, r7, r2, lsr #7
	orr	r3, r3, r2
	and	r2, r6, r3, lsr #4
	orr	r3, r2, r3
	str	r3, [r5, r1]
	add	r1, r1, #4
	cmp	r4, r1
	bne	.L2
	cmp	r0, #0
	popeq	{r4, r5, r6, r7, r8, r9, r10, pc}
	mov	r1, ip
	mov	r3, #0
	ldr	r5, .L14+24
.L4:
	ldr	r2, [r1], #4
	orr	r4, r3, #96
	orr	r0, r3, #32
	add	r3, r3, #1
	and	r2, r5, r2, lsr #1
	cmp	r3, #32
	str	r2, [ip, r4, lsl #2]
	str	r2, [ip, r0, lsl #2]
	bne	.L4
	mov	r2, #0
	ldr	r0, .L14+24
	ldr	r5, .L14+20
.L5:
	ldr	r3, [lr], #4
	orr	r4, r2, #64
	and	r3, r0, r3, lsr #1
	add	r3, r3, r0
	and	r1, r5, r3, lsr #4
	add	r2, r2, #1
	orr	r3, r1, r3
	cmp	r2, #32
	str	r3, [ip, r4, lsl #2]
	bne	.L5
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L15:
	.align	2
.L14:
	.word	Pico
	.word	HighPal
	.word	-536813568
	.word	117442304
	.word	1835036
	.word	140576865
	.word	1938715534
	.size	PicoDoHighPal555, .-PicoDoHighPal555
	.comm	Pico,8,4
	.comm	HighPal,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
