	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_isLegalUTF8Sequence            ## -- Begin function isLegalUTF8Sequence
	.p2align	4, 0x90
_isLegalUTF8Sequence:                   ## @isLegalUTF8Sequence
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	%rsi, %rax
	movq	_trailingBytesForUTF8@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rdi), %rdx
	movslq	(%rcx,%rdx,4), %rsi
	leaq	(%rdi,%rsi,8), %rcx
	addq	$8, %rcx
	cmpq	%rax, %rcx
	jbe	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_2:
	incq	%rsi
                                        ## kill: def $esi killed $esi killed $rsi
	popq	%rbp
	jmp	_isLegalUTF8                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_trailingBytesForUTF8,8,3       ## @trailingBytesForUTF8
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_isLegalUTF8Sequence            ; -- Begin function isLegalUTF8Sequence
	.p2align	2
_isLegalUTF8Sequence:                   ; @isLegalUTF8Sequence
	.cfi_startproc
; %bb.0:
	mov	x8, x1
Lloh0:
	adrp	x9, _trailingBytesForUTF8@GOTPAGE
Lloh1:
	ldr	x9, [x9, _trailingBytesForUTF8@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	ldr	x10, [x0]
	ldrsw	x9, [x9, x10, lsl #2]
	add	x1, x9, #1
	add	x9, x0, x1, lsl #3
	cmp	x9, x8
	b.ls	LBB0_2
; %bb.1:
	mov	w0, #0
	ret
LBB0_2:
                                        ; kill: def $w1 killed $w1 killed $x1
	b	_isLegalUTF8
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_trailingBytesForUTF8,8,3       ; @trailingBytesForUTF8
.subsections_via_symbols
