	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mbfl_filt_conv_wchar_euctw     ## -- Begin function mbfl_filt_conv_wchar_euctw
	.p2align	4, 0x90
_mbfl_filt_conv_wchar_euctw:            ## @mbfl_filt_conv_wchar_euctw
	.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_cns11643_table_min@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%edi, %eax
	jg	LBB0_3
## %bb.1:
	movq	_ucs_a1_cns11643_table_max@GOTPCREL(%rip), %rcx
	cmpl	%r15d, (%rcx)
	jle	LBB0_3
## %bb.2:
	movq	_ucs_a1_cns11643_table@GOTPCREL(%rip), %rcx
	jmp	LBB0_15
LBB0_3:
	movq	_ucs_a2_cns11643_table_min@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%r15d, %eax
	jg	LBB0_6
## %bb.4:
	movq	_ucs_a2_cns11643_table_max@GOTPCREL(%rip), %rcx
	cmpl	%r15d, (%rcx)
	jle	LBB0_6
## %bb.5:
	movq	_ucs_a2_cns11643_table@GOTPCREL(%rip), %rcx
	jmp	LBB0_15
LBB0_6:
	movq	_ucs_a3_cns11643_table_min@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%r15d, %eax
	jg	LBB0_9
## %bb.7:
	movq	_ucs_a3_cns11643_table_max@GOTPCREL(%rip), %rcx
	cmpl	%r15d, (%rcx)
	jle	LBB0_9
## %bb.8:
	movq	_ucs_a3_cns11643_table@GOTPCREL(%rip), %rcx
	jmp	LBB0_15
LBB0_9:
	movq	_ucs_i_cns11643_table_min@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%r15d, %eax
	jg	LBB0_12
## %bb.10:
	movq	_ucs_i_cns11643_table_max@GOTPCREL(%rip), %rcx
	cmpl	%r15d, (%rcx)
	jle	LBB0_12
## %bb.11:
	movq	_ucs_i_cns11643_table@GOTPCREL(%rip), %rcx
	jmp	LBB0_15
LBB0_12:
	movq	_ucs_r_cns11643_table_min@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%ebx, %ebx
	cmpl	%r15d, %eax
	jg	LBB0_16
## %bb.13:
	movq	_ucs_r_cns11643_table_max@GOTPCREL(%rip), %rcx
	cmpl	%r15d, (%rcx)
	jle	LBB0_16
## %bb.14:
	movq	_ucs_r_cns11643_table@GOTPCREL(%rip), %rcx
LBB0_15:
	movq	(%rcx), %rcx
	movl	%r15d, %edx
	subl	%eax, %edx
	movslq	%edx, %rax
	movl	(%rcx,%rax,4), %ebx
	testl	%ebx, %ebx
	jg	LBB0_19
LBB0_16:
	testl	%r15d, %r15d
	je	LBB0_17
## %bb.18:
	movq	_MBFL_WCSPLANE_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, %ecx
	notl	%ecx
	andl	%r15d, %ecx
	movq	_MBFL_WCSPLANE_CNS11643@GOTPCREL(%rip), %rdx
	andl	%r15d, %eax
	cmpl	(%rdx), %ecx
	cmovel	%eax, %ebx
	testl	%ebx, %ebx
	jle	LBB0_26
LBB0_19:
	movl	%ebx, %eax
	shrl	$16, %eax
	andl	$31, %eax
	cmpl	$1, %eax
	ja	LBB0_25
## %bb.20:
	cmpl	$127, %ebx
	jbe	LBB0_21
## %bb.23:
	orl	$32896, %ebx                    ## imm = 0x8080
	jmp	LBB0_24
LBB0_25:
	shll	$16, %eax
	movzwl	%bx, %ebx
	orl	%eax, %ebx
	orl	$-1902083968, %ebx              ## imm = 0x8EA08080
	movl	(%r14), %esi
	movl	$142, %edi
	callq	*8(%r14)
	movl	%eax, %edi
	callq	_CK
	movl	%ebx, %eax
	shrl	$16, %eax
	movzbl	%al, %edi
	movl	(%r14), %esi
	callq	*8(%r14)
	movl	%eax, %edi
	callq	_CK
LBB0_24:
	movzbl	%bh, %edi
	movl	(%r14), %esi
	callq	*8(%r14)
	movl	%eax, %edi
	callq	_CK
	movzbl	%bl, %edi
	movl	(%r14), %esi
	callq	*8(%r14)
	jmp	LBB0_27
LBB0_17:
	xorl	%ebx, %ebx
LBB0_21:
	movl	(%r14), %esi
	movl	%ebx, %edi
	callq	*8(%r14)
	jmp	LBB0_27
LBB0_26:
	movl	%r15d, %edi
	movq	%r14, %rsi
	callq	_mbfl_filt_conv_illegal_output
LBB0_27:
	movl	%eax, %edi
	callq	_CK
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ucs_a1_cns11643_table_min,4,2  ## @ucs_a1_cns11643_table_min
	.comm	_ucs_a1_cns11643_table_max,4,2  ## @ucs_a1_cns11643_table_max
	.comm	_ucs_a1_cns11643_table,8,3      ## @ucs_a1_cns11643_table
	.comm	_ucs_a2_cns11643_table_min,4,2  ## @ucs_a2_cns11643_table_min
	.comm	_ucs_a2_cns11643_table_max,4,2  ## @ucs_a2_cns11643_table_max
	.comm	_ucs_a2_cns11643_table,8,3      ## @ucs_a2_cns11643_table
	.comm	_ucs_a3_cns11643_table_min,4,2  ## @ucs_a3_cns11643_table_min
	.comm	_ucs_a3_cns11643_table_max,4,2  ## @ucs_a3_cns11643_table_max
	.comm	_ucs_a3_cns11643_table,8,3      ## @ucs_a3_cns11643_table
	.comm	_ucs_i_cns11643_table_min,4,2   ## @ucs_i_cns11643_table_min
	.comm	_ucs_i_cns11643_table_max,4,2   ## @ucs_i_cns11643_table_max
	.comm	_ucs_i_cns11643_table,8,3       ## @ucs_i_cns11643_table
	.comm	_ucs_r_cns11643_table_min,4,2   ## @ucs_r_cns11643_table_min
	.comm	_ucs_r_cns11643_table_max,4,2   ## @ucs_r_cns11643_table_max
	.comm	_ucs_r_cns11643_table,8,3       ## @ucs_r_cns11643_table
	.comm	_MBFL_WCSPLANE_MASK,4,2         ## @MBFL_WCSPLANE_MASK
	.comm	_MBFL_WCSPLANE_CNS11643,4,2     ## @MBFL_WCSPLANE_CNS11643
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mbfl_filt_conv_wchar_euctw     ; -- Begin function mbfl_filt_conv_wchar_euctw
	.p2align	2
_mbfl_filt_conv_wchar_euctw:            ; @mbfl_filt_conv_wchar_euctw
	.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_cns11643_table_min@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ucs_a1_cns11643_table_min@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _ucs_a1_cns11643_table_max@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ucs_a1_cns11643_table_max@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w8, w0
	ccmp	w9, w0, #4, le
	b.gt	LBB0_7
; %bb.1:
Lloh6:
	adrp	x8, _ucs_a2_cns11643_table_min@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ucs_a2_cns11643_table_min@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _ucs_a2_cns11643_table_max@GOTPAGE
Lloh10:
	ldr	x9, [x9, _ucs_a2_cns11643_table_max@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	cmp	w8, w19
	ccmp	w9, w19, #4, le
	b.gt	LBB0_8
; %bb.2:
Lloh12:
	adrp	x8, _ucs_a3_cns11643_table_min@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ucs_a3_cns11643_table_min@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
Lloh15:
	adrp	x9, _ucs_a3_cns11643_table_max@GOTPAGE
Lloh16:
	ldr	x9, [x9, _ucs_a3_cns11643_table_max@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	cmp	w8, w19
	ccmp	w9, w19, #4, le
	b.gt	LBB0_9
; %bb.3:
Lloh18:
	adrp	x8, _ucs_i_cns11643_table_min@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ucs_i_cns11643_table_min@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
Lloh21:
	adrp	x9, _ucs_i_cns11643_table_max@GOTPAGE
Lloh22:
	ldr	x9, [x9, _ucs_i_cns11643_table_max@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	cmp	w8, w19
	ccmp	w9, w19, #4, le
	b.gt	LBB0_10
; %bb.4:
	mov	w0, #0
Lloh24:
	adrp	x8, _ucs_r_cns11643_table_min@GOTPAGE
Lloh25:
	ldr	x8, [x8, _ucs_r_cns11643_table_min@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
	cmp	w8, w19
	b.gt	LBB0_12
; %bb.5:
Lloh27:
	adrp	x9, _ucs_r_cns11643_table_max@GOTPAGE
Lloh28:
	ldr	x9, [x9, _ucs_r_cns11643_table_max@GOTPAGEOFF]
Lloh29:
	ldr	w9, [x9]
	cmp	w9, w19
	b.le	LBB0_12
; %bb.6:
Lloh30:
	adrp	x9, _ucs_r_cns11643_table@GOTPAGE
Lloh31:
	ldr	x9, [x9, _ucs_r_cns11643_table@GOTPAGEOFF]
	b	LBB0_11
LBB0_7:
Lloh32:
	adrp	x9, _ucs_a1_cns11643_table@GOTPAGE
Lloh33:
	ldr	x9, [x9, _ucs_a1_cns11643_table@GOTPAGEOFF]
	b	LBB0_11
LBB0_8:
Lloh34:
	adrp	x9, _ucs_a2_cns11643_table@GOTPAGE
Lloh35:
	ldr	x9, [x9, _ucs_a2_cns11643_table@GOTPAGEOFF]
	b	LBB0_11
LBB0_9:
Lloh36:
	adrp	x9, _ucs_a3_cns11643_table@GOTPAGE
Lloh37:
	ldr	x9, [x9, _ucs_a3_cns11643_table@GOTPAGEOFF]
	b	LBB0_11
LBB0_10:
Lloh38:
	adrp	x9, _ucs_i_cns11643_table@GOTPAGE
Lloh39:
	ldr	x9, [x9, _ucs_i_cns11643_table@GOTPAGEOFF]
LBB0_11:
	ldr	x9, [x9]
	sub	w8, w19, w8
	ldr	w0, [x9, w8, sxtw #2]
	cmp	w0, #0
	b.gt	LBB0_14
LBB0_12:
	cbz	w19, LBB0_19
; %bb.13:
Lloh40:
	adrp	x8, _MBFL_WCSPLANE_MASK@GOTPAGE
Lloh41:
	ldr	x8, [x8, _MBFL_WCSPLANE_MASK@GOTPAGEOFF]
Lloh42:
	ldr	w8, [x8]
Lloh43:
	adrp	x9, _MBFL_WCSPLANE_CNS11643@GOTPAGE
Lloh44:
	ldr	x9, [x9, _MBFL_WCSPLANE_CNS11643@GOTPAGEOFF]
	bic	w10, w19, w8
Lloh45:
	ldr	w9, [x9]
	and	w8, w8, w19
	cmp	w10, w9
	csel	w0, w8, w0, eq
	cmp	w0, #1
	b.lt	LBB0_23
LBB0_14:
	ubfx	w8, w0, #16, #5
	cmp	w8, #1
	b.hi	LBB0_17
; %bb.15:
	cmp	w0, #127
	b.ls	LBB0_20
; %bb.16:
	and	w8, w0, #0xffff
	mov	w9, #32896
	orr	w21, w8, w9
	ldr	x8, [x20, #8]
	lsr	w0, w21, #8
	b	LBB0_18
LBB0_17:
	and	w9, w0, #0xffff
	orr	w8, w9, w8, lsl #16
	mov	w9, #32896
	movk	w9, #36512, lsl #16
	orr	w21, w8, w9
	ldr	x8, [x20, #8]
	ldr	w1, [x20]
	mov	w0, #142
	blr	x8
	bl	_CK
	ldr	x8, [x20, #8]
	lsr	w9, w21, #16
	and	w0, w9, #0x1ff
	ldr	w1, [x20]
	blr	x8
	bl	_CK
	ldr	x8, [x20, #8]
	ubfx	w0, w21, #8, #8
LBB0_18:
	ldr	w1, [x20]
	blr	x8
	bl	_CK
	ldr	x8, [x20, #8]
	and	w0, w21, #0xff
	b	LBB0_21
LBB0_19:
	mov	w0, #0
LBB0_20:
	ldr	x8, [x20, #8]
LBB0_21:
	ldr	w1, [x20]
	blr	x8
LBB0_22:
	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_23:
	mov	x0, x19
	mov	x1, x20
	bl	_mbfl_filt_conv_illegal_output
	b	LBB0_22
	.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	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh36, Lloh37
	.loh AdrpLdrGot	Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.cfi_endproc
                                        ; -- End function
	.comm	_ucs_a1_cns11643_table_min,4,2  ; @ucs_a1_cns11643_table_min
	.comm	_ucs_a1_cns11643_table_max,4,2  ; @ucs_a1_cns11643_table_max
	.comm	_ucs_a1_cns11643_table,8,3      ; @ucs_a1_cns11643_table
	.comm	_ucs_a2_cns11643_table_min,4,2  ; @ucs_a2_cns11643_table_min
	.comm	_ucs_a2_cns11643_table_max,4,2  ; @ucs_a2_cns11643_table_max
	.comm	_ucs_a2_cns11643_table,8,3      ; @ucs_a2_cns11643_table
	.comm	_ucs_a3_cns11643_table_min,4,2  ; @ucs_a3_cns11643_table_min
	.comm	_ucs_a3_cns11643_table_max,4,2  ; @ucs_a3_cns11643_table_max
	.comm	_ucs_a3_cns11643_table,8,3      ; @ucs_a3_cns11643_table
	.comm	_ucs_i_cns11643_table_min,4,2   ; @ucs_i_cns11643_table_min
	.comm	_ucs_i_cns11643_table_max,4,2   ; @ucs_i_cns11643_table_max
	.comm	_ucs_i_cns11643_table,8,3       ; @ucs_i_cns11643_table
	.comm	_ucs_r_cns11643_table_min,4,2   ; @ucs_r_cns11643_table_min
	.comm	_ucs_r_cns11643_table_max,4,2   ; @ucs_r_cns11643_table_max
	.comm	_ucs_r_cns11643_table,8,3       ; @ucs_r_cns11643_table
	.comm	_MBFL_WCSPLANE_MASK,4,2         ; @MBFL_WCSPLANE_MASK
	.comm	_MBFL_WCSPLANE_CNS11643,4,2     ; @MBFL_WCSPLANE_CNS11643
.subsections_via_symbols
