	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mbfl_filt_conv_wchar_2022jpms  ## -- Begin function mbfl_filt_conv_wchar_2022jpms
	.p2align	4, 0x90
_mbfl_filt_conv_wchar_2022jpms:         ## @mbfl_filt_conv_wchar_2022jpms
	.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_3
## %bb.1:
	movq	_ucs_a1_jis_table_max@GOTPCREL(%rip), %rcx
	cmpl	%ebx, (%rcx)
	jle	LBB0_3
## %bb.2:
	movq	_ucs_a1_jis_table@GOTPCREL(%rip), %rcx
	jmp	LBB0_12
LBB0_3:
	movq	_ucs_a2_jis_table_min@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%ebx, %eax
	jg	LBB0_6
## %bb.4:
	movq	_ucs_a2_jis_table_max@GOTPCREL(%rip), %rcx
	cmpl	%ebx, (%rcx)
	jle	LBB0_6
## %bb.5:
	movq	_ucs_a2_jis_table@GOTPCREL(%rip), %rcx
	jmp	LBB0_12
LBB0_6:
	movq	_ucs_i_jis_table_min@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%ebx, %eax
	jg	LBB0_9
## %bb.7:
	movq	_ucs_i_jis_table_max@GOTPCREL(%rip), %rcx
	cmpl	%ebx, (%rcx)
	jle	LBB0_9
## %bb.8:
	movq	_ucs_i_jis_table@GOTPCREL(%rip), %rcx
	jmp	LBB0_12
LBB0_9:
	movq	_ucs_r_jis_table_min@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%ebx, %eax
	jg	LBB0_57
## %bb.10:
	movq	_ucs_r_jis_table_max@GOTPCREL(%rip), %rcx
	cmpl	%ebx, (%rcx)
	jle	LBB0_57
## %bb.11:
	movq	_ucs_r_jis_table@GOTPCREL(%rip), %rcx
LBB0_12:
	movq	(%rcx), %rcx
	movl	%ebx, %edx
	subl	%eax, %edx
	movslq	%edx, %rax
	movl	(%rcx,%rax,4), %r15d
LBB0_13:
	movb	$1, %al
	testl	%r15d, %r15d
	jg	LBB0_21
LBB0_14:
	movq	_MBFL_WCSPLANE_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movl	%r15d, %eax
	notl	%eax
	andl	%ebx, %eax
	movq	_MBFL_WCSPLANE_WINCP932@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_16
## %bb.15:
	andl	%ebx, %r15d
	xorl	%eax, %eax
	jmp	LBB0_21
LBB0_16:
	movq	_MBFL_WCSPLANE_JIS0208@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_18
## %bb.17:
	andl	%ebx, %r15d
	jmp	LBB0_20
LBB0_18:
	movq	_MBFL_WCSPLANE_JIS0212@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_59
## %bb.19:
	andl	%ebx, %r15d
	orl	$32896, %r15d                   ## imm = 0x8080
LBB0_20:
	movb	$1, %al
LBB0_21:
	cmpl	$41377, %r15d                   ## imm = 0xA1A1
	setge	%cl
	testl	%r15d, %r15d
	jle	LBB0_23
## %bb.22:
	andb	%al, %cl
	je	LBB0_34
LBB0_23:
	movq	_cp932ext1_ucs_table_max@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_cp932ext1_ucs_table_min@GOTPCREL(%rip), %rcx
	subl	(%rcx), %eax
	movl	$-1, %r15d
	testl	%eax, %eax
	jle	LBB0_28
## %bb.24:
	movq	_cp932ext1_ucs_table@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	%eax, %edx
	movl	$11553, %eax                    ## imm = 0x2D21
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_25:                                ## =>This Inner Loop Header: Depth=1
	cmpl	%ebx, (%rcx,%rsi,4)
	je	LBB0_27
## %bb.26:                              ##   in Loop: Header=BB0_25 Depth=1
	incq	%rsi
	incl	%eax
	cmpq	%rsi, %rdx
	jne	LBB0_25
	jmp	LBB0_28
LBB0_27:
	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	%eax, %eax
	jg	LBB0_32
LBB0_28:
	movq	_cp932ext3_ucs_table_max@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_cp932ext3_ucs_table_min@GOTPCREL(%rip), %rax
	subl	(%rax), %ecx
	testl	%ecx, %ecx
	jle	LBB0_32
## %bb.29:
	movq	_cp932ext3_ucs_table@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	%ecx, %ecx
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_30:                                ## =>This Inner Loop Header: Depth=1
	cmpl	%ebx, (%rax,%rdi,4)
	je	LBB0_43
## %bb.31:                              ##   in Loop: Header=BB0_30 Depth=1
	incq	%rdi
	cmpq	%rdi, %rcx
	jne	LBB0_30
LBB0_32:
	testl	%ebx, %ebx
	je	LBB0_44
LBB0_33:
	testl	%r15d, %r15d
	jle	LBB0_48
LBB0_34:
	cmpl	$127, %r15d
	jbe	LBB0_45
## %bb.35:
	leal	-161(%r15), %eax
	cmpl	$62, %eax
	ja	LBB0_39
## %bb.36:
	movzbl	1(%r14), %eax
	shll	$8, %eax
	cmpl	$256, %eax                      ## imm = 0x100
	je	LBB0_38
## %bb.37:
	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	$73, %edi
	callq	*8(%r14)
	movl	%eax, %edi
	callq	_CK
LBB0_38:
	movl	$256, (%r14)                    ## imm = 0x100
	jmp	LBB0_54
LBB0_39:
	cmpl	$32382, %r15d                   ## imm = 0x7E7E
	ja	LBB0_49
## %bb.40:
	movzbl	1(%r14), %eax
	shll	$8, %eax
	cmpl	$512, %eax                      ## imm = 0x200
	je	LBB0_42
## %bb.41:
	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
LBB0_42:
	movl	$512, (%r14)                    ## imm = 0x200
	movl	%r15d, %edi
	shrl	$8, %edi
	jmp	LBB0_53
LBB0_43:
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_cp932ext3_cp932ext2_jis
	movl	%eax, %r15d
	testl	%ebx, %ebx
	jne	LBB0_33
LBB0_44:
	xorl	%r15d, %r15d
LBB0_45:
	cmpb	$0, 1(%r14)
	je	LBB0_47
## %bb.46:
	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
	callq	*8(%r14)
	movl	%eax, %edi
	callq	_CK
LBB0_47:
	movl	4(%r14), %esi
	movl	%r15d, %edi
	callq	*8(%r14)
	movl	%eax, %edi
	callq	_CK
	movl	$0, (%r14)
	jmp	LBB0_56
LBB0_48:
	movl	%ebx, %edi
	movq	%r14, %rsi
	callq	_mbfl_filt_conv_illegal_output
	jmp	LBB0_55
LBB0_49:
	cmpl	$37502, %r15d                   ## imm = 0x927E
	ja	LBB0_56
## %bb.50:
	movzbl	1(%r14), %eax
	shll	$8, %eax
	cmpl	$2048, %eax                     ## imm = 0x800
	je	LBB0_52
## %bb.51:
	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	$40, %edi
	callq	*8(%r14)
	movl	%eax, %edi
	callq	_CK
	movl	4(%r14), %esi
	movl	$63, %edi
	callq	*8(%r14)
	movl	%eax, %edi
	callq	_CK
LBB0_52:
	movl	$2048, (%r14)                   ## imm = 0x800
	movl	%r15d, %edi
	shrl	$8, %edi
	addl	$34, %edi
	andl	$127, %edi
LBB0_53:
	movl	4(%r14), %esi
	callq	*8(%r14)
	movl	%eax, %edi
	callq	_CK
LBB0_54:
	andl	$127, %r15d
	movl	4(%r14), %esi
	movl	%r15d, %edi
	callq	*8(%r14)
LBB0_55:
	movl	%eax, %edi
	callq	_CK
LBB0_56:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_57:
	leal	-57344(%rbx), %eax
	cmpl	$1879, %eax                     ## imm = 0x757
	ja	LBB0_14
## %bb.58:
	movzwl	%ax, %ecx
	shrl	%ecx
	imull	$44621, %ecx, %r15d             ## imm = 0xAE4D
	shrl	$21, %r15d
	imull	$94, %r15d, %ecx
	negl	%ecx
	addl	%ecx, %eax
	addl	$33, %eax
	movzwl	%ax, %eax
	shll	$8, %r15d
	orl	%eax, %r15d
	addl	$32512, %r15d                   ## imm = 0x7F00
	jmp	LBB0_13
LBB0_59:
	movb	$1, %al
	cmpl	$65339, %ebx                    ## imm = 0xFF3B
	jle	LBB0_65
## %bb.60:
	cmpl	$65503, %ebx                    ## imm = 0xFFDF
	jle	LBB0_69
## %bb.61:
	cmpl	$65504, %ebx                    ## imm = 0xFFE0
	je	LBB0_75
## %bb.62:
	cmpl	$65505, %ebx                    ## imm = 0xFFE1
	je	LBB0_76
## %bb.63:
	cmpl	$65506, %ebx                    ## imm = 0xFFE2
	jne	LBB0_23
## %bb.64:
	movl	$8780, %r15d                    ## imm = 0x224C
	jmp	LBB0_21
LBB0_65:
	cmpl	$8740, %ebx                     ## imm = 0x2224
	jg	LBB0_72
## %bb.66:
	movl	$8559, %r15d                    ## imm = 0x216F
	cmpl	$165, %ebx
	je	LBB0_21
## %bb.67:
	cmpl	$8254, %ebx                     ## imm = 0x203E
	jne	LBB0_23
## %bb.68:
	movl	$8497, %r15d                    ## imm = 0x2131
	jmp	LBB0_21
LBB0_69:
	cmpl	$65340, %ebx                    ## imm = 0xFF3C
	je	LBB0_77
## %bb.70:
	cmpl	$65374, %ebx                    ## imm = 0xFF5E
	jne	LBB0_23
## %bb.71:
	movl	$8513, %r15d                    ## imm = 0x2141
	jmp	LBB0_21
LBB0_72:
	cmpl	$8741, %ebx                     ## imm = 0x2225
	je	LBB0_78
## %bb.73:
	cmpl	$65293, %ebx                    ## imm = 0xFF0D
	jne	LBB0_23
## %bb.74:
	movl	$8541, %r15d                    ## imm = 0x215D
	jmp	LBB0_21
LBB0_75:
	movl	$8561, %r15d                    ## imm = 0x2171
	jmp	LBB0_21
LBB0_76:
	movl	$8562, %r15d                    ## imm = 0x2172
	jmp	LBB0_21
LBB0_77:
	movl	$8512, %r15d                    ## imm = 0x2140
	jmp	LBB0_21
LBB0_78:
	movl	$8514, %r15d                    ## imm = 0x2142
	jmp	LBB0_21
	.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	_MBFL_WCSPLANE_MASK,4,2         ## @MBFL_WCSPLANE_MASK
	.comm	_MBFL_WCSPLANE_WINCP932,4,2     ## @MBFL_WCSPLANE_WINCP932
	.comm	_MBFL_WCSPLANE_JIS0208,4,2      ## @MBFL_WCSPLANE_JIS0208
	.comm	_MBFL_WCSPLANE_JIS0212,4,2      ## @MBFL_WCSPLANE_JIS0212
	.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	_cp932ext3_ucs_table_max,4,2    ## @cp932ext3_ucs_table_max
	.comm	_cp932ext3_ucs_table_min,4,2    ## @cp932ext3_ucs_table_min
	.comm	_cp932ext3_ucs_table,8,3        ## @cp932ext3_ucs_table
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mbfl_filt_conv_wchar_2022jpms  ; -- Begin function mbfl_filt_conv_wchar_2022jpms
	.p2align	2
_mbfl_filt_conv_wchar_2022jpms:         ; @mbfl_filt_conv_wchar_2022jpms
	.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, #1879
	b.hi	LBB0_12
; %bb.5:
	ubfx	w9, w8, #1, #15
	mov	w10, #44621
	mul	w9, w9, w10
	lsr	w9, w9, #21
	mov	w10, #94
	msub	w8, w9, w10, w8
	add	w8, w8, #33
	and	w8, w8, #0xffff
	mov	w10, #32512
	add	w9, w10, w9, lsl #8
	orr	w21, w9, w8
	cmp	w21, #0
	b.gt	LBB0_11
	b	LBB0_12
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_12
LBB0_11:
	mov	w8, #1
	b	LBB0_14
LBB0_12:
Lloh32:
	adrp	x8, _MBFL_WCSPLANE_MASK@GOTPAGE
Lloh33:
	ldr	x8, [x8, _MBFL_WCSPLANE_MASK@GOTPAGEOFF]
Lloh34:
	ldr	w9, [x8]
	bic	w8, w19, w9
Lloh35:
	adrp	x10, _MBFL_WCSPLANE_WINCP932@GOTPAGE
Lloh36:
	ldr	x10, [x10, _MBFL_WCSPLANE_WINCP932@GOTPAGEOFF]
Lloh37:
	ldr	w10, [x10]
	cmp	w8, w10
	b.ne	LBB0_24
; %bb.13:
	mov	w8, #0
	and	w21, w9, w19
LBB0_14:
	mov	w9, #41376
	cmp	w21, w9
	cset	w9, gt
	and	w8, w9, w8
	cmp	w21, #1
	ccmp	w8, #0, #0, ge
	b.eq	LBB0_29
LBB0_15:
Lloh38:
	adrp	x8, _cp932ext1_ucs_table_max@GOTPAGE
Lloh39:
	ldr	x8, [x8, _cp932ext1_ucs_table_max@GOTPAGEOFF]
Lloh40:
	ldr	w8, [x8]
Lloh41:
	adrp	x9, _cp932ext1_ucs_table_min@GOTPAGE
Lloh42:
	ldr	x9, [x9, _cp932ext1_ucs_table_min@GOTPAGEOFF]
Lloh43:
	ldr	w9, [x9]
	sub	w9, w8, w9
	cmp	w9, #1
	b.lt	LBB0_19
; %bb.16:
	mov	x8, #0
Lloh44:
	adrp	x10, _cp932ext1_ucs_table@GOTPAGE
Lloh45:
	ldr	x10, [x10, _cp932ext1_ucs_table@GOTPAGEOFF]
Lloh46:
	ldr	x10, [x10]
LBB0_17:                                ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x10, x8, lsl #2]
	cmp	w11, w19
	b.eq	LBB0_26
; %bb.18:                               ;   in Loop: Header=BB0_17 Depth=1
	add	x8, x8, #1
	cmp	x9, x8
	b.ne	LBB0_17
LBB0_19:
	mov	w21, #-1
LBB0_20:
Lloh47:
	adrp	x8, _cp932ext3_ucs_table_max@GOTPAGE
Lloh48:
	ldr	x8, [x8, _cp932ext3_ucs_table_max@GOTPAGEOFF]
Lloh49:
	ldr	w8, [x8]
Lloh50:
	adrp	x9, _cp932ext3_ucs_table_min@GOTPAGE
Lloh51:
	ldr	x9, [x9, _cp932ext3_ucs_table_min@GOTPAGEOFF]
Lloh52:
	ldr	w9, [x9]
	sub	w8, w8, w9
	cmp	w8, #1
	b.lt	LBB0_27
; %bb.21:
	mov	x0, #0
Lloh53:
	adrp	x9, _cp932ext3_ucs_table@GOTPAGE
Lloh54:
	ldr	x9, [x9, _cp932ext3_ucs_table@GOTPAGEOFF]
Lloh55:
	ldr	x9, [x9]
LBB0_22:                                ; =>This Inner Loop Header: Depth=1
	ldr	w10, [x9, x0, lsl #2]
	cmp	w10, w19
	b.eq	LBB0_38
; %bb.23:                               ;   in Loop: Header=BB0_22 Depth=1
	add	x0, x0, #1
	cmp	x8, x0
	b.ne	LBB0_22
	b	LBB0_27
LBB0_24:
Lloh56:
	adrp	x10, _MBFL_WCSPLANE_JIS0208@GOTPAGE
Lloh57:
	ldr	x10, [x10, _MBFL_WCSPLANE_JIS0208@GOTPAGEOFF]
Lloh58:
	ldr	w10, [x10]
	cmp	w8, w10
	b.ne	LBB0_44
; %bb.25:
	and	w21, w9, w19
	b	LBB0_11
LBB0_26:
	mov	w9, #16733
	movk	w9, #44620, lsl #16
	umull	x9, w8, w9
	lsr	x9, x9, #38
	mov	w10, #94
	msub	w8, w9, w10, w8
	add	w8, w8, w9, lsl #8
	mov	w9, #11553
	add	w21, w8, w9
	cmp	w21, #0
	b.le	LBB0_20
LBB0_27:
	cbz	w19, LBB0_39
LBB0_28:
	cmp	w21, #1
	b.lt	LBB0_43
LBB0_29:
	cmp	w21, #127
	b.ls	LBB0_40
; %bb.30:
	sub	w8, w21, #161
	cmp	w8, #62
	b.hi	LBB0_34
; %bb.31:
	ldrb	w8, [x20, #1]
	lsl	w8, w8, #8
	cmp	w8, #256
	b.eq	LBB0_33
; %bb.32:
	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, #73
	blr	x8
	bl	_CK
LBB0_33:
	mov	w8, #256
	str	w8, [x20]
	b	LBB0_51
LBB0_34:
	mov	w8, #32382
	cmp	w21, w8
	b.hi	LBB0_46
; %bb.35:
	ldrb	w8, [x20, #1]
	lsl	w8, w8, #8
	cmp	w8, #512
	b.eq	LBB0_37
; %bb.36:
	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
LBB0_37:
	mov	w8, #512
	str	w8, [x20]
	ldr	x8, [x20, #8]
	lsr	w0, w21, #8
	b	LBB0_50
LBB0_38:
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_cp932ext3_cp932ext2_jis
	mov	x21, x0
	cbnz	w19, LBB0_28
LBB0_39:
	mov	w21, #0
LBB0_40:
	ldrb	w8, [x20, #1]
	cbz	w8, LBB0_42
; %bb.41:
	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
	blr	x8
	bl	_CK
LBB0_42:
	ldr	x8, [x20, #8]
	ldr	w1, [x20, #4]
	mov	x0, x21
	blr	x8
	bl	_CK
	str	wzr, [x20]
	b	LBB0_53
LBB0_43:
	mov	x0, x19
	mov	x1, x20
	bl	_mbfl_filt_conv_illegal_output
	b	LBB0_52
LBB0_44:
Lloh59:
	adrp	x10, _MBFL_WCSPLANE_JIS0212@GOTPAGE
Lloh60:
	ldr	x10, [x10, _MBFL_WCSPLANE_JIS0212@GOTPAGEOFF]
Lloh61:
	ldr	w10, [x10]
	cmp	w8, w10
	b.ne	LBB0_54
; %bb.45:
	and	w8, w9, w19
	mov	w9, #32896
	orr	w21, w8, w9
	b	LBB0_11
LBB0_46:
	mov	w8, #37502
	cmp	w21, w8
	b.hi	LBB0_53
; %bb.47:
	ldrb	w8, [x20, #1]
	lsl	w8, w8, #8
	cmp	w8, #2048
	b.eq	LBB0_49
; %bb.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, #36
	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, #63
	blr	x8
	bl	_CK
LBB0_49:
	mov	w8, #2048
	str	w8, [x20]
	ldr	x8, [x20, #8]
	lsr	w9, w21, #8
	add	w9, w9, #34
	and	w0, w9, #0x7f
LBB0_50:
	ldr	w1, [x20, #4]
	blr	x8
	bl	_CK
LBB0_51:
	ldr	x8, [x20, #8]
	and	w0, w21, #0x7f
	ldr	w1, [x20, #4]
	blr	x8
LBB0_52:
	bl	_CK
LBB0_53:
	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_54:
	mov	w8, #65339
	cmp	w19, w8
	b.le	LBB0_60
; %bb.55:
	mov	w8, #65503
	cmp	w19, w8
	b.le	LBB0_64
; %bb.56:
	mov	w8, #65504
	cmp	w19, w8
	b.eq	LBB0_70
; %bb.57:
	mov	w8, #65505
	cmp	w19, w8
	b.eq	LBB0_71
; %bb.58:
	mov	w8, #65506
	cmp	w19, w8
	b.ne	LBB0_15
; %bb.59:
	mov	w8, #1
	mov	w21, #8780
	b	LBB0_14
LBB0_60:
	mov	w8, #8740
	cmp	w19, w8
	b.gt	LBB0_67
; %bb.61:
	cmp	w19, #165
	b.eq	LBB0_72
; %bb.62:
	mov	w8, #8254
	cmp	w19, w8
	b.ne	LBB0_15
; %bb.63:
	mov	w8, #1
	mov	w21, #8497
	b	LBB0_14
LBB0_64:
	mov	w8, #65340
	cmp	w19, w8
	b.eq	LBB0_73
; %bb.65:
	mov	w8, #65374
	cmp	w19, w8
	b.ne	LBB0_15
; %bb.66:
	mov	w8, #1
	mov	w21, #8513
	b	LBB0_14
LBB0_67:
	mov	w8, #8741
	cmp	w19, w8
	b.eq	LBB0_74
; %bb.68:
	mov	w8, #65293
	cmp	w19, w8
	b.ne	LBB0_15
; %bb.69:
	mov	w8, #1
	mov	w21, #8541
	b	LBB0_14
LBB0_70:
	mov	w8, #1
	mov	w21, #8561
	b	LBB0_14
LBB0_71:
	mov	w8, #1
	mov	w21, #8562
	b	LBB0_14
LBB0_72:
	mov	w8, #1
	mov	w21, #8559
	b	LBB0_14
LBB0_73:
	mov	w8, #1
	mov	w21, #8512
	b	LBB0_14
LBB0_74:
	mov	w8, #1
	mov	w21, #8514
	b	LBB0_14
	.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	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.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	_MBFL_WCSPLANE_MASK,4,2         ; @MBFL_WCSPLANE_MASK
	.comm	_MBFL_WCSPLANE_WINCP932,4,2     ; @MBFL_WCSPLANE_WINCP932
	.comm	_MBFL_WCSPLANE_JIS0208,4,2      ; @MBFL_WCSPLANE_JIS0208
	.comm	_MBFL_WCSPLANE_JIS0212,4,2      ; @MBFL_WCSPLANE_JIS0212
	.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	_cp932ext3_ucs_table_max,4,2    ; @cp932ext3_ucs_table_max
	.comm	_cp932ext3_ucs_table_min,4,2    ; @cp932ext3_ucs_table_min
	.comm	_cp932ext3_ucs_table,8,3        ; @cp932ext3_ucs_table
.subsections_via_symbols
