	.file	"extr_nls_cp949.c_char2uni.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	char2uni, @function
char2uni:
.LFB0:
	.cfi_startproc
	endbr64
	test	esi, esi
	jle	.L14
	movzx	eax, BYTE PTR [rdi]
	cmp	esi, 1
	je	.L5
	movzx	esi, BYTE PTR 1[rdi]
	mov	rdi, QWORD PTR page_charset2uni[rip]
	movzx	ecx, al
	mov	rcx, QWORD PTR [rdi+rcx*8]
	test	rcx, rcx
	je	.L5
	test	sil, sil
	je	.L5
	mov	ecx, DWORD PTR [rcx+rsi*4]
	mov	eax, 2
	mov	DWORD PTR [rdx], ecx
	test	ecx, ecx
	je	.L15
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	mov	DWORD PTR [rdx], eax
	mov	eax, 1
	ret
	.p2align 4,,10
	.p2align 3
.L14:
	mov	eax, DWORD PTR ENAMETOOLONG[rip]
	neg	eax
	ret
	.p2align 4,,10
	.p2align 3
.L15:
	mov	eax, DWORD PTR EINVAL[rip]
	neg	eax
	ret
	.cfi_endproc
.LFE0:
	.size	char2uni, .-char2uni
	.comm	page_charset2uni,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_cp949.c_char2uni.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	char2uni, %function
char2uni:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	@ link register save eliminated.
	cmp	r1, #0
	ble	.L8
	cmp	r1, #1
	ldrb	r3, [r0]	@ zero_extendqisi2
	beq	.L5
	ldr	r1, .L10
	ldrb	r0, [r0, #1]	@ zero_extendqisi2
	ldr	r1, [r1]
	ldr	r1, [r1, r3, lsl #2]
	cmp	r1, #0
	cmpne	r0, #0
	beq	.L5
	ldr	r3, [r1, r0, lsl #2]
	cmp	r3, #0
	str	r3, [r2]
	beq	.L9
	mov	r0, #2
	bx	lr
.L5:
	mov	r0, #1
	str	r3, [r2]
	bx	lr
.L8:
	ldr	r3, .L10+4
	ldr	r0, [r3]
	rsb	r0, r0, #0
	bx	lr
.L9:
	ldr	r3, .L10+8
	ldr	r0, [r3]
	rsb	r0, r0, #0
	bx	lr
.L11:
	.align	2
.L10:
	.word	page_charset2uni
	.word	ENAMETOOLONG
	.word	EINVAL
	.size	char2uni, .-char2uni
	.comm	page_charset2uni,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
