	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mbfl_filt_conv_wchar_sjis_mobile ## -- Begin function mbfl_filt_conv_wchar_sjis_mobile
	.p2align	4, 0x90
_mbfl_filt_conv_wchar_sjis_mobile:      ## @mbfl_filt_conv_wchar_sjis_mobile
	.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	%rsi, %r14
	movl	%edi, %r12d
	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	%r12d, (%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	%r12d, %eax
	jg	LBB0_6
## %bb.4:
	movq	_ucs_a2_jis_table_max@GOTPCREL(%rip), %rcx
	cmpl	%r12d, (%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	%r12d, %eax
	jg	LBB0_9
## %bb.7:
	movq	_ucs_i_jis_table_max@GOTPCREL(%rip), %rcx
	cmpl	%r12d, (%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	%r12d, %eax
	jg	LBB0_65
## %bb.10:
	movq	_ucs_r_jis_table_max@GOTPCREL(%rip), %rcx
	cmpl	%r12d, (%rcx)
	jle	LBB0_65
## %bb.11:
	movq	_ucs_r_jis_table@GOTPCREL(%rip), %rcx
LBB0_12:
	movq	(%rcx), %rcx
	movl	%r12d, %edx
	subl	%eax, %edx
	movslq	%edx, %rax
	movl	(%rcx,%rax,4), %ecx
	movl	%ecx, -44(%rbp)
	xorl	%r13d, %r13d
                                        ## implicit-def: $ebx
                                        ## implicit-def: $r15d
	testl	%ecx, %ecx
	jg	LBB0_21
LBB0_13:
	movq	_MBFL_WCSPLANE_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%ecx, %ebx
	notl	%ebx
	andl	%r12d, %ebx
	movq	_MBFL_WCSPLANE_WINCP932@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	jne	LBB0_15
## %bb.14:
	andl	%r12d, %ecx
	movl	%ecx, -44(%rbp)
	movl	$1, %r13d
	jmp	LBB0_20
LBB0_15:
	movq	_MBFL_WCSPLANE_JIS0208@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	jne	LBB0_17
## %bb.16:
	andl	%r12d, %ecx
	jmp	LBB0_19
LBB0_17:
	movq	_MBFL_WCSPLANE_JIS0212@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	jne	LBB0_67
## %bb.18:
	andl	%r12d, %ecx
	orl	$32896, %ecx                    ## imm = 0x8080
LBB0_19:
	movl	%ecx, -44(%rbp)
LBB0_20:
	movl	%r13d, %eax
	testl	%ecx, %ecx
	jle	LBB0_23
LBB0_21:
	cmpl	$32896, %ecx                    ## imm = 0x8080
	jb	LBB0_46
## %bb.22:
	xorl	%eax, %eax
	testl	%r13d, %r13d
	jne	LBB0_46
LBB0_23:
	movl	$-1, -44(%rbp)
	movq	_cp932ext1_ucs_table_max@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r15d
	movq	_cp932ext1_ucs_table_min@GOTPCREL(%rip), %rcx
	subl	(%rcx), %r15d
	movl	$-1, %ecx
	testl	%r15d, %r15d
	jle	LBB0_28
## %bb.24:
	movq	_cp932ext1_ucs_table@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movl	%r15d, %esi
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_25:                                ## =>This Inner Loop Header: Depth=1
	cmpl	%r12d, (%rdx,%rbx,4)
	je	LBB0_27
## %bb.26:                              ##   in Loop: Header=BB0_25 Depth=1
	incq	%rbx
	cmpq	%rbx, %rsi
	jne	LBB0_25
	jmp	LBB0_28
LBB0_27:
	movl	%ebx, %ecx
	movl	$2924233053, %edx               ## imm = 0xAE4C415D
	imulq	%rcx, %rdx
	shrq	$38, %rdx
	imull	$162, %edx, %ecx
	addl	$11552, %ecx                    ## imm = 0x2D20
	addq	%rbx, %rcx
	incq	%rcx
	movl	%ecx, -44(%rbp)
	testl	%ecx, %ecx
	jg	LBB0_40
LBB0_28:
	movq	_cp932ext2_ucs_table_max@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r15d
	movq	_cp932ext2_ucs_table_min@GOTPCREL(%rip), %rdx
	subl	(%rdx), %r15d
	testl	%r15d, %r15d
	jle	LBB0_34
## %bb.29:
	movq	_cp932ext2_ucs_table@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movl	%r15d, %esi
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_30:                                ## =>This Inner Loop Header: Depth=1
	cmpl	%r12d, (%rdx,%rbx,4)
	je	LBB0_33
## %bb.31:                              ##   in Loop: Header=BB0_30 Depth=1
	incq	%rbx
	cmpq	%rbx, %rsi
	jne	LBB0_30
## %bb.32:
	movl	%r15d, %ebx
	testl	%ecx, %ecx
	jle	LBB0_34
LBB0_40:
	testl	%r12d, %r12d
	je	LBB0_44
LBB0_41:
	testl	%ecx, %ecx
	jg	LBB0_45
## %bb.42:
	movl	$-1, -44(%rbp)
	jmp	LBB0_45
LBB0_33:
	movl	%ebx, %ecx
	movl	$2924233053, %edx               ## imm = 0xAE4C415D
	imulq	%rcx, %rdx
	shrq	$38, %rdx
	imull	$162, %edx, %ecx
	addl	%ebx, %ecx
	addl	$37665, %ecx                    ## imm = 0x9321
	movl	%ecx, -44(%rbp)
	testl	%ecx, %ecx
	jg	LBB0_40
LBB0_34:
	movq	_cp932ext3_ucs_table_max@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r15d
	movq	_cp932ext3_ucs_table_min@GOTPCREL(%rip), %rdx
	subl	(%rdx), %r15d
	testl	%r15d, %r15d
	jle	LBB0_39
## %bb.35:
	movq	_cp932ext3_ucs_table@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movl	%r15d, %esi
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_36:                                ## =>This Inner Loop Header: Depth=1
	cmpl	%r12d, (%rdx,%rbx,4)
	je	LBB0_43
## %bb.37:                              ##   in Loop: Header=BB0_36 Depth=1
	incq	%rbx
	cmpq	%rbx, %rsi
	jne	LBB0_36
## %bb.38:
	movl	%r15d, %ebx
	testl	%r12d, %r12d
	jne	LBB0_41
	jmp	LBB0_44
LBB0_39:
	xorl	%ebx, %ebx
	testl	%r12d, %r12d
	jne	LBB0_41
LBB0_44:
	movl	$0, -44(%rbp)
LBB0_45:
	movl	%eax, %r13d
LBB0_46:
	movq	32(%r14), %rax
	movq	(%rax), %rax
	movq	_mbfl_no_encoding_sjis_docomo@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_49
## %bb.47:
	leaq	-44(%rbp), %rsi
	movl	%r12d, %edi
	movq	%r14, %rdx
	callq	_mbfilter_unicode2sjis_emoji_docomo
	testq	%rax, %rax
	jg	LBB0_54
## %bb.48:
	movq	32(%r14), %rax
	movq	(%rax), %rax
LBB0_49:
	movq	_mbfl_no_encoding_sjis_kddi@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_52
## %bb.50:
	leaq	-44(%rbp), %rsi
	movl	%r12d, %edi
	movq	%r14, %rdx
	callq	_mbfilter_unicode2sjis_emoji_kddi
	testq	%rax, %rax
	jg	LBB0_54
## %bb.51:
	movq	32(%r14), %rax
	movq	(%rax), %rax
LBB0_52:
	movq	_mbfl_no_encoding_sjis_sb@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_55
## %bb.53:
	leaq	-44(%rbp), %rsi
	movl	%r12d, %edi
	movq	%r14, %rdx
	callq	_mbfilter_unicode2sjis_emoji_sb
	testq	%rax, %rax
	jle	LBB0_55
LBB0_54:
	movl	-44(%rbp), %edx
	movl	%ebx, %edi
	movl	%r15d, %esi
	movl	%r13d, %ecx
	callq	_CODE2JIS
LBB0_55:
	cmpl	$1, (%r14)
	jne	LBB0_57
## %bb.56:
	cmpq	$0, 8(%r14)
	jg	LBB0_64
LBB0_57:
	movl	-44(%rbp), %edx
	testl	%edx, %edx
	js	LBB0_60
## %bb.58:
	cmpl	$255, %edx
	ja	LBB0_61
## %bb.59:
	movl	16(%r14), %esi
	movl	%edx, %edi
	jmp	LBB0_62
LBB0_60:
	movl	%r12d, %edi
	movq	%r14, %rsi
	callq	_mbfl_filt_conv_illegal_output
	jmp	LBB0_63
LBB0_61:
	movzbl	%dh, %edi
	movzbl	%dl, %esi
	movl	%r13d, %ecx
	callq	_SJIS_ENCODE
	movl	-44(%rbp), %edi
	movl	16(%r14), %esi
	callq	*24(%r14)
	movl	%eax, %edi
	callq	_CK
	movl	16(%r14), %esi
	movl	%r13d, %edi
LBB0_62:
	callq	*24(%r14)
LBB0_63:
	movl	%eax, %edi
	callq	_CK
LBB0_64:
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_43:
	movl	%ebx, %ecx
	movl	$2924233053, %edx               ## imm = 0xAE4C415D
	imulq	%rcx, %rdx
	shrq	$38, %rdx
	imull	$162, %edx, %ecx
	addl	%ebx, %ecx
	addl	$37665, %ecx                    ## imm = 0x9321
	movl	%ecx, -44(%rbp)
	testl	%r12d, %r12d
	jne	LBB0_41
	jmp	LBB0_44
LBB0_65:
	leal	-57344(%r12), %eax
	cmpl	$1879, %eax                     ## imm = 0x757
	ja	LBB0_73
## %bb.66:
	movzwl	%ax, %ecx
	shrl	%ecx
	imull	$44621, %ecx, %ebx              ## imm = 0xAE4D
	shrl	$21, %ebx
	imull	$94, %ebx, %ecx
	addl	$127, %ebx
	negl	%ecx
	addl	%ecx, %eax
	addl	$33, %eax
	movzwl	%ax, %r15d
	movl	%ebx, %ecx
	shll	$8, %ecx
	orl	%r15d, %ecx
	movl	%ecx, -44(%rbp)
	movl	$1, %r13d
	testl	%ecx, %ecx
	jg	LBB0_21
	jmp	LBB0_13
LBB0_67:
	cmpl	$65339, %r12d                   ## imm = 0xFF3B
	jle	LBB0_74
## %bb.68:
	cmpl	$65503, %r12d                   ## imm = 0xFFDF
	jle	LBB0_78
## %bb.69:
	cmpl	$65504, %r12d                   ## imm = 0xFFE0
	je	LBB0_84
## %bb.70:
	cmpl	$65505, %r12d                   ## imm = 0xFFE1
	je	LBB0_85
## %bb.71:
	cmpl	$65506, %r12d                   ## imm = 0xFFE2
	jne	LBB0_90
## %bb.72:
	movl	$8780, -44(%rbp)                ## imm = 0x224C
	jmp	LBB0_46
LBB0_73:
	xorl	%r13d, %r13d
                                        ## implicit-def: $r15d
	jmp	LBB0_13
LBB0_74:
	cmpl	$8740, %r12d                    ## imm = 0x2224
	jg	LBB0_81
## %bb.75:
	cmpl	$165, %r12d
	je	LBB0_86
## %bb.76:
	cmpl	$8254, %r12d                    ## imm = 0x203E
	jne	LBB0_90
## %bb.77:
	movl	$8497, -44(%rbp)                ## imm = 0x2131
	jmp	LBB0_46
LBB0_78:
	cmpl	$65340, %r12d                   ## imm = 0xFF3C
	je	LBB0_87
## %bb.79:
	cmpl	$65374, %r12d                   ## imm = 0xFF5E
	jne	LBB0_90
## %bb.80:
	movl	$8513, -44(%rbp)                ## imm = 0x2141
	jmp	LBB0_46
LBB0_81:
	cmpl	$8741, %r12d                    ## imm = 0x2225
	je	LBB0_88
## %bb.82:
	cmpl	$65293, %r12d                   ## imm = 0xFF0D
	jne	LBB0_90
## %bb.83:
	movl	$8541, -44(%rbp)                ## imm = 0x215D
	jmp	LBB0_46
LBB0_84:
	movl	$8561, -44(%rbp)                ## imm = 0x2171
	jmp	LBB0_46
LBB0_85:
	movl	$8562, -44(%rbp)                ## imm = 0x2172
	jmp	LBB0_46
LBB0_86:
	movl	$8559, -44(%rbp)                ## imm = 0x216F
	jmp	LBB0_46
LBB0_87:
	movl	$8512, -44(%rbp)                ## imm = 0x2140
	jmp	LBB0_46
LBB0_88:
	movl	$8514, -44(%rbp)                ## imm = 0x2142
	jmp	LBB0_46
LBB0_90:
	movl	%r13d, %eax
	jmp	LBB0_23
	.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	_cp932ext2_ucs_table_max,4,2    ## @cp932ext2_ucs_table_max
	.comm	_cp932ext2_ucs_table_min,4,2    ## @cp932ext2_ucs_table_min
	.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_ucs_table,8,3        ## @cp932ext3_ucs_table
	.comm	_mbfl_no_encoding_sjis_docomo,8,3 ## @mbfl_no_encoding_sjis_docomo
	.comm	_mbfl_no_encoding_sjis_kddi,8,3 ## @mbfl_no_encoding_sjis_kddi
	.comm	_mbfl_no_encoding_sjis_sb,8,3   ## @mbfl_no_encoding_sjis_sb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mbfl_filt_conv_wchar_sjis_mobile ; -- Begin function mbfl_filt_conv_wchar_sjis_mobile
	.p2align	2
_mbfl_filt_conv_wchar_sjis_mobile:      ; @mbfl_filt_conv_wchar_sjis_mobile
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	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_56
; %bb.5:
	ubfx	w9, w8, #1, #15
	mov	w10, #44621
	mul	w9, w9, w10
	lsr	w9, w9, #21
	add	w23, w9, #127
	mov	w10, #94
	msub	w8, w9, w10, w8
	add	w8, w8, #33
	and	w22, w8, #0xffff
	orr	w8, w22, w23, lsl #8
	str	w8, [sp, #12]
	mov	w21, #1
	cmp	w8, #0
	b.gt	LBB0_11
	b	LBB0_57
LBB0_6:
	mov	w21, #0
Lloh24:
	adrp	x9, _ucs_a1_jis_table@GOTPAGE
Lloh25:
	ldr	x9, [x9, _ucs_a1_jis_table@GOTPAGEOFF]
	b	LBB0_10
LBB0_7:
	mov	w21, #0
Lloh26:
	adrp	x9, _ucs_a2_jis_table@GOTPAGE
Lloh27:
	ldr	x9, [x9, _ucs_a2_jis_table@GOTPAGEOFF]
	b	LBB0_10
LBB0_8:
	mov	w21, #0
Lloh28:
	adrp	x9, _ucs_i_jis_table@GOTPAGE
Lloh29:
	ldr	x9, [x9, _ucs_i_jis_table@GOTPAGEOFF]
	b	LBB0_10
LBB0_9:
	mov	w21, #0
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	w8, [x9, w8, sxtw #2]
	str	w8, [sp, #12]
                                        ; implicit-def: $w23
                                        ; implicit-def: $w22
	cmp	w8, #0
	b.le	LBB0_57
LBB0_11:
	lsr	w8, w8, #7
	cmp	w8, #257
	ccmp	w21, #0, #0, hs
	b.ne	LBB0_36
; %bb.12:
	mov	w21, #0
LBB0_13:
	mov	w8, #-1
	str	w8, [sp, #12]
Lloh32:
	adrp	x9, _cp932ext1_ucs_table_max@GOTPAGE
Lloh33:
	ldr	x9, [x9, _cp932ext1_ucs_table_max@GOTPAGEOFF]
Lloh34:
	ldr	w9, [x9]
Lloh35:
	adrp	x10, _cp932ext1_ucs_table_min@GOTPAGE
Lloh36:
	ldr	x10, [x10, _cp932ext1_ucs_table_min@GOTPAGEOFF]
Lloh37:
	ldr	w10, [x10]
	sub	w22, w9, w10
	cmp	w22, #1
	b.lt	LBB0_19
; %bb.14:
	mov	x23, #0
Lloh38:
	adrp	x8, _cp932ext1_ucs_table@GOTPAGE
Lloh39:
	ldr	x8, [x8, _cp932ext1_ucs_table@GOTPAGEOFF]
Lloh40:
	ldr	x8, [x8]
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	ldr	w9, [x8, x23, lsl #2]
	cmp	w9, w19
	b.eq	LBB0_18
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=1
	add	x23, x23, #1
	cmp	x22, x23
	b.ne	LBB0_15
; %bb.17:
	mov	w8, #-1
	b	LBB0_19
LBB0_18:
	mov	w8, #16733
	movk	w8, #44620, lsl #16
	umull	x8, w23, w8
	lsr	x8, x8, #38
	mov	w9, #94
	msub	w9, w8, w9, w23
	add	w8, w9, w8, lsl #8
	mov	w9, #11553
	add	w8, w8, w9
	str	w8, [sp, #12]
	cmp	w8, #1
	b.ge	LBB0_24
LBB0_19:
Lloh41:
	adrp	x9, _cp932ext2_ucs_table_max@GOTPAGE
Lloh42:
	ldr	x9, [x9, _cp932ext2_ucs_table_max@GOTPAGEOFF]
Lloh43:
	ldr	w9, [x9]
Lloh44:
	adrp	x10, _cp932ext2_ucs_table_min@GOTPAGE
Lloh45:
	ldr	x10, [x10, _cp932ext2_ucs_table_min@GOTPAGEOFF]
Lloh46:
	ldr	w10, [x10]
	sub	w22, w9, w10
	cmp	w22, #1
	b.lt	LBB0_29
; %bb.20:
	mov	x23, #0
Lloh47:
	adrp	x9, _cp932ext2_ucs_table@GOTPAGE
Lloh48:
	ldr	x9, [x9, _cp932ext2_ucs_table@GOTPAGEOFF]
Lloh49:
	ldr	x9, [x9]
LBB0_21:                                ; =>This Inner Loop Header: Depth=1
	ldr	w10, [x9, x23, lsl #2]
	cmp	w10, w19
	b.eq	LBB0_28
; %bb.22:                               ;   in Loop: Header=BB0_21 Depth=1
	add	x23, x23, #1
	cmp	x22, x23
	b.ne	LBB0_21
; %bb.23:
	mov	x23, x22
	cmp	w8, #0
	b.le	LBB0_29
LBB0_24:
	cbz	w19, LBB0_35
LBB0_25:
	cmp	w8, #0
	b.gt	LBB0_36
; %bb.26:
	mov	w8, #-1
LBB0_27:
	str	w8, [sp, #12]
	b	LBB0_36
LBB0_28:
	mov	w8, #16733
	movk	w8, #44620, lsl #16
	umull	x8, w23, w8
	lsr	x8, x8, #38
	mov	w9, #94
	msub	w9, w8, w9, w23
	add	w8, w9, w8, lsl #8
	mov	w9, #37665
	add	w8, w8, w9
	str	w8, [sp, #12]
                                        ; kill: def $w23 killed $w23 killed $x23 def $x23
	cmp	w8, #0
	b.gt	LBB0_24
LBB0_29:
Lloh50:
	adrp	x9, _cp932ext3_ucs_table_max@GOTPAGE
Lloh51:
	ldr	x9, [x9, _cp932ext3_ucs_table_max@GOTPAGEOFF]
Lloh52:
	ldr	w9, [x9]
Lloh53:
	adrp	x10, _cp932ext3_ucs_table_min@GOTPAGE
Lloh54:
	ldr	x10, [x10, _cp932ext3_ucs_table_min@GOTPAGEOFF]
Lloh55:
	ldr	w10, [x10]
	sub	w22, w9, w10
	cmp	w22, #1
	b.lt	LBB0_34
; %bb.30:
	mov	x23, #0
Lloh56:
	adrp	x9, _cp932ext3_ucs_table@GOTPAGE
Lloh57:
	ldr	x9, [x9, _cp932ext3_ucs_table@GOTPAGEOFF]
Lloh58:
	ldr	x9, [x9]
LBB0_31:                                ; =>This Inner Loop Header: Depth=1
	ldr	w10, [x9, x23, lsl #2]
	cmp	w10, w19
	b.eq	LBB0_55
; %bb.32:                               ;   in Loop: Header=BB0_31 Depth=1
	add	x23, x23, #1
	cmp	x22, x23
	b.ne	LBB0_31
; %bb.33:
	mov	x23, x22
	cbnz	w19, LBB0_25
	b	LBB0_35
LBB0_34:
	mov	w23, #0
	cbnz	w19, LBB0_25
LBB0_35:
	str	wzr, [sp, #12]
LBB0_36:
	ldr	x8, [x20, #32]
	ldr	x8, [x8]
Lloh59:
	adrp	x9, _mbfl_no_encoding_sjis_docomo@GOTPAGE
Lloh60:
	ldr	x9, [x9, _mbfl_no_encoding_sjis_docomo@GOTPAGEOFF]
Lloh61:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_39
; %bb.37:
	add	x1, sp, #12
	mov	x0, x19
	mov	x2, x20
	bl	_mbfilter_unicode2sjis_emoji_docomo
	cmp	x0, #0
	b.gt	LBB0_44
; %bb.38:
	ldr	x8, [x20, #32]
	ldr	x8, [x8]
LBB0_39:
Lloh62:
	adrp	x9, _mbfl_no_encoding_sjis_kddi@GOTPAGE
Lloh63:
	ldr	x9, [x9, _mbfl_no_encoding_sjis_kddi@GOTPAGEOFF]
Lloh64:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_42
; %bb.40:
	add	x1, sp, #12
	mov	x0, x19
	mov	x2, x20
	bl	_mbfilter_unicode2sjis_emoji_kddi
	cmp	x0, #0
	b.gt	LBB0_44
; %bb.41:
	ldr	x8, [x20, #32]
	ldr	x8, [x8]
LBB0_42:
Lloh65:
	adrp	x9, _mbfl_no_encoding_sjis_sb@GOTPAGE
Lloh66:
	ldr	x9, [x9, _mbfl_no_encoding_sjis_sb@GOTPAGEOFF]
Lloh67:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_45
; %bb.43:
	add	x1, sp, #12
	mov	x0, x19
	mov	x2, x20
	bl	_mbfilter_unicode2sjis_emoji_sb
	cmp	x0, #1
	b.lt	LBB0_45
LBB0_44:
	ldr	w2, [sp, #12]
	mov	x0, x23
	mov	x1, x22
	mov	x3, x21
	bl	_CODE2JIS
LBB0_45:
	ldr	w8, [x20]
	cmp	w8, #1
	b.ne	LBB0_47
; %bb.46:
	ldr	x8, [x20, #8]
	cmp	x8, #0
	b.gt	LBB0_54
LBB0_47:
	ldr	w2, [sp, #12]
	tbnz	w2, #31, LBB0_50
; %bb.48:
	cmp	w2, #255
	b.hi	LBB0_51
; %bb.49:
	ldr	x8, [x20, #24]
	ldr	w1, [x20, #16]
	mov	x0, x2
	b	LBB0_52
LBB0_50:
	mov	x0, x19
	mov	x1, x20
	bl	_mbfl_filt_conv_illegal_output
	b	LBB0_53
LBB0_51:
	ubfx	w0, w2, #8, #8
	and	w1, w2, #0xff
	mov	x3, x21
	bl	_SJIS_ENCODE
	ldr	x8, [x20, #24]
	ldr	w0, [sp, #12]
	ldr	w1, [x20, #16]
	blr	x8
	bl	_CK
	ldr	x8, [x20, #24]
	ldr	w1, [x20, #16]
	mov	x0, x21
LBB0_52:
	blr	x8
LBB0_53:
	bl	_CK
LBB0_54:
	mov	x0, x19
	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
	add	sp, sp, #80
	ret
LBB0_55:
	mov	w8, #16733
	movk	w8, #44620, lsl #16
	umull	x8, w23, w8
	lsr	x8, x8, #38
	mov	w9, #94
	msub	w9, w8, w9, w23
	add	w8, w9, w8, lsl #8
	mov	w9, #37665
	add	w8, w8, w9
	str	w8, [sp, #12]
                                        ; kill: def $w23 killed $w23 killed $x23 def $x23
	cbnz	w19, LBB0_25
	b	LBB0_35
LBB0_56:
	mov	w21, #0
                                        ; implicit-def: $w22
LBB0_57:
Lloh68:
	adrp	x8, _MBFL_WCSPLANE_MASK@GOTPAGE
Lloh69:
	ldr	x8, [x8, _MBFL_WCSPLANE_MASK@GOTPAGEOFF]
Lloh70:
	ldr	w8, [x8]
	bic	w23, w19, w8
Lloh71:
	adrp	x9, _MBFL_WCSPLANE_WINCP932@GOTPAGE
Lloh72:
	ldr	x9, [x9, _MBFL_WCSPLANE_WINCP932@GOTPAGEOFF]
Lloh73:
	ldr	w9, [x9]
	cmp	w23, w9
	b.ne	LBB0_59
; %bb.58:
	and	w8, w8, w19
	str	w8, [sp, #12]
	mov	w21, #1
	cmp	w8, #1
	b.ge	LBB0_11
	b	LBB0_13
LBB0_59:
Lloh74:
	adrp	x9, _MBFL_WCSPLANE_JIS0208@GOTPAGE
Lloh75:
	ldr	x9, [x9, _MBFL_WCSPLANE_JIS0208@GOTPAGEOFF]
Lloh76:
	ldr	w9, [x9]
	cmp	w23, w9
	b.ne	LBB0_61
; %bb.60:
	and	w8, w8, w19
	b	LBB0_63
LBB0_61:
Lloh77:
	adrp	x9, _MBFL_WCSPLANE_JIS0212@GOTPAGE
Lloh78:
	ldr	x9, [x9, _MBFL_WCSPLANE_JIS0212@GOTPAGEOFF]
Lloh79:
	ldr	w9, [x9]
	cmp	w23, w9
	b.ne	LBB0_64
; %bb.62:
	and	w8, w8, w19
	mov	w9, #32896
	orr	w8, w8, w9
LBB0_63:
	str	w8, [sp, #12]
	cmp	w8, #1
	b.ge	LBB0_11
	b	LBB0_13
LBB0_64:
	mov	w8, #65339
	cmp	w19, w8
	b.le	LBB0_70
; %bb.65:
	mov	w8, #65503
	cmp	w19, w8
	b.le	LBB0_74
; %bb.66:
	mov	w8, #65504
	cmp	w19, w8
	b.eq	LBB0_80
; %bb.67:
	mov	w8, #65505
	cmp	w19, w8
	b.eq	LBB0_81
; %bb.68:
	mov	w8, #65506
	cmp	w19, w8
	b.ne	LBB0_13
; %bb.69:
	mov	w8, #8780
	b	LBB0_27
LBB0_70:
	mov	w8, #8740
	cmp	w19, w8
	b.gt	LBB0_77
; %bb.71:
	cmp	w19, #165
	b.eq	LBB0_82
; %bb.72:
	mov	w8, #8254
	cmp	w19, w8
	b.ne	LBB0_13
; %bb.73:
	mov	w8, #8497
	b	LBB0_27
LBB0_74:
	mov	w8, #65340
	cmp	w19, w8
	b.eq	LBB0_83
; %bb.75:
	mov	w8, #65374
	cmp	w19, w8
	b.ne	LBB0_13
; %bb.76:
	mov	w8, #8513
	b	LBB0_27
LBB0_77:
	mov	w8, #8741
	cmp	w19, w8
	b.eq	LBB0_84
; %bb.78:
	mov	w8, #65293
	cmp	w19, w8
	b.ne	LBB0_13
; %bb.79:
	mov	w8, #8541
	b	LBB0_27
LBB0_80:
	mov	w8, #8561
	b	LBB0_27
LBB0_81:
	mov	w8, #8562
	b	LBB0_27
LBB0_82:
	mov	w8, #8559
	b	LBB0_27
LBB0_83:
	mov	w8, #8512
	b	LBB0_27
LBB0_84:
	mov	w8, #8514
	b	LBB0_27
	.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	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.loh AdrpLdrGotLdr	Lloh65, Lloh66, Lloh67
	.loh AdrpLdrGotLdr	Lloh71, Lloh72, Lloh73
	.loh AdrpLdrGotLdr	Lloh68, Lloh69, Lloh70
	.loh AdrpLdrGotLdr	Lloh74, Lloh75, Lloh76
	.loh AdrpLdrGotLdr	Lloh77, Lloh78, Lloh79
	.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	_cp932ext2_ucs_table_max,4,2    ; @cp932ext2_ucs_table_max
	.comm	_cp932ext2_ucs_table_min,4,2    ; @cp932ext2_ucs_table_min
	.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_ucs_table,8,3        ; @cp932ext3_ucs_table
	.comm	_mbfl_no_encoding_sjis_docomo,8,3 ; @mbfl_no_encoding_sjis_docomo
	.comm	_mbfl_no_encoding_sjis_kddi,8,3 ; @mbfl_no_encoding_sjis_kddi
	.comm	_mbfl_no_encoding_sjis_sb,8,3   ; @mbfl_no_encoding_sjis_sb
.subsections_via_symbols
