	.file	"825278.c"
	.intel_syntax noprefix
	.text
	.globl	fname
	.section	.rodata
.LC0:
	.string	"/dev/input/event1"
	.section	.data.rel.local,"aw"
	.align 8
	.type	fname, @object
	.size	fname, 8
fname:
	.quad	.LC0
	.text
	.globl	make_event
	.type	make_event, @function
make_event:
.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, 64
	mov	QWORD PTR -40[rbp], rdi
	mov	eax, edx
	mov	DWORD PTR -52[rbp], ecx
	mov	edx, esi
	mov	WORD PTR -44[rbp], dx
	mov	WORD PTR -48[rbp], ax
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -32[rbp]
	mov	edx, 24
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	lea	rax, -32[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	gettimeofday@PLT
	movzx	eax, WORD PTR -44[rbp]
	mov	WORD PTR -16[rbp], ax
	movzx	eax, WORD PTR -48[rbp]
	mov	WORD PTR -14[rbp], ax
	mov	eax, DWORD PTR -52[rbp]
	mov	DWORD PTR -12[rbp], eax
	mov	rcx, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR -32[rbp]
	mov	rdx, QWORD PTR -24[rbp]
	mov	QWORD PTR [rcx], rax
	mov	QWORD PTR 8[rcx], rdx
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR 16[rcx], rax
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L3
	call	__stack_chk_fail@PLT
.L3:
	mov	rax, QWORD PTR -40[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	make_event, .-make_event
	.globl	send_event
	.type	send_event, @function
send_event:
.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, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	mov	rcx, QWORD PTR -16[rbp]
	mov	edx, 24
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	mov	edi, 1000
	call	usleep@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	send_event, .-send_event
	.section	.rodata
	.align 8
.LC1:
	.string	"Error opening mouse event file:%s\n"
	.text
	.globl	openDevice
	.type	openDevice, @function
openDevice:
.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, 16
	mov	rax, QWORD PTR fname[rip]
	mov	esi, 2
	mov	rdi, rax
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 0
	jns	.L6
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, -1
	jmp	.L7
.L6:
	mov	eax, DWORD PTR -4[rbp]
.L7:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	openDevice, .-openDevice
	.globl	touch_at
	.type	touch_at, @function
touch_at:
.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, 352
	mov	DWORD PTR -340[rbp], edi
	mov	DWORD PTR -344[rbp], esi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	eax, 0
	call	openDevice
	mov	DWORD PTR -324[rbp], eax
	lea	rax, -320[rbp]
	mov	edx, DWORD PTR -340[rbp]
	mov	ecx, edx
	mov	edx, 0
	mov	esi, 3
	mov	rdi, rax
	call	make_event
	lea	rax, -288[rbp]
	mov	edx, DWORD PTR -344[rbp]
	mov	ecx, edx
	mov	edx, 1
	mov	esi, 3
	mov	rdi, rax
	call	make_event
	lea	rax, -256[rbp]
	mov	ecx, 101
	mov	edx, 24
	mov	esi, 3
	mov	rdi, rax
	call	make_event
	lea	rax, -224[rbp]
	mov	ecx, 100
	mov	edx, 24
	mov	esi, 3
	mov	rdi, rax
	call	make_event
	lea	rax, -192[rbp]
	mov	ecx, 0
	mov	edx, 24
	mov	esi, 3
	mov	rdi, rax
	call	make_event
	lea	rax, -160[rbp]
	mov	ecx, 1
	mov	edx, 330
	mov	esi, 1
	mov	rdi, rax
	call	make_event
	lea	rax, -128[rbp]
	mov	ecx, 0
	mov	edx, 330
	mov	esi, 1
	mov	rdi, rax
	call	make_event
	lea	rax, -96[rbp]
	mov	ecx, 0
	mov	edx, 0
	mov	esi, 0
	mov	rdi, rax
	call	make_event
	mov	eax, DWORD PTR -340[rbp]
	lea	edx, -1[rax]
	lea	rax, -64[rbp]
	mov	ecx, edx
	mov	edx, 0
	mov	esi, 3
	mov	rdi, rax
	call	make_event
	mov	eax, DWORD PTR -344[rbp]
	lea	edx, -1[rax]
	lea	rax, -32[rbp]
	mov	ecx, edx
	mov	edx, 1
	mov	esi, 3
	mov	rdi, rax
	call	make_event
	lea	rdx, -320[rbp]
	lea	rax, -324[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	send_event
	lea	rdx, -288[rbp]
	lea	rax, -324[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	send_event
	lea	rdx, -256[rbp]
	lea	rax, -324[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	send_event
	lea	rdx, -160[rbp]
	lea	rax, -324[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	send_event
	lea	rdx, -96[rbp]
	lea	rax, -324[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	send_event
	mov	edi, 10000
	call	usleep@PLT
	lea	rdx, -64[rbp]
	lea	rax, -324[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	send_event
	lea	rdx, -32[rbp]
	lea	rax, -324[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	send_event
	lea	rdx, -224[rbp]
	lea	rax, -324[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	send_event
	lea	rdx, -96[rbp]
	lea	rax, -324[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	send_event
	mov	edi, 100000
	call	usleep@PLT
	lea	rdx, -192[rbp]
	lea	rax, -324[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	send_event
	lea	rdx, -128[rbp]
	lea	rax, -324[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	send_event
	lea	rdx, -96[rbp]
	lea	rax, -324[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	send_event
	mov	edi, 100000
	call	usleep@PLT
	mov	eax, DWORD PTR -324[rbp]
	mov	edi, eax
	call	close@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L9
	call	__stack_chk_fail@PLT
.L9:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	touch_at, .-touch_at
	.section	.rodata
.LC2:
	.string	"touch at %i %i\n"
	.align 8
.LC3:
	.string	"Need x and y coordinates as arguments"
	.text
	.globl	main
	.type	main, @function
main:
.LFB10:
	.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
	mov	DWORD PTR -12[rbp], 0
	cmp	DWORD PTR -20[rbp], 3
	jne	.L11
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR -8[rbp], eax
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR -4[rbp], eax
	mov	edx, DWORD PTR -4[rbp]
	mov	eax, DWORD PTR -8[rbp]
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edx, DWORD PTR -4[rbp]
	mov	eax, DWORD PTR -8[rbp]
	mov	esi, edx
	mov	edi, eax
	call	touch_at
	jmp	.L12
.L11:
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
.L12:
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.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	"825278.c"
	.text
	.global	fname
	.section	.rodata
	.align	2
.LC0:
	.ascii	"/dev/input/event1\000"
	.data
	.align	2
	.type	fname, %object
	.size	fname, 4
fname:
	.word	.LC0
	.section	.rodata
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	make_event
	.syntax unified
	.arm
	.fpu softvfp
	.type	make_event, %function
make_event:
	@ 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, #-32]
	str	r3, [fp, #-40]
	mov	r3, r1	@ movhi
	strh	r3, [fp, #-34]	@ movhi
	mov	r3, r2	@ movhi
	strh	r3, [fp, #-36]	@ movhi
	ldr	r3, .L4
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #24
	mov	r2, #16
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #24
	mov	r1, #0
	mov	r0, r3
	bl	gettimeofday
	ldrh	r3, [fp, #-34]	@ movhi
	strh	r3, [fp, #-16]	@ movhi
	ldrh	r3, [fp, #-36]	@ movhi
	strh	r3, [fp, #-14]	@ movhi
	ldr	r3, [fp, #-40]
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-32]
	mov	ip, r3
	sub	r3, fp, #24
	ldm	r3, {r0, r1, r2, r3}
	stm	ip, {r0, r1, r2, r3}
	ldr	r3, .L4
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L3
	bl	__stack_chk_fail
.L3:
	ldr	r0, [fp, #-32]
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L5:
	.align	2
.L4:
	.word	.LC1
	.size	make_event, .-make_event
	.align	2
	.global	send_event
	.syntax unified
	.arm
	.fpu softvfp
	.type	send_event, %function
send_event:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	mov	r2, #16
	ldr	r1, [fp, #-12]
	mov	r0, r3
	bl	write
	mov	r0, #1000
	bl	usleep
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	send_event, .-send_event
	.section	.rodata
	.align	2
.LC2:
	.ascii	"Error opening mouse event file:%s\012\000"
	.text
	.align	2
	.global	openDevice
	.syntax unified
	.arm
	.fpu softvfp
	.type	openDevice, %function
openDevice:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	ldr	r3, .L10
	ldr	r3, [r3]
	mov	r1, #2
	mov	r0, r3
	bl	open
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bge	.L8
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L10+4
	bl	printf
	mvn	r3, #0
	b	.L9
.L8:
	ldr	r3, [fp, #-8]
.L9:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L11:
	.align	2
.L10:
	.word	fname
	.word	.LC2
	.size	openDevice, .-openDevice
	.section	.rodata
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	touch_at
	.syntax unified
	.arm
	.fpu softvfp
	.type	touch_at, %function
touch_at:
	@ args = 0, pretend = 0, frame = 176
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #176
	str	r0, [fp, #-176]
	str	r1, [fp, #-180]
	ldr	r3, .L14
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	bl	openDevice
	mov	r3, r0
	str	r3, [fp, #-172]
	sub	r0, fp, #168
	ldr	r3, [fp, #-176]
	mov	r2, #0
	mov	r1, #3
	bl	make_event
	sub	r0, fp, #152
	ldr	r3, [fp, #-180]
	mov	r2, #1
	mov	r1, #3
	bl	make_event
	sub	r0, fp, #136
	mov	r3, #101
	mov	r2, #24
	mov	r1, #3
	bl	make_event
	sub	r0, fp, #120
	mov	r3, #100
	mov	r2, #24
	mov	r1, #3
	bl	make_event
	sub	r0, fp, #104
	mov	r3, #0
	mov	r2, #24
	mov	r1, #3
	bl	make_event
	sub	r0, fp, #88
	mov	r3, #1
	ldr	r2, .L14+4
	mov	r1, #1
	bl	make_event
	sub	r0, fp, #72
	mov	r3, #0
	ldr	r2, .L14+4
	mov	r1, #1
	bl	make_event
	sub	r0, fp, #56
	mov	r3, #0
	mov	r2, #0
	mov	r1, #0
	bl	make_event
	ldr	r3, [fp, #-176]
	sub	r3, r3, #1
	sub	r0, fp, #40
	mov	r2, #0
	mov	r1, #3
	bl	make_event
	ldr	r3, [fp, #-180]
	sub	r3, r3, #1
	sub	r0, fp, #24
	mov	r2, #1
	mov	r1, #3
	bl	make_event
	sub	r2, fp, #168
	sub	r3, fp, #172
	mov	r1, r2
	mov	r0, r3
	bl	send_event
	sub	r2, fp, #152
	sub	r3, fp, #172
	mov	r1, r2
	mov	r0, r3
	bl	send_event
	sub	r2, fp, #136
	sub	r3, fp, #172
	mov	r1, r2
	mov	r0, r3
	bl	send_event
	sub	r2, fp, #88
	sub	r3, fp, #172
	mov	r1, r2
	mov	r0, r3
	bl	send_event
	sub	r2, fp, #56
	sub	r3, fp, #172
	mov	r1, r2
	mov	r0, r3
	bl	send_event
	ldr	r0, .L14+8
	bl	usleep
	sub	r2, fp, #40
	sub	r3, fp, #172
	mov	r1, r2
	mov	r0, r3
	bl	send_event
	sub	r2, fp, #24
	sub	r3, fp, #172
	mov	r1, r2
	mov	r0, r3
	bl	send_event
	sub	r2, fp, #120
	sub	r3, fp, #172
	mov	r1, r2
	mov	r0, r3
	bl	send_event
	sub	r2, fp, #56
	sub	r3, fp, #172
	mov	r1, r2
	mov	r0, r3
	bl	send_event
	ldr	r0, .L14+12
	bl	usleep
	sub	r2, fp, #104
	sub	r3, fp, #172
	mov	r1, r2
	mov	r0, r3
	bl	send_event
	sub	r2, fp, #72
	sub	r3, fp, #172
	mov	r1, r2
	mov	r0, r3
	bl	send_event
	sub	r2, fp, #56
	sub	r3, fp, #172
	mov	r1, r2
	mov	r0, r3
	bl	send_event
	ldr	r0, .L14+12
	bl	usleep
	ldr	r3, [fp, #-172]
	mov	r0, r3
	bl	close
	nop
	ldr	r3, .L14
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L13
	bl	__stack_chk_fail
.L13:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L15:
	.align	2
.L14:
	.word	.LC3
	.word	330
	.word	10000
	.word	100000
	.size	touch_at, .-touch_at
	.section	.rodata
	.align	2
.LC4:
	.ascii	"touch at %i %i\012\000"
	.align	2
.LC5:
	.ascii	"Need x and y coordinates as arguments\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ 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]
	str	r1, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-24]
	cmp	r3, #3
	bne	.L17
	ldr	r3, [fp, #-28]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-28]
	add	r3, r3, #8
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	str	r0, [fp, #-8]
	ldr	r2, [fp, #-8]
	ldr	r1, [fp, #-12]
	ldr	r0, .L20
	bl	printf
	ldr	r1, [fp, #-8]
	ldr	r0, [fp, #-12]
	bl	touch_at
	b	.L18
.L17:
	ldr	r0, .L20+4
	bl	printf
.L18:
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L21:
	.align	2
.L20:
	.word	.LC4
	.word	.LC5
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
