	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function num_bytes_in_utf8_sequence
_num_bytes_in_utf8_sequence:            ## @num_bytes_in_utf8_sequence
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%edi, %ebx
	xorl	%r14d, %r14d
	cmpb	$-12, %bl
	ja	LBB0_7
## %bb.1:
	movl	%ebx, %eax
	andb	$-2, %al
	cmpb	$-64, %al
	je	LBB0_7
## %bb.2:
	movzbl	%bl, %edi
	callq	_IS_CONT
	testq	%rax, %rax
	jne	LBB0_7
## %bb.3:
	movl	$1, %r14d
	testb	$-128, %bl
	je	LBB0_7
## %bb.4:
	movl	%ebx, %eax
	andl	$-32, %eax
	movl	$2, %r14d
	cmpl	$192, %eax
	je	LBB0_7
## %bb.5:
	movl	%ebx, %eax
	andl	$-16, %eax
	movl	$3, %r14d
	cmpl	$224, %eax
	je	LBB0_7
## %bb.6:
	andl	$-8, %ebx
	xorl	%r14d, %r14d
	cmpl	$240, %ebx
	sete	%r14b
	shll	$2, %r14d
LBB0_7:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_num_bytes_in_utf8_sequence
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function num_bytes_in_utf8_sequence
_num_bytes_in_utf8_sequence:            ; @num_bytes_in_utf8_sequence
	.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
	mov	w0, #0
	cmp	w19, #244
	b.hi	LBB0_3
; %bb.1:
	and	w8, w19, #0xfe
	cmp	w8, #192
	b.eq	LBB0_3
; %bb.2:
	mov	x0, x19
	bl	_IS_CONT
	mov	w8, #1
	and	w9, w19, #0xe0
	mov	w10, #2
	and	w11, w19, #0xf0
	mov	w12, #3
	and	w13, w19, #0xf8
	cmp	w13, #240
	cset	w13, eq
	lsl	w13, w13, #2
	cmp	w11, #224
	csel	w11, w12, w13, eq
	cmp	w9, #192
	csel	w9, w10, w11, eq
	tst	w19, #0x80
	csel	w8, w8, w9, eq
	cmp	x0, #0
	csel	w0, wzr, w8, ne
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_num_bytes_in_utf8_sequence
.subsections_via_symbols
