	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mbfl_filt_conv_wchar_euccn     ## -- Begin function mbfl_filt_conv_wchar_euccn
	.p2align	4, 0x90
_mbfl_filt_conv_wchar_euccn:            ## @mbfl_filt_conv_wchar_euccn
	.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_cp936_table_min@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%edi, %eax
	jg	LBB0_3
## %bb.1:
	movq	_ucs_a1_cp936_table_max@GOTPCREL(%rip), %rcx
	cmpl	%r15d, (%rcx)
	jle	LBB0_3
## %bb.2:
	movq	_ucs_a1_cp936_table@GOTPCREL(%rip), %rcx
	jmp	LBB0_12
LBB0_3:
	movq	_ucs_a2_cp936_table_min@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%r15d, %eax
	jg	LBB0_6
## %bb.4:
	movq	_ucs_a2_cp936_table_max@GOTPCREL(%rip), %rcx
	cmpl	%r15d, (%rcx)
	jle	LBB0_6
## %bb.5:
	movq	_ucs_a2_cp936_table@GOTPCREL(%rip), %rcx
	jmp	LBB0_12
LBB0_6:
	movq	_ucs_a3_cp936_table_min@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%r15d, %eax
	jg	LBB0_9
## %bb.7:
	movq	_ucs_a3_cp936_table_max@GOTPCREL(%rip), %rcx
	cmpl	%r15d, (%rcx)
	jle	LBB0_9
## %bb.8:
	movq	_ucs_a3_cp936_table@GOTPCREL(%rip), %rcx
	jmp	LBB0_12
LBB0_9:
	movq	_ucs_i_cp936_table_min@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%r15d, %eax
	jg	LBB0_24
## %bb.10:
	movq	_ucs_i_cp936_table_max@GOTPCREL(%rip), %rcx
	cmpl	%r15d, (%rcx)
	jle	LBB0_24
## %bb.11:
	movq	_ucs_i_cp936_table@GOTPCREL(%rip), %rcx
LBB0_12:
	movq	(%rcx), %rcx
	movl	%r15d, %edx
	subl	%eax, %edx
	movslq	%edx, %rax
LBB0_13:
	movl	(%rcx,%rax,4), %ebx
LBB0_14:
	movzbl	%bl, %eax
	movl	%ebx, %ecx
	andl	$65280, %ecx                    ## imm = 0xFF00
	cmpl	$161, %eax
	cmovbl	%r15d, %ebx
	cmpl	$41216, %ecx                    ## imm = 0xA100
	cmovbl	%r15d, %ebx
	testl	%ebx, %ebx
	jle	LBB0_17
LBB0_15:
	cmpl	$127, %ebx
	jbe	LBB0_21
## %bb.16:
	movzbl	%bh, %edi
	movl	(%r14), %esi
	callq	*8(%r14)
	movl	%eax, %edi
	callq	_CK
	movzbl	%bl, %edi
	movl	(%r14), %esi
	jmp	LBB0_22
LBB0_17:
	testl	%r15d, %r15d
	je	LBB0_20
## %bb.18:
	movq	_MBFL_WCSPLANE_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, %ecx
	notl	%ecx
	andl	%r15d, %ecx
	movq	_MBFL_WCSPLANE_GB2312@GOTPCREL(%rip), %rdx
	andl	%r15d, %eax
	cmpl	(%rdx), %ecx
	cmovel	%eax, %ebx
	testl	%ebx, %ebx
	jg	LBB0_15
## %bb.19:
	movl	%r15d, %edi
	movq	%r14, %rsi
	callq	_mbfl_filt_conv_illegal_output
	jmp	LBB0_23
LBB0_20:
	xorl	%ebx, %ebx
LBB0_21:
	movl	(%r14), %esi
	movl	%ebx, %edi
LBB0_22:
	callq	*8(%r14)
LBB0_23:
	movl	%eax, %edi
	callq	_CK
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_24:
	movq	_ucs_hff_cp936_table_min@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	cmpl	%r15d, (%rax)
	jg	LBB0_14
## %bb.25:
	movq	_ucs_hff_cp936_table_max@GOTPCREL(%rip), %rax
	cmpl	%r15d, (%rax)
	jle	LBB0_14
## %bb.26:
	cmpl	$65284, %r15d                   ## imm = 0xFF04
	je	LBB0_29
## %bb.27:
	cmpl	$65374, %r15d                   ## imm = 0xFF5E
	jne	LBB0_30
## %bb.28:
	movl	$41387, %ebx                    ## imm = 0xA1AB
	jmp	LBB0_14
LBB0_29:
	movl	$41447, %ebx                    ## imm = 0xA1E7
	jmp	LBB0_14
LBB0_30:
	leal	-65281(%r15), %eax
	cmpl	$92, %eax
	ja	LBB0_32
## %bb.31:
	leal	-23392(%r15), %ebx
	jmp	LBB0_14
LBB0_32:
	leal	-65504(%r15), %eax
	cmpl	$5, %eax
	ja	LBB0_14
## %bb.33:
	movq	_ucs_hff_s_cp936_table@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	%eax, %eax
	jmp	LBB0_13
	.cfi_endproc
                                        ## -- End function
	.comm	_ucs_a1_cp936_table_min,4,2     ## @ucs_a1_cp936_table_min
	.comm	_ucs_a1_cp936_table_max,4,2     ## @ucs_a1_cp936_table_max
	.comm	_ucs_a1_cp936_table,8,3         ## @ucs_a1_cp936_table
	.comm	_ucs_a2_cp936_table_min,4,2     ## @ucs_a2_cp936_table_min
	.comm	_ucs_a2_cp936_table_max,4,2     ## @ucs_a2_cp936_table_max
	.comm	_ucs_a2_cp936_table,8,3         ## @ucs_a2_cp936_table
	.comm	_ucs_a3_cp936_table_min,4,2     ## @ucs_a3_cp936_table_min
	.comm	_ucs_a3_cp936_table_max,4,2     ## @ucs_a3_cp936_table_max
	.comm	_ucs_a3_cp936_table,8,3         ## @ucs_a3_cp936_table
	.comm	_ucs_i_cp936_table_min,4,2      ## @ucs_i_cp936_table_min
	.comm	_ucs_i_cp936_table_max,4,2      ## @ucs_i_cp936_table_max
	.comm	_ucs_i_cp936_table,8,3          ## @ucs_i_cp936_table
	.comm	_ucs_hff_cp936_table_min,4,2    ## @ucs_hff_cp936_table_min
	.comm	_ucs_hff_cp936_table_max,4,2    ## @ucs_hff_cp936_table_max
	.comm	_ucs_hff_s_cp936_table,8,3      ## @ucs_hff_s_cp936_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_wchar_euccn     ; -- Begin function mbfl_filt_conv_wchar_euccn
	.p2align	2
_mbfl_filt_conv_wchar_euccn:            ; @mbfl_filt_conv_wchar_euccn
	.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_cp936_table_min@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ucs_a1_cp936_table_min@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _ucs_a1_cp936_table_max@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ucs_a1_cp936_table_max@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w8, w0
	ccmp	w9, w0, #4, le
	b.gt	LBB0_6
; %bb.1:
Lloh6:
	adrp	x8, _ucs_a2_cp936_table_min@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ucs_a2_cp936_table_min@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _ucs_a2_cp936_table_max@GOTPAGE
Lloh10:
	ldr	x9, [x9, _ucs_a2_cp936_table_max@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	cmp	w8, w19
	ccmp	w9, w19, #4, le
	b.gt	LBB0_7
; %bb.2:
Lloh12:
	adrp	x8, _ucs_a3_cp936_table_min@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ucs_a3_cp936_table_min@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
Lloh15:
	adrp	x9, _ucs_a3_cp936_table_max@GOTPAGE
Lloh16:
	ldr	x9, [x9, _ucs_a3_cp936_table_max@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	cmp	w8, w19
	ccmp	w9, w19, #4, le
	b.gt	LBB0_8
; %bb.3:
Lloh18:
	adrp	x8, _ucs_i_cp936_table_min@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ucs_i_cp936_table_min@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
Lloh21:
	adrp	x9, _ucs_i_cp936_table_max@GOTPAGE
Lloh22:
	ldr	x9, [x9, _ucs_i_cp936_table_max@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	cmp	w8, w19
	ccmp	w9, w19, #4, le
	b.gt	LBB0_9
; %bb.4:
Lloh24:
	adrp	x8, _ucs_hff_cp936_table_min@GOTPAGE
Lloh25:
	ldr	x8, [x8, _ucs_hff_cp936_table_min@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
Lloh27:
	adrp	x9, _ucs_hff_cp936_table_max@GOTPAGE
Lloh28:
	ldr	x9, [x9, _ucs_hff_cp936_table_max@GOTPAGEOFF]
Lloh29:
	ldr	w9, [x9]
	cmp	w8, w19
	ccmp	w9, w19, #4, le
	b.gt	LBB0_21
LBB0_5:
	mov	w8, #0
	b	LBB0_11
LBB0_6:
Lloh30:
	adrp	x9, _ucs_a1_cp936_table@GOTPAGE
Lloh31:
	ldr	x9, [x9, _ucs_a1_cp936_table@GOTPAGEOFF]
	b	LBB0_10
LBB0_7:
Lloh32:
	adrp	x9, _ucs_a2_cp936_table@GOTPAGE
Lloh33:
	ldr	x9, [x9, _ucs_a2_cp936_table@GOTPAGEOFF]
	b	LBB0_10
LBB0_8:
Lloh34:
	adrp	x9, _ucs_a3_cp936_table@GOTPAGE
Lloh35:
	ldr	x9, [x9, _ucs_a3_cp936_table@GOTPAGEOFF]
	b	LBB0_10
LBB0_9:
Lloh36:
	adrp	x9, _ucs_i_cp936_table@GOTPAGE
Lloh37:
	ldr	x9, [x9, _ucs_i_cp936_table@GOTPAGEOFF]
LBB0_10:
	ldr	x9, [x9]
	sub	w8, w19, w8
	ldr	w8, [x9, w8, sxtw #2]
LBB0_11:
	and	w9, w8, #0xff
	ubfx	w10, w8, #8, #8
	cmp	w9, #161
	mov	w9, #161
	ccmp	w10, w9, #0, hs
	csel	w21, w19, w8, lo
	cmp	w21, #0
	b.le	LBB0_14
LBB0_12:
	cmp	w21, #127
	b.ls	LBB0_18
; %bb.13:
	ldr	x8, [x20, #8]
	ubfx	w0, w21, #8, #8
	ldr	w1, [x20]
	blr	x8
	bl	_CK
	ldr	x8, [x20, #8]
	and	w0, w21, #0xff
	ldr	w1, [x20]
	b	LBB0_19
LBB0_14:
	cbz	w19, LBB0_17
; %bb.15:
Lloh38:
	adrp	x8, _MBFL_WCSPLANE_MASK@GOTPAGE
Lloh39:
	ldr	x8, [x8, _MBFL_WCSPLANE_MASK@GOTPAGEOFF]
Lloh40:
	ldr	w8, [x8]
Lloh41:
	adrp	x9, _MBFL_WCSPLANE_GB2312@GOTPAGE
Lloh42:
	ldr	x9, [x9, _MBFL_WCSPLANE_GB2312@GOTPAGEOFF]
	bic	w10, w19, w8
Lloh43:
	ldr	w9, [x9]
	and	w8, w8, w19
	cmp	w10, w9
	csel	w21, w8, w21, eq
	cmp	w21, #1
	b.ge	LBB0_12
; %bb.16:
	mov	x0, x19
	mov	x1, x20
	bl	_mbfl_filt_conv_illegal_output
	b	LBB0_20
LBB0_17:
	mov	w21, #0
LBB0_18:
	ldr	x8, [x20, #8]
	ldr	w1, [x20]
	mov	x0, x21
LBB0_19:
	blr	x8
LBB0_20:
	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
LBB0_21:
	mov	w8, #65284
	cmp	w19, w8
	b.eq	LBB0_24
; %bb.22:
	mov	w8, #65374
	cmp	w19, w8
	b.ne	LBB0_25
; %bb.23:
	mov	w8, #41387
	b	LBB0_11
LBB0_24:
	mov	w8, #41447
	b	LBB0_11
LBB0_25:
	mov	w8, #-65281
	add	w8, w19, w8
	cmp	w8, #92
	b.hi	LBB0_27
; %bb.26:
	mov	w8, #-23392
	add	w8, w19, w8
	b	LBB0_11
LBB0_27:
	mov	w8, #-65504
	add	w8, w19, w8
	cmp	w8, #5
	b.hi	LBB0_5
; %bb.28:
Lloh44:
	adrp	x9, _ucs_hff_s_cp936_table@GOTPAGE
Lloh45:
	ldr	x9, [x9, _ucs_hff_s_cp936_table@GOTPAGEOFF]
Lloh46:
	ldr	x9, [x9]
	ldr	w8, [x9, w8, uxtw #2]
	b	LBB0_11
	.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 AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.cfi_endproc
                                        ; -- End function
	.comm	_ucs_a1_cp936_table_min,4,2     ; @ucs_a1_cp936_table_min
	.comm	_ucs_a1_cp936_table_max,4,2     ; @ucs_a1_cp936_table_max
	.comm	_ucs_a1_cp936_table,8,3         ; @ucs_a1_cp936_table
	.comm	_ucs_a2_cp936_table_min,4,2     ; @ucs_a2_cp936_table_min
	.comm	_ucs_a2_cp936_table_max,4,2     ; @ucs_a2_cp936_table_max
	.comm	_ucs_a2_cp936_table,8,3         ; @ucs_a2_cp936_table
	.comm	_ucs_a3_cp936_table_min,4,2     ; @ucs_a3_cp936_table_min
	.comm	_ucs_a3_cp936_table_max,4,2     ; @ucs_a3_cp936_table_max
	.comm	_ucs_a3_cp936_table,8,3         ; @ucs_a3_cp936_table
	.comm	_ucs_i_cp936_table_min,4,2      ; @ucs_i_cp936_table_min
	.comm	_ucs_i_cp936_table_max,4,2      ; @ucs_i_cp936_table_max
	.comm	_ucs_i_cp936_table,8,3          ; @ucs_i_cp936_table
	.comm	_ucs_hff_cp936_table_min,4,2    ; @ucs_hff_cp936_table_min
	.comm	_ucs_hff_cp936_table_max,4,2    ; @ucs_hff_cp936_table_max
	.comm	_ucs_hff_s_cp936_table,8,3      ; @ucs_hff_s_cp936_table
	.comm	_MBFL_WCSPLANE_MASK,4,2         ; @MBFL_WCSPLANE_MASK
	.comm	_MBFL_WCSPLANE_GB2312,4,2       ; @MBFL_WCSPLANE_GB2312
.subsections_via_symbols
