	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mbfl_filt_conv_wchar_2022jp_mobile ## -- Begin function mbfl_filt_conv_wchar_2022jp_mobile
	.p2align	4, 0x90
_mbfl_filt_conv_wchar_2022jp_mobile:    ## @mbfl_filt_conv_wchar_2022jp_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_14
## %bb.10:
	movq	_ucs_r_jis_table_max@GOTPCREL(%rip), %rcx
	cmpl	%r12d, (%rcx)
	jle	LBB0_14
## %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), %eax
	movl	%eax, -44(%rbp)
                                        ## implicit-def: $ebx
                                        ## implicit-def: $r15d
	testl	%eax, %eax
	jle	LBB0_16
LBB0_13:
	xorl	%r13d, %r13d
	movb	$1, %cl
	jmp	LBB0_18
LBB0_14:
	leal	-57344(%r12), %eax
                                        ## implicit-def: $r15d
	cmpl	$1879, %eax                     ## imm = 0x757
	ja	LBB0_16
## %bb.15:
	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, %eax
	shll	$8, %eax
	orl	%r15d, %eax
	movl	%eax, -44(%rbp)
	testl	%eax, %eax
	jg	LBB0_13
LBB0_16:
	movq	_MBFL_WCSPLANE_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, %ebx
	notl	%ebx
	andl	%r12d, %ebx
	movq	_MBFL_WCSPLANE_WINCP932@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %ebx
	jne	LBB0_25
## %bb.17:
	andl	%r12d, %eax
	movl	%eax, -44(%rbp)
	movl	$1, %r13d
	xorl	%ecx, %ecx
LBB0_18:
	cmpl	$41377, %eax                    ## imm = 0xA1A1
	setge	%dl
	testl	%eax, %eax
	jle	LBB0_20
## %bb.19:
	andb	%dl, %cl
	je	LBB0_32
LBB0_20:
	movl	$-1, -44(%rbp)
	movq	_cp932ext1_ucs_table_max@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	_cp932ext1_ucs_table_min@GOTPCREL(%rip), %rax
	subl	(%rax), %r15d
	movl	$-1, %eax
	testl	%r15d, %r15d
	jle	LBB0_27
## %bb.21:
	movq	_cp932ext1_ucs_table@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdx
	movl	%r15d, %esi
	movl	$11553, %ecx                    ## imm = 0x2D21
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_22:                                ## =>This Inner Loop Header: Depth=1
	cmpl	%r12d, (%rdx,%rbx,4)
	je	LBB0_30
## %bb.23:                              ##   in Loop: Header=BB0_22 Depth=1
	incq	%rbx
	incl	%ecx
	cmpq	%rbx, %rsi
	jne	LBB0_22
## %bb.24:
	movl	%r15d, %ebx
	testl	%r12d, %r12d
	jne	LBB0_28
	jmp	LBB0_31
LBB0_25:
	movq	_MBFL_WCSPLANE_JIS0208@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %ebx
	jne	LBB0_54
## %bb.26:
	andl	%r12d, %eax
	movl	%eax, -44(%rbp)
	jmp	LBB0_13
LBB0_27:
	xorl	%ebx, %ebx
	testl	%r12d, %r12d
	je	LBB0_31
LBB0_28:
	testl	%eax, %eax
	jg	LBB0_32
## %bb.29:
	movl	$-1, -44(%rbp)
	jmp	LBB0_32
LBB0_30:
	movl	%ebx, %eax
	movl	$2924233053, %edx               ## imm = 0xAE4C415D
	imulq	%rax, %rdx
	shrq	$38, %rdx
	imull	$162, %edx, %eax
	addl	%eax, %ecx
	movl	%ecx, -44(%rbp)
	movl	%ecx, %eax
	testl	%r12d, %r12d
	jne	LBB0_28
LBB0_31:
	movl	$0, -44(%rbp)
LBB0_32:
	movq	32(%r14), %rax
	movq	(%rax), %rax
	movq	_mbfl_no_encoding_2022jp_kddi@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_35
## %bb.33:
	leaq	-44(%rbp), %rsi
	movl	%r12d, %edi
	movq	%r14, %rdx
	callq	_mbfilter_unicode2sjis_emoji_kddi
	testq	%rax, %rax
	jle	LBB0_35
## %bb.34:
	movl	-44(%rbp), %edx
	movl	%ebx, %edi
	movl	%r15d, %esi
	movl	%r13d, %ecx
	callq	_CODE2JIS
	addl	$-5632, -44(%rbp)               ## imm = 0xEA00
LBB0_35:
	movl	(%r14), %ecx
	cmpl	$1, %ecx
	jne	LBB0_37
## %bb.36:
	cmpq	$0, 8(%r14)
	jg	LBB0_53
LBB0_37:
	movl	-44(%rbp), %eax
	testl	%eax, %eax
	js	LBB0_42
## %bb.38:
	cmpl	$127, %eax
	ja	LBB0_43
## %bb.39:
	testl	$65280, %ecx                    ## imm = 0xFF00
	je	LBB0_41
## %bb.40:
	movl	16(%r14), %esi
	movl	$27, %edi
	callq	*24(%r14)
	movl	%eax, %edi
	callq	_CK
	movl	16(%r14), %esi
	movl	$40, %edi
	callq	*24(%r14)
	movl	%eax, %edi
	callq	_CK
	movl	16(%r14), %esi
	movl	$66, %edi
	callq	*24(%r14)
	movl	%eax, %edi
	callq	_CK
	movl	-44(%rbp), %eax
LBB0_41:
	movl	16(%r14), %esi
	movl	%eax, %edi
	callq	*24(%r14)
	movl	%eax, %edi
	callq	_CK
	movl	$0, (%r14)
	jmp	LBB0_53
LBB0_42:
	movl	%r12d, %edi
	movq	%r14, %rsi
	callq	_mbfl_filt_conv_illegal_output
	jmp	LBB0_52
LBB0_43:
	leal	-161(%rax), %edx
	cmpl	$62, %edx
	ja	LBB0_47
## %bb.44:
	andl	$65280, %ecx                    ## imm = 0xFF00
	cmpl	$256, %ecx                      ## imm = 0x100
	je	LBB0_46
## %bb.45:
	movl	16(%r14), %esi
	movl	$27, %edi
	callq	*24(%r14)
	movl	%eax, %edi
	callq	_CK
	movl	16(%r14), %esi
	movl	$40, %edi
	callq	*24(%r14)
	movl	%eax, %edi
	callq	_CK
	movl	16(%r14), %esi
	movl	$73, %edi
	callq	*24(%r14)
	movl	%eax, %edi
	callq	_CK
	movl	-44(%rbp), %eax
LBB0_46:
	movl	$256, (%r14)                    ## imm = 0x100
	andl	$127, %eax
	movl	16(%r14), %esi
	movl	%eax, %edi
	jmp	LBB0_51
LBB0_47:
	cmpl	$32382, %eax                    ## imm = 0x7E7E
	ja	LBB0_53
## %bb.48:
	andl	$65280, %ecx                    ## imm = 0xFF00
	cmpl	$512, %ecx                      ## imm = 0x200
	je	LBB0_50
## %bb.49:
	movl	16(%r14), %esi
	movl	$27, %edi
	callq	*24(%r14)
	movl	%eax, %edi
	callq	_CK
	movl	16(%r14), %esi
	movl	$36, %edi
	callq	*24(%r14)
	movl	%eax, %edi
	callq	_CK
	movl	16(%r14), %esi
	movl	$66, %edi
	callq	*24(%r14)
	movl	%eax, %edi
	callq	_CK
	movl	-44(%rbp), %eax
LBB0_50:
	movl	$512, (%r14)                    ## imm = 0x200
	movzbl	%ah, %edi
	movl	16(%r14), %esi
	callq	*24(%r14)
	movl	%eax, %edi
	callq	_CK
	movl	-44(%rbp), %edi
	andl	$127, %edi
	movl	16(%r14), %esi
LBB0_51:
	callq	*24(%r14)
LBB0_52:
	movl	%eax, %edi
	callq	_CK
LBB0_53:
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_54:
	movq	_MBFL_WCSPLANE_JIS0212@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %ebx
	jne	LBB0_56
## %bb.55:
	andl	%r12d, %eax
	orl	$32896, %eax                    ## imm = 0x8080
	movl	%eax, -44(%rbp)
	jmp	LBB0_13
LBB0_56:
	xorl	%r13d, %r13d
	cmpl	$65339, %r12d                   ## imm = 0xFF3B
	jle	LBB0_62
## %bb.57:
	cmpl	$65503, %r12d                   ## imm = 0xFFDF
	jle	LBB0_66
## %bb.58:
	cmpl	$65504, %r12d                   ## imm = 0xFFE0
	je	LBB0_72
## %bb.59:
	cmpl	$65505, %r12d                   ## imm = 0xFFE1
	je	LBB0_73
## %bb.60:
	cmpl	$65506, %r12d                   ## imm = 0xFFE2
	jne	LBB0_20
## %bb.61:
	movl	$8780, -44(%rbp)                ## imm = 0x224C
	xorl	%r13d, %r13d
	movb	$1, %cl
	movl	$8780, %eax                     ## imm = 0x224C
	jmp	LBB0_18
LBB0_62:
	cmpl	$8740, %r12d                    ## imm = 0x2224
	jg	LBB0_69
## %bb.63:
	cmpl	$165, %r12d
	je	LBB0_74
## %bb.64:
	cmpl	$8254, %r12d                    ## imm = 0x203E
	jne	LBB0_20
## %bb.65:
	movl	$8497, -44(%rbp)                ## imm = 0x2131
	xorl	%r13d, %r13d
	movb	$1, %cl
	movl	$8497, %eax                     ## imm = 0x2131
	jmp	LBB0_18
LBB0_66:
	cmpl	$65340, %r12d                   ## imm = 0xFF3C
	je	LBB0_75
## %bb.67:
	cmpl	$65374, %r12d                   ## imm = 0xFF5E
	jne	LBB0_20
## %bb.68:
	movl	$8513, -44(%rbp)                ## imm = 0x2141
	xorl	%r13d, %r13d
	movb	$1, %cl
	movl	$8513, %eax                     ## imm = 0x2141
	jmp	LBB0_18
LBB0_69:
	cmpl	$8741, %r12d                    ## imm = 0x2225
	je	LBB0_76
## %bb.70:
	cmpl	$65293, %r12d                   ## imm = 0xFF0D
	jne	LBB0_20
## %bb.71:
	movl	$8541, -44(%rbp)                ## imm = 0x215D
	xorl	%r13d, %r13d
	movb	$1, %cl
	movl	$8541, %eax                     ## imm = 0x215D
	jmp	LBB0_18
LBB0_72:
	movl	$8561, -44(%rbp)                ## imm = 0x2171
	xorl	%r13d, %r13d
	movb	$1, %cl
	movl	$8561, %eax                     ## imm = 0x2171
	jmp	LBB0_18
LBB0_73:
	movl	$8562, -44(%rbp)                ## imm = 0x2172
	xorl	%r13d, %r13d
	movb	$1, %cl
	movl	$8562, %eax                     ## imm = 0x2172
	jmp	LBB0_18
LBB0_74:
	movl	$8559, -44(%rbp)                ## imm = 0x216F
	xorl	%r13d, %r13d
	movb	$1, %cl
	movl	$8559, %eax                     ## imm = 0x216F
	jmp	LBB0_18
LBB0_75:
	movl	$8512, -44(%rbp)                ## imm = 0x2140
	xorl	%r13d, %r13d
	movb	$1, %cl
	movl	$8512, %eax                     ## imm = 0x2140
	jmp	LBB0_18
LBB0_76:
	movl	$8514, -44(%rbp)                ## imm = 0x2142
	xorl	%r13d, %r13d
	movb	$1, %cl
	movl	$8514, %eax                     ## imm = 0x2142
	jmp	LBB0_18
	.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	_mbfl_no_encoding_2022jp_kddi,8,3 ## @mbfl_no_encoding_2022jp_kddi
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mbfl_filt_conv_wchar_2022jp_mobile ; -- Begin function mbfl_filt_conv_wchar_2022jp_mobile
	.p2align	2
_mbfl_filt_conv_wchar_2022jp_mobile:    ; @mbfl_filt_conv_wchar_2022jp_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_8
; %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_9
; %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_12
; %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_16
; %bb.4:
	sub	w8, w19, #14, lsl #12           ; =57344
                                        ; implicit-def: $w21
	cmp	w8, #1879
	b.hi	LBB0_6
; %bb.5:
	ubfx	w9, w8, #1, #15
	mov	w10, #44621
	mul	w9, w9, w10
	lsr	w9, w9, #21
	add	w22, w9, #127
	mov	w10, #94
	msub	w8, w9, w10, w8
	add	w8, w8, #33
	and	w21, w8, #0xffff
	orr	w8, w21, w22, lsl #8
	str	w8, [sp, #12]
	cmp	w8, #0
	b.gt	LBB0_18
LBB0_6:
Lloh24:
	adrp	x8, _MBFL_WCSPLANE_MASK@GOTPAGE
Lloh25:
	ldr	x8, [x8, _MBFL_WCSPLANE_MASK@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
	bic	w22, w19, w8
Lloh27:
	adrp	x9, _MBFL_WCSPLANE_WINCP932@GOTPAGE
Lloh28:
	ldr	x9, [x9, _MBFL_WCSPLANE_WINCP932@GOTPAGEOFF]
Lloh29:
	ldr	w9, [x9]
	cmp	w22, w9
	b.ne	LBB0_10
; %bb.7:
	mov	w9, #0
	and	w8, w8, w19
	str	w8, [sp, #12]
	mov	w23, #1
	b	LBB0_20
LBB0_8:
Lloh30:
	adrp	x9, _ucs_a1_jis_table@GOTPAGE
Lloh31:
	ldr	x9, [x9, _ucs_a1_jis_table@GOTPAGEOFF]
	b	LBB0_17
LBB0_9:
Lloh32:
	adrp	x9, _ucs_a2_jis_table@GOTPAGE
Lloh33:
	ldr	x9, [x9, _ucs_a2_jis_table@GOTPAGEOFF]
	b	LBB0_17
LBB0_10:
Lloh34:
	adrp	x9, _MBFL_WCSPLANE_JIS0208@GOTPAGE
Lloh35:
	ldr	x9, [x9, _MBFL_WCSPLANE_JIS0208@GOTPAGEOFF]
Lloh36:
	ldr	w9, [x9]
	cmp	w22, w9
	b.ne	LBB0_13
; %bb.11:
	mov	w23, #0
	and	w8, w8, w19
	b	LBB0_15
LBB0_12:
Lloh37:
	adrp	x9, _ucs_i_jis_table@GOTPAGE
Lloh38:
	ldr	x9, [x9, _ucs_i_jis_table@GOTPAGEOFF]
	b	LBB0_17
LBB0_13:
Lloh39:
	adrp	x9, _MBFL_WCSPLANE_JIS0212@GOTPAGE
Lloh40:
	ldr	x9, [x9, _MBFL_WCSPLANE_JIS0212@GOTPAGEOFF]
Lloh41:
	ldr	w9, [x9]
	cmp	w22, w9
	b.ne	LBB0_53
; %bb.14:
	mov	w23, #0
	and	w8, w8, w19
	mov	w9, #32896
	orr	w8, w8, w9
LBB0_15:
	str	w8, [sp, #12]
	b	LBB0_19
LBB0_16:
Lloh42:
	adrp	x9, _ucs_r_jis_table@GOTPAGE
Lloh43:
	ldr	x9, [x9, _ucs_r_jis_table@GOTPAGEOFF]
LBB0_17:
	ldr	x9, [x9]
	sub	w8, w19, w8
	ldr	w8, [x9, w8, sxtw #2]
	str	w8, [sp, #12]
                                        ; implicit-def: $w22
                                        ; implicit-def: $w21
	cmp	w8, #0
	b.le	LBB0_6
LBB0_18:
	mov	w23, #0
LBB0_19:
	mov	w9, #1
LBB0_20:
	mov	w10, #41376
	cmp	w8, w10
	cset	w10, gt
	and	w9, w9, w10
	cmp	w8, #1
	ccmp	w9, #0, #0, ge
	b.eq	LBB0_31
LBB0_21:
	mov	w8, #-1
	str	w8, [sp, #12]
Lloh44:
	adrp	x9, _cp932ext1_ucs_table_max@GOTPAGE
Lloh45:
	ldr	x9, [x9, _cp932ext1_ucs_table_max@GOTPAGEOFF]
Lloh46:
	ldr	w9, [x9]
Lloh47:
	adrp	x10, _cp932ext1_ucs_table_min@GOTPAGE
Lloh48:
	ldr	x10, [x10, _cp932ext1_ucs_table_min@GOTPAGEOFF]
Lloh49:
	ldr	w10, [x10]
	sub	w21, w9, w10
	cmp	w21, #1
	b.lt	LBB0_26
; %bb.22:
	mov	x22, #0
Lloh50:
	adrp	x8, _cp932ext1_ucs_table@GOTPAGE
Lloh51:
	ldr	x8, [x8, _cp932ext1_ucs_table@GOTPAGEOFF]
Lloh52:
	ldr	x8, [x8]
LBB0_23:                                ; =>This Inner Loop Header: Depth=1
	ldr	w9, [x8, x22, lsl #2]
	cmp	w9, w19
	b.eq	LBB0_29
; %bb.24:                               ;   in Loop: Header=BB0_23 Depth=1
	add	x22, x22, #1
	cmp	x21, x22
	b.ne	LBB0_23
; %bb.25:
	mov	w8, #-1
	mov	x22, x21
	cbnz	w19, LBB0_27
	b	LBB0_30
LBB0_26:
	mov	w22, #0
	cbz	w19, LBB0_30
LBB0_27:
	cmp	w8, #0
	b.gt	LBB0_31
; %bb.28:
	mov	w8, #-1
	str	w8, [sp, #12]
	b	LBB0_31
LBB0_29:
	mov	w8, #16733
	movk	w8, #44620, lsl #16
	umull	x8, w22, w8
	lsr	x8, x8, #38
	mov	w9, #94
	msub	w9, w8, w9, w22
	add	w8, w9, w8, lsl #8
	mov	w9, #11553
	add	w8, w8, w9
	str	w8, [sp, #12]
	cbnz	w19, LBB0_27
LBB0_30:
	str	wzr, [sp, #12]
LBB0_31:
	ldr	x8, [x20, #32]
	ldr	x8, [x8]
Lloh53:
	adrp	x9, _mbfl_no_encoding_2022jp_kddi@GOTPAGE
Lloh54:
	ldr	x9, [x9, _mbfl_no_encoding_2022jp_kddi@GOTPAGEOFF]
Lloh55:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_34
; %bb.32:
	add	x1, sp, #12
	mov	x0, x19
	mov	x2, x20
	bl	_mbfilter_unicode2sjis_emoji_kddi
	cmp	x0, #1
	b.lt	LBB0_34
; %bb.33:
	ldr	w2, [sp, #12]
	mov	x0, x22
	mov	x1, x21
	mov	x3, x23
	bl	_CODE2JIS
	ldr	w8, [sp, #12]
	mov	w9, #-5632
	add	w8, w8, w9
	str	w8, [sp, #12]
LBB0_34:
	ldr	w8, [x20]
	cmp	w8, #1
	b.ne	LBB0_36
; %bb.35:
	ldr	x9, [x20, #8]
	cmp	x9, #0
	b.gt	LBB0_52
LBB0_36:
	ldr	w0, [sp, #12]
	tbnz	w0, #31, LBB0_41
; %bb.37:
	cmp	w0, #127
	b.hi	LBB0_42
; %bb.38:
	tst	w8, #0xff00
	b.eq	LBB0_40
; %bb.39:
	ldr	x8, [x20, #24]
	ldr	w1, [x20, #16]
	mov	w0, #27
	blr	x8
	bl	_CK
	ldr	x8, [x20, #24]
	ldr	w1, [x20, #16]
	mov	w0, #40
	blr	x8
	bl	_CK
	ldr	x8, [x20, #24]
	ldr	w1, [x20, #16]
	mov	w0, #66
	blr	x8
	bl	_CK
	ldr	w0, [sp, #12]
LBB0_40:
	ldr	x8, [x20, #24]
	ldr	w1, [x20, #16]
	blr	x8
	bl	_CK
	str	wzr, [x20]
	b	LBB0_52
LBB0_41:
	mov	x0, x19
	mov	x1, x20
	bl	_mbfl_filt_conv_illegal_output
	b	LBB0_51
LBB0_42:
	sub	w9, w0, #161
	cmp	w9, #62
	b.hi	LBB0_46
; %bb.43:
	and	w8, w8, #0xff00
	cmp	w8, #256
	b.eq	LBB0_45
; %bb.44:
	ldr	x8, [x20, #24]
	ldr	w1, [x20, #16]
	mov	w0, #27
	blr	x8
	bl	_CK
	ldr	x8, [x20, #24]
	ldr	w1, [x20, #16]
	mov	w0, #40
	blr	x8
	bl	_CK
	ldr	x8, [x20, #24]
	ldr	w1, [x20, #16]
	mov	w0, #73
	blr	x8
	bl	_CK
	ldr	w0, [sp, #12]
LBB0_45:
	mov	w8, #256
	str	w8, [x20]
	ldr	x8, [x20, #24]
	and	w0, w0, #0x7f
	b	LBB0_50
LBB0_46:
	mov	w9, #32382
	cmp	w0, w9
	b.hi	LBB0_52
; %bb.47:
	and	w8, w8, #0xff00
	cmp	w8, #512
	b.eq	LBB0_49
; %bb.48:
	ldr	x8, [x20, #24]
	ldr	w1, [x20, #16]
	mov	w0, #27
	blr	x8
	bl	_CK
	ldr	x8, [x20, #24]
	ldr	w1, [x20, #16]
	mov	w0, #36
	blr	x8
	bl	_CK
	ldr	x8, [x20, #24]
	ldr	w1, [x20, #16]
	mov	w0, #66
	blr	x8
	bl	_CK
	ldr	w0, [sp, #12]
LBB0_49:
	mov	w8, #512
	str	w8, [x20]
	ldr	x8, [x20, #24]
	ubfx	w0, w0, #8, #8
	ldr	w1, [x20, #16]
	blr	x8
	bl	_CK
	ldr	x8, [x20, #24]
	ldr	w9, [sp, #12]
	and	w0, w9, #0x7f
LBB0_50:
	ldr	w1, [x20, #16]
	blr	x8
LBB0_51:
	bl	_CK
LBB0_52:
	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_53:
	mov	w23, #0
	mov	w8, #65339
	cmp	w19, w8
	b.le	LBB0_59
; %bb.54:
	mov	w8, #65503
	cmp	w19, w8
	b.le	LBB0_63
; %bb.55:
	mov	w8, #65504
	cmp	w19, w8
	b.eq	LBB0_69
; %bb.56:
	mov	w8, #65505
	cmp	w19, w8
	b.eq	LBB0_70
; %bb.57:
	mov	w8, #65506
	cmp	w19, w8
	b.ne	LBB0_21
; %bb.58:
	mov	w23, #0
	mov	w8, #8780
	b	LBB0_15
LBB0_59:
	mov	w8, #8740
	cmp	w19, w8
	b.gt	LBB0_66
; %bb.60:
	cmp	w19, #165
	b.eq	LBB0_71
; %bb.61:
	mov	w8, #8254
	cmp	w19, w8
	b.ne	LBB0_21
; %bb.62:
	mov	w23, #0
	mov	w8, #8497
	b	LBB0_15
LBB0_63:
	mov	w8, #65340
	cmp	w19, w8
	b.eq	LBB0_72
; %bb.64:
	mov	w8, #65374
	cmp	w19, w8
	b.ne	LBB0_21
; %bb.65:
	mov	w23, #0
	mov	w8, #8513
	b	LBB0_15
LBB0_66:
	mov	w8, #8741
	cmp	w19, w8
	b.eq	LBB0_73
; %bb.67:
	mov	w8, #65293
	cmp	w19, w8
	b.ne	LBB0_21
; %bb.68:
	mov	w23, #0
	mov	w8, #8541
	b	LBB0_15
LBB0_69:
	mov	w23, #0
	mov	w8, #8561
	b	LBB0_15
LBB0_70:
	mov	w23, #0
	mov	w8, #8562
	b	LBB0_15
LBB0_71:
	mov	w23, #0
	mov	w8, #8559
	b	LBB0_15
LBB0_72:
	mov	w23, #0
	mov	w8, #8512
	b	LBB0_15
LBB0_73:
	mov	w23, #0
	mov	w8, #8514
	b	LBB0_15
	.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 AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGot	Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.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	_mbfl_no_encoding_2022jp_kddi,8,3 ; @mbfl_no_encoding_2022jp_kddi
.subsections_via_symbols
