	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_jvp_utf8_backtrack             ## -- Begin function jvp_utf8_backtrack
	.p2align	4, 0x90
_jvp_utf8_backtrack:                    ## @jvp_utf8_backtrack
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	xorl	%edi, %edi
	cmpq	%rbx, %rsi
	setbe	%dil
	callq	_assert
	cmpq	%rbx, %r15
	je	LBB0_3
## %bb.1:
	ja	LBB0_13
## %bb.4:
	movq	_utf8_coding_length@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	_UTF8_CONTINUATION_BYTE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$-1, %eax
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%rbx), %esi
	movl	(%rcx,%rsi,4), %esi
	cmpl	%edx, %esi
	jne	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	decq	%rbx
	decl	%eax
	cmpq	%r15, %rbx
	jae	LBB0_5
	jmp	LBB0_13
LBB0_3:
	movq	%r15, %rbx
	jmp	LBB0_14
LBB0_8:
	testl	%esi, %esi
	je	LBB0_13
## %bb.9:
	addl	%esi, %eax
	js	LBB0_13
## %bb.10:
	testq	%r14, %r14
	je	LBB0_14
## %bb.11:
	movl	%eax, (%r14)
	jmp	LBB0_14
LBB0_13:
	xorl	%ebx, %ebx
LBB0_14:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_utf8_coding_length,8,3         ## @utf8_coding_length
	.comm	_UTF8_CONTINUATION_BYTE,4,2     ## @UTF8_CONTINUATION_BYTE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_jvp_utf8_backtrack             ; -- Begin function jvp_utf8_backtrack
	.p2align	2
_jvp_utf8_backtrack:                    ; @jvp_utf8_backtrack
	.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, x2
	mov	x21, x1
	mov	x19, x0
	cmp	x1, x0
	cset	w0, ls
	bl	_assert
	cmp	x21, x19
	b.eq	LBB0_5
; %bb.1:
	cmp	x19, x21
	b.lo	LBB0_10
; %bb.2:
Lloh0:
	adrp	x8, _utf8_coding_length@GOTPAGE
Lloh1:
	ldr	x8, [x8, _utf8_coding_length@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x8]
Lloh3:
	adrp	x8, _UTF8_CONTINUATION_BYTE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _UTF8_CONTINUATION_BYTE@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x8]
	mov	w8, #-1
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w11, [x19]
	ldr	w11, [x9, x11, lsl #2]
	cmp	w11, w10
	b.ne	LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	sub	x19, x19, #1
	sub	w8, w8, #1
	cmp	x19, x21
	b.hs	LBB0_3
	b	LBB0_10
LBB0_5:
	mov	x19, x21
	b	LBB0_11
LBB0_6:
	cbz	w11, LBB0_10
; %bb.7:
	adds	w8, w8, w11
	b.mi	LBB0_10
; %bb.8:
	cbz	x20, LBB0_11
; %bb.9:
	str	w8, [x20]
	b	LBB0_11
LBB0_10:
	mov	x19, #0
LBB0_11:
	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
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_utf8_coding_length,8,3         ; @utf8_coding_length
	.comm	_UTF8_CONTINUATION_BYTE,4,2     ; @UTF8_CONTINUATION_BYTE
.subsections_via_symbols
