	.file	"extr_vkbd.c_vkbd_read_char.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	vkbd_read_char, @function
vkbd_read_char:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14, rdi
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	ebp, esi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	lea	rbx, .L61[rip]
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	r15, QWORD PTR 16[rdi]
	mov	rdi, r15
	lea	r13, 28[r15]
	lea	r12, 32[r15]
	call	VKBD_LOCK@PLT
	mov	edi, DWORD PTR [r15]
	mov	eax, DWORD PTR COMPOSE[rip]
.L2:
	test	edi, eax
	jne	.L4
	mov	rax, QWORD PTR 8[r15]
	test	rax, rax
	jg	.L98
.L4:
	mov	esi, ebp
	mov	rdi, r15
	call	vkbd_data_read@PLT
	mov	edx, eax
	cmp	eax, -1
	je	.L99
	add	DWORD PTR 8[r14], 1
	mov	rcx, QWORD PTR 16[r15]
	cmp	rcx, QWORD PTR K_RAW[rip]
	je	.L66
	mov	esi, eax
	mov	eax, DWORD PTR 24[r15]
	and	esi, 127
	cmp	eax, 224
	je	.L9
	jg	.L10
	test	eax, eax
	je	.L11
	cmp	eax, 29
	jne	.L13
	mov	DWORD PTR 24[r15], 0
	cmp	esi, 69
	jne	.L3
.L49:
	mov	rax, QWORD PTR [r14]
	cmp	rax, QWORD PTR KB_84[rip]
	je	.L47
	cmp	rax, QWORD PTR KB_101[rip]
	je	.L53
.L47:
	mov	esi, 104
	.p2align 4,,10
	.p2align 3
.L43:
	and	edx, 128
	cmp	rcx, QWORD PTR K_CODE[rip]
	je	.L100
.L55:
	mov	edi, DWORD PTR [r15]
	mov	eax, DWORD PTR COMPOSE[rip]
	test	edi, eax
	je	.L56
	mov	ecx, esi
	or	ecx, edx
	cmp	ecx, 82
	jg	.L57
	cmp	ecx, 55
	jle	.L59
	sub	ecx, 56
	cmp	ecx, 26
	ja	.L59
	movsx	rcx, DWORD PTR [rbx+rcx*4]
	add	rcx, rbx
	notrack jmp	rcx
	.section	.rodata
	.align 4
	.align 4
.L61:
	.long	.L56-.L61
	.long	.L59-.L61
	.long	.L59-.L61
	.long	.L59-.L61
	.long	.L59-.L61
	.long	.L59-.L61
	.long	.L59-.L61
	.long	.L59-.L61
	.long	.L59-.L61
	.long	.L59-.L61
	.long	.L59-.L61
	.long	.L59-.L61
	.long	.L59-.L61
	.long	.L59-.L61
	.long	.L59-.L61
	.long	.L64-.L61
	.long	.L64-.L61
	.long	.L64-.L61
	.long	.L59-.L61
	.long	.L63-.L61
	.long	.L63-.L61
	.long	.L63-.L61
	.long	.L59-.L61
	.long	.L62-.L61
	.long	.L62-.L61
	.long	.L62-.L61
	.long	.L60-.L61
	.text
	.p2align 4,,10
	.p2align 3
.L57:
	sub	ecx, 199
	cmp	ecx, 11
	ja	.L59
	mov	r8d, 1
	sal	r8, cl
	test	r8d, 3959
	jne	.L2
.L59:
	cmp	QWORD PTR 8[r15], 0
	jg	.L101
.L56:
	mov	r8, r13
	mov	rcx, r12
	mov	rdi, r14
	call	genkbd_keyaction@PLT
	cmp	DWORD PTR NOKEY[rip], eax
	mov	edx, eax
	jne	.L66
.L3:
	mov	edi, DWORD PTR [r15]
	mov	eax, DWORD PTR COMPOSE[rip]
	jmp	.L2
.L60:
	mov	rdx, QWORD PTR 8[r15]
	movsx	rcx, DWORD PTR UCHAR_MAX[rip]
	lea	rdx, [rdx+rdx*4]
	add	rdx, rdx
	mov	QWORD PTR 8[r15], rdx
	cmp	rdx, rcx
	jle	.L2
	.p2align 4,,10
	.p2align 3
.L90:
	mov	rdi, r15
	call	VKBD_UNLOCK@PLT
	mov	edx, DWORD PTR ERRKEY[rip]
	jmp	.L1
.L62:
	mov	rdx, QWORD PTR 8[r15]
	sub	esi, 78
	lea	rdx, [rdx+rdx*4]
.L92:
	movsx	rsi, esi
	movsx	rcx, DWORD PTR UCHAR_MAX[rip]
	lea	rdx, [rsi+rdx*2]
	mov	QWORD PTR 8[r15], rdx
	cmp	rdx, rcx
	jle	.L2
	jmp	.L90
.L63:
	mov	rdx, QWORD PTR 8[r15]
	sub	esi, 71
	lea	rdx, [rdx+rdx*4]
	jmp	.L92
.L64:
	mov	rdx, QWORD PTR 8[r15]
	sub	esi, 64
	lea	rdx, [rdx+rdx*4]
	jmp	.L92
	.p2align 4,,10
	.p2align 3
.L10:
	cmp	eax, 225
	jne	.L13
	cmp	esi, 29
	mov	edx, 0
	mov	ecx, 29
	mov	edi, DWORD PTR [r15]
	cmove	edx, ecx
	mov	eax, DWORD PTR COMPOSE[rip]
	mov	DWORD PTR 24[r15], edx
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L13:
	mov	rax, QWORD PTR [r14]
	cmp	rax, QWORD PTR KB_84[rip]
	je	.L102
.L50:
	cmp	QWORD PTR KB_101[rip], rax
	jne	.L43
	cmp	esi, 92
	jne	.L103
.L46:
	mov	eax, DWORD PTR [r15]
	mov	esi, 84
	test	DWORD PTR ALTS[rip], eax
	jne	.L43
.L45:
	mov	esi, 92
.L105:
	and	edx, 128
	cmp	rcx, QWORD PTR K_CODE[rip]
	jne	.L55
	.p2align 4,,10
	.p2align 3
.L100:
	mov	rdi, r15
	mov	DWORD PTR 12[rsp], edx
	mov	DWORD PTR 8[rsp], esi
	call	VKBD_UNLOCK@PLT
	mov	esi, DWORD PTR 8[rsp]
	mov	edx, DWORD PTR 12[rsp]
	or	edx, esi
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L11:
	cmp	edx, 184
	je	.L15
	jg	.L16
	cmp	edx, 56
	jne	.L13
	mov	eax, DWORD PTR [r15]
	mov	edi, DWORD PTR COMPOSE[rip]
	test	eax, edi
	jne	.L20
	or	eax, edi
	mov	DWORD PTR [r15], eax
.L89:
	mov	QWORD PTR 8[r15], 0
.L20:
	mov	rax, QWORD PTR [r14]
	cmp	rax, QWORD PTR KB_84[rip]
	jne	.L50
	jmp	.L43
	.p2align 4,,10
	.p2align 3
.L16:
	lea	eax, -224[rdx]
	cmp	eax, 1
	ja	.L13
	mov	edi, DWORD PTR [r15]
	mov	eax, DWORD PTR COMPOSE[rip]
	mov	DWORD PTR 24[r15], edx
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L9:
	sub	esi, 28
	mov	DWORD PTR 24[r15], 0
	cmp	esi, 71
	ja	.L3
	lea	rdi, .L23[rip]
	movsx	rax, DWORD PTR [rdi+rsi*4]
	add	rax, rdi
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L23:
	.long	.L44-.L23
	.long	.L67-.L23
	.long	.L3-.L23
	.long	.L3-.L23
	.long	.L3-.L23
	.long	.L3-.L23
	.long	.L3-.L23
	.long	.L3-.L23
	.long	.L3-.L23
	.long	.L3-.L23
	.long	.L3-.L23
	.long	.L3-.L23
	.long	.L3-.L23
	.long	.L3-.L23
	.long	.L3-.L23
	.long	.L3-.L23
	.long	.L3-.L23
	.long	.L3-.L23
	.long	.L3-.L23
	.long	.L3-.L23
	.long	.L3-.L23
	.long	.L3-.L23
	.long	.L3-.L23
	.long	.L3-.L23
	.long	.L3-.L23
	.long	.L42-.L23
	.long	.L3-.L23
	.long	.L41-.L23
	.long	.L40-.L23
	.long	.L3-.L23
	.long	.L3-.L23
	.long	.L3-.L23
	.long	.L3-.L23
	.long	.L3-.L23
	.long	.L3-.L23
	.long	.L3-.L23
	.long	.L3-.L23
	.long	.L3-.L23
	.long	.L3-.L23
	.long	.L3-.L23
	.long	.L3-.L23
	.long	.L3-.L23
	.long	.L49-.L23
	.long	.L38-.L23
	.long	.L37-.L23
	.long	.L36-.L23
	.long	.L3-.L23
	.long	.L35-.L23
	.long	.L3-.L23
	.long	.L34-.L23
	.long	.L3-.L23
	.long	.L33-.L23
	.long	.L32-.L23
	.long	.L31-.L23
	.long	.L30-.L23
	.long	.L29-.L23
	.long	.L3-.L23
	.long	.L3-.L23
	.long	.L3-.L23
	.long	.L3-.L23
	.long	.L3-.L23
	.long	.L3-.L23
	.long	.L3-.L23
	.long	.L28-.L23
	.long	.L27-.L23
	.long	.L26-.L23
	.long	.L25-.L23
	.long	.L24-.L23
	.long	.L3-.L23
	.long	.L3-.L23
	.long	.L3-.L23
	.long	.L22-.L23
	.text
	.p2align 4,,10
	.p2align 3
.L102:
	cmp	esi, 69
	je	.L51
	cmp	esi, 70
	jne	.L104
	mov	eax, DWORD PTR [r15]
	test	DWORD PTR CTLS[rip], eax
	je	.L43
	mov	esi, 108
	jmp	.L43
	.p2align 4,,10
	.p2align 3
.L104:
	cmp	esi, 55
	jne	.L43
	mov	eax, DWORD PTR [r15]
	test	DWORD PTR SHIFTS[rip], eax
	je	.L43
	mov	esi, 92
	jmp	.L105
	.p2align 4,,10
	.p2align 3
.L103:
	cmp	esi, 104
	jne	.L43
.L53:
	mov	eax, DWORD PTR [r15]
	test	DWORD PTR CTLS[rip], eax
	je	.L47
	mov	esi, 108
	jmp	.L43
	.p2align 4,,10
	.p2align 3
.L51:
	mov	eax, DWORD PTR [r15]
	test	DWORD PTR CTLS[rip], eax
	jne	.L47
	jmp	.L43
	.p2align 4,,10
	.p2align 3
.L15:
	mov	edi, DWORD PTR [r15]
	mov	eax, DWORD PTR COMPOSE[rip]
	test	edi, eax
	je	.L20
	not	eax
	and	eax, edi
	mov	DWORD PTR [r15], eax
	movsx	rax, DWORD PTR UCHAR_MAX[rip]
	cmp	QWORD PTR 8[r15], rax
	jg	.L89
	mov	rax, QWORD PTR [r14]
	cmp	rax, QWORD PTR KB_84[rip]
	jne	.L50
	jmp	.L43
	.p2align 4,,10
	.p2align 3
.L98:
	cmp	DWORD PTR UCHAR_MAX[rip], eax
	mov	QWORD PTR 8[r15], 0
	mov	edx, eax
	jl	.L90
.L66:
	mov	rdi, r15
	mov	DWORD PTR 8[rsp], edx
	call	VKBD_UNLOCK@PLT
	mov	edx, DWORD PTR 8[rsp]
.L1:
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, edx
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L99:
	.cfi_restore_state
	mov	rdi, r15
	call	VKBD_UNLOCK@PLT
	mov	edx, DWORD PTR NOKEY[rip]
	jmp	.L1
.L42:
	mov	esi, 91
	jmp	.L43
.L41:
	mov	rax, QWORD PTR [r14]
	cmp	rax, QWORD PTR KB_84[rip]
	je	.L45
	cmp	rax, QWORD PTR KB_101[rip]
	jne	.L45
	jmp	.L46
.L40:
	mov	esi, 93
	jmp	.L43
.L38:
	mov	esi, 94
	jmp	.L43
.L37:
	mov	esi, 95
	jmp	.L43
.L36:
	mov	esi, 96
	jmp	.L43
.L35:
	mov	esi, 97
	jmp	.L43
.L26:
	mov	esi, 107
	jmp	.L43
.L25:
	mov	esi, 109
	jmp	.L43
.L24:
	mov	esi, 110
	jmp	.L43
.L22:
	mov	esi, 111
	jmp	.L43
.L34:
	mov	esi, 98
	jmp	.L43
.L33:
	mov	esi, 99
	jmp	.L43
.L32:
	mov	esi, 100
	jmp	.L43
.L31:
	mov	esi, 101
	jmp	.L43
.L30:
	mov	esi, 102
	jmp	.L43
.L29:
	mov	esi, 103
	jmp	.L43
.L28:
	mov	esi, 105
	jmp	.L43
.L27:
	mov	esi, 106
	jmp	.L43
.L67:
	mov	esi, 90
	jmp	.L43
.L44:
	mov	esi, 89
	jmp	.L43
.L101:
	not	eax
	mov	QWORD PTR 8[r15], 0
	and	edi, eax
	mov	DWORD PTR [r15], edi
	jmp	.L90
	.cfi_endproc
.LFE0:
	.size	vkbd_read_char, .-vkbd_read_char
	.comm	UCHAR_MAX,4,4
	.comm	SHIFTS,4,4
	.comm	NOKEY,4,4
	.comm	K_RAW,8,8
	.comm	K_CODE,8,8
	.comm	KB_84,8,8
	.comm	KB_101,8,8
	.comm	ERRKEY,4,4
	.comm	CTLS,4,4
	.comm	COMPOSE,4,4
	.comm	ALTS,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_vkbd.c_vkbd_read_char.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	vkbd_read_char, %function
vkbd_read_char:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r5, [r0, #8]
	ldr	r7, .L109
	mov	r6, r0
	sub	sp, sp, #20
	mov	r0, r5
	mov	r8, r1
	bl	VKBD_LOCK
	ldr	r0, [r5]
	ldr	ip, [r7]
	ldr	r9, .L109+4
	ldr	r10, .L109+8
	and	lr, ip, r0
.L2:
	cmp	lr, #0
	bne	.L4
	ldr	r0, [r5, #4]
	cmp	r0, #0
	bgt	.L101
.L4:
	mov	r1, r8
	mov	r0, r5
	bl	vkbd_data_read
	cmn	r0, #1
	beq	.L102
	ldr	r3, [r6, #4]
	ldr	ip, [r5, #8]
	ldr	r2, [r9]
	add	r3, r3, #1
	cmp	ip, r2
	str	r3, [r6, #4]
	beq	.L66
	ldr	r3, [r5, #12]
	and	r1, r0, #127
	cmp	r3, #224
	beq	.L9
	bgt	.L10
	cmp	r3, #0
	beq	.L11
	cmp	r3, #29
	bne	.L13
	mov	r3, #0
	cmp	r1, #69
	str	r3, [r5, #12]
	bne	.L3
.L49:
	ldr	r2, .L109+12
	ldr	r3, [r6]
	ldr	r2, [r2]
	cmp	r3, r2
	beq	.L47
	ldr	r2, .L109+16
	ldr	r2, [r2]
	cmp	r3, r2
	beq	.L53
.L47:
	mov	r1, #104
.L43:
	ldr	r3, [r10]
	and	r2, r0, #128
	cmp	ip, r3
	beq	.L103
.L55:
	ldr	r4, [r5]
	ldr	ip, [r7]
	ands	lr, r4, ip
	beq	.L56
	orr	r3, r2, r1
	cmp	r3, #82
	bgt	.L57
	cmp	r3, #55
	ble	.L59
	sub	r3, r3, #56
	cmp	r3, #26
	ldrls	pc, [pc, r3, asl #2]
	b	.L59
.L61:
	.word	.L56
	.word	.L59
	.word	.L59
	.word	.L59
	.word	.L59
	.word	.L59
	.word	.L59
	.word	.L59
	.word	.L59
	.word	.L59
	.word	.L59
	.word	.L59
	.word	.L59
	.word	.L59
	.word	.L59
	.word	.L64
	.word	.L64
	.word	.L64
	.word	.L59
	.word	.L63
	.word	.L63
	.word	.L63
	.word	.L59
	.word	.L62
	.word	.L62
	.word	.L62
	.word	.L60
.L57:
	sub	r3, r3, #199
	cmp	r3, #11
	bhi	.L59
	mov	fp, #1
	ldr	r0, .L109+20
	ands	r3, r0, fp, lsl r3
	bne	.L2
.L59:
	ldr	r3, [r5, #4]
	cmp	r3, #0
	bgt	.L104
.L56:
	add	r3, r5, #16
	str	r3, [sp]
	mov	r0, r6
	add	r3, r5, #20
	bl	genkbd_keyaction
	ldr	r3, .L109+24
	ldr	r3, [r3]
	cmp	r3, r0
	bne	.L66
.L3:
	ldr	r4, [r5]
	ldr	ip, [r7]
.L89:
	and	lr, ip, r4
	b	.L2
.L60:
	ldr	r3, [r5, #4]
	ldr	r2, .L109+28
	add	r3, r3, r3, lsl #2
	ldr	r2, [r2]
	lsl	r3, r3, #1
	cmp	r3, r2
	str	r3, [r5, #4]
	ble	.L2
.L92:
	mov	r0, r5
.L93:
	bl	VKBD_UNLOCK
	ldr	r3, .L109+32
	ldr	r4, [r3]
	mov	r0, r4
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L62:
	ldr	r3, [r5, #4]
	sub	r1, r1, #78
.L96:
	ldr	r2, .L109+28
	add	r3, r3, r3, lsl #2
	ldr	r2, [r2]
	add	r1, r1, r3, lsl #1
	cmp	r1, r2
	str	r1, [r5, #4]
	ble	.L2
	b	.L92
.L63:
	ldr	r3, [r5, #4]
	sub	r1, r1, #71
	b	.L96
.L64:
	ldr	r3, [r5, #4]
	sub	r1, r1, #64
	b	.L96
.L10:
	cmp	r3, #225
	bne	.L13
	mov	r3, #0
	cmp	r1, #29
	ldr	r4, [r5]
	ldr	ip, [r7]
	str	r3, [r5, #12]
	bne	.L89
	str	r1, [r5, #12]
	and	lr, ip, r4
	b	.L2
.L13:
	ldr	r2, .L109+12
	ldr	r3, [r6]
	ldr	r2, [r2]
	cmp	r3, r2
	beq	.L105
.L50:
	ldr	r2, .L109+16
	ldr	r2, [r2]
	cmp	r2, r3
	bne	.L43
	cmp	r1, #92
	bne	.L106
.L46:
	ldr	r3, .L109+36
	ldr	r2, [r5]
	ldr	r3, [r3]
	tst	r2, r3
	movne	r1, #84
	bne	.L43
.L45:
	mov	r1, #92
.L108:
	ldr	r3, [r10]
	and	r2, r0, #128
	cmp	ip, r3
	bne	.L55
.L103:
	mov	r0, r5
	str	r2, [sp, #12]
	str	r1, [sp, #8]
	bl	VKBD_UNLOCK
	ldr	r1, [sp, #8]
	ldr	r2, [sp, #12]
	orr	r4, r2, r1
	mov	r0, r4
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L11:
	cmp	r0, #184
	beq	.L15
	bgt	.L16
	cmp	r0, #56
	bne	.L13
	ldr	r3, [r5]
	ldr	r2, [r7]
	ands	lr, r3, r2
	orreq	r3, r3, r2
	stmeq	r5, {r3, lr}
.L20:
	ldr	r2, .L109+12
	ldr	r3, [r6]
	ldr	r2, [r2]
	cmp	r3, r2
	bne	.L50
	b	.L43
.L16:
	sub	r3, r0, #224
	cmp	r3, #1
	bhi	.L13
	ldr	r4, [r5]
	ldr	ip, [r7]
	str	r0, [r5, #12]
	and	lr, ip, r4
	b	.L2
.L9:
	mov	r3, #0
	sub	r1, r1, #28
	str	r3, [r5, #12]
	cmp	r1, #71
	ldrls	pc, [pc, r1, asl #2]
	b	.L3
.L23:
	.word	.L44
	.word	.L67
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L42
	.word	.L3
	.word	.L41
	.word	.L40
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L49
	.word	.L38
	.word	.L37
	.word	.L36
	.word	.L3
	.word	.L35
	.word	.L3
	.word	.L34
	.word	.L3
	.word	.L33
	.word	.L32
	.word	.L31
	.word	.L30
	.word	.L29
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L28
	.word	.L27
	.word	.L26
	.word	.L25
	.word	.L24
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L22
.L105:
	cmp	r1, #69
	beq	.L51
	cmp	r1, #70
	bne	.L107
	ldr	r3, .L109+40
	ldr	r2, [r5]
	ldr	r3, [r3]
	tst	r2, r3
	movne	r1, #108
	b	.L43
.L107:
	cmp	r1, #55
	bne	.L43
	ldr	r3, .L109+44
	ldr	r2, [r5]
	ldr	r3, [r3]
	tst	r2, r3
	beq	.L43
	mov	r1, #92
	b	.L108
.L106:
	cmp	r1, #104
	bne	.L43
.L53:
	ldr	r3, .L109+40
	ldr	r2, [r5]
	ldr	r3, [r3]
	tst	r2, r3
	beq	.L47
	mov	r1, #108
	b	.L43
.L51:
	ldr	r3, .L109+40
	ldr	r2, [r5]
	ldr	r3, [r3]
	tst	r2, r3
	bne	.L47
	b	.L43
.L15:
	ldr	r2, [r5]
	ldr	lr, [r7]
	tst	r2, lr
	beq	.L20
	bic	r2, r2, lr
	ldr	lr, .L109+28
	ldr	r4, [r5, #4]
	ldr	lr, [lr]
	str	r2, [r5]
	cmp	r4, lr
	strgt	r3, [r5, #4]
	b	.L20
.L66:
	mov	r4, r0
	mov	r0, r5
.L94:
	bl	VKBD_UNLOCK
	mov	r0, r4
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L102:
	mov	r0, r5
	bl	VKBD_UNLOCK
	ldr	r3, .L109+24
	ldr	r4, [r3]
	mov	r0, r4
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L27:
	mov	r1, #106
	b	.L43
.L42:
	mov	r1, #91
	b	.L43
.L41:
	ldr	r2, .L109+12
	ldr	r3, [r6]
	ldr	r2, [r2]
	cmp	r3, r2
	beq	.L45
	ldr	r2, .L109+16
	ldr	r2, [r2]
	cmp	r3, r2
	bne	.L45
	b	.L46
.L40:
	mov	r1, #93
	b	.L43
.L38:
	mov	r1, #94
	b	.L43
.L37:
	mov	r1, #95
	b	.L43
.L36:
	mov	r1, #96
	b	.L43
.L35:
	mov	r1, #97
	b	.L43
.L26:
	mov	r1, #107
	b	.L43
.L25:
	mov	r1, #109
	b	.L43
.L24:
	mov	r1, #110
	b	.L43
.L22:
	mov	r1, #111
	b	.L43
.L34:
	mov	r1, #98
	b	.L43
.L33:
	mov	r1, #99
	b	.L43
.L32:
	mov	r1, #100
	b	.L43
.L31:
	mov	r1, #101
	b	.L43
.L30:
	mov	r1, #102
	b	.L43
.L29:
	mov	r1, #103
	b	.L43
.L28:
	mov	r1, #105
	b	.L43
.L67:
	mov	r1, #90
	b	.L43
.L101:
	mov	r4, r0
	ldr	r3, .L109+28
	mov	r0, r5
	ldr	r3, [r3]
	str	lr, [r5, #4]
	cmp	r4, r3
	ble	.L94
	b	.L93
.L44:
	mov	r1, #89
	b	.L43
.L104:
	mov	r3, #0
	bic	r0, r4, ip
	stm	r5, {r0, r3}
	b	.L92
.L110:
	.align	2
.L109:
	.word	COMPOSE
	.word	K_RAW
	.word	K_CODE
	.word	KB_84
	.word	KB_101
	.word	3959
	.word	NOKEY
	.word	UCHAR_MAX
	.word	ERRKEY
	.word	ALTS
	.word	CTLS
	.word	SHIFTS
	.size	vkbd_read_char, .-vkbd_read_char
	.comm	UCHAR_MAX,4,4
	.comm	SHIFTS,4,4
	.comm	NOKEY,4,4
	.comm	K_RAW,4,4
	.comm	K_CODE,4,4
	.comm	KB_84,4,4
	.comm	KB_101,4,4
	.comm	ERRKEY,4,4
	.comm	CTLS,4,4
	.comm	COMPOSE,4,4
	.comm	ALTS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
