	.file	"158131.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"Shift"
.LC1:
	.string	"Lock"
.LC2:
	.string	"Ctrl"
.LC3:
	.string	"Alt"
.LC4:
	.string	"Mod2"
.LC5:
	.string	"Mod3"
.LC6:
	.string	"Mod4"
.LC7:
	.string	"Mod5"
.LC8:
	.string	"Button1"
.LC9:
	.string	"Button2"
.LC10:
	.string	"Button3"
.LC11:
	.string	"Button4"
.LC12:
	.string	"Button5"
.LC13:
	.string	"Modifier mask: "
	.text
	.globl	print_modifiers
	.type	print_modifiers, @function
print_modifiers:
.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, 144
	mov	DWORD PTR -132[rbp], edi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, .LC0[rip]
	mov	QWORD PTR -112[rbp], rax
	lea	rax, .LC1[rip]
	mov	QWORD PTR -104[rbp], rax
	lea	rax, .LC2[rip]
	mov	QWORD PTR -96[rbp], rax
	lea	rax, .LC3[rip]
	mov	QWORD PTR -88[rbp], rax
	lea	rax, .LC4[rip]
	mov	QWORD PTR -80[rbp], rax
	lea	rax, .LC5[rip]
	mov	QWORD PTR -72[rbp], rax
	lea	rax, .LC6[rip]
	mov	QWORD PTR -64[rbp], rax
	lea	rax, .LC7[rip]
	mov	QWORD PTR -56[rbp], rax
	lea	rax, .LC8[rip]
	mov	QWORD PTR -48[rbp], rax
	lea	rax, .LC9[rip]
	mov	QWORD PTR -40[rbp], rax
	lea	rax, .LC10[rip]
	mov	QWORD PTR -32[rbp], rax
	lea	rax, .LC11[rip]
	mov	QWORD PTR -24[rbp], rax
	lea	rax, .LC12[rip]
	mov	QWORD PTR -16[rbp], rax
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -112[rbp]
	mov	QWORD PTR -120[rbp], rax
	jmp	.L2
.L4:
	mov	eax, DWORD PTR -132[rbp]
	and	eax, 1
	test	eax, eax
	je	.L3
	mov	rax, QWORD PTR -120[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	mov	eax, 0
	call	printf@PLT
.L3:
	shr	DWORD PTR -132[rbp]
	add	QWORD PTR -120[rbp], 8
.L2:
	cmp	DWORD PTR -132[rbp], 0
	jne	.L4
	mov	edi, 10
	call	putchar@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L5
	call	__stack_chk_fail@PLT
.L5:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	print_modifiers, .-print_modifiers
	.section	.rodata
	.align 8
.LC14:
	.string	"Window %ld exposed. Region to be redrawn at location (%d,%d), with dimension (%d,%d)\n"
	.align 8
.LC15:
	.string	"Wheel Button up in window %ld, at coordinates (%d,%d)\n"
	.align 8
.LC16:
	.string	"Wheel Button down in window %ld, at coordinates (%d,%d)\n"
	.align 8
.LC17:
	.string	"Button %d pressed in window %ld, at coordinates (%d,%d)\n"
	.align 8
.LC18:
	.string	"Button %d released in window %ld, at coordinates (%d,%d)\n"
	.align 8
.LC19:
	.string	"Mouse moved in window %ld, at coordinates (%d,%d)\n"
	.align 8
.LC20:
	.string	"Mouse entered window %ld, at coordinates (%d,%d)\n"
	.align 8
.LC21:
	.string	"Mouse left window %ld, at coordinates (%d,%d)\n"
.LC22:
	.string	"Key pressed in window %ld\n"
.LC23:
	.string	"Key released in window %ld\n"
.LC24:
	.string	"Unknown event: %d\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 112
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -112[rbp], 0
	mov	esi, 0
	mov	edi, 0
	call	xcb_connect@PLT
	mov	QWORD PTR -104[rbp], rax
	mov	rax, QWORD PTR -104[rbp]
	mov	rdi, rax
	call	xcb_get_setup@PLT
	mov	rdi, rax
	call	xcb_setup_roots_iterator@PLT
	mov	QWORD PTR -96[rbp], rax
	mov	rax, QWORD PTR -104[rbp]
	mov	rdi, rax
	call	xcb_generate_id@PLT
	mov	DWORD PTR -108[rbp], eax
	mov	DWORD PTR -112[rbp], 2050
	mov	rax, QWORD PTR -96[rbp]
	mov	eax, DWORD PTR 8[rax]
	mov	DWORD PTR -16[rbp], eax
	mov	DWORD PTR -12[rbp], 32895
	mov	rax, QWORD PTR -96[rbp]
	mov	esi, DWORD PTR 32[rax]
	mov	rax, QWORD PTR -96[rbp]
	mov	ecx, DWORD PTR [rax]
	mov	edx, DWORD PTR -108[rbp]
	mov	rax, QWORD PTR -104[rbp]
	sub	rsp, 8
	lea	rdi, -16[rbp]
	push	rdi
	mov	edi, DWORD PTR -112[rbp]
	push	rdi
	push	rsi
	push	1
	push	10
	push	150
	push	150
	mov	r9d, 0
	mov	r8d, 0
	mov	esi, 0
	mov	rdi, rax
	call	xcb_create_window@PLT
	add	rsp, 64
	mov	edx, DWORD PTR -108[rbp]
	mov	rax, QWORD PTR -104[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	xcb_map_window@PLT
	mov	rax, QWORD PTR -104[rbp]
	mov	rdi, rax
	call	xcb_flush@PLT
	jmp	.L7
.L23:
	mov	rax, QWORD PTR -88[rbp]
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	and	al, 127
	cmp	eax, 12
	ja	.L8
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	lea	rax, .L10[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L10[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L10:
	.long	.L8-.L10
	.long	.L8-.L10
	.long	.L17-.L10
	.long	.L16-.L10
	.long	.L15-.L10
	.long	.L14-.L10
	.long	.L13-.L10
	.long	.L12-.L10
	.long	.L11-.L10
	.long	.L8-.L10
	.long	.L8-.L10
	.long	.L8-.L10
	.long	.L9-.L10
	.text
.L9:
	mov	rax, QWORD PTR -88[rbp]
	mov	QWORD PTR -80[rbp], rax
	mov	rax, QWORD PTR -80[rbp]
	movzx	eax, WORD PTR 14[rax]
	movzx	edi, ax
	mov	rax, QWORD PTR -80[rbp]
	movzx	eax, WORD PTR 12[rax]
	movzx	esi, ax
	mov	rax, QWORD PTR -80[rbp]
	movzx	eax, WORD PTR 10[rax]
	movzx	ecx, ax
	mov	rax, QWORD PTR -80[rbp]
	movzx	eax, WORD PTR 8[rax]
	movzx	edx, ax
	mov	rax, QWORD PTR -80[rbp]
	mov	eax, DWORD PTR 4[rax]
	mov	r9d, edi
	mov	r8d, esi
	mov	esi, eax
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L18
.L15:
	mov	rax, QWORD PTR -88[rbp]
	mov	QWORD PTR -40[rbp], rax
	mov	rax, QWORD PTR -40[rbp]
	movzx	eax, WORD PTR 28[rax]
	movzx	eax, ax
	mov	edi, eax
	call	print_modifiers
	mov	rax, QWORD PTR -40[rbp]
	movzx	eax, BYTE PTR 1[rax]
	movzx	eax, al
	cmp	eax, 4
	je	.L19
	cmp	eax, 5
	je	.L20
	jmp	.L26
.L19:
	mov	rax, QWORD PTR -40[rbp]
	movzx	eax, WORD PTR 26[rax]
	movsx	ecx, ax
	mov	rax, QWORD PTR -40[rbp]
	movzx	eax, WORD PTR 24[rax]
	movsx	edx, ax
	mov	rax, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR 12[rax]
	mov	esi, eax
	lea	rdi, .LC15[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L22
.L20:
	mov	rax, QWORD PTR -40[rbp]
	movzx	eax, WORD PTR 26[rax]
	movsx	ecx, ax
	mov	rax, QWORD PTR -40[rbp]
	movzx	eax, WORD PTR 24[rax]
	movsx	edx, ax
	mov	rax, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR 12[rax]
	mov	esi, eax
	lea	rdi, .LC16[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L22
.L26:
	mov	rax, QWORD PTR -40[rbp]
	movzx	eax, WORD PTR 26[rax]
	movsx	esi, ax
	mov	rax, QWORD PTR -40[rbp]
	movzx	eax, WORD PTR 24[rax]
	movsx	ecx, ax
	mov	rax, QWORD PTR -40[rbp]
	mov	edx, DWORD PTR 12[rax]
	mov	rax, QWORD PTR -40[rbp]
	movzx	eax, BYTE PTR 1[rax]
	movzx	eax, al
	mov	r8d, esi
	mov	esi, eax
	lea	rdi, .LC17[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L18
.L22:
	jmp	.L18
.L14:
	mov	rax, QWORD PTR -88[rbp]
	mov	QWORD PTR -48[rbp], rax
	mov	rax, QWORD PTR -48[rbp]
	movzx	eax, WORD PTR 28[rax]
	movzx	eax, ax
	mov	edi, eax
	call	print_modifiers
	mov	rax, QWORD PTR -48[rbp]
	movzx	eax, WORD PTR 26[rax]
	movsx	esi, ax
	mov	rax, QWORD PTR -48[rbp]
	movzx	eax, WORD PTR 24[rax]
	movsx	ecx, ax
	mov	rax, QWORD PTR -48[rbp]
	mov	edx, DWORD PTR 12[rax]
	mov	rax, QWORD PTR -48[rbp]
	movzx	eax, BYTE PTR 1[rax]
	movzx	eax, al
	mov	r8d, esi
	mov	esi, eax
	lea	rdi, .LC18[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L18
.L13:
	mov	rax, QWORD PTR -88[rbp]
	mov	QWORD PTR -56[rbp], rax
	mov	rax, QWORD PTR -56[rbp]
	movzx	eax, WORD PTR 26[rax]
	movsx	ecx, ax
	mov	rax, QWORD PTR -56[rbp]
	movzx	eax, WORD PTR 24[rax]
	movsx	edx, ax
	mov	rax, QWORD PTR -56[rbp]
	mov	eax, DWORD PTR 12[rax]
	mov	esi, eax
	lea	rdi, .LC19[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L18
.L12:
	mov	rax, QWORD PTR -88[rbp]
	mov	QWORD PTR -64[rbp], rax
	mov	rax, QWORD PTR -64[rbp]
	movzx	eax, WORD PTR 26[rax]
	movsx	ecx, ax
	mov	rax, QWORD PTR -64[rbp]
	movzx	eax, WORD PTR 24[rax]
	movsx	edx, ax
	mov	rax, QWORD PTR -64[rbp]
	mov	eax, DWORD PTR 12[rax]
	mov	esi, eax
	lea	rdi, .LC20[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L18
.L11:
	mov	rax, QWORD PTR -88[rbp]
	mov	QWORD PTR -72[rbp], rax
	mov	rax, QWORD PTR -72[rbp]
	movzx	eax, WORD PTR 26[rax]
	movsx	ecx, ax
	mov	rax, QWORD PTR -72[rbp]
	movzx	eax, WORD PTR 24[rax]
	movsx	edx, ax
	mov	rax, QWORD PTR -72[rbp]
	mov	eax, DWORD PTR 12[rax]
	mov	esi, eax
	lea	rdi, .LC21[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L18
.L17:
	mov	rax, QWORD PTR -88[rbp]
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, WORD PTR 28[rax]
	movzx	eax, ax
	mov	edi, eax
	call	print_modifiers
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 12[rax]
	mov	esi, eax
	lea	rdi, .LC22[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L18
.L16:
	mov	rax, QWORD PTR -88[rbp]
	mov	QWORD PTR -32[rbp], rax
	mov	rax, QWORD PTR -32[rbp]
	movzx	eax, WORD PTR 28[rax]
	movzx	eax, ax
	mov	edi, eax
	call	print_modifiers
	mov	rax, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR 12[rax]
	mov	esi, eax
	lea	rdi, .LC23[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L18
.L8:
	mov	rax, QWORD PTR -88[rbp]
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	mov	esi, eax
	lea	rdi, .LC24[rip]
	mov	eax, 0
	call	printf@PLT
	nop
.L18:
	mov	rax, QWORD PTR -88[rbp]
	mov	rdi, rax
	call	free@PLT
.L7:
	mov	rax, QWORD PTR -104[rbp]
	mov	rdi, rax
	call	xcb_wait_for_event@PLT
	mov	QWORD PTR -88[rbp], rax
	cmp	QWORD PTR -88[rbp], 0
	jne	.L23
	mov	eax, 0
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L25
	call	__stack_chk_fail@PLT
.L25:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"158131.c"
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Shift\000"
	.align	2
.LC1:
	.ascii	"Lock\000"
	.align	2
.LC2:
	.ascii	"Ctrl\000"
	.align	2
.LC3:
	.ascii	"Alt\000"
	.align	2
.LC4:
	.ascii	"Mod2\000"
	.align	2
.LC5:
	.ascii	"Mod3\000"
	.align	2
.LC6:
	.ascii	"Mod4\000"
	.align	2
.LC7:
	.ascii	"Mod5\000"
	.align	2
.LC8:
	.ascii	"Button1\000"
	.align	2
.LC9:
	.ascii	"Button2\000"
	.align	2
.LC10:
	.ascii	"Button3\000"
	.align	2
.LC11:
	.ascii	"Button4\000"
	.align	2
.LC12:
	.ascii	"Button5\000"
	.text
	.section	.rodata
	.align	2
.LC15:
	.ascii	"Modifier mask: \000"
	.align	2
.LC14:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.align	2
.LC16:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	print_modifiers
	.syntax unified
	.arm
	.fpu softvfp
	.type	print_modifiers, %function
print_modifiers:
	@ args = 0, pretend = 0, frame = 72
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #72
	str	r0, [fp, #-72]
	ldr	r3, .L6
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L6+4
	sub	ip, fp, #60
	mov	lr, r3
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldr	r3, [lr]
	str	r3, [ip]
	ldr	r0, .L6+8
	bl	printf
	sub	r3, fp, #60
	str	r3, [fp, #-64]
	b	.L2
.L4:
	ldr	r3, [fp, #-72]
	and	r3, r3, #1
	cmp	r3, #0
	beq	.L3
	ldr	r3, [fp, #-64]
	ldr	r3, [r3]
	mov	r0, r3
	bl	printf
.L3:
	ldr	r3, [fp, #-72]
	lsr	r3, r3, #1
	str	r3, [fp, #-72]
	ldr	r3, [fp, #-64]
	add	r3, r3, #4
	str	r3, [fp, #-64]
.L2:
	ldr	r3, [fp, #-72]
	cmp	r3, #0
	bne	.L4
	mov	r0, #10
	bl	putchar
	nop
	ldr	r3, .L6
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L5
	bl	__stack_chk_fail
.L5:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L7:
	.align	2
.L6:
	.word	.LC16
	.word	.LC14
	.word	.LC15
	.size	print_modifiers, .-print_modifiers
	.section	.rodata
	.align	2
.LC17:
	.ascii	"Window %ld exposed. Region to be redrawn at locatio"
	.ascii	"n (%d,%d), with dimension (%d,%d)\012\000"
	.align	2
.LC18:
	.ascii	"Wheel Button up in window %ld, at coordinates (%d,%"
	.ascii	"d)\012\000"
	.align	2
.LC19:
	.ascii	"Wheel Button down in window %ld, at coordinates (%d"
	.ascii	",%d)\012\000"
	.align	2
.LC20:
	.ascii	"Button %d pressed in window %ld, at coordinates (%d"
	.ascii	",%d)\012\000"
	.align	2
.LC21:
	.ascii	"Button %d released in window %ld, at coordinates (%"
	.ascii	"d,%d)\012\000"
	.align	2
.LC22:
	.ascii	"Mouse moved in window %ld, at coordinates (%d,%d)\012"
	.ascii	"\000"
	.align	2
.LC23:
	.ascii	"Mouse entered window %ld, at coordinates (%d,%d)\012"
	.ascii	"\000"
	.align	2
.LC24:
	.ascii	"Mouse left window %ld, at coordinates (%d,%d)\012\000"
	.align	2
.LC25:
	.ascii	"Key pressed in window %ld\012\000"
	.align	2
.LC26:
	.ascii	"Key released in window %ld\012\000"
	.align	2
.LC27:
	.ascii	"Unknown event: %d\012\000"
	.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 = 80
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #120
	ldr	r3, .L29
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-80]
	mov	r1, #0
	mov	r0, #0
	bl	xcb_connect
	str	r0, [fp, #-76]
	ldr	r0, [fp, #-76]
	bl	xcb_get_setup
	mov	r2, r0
	sub	r3, fp, #28
	mov	r1, r2
	mov	r0, r3
	bl	xcb_setup_roots_iterator
	ldr	r3, [fp, #-28]
	str	r3, [fp, #-72]
	ldr	r0, [fp, #-76]
	bl	xcb_generate_id
	str	r0, [fp, #-68]
	ldr	r3, .L29+4
	str	r3, [fp, #-80]
	ldr	r3, [fp, #-72]
	ldr	r3, [r3, #8]
	str	r3, [fp, #-16]
	ldr	r3, .L29+8
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-72]
	ldr	r1, [r3]
	ldr	r3, [fp, #-72]
	ldr	r3, [r3, #32]
	sub	r2, fp, #16
	str	r2, [sp, #32]
	ldr	r2, [fp, #-80]
	str	r2, [sp, #28]
	str	r3, [sp, #24]
	mov	r3, #1
	str	r3, [sp, #20]
	mov	r3, #10
	str	r3, [sp, #16]
	mov	r3, #150
	str	r3, [sp, #12]
	mov	r3, #150
	str	r3, [sp, #8]
	mov	r3, #0
	str	r3, [sp, #4]
	mov	r3, #0
	str	r3, [sp]
	mov	r3, r1
	ldr	r2, [fp, #-68]
	mov	r1, #0
	ldr	r0, [fp, #-76]
	bl	xcb_create_window
	ldr	r1, [fp, #-68]
	ldr	r0, [fp, #-76]
	bl	xcb_map_window
	ldr	r0, [fp, #-76]
	bl	xcb_flush
	b	.L9
.L25:
	ldr	r3, [fp, #-64]
	ldrb	r3, [r3]	@ zero_extendqisi2
	bic	r3, r3, #128
	sub	r3, r3, #2
	cmp	r3, #10
	ldrls	pc, [pc, r3, asl #2]
	b	.L10
.L12:
	.word	.L19
	.word	.L18
	.word	.L17
	.word	.L16
	.word	.L15
	.word	.L14
	.word	.L13
	.word	.L10
	.word	.L10
	.word	.L10
	.word	.L11
.L11:
	ldr	r3, [fp, #-64]
	str	r3, [fp, #-60]
	ldr	r3, [fp, #-60]
	ldr	r1, [r3, #4]
	ldr	r3, [fp, #-60]
	ldrh	r3, [r3, #8]
	mov	r0, r3
	ldr	r3, [fp, #-60]
	ldrh	r3, [r3, #10]
	mov	ip, r3
	ldr	r3, [fp, #-60]
	ldrh	r3, [r3, #12]
	mov	r2, r3
	ldr	r3, [fp, #-60]
	ldrh	r3, [r3, #14]
	str	r3, [sp, #4]
	str	r2, [sp]
	mov	r3, ip
	mov	r2, r0
	ldr	r0, .L29+12
	bl	printf
	b	.L20
.L17:
	ldr	r3, [fp, #-64]
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-40]
	ldrh	r3, [r3, #28]
	mov	r0, r3
	bl	print_modifiers
	ldr	r3, [fp, #-40]
	ldrb	r3, [r3, #1]	@ zero_extendqisi2
	cmp	r3, #4
	beq	.L21
	cmp	r3, #5
	beq	.L22
	b	.L28
.L21:
	ldr	r3, [fp, #-40]
	ldr	r1, [r3, #12]
	ldr	r3, [fp, #-40]
	ldrsh	r3, [r3, #24]
	mov	r2, r3
	ldr	r3, [fp, #-40]
	ldrsh	r3, [r3, #26]
	ldr	r0, .L29+16
	bl	printf
	b	.L24
.L22:
	ldr	r3, [fp, #-40]
	ldr	r1, [r3, #12]
	ldr	r3, [fp, #-40]
	ldrsh	r3, [r3, #24]
	mov	r2, r3
	ldr	r3, [fp, #-40]
	ldrsh	r3, [r3, #26]
	ldr	r0, .L29+20
	bl	printf
	b	.L24
.L28:
	ldr	r3, [fp, #-40]
	ldrb	r3, [r3, #1]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r3, [fp, #-40]
	ldr	r2, [r3, #12]
	ldr	r3, [fp, #-40]
	ldrsh	r3, [r3, #24]
	mov	r0, r3
	ldr	r3, [fp, #-40]
	ldrsh	r3, [r3, #26]
	str	r3, [sp]
	mov	r3, r0
	ldr	r0, .L29+24
	bl	printf
	b	.L20
.L24:
	b	.L20
.L16:
	ldr	r3, [fp, #-64]
	str	r3, [fp, #-44]
	ldr	r3, [fp, #-44]
	ldrh	r3, [r3, #28]
	mov	r0, r3
	bl	print_modifiers
	ldr	r3, [fp, #-44]
	ldrb	r3, [r3, #1]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r3, [fp, #-44]
	ldr	r2, [r3, #12]
	ldr	r3, [fp, #-44]
	ldrsh	r3, [r3, #24]
	mov	r0, r3
	ldr	r3, [fp, #-44]
	ldrsh	r3, [r3, #26]
	str	r3, [sp]
	mov	r3, r0
	ldr	r0, .L29+28
	bl	printf
	b	.L20
.L15:
	ldr	r3, [fp, #-64]
	str	r3, [fp, #-48]
	ldr	r3, [fp, #-48]
	ldr	r1, [r3, #12]
	ldr	r3, [fp, #-48]
	ldrsh	r3, [r3, #24]
	mov	r2, r3
	ldr	r3, [fp, #-48]
	ldrsh	r3, [r3, #26]
	ldr	r0, .L29+32
	bl	printf
	b	.L20
.L14:
	ldr	r3, [fp, #-64]
	str	r3, [fp, #-52]
	ldr	r3, [fp, #-52]
	ldr	r1, [r3, #12]
	ldr	r3, [fp, #-52]
	ldrsh	r3, [r3, #24]
	mov	r2, r3
	ldr	r3, [fp, #-52]
	ldrsh	r3, [r3, #26]
	ldr	r0, .L29+36
	bl	printf
	b	.L20
.L13:
	ldr	r3, [fp, #-64]
	str	r3, [fp, #-56]
	ldr	r3, [fp, #-56]
	ldr	r1, [r3, #12]
	ldr	r3, [fp, #-56]
	ldrsh	r3, [r3, #24]
	mov	r2, r3
	ldr	r3, [fp, #-56]
	ldrsh	r3, [r3, #26]
	ldr	r0, .L29+40
	bl	printf
	b	.L20
.L19:
	ldr	r3, [fp, #-64]
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-32]
	ldrh	r3, [r3, #28]
	mov	r0, r3
	bl	print_modifiers
	ldr	r3, [fp, #-32]
	ldr	r3, [r3, #12]
	mov	r1, r3
	ldr	r0, .L29+44
	bl	printf
	b	.L20
.L18:
	ldr	r3, [fp, #-64]
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-36]
	ldrh	r3, [r3, #28]
	mov	r0, r3
	bl	print_modifiers
	ldr	r3, [fp, #-36]
	ldr	r3, [r3, #12]
	mov	r1, r3
	ldr	r0, .L29+48
	bl	printf
	b	.L20
.L10:
	ldr	r3, [fp, #-64]
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, .L29+52
	bl	printf
	nop
.L20:
	ldr	r0, [fp, #-64]
	bl	free
.L9:
	ldr	r0, [fp, #-76]
	bl	xcb_wait_for_event
	str	r0, [fp, #-64]
	ldr	r3, [fp, #-64]
	cmp	r3, #0
	bne	.L25
	mov	r3, #0
	ldr	r2, .L29
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L27
	bl	__stack_chk_fail
.L27:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L30:
	.align	2
.L29:
	.word	.LC28
	.word	2050
	.word	32895
	.word	.LC17
	.word	.LC18
	.word	.LC19
	.word	.LC20
	.word	.LC21
	.word	.LC22
	.word	.LC23
	.word	.LC24
	.word	.LC25
	.word	.LC26
	.word	.LC27
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
