	.file	"extr_nls_cp865.c_uni2char.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	uni2char, @function
uni2char:
.LFB0:
	.cfi_startproc
	endbr64
	test	edx, edx
	jle	.L12
	mov	rcx, QWORD PTR page_uni2charset[rip]
	mov	eax, edi
	movzx	edx, ah
	mov	rdx, QWORD PTR [rcx+rdx*8]
	test	rdx, rdx
	je	.L4
	movzx	eax, dil
	movzx	eax, BYTE PTR [rdx+rax]
	test	al, al
	je	.L4
	mov	BYTE PTR [rsi], al
	mov	eax, 1
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	mov	eax, DWORD PTR EINVAL[rip]
	neg	eax
	ret
	.p2align 4,,10
	.p2align 3
.L12:
	mov	eax, DWORD PTR ENAMETOOLONG[rip]
	neg	eax
	ret
	.cfi_endproc
.LFE0:
	.size	uni2char, .-uni2char
	.comm	page_uni2charset,8,8
	.comm	ENAMETOOLONG,4,4
	.comm	EINVAL,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_nls_cp865.c_uni2char.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	uni2char, %function
uni2char:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	@ link register save eliminated.
	cmp	r2, #0
	ble	.L12
	ldr	r2, .L13
	asr	r3, r0, #8
	ldr	r2, [r2]
	and	r3, r3, #255
	ldr	r3, [r2, r3, lsl #2]
	cmp	r3, #0
	beq	.L4
	and	r0, r0, #255
	ldrb	r3, [r3, r0]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L4
	mov	r0, #1
	strb	r3, [r1]
	bx	lr
.L4:
	ldr	r3, .L13+4
	ldr	r0, [r3]
	rsb	r0, r0, #0
	bx	lr
.L12:
	ldr	r3, .L13+8
	ldr	r0, [r3]
	rsb	r0, r0, #0
	bx	lr
.L14:
	.align	2
.L13:
	.word	page_uni2charset
	.word	EINVAL
	.word	ENAMETOOLONG
	.size	uni2char, .-uni2char
	.comm	page_uni2charset,4,4
	.comm	ENAMETOOLONG,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
