	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mbfl_filt_conv_2022kr_wchar    ## -- Begin function mbfl_filt_conv_2022kr_wchar
	.p2align	4, 0x90
_mbfl_filt_conv_2022kr_wchar:           ## @mbfl_filt_conv_2022kr_wchar
	.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, %rbx
	movl	%edi, %r14d
	leaq	LJTI0_0(%rip), %r15
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_37:                                ##   in Loop: Header=BB0_1 Depth=1
	movl	8(%rbx), %esi
	callq	*16(%rbx)
	movl	%eax, %edi
	callq	_CK
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rbx), %eax
	movl	%eax, %ecx
	andl	$15, %ecx
	cmpl	$4, %ecx
	ja	LBB0_43
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movslq	(%r15,%rcx,4), %rcx
	addq	%r15, %rcx
	jmpq	*%rcx
LBB0_34:                                ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$36, %r14d
	je	LBB0_35
## %bb.36:                              ##   in Loop: Header=BB0_1 Depth=1
	andl	$-16, %eax
	movl	%eax, (%rbx)
	movl	$27, %edi
	jmp	LBB0_37
	.p2align	4, 0x90
LBB0_38:                                ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$41, %r14d
	je	LBB0_35
## %bb.39:                              ##   in Loop: Header=BB0_1 Depth=1
	andl	$-16, %eax
	movl	%eax, (%rbx)
	movl	8(%rbx), %esi
	movl	$27, %edi
	callq	*16(%rbx)
	movl	%eax, %edi
	callq	_CK
	movl	$36, %edi
	jmp	LBB0_37
	.p2align	4, 0x90
LBB0_40:                                ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$67, %r14d
	je	LBB0_41
## %bb.42:                              ##   in Loop: Header=BB0_1 Depth=1
	andl	$-16, %eax
	movl	%eax, (%rbx)
	movl	8(%rbx), %esi
	movl	$27, %edi
	callq	*16(%rbx)
	movl	%eax, %edi
	callq	_CK
	movl	8(%rbx), %esi
	movl	$36, %edi
	callq	*16(%rbx)
	movl	%eax, %edi
	callq	_CK
	movl	$41, %edi
	jmp	LBB0_37
LBB0_43:
	movl	$0, (%rbx)
	jmp	LBB0_44
LBB0_3:
	cmpl	$14, %r14d
	je	LBB0_8
## %bb.4:
	cmpl	$15, %r14d
	je	LBB0_7
## %bb.5:
	cmpl	$27, %r14d
	jne	LBB0_9
## %bb.6:
	addl	$2, %eax
	movl	%eax, (%rbx)
	jmp	LBB0_44
LBB0_17:
	andl	$-16, %eax
	movl	%eax, (%rbx)
	movl	4(%rbx), %edi
	leal	-33(%rdi), %ecx
	cmpl	$37, %ecx
	ja	LBB0_21
## %bb.18:
	leal	-33(%r14), %ecx
	cmpl	$94, %ecx
	jae	LBB0_29
## %bb.19:
	imull	$190, %edi, %eax
	addl	%r14d, %eax
	addl	$-6207, %eax                    ## imm = 0xE7C1
	movq	_uhc2_ucs_table_size@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jge	LBB0_27
## %bb.20:
	movq	_uhc2_ucs_table@GOTPCREL(%rip), %rcx
	jmp	LBB0_26
LBB0_41:
	andl	$-272, %eax                     ## imm = 0xFEF0
	orl	$256, %eax                      ## imm = 0x100
	movl	%eax, (%rbx)
	jmp	LBB0_44
LBB0_21:
	leal	-33(%r14), %ecx
	cmpl	$93, %ecx
	ja	LBB0_29
## %bb.22:
	cmpl	$73, %edi
	je	LBB0_29
## %bb.23:
	leal	-71(%rdi), %ecx
	cmpl	$56, %ecx
	jae	LBB0_29
## %bb.24:
	imull	$94, %edi, %eax
	addl	%r14d, %eax
	addl	$-6707, %eax                    ## imm = 0xE5CD
	movq	_uhc3_ucs_table_size@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jge	LBB0_27
## %bb.25:
	movq	_uhc3_ucs_table@GOTPCREL(%rip), %rcx
LBB0_26:
	movq	(%rcx), %rcx
	movl	%eax, %eax
	movl	(%rcx,%rax,4), %eax
	testl	%eax, %eax
	jg	LBB0_28
LBB0_27:
	shll	$8, %edi
	orl	%r14d, %edi
	movq	_MBFL_WCSPLANE_MASK@GOTPCREL(%rip), %rax
	andl	(%rax), %edi
	movq	_MBFL_WCSPLANE_KSC5601@GOTPCREL(%rip), %rax
	orl	(%rax), %edi
	movl	%edi, %eax
LBB0_28:
	movl	8(%rbx), %esi
	movl	%eax, %edi
	jmp	LBB0_15
LBB0_29:
	cmpl	$27, %r14d
	jne	LBB0_31
## %bb.30:
	orl	$1, %eax
	movl	%eax, (%rbx)
	jmp	LBB0_44
LBB0_7:
	andl	$-256, %eax
	movl	%eax, (%rbx)
	jmp	LBB0_44
LBB0_8:
	orl	$16, %eax
	movl	%eax, (%rbx)
	jmp	LBB0_44
LBB0_9:
	movl	%eax, %ecx
	andl	$16, %ecx
	leal	-33(%r14), %edx
	cmpl	$93, %edx
	ja	LBB0_12
## %bb.10:
	testl	%ecx, %ecx
	je	LBB0_12
## %bb.11:
	movl	%r14d, 4(%rbx)
LBB0_35:
	incl	%eax
	movl	%eax, (%rbx)
	jmp	LBB0_44
LBB0_31:
	cmpl	$33, %r14d
	jb	LBB0_14
## %bb.32:
	cmpl	$127, %r14d
	je	LBB0_14
## %bb.33:
	shll	$8, %edi
	orl	%r14d, %edi
	movq	_MBFL_WCSGROUP_MASK@GOTPCREL(%rip), %rax
	andl	(%rax), %edi
	movq	_MBFL_WCSGROUP_THROUGH@GOTPCREL(%rip), %rax
	orl	(%rax), %edi
	movl	8(%rbx), %esi
                                        ## kill: def $edi killed $edi killed $rdi
	jmp	LBB0_15
LBB0_12:
	cmpl	$127, %r14d
	ja	LBB0_16
## %bb.13:
	testl	%ecx, %ecx
	jne	LBB0_16
LBB0_14:
	movl	8(%rbx), %esi
	movl	%r14d, %edi
	jmp	LBB0_15
LBB0_16:
	movq	_MBFL_WCSGROUP_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	andl	%r14d, %edi
	movq	_MBFL_WCSGROUP_THROUGH@GOTPCREL(%rip), %rax
	orl	(%rax), %edi
	movl	8(%rbx), %esi
LBB0_15:
	callq	*16(%rbx)
	movl	%eax, %edi
	callq	_CK
LBB0_44:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
.set L0_0_set_34, LBB0_34-LJTI0_0
.set L0_0_set_38, LBB0_38-LJTI0_0
.set L0_0_set_40, LBB0_40-LJTI0_0
LJTI0_0:
	.long	L0_0_set_3
	.long	L0_0_set_17
	.long	L0_0_set_34
	.long	L0_0_set_38
	.long	L0_0_set_40
	.end_data_region
                                        ## -- End function
	.comm	_MBFL_WCSGROUP_MASK,4,2         ## @MBFL_WCSGROUP_MASK
	.comm	_MBFL_WCSGROUP_THROUGH,4,2      ## @MBFL_WCSGROUP_THROUGH
	.comm	_uhc2_ucs_table_size,4,2        ## @uhc2_ucs_table_size
	.comm	_uhc2_ucs_table,8,3             ## @uhc2_ucs_table
	.comm	_uhc3_ucs_table_size,4,2        ## @uhc3_ucs_table_size
	.comm	_uhc3_ucs_table,8,3             ## @uhc3_ucs_table
	.comm	_MBFL_WCSPLANE_MASK,4,2         ## @MBFL_WCSPLANE_MASK
	.comm	_MBFL_WCSPLANE_KSC5601,4,2      ## @MBFL_WCSPLANE_KSC5601
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mbfl_filt_conv_2022kr_wchar    ; -- Begin function mbfl_filt_conv_2022kr_wchar
	.p2align	2
_mbfl_filt_conv_2022kr_wchar:           ; @mbfl_filt_conv_2022kr_wchar
	.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	x21, lJTI0_0@PAGE
Lloh1:
	add	x21, x21, lJTI0_0@PAGEOFF
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x20, #16]
	ldr	w1, [x20, #8]
	blr	x8
	bl	_CK
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x20]
	and	x9, x8, #0xf
	cmp	w9, #4
	b.hi	LBB0_11
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	adr	x10, LBB0_4
	ldrb	w11, [x21, x9]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_4:                                 ;   in Loop: Header=BB0_2 Depth=1
	cmp	w19, #36
	b.eq	LBB0_10
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	and	w8, w8, #0xfffffff0
	str	w8, [x20]
	mov	w0, #27
	b	LBB0_1
LBB0_6:                                 ;   in Loop: Header=BB0_2 Depth=1
	cmp	w19, #41
	b.eq	LBB0_10
; %bb.7:                                ;   in Loop: Header=BB0_2 Depth=1
	and	w8, w8, #0xfffffff0
	str	w8, [x20]
	ldr	x8, [x20, #16]
	ldr	w1, [x20, #8]
	mov	w0, #27
	blr	x8
	bl	_CK
	mov	w0, #36
	b	LBB0_1
LBB0_8:                                 ;   in Loop: Header=BB0_2 Depth=1
	and	w8, w8, #0xfffffff0
	cmp	w19, #67
	b.eq	LBB0_20
; %bb.9:                                ;   in Loop: Header=BB0_2 Depth=1
	str	w8, [x20]
	ldr	x8, [x20, #16]
	ldr	w1, [x20, #8]
	mov	w0, #27
	blr	x8
	bl	_CK
	ldr	x8, [x20, #16]
	ldr	w1, [x20, #8]
	mov	w0, #36
	blr	x8
	bl	_CK
	mov	w0, #41
	b	LBB0_1
LBB0_10:
	add	w8, w8, #1
	str	w8, [x20]
	b	LBB0_46
LBB0_11:
	str	wzr, [x20]
	b	LBB0_46
LBB0_12:
	cmp	w19, #14
	b.eq	LBB0_31
; %bb.13:
	cmp	w19, #15
	b.eq	LBB0_30
; %bb.14:
	cmp	w19, #27
	b.ne	LBB0_32
; %bb.15:
	add	w8, w8, #2
	str	w8, [x20]
	b	LBB0_46
LBB0_16:
	and	w9, w8, #0xfffffff0
	str	w9, [x20]
	ldr	w8, [x20, #4]
	sub	w10, w8, #33
	cmp	w10, #37
	b.hi	LBB0_21
; %bb.17:
	sub	w10, w19, #33
	cmp	w10, #94
	b.hs	LBB0_28
; %bb.18:
	mov	w9, #190
	madd	w9, w8, w9, w19
	mov	w10, #-6207
Lloh2:
	adrp	x11, _uhc2_ucs_table_size@GOTPAGE
Lloh3:
	ldr	x11, [x11, _uhc2_ucs_table_size@GOTPAGEOFF]
Lloh4:
	ldr	w11, [x11]
	add	w9, w9, w10
	cmp	w9, w11
	b.ge	LBB0_27
; %bb.19:
Lloh5:
	adrp	x10, _uhc2_ucs_table@GOTPAGE
Lloh6:
	ldr	x10, [x10, _uhc2_ucs_table@GOTPAGEOFF]
	b	LBB0_26
LBB0_20:
	orr	w8, w8, #0x100
	str	w8, [x20]
	b	LBB0_46
LBB0_21:
	sub	w10, w19, #33
	cmp	w10, #93
	b.hi	LBB0_28
; %bb.22:
	cmp	w8, #73
	b.eq	LBB0_28
; %bb.23:
	sub	w10, w8, #71
	cmp	w10, #56
	b.hs	LBB0_28
; %bb.24:
	mov	w9, #94
	madd	w9, w8, w9, w19
	mov	w10, #-6707
Lloh7:
	adrp	x11, _uhc3_ucs_table_size@GOTPAGE
Lloh8:
	ldr	x11, [x11, _uhc3_ucs_table_size@GOTPAGEOFF]
Lloh9:
	ldr	w11, [x11]
	add	w9, w9, w10
	cmp	w9, w11
	b.ge	LBB0_27
; %bb.25:
Lloh10:
	adrp	x10, _uhc3_ucs_table@GOTPAGE
Lloh11:
	ldr	x10, [x10, _uhc3_ucs_table@GOTPAGEOFF]
LBB0_26:
	ldr	x10, [x10]
	ldr	w0, [x10, w9, uxtw #2]
	cmp	w0, #0
	b.gt	LBB0_44
LBB0_27:
	orr	w8, w19, w8, lsl #8
Lloh12:
	adrp	x9, _MBFL_WCSPLANE_MASK@GOTPAGE
Lloh13:
	ldr	x9, [x9, _MBFL_WCSPLANE_MASK@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	and	w8, w9, w8
Lloh15:
	adrp	x9, _MBFL_WCSPLANE_KSC5601@GOTPAGE
Lloh16:
	ldr	x9, [x9, _MBFL_WCSPLANE_KSC5601@GOTPAGEOFF]
	b	LBB0_43
LBB0_28:
	cmp	w19, #27
	b.ne	LBB0_35
; %bb.29:
	orr	w8, w9, #0x1
	str	w8, [x20]
	b	LBB0_46
LBB0_30:
	and	w8, w8, #0xffffff00
	str	w8, [x20]
	b	LBB0_46
LBB0_31:
	orr	w8, w8, #0x10
	str	w8, [x20]
	b	LBB0_46
LBB0_32:
	and	w9, w8, #0x10
	sub	w10, w19, #33
	cmp	w10, #93
	b.hi	LBB0_38
; %bb.33:
	cbz	w9, LBB0_38
; %bb.34:
	add	w8, w8, #1
	stp	w8, w19, [x20]
	b	LBB0_46
LBB0_35:
	cmp	w19, #33
	b.lo	LBB0_40
; %bb.36:
	cmp	w19, #127
	b.eq	LBB0_40
; %bb.37:
	orr	w8, w19, w8, lsl #8
Lloh17:
	adrp	x9, _MBFL_WCSGROUP_MASK@GOTPAGE
Lloh18:
	ldr	x9, [x9, _MBFL_WCSGROUP_MASK@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	and	w8, w9, w8
	b	LBB0_42
LBB0_38:
	cmp	w19, #127
	b.hi	LBB0_41
; %bb.39:
	cbnz	w9, LBB0_41
LBB0_40:
	ldr	x8, [x20, #16]
	ldr	w1, [x20, #8]
	mov	x0, x19
	b	LBB0_45
LBB0_41:
Lloh20:
	adrp	x8, _MBFL_WCSGROUP_MASK@GOTPAGE
Lloh21:
	ldr	x8, [x8, _MBFL_WCSGROUP_MASK@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	and	w8, w8, w19
LBB0_42:
Lloh23:
	adrp	x9, _MBFL_WCSGROUP_THROUGH@GOTPAGE
Lloh24:
	ldr	x9, [x9, _MBFL_WCSGROUP_THROUGH@GOTPAGEOFF]
LBB0_43:
	ldr	w9, [x9]
	orr	w0, w8, w9
LBB0_44:
	ldr	x8, [x20, #16]
	ldr	w1, [x20, #8]
LBB0_45:
	blr	x8
	bl	_CK
LBB0_46:
	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 AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh23, Lloh24
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_12-LBB0_4)>>2
	.byte	(LBB0_16-LBB0_4)>>2
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_6-LBB0_4)>>2
	.byte	(LBB0_8-LBB0_4)>>2
                                        ; -- End function
	.comm	_MBFL_WCSGROUP_MASK,4,2         ; @MBFL_WCSGROUP_MASK
	.comm	_MBFL_WCSGROUP_THROUGH,4,2      ; @MBFL_WCSGROUP_THROUGH
	.comm	_uhc2_ucs_table_size,4,2        ; @uhc2_ucs_table_size
	.comm	_uhc2_ucs_table,8,3             ; @uhc2_ucs_table
	.comm	_uhc3_ucs_table_size,4,2        ; @uhc3_ucs_table_size
	.comm	_uhc3_ucs_table,8,3             ; @uhc3_ucs_table
	.comm	_MBFL_WCSPLANE_MASK,4,2         ; @MBFL_WCSPLANE_MASK
	.comm	_MBFL_WCSPLANE_KSC5601,4,2      ; @MBFL_WCSPLANE_KSC5601
.subsections_via_symbols
