	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_next_char
_get_next_char:                         ## @get_next_char
	.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
	movl	%edi, %ebx
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movq	(%rcx), %r13
	movq	_SUCCESS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r8)
	xorl	%edi, %edi
	cmpq	%rdx, %r13
	setbe	%dil
	callq	_assert
	movq	%r13, %rdi
	movl	$1, %esi
	callq	_CHECK_LEN
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movq	%r13, %rdi
	movl	$1, %esi
	callq	_MB_FAILURE
LBB0_2:
	addl	$-128, %ebx
	cmpl	$5, %ebx
	ja	LBB0_110
## %bb.3:
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rbx,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_4:
	movzbl	(%r12,%r13), %r15d
	testb	%r15b, %r15b
	jns	LBB0_111
## %bb.5:
	cmpb	$-63, %r15b
	jbe	LBB0_6
## %bb.7:
	cmpb	$-33, %r15b
	ja	LBB0_15
## %bb.8:
	movq	%r13, %rdi
	movl	$2, %esi
	callq	_CHECK_LEN
	testl	%eax, %eax
	jne	LBB0_10
## %bb.9:
	movq	%r13, %rdi
	movl	$1, %esi
	callq	_MB_FAILURE
LBB0_10:
	movzbl	1(%r13,%r12), %edi
	callq	_utf8_trail
	testl	%eax, %eax
	jne	LBB0_12
## %bb.11:
	movzbl	1(%r12,%r13), %edi
	callq	_utf8_lead
	xorl	%esi, %esi
	cmpl	$1, %eax
	adcl	$1, %esi
	movq	%r13, %rdi
	callq	_MB_FAILURE
LBB0_12:
	andl	$31, %r15d
	movl	%r15d, %eax
	shll	$6, %eax
	movzbl	1(%r12,%r13), %r15d
	andl	$63, %r15d
	orl	%eax, %r15d
	cmpl	$127, %r15d
	ja	LBB0_14
## %bb.13:
	movq	%r13, %rdi
	movl	$2, %esi
	callq	_MB_FAILURE
LBB0_14:
	addq	$2, %r13
	jmp	LBB0_112
LBB0_110:
	movzbl	(%r12,%r13), %r15d
	jmp	LBB0_111
LBB0_71:
	movzbl	(%r12,%r13), %r15d
	leal	127(%r15), %eax
	cmpb	$31, %al
	jb	LBB0_73
## %bb.72:
	leal	32(%r15), %eax
	cmpb	$28, %al
	jbe	LBB0_73
## %bb.77:
	testb	%r15b, %r15b
	jns	LBB0_111
## %bb.78:
	leal	95(%r15), %eax
	cmpb	$62, %al
	ja	LBB0_6
	jmp	LBB0_111
LBB0_62:
	movzbl	(%r12,%r13), %r15d
	leal	95(%r15), %eax
	cmpb	$93, %al
	ja	LBB0_70
## %bb.63:
	movq	%r13, %rdi
	movl	$2, %esi
	callq	_CHECK_LEN
	testl	%eax, %eax
	jne	LBB0_65
## %bb.64:
	movq	%r13, %rdi
	movl	$1, %esi
	callq	_MB_FAILURE
LBB0_65:
	movzbl	1(%r13,%r12), %ebx
	movl	%ebx, %edi
	callq	_gb2312_trail
	testl	%eax, %eax
	jne	LBB0_66
## %bb.67:
	movl	%ebx, %edi
	callq	_gb2312_lead
	jmp	LBB0_68
LBB0_79:
	movzbl	(%r12,%r13), %r15d
	leal	95(%r15), %eax
	cmpb	$93, %al
	ja	LBB0_85
## %bb.80:
	movq	%r13, %rdi
	movl	$2, %esi
	callq	_CHECK_LEN
	testl	%eax, %eax
	jne	LBB0_82
## %bb.81:
	movq	%r13, %rdi
	movl	$1, %esi
	callq	_MB_FAILURE
LBB0_82:
	movzbl	1(%r13,%r12), %eax
	leal	95(%rax), %ecx
	cmpb	$93, %cl
	jbe	LBB0_50
## %bb.83:
	cmpb	$-96, %al
	setne	%cl
	cmpb	$-1, %al
	setne	%al
	andb	%cl, %al
	movzbl	%al, %eax
LBB0_84:
	movl	$2, %esi
	subl	%eax, %esi
	movq	%r13, %rdi
	jmp	LBB0_52
LBB0_53:
	movzbl	(%r12,%r13), %r15d
	leal	127(%r15), %eax
	cmpb	$125, %al
	ja	LBB0_111
## %bb.54:
	movq	%r13, %rdi
	movl	$2, %esi
	callq	_CHECK_LEN
	testl	%eax, %eax
	jne	LBB0_56
## %bb.55:
	movq	%r13, %rdi
	movl	$1, %esi
	callq	_MB_FAILURE
LBB0_56:
	movzbl	1(%r13,%r12), %eax
	leal	-64(%rax), %ecx
	cmpb	$63, %cl
	jb	LBB0_50
## %bb.57:
	leal	95(%rax), %ecx
	cmpb	$93, %cl
	jbe	LBB0_50
## %bb.58:
	cmpb	$-128, %al
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	je	LBB0_69
## %bb.59:
	cmpb	$-1, %al
	jne	LBB0_60
LBB0_69:
	movq	%r13, %rdi
	movl	$2, %esi
	jmp	LBB0_61
LBB0_45:
	movzbl	(%r12,%r13), %r15d
	leal	127(%r15), %eax
	cmpb	$125, %al
	ja	LBB0_111
## %bb.46:
	movq	%r13, %rdi
	movl	$2, %esi
	callq	_CHECK_LEN
	testl	%eax, %eax
	jne	LBB0_48
## %bb.47:
	movq	%r13, %rdi
	movl	$1, %esi
	callq	_MB_FAILURE
LBB0_48:
	movzbl	1(%r13,%r12), %eax
	leal	-64(%rax), %ecx
	cmpb	$63, %cl
	jb	LBB0_50
## %bb.49:
	leal	95(%rax), %ecx
	cmpb	$93, %cl
	jbe	LBB0_50
## %bb.51:
	movq	%r13, %rdi
	movl	$1, %esi
LBB0_52:
	callq	_MB_FAILURE
	xorl	%r15d, %r15d
	addq	$2, %r13
	jmp	LBB0_112
LBB0_50:
	shll	$8, %r15d
	orl	%eax, %r15d
	addq	$2, %r13
	jmp	LBB0_112
LBB0_73:
	movq	%r13, %rdi
	movl	$2, %esi
	callq	_CHECK_LEN
	testl	%eax, %eax
	jne	LBB0_75
## %bb.74:
	movq	%r13, %rdi
	movl	$1, %esi
	callq	_MB_FAILURE
LBB0_75:
	movzbl	1(%r13,%r12), %ebx
	movl	%ebx, %edi
	callq	_sjis_trail
	testl	%eax, %eax
	je	LBB0_76
LBB0_66:
	shll	$8, %r15d
	orl	%ebx, %r15d
	addq	$2, %r13
	jmp	LBB0_112
LBB0_70:
	movl	%r15d, %edi
	callq	_gb2312_lead
	testl	%eax, %eax
	je	LBB0_6
LBB0_111:
	incq	%r13
	jmp	LBB0_112
LBB0_85:
	cmpb	$-97, %r15b
	jg	LBB0_92
## %bb.86:
	cmpb	$-114, %r15b
	je	LBB0_94
## %bb.87:
	cmpb	$-113, %r15b
	jne	LBB0_111
## %bb.88:
	subq	%r13, %r14
	cmpq	$3, %r14
	jae	LBB0_89
## %bb.99:
	cmpq	$2, %r14
	jne	LBB0_103
## %bb.100:
	movb	1(%r13,%r12), %al
	jmp	LBB0_101
LBB0_92:
	cmpb	$-96, %r15b
	je	LBB0_6
## %bb.93:
	cmpb	$-1, %r15b
	jne	LBB0_111
LBB0_6:
	movq	%r13, %rdi
	movl	$1, %esi
	callq	_MB_FAILURE
	xorl	%r15d, %r15d
LBB0_112:
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
LBB0_113:
	movq	%r13, (%rbx)
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_76:
	movl	%ebx, %edi
	callq	_sjis_lead
LBB0_68:
	testl	%eax, %eax
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	je	LBB0_69
LBB0_60:
	movq	%r13, %rdi
	movl	$1, %esi
LBB0_61:
	callq	_MB_FAILURE
	xorl	%r15d, %r15d
	addq	$2, %r13
	jmp	LBB0_113
LBB0_94:
	movq	%r13, %rdi
	movl	$2, %esi
	callq	_CHECK_LEN
	testl	%eax, %eax
	jne	LBB0_96
## %bb.95:
	movq	%r13, %rdi
	movl	$1, %esi
	callq	_MB_FAILURE
LBB0_96:
	movzbl	1(%r13,%r12), %r15d
	leal	95(%r15), %eax
	cmpb	$62, %al
	ja	LBB0_98
## %bb.97:
	orl	$36352, %r15d                   ## imm = 0x8E00
	addq	$2, %r13
	jmp	LBB0_112
LBB0_15:
	cmpb	$-17, %r15b
	ja	LBB0_30
## %bb.16:
	subq	%r13, %r14
	leaq	1(%r13), %rbx
	cmpq	$3, %r14
	jae	LBB0_17
## %bb.22:
	movl	$1, %esi
	cmpq	$2, %r14
	jne	LBB0_25
## %bb.23:
	movzbl	(%r12,%rbx), %edi
	callq	_utf8_lead
	movl	$1, %esi
	testl	%eax, %eax
	jne	LBB0_25
	jmp	LBB0_24
LBB0_89:
	movb	1(%r13,%r12), %al
	leal	1(%rax), %ecx
	cmpb	$-94, %cl
	jb	LBB0_101
## %bb.90:
	movzbl	2(%r13,%r12), %ecx
	leal	1(%rcx), %edx
	cmpb	$-94, %dl
	jae	LBB0_91
LBB0_101:
	cmpb	$-96, %al
	je	LBB0_105
## %bb.102:
	cmpb	$-1, %al
	jne	LBB0_103
LBB0_105:
	cmpq	$3, %r14
	jb	LBB0_108
## %bb.106:
	movb	2(%r13,%r12), %al
	cmpb	$-96, %al
	je	LBB0_109
## %bb.107:
	cmpb	$-1, %al
	jne	LBB0_108
LBB0_109:
	movq	%r13, %rdi
	movl	$3, %esi
	jmp	LBB0_104
LBB0_98:
	cmpb	$-96, %r15b
	setne	%al
	cmpb	$-1, %r15b
	setne	%cl
	andb	%al, %cl
	movzbl	%cl, %eax
	jmp	LBB0_84
LBB0_30:
	cmpb	$-12, %r15b
	ja	LBB0_6
## %bb.31:
	subq	%r13, %r14
	leaq	1(%r13), %rbx
	cmpq	$4, %r14
	jae	LBB0_32
## %bb.35:
	movl	$1, %esi
	cmpq	$2, %r14
	jae	LBB0_36
	jmp	LBB0_41
LBB0_103:
	movq	%r13, %rdi
	movl	$1, %esi
	jmp	LBB0_104
LBB0_108:
	movq	%r13, %rdi
	movl	$2, %esi
LBB0_104:
	callq	_MB_FAILURE
	xorl	%r15d, %r15d
	addq	$3, %r13
	jmp	LBB0_112
LBB0_17:
	movzbl	1(%r12,%r13), %edi
	callq	_utf8_trail
	testl	%eax, %eax
	je	LBB0_19
## %bb.18:
	movzbl	2(%r13,%r12), %edi
	callq	_utf8_trail
	testl	%eax, %eax
	jne	LBB0_26
LBB0_19:
	movzbl	(%r12,%rbx), %edi
	callq	_utf8_lead
	movl	$1, %esi
	testl	%eax, %eax
	jne	LBB0_25
## %bb.20:
	movzbl	2(%r13,%r12), %edi
	callq	_utf8_lead
	testl	%eax, %eax
	je	LBB0_21
LBB0_24:
	movl	$2, %esi
	jmp	LBB0_25
LBB0_91:
	movzbl	%al, %eax
	shll	$8, %eax
	leal	(%rax,%rcx), %r15d
	addl	$9371648, %r15d                 ## imm = 0x8F0000
	addq	$3, %r13
	jmp	LBB0_112
LBB0_32:
	movzbl	1(%r12,%r13), %edi
	callq	_utf8_trail
	testl	%eax, %eax
	je	LBB0_36
## %bb.33:
	movzbl	2(%r13,%r12), %edi
	callq	_utf8_trail
	testl	%eax, %eax
	je	LBB0_36
## %bb.34:
	movzbl	3(%r13,%r12), %edi
	callq	_utf8_trail
	testl	%eax, %eax
	jne	LBB0_42
LBB0_36:
	movzbl	(%r12,%rbx), %edi
	callq	_utf8_lead
	movl	$1, %esi
	testl	%eax, %eax
	jne	LBB0_41
## %bb.37:
	movl	$2, %esi
	cmpq	$3, %r14
	jb	LBB0_41
## %bb.38:
	movzbl	2(%r13,%r12), %edi
	callq	_utf8_lead
	xorl	%esi, %esi
	testl	%eax, %eax
	setne	%sil
	xorl	$3, %esi
	testl	%eax, %eax
	jne	LBB0_41
## %bb.39:
	cmpq	$4, %r14
	jb	LBB0_41
## %bb.40:
	movzbl	3(%r13,%r12), %edi
	callq	_utf8_lead
	xorl	%esi, %esi
	cmpl	$1, %eax
	adcl	$3, %esi
LBB0_41:
	movq	%r13, %rdi
	callq	_MB_FAILURE
LBB0_42:
	andl	$7, %r15d
	shll	$18, %r15d
	movzbl	(%r12,%rbx), %eax
	andl	$63, %eax
	shll	$12, %eax
	orl	%r15d, %eax
	movzbl	2(%r13,%r12), %r15d
	andl	$63, %r15d
	shll	$6, %r15d
	orl	%eax, %r15d
	movzbl	3(%r13,%r12), %ebx
	andl	$63, %ebx
	leal	(%rbx,%r15), %eax
	addl	$-1114112, %eax                 ## imm = 0xFFEF0000
	cmpl	$-1048577, %eax                 ## imm = 0xFFEFFFFF
	ja	LBB0_44
## %bb.43:
	movq	%r13, %rdi
	movl	$4, %esi
	callq	_MB_FAILURE
LBB0_44:
	orl	%ebx, %r15d
	addq	$4, %r13
	jmp	LBB0_112
LBB0_21:
	movl	$3, %esi
LBB0_25:
	movq	%r13, %rdi
	callq	_MB_FAILURE
LBB0_26:
	shll	$12, %r15d
	movzwl	%r15w, %ecx
	movzbl	(%r12,%rbx), %eax
	andl	$63, %eax
	shll	$6, %eax
	orl	%ecx, %eax
	movzbl	2(%r13,%r12), %r15d
	andl	$63, %r15d
	orl	%eax, %r15d
	cmpl	$2048, %r15d                    ## imm = 0x800
	jb	LBB0_28
## %bb.27:
	andl	$63488, %eax                    ## imm = 0xF800
	cmpl	$55296, %eax                    ## imm = 0xD800
	jne	LBB0_29
LBB0_28:
	movq	%r13, %rdi
	movl	$3, %esi
	callq	_MB_FAILURE
LBB0_29:
	addq	$3, %r13
	jmp	LBB0_112
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_71, LBB0_71-LJTI0_0
.set L0_0_set_62, LBB0_62-LJTI0_0
.set L0_0_set_79, LBB0_79-LJTI0_0
.set L0_0_set_53, LBB0_53-LJTI0_0
.set L0_0_set_45, LBB0_45-LJTI0_0
LJTI0_0:
	.long	L0_0_set_4
	.long	L0_0_set_71
	.long	L0_0_set_62
	.long	L0_0_set_79
	.long	L0_0_set_53
	.long	L0_0_set_45
	.end_data_region
                                        ## -- End function
	.comm	_SUCCESS,4,2                    ## @SUCCESS
	.no_dead_strip	_get_next_char
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_next_char
_get_next_char:                         ; @get_next_char
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x3
	mov	x23, x2
	mov	x21, x1
	mov	x22, x0
	ldr	x20, [x3]
Lloh0:
	adrp	x8, _SUCCESS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SUCCESS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x4]
	cmp	x20, x2
	cset	w0, ls
	bl	_assert
	mov	x0, x20
	mov	w1, #1
	bl	_CHECK_LEN
	cbnz	w0, LBB0_2
; %bb.1:
	mov	x0, x20
	mov	w1, #1
	bl	_MB_FAILURE
LBB0_2:
	sub	w8, w22, #128
	cmp	w8, #5
	b.hi	LBB0_6
; %bb.3:
Lloh3:
	adrp	x9, lJTI0_0@PAGE
Lloh4:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_4
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_4:
	ldrsb	w8, [x21, x20]
	and	w24, w8, #0xff
	tbnz	w8, #31, LBB0_46
; %bb.5:
	add	x20, x20, #1
	mov	x22, x24
	b	LBB0_67
LBB0_6:
	ldrb	w22, [x21, x20]
	b	LBB0_39
LBB0_7:
	ldrb	w22, [x21, x20]
	add	w8, w22, #127
	and	w8, w8, #0xff
	add	w9, w22, #32
	cmp	w8, #31
	and	w8, w9, #0xff
	ccmp	w8, #28, #0, hs
	b.hi	LBB0_36
; %bb.8:
	mov	x0, x20
	mov	w1, #2
	bl	_CHECK_LEN
	cbnz	w0, LBB0_10
; %bb.9:
	mov	x0, x20
	mov	w1, #1
	bl	_MB_FAILURE
LBB0_10:
	add	x8, x20, x21
	ldrb	w21, [x8, #1]
	mov	x0, x21
	bl	_sjis_trail
	cbnz	w0, LBB0_16
; %bb.11:
	mov	x0, x21
	bl	_sjis_lead
	cbnz	w0, LBB0_59
	b	LBB0_60
LBB0_12:
	ldrb	w22, [x21, x20]
	add	w8, w22, #95
	and	w8, w8, #0xff
	cmp	w8, #93
	b.hi	LBB0_38
; %bb.13:
	mov	x0, x20
	mov	w1, #2
	bl	_CHECK_LEN
	cbnz	w0, LBB0_15
; %bb.14:
	mov	x0, x20
	mov	w1, #1
	bl	_MB_FAILURE
LBB0_15:
	add	x8, x20, x21
	ldrb	w21, [x8, #1]
	mov	x0, x21
	bl	_gb2312_trail
	cbz	w0, LBB0_58
LBB0_16:
	bfi	w21, w22, #8, #8
	mov	x22, x21
	add	x20, x20, #2
	b	LBB0_67
LBB0_17:
	ldrb	w22, [x21, x20]
	add	w8, w22, #95
	and	w8, w8, #0xff
	cmp	w8, #93
	b.hi	LBB0_40
; %bb.18:
	mov	x0, x20
	mov	w1, #2
	bl	_CHECK_LEN
	cbnz	w0, LBB0_20
; %bb.19:
	mov	x0, x20
	mov	w1, #1
	bl	_MB_FAILURE
LBB0_20:
	add	x8, x20, x21
	ldrb	w8, [x8, #1]
	add	w9, w8, #95
	and	w9, w9, #0xff
	cmp	w9, #93
	b.hi	LBB0_65
; %bb.21:
	bfi	w8, w22, #8, #8
	mov	x22, x8
	add	x20, x20, #2
	b	LBB0_67
LBB0_22:
	ldrb	w23, [x21, x20]
	add	w8, w23, #127
	and	w8, w8, #0xff
	cmp	w8, #125
	b.hi	LBB0_35
; %bb.23:
	mov	x0, x20
	mov	w1, #2
	bl	_CHECK_LEN
	cbnz	w0, LBB0_25
; %bb.24:
	mov	x0, x20
	mov	w1, #1
	bl	_MB_FAILURE
LBB0_25:
	add	x8, x20, x21
	ldrb	w22, [x8, #1]
	sub	w8, w22, #64
	cmp	w8, #63
	b.lo	LBB0_34
; %bb.26:
	add	w8, w22, #95
	and	w8, w8, #0xff
	cmp	w8, #93
	b.ls	LBB0_34
; %bb.27:
	cmp	w22, #128
	b.eq	LBB0_60
; %bb.28:
	cmp	w22, #255
	b.eq	LBB0_60
	b	LBB0_59
LBB0_29:
	ldrb	w23, [x21, x20]
	add	w8, w23, #127
	and	w8, w8, #0xff
	cmp	w8, #125
	b.hi	LBB0_35
; %bb.30:
	mov	x0, x20
	mov	w1, #2
	bl	_CHECK_LEN
	cbnz	w0, LBB0_32
; %bb.31:
	mov	x0, x20
	mov	w1, #1
	bl	_MB_FAILURE
LBB0_32:
	add	x8, x20, x21
	ldrb	w22, [x8, #1]
	sub	w8, w22, #64
	cmp	w8, #63
	b.lo	LBB0_34
; %bb.33:
	add	w8, w22, #95
	and	w8, w8, #0xff
	cmp	w8, #93
	b.hi	LBB0_59
LBB0_34:
	bfi	w22, w23, #8, #8
	add	x20, x20, #2
	b	LBB0_67
LBB0_35:
	add	x20, x20, #1
	mov	x22, x23
	b	LBB0_67
LBB0_36:
	tbz	w22, #7, LBB0_39
; %bb.37:
	add	w8, w22, #95
	and	w8, w8, #0xff
	cmp	w8, #62
	b.hi	LBB0_57
	b	LBB0_39
LBB0_38:
	mov	x0, x22
	bl	_gb2312_lead
	cbz	w0, LBB0_57
LBB0_39:
	add	x20, x20, #1
	b	LBB0_67
LBB0_40:
	cmp	w22, #159
	b.gt	LBB0_55
; %bb.41:
	cmp	w22, #142
	b.eq	LBB0_61
; %bb.42:
	cmp	w22, #143
	b.ne	LBB0_39
; %bb.43:
	sub	x8, x23, x20
	cmp	x8, #3
	b.hs	LBB0_72
; %bb.44:
	cmp	x8, #2
	b.ne	LBB0_83
; %bb.45:
	add	x9, x20, x21
	ldrb	w9, [x9, #1]
	b	LBB0_74
LBB0_46:
	cmp	w24, #193
	b.ls	LBB0_57
; %bb.47:
	cmp	w24, #223
	b.hi	LBB0_68
; %bb.48:
	mov	x0, x20
	mov	w1, #2
	bl	_CHECK_LEN
	cbnz	w0, LBB0_50
; %bb.49:
	mov	x0, x20
	mov	w1, #1
	bl	_MB_FAILURE
LBB0_50:
	add	x22, x20, #1
	ldrb	w0, [x21, x22]
	bl	_utf8_trail
	cbnz	w0, LBB0_52
; %bb.51:
	ldrb	w0, [x21, x22]
	bl	_utf8_lead
	cmp	w0, #0
	mov	w8, #1
	cinc	w1, w8, eq
	mov	x0, x20
	bl	_MB_FAILURE
LBB0_52:
	ldrb	w8, [x21, x22]
	and	w22, w8, #0x3f
	bfi	w22, w24, #6, #5
	cmp	w22, #127
	b.hi	LBB0_54
; %bb.53:
	mov	x0, x20
	mov	w1, #2
	bl	_MB_FAILURE
LBB0_54:
	add	x20, x20, #2
	b	LBB0_67
LBB0_55:
	cmp	w22, #160
	b.eq	LBB0_57
; %bb.56:
	cmp	w22, #255
	b.ne	LBB0_39
LBB0_57:
	mov	x0, x20
	mov	w1, #1
	bl	_MB_FAILURE
	mov	w22, #0
	b	LBB0_67
LBB0_58:
	mov	x0, x21
	bl	_gb2312_lead
	cbz	w0, LBB0_60
LBB0_59:
	mov	x0, x20
	mov	w1, #1
	b	LBB0_66
LBB0_60:
	mov	x0, x20
	mov	w1, #2
	b	LBB0_66
LBB0_61:
	mov	x0, x20
	mov	w1, #2
	bl	_CHECK_LEN
	cbnz	w0, LBB0_63
; %bb.62:
	mov	x0, x20
	mov	w1, #1
	bl	_MB_FAILURE
LBB0_63:
	add	x8, x20, x21
	ldrb	w8, [x8, #1]
	add	w9, w8, #95
	and	w9, w9, #0xff
	cmp	w9, #62
	b.hi	LBB0_65
; %bb.64:
	mov	w9, #36352
	orr	w22, w8, w9
	add	x20, x20, #2
	b	LBB0_67
LBB0_65:
	cmp	w8, #255
	mov	w9, #160
	ccmp	w8, w9, #4, ne
	mov	w8, #1
	cinc	w1, w8, eq
	mov	x0, x20
LBB0_66:
	bl	_MB_FAILURE
	mov	w22, #0
	add	x20, x20, #2
LBB0_67:
	str	x20, [x19]
	mov	x0, x22
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_68:
	cmp	w24, #239
	b.hi	LBB0_80
; %bb.69:
	sub	x8, x23, x20
	add	x23, x20, #1
	cmp	x8, #3
	b.hs	LBB0_86
; %bb.70:
	cmp	x8, #2
	b.ne	LBB0_89
; %bb.71:
	ldrb	w0, [x21, x23]
	bl	_utf8_lead
	cbnz	w0, LBB0_89
	b	LBB0_105
LBB0_72:
	add	x10, x20, x21
	ldrb	w9, [x10, #1]
	add	w11, w9, #1
	and	w11, w11, #0xff
	cmp	w11, #162
	b.lo	LBB0_74
; %bb.73:
	ldrb	w10, [x10, #2]
	add	w11, w10, #1
	and	w11, w11, #0xff
	cmp	w11, #162
	b.hs	LBB0_90
LBB0_74:
	cmp	w9, #160
	b.eq	LBB0_76
; %bb.75:
	cmp	w9, #255
	b.ne	LBB0_83
LBB0_76:
	cmp	x8, #3
	b.lo	LBB0_84
; %bb.77:
	add	x8, x20, x21
	ldrb	w8, [x8, #2]
	cmp	w8, #160
	b.eq	LBB0_79
; %bb.78:
	cmp	w8, #255
	b.ne	LBB0_84
LBB0_79:
	mov	x0, x20
	mov	w1, #3
	b	LBB0_85
LBB0_80:
	cmp	w24, #244
	b.hi	LBB0_57
; %bb.81:
	sub	x25, x23, x20
	add	x23, x20, #1
	cmp	x25, #4
	b.hs	LBB0_91
; %bb.82:
	cmp	x25, #2
	b.hs	LBB0_94
	b	LBB0_95
LBB0_83:
	mov	x0, x20
	mov	w1, #1
	b	LBB0_85
LBB0_84:
	mov	x0, x20
	mov	w1, #2
LBB0_85:
	bl	_MB_FAILURE
	mov	w22, #0
	b	LBB0_110
LBB0_86:
	ldrb	w0, [x21, x23]
	bl	_utf8_trail
	cbz	w0, LBB0_88
; %bb.87:
	add	x8, x20, x21
	ldrb	w0, [x8, #2]
	bl	_utf8_trail
	cbnz	w0, LBB0_108
LBB0_88:
	ldrb	w0, [x21, x23]
	bl	_utf8_lead
	cbz	w0, LBB0_104
LBB0_89:
	mov	w1, #1
	b	LBB0_107
LBB0_90:
	bfi	w10, w9, #8, #8
	mov	w8, #9371648
	orr	w22, w10, w8
	b	LBB0_110
LBB0_91:
	ldrb	w0, [x21, x23]
	bl	_utf8_trail
	cbz	w0, LBB0_94
; %bb.92:
	add	x22, x20, x21
	ldrb	w0, [x22, #2]
	bl	_utf8_trail
	cbz	w0, LBB0_94
; %bb.93:
	ldrb	w0, [x22, #3]
	bl	_utf8_trail
	cbnz	w0, LBB0_97
LBB0_94:
	ldrb	w0, [x21, x23]
	bl	_utf8_lead
	cbz	w0, LBB0_100
LBB0_95:
	mov	w22, #1
LBB0_96:
	mov	x0, x20
	mov	x1, x22
	bl	_MB_FAILURE
LBB0_97:
	ldrb	w8, [x21, x23]
	ubfiz	w22, w24, #18, #3
	and	w8, w8, #0x3f
	bfi	w22, w8, #12, #6
	add	x8, x20, x21
	ldrb	w9, [x8, #2]
	and	w9, w9, #0x3f
	bfi	w22, w9, #6, #6
	ldrb	w8, [x8, #3]
	bfxil	w22, w8, #0, #6
	sub	w8, w22, #272, lsl #12          ; =1114112
	lsr	w8, w8, #20
	cmp	w8, #4094
	b.hi	LBB0_99
; %bb.98:
	mov	x0, x20
	mov	w1, #4
	bl	_MB_FAILURE
LBB0_99:
	add	x20, x20, #4
	b	LBB0_67
LBB0_100:
	mov	w22, #2
	cmp	x25, #3
	b.lo	LBB0_96
; %bb.101:
	add	x8, x20, x21
	ldrb	w0, [x8, #2]
	bl	_utf8_lead
	cmp	w0, #0
	cinc	w22, w22, eq
	cbnz	w0, LBB0_96
; %bb.102:
	cmp	x25, #4
	b.lo	LBB0_96
; %bb.103:
	add	x8, x20, x21
	ldrb	w0, [x8, #3]
	bl	_utf8_lead
	cmp	w0, #0
	mov	w8, #3
	cinc	w22, w8, eq
	b	LBB0_96
LBB0_104:
	add	x8, x20, x21
	ldrb	w0, [x8, #2]
	bl	_utf8_lead
	cbz	w0, LBB0_106
LBB0_105:
	mov	w1, #2
	b	LBB0_107
LBB0_106:
	mov	w1, #3
LBB0_107:
	mov	x0, x20
	bl	_MB_FAILURE
LBB0_108:
	ubfiz	w22, w24, #12, #4
	ldrb	w8, [x21, x23]
	and	w8, w8, #0x3f
	bfi	w22, w8, #6, #6
	add	x8, x20, x21
	ldrb	w8, [x8, #2]
	and	w9, w22, #0xf800
	bfxil	w22, w8, #0, #6
	cmp	w22, #2048
	mov	w8, #55296
	ccmp	w9, w8, #4, hs
	b.ne	LBB0_110
; %bb.109:
	mov	x0, x20
	mov	w1, #3
	bl	_MB_FAILURE
LBB0_110:
	add	x20, x20, #3
	b	LBB0_67
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_7-LBB0_4)>>2
	.byte	(LBB0_12-LBB0_4)>>2
	.byte	(LBB0_17-LBB0_4)>>2
	.byte	(LBB0_22-LBB0_4)>>2
	.byte	(LBB0_29-LBB0_4)>>2
                                        ; -- End function
	.comm	_SUCCESS,4,2                    ; @SUCCESS
	.no_dead_strip	_get_next_char
.subsections_via_symbols
