	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mbfl_filt_conv_hz_wchar        ## -- Begin function mbfl_filt_conv_hz_wchar
	.p2align	4, 0x90
_mbfl_filt_conv_hz_wchar:               ## @mbfl_filt_conv_hz_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
	movl	%eax, %edx
	andl	$15, %edx
	cmpl	$2, %edx
	je	LBB0_21
## %bb.1:
	cmpl	$1, %edx
	je	LBB0_12
## %bb.2:
	testl	%edx, %edx
	jne	LBB0_24
## %bb.3:
	cmpl	$126, %ebx
	jne	LBB0_5
## %bb.4:
	addl	$2, %eax
	movl	%eax, (%rcx)
	jmp	LBB0_26
LBB0_21:
	cmpl	$123, %ebx
	je	LBB0_25
## %bb.22:
	cmpl	$126, %ebx
	je	LBB0_27
## %bb.23:
	cmpl	$125, %ebx
	jne	LBB0_26
LBB0_24:
	movl	$0, (%rcx)
	jmp	LBB0_26
LBB0_12:
	andl	$-16, %eax
	movl	%eax, (%rcx)
	movl	4(%rcx), %edi
	leal	-33(%rbx), %eax
	cmpl	$93, %eax
	ja	LBB0_18
## %bb.13:
	leal	-33(%rdi), %eax
	cmpl	$93, %eax
	ja	LBB0_18
## %bb.14:
	leal	(%rdi,%rdi,2), %eax
	shll	$6, %eax
	addl	%ebx, %eax
	addl	$-128, %eax
	movq	_cp936_ucs_table_size@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %eax
	jge	LBB0_16
## %bb.15:
	movq	_cp936_ucs_table@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movl	%eax, %eax
	movl	(%rdx,%rax,4), %eax
	testl	%eax, %eax
	jg	LBB0_17
LBB0_16:
	shll	$8, %edi
	orl	%ebx, %edi
	movq	_MBFL_WCSPLANE_MASK@GOTPCREL(%rip), %rax
	andl	(%rax), %edi
	movq	_MBFL_WCSPLANE_GB2312@GOTPCREL(%rip), %rax
	orl	(%rax), %edi
	movl	%edi, %eax
LBB0_17:
	movl	8(%rcx), %esi
	movl	%eax, %edi
	jmp	LBB0_10
LBB0_18:
	cmpl	$33, %ebx
	jb	LBB0_9
## %bb.19:
	cmpl	$127, %ebx
	je	LBB0_9
## %bb.20:
	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_10
LBB0_5:
	leal	-33(%rbx), %edx
	cmpl	$93, %edx
	ja	LBB0_8
## %bb.6:
	cmpl	$16, %eax
	jne	LBB0_8
## %bb.7:
	movl	%ebx, 4(%rcx)
	movl	$17, (%rcx)
	jmp	LBB0_26
LBB0_25:
	movl	$16, (%rcx)
	jmp	LBB0_26
LBB0_27:
	movl	$0, (%rcx)
	movl	8(%rcx), %esi
	movl	$126, %edi
	jmp	LBB0_10
LBB0_8:
	cmpl	$127, %ebx
	ja	LBB0_11
LBB0_9:
	movl	8(%rcx), %esi
	movl	%ebx, %edi
	jmp	LBB0_10
LBB0_11:
	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
LBB0_10:
	callq	*16(%rcx)
	movl	%eax, %edi
	callq	_CK
LBB0_26:
	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	_cp936_ucs_table_size,4,2       ## @cp936_ucs_table_size
	.comm	_cp936_ucs_table,8,3            ## @cp936_ucs_table
	.comm	_MBFL_WCSPLANE_MASK,4,2         ## @MBFL_WCSPLANE_MASK
	.comm	_MBFL_WCSPLANE_GB2312,4,2       ## @MBFL_WCSPLANE_GB2312
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mbfl_filt_conv_hz_wchar        ; -- Begin function mbfl_filt_conv_hz_wchar
	.p2align	2
_mbfl_filt_conv_hz_wchar:               ; @mbfl_filt_conv_hz_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]
	and	w9, w8, #0xf
	cmp	w9, #2
	b.eq	LBB0_5
; %bb.1:
	cmp	w9, #1
	b.eq	LBB0_9
; %bb.2:
	cbnz	w9, LBB0_8
; %bb.3:
	cmp	w19, #126
	b.ne	LBB0_17
; %bb.4:
	add	w8, w8, #2
	b	LBB0_21
LBB0_5:
	cmp	w19, #123
	b.eq	LBB0_20
; %bb.6:
	cmp	w19, #126
	b.eq	LBB0_22
; %bb.7:
	cmp	w19, #125
	b.ne	LBB0_30
LBB0_8:
	str	wzr, [x1]
	b	LBB0_30
LBB0_9:
	and	w8, w8, #0xfffffff0
	str	w8, [x1]
	ldr	w8, [x1, #4]
	sub	w9, w19, #33
	cmp	w9, #93
	b.hi	LBB0_14
; %bb.10:
	sub	w9, w8, #33
	cmp	w9, #93
	b.hi	LBB0_14
; %bb.11:
	mov	w9, #192
	madd	w9, w8, w9, w19
	sub	w9, w9, #128
Lloh0:
	adrp	x10, _cp936_ucs_table_size@GOTPAGE
Lloh1:
	ldr	x10, [x10, _cp936_ucs_table_size@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x10]
	cmp	w9, w10
	b.ge	LBB0_13
; %bb.12:
Lloh3:
	adrp	x10, _cp936_ucs_table@GOTPAGE
Lloh4:
	ldr	x10, [x10, _cp936_ucs_table@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	ldr	w0, [x10, w9, uxtw #2]
	cmp	w0, #0
	b.gt	LBB0_28
LBB0_13:
	orr	w8, w19, w8, lsl #8
Lloh6:
	adrp	x9, _MBFL_WCSPLANE_MASK@GOTPAGE
Lloh7:
	ldr	x9, [x9, _MBFL_WCSPLANE_MASK@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	and	w8, w9, w8
Lloh9:
	adrp	x9, _MBFL_WCSPLANE_GB2312@GOTPAGE
Lloh10:
	ldr	x9, [x9, _MBFL_WCSPLANE_GB2312@GOTPAGEOFF]
	b	LBB0_27
LBB0_14:
	cmp	w19, #33
	b.lo	LBB0_24
; %bb.15:
	cmp	w19, #127
	b.eq	LBB0_24
; %bb.16:
	orr	w8, w19, w8, lsl #8
Lloh11:
	adrp	x9, _MBFL_WCSGROUP_MASK@GOTPAGE
Lloh12:
	ldr	x9, [x9, _MBFL_WCSGROUP_MASK@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	and	w8, w9, w8
	b	LBB0_26
LBB0_17:
	sub	w9, w19, #33
	cmp	w9, #93
	b.hi	LBB0_23
; %bb.18:
	cmp	w8, #16
	b.ne	LBB0_23
; %bb.19:
	mov	w8, #17
	str	w19, [x1, #4]
	b	LBB0_21
LBB0_20:
	mov	w8, #16
LBB0_21:
	str	w8, [x1]
	b	LBB0_30
LBB0_22:
	str	wzr, [x1]
	ldr	x8, [x1, #16]
	ldr	w1, [x1, #8]
	mov	w0, #126
	b	LBB0_29
LBB0_23:
	cmp	w19, #127
	b.hi	LBB0_25
LBB0_24:
	ldr	x8, [x1, #16]
	ldr	w1, [x1, #8]
	mov	x0, x19
	b	LBB0_29
LBB0_25:
Lloh14:
	adrp	x8, _MBFL_WCSGROUP_MASK@GOTPAGE
Lloh15:
	ldr	x8, [x8, _MBFL_WCSGROUP_MASK@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	and	w8, w8, w19
LBB0_26:
Lloh17:
	adrp	x9, _MBFL_WCSGROUP_THROUGH@GOTPAGE
Lloh18:
	ldr	x9, [x9, _MBFL_WCSGROUP_THROUGH@GOTPAGEOFF]
LBB0_27:
	ldr	w9, [x9]
	orr	w0, w8, w9
LBB0_28:
	ldr	x8, [x1, #16]
	ldr	w1, [x1, #8]
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 AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_MBFL_WCSGROUP_MASK,4,2         ; @MBFL_WCSGROUP_MASK
	.comm	_MBFL_WCSGROUP_THROUGH,4,2      ; @MBFL_WCSGROUP_THROUGH
	.comm	_cp936_ucs_table_size,4,2       ; @cp936_ucs_table_size
	.comm	_cp936_ucs_table,8,3            ; @cp936_ucs_table
	.comm	_MBFL_WCSPLANE_MASK,4,2         ; @MBFL_WCSPLANE_MASK
	.comm	_MBFL_WCSPLANE_GB2312,4,2       ; @MBFL_WCSPLANE_GB2312
.subsections_via_symbols
