	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mbfl_filt_conv_wchar_2022jp    ## -- Begin function mbfl_filt_conv_wchar_2022jp
	.p2align	4, 0x90
_mbfl_filt_conv_wchar_2022jp:           ## @mbfl_filt_conv_wchar_2022jp
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movl	%edi, %r15d
	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	%r15d, (%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	%r15d, %eax
	jg	LBB0_6
## %bb.4:
	movq	_ucs_a2_jis_table_max@GOTPCREL(%rip), %rcx
	cmpl	%r15d, (%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	%r15d, %eax
	jg	LBB0_9
## %bb.7:
	movq	_ucs_i_jis_table_max@GOTPCREL(%rip), %rcx
	cmpl	%r15d, (%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	%r15d, %eax
	jg	LBB0_13
## %bb.10:
	movq	_ucs_r_jis_table_max@GOTPCREL(%rip), %rcx
	cmpl	%r15d, (%rcx)
	jle	LBB0_13
## %bb.11:
	movq	_ucs_r_jis_table@GOTPCREL(%rip), %rcx
LBB0_12:
	movq	(%rcx), %rcx
	movl	%r15d, %edx
	subl	%eax, %edx
	movslq	%edx, %rax
	movl	(%rcx,%rax,4), %ebx
	testl	%ebx, %ebx
	jle	LBB0_13
## %bb.32:
	cmpl	$32896, %ebx                    ## imm = 0x8080
	ja	LBB0_17
## %bb.33:
	leal	-128(%rbx), %eax
	cmpl	$8353, %eax                     ## imm = 0x20A1
	jb	LBB0_17
## %bb.34:
	cmpl	$127, %ebx
	ja	LBB0_40
LBB0_35:
	cmpb	$0, 1(%r14)
	je	LBB0_37
## %bb.36:
	movl	4(%r14), %esi
	movl	$27, %edi
	callq	*8(%r14)
	movl	%eax, %edi
	callq	_CK
	movl	4(%r14), %esi
	movl	$40, %edi
	callq	*8(%r14)
	movl	%eax, %edi
	callq	_CK
	movl	4(%r14), %esi
	movl	$66, %edi
	callq	*8(%r14)
	movl	%eax, %edi
	callq	_CK
LBB0_37:
	movl	$0, (%r14)
	jmp	LBB0_38
LBB0_13:
	cmpl	$65339, %r15d                   ## imm = 0xFF3B
	jg	LBB0_22
## %bb.14:
	cmpl	$8253, %r15d                    ## imm = 0x203D
	jle	LBB0_15
## %bb.18:
	cmpl	$8254, %r15d                    ## imm = 0x203E
	je	LBB0_43
## %bb.19:
	cmpl	$8741, %r15d                    ## imm = 0x2225
	je	LBB0_39
## %bb.20:
	cmpl	$65293, %r15d                   ## imm = 0xFF0D
	jne	LBB0_17
## %bb.21:
	movl	$8541, %ebx                     ## imm = 0x215D
	jmp	LBB0_40
LBB0_22:
	cmpl	$65503, %r15d                   ## imm = 0xFFDF
	jle	LBB0_23
## %bb.26:
	cmpl	$65504, %r15d                   ## imm = 0xFFE0
	je	LBB0_30
## %bb.27:
	cmpl	$65505, %r15d                   ## imm = 0xFFE1
	je	LBB0_31
## %bb.28:
	cmpl	$65506, %r15d                   ## imm = 0xFFE2
	jne	LBB0_17
## %bb.29:
	movl	$8780, %ebx                     ## imm = 0x224C
	jmp	LBB0_40
LBB0_15:
	movl	%r15d, %ebx
	testl	%r15d, %r15d
	je	LBB0_35
## %bb.16:
	movl	$92, %ebx
	cmpl	$165, %r15d
	je	LBB0_44
	jmp	LBB0_17
LBB0_23:
	movl	$8512, %ebx                     ## imm = 0x2140
	cmpl	$65340, %r15d                   ## imm = 0xFF3C
	je	LBB0_40
## %bb.24:
	cmpl	$65374, %r15d                   ## imm = 0xFF5E
	jne	LBB0_17
## %bb.25:
	movl	$8513, %ebx                     ## imm = 0x2141
	jmp	LBB0_40
LBB0_17:
	movl	%r15d, %edi
	movq	%r14, %rsi
	callq	_mbfl_filt_conv_illegal_output
	jmp	LBB0_48
LBB0_43:
	movl	$126, %ebx
LBB0_44:
	movzbl	1(%r14), %eax
	shll	$8, %eax
	cmpl	$1024, %eax                     ## imm = 0x400
	je	LBB0_46
## %bb.45:
	movl	4(%r14), %esi
	movl	$27, %edi
	callq	*8(%r14)
	movl	%eax, %edi
	callq	_CK
	movl	4(%r14), %esi
	movl	$40, %edi
	callq	*8(%r14)
	movl	%eax, %edi
	callq	_CK
	movl	4(%r14), %esi
	movl	$74, %edi
	callq	*8(%r14)
	movl	%eax, %edi
	callq	_CK
LBB0_46:
	movl	$1024, (%r14)                   ## imm = 0x400
	movl	4(%r14), %esi
	movl	%ebx, %edi
	jmp	LBB0_47
LBB0_39:
	movl	$8514, %ebx                     ## imm = 0x2142
	jmp	LBB0_40
LBB0_30:
	movl	$8561, %ebx                     ## imm = 0x2171
	jmp	LBB0_40
LBB0_31:
	movl	$8562, %ebx                     ## imm = 0x2172
LBB0_40:
	movzbl	1(%r14), %eax
	shll	$8, %eax
	cmpl	$512, %eax                      ## imm = 0x200
	je	LBB0_42
## %bb.41:
	movl	4(%r14), %esi
	movl	$27, %edi
	callq	*8(%r14)
	movl	%eax, %edi
	callq	_CK
	movl	4(%r14), %esi
	movl	$36, %edi
	callq	*8(%r14)
	movl	%eax, %edi
	callq	_CK
	movl	4(%r14), %esi
	movl	$66, %edi
	callq	*8(%r14)
	movl	%eax, %edi
	callq	_CK
LBB0_42:
	movl	$512, (%r14)                    ## imm = 0x200
	movl	%ebx, %edi
	shrl	$8, %edi
	andl	$127, %edi
	movl	4(%r14), %esi
	callq	*8(%r14)
	movl	%eax, %edi
	callq	_CK
	andl	$127, %ebx
LBB0_38:
	movl	4(%r14), %esi
	movl	%ebx, %edi
LBB0_47:
	callq	*8(%r14)
LBB0_48:
	movl	%eax, %edi
	callq	_CK
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.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
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mbfl_filt_conv_wchar_2022jp    ; -- Begin function mbfl_filt_conv_wchar_2022jp
	.p2align	2
_mbfl_filt_conv_wchar_2022jp:           ; @mbfl_filt_conv_wchar_2022jp
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _ucs_a1_jis_table_min@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ucs_a1_jis_table_min@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _ucs_a1_jis_table_max@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ucs_a1_jis_table_max@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w8, w0
	ccmp	w9, w0, #4, le
	b.gt	LBB0_5
; %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_6
; %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_7
; %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.le	LBB0_11
; %bb.4:
Lloh24:
	adrp	x9, _ucs_r_jis_table@GOTPAGE
Lloh25:
	ldr	x9, [x9, _ucs_r_jis_table@GOTPAGEOFF]
	b	LBB0_8
LBB0_5:
Lloh26:
	adrp	x9, _ucs_a1_jis_table@GOTPAGE
Lloh27:
	ldr	x9, [x9, _ucs_a1_jis_table@GOTPAGEOFF]
	b	LBB0_8
LBB0_6:
Lloh28:
	adrp	x9, _ucs_a2_jis_table@GOTPAGE
Lloh29:
	ldr	x9, [x9, _ucs_a2_jis_table@GOTPAGEOFF]
	b	LBB0_8
LBB0_7:
Lloh30:
	adrp	x9, _ucs_i_jis_table@GOTPAGE
Lloh31:
	ldr	x9, [x9, _ucs_i_jis_table@GOTPAGEOFF]
LBB0_8:
	ldr	x9, [x9]
	sub	w8, w19, w8
	ldr	w21, [x9, w8, sxtw #2]
	cmp	w21, #0
	b.le	LBB0_11
; %bb.9:
	sub	w8, w21, #128
	mov	w9, #32896
	cmp	w21, w9
	mov	w9, #8353
	ccmp	w8, w9, #0, ls
	b.hs	LBB0_17
LBB0_10:
	mov	x0, x19
	mov	x1, x20
	bl	_mbfl_filt_conv_illegal_output
	b	LBB0_45
LBB0_11:
	mov	w8, #65339
	cmp	w19, w8
	b.gt	LBB0_21
; %bb.12:
	mov	w8, #8253
	cmp	w19, w8
	b.le	LBB0_26
; %bb.13:
	mov	w8, #8254
	cmp	w19, w8
	b.eq	LBB0_32
; %bb.14:
	mov	w8, #8741
	cmp	w19, w8
	b.eq	LBB0_37
; %bb.15:
	mov	w8, #65293
	cmp	w19, w8
	b.ne	LBB0_10
; %bb.16:
	mov	w21, #8541
	b	LBB0_41
LBB0_17:
	cmp	w21, #127
	b.hi	LBB0_41
LBB0_18:
	ldrb	w8, [x20, #1]
	cbz	w8, LBB0_20
; %bb.19:
	ldr	x8, [x20, #8]
	ldr	w1, [x20, #4]
	mov	w0, #27
	blr	x8
	bl	_CK
	ldr	x8, [x20, #8]
	ldr	w1, [x20, #4]
	mov	w0, #40
	blr	x8
	bl	_CK
	ldr	x8, [x20, #8]
	ldr	w1, [x20, #4]
	mov	w0, #66
	blr	x8
	bl	_CK
LBB0_20:
	str	wzr, [x20]
	b	LBB0_36
LBB0_21:
	mov	w8, #65503
	cmp	w19, w8
	b.le	LBB0_29
; %bb.22:
	mov	w8, #65504
	cmp	w19, w8
	b.eq	LBB0_38
; %bb.23:
	mov	w8, #65505
	cmp	w19, w8
	b.eq	LBB0_39
; %bb.24:
	mov	w8, #65506
	cmp	w19, w8
	b.ne	LBB0_10
; %bb.25:
	mov	w21, #8780
	b	LBB0_41
LBB0_26:
	mov	x21, x19
	cbz	w19, LBB0_18
; %bb.27:
	cmp	w19, #165
	b.ne	LBB0_10
; %bb.28:
	mov	w21, #92
	b	LBB0_33
LBB0_29:
	mov	w8, #65340
	cmp	w19, w8
	b.eq	LBB0_40
; %bb.30:
	mov	w8, #65374
	cmp	w19, w8
	b.ne	LBB0_10
; %bb.31:
	mov	w21, #8513
	b	LBB0_41
LBB0_32:
	mov	w21, #126
LBB0_33:
	ldrb	w8, [x20, #1]
	lsl	w8, w8, #8
	cmp	w8, #1024
	b.eq	LBB0_35
; %bb.34:
	ldr	x8, [x20, #8]
	ldr	w1, [x20, #4]
	mov	w0, #27
	blr	x8
	bl	_CK
	ldr	x8, [x20, #8]
	ldr	w1, [x20, #4]
	mov	w0, #40
	blr	x8
	bl	_CK
	ldr	x8, [x20, #8]
	ldr	w1, [x20, #4]
	mov	w0, #74
	blr	x8
	bl	_CK
LBB0_35:
	mov	w8, #1024
	str	w8, [x20]
LBB0_36:
	ldr	x8, [x20, #8]
	ldr	w1, [x20, #4]
	mov	x0, x21
	b	LBB0_44
LBB0_37:
	mov	w21, #8514
	b	LBB0_41
LBB0_38:
	mov	w21, #8561
	b	LBB0_41
LBB0_39:
	mov	w21, #8562
	b	LBB0_41
LBB0_40:
	mov	w21, #8512
LBB0_41:
	ldrb	w8, [x20, #1]
	lsl	w8, w8, #8
	cmp	w8, #512
	b.eq	LBB0_43
; %bb.42:
	ldr	x8, [x20, #8]
	ldr	w1, [x20, #4]
	mov	w0, #27
	blr	x8
	bl	_CK
	ldr	x8, [x20, #8]
	ldr	w1, [x20, #4]
	mov	w0, #36
	blr	x8
	bl	_CK
	ldr	x8, [x20, #8]
	ldr	w1, [x20, #4]
	mov	w0, #66
	blr	x8
	bl	_CK
LBB0_43:
	mov	w8, #512
	str	w8, [x20]
	ldr	x8, [x20, #8]
	ubfx	w0, w21, #8, #7
	ldr	w1, [x20, #4]
	blr	x8
	bl	_CK
	ldr	x8, [x20, #8]
	and	w0, w21, #0x7f
	ldr	w1, [x20, #4]
LBB0_44:
	blr	x8
LBB0_45:
	bl	_CK
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.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
	.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
.subsections_via_symbols
