	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mbfl_filt_conv_wchar_cp50222   ## -- Begin function mbfl_filt_conv_wchar_cp50222
	.p2align	4, 0x90
_mbfl_filt_conv_wchar_cp50222:          ## @mbfl_filt_conv_wchar_cp50222
	.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	%rsi, %r14
	movl	%edi, %ebx
	movq	_ucs_a1_jis_table_min@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%edi, %eax
	jg	LBB0_4
## %bb.1:
	movq	_ucs_a1_jis_table_max@GOTPCREL(%rip), %rcx
	cmpl	%ebx, (%rcx)
	jle	LBB0_4
## %bb.2:
	movq	_ucs_a1_jis_table@GOTPCREL(%rip), %rcx
	jmp	LBB0_3
LBB0_4:
	movq	_ucs_a2_jis_table_min@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%ebx, %eax
	jg	LBB0_7
## %bb.5:
	movq	_ucs_a2_jis_table_max@GOTPCREL(%rip), %rcx
	cmpl	%ebx, (%rcx)
	jle	LBB0_7
## %bb.6:
	movq	_ucs_a2_jis_table@GOTPCREL(%rip), %rcx
	jmp	LBB0_3
LBB0_7:
	movq	_ucs_i_jis_table_min@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%ebx, %eax
	jg	LBB0_10
## %bb.8:
	movq	_ucs_i_jis_table_max@GOTPCREL(%rip), %rcx
	cmpl	%ebx, (%rcx)
	jle	LBB0_10
## %bb.9:
	movq	_ucs_i_jis_table@GOTPCREL(%rip), %rcx
	jmp	LBB0_3
LBB0_10:
	movq	_ucs_r_jis_table_min@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%ebx, %eax
	jg	LBB0_13
## %bb.11:
	movq	_ucs_r_jis_table_max@GOTPCREL(%rip), %rcx
	cmpl	%ebx, (%rcx)
	jle	LBB0_13
## %bb.12:
	movq	_ucs_r_jis_table@GOTPCREL(%rip), %rcx
LBB0_3:
	movq	(%rcx), %rcx
	movl	%ebx, %edx
	subl	%eax, %edx
	movslq	%edx, %rax
	movl	(%rcx,%rax,4), %r15d
LBB0_17:
	testl	%r15d, %r15d
	jle	LBB0_18
LBB0_38:
	leal	-32896(%r15), %eax
	cmpl	$32639, %eax                    ## imm = 0x7F7F
	ja	LBB0_58
LBB0_39:
	movq	_cp932ext1_ucs_table_max@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_cp932ext1_ucs_table_min@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	subl	%ecx, %eax
	movl	$-1, %r15d
	testl	%eax, %eax
	jle	LBB0_44
## %bb.40:
	movq	_cp932ext1_ucs_table@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rsi
	movl	%eax, %edi
	movl	$8481, %eax                     ## imm = 0x2121
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_41:                                ## =>This Inner Loop Header: Depth=1
	cmpl	%ebx, (%rsi,%rdx,4)
	je	LBB0_43
## %bb.42:                              ##   in Loop: Header=BB0_41 Depth=1
	incq	%rdx
	incl	%eax
	cmpq	%rdx, %rdi
	jne	LBB0_41
	jmp	LBB0_44
LBB0_43:
	movslq	%ecx, %rsi
	imulq	$-1370734243, %rsi, %rsi        ## imm = 0xAE4C415D
	shrq	$32, %rsi
	addl	%ecx, %esi
	movl	%esi, %ecx
	shrl	$31, %ecx
	shrl	$6, %esi
	addl	%ecx, %esi
	shll	$8, %esi
	movl	%edx, %ecx
	movl	$2924233053, %edx               ## imm = 0xAE4C415D
	imulq	%rcx, %rdx
	shrq	$38, %rdx
	imull	$162, %edx, %ecx
	addl	%ecx, %eax
	addl	%esi, %eax
	movl	%eax, %r15d
	testl	%eax, %eax
	jg	LBB0_55
LBB0_44:
	movq	_cp932ext2_ucs_table_min@GOTPCREL(%rip), %rax
	movslq	(%rax), %rcx
	movq	_cp932ext2_ucs_table_max@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	subl	%ecx, %edx
	testl	%edx, %edx
	jle	LBB0_50
## %bb.45:
	imulq	$-1370734243, %rcx, %rax        ## imm = 0xAE4C415D
	shrq	$32, %rax
	addl	%ecx, %eax
	movl	%eax, %ecx
	shrl	$31, %ecx
	sarl	$6, %eax
	addl	%ecx, %eax
	movq	_cp932ext2_ucs_table@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	%edx, %edx
	shll	$8, %eax
	addl	$8481, %eax                     ## imm = 0x2121
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_46:                                ## =>This Inner Loop Header: Depth=1
	cmpl	%ebx, (%rcx,%rsi,4)
	je	LBB0_47
## %bb.48:                              ##   in Loop: Header=BB0_46 Depth=1
	incq	%rsi
	incl	%eax
	cmpq	%rsi, %rdx
	jne	LBB0_46
## %bb.49:
	testl	%r15d, %r15d
	jg	LBB0_55
	jmp	LBB0_50
LBB0_47:
	movl	%esi, %ecx
	movl	$2924233053, %edx               ## imm = 0xAE4C415D
	imulq	%rcx, %rdx
	shrq	$38, %rdx
	imull	$162, %edx, %ecx
	addl	%ecx, %eax
	movl	%eax, %r15d
	testl	%r15d, %r15d
	jg	LBB0_55
LBB0_50:
	movq	_cp932ext3_ucs_table_max@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_cp932ext3_ucs_table_min@GOTPCREL(%rip), %rcx
	subl	(%rcx), %eax
	movq	_cp932ext3_eucjp_table_size@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	cmpl	%ecx, %eax
	cmovgel	%ecx, %eax
	testl	%eax, %eax
	jle	LBB0_55
## %bb.51:
	movq	_cp932ext3_ucs_table@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	%eax, %edx
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_52:                                ## =>This Inner Loop Header: Depth=1
	cmpl	%ebx, (%rcx,%rax,4)
	je	LBB0_53
## %bb.54:                              ##   in Loop: Header=BB0_52 Depth=1
	incq	%rax
	cmpq	%rax, %rdx
	jne	LBB0_52
LBB0_55:
	testl	%ebx, %ebx
	je	LBB0_56
LBB0_57:
	testl	%r15d, %r15d
	jle	LBB0_82
LBB0_58:
	cmpl	$127, %r15d
	jbe	LBB0_59
## %bb.65:
	leal	-160(%r15), %eax
	cmpl	$63, %eax
	ja	LBB0_69
## %bb.66:
	movzbl	1(%r14), %eax
	shll	$8, %eax
	cmpl	$1280, %eax                     ## imm = 0x500
	je	LBB0_68
## %bb.67:
	movl	4(%r14), %esi
	movl	$14, %edi
	callq	*8(%r14)
	movl	%eax, %edi
	callq	_CK
	movl	$1280, (%r14)                   ## imm = 0x500
LBB0_68:
	addl	$-128, %r15d
	jmp	LBB0_64
LBB0_69:
	cmpl	$32895, %r15d                   ## imm = 0x807F
	ja	LBB0_75
## %bb.70:
	movzbl	1(%r14), %eax
	shll	$8, %eax
	cmpl	$512, %eax                      ## imm = 0x200
	je	LBB0_74
## %bb.71:
	movzwl	%ax, %eax
	cmpl	$1280, %eax                     ## imm = 0x500
	jne	LBB0_73
## %bb.72:
	movl	4(%r14), %esi
	movl	$15, %edi
	callq	*8(%r14)
	movl	%eax, %edi
	callq	_CK
	movl	$0, (%r14)
LBB0_73:
	movl	4(%r14), %esi
	movl	$27, %edi
	callq	*8(%r14)
	movl	%eax, %edi
	callq	_CK
	movl	4(%r14), %esi
	movl	$36, %edi
	callq	*8(%r14)
	movl	%eax, %edi
	callq	_CK
	movl	4(%r14), %esi
	movl	$66, %edi
	callq	*8(%r14)
	movl	%eax, %edi
	callq	_CK
	movl	$512, (%r14)                    ## imm = 0x200
LBB0_74:
	movl	%r15d, %edi
	shrl	$8, %edi
	andl	$127, %edi
	movl	4(%r14), %esi
	callq	*8(%r14)
	movl	%eax, %edi
	callq	_CK
	andl	$127, %r15d
	jmp	LBB0_64
LBB0_75:
	cmpl	$65535, %r15d                   ## imm = 0xFFFF
	ja	LBB0_76
LBB0_82:
	movl	%ebx, %edi
	movq	%r14, %rsi
	callq	_mbfl_filt_conv_illegal_output
	jmp	LBB0_83
LBB0_53:
	movq	_cp932ext3_eucjp_table@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rcx,%rax,4), %r15d
	testl	%ebx, %ebx
	jne	LBB0_57
LBB0_56:
	xorl	%r15d, %r15d
LBB0_59:
	movzbl	1(%r14), %eax
	shll	$8, %eax
	je	LBB0_64
## %bb.60:
	movzwl	%ax, %eax
	cmpl	$1280, %eax                     ## imm = 0x500
	jne	LBB0_62
## %bb.61:
	movl	4(%r14), %esi
	movl	$15, %edi
	jmp	LBB0_63
LBB0_62:
	movl	4(%r14), %esi
	movl	$27, %edi
	callq	*8(%r14)
	movl	%eax, %edi
	callq	_CK
	movl	4(%r14), %esi
	movl	$40, %edi
	callq	*8(%r14)
	movl	%eax, %edi
	callq	_CK
	movl	4(%r14), %esi
	movl	$66, %edi
LBB0_63:
	callq	*8(%r14)
	movl	%eax, %edi
	callq	_CK
	movl	$0, (%r14)
LBB0_64:
	movl	4(%r14), %esi
	movl	%r15d, %edi
	callq	*8(%r14)
LBB0_83:
	movl	%eax, %edi
	callq	_CK
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	leal	-57344(%rbx), %eax
	cmpl	$939, %eax                      ## imm = 0x3AB
	ja	LBB0_15
## %bb.14:
	movzwl	%ax, %ecx
	shrl	%ecx
	imull	$44621, %ecx, %ecx              ## imm = 0xAE4D
	shrl	$21, %ecx
	imull	$94, %ecx, %edx
	shll	$8, %ecx
	negl	%edx
	addl	%edx, %eax
	addl	$33, %eax
	movzwl	%ax, %r15d
	orl	%ecx, %r15d
	addl	$29952, %r15d                   ## imm = 0x7500
	jmp	LBB0_17
LBB0_76:
	movzbl	1(%r14), %eax
	shll	$8, %eax
	cmpl	$1024, %eax                     ## imm = 0x400
	je	LBB0_80
## %bb.77:
	movzwl	%ax, %eax
	cmpl	$1280, %eax                     ## imm = 0x500
	jne	LBB0_79
## %bb.78:
	movl	4(%r14), %esi
	movl	$15, %edi
	callq	*8(%r14)
	movl	%eax, %edi
	callq	_CK
	movl	$0, (%r14)
LBB0_79:
	movl	4(%r14), %esi
	movl	$27, %edi
	callq	*8(%r14)
	movl	%eax, %edi
	callq	_CK
	movl	4(%r14), %esi
	movl	$40, %edi
	callq	*8(%r14)
	movl	%eax, %edi
	callq	_CK
	movl	4(%r14), %esi
	movl	$74, %edi
	callq	*8(%r14)
	movl	%eax, %edi
	callq	_CK
LBB0_80:
	movl	$1024, (%r14)                   ## imm = 0x400
	andl	$127, %r15d
	jmp	LBB0_64
LBB0_15:
	leal	-58284(%rbx), %eax
	cmpl	$940, %eax                      ## imm = 0x3AC
	ja	LBB0_18
## %bb.16:
	movzwl	%ax, %ecx
	shrl	%ecx
	imull	$44621, %ecx, %ecx              ## imm = 0xAE4D
	shrl	$21, %ecx
	imull	$94, %ecx, %edx
	shll	$8, %ecx
	addl	$62720, %ecx                    ## imm = 0xF500
	negl	%edx
	addl	%edx, %eax
	addl	$161, %eax
	movzwl	%ax, %r15d
	orl	%ecx, %r15d
	jmp	LBB0_17
LBB0_18:
	cmpl	$65339, %ebx                    ## imm = 0xFF3B
	jle	LBB0_19
## %bb.26:
	cmpl	$65503, %ebx                    ## imm = 0xFFDF
	jle	LBB0_27
## %bb.30:
	cmpl	$65504, %ebx                    ## imm = 0xFFE0
	je	LBB0_36
## %bb.31:
	cmpl	$65505, %ebx                    ## imm = 0xFFE1
	je	LBB0_37
## %bb.32:
	cmpl	$65506, %ebx                    ## imm = 0xFFE2
	jne	LBB0_39
## %bb.33:
	movl	$8780, %r15d                    ## imm = 0x224C
	jmp	LBB0_38
LBB0_19:
	cmpl	$8740, %ebx                     ## imm = 0x2224
	jg	LBB0_23
## %bb.20:
	movl	$65628, %r15d                   ## imm = 0x1005C
	cmpl	$165, %ebx
	je	LBB0_38
## %bb.21:
	cmpl	$8254, %ebx                     ## imm = 0x203E
	jne	LBB0_39
## %bb.22:
	movl	$65662, %r15d                   ## imm = 0x1007E
	jmp	LBB0_38
LBB0_27:
	cmpl	$65340, %ebx                    ## imm = 0xFF3C
	je	LBB0_34
## %bb.28:
	cmpl	$65374, %ebx                    ## imm = 0xFF5E
	jne	LBB0_39
## %bb.29:
	movl	$8513, %r15d                    ## imm = 0x2141
	jmp	LBB0_38
LBB0_23:
	cmpl	$8741, %ebx                     ## imm = 0x2225
	je	LBB0_35
## %bb.24:
	cmpl	$65293, %ebx                    ## imm = 0xFF0D
	jne	LBB0_39
## %bb.25:
	movl	$8541, %r15d                    ## imm = 0x215D
	jmp	LBB0_38
LBB0_36:
	movl	$8561, %r15d                    ## imm = 0x2171
	jmp	LBB0_38
LBB0_37:
	movl	$8562, %r15d                    ## imm = 0x2172
	jmp	LBB0_38
LBB0_34:
	movl	$8512, %r15d                    ## imm = 0x2140
	jmp	LBB0_38
LBB0_35:
	movl	$8514, %r15d                    ## imm = 0x2142
	jmp	LBB0_38
	.cfi_endproc
                                        ## -- End function
	.comm	_ucs_a1_jis_table_min,4,2       ## @ucs_a1_jis_table_min
	.comm	_ucs_a1_jis_table_max,4,2       ## @ucs_a1_jis_table_max
	.comm	_ucs_a1_jis_table,8,3           ## @ucs_a1_jis_table
	.comm	_ucs_a2_jis_table_min,4,2       ## @ucs_a2_jis_table_min
	.comm	_ucs_a2_jis_table_max,4,2       ## @ucs_a2_jis_table_max
	.comm	_ucs_a2_jis_table,8,3           ## @ucs_a2_jis_table
	.comm	_ucs_i_jis_table_min,4,2        ## @ucs_i_jis_table_min
	.comm	_ucs_i_jis_table_max,4,2        ## @ucs_i_jis_table_max
	.comm	_ucs_i_jis_table,8,3            ## @ucs_i_jis_table
	.comm	_ucs_r_jis_table_min,4,2        ## @ucs_r_jis_table_min
	.comm	_ucs_r_jis_table_max,4,2        ## @ucs_r_jis_table_max
	.comm	_ucs_r_jis_table,8,3            ## @ucs_r_jis_table
	.comm	_cp932ext1_ucs_table_max,4,2    ## @cp932ext1_ucs_table_max
	.comm	_cp932ext1_ucs_table_min,4,2    ## @cp932ext1_ucs_table_min
	.comm	_cp932ext1_ucs_table,8,3        ## @cp932ext1_ucs_table
	.comm	_cp932ext2_ucs_table_min,4,2    ## @cp932ext2_ucs_table_min
	.comm	_cp932ext2_ucs_table_max,4,2    ## @cp932ext2_ucs_table_max
	.comm	_cp932ext2_ucs_table,8,3        ## @cp932ext2_ucs_table
	.comm	_cp932ext3_ucs_table_max,4,2    ## @cp932ext3_ucs_table_max
	.comm	_cp932ext3_ucs_table_min,4,2    ## @cp932ext3_ucs_table_min
	.comm	_cp932ext3_eucjp_table_size,4,2 ## @cp932ext3_eucjp_table_size
	.comm	_cp932ext3_ucs_table,8,3        ## @cp932ext3_ucs_table
	.comm	_cp932ext3_eucjp_table,8,3      ## @cp932ext3_eucjp_table
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mbfl_filt_conv_wchar_cp50222   ; -- Begin function mbfl_filt_conv_wchar_cp50222
	.p2align	2
_mbfl_filt_conv_wchar_cp50222:          ; @mbfl_filt_conv_wchar_cp50222
	.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, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _ucs_a1_jis_table_min@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ucs_a1_jis_table_min@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _ucs_a1_jis_table_max@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ucs_a1_jis_table_max@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w8, w0
	ccmp	w9, w0, #4, le
	b.gt	LBB0_6
; %bb.1:
Lloh6:
	adrp	x8, _ucs_a2_jis_table_min@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ucs_a2_jis_table_min@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _ucs_a2_jis_table_max@GOTPAGE
Lloh10:
	ldr	x9, [x9, _ucs_a2_jis_table_max@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	cmp	w8, w19
	ccmp	w9, w19, #4, le
	b.gt	LBB0_7
; %bb.2:
Lloh12:
	adrp	x8, _ucs_i_jis_table_min@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ucs_i_jis_table_min@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
Lloh15:
	adrp	x9, _ucs_i_jis_table_max@GOTPAGE
Lloh16:
	ldr	x9, [x9, _ucs_i_jis_table_max@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	cmp	w8, w19
	ccmp	w9, w19, #4, le
	b.gt	LBB0_8
; %bb.3:
Lloh18:
	adrp	x8, _ucs_r_jis_table_min@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ucs_r_jis_table_min@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
Lloh21:
	adrp	x9, _ucs_r_jis_table_max@GOTPAGE
Lloh22:
	ldr	x9, [x9, _ucs_r_jis_table_max@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	cmp	w8, w19
	ccmp	w9, w19, #4, le
	b.gt	LBB0_9
; %bb.4:
	sub	w8, w19, #14, lsl #12           ; =57344
	cmp	w8, #939
	b.hi	LBB0_60
; %bb.5:
	ubfx	w9, w8, #1, #15
	mov	w10, #44621
	mul	w9, w9, w10
	lsr	w9, w9, #21
	mov	w10, #29952
	add	w10, w10, w9, lsl #8
	mov	w11, #94
	msub	w8, w9, w11, w8
	add	w8, w8, #33
	b	LBB0_62
LBB0_6:
Lloh24:
	adrp	x9, _ucs_a1_jis_table@GOTPAGE
Lloh25:
	ldr	x9, [x9, _ucs_a1_jis_table@GOTPAGEOFF]
	b	LBB0_10
LBB0_7:
Lloh26:
	adrp	x9, _ucs_a2_jis_table@GOTPAGE
Lloh27:
	ldr	x9, [x9, _ucs_a2_jis_table@GOTPAGEOFF]
	b	LBB0_10
LBB0_8:
Lloh28:
	adrp	x9, _ucs_i_jis_table@GOTPAGE
Lloh29:
	ldr	x9, [x9, _ucs_i_jis_table@GOTPAGEOFF]
	b	LBB0_10
LBB0_9:
Lloh30:
	adrp	x9, _ucs_r_jis_table@GOTPAGE
Lloh31:
	ldr	x9, [x9, _ucs_r_jis_table@GOTPAGEOFF]
LBB0_10:
	ldr	x9, [x9]
	sub	w8, w19, w8
	ldr	w21, [x9, w8, sxtw #2]
	cmp	w21, #0
	b.le	LBB0_63
LBB0_11:
	mov	w8, #-32896
	add	w8, w21, w8
	lsr	w8, w8, #7
	cmp	w8, #254
	b.hi	LBB0_30
LBB0_12:
Lloh32:
	adrp	x8, _cp932ext1_ucs_table_max@GOTPAGE
Lloh33:
	ldr	x8, [x8, _cp932ext1_ucs_table_max@GOTPAGEOFF]
Lloh34:
	ldr	w8, [x8]
Lloh35:
	adrp	x9, _cp932ext1_ucs_table_min@GOTPAGE
Lloh36:
	ldr	x9, [x9, _cp932ext1_ucs_table_min@GOTPAGEOFF]
Lloh37:
	ldr	w9, [x9]
	sub	w10, w8, w9
	cmp	w10, #1
	b.lt	LBB0_16
; %bb.13:
	mov	x8, #0
Lloh38:
	adrp	x11, _cp932ext1_ucs_table@GOTPAGE
Lloh39:
	ldr	x11, [x11, _cp932ext1_ucs_table@GOTPAGEOFF]
Lloh40:
	ldr	x11, [x11]
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	ldr	w12, [x11, x8, lsl #2]
	cmp	w12, w19
	b.eq	LBB0_22
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=1
	add	x8, x8, #1
	cmp	x10, x8
	b.ne	LBB0_14
LBB0_16:
	mov	w21, #-1
LBB0_17:
Lloh41:
	adrp	x8, _cp932ext2_ucs_table_min@GOTPAGE
Lloh42:
	ldr	x8, [x8, _cp932ext2_ucs_table_min@GOTPAGEOFF]
Lloh43:
	ldrsw	x10, [x8]
Lloh44:
	adrp	x8, _cp932ext2_ucs_table_max@GOTPAGE
Lloh45:
	ldr	x8, [x8, _cp932ext2_ucs_table_max@GOTPAGEOFF]
Lloh46:
	ldr	w8, [x8]
	sub	w9, w8, w10
	cmp	w9, #1
	b.lt	LBB0_24
; %bb.18:
	mov	x8, #0
	mov	x11, #-48803
	movk	x11, #44620, lsl #16
	mul	x11, x10, x11
	lsr	x11, x11, #32
	add	w10, w11, w10
	asr	w11, w10, #6
	add	w10, w11, w10, lsr #31
Lloh47:
	adrp	x11, _cp932ext2_ucs_table@GOTPAGE
Lloh48:
	ldr	x11, [x11, _cp932ext2_ucs_table@GOTPAGEOFF]
Lloh49:
	ldr	x11, [x11]
LBB0_19:                                ; =>This Inner Loop Header: Depth=1
	ldr	w12, [x11, x8, lsl #2]
	cmp	w12, w19
	b.eq	LBB0_23
; %bb.20:                               ;   in Loop: Header=BB0_19 Depth=1
	add	x8, x8, #1
	cmp	x9, x8
	b.ne	LBB0_19
; %bb.21:
	cmp	w21, #0
	b.gt	LBB0_28
	b	LBB0_24
LBB0_22:
	mov	w10, #16733
	movk	w10, #44620, lsl #16
	smull	x11, w9, w10
	lsr	x11, x11, #32
	add	w9, w11, w9
	lsr	w11, w9, #6
	add	w9, w11, w9, lsr #31
	umull	x10, w8, w10
	lsr	x10, x10, #38
	add	w9, w9, w10
	mov	w11, #94
	msub	w8, w10, w11, w8
	add	w8, w8, w9, lsl #8
	mov	w9, #8481
	add	w21, w8, w9
	cmp	w21, #0
	b.gt	LBB0_28
	b	LBB0_17
LBB0_23:
	mov	w9, #16733
	movk	w9, #44620, lsl #16
	umull	x9, w8, w9
	lsr	x9, x9, #38
	add	w10, w9, w10
	mov	w11, #94
	msub	w8, w9, w11, w8
	add	w8, w8, w10, lsl #8
	mov	w9, #8481
	add	w21, w8, w9
	cmp	w21, #0
	b.gt	LBB0_28
LBB0_24:
Lloh50:
	adrp	x8, _cp932ext3_ucs_table_max@GOTPAGE
Lloh51:
	ldr	x8, [x8, _cp932ext3_ucs_table_max@GOTPAGEOFF]
Lloh52:
	ldr	w8, [x8]
Lloh53:
	adrp	x9, _cp932ext3_ucs_table_min@GOTPAGE
Lloh54:
	ldr	x9, [x9, _cp932ext3_ucs_table_min@GOTPAGEOFF]
Lloh55:
	adrp	x10, _cp932ext3_eucjp_table_size@GOTPAGE
Lloh56:
	ldr	x10, [x10, _cp932ext3_eucjp_table_size@GOTPAGEOFF]
Lloh57:
	ldr	w9, [x9]
Lloh58:
	ldr	w10, [x10]
	sub	w8, w8, w9
	cmp	w8, w10
	csel	w10, w8, w10, lt
	cmp	w10, #1
	b.lt	LBB0_28
; %bb.25:
	mov	x8, #0
Lloh59:
	adrp	x9, _cp932ext3_ucs_table@GOTPAGE
Lloh60:
	ldr	x9, [x9, _cp932ext3_ucs_table@GOTPAGEOFF]
Lloh61:
	ldr	x9, [x9]
	lsl	x10, x10, #2
LBB0_26:                                ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x9, x8]
	cmp	w11, w19
	b.eq	LBB0_43
; %bb.27:                               ;   in Loop: Header=BB0_26 Depth=1
	add	x8, x8, #4
	cmp	x10, x8
	b.ne	LBB0_26
LBB0_28:
	cbz	w19, LBB0_44
LBB0_29:
	cmp	w21, #1
	b.lt	LBB0_42
LBB0_30:
	cmp	w21, #127
	b.ls	LBB0_45
; %bb.31:
	sub	w8, w21, #160
	cmp	w8, #63
	b.hi	LBB0_35
; %bb.32:
	ldrb	w8, [x20, #1]
	lsl	w8, w8, #8
	cmp	w8, #1280
	b.eq	LBB0_34
; %bb.33:
	ldr	x8, [x20, #8]
	ldr	w1, [x20, #4]
	mov	w0, #14
	blr	x8
	bl	_CK
	mov	w8, #1280
	str	w8, [x20]
LBB0_34:
	ldr	x8, [x20, #8]
	sub	w0, w21, #128
	b	LBB0_57
LBB0_35:
	lsr	w8, w21, #7
	cmp	w8, #256
	b.hi	LBB0_41
; %bb.36:
	ldrb	w8, [x20, #1]
	lsl	w8, w8, #8
	cmp	w8, #512
	b.eq	LBB0_40
; %bb.37:
	cmp	w8, #1280
	b.ne	LBB0_39
; %bb.38:
	ldr	x8, [x20, #8]
	ldr	w1, [x20, #4]
	mov	w0, #15
	blr	x8
	bl	_CK
	str	wzr, [x20]
LBB0_39:
	ldr	x8, [x20, #8]
	ldr	w1, [x20, #4]
	mov	w0, #27
	blr	x8
	bl	_CK
	ldr	x8, [x20, #8]
	ldr	w1, [x20, #4]
	mov	w0, #36
	blr	x8
	bl	_CK
	ldr	x8, [x20, #8]
	ldr	w1, [x20, #4]
	mov	w0, #66
	blr	x8
	bl	_CK
	mov	w8, #512
	str	w8, [x20]
LBB0_40:
	ldr	x8, [x20, #8]
	ubfx	w0, w21, #8, #7
	ldr	w1, [x20, #4]
	blr	x8
	bl	_CK
	b	LBB0_56
LBB0_41:
	lsr	w8, w21, #16
	cbnz	w8, LBB0_51
LBB0_42:
	mov	x0, x19
	mov	x1, x20
	bl	_mbfl_filt_conv_illegal_output
	b	LBB0_59
LBB0_43:
Lloh62:
	adrp	x9, _cp932ext3_eucjp_table@GOTPAGE
Lloh63:
	ldr	x9, [x9, _cp932ext3_eucjp_table@GOTPAGEOFF]
Lloh64:
	ldr	x9, [x9]
	ldr	w21, [x9, x8]
	cbnz	w19, LBB0_29
LBB0_44:
	mov	w21, #0
LBB0_45:
	ldrb	w8, [x20, #1]
	lsl	w8, w8, #8
	cbz	w8, LBB0_50
; %bb.46:
	cmp	w8, #1280
	b.ne	LBB0_48
; %bb.47:
	ldr	x8, [x20, #8]
	ldr	w1, [x20, #4]
	mov	w0, #15
	b	LBB0_49
LBB0_48:
	ldr	x8, [x20, #8]
	ldr	w1, [x20, #4]
	mov	w0, #27
	blr	x8
	bl	_CK
	ldr	x8, [x20, #8]
	ldr	w1, [x20, #4]
	mov	w0, #40
	blr	x8
	bl	_CK
	ldr	x8, [x20, #8]
	ldr	w1, [x20, #4]
	mov	w0, #66
LBB0_49:
	blr	x8
	bl	_CK
	str	wzr, [x20]
LBB0_50:
	ldr	x8, [x20, #8]
	ldr	w1, [x20, #4]
	mov	x0, x21
	b	LBB0_58
LBB0_51:
	ldrb	w8, [x20, #1]
	lsl	w8, w8, #8
	cmp	w8, #1024
	b.eq	LBB0_55
; %bb.52:
	cmp	w8, #1280
	b.ne	LBB0_54
; %bb.53:
	ldr	x8, [x20, #8]
	ldr	w1, [x20, #4]
	mov	w0, #15
	blr	x8
	bl	_CK
	str	wzr, [x20]
LBB0_54:
	ldr	x8, [x20, #8]
	ldr	w1, [x20, #4]
	mov	w0, #27
	blr	x8
	bl	_CK
	ldr	x8, [x20, #8]
	ldr	w1, [x20, #4]
	mov	w0, #40
	blr	x8
	bl	_CK
	ldr	x8, [x20, #8]
	ldr	w1, [x20, #4]
	mov	w0, #74
	blr	x8
	bl	_CK
LBB0_55:
	mov	w8, #1024
	str	w8, [x20]
LBB0_56:
	ldr	x8, [x20, #8]
	and	w0, w21, #0x7f
LBB0_57:
	ldr	w1, [x20, #4]
LBB0_58:
	blr	x8
LBB0_59:
	bl	_CK
	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
LBB0_60:
	mov	w8, #-58284
	add	w8, w19, w8
	cmp	w8, #940
	b.hi	LBB0_63
; %bb.61:
	ubfx	w9, w8, #1, #15
	mov	w10, #44621
	mul	w9, w9, w10
	lsr	w9, w9, #21
	mov	w10, #62720
	add	w10, w10, w9, lsl #8
	mov	w11, #94
	msub	w8, w9, w11, w8
	add	w8, w8, #161
LBB0_62:
	and	w8, w8, #0xffff
	orr	w21, w10, w8
	cmp	w21, #0
	b.gt	LBB0_11
LBB0_63:
	mov	w8, #65339
	cmp	w19, w8
	b.le	LBB0_69
; %bb.64:
	mov	w8, #65503
	cmp	w19, w8
	b.le	LBB0_73
; %bb.65:
	mov	w8, #65504
	cmp	w19, w8
	b.eq	LBB0_79
; %bb.66:
	mov	w8, #65505
	cmp	w19, w8
	b.eq	LBB0_80
; %bb.67:
	mov	w8, #65506
	cmp	w19, w8
	b.ne	LBB0_12
; %bb.68:
	mov	w21, #8780
	b	LBB0_11
LBB0_69:
	mov	w8, #8740
	cmp	w19, w8
	b.gt	LBB0_76
; %bb.70:
	mov	w21, #92
	movk	w21, #1, lsl #16
	cmp	w19, #165
	b.eq	LBB0_11
; %bb.71:
	mov	w8, #8254
	cmp	w19, w8
	b.ne	LBB0_12
; %bb.72:
	add	w21, w21, #34
	b	LBB0_11
LBB0_73:
	mov	w8, #65340
	cmp	w19, w8
	b.eq	LBB0_81
; %bb.74:
	mov	w8, #65374
	cmp	w19, w8
	b.ne	LBB0_12
; %bb.75:
	mov	w21, #8513
	b	LBB0_11
LBB0_76:
	mov	w8, #8741
	cmp	w19, w8
	b.eq	LBB0_82
; %bb.77:
	mov	w8, #65293
	cmp	w19, w8
	b.ne	LBB0_12
; %bb.78:
	mov	w21, #8541
	b	LBB0_11
LBB0_79:
	mov	w21, #8561
	b	LBB0_11
LBB0_80:
	mov	w21, #8562
	b	LBB0_11
LBB0_81:
	mov	w21, #8512
	b	LBB0_11
LBB0_82:
	mov	w21, #8514
	b	LBB0_11
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh58
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh57
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.cfi_endproc
                                        ; -- End function
	.comm	_ucs_a1_jis_table_min,4,2       ; @ucs_a1_jis_table_min
	.comm	_ucs_a1_jis_table_max,4,2       ; @ucs_a1_jis_table_max
	.comm	_ucs_a1_jis_table,8,3           ; @ucs_a1_jis_table
	.comm	_ucs_a2_jis_table_min,4,2       ; @ucs_a2_jis_table_min
	.comm	_ucs_a2_jis_table_max,4,2       ; @ucs_a2_jis_table_max
	.comm	_ucs_a2_jis_table,8,3           ; @ucs_a2_jis_table
	.comm	_ucs_i_jis_table_min,4,2        ; @ucs_i_jis_table_min
	.comm	_ucs_i_jis_table_max,4,2        ; @ucs_i_jis_table_max
	.comm	_ucs_i_jis_table,8,3            ; @ucs_i_jis_table
	.comm	_ucs_r_jis_table_min,4,2        ; @ucs_r_jis_table_min
	.comm	_ucs_r_jis_table_max,4,2        ; @ucs_r_jis_table_max
	.comm	_ucs_r_jis_table,8,3            ; @ucs_r_jis_table
	.comm	_cp932ext1_ucs_table_max,4,2    ; @cp932ext1_ucs_table_max
	.comm	_cp932ext1_ucs_table_min,4,2    ; @cp932ext1_ucs_table_min
	.comm	_cp932ext1_ucs_table,8,3        ; @cp932ext1_ucs_table
	.comm	_cp932ext2_ucs_table_min,4,2    ; @cp932ext2_ucs_table_min
	.comm	_cp932ext2_ucs_table_max,4,2    ; @cp932ext2_ucs_table_max
	.comm	_cp932ext2_ucs_table,8,3        ; @cp932ext2_ucs_table
	.comm	_cp932ext3_ucs_table_max,4,2    ; @cp932ext3_ucs_table_max
	.comm	_cp932ext3_ucs_table_min,4,2    ; @cp932ext3_ucs_table_min
	.comm	_cp932ext3_eucjp_table_size,4,2 ; @cp932ext3_eucjp_table_size
	.comm	_cp932ext3_ucs_table,8,3        ; @cp932ext3_ucs_table
	.comm	_cp932ext3_eucjp_table,8,3      ; @cp932ext3_eucjp_table
.subsections_via_symbols
