	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_is_utf8                        ## -- Begin function is_utf8
	.p2align	4, 0x90
_is_utf8:                               ## @is_utf8
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, -24(%rbp)
	leaq	-24(%rbp), %r14
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_1 Depth=1
	incq	%rdi
	movq	%rdi, -24(%rbp)
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%rdi), %eax
	leal	-9(%rax), %ecx
	cmpb	$2, %cl
	jb	LBB0_5
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpb	$13, %al
	je	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	testb	%al, %al
	je	LBB0_4
## %bb.6:                               ##   in Loop: Header=BB0_1 Depth=1
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_utf8_width
	movq	-24(%rbp), %rdi
	testq	%rdi, %rdi
	jne	LBB0_1
	jmp	LBB0_7
LBB0_4:
	movl	$1, %ebx
LBB0_7:
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_is_utf8                        ; -- Begin function is_utf8
	.p2align	2
_is_utf8:                               ; @is_utf8
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	add	x0, x0, #1
LBB0_2:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_3 Depth 2
	str	x0, [sp, #8]
LBB0_3:                                 ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrb	w8, [x0]
	sub	w9, w8, #9
	cmp	w9, #2
	ccmp	w8, #13, #4, hs
	b.eq	LBB0_1
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=2
	cbz	w8, LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=2
	add	x0, sp, #8
	mov	x1, #0
	bl	_utf8_width
	ldr	x0, [sp, #8]
	cbnz	x0, LBB0_3
	b	LBB0_7
LBB0_6:
	mov	w0, #1
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
