	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pg_utf8_increment
_pg_utf8_increment:                     ## @pg_utf8_increment
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
                                        ## kill: def $esi killed $esi def $rsi
	xorl	%eax, %eax
	decl	%esi
	cmpl	$3, %esi
	ja	LBB0_13
## %bb.1:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rsi,4), %rdx
	addq	%rcx, %rdx
	jmpq	*%rdx
LBB0_8:
	movb	(%rdi), %cl
	jmp	LBB0_9
LBB0_2:
	movb	3(%rdi), %cl
	cmpb	$-65, %cl
	jae	LBB0_4
## %bb.3:
	addq	$3, %rdi
	jmp	LBB0_11
LBB0_4:
	movb	2(%rdi), %cl
	cmpb	$-65, %cl
	jae	LBB0_6
## %bb.5:
	addq	$2, %rdi
	jmp	LBB0_11
LBB0_6:
	movzbl	1(%rdi), %r9d
	movb	(%rdi), %cl
	cmpb	$-12, %cl
	movl	$143, %r8d
	movl	$191, %esi
	cmovel	%r8d, %esi
	cmpb	$-19, %cl
	movl	$159, %edx
	cmovnel	%esi, %edx
	cmpl	%r9d, %edx
	jbe	LBB0_9
## %bb.7:
	incq	%rdi
	movl	%r9d, %ecx
	jmp	LBB0_11
LBB0_9:
	leal	33(%rcx), %edx
	cmpb	$21, %dl
	ja	LBB0_10
## %bb.12:
	movzbl	%dl, %edx
	movl	$2162689, %esi                  ## imm = 0x210001
	btq	%rdx, %rsi
	jb	LBB0_13
LBB0_10:
	cmpb	$127, %cl
	jne	LBB0_11
LBB0_13:
	popq	%rbp
	retq
LBB0_11:
	incb	%cl
	movb	%cl, (%rdi)
	movl	$1, %eax
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
LJTI0_0:
	.long	L0_0_set_8
	.long	L0_0_set_6
	.long	L0_0_set_4
	.long	L0_0_set_2
	.end_data_region
                                        ## -- End function
	.no_dead_strip	_pg_utf8_increment
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pg_utf8_increment
_pg_utf8_increment:                     ; @pg_utf8_increment
	.cfi_startproc
; %bb.0:
	sub	w8, w1, #1
	cmp	w8, #3
	b.hi	LBB0_12
; %bb.1:
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	ldrb	w9, [x0]
	b	LBB0_8
LBB0_3:
	mov	x8, x0
	ldrb	w9, [x8, #3]!
	cmp	w9, #191
	b.lo	LBB0_5
LBB0_4:
	mov	x8, x0
	ldrb	w9, [x8, #2]!
	cmp	w9, #191
	b.hs	LBB0_6
LBB0_5:
	mov	x0, x8
	b	LBB0_11
LBB0_6:
	mov	x8, x0
	ldrb	w10, [x8, #1]!
	ldrb	w9, [x0]
	mov	w11, #191
	mov	w12, #143
	cmp	w9, #244
	csel	w11, w12, w11, eq
	mov	w12, #159
	cmp	w9, #237
	csel	w11, w12, w11, eq
	cmp	w11, w10
	b.ls	LBB0_8
; %bb.7:
	mov	x9, x10
	mov	x0, x8
	b	LBB0_11
LBB0_8:
	mov	w8, #0
	sub	w10, w9, #223
	cmp	w10, #21
	mov	w11, #1
	lsl	w10, w11, w10
	mov	w11, #1
	movk	w11, #33, lsl #16
	and	w10, w10, w11
	ccmp	w10, #0, #4, ls
	b.ne	LBB0_10
; %bb.9:
	cmp	w9, #127
	b.ne	LBB0_11
LBB0_10:
	mov	x0, x8
	ret
LBB0_11:
	add	w8, w9, #1
	strb	w8, [x0]
	mov	w8, #1
	mov	x0, x8
	ret
LBB0_12:
	mov	w0, #0
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
                                        ; -- End function
	.no_dead_strip	_pg_utf8_increment
.subsections_via_symbols
