	.file	"extr_gb18030ext.h_gb18030ext_wctomb.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	gb18030ext_wctomb, @function
gb18030ext_wctomb:
.LFB0:
	.cfi_startproc
	endbr64
	mov	eax, DWORD PTR RET_TOOSMALL[rip]
	cmp	ecx, 1
	jle	.L1
	cmp	edx, 505
	je	.L19
	cmp	edx, 8364
	je	.L20
	lea	eax, -11904[rdx]
	cmp	eax, 79
	ja	.L4
	mov	rax, QWORD PTR gb18030ext_page2e[rip]
	movsx	rdx, edx
	movzx	eax, WORD PTR -23808[rax+rdx*2]
.L5:
	movzx	edx, ah
	test	ax, ax
	jne	.L3
.L17:
	mov	eax, DWORD PTR RET_ILUNI[rip]
.L1:
	ret
.L16:
	cmp	edx, 19886
	jne	.L17
	mov	eax, -97
	mov	edx, -2
.L3:
	mov	BYTE PTR 1[rsi], al
	mov	eax, 2
	mov	BYTE PTR [rsi], dl
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	lea	eax, -12272[rdx]
	cmp	eax, 15
	jbe	.L38
	cmp	edx, 12350
	je	.L21
	lea	eax, -13376[rdx]
	cmp	eax, 55
	jbe	.L39
	cmp	edx, 13726
	je	.L22
	lea	eax, -13832[rdx]
	cmp	eax, 23
	ja	.L8
	mov	rax, QWORD PTR gb18030ext_page36[rip]
	movsx	rdx, edx
	movzx	eax, WORD PTR -27664[rax+rdx*2]
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L38:
	mov	rax, QWORD PTR gb18030ext_page2f[rip]
	movsx	rdx, edx
	movzx	eax, WORD PTR -24544[rax+rdx*2]
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L20:
	mov	eax, -29
	mov	edx, -94
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L19:
	mov	eax, -65
	mov	edx, -88
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L39:
	mov	rax, QWORD PTR gb18030ext_page34[rip]
	movsx	rdx, edx
	movzx	eax, WORD PTR -26752[rax+rdx*2]
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L8:
	cmp	edx, 14616
	je	.L23
	cmp	edx, 14702
	je	.L24
	lea	eax, -14792[rdx]
	cmp	eax, 23
	ja	.L9
	mov	rax, QWORD PTR gb18030ext_page39[rip]
	movsx	rdx, edx
	movzx	eax, WORD PTR -29584[rax+rdx*2]
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L21:
	mov	eax, -119
	mov	edx, -87
	jmp	.L3
.L9:
	cmp	edx, 14963
	je	.L25
	cmp	edx, 15182
	je	.L26
	cmp	edx, 15470
	je	.L27
	cmp	edx, 15584
	je	.L28
	cmp	edx, 16470
	je	.L29
	cmp	edx, 16735
	je	.L30
	cmp	edx, 17207
	je	.L31
	lea	eax, -17320[rdx]
	cmp	eax, 55
	ja	.L10
	mov	rax, QWORD PTR gb18030ext_page43[rip]
	movsx	rdx, edx
	movzx	eax, WORD PTR -34640[rax+rdx*2]
	jmp	.L5
.L22:
	mov	eax, 90
	mov	edx, -2
	jmp	.L3
.L23:
	mov	eax, 96
	mov	edx, -2
	jmp	.L3
.L24:
	mov	eax, 95
	mov	edx, -2
	jmp	.L3
.L10:
	cmp	edx, 17622
	je	.L32
	lea	eax, -17992[rdx]
	cmp	eax, 31
	ja	.L11
	mov	rax, QWORD PTR gb18030ext_page46[rip]
	movsx	rdx, edx
	movzx	eax, WORD PTR -35984[rax+rdx*2]
	jmp	.L5
.L25:
	mov	eax, 100
	mov	edx, -2
	jmp	.L3
.L26:
	mov	eax, 104
	mov	edx, -2
	jmp	.L3
.L27:
	mov	eax, 105
	mov	edx, -2
	jmp	.L3
.L11:
	lea	eax, -18208[rdx]
	cmp	eax, 15
	ja	.L12
	mov	rax, QWORD PTR gb18030ext_page47_1[rip]
	movsx	rdx, edx
	movzx	eax, WORD PTR -36416[rax+rdx*2]
	jmp	.L5
.L28:
	mov	eax, 106
	mov	edx, -2
	jmp	.L3
.L29:
	mov	eax, 111
	mov	edx, -2
	jmp	.L3
.L30:
	mov	eax, 112
	mov	edx, -2
	jmp	.L3
.L31:
	mov	eax, 114
	mov	edx, -2
	jmp	.L3
.L12:
	lea	eax, -18296[rdx]
	cmp	eax, 23
	ja	.L13
	mov	rax, QWORD PTR gb18030ext_page47_2[rip]
	movsx	rdx, edx
	movzx	eax, WORD PTR -36592[rax+rdx*2]
	jmp	.L5
.L32:
	mov	eax, 123
	mov	edx, -2
	jmp	.L3
.L13:
	lea	eax, -18752[rdx]
	cmp	eax, 119
	ja	.L14
	mov	rax, QWORD PTR gb18030ext_page49[rip]
	movsx	rdx, edx
	movzx	eax, WORD PTR -37504[rax+rdx*2]
	jmp	.L5
.L14:
	lea	eax, -19568[rdx]
	cmp	eax, 55
	ja	.L15
	mov	rax, QWORD PTR gb18030ext_page4c[rip]
	movsx	rdx, edx
	movzx	eax, WORD PTR -39136[rax+rdx*2]
	jmp	.L5
.L15:
	lea	eax, -19728[rdx]
	cmp	eax, 15
	ja	.L16
	mov	rax, QWORD PTR gb18030ext_page4d[rip]
	movsx	rdx, edx
	movzx	eax, WORD PTR -39456[rax+rdx*2]
	jmp	.L5
	.cfi_endproc
.LFE0:
	.size	gb18030ext_wctomb, .-gb18030ext_wctomb
	.comm	gb18030ext_page4d,8,8
	.comm	gb18030ext_page4c,8,8
	.comm	gb18030ext_page49,8,8
	.comm	gb18030ext_page47_2,8,8
	.comm	gb18030ext_page47_1,8,8
	.comm	gb18030ext_page46,8,8
	.comm	gb18030ext_page43,8,8
	.comm	gb18030ext_page39,8,8
	.comm	gb18030ext_page36,8,8
	.comm	gb18030ext_page34,8,8
	.comm	gb18030ext_page2f,8,8
	.comm	gb18030ext_page2e,8,8
	.comm	RET_TOOSMALL,4,4
	.comm	RET_ILUNI,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_gb18030ext.h_gb18030ext_wctomb.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	gb18030ext_wctomb, %function
gb18030ext_wctomb:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	@ link register save eliminated.
	cmp	r3, #1
	ble	.L2
	ldr	r3, .L40
	cmp	r2, r3
	beq	.L19
	ldr	r3, .L40+4
	cmp	r2, r3
	beq	.L20
	sub	r3, r2, #11904
	cmp	r3, #79
	bhi	.L4
	ldr	r3, .L40+8
	add	r2, r2, #-2147483648
	ldr	r3, [r3]
	sub	r2, r2, #11904
	lsl	r2, r2, #1
	ldrh	r3, [r3, r2]
.L5:
	cmp	r3, #0
	lsrne	r2, r3, #8
	andne	r3, r3, #255
	bne	.L3
.L17:
	ldr	r3, .L40+12
	ldr	r0, [r3]
	bx	lr
.L2:
	ldr	r3, .L40+16
	ldr	r0, [r3]
	bx	lr
.L16:
	ldr	r3, .L40+20
	cmp	r2, r3
	bne	.L17
	mov	r3, #159
	mov	r2, #254
.L3:
	mov	r0, #2
	strb	r2, [r1]
	strb	r3, [r1, #1]
	bx	lr
.L4:
	sub	r3, r2, #12224
	sub	r0, r3, #48
	cmp	r0, #15
	bls	.L38
	ldr	r3, .L40+24
	cmp	r2, r3
	beq	.L21
	sub	r3, r2, #13376
	cmp	r3, #55
	bls	.L39
	ldr	r3, .L40+28
	cmp	r2, r3
	beq	.L22
	sub	r3, r2, #13824
	sub	r0, r3, #8
	cmp	r0, #23
	bhi	.L8
	ldr	r2, .L40+32
	ldr	r2, [r2]
	add	r3, r2, r3, lsl #1
	ldrh	r3, [r3, #-16]
	b	.L5
.L38:
	ldr	r2, .L40+36
	ldr	r2, [r2]
	add	r3, r2, r3, lsl #1
	ldrh	r3, [r3, #-96]
	b	.L5
.L20:
	mov	r3, #227
	mov	r2, #162
	b	.L3
.L19:
	mov	r3, #191
	mov	r2, #168
	b	.L3
.L39:
	ldr	r3, .L40+40
	add	r2, r2, #-2147483648
	ldr	r3, [r3]
	sub	r2, r2, #13376
	lsl	r2, r2, #1
	ldrh	r3, [r3, r2]
	b	.L5
.L8:
	ldr	r3, .L40+44
	cmp	r2, r3
	beq	.L23
	add	r3, r3, #86
	cmp	r2, r3
	beq	.L24
	sub	r3, r2, #14784
	sub	r0, r3, #8
	cmp	r0, #23
	bhi	.L9
	ldr	r2, .L40+48
	ldr	r2, [r2]
	add	r3, r2, r3, lsl #1
	ldrh	r3, [r3, #-16]
	b	.L5
.L21:
	mov	r3, #137
	mov	r2, #169
	b	.L3
.L9:
	ldr	r3, .L40+52
	cmp	r2, r3
	beq	.L25
	add	r3, r3, #219
	cmp	r2, r3
	beq	.L26
	add	r3, r3, #288
	cmp	r2, r3
	beq	.L27
	add	r3, r3, #114
	cmp	r2, r3
	beq	.L28
	ldr	r3, .L40+56
	cmp	r2, r3
	beq	.L29
	ldr	r3, .L40+60
	cmp	r2, r3
	beq	.L30
	add	r3, r3, #472
	cmp	r2, r3
	beq	.L31
	sub	r3, r2, #17152
	sub	r3, r3, #168
	cmp	r3, #55
	bhi	.L10
	ldr	r3, .L40+64
	ldr	r0, .L40+68
	add	r3, r2, r3
	ldr	r2, [r0]
	lsl	r3, r3, #1
	ldrh	r3, [r2, r3]
	b	.L5
.L22:
	mov	r3, #90
	mov	r2, #254
	b	.L3
.L23:
	mov	r3, #96
	mov	r2, #254
	b	.L3
.L24:
	mov	r3, #95
	mov	r2, #254
	b	.L3
.L10:
	ldr	r3, .L40+72
	cmp	r2, r3
	beq	.L32
	sub	r3, r2, #17920
	sub	r3, r3, #72
	cmp	r3, #31
	bhi	.L11
	ldr	r3, .L40+76
	ldr	r0, .L40+80
	add	r3, r2, r3
	ldr	r2, [r0]
	lsl	r3, r3, #1
	ldrh	r3, [r2, r3]
	b	.L5
.L25:
	mov	r3, #100
	mov	r2, #254
	b	.L3
.L26:
	mov	r3, #104
	mov	r2, #254
	b	.L3
.L27:
	mov	r3, #105
	mov	r2, #254
	b	.L3
.L11:
	sub	r3, r2, #18176
	sub	r0, r3, #32
	cmp	r0, #15
	bhi	.L12
	ldr	r2, .L40+84
	ldr	r2, [r2]
	add	r3, r2, r3, lsl #1
	ldrh	r3, [r3, #-64]
	b	.L5
.L28:
	mov	r3, #106
	mov	r2, #254
	b	.L3
.L29:
	mov	r3, #111
	mov	r2, #254
	b	.L3
.L30:
	mov	r3, #112
	mov	r2, #254
	b	.L3
.L31:
	mov	r3, #114
	mov	r2, #254
	b	.L3
.L12:
	sub	r3, r3, #120
	cmp	r3, #23
	bhi	.L13
	ldr	r3, .L40+88
	ldr	r0, .L40+92
	add	r3, r2, r3
	ldr	r2, [r0]
	lsl	r3, r3, #1
	ldrh	r3, [r2, r3]
	b	.L5
.L32:
	mov	r3, #123
	mov	r2, #254
	b	.L3
.L13:
	sub	r3, r2, #18688
	sub	r3, r3, #64
	cmp	r3, #119
	bhi	.L14
	ldr	r3, .L40+96
	ldr	r0, .L40+100
	add	r3, r2, r3
	ldr	r2, [r0]
	lsl	r3, r3, #1
	ldrh	r3, [r2, r3]
	b	.L5
.L14:
	sub	r3, r2, #19456
	sub	r3, r3, #112
	cmp	r3, #55
	bhi	.L15
	ldr	r3, .L40+104
	ldr	r0, .L40+108
	add	r3, r2, r3
	ldr	r2, [r0]
	lsl	r3, r3, #1
	ldrh	r3, [r2, r3]
	b	.L5
.L15:
	sub	r0, r2, #19712
	sub	r3, r0, #16
	cmp	r3, #15
	bhi	.L16
	ldr	r3, .L40+112
	ldr	r3, [r3]
	add	r3, r3, r0, lsl #1
	ldrh	r3, [r3, #-32]
	b	.L5
.L41:
	.align	2
.L40:
	.word	505
	.word	8364
	.word	gb18030ext_page2e
	.word	RET_ILUNI
	.word	RET_TOOSMALL
	.word	19886
	.word	12350
	.word	13726
	.word	gb18030ext_page36
	.word	gb18030ext_page2f
	.word	gb18030ext_page34
	.word	14616
	.word	gb18030ext_page39
	.word	14963
	.word	16470
	.word	16735
	.word	2147466328
	.word	gb18030ext_page43
	.word	17622
	.word	2147465656
	.word	gb18030ext_page46
	.word	gb18030ext_page47_1
	.word	2147465352
	.word	gb18030ext_page47_2
	.word	2147464896
	.word	gb18030ext_page49
	.word	2147464080
	.word	gb18030ext_page4c
	.word	gb18030ext_page4d
	.size	gb18030ext_wctomb, .-gb18030ext_wctomb
	.comm	gb18030ext_page4d,4,4
	.comm	gb18030ext_page4c,4,4
	.comm	gb18030ext_page49,4,4
	.comm	gb18030ext_page47_2,4,4
	.comm	gb18030ext_page47_1,4,4
	.comm	gb18030ext_page46,4,4
	.comm	gb18030ext_page43,4,4
	.comm	gb18030ext_page39,4,4
	.comm	gb18030ext_page36,4,4
	.comm	gb18030ext_page34,4,4
	.comm	gb18030ext_page2f,4,4
	.comm	gb18030ext_page2e,4,4
	.comm	RET_TOOSMALL,4,4
	.comm	RET_ILUNI,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
