	.file	"1163.c"
	.intel_syntax noprefix
	.text
	.globl	l
	.section	.rodata
	.align 8
.LC0:
	.string	"dbcefcbddabcddcba~WAB+  +BAW~              +-84HLSU?A6J57IKJT576,"
	.section	.data.rel.local,"aw"
	.align 8
	.type	l, @object
	.size	l, 8
l:
	.quad	.LC0
	.globl	F
	.section	.rodata
	.align 8
.LC1:
	.string	"          ,>>,>  xl~w/?  ,>>>,s  m\177>>\177\177  mm2>>>  >uk>>> "
	.section	.data.rel.local
	.align 8
	.type	F, @object
	.size	F, 8
F:
	.quad	.LC1
	.globl	f
	.bss
	.align 8
	.type	f, @object
	.size	f, 8
f:
	.zero	8
	.globl	y
	.align 4
	.type	y, @object
	.size	y, 4
y:
	.zero	4
	.globl	u
	.align 4
	.type	u, @object
	.size	u, 4
u:
	.zero	4
	.globl	I
	.align 32
	.type	I, @object
	.size	I, 1216
I:
	.zero	1216
	.globl	b
	.align 4
	.type	b, @object
	.size	b, 4
b:
	.zero	4
	.globl	i
	.align 4
	.type	i, @object
	.size	i, 4
i:
	.zero	4
	.globl	z
	.align 4
	.type	z, @object
	.size	z, 4
z:
	.zero	4
	.section	.rodata
.LC2:
	.string	""
.LC4:
	.string	"Black's wins"
.LC5:
	.string	"White's wins"
.LC6:
	.string	"Stalemate"
.LC7:
	.string	"Chess"
.LC3:
	.string	"U\252U"
	.string	"DDDD"
	.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, 528
	mov	DWORD PTR -516[rbp], edi
	mov	QWORD PTR -528[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdi, .LC2[rip]
	call	XOpenDisplay@PLT
	mov	QWORD PTR -480[rbp], rax
	mov	rax, QWORD PTR -480[rbp]
	mov	rdx, QWORD PTR 232[rax]
	mov	rax, QWORD PTR -480[rbp]
	mov	eax, DWORD PTR 224[rax]
	cdqe
	sal	rax, 7
	add	rax, rdx
	mov	rcx, QWORD PTR 96[rax]
	mov	rax, QWORD PTR -480[rbp]
	mov	rdx, QWORD PTR 232[rax]
	mov	rax, QWORD PTR -480[rbp]
	mov	eax, DWORD PTR 224[rax]
	cdqe
	sal	rax, 7
	add	rax, rdx
	mov	rdx, QWORD PTR 96[rax]
	mov	rax, QWORD PTR -480[rbp]
	mov	rsi, QWORD PTR 232[rax]
	mov	rax, QWORD PTR -480[rbp]
	mov	eax, DWORD PTR 224[rax]
	cdqe
	sal	rax, 7
	add	rax, rsi
	mov	rsi, QWORD PTR 16[rax]
	mov	rax, QWORD PTR -480[rbp]
	sub	rsp, 8
	push	rcx
	push	rdx
	push	2
	mov	r9d, 512
	mov	r8d, 512
	mov	ecx, 64
	mov	edx, 64
	mov	rdi, rax
	call	XCreateSimpleWindow@PLT
	add	rsp, 32
	mov	QWORD PTR -472[rbp], rax
	lea	rax, I[rip]
	mov	QWORD PTR -488[rbp], rax
	mov	rcx, QWORD PTR -472[rbp]
	mov	rax, QWORD PTR -480[rbp]
	mov	edx, 32772
	mov	rsi, rcx
	mov	rdi, rax
	call	XSelectInput@PLT
	mov	rdx, QWORD PTR -472[rbp]
	mov	rax, QWORD PTR -480[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	XMapWindow@PLT
	mov	rax, QWORD PTR -480[rbp]
	mov	rdx, QWORD PTR 232[rax]
	mov	rax, QWORD PTR -480[rbp]
	mov	eax, DWORD PTR 224[rax]
	cdqe
	sal	rax, 7
	add	rax, rdx
	mov	rax, QWORD PTR 88[rax]
	mov	QWORD PTR -352[rbp], rax
	lea	rdx, -368[rbp]
	mov	rsi, QWORD PTR -472[rbp]
	mov	rax, QWORD PTR -480[rbp]
	mov	rcx, rdx
	mov	edx, 4
	mov	rdi, rax
	call	XCreateGC@PLT
	mov	DWORD PTR -500[rbp], eax
	mov	rax, QWORD PTR F[rip]
	add	rax, 48
	mov	QWORD PTR F[rip], rax
	jmp	.L2
.L17:
	nop
.L16:
	mov	eax, DWORD PTR z[rip]
	movsx	rdx, eax
	imul	rdx, rdx, -1840700269
	shr	rdx, 32
	add	edx, eax
	sar	edx, 3
	sar	eax, 31
	mov	ecx, eax
	mov	eax, edx
	sub	eax, ecx
	lea	edx, [rax+rax]
	mov	eax, DWORD PTR u[rip]
	and	eax, 1
	mov	ecx, edx
	or	ecx, eax
	mov	rax, QWORD PTR f[rip]
	lea	rdx, 1[rax]
	mov	QWORD PTR f[rip], rdx
	movsx	rdx, ecx
	lea	rcx, .LC3[rip]
	movzx	edx, BYTE PTR [rdx+rcx]
	mov	BYTE PTR [rax], dl
	mov	rax, QWORD PTR F[rip]
	movzx	eax, BYTE PTR [rax]
	and	eax, 64
	test	al, al
	je	.L4
	mov	eax, DWORD PTR z[rip]
	movsx	rdx, eax
	imul	rdx, rdx, -1840700269
	shr	rdx, 32
	add	edx, eax
	sar	edx, 3
	mov	ecx, eax
	sar	ecx, 31
	sub	edx, ecx
	imul	ecx, edx, 14
	sub	eax, ecx
	mov	edx, eax
	cmp	edx, 6
	setle	al
	neg	eax
	mov	edx, eax
	jmp	.L5
.L4:
	mov	eax, DWORD PTR z[rip]
	movsx	rdx, eax
	imul	rdx, rdx, -1840700269
	shr	rdx, 32
	add	edx, eax
	sar	edx, 3
	sar	eax, 31
	mov	ecx, eax
	mov	eax, edx
	sub	eax, ecx
	lea	edx, [rax+rax]
	mov	eax, DWORD PTR u[rip]
	and	eax, 1
	or	eax, edx
	cdqe
	lea	rdx, .LC3[rip]
	movzx	edx, BYTE PTR [rax+rdx]
.L5:
	mov	rax, QWORD PTR f[rip]
	lea	rcx, 1[rax]
	mov	QWORD PTR f[rip], rcx
	mov	BYTE PTR [rax], dl
	mov	rax, QWORD PTR F[rip]
	movzx	eax, BYTE PTR [rax]
	and	eax, 16
	test	al, al
	je	.L6
	mov	eax, DWORD PTR z[rip]
	movsx	rdx, eax
	imul	rdx, rdx, -1840700269
	shr	rdx, 32
	add	edx, eax
	sar	edx, 3
	mov	ecx, eax
	sar	ecx, 31
	sub	edx, ecx
	imul	ecx, edx, 14
	sub	eax, ecx
	mov	edx, eax
	cmp	edx, 6
	setle	al
	neg	eax
	mov	edx, eax
	jmp	.L7
.L6:
	mov	eax, DWORD PTR z[rip]
	movsx	rdx, eax
	imul	rdx, rdx, -1840700269
	shr	rdx, 32
	add	edx, eax
	sar	edx, 3
	sar	eax, 31
	mov	ecx, eax
	mov	eax, edx
	sub	eax, ecx
	lea	edx, [rax+rax]
	mov	eax, DWORD PTR u[rip]
	and	eax, 1
	or	eax, edx
	cdqe
	lea	rdx, .LC3[rip]
	movzx	edx, BYTE PTR [rax+rdx]
.L7:
	mov	rax, QWORD PTR f[rip]
	lea	rcx, 1[rax]
	mov	QWORD PTR f[rip], rcx
	mov	BYTE PTR [rax], dl
	mov	rax, QWORD PTR F[rip]
	movzx	eax, BYTE PTR [rax]
	and	eax, 8
	test	al, al
	je	.L8
	mov	eax, DWORD PTR z[rip]
	movsx	rdx, eax
	imul	rdx, rdx, -1840700269
	shr	rdx, 32
	add	edx, eax
	sar	edx, 3
	mov	ecx, eax
	sar	ecx, 31
	sub	edx, ecx
	imul	ecx, edx, 14
	sub	eax, ecx
	mov	edx, eax
	cmp	edx, 6
	setle	al
	neg	eax
	mov	edx, eax
	jmp	.L9
.L8:
	mov	eax, DWORD PTR z[rip]
	movsx	rdx, eax
	imul	rdx, rdx, -1840700269
	shr	rdx, 32
	add	edx, eax
	sar	edx, 3
	sar	eax, 31
	mov	ecx, eax
	mov	eax, edx
	sub	eax, ecx
	lea	edx, [rax+rax]
	mov	eax, DWORD PTR u[rip]
	and	eax, 1
	or	eax, edx
	cdqe
	lea	rdx, .LC3[rip]
	movzx	edx, BYTE PTR [rax+rdx]
.L9:
	mov	rax, QWORD PTR f[rip]
	lea	rcx, 1[rax]
	mov	QWORD PTR f[rip], rcx
	mov	BYTE PTR [rax], dl
	mov	rax, QWORD PTR F[rip]
	movzx	eax, BYTE PTR [rax]
	and	eax, 4
	test	al, al
	je	.L10
	mov	eax, DWORD PTR z[rip]
	movsx	rdx, eax
	imul	rdx, rdx, -1840700269
	shr	rdx, 32
	add	edx, eax
	sar	edx, 3
	mov	ecx, eax
	sar	ecx, 31
	sub	edx, ecx
	imul	ecx, edx, 14
	sub	eax, ecx
	mov	edx, eax
	cmp	edx, 6
	setle	al
	neg	eax
	mov	edx, eax
	jmp	.L11
.L10:
	mov	eax, DWORD PTR z[rip]
	movsx	rdx, eax
	imul	rdx, rdx, -1840700269
	shr	rdx, 32
	add	edx, eax
	sar	edx, 3
	sar	eax, 31
	mov	ecx, eax
	mov	eax, edx
	sub	eax, ecx
	lea	edx, [rax+rax]
	mov	eax, DWORD PTR u[rip]
	and	eax, 1
	or	eax, edx
	cdqe
	lea	rdx, .LC3[rip]
	movzx	edx, BYTE PTR [rax+rdx]
.L11:
	mov	rax, QWORD PTR f[rip]
	lea	rcx, 1[rax]
	mov	QWORD PTR f[rip], rcx
	mov	BYTE PTR [rax], dl
	mov	rax, QWORD PTR F[rip]
	movzx	eax, BYTE PTR [rax]
	and	eax, 2
	test	al, al
	je	.L12
	mov	eax, DWORD PTR z[rip]
	movsx	rdx, eax
	imul	rdx, rdx, -1840700269
	shr	rdx, 32
	add	edx, eax
	sar	edx, 3
	mov	ecx, eax
	sar	ecx, 31
	sub	edx, ecx
	imul	ecx, edx, 14
	sub	eax, ecx
	mov	edx, eax
	cmp	edx, 6
	setle	al
	neg	eax
	mov	edx, eax
	jmp	.L13
.L12:
	mov	eax, DWORD PTR z[rip]
	movsx	rdx, eax
	imul	rdx, rdx, -1840700269
	shr	rdx, 32
	add	edx, eax
	sar	edx, 3
	sar	eax, 31
	mov	ecx, eax
	mov	eax, edx
	sub	eax, ecx
	lea	edx, [rax+rax]
	mov	eax, DWORD PTR u[rip]
	and	eax, 1
	or	eax, edx
	cdqe
	lea	rdx, .LC3[rip]
	movzx	edx, BYTE PTR [rax+rdx]
.L13:
	mov	rax, QWORD PTR f[rip]
	lea	rcx, 1[rax]
	mov	QWORD PTR f[rip], rcx
	mov	BYTE PTR [rax], dl
	mov	rax, QWORD PTR F[rip]
	movzx	eax, BYTE PTR [rax]
	and	eax, 1
	test	al, al
	je	.L14
	mov	eax, DWORD PTR z[rip]
	movsx	rdx, eax
	imul	rdx, rdx, -1840700269
	shr	rdx, 32
	add	edx, eax
	sar	edx, 3
	mov	ecx, eax
	sar	ecx, 31
	sub	edx, ecx
	imul	ecx, edx, 14
	sub	eax, ecx
	mov	edx, eax
	cmp	edx, 6
	setle	al
	neg	eax
	mov	edx, eax
	jmp	.L15
.L14:
	mov	eax, DWORD PTR z[rip]
	movsx	rdx, eax
	imul	rdx, rdx, -1840700269
	shr	rdx, 32
	add	edx, eax
	sar	edx, 3
	sar	eax, 31
	mov	ecx, eax
	mov	eax, edx
	sub	eax, ecx
	lea	edx, [rax+rax]
	mov	eax, DWORD PTR u[rip]
	and	eax, 1
	or	eax, edx
	cdqe
	lea	rdx, .LC3[rip]
	movzx	edx, BYTE PTR [rax+rdx]
.L15:
	mov	rax, QWORD PTR f[rip]
	lea	rcx, 1[rax]
	mov	QWORD PTR f[rip], rcx
	mov	BYTE PTR [rax], dl
	mov	eax, DWORD PTR z[rip]
	movsx	rdx, eax
	imul	rdx, rdx, -1840700269
	shr	rdx, 32
	add	edx, eax
	sar	edx, 3
	sar	eax, 31
	mov	ecx, eax
	mov	eax, edx
	sub	eax, ecx
	lea	edx, [rax+rax]
	mov	eax, DWORD PTR u[rip]
	and	eax, 1
	mov	ecx, edx
	or	ecx, eax
	mov	rax, QWORD PTR f[rip]
	lea	rdx, 1[rax]
	mov	QWORD PTR f[rip], rdx
	movsx	rdx, ecx
	lea	rcx, .LC3[rip]
	movzx	edx, BYTE PTR [rdx+rcx]
	mov	BYTE PTR [rax], dl
	mov	eax, DWORD PTR u[rip]
	add	eax, 1
	mov	DWORD PTR u[rip], eax
	mov	eax, DWORD PTR u[rip]
	cmp	eax, 7
	jle	.L16
	mov	rax, QWORD PTR F[rip]
	add	rax, 1
	mov	QWORD PTR F[rip], rax
.L3:
	mov	DWORD PTR u[rip], 0
	mov	eax, DWORD PTR i[rip]
	lea	edx, 1[rax]
	mov	DWORD PTR i[rip], edx
	cmp	eax, 7
	jle	.L17
	mov	rsi, QWORD PTR F[rip]
	mov	eax, DWORD PTR z[rip]
	movsx	rdx, eax
	imul	rdx, rdx, -1840700269
	shr	rdx, 32
	add	edx, eax
	sar	edx, 2
	mov	ecx, eax
	sar	ecx, 31
	sub	edx, ecx
	mov	ecx, edx
	sal	ecx, 3
	sub	ecx, edx
	sub	eax, ecx
	mov	edx, eax
	cmp	edx, 6
	je	.L18
	mov	eax, DWORD PTR z[rip]
	movsx	rdx, eax
	imul	rdx, rdx, -1840700269
	shr	rdx, 32
	add	edx, eax
	sar	edx, 3
	mov	ecx, eax
	sar	ecx, 31
	sub	edx, ecx
	imul	ecx, edx, 14
	sub	eax, ecx
	mov	edx, eax
	cmp	edx, 5
	jg	.L19
	mov	rax, -16
	jmp	.L21
.L19:
	mov	eax, 0
	jmp	.L21
.L18:
	mov	rax, -8
.L21:
	add	rax, rsi
	mov	QWORD PTR F[rip], rax
	mov	rsi, QWORD PTR -472[rbp]
	mov	rax, QWORD PTR -480[rbp]
	mov	r8d, 64
	mov	ecx, 64
	lea	rdx, I[rip]
	mov	rdi, rax
	call	XCreateBitmapFromData@PLT
	mov	rdx, rax
	mov	eax, DWORD PTR z[rip]
	lea	ecx, 1[rax]
	mov	DWORD PTR z[rip], ecx
	cdqe
	mov	DWORD PTR -240[rbp+rax*4], edx
.L2:
	lea	rax, I[rip]
	mov	QWORD PTR f[rip], rax
	mov	DWORD PTR i[rip], 0
	mov	eax, DWORD PTR z[rip]
	cmp	eax, 55
	jle	.L3
	mov	DWORD PTR u[rip], 0
	mov	eax, DWORD PTR u[rip]
	mov	DWORD PTR z[rip], eax
	mov	eax, DWORD PTR z[rip]
	mov	edi, eax
	mov	eax, 0
	call	time@PLT
	mov	edi, eax
	mov	eax, 0
	call	srand@PLT
	nop
.L23:
	mov	eax, DWORD PTR z[rip]
	cmp	eax, 98
	setg	dl
	mov	eax, DWORD PTR z[rip]
	cmp	eax, 20
	setle	al
	or	eax, edx
	movzx	esi, al
	mov	eax, DWORD PTR z[rip]
	lea	ecx, 1[rax]
	movsx	rax, ecx
	imul	rax, rax, 1717986919
	shr	rax, 32
	sar	eax, 2
	mov	edi, ecx
	sar	edi, 31
	sub	eax, edi
	mov	edx, eax
	mov	eax, edx
	sal	eax, 2
	add	eax, edx
	add	eax, eax
	sub	ecx, eax
	mov	edx, ecx
	cmp	edx, 1
	setle	al
	movzx	eax, al
	or	esi, eax
	mov	edx, esi
	mov	eax, DWORD PTR z[rip]
	mov	ecx, edx
	neg	ecx
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, I[rip]
	mov	DWORD PTR [rdx+rax], ecx
	mov	eax, DWORD PTR z[rip]
	add	eax, 1
	mov	DWORD PTR z[rip], eax
	mov	eax, DWORD PTR z[rip]
	cmp	eax, 119
	jle	.L23
	jmp	.L24
.L25:
	mov	rax, QWORD PTR -488[rbp]
	add	rax, 320
	mov	DWORD PTR [rax], -2
	mov	rax, QWORD PTR l[rip]
	lea	rdx, 1[rax]
	mov	QWORD PTR l[rip], rdx
	movzx	eax, BYTE PTR [rax]
	movsx	edx, al
	mov	rax, QWORD PTR -488[rbp]
	add	rax, 80
	and	edx, 7
	mov	DWORD PTR [rax], edx
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -488[rbp]
	add	rax, 360
	not	edx
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -488[rbp]
	add	rax, 120
	mov	DWORD PTR [rax], 1
.L24:
	add	QWORD PTR -488[rbp], 4
	lea	rax, I[rip+36]
	cmp	QWORD PTR -488[rbp], rax
	jb	.L25
	cmp	DWORD PTR -516[rbp], 1
	jle	.L26
	mov	rax, QWORD PTR -528[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	sub	eax, 45
	mov	DWORD PTR -504[rbp], eax
.L26:
	cmp	DWORD PTR -516[rbp], 2
	jle	.L64
	mov	eax, DWORD PTR u[rip]
	mov	edx, DWORD PTR -504[rbp]
	mov	r9d, edx
	mov	r8d, 1
	mov	ecx, eax
	mov	edx, 0
	mov	esi, 0
	mov	edi, 0
	mov	eax, 0
	call	X
	mov	eax, DWORD PTR u[rip]
	mov	r9d, 1
	mov	r8d, 0
	mov	ecx, eax
	mov	edx, 0
	mov	esi, 0
	mov	edi, 0
	mov	eax, 0
	call	X
	mov	DWORD PTR z[rip], 0
.L64:
	lea	rdx, -464[rbp]
	mov	rax, QWORD PTR -480[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	XNextEvent@PLT
	mov	eax, DWORD PTR -464[rbp]
	cmp	eax, 12
	jne	.L28
	mov	DWORD PTR i[rip], 0
	mov	DWORD PTR b[rip], 0
	jmp	.L29
.L34:
	mov	eax, DWORD PTR i[rip]
	lea	edx, 63[rax]
	test	eax, eax
	cmovs	eax, edx
	sar	eax, 6
	mov	edx, eax
	mov	eax, edx
	sal	eax, 2
	add	eax, edx
	add	eax, eax
	mov	ecx, eax
	mov	eax, DWORD PTR b[rip]
	lea	edx, 63[rax]
	test	eax, eax
	cmovs	eax, edx
	sar	eax, 6
	add	eax, ecx
	add	eax, 21
	mov	DWORD PTR -496[rbp], eax
	mov	edi, DWORD PTR i[rip]
	mov	ecx, DWORD PTR b[rip]
	mov	eax, DWORD PTR -500[rbp]
	cdqe
	mov	r10, rax
	mov	eax, DWORD PTR -496[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, I[rip]
	mov	eax, DWORD PTR [rdx+rax]
	lea	esi, 7[rax]
	mov	edx, DWORD PTR i[rip]
	mov	eax, DWORD PTR b[rip]
	add	eax, edx
	sar	eax, 6
	and	eax, 1
	imul	eax, eax, 14
	lea	edx, [rsi+rax]
	mov	eax, DWORD PTR z[rip]
	cmp	DWORD PTR -496[rbp], eax
	jne	.L30
	mov	eax, 28
	jmp	.L31
.L30:
	mov	eax, 0
.L31:
	add	eax, edx
	cdqe
	mov	eax, DWORD PTR -240[rbp+rax*4]
	movsx	rsi, eax
	mov	rdx, QWORD PTR -472[rbp]
	mov	rax, QWORD PTR -480[rbp]
	sub	rsp, 8
	push	1
	push	rdi
	push	rcx
	push	64
	push	64
	mov	r9d, 0
	mov	r8d, 0
	mov	rcx, r10
	mov	rdi, rax
	call	XCopyPlane@PLT
	add	rsp, 48
	mov	eax, DWORD PTR b[rip]
	add	eax, 64
	mov	DWORD PTR b[rip], eax
.L29:
	mov	eax, DWORD PTR b[rip]
	cmp	eax, 511
	jle	.L33
	mov	DWORD PTR b[rip], 0
	mov	eax, DWORD PTR i[rip]
	add	eax, 64
	mov	DWORD PTR i[rip], eax
.L33:
	mov	eax, DWORD PTR i[rip]
	cmp	eax, 511
	jle	.L34
	mov	rax, QWORD PTR -480[rbp]
	mov	rdi, rax
	call	XFlush@PLT
.L28:
	mov	eax, DWORD PTR -464[rbp]
	cmp	eax, 4
	jne	.L64
	mov	eax, DWORD PTR -396[rbp]
	lea	edx, 63[rax]
	test	eax, eax
	cmovs	eax, edx
	sar	eax, 6
	mov	edx, eax
	mov	eax, edx
	sal	eax, 2
	add	eax, edx
	add	eax, eax
	mov	ecx, eax
	mov	eax, DWORD PTR -400[rbp]
	lea	edx, 63[rax]
	test	eax, eax
	cmovs	eax, edx
	sar	eax, 6
	add	eax, ecx
	add	eax, 21
	mov	DWORD PTR b[rip], eax
	mov	eax, DWORD PTR b[rip]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, I[rip]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR y[rip]
	xor	eax, edx
	cmp	eax, -1
	jge	.L36
	mov	eax, DWORD PTR b[rip]
	mov	DWORD PTR z[rip], eax
	mov	DWORD PTR i[rip], 0
	mov	DWORD PTR b[rip], 0
	jmp	.L37
.L42:
	mov	eax, DWORD PTR i[rip]
	lea	edx, 63[rax]
	test	eax, eax
	cmovs	eax, edx
	sar	eax, 6
	mov	edx, eax
	mov	eax, edx
	sal	eax, 2
	add	eax, edx
	add	eax, eax
	mov	ecx, eax
	mov	eax, DWORD PTR b[rip]
	lea	edx, 63[rax]
	test	eax, eax
	cmovs	eax, edx
	sar	eax, 6
	add	eax, ecx
	add	eax, 21
	mov	DWORD PTR -496[rbp], eax
	mov	edi, DWORD PTR i[rip]
	mov	ecx, DWORD PTR b[rip]
	mov	eax, DWORD PTR -500[rbp]
	cdqe
	mov	r10, rax
	mov	eax, DWORD PTR -496[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, I[rip]
	mov	eax, DWORD PTR [rdx+rax]
	lea	esi, 7[rax]
	mov	edx, DWORD PTR i[rip]
	mov	eax, DWORD PTR b[rip]
	add	eax, edx
	sar	eax, 6
	and	eax, 1
	imul	eax, eax, 14
	lea	edx, [rsi+rax]
	mov	eax, DWORD PTR z[rip]
	cmp	DWORD PTR -496[rbp], eax
	jne	.L38
	mov	eax, 28
	jmp	.L39
.L38:
	mov	eax, 0
.L39:
	add	eax, edx
	cdqe
	mov	eax, DWORD PTR -240[rbp+rax*4]
	movsx	rsi, eax
	mov	rdx, QWORD PTR -472[rbp]
	mov	rax, QWORD PTR -480[rbp]
	sub	rsp, 8
	push	1
	push	rdi
	push	rcx
	push	64
	push	64
	mov	r9d, 0
	mov	r8d, 0
	mov	rcx, r10
	mov	rdi, rax
	call	XCopyPlane@PLT
	add	rsp, 48
	mov	eax, DWORD PTR b[rip]
	add	eax, 64
	mov	DWORD PTR b[rip], eax
.L37:
	mov	eax, DWORD PTR b[rip]
	cmp	eax, 511
	jle	.L41
	mov	DWORD PTR b[rip], 0
	mov	eax, DWORD PTR i[rip]
	add	eax, 64
	mov	DWORD PTR i[rip], eax
.L41:
	mov	eax, DWORD PTR i[rip]
	cmp	eax, 511
	jle	.L42
	mov	rax, QWORD PTR -480[rbp]
	mov	rdi, rax
	call	XFlush@PLT
	jmp	.L64
.L36:
	mov	eax, DWORD PTR b[rip]
	cmp	eax, 28
	setle	dl
	mov	eax, DWORD PTR b[rip]
	cmp	eax, 90
	setg	al
	or	eax, edx
	movzx	ecx, al
	mov	eax, DWORD PTR z[rip]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, I[rip]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR y[rip]
	xor	eax, edx
	cmp	eax, -2
	sete	al
	movzx	eax, al
	and	eax, ecx
	test	eax, eax
	je	.L43
	mov	eax, DWORD PTR y[rip]
	xor	eax, -6
	jmp	.L44
.L43:
	mov	eax, DWORD PTR z[rip]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, I[rip]
	mov	eax, DWORD PTR [rdx+rax]
.L44:
	mov	DWORD PTR i[rip], eax
	mov	eax, DWORD PTR y[rip]
	mov	DWORD PTR -492[rbp], eax
	mov	eax, DWORD PTR u[rip]
	mov	r9d, 1
	mov	r8d, 0
	mov	ecx, eax
	mov	edx, 0
	mov	esi, 0
	mov	edi, 0
	mov	eax, 0
	call	X
	mov	DWORD PTR z[rip], 0
	mov	DWORD PTR i[rip], 0
	mov	DWORD PTR b[rip], 0
	jmp	.L45
.L50:
	mov	eax, DWORD PTR i[rip]
	lea	edx, 63[rax]
	test	eax, eax
	cmovs	eax, edx
	sar	eax, 6
	mov	edx, eax
	mov	eax, edx
	sal	eax, 2
	add	eax, edx
	add	eax, eax
	mov	ecx, eax
	mov	eax, DWORD PTR b[rip]
	lea	edx, 63[rax]
	test	eax, eax
	cmovs	eax, edx
	sar	eax, 6
	add	eax, ecx
	add	eax, 21
	mov	DWORD PTR -496[rbp], eax
	mov	edi, DWORD PTR i[rip]
	mov	ecx, DWORD PTR b[rip]
	mov	eax, DWORD PTR -500[rbp]
	cdqe
	mov	r10, rax
	mov	eax, DWORD PTR -496[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, I[rip]
	mov	eax, DWORD PTR [rdx+rax]
	lea	esi, 7[rax]
	mov	edx, DWORD PTR i[rip]
	mov	eax, DWORD PTR b[rip]
	add	eax, edx
	sar	eax, 6
	and	eax, 1
	imul	eax, eax, 14
	lea	edx, [rsi+rax]
	mov	eax, DWORD PTR z[rip]
	cmp	DWORD PTR -496[rbp], eax
	jne	.L46
	mov	eax, 28
	jmp	.L47
.L46:
	mov	eax, 0
.L47:
	add	eax, edx
	cdqe
	mov	eax, DWORD PTR -240[rbp+rax*4]
	movsx	rsi, eax
	mov	rdx, QWORD PTR -472[rbp]
	mov	rax, QWORD PTR -480[rbp]
	sub	rsp, 8
	push	1
	push	rdi
	push	rcx
	push	64
	push	64
	mov	r9d, 0
	mov	r8d, 0
	mov	rcx, r10
	mov	rdi, rax
	call	XCopyPlane@PLT
	add	rsp, 48
	mov	eax, DWORD PTR b[rip]
	add	eax, 64
	mov	DWORD PTR b[rip], eax
.L45:
	mov	eax, DWORD PTR b[rip]
	cmp	eax, 511
	jle	.L49
	mov	DWORD PTR b[rip], 0
	mov	eax, DWORD PTR i[rip]
	add	eax, 64
	mov	DWORD PTR i[rip], eax
.L49:
	mov	eax, DWORD PTR i[rip]
	cmp	eax, 511
	jle	.L50
	mov	rax, QWORD PTR -480[rbp]
	mov	rdi, rax
	call	XFlush@PLT
	cmp	DWORD PTR -516[rbp], 1
	jle	.L51
	mov	eax, DWORD PTR y[rip]
	cmp	DWORD PTR -492[rbp], eax
	je	.L51
	mov	eax, DWORD PTR u[rip]
	mov	edx, DWORD PTR -504[rbp]
	mov	r9d, edx
	mov	r8d, 1
	mov	ecx, eax
	mov	edx, 0
	mov	esi, 0
	mov	edi, 0
	mov	eax, 0
	call	X
	mov	eax, DWORD PTR u[rip]
	mov	r9d, 1
	mov	r8d, 0
	mov	ecx, eax
	mov	edx, 0
	mov	esi, 0
	mov	edi, 0
	mov	eax, 0
	call	X
.L51:
	mov	DWORD PTR z[rip], 0
	mov	DWORD PTR i[rip], 0
	mov	DWORD PTR b[rip], 0
	jmp	.L52
.L57:
	mov	eax, DWORD PTR i[rip]
	lea	edx, 63[rax]
	test	eax, eax
	cmovs	eax, edx
	sar	eax, 6
	mov	edx, eax
	mov	eax, edx
	sal	eax, 2
	add	eax, edx
	add	eax, eax
	mov	ecx, eax
	mov	eax, DWORD PTR b[rip]
	lea	edx, 63[rax]
	test	eax, eax
	cmovs	eax, edx
	sar	eax, 6
	add	eax, ecx
	add	eax, 21
	mov	DWORD PTR -496[rbp], eax
	mov	edi, DWORD PTR i[rip]
	mov	ecx, DWORD PTR b[rip]
	mov	eax, DWORD PTR -500[rbp]
	cdqe
	mov	r10, rax
	mov	eax, DWORD PTR -496[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, I[rip]
	mov	eax, DWORD PTR [rdx+rax]
	lea	esi, 7[rax]
	mov	edx, DWORD PTR i[rip]
	mov	eax, DWORD PTR b[rip]
	add	eax, edx
	sar	eax, 6
	and	eax, 1
	imul	eax, eax, 14
	lea	edx, [rsi+rax]
	mov	eax, DWORD PTR z[rip]
	cmp	DWORD PTR -496[rbp], eax
	jne	.L53
	mov	eax, 28
	jmp	.L54
.L53:
	mov	eax, 0
.L54:
	add	eax, edx
	cdqe
	mov	eax, DWORD PTR -240[rbp+rax*4]
	movsx	rsi, eax
	mov	rdx, QWORD PTR -472[rbp]
	mov	rax, QWORD PTR -480[rbp]
	sub	rsp, 8
	push	1
	push	rdi
	push	rcx
	push	64
	push	64
	mov	r9d, 0
	mov	r8d, 0
	mov	rcx, r10
	mov	rdi, rax
	call	XCopyPlane@PLT
	add	rsp, 48
	mov	eax, DWORD PTR b[rip]
	add	eax, 64
	mov	DWORD PTR b[rip], eax
.L52:
	mov	eax, DWORD PTR b[rip]
	cmp	eax, 511
	jle	.L56
	mov	DWORD PTR b[rip], 0
	mov	eax, DWORD PTR i[rip]
	add	eax, 64
	mov	DWORD PTR i[rip], eax
.L56:
	mov	eax, DWORD PTR i[rip]
	cmp	eax, 511
	jle	.L57
	mov	rax, QWORD PTR -480[rbp]
	mov	rdi, rax
	call	XFlush@PLT
	mov	eax, DWORD PTR y[rip]
	mov	DWORD PTR -492[rbp], eax
	mov	eax, DWORD PTR u[rip]
	mov	r9d, 1
	mov	r8d, 1
	mov	ecx, eax
	mov	edx, 0
	mov	esi, 0
	mov	edi, 0
	mov	eax, 0
	call	X
	cmp	eax, -1000000
	jge	.L58
	mov	eax, DWORD PTR y[rip]
	not	eax
	mov	DWORD PTR y[rip], eax
	mov	eax, DWORD PTR u[rip]
	mov	r9d, 0
	mov	r8d, 1
	mov	ecx, eax
	mov	edx, 0
	mov	esi, 0
	mov	edi, 0
	mov	eax, 0
	call	X
	cmp	eax, 1000000
	jle	.L59
	mov	eax, DWORD PTR y[rip]
	test	eax, eax
	je	.L60
	lea	rax, .LC4[rip]
	jmp	.L63
.L60:
	lea	rax, .LC5[rip]
	jmp	.L63
.L59:
	lea	rax, .LC6[rip]
	jmp	.L63
.L58:
	lea	rax, .LC7[rip]
.L63:
	mov	rsi, QWORD PTR -472[rbp]
	mov	rcx, QWORD PTR -480[rbp]
	mov	rdx, rax
	mov	rdi, rcx
	call	XStoreName@PLT
	mov	eax, DWORD PTR -492[rbp]
	mov	DWORD PTR y[rip], eax
	mov	DWORD PTR z[rip], 0
	jmp	.L64
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.section	.rodata
.LC8:
	.string	"51#/+++"
.LC9:
	.string	"95+3/33"
	.text
	.globl	X
	.type	X, @function
X:
.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	DWORD PTR -84[rbp], edi
	mov	DWORD PTR -88[rbp], esi
	mov	DWORD PTR -92[rbp], edx
	mov	DWORD PTR -96[rbp], ecx
	mov	DWORD PTR -100[rbp], r8d
	mov	DWORD PTR -104[rbp], r9d
	mov	rax, QWORD PTR l[rip]
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	DWORD PTR -68[rbp], eax
	lea	rax, I[rip]
	mov	QWORD PTR -8[rbp], rax
	mov	DWORD PTR -48[rbp], -100000000
	mov	DWORD PTR -40[rbp], 10
	mov	eax, DWORD PTR y[rip]
	not	eax
	mov	DWORD PTR y[rip], eax
	jmp	.L67
.L128:
	mov	eax, DWORD PTR -68[rbp]
	mov	DWORD PTR -72[rbp], eax
	mov	eax, DWORD PTR -72[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, I[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	DWORD PTR -36[rbp], eax
	mov	eax, DWORD PTR y[rip]
	xor	eax, DWORD PTR -36[rbp]
	mov	DWORD PTR -32[rbp], eax
	cmp	DWORD PTR -32[rbp], 0
	jle	.L67
	cmp	DWORD PTR -32[rbp], 1
	setle	al
	movzx	edx, al
	mov	eax, DWORD PTR y[rip]
	imul	eax, edx
	add	DWORD PTR -32[rbp], eax
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	lea	rdx, .LC8[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	movsx	eax, al
	mov	DWORD PTR -60[rbp], eax
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	lea	rdx, .LC9[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	movsx	eax, al
	mov	DWORD PTR -28[rbp], eax
.L127:
	mov	QWORD PTR -8[rbp], 0
	mov	rdx, QWORD PTR l[rip]
	mov	eax, DWORD PTR -60[rbp]
	cdqe
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	sub	eax, 64
	add	DWORD PTR -72[rbp], eax
	mov	eax, DWORD PTR -72[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, I[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	DWORD PTR -44[rbp], eax
	cmp	DWORD PTR -84[rbp], 0
	sete	dl
	mov	eax, DWORD PTR -72[rbp]
	cmp	eax, DWORD PTR -84[rbp]
	sete	al
	or	eax, edx
	test	al, al
	je	.L68
	cmp	DWORD PTR -32[rbp], 1
	setg	dl
	mov	eax, DWORD PTR -60[rbp]
	add	eax, 2
	cmp	DWORD PTR -28[rbp], eax
	setg	al
	or	eax, edx
	movzx	edx, al
	cmp	DWORD PTR -44[rbp], 0
	sete	al
	movzx	eax, al
	or	eax, edx
	test	eax, eax
	je	.L68
	mov	eax, DWORD PTR -68[rbp]
	sub	eax, DWORD PTR -72[rbp]
	cdq
	xor	eax, edx
	mov	DWORD PTR -64[rbp], eax
	sub	DWORD PTR -64[rbp], edx
	cmp	DWORD PTR -32[rbp], 1
	setle	sil
	mov	eax, DWORD PTR -96[rbp]
	sar	eax, 6
	mov	edx, eax
	mov	eax, DWORD PTR y[rip]
	test	eax, eax
	jne	.L69
	mov	eax, DWORD PTR -40[rbp]
	neg	eax
	jmp	.L70
.L69:
	mov	eax, DWORD PTR -40[rbp]
.L70:
	mov	ecx, DWORD PTR -72[rbp]
	add	eax, ecx
	cmp	edx, eax
	sete	al
	and	eax, esi
	test	al, al
	je	.L71
	mov	eax, DWORD PTR -96[rbp]
	sar	eax, 6
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, I[rip]
	add	rax, rdx
	jmp	.L72
.L71:
	mov	eax, 0
.L72:
	mov	QWORD PTR -16[rbp], rax
	cmp	DWORD PTR -44[rbp], 0
	sete	cl
	cmp	DWORD PTR -32[rbp], 1
	setg	sil
	mov	eax, DWORD PTR -64[rbp]
	cdq
	idiv	DWORD PTR -40[rbp]
	mov	eax, edx
	test	eax, eax
	setle	al
	or	eax, esi
	test	al, al
	jne	.L73
	cmp	QWORD PTR -16[rbp], 0
	je	.L74
.L73:
	mov	eax, 1
	jmp	.L75
.L74:
	mov	eax, 0
.L75:
	and	eax, 1
	and	eax, ecx
	movzx	edx, al
	mov	eax, DWORD PTR y[rip]
	xor	eax, DWORD PTR -44[rbp]
	cmp	eax, -1
	setl	al
	movzx	eax, al
	or	eax, edx
	test	eax, eax
	je	.L68
	mov	eax, DWORD PTR -36[rbp]
	mov	DWORD PTR -52[rbp], eax
	cmp	DWORD PTR -32[rbp], 1
	setle	al
	movzx	edx, al
	cmp	DWORD PTR -72[rbp], 89
	setg	cl
	cmp	DWORD PTR -72[rbp], 29
	setle	al
	or	eax, ecx
	movzx	eax, al
	and	eax, edx
	test	eax, eax
	je	.L76
	mov	eax, DWORD PTR y[rip]
	or	eax, 1
	add	DWORD PTR -52[rbp], eax
	mov	eax, DWORD PTR y[rip]
	xor	eax, 6
	jmp	.L77
.L76:
	mov	eax, DWORD PTR y[rip]
	or	eax, 1
	mov	edx, eax
	mov	eax, DWORD PTR -36[rbp]
	add	eax, edx
.L77:
	mov	DWORD PTR -24[rbp], eax
	mov	eax, DWORD PTR y[rip]
	xor	eax, DWORD PTR -44[rbp]
	cmp	eax, -6
	jge	.L80
	mov	eax, DWORD PTR y[rip]
	not	eax
	mov	DWORD PTR y[rip], eax
	mov	eax, DWORD PTR -92[rbp]
	imul	eax, eax, 811
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, eax
	movsd	xmm0, QWORD PTR .LC10[rip]
	subsd	xmm0, xmm1
	cvttsd2si	eax, xmm0
	jmp	.L79
.L121:
	mov	eax, DWORD PTR -68[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, I[rip]
	mov	DWORD PTR [rdx+rax], 0
	mov	eax, DWORD PTR -72[rbp]
	cdqe
	lea	rcx, 0[0+rax*4]
	lea	rdx, I[rip]
	mov	eax, DWORD PTR -52[rbp]
	mov	DWORD PTR [rcx+rdx], eax
	cmp	QWORD PTR -8[rbp], 0
	je	.L81
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -8[rbp]
	mov	DWORD PTR [rax], 0
	jmp	.L82
.L81:
	cmp	QWORD PTR -16[rbp], 0
	je	.L82
	mov	rax, QWORD PTR -16[rbp]
	mov	DWORD PTR [rax], 0
.L82:
	mov	eax, DWORD PTR -96[rbp]
	and	eax, 63
	mov	edx, eax
	cmp	DWORD PTR -68[rbp], 91
	sete	cl
	cmp	DWORD PTR -72[rbp], 91
	sete	al
	or	eax, ecx
	movzx	eax, al
	sal	eax, 4
	or	edx, eax
	cmp	DWORD PTR -68[rbp], 28
	sete	cl
	cmp	DWORD PTR -72[rbp], 28
	sete	al
	or	eax, ecx
	movzx	eax, al
	sal	eax, 2
	or	edx, eax
	cmp	DWORD PTR -68[rbp], 21
	sete	cl
	cmp	DWORD PTR -72[rbp], 21
	sete	al
	or	eax, ecx
	movzx	eax, al
	add	eax, eax
	or	edx, eax
	cmp	DWORD PTR -68[rbp], 98
	sete	cl
	cmp	DWORD PTR -72[rbp], 98
	sete	al
	or	eax, ecx
	movzx	eax, al
	sal	eax, 5
	or	eax, edx
	mov	DWORD PTR -56[rbp], eax
	cmp	DWORD PTR -32[rbp], 1
	jle	.L85
	cmp	DWORD PTR -32[rbp], 6
	je	.L86
	mov	rcx, QWORD PTR l[rip]
	mov	eax, DWORD PTR -72[rbp]
	cdq
	idiv	DWORD PTR -40[rbp]
	cdqe
	sub	rax, 1
	add	rax, rcx
	movzx	eax, BYTE PTR [rax]
	movsx	ecx, al
	mov	rsi, QWORD PTR l[rip]
	mov	eax, DWORD PTR -68[rbp]
	cdq
	idiv	DWORD PTR -40[rbp]
	cdqe
	sub	rax, 1
	add	rax, rsi
	movzx	eax, BYTE PTR [rax]
	movsx	edx, al
	mov	eax, ecx
	sub	eax, edx
	sub	eax, DWORD PTR -32[rbp]
	add	eax, 2
	jmp	.L92
.L86:
	mov	eax, DWORD PTR y[rip]
	test	eax, eax
	je	.L88
	mov	eax, 8
	jmp	.L89
.L88:
	mov	eax, 1
.L89:
	or	DWORD PTR -56[rbp], eax
	cmp	QWORD PTR -8[rbp], 0
	je	.L90
	mov	eax, 9
	jmp	.L92
.L90:
	mov	eax, 0
	jmp	.L92
.L85:
	cmp	DWORD PTR -64[rbp], 20
	jne	.L93
	mov	eax, DWORD PTR -72[rbp]
	sal	eax, 6
	jmp	.L94
.L93:
	mov	eax, 0
.L94:
	or	DWORD PTR -56[rbp], eax
	mov	eax, DWORD PTR -52[rbp]
	cmp	eax, DWORD PTR -36[rbp]
	je	.L95
	mov	rdx, QWORD PTR l[rip]
	mov	eax, DWORD PTR -52[rbp]
	add	eax, 15
	cdqe
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	lea	edx, -32[rax]
	mov	eax, edx
	sal	eax, 3
	add	eax, edx
	jmp	.L92
.L95:
	mov	eax, DWORD PTR -64[rbp]
	lea	edx, 7[rax]
	test	eax, eax
	cmovs	eax, edx
	sar	eax, 3
	mov	edx, eax
	cmp	QWORD PTR -16[rbp], 0
	je	.L97
	mov	eax, 99
	jmp	.L98
.L97:
	mov	eax, 0
.L98:
	add	eax, edx
.L92:
	mov	rcx, QWORD PTR l[rip]
	mov	edx, DWORD PTR -44[rbp]
	movsx	rdx, edx
	add	rdx, 15
	add	rdx, rcx
	movzx	edx, BYTE PTR [rdx]
	movsx	edx, dl
	lea	ecx, -32[rdx]
	mov	edx, ecx
	sal	edx, 3
	add	edx, ecx
	lea	esi, [rax+rdx]
	mov	rcx, QWORD PTR l[rip]
	mov	eax, DWORD PTR -72[rbp]
	cdq
	idiv	DWORD PTR -40[rbp]
	mov	eax, edx
	cdqe
	add	rax, rcx
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	add	eax, esi
	sub	eax, DWORD PTR -92[rbp]
	mov	ecx, eax
	mov	rsi, QWORD PTR l[rip]
	mov	eax, DWORD PTR -68[rbp]
	cdq
	idiv	DWORD PTR -40[rbp]
	mov	eax, edx
	cdqe
	add	rax, rsi
	movzx	eax, BYTE PTR [rax]
	movsx	edx, al
	mov	eax, ecx
	sub	eax, edx
	mov	DWORD PTR -20[rbp], eax
	mov	eax, DWORD PTR -104[rbp]
	cmp	eax, DWORD PTR -92[rbp]
	jg	.L99
	mov	eax, DWORD PTR -104[rbp]
	cmp	eax, DWORD PTR -92[rbp]
	sete	dl
	cmp	DWORD PTR -20[rbp], 49
	setg	al
	and	eax, edx
	movzx	edx, al
	cmp	DWORD PTR -104[rbp], 1
	setg	al
	movzx	eax, al
	and	eax, edx
	test	eax, eax
	je	.L100
.L99:
	mov	eax, DWORD PTR -92[rbp]
	lea	edi, 1[rax]
	mov	eax, DWORD PTR -104[rbp]
	cmp	eax, DWORD PTR -92[rbp]
	jg	.L101
	mov	eax, DWORD PTR -72[rbp]
	jmp	.L102
.L101:
	mov	eax, 0
.L102:
	mov	r8d, DWORD PTR -104[rbp]
	mov	ecx, DWORD PTR -48[rbp]
	mov	edx, DWORD PTR -56[rbp]
	mov	esi, DWORD PTR -20[rbp]
	mov	r9d, r8d
	mov	r8d, ecx
	mov	ecx, edx
	mov	edx, edi
	mov	edi, eax
	mov	eax, 0
	call	X
	jmp	.L103
.L100:
	mov	eax, 0
.L103:
	sub	DWORD PTR -20[rbp], eax
	mov	eax, DWORD PTR z[rip]
	sub	eax, DWORD PTR -68[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR i[rip]
	sub	eax, DWORD PTR -52[rbp]
	or	eax, edx
	or	eax, DWORD PTR -92[rbp]
	mov	edx, eax
	mov	ecx, DWORD PTR b[rip]
	mov	eax, DWORD PTR -72[rbp]
	sub	eax, ecx
	or	eax, edx
	or	eax, DWORD PTR -100[rbp]
	mov	edx, eax
	cmp	DWORD PTR -20[rbp], -1000000
	setl	al
	movzx	eax, al
	or	eax, edx
	test	eax, eax
	jne	.L104
	mov	eax, DWORD PTR -56[rbp]
	mov	DWORD PTR u[rip], eax
	mov	eax, DWORD PTR u[rip]
	jmp	.L79
.L104:
	mov	eax, DWORD PTR -68[rbp]
	cdqe
	lea	rcx, 0[0+rax*4]
	lea	rdx, I[rip]
	mov	eax, DWORD PTR -36[rbp]
	mov	DWORD PTR [rcx+rdx], eax
	mov	eax, DWORD PTR -72[rbp]
	cdqe
	lea	rcx, 0[0+rax*4]
	lea	rdx, I[rip]
	mov	eax, DWORD PTR -44[rbp]
	mov	DWORD PTR [rcx+rdx], eax
	cmp	QWORD PTR -8[rbp], 0
	je	.L105
	mov	rax, QWORD PTR -16[rbp]
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -16[rbp]
	mov	DWORD PTR [rax], 0
	jmp	.L106
.L105:
	cmp	QWORD PTR -16[rbp], 0
	je	.L106
	mov	eax, DWORD PTR y[rip]
	xor	eax, -2
	mov	edx, eax
	mov	rax, QWORD PTR -16[rbp]
	mov	DWORD PTR [rax], edx
.L106:
	mov	eax, DWORD PTR -100[rbp]
	or	eax, DWORD PTR -92[rbp]
	test	eax, eax
	je	.L109
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, DWORD PTR -48[rbp]
	jg	.L110
	cmp	DWORD PTR -92[rbp], 0
	sete	dl
	mov	eax, DWORD PTR -48[rbp]
	cmp	eax, DWORD PTR -20[rbp]
	sete	al
	and	eax, edx
	test	al, al
	je	.L109
	mov	eax, 0
	call	rand@PLT
	and	eax, 4
	test	eax, eax
	je	.L109
.L110:
	mov	eax, DWORD PTR -20[rbp]
	mov	DWORD PTR -48[rbp], eax
	cmp	DWORD PTR -92[rbp], 0
	jne	.L111
	cmp	DWORD PTR -104[rbp], 0
	je	.L111
	mov	eax, DWORD PTR -52[rbp]
	mov	DWORD PTR i[rip], eax
	mov	eax, DWORD PTR -68[rbp]
	mov	DWORD PTR z[rip], eax
	mov	eax, DWORD PTR -72[rbp]
	mov	DWORD PTR b[rip], eax
.L111:
	cmp	DWORD PTR -92[rbp], 0
	je	.L109
	mov	eax, DWORD PTR -88[rbp]
	sub	eax, DWORD PTR -20[rbp]
	cmp	DWORD PTR -100[rbp], eax
	jle	.L109
	mov	eax, DWORD PTR y[rip]
	not	eax
	mov	DWORD PTR y[rip], eax
	mov	eax, DWORD PTR -20[rbp]
	jmp	.L79
.L109:
	cmp	DWORD PTR -32[rbp], 5
	setg	dl
	cmp	DWORD PTR -64[rbp], 1
	setle	al
	and	eax, edx
	movzx	edx, al
	mov	eax, DWORD PTR -60[rbp]
	add	eax, 6
	cmp	DWORD PTR -28[rbp], eax
	setg	al
	movzx	eax, al
	and	eax, edx
	test	eax, eax
	je	.L112
	mov	eax, DWORD PTR -72[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, I[rip]
	add	rax, rdx
	mov	QWORD PTR -16[rbp], rax
	mov	eax, DWORD PTR -72[rbp]
	sub	eax, DWORD PTR -68[rbp]
	add	DWORD PTR -72[rbp], eax
	mov	eax, DWORD PTR -72[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, I[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	DWORD PTR -44[rbp], eax
	mov	eax, DWORD PTR -72[rbp]
	cmp	eax, DWORD PTR -68[rbp]
	jge	.L113
	mov	rax, QWORD PTR -16[rbp]
	sub	rax, 12
	jmp	.L114
.L113:
	mov	rax, QWORD PTR -16[rbp]
	add	rax, 8
.L114:
	mov	QWORD PTR -8[rbp], rax
	mov	eax, DWORD PTR -72[rbp]
	cmp	eax, DWORD PTR -68[rbp]
	jge	.L115
	mov	edx, 3
	jmp	.L116
.L115:
	mov	edx, 5
.L116:
	mov	eax, DWORD PTR y[rip]
	mov	esi, eax
	lea	ecx, 0[0+rax*4]
	mov	eax, esi
	sub	eax, ecx
	mov	ecx, eax
	sal	edx, cl
	mov	eax, edx
	and	eax, DWORD PTR -96[rbp]
	mov	edx, eax
	mov	rax, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR [rax]
	or	eax, edx
	or	eax, DWORD PTR -44[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -72[rbp]
	cmp	eax, DWORD PTR -68[rbp]
	jge	.L117
	mov	ecx, 4
	jmp	.L118
.L117:
	mov	rcx, -4
.L118:
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rcx
	mov	eax, DWORD PTR [rax]
	or	eax, edx
	test	eax, eax
	jne	.L119
	cmp	DWORD PTR -20[rbp], -999999
	jl	.L119
	mov	r9d, 0
	mov	r8d, 1
	mov	ecx, 63
	mov	edx, 0
	mov	esi, 0
	mov	edi, 0
	mov	eax, 0
	call	X
	cmp	eax, 999999
	jg	.L119
	mov	eax, 1
	jmp	.L120
.L119:
	mov	eax, 0
.L120:
	test	eax, eax
	je	.L112
	mov	eax, DWORD PTR -64[rbp]
	add	eax, 1
	mov	DWORD PTR -64[rbp], eax
	jmp	.L80
.L112:
	mov	eax, DWORD PTR y[rip]
	or	eax, 1
	add	DWORD PTR -52[rbp], eax
.L80:
	mov	eax, DWORD PTR -52[rbp]
	cmp	eax, DWORD PTR -24[rbp]
	jne	.L121
.L68:
	cmp	DWORD PTR -32[rbp], 1
	setle	dl
	mov	eax, DWORD PTR -60[rbp]
	add	eax, 2
	cmp	DWORD PTR -28[rbp], eax
	setle	al
	and	eax, edx
	movzx	edx, al
	mov	eax, DWORD PTR y[rip]
	test	eax, eax
	je	.L122
	cmp	DWORD PTR -68[rbp], 79
	jle	.L123
	jmp	.L124
.L122:
	cmp	DWORD PTR -68[rbp], 39
	jg	.L123
.L124:
	cmp	DWORD PTR -44[rbp], 0
	je	.L125
.L123:
	mov	eax, 1
	jmp	.L126
.L125:
	mov	eax, 0
.L126:
	and	eax, edx
	add	DWORD PTR -60[rbp], eax
	cmp	DWORD PTR -44[rbp], 0
	sete	dl
	cmp	DWORD PTR -32[rbp], 2
	setg	al
	and	eax, edx
	movzx	edx, al
	cmp	DWORD PTR -32[rbp], 5
	setle	al
	movzx	eax, al
	and	eax, edx
	test	eax, eax
	jne	.L127
	mov	eax, DWORD PTR -68[rbp]
	mov	DWORD PTR -72[rbp], eax
	add	DWORD PTR -60[rbp], 1
	mov	eax, DWORD PTR -60[rbp]
	cmp	eax, DWORD PTR -28[rbp]
	jl	.L127
.L67:
	sub	DWORD PTR -68[rbp], 1
	cmp	DWORD PTR -68[rbp], 20
	jg	.L128
	mov	eax, DWORD PTR y[rip]
	not	eax
	mov	DWORD PTR y[rip], eax
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, DWORD PTR -48[rbp]
	movsd	xmm0, QWORD PTR .LC11[rip]
	addsd	xmm0, xmm1
	pxor	xmm1, xmm1
	ucomisd	xmm0, xmm1
	jp	.L132
	pxor	xmm1, xmm1
	comisd	xmm0, xmm1
	je	.L133
.L132:
	mov	eax, DWORD PTR -48[rbp]
	jmp	.L134
.L133:
	mov	eax, 0
.L134:
	nop
.L79:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	X, .-X
	.section	.rodata
	.align 8
.LC10:
	.long	0
	.long	1097011920
	.align 8
.LC11:
	.long	0
	.long	1100470148
	.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	"1163.c"
	.text
	.global	l
	.section	.rodata
	.align	2
.LC0:
	.ascii	"dbcefcbddabcddcba~WAB+  +BAW~              +-84HLSU"
	.ascii	"?A6J57IKJT576,\000"
	.data
	.align	2
	.type	l, %object
	.size	l, 4
l:
	.word	.LC0
	.global	F
	.section	.rodata
	.align	2
.LC1:
	.ascii	"          ,>>,>  xl~w/?  ,>>>,s  m\177>>\177\177  m"
	.ascii	"m2>>>  >uk>>> \000"
	.data
	.align	2
	.type	F, %object
	.size	F, 4
F:
	.word	.LC1
	.comm	f,4,4
	.comm	y,4,4
	.comm	u,4,4
	.comm	I,1216,4
	.comm	b,4,4
	.comm	i,4,4
	.comm	z,4,4
	.section	.rodata
	.align	2
.LC2:
	.ascii	"\000"
	.align	2
.LC4:
	.ascii	"Black's wins\000"
	.align	2
.LC5:
	.ascii	"White's wins\000"
	.align	2
.LC6:
	.ascii	"Stalemate\000"
	.align	2
.LC7:
	.ascii	"Chess\000"
	.align	2
.LC3:
	.ascii	"U\252U\000DDDD\000"
	.align	2
.LC8:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 416
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #448
	str	r0, [fp, #-416]
	str	r1, [fp, #-420]
	ldr	r3, .L66
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r0, .L66+4
	bl	XOpenDisplay
	str	r0, [fp, #-404]
	ldr	r3, [fp, #-404]
	ldr	r2, [r3, #140]
	ldr	r3, [fp, #-404]
	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	r0, [r3, #8]
	ldr	r3, [fp, #-404]
	ldr	r2, [r3, #140]
	ldr	r3, [fp, #-404]
	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	r2, [r3, #56]
	ldr	r3, [fp, #-404]
	ldr	r1, [r3, #140]
	ldr	r3, [fp, #-404]
	ldr	r3, [r3, #132]
	mov	ip, r3
	mov	r3, ip
	lsl	r3, r3, #2
	add	r3, r3, ip
	lsl	r3, r3, #4
	add	r3, r1, r3
	ldr	r3, [r3, #56]
	str	r3, [sp, #16]
	str	r2, [sp, #12]
	mov	r3, #2
	str	r3, [sp, #8]
	mov	r3, #512
	str	r3, [sp, #4]
	mov	r3, #512
	str	r3, [sp]
	mov	r3, #64
	mov	r2, #64
	mov	r1, r0
	ldr	r0, [fp, #-404]
	bl	XCreateSimpleWindow
	str	r0, [fp, #-400]
	ldr	r3, .L66+40
	str	r3, [fp, #-408]
	ldr	r2, .L66+8
	ldr	r1, [fp, #-400]
	ldr	r0, [fp, #-404]
	bl	XSelectInput
	ldr	r1, [fp, #-400]
	ldr	r0, [fp, #-404]
	bl	XMapWindow
	ldr	r3, [fp, #-404]
	ldr	r2, [r3, #140]
	ldr	r3, [fp, #-404]
	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, #-316]
	sub	r3, fp, #324
	mov	r2, #4
	ldr	r1, [fp, #-400]
	ldr	r0, [fp, #-404]
	bl	XCreateGC
	mov	r3, r0
	str	r3, [fp, #-396]
	ldr	r3, .L66+12
	ldr	r3, [r3]
	add	r3, r3, #48
	ldr	r2, .L66+12
	str	r3, [r2]
	b	.L2
.L17:
	nop
.L16:
	ldr	r3, .L66+84
	ldr	r3, [r3]
	ldr	r2, .L66+16
	smull	r1, r2, r3, r2
	add	r2, r2, r3
	asr	r2, r2, #3
	asr	r3, r3, #31
	sub	r3, r2, r3
	lsl	r2, r3, #1
	ldr	r3, .L66+56
	ldr	r3, [r3]
	and	r3, r3, #1
	orr	r2, r2, r3
	ldr	r3, .L66+20
	ldr	r3, [r3]
	add	r1, r3, #1
	ldr	r0, .L66+20
	str	r1, [r0]
	ldr	r1, .L66+24
	ldrb	r2, [r1, r2]	@ zero_extendqisi2
	strb	r2, [r3]
	ldr	r3, .L66+12
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	and	r3, r3, #64
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L4
	ldr	r3, .L66+84
	ldr	r2, [r3]
	ldr	r3, .L66+16
	smull	r1, r3, r2, r3
	add	r3, r3, r2
	asr	r1, r3, #3
	asr	r3, r2, #31
	sub	r1, r1, r3
	mov	r3, r1
	lsl	r3, r3, #3
	sub	r3, r3, r1
	lsl	r3, r3, #1
	sub	r1, r2, r3
	cmp	r1, #6
	movle	r3, #1
	movgt	r3, #0
	and	r3, r3, #255
	rsb	r3, r3, #0
	and	r2, r3, #255
	b	.L5
.L4:
	ldr	r3, .L66+84
	ldr	r3, [r3]
	ldr	r2, .L66+16
	smull	r1, r2, r3, r2
	add	r2, r2, r3
	asr	r2, r2, #3
	asr	r3, r3, #31
	sub	r3, r2, r3
	lsl	r2, r3, #1
	ldr	r3, .L66+56
	ldr	r3, [r3]
	and	r3, r3, #1
	orr	r3, r2, r3
	ldr	r2, .L66+24
	ldrb	r2, [r2, r3]	@ zero_extendqisi2
.L5:
	ldr	r3, .L66+20
	ldr	r3, [r3]
	add	r1, r3, #1
	ldr	r0, .L66+20
	str	r1, [r0]
	strb	r2, [r3]
	ldr	r3, .L66+12
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	and	r3, r3, #16
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L6
	ldr	r3, .L66+84
	ldr	r2, [r3]
	ldr	r3, .L66+16
	smull	r1, r3, r2, r3
	add	r3, r3, r2
	asr	r1, r3, #3
	asr	r3, r2, #31
	sub	r1, r1, r3
	mov	r3, r1
	lsl	r3, r3, #3
	sub	r3, r3, r1
	lsl	r3, r3, #1
	sub	r1, r2, r3
	cmp	r1, #6
	movle	r3, #1
	movgt	r3, #0
	and	r3, r3, #255
	rsb	r3, r3, #0
	and	r2, r3, #255
	b	.L7
.L6:
	ldr	r3, .L66+84
	ldr	r3, [r3]
	ldr	r2, .L66+16
	smull	r1, r2, r3, r2
	add	r2, r2, r3
	asr	r2, r2, #3
	asr	r3, r3, #31
	sub	r3, r2, r3
	lsl	r2, r3, #1
	ldr	r3, .L66+56
	ldr	r3, [r3]
	and	r3, r3, #1
	orr	r3, r2, r3
	ldr	r2, .L66+24
	ldrb	r2, [r2, r3]	@ zero_extendqisi2
.L7:
	ldr	r3, .L66+20
	ldr	r3, [r3]
	add	r1, r3, #1
	ldr	r0, .L66+20
	str	r1, [r0]
	strb	r2, [r3]
	ldr	r3, .L66+12
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	and	r3, r3, #8
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L8
	ldr	r3, .L66+84
	ldr	r2, [r3]
	ldr	r3, .L66+16
	smull	r1, r3, r2, r3
	add	r3, r3, r2
	asr	r1, r3, #3
	asr	r3, r2, #31
	sub	r1, r1, r3
	mov	r3, r1
	lsl	r3, r3, #3
	sub	r3, r3, r1
	lsl	r3, r3, #1
	sub	r1, r2, r3
	cmp	r1, #6
	movle	r3, #1
	movgt	r3, #0
	and	r3, r3, #255
	rsb	r3, r3, #0
	and	r2, r3, #255
	b	.L9
.L8:
	ldr	r3, .L66+84
	ldr	r3, [r3]
	ldr	r2, .L66+16
	smull	r1, r2, r3, r2
	add	r2, r2, r3
	asr	r2, r2, #3
	asr	r3, r3, #31
	sub	r3, r2, r3
	lsl	r2, r3, #1
	ldr	r3, .L66+56
	ldr	r3, [r3]
	and	r3, r3, #1
	orr	r3, r2, r3
	ldr	r2, .L66+24
	ldrb	r2, [r2, r3]	@ zero_extendqisi2
.L9:
	ldr	r3, .L66+20
	ldr	r3, [r3]
	add	r1, r3, #1
	ldr	r0, .L66+20
	str	r1, [r0]
	strb	r2, [r3]
	ldr	r3, .L66+12
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	and	r3, r3, #4
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L10
	ldr	r3, .L66+84
	ldr	r2, [r3]
	ldr	r3, .L66+16
	smull	r1, r3, r2, r3
	add	r3, r3, r2
	asr	r1, r3, #3
	asr	r3, r2, #31
	sub	r1, r1, r3
	mov	r3, r1
	lsl	r3, r3, #3
	sub	r3, r3, r1
	lsl	r3, r3, #1
	sub	r1, r2, r3
	cmp	r1, #6
	movle	r3, #1
	movgt	r3, #0
	and	r3, r3, #255
	rsb	r3, r3, #0
	and	r2, r3, #255
	b	.L11
.L10:
	ldr	r3, .L66+84
	ldr	r3, [r3]
	ldr	r2, .L66+16
	smull	r1, r2, r3, r2
	add	r2, r2, r3
	asr	r2, r2, #3
	asr	r3, r3, #31
	sub	r3, r2, r3
	lsl	r2, r3, #1
	ldr	r3, .L66+56
	ldr	r3, [r3]
	and	r3, r3, #1
	orr	r3, r2, r3
	ldr	r2, .L66+24
	ldrb	r2, [r2, r3]	@ zero_extendqisi2
.L11:
	ldr	r3, .L66+20
	ldr	r3, [r3]
	add	r1, r3, #1
	ldr	r0, .L66+20
	str	r1, [r0]
	strb	r2, [r3]
	ldr	r3, .L66+12
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	and	r3, r3, #2
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L12
	ldr	r3, .L66+84
	ldr	r2, [r3]
	ldr	r3, .L66+16
	smull	r1, r3, r2, r3
	add	r3, r3, r2
	asr	r1, r3, #3
	asr	r3, r2, #31
	sub	r1, r1, r3
	mov	r3, r1
	lsl	r3, r3, #3
	sub	r3, r3, r1
	lsl	r3, r3, #1
	sub	r1, r2, r3
	cmp	r1, #6
	movle	r3, #1
	movgt	r3, #0
	and	r3, r3, #255
	rsb	r3, r3, #0
	and	r2, r3, #255
	b	.L13
.L12:
	ldr	r3, .L66+84
	ldr	r3, [r3]
	ldr	r2, .L66+16
	smull	r1, r2, r3, r2
	add	r2, r2, r3
	asr	r2, r2, #3
	asr	r3, r3, #31
	sub	r3, r2, r3
	lsl	r2, r3, #1
	ldr	r3, .L66+56
	ldr	r3, [r3]
	and	r3, r3, #1
	orr	r3, r2, r3
	ldr	r2, .L66+24
	ldrb	r2, [r2, r3]	@ zero_extendqisi2
.L13:
	ldr	r3, .L66+20
	ldr	r3, [r3]
	add	r1, r3, #1
	ldr	r0, .L66+20
	str	r1, [r0]
	strb	r2, [r3]
	ldr	r3, .L66+12
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	and	r3, r3, #1
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L14
	ldr	r3, .L66+84
	ldr	r2, [r3]
	ldr	r3, .L66+16
	smull	r1, r3, r2, r3
	add	r3, r3, r2
	asr	r1, r3, #3
	asr	r3, r2, #31
	sub	r1, r1, r3
	mov	r3, r1
	lsl	r3, r3, #3
	sub	r3, r3, r1
	lsl	r3, r3, #1
	sub	r1, r2, r3
	cmp	r1, #6
	movle	r3, #1
	movgt	r3, #0
	and	r3, r3, #255
	rsb	r3, r3, #0
	and	r2, r3, #255
	b	.L15
.L14:
	ldr	r3, .L66+84
	ldr	r3, [r3]
	ldr	r2, .L66+16
	smull	r1, r2, r3, r2
	add	r2, r2, r3
	asr	r2, r2, #3
	asr	r3, r3, #31
	sub	r3, r2, r3
	lsl	r2, r3, #1
	ldr	r3, .L66+56
	ldr	r3, [r3]
	and	r3, r3, #1
	orr	r3, r2, r3
	ldr	r2, .L66+24
	ldrb	r2, [r2, r3]	@ zero_extendqisi2
.L15:
	ldr	r3, .L66+20
	ldr	r3, [r3]
	add	r1, r3, #1
	ldr	r0, .L66+20
	str	r1, [r0]
	strb	r2, [r3]
	ldr	r3, .L66+84
	ldr	r3, [r3]
	ldr	r2, .L66+16
	smull	r1, r2, r3, r2
	add	r2, r2, r3
	asr	r2, r2, #3
	asr	r3, r3, #31
	sub	r3, r2, r3
	lsl	r2, r3, #1
	ldr	r3, .L66+56
	ldr	r3, [r3]
	and	r3, r3, #1
	orr	r2, r2, r3
	ldr	r3, .L66+20
	ldr	r3, [r3]
	add	r1, r3, #1
	ldr	r0, .L66+20
	str	r1, [r0]
	ldr	r1, .L66+24
	ldrb	r2, [r1, r2]	@ zero_extendqisi2
	strb	r2, [r3]
	ldr	r3, .L66+56
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L66+56
	str	r3, [r2]
	ldr	r3, .L66+56
	ldr	r3, [r3]
	cmp	r3, #7
	ble	.L16
	ldr	r3, .L66+12
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L66+12
	str	r3, [r2]
.L3:
	ldr	r3, .L66+56
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, .L66+48
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r1, .L66+48
	str	r2, [r1]
	cmp	r3, #7
	ble	.L17
	ldr	r3, .L66+12
	ldr	r0, [r3]
	ldr	r3, .L66+84
	ldr	r2, [r3]
	ldr	r3, .L66+16
	smull	r1, r3, r2, r3
	add	r3, r3, r2
	asr	r1, r3, #2
	asr	r3, r2, #31
	sub	r1, r1, r3
	mov	r3, r1
	lsl	r3, r3, #3
	sub	r3, r3, r1
	sub	r1, r2, r3
	cmp	r1, #6
	beq	.L18
	ldr	r3, .L66+84
	ldr	r2, [r3]
	ldr	r3, .L66+16
	smull	r1, r3, r2, r3
	add	r3, r3, r2
	asr	r1, r3, #3
	asr	r3, r2, #31
	sub	r1, r1, r3
	mov	r3, r1
	lsl	r3, r3, #3
	sub	r3, r3, r1
	lsl	r3, r3, #1
	sub	r1, r2, r3
	cmp	r1, #5
	bgt	.L19
	mvn	r3, #15
	b	.L21
.L19:
	mov	r3, #0
	b	.L21
.L18:
	mvn	r3, #7
.L21:
	add	r3, r0, r3
	ldr	r2, .L66+12
	str	r3, [r2]
	mov	r3, #64
	str	r3, [sp]
	mov	r3, #64
	ldr	r2, .L66+40
	ldr	r1, [fp, #-400]
	ldr	r0, [fp, #-404]
	bl	XCreateBitmapFromData
	ldr	r3, .L66+84
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r1, .L66+84
	str	r2, [r1]
	mov	r2, r0
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	str	r2, [r3, #-228]
.L2:
	ldr	r3, .L66+20
	ldr	r2, .L66+40
	str	r2, [r3]
	ldr	r3, .L66+48
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, .L66+84
	ldr	r3, [r3]
	cmp	r3, #55
	ble	.L3
	ldr	r3, .L66+56
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, .L66+56
	ldr	r3, [r3]
	ldr	r2, .L66+84
	str	r3, [r2]
	ldr	r3, .L66+84
	ldr	r3, [r3]
	mov	r0, r3
	bl	time
	mov	r3, r0
	mov	r0, r3
	bl	srand
	nop
.L23:
	ldr	r3, .L66+84
	ldr	r3, [r3]
	cmp	r3, #98
	movgt	r3, #1
	movle	r3, #0
	and	r2, r3, #255
	ldr	r3, .L66+84
	ldr	r3, [r3]
	cmp	r3, #20
	movle	r3, #1
	movgt	r3, #0
	and	r3, r3, #255
	orr	r3, r2, r3
	and	r3, r3, #255
	mov	r0, r3
	ldr	r3, .L66+84
	ldr	r3, [r3]
	add	r1, r3, #1
	ldr	r3, .L66+28
	smull	r2, r3, r1, r3
	asr	r2, r3, #2
	asr	r3, r1, #31
	sub	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	sub	r2, r1, r3
	cmp	r2, #1
	movle	r3, #1
	movgt	r3, #0
	and	r3, r3, #255
	orr	r2, r0, r3
	ldr	r3, .L66+84
	ldr	r3, [r3]
	rsb	r2, r2, #0
	ldr	r1, .L66+40
	str	r2, [r1, r3, lsl #2]
	ldr	r3, .L66+84
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L66+84
	str	r3, [r2]
	ldr	r3, .L66+84
	ldr	r3, [r3]
	cmp	r3, #119
	ble	.L23
	b	.L24
.L25:
	ldr	r3, [fp, #-408]
	add	r3, r3, #320
	mvn	r2, #1
	str	r2, [r3]
	ldr	r3, .L66+32
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r1, .L66+32
	str	r2, [r1]
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, [fp, #-408]
	add	r3, r3, #80
	and	r2, r2, #7
	str	r2, [r3]
	ldr	r2, [r3]
	ldr	r3, [fp, #-408]
	add	r3, r3, #360
	mvn	r2, r2
	str	r2, [r3]
	ldr	r3, [fp, #-408]
	add	r3, r3, #120
	mov	r2, #1
	str	r2, [r3]
.L24:
	ldr	r3, [fp, #-408]
	add	r3, r3, #4
	str	r3, [fp, #-408]
	ldr	r2, .L66+36
	ldr	r3, [fp, #-408]
	cmp	r3, r2
	bcc	.L25
	ldr	r3, [fp, #-416]
	cmp	r3, #1
	ble	.L26
	ldr	r3, [fp, #-420]
	add	r3, r3, #4
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	sub	r3, r3, #45
	str	r3, [fp, #-412]
.L26:
	ldr	r3, [fp, #-416]
	cmp	r3, #2
	ble	.L64
	ldr	r3, .L66+56
	ldr	r2, [r3]
	ldr	r3, [fp, #-412]
	str	r3, [sp, #4]
	mov	r3, #1
	str	r3, [sp]
	mov	r3, r2
	mov	r2, #0
	mov	r1, #0
	mov	r0, #0
	bl	X
	ldr	r3, .L66+56
	ldr	r3, [r3]
	mov	r2, #1
	str	r2, [sp, #4]
	mov	r2, #0
	str	r2, [sp]
	mov	r2, #0
	mov	r1, #0
	mov	r0, #0
	bl	X
	ldr	r3, .L66+84
	mov	r2, #0
	str	r2, [r3]
.L64:
	sub	r3, fp, #384
	mov	r1, r3
	ldr	r0, [fp, #-404]
	bl	XNextEvent
	ldr	r3, [fp, #-384]
	cmp	r3, #12
	bne	.L28
	ldr	r3, .L66+48
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, .L66+44
	mov	r2, #0
	str	r2, [r3]
	b	.L29
.L34:
	ldr	r3, .L66+48
	ldr	r3, [r3]
	add	r2, r3, #63
	cmp	r3, #0
	movlt	r3, r2
	movge	r3, r3
	asr	r3, r3, #6
	mov	r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	mov	r1, r3
	ldr	r3, .L66+44
	ldr	r3, [r3]
	add	r2, r3, #63
	cmp	r3, #0
	movlt	r3, r2
	movge	r3, r3
	asr	r3, r3, #6
	add	r3, r1, r3
	add	r3, r3, #21
	str	r3, [fp, #-392]
	ldr	r2, .L66+40
	ldr	r3, [fp, #-392]
	ldr	r3, [r2, r3, lsl #2]
	add	r1, r3, #7
	ldr	r3, .L66+48
	ldr	r2, [r3]
	ldr	r3, .L66+44
	ldr	r3, [r3]
	add	r3, r2, r3
	asr	r3, r3, #6
	and	r2, r3, #1
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r1, r3
	ldr	r2, .L66+84
	ldr	r2, [r2]
	ldr	r1, [fp, #-392]
	cmp	r1, r2
	bne	.L30
	mov	r2, #28
	b	.L31
.L30:
	mov	r2, #0
.L31:
	add	r3, r2, r3
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-228]
	mov	ip, r3
	ldr	r1, [fp, #-396]
	ldr	r3, .L66+44
	ldr	r3, [r3]
	ldr	r2, .L66+48
	ldr	r2, [r2]
	mov	r0, #1
	str	r0, [sp, #24]
	str	r2, [sp, #20]
	str	r3, [sp, #16]
	mov	r3, #64
	str	r3, [sp, #12]
	mov	r3, #64
	str	r3, [sp, #8]
	mov	r3, #0
	str	r3, [sp, #4]
	mov	r3, #0
	str	r3, [sp]
	mov	r3, r1
	ldr	r2, [fp, #-400]
	mov	r1, ip
	ldr	r0, [fp, #-404]
	bl	XCopyPlane
	ldr	r3, .L66+44
	ldr	r3, [r3]
	add	r3, r3, #64
	ldr	r2, .L66+44
	str	r3, [r2]
.L29:
	ldr	r3, .L66+44
	ldr	r3, [r3]
	cmp	r3, #512
	blt	.L33
	ldr	r3, .L66+44
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, .L66+48
	ldr	r3, [r3]
	add	r3, r3, #64
	ldr	r2, .L66+48
	str	r3, [r2]
.L33:
	ldr	r3, .L66+48
	ldr	r3, [r3]
	cmp	r3, #512
	blt	.L34
	ldr	r0, [fp, #-404]
	bl	XFlush
.L28:
	ldr	r3, [fp, #-384]
	cmp	r3, #4
	bne	.L64
	ldr	r3, [fp, #-348]
	add	r2, r3, #63
	cmp	r3, #0
	movlt	r3, r2
	movge	r3, r3
	asr	r3, r3, #6
	mov	r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	mov	r1, r3
	ldr	r3, [fp, #-352]
	add	r2, r3, #63
	cmp	r3, #0
	movlt	r3, r2
	movge	r3, r3
	asr	r3, r3, #6
	add	r3, r1, r3
	add	r3, r3, #21
	ldr	r2, .L66+44
	str	r3, [r2]
	ldr	r3, .L66+44
	ldr	r3, [r3]
	ldr	r2, .L66+40
	ldr	r2, [r2, r3, lsl #2]
	ldr	r3, .L66+80
	ldr	r3, [r3]
	eor	r3, r3, r2
	cmn	r3, #1
	bge	.L36
	ldr	r3, .L66+44
	ldr	r3, [r3]
	ldr	r2, .L66+84
	str	r3, [r2]
	ldr	r3, .L66+48
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, .L66+44
	mov	r2, #0
	str	r2, [r3]
	b	.L37
.L42:
	ldr	r3, .L66+48
	ldr	r3, [r3]
	add	r2, r3, #63
	cmp	r3, #0
	movlt	r3, r2
	movge	r3, r3
	asr	r3, r3, #6
	mov	r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	mov	r1, r3
	ldr	r3, .L66+44
	ldr	r3, [r3]
	add	r2, r3, #63
	cmp	r3, #0
	movlt	r3, r2
	movge	r3, r3
	asr	r3, r3, #6
	add	r3, r1, r3
	add	r3, r3, #21
	str	r3, [fp, #-392]
	ldr	r2, .L66+40
	ldr	r3, [fp, #-392]
	ldr	r3, [r2, r3, lsl #2]
	add	r1, r3, #7
	ldr	r3, .L66+48
	ldr	r2, [r3]
	ldr	r3, .L66+44
	ldr	r3, [r3]
	add	r3, r2, r3
	asr	r3, r3, #6
	and	r2, r3, #1
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r1, r3
	ldr	r2, .L66+84
	ldr	r2, [r2]
	ldr	r1, [fp, #-392]
	cmp	r1, r2
	bne	.L38
	mov	r2, #28
	b	.L39
.L38:
	mov	r2, #0
.L39:
	add	r3, r2, r3
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-228]
	mov	ip, r3
	ldr	r1, [fp, #-396]
	ldr	r3, .L66+44
	ldr	r3, [r3]
	ldr	r2, .L66+48
	ldr	r2, [r2]
	mov	r0, #1
	str	r0, [sp, #24]
	str	r2, [sp, #20]
	str	r3, [sp, #16]
	mov	r3, #64
	str	r3, [sp, #12]
	mov	r3, #64
	str	r3, [sp, #8]
	mov	r3, #0
	str	r3, [sp, #4]
	mov	r3, #0
	str	r3, [sp]
	mov	r3, r1
	ldr	r2, [fp, #-400]
	mov	r1, ip
	ldr	r0, [fp, #-404]
	bl	XCopyPlane
	ldr	r3, .L66+44
	ldr	r3, [r3]
	add	r3, r3, #64
	ldr	r2, .L66+44
	str	r3, [r2]
.L37:
	ldr	r3, .L66+44
	ldr	r3, [r3]
	cmp	r3, #512
	blt	.L41
	ldr	r3, .L66+44
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, .L66+48
	ldr	r3, [r3]
	add	r3, r3, #64
	ldr	r2, .L66+48
	str	r3, [r2]
.L41:
	ldr	r3, .L66+48
	ldr	r3, [r3]
	cmp	r3, #512
	blt	.L42
	ldr	r0, [fp, #-404]
	bl	XFlush
	b	.L64
.L36:
	ldr	r3, .L66+44
	ldr	r3, [r3]
	cmp	r3, #28
	movle	r3, #1
	movgt	r3, #0
	and	r2, r3, #255
	ldr	r3, .L66+44
	ldr	r3, [r3]
	cmp	r3, #90
	movgt	r3, #1
	movle	r3, #0
	and	r3, r3, #255
	orr	r3, r2, r3
	and	r3, r3, #255
	mov	r1, r3
	ldr	r3, .L66+84
	ldr	r3, [r3]
	ldr	r2, .L66+40
	ldr	r2, [r2, r3, lsl #2]
	ldr	r3, .L66+80
	ldr	r3, [r3]
	eor	r3, r3, r2
	cmn	r3, #2
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	and	r3, r3, r1
	cmp	r3, #0
	beq	.L43
	ldr	r3, .L66+80
	ldr	r3, [r3]
	eor	r3, r3, #5
	mvn	r3, r3
	b	.L44
.L43:
	ldr	r3, .L66+84
	ldr	r3, [r3]
	ldr	r2, .L66+40
	ldr	r3, [r2, r3, lsl #2]
.L44:
	ldr	r2, .L66+48
	str	r3, [r2]
	ldr	r3, .L66+80
	ldr	r3, [r3]
	str	r3, [fp, #-388]
	ldr	r3, .L66+56
	ldr	r3, [r3]
	mov	r2, #1
	str	r2, [sp, #4]
	mov	r2, #0
	str	r2, [sp]
	mov	r2, #0
	mov	r1, #0
	mov	r0, #0
	bl	X
	ldr	r3, .L66+84
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, .L66+48
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, .L66+44
	mov	r2, #0
	str	r2, [r3]
	b	.L45
.L50:
	ldr	r3, .L66+48
	ldr	r3, [r3]
	add	r2, r3, #63
	cmp	r3, #0
	movlt	r3, r2
	movge	r3, r3
	asr	r3, r3, #6
	mov	r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	mov	r1, r3
	ldr	r3, .L66+44
	ldr	r3, [r3]
	add	r2, r3, #63
	cmp	r3, #0
	movlt	r3, r2
	movge	r3, r3
	asr	r3, r3, #6
	add	r3, r1, r3
	add	r3, r3, #21
	str	r3, [fp, #-392]
	ldr	r2, .L66+40
	ldr	r3, [fp, #-392]
	ldr	r3, [r2, r3, lsl #2]
	add	r1, r3, #7
	ldr	r3, .L66+48
	ldr	r2, [r3]
	ldr	r3, .L66+44
	ldr	r3, [r3]
	add	r3, r2, r3
	asr	r3, r3, #6
	and	r2, r3, #1
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r1, r3
	ldr	r2, .L66+84
	ldr	r2, [r2]
	ldr	r1, [fp, #-392]
	cmp	r1, r2
	bne	.L46
	mov	r2, #28
	b	.L47
.L67:
	.align	2
.L66:
	.word	.LC8
	.word	.LC2
	.word	32772
	.word	F
	.word	-1840700269
	.word	f
	.word	.LC3
	.word	1717986919
	.word	l
	.word	I+36
	.word	I
	.word	b
	.word	i
	.word	-1000001
	.word	u
	.word	1000000
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	y
	.word	z
.L46:
	mov	r2, #0
.L47:
	add	r3, r2, r3
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-228]
	mov	ip, r3
	ldr	r1, [fp, #-396]
	ldr	r3, .L66+44
	ldr	r3, [r3]
	ldr	r2, .L66+48
	ldr	r2, [r2]
	mov	r0, #1
	str	r0, [sp, #24]
	str	r2, [sp, #20]
	str	r3, [sp, #16]
	mov	r3, #64
	str	r3, [sp, #12]
	mov	r3, #64
	str	r3, [sp, #8]
	mov	r3, #0
	str	r3, [sp, #4]
	mov	r3, #0
	str	r3, [sp]
	mov	r3, r1
	ldr	r2, [fp, #-400]
	mov	r1, ip
	ldr	r0, [fp, #-404]
	bl	XCopyPlane
	ldr	r3, .L66+44
	ldr	r3, [r3]
	add	r3, r3, #64
	ldr	r2, .L66+44
	str	r3, [r2]
.L45:
	ldr	r3, .L66+44
	ldr	r3, [r3]
	cmp	r3, #512
	blt	.L49
	ldr	r3, .L66+44
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, .L66+48
	ldr	r3, [r3]
	add	r3, r3, #64
	ldr	r2, .L66+48
	str	r3, [r2]
.L49:
	ldr	r3, .L66+48
	ldr	r3, [r3]
	cmp	r3, #512
	blt	.L50
	ldr	r0, [fp, #-404]
	bl	XFlush
	ldr	r3, [fp, #-416]
	cmp	r3, #1
	ble	.L51
	ldr	r3, .L66+80
	ldr	r3, [r3]
	ldr	r2, [fp, #-388]
	cmp	r2, r3
	beq	.L51
	ldr	r3, .L66+56
	ldr	r2, [r3]
	ldr	r3, [fp, #-412]
	str	r3, [sp, #4]
	mov	r3, #1
	str	r3, [sp]
	mov	r3, r2
	mov	r2, #0
	mov	r1, #0
	mov	r0, #0
	bl	X
	ldr	r3, .L66+56
	ldr	r3, [r3]
	mov	r2, #1
	str	r2, [sp, #4]
	mov	r2, #0
	str	r2, [sp]
	mov	r2, #0
	mov	r1, #0
	mov	r0, #0
	bl	X
.L51:
	ldr	r3, .L66+84
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, .L66+48
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, .L66+44
	mov	r2, #0
	str	r2, [r3]
	b	.L52
.L57:
	ldr	r3, .L66+48
	ldr	r3, [r3]
	add	r2, r3, #63
	cmp	r3, #0
	movlt	r3, r2
	movge	r3, r3
	asr	r3, r3, #6
	mov	r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	mov	r1, r3
	ldr	r3, .L66+44
	ldr	r3, [r3]
	add	r2, r3, #63
	cmp	r3, #0
	movlt	r3, r2
	movge	r3, r3
	asr	r3, r3, #6
	add	r3, r1, r3
	add	r3, r3, #21
	str	r3, [fp, #-392]
	ldr	r2, .L66+40
	ldr	r3, [fp, #-392]
	ldr	r3, [r2, r3, lsl #2]
	add	r1, r3, #7
	ldr	r3, .L66+48
	ldr	r2, [r3]
	ldr	r3, .L66+44
	ldr	r3, [r3]
	add	r3, r2, r3
	asr	r3, r3, #6
	and	r2, r3, #1
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r1, r3
	ldr	r2, .L66+84
	ldr	r2, [r2]
	ldr	r1, [fp, #-392]
	cmp	r1, r2
	bne	.L53
	mov	r2, #28
	b	.L54
.L53:
	mov	r2, #0
.L54:
	add	r3, r2, r3
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-228]
	mov	ip, r3
	ldr	r1, [fp, #-396]
	ldr	r3, .L66+44
	ldr	r3, [r3]
	ldr	r2, .L66+48
	ldr	r2, [r2]
	mov	r0, #1
	str	r0, [sp, #24]
	str	r2, [sp, #20]
	str	r3, [sp, #16]
	mov	r3, #64
	str	r3, [sp, #12]
	mov	r3, #64
	str	r3, [sp, #8]
	mov	r3, #0
	str	r3, [sp, #4]
	mov	r3, #0
	str	r3, [sp]
	mov	r3, r1
	ldr	r2, [fp, #-400]
	mov	r1, ip
	ldr	r0, [fp, #-404]
	bl	XCopyPlane
	ldr	r3, .L66+44
	ldr	r3, [r3]
	add	r3, r3, #64
	ldr	r2, .L66+44
	str	r3, [r2]
.L52:
	ldr	r3, .L66+44
	ldr	r3, [r3]
	cmp	r3, #512
	blt	.L56
	ldr	r3, .L66+44
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, .L66+48
	ldr	r3, [r3]
	add	r3, r3, #64
	ldr	r2, .L66+48
	str	r3, [r2]
.L56:
	ldr	r3, .L66+48
	ldr	r3, [r3]
	cmp	r3, #512
	blt	.L57
	ldr	r0, [fp, #-404]
	bl	XFlush
	ldr	r3, .L66+80
	ldr	r3, [r3]
	str	r3, [fp, #-388]
	ldr	r3, .L66+56
	ldr	r3, [r3]
	mov	r2, #1
	str	r2, [sp, #4]
	mov	r2, #1
	str	r2, [sp]
	mov	r2, #0
	mov	r1, #0
	mov	r0, #0
	bl	X
	mov	r3, r0
	ldr	r2, .L66+52
	cmp	r3, r2
	bgt	.L58
	ldr	r3, .L66+80
	ldr	r3, [r3]
	mvn	r3, r3
	ldr	r2, .L66+80
	str	r3, [r2]
	ldr	r3, .L66+56
	ldr	r3, [r3]
	mov	r2, #0
	str	r2, [sp, #4]
	mov	r2, #1
	str	r2, [sp]
	mov	r2, #0
	mov	r1, #0
	mov	r0, #0
	bl	X
	mov	r3, r0
	ldr	r2, .L66+60
	cmp	r3, r2
	ble	.L59
	ldr	r3, .L66+80
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L60
	ldr	r3, .L66+64
	b	.L63
.L60:
	ldr	r3, .L66+68
	b	.L63
.L59:
	ldr	r3, .L66+72
	b	.L63
.L58:
	ldr	r3, .L66+76
.L63:
	mov	r2, r3
	ldr	r1, [fp, #-400]
	ldr	r0, [fp, #-404]
	bl	XStoreName
	ldr	r2, .L66+80
	ldr	r3, [fp, #-388]
	str	r3, [r2]
	ldr	r3, .L66+84
	mov	r2, #0
	str	r2, [r3]
	b	.L64
	.size	main, .-main
	.global	__aeabi_idivmod
	.global	__aeabi_i2d
	.global	__aeabi_dsub
	.global	__aeabi_d2iz
	.global	__aeabi_idiv
	.global	__aeabi_dadd
	.global	__aeabi_dcmpeq
	.section	.rodata
	.align	2
.LC9:
	.ascii	"51#/+++\000"
	.align	2
.LC10:
	.ascii	"95+3/33\000"
	.text
	.align	2
	.global	X
	.syntax unified
	.arm
	.fpu softvfp
	.type	X, %function
X:
	@ args = 8, pretend = 0, frame = 80
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #88
	str	r0, [fp, #-80]
	str	r1, [fp, #-84]
	str	r2, [fp, #-88]
	str	r3, [fp, #-92]
	ldr	r3, .L137
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	str	r3, [fp, #-72]
	ldr	r3, .L137+4
	str	r3, [fp, #-48]
	ldr	r3, .L137+8
	str	r3, [fp, #-44]
	mov	r3, #10
	str	r3, [fp, #-36]
	ldr	r3, .L137+12
	ldr	r3, [r3]
	mvn	r3, r3
	ldr	r2, .L137+12
	str	r3, [r2]
	b	.L69
.L130:
	ldr	r3, [fp, #-72]
	str	r3, [fp, #-76]
	ldr	r2, .L137+4
	ldr	r3, [fp, #-76]
	ldr	r3, [r2, r3, lsl #2]
	str	r3, [fp, #-32]
	ldr	r3, .L137+12
	ldr	r3, [r3]
	ldr	r2, [fp, #-32]
	eor	r3, r3, r2
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	ble	.L69
	ldr	r3, [fp, #-28]
	cmp	r3, #1
	movle	r3, #1
	movgt	r3, #0
	and	r3, r3, #255
	mov	r2, r3
	ldr	r3, .L137+12
	ldr	r3, [r3]
	mul	r3, r2, r3
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	str	r3, [fp, #-28]
	ldr	r2, .L137+16
	ldr	r3, [fp, #-28]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	str	r3, [fp, #-64]
	ldr	r2, .L137+20
	ldr	r3, [fp, #-28]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	str	r3, [fp, #-24]
.L129:
	mov	r3, #0
	str	r3, [fp, #-48]
	ldr	r3, .L137
	ldr	r2, [r3]
	ldr	r3, [fp, #-64]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	sub	r3, r3, #64
	ldr	r2, [fp, #-76]
	add	r3, r2, r3
	str	r3, [fp, #-76]
	ldr	r2, .L137+4
	ldr	r3, [fp, #-76]
	ldr	r3, [r2, r3, lsl #2]
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-80]
	cmp	r3, #0
	moveq	r3, #1
	movne	r3, #0
	and	r2, r3, #255
	ldr	r1, [fp, #-76]
	ldr	r3, [fp, #-80]
	cmp	r1, r3
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	orr	r3, r2, r3
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L70
	ldr	r3, [fp, #-28]
	cmp	r3, #1
	movgt	r3, #1
	movle	r3, #0
	and	r2, r3, #255
	ldr	r3, [fp, #-64]
	add	r3, r3, #2
	ldr	r1, [fp, #-24]
	cmp	r1, r3
	movgt	r3, #1
	movle	r3, #0
	and	r3, r3, #255
	orr	r3, r2, r3
	and	r3, r3, #255
	mov	r2, r3
	ldr	r3, [fp, #-40]
	cmp	r3, #0
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	orr	r3, r2, r3
	cmp	r3, #0
	beq	.L70
	ldr	r2, [fp, #-72]
	ldr	r3, [fp, #-76]
	sub	r3, r2, r3
	cmp	r3, #0
	rsblt	r3, r3, #0
	str	r3, [fp, #-68]
	ldr	r3, [fp, #-28]
	cmp	r3, #1
	movle	r3, #1
	movgt	r3, #0
	and	r2, r3, #255
	ldr	r3, [fp, #-92]
	asr	r1, r3, #6
	ldr	r3, .L137+12
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L71
	ldr	r3, [fp, #-36]
	rsb	r3, r3, #0
	b	.L72
.L71:
	ldr	r3, [fp, #-36]
.L72:
	ldr	r0, [fp, #-76]
	add	r3, r3, r0
	cmp	r1, r3
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	and	r3, r3, r2
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L73
	ldr	r3, [fp, #-92]
	asr	r3, r3, #6
	lsl	r3, r3, #2
	ldr	r2, .L137+4
	add	r3, r3, r2
	b	.L74
.L73:
	mov	r3, #0
.L74:
	str	r3, [fp, #-60]
	ldr	r3, [fp, #-40]
	cmp	r3, #0
	moveq	r3, #1
	movne	r3, #0
	and	r4, r3, #255
	ldr	r3, [fp, #-28]
	cmp	r3, #1
	movgt	r3, #1
	movle	r3, #0
	and	r5, r3, #255
	ldr	r3, [fp, #-68]
	ldr	r1, [fp, #-36]
	mov	r0, r3
	bl	__aeabi_idivmod
	mov	r3, r1
	cmp	r3, #0
	movle	r3, #1
	movgt	r3, #0
	and	r3, r3, #255
	orr	r3, r5, r3
	and	r3, r3, #255
	cmp	r3, #0
	bne	.L75
	ldr	r3, [fp, #-60]
	cmp	r3, #0
	beq	.L76
.L75:
	mov	r3, #1
	b	.L77
.L76:
	mov	r3, #0
.L77:
	and	r3, r3, #1
	and	r3, r3, #255
	and	r3, r3, r4
	and	r3, r3, #255
	mov	r1, r3
	ldr	r3, .L137+12
	ldr	r2, [r3]
	ldr	r3, [fp, #-40]
	eor	r3, r3, r2
	cmn	r3, #1
	movlt	r3, #1
	movge	r3, #0
	and	r3, r3, #255
	orr	r3, r1, r3
	cmp	r3, #0
	beq	.L70
	ldr	r3, [fp, #-32]
	str	r3, [fp, #-52]
	ldr	r3, [fp, #-28]
	cmp	r3, #1
	movle	r3, #1
	movgt	r3, #0
	and	r3, r3, #255
	mov	r1, r3
	ldr	r3, [fp, #-76]
	cmp	r3, #89
	movgt	r3, #1
	movle	r3, #0
	and	r2, r3, #255
	ldr	r3, [fp, #-76]
	cmp	r3, #29
	movle	r3, #1
	movgt	r3, #0
	and	r3, r3, #255
	orr	r3, r2, r3
	and	r3, r3, #255
	and	r3, r3, r1
	cmp	r3, #0
	beq	.L78
	ldr	r3, .L137+12
	ldr	r3, [r3]
	orr	r3, r3, #1
	ldr	r2, [fp, #-52]
	add	r3, r2, r3
	str	r3, [fp, #-52]
	ldr	r3, .L137+12
	ldr	r3, [r3]
	eor	r3, r3, #6
	b	.L79
.L78:
	ldr	r3, .L137+12
	ldr	r3, [r3]
	orr	r2, r3, #1
	ldr	r3, [fp, #-32]
	add	r3, r2, r3
.L79:
	str	r3, [fp, #-20]
	ldr	r3, .L137+12
	ldr	r2, [r3]
	ldr	r3, [fp, #-40]
	eor	r3, r3, r2
	cmn	r3, #6
	bge	.L82
	ldr	r3, .L137+12
	ldr	r3, [r3]
	mvn	r3, r3
	ldr	r2, .L137+12
	str	r3, [r2]
	ldr	r1, [fp, #-88]
	mov	r3, r1
	lsl	r3, r3, #1
	add	r3, r3, r1
	lsl	r2, r3, #3
	add	r3, r3, r2
	lsl	r2, r3, #4
	sub	r2, r2, r3
	lsl	r2, r2, #1
	add	r3, r2, r1
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, #0
	ldr	r1, .L137+24
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	b	.L81
.L123:
	ldr	r2, .L137+4
	ldr	r3, [fp, #-72]
	mov	r1, #0
	str	r1, [r2, r3, lsl #2]
	ldr	r1, .L137+4
	ldr	r3, [fp, #-76]
	ldr	r2, [fp, #-52]
	str	r2, [r1, r3, lsl #2]
	ldr	r3, [fp, #-48]
	cmp	r3, #0
	beq	.L83
	ldr	r3, [fp, #-48]
	ldr	r2, [r3]
	ldr	r3, [fp, #-60]
	str	r2, [r3]
	ldr	r3, [fp, #-48]
	mov	r2, #0
	str	r2, [r3]
	b	.L84
.L83:
	ldr	r3, [fp, #-60]
	cmp	r3, #0
	beq	.L84
	ldr	r3, [fp, #-60]
	mov	r2, #0
	str	r2, [r3]
.L84:
	ldr	r3, [fp, #-92]
	and	r2, r3, #63
	ldr	r3, [fp, #-72]
	cmp	r3, #91
	moveq	r3, #1
	movne	r3, #0
	and	r1, r3, #255
	ldr	r3, [fp, #-76]
	cmp	r3, #91
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	orr	r3, r1, r3
	and	r3, r3, #255
	lsl	r3, r3, #4
	orr	r2, r2, r3
	ldr	r3, [fp, #-72]
	cmp	r3, #28
	moveq	r3, #1
	movne	r3, #0
	and	r1, r3, #255
	ldr	r3, [fp, #-76]
	cmp	r3, #28
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	orr	r3, r1, r3
	and	r3, r3, #255
	lsl	r3, r3, #2
	orr	r2, r2, r3
	ldr	r3, [fp, #-72]
	cmp	r3, #21
	moveq	r3, #1
	movne	r3, #0
	and	r1, r3, #255
	ldr	r3, [fp, #-76]
	cmp	r3, #21
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	orr	r3, r1, r3
	and	r3, r3, #255
	lsl	r3, r3, #1
	orr	r2, r2, r3
	ldr	r3, [fp, #-72]
	cmp	r3, #98
	moveq	r3, #1
	movne	r3, #0
	and	r1, r3, #255
	ldr	r3, [fp, #-76]
	cmp	r3, #98
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	orr	r3, r1, r3
	and	r3, r3, #255
	lsl	r3, r3, #5
	orr	r3, r2, r3
	str	r3, [fp, #-56]
	ldr	r3, [fp, #-28]
	cmp	r3, #1
	ble	.L87
	ldr	r3, [fp, #-28]
	cmp	r3, #6
	beq	.L88
	ldr	r3, .L137
	ldr	r4, [r3]
	ldr	r1, [fp, #-36]
	ldr	r0, [fp, #-76]
	bl	__aeabi_idiv
	mov	r3, r0
	sub	r3, r3, #1
	add	r3, r4, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r5, r3
	ldr	r3, .L137
	ldr	r4, [r3]
	ldr	r1, [fp, #-36]
	ldr	r0, [fp, #-72]
	bl	__aeabi_idiv
	mov	r3, r0
	sub	r3, r3, #1
	add	r3, r4, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	sub	r2, r5, r3
	ldr	r3, [fp, #-28]
	sub	r3, r2, r3
	add	r3, r3, #2
	b	.L94
.L88:
	ldr	r3, .L137+12
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L90
	mov	r3, #8
	b	.L91
.L90:
	mov	r3, #1
.L91:
	ldr	r2, [fp, #-56]
	orr	r3, r2, r3
	str	r3, [fp, #-56]
	ldr	r3, [fp, #-48]
	cmp	r3, #0
	beq	.L92
	mov	r3, #9
	b	.L94
.L92:
	mov	r3, #0
	b	.L94
.L87:
	ldr	r3, [fp, #-68]
	cmp	r3, #20
	bne	.L95
	ldr	r3, [fp, #-76]
	lsl	r3, r3, #6
	b	.L96
.L95:
	mov	r3, #0
.L96:
	ldr	r2, [fp, #-56]
	orr	r3, r2, r3
	str	r3, [fp, #-56]
	ldr	r2, [fp, #-52]
	ldr	r3, [fp, #-32]
	cmp	r2, r3
	beq	.L97
	ldr	r3, .L137
	ldr	r3, [r3]
	ldr	r2, [fp, #-52]
	add	r2, r2, #15
	add	r3, r3, r2
	ldrb	r3, [r3]	@ zero_extendqisi2
	sub	r2, r3, #32
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	b	.L94
.L97:
	ldr	r3, [fp, #-68]
	add	r2, r3, #7
	cmp	r3, #0
	movlt	r3, r2
	movge	r3, r3
	asr	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-60]
	cmp	r3, #0
	beq	.L99
	mov	r3, #99
	b	.L100
.L99:
	mov	r3, #0
.L100:
	add	r3, r3, r2
.L94:
	ldr	r2, .L137
	ldr	r1, [r2]
	ldr	r2, [fp, #-40]
	add	r2, r2, #15
	add	r2, r1, r2
	ldrb	r2, [r2]	@ zero_extendqisi2
	sub	r1, r2, #32
	mov	r2, r1
	lsl	r2, r2, #3
	add	r2, r2, r1
	add	r4, r3, r2
	ldr	r3, .L137
	ldr	r5, [r3]
	ldr	r3, [fp, #-76]
	ldr	r1, [fp, #-36]
	mov	r0, r3
	bl	__aeabi_idivmod
	mov	r3, r1
	add	r3, r5, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	add	r2, r4, r3
	ldr	r3, [fp, #-88]
	sub	r4, r2, r3
	ldr	r3, .L137
	ldr	r5, [r3]
	ldr	r3, [fp, #-72]
	ldr	r1, [fp, #-36]
	mov	r0, r3
	bl	__aeabi_idivmod
	mov	r3, r1
	add	r3, r5, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	sub	r3, r4, r3
	str	r3, [fp, #-16]
	ldr	r2, [fp, #8]
	ldr	r3, [fp, #-88]
	cmp	r2, r3
	bgt	.L101
	ldr	r2, [fp, #8]
	ldr	r3, [fp, #-88]
	cmp	r2, r3
	moveq	r3, #1
	movne	r3, #0
	and	r2, r3, #255
	ldr	r3, [fp, #-16]
	cmp	r3, #49
	movgt	r3, #1
	movle	r3, #0
	and	r3, r3, #255
	and	r3, r3, r2
	and	r3, r3, #255
	mov	r2, r3
	ldr	r3, [fp, #8]
	cmp	r3, #1
	movgt	r3, #1
	movle	r3, #0
	and	r3, r3, #255
	and	r3, r3, r2
	cmp	r3, #0
	beq	.L102
.L101:
	ldr	r2, [fp, #8]
	ldr	r3, [fp, #-88]
	cmp	r2, r3
	bgt	.L103
	ldr	r0, [fp, #-76]
	b	.L104
.L103:
	mov	r0, #0
.L104:
	ldr	r3, [fp, #-88]
	add	r2, r3, #1
	ldr	r3, [fp, #8]
	str	r3, [sp, #4]
	ldr	r3, [fp, #-44]
	str	r3, [sp]
	ldr	r3, [fp, #-56]
	ldr	r1, [fp, #-16]
	bl	X
	mov	r3, r0
	b	.L105
.L102:
	mov	r3, #0
.L105:
	ldr	r2, [fp, #-16]
	sub	r3, r2, r3
	str	r3, [fp, #-16]
	ldr	r3, .L137+28
	ldr	r2, [r3]
	ldr	r3, [fp, #-72]
	sub	r2, r2, r3
	ldr	r3, .L137+32
	ldr	r1, [r3]
	ldr	r3, [fp, #-52]
	sub	r3, r1, r3
	orr	r2, r2, r3
	ldr	r3, [fp, #-88]
	orr	r2, r2, r3
	ldr	r3, .L137+36
	ldr	r3, [r3]
	ldr	r1, [fp, #-76]
	sub	r3, r1, r3
	orr	r2, r2, r3
	ldr	r3, [fp, #4]
	orr	r3, r2, r3
	ldr	r2, [fp, #-16]
	ldr	r1, .L137+40
	cmp	r2, r1
	movle	r2, #1
	movgt	r2, #0
	and	r2, r2, #255
	orr	r3, r3, r2
	cmp	r3, #0
	bne	.L106
	ldr	r2, .L137+44
	ldr	r3, [fp, #-56]
	str	r3, [r2]
	ldr	r3, .L137+44
	ldr	r3, [r3]
	b	.L81
.L106:
	ldr	r1, .L137+4
	ldr	r3, [fp, #-72]
	ldr	r2, [fp, #-32]
	str	r2, [r1, r3, lsl #2]
	ldr	r1, .L137+4
	ldr	r3, [fp, #-76]
	ldr	r2, [fp, #-40]
	str	r2, [r1, r3, lsl #2]
	ldr	r3, [fp, #-48]
	cmp	r3, #0
	beq	.L107
	ldr	r3, [fp, #-60]
	ldr	r2, [r3]
	ldr	r3, [fp, #-48]
	str	r2, [r3]
	ldr	r3, [fp, #-60]
	mov	r2, #0
	str	r2, [r3]
	b	.L108
.L107:
	ldr	r3, [fp, #-60]
	cmp	r3, #0
	beq	.L108
	ldr	r3, .L137+12
	ldr	r3, [r3]
	eor	r3, r3, #1
	mvn	r3, r3
	ldr	r2, [fp, #-60]
	str	r3, [r2]
.L108:
	ldr	r2, [fp, #4]
	ldr	r3, [fp, #-88]
	orr	r3, r2, r3
	cmp	r3, #0
	beq	.L111
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-44]
	cmp	r2, r3
	bgt	.L112
	ldr	r3, [fp, #-88]
	cmp	r3, #0
	moveq	r3, #1
	movne	r3, #0
	and	r2, r3, #255
	ldr	r1, [fp, #-44]
	ldr	r3, [fp, #-16]
	cmp	r1, r3
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	and	r3, r3, r2
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L111
	bl	rand
	mov	r3, r0
	and	r3, r3, #4
	cmp	r3, #0
	beq	.L111
.L112:
	ldr	r3, [fp, #-16]
	str	r3, [fp, #-44]
	ldr	r3, [fp, #-88]
	cmp	r3, #0
	bne	.L113
	ldr	r3, [fp, #8]
	cmp	r3, #0
	beq	.L113
	ldr	r2, .L137+32
	ldr	r3, [fp, #-52]
	str	r3, [r2]
	ldr	r2, .L137+28
	ldr	r3, [fp, #-72]
	str	r3, [r2]
	ldr	r2, .L137+36
	ldr	r3, [fp, #-76]
	str	r3, [r2]
.L113:
	ldr	r3, [fp, #-88]
	cmp	r3, #0
	beq	.L111
	ldr	r2, [fp, #-84]
	ldr	r3, [fp, #-16]
	sub	r3, r2, r3
	ldr	r2, [fp, #4]
	cmp	r2, r3
	ble	.L111
	ldr	r3, .L137+12
	ldr	r3, [r3]
	mvn	r3, r3
	ldr	r2, .L137+12
	str	r3, [r2]
	ldr	r3, [fp, #-16]
	b	.L81
.L111:
	ldr	r3, [fp, #-28]
	cmp	r3, #5
	movgt	r3, #1
	movle	r3, #0
	and	r2, r3, #255
	ldr	r3, [fp, #-68]
	cmp	r3, #1
	movle	r3, #1
	movgt	r3, #0
	and	r3, r3, #255
	and	r3, r3, r2
	and	r3, r3, #255
	mov	r1, r3
	ldr	r3, [fp, #-64]
	add	r3, r3, #6
	ldr	r2, [fp, #-24]
	cmp	r2, r3
	movgt	r3, #1
	movle	r3, #0
	and	r3, r3, #255
	and	r3, r3, r1
	cmp	r3, #0
	beq	.L114
	ldr	r3, [fp, #-76]
	lsl	r3, r3, #2
	ldr	r2, .L137+4
	add	r3, r3, r2
	str	r3, [fp, #-60]
	ldr	r2, [fp, #-76]
	ldr	r3, [fp, #-72]
	sub	r3, r2, r3
	ldr	r2, [fp, #-76]
	add	r3, r2, r3
	str	r3, [fp, #-76]
	ldr	r2, .L137+4
	ldr	r3, [fp, #-76]
	ldr	r3, [r2, r3, lsl #2]
	str	r3, [fp, #-40]
	ldr	r2, [fp, #-76]
	ldr	r3, [fp, #-72]
	cmp	r2, r3
	bge	.L115
	ldr	r3, [fp, #-60]
	sub	r3, r3, #12
	b	.L116
.L115:
	ldr	r3, [fp, #-60]
	add	r3, r3, #8
.L116:
	str	r3, [fp, #-48]
	ldr	r2, [fp, #-76]
	ldr	r3, [fp, #-72]
	cmp	r2, r3
	bge	.L117
	mov	r2, #3
	b	.L118
.L117:
	mov	r2, #5
.L118:
	ldr	r3, .L137+12
	ldr	r3, [r3]
	mov	r1, r3
	lsl	r3, r3, #2
	sub	r3, r1, r3
	lsl	r2, r2, r3
	ldr	r3, [fp, #-92]
	and	r2, r2, r3
	ldr	r3, [fp, #-60]
	ldr	r3, [r3]
	orr	r2, r2, r3
	ldr	r3, [fp, #-40]
	orr	r2, r2, r3
	ldr	r1, [fp, #-76]
	ldr	r3, [fp, #-72]
	cmp	r1, r3
	bge	.L119
	mov	r3, #4
	b	.L120
.L119:
	mvn	r3, #3
.L120:
	ldr	r1, [fp, #-48]
	add	r3, r1, r3
	ldr	r3, [r3]
	orr	r3, r2, r3
	cmp	r3, #0
	bne	.L121
	ldr	r3, [fp, #-16]
	ldr	r2, .L137+48
	cmp	r3, r2
	blt	.L121
	mov	r3, #0
	str	r3, [sp, #4]
	mov	r3, #1
	str	r3, [sp]
	mov	r3, #63
	mov	r2, #0
	mov	r1, #0
	mov	r0, #0
	bl	X
	mov	r3, r0
	ldr	r2, .L137+52
	cmp	r3, r2
	bge	.L121
	mov	r3, #1
	b	.L122
.L121:
	mov	r3, #0
.L122:
	cmp	r3, #0
	beq	.L114
	ldr	r3, [fp, #-68]
	add	r3, r3, #1
	str	r3, [fp, #-68]
	b	.L82
.L114:
	ldr	r3, .L137+12
	ldr	r3, [r3]
	orr	r3, r3, #1
	ldr	r2, [fp, #-52]
	add	r3, r2, r3
	str	r3, [fp, #-52]
.L82:
	ldr	r2, [fp, #-52]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	bne	.L123
.L70:
	ldr	r3, [fp, #-28]
	cmp	r3, #1
	movle	r3, #1
	movgt	r3, #0
	and	r2, r3, #255
	ldr	r3, [fp, #-64]
	add	r3, r3, #2
	ldr	r1, [fp, #-24]
	cmp	r1, r3
	movle	r3, #1
	movgt	r3, #0
	and	r3, r3, #255
	and	r3, r3, r2
	and	r3, r3, #255
	mov	r2, r3
	ldr	r3, .L137+12
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L124
	ldr	r3, [fp, #-72]
	cmp	r3, #79
	ble	.L125
	b	.L126
.L124:
	ldr	r3, [fp, #-72]
	cmp	r3, #39
	bgt	.L125
.L126:
	ldr	r3, [fp, #-40]
	cmp	r3, #0
	beq	.L127
.L125:
	mov	r3, #1
	b	.L128
.L127:
	mov	r3, #0
.L128:
	and	r3, r3, r2
	ldr	r2, [fp, #-64]
	add	r3, r2, r3
	str	r3, [fp, #-64]
	ldr	r3, [fp, #-40]
	cmp	r3, #0
	moveq	r3, #1
	movne	r3, #0
	and	r2, r3, #255
	ldr	r3, [fp, #-28]
	cmp	r3, #2
	movgt	r3, #1
	movle	r3, #0
	and	r3, r3, #255
	and	r3, r3, r2
	and	r3, r3, #255
	mov	r2, r3
	ldr	r3, [fp, #-28]
	cmp	r3, #5
	movle	r3, #1
	movgt	r3, #0
	and	r3, r3, #255
	and	r3, r3, r2
	cmp	r3, #0
	bne	.L129
	ldr	r3, [fp, #-72]
	str	r3, [fp, #-76]
	ldr	r3, [fp, #-64]
	add	r3, r3, #1
	str	r3, [fp, #-64]
	ldr	r2, [fp, #-64]
	ldr	r3, [fp, #-24]
	cmp	r2, r3
	blt	.L129
.L69:
	ldr	r3, [fp, #-72]
	sub	r3, r3, #1
	str	r3, [fp, #-72]
	ldr	r3, [fp, #-72]
	cmp	r3, #20
	bgt	.L130
	ldr	r3, .L137+12
	ldr	r3, [r3]
	mvn	r3, r3
	ldr	r2, .L137+12
	str	r3, [r2]
	ldr	r0, [fp, #-44]
	bl	__aeabi_i2d
	mov	r2, #0
	ldr	r3, .L137+56
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, #0
	mov	r3, #0
	bl	__aeabi_dcmpeq
	mov	r3, r0
	cmp	r3, #0
	bne	.L135
	ldr	r3, [fp, #-44]
	b	.L136
.L135:
	mov	r3, #0
.L136:
	nop
.L81:
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L138:
	.align	2
.L137:
	.word	l
	.word	I
	.word	-100000000
	.word	y
	.word	.LC9
	.word	.LC10
	.word	1097011920
	.word	z
	.word	i
	.word	b
	.word	-1000001
	.word	u
	.word	-999999
	.word	1000000
	.word	1100470148
	.size	X, .-X
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
