	.file	"517641.c"
	.intel_syntax noprefix
	.text
	.type	cell_map, @function
cell_map:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -20[rbp], edi
	mov	eax, DWORD PTR -20[rbp]
	sar	eax, 12
	and	eax, 7
	cmp	eax, 7
	je	.L2
	cmp	eax, 7
	jg	.L3
	cmp	eax, 6
	je	.L4
	cmp	eax, 6
	jg	.L3
	cmp	eax, 3
	jg	.L5
	test	eax, eax
	jns	.L6
	jmp	.L3
.L5:
	sub	eax, 4
	cmp	eax, 1
	ja	.L3
	jmp	.L10
.L6:
	mov	eax, DWORD PTR -20[rbp]
	sar	eax, 8
	mov	DWORD PTR -8[rbp], eax
	mov	eax, DWORD PTR -20[rbp]
	movzx	eax, al
	mov	DWORD PTR -4[rbp], eax
	jmp	.L8
.L10:
	mov	eax, DWORD PTR -20[rbp]
	sar	eax, 7
	mov	DWORD PTR -8[rbp], eax
	mov	eax, DWORD PTR -20[rbp]
	and	eax, 127
	mov	DWORD PTR -4[rbp], eax
	or	DWORD PTR -4[rbp], 256
	jmp	.L8
.L4:
	mov	eax, DWORD PTR -20[rbp]
	sar	eax, 6
	mov	DWORD PTR -8[rbp], eax
	mov	eax, DWORD PTR -20[rbp]
	and	eax, 63
	mov	DWORD PTR -4[rbp], eax
	or	DWORD PTR -4[rbp], 384
	jmp	.L8
.L2:
	mov	eax, DWORD PTR -20[rbp]
	sar	eax, 5
	mov	DWORD PTR -8[rbp], eax
	mov	eax, DWORD PTR -20[rbp]
	and	eax, 31
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -20[rbp]
	sar	eax, 6
	and	eax, 480
	or	DWORD PTR -4[rbp], eax
	jmp	.L8
.L3:
	mov	DWORD PTR -4[rbp], 0
	mov	eax, DWORD PTR -4[rbp]
	mov	DWORD PTR -8[rbp], eax
	nop
.L8:
	mov	eax, DWORD PTR -8[rbp]
	and	eax, 63
	mov	edx, eax
	mov	eax, DWORD PTR -4[rbp]
	sal	eax, 6
	add	eax, edx
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	cell_map, .-cell_map
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.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, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"517641.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	cell_map, %function
cell_map:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	asr	r3, r3, #12
	and	r3, r3, #7
	cmp	r3, #7
	ldrls	pc, [pc, r3, asl #2]
	b	.L2
.L4:
	.word	.L7
	.word	.L7
	.word	.L7
	.word	.L7
	.word	.L6
	.word	.L6
	.word	.L5
	.word	.L3
.L7:
	ldr	r3, [fp, #-16]
	asr	r3, r3, #8
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-16]
	and	r3, r3, #255
	str	r3, [fp, #-8]
	b	.L8
.L6:
	ldr	r3, [fp, #-16]
	asr	r3, r3, #7
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-16]
	and	r3, r3, #127
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	orr	r3, r3, #256
	str	r3, [fp, #-8]
	b	.L8
.L5:
	ldr	r3, [fp, #-16]
	asr	r3, r3, #6
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-16]
	and	r3, r3, #63
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	orr	r3, r3, #384
	str	r3, [fp, #-8]
	b	.L8
.L3:
	ldr	r3, [fp, #-16]
	asr	r3, r3, #5
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-16]
	and	r3, r3, #31
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-16]
	asr	r3, r3, #6
	and	r3, r3, #480
	ldr	r2, [fp, #-8]
	orr	r3, r2, r3
	str	r3, [fp, #-8]
	b	.L8
.L2:
	mov	r3, #0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	str	r3, [fp, #-12]
	nop
.L8:
	ldr	r3, [fp, #-12]
	and	r2, r3, #63
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #6
	add	r3, r2, r3
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	cell_map, .-cell_map
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
