	.file	"extr_cp874.h_cp874_wctomb.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	cp874_wctomb, @function
cp874_wctomb:
.LFB0:
	.cfi_startproc
	endbr64
	cmp	edx, 127
	jle	.L15
	cmp	edx, 160
	je	.L9
	lea	eax, -3584[rdx]
	cmp	eax, 95
	ja	.L5
	mov	rax, QWORD PTR cp874_page0e[rip]
	movsx	rdx, edx
	movzx	eax, BYTE PTR -3584[rax+rdx]
	test	al, al
	jne	.L4
.L8:
	mov	eax, DWORD PTR RET_ILUNI[rip]
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	lea	eax, -8208[rdx]
	cmp	eax, 23
	ja	.L7
	mov	rax, QWORD PTR cp874_page20[rip]
	movsx	rdx, edx
	movzx	eax, BYTE PTR -8208[rax+rdx]
	test	al, al
	je	.L8
.L4:
	mov	BYTE PTR [rsi], al
	mov	eax, 1
	ret
	.p2align 4,,10
	.p2align 3
.L15:
	mov	BYTE PTR [rsi], dl
	mov	eax, 1
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	cmp	edx, 8364
	jne	.L8
	mov	eax, -128
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L9:
	mov	eax, -96
	mov	BYTE PTR [rsi], al
	mov	eax, 1
	ret
	.cfi_endproc
.LFE0:
	.size	cp874_wctomb, .-cp874_wctomb
	.comm	cp874_page20,8,8
	.comm	cp874_page0e,8,8
	.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_cp874.h_cp874_wctomb.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	cp874_wctomb, %function
cp874_wctomb:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	@ link register save eliminated.
	cmp	r2, #127
	ble	.L4
	cmp	r2, #160
	beq	.L4
	sub	r3, r2, #3584
	cmp	r3, #95
	bhi	.L5
	ldr	r2, .L16
	ldr	r2, [r2]
	ldrb	r2, [r2, r3]	@ zero_extendqisi2
.L6:
	cmp	r2, #0
	bne	.L4
.L8:
	ldr	r3, .L16+4
	ldr	r0, [r3]
	bx	lr
.L5:
	sub	r3, r2, #8192
	sub	r3, r3, #16
	cmp	r3, #23
	bls	.L15
	ldr	r3, .L16+8
	cmp	r2, r3
	bne	.L8
	mov	r2, #128
.L4:
	mov	r0, #1
	strb	r2, [r1]
	bx	lr
.L15:
	ldr	r2, .L16+12
	ldr	r2, [r2]
	ldrb	r2, [r2, r3]	@ zero_extendqisi2
	b	.L6
.L17:
	.align	2
.L16:
	.word	cp874_page0e
	.word	RET_ILUNI
	.word	8364
	.word	cp874_page20
	.size	cp874_wctomb, .-cp874_wctomb
	.comm	cp874_page20,4,4
	.comm	cp874_page0e,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
