	.file	"extr_keyboard.c_k_unicode.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	k_unicode, @function
k_unicode:
.LFB0:
	.cfi_startproc
	endbr64
	test	dl, dl
	jne	.L12
	mov	eax, DWORD PTR diacr[rip]
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	test	eax, eax
	jne	.L16
	cmp	QWORD PTR dead_key_next[rip], 0
	jne	.L17
.L5:
	mov	rax, QWORD PTR kbd[rip]
	mov	rcx, QWORD PTR VC_UNICODE[rip]
	cmp	QWORD PTR [rax], rcx
	je	.L18
	mov	edi, esi
	call	conv_uni_to_8bit@PLT
	mov	esi, eax
	cmp	eax, -1
	jne	.L19
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L17:
	.cfi_restore_state
	mov	QWORD PTR dead_key_next[rip], 0
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	mov	DWORD PTR diacr[rip], esi
	ret
	.p2align 4,,10
	.p2align 3
.L16:
	.cfi_restore_state
	call	handle_diacr@PLT
	cmp	QWORD PTR dead_key_next[rip], 0
	mov	esi, eax
	je	.L5
	jmp	.L17
	.p2align 4,,10
	.p2align 3
.L12:
	.cfi_def_cfa_offset 8
	.cfi_restore 6
	ret
	.p2align 4,,10
	.p2align 3
.L19:
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rdi, rbp
	pop	rbp
	.cfi_remember_state
	.cfi_restore 6
	.cfi_def_cfa_offset 8
	jmp	put_queue@PLT
	.p2align 4,,10
	.p2align 3
.L18:
	.cfi_restore_state
	mov	rdi, rbp
	pop	rbp
	.cfi_restore 6
	.cfi_def_cfa_offset 8
	jmp	to_utf8@PLT
	.cfi_endproc
.LFE0:
	.size	k_unicode, .-k_unicode
	.comm	kbd,8,8
	.comm	diacr,4,4
	.comm	dead_key_next,8,8
	.comm	VC_UNICODE,8,8
	.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_keyboard.c_k_unicode.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	k_unicode, %function
k_unicode:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	cmp	r2, #0
	bxne	lr
	push	{r4, r5, r6, lr}
	ldr	r5, .L22
	mov	r4, r0
	ldr	r2, [r5]
	mov	r3, r1
	cmp	r2, #0
	bne	.L19
	ldr	r2, .L22+4
	ldr	r1, [r2]
	cmp	r1, #0
	bne	.L20
.L5:
	ldr	r1, .L22+8
	ldr	r2, .L22+12
	ldr	r1, [r1]
	ldr	r2, [r2]
	ldr	r1, [r1]
	cmp	r1, r2
	beq	.L21
	mov	r0, r3
	bl	conv_uni_to_8bit
	cmn	r0, #1
	popeq	{r4, r5, r6, pc}
	mov	r1, r0
	mov	r0, r4
	pop	{r4, r5, r6, lr}
	b	put_queue
.L20:
	mov	r1, #0
	str	r3, [r5]
	str	r1, [r2]
	pop	{r4, r5, r6, pc}
.L19:
	bl	handle_diacr
	ldr	r2, .L22+4
	mov	r3, r0
	ldr	r1, [r2]
	cmp	r1, #0
	beq	.L5
	b	.L20
.L21:
	mov	r0, r4
	pop	{r4, r5, r6, lr}
	mov	r1, r3
	b	to_utf8
.L23:
	.align	2
.L22:
	.word	diacr
	.word	dead_key_next
	.word	kbd
	.word	VC_UNICODE
	.size	k_unicode, .-k_unicode
	.comm	kbd,4,4
	.comm	diacr,4,4
	.comm	dead_key_next,4,4
	.comm	VC_UNICODE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
