	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mbfl_filt_conv_euccn_wchar     ## -- Begin function mbfl_filt_conv_euccn_wchar
	.p2align	4, 0x90
_mbfl_filt_conv_euccn_wchar:            ## @mbfl_filt_conv_euccn_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_8
## %bb.1:
	testl	%eax, %eax
	jne	LBB0_17
## %bb.2:
	cmpl	$127, %ebx
	jbe	LBB0_3
## %bb.5:
	leal	-161(%rbx), %eax
	cmpl	$93, %eax
	ja	LBB0_7
## %bb.6:
	movl	$1, (%rcx)
	movl	%ebx, 4(%rcx)
	jmp	LBB0_18
LBB0_8:
	movl	$0, (%rcx)
	movl	4(%rcx), %edi
	leal	-161(%rbx), %eax
	cmpl	$93, %eax
	ja	LBB0_14
## %bb.9:
	leal	-161(%rdi), %eax
	cmpl	$93, %eax
	ja	LBB0_14
## %bb.10:
	leal	(%rdi,%rdi,2), %eax
	shll	$6, %eax
	addl	%ebx, %eax
	addl	$-24832, %eax                   ## imm = 0x9F00
	movq	_cp936_ucs_table_size@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %eax
	jge	LBB0_12
## %bb.11:
	movq	_cp936_ucs_table@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movl	%eax, %eax
	movl	(%rdx,%rax,4), %eax
	testl	%eax, %eax
	jg	LBB0_13
LBB0_12:
	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_13:
	movl	8(%rcx), %esi
	movl	%eax, %edi
	jmp	LBB0_4
LBB0_17:
	movl	$0, (%rcx)
	jmp	LBB0_18
LBB0_14:
	cmpl	$33, %ebx
	jb	LBB0_3
## %bb.15:
	cmpl	$127, %ebx
	je	LBB0_3
## %bb.16:
	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
	jmp	LBB0_4
LBB0_7:
	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_4:
	callq	*16(%rcx)
	movl	%eax, %edi
	callq	_CK
LBB0_18:
	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_euccn_wchar     ; -- Begin function mbfl_filt_conv_euccn_wchar
	.p2align	2
_mbfl_filt_conv_euccn_wchar:            ; @mbfl_filt_conv_euccn_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_5
; %bb.1:
	cbnz	w8, LBB0_10
; %bb.2:
	cmp	w19, #127
	b.ls	LBB0_14
; %bb.3:
	sub	w8, w19, #161
	cmp	w8, #93
	b.hi	LBB0_15
; %bb.4:
	mov	w8, #1
	stp	w8, w19, [x1]
	b	LBB0_20
LBB0_5:
	str	wzr, [x1]
	ldr	w8, [x1, #4]
	sub	w9, w19, #161
	cmp	w9, #93
	b.hi	LBB0_11
; %bb.6:
	sub	w9, w8, #161
	cmp	w9, #93
	b.hi	LBB0_11
; %bb.7:
	mov	w9, #192
	madd	w9, w8, w9, w19
	mov	w10, #-24832
Lloh0:
	adrp	x11, _cp936_ucs_table_size@GOTPAGE
Lloh1:
	ldr	x11, [x11, _cp936_ucs_table_size@GOTPAGEOFF]
Lloh2:
	ldr	w11, [x11]
	add	w9, w9, w10
	cmp	w9, w11
	b.ge	LBB0_9
; %bb.8:
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_18
LBB0_9:
	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_17
LBB0_10:
	str	wzr, [x1]
	b	LBB0_20
LBB0_11:
	cmp	w19, #33
	b.lo	LBB0_14
; %bb.12:
	cmp	w19, #127
	b.eq	LBB0_14
; %bb.13:
	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_16
LBB0_14:
	ldr	x8, [x1, #16]
	ldr	w1, [x1, #8]
	mov	x0, x19
	b	LBB0_19
LBB0_15:
Lloh14:
	adrp	x8, _MBFL_WCSGROUP_MASK@GOTPAGE
Lloh15:
	ldr	x8, [x8, _MBFL_WCSGROUP_MASK@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	and	w8, w8, w19
LBB0_16:
Lloh17:
	adrp	x9, _MBFL_WCSGROUP_THROUGH@GOTPAGE
Lloh18:
	ldr	x9, [x9, _MBFL_WCSGROUP_THROUGH@GOTPAGEOFF]
LBB0_17:
	ldr	w9, [x9]
	orr	w0, w8, w9
LBB0_18:
	ldr	x8, [x1, #16]
	ldr	w1, [x1, #8]
LBB0_19:
	blr	x8
	bl	_CK
LBB0_20:
	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
