	.file	"658136.c"
	.intel_syntax noprefix
	.text
	.data
	.align 16
	.type	keys_num, @object
	.size	keys_num, 30
keys_num:
	.byte	48
	.byte	39
	.byte	0
	.byte	49
	.byte	30
	.byte	0
	.byte	50
	.byte	31
	.byte	0
	.byte	51
	.byte	32
	.byte	0
	.byte	52
	.byte	33
	.byte	0
	.byte	53
	.byte	34
	.byte	0
	.byte	54
	.byte	35
	.byte	0
	.byte	55
	.byte	36
	.byte	0
	.byte	56
	.byte	37
	.byte	0
	.byte	57
	.byte	38
	.byte	0
	.align 32
	.type	keys_special, @object
	.size	keys_special, 129
keys_special:
	.byte	33
	.byte	30
	.byte	32
	.byte	64
	.byte	31
	.byte	32
	.byte	35
	.byte	32
	.byte	32
	.byte	36
	.byte	33
	.byte	32
	.byte	37
	.byte	34
	.byte	32
	.byte	94
	.byte	35
	.byte	32
	.byte	38
	.byte	36
	.byte	32
	.byte	42
	.byte	37
	.byte	32
	.byte	40
	.byte	38
	.byte	32
	.byte	41
	.byte	39
	.byte	32
	.byte	45
	.byte	45
	.byte	0
	.byte	95
	.byte	45
	.byte	32
	.byte	43
	.byte	46
	.byte	32
	.byte	61
	.byte	46
	.byte	0
	.byte	91
	.byte	47
	.byte	0
	.byte	123
	.byte	47
	.byte	32
	.byte	93
	.byte	48
	.byte	0
	.byte	125
	.byte	48
	.byte	32
	.byte	92
	.byte	49
	.byte	0
	.byte	124
	.byte	49
	.byte	32
	.byte	59
	.byte	51
	.byte	0
	.byte	58
	.byte	51
	.byte	32
	.byte	39
	.byte	52
	.byte	0
	.byte	34
	.byte	52
	.byte	32
	.byte	44
	.byte	54
	.byte	0
	.byte	60
	.byte	54
	.byte	32
	.byte	46
	.byte	55
	.byte	0
	.byte	62
	.byte	55
	.byte	32
	.byte	47
	.byte	56
	.byte	0
	.byte	63
	.byte	56
	.byte	32
	.byte	96
	.byte	53
	.byte	0
	.byte	126
	.byte	53
	.byte	32
	.byte	32
	.byte	44
	.byte	0
	.byte	110
	.byte	40
	.byte	0
	.byte	99
	.byte	0
	.byte	1
	.byte	115
	.byte	0
	.byte	2
	.byte	97
	.byte	0
	.byte	4
	.byte	103
	.byte	0
	.byte	8
	.byte	116
	.byte	43
	.byte	0
	.byte	100
	.byte	76
	.byte	0
	.byte	98
	.byte	42
	.byte	0
	.byte	101
	.byte	41
	.byte	0
	.byte	0
	.byte	0
	.byte	0
	.align 32
	.type	keys_special_de, @object
	.size	keys_special_de, 129
keys_special_de:
	.byte	33
	.byte	30
	.byte	32
	.byte	34
	.byte	31
	.byte	32
	.byte	-89
	.byte	32
	.byte	32
	.byte	36
	.byte	33
	.byte	32
	.byte	37
	.byte	34
	.byte	32
	.byte	38
	.byte	35
	.byte	32
	.byte	47
	.byte	36
	.byte	32
	.byte	40
	.byte	37
	.byte	32
	.byte	41
	.byte	38
	.byte	32
	.byte	61
	.byte	39
	.byte	32
	.byte	-97
	.byte	45
	.byte	0
	.byte	63
	.byte	45
	.byte	32
	.byte	43
	.byte	46
	.byte	32
	.byte	61
	.byte	46
	.byte	0
	.byte	-68
	.byte	47
	.byte	0
	.byte	-100
	.byte	47
	.byte	32
	.byte	-92
	.byte	48
	.byte	0
	.byte	-124
	.byte	48
	.byte	32
	.byte	35
	.byte	49
	.byte	0
	.byte	39
	.byte	49
	.byte	32
	.byte	-74
	.byte	51
	.byte	0
	.byte	-106
	.byte	51
	.byte	32
	.byte	35
	.byte	52
	.byte	0
	.byte	39
	.byte	52
	.byte	32
	.byte	44
	.byte	54
	.byte	0
	.byte	59
	.byte	54
	.byte	32
	.byte	46
	.byte	55
	.byte	0
	.byte	58
	.byte	55
	.byte	32
	.byte	45
	.byte	56
	.byte	0
	.byte	95
	.byte	56
	.byte	32
	.byte	-80
	.byte	53
	.byte	0
	.byte	-80
	.byte	53
	.byte	32
	.byte	32
	.byte	44
	.byte	0
	.byte	110
	.byte	40
	.byte	0
	.byte	99
	.byte	0
	.byte	1
	.byte	115
	.byte	0
	.byte	2
	.byte	97
	.byte	0
	.byte	4
	.byte	103
	.byte	0
	.byte	8
	.byte	116
	.byte	43
	.byte	0
	.byte	100
	.byte	76
	.byte	0
	.byte	98
	.byte	42
	.byte	0
	.byte	101
	.byte	41
	.byte	0
	.byte	0
	.byte	0
	.byte	0
	.globl	lang
	.bss
	.align 4
	.type	lang, @object
	.size	lang, 4
lang:
	.zero	4
	.section	.rodata
.LC0:
	.string	"error for >%c<\n"
	.text
	.globl	char2event
	.type	char2event, @function
char2event:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	DWORD PTR -36[rbp], edx
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, 8
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	DWORD PTR -12[rbp], 2
	mov	DWORD PTR -8[rbp], 0
	jmp	.L2
.L22:
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR -14[rbp], al
	movsx	eax, BYTE PTR -14[rbp]
	mov	edi, eax
	call	tolower@PLT
	mov	BYTE PTR -13[rbp], al
	cmp	BYTE PTR -13[rbp], 96
	jle	.L3
	cmp	BYTE PTR -13[rbp], 122
	jg	.L3
	movzx	eax, BYTE PTR -13[rbp]
	lea	ecx, -93[rax]
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	edx, ecx
	mov	BYTE PTR [rax], dl
	add	DWORD PTR -12[rbp], 1
	movzx	eax, BYTE PTR -13[rbp]
	cmp	al, BYTE PTR -14[rbp]
	je	.L5
	mov	rax, QWORD PTR -24[rbp]
	mov	BYTE PTR [rax], 34
	jmp	.L5
.L3:
	cmp	BYTE PTR -13[rbp], 47
	jle	.L6
	cmp	BYTE PTR -13[rbp], 57
	jg	.L6
	movsx	eax, BYTE PTR -13[rbp]
	lea	edx, -48[rax]
	mov	eax, DWORD PTR -12[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rcx, rax
	movsx	rdx, edx
	mov	rax, rdx
	add	rax, rax
	add	rdx, rax
	lea	rax, keys_num[rip+1]
	movzx	eax, BYTE PTR [rdx+rax]
	mov	BYTE PTR [rcx], al
	add	DWORD PTR -12[rbp], 1
	jmp	.L5
.L6:
	cmp	BYTE PTR -14[rbp], 92
	jne	.L7
	add	DWORD PTR -8[rbp], 1
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR -14[rbp], al
.L7:
	mov	eax, DWORD PTR lang[rip]
	test	eax, eax
	jne	.L8
	mov	DWORD PTR -4[rbp], 0
	jmp	.L9
.L14:
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rdx, rax
	lea	rax, keys_special[rip]
	movzx	eax, BYTE PTR [rdx+rax]
	cmp	BYTE PTR -14[rbp], al
	jne	.L10
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rdx, rax
	lea	rax, keys_special[rip+1]
	movzx	eax, BYTE PTR [rdx+rax]
	test	al, al
	je	.L11
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	lea	rcx, [rdx+rax]
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rdx, rax
	lea	rax, keys_special[rip+1]
	movzx	eax, BYTE PTR [rdx+rax]
	mov	BYTE PTR [rcx], al
.L11:
	mov	rax, QWORD PTR -24[rbp]
	movzx	ecx, BYTE PTR [rax]
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rdx, rax
	lea	rax, keys_special[rip+2]
	movzx	eax, BYTE PTR [rdx+rax]
	or	ecx, eax
	mov	edx, ecx
	mov	rax, QWORD PTR -24[rbp]
	mov	BYTE PTR [rax], dl
	add	DWORD PTR -12[rbp], 1
	jmp	.L5
.L10:
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rdx, rax
	lea	rax, keys_special[rip]
	movzx	eax, BYTE PTR [rdx+rax]
	test	al, al
	je	.L23
	add	DWORD PTR -4[rbp], 1
.L9:
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, 128
	jbe	.L14
	jmp	.L5
.L8:
	mov	DWORD PTR -4[rbp], 0
	jmp	.L15
.L19:
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rdx, rax
	lea	rax, keys_special_de[rip]
	movzx	eax, BYTE PTR [rdx+rax]
	cmp	BYTE PTR -14[rbp], al
	jne	.L16
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rdx, rax
	lea	rax, keys_special_de[rip+1]
	movzx	eax, BYTE PTR [rdx+rax]
	test	al, al
	je	.L17
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	lea	rcx, [rdx+rax]
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rdx, rax
	lea	rax, keys_special_de[rip+1]
	movzx	eax, BYTE PTR [rdx+rax]
	mov	BYTE PTR [rcx], al
.L17:
	mov	rax, QWORD PTR -24[rbp]
	movzx	ecx, BYTE PTR [rax]
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rdx, rax
	lea	rax, keys_special_de[rip+2]
	movzx	eax, BYTE PTR [rdx+rax]
	or	ecx, eax
	mov	edx, ecx
	mov	rax, QWORD PTR -24[rbp]
	mov	BYTE PTR [rax], dl
	add	DWORD PTR -12[rbp], 1
	jmp	.L5
.L16:
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rdx, rax
	lea	rax, keys_special_de[rip]
	movzx	eax, BYTE PTR [rdx+rax]
	test	al, al
	je	.L24
	add	DWORD PTR -4[rbp], 1
.L15:
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, 128
	jbe	.L19
	jmp	.L5
.L23:
	nop
	jmp	.L5
.L24:
	nop
.L5:
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 2
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L20
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L20
	movsx	eax, BYTE PTR -14[rbp]
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	jmp	.L21
.L20:
	add	DWORD PTR -8[rbp], 1
.L2:
	mov	eax, DWORD PTR -8[rbp]
	cmp	eax, DWORD PTR -36[rbp]
	jl	.L22
	mov	eax, 1
.L21:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	char2event, .-char2event
	.section	.rodata
	.align 8
.LC1:
	.string	"syntax: %s <string> [/dev/hidgX] (\\ needs to be escaped with a \\, enter key is produced via \\n)\n"
.LC2:
	.string	"/dev/hidg0"
.LC3:
	.string	"de"
.LC4:
	.string	"bs"
	.text
	.globl	main
	.type	main, @function
main:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 72
	.cfi_offset 3, -24
	mov	DWORD PTR -68[rbp], edi
	mov	QWORD PTR -80[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -48[rbp], -1
	cmp	DWORD PTR -68[rbp], 1
	jg	.L26
	mov	rax, QWORD PTR -80[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	jmp	.L42
.L26:
	lea	rax, .LC2[rip]
	mov	QWORD PTR -40[rbp], rax
	mov	DWORD PTR lang[rip], 0
	cmp	DWORD PTR -68[rbp], 2
	jle	.L28
	mov	rax, QWORD PTR -80[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L28
	mov	DWORD PTR lang[rip], 1
.L28:
	cmp	DWORD PTR -68[rbp], 3
	jle	.L29
	mov	rax, QWORD PTR -80[rbp]
	mov	rax, QWORD PTR 24[rax]
	mov	QWORD PTR -40[rbp], rax
.L29:
	mov	rax, QWORD PTR -40[rbp]
	mov	edx, 438
	mov	esi, 2
	mov	rdi, rax
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -48[rbp], eax
	cmp	DWORD PTR -48[rbp], -1
	jne	.L30
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	perror@PLT
	mov	eax, 3
	jmp	.L42
.L30:
	mov	DWORD PTR -56[rbp], 0
	jmp	.L31
.L41:
	mov	rax, QWORD PTR -80[rbp]
	add	rax, 8
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -56[rbp]
	cdqe
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 92
	jne	.L32
	add	DWORD PTR -56[rbp], 1
	mov	rax, QWORD PTR -80[rbp]
	add	rax, 8
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -56[rbp]
	cdqe
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 45
	jne	.L33
	mov	edi, 1
	call	sleep@PLT
	jmp	.L34
.L33:
	mov	rax, QWORD PTR -80[rbp]
	add	rax, 8
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -56[rbp]
	cdqe
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 34
	jne	.L35
	mov	eax, DWORD PTR -56[rbp]
	add	eax, 1
	mov	DWORD PTR -44[rbp], eax
	mov	DWORD PTR -52[rbp], 0
.L38:
	mov	rax, QWORD PTR -80[rbp]
	add	rax, 8
	mov	rdx, QWORD PTR [rax]
	mov	ecx, DWORD PTR -44[rbp]
	mov	eax, DWORD PTR -52[rbp]
	add	eax, ecx
	cdqe
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 92
	jne	.L36
	lea	rdi, .LC4[rip]
	call	puts@PLT
	mov	rax, QWORD PTR -80[rbp]
	add	rax, 8
	mov	rdx, QWORD PTR [rax]
	mov	ecx, DWORD PTR -44[rbp]
	mov	eax, DWORD PTR -52[rbp]
	add	eax, ecx
	cdqe
	add	rax, 1
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 34
	je	.L45
.L36:
	add	DWORD PTR -52[rbp], 1
	jmp	.L38
.L45:
	nop
	mov	rax, QWORD PTR -80[rbp]
	add	rax, 8
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -44[rbp]
	cdqe
	lea	rcx, [rdx+rax]
	mov	edx, DWORD PTR -52[rbp]
	lea	rax, -32[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	char2event
	mov	edx, DWORD PTR -56[rbp]
	mov	eax, DWORD PTR -52[rbp]
	add	eax, edx
	add	eax, 2
	mov	DWORD PTR -56[rbp], eax
	jmp	.L39
.L35:
	mov	rax, QWORD PTR -80[rbp]
	add	rax, 8
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -56[rbp]
	cdqe
	sub	rax, 1
	lea	rcx, [rdx+rax]
	lea	rax, -32[rbp]
	mov	edx, 2
	mov	rsi, rcx
	mov	rdi, rax
	call	char2event
	jmp	.L39
.L32:
	mov	rax, QWORD PTR -80[rbp]
	add	rax, 8
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -56[rbp]
	cdqe
	lea	rcx, [rdx+rax]
	lea	rax, -32[rbp]
	mov	edx, 1
	mov	rsi, rcx
	mov	rdi, rax
	call	char2event
.L39:
	lea	rcx, -32[rbp]
	mov	eax, DWORD PTR -48[rbp]
	mov	edx, 8
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	cmp	rax, 8
	je	.L40
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	perror@PLT
	mov	eax, 2
	jmp	.L42
.L40:
	lea	rax, -32[rbp]
	mov	edx, 8
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	lea	rcx, -32[rbp]
	mov	eax, DWORD PTR -48[rbp]
	mov	edx, 8
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	cmp	rax, 8
	je	.L34
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	perror@PLT
	mov	eax, 4
	jmp	.L42
.L34:
	add	DWORD PTR -56[rbp], 1
.L31:
	mov	eax, DWORD PTR -56[rbp]
	movsx	rbx, eax
	mov	rax, QWORD PTR -80[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	strlen@PLT
	cmp	rbx, rax
	jb	.L41
	mov	eax, DWORD PTR -48[rbp]
	mov	edi, eax
	call	close@PLT
	mov	eax, 0
.L42:
	mov	rbx, QWORD PTR -24[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L43
	call	__stack_chk_fail@PLT
.L43:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.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, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"658136.c"
	.text
	.data
	.align	2
	.type	keys_num, %object
	.size	keys_num, 30
keys_num:
	.byte	48
	.byte	39
	.byte	0
	.byte	49
	.byte	30
	.byte	0
	.byte	50
	.byte	31
	.byte	0
	.byte	51
	.byte	32
	.byte	0
	.byte	52
	.byte	33
	.byte	0
	.byte	53
	.byte	34
	.byte	0
	.byte	54
	.byte	35
	.byte	0
	.byte	55
	.byte	36
	.byte	0
	.byte	56
	.byte	37
	.byte	0
	.byte	57
	.byte	38
	.byte	0
	.align	2
	.type	keys_special, %object
	.size	keys_special, 129
keys_special:
	.byte	33
	.byte	30
	.byte	32
	.byte	64
	.byte	31
	.byte	32
	.byte	35
	.byte	32
	.byte	32
	.byte	36
	.byte	33
	.byte	32
	.byte	37
	.byte	34
	.byte	32
	.byte	94
	.byte	35
	.byte	32
	.byte	38
	.byte	36
	.byte	32
	.byte	42
	.byte	37
	.byte	32
	.byte	40
	.byte	38
	.byte	32
	.byte	41
	.byte	39
	.byte	32
	.byte	45
	.byte	45
	.byte	0
	.byte	95
	.byte	45
	.byte	32
	.byte	43
	.byte	46
	.byte	32
	.byte	61
	.byte	46
	.byte	0
	.byte	91
	.byte	47
	.byte	0
	.byte	123
	.byte	47
	.byte	32
	.byte	93
	.byte	48
	.byte	0
	.byte	125
	.byte	48
	.byte	32
	.byte	92
	.byte	49
	.byte	0
	.byte	124
	.byte	49
	.byte	32
	.byte	59
	.byte	51
	.byte	0
	.byte	58
	.byte	51
	.byte	32
	.byte	39
	.byte	52
	.byte	0
	.byte	34
	.byte	52
	.byte	32
	.byte	44
	.byte	54
	.byte	0
	.byte	60
	.byte	54
	.byte	32
	.byte	46
	.byte	55
	.byte	0
	.byte	62
	.byte	55
	.byte	32
	.byte	47
	.byte	56
	.byte	0
	.byte	63
	.byte	56
	.byte	32
	.byte	96
	.byte	53
	.byte	0
	.byte	126
	.byte	53
	.byte	32
	.byte	32
	.byte	44
	.byte	0
	.byte	110
	.byte	40
	.byte	0
	.byte	99
	.byte	0
	.byte	1
	.byte	115
	.byte	0
	.byte	2
	.byte	97
	.byte	0
	.byte	4
	.byte	103
	.byte	0
	.byte	8
	.byte	116
	.byte	43
	.byte	0
	.byte	100
	.byte	76
	.byte	0
	.byte	98
	.byte	42
	.byte	0
	.byte	101
	.byte	41
	.byte	0
	.byte	0
	.byte	0
	.byte	0
	.align	2
	.type	keys_special_de, %object
	.size	keys_special_de, 129
keys_special_de:
	.byte	33
	.byte	30
	.byte	32
	.byte	34
	.byte	31
	.byte	32
	.byte	-89
	.byte	32
	.byte	32
	.byte	36
	.byte	33
	.byte	32
	.byte	37
	.byte	34
	.byte	32
	.byte	38
	.byte	35
	.byte	32
	.byte	47
	.byte	36
	.byte	32
	.byte	40
	.byte	37
	.byte	32
	.byte	41
	.byte	38
	.byte	32
	.byte	61
	.byte	39
	.byte	32
	.byte	-97
	.byte	45
	.byte	0
	.byte	63
	.byte	45
	.byte	32
	.byte	43
	.byte	46
	.byte	32
	.byte	61
	.byte	46
	.byte	0
	.byte	-68
	.byte	47
	.byte	0
	.byte	-100
	.byte	47
	.byte	32
	.byte	-92
	.byte	48
	.byte	0
	.byte	-124
	.byte	48
	.byte	32
	.byte	35
	.byte	49
	.byte	0
	.byte	39
	.byte	49
	.byte	32
	.byte	-74
	.byte	51
	.byte	0
	.byte	-106
	.byte	51
	.byte	32
	.byte	35
	.byte	52
	.byte	0
	.byte	39
	.byte	52
	.byte	32
	.byte	44
	.byte	54
	.byte	0
	.byte	59
	.byte	54
	.byte	32
	.byte	46
	.byte	55
	.byte	0
	.byte	58
	.byte	55
	.byte	32
	.byte	45
	.byte	56
	.byte	0
	.byte	95
	.byte	56
	.byte	32
	.byte	-80
	.byte	53
	.byte	0
	.byte	-80
	.byte	53
	.byte	32
	.byte	32
	.byte	44
	.byte	0
	.byte	110
	.byte	40
	.byte	0
	.byte	99
	.byte	0
	.byte	1
	.byte	115
	.byte	0
	.byte	2
	.byte	97
	.byte	0
	.byte	4
	.byte	103
	.byte	0
	.byte	8
	.byte	116
	.byte	43
	.byte	0
	.byte	100
	.byte	76
	.byte	0
	.byte	98
	.byte	42
	.byte	0
	.byte	101
	.byte	41
	.byte	0
	.byte	0
	.byte	0
	.byte	0
	.comm	lang,4,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"error for >%c<\012\000"
	.text
	.align	2
	.global	char2event
	.syntax unified
	.arm
	.fpu softvfp
	.type	char2event, %function
char2event:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	str	r2, [fp, #-32]
	mov	r2, #8
	mov	r1, #0
	ldr	r0, [fp, #-24]
	bl	memset
	mov	r3, #2
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L2
.L22:
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldrb	r3, [r3]
	strb	r3, [fp, #-18]
	ldrb	r3, [fp, #-18]	@ zero_extendqisi2
	mov	r0, r3
	bl	tolower
	mov	r3, r0
	strb	r3, [fp, #-17]
	ldrb	r3, [fp, #-17]	@ zero_extendqisi2
	cmp	r3, #96
	bls	.L3
	ldrb	r3, [fp, #-17]	@ zero_extendqisi2
	cmp	r3, #122
	bhi	.L3
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldrb	r2, [fp, #-17]
	sub	r2, r2, #93
	and	r2, r2, #255
	strb	r2, [r3]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
	ldrb	r2, [fp, #-17]	@ zero_extendqisi2
	ldrb	r3, [fp, #-18]	@ zero_extendqisi2
	cmp	r2, r3
	beq	.L5
	ldr	r3, [fp, #-24]
	mov	r2, #34
	strb	r2, [r3]
	b	.L5
.L3:
	ldrb	r3, [fp, #-17]	@ zero_extendqisi2
	cmp	r3, #47
	bls	.L6
	ldrb	r3, [fp, #-17]	@ zero_extendqisi2
	cmp	r3, #57
	bhi	.L6
	ldrb	r3, [fp, #-17]	@ zero_extendqisi2
	sub	r2, r3, #48
	ldr	r3, [fp, #-16]
	ldr	r1, [fp, #-24]
	add	r1, r1, r3
	ldr	r0, .L25
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	add	r3, r0, r3
	add	r3, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	strb	r3, [r1]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
	b	.L5
.L6:
	ldrb	r3, [fp, #-18]	@ zero_extendqisi2
	cmp	r3, #92
	bne	.L7
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldrb	r3, [r3]
	strb	r3, [fp, #-18]
.L7:
	ldr	r3, .L25+4
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L8
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L9
.L14:
	ldr	r1, .L25+8
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	add	r3, r1, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	ldrb	r2, [fp, #-18]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L10
	ldr	r1, .L25+8
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	add	r3, r1, r3
	add	r3, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L11
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-24]
	add	r1, r2, r3
	ldr	r0, .L25+8
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	add	r3, r0, r3
	add	r3, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	strb	r3, [r1]
.L11:
	ldr	r3, [fp, #-24]
	ldrb	r1, [r3]	@ zero_extendqisi2
	ldr	r0, .L25+8
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	add	r3, r0, r3
	add	r3, r3, #2
	ldrb	r3, [r3]	@ zero_extendqisi2
	orr	r3, r1, r3
	and	r2, r3, #255
	ldr	r3, [fp, #-24]
	strb	r2, [r3]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
	b	.L5
.L10:
	ldr	r1, .L25+8
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	add	r3, r1, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L23
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L9:
	ldr	r3, [fp, #-8]
	cmp	r3, #128
	bls	.L14
	b	.L5
.L8:
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L15
.L19:
	ldr	r1, .L25+12
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	add	r3, r1, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	ldrb	r2, [fp, #-18]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L16
	ldr	r1, .L25+12
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	add	r3, r1, r3
	add	r3, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L17
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-24]
	add	r1, r2, r3
	ldr	r0, .L25+12
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	add	r3, r0, r3
	add	r3, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	strb	r3, [r1]
.L17:
	ldr	r3, [fp, #-24]
	ldrb	r1, [r3]	@ zero_extendqisi2
	ldr	r0, .L25+12
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	add	r3, r0, r3
	add	r3, r3, #2
	ldrb	r3, [r3]	@ zero_extendqisi2
	orr	r3, r1, r3
	and	r2, r3, #255
	ldr	r3, [fp, #-24]
	strb	r2, [r3]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
	b	.L5
.L16:
	ldr	r1, .L25+12
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	add	r3, r1, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L24
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L15:
	ldr	r3, [fp, #-8]
	cmp	r3, #128
	bls	.L19
	b	.L5
.L23:
	nop
	b	.L5
.L24:
	nop
.L5:
	ldr	r3, [fp, #-24]
	add	r3, r3, #2
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L20
	ldr	r3, [fp, #-24]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L20
	ldrb	r3, [fp, #-18]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, .L25+16
	bl	printf
	mov	r3, #0
	b	.L21
.L20:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L2:
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-32]
	cmp	r2, r3
	blt	.L22
	mov	r3, #1
.L21:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L26:
	.align	2
.L25:
	.word	keys_num
	.word	lang
	.word	keys_special
	.word	keys_special_de
	.word	.LC0
	.size	char2event, .-char2event
	.section	.rodata
	.align	2
.LC1:
	.ascii	"syntax: %s <string> [/dev/hidgX] (\\ needs to be es"
	.ascii	"caped with a \\, enter key is produced via \\n)\012"
	.ascii	"\000"
	.align	2
.LC2:
	.ascii	"/dev/hidg0\000"
	.align	2
.LC3:
	.ascii	"de\000"
	.align	2
.LC4:
	.ascii	"bs\000"
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	str	r0, [fp, #-40]
	str	r1, [fp, #-44]
	ldr	r3, .L48
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mvn	r3, #0
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-40]
	cmp	r3, #1
	bgt	.L28
	ldr	r3, [fp, #-44]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L48+4
	bl	printf
	mov	r3, #0
	b	.L44
.L28:
	ldr	r3, .L48+8
	str	r3, [fp, #-36]
	ldr	r3, .L48+12
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, [fp, #-40]
	cmp	r3, #2
	ble	.L30
	ldr	r3, [fp, #-44]
	add	r3, r3, #8
	ldr	r3, [r3]
	ldr	r1, .L48+16
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L30
	ldr	r3, .L48+12
	mov	r2, #1
	str	r2, [r3]
.L30:
	ldr	r3, [fp, #-40]
	cmp	r3, #3
	ble	.L31
	ldr	r3, [fp, #-44]
	ldr	r3, [r3, #12]
	str	r3, [fp, #-36]
.L31:
	ldr	r2, .L48+20
	mov	r1, #2
	ldr	r0, [fp, #-36]
	bl	open
	str	r0, [fp, #-24]
	ldr	r3, [fp, #-24]
	cmn	r3, #1
	bne	.L32
	ldr	r0, [fp, #-36]
	bl	perror
	mov	r3, #3
	b	.L44
.L32:
	mov	r3, #0
	str	r3, [fp, #-32]
	b	.L33
.L43:
	ldr	r3, [fp, #-44]
	add	r3, r3, #4
	ldr	r2, [r3]
	ldr	r3, [fp, #-32]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #92
	bne	.L34
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-44]
	add	r3, r3, #4
	ldr	r2, [r3]
	ldr	r3, [fp, #-32]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #45
	bne	.L35
	mov	r0, #1
	bl	sleep
	b	.L36
.L35:
	ldr	r3, [fp, #-44]
	add	r3, r3, #4
	ldr	r2, [r3]
	ldr	r3, [fp, #-32]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #34
	bne	.L37
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-28]
.L40:
	ldr	r3, [fp, #-44]
	add	r3, r3, #4
	ldr	r3, [r3]
	ldr	r1, [fp, #-20]
	ldr	r2, [fp, #-28]
	add	r2, r1, r2
	add	r3, r3, r2
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #92
	bne	.L38
	ldr	r0, .L48+24
	bl	puts
	ldr	r3, [fp, #-44]
	add	r3, r3, #4
	ldr	r2, [r3]
	ldr	r1, [fp, #-20]
	ldr	r3, [fp, #-28]
	add	r3, r1, r3
	add	r3, r3, #1
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #34
	beq	.L47
.L38:
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
	b	.L40
.L47:
	nop
	ldr	r3, [fp, #-44]
	add	r3, r3, #4
	ldr	r2, [r3]
	ldr	r3, [fp, #-20]
	add	r1, r2, r3
	sub	r3, fp, #16
	ldr	r2, [fp, #-28]
	mov	r0, r3
	bl	char2event
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-28]
	add	r3, r2, r3
	add	r3, r3, #2
	str	r3, [fp, #-32]
	b	.L41
.L37:
	ldr	r3, [fp, #-44]
	add	r3, r3, #4
	ldr	r2, [r3]
	ldr	r3, [fp, #-32]
	sub	r3, r3, #1
	add	r1, r2, r3
	sub	r3, fp, #16
	mov	r2, #2
	mov	r0, r3
	bl	char2event
	b	.L41
.L34:
	ldr	r3, [fp, #-44]
	add	r3, r3, #4
	ldr	r2, [r3]
	ldr	r3, [fp, #-32]
	add	r1, r2, r3
	sub	r3, fp, #16
	mov	r2, #1
	mov	r0, r3
	bl	char2event
.L41:
	sub	r3, fp, #16
	mov	r2, #8
	mov	r1, r3
	ldr	r0, [fp, #-24]
	bl	write
	mov	r3, r0
	cmp	r3, #8
	beq	.L42
	ldr	r0, [fp, #-36]
	bl	perror
	mov	r3, #2
	b	.L44
.L42:
	sub	r3, fp, #16
	mov	r2, #8
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #16
	mov	r2, #8
	mov	r1, r3
	ldr	r0, [fp, #-24]
	bl	write
	mov	r3, r0
	cmp	r3, #8
	beq	.L36
	ldr	r0, [fp, #-36]
	bl	perror
	mov	r3, #4
	b	.L44
.L36:
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
.L33:
	ldr	r3, [fp, #-44]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r0, r3
	bl	strlen
	mov	r2, r0
	ldr	r3, [fp, #-32]
	cmp	r2, r3
	bhi	.L43
	ldr	r0, [fp, #-24]
	bl	close
	mov	r3, #0
.L44:
	ldr	r2, .L48
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L45
	bl	__stack_chk_fail
.L45:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L49:
	.align	2
.L48:
	.word	.LC5
	.word	.LC1
	.word	.LC2
	.word	lang
	.word	.LC3
	.word	438
	.word	.LC4
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
