	.file	"extr_cns11643_7.h_cns11643_7_mbtowc.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	cns11643_7_mbtowc, @function
cns11643_7_mbtowc:
.LFB0:
	.cfi_startproc
	endbr64
	movzx	eax, BYTE PTR [rdx]
	lea	edi, -33[rax]
	cmp	dil, 69
	ja	.L2
	cmp	ecx, 1
	jle	.L3
	movzx	edx, BYTE PTR 1[rdx]
	lea	ecx, -33[rdx]
	cmp	cl, 93
	ja	.L2
	sub	eax, 33
	imul	eax, eax, 94
	lea	eax, -33[rax+rdx]
	cmp	eax, 6538
	jg	.L2
	mov	rdx, QWORD PTR cns11643_7_2uni_page21[rip]
	cdqe
	movzx	eax, WORD PTR [rdx+rax*2]
	mov	rdx, QWORD PTR cns11643_7_2uni_upages[rip]
	movzx	ecx, ah
	movzx	eax, al
	or	ax, WORD PTR [rdx+rcx*2]
	cmp	ax, -3
	je	.L2
	movzx	eax, ax
	mov	DWORD PTR [rsi], eax
	mov	eax, 2
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	mov	eax, DWORD PTR RET_ILSEQ[rip]
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	xor	edi, edi
	jmp	RET_TOOFEW@PLT
	.cfi_endproc
.LFE0:
	.size	cns11643_7_mbtowc, .-cns11643_7_mbtowc
	.comm	cns11643_7_2uni_upages,8,8
	.comm	cns11643_7_2uni_page21,8,8
	.comm	RET_ILSEQ,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_cns11643_7.h_cns11643_7_mbtowc.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	cns11643_7_mbtowc, %function
cns11643_7_mbtowc:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	@ link register save eliminated.
	ldrb	r0, [r2]	@ zero_extendqisi2
	sub	r0, r0, #33
	and	ip, r0, #255
	cmp	ip, #69
	bhi	.L2
	cmp	r3, #1
	ble	.L3
	ldrb	r3, [r2, #1]	@ zero_extendqisi2
	sub	r3, r3, #33
	and	r2, r3, #255
	cmp	r2, #93
	bhi	.L2
	add	r2, r0, r0, lsl #1
	rsb	r0, r0, r2, lsl #4
	ldr	r2, .L6
	add	r0, r3, r0, lsl #1
	cmp	r0, r2
	bgt	.L2
	ldr	r3, .L6+4
	lsl	r0, r0, #1
	ldr	r3, [r3]
	ldr	r2, .L6+8
	ldrh	r3, [r3, r0]
	ldr	r0, [r2]
	lsr	r2, r3, #8
	lsl	r2, r2, #1
	ldrh	r2, [r0, r2]
	and	r3, r3, #255
	ldr	r0, .L6+12
	orr	r3, r2, r3
	cmp	r3, r0
	beq	.L2
	mov	r0, #2
	str	r3, [r1]
	bx	lr
.L2:
	ldr	r3, .L6+16
	ldr	r0, [r3]
	bx	lr
.L3:
	mov	r0, #0
	b	RET_TOOFEW
.L7:
	.align	2
.L6:
	.word	6538
	.word	cns11643_7_2uni_page21
	.word	cns11643_7_2uni_upages
	.word	65533
	.word	RET_ILSEQ
	.size	cns11643_7_mbtowc, .-cns11643_7_mbtowc
	.comm	cns11643_7_2uni_upages,4,4
	.comm	cns11643_7_2uni_page21,4,4
	.comm	RET_ILSEQ,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
