	.file	"471535.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"\033[H"
.LC1:
	.string	"\033[07m  \033[m"
.LC2:
	.string	"  "
.LC3:
	.string	"\033[E"
	.text
	.globl	show
	.type	show, @function
show:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 56
	.cfi_offset 3, -24
	mov	QWORD PTR -56[rbp], rdi
	mov	DWORD PTR -60[rbp], esi
	mov	DWORD PTR -64[rbp], edx
	mov	ebx, DWORD PTR -60[rbp]
	movsx	rax, ebx
	sub	rax, 1
	mov	QWORD PTR -32[rbp], rax
	movsx	rax, ebx
	mov	r8, rax
	mov	r9d, 0
	mov	rax, QWORD PTR -56[rbp]
	mov	QWORD PTR -24[rbp], rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -36[rbp], 0
	jmp	.L2
.L7:
	mov	DWORD PTR -40[rbp], 0
	jmp	.L3
.L6:
	mov	eax, DWORD PTR -36[rbp]
	movsx	rdx, eax
	movsx	rax, ebx
	imul	rax, rdx
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -24[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	mov	eax, DWORD PTR [rdx+rax*4]
	test	eax, eax
	je	.L4
	lea	rax, .LC1[rip]
	jmp	.L5
.L4:
	lea	rax, .LC2[rip]
.L5:
	mov	rdi, rax
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -40[rbp], 1
.L3:
	mov	eax, DWORD PTR -40[rbp]
	cmp	eax, DWORD PTR -60[rbp]
	jl	.L6
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -36[rbp], 1
.L2:
	mov	eax, DWORD PTR -36[rbp]
	cmp	eax, DWORD PTR -64[rbp]
	jl	.L7
	mov	rax, QWORD PTR stdout[rip]
	mov	rdi, rax
	call	fflush@PLT
	nop
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	show, .-show
	.globl	evolve
	.type	evolve, @function
evolve:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r15
	push	r14
	push	r13
	push	r12
	push	rbx
	sub	rsp, 152
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	mov	QWORD PTR -136[rbp], rdi
	mov	DWORD PTR -140[rbp], esi
	mov	DWORD PTR -144[rbp], edx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rax
	xor	eax, eax
	mov	rax, rsp
	mov	QWORD PTR -184[rbp], rax
	mov	r9d, DWORD PTR -140[rbp]
	movsx	rax, r9d
	sub	rax, 1
	mov	QWORD PTR -96[rbp], rax
	movsx	rax, r9d
	mov	rcx, rax
	mov	ebx, 0
	mov	rax, QWORD PTR -136[rbp]
	mov	QWORD PTR -88[rbp], rax
	mov	edi, DWORD PTR -140[rbp]
	mov	r8d, DWORD PTR -144[rbp]
	movsx	rax, edi
	sub	rax, 1
	mov	QWORD PTR -80[rbp], rax
	movsx	rax, edi
	mov	QWORD PTR -176[rbp], rax
	mov	QWORD PTR -168[rbp], 0
	movsx	rax, edi
	lea	rcx, 0[0+rax*4]
	movsx	rax, r8d
	sub	rax, 1
	mov	QWORD PTR -72[rbp], rax
	movsx	rax, edi
	mov	QWORD PTR -160[rbp], rax
	mov	QWORD PTR -152[rbp], 0
	movsx	rax, r8d
	mov	r14, rax
	mov	r15d, 0
	mov	rbx, QWORD PTR -160[rbp]
	mov	rsi, QWORD PTR -152[rbp]
	mov	rdx, rsi
	imul	rdx, r14
	mov	QWORD PTR -160[rbp], rbx
	mov	QWORD PTR -152[rbp], rsi
	mov	rax, rbx
	imul	rax, r15
	lea	rsi, [rdx+rax]
	mov	rax, QWORD PTR -160[rbp]
	mul	r14
	add	rsi, rdx
	mov	rdx, rsi
	movsx	rax, edi
	mov	r12, rax
	mov	r13d, 0
	movsx	rax, r8d
	mov	r10, rax
	mov	r11d, 0
	mov	rdx, r13
	imul	rdx, r10
	mov	rax, r11
	imul	rax, r12
	lea	rsi, [rdx+rax]
	mov	rax, r12
	mul	r10
	add	rsi, rdx
	mov	rdx, rsi
	movsx	rdx, edi
	movsx	rax, r8d
	imul	rax, rdx
	lea	rdx, 0[0+rax*4]
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	ebx, 16
	mov	edx, 0
	div	rbx
	imul	rax, rax, 16
	mov	rsi, rax
	and	rsi, -4096
	mov	rdx, rsp
	sub	rdx, rsi
.L9:
	cmp	rsp, rdx
	je	.L10
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L9
.L10:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L11
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L11:
	mov	rax, rsp
	add	rax, 3
	shr	rax, 2
	sal	rax, 2
	mov	QWORD PTR -64[rbp], rax
	mov	DWORD PTR -100[rbp], 0
	jmp	.L12
.L24:
	mov	DWORD PTR -104[rbp], 0
	jmp	.L13
.L23:
	mov	DWORD PTR -108[rbp], 0
	mov	eax, DWORD PTR -100[rbp]
	sub	eax, 1
	mov	DWORD PTR -112[rbp], eax
	jmp	.L14
.L18:
	mov	eax, DWORD PTR -104[rbp]
	sub	eax, 1
	mov	DWORD PTR -116[rbp], eax
	jmp	.L15
.L17:
	mov	edx, DWORD PTR -112[rbp]
	mov	eax, DWORD PTR -144[rbp]
	add	eax, edx
	cdq
	idiv	DWORD PTR -144[rbp]
	mov	eax, edx
	movsx	rdx, eax
	movsx	rax, r9d
	imul	rax, rdx
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -88[rbp]
	lea	rsi, [rdx+rax]
	mov	edx, DWORD PTR -116[rbp]
	mov	eax, DWORD PTR -140[rbp]
	add	eax, edx
	cdq
	idiv	DWORD PTR -140[rbp]
	mov	eax, edx
	cdqe
	mov	eax, DWORD PTR [rsi+rax*4]
	test	eax, eax
	je	.L16
	add	DWORD PTR -108[rbp], 1
.L16:
	add	DWORD PTR -116[rbp], 1
.L15:
	mov	eax, DWORD PTR -104[rbp]
	add	eax, 1
	cmp	DWORD PTR -116[rbp], eax
	jle	.L17
	add	DWORD PTR -112[rbp], 1
.L14:
	mov	eax, DWORD PTR -100[rbp]
	add	eax, 1
	cmp	DWORD PTR -112[rbp], eax
	jle	.L18
	mov	eax, DWORD PTR -100[rbp]
	movsx	rdx, eax
	movsx	rax, r9d
	imul	rax, rdx
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -88[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -104[rbp]
	cdqe
	mov	eax, DWORD PTR [rdx+rax*4]
	test	eax, eax
	je	.L19
	sub	DWORD PTR -108[rbp], 1
.L19:
	cmp	DWORD PTR -108[rbp], 3
	je	.L20
	cmp	DWORD PTR -108[rbp], 2
	jne	.L21
	mov	eax, DWORD PTR -100[rbp]
	movsx	rdx, eax
	movsx	rax, r9d
	imul	rax, rdx
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -88[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -104[rbp]
	cdqe
	mov	eax, DWORD PTR [rdx+rax*4]
	test	eax, eax
	je	.L21
.L20:
	mov	eax, 1
	jmp	.L22
.L21:
	mov	eax, 0
.L22:
	mov	rsi, rcx
	shr	rsi, 2
	mov	edi, eax
	mov	rax, QWORD PTR -64[rbp]
	mov	edx, DWORD PTR -104[rbp]
	movsx	r8, edx
	mov	edx, DWORD PTR -100[rbp]
	movsx	rdx, edx
	imul	rdx, rsi
	add	rdx, r8
	mov	DWORD PTR [rax+rdx*4], edi
	add	DWORD PTR -104[rbp], 1
.L13:
	mov	eax, DWORD PTR -104[rbp]
	cmp	eax, DWORD PTR -140[rbp]
	jl	.L23
	add	DWORD PTR -100[rbp], 1
.L12:
	mov	eax, DWORD PTR -100[rbp]
	cmp	eax, DWORD PTR -144[rbp]
	jl	.L24
	mov	DWORD PTR -120[rbp], 0
	jmp	.L25
.L28:
	mov	DWORD PTR -124[rbp], 0
	jmp	.L26
.L27:
	mov	rdi, rcx
	shr	rdi, 2
	mov	eax, DWORD PTR -120[rbp]
	movsx	rdx, eax
	movsx	rax, r9d
	imul	rax, rdx
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -88[rbp]
	lea	rsi, [rdx+rax]
	mov	rax, QWORD PTR -64[rbp]
	mov	edx, DWORD PTR -124[rbp]
	movsx	r8, edx
	mov	edx, DWORD PTR -120[rbp]
	movsx	rdx, edx
	imul	rdx, rdi
	add	rdx, r8
	mov	edx, DWORD PTR [rax+rdx*4]
	mov	eax, DWORD PTR -124[rbp]
	cdqe
	mov	DWORD PTR [rsi+rax*4], edx
	add	DWORD PTR -124[rbp], 1
.L26:
	mov	eax, DWORD PTR -124[rbp]
	cmp	eax, DWORD PTR -140[rbp]
	jl	.L27
	add	DWORD PTR -120[rbp], 1
.L25:
	mov	eax, DWORD PTR -120[rbp]
	cmp	eax, DWORD PTR -144[rbp]
	jl	.L28
	mov	rsp, QWORD PTR -184[rbp]
	nop
	mov	rax, QWORD PTR -56[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L29
	call	__stack_chk_fail@PLT
.L29:
	lea	rsp, -40[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	evolve, .-evolve
	.globl	game
	.type	game, @function
game:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r15
	push	r14
	push	r13
	push	r12
	push	rbx
	sub	rsp, 72
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	mov	DWORD PTR -100[rbp], edi
	mov	DWORD PTR -104[rbp], esi
	mov	rbx, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rbx
	xor	ebx, ebx
	mov	ecx, DWORD PTR -100[rbp]
	mov	esi, DWORD PTR -104[rbp]
	movsx	rdi, ecx
	sub	rdi, 1
	mov	QWORD PTR -80[rbp], rdi
	movsx	rdi, ecx
	mov	r14, rdi
	mov	r15d, 0
	movsx	rdi, ecx
	lea	rbx, 0[0+rdi*4]
	movsx	rdi, esi
	sub	rdi, 1
	mov	QWORD PTR -72[rbp], rdi
	movsx	rdi, ecx
	mov	r12, rdi
	mov	r13d, 0
	movsx	rdi, esi
	mov	rax, rdi
	mov	edx, 0
	mov	r14, r13
	imul	r14, rax
	mov	rdi, rdx
	imul	rdi, r12
	add	rdi, r14
	mul	r12
	add	rdi, rdx
	mov	rdx, rdi
	movsx	rax, ecx
	mov	r10, rax
	mov	r11d, 0
	movsx	rax, esi
	mov	r8, rax
	mov	r9d, 0
	mov	rdx, r11
	imul	rdx, r8
	mov	rax, r9
	imul	rax, r10
	lea	rdi, [rdx+rax]
	mov	rax, r10
	mul	r8
	add	rdi, rdx
	mov	rdx, rdi
	movsx	rdx, ecx
	movsx	rax, esi
	imul	rax, rdx
	lea	rdx, 0[0+rax*4]
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	esi, 16
	mov	edx, 0
	div	rsi
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L31:
	cmp	rsp, rdx
	je	.L32
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L31
.L32:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L33
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L33:
	mov	rax, rsp
	add	rax, 3
	shr	rax, 2
	sal	rax, 2
	mov	QWORD PTR -64[rbp], rax
	mov	DWORD PTR -84[rbp], 0
	jmp	.L34
.L37:
	mov	DWORD PTR -88[rbp], 0
	jmp	.L35
.L36:
	call	rand@PLT
	cmp	eax, 214748363
	setle	al
	mov	rsi, rbx
	shr	rsi, 2
	movzx	edx, al
	mov	rax, QWORD PTR -64[rbp]
	mov	ecx, DWORD PTR -84[rbp]
	movsx	rdi, ecx
	mov	ecx, DWORD PTR -88[rbp]
	movsx	rcx, ecx
	imul	rcx, rsi
	add	rcx, rdi
	mov	DWORD PTR [rax+rcx*4], edx
	add	DWORD PTR -88[rbp], 1
.L35:
	mov	eax, DWORD PTR -88[rbp]
	cmp	eax, DWORD PTR -104[rbp]
	jl	.L36
	add	DWORD PTR -84[rbp], 1
.L34:
	mov	eax, DWORD PTR -84[rbp]
	cmp	eax, DWORD PTR -100[rbp]
	jl	.L37
.L38:
	mov	edx, DWORD PTR -104[rbp]
	mov	ecx, DWORD PTR -100[rbp]
	mov	rax, QWORD PTR -64[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	show
	mov	edx, DWORD PTR -104[rbp]
	mov	ecx, DWORD PTR -100[rbp]
	mov	rax, QWORD PTR -64[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	evolve
	mov	edi, 200000
	call	usleep@PLT
	jmp	.L38
	.cfi_endproc
.LFE8:
	.size	game, .-game
	.section	.rodata
.LC4:
	.string	"\033[2J"
	.text
	.globl	main
	.type	main, @function
main:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	DWORD PTR -20[rbp], edi
	mov	QWORD PTR -32[rbp], rsi
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -8[rbp], 0
	mov	DWORD PTR -4[rbp], 0
	cmp	DWORD PTR -20[rbp], 1
	jle	.L41
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR -8[rbp], eax
.L41:
	cmp	DWORD PTR -20[rbp], 2
	jle	.L42
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR -4[rbp], eax
.L42:
	cmp	DWORD PTR -8[rbp], 0
	jg	.L43
	mov	DWORD PTR -8[rbp], 30
.L43:
	cmp	DWORD PTR -4[rbp], 0
	jg	.L44
	mov	DWORD PTR -4[rbp], 30
.L44:
	mov	edx, DWORD PTR -4[rbp]
	mov	eax, DWORD PTR -8[rbp]
	mov	esi, edx
	mov	edi, eax
	call	game
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.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	"471535.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"\033[H\000"
	.align	2
.LC1:
	.ascii	"\033[07m  \033[m\000"
	.align	2
.LC2:
	.ascii	"  \000"
	.align	2
.LC3:
	.ascii	"\033[E\000"
	.text
	.align	2
	.global	show
	.syntax unified
	.arm
	.fpu softvfp
	.type	show, %function
show:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #36
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	str	r2, [fp, #-40]
	ldr	r4, [fp, #-36]
	sub	r3, r4, #1
	str	r3, [fp, #-20]
	mov	r3, r4
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #5
	orr	r3, r3, r0, lsr #27
	lsl	r2, r0, #5
	ldr	r3, [fp, #-32]
	str	r3, [fp, #-16]
	ldr	r0, .L8
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L2
.L7:
	mov	r3, #0
	str	r3, [fp, #-28]
	b	.L3
.L6:
	mov	r2, r4
	ldr	r3, [fp, #-24]
	mul	r3, r2, r3
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r2, [fp, #-28]
	ldr	r3, [r3, r2, lsl #2]
	cmp	r3, #0
	beq	.L4
	ldr	r3, .L8+4
	b	.L5
.L4:
	ldr	r3, .L8+8
.L5:
	mov	r0, r3
	bl	printf
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L3:
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-36]
	cmp	r2, r3
	blt	.L6
	ldr	r0, .L8+12
	bl	printf
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L2:
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-40]
	cmp	r2, r3
	blt	.L7
	ldr	r3, .L8+16
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	nop
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L9:
	.align	2
.L8:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	stdout
	.size	show, .-show
	.global	__aeabi_idivmod
	.section	.rodata
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	evolve
	.syntax unified
	.arm
	.fpu softvfp
	.type	evolve, %function
evolve:
	@ args = 0, pretend = 0, frame = 72
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, fp, lr}
	add	fp, sp, #28
	sub	sp, sp, #72
	str	r0, [fp, #-88]
	str	r1, [fp, #-92]
	str	r2, [fp, #-96]
	ldr	r3, .L29
	ldr	r3, [r3]
	str	r3, [fp, #-32]
	mov	r3,#0
	mov	r3, sp
	mov	r9, r3
	ldr	r6, [fp, #-92]
	sub	r3, r6, #1
	str	r3, [fp, #-52]
	mov	r3, r6
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #5
	orr	r3, r3, r0, lsr #27
	lsl	r2, r0, #5
	ldr	r3, [fp, #-88]
	str	r3, [fp, #-48]
	ldr	ip, [fp, #-92]
	ldr	lr, [fp, #-96]
	sub	r3, ip, #1
	str	r3, [fp, #-44]
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #5
	orr	r3, r3, r0, lsr #27
	lsl	r2, r0, #5
	mov	r3, ip
	lsl	r7, r3, #2
	sub	r3, lr, #1
	str	r3, [fp, #-40]
	mov	r3, ip
	mov	r4, r3
	mov	r5, #0
	mov	r3, lr
	mov	r0, r3
	mov	r1, #0
	mul	r2, r0, r5
	mul	r3, r4, r1
	add	r8, r2, r3
	umull	r2, r3, r4, r0
	add	r1, r8, r3
	mov	r3, r1
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #5
	orr	r1, r1, r2, lsr #27
	lsl	r0, r2, #5
	mov	r3, ip
	mov	r4, r3
	mov	r5, #0
	mov	r3, lr
	mov	r0, r3
	mov	r1, #0
	mul	r2, r0, r5
	mul	r3, r4, r1
	add	r8, r2, r3
	umull	r2, r3, r4, r0
	add	r1, r8, r3
	mov	r3, r1
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #5
	orr	r1, r1, r2, lsr #27
	lsl	r0, r2, #5
	mov	r3, ip
	mov	r2, lr
	mul	r3, r2, r3
	lsl	r3, r3, #2
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	mov	r3, sp
	add	r3, r3, #3
	lsr	r3, r3, #2
	lsl	r3, r3, #2
	str	r3, [fp, #-36]
	mov	r3, #0
	str	r3, [fp, #-56]
	b	.L11
.L23:
	mov	r3, #0
	str	r3, [fp, #-60]
	b	.L12
.L22:
	mov	r3, #0
	str	r3, [fp, #-64]
	ldr	r3, [fp, #-56]
	sub	r3, r3, #1
	str	r3, [fp, #-68]
	b	.L13
.L17:
	ldr	r3, [fp, #-60]
	sub	r3, r3, #1
	str	r3, [fp, #-72]
	b	.L14
.L16:
	ldr	r2, [fp, #-68]
	ldr	r3, [fp, #-96]
	add	r3, r2, r3
	ldr	r1, [fp, #-96]
	mov	r0, r3
	bl	__aeabi_idivmod
	mov	r3, r1
	mov	r2, r6
	mul	r3, r2, r3
	lsl	r3, r3, #2
	ldr	r2, [fp, #-48]
	add	r4, r2, r3
	ldr	r2, [fp, #-72]
	ldr	r3, [fp, #-92]
	add	r3, r2, r3
	ldr	r1, [fp, #-92]
	mov	r0, r3
	bl	__aeabi_idivmod
	mov	r3, r1
	ldr	r3, [r4, r3, lsl #2]
	cmp	r3, #0
	beq	.L15
	ldr	r3, [fp, #-64]
	add	r3, r3, #1
	str	r3, [fp, #-64]
.L15:
	ldr	r3, [fp, #-72]
	add	r3, r3, #1
	str	r3, [fp, #-72]
.L14:
	ldr	r3, [fp, #-60]
	add	r3, r3, #1
	ldr	r2, [fp, #-72]
	cmp	r2, r3
	ble	.L16
	ldr	r3, [fp, #-68]
	add	r3, r3, #1
	str	r3, [fp, #-68]
.L13:
	ldr	r3, [fp, #-56]
	add	r3, r3, #1
	ldr	r2, [fp, #-68]
	cmp	r2, r3
	ble	.L17
	mov	r2, r6
	ldr	r3, [fp, #-56]
	mul	r3, r2, r3
	lsl	r3, r3, #2
	ldr	r2, [fp, #-48]
	add	r3, r2, r3
	ldr	r2, [fp, #-60]
	ldr	r3, [r3, r2, lsl #2]
	cmp	r3, #0
	beq	.L18
	ldr	r3, [fp, #-64]
	sub	r3, r3, #1
	str	r3, [fp, #-64]
.L18:
	ldr	r3, [fp, #-64]
	cmp	r3, #3
	beq	.L19
	ldr	r3, [fp, #-64]
	cmp	r3, #2
	bne	.L20
	mov	r2, r6
	ldr	r3, [fp, #-56]
	mul	r3, r2, r3
	lsl	r3, r3, #2
	ldr	r2, [fp, #-48]
	add	r3, r2, r3
	ldr	r2, [fp, #-60]
	ldr	r3, [r3, r2, lsl #2]
	cmp	r3, #0
	beq	.L20
.L19:
	mov	r3, #1
	b	.L21
.L20:
	mov	r3, #0
.L21:
	lsr	r2, r7, #2
	mov	r0, r3
	ldr	r3, [fp, #-36]
	ldr	r1, [fp, #-56]
	mul	r1, r2, r1
	ldr	r2, [fp, #-60]
	add	r2, r1, r2
	str	r0, [r3, r2, lsl #2]
	ldr	r3, [fp, #-60]
	add	r3, r3, #1
	str	r3, [fp, #-60]
.L12:
	ldr	r2, [fp, #-60]
	ldr	r3, [fp, #-92]
	cmp	r2, r3
	blt	.L22
	ldr	r3, [fp, #-56]
	add	r3, r3, #1
	str	r3, [fp, #-56]
.L11:
	ldr	r2, [fp, #-56]
	ldr	r3, [fp, #-96]
	cmp	r2, r3
	blt	.L23
	mov	r3, #0
	str	r3, [fp, #-76]
	b	.L24
.L27:
	mov	r3, #0
	str	r3, [fp, #-80]
	b	.L25
.L26:
	lsr	r1, r7, #2
	mov	r2, r6
	ldr	r3, [fp, #-76]
	mul	r3, r2, r3
	lsl	r3, r3, #2
	ldr	r2, [fp, #-48]
	add	r3, r2, r3
	ldr	r2, [fp, #-36]
	ldr	r0, [fp, #-76]
	mul	r0, r1, r0
	ldr	r1, [fp, #-80]
	add	r1, r0, r1
	ldr	r1, [r2, r1, lsl #2]
	ldr	r2, [fp, #-80]
	str	r1, [r3, r2, lsl #2]
	ldr	r3, [fp, #-80]
	add	r3, r3, #1
	str	r3, [fp, #-80]
.L25:
	ldr	r2, [fp, #-80]
	ldr	r3, [fp, #-92]
	cmp	r2, r3
	blt	.L26
	ldr	r3, [fp, #-76]
	add	r3, r3, #1
	str	r3, [fp, #-76]
.L24:
	ldr	r2, [fp, #-76]
	ldr	r3, [fp, #-96]
	cmp	r2, r3
	blt	.L27
	mov	sp, r9
	nop
	ldr	r3, .L29
	ldr	r2, [r3]
	ldr	r3, [fp, #-32]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L28
	bl	__stack_chk_fail
.L28:
	sub	sp, fp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, fp, pc}
.L30:
	.align	2
.L29:
	.word	.LC4
	.size	evolve, .-evolve
	.section	.rodata
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	game
	.syntax unified
	.arm
	.fpu softvfp
	.type	game, %function
game:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, fp, lr}
	add	fp, sp, #20
	sub	sp, sp, #32
	str	r0, [fp, #-48]
	str	r1, [fp, #-52]
	ldr	r3, .L38
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	mov	r3,#0
	ldr	ip, [fp, #-48]
	ldr	lr, [fp, #-52]
	sub	r3, ip, #1
	str	r3, [fp, #-36]
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #5
	orr	r3, r3, r0, lsr #27
	lsl	r2, r0, #5
	mov	r3, ip
	lsl	r6, r3, #2
	sub	r3, lr, #1
	str	r3, [fp, #-32]
	mov	r3, ip
	mov	r4, r3
	mov	r5, #0
	mov	r3, lr
	mov	r0, r3
	mov	r1, #0
	mul	r2, r0, r5
	mul	r3, r4, r1
	add	r7, r2, r3
	umull	r2, r3, r4, r0
	add	r1, r7, r3
	mov	r3, r1
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #5
	orr	r1, r1, r2, lsr #27
	lsl	r0, r2, #5
	mov	r3, ip
	mov	r4, r3
	mov	r5, #0
	mov	r3, lr
	mov	r0, r3
	mov	r1, #0
	mul	r2, r0, r5
	mul	r3, r4, r1
	add	r7, r2, r3
	umull	r2, r3, r4, r0
	add	r1, r7, r3
	mov	r3, r1
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #5
	orr	r1, r1, r2, lsr #27
	lsl	r0, r2, #5
	mov	r3, ip
	mov	r2, lr
	mul	r3, r2, r3
	lsl	r3, r3, #2
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	mov	r3, sp
	add	r3, r3, #3
	lsr	r3, r3, #2
	lsl	r3, r3, #2
	str	r3, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-40]
	b	.L32
.L35:
	mov	r3, #0
	str	r3, [fp, #-44]
	b	.L33
.L34:
	bl	rand
	mov	r3, r0
	ldr	r2, .L38+4
	cmp	r3, r2
	movlt	r3, #1
	movge	r3, #0
	and	r3, r3, #255
	lsr	r2, r6, #2
	mov	r0, r3
	ldr	r3, [fp, #-28]
	ldr	r1, [fp, #-44]
	mul	r1, r2, r1
	ldr	r2, [fp, #-40]
	add	r2, r1, r2
	str	r0, [r3, r2, lsl #2]
	ldr	r3, [fp, #-44]
	add	r3, r3, #1
	str	r3, [fp, #-44]
.L33:
	ldr	r2, [fp, #-44]
	ldr	r3, [fp, #-52]
	cmp	r2, r3
	blt	.L34
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
.L32:
	ldr	r2, [fp, #-40]
	ldr	r3, [fp, #-48]
	cmp	r2, r3
	blt	.L35
.L36:
	ldr	r2, [fp, #-52]
	ldr	r1, [fp, #-48]
	ldr	r0, [fp, #-28]
	bl	show
	ldr	r2, [fp, #-52]
	ldr	r1, [fp, #-48]
	ldr	r0, [fp, #-28]
	bl	evolve
	ldr	r0, .L38+8
	bl	usleep
	b	.L36
.L39:
	.align	2
.L38:
	.word	.LC5
	.word	214748364
	.word	200000
	.size	game, .-game
	.section	.rodata
	.align	2
.LC6:
	.ascii	"\033[2J\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	ldr	r0, .L46
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-16]
	cmp	r3, #1
	ble	.L41
	ldr	r3, [fp, #-20]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	str	r0, [fp, #-12]
.L41:
	ldr	r3, [fp, #-16]
	cmp	r3, #2
	ble	.L42
	ldr	r3, [fp, #-20]
	add	r3, r3, #8
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	str	r0, [fp, #-8]
.L42:
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bgt	.L43
	mov	r3, #30
	str	r3, [fp, #-12]
.L43:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bgt	.L44
	mov	r3, #30
	str	r3, [fp, #-8]
.L44:
	ldr	r1, [fp, #-8]
	ldr	r0, [fp, #-12]
	bl	game
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L47:
	.align	2
.L46:
	.word	.LC6
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
