	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function verify_utf8
_verify_utf8:                           ## @verify_utf8
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testl	%edx, %edx
	jle	LBB0_5
## %bb.1:
	movq	_utf8d@GOTPCREL(%rip), %rax
	movq	(%rax), %r10
	movl	%edx, %r9d
	movl	(%rdi), %eax
	decq	%r9
	xorl	%edx, %edx
	movq	_UTF8_INVAL@GOTPCREL(%rip), %r8
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movsbq	(%rsi,%rdx), %rcx
	movl	(%r10,%rcx,4), %ecx
	shll	$4, %eax
	addl	%ecx, %eax
	addl	$256, %eax                      ## imm = 0x100
	cltq
	movl	(%r10,%rax,4), %eax
	movl	%eax, (%rdi)
	cmpl	(%r8), %eax
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	1(%rdx), %rcx
	cmpq	%rdx, %r9
	movq	%rcx, %rdx
	jne	LBB0_2
LBB0_4:
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
LBB0_5:
	movl	(%rdi), %eax
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_utf8d,8,3                      ## @utf8d
	.comm	_UTF8_INVAL,4,2                 ## @UTF8_INVAL
	.no_dead_strip	_verify_utf8
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function verify_utf8
_verify_utf8:                           ; @verify_utf8
	.cfi_startproc
; %bb.0:
	cmp	w2, #0
	b.le	LBB0_4
; %bb.1:
Lloh0:
	adrp	x8, _utf8d@GOTPAGE
Lloh1:
	ldr	x8, [x8, _utf8d@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x8]
	mov	w10, w2
	ldr	w8, [x0]
	sub	x10, x10, #1
Lloh3:
	adrp	x11, _UTF8_INVAL@GOTPAGE
Lloh4:
	ldr	x11, [x11, _UTF8_INVAL@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldrsb	x12, [x1], #1
	ldr	w12, [x9, x12, lsl #2]
	add	w8, w12, w8, lsl #4
	add	w8, w8, #256
	ldr	w8, [x9, w8, sxtw #2]
	str	w8, [x0]
	ldr	w12, [x11]
	cmp	w8, w12
	ccmp	x10, #0, #4, ne
	sub	x10, x10, #1
	b.ne	LBB0_2
; %bb.3:
	mov	x0, x8
	ret
LBB0_4:
	ldr	w0, [x0]
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_utf8d,8,3                      ; @utf8d
	.comm	_UTF8_INVAL,4,2                 ; @UTF8_INVAL
	.no_dead_strip	_verify_utf8
.subsections_via_symbols
