	.file	"46356.c"
	.intel_syntax noprefix
	.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, 416
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	edi, 0
	call	XOpenDisplay@PLT
	mov	QWORD PTR -376[rbp], rax
	mov	rax, QWORD PTR -376[rbp]
	mov	eax, DWORD PTR 224[rax]
	mov	DWORD PTR -404[rbp], eax
	mov	rax, QWORD PTR -376[rbp]
	mov	rdx, QWORD PTR 232[rax]
	mov	rax, QWORD PTR -376[rbp]
	mov	eax, DWORD PTR 224[rax]
	cdqe
	sal	rax, 7
	add	rax, rdx
	mov	rax, QWORD PTR 96[rax]
	mov	DWORD PTR -400[rbp], eax
	mov	rax, QWORD PTR -376[rbp]
	mov	rdx, QWORD PTR 232[rax]
	mov	rax, QWORD PTR -376[rbp]
	mov	eax, DWORD PTR 224[rax]
	cdqe
	sal	rax, 7
	add	rax, rdx
	mov	rax, QWORD PTR 88[rax]
	mov	DWORD PTR -396[rbp], eax
	mov	DWORD PTR -392[rbp], 0
	mov	eax, DWORD PTR -392[rbp]
	mov	DWORD PTR -388[rbp], eax
	mov	rax, QWORD PTR -376[rbp]
	mov	rdx, QWORD PTR 232[rax]
	mov	eax, DWORD PTR -404[rbp]
	cdqe
	sal	rax, 7
	add	rax, rdx
	mov	eax, DWORD PTR 24[rax]
	mov	DWORD PTR -384[rbp], eax
	mov	rax, QWORD PTR -376[rbp]
	mov	rdx, QWORD PTR 232[rax]
	mov	eax, DWORD PTR -404[rbp]
	cdqe
	sal	rax, 7
	add	rax, rdx
	mov	eax, DWORD PTR 28[rax]
	mov	DWORD PTR -380[rbp], eax
	mov	eax, DWORD PTR -396[rbp]
	movsx	r8, eax
	mov	eax, DWORD PTR -396[rbp]
	movsx	rdi, eax
	mov	r9d, DWORD PTR -380[rbp]
	mov	r10d, DWORD PTR -384[rbp]
	mov	rax, QWORD PTR -376[rbp]
	mov	rdx, QWORD PTR 232[rax]
	mov	rax, QWORD PTR -376[rbp]
	mov	eax, DWORD PTR 224[rax]
	cdqe
	sal	rax, 7
	add	rax, rdx
	mov	rsi, QWORD PTR 16[rax]
	mov	ecx, DWORD PTR -392[rbp]
	mov	edx, DWORD PTR -388[rbp]
	mov	rax, QWORD PTR -376[rbp]
	sub	rsp, 8
	push	r8
	push	rdi
	push	0
	mov	r8d, r10d
	mov	rdi, rax
	call	XCreateSimpleWindow@PLT
	add	rsp, 32
	mov	QWORD PTR -368[rbp], rax
	mov	DWORD PTR -232[rbp], 1
	mov	QWORD PTR -360[rbp], 512
	lea	rcx, -320[rbp]
	mov	rdx, QWORD PTR -360[rbp]
	mov	rsi, QWORD PTR -368[rbp]
	mov	rax, QWORD PTR -376[rbp]
	mov	rdi, rax
	call	XChangeWindowAttributes@PLT
	mov	WORD PTR -324[rbp], 0
	movzx	eax, WORD PTR -324[rbp]
	mov	WORD PTR -326[rbp], ax
	movzx	eax, WORD PTR -326[rbp]
	mov	WORD PTR -328[rbp], ax
	mov	rsi, QWORD PTR -368[rbp]
	mov	rax, QWORD PTR -376[rbp]
	mov	r8d, 8
	mov	ecx, 8
	lea	rdx, noData.0[rip]
	mov	rdi, rax
	call	XCreateBitmapFromData@PLT
	mov	QWORD PTR -352[rbp], rax
	lea	rdi, -336[rbp]
	lea	rcx, -336[rbp]
	mov	rdx, QWORD PTR -352[rbp]
	mov	rsi, QWORD PTR -352[rbp]
	mov	rax, QWORD PTR -376[rbp]
	sub	rsp, 8
	push	0
	mov	r9d, 0
	mov	r8, rdi
	mov	rdi, rax
	call	XCreatePixmapCursor@PLT
	add	rsp, 16
	mov	QWORD PTR -344[rbp], rax
	mov	rdx, QWORD PTR -344[rbp]
	mov	rcx, QWORD PTR -368[rbp]
	mov	rax, QWORD PTR -376[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	XDefineCursor@PLT
	mov	rcx, QWORD PTR -368[rbp]
	mov	rax, QWORD PTR -376[rbp]
	mov	edx, 163840
	mov	rsi, rcx
	mov	rdi, rax
	call	XSelectInput@PLT
	mov	rdx, QWORD PTR -368[rbp]
	mov	rax, QWORD PTR -376[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	XMapWindow@PLT
	mov	rax, QWORD PTR -376[rbp]
	mov	rdi, rax
	call	XFlush@PLT
.L2:
	lea	rdx, -208[rbp]
	mov	rax, QWORD PTR -376[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	XNextEvent@PLT
	jmp	.L2
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.local	noData.0
	.comm	noData.0,8,8
	.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	"46356.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 224
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #248
	ldr	r3, .L4
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r0, #0
	bl	XOpenDisplay
	str	r0, [fp, #-224]
	ldr	r3, [fp, #-224]
	ldr	r3, [r3, #132]
	str	r3, [fp, #-220]
	ldr	r3, [fp, #-224]
	ldr	r2, [r3, #140]
	ldr	r3, [fp, #-224]
	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, #-216]
	ldr	r3, [fp, #-224]
	ldr	r2, [r3, #140]
	ldr	r3, [fp, #-224]
	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, #52]
	str	r3, [fp, #-212]
	mov	r3, #0
	str	r3, [fp, #-208]
	ldr	r3, [fp, #-208]
	str	r3, [fp, #-204]
	ldr	r3, [fp, #-224]
	ldr	r1, [r3, #140]
	ldr	r2, [fp, #-220]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r1, r3
	ldr	r3, [r3, #12]
	str	r3, [fp, #-200]
	ldr	r3, [fp, #-224]
	ldr	r1, [r3, #140]
	ldr	r2, [fp, #-220]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r1, r3
	ldr	r3, [r3, #16]
	str	r3, [fp, #-196]
	ldr	r3, [fp, #-224]
	ldr	r2, [r3, #140]
	ldr	r3, [fp, #-224]
	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	ip, [r3, #8]
	ldr	r3, [fp, #-200]
	ldr	r2, [fp, #-196]
	ldr	r1, [fp, #-212]
	ldr	r0, [fp, #-212]
	str	r0, [sp, #16]
	str	r1, [sp, #12]
	mov	r1, #0
	str	r1, [sp, #8]
	str	r2, [sp, #4]
	str	r3, [sp]
	ldr	r3, [fp, #-208]
	ldr	r2, [fp, #-204]
	mov	r1, ip
	ldr	r0, [fp, #-224]
	bl	XCreateSimpleWindow
	str	r0, [fp, #-192]
	mov	r3, #1
	str	r3, [fp, #-116]
	mov	r3, #512
	str	r3, [fp, #-188]
	sub	r3, fp, #164
	ldr	r2, [fp, #-188]
	ldr	r1, [fp, #-192]
	ldr	r0, [fp, #-224]
	bl	XChangeWindowAttributes
	mov	r3, #0
	strh	r3, [fp, #-168]	@ movhi
	ldrh	r3, [fp, #-168]
	strh	r3, [fp, #-170]	@ movhi
	ldrh	r3, [fp, #-170]
	strh	r3, [fp, #-172]	@ movhi
	mov	r3, #8
	str	r3, [sp]
	mov	r3, #8
	ldr	r2, .L4+4
	ldr	r1, [fp, #-192]
	ldr	r0, [fp, #-224]
	bl	XCreateBitmapFromData
	str	r0, [fp, #-184]
	sub	r2, fp, #176
	mov	r3, #0
	str	r3, [sp, #8]
	mov	r3, #0
	str	r3, [sp, #4]
	sub	r3, fp, #176
	str	r3, [sp]
	mov	r3, r2
	ldr	r2, [fp, #-184]
	ldr	r1, [fp, #-184]
	ldr	r0, [fp, #-224]
	bl	XCreatePixmapCursor
	str	r0, [fp, #-180]
	ldr	r2, [fp, #-180]
	ldr	r1, [fp, #-192]
	ldr	r0, [fp, #-224]
	bl	XDefineCursor
	mov	r2, #163840
	ldr	r1, [fp, #-192]
	ldr	r0, [fp, #-224]
	bl	XSelectInput
	ldr	r1, [fp, #-192]
	ldr	r0, [fp, #-224]
	bl	XMapWindow
	ldr	r0, [fp, #-224]
	bl	XFlush
.L2:
	sub	r3, fp, #104
	mov	r1, r3
	ldr	r0, [fp, #-224]
	bl	XNextEvent
	b	.L2
.L5:
	.align	2
.L4:
	.word	.LC0
	.word	noData.7577
	.size	main, .-main
	.local	noData.7577
	.comm	noData.7577,8,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
