	.file	"extr_mbfilter_euc_tw.c_mbfl_filt_conv_euctw_wchar.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	mbfl_filt_conv_euctw_wchar
	.type	mbfl_filt_conv_euctw_wchar, @function
mbfl_filt_conv_euctw_wchar:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12d, edi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rsi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	cmp	DWORD PTR [rsi], 4
	ja	.L2
	mov	eax, DWORD PTR [rsi]
	lea	rdx, .L4[rip]
	movsx	rax, DWORD PTR [rdx+rax*4]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L4:
	.long	.L8-.L4
	.long	.L7-.L4
	.long	.L6-.L4
	.long	.L5-.L4
	.long	.L3-.L4
	.text
	.p2align 4,,10
	.p2align 3
.L5:
	mov	DWORD PTR [rsi], 0
	cmp	edi, 32
	jbe	.L34
	cmp	edi, 127
	je	.L34
	mov	edi, DWORD PTR 4[rsi]
	lea	eax, -161[r12]
	sal	edi, 8
	cmp	eax, 93
	jbe	.L40
.L23:
	or	edi, r12d
.L38:
	mov	esi, DWORD PTR 8[rbx]
	and	edi, DWORD PTR MBFL_WCSGROUP_MASK[rip]
	or	edi, DWORD PTR MBFL_WCSGROUP_THROUGH[rip]
	call	[QWORD PTR 16[rbx]]
	mov	edi, eax
	call	CK@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	mov	eax, DWORD PTR 4[rsi]
	mov	DWORD PTR [rsi], 0
	lea	edx, -256[rax]
	cmp	edx, 3327
	ja	.L24
	lea	edx, -161[rdi]
	cmp	edx, 93
	ja	.L24
	movzx	edx, al
	mov	ecx, eax
	imul	edx, edx, 94
	sar	ecx, 8
	lea	edx, -161[rdi+rdx]
	cmp	ecx, 1
	je	.L25
	cmp	ecx, 13
	je	.L41
.L27:
	sal	eax, 8
	mov	edi, eax
	mov	eax, r12d
	and	edi, 32512
	and	eax, 127
	or	edi, eax
	and	edi, DWORD PTR MBFL_WCSPLANE_MASK[rip]
	or	edi, DWORD PTR MBFL_WCSPLANE_CNS11643[rip]
.L29:
	mov	esi, DWORD PTR 8[rbx]
	call	[QWORD PTR 16[rbx]]
	mov	edi, eax
	call	CK@PLT
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L8:
	cmp	edi, 127
	ja	.L9
	mov	esi, DWORD PTR 8[rsi]
	call	[QWORD PTR 16[rbx]]
	mov	edi, eax
	call	CK@PLT
.L10:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	lea	edi, -161[rdi]
	mov	DWORD PTR [rsi], 0
	mov	eax, DWORD PTR 4[rsi]
	mov	rcx, QWORD PTR 16[rsi]
	mov	esi, DWORD PTR 8[rsi]
	cmp	edi, 93
	ja	.L13
	lea	edx, -161[rax]
	imul	edx, edx, 94
	add	edx, edi
	js	.L14
	cmp	DWORD PTR cns11643_1_ucs_table_size[rip], edx
	jle	.L14
	mov	rdi, QWORD PTR cns11643_1_ucs_table[rip]
	movsx	rdx, edx
	mov	edi, DWORD PTR [rdi+rdx*4]
	test	edi, edi
	jg	.L37
	.p2align 4,,10
	.p2align 3
.L14:
	sal	eax, 8
	mov	edi, eax
	or	edi, r12d
	and	edi, DWORD PTR MBFL_WCSPLANE_MASK[rip]
	or	edi, DWORD PTR MBFL_WCSPLANE_CNS11643[rip]
.L37:
	call	rcx
	mov	edi, eax
	call	CK@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	cmp	edi, 32
	jbe	.L34
	cmp	edi, 127
	je	.L34
	lea	eax, -161[rdi]
	cmp	eax, 13
	ja	.L20
	mov	DWORD PTR [rsi], 3
	mov	DWORD PTR 4[rsi], eax
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L24:
	mov	rdx, QWORD PTR 16[rbx]
	mov	esi, DWORD PTR 8[rbx]
	cmp	r12d, 32
	jbe	.L35
	cmp	r12d, 127
	je	.L35
	sal	eax, 8
	mov	edi, eax
	or	edi, r12d
	or	edi, 9306112
	and	edi, DWORD PTR MBFL_WCSGROUP_MASK[rip]
	or	edi, DWORD PTR MBFL_WCSGROUP_THROUGH[rip]
	call	rdx
	mov	edi, eax
	call	CK@PLT
	jmp	.L10
.L2:
	mov	DWORD PTR [rsi], 0
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L34:
	.cfi_restore_state
	mov	esi, DWORD PTR 8[rbx]
	mov	edi, r12d
	call	[QWORD PTR 16[rbx]]
	mov	edi, eax
	call	CK@PLT
	mov	DWORD PTR [rbx], 0
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L13:
	.cfi_restore_state
	cmp	r12d, 32
	jbe	.L32
	cmp	r12d, 127
	je	.L32
	sal	eax, 8
	mov	edi, eax
	or	edi, r12d
	and	edi, DWORD PTR MBFL_WCSGROUP_MASK[rip]
	or	edi, DWORD PTR MBFL_WCSGROUP_THROUGH[rip]
	call	rcx
	mov	edi, eax
	call	CK@PLT
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L9:
	lea	eax, -161[rdi]
	cmp	eax, 93
	jbe	.L42
	cmp	edi, 142
	jne	.L38
	movabs	rax, 609885356034
	mov	QWORD PTR [rsi], rax
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L35:
	mov	edi, r12d
	call	rdx
	mov	edi, eax
	call	CK@PLT
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L40:
	lea	eax, -161[rdi+r12]
	mov	DWORD PTR [rsi], 4
	mov	DWORD PTR 4[rsi], eax
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L42:
	mov	DWORD PTR [rsi], 1
	mov	DWORD PTR 4[rbx], edi
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L20:
	mov	edi, DWORD PTR 4[rsi]
	sal	edi, 8
	jmp	.L23
	.p2align 4,,10
	.p2align 3
.L32:
	mov	edi, r12d
	jmp	.L37
.L41:
	cmp	DWORD PTR cns11643_14_ucs_table_size[rip], edx
	jle	.L27
	mov	rcx, QWORD PTR cns11643_14_ucs_table[rip]
	movsx	rdx, edx
	mov	edi, DWORD PTR [rcx+rdx*4]
.L28:
	test	edi, edi
	jg	.L29
	jmp	.L27
	.p2align 4,,10
	.p2align 3
.L25:
	cmp	DWORD PTR cns11643_2_ucs_table_size[rip], edx
	jle	.L27
	mov	rcx, QWORD PTR cns11643_2_ucs_table[rip]
	movsx	rdx, edx
	mov	edi, DWORD PTR [rcx+rdx*4]
	jmp	.L28
	.cfi_endproc
.LFE0:
	.size	mbfl_filt_conv_euctw_wchar, .-mbfl_filt_conv_euctw_wchar
	.comm	cns11643_2_ucs_table_size,4,4
	.comm	cns11643_2_ucs_table,8,8
	.comm	cns11643_1_ucs_table_size,4,4
	.comm	cns11643_1_ucs_table,8,8
	.comm	cns11643_14_ucs_table_size,4,4
	.comm	cns11643_14_ucs_table,8,8
	.comm	MBFL_WCSPLANE_MASK,4,4
	.comm	MBFL_WCSPLANE_CNS11643,4,4
	.comm	MBFL_WCSGROUP_THROUGH,4,4
	.comm	MBFL_WCSGROUP_MASK,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_mbfilter_euc_tw.c_mbfl_filt_conv_euctw_wchar.c"
	.text
	.align	2
	.global	mbfl_filt_conv_euctw_wchar
	.syntax unified
	.arm
	.fpu softvfp
	.type	mbfl_filt_conv_euctw_wchar, %function
mbfl_filt_conv_euctw_wchar:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, [r1]
	push	{r4, r5, r6, lr}
	mov	r4, r1
	mov	r5, r0
	cmp	r3, #4
	ldrls	pc, [pc, r3, asl #2]
	b	.L2
.L4:
	.word	.L8
	.word	.L7
	.word	.L6
	.word	.L5
	.word	.L3
.L3:
	mov	r2, #0
	ldr	r3, [r1, #4]
	str	r2, [r1]
	sub	r2, r3, #256
	cmp	r2, #3328
	bcs	.L21
	sub	r2, r0, #161
	cmp	r2, #93
	bhi	.L21
	and	r2, r3, #255
	add	r1, r2, r2, lsl #1
	rsb	r2, r2, r1, lsl #4
	asr	r1, r3, #8
	add	r2, r0, r2, lsl #1
	cmp	r1, #1
	sub	r2, r2, #161
	beq	.L22
	cmp	r1, #13
	beq	.L32
.L24:
	ldr	r2, .L35
	ldr	r1, .L35+4
	lsl	r3, r3, #8
	and	r3, r3, #32512
	ldr	r2, [r2]
	and	r0, r5, #127
	orr	r0, r3, r0
	ldr	r3, [r1]
	and	r0, r0, r2
.L30:
	orr	r0, r0, r3
.L26:
	ldr	r3, [r4, #12]
	ldr	r1, [r4, #8]
	blx	r3
	bl	CK
	mov	r0, r5
	pop	{r4, r5, r6, pc}
.L8:
	cmp	r0, #127
	bhi	.L9
	ldr	r3, [r1, #12]
	ldr	r1, [r1, #8]
	blx	r3
	bl	CK
.L10:
	mov	r0, r5
	pop	{r4, r5, r6, pc}
.L6:
	cmp	r0, #127
	cmpne	r0, #32
	bhi	.L17
	ldr	r3, [r1, #12]
	ldr	r1, [r1, #8]
	blx	r3
	bl	CK
	mov	r3, #0
	str	r3, [r4]
	b	.L10
.L7:
	mov	r2, #0
	sub	r3, r0, #161
	cmp	r3, #93
	ldr	ip, [r1, #4]
	ldr	r6, [r1, #12]
	str	r2, [r1]
	ldr	r1, [r1, #8]
	bhi	.L13
	sub	r2, ip, #161
	add	r0, r2, r2, lsl #1
	rsb	r2, r2, r0, lsl #4
	adds	r3, r3, r2, lsl #1
	bmi	.L14
	ldr	r2, .L35+8
	ldr	r2, [r2]
	cmp	r2, r3
	ble	.L14
	ldr	r2, .L35+12
	ldr	r2, [r2]
	ldr	r0, [r2, r3, lsl #2]
	cmp	r0, #0
	bgt	.L29
.L14:
	ldr	r2, .L35
	ldr	r3, .L35+4
	ldr	r2, [r2]
	ldr	r3, [r3]
	orr	r0, r5, ip, lsl #8
	and	r0, r0, r2
	orr	r0, r0, r3
.L29:
	blx	r6
	bl	CK
	mov	r0, r5
	pop	{r4, r5, r6, pc}
.L5:
	mov	r6, #0
	cmp	r0, #127
	cmpne	r0, #32
	str	r6, [r1]
	bhi	.L19
	ldr	r3, [r1, #12]
	ldr	r1, [r1, #8]
	blx	r3
	bl	CK
	str	r6, [r4]
	b	.L10
.L21:
	cmp	r5, #127
	cmpne	r5, #32
	ldrhi	ip, .L35+16
	ldrhi	r0, .L35+20
	orrhi	r3, r5, r3, lsl #8
	ldrhi	ip, [ip]
	orrhi	r3, r3, #9306112
	ldrhi	r0, [r0]
	andhi	r3, r3, ip
	movls	r0, r5
	ldr	r2, [r4, #12]
	ldr	r1, [r4, #8]
	orrhi	r0, r3, r0
	blx	r2
	bl	CK
	mov	r0, r5
	pop	{r4, r5, r6, pc}
.L13:
	cmp	r0, #127
	cmpne	r0, #32
	bls	.L29
	ldr	r3, .L35+16
	ldr	r2, .L35+20
	ldr	r3, [r3]
	orr	ip, r0, ip, lsl #8
	ldr	r0, [r2]
	and	ip, ip, r3
	orr	r0, ip, r0
	blx	r6
	bl	CK
	b	.L10
.L9:
	sub	r3, r0, #161
	cmp	r3, #93
	bls	.L33
	cmp	r0, #142
	beq	.L34
	ldr	r3, .L35+16
	ldr	r2, .L35+20
	ldr	r3, [r3]
	ldr	r0, [r2]
	and	r3, r3, r5
	b	.L30
.L17:
	sub	r3, r0, #161
	cmp	r3, #13
	bhi	.L18
	mov	r2, #3
	stm	r1, {r2, r3}
	b	.L10
.L19:
	ldr	r3, [r1, #4]
	sub	r2, r0, #161
	cmp	r2, #93
	lsl	r3, r3, #8
	bhi	.L20
	mov	r2, #4
	add	r3, r0, r3
	sub	r3, r3, #161
	stm	r1, {r2, r3}
	b	.L10
.L20:
	ldr	r2, .L35+16
	ldr	r1, .L35+20
	ldr	r2, [r2]
	orr	r3, r0, r3
	and	r3, r3, r2
	ldr	r0, [r1]
	b	.L30
.L33:
	mov	r3, #1
	stm	r1, {r3, r5}
	b	.L10
.L18:
	ldr	r2, .L35+16
	ldr	r3, [r1, #4]
	ldr	r2, [r2]
	ldr	r1, .L35+20
	orr	r3, r0, r3, lsl #8
	and	r3, r3, r2
	ldr	r0, [r1]
	b	.L30
.L34:
	mov	r3, #2
	stm	r1, {r3, r5}
	b	.L10
.L32:
	ldr	r1, .L35+24
	ldr	r1, [r1]
	cmp	r1, r2
	ble	.L24
	ldr	r1, .L35+28
	ldr	r1, [r1]
	ldr	r0, [r1, r2, lsl #2]
.L25:
	cmp	r0, #0
	bgt	.L26
	b	.L24
.L22:
	ldr	r1, .L35+32
	ldr	r1, [r1]
	cmp	r1, r2
	ble	.L24
	ldr	r1, .L35+36
	ldr	r1, [r1]
	ldr	r0, [r1, r2, lsl #2]
	b	.L25
.L2:
	mov	r3, #0
	str	r3, [r1]
	b	.L10
.L36:
	.align	2
.L35:
	.word	MBFL_WCSPLANE_MASK
	.word	MBFL_WCSPLANE_CNS11643
	.word	cns11643_1_ucs_table_size
	.word	cns11643_1_ucs_table
	.word	MBFL_WCSGROUP_MASK
	.word	MBFL_WCSGROUP_THROUGH
	.word	cns11643_14_ucs_table_size
	.word	cns11643_14_ucs_table
	.word	cns11643_2_ucs_table_size
	.word	cns11643_2_ucs_table
	.size	mbfl_filt_conv_euctw_wchar, .-mbfl_filt_conv_euctw_wchar
	.comm	cns11643_2_ucs_table_size,4,4
	.comm	cns11643_2_ucs_table,4,4
	.comm	cns11643_1_ucs_table_size,4,4
	.comm	cns11643_1_ucs_table,4,4
	.comm	cns11643_14_ucs_table_size,4,4
	.comm	cns11643_14_ucs_table,4,4
	.comm	MBFL_WCSPLANE_MASK,4,4
	.comm	MBFL_WCSPLANE_CNS11643,4,4
	.comm	MBFL_WCSGROUP_THROUGH,4,4
	.comm	MBFL_WCSGROUP_MASK,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
