	.file	"extr_grapheme_util.c_grapheme_substr_ascii.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	grapheme_substr_ascii
	.type	grapheme_substr_ascii, @function
grapheme_substr_ascii:
.LFB0:
	.cfi_startproc
	endbr64
	cmp	QWORD PTR INT32_MAX[rip], rsi
	mov	QWORD PTR [r8], 0
	jb	.L1
	test	rcx, rcx
	je	.L3
	cmp	rsi, rcx
	cmovb	rcx, rsi
.L3:
	cmp	rsi, rdx
	ja	.L11
.L1:
	ret
	.p2align 4,,10
	.p2align 3
.L11:
	lea	r10, [rcx+rdx]
	mov	rax, rsi
	sub	rax, rdx
	cmp	r10, rsi
	cmova	rcx, rax
	add	rdx, rdi
	mov	QWORD PTR [r8], rdx
	mov	QWORD PTR [r9], rcx
	ret
	.cfi_endproc
.LFE0:
	.size	grapheme_substr_ascii, .-grapheme_substr_ascii
	.comm	INT32_MAX,8,8
	.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_grapheme_util.c_grapheme_substr_ascii.c"
	.text
	.align	2
	.global	grapheme_substr_ascii
	.syntax unified
	.arm
	.fpu softvfp
	.type	grapheme_substr_ascii, %function
grapheme_substr_ascii:
	@ args = 8, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	mov	lr, #0
	ldr	ip, .L8
	ldr	r4, [ip]
	ldr	ip, [sp, #8]
	cmp	r4, r1
	str	lr, [ip]
	popcc	{r4, pc}
	cmp	r3, lr
	cmpne	r1, r3
	movcc	r3, r1
	cmp	r1, r2
	popls	{r4, pc}
	add	lr, r3, r2
	cmp	lr, r1
	subhi	r3, r1, r2
	add	r0, r0, r2
	ldr	r2, [sp, #12]
	str	r0, [ip]
	str	r3, [r2]
	pop	{r4, pc}
.L9:
	.align	2
.L8:
	.word	INT32_MAX
	.size	grapheme_substr_ascii, .-grapheme_substr_ascii
	.comm	INT32_MAX,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
