	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_jvp_utf8_next                  ## -- Begin function jvp_utf8_next
	.p2align	4, 0x90
_jvp_utf8_next:                         ## @jvp_utf8_next
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r12
	movq	%rdi, %r15
	xorl	%edi, %edi
	cmpq	%rsi, %r15
	setbe	%dil
	callq	_assert
	cmpq	%r12, %r15
	je	LBB0_1
## %bb.2:
	movzbl	(%r15), %edi
	movl	$1, %r13d
	testb	$-128, %dil
	jne	LBB0_4
## %bb.3:
	movl	%edi, %ebx
LBB0_15:
	xorl	%edi, %edi
	testl	%r13d, %r13d
	setg	%dil
	callq	_assert
	movl	%ebx, (%r14)
	movslq	%r13d, %rax
	addq	%rax, %r15
	jmp	LBB0_16
LBB0_1:
	xorl	%r15d, %r15d
LBB0_16:
	movq	%r15, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	_utf8_coding_length@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movl	(%rdx,%rdi,4), %eax
	movl	$-1, %ebx
	testq	%rax, %rax
	je	LBB0_15
## %bb.5:
	movq	_UTF8_CONTINUATION_BYTE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	cmpl	%esi, %eax
	je	LBB0_15
## %bb.6:
	movslq	%eax, %r8
	leaq	(%r15,%r8), %rcx
	cmpq	%r12, %rcx
	jbe	LBB0_8
## %bb.7:
	subl	%r15d, %r12d
	movl	%r12d, %r13d
	jmp	LBB0_15
LBB0_8:
	movsbl	%dil, %ebx
	movq	_utf8_coding_bits@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	andl	(%rcx,%rdi,4), %ebx
	cmpl	$1, %eax
	jle	LBB0_13
## %bb.9:
	movl	$1, %r13d
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movzbl	(%r15,%r13), %edi
	cmpl	%esi, (%rdx,%rdi,4)
	jne	LBB0_11
## %bb.12:                              ##   in Loop: Header=BB0_10 Depth=1
	movl	%ebx, %ecx
	shll	$6, %ecx
	andl	$63, %edi
	movl	%edi, %ebx
	orl	%ecx, %ebx
	incq	%r13
	cmpq	%r13, %rax
	jne	LBB0_10
LBB0_13:
	movl	%eax, %r13d
	jmp	LBB0_14
LBB0_11:
	movl	$-1, %ebx
	movq	%r13, %r8
LBB0_14:
	movq	_utf8_first_codepoint@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpl	(%rax,%r8,4), %ebx
	movl	$-1, %eax
	cmovll	%eax, %ebx
	movl	%ebx, %ecx
	andl	$-2048, %ecx                    ## imm = 0xF800
	cmpl	$55296, %ecx                    ## imm = 0xD800
	cmovel	%eax, %ebx
	cmpl	$1114112, %ebx                  ## imm = 0x110000
	cmovgel	%eax, %ebx
	jmp	LBB0_15
	.cfi_endproc
                                        ## -- End function
	.comm	_utf8_coding_length,8,3         ## @utf8_coding_length
	.comm	_UTF8_CONTINUATION_BYTE,4,2     ## @UTF8_CONTINUATION_BYTE
	.comm	_utf8_coding_bits,8,3           ## @utf8_coding_bits
	.comm	_utf8_first_codepoint,8,3       ## @utf8_first_codepoint
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_jvp_utf8_next                  ; -- Begin function jvp_utf8_next
	.p2align	2
_jvp_utf8_next:                         ; @jvp_utf8_next
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x2
	mov	x21, x1
	mov	x20, x0
	cmp	x0, x1
	cset	w0, ls
	bl	_assert
	cmp	x20, x21
	b.eq	LBB0_3
; %bb.1:
	ldrb	w23, [x20]
	tbnz	w23, #7, LBB0_4
; %bb.2:
	mov	w22, #1
	b	LBB0_14
LBB0_3:
	mov	x0, #0
	b	LBB0_15
LBB0_4:
Lloh0:
	adrp	x8, _utf8_coding_length@GOTPAGE
Lloh1:
	ldr	x8, [x8, _utf8_coding_length@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x8]
	ldr	w22, [x9, w23, uxtw #2]
	sxtw	x8, w22
Lloh3:
	adrp	x10, _UTF8_CONTINUATION_BYTE@GOTPAGE
Lloh4:
	ldr	x10, [x10, _UTF8_CONTINUATION_BYTE@GOTPAGEOFF]
Lloh5:
	ldr	w11, [x10]
	cmp	w8, #0
	ccmp	w8, w11, #4, ne
	b.ne	LBB0_6
; %bb.5:
	mov	w22, #1
	mov	w23, #-1
	b	LBB0_14
LBB0_6:
	add	x10, x20, x8
	cmp	x10, x21
	b.ls	LBB0_8
; %bb.7:
	sub	w22, w21, w20
	mov	w23, #-1
	b	LBB0_14
LBB0_8:
Lloh6:
	adrp	x10, _utf8_coding_bits@GOTPAGE
Lloh7:
	ldr	x10, [x10, _utf8_coding_bits@GOTPAGEOFF]
	sxtb	w12, w23
Lloh8:
	ldr	x10, [x10]
	ldr	w10, [x10, x23, lsl #2]
	and	w10, w10, w12
	cmp	w8, #1
	b.le	LBB0_13
; %bb.9:
	mov	w12, #1
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldrb	w13, [x20, x12]
	ldr	w14, [x9, x13, lsl #2]
	cmp	w14, w11
	b.ne	LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	bfi	w13, w10, #6, #26
	mov	x10, x13
	add	x12, x12, #1
	cmp	x22, x12
	b.ne	LBB0_10
	b	LBB0_13
LBB0_12:
	mov	w10, #-1
	mov	x8, x12
	mov	x22, x12
LBB0_13:
Lloh9:
	adrp	x9, _utf8_first_codepoint@GOTPAGE
Lloh10:
	ldr	x9, [x9, _utf8_first_codepoint@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	ldr	w8, [x9, x8, lsl #2]
	cmp	w10, w8
	csinv	w8, w10, wzr, ge
	lsr	w9, w8, #11
	cmp	w9, #27
	csinv	w8, w8, wzr, ne
	cmp	w8, #272, lsl #12               ; =1114112
	csinv	w23, w8, wzr, lt
LBB0_14:
	cmp	w22, #0
	cset	w0, gt
	bl	_assert
	str	w23, [x19]
	add	x0, x20, w22, sxtw
LBB0_15:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_utf8_coding_length,8,3         ; @utf8_coding_length
	.comm	_UTF8_CONTINUATION_BYTE,4,2     ; @UTF8_CONTINUATION_BYTE
	.comm	_utf8_coding_bits,8,3           ; @utf8_coding_bits
	.comm	_utf8_first_codepoint,8,3       ; @utf8_first_codepoint
.subsections_via_symbols
