	.file	"509466.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	""
.LC1:
	.string	"Phase 01"
.LC2:
	.string	"WM_PROTOCOLS"
.LC3:
	.string	"WM_DELETE_WINDOW"
.LC5:
	.string	"\n-Done Chatting-"
.LC6:
	.string	"Message: "
.LC7:
	.string	"Pressed Escape, quitting."
.LC8:
	.string	"Pressed Ctrl+q, quitting."
.LC9:
	.string	"%s"
.LC10:
	.string	"Key pressed: %s - %s"
.LC11:
	.string	" | Shift"
.LC12:
	.string	" | Lock"
.LC13:
	.string	" | Ctrl"
.LC14:
	.string	" | Alt"
.LC15:
	.string	" | Num Lock"
.LC16:
	.string	" | Mod3"
.LC17:
	.string	" | Mod4"
.LC18:
	.string	" | Mod5"
.LC19:
	.string	" | Cursor Key (0)"
.LC20:
	.string	" | Cursor Key (1)"
.LC21:
	.string	" | Function key (0)"
.LC22:
	.string	" | Function key (1)"
.LC23:
	.string	" | keypad (0)"
.LC24:
	.string	" | keypad (1)"
.LC25:
	.string	" | Fn (0)"
.LC26:
	.string	" | Fn (1)"
.LC27:
	.string	" | Modifier (0)"
.LC28:
	.string	" | Modifier (1)"
	.text
	.globl	main
	.type	main, @function
main:
.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, 432
	mov	DWORD PTR -420[rbp], edi
	mov	QWORD PTR -432[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	edi, 0
	call	XOpenDisplay@PLT
	mov	QWORD PTR -368[rbp], rax
	cmp	QWORD PTR -368[rbp], 0
	jne	.L2
	mov	eax, 1
	jmp	.L48
.L2:
	mov	rax, QWORD PTR -368[rbp]
	mov	rdx, QWORD PTR 232[rax]
	mov	rax, QWORD PTR -368[rbp]
	mov	eax, DWORD PTR 224[rax]
	cdqe
	sal	rax, 7
	add	rax, rdx
	mov	rax, QWORD PTR 96[rax]
	mov	QWORD PTR -360[rbp], rax
	mov	rax, QWORD PTR -368[rbp]
	mov	rdx, QWORD PTR 232[rax]
	mov	rax, QWORD PTR -368[rbp]
	mov	eax, DWORD PTR 224[rax]
	cdqe
	sal	rax, 7
	add	rax, rdx
	mov	rsi, QWORD PTR 16[rax]
	mov	rax, QWORD PTR -368[rbp]
	sub	rsp, 8
	push	QWORD PTR -360[rbp]
	push	QWORD PTR -360[rbp]
	push	0
	mov	r9d, 600
	mov	r8d, 800
	mov	ecx, 0
	mov	edx, 0
	mov	rdi, rax
	call	XCreateSimpleWindow@PLT
	add	rsp, 32
	mov	QWORD PTR -352[rbp], rax
	call	XAllocWMHints@PLT
	mov	QWORD PTR -344[rbp], rax
	mov	rax, QWORD PTR -344[rbp]
	mov	QWORD PTR [rax], 3
	mov	rax, QWORD PTR -344[rbp]
	mov	DWORD PTR 8[rax], 1
	mov	rax, QWORD PTR -344[rbp]
	mov	DWORD PTR 12[rax], 1
	call	XAllocSizeHints@PLT
	mov	QWORD PTR -336[rbp], rax
	mov	rax, QWORD PTR -336[rbp]
	mov	QWORD PTR [rax], 16
	mov	rax, QWORD PTR -336[rbp]
	mov	DWORD PTR 24[rax], 400
	mov	rax, QWORD PTR -336[rbp]
	mov	DWORD PTR 28[rax], 300
	mov	rsi, QWORD PTR -352[rbp]
	mov	rax, QWORD PTR -368[rbp]
	sub	rsp, 8
	push	0
	push	QWORD PTR -344[rbp]
	push	QWORD PTR -336[rbp]
	mov	r9d, 0
	mov	r8d, 0
	lea	rcx, .LC0[rip]
	lea	rdx, .LC1[rip]
	mov	rdi, rax
	call	Xutf8SetWMProperties@PLT
	add	rsp, 32
	mov	rcx, QWORD PTR -352[rbp]
	mov	rax, QWORD PTR -368[rbp]
	mov	edx, 32768
	mov	rsi, rcx
	mov	rdi, rax
	call	XSelectInput@PLT
	mov	rax, QWORD PTR -368[rbp]
	mov	edx, 1
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	call	XInternAtom@PLT
	mov	QWORD PTR -328[rbp], rax
	mov	rax, QWORD PTR -368[rbp]
	mov	edx, 1
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	call	XInternAtom@PLT
	mov	QWORD PTR -392[rbp], rax
	lea	rdx, -392[rbp]
	mov	rsi, QWORD PTR -352[rbp]
	mov	rax, QWORD PTR -368[rbp]
	mov	ecx, 1
	mov	rdi, rax
	call	XSetWMProtocols@PLT
	mov	rdx, QWORD PTR -352[rbp]
	mov	rax, QWORD PTR -368[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	XMapWindow@PLT
	lea	rdx, -224[rbp]
	mov	rsi, QWORD PTR -352[rbp]
	mov	rax, QWORD PTR -368[rbp]
	mov	rcx, rdx
	mov	edx, 32768
	mov	rdi, rax
	call	XWindowEvent@PLT
	mov	rcx, QWORD PTR -352[rbp]
	mov	rax, QWORD PTR -368[rbp]
	mov	edx, 1
	mov	rsi, rcx
	mov	rdi, rax
	call	XSelectInput@PLT
	mov	DWORD PTR -412[rbp], 0
	lea	rax, -272[rbp]
	mov	rsi, rax
	mov	edi, 4
	call	clock_gettime@PLT
	mov	rax, QWORD PTR -272[rbp]
	mov	QWORD PTR -288[rbp], rax
	mov	rax, QWORD PTR -264[rbp]
	mov	QWORD PTR -280[rbp], rax
	pxor	xmm0, xmm0
	movsd	QWORD PTR -376[rbp], xmm0
	mov	QWORD PTR -320[rbp], 0
	mov	QWORD PTR -312[rbp], 0
	mov	DWORD PTR -404[rbp], 20
	mov	DWORD PTR -400[rbp], 0
	mov	DWORD PTR -408[rbp], 0
	jmp	.L4
.L47:
	lea	rax, -272[rbp]
	mov	rsi, rax
	mov	edi, 4
	call	clock_gettime@PLT
	lea	rdx, -288[rbp]
	lea	rax, -272[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	timespec_diff
	movsd	xmm1, QWORD PTR -376[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -376[rbp], xmm0
	jmp	.L5
.L38:
	lea	rdx, -224[rbp]
	mov	rax, QWORD PTR -368[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	XNextEvent@PLT
	mov	eax, DWORD PTR -224[rbp]
	cmp	eax, 2
	je	.L6
	cmp	eax, 33
	jne	.L5
	mov	rax, QWORD PTR -184[rbp]
	cmp	QWORD PTR -328[rbp], rax
	jne	.L5
	mov	rax, QWORD PTR -168[rbp]
	mov	rdx, QWORD PTR -392[rbp]
	cmp	rax, rdx
	jne	.L5
	mov	DWORD PTR -412[rbp], 1
	jmp	.L5
.L6:
	lea	rcx, -384[rbp]
	mov	edx, DWORD PTR -404[rbp]
	lea	rsi, -32[rbp]
	lea	rax, -224[rbp]
	mov	r8d, 0
	mov	rdi, rax
	call	XLookupString@PLT
	mov	DWORD PTR -400[rbp], eax
	lea	rax, -224[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	XLookupKeysym@PLT
	mov	QWORD PTR -304[rbp], rax
	lea	rax, -224[rbp]
	mov	esi, 1
	mov	rdi, rax
	call	XLookupKeysym@PLT
	mov	QWORD PTR -296[rbp], rax
	mov	rax, QWORD PTR -304[rbp]
	mov	rdi, rax
	call	XKeysymToString@PLT
	mov	QWORD PTR -320[rbp], rax
	mov	rax, QWORD PTR -296[rbp]
	mov	rdi, rax
	call	XKeysymToString@PLT
	mov	QWORD PTR -312[rbp], rax
	cmp	QWORD PTR -304[rbp], 65293
	jne	.L8
	cmp	DWORD PTR -408[rbp], 0
	je	.L9
	lea	rdi, .LC5[rip]
	call	puts@PLT
	mov	DWORD PTR -408[rbp], 0
	jmp	.L10
.L9:
	lea	rdi, .LC6[rip]
	call	puts@PLT
	mov	DWORD PTR -408[rbp], 1
	jmp	.L10
.L8:
	cmp	QWORD PTR -304[rbp], 65307
	jne	.L11
	mov	DWORD PTR -412[rbp], 1
	lea	rdi, .LC7[rip]
	call	puts@PLT
	jmp	.L5
.L11:
	cmp	QWORD PTR -304[rbp], 113
	jne	.L10
	mov	eax, DWORD PTR -144[rbp]
	and	eax, 4
	test	eax, eax
	je	.L10
	mov	DWORD PTR -412[rbp], 1
	lea	rdi, .LC8[rip]
	call	puts@PLT
	jmp	.L5
.L10:
	cmp	DWORD PTR -408[rbp], 0
	je	.L12
	lea	rax, -32[rbp]
	mov	rsi, rax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L53
.L12:
	mov	rdx, QWORD PTR -312[rbp]
	mov	rax, QWORD PTR -320[rbp]
	mov	rsi, rax
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -144[rbp]
	and	eax, 1
	test	eax, eax
	je	.L14
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
.L14:
	mov	eax, DWORD PTR -144[rbp]
	and	eax, 2
	test	eax, eax
	je	.L15
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
.L15:
	mov	eax, DWORD PTR -144[rbp]
	and	eax, 4
	test	eax, eax
	je	.L16
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	printf@PLT
.L16:
	mov	eax, DWORD PTR -144[rbp]
	and	eax, 8
	test	eax, eax
	je	.L17
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	printf@PLT
.L17:
	mov	eax, DWORD PTR -144[rbp]
	and	eax, 16
	test	eax, eax
	je	.L18
	lea	rdi, .LC15[rip]
	mov	eax, 0
	call	printf@PLT
.L18:
	mov	eax, DWORD PTR -144[rbp]
	and	eax, 32
	test	eax, eax
	je	.L19
	lea	rdi, .LC16[rip]
	mov	eax, 0
	call	printf@PLT
.L19:
	mov	eax, DWORD PTR -144[rbp]
	and	eax, 64
	test	eax, eax
	je	.L20
	lea	rdi, .LC17[rip]
	mov	eax, 0
	call	printf@PLT
.L20:
	mov	eax, DWORD PTR -144[rbp]
	and	eax, 128
	test	eax, eax
	je	.L21
	lea	rdi, .LC18[rip]
	mov	eax, 0
	call	printf@PLT
.L21:
	cmp	QWORD PTR -304[rbp], 65359
	jbe	.L22
	cmp	QWORD PTR -304[rbp], 65375
	ja	.L22
	lea	rdi, .LC19[rip]
	mov	eax, 0
	call	printf@PLT
.L22:
	cmp	QWORD PTR -296[rbp], 65359
	jbe	.L23
	cmp	QWORD PTR -296[rbp], 65375
	ja	.L23
	lea	rdi, .LC20[rip]
	mov	eax, 0
	call	printf@PLT
.L23:
	cmp	QWORD PTR -304[rbp], 65469
	jbe	.L24
	cmp	QWORD PTR -304[rbp], 65504
	ja	.L24
	lea	rdi, .LC21[rip]
	mov	eax, 0
	call	printf@PLT
.L24:
	cmp	QWORD PTR -296[rbp], 65469
	jbe	.L25
	cmp	QWORD PTR -296[rbp], 65504
	ja	.L25
	lea	rdi, .LC22[rip]
	mov	eax, 0
	call	printf@PLT
.L25:
	cmp	QWORD PTR -304[rbp], 65407
	jbe	.L26
	cmp	QWORD PTR -304[rbp], 65469
	ja	.L26
	lea	rdi, .LC23[rip]
	mov	eax, 0
	call	printf@PLT
.L26:
	cmp	QWORD PTR -296[rbp], 65407
	jbe	.L27
	cmp	QWORD PTR -296[rbp], 65469
	ja	.L27
	lea	rdi, .LC24[rip]
	mov	eax, 0
	call	printf@PLT
.L27:
	cmp	QWORD PTR -304[rbp], 65375
	jbe	.L28
	cmp	QWORD PTR -304[rbp], 65387
	ja	.L28
	lea	rdi, .LC25[rip]
	mov	eax, 0
	call	printf@PLT
.L28:
	cmp	QWORD PTR -296[rbp], 65375
	jbe	.L29
	cmp	QWORD PTR -296[rbp], 65387
	ja	.L29
	lea	rdi, .LC26[rip]
	mov	eax, 0
	call	printf@PLT
.L29:
	cmp	QWORD PTR -304[rbp], 65504
	jbe	.L30
	cmp	QWORD PTR -304[rbp], 65518
	jbe	.L31
.L30:
	cmp	QWORD PTR -304[rbp], 65024
	jbe	.L32
	cmp	QWORD PTR -304[rbp], 65043
	jbe	.L31
.L32:
	cmp	QWORD PTR -304[rbp], 65406
	je	.L31
	cmp	QWORD PTR -304[rbp], 65407
	jne	.L33
.L31:
	lea	rdi, .LC27[rip]
	mov	eax, 0
	call	printf@PLT
.L33:
	cmp	QWORD PTR -296[rbp], 65504
	jbe	.L34
	cmp	QWORD PTR -296[rbp], 65518
	jbe	.L35
.L34:
	cmp	QWORD PTR -296[rbp], 65024
	jbe	.L36
	cmp	QWORD PTR -296[rbp], 65043
	jbe	.L35
.L36:
	cmp	QWORD PTR -296[rbp], 65406
	je	.L35
	cmp	QWORD PTR -296[rbp], 65407
	jne	.L37
.L35:
	lea	rdi, .LC28[rip]
	mov	eax, 0
	call	printf@PLT
.L37:
	mov	edi, 10
	call	putchar@PLT
.L53:
	nop
.L5:
	mov	rax, QWORD PTR -368[rbp]
	mov	rdi, rax
	call	XPending@PLT
	test	eax, eax
	jg	.L38
	movsd	xmm0, QWORD PTR -376[rbp]
	comisd	xmm0, QWORD PTR .LC29[rip]
	jbe	.L39
	cmp	DWORD PTR -412[rbp], 0
	jne	.L39
	jmp	.L41
.L43:
	movsd	xmm0, QWORD PTR -376[rbp]
	movsd	xmm1, QWORD PTR .LC29[rip]
	subsd	xmm0, xmm1
	movsd	QWORD PTR -376[rbp], xmm0
.L41:
	movsd	xmm0, QWORD PTR -376[rbp]
	comisd	xmm0, QWORD PTR .LC29[rip]
	jbe	.L39
	cmp	DWORD PTR -412[rbp], 0
	je	.L43
.L39:
	mov	rax, QWORD PTR -272[rbp]
	mov	QWORD PTR -288[rbp], rax
	mov	rax, QWORD PTR -264[rbp]
	mov	QWORD PTR -280[rbp], rax
	movsd	xmm0, QWORD PTR .LC29[rip]
	comisd	xmm0, QWORD PTR -376[rbp]
	ja	.L52
	jmp	.L4
.L52:
	cmp	DWORD PTR -412[rbp], 0
	jne	.L4
	mov	DWORD PTR -396[rbp], 0
	movsd	xmm0, QWORD PTR -376[rbp]
	movsd	xmm1, QWORD PTR .LC30[rip]
	divsd	xmm0, xmm1
	cvttsd2si	rax, xmm0
	mov	QWORD PTR -240[rbp], rax
	movsd	xmm0, QWORD PTR -376[rbp]
	cvttsd2si	eax, xmm0
	movsx	rdx, eax
	imul	rdx, rdx, 274877907
	shr	rdx, 32
	sar	edx, 6
	mov	ecx, eax
	sar	ecx, 31
	sub	edx, ecx
	imul	ecx, edx, 1000
	sub	eax, ecx
	mov	edx, eax
	imul	eax, edx, 1000000
	cdqe
	mov	QWORD PTR -232[rbp], rax
.L46:
	mov	rax, QWORD PTR -240[rbp]
	mov	QWORD PTR -256[rbp], rax
	mov	rax, QWORD PTR -232[rbp]
	mov	QWORD PTR -248[rbp], rax
	call	__errno_location@PLT
	mov	DWORD PTR [rax], 0
	lea	rdx, -240[rbp]
	lea	rax, -256[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	nanosleep@PLT
	mov	DWORD PTR -396[rbp], eax
	cmp	DWORD PTR -396[rbp], -1
	jne	.L4
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	cmp	eax, 4
	je	.L46
.L4:
	cmp	DWORD PTR -412[rbp], 0
	je	.L47
	mov	rax, QWORD PTR -336[rbp]
	mov	rdi, rax
	call	XFree@PLT
	mov	QWORD PTR -336[rbp], 0
	mov	rax, QWORD PTR -344[rbp]
	mov	rdi, rax
	call	XFree@PLT
	mov	QWORD PTR -344[rbp], 0
	mov	rdx, QWORD PTR -352[rbp]
	mov	rax, QWORD PTR -368[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	XDestroyWindow@PLT
	mov	rax, QWORD PTR -368[rbp]
	mov	rdi, rax
	call	XCloseDisplay@PLT
	mov	QWORD PTR -368[rbp], 0
	mov	eax, 0
.L48:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L49
	call	__stack_chk_fail@PLT
.L49:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.globl	timespec_diff
	.type	timespec_diff, @function
timespec_diff:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	imul	rdx, rax, 1000000000
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 8[rax]
	add	rdx, rax
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR [rax]
	imul	rcx, rax, 1000000000
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 8[rax]
	add	rcx, rax
	mov	rax, rdx
	sub	rax, rcx
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rax
	movsd	xmm1, QWORD PTR .LC31[rip]
	divsd	xmm0, xmm1
	movq	rax, xmm0
	movq	xmm0, rax
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	timespec_diff, .-timespec_diff
	.section	.rodata
	.align 8
.LC29:
	.long	-1717986918
	.long	1076926873
	.align 8
.LC30:
	.long	0
	.long	1083129856
	.align 8
.LC31:
	.long	0
	.long	1093567616
	.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	"509466.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"\000"
	.align	2
.LC1:
	.ascii	"Phase 01\000"
	.align	2
.LC2:
	.ascii	"WM_PROTOCOLS\000"
	.align	2
.LC3:
	.ascii	"WM_DELETE_WINDOW\000"
	.global	__aeabi_dadd
	.align	2
.LC4:
	.ascii	"\012-Done Chatting-\000"
	.align	2
.LC5:
	.ascii	"Message: \000"
	.align	2
.LC6:
	.ascii	"Pressed Escape, quitting.\000"
	.align	2
.LC7:
	.ascii	"Pressed Ctrl+q, quitting.\000"
	.align	2
.LC8:
	.ascii	"%s\000"
	.align	2
.LC9:
	.ascii	"Key pressed: %s - %s\000"
	.align	2
.LC10:
	.ascii	" | Shift\000"
	.align	2
.LC11:
	.ascii	" | Lock\000"
	.align	2
.LC12:
	.ascii	" | Ctrl\000"
	.align	2
.LC13:
	.ascii	" | Alt\000"
	.align	2
.LC14:
	.ascii	" | Num Lock\000"
	.align	2
.LC15:
	.ascii	" | Mod3\000"
	.align	2
.LC16:
	.ascii	" | Mod4\000"
	.align	2
.LC17:
	.ascii	" | Mod5\000"
	.align	2
.LC18:
	.ascii	" | Cursor Key (0)\000"
	.align	2
.LC19:
	.ascii	" | Cursor Key (1)\000"
	.align	2
.LC20:
	.ascii	" | Function key (0)\000"
	.align	2
.LC21:
	.ascii	" | Function key (1)\000"
	.align	2
.LC22:
	.ascii	" | keypad (0)\000"
	.align	2
.LC23:
	.ascii	" | keypad (1)\000"
	.align	2
.LC24:
	.ascii	" | Fn (0)\000"
	.align	2
.LC25:
	.ascii	" | Fn (1)\000"
	.align	2
.LC26:
	.ascii	" | Modifier (0)\000"
	.align	2
.LC27:
	.ascii	" | Modifier (1)\000"
	.global	__aeabi_dcmpgt
	.global	__aeabi_dsub
	.global	__aeabi_dcmplt
	.global	__aeabi_ddiv
	.global	__aeabi_d2iz
	.align	2
.LC28:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 240
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #264
	str	r0, [fp, #-240]
	str	r1, [fp, #-244]
	ldr	r3, .L54
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r0, #0
	bl	XOpenDisplay
	str	r0, [fp, #-216]
	ldr	r3, [fp, #-216]
	cmp	r3, #0
	bne	.L2
	mov	r3, #1
	b	.L48
.L2:
	ldr	r3, [fp, #-216]
	ldr	r2, [r3, #140]
	ldr	r3, [fp, #-216]
	ldr	r3, [r3, #132]
	mov	r1, r3
	mov	r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	lsl	r3, r3, #4
	add	r3, r2, r3
	ldr	r3, [r3, #56]
	str	r3, [fp, #-212]
	ldr	r3, [fp, #-216]
	ldr	r2, [r3, #140]
	ldr	r3, [fp, #-216]
	ldr	r3, [r3, #132]
	mov	r1, r3
	mov	r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	lsl	r3, r3, #4
	add	r3, r2, r3
	ldr	r1, [r3, #8]
	ldr	r3, [fp, #-212]
	str	r3, [sp, #16]
	ldr	r3, [fp, #-212]
	str	r3, [sp, #12]
	mov	r3, #0
	str	r3, [sp, #8]
	mov	r3, #600
	str	r3, [sp, #4]
	mov	r3, #800
	str	r3, [sp]
	mov	r3, #0
	mov	r2, #0
	ldr	r0, [fp, #-216]
	bl	XCreateSimpleWindow
	str	r0, [fp, #-208]
	bl	XAllocWMHints
	str	r0, [fp, #-204]
	ldr	r3, [fp, #-204]
	mov	r2, #3
	str	r2, [r3]
	ldr	r3, [fp, #-204]
	mov	r2, #1
	str	r2, [r3, #4]
	ldr	r3, [fp, #-204]
	mov	r2, #1
	str	r2, [r3, #8]
	bl	XAllocSizeHints
	str	r0, [fp, #-200]
	ldr	r3, [fp, #-200]
	mov	r2, #16
	str	r2, [r3]
	ldr	r3, [fp, #-200]
	mov	r2, #400
	str	r2, [r3, #20]
	ldr	r3, [fp, #-200]
	mov	r2, #300
	str	r2, [r3, #24]
	mov	r3, #0
	str	r3, [sp, #16]
	ldr	r3, [fp, #-204]
	str	r3, [sp, #12]
	ldr	r3, [fp, #-200]
	str	r3, [sp, #8]
	mov	r3, #0
	str	r3, [sp, #4]
	mov	r3, #0
	str	r3, [sp]
	ldr	r3, .L54+4
	ldr	r2, .L54+8
	ldr	r1, [fp, #-208]
	ldr	r0, [fp, #-216]
	bl	Xutf8SetWMProperties
	mov	r2, #32768
	ldr	r1, [fp, #-208]
	ldr	r0, [fp, #-216]
	bl	XSelectInput
	mov	r2, #1
	ldr	r1, .L54+12
	ldr	r0, [fp, #-216]
	bl	XInternAtom
	str	r0, [fp, #-196]
	mov	r2, #1
	ldr	r1, .L54+16
	ldr	r0, [fp, #-216]
	bl	XInternAtom
	mov	r3, r0
	str	r3, [fp, #-232]
	sub	r2, fp, #232
	mov	r3, #1
	ldr	r1, [fp, #-208]
	ldr	r0, [fp, #-216]
	bl	XSetWMProtocols
	ldr	r1, [fp, #-208]
	ldr	r0, [fp, #-216]
	bl	XMapWindow
	sub	r3, fp, #124
	mov	r2, #32768
	ldr	r1, [fp, #-208]
	ldr	r0, [fp, #-216]
	bl	XWindowEvent
	mov	r2, #1
	ldr	r1, [fp, #-208]
	ldr	r0, [fp, #-216]
	bl	XSelectInput
	mov	r3, #0
	str	r3, [fp, #-224]
	sub	r3, fp, #148
	mov	r1, r3
	mov	r0, #4
	bl	clock_gettime
	ldr	r3, [fp, #-148]
	str	r3, [fp, #-156]
	ldr	r3, [fp, #-144]
	str	r3, [fp, #-152]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-164]
	str	r3, [fp, #-160]
	mov	r3, #0
	str	r3, [fp, #-192]
	mov	r3, #0
	str	r3, [fp, #-188]
	mov	r3, #20
	str	r3, [fp, #-184]
	mov	r3, #0
	str	r3, [fp, #-180]
	mov	r3, #0
	str	r3, [fp, #-220]
	b	.L4
.L47:
	sub	r3, fp, #148
	mov	r1, r3
	mov	r0, #4
	bl	clock_gettime
	sub	r2, fp, #156
	sub	r3, fp, #148
	mov	r1, r2
	mov	r0, r3
	bl	timespec_diff
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #164
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-164]
	str	r3, [fp, #-160]
	b	.L5
.L38:
	sub	r3, fp, #124
	mov	r1, r3
	ldr	r0, [fp, #-216]
	bl	XNextEvent
	ldr	r3, [fp, #-124]
	cmp	r3, #2
	beq	.L6
	cmp	r3, #33
	bne	.L5
	ldr	r3, [fp, #-104]
	ldr	r2, [fp, #-196]
	cmp	r2, r3
	bne	.L5
	ldr	r3, [fp, #-96]
	ldr	r2, [fp, #-232]
	cmp	r3, r2
	bne	.L5
	mov	r3, #1
	str	r3, [fp, #-224]
	b	.L5
.L6:
	sub	r3, fp, #228
	sub	r1, fp, #28
	sub	r0, fp, #124
	mov	r2, #0
	str	r2, [sp]
	ldr	r2, [fp, #-184]
	bl	XLookupString
	str	r0, [fp, #-180]
	sub	r3, fp, #124
	mov	r1, #0
	mov	r0, r3
	bl	XLookupKeysym
	str	r0, [fp, #-172]
	sub	r3, fp, #124
	mov	r1, #1
	mov	r0, r3
	bl	XLookupKeysym
	str	r0, [fp, #-168]
	ldr	r0, [fp, #-172]
	bl	XKeysymToString
	str	r0, [fp, #-192]
	ldr	r0, [fp, #-168]
	bl	XKeysymToString
	str	r0, [fp, #-188]
	ldr	r3, [fp, #-172]
	ldr	r2, .L54+20
	cmp	r3, r2
	bne	.L8
	ldr	r3, [fp, #-220]
	cmp	r3, #0
	beq	.L9
	ldr	r0, .L54+24
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-220]
	b	.L10
.L9:
	ldr	r0, .L54+28
	bl	puts
	mov	r3, #1
	str	r3, [fp, #-220]
	b	.L10
.L8:
	ldr	r3, [fp, #-172]
	ldr	r2, .L54+32
	cmp	r3, r2
	bne	.L11
	mov	r3, #1
	str	r3, [fp, #-224]
	ldr	r0, .L54+36
	bl	puts
	b	.L5
.L11:
	ldr	r3, [fp, #-172]
	cmp	r3, #113
	bne	.L10
	ldr	r3, [fp, #-76]
	and	r3, r3, #4
	cmp	r3, #0
	beq	.L10
	mov	r3, #1
	str	r3, [fp, #-224]
	ldr	r0, .L54+40
	bl	puts
	b	.L5
.L10:
	ldr	r3, [fp, #-220]
	cmp	r3, #0
	beq	.L12
	sub	r3, fp, #28
	mov	r1, r3
	ldr	r0, .L54+44
	bl	printf
	b	.L53
.L12:
	ldr	r2, [fp, #-188]
	ldr	r1, [fp, #-192]
	ldr	r0, .L54+48
	bl	printf
	ldr	r3, [fp, #-76]
	and	r3, r3, #1
	cmp	r3, #0
	beq	.L14
	ldr	r0, .L54+52
	bl	printf
.L14:
	ldr	r3, [fp, #-76]
	and	r3, r3, #2
	cmp	r3, #0
	beq	.L15
	ldr	r0, .L54+56
	bl	printf
.L15:
	ldr	r3, [fp, #-76]
	and	r3, r3, #4
	cmp	r3, #0
	beq	.L16
	ldr	r0, .L54+60
	bl	printf
.L16:
	ldr	r3, [fp, #-76]
	and	r3, r3, #8
	cmp	r3, #0
	beq	.L17
	ldr	r0, .L54+64
	bl	printf
.L17:
	ldr	r3, [fp, #-76]
	and	r3, r3, #16
	cmp	r3, #0
	beq	.L18
	ldr	r0, .L54+68
	bl	printf
.L18:
	ldr	r3, [fp, #-76]
	and	r3, r3, #32
	cmp	r3, #0
	beq	.L19
	ldr	r0, .L54+72
	bl	printf
.L19:
	ldr	r3, [fp, #-76]
	and	r3, r3, #64
	cmp	r3, #0
	beq	.L20
	ldr	r0, .L54+76
	bl	printf
.L20:
	ldr	r3, [fp, #-76]
	and	r3, r3, #128
	cmp	r3, #0
	beq	.L21
	ldr	r0, .L54+80
	bl	printf
.L21:
	ldr	r3, [fp, #-172]
	ldr	r2, .L54+84
	cmp	r3, r2
	bls	.L22
	ldr	r3, [fp, #-172]
	ldr	r2, .L54+88
	cmp	r3, r2
	bhi	.L22
	ldr	r0, .L54+92
	bl	printf
.L22:
	ldr	r3, [fp, #-168]
	ldr	r2, .L54+84
	cmp	r3, r2
	bls	.L23
	ldr	r3, [fp, #-168]
	ldr	r2, .L54+88
	cmp	r3, r2
	bhi	.L23
	ldr	r0, .L54+96
	bl	printf
.L23:
	ldr	r3, [fp, #-172]
	ldr	r2, .L54+100
	cmp	r3, r2
	bls	.L24
	ldr	r3, [fp, #-172]
	ldr	r2, .L54+104
	cmp	r3, r2
	bhi	.L24
	ldr	r0, .L54+108
	bl	printf
.L24:
	ldr	r3, [fp, #-168]
	ldr	r2, .L54+100
	cmp	r3, r2
	bls	.L25
	ldr	r3, [fp, #-168]
	ldr	r2, .L54+104
	cmp	r3, r2
	bhi	.L25
	ldr	r0, .L54+112
	bl	printf
.L25:
	ldr	r3, [fp, #-172]
	ldr	r2, .L54+116
	cmp	r3, r2
	bls	.L26
	ldr	r3, [fp, #-172]
	ldr	r2, .L54+100
	cmp	r3, r2
	bhi	.L26
	ldr	r0, .L54+120
	bl	printf
.L26:
	ldr	r3, [fp, #-168]
	ldr	r2, .L54+116
	cmp	r3, r2
	bls	.L27
	ldr	r3, [fp, #-168]
	ldr	r2, .L54+100
	cmp	r3, r2
	bhi	.L27
	ldr	r0, .L54+124
	bl	printf
.L27:
	ldr	r3, [fp, #-172]
	ldr	r2, .L54+88
	cmp	r3, r2
	bls	.L28
	ldr	r3, [fp, #-172]
	ldr	r2, .L54+128
	cmp	r3, r2
	bhi	.L28
	ldr	r0, .L54+132
	bl	printf
.L28:
	ldr	r3, [fp, #-168]
	ldr	r2, .L54+88
	cmp	r3, r2
	bls	.L29
	ldr	r3, [fp, #-168]
	ldr	r2, .L54+128
	cmp	r3, r2
	bhi	.L29
	ldr	r0, .L54+136
	bl	printf
.L29:
	ldr	r3, [fp, #-172]
	ldr	r2, .L54+104
	cmp	r3, r2
	bls	.L30
	ldr	r3, [fp, #-172]
	ldr	r2, .L54+140
	cmp	r3, r2
	bls	.L31
.L30:
	ldr	r3, [fp, #-172]
	cmp	r3, #65024
	bls	.L32
	ldr	r3, [fp, #-172]
	ldr	r2, .L54+144
	cmp	r3, r2
	bls	.L31
.L32:
	ldr	r3, [fp, #-172]
	ldr	r2, .L54+148
	cmp	r3, r2
	beq	.L31
	ldr	r3, [fp, #-172]
	ldr	r2, .L54+116
	cmp	r3, r2
	bne	.L33
.L31:
	ldr	r0, .L54+152
	bl	printf
.L33:
	ldr	r3, [fp, #-168]
	ldr	r2, .L54+104
	cmp	r3, r2
	bls	.L34
	ldr	r3, [fp, #-168]
	ldr	r2, .L54+140
	cmp	r3, r2
	bls	.L35
.L34:
	ldr	r3, [fp, #-168]
	cmp	r3, #65024
	bls	.L36
	ldr	r3, [fp, #-168]
	ldr	r2, .L54+144
	cmp	r3, r2
	bls	.L35
.L36:
	ldr	r3, [fp, #-168]
	ldr	r2, .L54+148
	cmp	r3, r2
	beq	.L35
	ldr	r3, [fp, #-168]
	ldr	r2, .L54+116
	cmp	r3, r2
	bne	.L37
.L35:
	ldr	r0, .L54+156
	bl	printf
.L37:
	mov	r0, #10
	bl	putchar
.L53:
	nop
.L5:
	ldr	r0, [fp, #-216]
	bl	XPending
	mov	r3, r0
	cmp	r3, #0
	bgt	.L38
	ldr	r2, .L54+160
	ldr	r3, .L54+164
	sub	r1, fp, #164
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L39
	ldr	r3, [fp, #-224]
	cmp	r3, #0
	bne	.L39
	b	.L41
.L43:
	ldr	r2, .L54+160
	ldr	r3, .L54+164
	sub	r1, fp, #164
	ldmia	r1, {r0-r1}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-164]
	str	r3, [fp, #-160]
.L41:
	ldr	r2, .L54+160
	ldr	r3, .L54+164
	sub	r1, fp, #164
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L39
	ldr	r3, [fp, #-224]
	cmp	r3, #0
	beq	.L43
.L39:
	ldr	r3, [fp, #-148]
	str	r3, [fp, #-156]
	ldr	r3, [fp, #-144]
	str	r3, [fp, #-152]
	ldr	r2, .L54+160
	ldr	r3, .L54+164
	sub	r1, fp, #164
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	bne	.L52
	b	.L4
.L52:
	ldr	r3, [fp, #-224]
	cmp	r3, #0
	bne	.L4
	mov	r3, #0
	str	r3, [fp, #-176]
	mov	r2, #0
	ldr	r3, .L54+168
	sub	r1, fp, #164
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	str	r3, [fp, #-132]
	sub	r1, fp, #164
	ldmia	r1, {r0-r1}
	bl	__aeabi_d2iz
	mov	r1, r0
	ldr	r3, .L54+172
	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, #-128]
.L46:
	ldr	r3, [fp, #-132]
	str	r3, [fp, #-140]
	ldr	r3, [fp, #-128]
	str	r3, [fp, #-136]
	bl	__errno_location
	mov	r3, r0
	mov	r2, #0
	str	r2, [r3]
	sub	r2, fp, #132
	sub	r3, fp, #140
	mov	r1, r2
	mov	r0, r3
	bl	nanosleep
	str	r0, [fp, #-176]
	ldr	r3, [fp, #-176]
	cmn	r3, #1
	bne	.L4
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #4
	beq	.L46
.L4:
	ldr	r3, [fp, #-224]
	cmp	r3, #0
	beq	.L47
	ldr	r0, [fp, #-200]
	bl	XFree
	mov	r3, #0
	str	r3, [fp, #-200]
	ldr	r0, [fp, #-204]
	bl	XFree
	mov	r3, #0
	str	r3, [fp, #-204]
	ldr	r1, [fp, #-208]
	ldr	r0, [fp, #-216]
	bl	XDestroyWindow
	ldr	r0, [fp, #-216]
	bl	XCloseDisplay
	mov	r3, #0
	str	r3, [fp, #-216]
	mov	r3, #0
.L48:
	ldr	r2, .L54
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L49
	bl	__stack_chk_fail
.L49:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L55:
	.align	2
.L54:
	.word	.LC28
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	65293
	.word	.LC4
	.word	.LC5
	.word	65307
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.word	65359
	.word	65375
	.word	.LC18
	.word	.LC19
	.word	65469
	.word	65504
	.word	.LC20
	.word	.LC21
	.word	65407
	.word	.LC22
	.word	.LC23
	.word	65387
	.word	.LC24
	.word	.LC25
	.word	65518
	.word	65043
	.word	65406
	.word	.LC26
	.word	.LC27
	.word	-1717986918
	.word	1076926873
	.word	1083129856
	.word	274877907
	.size	main, .-main
	.global	__aeabi_i2d
	.align	2
	.global	timespec_diff
	.syntax unified
	.arm
	.fpu softvfp
	.type	timespec_diff, %function
timespec_diff:
	@ 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]
	ldr	r2, .L58
	mul	r2, r3, r2
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	add	r2, r2, r3
	ldr	r3, [fp, #-12]
	ldr	r3, [r3]
	ldr	r1, .L58
	mul	r1, r3, r1
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #4]
	add	r3, r1, r3
	sub	r3, r2, r3
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, #0
	ldr	r3, .L58+4
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L59:
	.align	2
.L58:
	.word	1000000000
	.word	1093567616
	.size	timespec_diff, .-timespec_diff
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
