	.file	"821061.c"
	.intel_syntax noprefix
	.text
	.local	KEYMAP
	.comm	KEYMAP,384,32
	.local	KEYMAP_LEN
	.comm	KEYMAP_LEN,4,4
	.globl	parse_keymap
	.type	parse_keymap, @function
parse_keymap:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR -8[rbp], rax
	mov	DWORD PTR -12[rbp], 0
.L13:
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	cmp	eax, 124
	je	.L2
	cmp	eax, 124
	jg	.L3
	cmp	eax, 58
	je	.L4
	cmp	eax, 58
	jg	.L3
	test	eax, eax
	je	.L5
	cmp	eax, 44
	jne	.L3
.L5:
	mov	eax, DWORD PTR KEYMAP_LEN[rip]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rax
	mov	rdx, rax
	lea	rax, KEYMAP[rip+2]
	movzx	eax, WORD PTR [rdx+rax]
	test	ax, ax
	je	.L6
	mov	eax, DWORD PTR KEYMAP_LEN[rip]
	mov	edx, DWORD PTR -12[rbp]
	mov	ecx, edx
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rax
	mov	rdx, rax
	lea	rax, KEYMAP[rip+4]
	mov	WORD PTR [rdx+rax], cx
	jmp	.L7
.L6:
	mov	eax, DWORD PTR KEYMAP_LEN[rip]
	mov	edx, DWORD PTR -12[rbp]
	mov	ecx, edx
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rax
	mov	rdx, rax
	lea	rax, KEYMAP[rip+2]
	mov	WORD PTR [rdx+rax], cx
.L7:
	mov	eax, DWORD PTR KEYMAP_LEN[rip]
	add	eax, 1
	mov	DWORD PTR KEYMAP_LEN[rip], eax
	mov	DWORD PTR -12[rbp], 0
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L15
	mov	eax, DWORD PTR KEYMAP_LEN[rip]
	jmp	.L14
.L4:
	mov	eax, DWORD PTR KEYMAP_LEN[rip]
	mov	edx, DWORD PTR -12[rbp]
	mov	ecx, edx
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rax
	mov	rdx, rax
	lea	rax, KEYMAP[rip]
	mov	WORD PTR [rdx+rax], cx
	mov	DWORD PTR -12[rbp], 0
	jmp	.L10
.L2:
	mov	eax, DWORD PTR KEYMAP_LEN[rip]
	mov	edx, DWORD PTR -12[rbp]
	mov	ecx, edx
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rax
	mov	rdx, rax
	lea	rax, KEYMAP[rip+2]
	mov	WORD PTR [rdx+rax], cx
	mov	DWORD PTR -12[rbp], 0
	jmp	.L10
.L3:
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 57
	jg	.L11
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 47
	jg	.L12
.L11:
	mov	edi, 1
	call	exit@PLT
.L12:
	mov	edx, DWORD PTR -12[rbp]
	mov	eax, edx
	sal	eax, 2
	add	eax, edx
	add	eax, eax
	mov	edx, eax
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	sub	eax, 48
	add	eax, edx
	mov	DWORD PTR -12[rbp], eax
	jmp	.L10
.L15:
	nop
.L10:
	add	QWORD PTR -8[rbp], 1
	jmp	.L13
.L14:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	parse_keymap, .-parse_keymap
	.globl	perror
	.type	perror, @function
perror:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -12[rbp], 0
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR -8[rbp], rax
	jmp	.L17
.L18:
	add	DWORD PTR -12[rbp], 1
	add	QWORD PTR -8[rbp], 1
.L17:
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L18
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rax
	mov	edi, 2
	call	write@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	perror, .-perror
	.globl	tap_mod_key
	.type	tap_mod_key, @function
tap_mod_key:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 144
	mov	ecx, edi
	mov	eax, esi
	mov	DWORD PTR -140[rbp], edx
	mov	edx, ecx
	mov	WORD PTR -132[rbp], dx
	mov	WORD PTR -136[rbp], ax
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -128[rbp], 0
	mov	QWORD PTR -120[rbp], 0
	mov	WORD PTR -112[rbp], 1
	movzx	eax, WORD PTR -136[rbp]
	mov	WORD PTR -110[rbp], ax
	mov	DWORD PTR -108[rbp], 1
	mov	QWORD PTR -104[rbp], 0
	mov	QWORD PTR -96[rbp], 0
	mov	WORD PTR -88[rbp], 1
	movzx	eax, WORD PTR -132[rbp]
	mov	WORD PTR -86[rbp], ax
	mov	DWORD PTR -84[rbp], 1
	mov	QWORD PTR -80[rbp], 0
	mov	QWORD PTR -72[rbp], 0
	mov	WORD PTR -64[rbp], 1
	movzx	eax, WORD PTR -132[rbp]
	mov	WORD PTR -62[rbp], ax
	mov	DWORD PTR -60[rbp], 0
	mov	QWORD PTR -56[rbp], 0
	mov	QWORD PTR -48[rbp], 0
	mov	WORD PTR -40[rbp], 1
	movzx	eax, WORD PTR -136[rbp]
	mov	WORD PTR -38[rbp], ax
	mov	DWORD PTR -36[rbp], 0
	mov	QWORD PTR -32[rbp], 0
	mov	QWORD PTR -24[rbp], 0
	mov	WORD PTR -16[rbp], 0
	mov	WORD PTR -14[rbp], 0
	mov	DWORD PTR -12[rbp], 0
	lea	rcx, -128[rbp]
	mov	eax, DWORD PTR -140[rbp]
	mov	edx, 120
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L21
	call	__stack_chk_fail@PLT
.L21:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	tap_mod_key, .-tap_mod_key
	.globl	tap_key
	.type	tap_key, @function
tap_key:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 96
	mov	eax, edi
	mov	DWORD PTR -88[rbp], esi
	mov	WORD PTR -84[rbp], ax
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -80[rbp], 0
	mov	QWORD PTR -72[rbp], 0
	mov	WORD PTR -64[rbp], 1
	movzx	eax, WORD PTR -84[rbp]
	mov	WORD PTR -62[rbp], ax
	mov	DWORD PTR -60[rbp], 1
	mov	QWORD PTR -56[rbp], 0
	mov	QWORD PTR -48[rbp], 0
	mov	WORD PTR -40[rbp], 1
	movzx	eax, WORD PTR -84[rbp]
	mov	WORD PTR -38[rbp], ax
	mov	DWORD PTR -36[rbp], 0
	mov	QWORD PTR -32[rbp], 0
	mov	QWORD PTR -24[rbp], 0
	mov	WORD PTR -16[rbp], 0
	mov	WORD PTR -14[rbp], 0
	mov	DWORD PTR -12[rbp], 0
	lea	rcx, -80[rbp]
	mov	eax, DWORD PTR -88[rbp]
	mov	edx, 72
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	mov	rdx, QWORD PTR -8[rbp]
	sub	rdx, QWORD PTR fs:40
	je	.L24
	call	__stack_chk_fail@PLT
.L24:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	tap_key, .-tap_key
	.globl	find_keybind
	.type	find_keybind, @function
find_keybind:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -20[rbp], edi
	mov	DWORD PTR -4[rbp], 0
	jmp	.L26
.L29:
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rax
	mov	rdx, rax
	lea	rax, KEYMAP[rip]
	movzx	eax, WORD PTR [rdx+rax]
	movzx	eax, ax
	cmp	DWORD PTR -20[rbp], eax
	jne	.L27
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rax
	lea	rdx, KEYMAP[rip]
	add	rax, rdx
	jmp	.L28
.L27:
	add	DWORD PTR -4[rbp], 1
.L26:
	mov	eax, DWORD PTR KEYMAP_LEN[rip]
	cmp	DWORD PTR -4[rbp], eax
	jl	.L29
	mov	eax, 0
.L28:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	find_keybind, .-find_keybind
	.section	.rodata
.LC0:
	.string	"Error: Opening Keyboard"
	.text
	.globl	open_input
	.type	open_input, @function
open_input:
.LFB11:
	.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 -40[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -40[rbp]
	mov	esi, 2
	mov	rdi, rax
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -20[rbp], eax
	cmp	DWORD PTR -20[rbp], 0
	jns	.L31
	lea	rdi, .LC0[rip]
	call	perror
	mov	edi, 1
	call	exit@PLT
.L31:
	mov	DWORD PTR -16[rbp], 2048
	mov	DWORD PTR -12[rbp], 2048
	lea	rdx, -16[rbp]
	mov	eax, DWORD PTR -20[rbp]
	mov	esi, 1074283779
	mov	edi, eax
	mov	eax, 0
	call	ioctl@PLT
	mov	eax, DWORD PTR -20[rbp]
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L33
	call	__stack_chk_fail@PLT
.L33:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	open_input, .-open_input
	.globl	map_events
	.type	map_events, @function
map_events:
.LFB12:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 496
	mov	QWORD PTR -488[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -476[rbp], 0
	mov	DWORD PTR -472[rbp], 0
	mov	rax, QWORD PTR -488[rbp]
	mov	rdi, rax
	call	open_input
	mov	DWORD PTR -456[rbp], eax
	mov	QWORD PTR -448[rbp], 0
	mov	QWORD PTR -440[rbp], 0
.L51:
	lea	rcx, -400[rbp]
	mov	eax, DWORD PTR -456[rbp]
	mov	edx, 384
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	mov	DWORD PTR -468[rbp], eax
	cmp	DWORD PTR -468[rbp], -1
	jne	.L35
	mov	eax, DWORD PTR -456[rbp]
	mov	edi, eax
	call	close@PLT
	mov	DWORD PTR -464[rbp], 0
	jmp	.L36
.L39:
	mov	rax, QWORD PTR -488[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	access@PLT
	cmp	eax, -1
	jne	.L53
	mov	edi, 100000
	call	usleep@PLT
	add	DWORD PTR -464[rbp], 1
.L36:
	cmp	DWORD PTR -464[rbp], 19
	jle	.L39
	jmp	.L38
.L53:
	nop
.L38:
	mov	rax, QWORD PTR -488[rbp]
	mov	rdi, rax
	call	open_input
	mov	DWORD PTR -452[rbp], eax
	lea	rcx, -400[rbp]
	mov	eax, DWORD PTR -452[rbp]
	mov	edx, 384
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	mov	DWORD PTR -468[rbp], eax
	cmp	DWORD PTR -468[rbp], -1
	je	.L35
	lea	rdi, .LC0[rip]
	call	perror
	mov	edi, 1
	call	exit@PLT
.L35:
	mov	eax, DWORD PTR -468[rbp]
	cdqe
	movabs	rdx, -6148914691236517205
	mul	rdx
	shr	rdx, 4
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	lea	rax, -400[rbp]
	add	rax, rdx
	mov	QWORD PTR -424[rbp], rax
	mov	DWORD PTR -460[rbp], 0
	lea	rax, -400[rbp]
	mov	QWORD PTR -432[rbp], rax
	jmp	.L40
.L50:
	mov	rax, QWORD PTR -432[rbp]
	movzx	eax, WORD PTR 16[rax]
	cmp	ax, 4
	jne	.L41
	mov	rax, QWORD PTR -432[rbp]
	movzx	eax, WORD PTR 18[rax]
	cmp	ax, 4
	jne	.L41
	mov	rax, QWORD PTR -432[rbp]
	mov	eax, DWORD PTR 20[rax]
	mov	DWORD PTR -472[rbp], eax
	mov	DWORD PTR -460[rbp], 1
	jmp	.L42
.L41:
	mov	rax, QWORD PTR -432[rbp]
	movzx	eax, WORD PTR 16[rax]
	cmp	ax, 1
	jne	.L54
	cmp	DWORD PTR -460[rbp], 0
	je	.L54
	mov	rax, QWORD PTR -432[rbp]
	mov	eax, DWORD PTR 20[rax]
	cmp	eax, 2
	je	.L54
	mov	DWORD PTR -460[rbp], 0
	mov	rax, QWORD PTR -432[rbp]
	mov	eax, DWORD PTR 20[rax]
	cmp	eax, 1
	jne	.L45
	mov	rax, QWORD PTR -432[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -448[rbp], rax
	mov	rax, QWORD PTR -432[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -440[rbp], rax
	mov	eax, DWORD PTR -472[rbp]
	mov	DWORD PTR -476[rbp], eax
	jmp	.L42
.L45:
	mov	eax, DWORD PTR -472[rbp]
	cmp	eax, DWORD PTR -476[rbp]
	jne	.L42
	mov	rax, QWORD PTR -432[rbp]
	mov	rax, QWORD PTR [rax]
	sub	rax, QWORD PTR -448[rbp]
	mov	QWORD PTR -416[rbp], rax
	cmp	QWORD PTR -416[rbp], 1
	jg	.L55
	mov	rax, QWORD PTR -432[rbp]
	mov	rax, QWORD PTR 8[rax]
	sub	rax, QWORD PTR -440[rbp]
	mov	rdx, rax
	mov	rax, QWORD PTR -416[rbp]
	imul	rax, rax, 1000000
	add	rax, rdx
	cmp	rax, 220000
	jg	.L56
	mov	rax, QWORD PTR -432[rbp]
	movzx	eax, WORD PTR 18[rax]
	movzx	eax, ax
	mov	edi, eax
	call	find_keybind
	mov	QWORD PTR -408[rbp], rax
	cmp	QWORD PTR -408[rbp], 0
	je	.L57
	mov	rax, QWORD PTR -408[rbp]
	movzx	eax, WORD PTR 4[rax]
	test	ax, ax
	je	.L49
	mov	rax, QWORD PTR -408[rbp]
	movzx	eax, WORD PTR 4[rax]
	movzx	ecx, ax
	mov	rax, QWORD PTR -408[rbp]
	movzx	eax, WORD PTR 2[rax]
	movzx	eax, ax
	mov	edx, DWORD PTR -456[rbp]
	mov	esi, ecx
	mov	edi, eax
	call	tap_mod_key
	jmp	.L42
.L49:
	mov	rax, QWORD PTR -408[rbp]
	movzx	eax, WORD PTR 2[rax]
	movzx	eax, ax
	mov	edx, DWORD PTR -456[rbp]
	mov	esi, edx
	mov	edi, eax
	call	tap_key
	jmp	.L42
.L54:
	nop
	jmp	.L42
.L55:
	nop
	jmp	.L42
.L56:
	nop
	jmp	.L42
.L57:
	nop
.L42:
	add	QWORD PTR -432[rbp], 24
.L40:
	mov	rax, QWORD PTR -432[rbp]
	cmp	rax, QWORD PTR -424[rbp]
	jb	.L50
	jmp	.L51
	.cfi_endproc
.LFE12:
	.size	map_events, .-map_events
	.section	.rodata
	.align 8
.LC1:
	.string	"Error: Missing Arguments\nConsult `evdoublebind-make-config -h` for config details\nUsage: \n  evdoublebind <Keyboard> <Mapping>"
	.text
	.globl	main
	.type	main, @function
main:
.LFB13:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	DWORD PTR -20[rbp], edi
	mov	QWORD PTR -32[rbp], rsi
	cmp	DWORD PTR -20[rbp], 2
	jg	.L59
	lea	rdi, .LC1[rip]
	call	perror
	mov	edi, 1
	call	exit@PLT
.L59:
	mov	edi, -20
	call	nice@PLT
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	parse_keymap
	mov	DWORD PTR -4[rbp], eax
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	map_events
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.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	"821061.c"
	.text
	.local	KEYMAP
	.comm	KEYMAP,384,4
	.local	KEYMAP_LEN
	.comm	KEYMAP_LEN,4,4
	.align	2
	.global	parse_keymap
	.syntax unified
	.arm
	.fpu softvfp
	.type	parse_keymap, %function
parse_keymap:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-8]
.L13:
	ldr	r3, [fp, #-12]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #124
	beq	.L2
	cmp	r3, #124
	bgt	.L3
	cmp	r3, #58
	beq	.L4
	cmp	r3, #58
	bgt	.L3
	cmp	r3, #0
	beq	.L5
	cmp	r3, #44
	bne	.L3
.L5:
	ldr	r3, .L16
	ldr	r2, [r3]
	ldr	r1, .L16+4
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r1, r3
	add	r3, r3, #2
	ldrh	r3, [r3]
	cmp	r3, #0
	beq	.L6
	ldr	r3, .L16
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #16
	lsr	r1, r3, #16
	ldr	r0, .L16+4
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r0, r3
	add	r3, r3, #4
	strh	r1, [r3]	@ movhi
	b	.L7
.L6:
	ldr	r3, .L16
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #16
	lsr	r1, r3, #16
	ldr	r0, .L16+4
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r0, r3
	add	r3, r3, #2
	strh	r1, [r3]	@ movhi
.L7:
	ldr	r3, .L16
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L16
	str	r3, [r2]
	mov	r3, #0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-12]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L15
	ldr	r3, .L16
	ldr	r3, [r3]
	b	.L14
.L4:
	ldr	r3, .L16
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #16
	lsr	r1, r3, #16
	ldr	r0, .L16+4
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r0, r3
	strh	r1, [r3]	@ movhi
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L10
.L2:
	ldr	r3, .L16
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #16
	lsr	r1, r3, #16
	ldr	r0, .L16+4
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r0, r3
	add	r3, r3, #2
	strh	r1, [r3]	@ movhi
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L10
.L3:
	ldr	r3, [fp, #-12]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #57
	bhi	.L11
	ldr	r3, [fp, #-12]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #47
	bhi	.L12
.L11:
	mov	r0, #1
	bl	exit
.L12:
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	mov	r2, r3
	ldr	r3, [fp, #-12]
	ldrb	r3, [r3]	@ zero_extendqisi2
	sub	r3, r3, #48
	add	r3, r2, r3
	str	r3, [fp, #-8]
	b	.L10
.L15:
	nop
.L10:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
	b	.L13
.L14:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L17:
	.align	2
.L16:
	.word	KEYMAP_LEN
	.word	KEYMAP
	.size	parse_keymap, .-parse_keymap
	.align	2
	.global	perror
	.syntax unified
	.arm
	.fpu softvfp
	.type	perror, %function
perror:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-16]
	str	r3, [fp, #-8]
	b	.L19
.L20:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L19:
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L20
	ldr	r3, [fp, #-12]
	mov	r2, r3
	ldr	r1, [fp, #-16]
	mov	r0, #2
	bl	write
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	perror, .-perror
	.section	.rodata
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	tap_mod_key
	.syntax unified
	.arm
	.fpu softvfp
	.type	tap_mod_key, %function
tap_mod_key:
	@ args = 0, pretend = 0, frame = 96
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #96
	mov	r3, r0
	str	r2, [fp, #-100]
	strh	r3, [fp, #-94]	@ movhi
	mov	r3, r1	@ movhi
	strh	r3, [fp, #-96]	@ movhi
	ldr	r3, .L24
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-88]
	mov	r3, #0
	str	r3, [fp, #-84]
	mov	r3, #1
	strh	r3, [fp, #-80]	@ movhi
	ldrh	r3, [fp, #-96]	@ movhi
	strh	r3, [fp, #-78]	@ movhi
	mov	r3, #1
	str	r3, [fp, #-76]
	mov	r3, #0
	str	r3, [fp, #-72]
	mov	r3, #0
	str	r3, [fp, #-68]
	mov	r3, #1
	strh	r3, [fp, #-64]	@ movhi
	ldrh	r3, [fp, #-94]	@ movhi
	strh	r3, [fp, #-62]	@ movhi
	mov	r3, #1
	str	r3, [fp, #-60]
	mov	r3, #0
	str	r3, [fp, #-56]
	mov	r3, #0
	str	r3, [fp, #-52]
	mov	r3, #1
	strh	r3, [fp, #-48]	@ movhi
	ldrh	r3, [fp, #-94]	@ movhi
	strh	r3, [fp, #-46]	@ movhi
	mov	r3, #0
	str	r3, [fp, #-44]
	mov	r3, #0
	str	r3, [fp, #-40]
	mov	r3, #0
	str	r3, [fp, #-36]
	mov	r3, #1
	strh	r3, [fp, #-32]	@ movhi
	ldrh	r3, [fp, #-96]	@ movhi
	strh	r3, [fp, #-30]	@ movhi
	mov	r3, #0
	str	r3, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-20]
	mov	r3, #0
	strh	r3, [fp, #-16]	@ movhi
	mov	r3, #0
	strh	r3, [fp, #-14]	@ movhi
	mov	r3, #0
	str	r3, [fp, #-12]
	sub	r3, fp, #88
	mov	r2, #80
	mov	r1, r3
	ldr	r0, [fp, #-100]
	bl	write
	mov	r3, r0
	ldr	r2, .L24
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L23
	bl	__stack_chk_fail
.L23:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L25:
	.align	2
.L24:
	.word	.LC1
	.size	tap_mod_key, .-tap_mod_key
	.section	.rodata
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	tap_key
	.syntax unified
	.arm
	.fpu softvfp
	.type	tap_key, %function
tap_key:
	@ args = 0, pretend = 0, frame = 64
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #64
	mov	r3, r0
	str	r1, [fp, #-68]
	strh	r3, [fp, #-62]	@ movhi
	ldr	r3, .L29
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-56]
	mov	r3, #0
	str	r3, [fp, #-52]
	mov	r3, #1
	strh	r3, [fp, #-48]	@ movhi
	ldrh	r3, [fp, #-62]	@ movhi
	strh	r3, [fp, #-46]	@ movhi
	mov	r3, #1
	str	r3, [fp, #-44]
	mov	r3, #0
	str	r3, [fp, #-40]
	mov	r3, #0
	str	r3, [fp, #-36]
	mov	r3, #1
	strh	r3, [fp, #-32]	@ movhi
	ldrh	r3, [fp, #-62]	@ movhi
	strh	r3, [fp, #-30]	@ movhi
	mov	r3, #0
	str	r3, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-20]
	mov	r3, #0
	strh	r3, [fp, #-16]	@ movhi
	mov	r3, #0
	strh	r3, [fp, #-14]	@ movhi
	mov	r3, #0
	str	r3, [fp, #-12]
	sub	r3, fp, #56
	mov	r2, #48
	mov	r1, r3
	ldr	r0, [fp, #-68]
	bl	write
	mov	r3, r0
	ldr	r2, .L29
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L28
	bl	__stack_chk_fail
.L28:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L30:
	.align	2
.L29:
	.word	.LC2
	.size	tap_key, .-tap_key
	.align	2
	.global	find_keybind
	.syntax unified
	.arm
	.fpu softvfp
	.type	find_keybind, %function
find_keybind:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L32
.L35:
	ldr	r1, .L36
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r1, r3
	ldrh	r3, [r3]
	mov	r2, r3
	ldr	r3, [fp, #-16]
	cmp	r3, r2
	bne	.L33
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, .L36
	add	r3, r3, r2
	b	.L34
.L33:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L32:
	ldr	r3, .L36+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	blt	.L35
	mov	r3, #0
.L34:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L37:
	.align	2
.L36:
	.word	KEYMAP
	.word	KEYMAP_LEN
	.size	find_keybind, .-find_keybind
	.section	.rodata
	.align	2
.LC3:
	.ascii	"Error: Opening Keyboard\000"
	.align	2
.LC0:
	.word	2048
	.word	2048
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	open_input
	.syntax unified
	.arm
	.fpu softvfp
	.type	open_input, %function
open_input:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-24]
	ldr	r3, .L42
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r1, #2
	ldr	r0, [fp, #-24]
	bl	open
	str	r0, [fp, #-20]
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bge	.L39
	ldr	r0, .L42+4
	bl	perror
	mov	r0, #1
	bl	exit
.L39:
	ldr	r2, .L42+8
	sub	r3, fp, #16
	ldm	r2, {r0, r1}
	stm	r3, {r0, r1}
	sub	r3, fp, #16
	mov	r2, r3
	ldr	r1, .L42+12
	ldr	r0, [fp, #-20]
	bl	ioctl
	ldr	r3, [fp, #-20]
	ldr	r2, .L42
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L41
	bl	__stack_chk_fail
.L41:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L43:
	.align	2
.L42:
	.word	.LC4
	.word	.LC3
	.word	.LC0
	.word	1074283779
	.size	open_input, .-open_input
	.section	.rodata
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	map_events
	.syntax unified
	.arm
	.fpu softvfp
	.type	map_events, %function
map_events:
	@ args = 0, pretend = 0, frame = 320
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #320
	str	r0, [fp, #-320]
	ldr	r3, .L68
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-316]
	mov	r3, #0
	str	r3, [fp, #-312]
	ldr	r0, [fp, #-320]
	bl	open_input
	str	r0, [fp, #-284]
	mov	r3, #0
	str	r3, [fp, #-308]
	mov	r3, #0
	str	r3, [fp, #-304]
.L61:
	sub	r3, fp, #264
	mov	r2, #256
	mov	r1, r3
	ldr	r0, [fp, #-284]
	bl	read
	str	r0, [fp, #-300]
	ldr	r3, [fp, #-300]
	cmn	r3, #1
	bne	.L45
	ldr	r0, [fp, #-284]
	bl	close
	mov	r3, #0
	str	r3, [fp, #-296]
	b	.L46
.L49:
	mov	r1, #0
	ldr	r0, [fp, #-320]
	bl	access
	mov	r3, r0
	cmn	r3, #1
	bne	.L63
	ldr	r0, .L68+4
	bl	usleep
	ldr	r3, [fp, #-296]
	add	r3, r3, #1
	str	r3, [fp, #-296]
.L46:
	ldr	r3, [fp, #-296]
	cmp	r3, #19
	ble	.L49
	b	.L48
.L63:
	nop
.L48:
	ldr	r0, [fp, #-320]
	bl	open_input
	str	r0, [fp, #-280]
	sub	r3, fp, #264
	mov	r2, #256
	mov	r1, r3
	ldr	r0, [fp, #-280]
	bl	read
	str	r0, [fp, #-300]
	ldr	r3, [fp, #-300]
	cmn	r3, #1
	beq	.L45
	ldr	r0, .L68+8
	bl	perror
	mov	r0, #1
	bl	exit
.L45:
	ldr	r3, [fp, #-300]
	bic	r3, r3, #15
	sub	r2, fp, #264
	add	r3, r2, r3
	str	r3, [fp, #-276]
	mov	r3, #0
	str	r3, [fp, #-292]
	sub	r3, fp, #264
	str	r3, [fp, #-288]
	b	.L50
.L60:
	ldr	r3, [fp, #-288]
	ldrh	r3, [r3, #8]
	cmp	r3, #4
	bne	.L51
	ldr	r3, [fp, #-288]
	ldrh	r3, [r3, #10]
	cmp	r3, #4
	bne	.L51
	ldr	r3, [fp, #-288]
	ldr	r3, [r3, #12]
	str	r3, [fp, #-312]
	mov	r3, #1
	str	r3, [fp, #-292]
	b	.L52
.L51:
	ldr	r3, [fp, #-288]
	ldrh	r3, [r3, #8]
	cmp	r3, #1
	bne	.L64
	ldr	r3, [fp, #-292]
	cmp	r3, #0
	beq	.L64
	ldr	r3, [fp, #-288]
	ldr	r3, [r3, #12]
	cmp	r3, #2
	beq	.L64
	mov	r3, #0
	str	r3, [fp, #-292]
	ldr	r3, [fp, #-288]
	ldr	r3, [r3, #12]
	cmp	r3, #1
	bne	.L55
	ldr	r3, [fp, #-288]
	ldr	r3, [r3]
	str	r3, [fp, #-308]
	ldr	r3, [fp, #-288]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-304]
	ldr	r3, [fp, #-312]
	str	r3, [fp, #-316]
	b	.L52
.L55:
	ldr	r2, [fp, #-312]
	ldr	r3, [fp, #-316]
	cmp	r2, r3
	bne	.L52
	ldr	r3, [fp, #-288]
	ldr	r2, [r3]
	ldr	r3, [fp, #-308]
	sub	r3, r2, r3
	str	r3, [fp, #-272]
	ldr	r3, [fp, #-272]
	cmp	r3, #1
	bgt	.L65
	ldr	r3, [fp, #-288]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-304]
	sub	r0, r2, r3
	ldr	r1, [fp, #-272]
	mov	r2, r1
	lsl	r2, r2, #5
	sub	r2, r2, r1
	lsl	r3, r2, #6
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r1
	lsl	r3, r3, #6
	add	r3, r0, r3
	ldr	r2, .L68+12
	cmp	r3, r2
	bgt	.L66
	ldr	r3, [fp, #-288]
	ldrh	r3, [r3, #10]
	mov	r0, r3
	bl	find_keybind
	str	r0, [fp, #-268]
	ldr	r3, [fp, #-268]
	cmp	r3, #0
	beq	.L67
	ldr	r3, [fp, #-268]
	ldrh	r3, [r3, #4]
	cmp	r3, #0
	beq	.L59
	ldr	r3, [fp, #-268]
	ldrh	r0, [r3, #2]
	ldr	r3, [fp, #-268]
	ldrh	r3, [r3, #4]
	ldr	r2, [fp, #-284]
	mov	r1, r3
	bl	tap_mod_key
	b	.L52
.L59:
	ldr	r3, [fp, #-268]
	ldrh	r3, [r3, #2]
	ldr	r1, [fp, #-284]
	mov	r0, r3
	bl	tap_key
	b	.L52
.L64:
	nop
	b	.L52
.L65:
	nop
	b	.L52
.L66:
	nop
	b	.L52
.L67:
	nop
.L52:
	ldr	r3, [fp, #-288]
	add	r3, r3, #16
	str	r3, [fp, #-288]
.L50:
	ldr	r2, [fp, #-288]
	ldr	r3, [fp, #-276]
	cmp	r2, r3
	bcc	.L60
	b	.L61
.L69:
	.align	2
.L68:
	.word	.LC5
	.word	100000
	.word	.LC3
	.word	220000
	.size	map_events, .-map_events
	.section	.rodata
	.align	2
.LC6:
	.ascii	"Error: Missing Arguments\012Consult `evdoublebind-m"
	.ascii	"ake-config -h` for config details\012Usage: \012  e"
	.ascii	"vdoublebind <Keyboard> <Mapping>\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	ldr	r3, [fp, #-16]
	cmp	r3, #2
	bgt	.L71
	ldr	r0, .L73
	bl	perror
	mov	r0, #1
	bl	exit
.L71:
	mvn	r0, #19
	bl	nice
	ldr	r3, [fp, #-20]
	add	r3, r3, #8
	ldr	r3, [r3]
	mov	r0, r3
	bl	parse_keymap
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-20]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r0, r3
	bl	map_events
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L74:
	.align	2
.L73:
	.word	.LC6
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
