	.file	"extr_jisx0212.h_jisx0212_mbtowc.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	jisx0212_mbtowc, @function
jisx0212_mbtowc:
.LFB0:
	.cfi_startproc
	endbr64
	movzx	eax, BYTE PTR [rdx]
	cmp	al, 43
	jbe	.L2
	lea	edi, -48[rax]
	cmp	dil, 61
	ja	.L4
	cmp	ecx, 1
	jle	.L5
.L17:
	movzx	edx, BYTE PTR 1[rdx]
	lea	ecx, -33[rdx]
	cmp	cl, 93
	ja	.L4
	sub	eax, 33
	imul	eax, eax, 94
	lea	eax, -33[rax+rdx]
	cmp	eax, 469
	ja	.L6
	cmp	eax, 174
	ja	.L4
	lea	edx, -94[rax]
	mov	rax, QWORD PTR jisx0212_2uni_page22[rip]
	movzx	eax, WORD PTR [rax+rdx*2]
.L7:
	cmp	ax, -3
	je	.L4
	mov	QWORD PTR [rsi], rax
	mov	eax, 2
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	cmp	eax, 751
	jbe	.L15
	cmp	eax, 1409
	ja	.L9
	cmp	eax, 1026
	jbe	.L16
.L4:
	mov	eax, DWORD PTR RET_ILSEQ[rip]
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	movabs	rdi, 16234976378880
	bt	rdi, rax
	jnc	.L4
	cmp	ecx, 1
	jg	.L17
.L5:
	xor	edi, edi
	jmp	RET_TOOFEW@PLT
	.p2align 4,,10
	.p2align 3
.L15:
	cmp	eax, 657
	ja	.L4
	lea	edx, -470[rax]
	mov	rax, QWORD PTR jisx0212_2uni_page26[rip]
	movzx	eax, WORD PTR [rax+rdx*2]
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L9:
	cmp	eax, 7210
	ja	.L4
	lea	edx, -1410[rax]
	mov	rax, QWORD PTR jisx0212_2uni_page30[rip]
	movzx	eax, WORD PTR [rax+rdx*2]
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L16:
	lea	edx, -752[rax]
	mov	rax, QWORD PTR jisx0212_2uni_page29[rip]
	movzx	eax, WORD PTR [rax+rdx*2]
	jmp	.L7
	.cfi_endproc
.LFE0:
	.size	jisx0212_mbtowc, .-jisx0212_mbtowc
	.comm	jisx0212_2uni_page30,8,8
	.comm	jisx0212_2uni_page29,8,8
	.comm	jisx0212_2uni_page26,8,8
	.comm	jisx0212_2uni_page22,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_jisx0212.h_jisx0212_mbtowc.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	jisx0212_mbtowc, %function
jisx0212_mbtowc:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	@ link register save eliminated.
	ldrb	r0, [r2]	@ zero_extendqisi2
	sub	ip, r0, #38
	cmp	r0, #34
	cmpne	ip, #1
	bls	.L2
	sub	ip, r0, #41
	cmp	ip, #2
	bhi	.L11
.L2:
	cmp	r3, #1
	ble	.L4
	ldrb	r3, [r2, #1]	@ zero_extendqisi2
	sub	r3, r3, #33
	and	r2, r3, #255
	cmp	r2, #93
	bhi	.L3
	sub	r0, r0, #33
	add	r2, r0, r0, lsl #1
	rsb	r0, r0, r2, lsl #4
	ldr	r2, .L12
	add	r0, r3, r0, lsl #1
	cmp	r0, r2
	bhi	.L5
	cmp	r0, #174
	bhi	.L3
	ldr	r3, .L12+4
	ldr	r3, [r3]
	add	r0, r3, r0, lsl #1
	ldrh	r3, [r0, #-188]
.L6:
	ldr	r2, .L12+8
	cmp	r3, r2
	beq	.L3
	mov	r0, #2
	str	r3, [r1]
	bx	lr
.L11:
	sub	ip, r0, #48
	cmp	ip, #61
	bls	.L2
.L3:
	ldr	r3, .L12+12
	ldr	r0, [r3]
	bx	lr
.L5:
	cmp	r0, #752
	bcs	.L7
	ldr	r3, .L12+16
	cmp	r0, r3
	bhi	.L3
	ldr	r3, .L12+20
	sub	r0, r0, #468
	ldr	r3, [r3]
	sub	r0, r0, #-2147483646
	lsl	r0, r0, #1
	ldrh	r3, [r3, r0]
	b	.L6
.L7:
	ldr	r3, .L12+24
	cmp	r0, r3
	bhi	.L8
	ldr	r3, .L12+28
	cmp	r0, r3
	bhi	.L3
	ldr	r3, .L12+32
	add	r0, r0, #-2147483648
	ldr	r3, [r3]
	sub	r0, r0, #752
	lsl	r0, r0, #1
	ldrh	r3, [r3, r0]
	b	.L6
.L4:
	mov	r0, #0
	b	RET_TOOFEW
.L8:
	ldr	r3, .L12+36
	cmp	r0, r3
	bhi	.L3
	ldr	r3, .L12+40
	sub	r0, r0, #1408
	ldr	r3, [r3]
	sub	r0, r0, #-2147483646
	lsl	r0, r0, #1
	ldrh	r3, [r3, r0]
	b	.L6
.L13:
	.align	2
.L12:
	.word	469
	.word	jisx0212_2uni_page22
	.word	65533
	.word	RET_ILSEQ
	.word	657
	.word	jisx0212_2uni_page26
	.word	1409
	.word	1026
	.word	jisx0212_2uni_page29
	.word	7210
	.word	jisx0212_2uni_page30
	.size	jisx0212_mbtowc, .-jisx0212_mbtowc
	.comm	jisx0212_2uni_page30,4,4
	.comm	jisx0212_2uni_page29,4,4
	.comm	jisx0212_2uni_page26,4,4
	.comm	jisx0212_2uni_page22,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
