	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_grapheme_substr_ascii          ## -- Begin function grapheme_substr_ascii
	.p2align	4, 0x90
_grapheme_substr_ascii:                 ## @grapheme_substr_ascii
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	$0, (%r8)
	movq	%rsi, %r10
	subq	%rdx, %r10
	jbe	LBB0_3
## %bb.1:
	movq	_INT32_MAX@GOTPCREL(%rip), %rax
	cmpq	%rsi, (%rax)
	jb	LBB0_3
## %bb.2:
	cmpq	%rsi, %rcx
	movq	%rsi, %rax
	cmovbq	%rcx, %rax
	testq	%rcx, %rcx
	cmoveq	%rcx, %rax
	leaq	(%rax,%rdx), %rcx
	cmpq	%rsi, %rcx
	cmovaq	%r10, %rax
	addq	%rdx, %rdi
	movq	%rdi, (%r8)
	movq	%rax, (%r9)
LBB0_3:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_INT32_MAX,8,3                  ## @INT32_MAX
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_grapheme_substr_ascii          ; -- Begin function grapheme_substr_ascii
	.p2align	2
_grapheme_substr_ascii:                 ; @grapheme_substr_ascii
	.cfi_startproc
; %bb.0:
	str	xzr, [x4]
	subs	x8, x1, x2
	b.ls	LBB0_3
; %bb.1:
Lloh0:
	adrp	x9, _INT32_MAX@GOTPAGE
Lloh1:
	ldr	x9, [x9, _INT32_MAX@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x9, x1
	b.lo	LBB0_3
; %bb.2:
	cmp	x3, x1
	csel	x9, x3, x1, lo
	cmp	x3, #0
	csel	x9, xzr, x9, eq
	add	x10, x9, x2
	cmp	x10, x1
	csel	x8, x8, x9, hi
	add	x9, x0, x2
	str	x9, [x4]
	str	x8, [x5]
LBB0_3:
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_INT32_MAX,8,3                  ; @INT32_MAX
.subsections_via_symbols
