	.file	"extr_hash.c_str2hashbuf_signed.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	str2hashbuf_signed, @function
str2hashbuf_signed:
.LFB0:
	.cfi_startproc
	endbr64
	mov	r9d, esi
	sal	r9d, 8
	or	r9d, esi
	mov	eax, r9d
	sal	eax, 16
	or	r9d, eax
	lea	eax, 0[0+rcx*4]
	cmp	eax, esi
	cmovle	esi, eax
	test	esi, esi
	jle	.L22
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	mov	eax, r9d
	lea	ebx, -1[rsi]
	xor	esi, esi
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L7:
	add	r8d, 1
	and	r8d, 3
	cmove	eax, r9d
	add	rsi, 1
.L4:
	movsx	r10d, BYTE PTR [rdi+rsi]
	sal	eax, 8
	mov	r8d, esi
	lea	r11d, -1[rcx]
	add	eax, r10d
	mov	r10d, esi
	and	r10d, 3
	cmp	r10d, 3
	jne	.L6
	lea	r10d, -2[rcx]
	mov	DWORD PTR [rdx], eax
	mov	ecx, r11d
	mov	eax, r9d
	mov	r11d, r10d
	add	rdx, 4
.L6:
	cmp	rsi, rbx
	jne	.L7
	test	r11d, r11d
	js	.L8
	mov	DWORD PTR [rdx], eax
	add	rdx, 4
.L8:
	cmp	ecx, 1
	jle	.L1
	lea	eax, -2[rcx]
	lea	rax, 4[rdx+rax*4]
	.p2align 4,,10
	.p2align 3
.L10:
	add	rdx, 4
	mov	DWORD PTR -4[rdx], r9d
	cmp	rax, rdx
	jne	.L10
.L1:
	pop	rbx
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L22:
	.cfi_restore 3
	lea	r11d, -1[rcx]
	test	r11d, r11d
	js	.L17
	mov	DWORD PTR [rdx], r9d
	add	rdx, 4
.L17:
	cmp	ecx, 1
	jle	.L19
	lea	eax, -2[rcx]
	lea	rax, 4[rdx+rax*4]
	.p2align 4,,10
	.p2align 3
.L20:
	add	rdx, 4
	mov	DWORD PTR -4[rdx], r9d
	cmp	rax, rdx
	jne	.L20
	ret
.L19:
	ret
	.cfi_endproc
.LFE0:
	.size	str2hashbuf_signed, .-str2hashbuf_signed
	.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_hash.c_str2hashbuf_signed.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	str2hashbuf_signed, %function
str2hashbuf_signed:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	lsl	r5, r3, #2
	cmp	r5, r1
	movge	r5, r1
	orr	r1, r1, r1, lsl #8
	cmp	r5, #0
	orr	ip, r1, r1, lsl #16
	movle	r0, ip
	suble	r4, r3, #1
	ble	.L3
	mov	r1, #0
	sub	lr, r0, #1
	mov	r6, r1
	mov	r0, ip
	b	.L4
.L7:
	ands	r6, r1, #3
	moveq	r0, ip
.L4:
	ldrsb	r4, [lr, #1]!
	cmp	r6, #3
	add	r0, r4, r0, lsl #8
	subeq	r6, r3, #2
	sub	r4, r3, #1
	add	r1, r1, #1
	moveq	r3, r4
	streq	r0, [r2], #4
	moveq	r4, r6
	moveq	r0, ip
	cmp	r5, r1
	bne	.L7
.L3:
	cmp	r4, #0
	strge	r0, [r2], #4
	subs	r3, r3, #2
	popmi	{r4, r5, r6, pc}
.L9:
	sub	r3, r3, #1
	cmn	r3, #1
	str	ip, [r2], #4
	bne	.L9
	pop	{r4, r5, r6, pc}
	.size	str2hashbuf_signed, .-str2hashbuf_signed
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
