	.file	"extr_fts1_porter.c_copy_stemmer.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	copy_stemmer, @function
copy_stemmer:
.LFB0:
	.cfi_startproc
	endbr64
	test	esi, esi
	jle	.L11
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	xor	eax, eax
	xor	r11d, r11d
	mov	r12d, 1
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	lea	ebx, -1[rsi]
	mov	rbp, rbx
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L22:
	add	r8d, 32
	mov	BYTE PTR [rdx+rax], r8b
	lea	r8, 1[rax]
	cmp	rbx, rax
	je	.L21
.L12:
	mov	rax, r8
.L6:
	movsx	r9d, BYTE PTR [rdi+rax]
	lea	r10d, -65[r9]
	mov	r8d, r9d
	cmp	r10d, 25
	jbe	.L22
	sub	r9d, 48
	mov	BYTE PTR [rdx+rax], r8b
	lea	r8, 1[rax]
	cmp	r9d, 9
	cmovbe	r11d, r12d
	cmp	rbx, rax
	jne	.L12
.L21:
	cmp	r11d, 1
	sbb	eax, eax
	and	eax, 14
	add	eax, 6
	cmp	r11d, 1
	sbb	r9d, r9d
	and	r9d, 7
	add	r9d, 3
	cmp	esi, eax
	jle	.L19
	mov	ebx, esi
	sub	ebx, r9d
	cmp	esi, ebx
	jle	.L23
	movsx	r10, ebx
	sub	ebp, ebx
	movsx	r11, r9d
	lea	rdi, 1[rdx+r10]
	lea	rax, [rdx+r10]
	add	rbp, rdi
	.p2align 4,,10
	.p2align 3
.L10:
	movzx	r8d, BYTE PTR [rax]
	mov	rdi, rax
	add	rax, 1
	sub	rdi, r10
	mov	BYTE PTR [rdi+r11], r8b
	cmp	rax, rbp
	jne	.L10
	add	esi, r9d
	sub	esi, ebx
.L19:
	movsx	rax, esi
	add	rdx, rax
.L2:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	mov	BYTE PTR [rdx], 0
	pop	r12
	.cfi_def_cfa_offset 8
	mov	DWORD PTR [rcx], esi
	ret
.L23:
	.cfi_restore_state
	movsx	rax, r9d
	mov	esi, r9d
	add	rdx, rax
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_def_cfa_offset 8
	.cfi_restore 3
	.cfi_restore 6
	.cfi_restore 12
	xor	esi, esi
	mov	BYTE PTR [rdx], 0
	mov	DWORD PTR [rcx], esi
	ret
	.cfi_endproc
.LFE0:
	.size	copy_stemmer, .-copy_stemmer
	.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_fts1_porter.c_copy_stemmer.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	copy_stemmer, %function
copy_stemmer:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	cmp	r1, #0
	ble	.L11
	push	{r4, r5, r6, r7, lr}
	mov	lr, r2
	mov	r6, #0
	sub	ip, r0, #1
	add	r7, ip, r1
.L6:
	ldrb	r0, [ip, #1]!	@ zero_extendqisi2
	sub	r4, r0, #65
	cmp	r4, #25
	add	r4, r0, #32
	sub	r5, r0, #48
	strbls	r4, [lr]
	bls	.L4
	cmp	r5, #9
	movls	r6, #1
	strb	r0, [lr]
.L4:
	cmp	ip, r7
	add	lr, lr, #1
	bne	.L6
	cmp	r6, #0
	movne	r0, #6
	moveq	r0, #20
	movne	r5, #3
	moveq	r5, #10
	cmp	r1, r0
	ble	.L19
	sub	r6, r1, r5
	cmp	r1, r6
	movle	r1, r5
	addle	r2, r2, r5
	ble	.L2
	sub	r0, r6, #1
	sub	ip, r5, #1
	sub	r4, r2, #1
	add	r0, r2, r0
	add	ip, r2, ip
	add	r4, r4, r1
.L10:
	ldrb	lr, [r0, #1]!	@ zero_extendqisi2
	cmp	r0, r4
	strb	lr, [ip, #1]!
	bne	.L10
	add	r1, r5, r1
	sub	r1, r1, r6
.L19:
	add	r2, r2, r1
.L2:
	mov	r0, #0
	strb	r0, [r2]
	str	r1, [r3]
	pop	{r4, r5, r6, r7, pc}
.L11:
	mov	r1, #0
	mov	r0, #0
	strb	r0, [r2]
	str	r1, [r3]
	bx	lr
	.size	copy_stemmer, .-copy_stemmer
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
