	.file	"extr_vf_palettegen.c_color_hash.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	color_hash, @function
color_hash:
.LFB0:
	.cfi_startproc
	endbr64
	mov	r8d, DWORD PTR NBITS[rip]
	mov	esi, 1
	mov	edx, edi
	mov	eax, edi
	sar	edx, 16
	sar	edi, 8
	mov	ecx, r8d
	sal	esi, cl
	lea	ecx, [r8+r8]
	sub	esi, 1
	and	edx, esi
	and	edi, esi
	and	eax, esi
	sal	edx, cl
	mov	ecx, r8d
	sal	edi, cl
	or	edx, edi
	or	eax, edx
	ret
	.cfi_endproc
.LFE0:
	.size	color_hash, .-color_hash
	.comm	NBITS,4,4
	.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_vf_palettegen.c_color_hash.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	color_hash, %function
color_hash:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	@ link register save eliminated.
	mvn	r3, #0
	ldr	r2, .L3
	ldr	r1, [r2]
	mvn	r3, r3, lsl r1
	and	r2, r3, r0, asr #8
	and	ip, r3, r0, asr #16
	lsl	r2, r2, r1
	lsl	r1, r1, #1
	orr	r2, r2, ip, lsl r1
	and	r0, r0, r3
	orr	r0, r2, r0
	bx	lr
.L4:
	.align	2
.L3:
	.word	NBITS
	.size	color_hash, .-color_hash
	.comm	NBITS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
