	.file	"1003313.c"
	.intel_syntax noprefix
	.text
	.data
	.align 4
	.type	gIdleTimeout, @object
	.size	gIdleTimeout, 4
gIdleTimeout:
	.long	1
	.local	gVerbose
	.comm	gVerbose,4,4
	.local	working
	.comm	working,4,4
	.text
	.type	signalHandler, @function
signalHandler:
.LFB6:
	.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 -4[rbp], edi
	mov	DWORD PTR working[rip], 0
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	signalHandler, .-signalHandler
	.section	.rodata
	.align 8
.LC0:
	.string	"xhhpc: could not register SIGTERM"
	.align 8
.LC1:
	.string	"xhhpc: could not register SIGHUP"
	.align 8
.LC2:
	.string	"xhhpc: could not register SIGINT"
	.align 8
.LC3:
	.string	"xhhpc: could not register SIGQUIT"
	.text
	.type	setupSignals, @function
setupSignals:
.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, 160
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -160[rbp]
	mov	edx, 152
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	lea	rax, signalHandler[rip]
	mov	QWORD PTR -160[rbp], rax
	mov	DWORD PTR -24[rbp], 0
	lea	rax, -160[rbp]
	add	rax, 8
	mov	rdi, rax
	call	sigemptyset@PLT
	lea	rax, -160[rbp]
	mov	edx, 0
	mov	rsi, rax
	mov	edi, 15
	call	sigaction@PLT
	cmp	eax, -1
	jne	.L3
	lea	rdi, .LC0[rip]
	call	perror@PLT
	mov	eax, 0
	jmp	.L8
.L3:
	lea	rax, -160[rbp]
	mov	edx, 0
	mov	rsi, rax
	mov	edi, 1
	call	sigaction@PLT
	cmp	eax, -1
	jne	.L5
	lea	rdi, .LC1[rip]
	call	perror@PLT
	mov	eax, 0
	jmp	.L8
.L5:
	lea	rax, -160[rbp]
	mov	edx, 0
	mov	rsi, rax
	mov	edi, 2
	call	sigaction@PLT
	cmp	eax, -1
	jne	.L6
	lea	rdi, .LC2[rip]
	call	perror@PLT
	mov	eax, 0
	jmp	.L8
.L6:
	lea	rax, -160[rbp]
	mov	edx, 0
	mov	rsi, rax
	mov	edi, 3
	call	sigaction@PLT
	cmp	eax, -1
	jne	.L7
	lea	rdi, .LC3[rip]
	call	perror@PLT
	mov	eax, 0
	jmp	.L8
.L7:
	mov	eax, 1
.L8:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L9
	call	__stack_chk_fail@PLT
.L9:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	setupSignals, .-setupSignals
	.type	delay, @function
delay:
.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, 48
	mov	QWORD PTR -40[rbp], rdi
	mov	QWORD PTR -48[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -40[rbp]
	mov	QWORD PTR -32[rbp], rax
	mov	rcx, QWORD PTR -48[rbp]
	movabs	rdx, 2361183241434822607
	mov	rax, rcx
	imul	rdx
	mov	rax, rdx
	sar	rax, 7
	mov	rdx, rcx
	sar	rdx, 63
	sub	rax, rdx
	imul	rdx, rax, 1000
	mov	rax, rcx
	sub	rax, rdx
	imul	rax, rax, 1000000
	mov	QWORD PTR -24[rbp], rax
	lea	rax, -32[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	nanosleep@PLT
	cmp	eax, -1
	jne	.L13
	mov	edi, 0
	call	signalHandler
.L13:
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L12
	call	__stack_chk_fail@PLT
.L12:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	delay, .-delay
	.type	nullCursor, @function
nullCursor:
.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, 64
	mov	QWORD PTR -56[rbp], rdi
	mov	QWORD PTR -64[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -32[rbp], 0
	mov	QWORD PTR -24[rbp], 0
	mov	BYTE PTR -9[rbp], 0
	lea	rdx, -9[rbp]
	mov	rsi, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR -56[rbp]
	mov	r8d, 1
	mov	ecx, 1
	mov	rdi, rax
	call	XCreateBitmapFromData@PLT
	mov	QWORD PTR -48[rbp], rax
	lea	rdi, -32[rbp]
	lea	rcx, -32[rbp]
	mov	rdx, QWORD PTR -48[rbp]
	mov	rsi, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR -56[rbp]
	sub	rsp, 8
	push	0
	mov	r9d, 0
	mov	r8, rdi
	mov	rdi, rax
	call	XCreatePixmapCursor@PLT
	add	rsp, 16
	mov	QWORD PTR -40[rbp], rax
	mov	rdx, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR -56[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	XFreePixmap@PLT
	mov	rax, QWORD PTR -40[rbp]
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L16
	call	__stack_chk_fail@PLT
.L16:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	nullCursor, .-nullCursor
	.section	.rodata
	.align 8
.LC4:
	.string	"xhhpc: succesfully grabbed mouse pointer\n"
	.align 8
.LC5:
	.string	"xhhpc: XGrabPointer: already grabbed mouse pointer, retrying with delay\n"
	.align 8
.LC6:
	.string	"xhhpc: XGrabPointer: grab was frozen, retrying after delay\n"
	.align 8
.LC7:
	.string	"xhhpc: XGrabPointer: grab was not viewable, exiting\n"
	.align 8
.LC8:
	.string	"xhhpc: XGrabPointer: invalid time, exiting\n"
	.align 8
.LC9:
	.string	"xhhpc: XGrabPointer: could not grab mouse pointer (%d), exiting\n"
	.text
	.type	grabPointer, @function
grabPointer:
.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, 48
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	QWORD PTR -40[rbp], rdx
	mov	DWORD PTR -44[rbp], ecx
	jmp	.L18
.L30:
	mov	edx, DWORD PTR -44[rbp]
	mov	rsi, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -24[rbp]
	sub	rsp, 8
	push	0
	push	QWORD PTR -40[rbp]
	push	0
	mov	r9d, 1
	mov	r8d, 0
	mov	ecx, edx
	mov	edx, 1
	mov	rdi, rax
	call	XGrabPointer@PLT
	add	rsp, 32
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 4
	ja	.L19
	mov	eax, DWORD PTR -4[rbp]
	lea	rdx, 0[0+rax*4]
	lea	rax, .L21[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L21[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L21:
	.long	.L25-.L21
	.long	.L24-.L21
	.long	.L23-.L21
	.long	.L22-.L21
	.long	.L20-.L21
	.text
.L25:
	mov	eax, DWORD PTR gVerbose[rip]
	test	eax, eax
	je	.L26
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 41
	mov	esi, 1
	lea	rdi, .LC4[rip]
	call	fwrite@PLT
.L26:
	mov	eax, 1
	jmp	.L27
.L24:
	mov	eax, DWORD PTR gVerbose[rip]
	test	eax, eax
	je	.L28
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 72
	mov	esi, 1
	lea	rdi, .LC5[rip]
	call	fwrite@PLT
.L28:
	mov	esi, 500
	mov	edi, 0
	call	delay
	jmp	.L18
.L20:
	mov	eax, DWORD PTR gVerbose[rip]
	test	eax, eax
	je	.L29
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 59
	mov	esi, 1
	lea	rdi, .LC6[rip]
	call	fwrite@PLT
.L29:
	mov	esi, 500
	mov	edi, 0
	call	delay
	jmp	.L18
.L22:
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 52
	mov	esi, 1
	lea	rdi, .LC7[rip]
	call	fwrite@PLT
	mov	eax, 0
	jmp	.L27
.L23:
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 43
	mov	esi, 1
	lea	rdi, .LC8[rip]
	call	fwrite@PLT
	mov	eax, 0
	jmp	.L27
.L19:
	mov	rax, QWORD PTR stderr[rip]
	mov	edx, DWORD PTR -4[rbp]
	lea	rsi, .LC9[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, 0
	jmp	.L27
.L18:
	mov	eax, DWORD PTR working[rip]
	test	eax, eax
	jne	.L30
	mov	eax, 0
.L27:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	grabPointer, .-grabPointer
	.section	.rodata
	.align 8
.LC10:
	.string	"xhhpc: could not register signals, program will not exit cleanly\n"
	.align 8
.LC11:
	.string	"xhhpc: event received, ungrabbing and sleeping\n"
.LC12:
	.string	"xhhpc: draining event\n"
.LC13:
	.string	"xhhpc: timeout\n"
	.align 8
.LC14:
	.string	"xhhpc: error while select()'ing"
	.text
	.type	waitForMotion, @function
waitForMotion:
.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, 400
	mov	QWORD PTR -376[rbp], rdi
	mov	QWORD PTR -384[rbp], rsi
	mov	DWORD PTR -388[rbp], edx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -364[rbp], 0
	mov	rax, QWORD PTR -376[rbp]
	mov	eax, DWORD PTR 16[rax]
	mov	DWORD PTR -360[rbp], eax
	mov	DWORD PTR -356[rbp], 68
	mov	rdx, QWORD PTR -384[rbp]
	mov	rax, QWORD PTR -376[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	nullCursor
	mov	QWORD PTR -344[rbp], rax
	mov	DWORD PTR working[rip], 1
	mov	eax, 0
	call	setupSignals
	test	eax, eax
	jne	.L33
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 65
	mov	esi, 1
	lea	rdi, .LC10[rip]
	call	fwrite@PLT
	jmp	.L33
.L40:
	mov	rax, QWORD PTR -376[rbp]
	mov	edx, 0
	mov	esi, 1
	mov	rdi, rax
	call	XAllowEvents@PLT
	mov	rax, QWORD PTR -376[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	XSync@PLT
	mov	eax, 0
	mov	ecx, 16
	lea	rdx, -336[rbp]
	mov	rdi, rdx
#APP
# 189 "the_stack_data/1003313.c" 1
	cld; rep; stosq
# 0 "" 2
#NO_APP
	mov	eax, edi
	mov	edx, ecx
	mov	DWORD PTR -352[rbp], edx
	mov	DWORD PTR -348[rbp], eax
	mov	eax, DWORD PTR -360[rbp]
	lea	edx, 63[rax]
	test	eax, eax
	cmovs	eax, edx
	sar	eax, 6
	mov	esi, eax
	movsx	rax, esi
	mov	rdi, QWORD PTR -336[rbp+rax*8]
	mov	eax, DWORD PTR -360[rbp]
	cdq
	shr	edx, 26
	add	eax, edx
	and	eax, 63
	sub	eax, edx
	mov	edx, 1
	mov	ecx, eax
	sal	rdx, cl
	mov	rax, rdx
	or	rdi, rax
	mov	rdx, rdi
	movsx	rax, esi
	mov	QWORD PTR -336[rbp+rax*8], rdx
	mov	eax, DWORD PTR -360[rbp]
	lea	edi, 1[rax]
	lea	rax, -336[rbp]
	mov	r8d, 0
	mov	ecx, 0
	mov	edx, 0
	mov	rsi, rax
	call	select@PLT
	mov	DWORD PTR -364[rbp], eax
	cmp	DWORD PTR -364[rbp], 0
	jle	.L34
	mov	eax, DWORD PTR gVerbose[rip]
	test	eax, eax
	je	.L35
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 47
	mov	esi, 1
	lea	rdi, .LC11[rip]
	call	fwrite@PLT
.L35:
	mov	rax, QWORD PTR -376[rbp]
	mov	edx, 0
	mov	esi, 2
	mov	rdi, rax
	call	XAllowEvents@PLT
	mov	rax, QWORD PTR -376[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	XUngrabPointer@PLT
	jmp	.L36
.L37:
	mov	ecx, DWORD PTR -356[rbp]
	lea	rdx, -208[rbp]
	mov	rax, QWORD PTR -376[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	XMaskEvent@PLT
	mov	eax, DWORD PTR gVerbose[rip]
	test	eax, eax
	je	.L36
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 22
	mov	esi, 1
	lea	rdi, .LC12[rip]
	call	fwrite@PLT
.L36:
	mov	rax, QWORD PTR -376[rbp]
	mov	rdi, rax
	call	XPending@PLT
	test	eax, eax
	jne	.L37
	mov	eax, DWORD PTR -388[rbp]
	cdqe
	mov	esi, 0
	mov	rdi, rax
	call	delay
	jmp	.L33
.L34:
	cmp	DWORD PTR -364[rbp], 0
	jne	.L38
	mov	eax, DWORD PTR gVerbose[rip]
	test	eax, eax
	je	.L33
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 15
	mov	esi, 1
	lea	rdi, .LC13[rip]
	call	fwrite@PLT
	jmp	.L33
.L38:
	mov	eax, DWORD PTR working[rip]
	test	eax, eax
	je	.L33
	lea	rdi, .LC14[rip]
	call	perror@PLT
.L33:
	mov	eax, DWORD PTR working[rip]
	test	eax, eax
	je	.L39
	mov	ecx, DWORD PTR -356[rbp]
	mov	rdx, QWORD PTR -344[rbp]
	mov	rsi, QWORD PTR -384[rbp]
	mov	rax, QWORD PTR -376[rbp]
	mov	rdi, rax
	call	grabPointer
	test	eax, eax
	jne	.L40
.L39:
	mov	rax, QWORD PTR -376[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	XUngrabPointer@PLT
	mov	rdx, QWORD PTR -344[rbp]
	mov	rax, QWORD PTR -376[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	XFreeCursor@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L41
	call	__stack_chk_fail@PLT
.L41:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	waitForMotion, .-waitForMotion
	.section	.rodata
.LC15:
	.string	"i:v"
	.text
	.type	parseOptions, @function
parseOptions:
.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, 32
	mov	DWORD PTR -20[rbp], edi
	mov	QWORD PTR -32[rbp], rsi
	mov	DWORD PTR -4[rbp], 0
	jmp	.L43
.L48:
	cmp	DWORD PTR -4[rbp], 105
	je	.L44
	cmp	DWORD PTR -4[rbp], 118
	je	.L45
	jmp	.L49
.L44:
	mov	rax, QWORD PTR optarg[rip]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR gIdleTimeout[rip], eax
	jmp	.L43
.L45:
	mov	DWORD PTR gVerbose[rip], 1
	jmp	.L43
.L49:
	mov	eax, 0
	jmp	.L47
.L43:
	mov	rcx, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR -20[rbp]
	lea	rdx, .LC15[rip]
	mov	rsi, rcx
	mov	edi, eax
	call	getopt@PLT
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], -1
	jne	.L48
	mov	eax, 1
.L47:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	parseOptions, .-parseOptions
	.section	.rodata
.LC16:
	.string	"xhhpc [-i] seconds [-v]"
	.text
	.type	usage, @function
usage:
.LFB13:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	rdi, .LC16[rip]
	call	puts@PLT
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	usage, .-usage
	.section	.rodata
.LC17:
	.string	"DISPLAY"
	.align 8
.LC18:
	.string	"xhhpc: could not open display, DISPLAY environment variable not set, are you sure the X server is started?\n"
	.align 8
.LC19:
	.string	"xhhpc: could not open display %s, check if your X server is running and/or the DISPLAY environment value is correct\n"
	.align 8
.LC20:
	.string	"xhhpc: got root window, screen = %d, display = %p, rootwin = %d\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB14:
	.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	DWORD PTR -36[rbp], edi
	mov	QWORD PTR -48[rbp], rsi
	mov	rdx, QWORD PTR -48[rbp]
	mov	eax, DWORD PTR -36[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	parseOptions
	test	eax, eax
	jne	.L52
	mov	eax, 0
	call	usage
	mov	eax, 1
	jmp	.L53
.L52:
	lea	rdi, .LC17[rip]
	call	getenv@PLT
	mov	QWORD PTR -24[rbp], rax
	mov	edi, 0
	call	XOpenDisplay@PLT
	mov	QWORD PTR -16[rbp], rax
	cmp	QWORD PTR -16[rbp], 0
	jne	.L54
	cmp	QWORD PTR -24[rbp], 0
	je	.L55
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L56
.L55:
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 107
	mov	esi, 1
	lea	rdi, .LC18[rip]
	call	fwrite@PLT
	mov	eax, 2
	jmp	.L53
.L56:
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -24[rbp]
	lea	rsi, .LC19[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, 1
	jmp	.L53
.L54:
	mov	rax, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR 224[rax]
	mov	DWORD PTR -28[rbp], eax
	mov	rax, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR 232[rax]
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	sal	rax, 7
	add	rax, rdx
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR -8[rbp], rax
	mov	eax, DWORD PTR gVerbose[rip]
	test	eax, eax
	je	.L57
	mov	rax, QWORD PTR -8[rbp]
	mov	esi, eax
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, QWORD PTR -16[rbp]
	mov	edx, DWORD PTR -28[rbp]
	mov	r8d, esi
	lea	rsi, .LC20[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L57:
	mov	edx, DWORD PTR gIdleTimeout[rip]
	mov	rcx, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR -16[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	waitForMotion
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	XCloseDisplay@PLT
	mov	eax, 0
.L53:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.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	"1003313.c"
	.text
	.data
	.align	2
	.type	gIdleTimeout, %object
	.size	gIdleTimeout, 4
gIdleTimeout:
	.word	1
	.local	gVerbose
	.comm	gVerbose,4,4
	.local	working
	.comm	working,4,4
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	signalHandler, %function
signalHandler:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	str	r0, [fp, #-8]
	ldr	r3, .L2
	mov	r2, #0
	str	r2, [r3]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L3:
	.align	2
.L2:
	.word	working
	.size	signalHandler, .-signalHandler
	.section	.rodata
	.align	2
.LC0:
	.ascii	"xhhpc: could not register SIGTERM\000"
	.align	2
.LC1:
	.ascii	"xhhpc: could not register SIGHUP\000"
	.align	2
.LC2:
	.ascii	"xhhpc: could not register SIGINT\000"
	.align	2
.LC3:
	.ascii	"xhhpc: could not register SIGQUIT\000"
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	setupSignals, %function
setupSignals:
	@ args = 0, pretend = 0, frame = 144
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #144
	ldr	r3, .L12
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #148
	mov	r2, #140
	mov	r1, #0
	mov	r0, r3
	bl	memset
	ldr	r3, .L12+4
	str	r3, [fp, #-148]
	mov	r3, #0
	str	r3, [fp, #-16]
	sub	r3, fp, #148
	add	r3, r3, #4
	mov	r0, r3
	bl	sigemptyset
	sub	r3, fp, #148
	mov	r2, #0
	mov	r1, r3
	mov	r0, #15
	bl	sigaction
	mov	r3, r0
	cmn	r3, #1
	bne	.L5
	ldr	r0, .L12+8
	bl	perror
	mov	r3, #0
	b	.L10
.L5:
	sub	r3, fp, #148
	mov	r2, #0
	mov	r1, r3
	mov	r0, #1
	bl	sigaction
	mov	r3, r0
	cmn	r3, #1
	bne	.L7
	ldr	r0, .L12+12
	bl	perror
	mov	r3, #0
	b	.L10
.L7:
	sub	r3, fp, #148
	mov	r2, #0
	mov	r1, r3
	mov	r0, #2
	bl	sigaction
	mov	r3, r0
	cmn	r3, #1
	bne	.L8
	ldr	r0, .L12+16
	bl	perror
	mov	r3, #0
	b	.L10
.L8:
	sub	r3, fp, #148
	mov	r2, #0
	mov	r1, r3
	mov	r0, #3
	bl	sigaction
	mov	r3, r0
	cmn	r3, #1
	bne	.L9
	ldr	r0, .L12+20
	bl	perror
	mov	r3, #0
	b	.L10
.L9:
	mov	r3, #1
.L10:
	ldr	r2, .L12
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L11
	bl	__stack_chk_fail
.L11:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L13:
	.align	2
.L12:
	.word	.LC4
	.word	signalHandler
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.size	setupSignals, .-setupSignals
	.section	.rodata
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	delay, %function
delay:
	@ 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]
	ldr	r3, .L18
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-24]
	str	r3, [fp, #-16]
	ldr	r1, [fp, #-28]
	ldr	r3, .L18+4
	smull	r2, r3, r1, r3
	asr	r2, r3, #6
	asr	r3, r1, #31
	sub	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	sub	r2, r1, r3
	mov	r1, r2
	lsl	r1, r1, #5
	sub	r1, r1, r2
	lsl	r3, r1, #6
	sub	r3, r3, r1
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #6
	str	r3, [fp, #-12]
	sub	r3, fp, #16
	mov	r1, #0
	mov	r0, r3
	bl	nanosleep
	mov	r3, r0
	cmn	r3, #1
	bne	.L17
	mov	r0, #0
	bl	signalHandler
.L17:
	nop
	ldr	r3, .L18
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L16
	bl	__stack_chk_fail
.L16:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L19:
	.align	2
.L18:
	.word	.LC5
	.word	274877907
	.size	delay, .-delay
	.section	.rodata
	.align	2
.LC6:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	nullCursor, %function
nullCursor:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #56
	str	r0, [fp, #-40]
	str	r1, [fp, #-44]
	ldr	r3, .L23
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #24
	mov	r2, #0
	str	r2, [r3]
	str	r2, [r3, #4]
	str	r2, [r3, #8]
	mov	r3, #0
	strb	r3, [fp, #-12]
	sub	r2, fp, #12
	mov	r3, #1
	str	r3, [sp]
	mov	r3, #1
	ldr	r1, [fp, #-44]
	ldr	r0, [fp, #-40]
	bl	XCreateBitmapFromData
	str	r0, [fp, #-32]
	sub	r2, fp, #24
	mov	r3, #0
	str	r3, [sp, #8]
	mov	r3, #0
	str	r3, [sp, #4]
	sub	r3, fp, #24
	str	r3, [sp]
	mov	r3, r2
	ldr	r2, [fp, #-32]
	ldr	r1, [fp, #-32]
	ldr	r0, [fp, #-40]
	bl	XCreatePixmapCursor
	str	r0, [fp, #-28]
	ldr	r1, [fp, #-32]
	ldr	r0, [fp, #-40]
	bl	XFreePixmap
	ldr	r3, [fp, #-28]
	ldr	r2, .L23
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L22
	bl	__stack_chk_fail
.L22:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L24:
	.align	2
.L23:
	.word	.LC6
	.size	nullCursor, .-nullCursor
	.section	.rodata
	.align	2
.LC7:
	.ascii	"xhhpc: succesfully grabbed mouse pointer\012\000"
	.align	2
.LC8:
	.ascii	"xhhpc: XGrabPointer: already grabbed mouse pointer,"
	.ascii	" retrying with delay\012\000"
	.align	2
.LC9:
	.ascii	"xhhpc: XGrabPointer: grab was frozen, retrying afte"
	.ascii	"r delay\012\000"
	.align	2
.LC10:
	.ascii	"xhhpc: XGrabPointer: grab was not viewable, exiting"
	.ascii	"\012\000"
	.align	2
.LC11:
	.ascii	"xhhpc: XGrabPointer: invalid time, exiting\012\000"
	.align	2
.LC12:
	.ascii	"xhhpc: XGrabPointer: could not grab mouse pointer ("
	.ascii	"%d), exiting\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	grabPointer, %function
grabPointer:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #48
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	str	r3, [fp, #-28]
	b	.L26
.L38:
	mov	r3, #0
	str	r3, [sp, #16]
	ldr	r3, [fp, #-24]
	str	r3, [sp, #12]
	mov	r3, #0
	str	r3, [sp, #8]
	mov	r3, #1
	str	r3, [sp, #4]
	mov	r3, #0
	str	r3, [sp]
	ldr	r3, [fp, #-28]
	mov	r2, #1
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-16]
	bl	XGrabPointer
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #4
	ldrls	pc, [pc, r3, asl #2]
	b	.L27
.L29:
	.word	.L33
	.word	.L32
	.word	.L31
	.word	.L30
	.word	.L28
.L33:
	ldr	r3, .L39
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L34
	ldr	r3, .L39+4
	ldr	r3, [r3]
	mov	r2, #41
	mov	r1, #1
	ldr	r0, .L39+8
	bl	fwrite
.L34:
	mov	r3, #1
	b	.L35
.L32:
	ldr	r3, .L39
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L36
	ldr	r3, .L39+4
	ldr	r3, [r3]
	mov	r2, #72
	mov	r1, #1
	ldr	r0, .L39+12
	bl	fwrite
.L36:
	mov	r1, #500
	mov	r0, #0
	bl	delay
	b	.L26
.L28:
	ldr	r3, .L39
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L37
	ldr	r3, .L39+4
	ldr	r3, [r3]
	mov	r2, #59
	mov	r1, #1
	ldr	r0, .L39+16
	bl	fwrite
.L37:
	mov	r1, #500
	mov	r0, #0
	bl	delay
	b	.L26
.L30:
	ldr	r3, .L39+4
	ldr	r3, [r3]
	mov	r2, #52
	mov	r1, #1
	ldr	r0, .L39+20
	bl	fwrite
	mov	r3, #0
	b	.L35
.L31:
	ldr	r3, .L39+4
	ldr	r3, [r3]
	mov	r2, #43
	mov	r1, #1
	ldr	r0, .L39+24
	bl	fwrite
	mov	r3, #0
	b	.L35
.L27:
	ldr	r3, .L39+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	ldr	r1, .L39+28
	mov	r0, r3
	bl	fprintf
	mov	r3, #0
	b	.L35
.L26:
	ldr	r3, .L39+32
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L38
	mov	r3, #0
.L35:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L40:
	.align	2
.L39:
	.word	gVerbose
	.word	stderr
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	working
	.size	grabPointer, .-grabPointer
	.section	.rodata
	.align	2
.LC13:
	.ascii	"xhhpc: could not register signals, program will not"
	.ascii	" exit cleanly\012\000"
	.align	2
.LC14:
	.ascii	"xhhpc: event received, ungrabbing and sleeping\012\000"
	.align	2
.LC15:
	.ascii	"xhhpc: draining event\012\000"
	.align	2
.LC16:
	.ascii	"xhhpc: timeout\012\000"
	.align	2
.LC17:
	.ascii	"xhhpc: error while select()'ing\000"
	.align	2
.LC18:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	waitForMotion, %function
waitForMotion:
	@ args = 0, pretend = 0, frame = 272
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #280
	str	r0, [fp, #-264]
	str	r1, [fp, #-268]
	str	r2, [fp, #-272]
	ldr	r3, .L54
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-252]
	ldr	r3, [fp, #-264]
	ldr	r3, [r3, #8]
	str	r3, [fp, #-248]
	mov	r3, #68
	str	r3, [fp, #-244]
	ldr	r1, [fp, #-268]
	ldr	r0, [fp, #-264]
	bl	nullCursor
	str	r0, [fp, #-240]
	ldr	r3, .L54+4
	mov	r2, #1
	str	r2, [r3]
	bl	setupSignals
	mov	r3, r0
	cmp	r3, #0
	bne	.L43
	ldr	r3, .L54+8
	ldr	r3, [r3]
	mov	r2, #65
	mov	r1, #1
	ldr	r0, .L54+12
	bl	fwrite
	b	.L43
.L52:
	mov	r2, #0
	mov	r1, #1
	ldr	r0, [fp, #-264]
	bl	XAllowEvents
	mov	r1, #0
	ldr	r0, [fp, #-264]
	bl	XSync
	sub	r3, fp, #136
	str	r3, [fp, #-236]
	mov	r3, #0
	str	r3, [fp, #-256]
	b	.L44
.L45:
	ldr	r3, [fp, #-236]
	ldr	r2, [fp, #-256]
	mov	r1, #0
	str	r1, [r3, r2, lsl #2]
	ldr	r3, [fp, #-256]
	add	r3, r3, #1
	str	r3, [fp, #-256]
.L44:
	ldr	r3, [fp, #-256]
	cmp	r3, #31
	bls	.L45
	ldr	r3, [fp, #-248]
	add	r2, r3, #31
	cmp	r3, #0
	movlt	r3, r2
	movge	r3, r3
	asr	r3, r3, #5
	mov	r2, r3
	lsl	r3, r2, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	ldr	r1, [r3, #-132]
	ldr	r3, [fp, #-248]
	rsbs	r0, r3, #0
	and	r3, r3, #31
	and	r0, r0, #31
	rsbpl	r3, r0, #0
	mov	r0, #1
	lsl	r3, r0, r3
	orr	r1, r1, r3
	lsl	r3, r2, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	str	r1, [r3, #-132]
	ldr	r3, [fp, #-248]
	add	r0, r3, #1
	sub	r1, fp, #136
	mov	r3, #0
	str	r3, [sp]
	mov	r3, #0
	mov	r2, #0
	bl	select
	str	r0, [fp, #-252]
	ldr	r3, [fp, #-252]
	cmp	r3, #0
	ble	.L46
	ldr	r3, .L54+16
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L47
	ldr	r3, .L54+8
	ldr	r3, [r3]
	mov	r2, #47
	mov	r1, #1
	ldr	r0, .L54+20
	bl	fwrite
.L47:
	mov	r2, #0
	mov	r1, #2
	ldr	r0, [fp, #-264]
	bl	XAllowEvents
	mov	r1, #0
	ldr	r0, [fp, #-264]
	bl	XUngrabPointer
	b	.L48
.L49:
	ldr	r3, [fp, #-244]
	sub	r2, fp, #232
	mov	r1, r3
	ldr	r0, [fp, #-264]
	bl	XMaskEvent
	ldr	r3, .L54+16
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L48
	ldr	r3, .L54+8
	ldr	r3, [r3]
	mov	r2, #22
	mov	r1, #1
	ldr	r0, .L54+24
	bl	fwrite
.L48:
	ldr	r0, [fp, #-264]
	bl	XPending
	mov	r3, r0
	cmp	r3, #0
	bne	.L49
	mov	r1, #0
	ldr	r0, [fp, #-272]
	bl	delay
	b	.L43
.L46:
	ldr	r3, [fp, #-252]
	cmp	r3, #0
	bne	.L50
	ldr	r3, .L54+16
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L43
	ldr	r3, .L54+8
	ldr	r3, [r3]
	mov	r2, #15
	mov	r1, #1
	ldr	r0, .L54+28
	bl	fwrite
	b	.L43
.L50:
	ldr	r3, .L54+4
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L43
	ldr	r0, .L54+32
	bl	perror
.L43:
	ldr	r3, .L54+4
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L51
	ldr	r3, [fp, #-244]
	ldr	r2, [fp, #-240]
	ldr	r1, [fp, #-268]
	ldr	r0, [fp, #-264]
	bl	grabPointer
	mov	r3, r0
	cmp	r3, #0
	bne	.L52
.L51:
	mov	r1, #0
	ldr	r0, [fp, #-264]
	bl	XUngrabPointer
	ldr	r1, [fp, #-240]
	ldr	r0, [fp, #-264]
	bl	XFreeCursor
	nop
	ldr	r3, .L54
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L53
	bl	__stack_chk_fail
.L53:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L55:
	.align	2
.L54:
	.word	.LC18
	.word	working
	.word	stderr
	.word	.LC13
	.word	gVerbose
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.size	waitForMotion, .-waitForMotion
	.section	.rodata
	.align	2
.LC19:
	.ascii	"i:v\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	parseOptions, %function
parseOptions:
	@ 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]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L57
.L62:
	ldr	r3, [fp, #-8]
	cmp	r3, #105
	beq	.L58
	ldr	r3, [fp, #-8]
	cmp	r3, #118
	beq	.L59
	b	.L63
.L58:
	ldr	r3, .L64
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	mov	r3, r0
	ldr	r2, .L64+4
	str	r3, [r2]
	b	.L57
.L59:
	ldr	r3, .L64+8
	mov	r2, #1
	str	r2, [r3]
	b	.L57
.L63:
	mov	r3, #0
	b	.L61
.L57:
	ldr	r2, .L64+12
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-16]
	bl	getopt
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmn	r3, #1
	bne	.L62
	mov	r3, #1
.L61:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L65:
	.align	2
.L64:
	.word	optarg
	.word	gIdleTimeout
	.word	gVerbose
	.word	.LC19
	.size	parseOptions, .-parseOptions
	.section	.rodata
	.align	2
.LC20:
	.ascii	"xhhpc [-i] seconds [-v]\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	usage, %function
usage:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r0, .L67
	bl	puts
	nop
	pop	{fp, pc}
.L68:
	.align	2
.L67:
	.word	.LC20
	.size	usage, .-usage
	.section	.rodata
	.align	2
.LC21:
	.ascii	"DISPLAY\000"
	.align	2
.LC22:
	.ascii	"xhhpc: could not open display, DISPLAY environment "
	.ascii	"variable not set, are you sure the X server is star"
	.ascii	"ted?\012\000"
	.align	2
.LC23:
	.ascii	"xhhpc: could not open display %s, check if your X s"
	.ascii	"erver is running and/or the DISPLAY environment val"
	.ascii	"ue is correct\012\000"
	.align	2
.LC24:
	.ascii	"xhhpc: got root window, screen = %d, display = %p, "
	.ascii	"rootwin = %d\012\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, #32
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	ldr	r1, [fp, #-28]
	ldr	r0, [fp, #-24]
	bl	parseOptions
	mov	r3, r0
	cmp	r3, #0
	bne	.L70
	bl	usage
	mov	r3, #1
	b	.L71
.L70:
	ldr	r0, .L76
	bl	getenv
	str	r0, [fp, #-20]
	mov	r0, #0
	bl	XOpenDisplay
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L72
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	beq	.L73
	ldr	r3, [fp, #-20]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L74
.L73:
	ldr	r3, .L76+4
	ldr	r3, [r3]
	mov	r2, #107
	mov	r1, #1
	ldr	r0, .L76+8
	bl	fwrite
	mov	r3, #2
	b	.L71
.L74:
	ldr	r3, .L76+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-20]
	ldr	r1, .L76+12
	mov	r0, r3
	bl	fprintf
	mov	r3, #1
	b	.L71
.L72:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #132]
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-16]
	ldr	r1, [r3, #140]
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r1, r3
	ldr	r3, [r3, #8]
	str	r3, [fp, #-8]
	ldr	r3, .L76+16
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L75
	ldr	r3, .L76+4
	ldr	r0, [r3]
	ldr	r3, [fp, #-8]
	str	r3, [sp]
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-12]
	ldr	r1, .L76+20
	bl	fprintf
.L75:
	ldr	r3, .L76+24
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, [fp, #-8]
	ldr	r0, [fp, #-16]
	bl	waitForMotion
	ldr	r0, [fp, #-16]
	bl	XCloseDisplay
	mov	r3, #0
.L71:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L77:
	.align	2
.L76:
	.word	.LC21
	.word	stderr
	.word	.LC22
	.word	.LC23
	.word	gVerbose
	.word	.LC24
	.word	gIdleTimeout
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
