	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mbfl_filt_conv_uhc_wchar       ## -- Begin function mbfl_filt_conv_uhc_wchar
	.p2align	4, 0x90
_mbfl_filt_conv_uhc_wchar:              ## @mbfl_filt_conv_uhc_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rsi, %rcx
	movl	%edi, %ebx
	movl	(%rsi), %eax
	cmpl	$1, %eax
	je	LBB0_9
## %bb.1:
	testl	%eax, %eax
	jne	LBB0_27
## %bb.2:
	cmpl	$127, %ebx
	jbe	LBB0_3
## %bb.5:
	cmpl	$201, %ebx
	je	LBB0_8
## %bb.6:
	leal	-129(%rbx), %eax
	cmpl	$125, %eax
	ja	LBB0_8
## %bb.7:
	movl	$1, (%rcx)
	movl	%ebx, 4(%rcx)
	jmp	LBB0_28
LBB0_9:
	movl	$0, (%rcx)
	movl	4(%rcx), %edi
	leal	-129(%rdi), %eax
	cmpl	$31, %eax
	ja	LBB0_13
## %bb.10:
	imull	$190, %edi, %eax
	addl	%ebx, %eax
	addl	$-24575, %eax                   ## imm = 0xA001
	js	LBB0_24
## %bb.11:
	movq	_uhc1_ucs_table_size@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %eax
	jge	LBB0_24
## %bb.12:
	movq	_uhc1_ucs_table@GOTPCREL(%rip), %rdx
	jmp	LBB0_21
LBB0_27:
	movl	$0, (%rcx)
	jmp	LBB0_28
LBB0_13:
	leal	-161(%rdi), %eax
	cmpl	$37, %eax
	ja	LBB0_17
## %bb.14:
	imull	$190, %edi, %eax
	addl	%ebx, %eax
	addl	$-30655, %eax                   ## imm = 0x8841
	js	LBB0_24
## %bb.15:
	movq	_uhc2_ucs_table_size@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %eax
	jge	LBB0_24
## %bb.16:
	movq	_uhc2_ucs_table@GOTPCREL(%rip), %rdx
	jmp	LBB0_21
LBB0_8:
	movq	_MBFL_WCSGROUP_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	andl	%ebx, %edi
	movq	_MBFL_WCSGROUP_THROUGH@GOTPCREL(%rip), %rax
	orl	(%rax), %edi
	movl	8(%rcx), %esi
	jmp	LBB0_4
LBB0_17:
	leal	-199(%rdi), %eax
	cmpl	$55, %eax
	ja	LBB0_24
## %bb.18:
	imull	$94, %edi, %eax
	addl	%ebx, %eax
	addl	$-18867, %eax                   ## imm = 0xB64D
	js	LBB0_24
## %bb.19:
	movq	_uhc3_ucs_table_size@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %eax
	jge	LBB0_24
## %bb.20:
	movq	_uhc3_ucs_table@GOTPCREL(%rip), %rdx
LBB0_21:
	movq	(%rdx), %rdx
	movl	%eax, %eax
	movl	(%rdx,%rax,4), %eax
	testl	%eax, %eax
	jg	LBB0_23
## %bb.22:
	shll	$8, %edi
	orl	%ebx, %edi
	movq	_MBFL_WCSPLANE_MASK@GOTPCREL(%rip), %rax
	andl	(%rax), %edi
	movq	_MBFL_WCSPLANE_UHC@GOTPCREL(%rip), %rax
	orl	(%rax), %edi
	movl	%edi, %eax
LBB0_23:
	movl	8(%rcx), %esi
	movl	%eax, %edi
	jmp	LBB0_4
LBB0_24:
	cmpl	$33, %ebx
	jb	LBB0_3
## %bb.25:
	cmpl	$127, %ebx
	je	LBB0_3
## %bb.26:
	shll	$8, %edi
	orl	%ebx, %edi
	movq	_MBFL_WCSGROUP_MASK@GOTPCREL(%rip), %rax
	andl	(%rax), %edi
	movq	_MBFL_WCSGROUP_THROUGH@GOTPCREL(%rip), %rax
	orl	(%rax), %edi
	movl	8(%rcx), %esi
                                        ## kill: def $edi killed $edi killed $rdi
	jmp	LBB0_4
LBB0_3:
	movl	8(%rcx), %esi
	movl	%ebx, %edi
LBB0_4:
	callq	*16(%rcx)
	movl	%eax, %edi
	callq	_CK
LBB0_28:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MBFL_WCSGROUP_MASK,4,2         ## @MBFL_WCSGROUP_MASK
	.comm	_MBFL_WCSGROUP_THROUGH,4,2      ## @MBFL_WCSGROUP_THROUGH
	.comm	_uhc1_ucs_table_size,4,2        ## @uhc1_ucs_table_size
	.comm	_uhc1_ucs_table,8,3             ## @uhc1_ucs_table
	.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_UHC,4,2          ## @MBFL_WCSPLANE_UHC
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mbfl_filt_conv_uhc_wchar       ; -- Begin function mbfl_filt_conv_uhc_wchar
	.p2align	2
_mbfl_filt_conv_uhc_wchar:              ; @mbfl_filt_conv_uhc_wchar
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	w8, [x1]
	cmp	w8, #1
	b.eq	LBB0_6
; %bb.1:
	cbnz	w8, LBB0_10
; %bb.2:
	cmp	w19, #127
	b.ls	LBB0_28
; %bb.3:
	cmp	w19, #201
	b.eq	LBB0_15
; %bb.4:
	sub	w8, w19, #129
	cmp	w8, #125
	b.hi	LBB0_15
; %bb.5:
	mov	w8, #1
	stp	w8, w19, [x1]
	b	LBB0_30
LBB0_6:
	str	wzr, [x1]
	ldr	w8, [x1, #4]
	sub	w9, w8, #129
	cmp	w9, #31
	b.hi	LBB0_11
; %bb.7:
	mov	w9, #190
	madd	w9, w8, w9, w19
	mov	w10, #-24575
	adds	w9, w9, w10
	b.mi	LBB0_22
; %bb.8:
Lloh0:
	adrp	x10, _uhc1_ucs_table_size@GOTPAGE
Lloh1:
	ldr	x10, [x10, _uhc1_ucs_table_size@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x10]
	cmp	w9, w10
	b.ge	LBB0_22
; %bb.9:
Lloh3:
	adrp	x10, _uhc1_ucs_table@GOTPAGE
Lloh4:
	ldr	x10, [x10, _uhc1_ucs_table@GOTPAGEOFF]
	b	LBB0_20
LBB0_10:
	str	wzr, [x1]
	b	LBB0_30
LBB0_11:
	sub	w9, w8, #161
	cmp	w9, #37
	b.hi	LBB0_16
; %bb.12:
	mov	w9, #190
	madd	w9, w8, w9, w19
	mov	w10, #-30655
	adds	w9, w9, w10
	b.mi	LBB0_22
; %bb.13:
Lloh5:
	adrp	x10, _uhc2_ucs_table_size@GOTPAGE
Lloh6:
	ldr	x10, [x10, _uhc2_ucs_table_size@GOTPAGEOFF]
Lloh7:
	ldr	w10, [x10]
	cmp	w9, w10
	b.ge	LBB0_22
; %bb.14:
Lloh8:
	adrp	x10, _uhc2_ucs_table@GOTPAGE
Lloh9:
	ldr	x10, [x10, _uhc2_ucs_table@GOTPAGEOFF]
	b	LBB0_20
LBB0_15:
Lloh10:
	adrp	x8, _MBFL_WCSGROUP_MASK@GOTPAGE
Lloh11:
	ldr	x8, [x8, _MBFL_WCSGROUP_MASK@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	and	w8, w8, w19
	b	LBB0_25
LBB0_16:
	sub	w9, w8, #199
	cmp	w9, #55
	b.hi	LBB0_22
; %bb.17:
	mov	w9, #94
	madd	w9, w8, w9, w19
	mov	w10, #-18867
	adds	w9, w9, w10
	b.mi	LBB0_22
; %bb.18:
Lloh13:
	adrp	x10, _uhc3_ucs_table_size@GOTPAGE
Lloh14:
	ldr	x10, [x10, _uhc3_ucs_table_size@GOTPAGEOFF]
Lloh15:
	ldr	w10, [x10]
	cmp	w9, w10
	b.ge	LBB0_22
; %bb.19:
Lloh16:
	adrp	x10, _uhc3_ucs_table@GOTPAGE
Lloh17:
	ldr	x10, [x10, _uhc3_ucs_table@GOTPAGEOFF]
LBB0_20:
	ldr	x10, [x10]
	ldr	w0, [x10, w9, uxtw #2]
	cmp	w0, #0
	b.gt	LBB0_27
; %bb.21:
	orr	w8, w19, w8, lsl #8
Lloh18:
	adrp	x9, _MBFL_WCSPLANE_MASK@GOTPAGE
Lloh19:
	ldr	x9, [x9, _MBFL_WCSPLANE_MASK@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	and	w8, w9, w8
Lloh21:
	adrp	x9, _MBFL_WCSPLANE_UHC@GOTPAGE
Lloh22:
	ldr	x9, [x9, _MBFL_WCSPLANE_UHC@GOTPAGEOFF]
	b	LBB0_26
LBB0_22:
	cmp	w19, #33
	b.lo	LBB0_28
; %bb.23:
	cmp	w19, #127
	b.eq	LBB0_28
; %bb.24:
	orr	w8, w19, w8, lsl #8
Lloh23:
	adrp	x9, _MBFL_WCSGROUP_MASK@GOTPAGE
Lloh24:
	ldr	x9, [x9, _MBFL_WCSGROUP_MASK@GOTPAGEOFF]
Lloh25:
	ldr	w9, [x9]
	and	w8, w9, w8
LBB0_25:
Lloh26:
	adrp	x9, _MBFL_WCSGROUP_THROUGH@GOTPAGE
Lloh27:
	ldr	x9, [x9, _MBFL_WCSGROUP_THROUGH@GOTPAGEOFF]
LBB0_26:
	ldr	w9, [x9]
	orr	w0, w8, w9
LBB0_27:
	ldr	x8, [x1, #16]
	ldr	w1, [x1, #8]
	b	LBB0_29
LBB0_28:
	ldr	x8, [x1, #16]
	ldr	w1, [x1, #8]
	mov	x0, x19
LBB0_29:
	blr	x8
	bl	_CK
LBB0_30:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.comm	_MBFL_WCSGROUP_MASK,4,2         ; @MBFL_WCSGROUP_MASK
	.comm	_MBFL_WCSGROUP_THROUGH,4,2      ; @MBFL_WCSGROUP_THROUGH
	.comm	_uhc1_ucs_table_size,4,2        ; @uhc1_ucs_table_size
	.comm	_uhc1_ucs_table,8,3             ; @uhc1_ucs_table
	.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_UHC,4,2          ; @MBFL_WCSPLANE_UHC
.subsections_via_symbols
