	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_utf8len                        ## -- Begin function utf8len
	.p2align	4, 0x90
_utf8len:                               ## @utf8len
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.1:
	movb	(%rdi), %cl
	testb	%cl, %cl
	je	LBB0_6
## %bb.2:
	incq	%rdi
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	andb	$-64, %cl
	xorl	%edx, %edx
	cmpb	$-128, %cl
	setne	%dl
	addq	%rdx, %rax
	movzbl	(%rdi), %ecx
	incq	%rdi
	testb	%cl, %cl
	jne	LBB0_3
## %bb.4:
	popq	%rbp
	retq
LBB0_6:
	xorl	%eax, %eax
	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	_utf8len                        ; -- Begin function utf8len
	.p2align	2
_utf8len:                               ; @utf8len
	.cfi_startproc
; %bb.0:
	cbz	x0, LBB0_4
; %bb.1:
	mov	x8, x0
	ldrb	w9, [x0]
	cbz	w9, LBB0_5
; %bb.2:
	mov	x0, #0
	add	x8, x8, #1
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	and	w9, w9, #0xc0
	cmp	w9, #128
	cinc	x0, x0, ne
	ldrb	w9, [x8], #1
	cbnz	w9, LBB0_3
LBB0_4:
	ret
LBB0_5:
	mov	x0, #0
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
