	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mbfl_filt_conv_wchar_sjis_mac  ## -- Begin function mbfl_filt_conv_wchar_sjis_mac
	.p2align	4, 0x90
_mbfl_filt_conv_wchar_sjis_mac:         ## @mbfl_filt_conv_wchar_sjis_mac
	.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
	movl	(%rsi), %ebx
	cmpq	$5, %rbx
	ja	LBB0_239
## %bb.1:
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rbx,4), %rcx
	addq	%rax, %rcx
	movl	%ebx, %r15d
	jmpq	*%rcx
LBB0_2:
	movl	4(%r14), %r13d
	movq	$0, (%r14)
	cmpl	$63613, %r12d                   ## imm = 0xF87D
	jg	LBB0_10
## %bb.3:
	cmpl	$8413, %r12d                    ## imm = 0x20DD
	je	LBB0_14
## %bb.4:
	movl	%r12d, %ebx
	cmpl	$63610, %r12d                   ## imm = 0xF87A
	jne	LBB0_57
## %bb.5:
	movq	_s_form_tbl@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movl	$40, %eax
	cmpl	160(%rcx), %r13d
	je	LBB0_9
## %bb.6:
	movl	$41, %eax
	cmpl	164(%rcx), %r13d
	je	LBB0_9
## %bb.7:
	movl	$42, %eax
	cmpl	168(%rcx), %r13d
	je	LBB0_9
## %bb.8:
	xorl	%ebx, %ebx
	movl	$43, %eax
	cmpl	172(%rcx), %r13d
	je	LBB0_9
	jmp	LBB0_57
LBB0_198:
	movl	4(%r14), %eax
	movzwl	%ax, %ebx
	shrl	$16, %eax
	andl	$15, %eax
	movq	$0, (%r14)
	cmpl	$2, %eax
	je	LBB0_203
## %bb.199:
	cmpl	$4, %eax
	jne	LBB0_240
## %bb.200:
	movq	_code_tbl_m@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	64(%rax), %rcx
	cmpl	12(%rcx), %ebx
	jne	LBB0_216
## %bb.201:
	cmpl	%r12d, 16(%rcx)
	je	LBB0_202
LBB0_216:
	movq	72(%rax), %rcx
	cmpl	12(%rcx), %ebx
	jne	LBB0_218
## %bb.217:
	cmpl	%r12d, 16(%rcx)
	je	LBB0_202
LBB0_218:
	movq	80(%rax), %rcx
	cmpl	12(%rcx), %ebx
	jne	LBB0_220
## %bb.219:
	cmpl	%r12d, 16(%rcx)
	je	LBB0_202
LBB0_220:
	movq	88(%rax), %rax
	cmpl	12(%rax), %ebx
	jne	LBB0_240
## %bb.221:
	cmpl	%r12d, 16(%rax)
	jne	LBB0_240
LBB0_202:
	movl	%r12d, %eax
	orl	$262144, %eax                   ## imm = 0x40000
	movl	%eax, 4(%r14)
	movl	$5, (%r14)
	jmp	LBB0_240
LBB0_143:
	movl	4(%r14), %edi
	movq	$0, (%r14)
	cmpl	$63584, %edi                    ## imm = 0xF860
	je	LBB0_151
## %bb.144:
	cmpl	$63585, %edi                    ## imm = 0xF861
	je	LBB0_158
## %bb.145:
	cmpl	$63586, %edi                    ## imm = 0xF862
	jne	LBB0_162
## %bb.146:
	movq	_code_tbl_m@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	64(%rax), %rcx
	cmpl	%r12d, 8(%rcx)
	je	LBB0_150
## %bb.147:
	movq	72(%rax), %rcx
	cmpl	%r12d, 8(%rcx)
	je	LBB0_150
## %bb.148:
	movq	80(%rax), %rcx
	cmpl	%r12d, 8(%rcx)
	je	LBB0_150
## %bb.149:
	movq	88(%rax), %rax
	cmpl	%r12d, 8(%rax)
	jne	LBB0_162
LBB0_150:
	movl	%r12d, %eax
	orl	$262144, %eax                   ## imm = 0x40000
	jmp	LBB0_157
LBB0_164:
	movl	4(%r14), %eax
	movzwl	%ax, %ebx
	shrl	$16, %eax
	andl	$15, %eax
	movq	$0, (%r14)
	cmpl	$1, %eax
	je	LBB0_170
## %bb.165:
	cmpl	$2, %eax
	je	LBB0_187
## %bb.166:
	cmpl	$4, %eax
	jne	LBB0_240
## %bb.167:
	movq	_code_tbl_m@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	64(%rax), %rcx
	cmpl	8(%rcx), %ebx
	jne	LBB0_192
## %bb.168:
	cmpl	%r12d, 12(%rcx)
	je	LBB0_169
LBB0_192:
	movq	72(%rax), %rcx
	cmpl	8(%rcx), %ebx
	jne	LBB0_194
## %bb.193:
	cmpl	%r12d, 12(%rcx)
	je	LBB0_169
LBB0_194:
	movq	80(%rax), %rcx
	cmpl	8(%rcx), %ebx
	jne	LBB0_196
## %bb.195:
	cmpl	%r12d, 12(%rcx)
	je	LBB0_169
LBB0_196:
	movq	88(%rax), %rax
	cmpl	8(%rax), %ebx
	jne	LBB0_240
## %bb.197:
	cmpl	%r12d, 12(%rax)
	jne	LBB0_240
LBB0_169:
	movl	%r12d, %eax
	orl	$262144, %eax                   ## imm = 0x40000
	jmp	LBB0_186
LBB0_222:
	movl	4(%r14), %eax
	movq	$0, (%r14)
	movl	%eax, %ecx
	andl	$983040, %ecx                   ## imm = 0xF0000
	cmpl	$262144, %ecx                   ## imm = 0x40000
	jne	LBB0_240
## %bb.223:
	movzwl	%ax, %r15d
	movq	_code_tbl_m@GOTPCREL(%rip), %r13
	movq	(%r13), %rcx
	movq	64(%rcx), %rax
	cmpl	16(%rax), %r15d
	jne	LBB0_225
## %bb.224:
	cmpl	%r12d, 20(%rax)
	je	LBB0_231
LBB0_225:
	movq	72(%rcx), %rax
	cmpl	16(%rax), %r15d
	jne	LBB0_227
## %bb.226:
	cmpl	%r12d, 20(%rax)
	je	LBB0_231
LBB0_227:
	movq	80(%rcx), %rax
	cmpl	16(%rax), %r15d
	jne	LBB0_229
## %bb.228:
	cmpl	%r12d, 20(%rax)
	je	LBB0_231
LBB0_229:
	movq	88(%rcx), %rax
	cmpl	16(%rax), %r15d
	jne	LBB0_233
## %bb.230:
	cmpl	%r12d, 20(%rax)
	jne	LBB0_233
LBB0_231:
	movl	(%rax), %ebx
	testl	%ebx, %ebx
	jle	LBB0_233
## %bb.232:
	movl	%ebx, %eax
	movl	$2924233053, %edi               ## imm = 0xAE4C415D
	imulq	%rax, %rdi
	shrq	$38, %rdi
	imull	$-94, %edi, %eax
	addl	$33, %edi
	leal	(%rbx,%rax), %esi
	addl	$33, %esi
                                        ## kill: def $edi killed $edi killed $rdi
	movl	%ebx, %edx
	xorl	%ecx, %ecx
	callq	_SJIS_ENCODE
	movl	8(%r14), %esi
	movl	%ebx, %edi
	jmp	LBB0_182
LBB0_239:
	movl	$0, (%r14)
	jmp	LBB0_240
LBB0_10:
	cmpl	$63615, %r12d                   ## imm = 0xF87F
	je	LBB0_17
## %bb.11:
	movl	%r12d, %ebx
	cmpl	$63614, %r12d                   ## imm = 0xF87E
	jne	LBB0_57
## %bb.12:
	movq	_s_form_tbl@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	xorl	%r15d, %r15d
	cmpl	(%rax), %r13d
	jne	LBB0_21
## %bb.13:
	xorl	%ecx, %ecx
	jmp	LBB0_54
LBB0_203:
	movq	_code_tbl_m@GOTPCREL(%rip), %r13
	movq	(%r13), %rcx
	movq	40(%rcx), %rax
	cmpl	12(%rax), %ebx
	jne	LBB0_205
## %bb.204:
	cmpl	%r12d, 16(%rax)
	je	LBB0_209
LBB0_205:
	movq	48(%rcx), %rax
	cmpl	12(%rax), %ebx
	jne	LBB0_207
## %bb.206:
	cmpl	%r12d, 16(%rax)
	je	LBB0_209
LBB0_207:
	movq	56(%rcx), %rax
	cmpl	12(%rax), %ebx
	jne	LBB0_210
## %bb.208:
	cmpl	%r12d, 16(%rax)
	jne	LBB0_210
LBB0_209:
	movl	(%rax), %r15d
	testl	%r15d, %r15d
	jg	LBB0_181
LBB0_210:
	movl	$63585, %edi                    ## imm = 0xF861
	movq	%r14, %rsi
	callq	_mbfl_filt_conv_illegal_output
	movl	%eax, %edi
	callq	_CK
	movq	(%r13), %rcx
	movq	40(%rcx), %rax
	cmpl	12(%rax), %ebx
	je	LBB0_213
## %bb.211:
	movq	48(%rcx), %rax
	cmpl	12(%rax), %ebx
	je	LBB0_213
## %bb.212:
	movq	56(%rcx), %rax
	cmpl	12(%rax), %ebx
	jne	LBB0_215
LBB0_213:
	movl	8(%rax), %edi
	jmp	LBB0_214
LBB0_233:
	movl	$63586, %edi                    ## imm = 0xF862
	movq	%r14, %rsi
	callq	_mbfl_filt_conv_illegal_output
	movl	%eax, %edi
	callq	_CK
	movq	(%r13), %rcx
	movq	64(%rcx), %rax
	movl	$8, %ebx
	cmpl	16(%rax), %r15d
	je	LBB0_237
## %bb.234:
	movq	72(%rcx), %rax
	movl	$9, %ebx
	cmpl	16(%rax), %r15d
	je	LBB0_237
## %bb.235:
	movq	80(%rcx), %rax
	movl	$10, %ebx
	cmpl	16(%rax), %r15d
	je	LBB0_237
## %bb.236:
	movq	88(%rcx), %rax
	movl	$11, %ebx
	cmpl	16(%rax), %r15d
	jne	LBB0_238
LBB0_237:
	movl	8(%rax), %edi
	movq	%r14, %rsi
	callq	_mbfl_filt_conv_illegal_output
	movl	%eax, %edi
	callq	_CK
	movq	(%r13), %rax
	movq	(%rax,%rbx,8), %rax
	movl	12(%rax), %edi
	movq	%r14, %rsi
	callq	_mbfl_filt_conv_illegal_output
	movl	%eax, %edi
	callq	_CK
LBB0_238:
	movl	%r15d, %edi
	jmp	LBB0_162
LBB0_158:
	movq	_code_tbl_m@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	40(%rax), %rcx
	cmpl	%r12d, 8(%rcx)
	je	LBB0_161
## %bb.159:
	movq	48(%rax), %rcx
	cmpl	%r12d, 8(%rcx)
	je	LBB0_161
## %bb.160:
	movq	56(%rax), %rax
	cmpl	%r12d, 8(%rax)
	jne	LBB0_162
LBB0_161:
	movl	%r12d, %eax
	orl	$131072, %eax                   ## imm = 0x20000
	jmp	LBB0_157
LBB0_151:
	movq	_code_tbl_m@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax), %rcx
	cmpl	%r12d, 8(%rcx)
	je	LBB0_156
## %bb.152:
	movq	8(%rax), %rcx
	cmpl	%r12d, 8(%rcx)
	je	LBB0_156
## %bb.153:
	movq	16(%rax), %rcx
	cmpl	%r12d, 8(%rcx)
	je	LBB0_156
## %bb.154:
	movq	24(%rax), %rcx
	cmpl	%r12d, 8(%rcx)
	je	LBB0_156
## %bb.155:
	movq	32(%rax), %rax
	cmpl	%r12d, 8(%rax)
	jne	LBB0_162
LBB0_156:
	movl	%r12d, %eax
	orl	$65536, %eax                    ## imm = 0x10000
LBB0_157:
	movl	%eax, 4(%r14)
	movl	$3, (%r14)
	jmp	LBB0_240
LBB0_187:
	movq	_code_tbl_m@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	40(%rax), %rcx
	cmpl	8(%rcx), %ebx
	jne	LBB0_188
## %bb.184:
	cmpl	%r12d, 12(%rcx)
	je	LBB0_185
LBB0_188:
	movq	48(%rax), %rcx
	cmpl	8(%rcx), %ebx
	jne	LBB0_190
## %bb.189:
	cmpl	%r12d, 12(%rcx)
	je	LBB0_185
LBB0_190:
	movq	56(%rax), %rax
	cmpl	8(%rax), %ebx
	jne	LBB0_240
## %bb.191:
	cmpl	%r12d, 12(%rax)
	jne	LBB0_240
LBB0_185:
	movl	%r12d, %eax
	orl	$131072, %eax                   ## imm = 0x20000
LBB0_186:
	movl	%eax, 4(%r14)
	movl	$4, (%r14)
	jmp	LBB0_240
LBB0_170:
	movq	_code_tbl_m@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	(%rcx), %rax
	cmpl	8(%rax), %ebx
	jne	LBB0_172
## %bb.171:
	cmpl	%r12d, 12(%rax)
	je	LBB0_180
LBB0_172:
	movq	8(%rcx), %rax
	cmpl	8(%rax), %ebx
	jne	LBB0_174
## %bb.173:
	cmpl	%r12d, 12(%rax)
	je	LBB0_180
LBB0_174:
	movq	16(%rcx), %rax
	cmpl	8(%rax), %ebx
	jne	LBB0_176
## %bb.175:
	cmpl	%r12d, 12(%rax)
	je	LBB0_180
LBB0_176:
	movq	24(%rcx), %rax
	cmpl	8(%rax), %ebx
	jne	LBB0_178
## %bb.177:
	cmpl	%r12d, 12(%rax)
	je	LBB0_180
LBB0_178:
	movq	32(%rcx), %rax
	cmpl	8(%rax), %ebx
	jne	LBB0_183
## %bb.179:
	cmpl	%r12d, 12(%rax)
	jne	LBB0_183
LBB0_180:
	movl	(%rax), %r15d
	testl	%r15d, %r15d
	jle	LBB0_183
LBB0_181:
	movl	%r15d, %eax
	movl	$2924233053, %edi               ## imm = 0xAE4C415D
	imulq	%rax, %rdi
	shrq	$38, %rdi
	imull	$-94, %edi, %eax
	addl	$33, %edi
	leal	(%r15,%rax), %esi
	addl	$33, %esi
                                        ## kill: def $edi killed $edi killed $rdi
	movl	%r15d, %edx
	xorl	%ecx, %ecx
	callq	_SJIS_ENCODE
	movl	8(%r14), %esi
	movl	%r15d, %edi
LBB0_182:
	callq	*16(%r14)
	movl	%eax, %edi
	callq	_CK
	movl	8(%r14), %esi
	xorl	%edi, %edi
	jmp	LBB0_141
LBB0_14:
	movq	_s_form_tbl@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movl	$37, %eax
	cmpl	148(%rcx), %r13d
	je	LBB0_9
## %bb.15:
	movl	$38, %eax
	cmpl	152(%rcx), %r13d
	je	LBB0_9
## %bb.16:
	xorl	%ebx, %ebx
	movl	$39, %eax
	cmpl	156(%rcx), %r13d
	jne	LBB0_57
LBB0_9:
	movq	_s_form_sjis_tbl@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rcx,%rax,4), %ebx
	xorl	%r15d, %r15d
	testl	%ebx, %ebx
	jg	LBB0_65
	jmp	LBB0_57
LBB0_17:
	movq	_s_form_tbl@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movl	$34, %eax
	cmpl	136(%rcx), %r13d
	je	LBB0_20
## %bb.18:
	movl	$35, %eax
	cmpl	140(%rcx), %r13d
	je	LBB0_20
## %bb.19:
	movl	$-1, %ebx
	movl	$36, %eax
	cmpl	144(%rcx), %r13d
	jne	LBB0_57
LBB0_20:
	movq	_s_form_sjis_tbl@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rcx,%rax,4), %ebx
	xorl	%r15d, %r15d
	jmp	LBB0_55
LBB0_183:
	movl	$63584, %edi                    ## imm = 0xF860
LBB0_214:
	movq	%r14, %rsi
	callq	_mbfl_filt_conv_illegal_output
	movl	%eax, %edi
	callq	_CK
LBB0_215:
	movl	%ebx, %edi
LBB0_162:
	movq	%r14, %rsi
	callq	_mbfl_filt_conv_illegal_output
	movl	%eax, %edi
	callq	_CK
LBB0_163:
	movl	%r12d, %edi
	movq	%r14, %rsi
	callq	_mbfl_filt_conv_illegal_output
	jmp	LBB0_142
LBB0_21:
	movl	$1, %ecx
	cmpl	4(%rax), %r13d
	je	LBB0_54
## %bb.22:
	movl	$2, %ecx
	cmpl	8(%rax), %r13d
	je	LBB0_54
## %bb.23:
	movl	$3, %ecx
	cmpl	12(%rax), %r13d
	je	LBB0_54
## %bb.24:
	movl	$4, %ecx
	cmpl	16(%rax), %r13d
	je	LBB0_54
## %bb.25:
	movl	$5, %ecx
	cmpl	20(%rax), %r13d
	je	LBB0_54
## %bb.26:
	movl	$6, %ecx
	cmpl	24(%rax), %r13d
	je	LBB0_54
## %bb.27:
	movl	$7, %ecx
	cmpl	28(%rax), %r13d
	je	LBB0_54
## %bb.28:
	movl	$8, %ecx
	cmpl	32(%rax), %r13d
	je	LBB0_54
## %bb.29:
	movl	$9, %ecx
	cmpl	36(%rax), %r13d
	je	LBB0_54
## %bb.30:
	movl	$10, %ecx
	cmpl	40(%rax), %r13d
	je	LBB0_54
## %bb.31:
	movl	$11, %ecx
	cmpl	44(%rax), %r13d
	je	LBB0_54
## %bb.32:
	movl	$12, %ecx
	cmpl	48(%rax), %r13d
	je	LBB0_54
## %bb.33:
	movl	$13, %ecx
	cmpl	52(%rax), %r13d
	je	LBB0_54
## %bb.34:
	movl	$14, %ecx
	cmpl	56(%rax), %r13d
	je	LBB0_54
## %bb.35:
	movl	$15, %ecx
	cmpl	60(%rax), %r13d
	je	LBB0_54
## %bb.36:
	movl	$16, %ecx
	cmpl	64(%rax), %r13d
	je	LBB0_54
## %bb.37:
	movl	$17, %ecx
	cmpl	68(%rax), %r13d
	je	LBB0_54
## %bb.38:
	movl	$18, %ecx
	cmpl	72(%rax), %r13d
	je	LBB0_54
## %bb.39:
	movl	$19, %ecx
	cmpl	76(%rax), %r13d
	je	LBB0_54
## %bb.40:
	movl	$20, %ecx
	cmpl	80(%rax), %r13d
	je	LBB0_54
## %bb.41:
	movl	$21, %ecx
	cmpl	84(%rax), %r13d
	je	LBB0_54
## %bb.42:
	movl	$22, %ecx
	cmpl	88(%rax), %r13d
	je	LBB0_54
## %bb.43:
	movl	$23, %ecx
	cmpl	92(%rax), %r13d
	je	LBB0_54
## %bb.44:
	movl	$24, %ecx
	cmpl	96(%rax), %r13d
	je	LBB0_54
## %bb.45:
	movl	$25, %ecx
	cmpl	100(%rax), %r13d
	je	LBB0_54
## %bb.46:
	movl	$26, %ecx
	cmpl	104(%rax), %r13d
	je	LBB0_54
## %bb.47:
	movl	$27, %ecx
	cmpl	108(%rax), %r13d
	je	LBB0_54
## %bb.48:
	movl	$28, %ecx
	cmpl	112(%rax), %r13d
	je	LBB0_54
## %bb.49:
	movl	$29, %ecx
	cmpl	116(%rax), %r13d
	je	LBB0_54
## %bb.50:
	movl	$30, %ecx
	cmpl	120(%rax), %r13d
	je	LBB0_54
## %bb.51:
	movl	$31, %ecx
	cmpl	124(%rax), %r13d
	je	LBB0_54
## %bb.52:
	movl	$32, %ecx
	cmpl	128(%rax), %r13d
	je	LBB0_54
## %bb.53:
	movl	$-1, %ebx
	movl	$33, %ecx
	cmpl	132(%rax), %r13d
	jne	LBB0_57
LBB0_54:
	movq	_s_form_sjis_tbl@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%rcx,4), %ebx
LBB0_55:
	testl	%ebx, %ebx
	jg	LBB0_65
## %bb.56:
	movl	$-1, %ebx
LBB0_57:
	testl	%r13d, %r13d
	jle	LBB0_63
## %bb.58:
	movq	_s_form_tbl_len@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	jle	LBB0_63
## %bb.59:
	movq	_s_form_tbl@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdx
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_60:                                ## =>This Inner Loop Header: Depth=1
	cmpl	(%rdx,%rcx,4), %r13d
	je	LBB0_61
## %bb.62:                              ##   in Loop: Header=BB0_60 Depth=1
	incq	%rcx
	cmpq	%rcx, %rax
	jne	LBB0_60
	jmp	LBB0_63
LBB0_61:
	movq	_s_form_sjis_fallback_tbl@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%rcx,4), %ebx
LBB0_63:
	testl	%ebx, %ebx
	js	LBB0_68
## %bb.64:
	movl	%r13d, %r15d
LBB0_65:
	movq	16(%r14), %rax
	cmpl	$255, %ebx
	ja	LBB0_67
## %bb.66:
	movl	8(%r14), %esi
	movl	%ebx, %edi
	callq	*%rax
	jmp	LBB0_69
LBB0_67:
	movzbl	%bh, %edi
	movl	8(%r14), %esi
	callq	*%rax
	movl	%eax, %edi
	callq	_CK
	movzbl	%bl, %edi
	movl	8(%r14), %esi
	callq	*16(%r14)
	jmp	LBB0_69
LBB0_68:
	movl	%r12d, %edi
	movq	%r14, %rsi
	callq	_mbfl_filt_conv_illegal_output
	movl	%r13d, %r15d
LBB0_69:
	movl	%eax, %edi
	callq	_CK
	testl	%r15d, %r15d
	jle	LBB0_240
## %bb.70:
	cmpl	$-1, %ebx
	je	LBB0_240
LBB0_71:
	movq	_ucs_a1_jis_table_min@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%r12d, %eax
	jg	LBB0_76
## %bb.72:
	movq	_ucs_a1_jis_table_max@GOTPCREL(%rip), %rcx
	cmpl	%r12d, (%rcx)
	jle	LBB0_76
## %bb.73:
	movl	$128, %edi
	cmpl	$92, %r12d
	je	LBB0_140
## %bb.74:
	movl	$253, %ebx
	cmpl	$169, %r12d
	je	LBB0_92
## %bb.75:
	movq	_ucs_a1_jis_table@GOTPCREL(%rip), %rcx
	jmp	LBB0_91
LBB0_76:
	movq	_ucs_a2_jis_table_min@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%r12d, %eax
	jg	LBB0_84
## %bb.77:
	movq	_ucs_a2_jis_table_max@GOTPCREL(%rip), %rcx
	cmpl	%r12d, (%rcx)
	jle	LBB0_84
## %bb.78:
	cmpl	$8482, %r12d                    ## imm = 0x2122
	je	LBB0_79
## %bb.80:
	cmpl	$8470, %r12d                    ## imm = 0x2116
	je	LBB0_83
## %bb.81:
	cmpl	$8212, %r12d                    ## imm = 0x2014
	jne	LBB0_90
## %bb.82:
	movl	$8509, %ebx                     ## imm = 0x213D
	jmp	LBB0_93
LBB0_84:
	movq	_ucs_i_jis_table_min@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%r12d, %eax
	jg	LBB0_87
## %bb.85:
	movq	_ucs_i_jis_table_max@GOTPCREL(%rip), %rcx
	cmpl	%r12d, (%rcx)
	jle	LBB0_87
## %bb.86:
	movq	_ucs_i_jis_table@GOTPCREL(%rip), %rcx
	jmp	LBB0_91
LBB0_87:
	movq	_ucs_r_jis_table_min@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%r12d, %eax
	jg	LBB0_92
## %bb.88:
	movq	_ucs_r_jis_table_max@GOTPCREL(%rip), %rcx
	cmpl	%r12d, (%rcx)
	jle	LBB0_92
## %bb.89:
	movq	_ucs_r_jis_table@GOTPCREL(%rip), %rcx
	jmp	LBB0_91
LBB0_83:
	movl	$11293, %ebx                    ## imm = 0x2C1D
	jmp	LBB0_93
LBB0_79:
	movl	$254, %ebx
	jmp	LBB0_93
LBB0_90:
	movq	_ucs_a2_jis_table@GOTPCREL(%rip), %rcx
LBB0_91:
	movq	(%rcx), %rcx
	movl	%r12d, %edx
	subl	%eax, %edx
	movslq	%edx, %rax
	movl	(%rcx,%rax,4), %ebx
LBB0_92:
	cmpl	$8192, %r12d                    ## imm = 0x2000
	jl	LBB0_100
LBB0_93:
	movq	_s_form_tbl_len@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	jle	LBB0_98
## %bb.94:
	movq	_s_form_tbl@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_96:                                ## =>This Inner Loop Header: Depth=1
	cmpl	%r12d, (%rcx,%rdx,4)
	je	LBB0_97
## %bb.95:                              ##   in Loop: Header=BB0_96 Depth=1
	incq	%rdx
	cmpq	%rdx, %rax
	jne	LBB0_96
LBB0_98:
	leal	-63584(%r12), %eax
	cmpl	$2, %eax
	ja	LBB0_100
## %bb.99:
	movl	$2, (%r14)
	movl	%r12d, 4(%r14)
	jmp	LBB0_240
LBB0_100:
	testl	%ebx, %ebx
	jg	LBB0_136
## %bb.101:
	movq	_MBFL_WCSPLANE_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, %ecx
	notl	%ecx
	andl	%r12d, %ecx
	movq	_MBFL_WCSPLANE_WINCP932@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	jne	LBB0_103
## %bb.102:
	andl	%r12d, %eax
	movl	$1, %r15d
	jmp	LBB0_107
LBB0_97:
	movl	$1, (%r14)
	movl	%r12d, 4(%r14)
	jmp	LBB0_240
LBB0_103:
	movq	_MBFL_WCSPLANE_JIS0208@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	jne	LBB0_105
## %bb.104:
	andl	%r12d, %eax
	jmp	LBB0_107
LBB0_105:
	movq	_MBFL_WCSPLANE_JIS0212@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	jne	LBB0_113
## %bb.106:
	andl	%r12d, %eax
	orl	$32896, %eax                    ## imm = 0x8080
LBB0_107:
	movl	%eax, %ebx
	testl	%eax, %eax
	jle	LBB0_108
LBB0_136:
	cmpl	$32896, %ebx                    ## imm = 0x8080
	jb	LBB0_135
## %bb.137:
	testl	%r15d, %r15d
	jne	LBB0_135
LBB0_138:
	testl	%r12d, %r12d
	jne	LBB0_163
## %bb.139:
	xorl	%edi, %edi
	jmp	LBB0_140
LBB0_113:
	movl	%r12d, %edi
	cmpl	$160, %r12d
	je	LBB0_140
## %bb.114:
	cmpl	$165, %r12d
	je	LBB0_115
## %bb.116:
	cmpl	$65340, %r12d                   ## imm = 0xFF3C
	jne	LBB0_108
## %bb.117:
	movl	$8512, %ebx                     ## imm = 0x2140
	jmp	LBB0_118
LBB0_108:
	movq	_wchar2sjis_mac_r_tbl_len@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	jle	LBB0_121
## %bb.109:
	movq	_wchar2sjis_mac_r_tbl@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	xorl	%edx, %edx
	jmp	LBB0_110
LBB0_119:                               ##   in Loop: Header=BB0_110 Depth=1
	incq	%rdx
	cmpq	%rdx, %rax
	je	LBB0_120
LBB0_110:                               ## =>This Inner Loop Header: Depth=1
	movq	(%rcx,%rdx,8), %rsi
	movl	(%rsi), %edi
	cmpl	%r12d, %edi
	jg	LBB0_119
## %bb.111:                             ##   in Loop: Header=BB0_110 Depth=1
	cmpl	%r12d, 4(%rsi)
	jl	LBB0_119
## %bb.112:
	movl	%r12d, %ebx
	subl	%edi, %ebx
	addl	8(%rsi), %ebx
LBB0_120:
	movl	%ebx, %eax
	testl	%ebx, %ebx
	jg	LBB0_134
LBB0_121:
	movq	_wchar2sjis_mac_r_map_len@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	jle	LBB0_128
## %bb.122:
	movq	_wchar2sjis_mac_r_map@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdx
	xorl	%ecx, %ecx
	jmp	LBB0_123
LBB0_126:                               ##   in Loop: Header=BB0_123 Depth=1
	incq	%rcx
	cmpq	%rcx, %rax
	je	LBB0_127
LBB0_123:                               ## =>This Inner Loop Header: Depth=1
	movq	(%rdx,%rcx,8), %rdi
	movl	(%rdi), %esi
	cmpl	%r12d, %esi
	jg	LBB0_126
## %bb.124:                             ##   in Loop: Header=BB0_123 Depth=1
	cmpl	%r12d, 4(%rdi)
	jl	LBB0_126
## %bb.125:
	movq	_wchar2sjis_mac_code_map@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax,%rcx,8), %rax
	movl	%r12d, %ecx
	subl	%esi, %ecx
	movslq	%ecx, %rcx
	movl	(%rax,%rcx,4), %ebx
LBB0_127:
	movl	%ebx, %eax
	testl	%ebx, %ebx
	jg	LBB0_134
LBB0_128:
	movq	_wchar2sjis_mac_wchar_tbl_len@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	jle	LBB0_138
## %bb.129:
	movq	_wchar2sjis_mac_wchar_tbl@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	xorl	%edx, %edx
LBB0_131:                               ## =>This Inner Loop Header: Depth=1
	movq	(%rcx,%rdx,8), %rsi
	cmpl	%r12d, (%rsi)
	je	LBB0_132
## %bb.130:                             ##   in Loop: Header=BB0_131 Depth=1
	incq	%rdx
	cmpq	%rdx, %rax
	jne	LBB0_131
	jmp	LBB0_133
LBB0_132:
	movzwl	4(%rsi), %ebx
LBB0_133:
	movl	%ebx, %eax
	testl	%ebx, %ebx
	jle	LBB0_138
LBB0_134:
	movl	%eax, %ecx
	movl	$2924233053, %ebx               ## imm = 0xAE4C415D
	imulq	%rcx, %rbx
	shrq	$38, %rbx
	imull	$-94, %ebx, %ecx
	addl	%ecx, %eax
	addl	$33, %eax
	shll	$8, %ebx
	addl	$8448, %ebx                     ## imm = 0x2100
	orl	%eax, %ebx
	movl	$1, %r15d
	jle	LBB0_138
LBB0_135:
	movl	%ebx, %edi
	cmpl	$255, %ebx
	ja	LBB0_118
LBB0_140:
	movl	8(%r14), %esi
	jmp	LBB0_141
LBB0_115:
	movl	$8559, %ebx                     ## imm = 0x216F
LBB0_118:
	movzbl	%bh, %edi
	movzbl	%bl, %esi
	movl	%ebx, %edx
	movl	%r15d, %ecx
	callq	_SJIS_ENCODE
	movl	8(%r14), %esi
	movl	%ebx, %edi
	callq	*16(%r14)
	movl	%eax, %edi
	callq	_CK
	movl	8(%r14), %esi
	movl	%r15d, %edi
LBB0_141:
	callq	*16(%r14)
LBB0_142:
	movl	%eax, %edi
	callq	_CK
LBB0_240:
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_71, LBB0_71-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_143, LBB0_143-LJTI0_0
.set L0_0_set_164, LBB0_164-LJTI0_0
.set L0_0_set_198, LBB0_198-LJTI0_0
.set L0_0_set_222, LBB0_222-LJTI0_0
LJTI0_0:
	.long	L0_0_set_71
	.long	L0_0_set_2
	.long	L0_0_set_143
	.long	L0_0_set_164
	.long	L0_0_set_198
	.long	L0_0_set_222
	.end_data_region
                                        ## -- End function
	.comm	_s_form_tbl,8,3                 ## @s_form_tbl
	.comm	_s_form_sjis_tbl,8,3            ## @s_form_sjis_tbl
	.comm	_s_form_tbl_len,4,2             ## @s_form_tbl_len
	.comm	_s_form_sjis_fallback_tbl,8,3   ## @s_form_sjis_fallback_tbl
	.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	_wchar2sjis_mac_r_tbl_len,4,2   ## @wchar2sjis_mac_r_tbl_len
	.comm	_wchar2sjis_mac_r_tbl,8,3       ## @wchar2sjis_mac_r_tbl
	.comm	_wchar2sjis_mac_r_map_len,4,2   ## @wchar2sjis_mac_r_map_len
	.comm	_wchar2sjis_mac_r_map,8,3       ## @wchar2sjis_mac_r_map
	.comm	_wchar2sjis_mac_code_map,8,3    ## @wchar2sjis_mac_code_map
	.comm	_wchar2sjis_mac_wchar_tbl_len,4,2 ## @wchar2sjis_mac_wchar_tbl_len
	.comm	_wchar2sjis_mac_wchar_tbl,8,3   ## @wchar2sjis_mac_wchar_tbl
	.comm	_code_tbl_m,8,3                 ## @code_tbl_m
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mbfl_filt_conv_wchar_sjis_mac  ; -- Begin function mbfl_filt_conv_wchar_sjis_mac
	.p2align	2
_mbfl_filt_conv_wchar_sjis_mac:         ; @mbfl_filt_conv_wchar_sjis_mac
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	ldr	w22, [x1]
	cmp	w22, #5
	b.hi	LBB0_50
; %bb.1:
Lloh0:
	adrp	x8, lJTI0_0@PAGE
Lloh1:
	add	x8, x8, lJTI0_0@PAGEOFF
	adr	x9, LBB0_2
	ldrh	w10, [x8, x22, lsl #1]
	add	x9, x9, x10, lsl #2
	mov	x21, x22
	br	x9
LBB0_2:
	ldr	w21, [x20, #4]
	str	xzr, [x20]
	mov	w8, #63613
	cmp	w19, w8
	b.gt	LBB0_51
; %bb.3:
	mov	w8, #8413
	cmp	w19, w8
	b.eq	LBB0_97
; %bb.4:
	mov	w8, #63610
	mov	x22, x19
	cmp	w19, w8
	b.ne	LBB0_199
; %bb.5:
Lloh2:
	adrp	x8, _s_form_tbl@GOTPAGE
Lloh3:
	ldr	x8, [x8, _s_form_tbl@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	ldr	w9, [x8, #160]
	cmp	w21, w9
	b.ne	LBB0_104
; %bb.6:
	mov	w8, #40
	b	LBB0_132
LBB0_7:
	ldr	w8, [x20, #4]
	and	w21, w8, #0xffff
	ubfx	w8, w8, #16, #4
	str	xzr, [x20]
	cmp	w8, #2
	b.eq	LBB0_55
; %bb.8:
	cmp	w8, #4
	b.ne	LBB0_282
; %bb.9:
Lloh5:
	adrp	x8, _code_tbl_m@GOTPAGE
Lloh6:
	ldr	x8, [x8, _code_tbl_m@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	ldr	x9, [x8, #64]
	ldr	w10, [x9, #12]
	cmp	w21, w10
	b.ne	LBB0_11
; %bb.10:
	ldr	w9, [x9, #16]
	cmp	w9, w19
	b.eq	LBB0_17
LBB0_11:
	ldr	x9, [x8, #72]
	ldr	w10, [x9, #12]
	cmp	w21, w10
	b.ne	LBB0_13
; %bb.12:
	ldr	w9, [x9, #16]
	cmp	w9, w19
	b.eq	LBB0_17
LBB0_13:
	ldr	x9, [x8, #80]
	ldr	w10, [x9, #12]
	cmp	w21, w10
	b.ne	LBB0_15
; %bb.14:
	ldr	w9, [x9, #16]
	cmp	w9, w19
	b.eq	LBB0_17
LBB0_15:
	ldr	x8, [x8, #88]
	ldr	w9, [x8, #12]
	cmp	w21, w9
	b.ne	LBB0_282
; %bb.16:
	ldr	w8, [x8, #16]
	cmp	w8, w19
	b.ne	LBB0_282
LBB0_17:
	orr	w8, w19, #0x40000
	mov	w9, #5
	b	LBB0_77
LBB0_18:
	ldr	w0, [x20, #4]
	str	xzr, [x20]
	mov	w8, #63584
	cmp	w0, w8
	b.eq	LBB0_70
; %bb.19:
	mov	w8, #63585
	cmp	w0, w8
	b.eq	LBB0_66
; %bb.20:
	mov	w8, #63586
	cmp	w0, w8
	b.ne	LBB0_128
; %bb.21:
Lloh8:
	adrp	x8, _code_tbl_m@GOTPAGE
Lloh9:
	ldr	x8, [x8, _code_tbl_m@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	ldr	x9, [x8, #64]
	ldr	w9, [x9, #8]
	cmp	w9, w19
	b.eq	LBB0_25
; %bb.22:
	ldr	x9, [x8, #72]
	ldr	w9, [x9, #8]
	cmp	w9, w19
	b.eq	LBB0_25
; %bb.23:
	ldr	x9, [x8, #80]
	ldr	w9, [x9, #8]
	cmp	w9, w19
	b.eq	LBB0_25
; %bb.24:
	ldr	x8, [x8, #88]
	ldr	w8, [x8, #8]
	cmp	w8, w19
	b.ne	LBB0_128
LBB0_25:
	orr	w8, w19, #0x40000
	b	LBB0_76
LBB0_26:
	ldr	w8, [x20, #4]
	and	w21, w8, #0xffff
	ubfx	w8, w8, #16, #4
	str	xzr, [x20]
	cmp	w8, #1
	b.eq	LBB0_85
; %bb.27:
	cmp	w8, #2
	b.eq	LBB0_78
; %bb.28:
	cmp	w8, #4
	b.ne	LBB0_282
; %bb.29:
Lloh11:
	adrp	x8, _code_tbl_m@GOTPAGE
Lloh12:
	ldr	x8, [x8, _code_tbl_m@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	ldr	x9, [x8, #64]
	ldr	w10, [x9, #8]
	cmp	w21, w10
	b.ne	LBB0_31
; %bb.30:
	ldr	w9, [x9, #12]
	cmp	w9, w19
	b.eq	LBB0_37
LBB0_31:
	ldr	x9, [x8, #72]
	ldr	w10, [x9, #8]
	cmp	w21, w10
	b.ne	LBB0_33
; %bb.32:
	ldr	w9, [x9, #12]
	cmp	w9, w19
	b.eq	LBB0_37
LBB0_33:
	ldr	x9, [x8, #80]
	ldr	w10, [x9, #8]
	cmp	w21, w10
	b.ne	LBB0_35
; %bb.34:
	ldr	w9, [x9, #12]
	cmp	w9, w19
	b.eq	LBB0_37
LBB0_35:
	ldr	x8, [x8, #88]
	ldr	w9, [x8, #8]
	cmp	w21, w9
	b.ne	LBB0_282
; %bb.36:
	ldr	w8, [x8, #12]
	cmp	w8, w19
	b.ne	LBB0_282
LBB0_37:
	orr	w8, w19, #0x40000
	mov	w9, #4
	b	LBB0_77
LBB0_38:
	ldr	w8, [x20, #4]
	str	xzr, [x20]
	and	w9, w8, #0xf0000
	cmp	w9, #64, lsl #12                ; =262144
	b.ne	LBB0_282
; %bb.39:
	and	w21, w8, #0xffff
Lloh14:
	adrp	x23, _code_tbl_m@GOTPAGE
Lloh15:
	ldr	x23, [x23, _code_tbl_m@GOTPAGEOFF]
	ldr	x9, [x23]
	ldr	x8, [x9, #64]
	ldr	w10, [x8, #16]
	cmp	w21, w10
	b.ne	LBB0_41
; %bb.40:
	ldr	w10, [x8, #20]
	cmp	w10, w19
	b.eq	LBB0_47
LBB0_41:
	ldr	x8, [x9, #72]
	ldr	w10, [x8, #16]
	cmp	w21, w10
	b.ne	LBB0_43
; %bb.42:
	ldr	w10, [x8, #20]
	cmp	w10, w19
	b.eq	LBB0_47
LBB0_43:
	ldr	x8, [x9, #80]
	ldr	w10, [x8, #16]
	cmp	w21, w10
	b.ne	LBB0_45
; %bb.44:
	ldr	w10, [x8, #20]
	cmp	w10, w19
	b.eq	LBB0_47
LBB0_45:
	ldr	x8, [x9, #88]
	ldr	w9, [x8, #16]
	cmp	w21, w9
	b.ne	LBB0_48
; %bb.46:
	ldr	w9, [x8, #20]
	cmp	w9, w19
	b.ne	LBB0_48
LBB0_47:
	ldr	w22, [x8]
	cmp	w22, #1
	b.ge	LBB0_96
LBB0_48:
	mov	w0, #63586
	mov	x1, x20
	bl	_mbfl_filt_conv_illegal_output
	bl	_CK
	ldr	x9, [x23]
	ldr	x8, [x9, #64]
	ldr	w10, [x8, #16]
	cmp	w21, w10
	b.ne	LBB0_101
; %bb.49:
	mov	w22, #8
	b	LBB0_125
LBB0_50:
	str	wzr, [x20]
	b	LBB0_282
LBB0_51:
	mov	w8, #63615
	cmp	w19, w8
	b.eq	LBB0_99
; %bb.52:
	mov	w8, #63614
	mov	x22, x19
	cmp	w19, w8
	b.ne	LBB0_199
; %bb.53:
Lloh16:
	adrp	x8, _s_form_tbl@GOTPAGE
Lloh17:
	ldr	x8, [x8, _s_form_tbl@GOTPAGEOFF]
Lloh18:
	ldr	x8, [x8]
	ldr	w9, [x8]
	cmp	w21, w9
	b.ne	LBB0_106
; %bb.54:
	mov	x8, #0
	b	LBB0_196
LBB0_55:
Lloh19:
	adrp	x23, _code_tbl_m@GOTPAGE
Lloh20:
	ldr	x23, [x23, _code_tbl_m@GOTPAGEOFF]
	ldr	x9, [x23]
	ldr	x8, [x9, #40]
	ldr	w10, [x8, #12]
	cmp	w21, w10
	b.ne	LBB0_57
; %bb.56:
	ldr	w10, [x8, #16]
	cmp	w10, w19
	b.eq	LBB0_61
LBB0_57:
	ldr	x8, [x9, #48]
	ldr	w10, [x8, #12]
	cmp	w21, w10
	b.ne	LBB0_59
; %bb.58:
	ldr	w10, [x8, #16]
	cmp	w10, w19
	b.eq	LBB0_61
LBB0_59:
	ldr	x8, [x9, #56]
	ldr	w9, [x8, #12]
	cmp	w21, w9
	b.ne	LBB0_62
; %bb.60:
	ldr	w9, [x8, #16]
	cmp	w9, w19
	b.ne	LBB0_62
LBB0_61:
	ldr	w22, [x8]
	cmp	w22, #1
	b.ge	LBB0_96
LBB0_62:
	mov	w0, #63585
	mov	x1, x20
	bl	_mbfl_filt_conv_illegal_output
	bl	_CK
	ldr	x9, [x23]
	ldr	x8, [x9, #40]
	ldr	w10, [x8, #12]
	cmp	w21, w10
	b.eq	LBB0_65
; %bb.63:
	ldr	x8, [x9, #48]
	ldr	w10, [x8, #12]
	cmp	w21, w10
	b.eq	LBB0_65
; %bb.64:
	ldr	x8, [x9, #56]
	ldr	w9, [x8, #12]
	cmp	w21, w9
	b.ne	LBB0_127
LBB0_65:
	ldr	w0, [x8, #8]
	b	LBB0_126
LBB0_66:
Lloh21:
	adrp	x8, _code_tbl_m@GOTPAGE
Lloh22:
	ldr	x8, [x8, _code_tbl_m@GOTPAGEOFF]
Lloh23:
	ldr	x8, [x8]
	ldr	x9, [x8, #40]
	ldr	w9, [x9, #8]
	cmp	w9, w19
	b.eq	LBB0_69
; %bb.67:
	ldr	x9, [x8, #48]
	ldr	w9, [x9, #8]
	cmp	w9, w19
	b.eq	LBB0_69
; %bb.68:
	ldr	x8, [x8, #56]
	ldr	w8, [x8, #8]
	cmp	w8, w19
	b.ne	LBB0_128
LBB0_69:
	orr	w8, w19, #0x20000
	b	LBB0_76
LBB0_70:
Lloh24:
	adrp	x8, _code_tbl_m@GOTPAGE
Lloh25:
	ldr	x8, [x8, _code_tbl_m@GOTPAGEOFF]
Lloh26:
	ldr	x8, [x8]
	ldr	x9, [x8]
	ldr	w9, [x9, #8]
	cmp	w9, w19
	b.eq	LBB0_75
; %bb.71:
	ldr	x9, [x8, #8]
	ldr	w9, [x9, #8]
	cmp	w9, w19
	b.eq	LBB0_75
; %bb.72:
	ldr	x9, [x8, #16]
	ldr	w9, [x9, #8]
	cmp	w9, w19
	b.eq	LBB0_75
; %bb.73:
	ldr	x9, [x8, #24]
	ldr	w9, [x9, #8]
	cmp	w9, w19
	b.eq	LBB0_75
; %bb.74:
	ldr	x8, [x8, #32]
	ldr	w8, [x8, #8]
	cmp	w8, w19
	b.ne	LBB0_128
LBB0_75:
	orr	w8, w19, #0x10000
LBB0_76:
	mov	w9, #3
LBB0_77:
	stp	w9, w8, [x20]
	b	LBB0_282
LBB0_78:
Lloh27:
	adrp	x8, _code_tbl_m@GOTPAGE
Lloh28:
	ldr	x8, [x8, _code_tbl_m@GOTPAGEOFF]
Lloh29:
	ldr	x8, [x8]
	ldr	x9, [x8, #40]
	ldr	w10, [x9, #8]
	cmp	w21, w10
	b.ne	LBB0_80
; %bb.79:
	ldr	w9, [x9, #12]
	cmp	w9, w19
	b.eq	LBB0_84
LBB0_80:
	ldr	x9, [x8, #48]
	ldr	w10, [x9, #8]
	cmp	w21, w10
	b.ne	LBB0_82
; %bb.81:
	ldr	w9, [x9, #12]
	cmp	w9, w19
	b.eq	LBB0_84
LBB0_82:
	ldr	x8, [x8, #56]
	ldr	w9, [x8, #8]
	cmp	w21, w9
	b.ne	LBB0_282
; %bb.83:
	ldr	w8, [x8, #12]
	cmp	w8, w19
	b.ne	LBB0_282
LBB0_84:
	orr	w8, w19, #0x20000
	mov	w9, #4
	b	LBB0_77
LBB0_85:
Lloh30:
	adrp	x8, _code_tbl_m@GOTPAGE
Lloh31:
	ldr	x8, [x8, _code_tbl_m@GOTPAGEOFF]
Lloh32:
	ldr	x9, [x8]
	ldr	x8, [x9]
	ldr	w10, [x8, #8]
	cmp	w21, w10
	b.ne	LBB0_87
; %bb.86:
	ldr	w10, [x8, #12]
	cmp	w10, w19
	b.eq	LBB0_95
LBB0_87:
	ldr	x8, [x9, #8]
	ldr	w10, [x8, #8]
	cmp	w21, w10
	b.ne	LBB0_89
; %bb.88:
	ldr	w10, [x8, #12]
	cmp	w10, w19
	b.eq	LBB0_95
LBB0_89:
	ldr	x8, [x9, #16]
	ldr	w10, [x8, #8]
	cmp	w21, w10
	b.ne	LBB0_91
; %bb.90:
	ldr	w10, [x8, #12]
	cmp	w10, w19
	b.eq	LBB0_95
LBB0_91:
	ldr	x8, [x9, #24]
	ldr	w10, [x8, #8]
	cmp	w21, w10
	b.ne	LBB0_93
; %bb.92:
	ldr	w10, [x8, #12]
	cmp	w10, w19
	b.eq	LBB0_95
LBB0_93:
	ldr	x8, [x9, #32]
	ldr	w9, [x8, #8]
	cmp	w21, w9
	b.ne	LBB0_103
; %bb.94:
	ldr	w9, [x8, #12]
	cmp	w9, w19
	b.ne	LBB0_103
LBB0_95:
	ldr	w22, [x8]
	cmp	w22, #1
	b.lt	LBB0_103
LBB0_96:
	mov	w8, #16733
	movk	w8, #44620, lsl #16
	umull	x8, w22, w8
	lsr	x8, x8, #38
	add	w0, w8, #33
	mov	w9, #-94
	madd	w8, w8, w9, w22
	add	w1, w8, #33
	mov	x2, x22
	mov	w3, #0
	bl	_SJIS_ENCODE
	ldr	x8, [x20, #16]
	ldr	w1, [x20, #8]
	mov	x0, x22
	blr	x8
	bl	_CK
	ldr	x8, [x20, #16]
	ldr	w1, [x20, #8]
	mov	w0, #0
	b	LBB0_280
LBB0_97:
Lloh33:
	adrp	x8, _s_form_tbl@GOTPAGE
Lloh34:
	ldr	x8, [x8, _s_form_tbl@GOTPAGEOFF]
Lloh35:
	ldr	x8, [x8]
	ldr	w9, [x8, #148]
	cmp	w21, w9
	b.ne	LBB0_108
; %bb.98:
	mov	w8, #37
	b	LBB0_132
LBB0_99:
Lloh36:
	adrp	x8, _s_form_tbl@GOTPAGE
Lloh37:
	ldr	x8, [x8, _s_form_tbl@GOTPAGEOFF]
Lloh38:
	ldr	x8, [x8]
	ldr	w9, [x8, #136]
	cmp	w21, w9
	b.ne	LBB0_110
; %bb.100:
	mov	w8, #34
	b	LBB0_122
LBB0_101:
	ldr	x8, [x9, #72]
	ldr	w10, [x8, #16]
	cmp	w21, w10
	b.ne	LBB0_112
; %bb.102:
	mov	w22, #9
	b	LBB0_125
LBB0_103:
	mov	w0, #63584
	b	LBB0_126
LBB0_104:
	ldr	w9, [x8, #164]
	cmp	w21, w9
	b.ne	LBB0_114
; %bb.105:
	mov	w8, #41
	b	LBB0_132
LBB0_106:
	ldr	w9, [x8, #4]
	cmp	w21, w9
	b.ne	LBB0_116
; %bb.107:
	mov	w8, #1
	b	LBB0_196
LBB0_108:
	ldr	w9, [x8, #152]
	cmp	w21, w9
	b.ne	LBB0_118
; %bb.109:
	mov	w8, #38
	b	LBB0_132
LBB0_110:
	ldr	w9, [x8, #140]
	cmp	w21, w9
	b.ne	LBB0_120
; %bb.111:
	mov	w8, #35
	b	LBB0_122
LBB0_112:
	ldr	x8, [x9, #80]
	ldr	w10, [x8, #16]
	cmp	w21, w10
	b.ne	LBB0_123
; %bb.113:
	mov	w22, #10
	b	LBB0_125
LBB0_114:
	ldr	w9, [x8, #168]
	cmp	w21, w9
	b.ne	LBB0_130
; %bb.115:
	mov	w8, #42
	b	LBB0_132
LBB0_116:
	ldr	w9, [x8, #8]
	cmp	w21, w9
	b.ne	LBB0_134
; %bb.117:
	mov	w8, #2
	b	LBB0_196
LBB0_118:
	ldr	w8, [x8, #156]
	cmp	w21, w8
	b.ne	LBB0_133
; %bb.119:
	mov	w8, #39
	b	LBB0_132
LBB0_120:
	ldr	w8, [x8, #144]
	cmp	w21, w8
	b.ne	LBB0_198
; %bb.121:
	mov	w8, #36
LBB0_122:
Lloh39:
	adrp	x9, _s_form_sjis_tbl@GOTPAGE
Lloh40:
	ldr	x9, [x9, _s_form_sjis_tbl@GOTPAGEOFF]
Lloh41:
	ldr	x9, [x9]
	ldr	w22, [x9, x8, lsl #2]
	cmp	w22, #1
	b.ge	LBB0_197
	b	LBB0_198
LBB0_123:
	ldr	x8, [x9, #88]
	ldr	w9, [x8, #16]
	cmp	w21, w9
	b.ne	LBB0_127
; %bb.124:
	mov	w22, #11
LBB0_125:
	ldr	w0, [x8, #8]
	mov	x1, x20
	bl	_mbfl_filt_conv_illegal_output
	bl	_CK
	ldr	x8, [x23]
	ldr	x8, [x8, x22, lsl #3]
	ldr	w0, [x8, #12]
LBB0_126:
	mov	x1, x20
	bl	_mbfl_filt_conv_illegal_output
	bl	_CK
LBB0_127:
	mov	x0, x21
LBB0_128:
	mov	x1, x20
	bl	_mbfl_filt_conv_illegal_output
	bl	_CK
LBB0_129:
	mov	x0, x19
	mov	x1, x20
	bl	_mbfl_filt_conv_illegal_output
	b	LBB0_281
LBB0_130:
	ldr	w8, [x8, #172]
	cmp	w21, w8
	b.ne	LBB0_133
; %bb.131:
	mov	w8, #43
LBB0_132:
Lloh42:
	adrp	x9, _s_form_sjis_tbl@GOTPAGE
Lloh43:
	ldr	x9, [x9, _s_form_sjis_tbl@GOTPAGEOFF]
Lloh44:
	ldr	x9, [x9]
	ldr	w22, [x9, x8, lsl #2]
	cmp	w22, #1
	b.ge	LBB0_197
	b	LBB0_199
LBB0_133:
	mov	w22, #0
	b	LBB0_199
LBB0_134:
	ldr	w9, [x8, #12]
	cmp	w21, w9
	b.ne	LBB0_136
; %bb.135:
	mov	w8, #3
	b	LBB0_196
LBB0_136:
	ldr	w9, [x8, #16]
	cmp	w21, w9
	b.ne	LBB0_138
; %bb.137:
	mov	w8, #4
	b	LBB0_196
LBB0_138:
	ldr	w9, [x8, #20]
	cmp	w21, w9
	b.ne	LBB0_140
; %bb.139:
	mov	w8, #5
	b	LBB0_196
LBB0_140:
	ldr	w9, [x8, #24]
	cmp	w21, w9
	b.ne	LBB0_142
; %bb.141:
	mov	w8, #6
	b	LBB0_196
LBB0_142:
	ldr	w9, [x8, #28]
	cmp	w21, w9
	b.ne	LBB0_144
; %bb.143:
	mov	w8, #7
	b	LBB0_196
LBB0_144:
	ldr	w9, [x8, #32]
	cmp	w21, w9
	b.ne	LBB0_146
; %bb.145:
	mov	w8, #8
	b	LBB0_196
LBB0_146:
	ldr	w9, [x8, #36]
	cmp	w21, w9
	b.ne	LBB0_148
; %bb.147:
	mov	w8, #9
	b	LBB0_196
LBB0_148:
	ldr	w9, [x8, #40]
	cmp	w21, w9
	b.ne	LBB0_150
; %bb.149:
	mov	w8, #10
	b	LBB0_196
LBB0_150:
	ldr	w9, [x8, #44]
	cmp	w21, w9
	b.ne	LBB0_152
; %bb.151:
	mov	w8, #11
	b	LBB0_196
LBB0_152:
	ldr	w9, [x8, #48]
	cmp	w21, w9
	b.ne	LBB0_154
; %bb.153:
	mov	w8, #12
	b	LBB0_196
LBB0_154:
	ldr	w9, [x8, #52]
	cmp	w21, w9
	b.ne	LBB0_156
; %bb.155:
	mov	w8, #13
	b	LBB0_196
LBB0_156:
	ldr	w9, [x8, #56]
	cmp	w21, w9
	b.ne	LBB0_158
; %bb.157:
	mov	w8, #14
	b	LBB0_196
LBB0_158:
	ldr	w9, [x8, #60]
	cmp	w21, w9
	b.ne	LBB0_160
; %bb.159:
	mov	w8, #15
	b	LBB0_196
LBB0_160:
	ldr	w9, [x8, #64]
	cmp	w21, w9
	b.ne	LBB0_162
; %bb.161:
	mov	w8, #16
	b	LBB0_196
LBB0_162:
	ldr	w9, [x8, #68]
	cmp	w21, w9
	b.ne	LBB0_164
; %bb.163:
	mov	w8, #17
	b	LBB0_196
LBB0_164:
	ldr	w9, [x8, #72]
	cmp	w21, w9
	b.ne	LBB0_166
; %bb.165:
	mov	w8, #18
	b	LBB0_196
LBB0_166:
	ldr	w9, [x8, #76]
	cmp	w21, w9
	b.ne	LBB0_168
; %bb.167:
	mov	w8, #19
	b	LBB0_196
LBB0_168:
	ldr	w9, [x8, #80]
	cmp	w21, w9
	b.ne	LBB0_170
; %bb.169:
	mov	w8, #20
	b	LBB0_196
LBB0_170:
	ldr	w9, [x8, #84]
	cmp	w21, w9
	b.ne	LBB0_172
; %bb.171:
	mov	w8, #21
	b	LBB0_196
LBB0_172:
	ldr	w9, [x8, #88]
	cmp	w21, w9
	b.ne	LBB0_174
; %bb.173:
	mov	w8, #22
	b	LBB0_196
LBB0_174:
	ldr	w9, [x8, #92]
	cmp	w21, w9
	b.ne	LBB0_176
; %bb.175:
	mov	w8, #23
	b	LBB0_196
LBB0_176:
	ldr	w9, [x8, #96]
	cmp	w21, w9
	b.ne	LBB0_178
; %bb.177:
	mov	w8, #24
	b	LBB0_196
LBB0_178:
	ldr	w9, [x8, #100]
	cmp	w21, w9
	b.ne	LBB0_180
; %bb.179:
	mov	w8, #25
	b	LBB0_196
LBB0_180:
	ldr	w9, [x8, #104]
	cmp	w21, w9
	b.ne	LBB0_182
; %bb.181:
	mov	w8, #26
	b	LBB0_196
LBB0_182:
	ldr	w9, [x8, #108]
	cmp	w21, w9
	b.ne	LBB0_184
; %bb.183:
	mov	w8, #27
	b	LBB0_196
LBB0_184:
	ldr	w9, [x8, #112]
	cmp	w21, w9
	b.ne	LBB0_186
; %bb.185:
	mov	w8, #28
	b	LBB0_196
LBB0_186:
	ldr	w9, [x8, #116]
	cmp	w21, w9
	b.ne	LBB0_188
; %bb.187:
	mov	w8, #29
	b	LBB0_196
LBB0_188:
	ldr	w9, [x8, #120]
	cmp	w21, w9
	b.ne	LBB0_190
; %bb.189:
	mov	w8, #30
	b	LBB0_196
LBB0_190:
	ldr	w9, [x8, #124]
	cmp	w21, w9
	b.ne	LBB0_192
; %bb.191:
	mov	w8, #31
	b	LBB0_196
LBB0_192:
	ldr	w9, [x8, #128]
	cmp	w21, w9
	b.ne	LBB0_194
; %bb.193:
	mov	w8, #32
	b	LBB0_196
LBB0_194:
	ldr	w8, [x8, #132]
	cmp	w21, w8
	b.ne	LBB0_198
; %bb.195:
	mov	w8, #33
LBB0_196:
Lloh45:
	adrp	x9, _s_form_sjis_tbl@GOTPAGE
Lloh46:
	ldr	x9, [x9, _s_form_sjis_tbl@GOTPAGEOFF]
Lloh47:
	ldr	x9, [x9]
	ldr	w22, [x9, x8, lsl #2]
	cmp	w22, #0
	b.le	LBB0_198
LBB0_197:
	mov	w21, #0
	b	LBB0_206
LBB0_198:
	mov	w22, #-1
LBB0_199:
	cmp	w21, #1
	b.lt	LBB0_205
; %bb.200:
Lloh48:
	adrp	x8, _s_form_tbl_len@GOTPAGE
Lloh49:
	ldr	x8, [x8, _s_form_tbl_len@GOTPAGEOFF]
Lloh50:
	ldr	w10, [x8]
	cmp	w10, #1
	b.lt	LBB0_205
; %bb.201:
	mov	x8, #0
Lloh51:
	adrp	x9, _s_form_tbl@GOTPAGE
Lloh52:
	ldr	x9, [x9, _s_form_tbl@GOTPAGEOFF]
Lloh53:
	ldr	x9, [x9]
	lsl	x10, x10, #2
LBB0_202:                               ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x9, x8]
	cmp	w21, w11
	b.eq	LBB0_204
; %bb.203:                              ;   in Loop: Header=BB0_202 Depth=1
	add	x8, x8, #4
	cmp	x10, x8
	b.ne	LBB0_202
	b	LBB0_205
LBB0_204:
Lloh54:
	adrp	x9, _s_form_sjis_fallback_tbl@GOTPAGE
Lloh55:
	ldr	x9, [x9, _s_form_sjis_fallback_tbl@GOTPAGEOFF]
Lloh56:
	ldr	x9, [x9]
	ldr	w22, [x9, x8]
LBB0_205:
	tbnz	w22, #31, LBB0_209
LBB0_206:
	ldr	x8, [x20, #16]
	cmp	w22, #255
	b.hi	LBB0_208
; %bb.207:
	ldr	w1, [x20, #8]
	mov	x0, x22
	blr	x8
	b	LBB0_210
LBB0_208:
	ubfx	w0, w22, #8, #8
	ldr	w1, [x20, #8]
	blr	x8
	bl	_CK
	ldr	x8, [x20, #16]
	and	w0, w22, #0xff
	ldr	w1, [x20, #8]
	blr	x8
	b	LBB0_210
LBB0_209:
	mov	x0, x19
	mov	x1, x20
	bl	_mbfl_filt_conv_illegal_output
LBB0_210:
	bl	_CK
	cmp	w21, #1
	b.lt	LBB0_282
; %bb.211:
	cmn	w22, #1
	b.eq	LBB0_282
LBB0_212:
Lloh57:
	adrp	x8, _ucs_a1_jis_table_min@GOTPAGE
Lloh58:
	ldr	x8, [x8, _ucs_a1_jis_table_min@GOTPAGEOFF]
Lloh59:
	ldr	w8, [x8]
Lloh60:
	adrp	x9, _ucs_a1_jis_table_max@GOTPAGE
Lloh61:
	ldr	x9, [x9, _ucs_a1_jis_table_max@GOTPAGEOFF]
Lloh62:
	ldr	w9, [x9]
	cmp	w8, w19
	ccmp	w9, w19, #4, le
	b.gt	LBB0_217
; %bb.213:
Lloh63:
	adrp	x8, _ucs_a2_jis_table_min@GOTPAGE
Lloh64:
	ldr	x8, [x8, _ucs_a2_jis_table_min@GOTPAGEOFF]
Lloh65:
	ldr	w8, [x8]
Lloh66:
	adrp	x9, _ucs_a2_jis_table_max@GOTPAGE
Lloh67:
	ldr	x9, [x9, _ucs_a2_jis_table_max@GOTPAGEOFF]
Lloh68:
	ldr	w9, [x9]
	cmp	w8, w19
	ccmp	w9, w19, #4, le
	b.gt	LBB0_219
; %bb.214:
Lloh69:
	adrp	x8, _ucs_i_jis_table_min@GOTPAGE
Lloh70:
	ldr	x8, [x8, _ucs_i_jis_table_min@GOTPAGEOFF]
Lloh71:
	ldr	w8, [x8]
Lloh72:
	adrp	x9, _ucs_i_jis_table_max@GOTPAGE
Lloh73:
	ldr	x9, [x9, _ucs_i_jis_table_max@GOTPAGEOFF]
Lloh74:
	ldr	w9, [x9]
	cmp	w8, w19
	ccmp	w9, w19, #4, le
	b.gt	LBB0_225
; %bb.215:
Lloh75:
	adrp	x8, _ucs_r_jis_table_min@GOTPAGE
Lloh76:
	ldr	x8, [x8, _ucs_r_jis_table_min@GOTPAGEOFF]
Lloh77:
	ldr	w8, [x8]
Lloh78:
	adrp	x9, _ucs_r_jis_table_max@GOTPAGE
Lloh79:
	ldr	x9, [x9, _ucs_r_jis_table_max@GOTPAGEOFF]
Lloh80:
	ldr	w9, [x9]
	cmp	w8, w19
	ccmp	w9, w19, #4, le
	b.le	LBB0_224
; %bb.216:
Lloh81:
	adrp	x9, _ucs_r_jis_table@GOTPAGE
Lloh82:
	ldr	x9, [x9, _ucs_r_jis_table@GOTPAGEOFF]
	b	LBB0_229
LBB0_217:
	cmp	w19, #92
	b.ne	LBB0_223
; %bb.218:
	mov	w0, #128
	b	LBB0_277
LBB0_219:
	mov	w9, #8482
	cmp	w19, w9
	b.eq	LBB0_227
; %bb.220:
	mov	w9, #8470
	cmp	w19, w9
	b.eq	LBB0_226
; %bb.221:
	mov	w9, #8212
	cmp	w19, w9
	b.ne	LBB0_228
; %bb.222:
	mov	w22, #8509
	b	LBB0_230
LBB0_223:
Lloh83:
	adrp	x9, _ucs_a1_jis_table@GOTPAGE
Lloh84:
	ldr	x9, [x9, _ucs_a1_jis_table@GOTPAGEOFF]
Lloh85:
	ldr	x9, [x9]
	sub	w8, w19, w8
	ldr	w8, [x9, w8, sxtw #2]
	mov	w9, #253
	cmp	w19, #169
	csel	w22, w9, w8, eq
LBB0_224:
	cmp	w19, #2, lsl #12                ; =8192
	b.ge	LBB0_230
	b	LBB0_236
LBB0_225:
Lloh86:
	adrp	x9, _ucs_i_jis_table@GOTPAGE
Lloh87:
	ldr	x9, [x9, _ucs_i_jis_table@GOTPAGEOFF]
	b	LBB0_229
LBB0_226:
	mov	w22, #11293
	b	LBB0_230
LBB0_227:
	mov	w22, #254
	b	LBB0_230
LBB0_228:
Lloh88:
	adrp	x9, _ucs_a2_jis_table@GOTPAGE
Lloh89:
	ldr	x9, [x9, _ucs_a2_jis_table@GOTPAGEOFF]
LBB0_229:
	ldr	x9, [x9]
	sub	w8, w19, w8
	ldr	w22, [x9, w8, sxtw #2]
	cmp	w19, #2, lsl #12                ; =8192
	b.lt	LBB0_236
LBB0_230:
Lloh90:
	adrp	x8, _s_form_tbl_len@GOTPAGE
Lloh91:
	ldr	x8, [x8, _s_form_tbl_len@GOTPAGEOFF]
Lloh92:
	ldr	w8, [x8]
	cmp	w8, #1
	b.lt	LBB0_234
; %bb.231:
Lloh93:
	adrp	x9, _s_form_tbl@GOTPAGE
Lloh94:
	ldr	x9, [x9, _s_form_tbl@GOTPAGEOFF]
Lloh95:
	ldr	x9, [x9]
LBB0_232:                               ; =>This Inner Loop Header: Depth=1
	ldr	w10, [x9]
	cmp	w10, w19
	b.eq	LBB0_239
; %bb.233:                              ;   in Loop: Header=BB0_232 Depth=1
	add	x9, x9, #4
	subs	x8, x8, #1
	b.ne	LBB0_232
LBB0_234:
	mov	w8, #-63584
	add	w8, w19, w8
	cmp	w8, #2
	b.hi	LBB0_236
; %bb.235:
	mov	w8, #2
	b	LBB0_240
LBB0_236:
	cmp	w22, #0
	b.gt	LBB0_246
; %bb.237:
Lloh96:
	adrp	x8, _MBFL_WCSPLANE_MASK@GOTPAGE
Lloh97:
	ldr	x8, [x8, _MBFL_WCSPLANE_MASK@GOTPAGEOFF]
Lloh98:
	ldr	w8, [x8]
	bic	w9, w19, w8
Lloh99:
	adrp	x10, _MBFL_WCSPLANE_WINCP932@GOTPAGE
Lloh100:
	ldr	x10, [x10, _MBFL_WCSPLANE_WINCP932@GOTPAGEOFF]
Lloh101:
	ldr	w10, [x10]
	cmp	w9, w10
	b.ne	LBB0_241
; %bb.238:
	and	w22, w8, w19
	mov	w21, #1
	b	LBB0_245
LBB0_239:
	mov	w8, #1
LBB0_240:
	stp	w8, w19, [x20]
	b	LBB0_282
LBB0_241:
Lloh102:
	adrp	x10, _MBFL_WCSPLANE_JIS0208@GOTPAGE
Lloh103:
	ldr	x10, [x10, _MBFL_WCSPLANE_JIS0208@GOTPAGEOFF]
Lloh104:
	ldr	w10, [x10]
	cmp	w9, w10
	b.ne	LBB0_243
; %bb.242:
	and	w22, w8, w19
	b	LBB0_245
LBB0_243:
Lloh105:
	adrp	x10, _MBFL_WCSPLANE_JIS0212@GOTPAGE
Lloh106:
	ldr	x10, [x10, _MBFL_WCSPLANE_JIS0212@GOTPAGEOFF]
Lloh107:
	ldr	w10, [x10]
	cmp	w9, w10
	b.ne	LBB0_250
; %bb.244:
	and	w8, w8, w19
	mov	w9, #32896
	orr	w22, w8, w9
LBB0_245:
	cmp	w22, #0
	b.le	LBB0_254
LBB0_246:
	lsr	w8, w22, #7
	cmp	w8, #257
	b.lo	LBB0_276
; %bb.247:
	cbnz	w21, LBB0_276
LBB0_248:
	cbnz	w19, LBB0_129
; %bb.249:
	mov	w0, #0
	b	LBB0_277
LBB0_250:
	mov	x0, x19
	cmp	w19, #160
	b.eq	LBB0_277
; %bb.251:
	cmp	w19, #165
	b.eq	LBB0_278
; %bb.252:
	mov	w8, #65340
	cmp	w19, w8
	b.ne	LBB0_254
; %bb.253:
	mov	w22, #8512
	b	LBB0_279
LBB0_254:
Lloh108:
	adrp	x8, _wchar2sjis_mac_r_tbl_len@GOTPAGE
Lloh109:
	ldr	x8, [x8, _wchar2sjis_mac_r_tbl_len@GOTPAGEOFF]
Lloh110:
	ldr	w8, [x8]
	cmp	w8, #1
	b.lt	LBB0_261
; %bb.255:
Lloh111:
	adrp	x9, _wchar2sjis_mac_r_tbl@GOTPAGE
Lloh112:
	ldr	x9, [x9, _wchar2sjis_mac_r_tbl@GOTPAGEOFF]
Lloh113:
	ldr	x9, [x9]
	b	LBB0_257
LBB0_256:                               ;   in Loop: Header=BB0_257 Depth=1
	add	x9, x9, #8
	subs	x8, x8, #1
	b.eq	LBB0_260
LBB0_257:                               ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x9]
	ldr	w11, [x10]
	cmp	w11, w19
	b.gt	LBB0_256
; %bb.258:                              ;   in Loop: Header=BB0_257 Depth=1
	ldr	w12, [x10, #4]
	cmp	w12, w19
	b.lt	LBB0_256
; %bb.259:
	ldr	w8, [x10, #8]
	sub	w9, w19, w11
	add	w22, w9, w8
LBB0_260:
	cmp	w22, #0
	b.gt	LBB0_274
LBB0_261:
Lloh114:
	adrp	x8, _wchar2sjis_mac_r_map_len@GOTPAGE
Lloh115:
	ldr	x8, [x8, _wchar2sjis_mac_r_map_len@GOTPAGEOFF]
Lloh116:
	ldr	w10, [x8]
	cmp	w10, #1
	b.lt	LBB0_268
; %bb.262:
	mov	x8, #0
Lloh117:
	adrp	x9, _wchar2sjis_mac_r_map@GOTPAGE
Lloh118:
	ldr	x9, [x9, _wchar2sjis_mac_r_map@GOTPAGEOFF]
Lloh119:
	ldr	x9, [x9]
	lsl	x10, x10, #3
	b	LBB0_264
LBB0_263:                               ;   in Loop: Header=BB0_264 Depth=1
	add	x8, x8, #8
	cmp	x10, x8
	b.eq	LBB0_267
LBB0_264:                               ; =>This Inner Loop Header: Depth=1
	ldr	x12, [x9, x8]
	ldr	w11, [x12]
	cmp	w11, w19
	b.gt	LBB0_263
; %bb.265:                              ;   in Loop: Header=BB0_264 Depth=1
	ldr	w12, [x12, #4]
	cmp	w12, w19
	b.lt	LBB0_263
; %bb.266:
Lloh120:
	adrp	x9, _wchar2sjis_mac_code_map@GOTPAGE
Lloh121:
	ldr	x9, [x9, _wchar2sjis_mac_code_map@GOTPAGEOFF]
Lloh122:
	ldr	x9, [x9]
	ldr	x8, [x9, x8]
	sub	w9, w19, w11
	ldr	w22, [x8, w9, sxtw #2]
LBB0_267:
	cmp	w22, #0
	b.gt	LBB0_274
LBB0_268:
Lloh123:
	adrp	x8, _wchar2sjis_mac_wchar_tbl_len@GOTPAGE
Lloh124:
	ldr	x8, [x8, _wchar2sjis_mac_wchar_tbl_len@GOTPAGEOFF]
Lloh125:
	ldr	w8, [x8]
	cmp	w8, #1
	b.lt	LBB0_248
; %bb.269:
Lloh126:
	adrp	x9, _wchar2sjis_mac_wchar_tbl@GOTPAGE
Lloh127:
	ldr	x9, [x9, _wchar2sjis_mac_wchar_tbl@GOTPAGEOFF]
Lloh128:
	ldr	x9, [x9]
LBB0_270:                               ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x9]
	ldr	w11, [x10]
	cmp	w11, w19
	b.eq	LBB0_272
; %bb.271:                              ;   in Loop: Header=BB0_270 Depth=1
	add	x9, x9, #8
	subs	x8, x8, #1
	b.ne	LBB0_270
	b	LBB0_273
LBB0_272:
	ldrh	w22, [x10, #4]
LBB0_273:
	cmp	w22, #1
	b.lt	LBB0_248
LBB0_274:
	mov	w8, #16733
	movk	w8, #44620, lsl #16
	umull	x8, w22, w8
	lsr	x8, x8, #38
	mov	w9, #-94
	madd	w9, w8, w9, w22
	add	w9, w9, #33
	mov	w10, #8448
	add	w8, w10, w8, lsl #8
	orr	w22, w8, w9
	cmp	w22, #1
	b.lt	LBB0_248
; %bb.275:
	mov	w21, #1
LBB0_276:
	mov	x0, x22
	cmp	w22, #255
	b.hi	LBB0_279
LBB0_277:
	ldr	x8, [x20, #16]
	ldr	w1, [x20, #8]
	b	LBB0_280
LBB0_278:
	mov	w22, #8559
LBB0_279:
	ubfx	w0, w22, #8, #8
	and	w1, w22, #0xff
	mov	x2, x22
	mov	x3, x21
	bl	_SJIS_ENCODE
	ldr	x8, [x20, #16]
	ldr	w1, [x20, #8]
	mov	x0, x22
	blr	x8
	bl	_CK
	ldr	x8, [x20, #16]
	ldr	w1, [x20, #8]
	mov	x0, x21
LBB0_280:
	blr	x8
LBB0_281:
	bl	_CK
LBB0_282:
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh72, Lloh73, Lloh74
	.loh AdrpLdrGotLdr	Lloh69, Lloh70, Lloh71
	.loh AdrpLdrGotLdr	Lloh78, Lloh79, Lloh80
	.loh AdrpLdrGotLdr	Lloh75, Lloh76, Lloh77
	.loh AdrpLdrGot	Lloh81, Lloh82
	.loh AdrpLdrGotLdr	Lloh83, Lloh84, Lloh85
	.loh AdrpLdrGot	Lloh86, Lloh87
	.loh AdrpLdrGot	Lloh88, Lloh89
	.loh AdrpLdrGotLdr	Lloh90, Lloh91, Lloh92
	.loh AdrpLdrGotLdr	Lloh93, Lloh94, Lloh95
	.loh AdrpLdrGotLdr	Lloh99, Lloh100, Lloh101
	.loh AdrpLdrGotLdr	Lloh96, Lloh97, Lloh98
	.loh AdrpLdrGotLdr	Lloh102, Lloh103, Lloh104
	.loh AdrpLdrGotLdr	Lloh105, Lloh106, Lloh107
	.loh AdrpLdrGotLdr	Lloh108, Lloh109, Lloh110
	.loh AdrpLdrGotLdr	Lloh111, Lloh112, Lloh113
	.loh AdrpLdrGotLdr	Lloh114, Lloh115, Lloh116
	.loh AdrpLdrGotLdr	Lloh117, Lloh118, Lloh119
	.loh AdrpLdrGotLdr	Lloh120, Lloh121, Lloh122
	.loh AdrpLdrGotLdr	Lloh123, Lloh124, Lloh125
	.loh AdrpLdrGotLdr	Lloh126, Lloh127, Lloh128
	.cfi_endproc
	.section	__TEXT,__const
	.p2align	1
lJTI0_0:
	.short	(LBB0_212-LBB0_2)>>2
	.short	(LBB0_2-LBB0_2)>>2
	.short	(LBB0_18-LBB0_2)>>2
	.short	(LBB0_26-LBB0_2)>>2
	.short	(LBB0_7-LBB0_2)>>2
	.short	(LBB0_38-LBB0_2)>>2
                                        ; -- End function
	.comm	_s_form_tbl,8,3                 ; @s_form_tbl
	.comm	_s_form_sjis_tbl,8,3            ; @s_form_sjis_tbl
	.comm	_s_form_tbl_len,4,2             ; @s_form_tbl_len
	.comm	_s_form_sjis_fallback_tbl,8,3   ; @s_form_sjis_fallback_tbl
	.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	_wchar2sjis_mac_r_tbl_len,4,2   ; @wchar2sjis_mac_r_tbl_len
	.comm	_wchar2sjis_mac_r_tbl,8,3       ; @wchar2sjis_mac_r_tbl
	.comm	_wchar2sjis_mac_r_map_len,4,2   ; @wchar2sjis_mac_r_map_len
	.comm	_wchar2sjis_mac_r_map,8,3       ; @wchar2sjis_mac_r_map
	.comm	_wchar2sjis_mac_code_map,8,3    ; @wchar2sjis_mac_code_map
	.comm	_wchar2sjis_mac_wchar_tbl_len,4,2 ; @wchar2sjis_mac_wchar_tbl_len
	.comm	_wchar2sjis_mac_wchar_tbl,8,3   ; @wchar2sjis_mac_wchar_tbl
	.comm	_code_tbl_m,8,3                 ; @code_tbl_m
.subsections_via_symbols
