	.file	"extr_stem_UTF_8_porter.c_r_Step_5a.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	r_Step_5a, @function
r_Step_5a:
.LFB0:
	.cfi_startproc
	endbr64
	mov	edx, DWORD PTR 4[rdi]
	xor	eax, eax
	mov	DWORD PTR [rdi], edx
	cmp	edx, DWORD PTR 8[rdi]
	jle	.L12
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	movsx	rcx, edx
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rsi, QWORD PTR 16[rdi]
	cmp	BYTE PTR -1[rsi+rcx], 101
	je	.L16
.L1:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L16:
	.cfi_restore_state
	lea	ebx, -1[rdx]
	mov	r12d, DWORD PTR 28[rdi]
	mov	DWORD PTR 4[rdi], ebx
	mov	DWORD PTR 24[rdi], ebx
	call	r_R2@PLT
	test	eax, eax
	je	.L17
	js	.L1
.L5:
	mov	rdi, rbp
	call	slice_del@PLT
	mov	edx, 1
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	test	eax, eax
	pop	r12
	.cfi_def_cfa_offset 8
	cmovns	eax, edx
	ret
	.p2align 4,,10
	.p2align 3
.L12:
	.cfi_restore 3
	.cfi_restore 6
	.cfi_restore 12
	ret
	.p2align 4,,10
	.p2align 3
.L17:
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	.cfi_offset 6, -24
	.cfi_offset 12, -16
	add	ebx, DWORD PTR 28[rbp]
	mov	rdi, rbp
	mov	edx, ebx
	sub	edx, r12d
	mov	DWORD PTR 4[rbp], edx
	call	r_R1@PLT
	test	eax, eax
	jle	.L1
	mov	rdi, rbp
	mov	ebx, DWORD PTR 28[rbp]
	mov	r12d, DWORD PTR 4[rbp]
	call	r_shortv@PLT
	test	eax, eax
	je	.L18
	mov	edx, 0
	cmovg	eax, edx
	jmp	.L1
.L18:
	mov	eax, DWORD PTR 28[rbp]
	sub	ebx, r12d
	sub	eax, ebx
	mov	DWORD PTR 4[rbp], eax
	jmp	.L5
	.cfi_endproc
.LFE0:
	.size	r_Step_5a, .-r_Step_5a
	.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_stem_UTF_8_porter.c_r_Step_5a.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	r_Step_5a, %function
r_Step_5a:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, [r0, #4]
	ldr	r2, [r0, #8]
	str	r3, [r0]
	cmp	r3, r2
	ble	.L7
	push	{r4, r5, r6, lr}
	ldr	r2, [r0, #12]
	mov	r4, r0
	add	r2, r2, r3
	ldrb	r2, [r2, #-1]	@ zero_extendqisi2
	cmp	r2, #101
	beq	.L18
	mov	r0, #0
	pop	{r4, r5, r6, pc}
.L18:
	sub	r5, r3, #1
	str	r5, [r0, #4]
	str	r5, [r0, #16]
	ldr	r6, [r0, #20]
	bl	r_R2
	cmp	r0, #0
	beq	.L19
	poplt	{r4, r5, r6, pc}
.L5:
	mov	r0, r4
	bl	slice_del
	cmp	r0, #0
	movge	r0, #1
	pop	{r4, r5, r6, pc}
.L7:
	mov	r0, #0
	bx	lr
.L19:
	ldr	r2, [r4, #20]
	sub	r3, r6, r5
	sub	r3, r2, r3
	mov	r0, r4
	str	r3, [r4, #4]
	bl	r_R1
	cmp	r0, #0
	pople	{r4, r5, r6, pc}
	mov	r0, r4
	ldr	r5, [r4, #20]
	ldr	r6, [r4, #4]
	bl	r_shortv
	cmp	r0, #0
	beq	.L20
	and	r0, r0, r0, asr #31
	pop	{r4, r5, r6, pc}
.L20:
	ldr	r3, [r4, #20]
	sub	r5, r5, r6
	sub	r5, r3, r5
	str	r5, [r4, #4]
	b	.L5
	.size	r_Step_5a, .-r_Step_5a
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
