	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_utf8_walk                      ## -- Begin function utf8_walk
	.p2align	4, 0x90
_utf8_walk:                             ## @utf8_walk
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	callq	_utf8_walkbyte
	movl	%eax, %ebx
	cmpl	$128, %eax
	jl	LBB0_6
## %bb.1:
	movq	%r14, %rdi
	callq	_utf8_walkbyte
	movl	%eax, %r12d
	andl	$63, %r12d
	cmpl	$224, %ebx
	jb	LBB0_5
## %bb.2:
	shll	$6, %r12d
	movq	%r14, %rdi
	callq	_utf8_walkbyte
	movl	%eax, %r15d
	andl	$63, %r15d
	orl	%r12d, %r15d
	cmpl	$240, %ebx
	jb	LBB0_4
## %bb.3:
	shll	$6, %r15d
	movq	%r14, %rdi
	callq	_utf8_walkbyte
	andl	$63, %eax
	orl	%r15d, %eax
	andl	$7, %ebx
	shll	$18, %ebx
	orl	%eax, %ebx
	jmp	LBB0_6
LBB0_5:
	andl	$31, %ebx
	shll	$6, %ebx
	orl	%r12d, %ebx
	jmp	LBB0_6
LBB0_4:
	shll	$12, %ebx
	movzwl	%bx, %eax
	orl	%eax, %r15d
	movl	%r15d, %ebx
LBB0_6:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	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	_utf8_walk                      ; -- Begin function utf8_walk
	.p2align	2
_utf8_walk:                             ; @utf8_walk
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x20, x0
	bl	_utf8_walkbyte
	mov	x19, x0
	cmp	w0, #128
	b.lt	LBB0_6
; %bb.1:
	mov	x0, x20
	bl	_utf8_walkbyte
	and	w22, w0, #0x3f
	cmp	w19, #224
	b.lo	LBB0_4
; %bb.2:
	mov	x0, x20
	bl	_utf8_walkbyte
	and	w21, w0, #0x3f
	bfi	w21, w22, #6, #6
	cmp	w19, #240
	b.lo	LBB0_5
; %bb.3:
	mov	x0, x20
	bl	_utf8_walkbyte
	and	w8, w0, #0x3f
	bfi	w8, w21, #6, #12
	bfi	w8, w19, #18, #3
	mov	x19, x8
	b	LBB0_6
LBB0_4:
	bfi	w22, w19, #6, #5
	mov	x19, x22
	b	LBB0_6
LBB0_5:
	bfi	w21, w19, #12, #4
	mov	x19, x21
LBB0_6:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
