	.file	"extr_ecoff.c_ecoff_armap_hash.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	ecoff_armap_hash, @function
ecoff_armap_hash:
.LFB0:
	.cfi_startproc
	endbr64
	xor	eax, eax
	test	ecx, ecx
	je	.L1
	movsx	eax, BYTE PTR [rdi]
	lea	r8, 1[rdi]
	movsx	edi, BYTE PTR 1[rdi]
	test	dil, dil
	je	.L3
	.p2align 4,,10
	.p2align 3
.L4:
	rol	eax, 5
	add	r8, 1
	add	eax, edi
	movsx	edi, BYTE PTR [r8]
	test	dil, dil
	jne	.L4
.L3:
	imul	eax, DWORD PTR ARMAP_HASH_MAGIC[rip]
	sub	edx, 1
	and	edx, eax
	or	edx, 1
	mov	DWORD PTR [rsi], edx
	mov	edx, 32
	sub	edx, ecx
	mov	ecx, edx
	shr	eax, cl
.L1:
	ret
	.cfi_endproc
.LFE0:
	.size	ecoff_armap_hash, .-ecoff_armap_hash
	.comm	ARMAP_HASH_MAGIC,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_ecoff.c_ecoff_armap_hash.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ecoff_armap_hash, %function
ecoff_armap_hash:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	cmp	r3, #0
	beq	.L5
	push	{r4, lr}
	mov	lr, r0
	ldrb	ip, [r0, #1]	@ zero_extendqisi2
	ldrb	r4, [lr], #1	@ zero_extendqisi2
	cmp	ip, #0
	beq	.L3
.L4:
	add	r4, ip, r4, ror #27
	ldrb	ip, [lr, #1]!	@ zero_extendqisi2
	cmp	ip, #0
	bne	.L4
.L3:
	ldr	r0, .L15
	sub	r2, r2, #1
	ldr	r0, [r0]
	rsb	r3, r3, #32
	mul	r4, r0, r4
	and	r2, r2, r4
	orr	r2, r2, #1
	str	r2, [r1]
	lsr	r0, r4, r3
	pop	{r4, pc}
.L5:
	mov	r0, r3
	bx	lr
.L16:
	.align	2
.L15:
	.word	ARMAP_HASH_MAGIC
	.size	ecoff_armap_hash, .-ecoff_armap_hash
	.comm	ARMAP_HASH_MAGIC,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
