	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function utf8len_
_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
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	xorl	%edi, %edi
	testq	%rbx, %rbx
	setne	%dil
	callq	_FLAC__ASSERT
	movl	(%rbx), %ecx
	movl	$1, %eax
	testb	$-128, %cl
	je	LBB0_33
## %bb.1:
	movl	%ecx, %eax
	andl	$224, %eax
	cmpl	$192, %eax
	jne	LBB0_4
## %bb.2:
	movl	$192, %eax
	andl	4(%rbx), %eax
	cmpl	$128, %eax
	jne	LBB0_4
## %bb.3:
	andl	$254, %ecx
	xorl	%eax, %eax
	cmpl	$192, %ecx
	setne	%al
	addl	%eax, %eax
	jmp	LBB0_33
LBB0_4:
	movl	%ecx, %eax
	andl	$240, %eax
	cmpl	$224, %eax
	jne	LBB0_15
## %bb.5:
	movl	4(%rbx), %edx
	movl	%edx, %eax
	andl	$192, %eax
	cmpl	$128, %eax
	jne	LBB0_15
## %bb.6:
	movl	8(%rbx), %esi
	movl	%esi, %eax
	andl	$192, %eax
	cmpl	$128, %eax
	jne	LBB0_15
## %bb.7:
	movl	%edx, %edi
	andl	$224, %edi
	xorl	%eax, %eax
	cmpl	$224, %ecx
	jne	LBB0_9
## %bb.8:
	cmpl	$128, %edi
	je	LBB0_33
LBB0_9:
	cmpl	$239, %ecx
	je	LBB0_12
## %bb.10:
	cmpl	$237, %ecx
	jne	LBB0_14
## %bb.11:
	cmpl	$160, %edi
	jne	LBB0_14
	jmp	LBB0_33
LBB0_15:
	movl	%ecx, %eax
	andl	$248, %eax
	cmpl	$240, %eax
	jne	LBB0_20
## %bb.16:
	movl	4(%rbx), %edx
	movl	%edx, %eax
	andl	$192, %eax
	cmpl	$128, %eax
	jne	LBB0_20
## %bb.17:
	movl	$192, %eax
	movl	8(%rbx), %esi
	andl	%eax, %esi
	cmpl	$128, %esi
	jne	LBB0_20
## %bb.18:
	andl	12(%rbx), %eax
	cmpl	$128, %eax
	jne	LBB0_20
## %bb.19:
	xorl	$240, %ecx
	andl	$240, %edx
	xorl	$128, %edx
	xorl	%eax, %eax
	orl	%ecx, %edx
	setne	%al
	shll	$2, %eax
	jmp	LBB0_33
LBB0_20:
	movl	%ecx, %eax
	andl	$252, %eax
	cmpl	$248, %eax
	jne	LBB0_26
## %bb.21:
	movl	4(%rbx), %eax
	movl	%eax, %edx
	andl	$192, %edx
	cmpl	$128, %edx
	jne	LBB0_26
## %bb.22:
	movl	$192, %edx
	movl	8(%rbx), %esi
	andl	%edx, %esi
	cmpl	$128, %esi
	jne	LBB0_26
## %bb.23:
	andl	12(%rbx), %edx
	cmpl	$128, %edx
	jne	LBB0_26
## %bb.24:
	movl	$192, %edx
	andl	16(%rbx), %edx
	cmpl	$128, %edx
	jne	LBB0_26
## %bb.25:
	xorl	$248, %ecx
	andl	$248, %eax
	xorl	$128, %eax
	xorl	%edx, %edx
	orl	%ecx, %eax
	setne	%dl
	leal	(%rdx,%rdx,4), %eax
	jmp	LBB0_33
LBB0_26:
	movl	%ecx, %edx
	andl	$254, %edx
	xorl	%eax, %eax
	cmpl	$252, %edx
	jne	LBB0_33
## %bb.27:
	movl	4(%rbx), %edx
	movl	%edx, %esi
	andl	$192, %esi
	cmpl	$128, %esi
	jne	LBB0_33
## %bb.28:
	movl	$192, %esi
	movl	8(%rbx), %edi
	andl	%esi, %edi
	cmpl	$128, %edi
	jne	LBB0_33
## %bb.29:
	andl	12(%rbx), %esi
	cmpl	$128, %esi
	jne	LBB0_33
## %bb.30:
	movl	$192, %esi
	movl	16(%rbx), %edi
	andl	%esi, %edi
	cmpl	$128, %edi
	jne	LBB0_33
## %bb.31:
	andl	20(%rbx), %esi
	cmpl	$128, %esi
	jne	LBB0_33
## %bb.32:
	xorl	$252, %ecx
	andl	$252, %edx
	xorl	$128, %edx
	xorl	%esi, %esi
	orl	%ecx, %edx
	movl	$6, %eax
	cmovel	%esi, %eax
	jmp	LBB0_33
LBB0_12:
	cmpl	$191, %edx
	jne	LBB0_14
## %bb.13:
	andl	$254, %esi
	cmpl	$190, %esi
	je	LBB0_33
LBB0_14:
	movl	$3, %eax
LBB0_33:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_utf8len_
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function utf8len_
_utf8len_:                              ; @utf8len_
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	cmp	x0, #0
	cset	w0, ne
	bl	_FLAC__ASSERT
	ldr	w8, [x19]
	tbnz	w8, #7, LBB0_2
; %bb.1:
	mov	w0, #1
	b	LBB0_33
LBB0_2:
	and	w9, w8, #0xe0
	cmp	w9, #192
	b.ne	LBB0_5
; %bb.3:
	ldr	w9, [x19, #4]
	and	w9, w9, #0xc0
	cmp	w9, #128
	b.ne	LBB0_5
; %bb.4:
	and	w8, w8, #0xfe
	cmp	w8, #192
	cset	w8, ne
	lsl	w0, w8, #1
	b	LBB0_33
LBB0_5:
	and	w9, w8, #0xf0
	cmp	w9, #224
	b.ne	LBB0_13
; %bb.6:
	ldr	w9, [x19, #4]
	and	w10, w9, #0xc0
	cmp	w10, #128
	b.ne	LBB0_13
; %bb.7:
	ldr	w10, [x19, #8]
	and	w11, w10, #0xc0
	cmp	w11, #128
	b.ne	LBB0_13
; %bb.8:
	and	w11, w9, #0xe0
	cmp	w8, #224
	b.ne	LBB0_10
; %bb.9:
	cmp	w11, #128
	b.eq	LBB0_32
LBB0_10:
	cmp	w8, #239
	b.eq	LBB0_30
; %bb.11:
	cmp	w8, #237
	b.ne	LBB0_34
; %bb.12:
	cmp	w11, #160
	b.eq	LBB0_32
	b	LBB0_34
LBB0_13:
	and	w9, w8, #0xf8
	cmp	w9, #240
	b.ne	LBB0_18
; %bb.14:
	ldr	w9, [x19, #4]
	and	w10, w9, #0xc0
	cmp	w10, #128
	b.ne	LBB0_18
; %bb.15:
	ldr	w10, [x19, #8]
	and	w10, w10, #0xc0
	cmp	w10, #128
	b.ne	LBB0_18
; %bb.16:
	ldr	w10, [x19, #12]
	and	w10, w10, #0xc0
	cmp	w10, #128
	b.ne	LBB0_18
; %bb.17:
	and	w9, w9, #0xf0
	cmp	w9, #128
	mov	w9, #240
	ccmp	w8, w9, #0, eq
	mov	w8, #4
	csel	w0, wzr, w8, eq
	b	LBB0_33
LBB0_18:
	and	w9, w8, #0xfc
	cmp	w9, #248
	b.ne	LBB0_24
; %bb.19:
	ldr	w9, [x19, #4]
	and	w10, w9, #0xc0
	cmp	w10, #128
	b.ne	LBB0_24
; %bb.20:
	ldr	w10, [x19, #8]
	and	w10, w10, #0xc0
	cmp	w10, #128
	b.ne	LBB0_24
; %bb.21:
	ldr	w10, [x19, #12]
	and	w10, w10, #0xc0
	cmp	w10, #128
	b.ne	LBB0_24
; %bb.22:
	ldr	w10, [x19, #16]
	and	w10, w10, #0xc0
	cmp	w10, #128
	b.ne	LBB0_24
; %bb.23:
	and	w9, w9, #0xf8
	cmp	w9, #128
	mov	w9, #248
	ccmp	w8, w9, #0, eq
	mov	w8, #5
	csel	w0, wzr, w8, eq
	b	LBB0_33
LBB0_24:
	and	w9, w8, #0xfe
	cmp	w9, #252
	b.ne	LBB0_32
; %bb.25:
	ldr	w9, [x19, #4]
	and	w10, w9, #0xc0
	cmp	w10, #128
	b.ne	LBB0_32
; %bb.26:
	ldr	w10, [x19, #8]
	and	w10, w10, #0xc0
	cmp	w10, #128
	b.ne	LBB0_32
; %bb.27:
	ldr	w10, [x19, #12]
	and	w10, w10, #0xc0
	cmp	w10, #128
	b.ne	LBB0_32
; %bb.28:
	ldr	w10, [x19, #16]
	and	w10, w10, #0xc0
	cmp	w10, #128
	b.ne	LBB0_32
; %bb.29:
	ldr	w10, [x19, #20]
	and	w10, w10, #0xc0
	and	w9, w9, #0xfc
	cmp	w9, #128
	mov	w9, #252
	ccmp	w8, w9, #0, eq
	mov	w8, #6
	csel	w8, wzr, w8, eq
	cmp	w10, #128
	csel	w0, wzr, w8, ne
	b	LBB0_33
LBB0_30:
	cmp	w9, #191
	b.ne	LBB0_34
; %bb.31:
	and	w8, w10, #0xfe
	cmp	w8, #190
	b.ne	LBB0_34
LBB0_32:
	mov	w0, #0
LBB0_33:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_34:
	mov	w0, #3
	b	LBB0_33
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_utf8len_
.subsections_via_symbols
