	.file	"72257.c"
	.intel_syntax noprefix
	.text
	.globl	destroy_organism
	.type	destroy_organism, @function
destroy_organism:
.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, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	free@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	destroy_organism, .-destroy_organism
	.globl	destroy_world
	.type	destroy_world, @function
destroy_world:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -8[rbp], 0
	jmp	.L3
.L6:
	mov	DWORD PTR -4[rbp], 0
	jmp	.L4
.L5:
	mov	rax, QWORD PTR -24[rbp]
	mov	ecx, DWORD PTR -4[rbp]
	mov	edx, DWORD PTR -8[rbp]
	sal	rdx, 6
	add	rdx, rcx
	mov	rax, QWORD PTR [rax+rdx*8]
	mov	rdi, rax
	call	destroy_organism
	add	DWORD PTR -4[rbp], 1
.L4:
	cmp	DWORD PTR -4[rbp], 63
	jbe	.L5
	add	DWORD PTR -8[rbp], 1
.L3:
	cmp	DWORD PTR -8[rbp], 127
	jbe	.L6
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	free@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	destroy_world, .-destroy_world
	.globl	display_color
	.type	display_color, @function
display_color:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	QWORD PTR -40[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -40[rbp]
	mov	esi, 2
	mov	rdi, rax
	call	gene_start_address
	mov	DWORD PTR -24[rbp], eax
	lea	rdx, -20[rbp]
	mov	ecx, DWORD PTR -24[rbp]
	mov	rax, QWORD PTR -40[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	parse_display_gene
	mov	edx, DWORD PTR -20[rbp]
	mov	eax, DWORD PTR -12[rbp]
	cmp	edx, eax
	jbe	.L8
	mov	edx, DWORD PTR -20[rbp]
	mov	eax, DWORD PTR -16[rbp]
	cmp	edx, eax
	jbe	.L8
	mov	BYTE PTR -25[rbp], 114
	jmp	.L9
.L8:
	mov	edx, DWORD PTR -16[rbp]
	mov	eax, DWORD PTR -20[rbp]
	cmp	edx, eax
	jbe	.L10
	mov	edx, DWORD PTR -16[rbp]
	mov	eax, DWORD PTR -12[rbp]
	cmp	edx, eax
	jbe	.L10
	mov	BYTE PTR -25[rbp], 103
	jmp	.L9
.L10:
	mov	edx, DWORD PTR -12[rbp]
	mov	eax, DWORD PTR -16[rbp]
	cmp	edx, eax
	jbe	.L11
	mov	edx, DWORD PTR -12[rbp]
	mov	eax, DWORD PTR -20[rbp]
	cmp	edx, eax
	jbe	.L11
	mov	BYTE PTR -25[rbp], 98
	jmp	.L9
.L11:
	mov	BYTE PTR -25[rbp], 119
.L9:
	movzx	eax, BYTE PTR -25[rbp]
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L13
	call	__stack_chk_fail@PLT
.L13:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	display_color, .-display_color
	.globl	eight_from_eight
	.type	eight_from_eight, @function
eight_from_eight:
.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, 1136
	mov	QWORD PTR -1112[rbp], rdi
	mov	DWORD PTR -1116[rbp], esi
	mov	DWORD PTR -1120[rbp], edx
	mov	DWORD PTR -1124[rbp], ecx
	mov	DWORD PTR -1128[rbp], r8d
	mov	DWORD PTR -1132[rbp], r9d
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	eax, DWORD PTR -1116[rbp]
	mov	DWORD PTR -1040[rbp], eax
	mov	eax, DWORD PTR -1120[rbp]
	mov	DWORD PTR -912[rbp], eax
	mov	eax, DWORD PTR -1124[rbp]
	mov	DWORD PTR -784[rbp], eax
	mov	eax, DWORD PTR -1128[rbp]
	mov	DWORD PTR -656[rbp], eax
	mov	eax, DWORD PTR -1132[rbp]
	mov	DWORD PTR -528[rbp], eax
	mov	eax, DWORD PTR 16[rbp]
	mov	DWORD PTR -400[rbp], eax
	mov	eax, DWORD PTR 24[rbp]
	mov	DWORD PTR -272[rbp], eax
	mov	eax, DWORD PTR 32[rbp]
	mov	DWORD PTR -144[rbp], eax
	mov	DWORD PTR -1092[rbp], 1
	jmp	.L15
.L18:
	mov	DWORD PTR -1096[rbp], 0
	jmp	.L16
.L17:
	mov	eax, DWORD PTR -1096[rbp]
	sub	eax, 1
	mov	esi, 8
	mov	edi, eax
	call	wrapped_index
	mov	DWORD PTR -1072[rbp], eax
	mov	eax, DWORD PTR -1096[rbp]
	mov	DWORD PTR -1068[rbp], eax
	mov	eax, DWORD PTR -1096[rbp]
	add	eax, 1
	mov	esi, 8
	mov	edi, eax
	call	wrapped_index
	mov	DWORD PTR -1064[rbp], eax
	mov	eax, DWORD PTR -1092[rbp]
	sub	eax, 1
	mov	edx, eax
	mov	eax, DWORD PTR -1072[rbp]
	sal	rax, 5
	add	rax, rdx
	mov	eax, DWORD PTR -1040[rbp+rax*4]
	mov	DWORD PTR -1060[rbp], eax
	mov	eax, DWORD PTR -1092[rbp]
	sub	eax, 1
	mov	edx, eax
	mov	eax, DWORD PTR -1068[rbp]
	sal	rax, 5
	add	rax, rdx
	mov	eax, DWORD PTR -1040[rbp+rax*4]
	mov	DWORD PTR -1056[rbp], eax
	mov	eax, DWORD PTR -1092[rbp]
	sub	eax, 1
	mov	edx, eax
	mov	eax, DWORD PTR -1064[rbp]
	sal	rax, 5
	add	rax, rdx
	mov	eax, DWORD PTR -1040[rbp+rax*4]
	mov	DWORD PTR -1052[rbp], eax
	mov	eax, DWORD PTR -1060[rbp]
	lea	edx, [rax+rax]
	mov	eax, DWORD PTR -1056[rbp]
	add	eax, edx
	lea	edx, [rax+rax]
	mov	eax, DWORD PTR -1052[rbp]
	add	eax, edx
	mov	DWORD PTR -1048[rbp], eax
	mov	ecx, DWORD PTR -1048[rbp]
	mov	rax, QWORD PTR -1112[rbp]
	mov	edx, 1
	mov	esi, ecx
	mov	rdi, rax
	call	unsigned_int_from_genome
	mov	DWORD PTR -1044[rbp], eax
	mov	edx, DWORD PTR -1092[rbp]
	mov	eax, DWORD PTR -1096[rbp]
	sal	rax, 5
	add	rdx, rax
	mov	eax, DWORD PTR -1044[rbp]
	mov	DWORD PTR -1040[rbp+rdx*4], eax
	add	DWORD PTR -1096[rbp], 1
.L16:
	cmp	DWORD PTR -1096[rbp], 7
	jbe	.L17
	add	DWORD PTR -1092[rbp], 1
.L15:
	cmp	DWORD PTR -1092[rbp], 31
	jbe	.L18
	mov	eax, DWORD PTR -916[rbp]
	mov	DWORD PTR -1088[rbp], eax
	mov	eax, DWORD PTR -788[rbp]
	mov	DWORD PTR -1084[rbp], eax
	mov	eax, DWORD PTR -660[rbp]
	mov	DWORD PTR -1080[rbp], eax
	mov	eax, DWORD PTR -1088[rbp]
	lea	edx, [rax+rax]
	mov	eax, DWORD PTR -1084[rbp]
	add	eax, edx
	lea	edx, [rax+rax]
	mov	eax, DWORD PTR -1080[rbp]
	add	eax, edx
	mov	DWORD PTR -1076[rbp], eax
	mov	eax, DWORD PTR -1076[rbp]
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L20
	call	__stack_chk_fail@PLT
.L20:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	eight_from_eight, .-eight_from_eight
	.globl	gene_at_virtual_index
	.type	gene_at_virtual_index, @function
gene_at_virtual_index:
.LFB10:
	.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	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	eax, DWORD PTR -28[rbp]
	mov	esi, 256
	mov	edi, eax
	call	wrapped_index
	mov	DWORD PTR -4[rbp], eax
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -4[rbp]
	sal	rax, 2
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	gene_at_virtual_index, .-gene_at_virtual_index
	.globl	gene_start_address
	.type	gene_start_address, @function
gene_start_address:
.LFB11:
	.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	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	DWORD PTR -12[rbp], 0
	mov	DWORD PTR -8[rbp], 1
	mov	eax, DWORD PTR -28[rbp]
	sal	eax, 3
	mov	DWORD PTR -4[rbp], eax
	mov	ecx, DWORD PTR -4[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, 8
	mov	esi, ecx
	mov	rdi, rax
	call	unsigned_int_from_genome
	mov	DWORD PTR -12[rbp], eax
	mov	eax, DWORD PTR -12[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	gene_start_address, .-gene_start_address
	.globl	iterate_organism
	.type	iterate_organism, @function
iterate_organism:
.LFB12:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	mov	rdx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	move_organism
	mov	rdx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	meet_organism
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	iterate_organism, .-iterate_organism
	.globl	iterate_world
	.type	iterate_world, @function
iterate_world:
.LFB13:
	.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	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -8[rbp], 0
	jmp	.L27
.L30:
	mov	DWORD PTR -4[rbp], 0
	jmp	.L28
.L29:
	mov	rax, QWORD PTR -24[rbp]
	mov	ecx, DWORD PTR -4[rbp]
	mov	edx, DWORD PTR -8[rbp]
	sal	rdx, 6
	add	rdx, rcx
	mov	rdx, QWORD PTR [rax+rdx*8]
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	iterate_organism
	add	DWORD PTR -4[rbp], 1
.L28:
	cmp	DWORD PTR -4[rbp], 63
	jbe	.L29
	add	DWORD PTR -8[rbp], 1
.L27:
	cmp	DWORD PTR -8[rbp], 127
	jbe	.L30
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	iterate_world, .-iterate_world
	.globl	meet_organism
	.type	meet_organism, @function
meet_organism:
.LFB14:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	QWORD PTR -40[rbp], rdi
	mov	QWORD PTR -48[rbp], rsi
	mov	rax, QWORD PTR -48[rbp]
	mov	esi, 4
	mov	rdi, rax
	call	gene_start_address
	mov	edx, eax
	mov	rcx, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR -40[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	position_index_for_observe_location
	mov	DWORD PTR -20[rbp], eax
	mov	eax, DWORD PTR -20[rbp]
	mov	edi, eax
	call	relative_position_from_index
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -48[rbp]
	mov	edx, DWORD PTR 12[rax]
	mov	eax, DWORD PTR -4[rbp]
	add	eax, edx
	mov	edx, eax
	mov	rax, QWORD PTR -48[rbp]
	mov	ecx, DWORD PTR 8[rax]
	mov	eax, DWORD PTR -8[rbp]
	add	eax, ecx
	mov	ecx, eax
	mov	rax, QWORD PTR -40[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	organism_at_virtual_coordinates
	mov	QWORD PTR -16[rbp], rax
	mov	rdx, QWORD PTR -16[rbp]
	mov	rcx, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR -40[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	meet_organism_details
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	meet_organism, .-meet_organism
	.globl	meet_organism_details
	.type	meet_organism_details, @function
meet_organism_details:
.LFB15:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 64
	mov	QWORD PTR -40[rbp], rdi
	mov	QWORD PTR -48[rbp], rsi
	mov	QWORD PTR -56[rbp], rdx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -48[rbp]
	mov	esi, 4
	mov	rdi, rax
	call	gene_start_address
	mov	DWORD PTR -24[rbp], eax
	lea	rdx, -16[rbp]
	mov	ecx, DWORD PTR -24[rbp]
	mov	rax, QWORD PTR -48[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	parse_meet_gene
	mov	DWORD PTR -28[rbp], 0
	jmp	.L33
.L34:
	mov	eax, DWORD PTR -28[rbp]
	mov	esi, 256
	mov	edi, eax
	call	wrapped_index
	mov	DWORD PTR -20[rbp], eax
	mov	rax, QWORD PTR -48[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -20[rbp]
	sal	rax, 2
	lea	rcx, [rdx+rax]
	mov	rax, QWORD PTR -56[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -20[rbp]
	sal	rax, 2
	add	rdx, rax
	mov	eax, DWORD PTR [rcx]
	mov	DWORD PTR [rdx], eax
	add	DWORD PTR -28[rbp], 1
.L33:
	mov	eax, DWORD PTR -12[rbp]
	cmp	DWORD PTR -28[rbp], eax
	jb	.L34
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L35
	call	__stack_chk_fail@PLT
.L35:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE15:
	.size	meet_organism_details, .-meet_organism_details
	.globl	move_organism
	.type	move_organism, @function
move_organism:
.LFB16:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	QWORD PTR -40[rbp], rdi
	mov	QWORD PTR -48[rbp], rsi
	mov	rax, QWORD PTR -48[rbp]
	mov	esi, 3
	mov	rdi, rax
	call	gene_start_address
	mov	edx, eax
	mov	rcx, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR -40[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	position_index_for_observe_location
	mov	DWORD PTR -28[rbp], eax
	mov	eax, DWORD PTR -28[rbp]
	mov	edi, eax
	call	relative_position_from_index
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -48[rbp]
	mov	edx, DWORD PTR 12[rax]
	mov	eax, DWORD PTR -4[rbp]
	add	eax, edx
	mov	edx, eax
	mov	rax, QWORD PTR -48[rbp]
	mov	ecx, DWORD PTR 8[rax]
	mov	eax, DWORD PTR -8[rbp]
	add	eax, ecx
	mov	ecx, eax
	mov	rax, QWORD PTR -40[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	organism_at_virtual_coordinates
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR 8[rax]
	mov	DWORD PTR -24[rbp], eax
	mov	rax, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR 12[rax]
	mov	DWORD PTR -20[rbp], eax
	mov	rax, QWORD PTR -40[rbp]
	mov	ecx, DWORD PTR -20[rbp]
	mov	edx, DWORD PTR -24[rbp]
	sal	rdx, 6
	add	rcx, rdx
	mov	rdx, QWORD PTR -48[rbp]
	mov	QWORD PTR [rax+rcx*8], rdx
	mov	rax, QWORD PTR -48[rbp]
	mov	edx, DWORD PTR 8[rax]
	mov	rax, QWORD PTR -48[rbp]
	mov	ecx, DWORD PTR 12[rax]
	mov	rax, QWORD PTR -40[rbp]
	mov	ecx, ecx
	mov	edx, edx
	sal	rdx, 6
	add	rcx, rdx
	mov	rdx, QWORD PTR -16[rbp]
	mov	QWORD PTR [rax+rcx*8], rdx
	mov	rax, QWORD PTR -48[rbp]
	mov	edx, DWORD PTR 8[rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	DWORD PTR 8[rax], edx
	mov	rax, QWORD PTR -48[rbp]
	mov	edx, DWORD PTR 12[rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	DWORD PTR 12[rax], edx
	mov	rax, QWORD PTR -48[rbp]
	mov	edx, DWORD PTR -24[rbp]
	mov	DWORD PTR 8[rax], edx
	mov	rax, QWORD PTR -48[rbp]
	mov	edx, DWORD PTR -20[rbp]
	mov	DWORD PTR 12[rax], edx
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE16:
	.size	move_organism, .-move_organism
	.globl	new_organism
	.type	new_organism, @function
new_organism:
.LFB17:
	.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, 40
	.cfi_offset 3, -24
	mov	DWORD PTR -36[rbp], edi
	mov	DWORD PTR -40[rbp], esi
	mov	edi, 24
	call	malloc@PLT
	mov	QWORD PTR -24[rbp], rax
	mov	edi, 1024
	call	malloc@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR -36[rbp]
	mov	DWORD PTR 8[rax], edx
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR -40[rbp]
	mov	DWORD PTR 12[rax], edx
	mov	edi, 6
	call	random_unsigned_int
	add	eax, 42
	mov	edx, eax
	mov	rax, QWORD PTR -24[rbp]
	mov	BYTE PTR 16[rax], dl
	mov	DWORD PTR -28[rbp], 0
	jmp	.L38
.L39:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -28[rbp]
	sal	rax, 2
	lea	rbx, [rdx+rax]
	mov	edi, 2
	call	random_unsigned_int
	mov	DWORD PTR [rbx], eax
	add	DWORD PTR -28[rbp], 1
.L38:
	cmp	DWORD PTR -28[rbp], 255
	jbe	.L39
	mov	rax, QWORD PTR -24[rbp]
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE17:
	.size	new_organism, .-new_organism
	.globl	new_world
	.type	new_world, @function
new_world:
.LFB18:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	edi, 65536
	call	malloc@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	DWORD PTR -16[rbp], 0
	jmp	.L42
.L45:
	mov	DWORD PTR -12[rbp], 0
	jmp	.L43
.L44:
	mov	edx, DWORD PTR -12[rbp]
	mov	eax, DWORD PTR -16[rbp]
	mov	esi, edx
	mov	edi, eax
	call	new_organism
	mov	rdx, QWORD PTR -8[rbp]
	mov	esi, DWORD PTR -12[rbp]
	mov	ecx, DWORD PTR -16[rbp]
	sal	rcx, 6
	add	rcx, rsi
	mov	QWORD PTR [rdx+rcx*8], rax
	add	DWORD PTR -12[rbp], 1
.L43:
	cmp	DWORD PTR -12[rbp], 63
	jbe	.L44
	add	DWORD PTR -16[rbp], 1
.L42:
	cmp	DWORD PTR -16[rbp], 127
	jbe	.L45
	mov	rax, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE18:
	.size	new_world, .-new_world
	.globl	organism_at_virtual_coordinates
	.type	organism_at_virtual_coordinates, @function
organism_at_virtual_coordinates:
.LFB19:
	.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	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	DWORD PTR -32[rbp], edx
	mov	eax, DWORD PTR -28[rbp]
	mov	esi, 128
	mov	edi, eax
	call	wrapped_index
	mov	DWORD PTR -8[rbp], eax
	mov	eax, DWORD PTR -32[rbp]
	mov	esi, 64
	mov	edi, eax
	call	wrapped_index
	mov	DWORD PTR -4[rbp], eax
	mov	rax, QWORD PTR -24[rbp]
	mov	ecx, DWORD PTR -4[rbp]
	mov	edx, DWORD PTR -8[rbp]
	sal	rdx, 6
	add	rdx, rcx
	mov	rax, QWORD PTR [rax+rdx*8]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE19:
	.size	organism_at_virtual_coordinates, .-organism_at_virtual_coordinates
	.globl	parse_display_gene
	.type	parse_display_gene, @function
parse_display_gene:
.LFB20:
	.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	QWORD PTR -8[rbp], rdi
	mov	DWORD PTR -12[rbp], esi
	mov	QWORD PTR -24[rbp], rdx
	mov	ecx, DWORD PTR -12[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, 8
	mov	esi, ecx
	mov	rdi, rax
	call	unsigned_int_from_genome
	mov	rdx, QWORD PTR -24[rbp]
	mov	DWORD PTR [rdx], eax
	mov	eax, DWORD PTR -12[rbp]
	lea	ecx, 8[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, 8
	mov	esi, ecx
	mov	rdi, rax
	call	unsigned_int_from_genome
	mov	rdx, QWORD PTR -24[rbp]
	mov	DWORD PTR 4[rdx], eax
	mov	eax, DWORD PTR -12[rbp]
	lea	ecx, 16[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, 8
	mov	esi, ecx
	mov	rdi, rax
	call	unsigned_int_from_genome
	mov	rdx, QWORD PTR -24[rbp]
	mov	DWORD PTR 8[rdx], eax
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE20:
	.size	parse_display_gene, .-parse_display_gene
	.globl	parse_meet_gene
	.type	parse_meet_gene, @function
parse_meet_gene:
.LFB21:
	.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	QWORD PTR -8[rbp], rdi
	mov	DWORD PTR -12[rbp], esi
	mov	QWORD PTR -24[rbp], rdx
	mov	ecx, DWORD PTR -12[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, 8
	mov	esi, ecx
	mov	rdi, rax
	call	unsigned_int_from_genome
	mov	rdx, QWORD PTR -24[rbp]
	mov	DWORD PTR [rdx], eax
	mov	eax, DWORD PTR -12[rbp]
	lea	ecx, 8[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, 8
	mov	esi, ecx
	mov	rdi, rax
	call	unsigned_int_from_genome
	mov	rdx, QWORD PTR -24[rbp]
	mov	DWORD PTR 4[rdx], eax
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE21:
	.size	parse_meet_gene, .-parse_meet_gene
	.globl	position_index_for_observe_location
	.type	position_index_for_observe_location, @function
position_index_for_observe_location:
.LFB22:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 144
	mov	QWORD PTR -120[rbp], rdi
	mov	QWORD PTR -128[rbp], rsi
	mov	DWORD PTR -132[rbp], edx
	mov	rax, QWORD PTR -128[rbp]
	mov	eax, DWORD PTR 12[rax]
	sub	eax, 1
	mov	edx, eax
	mov	rax, QWORD PTR -128[rbp]
	mov	eax, DWORD PTR 8[rax]
	sub	eax, 1
	mov	ecx, eax
	mov	rax, QWORD PTR -120[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	organism_at_virtual_coordinates
	mov	QWORD PTR -64[rbp], rax
	mov	rax, QWORD PTR -128[rbp]
	mov	eax, DWORD PTR 12[rax]
	sub	eax, 1
	mov	edx, eax
	mov	rax, QWORD PTR -128[rbp]
	mov	eax, DWORD PTR 8[rax]
	mov	ecx, eax
	mov	rax, QWORD PTR -120[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	organism_at_virtual_coordinates
	mov	QWORD PTR -56[rbp], rax
	mov	rax, QWORD PTR -128[rbp]
	mov	eax, DWORD PTR 12[rax]
	sub	eax, 1
	mov	edx, eax
	mov	rax, QWORD PTR -128[rbp]
	mov	eax, DWORD PTR 8[rax]
	add	eax, 1
	mov	ecx, eax
	mov	rax, QWORD PTR -120[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	organism_at_virtual_coordinates
	mov	QWORD PTR -48[rbp], rax
	mov	rax, QWORD PTR -128[rbp]
	mov	eax, DWORD PTR 12[rax]
	mov	edx, eax
	mov	rax, QWORD PTR -128[rbp]
	mov	eax, DWORD PTR 8[rax]
	add	eax, 1
	mov	ecx, eax
	mov	rax, QWORD PTR -120[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	organism_at_virtual_coordinates
	mov	QWORD PTR -40[rbp], rax
	mov	rax, QWORD PTR -128[rbp]
	mov	eax, DWORD PTR 12[rax]
	add	eax, 1
	mov	edx, eax
	mov	rax, QWORD PTR -128[rbp]
	mov	eax, DWORD PTR 8[rax]
	add	eax, 1
	mov	ecx, eax
	mov	rax, QWORD PTR -120[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	organism_at_virtual_coordinates
	mov	QWORD PTR -32[rbp], rax
	mov	rax, QWORD PTR -128[rbp]
	mov	eax, DWORD PTR 12[rax]
	add	eax, 1
	mov	edx, eax
	mov	rax, QWORD PTR -128[rbp]
	mov	eax, DWORD PTR 8[rax]
	mov	ecx, eax
	mov	rax, QWORD PTR -120[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	organism_at_virtual_coordinates
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -128[rbp]
	mov	eax, DWORD PTR 12[rax]
	add	eax, 1
	mov	edx, eax
	mov	rax, QWORD PTR -128[rbp]
	mov	eax, DWORD PTR 8[rax]
	sub	eax, 1
	mov	ecx, eax
	mov	rax, QWORD PTR -120[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	organism_at_virtual_coordinates
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -128[rbp]
	mov	eax, DWORD PTR 12[rax]
	mov	edx, eax
	mov	rax, QWORD PTR -128[rbp]
	mov	eax, DWORD PTR 8[rax]
	sub	eax, 1
	mov	ecx, eax
	mov	rax, QWORD PTR -120[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	organism_at_virtual_coordinates
	mov	QWORD PTR -8[rbp], rax
	mov	ecx, DWORD PTR -132[rbp]
	mov	rax, QWORD PTR -64[rbp]
	mov	edx, 1
	mov	esi, ecx
	mov	rdi, rax
	call	unsigned_int_from_genome
	mov	DWORD PTR -100[rbp], eax
	mov	ecx, DWORD PTR -132[rbp]
	mov	rax, QWORD PTR -56[rbp]
	mov	edx, 1
	mov	esi, ecx
	mov	rdi, rax
	call	unsigned_int_from_genome
	mov	DWORD PTR -96[rbp], eax
	mov	ecx, DWORD PTR -132[rbp]
	mov	rax, QWORD PTR -48[rbp]
	mov	edx, 1
	mov	esi, ecx
	mov	rdi, rax
	call	unsigned_int_from_genome
	mov	DWORD PTR -92[rbp], eax
	mov	ecx, DWORD PTR -132[rbp]
	mov	rax, QWORD PTR -40[rbp]
	mov	edx, 1
	mov	esi, ecx
	mov	rdi, rax
	call	unsigned_int_from_genome
	mov	DWORD PTR -88[rbp], eax
	mov	ecx, DWORD PTR -132[rbp]
	mov	rax, QWORD PTR -32[rbp]
	mov	edx, 1
	mov	esi, ecx
	mov	rdi, rax
	call	unsigned_int_from_genome
	mov	DWORD PTR -84[rbp], eax
	mov	ecx, DWORD PTR -132[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, 1
	mov	esi, ecx
	mov	rdi, rax
	call	unsigned_int_from_genome
	mov	DWORD PTR -80[rbp], eax
	mov	ecx, DWORD PTR -132[rbp]
	mov	rax, QWORD PTR -16[rbp]
	mov	edx, 1
	mov	esi, ecx
	mov	rdi, rax
	call	unsigned_int_from_genome
	mov	DWORD PTR -76[rbp], eax
	mov	ecx, DWORD PTR -132[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, 1
	mov	esi, ecx
	mov	rdi, rax
	call	unsigned_int_from_genome
	mov	DWORD PTR -72[rbp], eax
	mov	r9d, DWORD PTR -84[rbp]
	mov	r8d, DWORD PTR -88[rbp]
	mov	ecx, DWORD PTR -92[rbp]
	mov	edx, DWORD PTR -96[rbp]
	mov	esi, DWORD PTR -100[rbp]
	mov	rax, QWORD PTR -128[rbp]
	sub	rsp, 8
	mov	edi, DWORD PTR -72[rbp]
	push	rdi
	mov	edi, DWORD PTR -76[rbp]
	push	rdi
	mov	edi, DWORD PTR -80[rbp]
	push	rdi
	mov	rdi, rax
	call	eight_from_eight
	add	rsp, 32
	mov	DWORD PTR -68[rbp], eax
	mov	eax, DWORD PTR -68[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE22:
	.size	position_index_for_observe_location, .-position_index_for_observe_location
	.globl	relative_position_from_index
	.type	relative_position_from_index, @function
relative_position_from_index:
.LFB23:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -20[rbp], edi
	cmp	DWORD PTR -20[rbp], 7
	ja	.L54
	mov	eax, DWORD PTR -20[rbp]
	lea	rdx, 0[0+rax*4]
	lea	rax, .L56[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L56[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L56:
	.long	.L63-.L56
	.long	.L62-.L56
	.long	.L61-.L56
	.long	.L60-.L56
	.long	.L59-.L56
	.long	.L58-.L56
	.long	.L57-.L56
	.long	.L55-.L56
	.text
.L63:
	mov	DWORD PTR -8[rbp], -1
	mov	DWORD PTR -4[rbp], -1
	jmp	.L54
.L62:
	mov	DWORD PTR -8[rbp], 0
	mov	DWORD PTR -4[rbp], -1
	jmp	.L54
.L61:
	mov	DWORD PTR -8[rbp], 1
	mov	DWORD PTR -4[rbp], -1
	jmp	.L54
.L60:
	mov	DWORD PTR -8[rbp], 1
	mov	DWORD PTR -4[rbp], 0
	jmp	.L54
.L59:
	mov	DWORD PTR -8[rbp], 1
	mov	DWORD PTR -4[rbp], 1
	jmp	.L54
.L58:
	mov	DWORD PTR -8[rbp], 0
	mov	DWORD PTR -4[rbp], 1
	jmp	.L54
.L57:
	mov	DWORD PTR -8[rbp], -1
	mov	DWORD PTR -4[rbp], 1
	jmp	.L54
.L55:
	mov	DWORD PTR -8[rbp], -1
	mov	DWORD PTR -4[rbp], 0
	nop
.L54:
	mov	rax, QWORD PTR -8[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE23:
	.size	relative_position_from_index, .-relative_position_from_index
	.globl	random_unsigned_int
	.type	random_unsigned_int, @function
random_unsigned_int:
.LFB24:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	DWORD PTR -4[rbp], edi
	call	random@PLT
	mov	ecx, DWORD PTR -4[rbp]
	cqo
	idiv	rcx
	mov	rax, rdx
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE24:
	.size	random_unsigned_int, .-random_unsigned_int
	.globl	unsigned_int_from_genome
	.type	unsigned_int_from_genome, @function
unsigned_int_from_genome:
.LFB25:
	.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	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	DWORD PTR -32[rbp], edx
	mov	DWORD PTR -12[rbp], 1
	mov	DWORD PTR -8[rbp], 0
	mov	edx, DWORD PTR -28[rbp]
	mov	eax, DWORD PTR -32[rbp]
	add	eax, edx
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -28[rbp]
	mov	DWORD PTR -16[rbp], eax
	jmp	.L68
.L69:
	mov	edx, DWORD PTR -16[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	gene_at_virtual_index
	imul	eax, DWORD PTR -12[rbp]
	add	DWORD PTR -8[rbp], eax
	sal	DWORD PTR -12[rbp]
	add	DWORD PTR -16[rbp], 1
.L68:
	mov	eax, DWORD PTR -16[rbp]
	cmp	eax, DWORD PTR -4[rbp]
	jb	.L69
	mov	eax, DWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE25:
	.size	unsigned_int_from_genome, .-unsigned_int_from_genome
	.globl	wrapped_index
	.type	wrapped_index, @function
wrapped_index:
.LFB26:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -20[rbp], edi
	mov	DWORD PTR -24[rbp], esi
	mov	eax, DWORD PTR -24[rbp]
	cmp	DWORD PTR -20[rbp], eax
	jl	.L72
	mov	eax, DWORD PTR -20[rbp]
	sub	eax, DWORD PTR -24[rbp]
	mov	DWORD PTR -4[rbp], eax
	jmp	.L73
.L72:
	cmp	DWORD PTR -20[rbp], 0
	jns	.L74
	mov	edx, DWORD PTR -20[rbp]
	mov	eax, DWORD PTR -24[rbp]
	add	eax, edx
	mov	DWORD PTR -4[rbp], eax
	jmp	.L73
.L74:
	mov	eax, DWORD PTR -20[rbp]
	mov	DWORD PTR -4[rbp], eax
.L73:
	mov	eax, DWORD PTR -4[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE26:
	.size	wrapped_index, .-wrapped_index
	.section	.rodata
.LC0:
	.string	"red"
.LC1:
	.string	"green"
.LC2:
	.string	"blue"
.LC3:
	.string	"white"
.LC4:
	.string	"black"
	.text
	.globl	main
	.type	main, @function
main:
.LFB27:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 432
	mov	DWORD PTR -420[rbp], edi
	mov	QWORD PTR -432[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -404[rbp], 0
	mov	edi, 910241
	call	srandom@PLT
	mov	edi, 0
	call	XOpenDisplay@PLT
	mov	QWORD PTR -344[rbp], rax
	mov	rax, QWORD PTR -344[rbp]
	mov	eax, DWORD PTR 224[rax]
	mov	DWORD PTR -392[rbp], eax
	mov	rax, QWORD PTR -344[rbp]
	mov	rdx, QWORD PTR 232[rax]
	mov	eax, DWORD PTR -392[rbp]
	cdqe
	sal	rax, 7
	add	rax, rdx
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR -336[rbp], rax
	mov	DWORD PTR -388[rbp], 0
	mov	DWORD PTR -384[rbp], 0
	mov	DWORD PTR -380[rbp], 531
	mov	DWORD PTR -376[rbp], 600
	mov	DWORD PTR -372[rbp], 0
	mov	rax, QWORD PTR -344[rbp]
	mov	rdx, QWORD PTR 232[rax]
	mov	eax, DWORD PTR -392[rbp]
	cdqe
	sal	rax, 7
	add	rax, rdx
	mov	rax, QWORD PTR 96[rax]
	mov	QWORD PTR -328[rbp], rax
	mov	rax, QWORD PTR -344[rbp]
	mov	rdx, QWORD PTR 232[rax]
	mov	eax, DWORD PTR -392[rbp]
	cdqe
	sal	rax, 7
	add	rax, rdx
	mov	rax, QWORD PTR 88[rax]
	mov	QWORD PTR -320[rbp], rax
	mov	r9d, DWORD PTR -376[rbp]
	mov	r8d, DWORD PTR -380[rbp]
	mov	ecx, DWORD PTR -384[rbp]
	mov	edx, DWORD PTR -388[rbp]
	mov	rsi, QWORD PTR -336[rbp]
	mov	rax, QWORD PTR -344[rbp]
	sub	rsp, 8
	push	QWORD PTR -320[rbp]
	push	QWORD PTR -328[rbp]
	mov	edi, DWORD PTR -372[rbp]
	push	rdi
	mov	rdi, rax
	call	XCreateSimpleWindow@PLT
	add	rsp, 32
	mov	QWORD PTR -312[rbp], rax
	mov	rdx, QWORD PTR -312[rbp]
	mov	rax, QWORD PTR -344[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	XMapWindow@PLT
	mov	rax, QWORD PTR -344[rbp]
	mov	rdi, rax
	call	XFlush@PLT
	mov	QWORD PTR -304[rbp], 0
	lea	rcx, -144[rbp]
	mov	rdx, QWORD PTR -304[rbp]
	mov	rsi, QWORD PTR -312[rbp]
	mov	rax, QWORD PTR -344[rbp]
	mov	rdi, rax
	call	XCreateGC@PLT
	mov	QWORD PTR -296[rbp], rax
	mov	rax, QWORD PTR -344[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	XSync@PLT
	mov	rax, QWORD PTR -344[rbp]
	mov	rdx, QWORD PTR 232[rax]
	mov	rax, QWORD PTR -344[rbp]
	mov	eax, DWORD PTR 224[rax]
	cdqe
	sal	rax, 7
	add	rax, rdx
	mov	rax, QWORD PTR 64[rax]
	mov	QWORD PTR -288[rbp], rax
	mov	rdx, QWORD PTR -288[rbp]
	mov	rsi, QWORD PTR -312[rbp]
	mov	rax, QWORD PTR -344[rbp]
	mov	ecx, 0
	mov	rdi, rax
	call	XCreateColormap@PLT
	mov	QWORD PTR -280[rbp], rax
	lea	rcx, -160[rbp]
	lea	rdx, -256[rbp]
	mov	rsi, QWORD PTR -280[rbp]
	mov	rax, QWORD PTR -344[rbp]
	mov	r8, rcx
	mov	rcx, rdx
	lea	rdx, .LC0[rip]
	mov	rdi, rax
	call	XAllocNamedColor@PLT
	lea	rcx, -160[rbp]
	lea	rdx, -240[rbp]
	mov	rsi, QWORD PTR -280[rbp]
	mov	rax, QWORD PTR -344[rbp]
	mov	r8, rcx
	mov	rcx, rdx
	lea	rdx, .LC1[rip]
	mov	rdi, rax
	call	XAllocNamedColor@PLT
	lea	rcx, -160[rbp]
	lea	rdx, -224[rbp]
	mov	rsi, QWORD PTR -280[rbp]
	mov	rax, QWORD PTR -344[rbp]
	mov	r8, rcx
	mov	rcx, rdx
	lea	rdx, .LC2[rip]
	mov	rdi, rax
	call	XAllocNamedColor@PLT
	lea	rcx, -160[rbp]
	lea	rdx, -208[rbp]
	mov	rsi, QWORD PTR -280[rbp]
	mov	rax, QWORD PTR -344[rbp]
	mov	r8, rcx
	mov	rcx, rdx
	lea	rdx, .LC3[rip]
	mov	rdi, rax
	call	XAllocNamedColor@PLT
	lea	rcx, -160[rbp]
	lea	rdx, -192[rbp]
	mov	rsi, QWORD PTR -280[rbp]
	mov	rax, QWORD PTR -344[rbp]
	mov	r8, rcx
	mov	rcx, rdx
	lea	rdx, .LC4[rip]
	mov	rdi, rax
	call	XAllocNamedColor@PLT
	mov	eax, 0
	call	new_world
	mov	QWORD PTR -272[rbp], rax
	mov	DWORD PTR -408[rbp], 0
	jmp	.L77
.L83:
	mov	edi, 128
	call	random_unsigned_int
	mov	DWORD PTR -368[rbp], eax
	mov	edi, 64
	call	random_unsigned_int
	mov	DWORD PTR -364[rbp], eax
	mov	eax, DWORD PTR -368[rbp]
	mov	DWORD PTR -400[rbp], eax
	mov	eax, DWORD PTR -364[rbp]
	mov	DWORD PTR -396[rbp], eax
	mov	eax, DWORD PTR -408[rbp]
	and	eax, 7
	test	eax, eax
	jne	.L78
	mov	DWORD PTR -400[rbp], 0
	jmp	.L79
.L82:
	mov	DWORD PTR -396[rbp], 0
	jmp	.L80
.L81:
	mov	rax, QWORD PTR -272[rbp]
	mov	ecx, DWORD PTR -396[rbp]
	mov	edx, DWORD PTR -400[rbp]
	sal	rdx, 6
	add	rdx, rcx
	mov	rax, QWORD PTR [rax+rdx*8]
	mov	QWORD PTR -264[rbp], rax
	mov	rax, QWORD PTR -264[rbp]
	mov	esi, 2
	mov	rdi, rax
	call	gene_start_address
	mov	DWORD PTR -360[rbp], eax
	mov	ecx, DWORD PTR -360[rbp]
	mov	rax, QWORD PTR -264[rbp]
	mov	edx, 32
	mov	esi, ecx
	mov	rdi, rax
	call	unsigned_int_from_genome
	mov	DWORD PTR -356[rbp], eax
	mov	eax, DWORD PTR -360[rbp]
	lea	ecx, 32[rax]
	mov	rax, QWORD PTR -264[rbp]
	mov	edx, 32
	mov	esi, ecx
	mov	rdi, rax
	call	unsigned_int_from_genome
	mov	DWORD PTR -352[rbp], eax
	mov	eax, DWORD PTR -360[rbp]
	lea	ecx, 64[rax]
	mov	rax, QWORD PTR -264[rbp]
	mov	edx, 32
	mov	esi, ecx
	mov	rdi, rax
	call	unsigned_int_from_genome
	mov	DWORD PTR -348[rbp], eax
	mov	eax, DWORD PTR -356[rbp]
	and	ax, 8191
	mov	WORD PTR -168[rbp], ax
	mov	eax, DWORD PTR -352[rbp]
	mov	WORD PTR -166[rbp], ax
	mov	eax, DWORD PTR -348[rbp]
	mov	WORD PTR -164[rbp], ax
	lea	rdx, -176[rbp]
	mov	rcx, QWORD PTR -280[rbp]
	mov	rax, QWORD PTR -344[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	XAllocColor@PLT
	mov	rdx, QWORD PTR -176[rbp]
	mov	rcx, QWORD PTR -296[rbp]
	mov	rax, QWORD PTR -344[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	XSetForeground@PLT
	mov	eax, DWORD PTR -404[rbp]
	shr	eax, 2
	mov	edx, eax
	mov	eax, edx
	sal	eax, 6
	add	edx, eax
	mov	eax, DWORD PTR -396[rbp]
	add	eax, edx
	mov	edi, eax
	mov	eax, DWORD PTR -404[rbp]
	and	eax, 3
	mov	edx, eax
	mov	eax, edx
	sal	eax, 7
	add	edx, eax
	mov	eax, DWORD PTR -400[rbp]
	add	eax, edx
	mov	ecx, eax
	mov	rdx, QWORD PTR -296[rbp]
	mov	rsi, QWORD PTR -312[rbp]
	mov	rax, QWORD PTR -344[rbp]
	mov	r8d, edi
	mov	rdi, rax
	call	XDrawPoint@PLT
	add	DWORD PTR -396[rbp], 1
.L80:
	cmp	DWORD PTR -396[rbp], 63
	jbe	.L81
	add	DWORD PTR -400[rbp], 1
.L79:
	cmp	DWORD PTR -400[rbp], 127
	jbe	.L82
	add	DWORD PTR -404[rbp], 1
	mov	rax, QWORD PTR -344[rbp]
	mov	rdi, rax
	call	XFlush@PLT
	mov	edi, 0
	call	usleep@PLT
.L78:
	mov	rax, QWORD PTR -272[rbp]
	mov	rdi, rax
	call	iterate_world
	add	DWORD PTR -408[rbp], 1
.L77:
	cmp	DWORD PTR -408[rbp], 287
	jbe	.L83
.L84:
	mov	edi, 0
	call	usleep@PLT
	jmp	.L84
	.cfi_endproc
.LFE27:
	.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	"72257.c"
	.text
	.align	2
	.global	destroy_organism
	.syntax unified
	.arm
	.fpu softvfp
	.type	destroy_organism, %function
destroy_organism:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	mov	r0, r3
	bl	free
	ldr	r0, [fp, #-8]
	bl	free
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	destroy_organism, .-destroy_organism
	.align	2
	.global	destroy_world
	.syntax unified
	.arm
	.fpu softvfp
	.type	destroy_world, %function
destroy_world:
	@ 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]
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L3
.L6:
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L4
.L5:
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-12]
	lsl	r1, r2, #6
	ldr	r2, [fp, #-8]
	add	r2, r1, r2
	ldr	r3, [r3, r2, lsl #2]
	mov	r0, r3
	bl	destroy_organism
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L4:
	ldr	r3, [fp, #-8]
	cmp	r3, #63
	bls	.L5
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L3:
	ldr	r3, [fp, #-12]
	cmp	r3, #127
	bls	.L6
	ldr	r0, [fp, #-16]
	bl	free
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	destroy_world, .-destroy_world
	.section	.rodata
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	display_color
	.syntax unified
	.arm
	.fpu softvfp
	.type	display_color, %function
display_color:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-32]
	ldr	r3, .L14
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r1, #2
	ldr	r0, [fp, #-32]
	bl	gene_start_address
	str	r0, [fp, #-24]
	sub	r3, fp, #20
	mov	r2, r3
	ldr	r1, [fp, #-24]
	ldr	r0, [fp, #-32]
	bl	parse_display_gene
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-12]
	cmp	r2, r3
	bls	.L8
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-16]
	cmp	r2, r3
	bls	.L8
	mov	r3, #114
	strb	r3, [fp, #-25]
	b	.L9
.L8:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	bls	.L10
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-12]
	cmp	r2, r3
	bls	.L10
	mov	r3, #103
	strb	r3, [fp, #-25]
	b	.L9
.L10:
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-16]
	cmp	r2, r3
	bls	.L11
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	bls	.L11
	mov	r3, #98
	strb	r3, [fp, #-25]
	b	.L9
.L11:
	mov	r3, #119
	strb	r3, [fp, #-25]
.L9:
	ldrb	r3, [fp, #-25]	@ zero_extendqisi2
	ldr	r2, .L14
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L13
	bl	__stack_chk_fail
.L13:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L15:
	.align	2
.L14:
	.word	.LC0
	.size	display_color, .-display_color
	.section	.rodata
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	eight_from_eight
	.syntax unified
	.arm
	.fpu softvfp
	.type	eight_from_eight, %function
eight_from_eight:
	@ args = 20, pretend = 0, frame = 1104
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #1104
	str	r0, [fp, #-1096]
	str	r1, [fp, #-1100]
	str	r2, [fp, #-1104]
	str	r3, [fp, #-1108]
	ldr	r3, .L23
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-1100]
	str	r3, [fp, #-1032]
	ldr	r3, [fp, #-1104]
	str	r3, [fp, #-904]
	ldr	r3, [fp, #-1108]
	str	r3, [fp, #-776]
	ldr	r3, [fp, #4]
	str	r3, [fp, #-648]
	ldr	r3, [fp, #8]
	str	r3, [fp, #-520]
	ldr	r3, [fp, #12]
	str	r3, [fp, #-392]
	ldr	r3, [fp, #16]
	str	r3, [fp, #-264]
	ldr	r3, [fp, #20]
	str	r3, [fp, #-136]
	mov	r3, #1
	str	r3, [fp, #-1084]
	b	.L17
.L20:
	mov	r3, #0
	str	r3, [fp, #-1088]
	b	.L18
.L19:
	ldr	r3, [fp, #-1088]
	sub	r3, r3, #1
	mov	r1, #8
	mov	r0, r3
	bl	wrapped_index
	str	r0, [fp, #-1064]
	ldr	r3, [fp, #-1088]
	str	r3, [fp, #-1060]
	ldr	r3, [fp, #-1088]
	add	r3, r3, #1
	mov	r1, #8
	mov	r0, r3
	bl	wrapped_index
	str	r0, [fp, #-1056]
	ldr	r3, [fp, #-1084]
	sub	r3, r3, #1
	ldr	r2, [fp, #-1064]
	lsl	r2, r2, #5
	add	r3, r2, r3
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-1028]
	str	r3, [fp, #-1052]
	ldr	r3, [fp, #-1084]
	sub	r3, r3, #1
	ldr	r2, [fp, #-1060]
	lsl	r2, r2, #5
	add	r3, r2, r3
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-1028]
	str	r3, [fp, #-1048]
	ldr	r3, [fp, #-1084]
	sub	r3, r3, #1
	ldr	r2, [fp, #-1056]
	lsl	r2, r2, #5
	add	r3, r2, r3
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-1028]
	str	r3, [fp, #-1044]
	ldr	r3, [fp, #-1052]
	lsl	r2, r3, #1
	ldr	r3, [fp, #-1048]
	add	r3, r2, r3
	lsl	r3, r3, #1
	ldr	r2, [fp, #-1044]
	add	r3, r2, r3
	str	r3, [fp, #-1040]
	mov	r2, #1
	ldr	r1, [fp, #-1040]
	ldr	r0, [fp, #-1096]
	bl	unsigned_int_from_genome
	str	r0, [fp, #-1036]
	ldr	r3, [fp, #-1088]
	lsl	r2, r3, #5
	ldr	r3, [fp, #-1084]
	add	r3, r2, r3
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r2, [fp, #-1036]
	str	r2, [r3, #-1028]
	ldr	r3, [fp, #-1088]
	add	r3, r3, #1
	str	r3, [fp, #-1088]
.L18:
	ldr	r3, [fp, #-1088]
	cmp	r3, #7
	bls	.L19
	ldr	r3, [fp, #-1084]
	add	r3, r3, #1
	str	r3, [fp, #-1084]
.L17:
	ldr	r3, [fp, #-1084]
	cmp	r3, #31
	bls	.L20
	ldr	r3, [fp, #-908]
	str	r3, [fp, #-1080]
	ldr	r3, [fp, #-780]
	str	r3, [fp, #-1076]
	ldr	r3, [fp, #-652]
	str	r3, [fp, #-1072]
	ldr	r3, [fp, #-1080]
	lsl	r2, r3, #1
	ldr	r3, [fp, #-1076]
	add	r3, r2, r3
	lsl	r3, r3, #1
	ldr	r2, [fp, #-1072]
	add	r3, r2, r3
	str	r3, [fp, #-1068]
	ldr	r3, [fp, #-1068]
	ldr	r2, .L23
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L22
	bl	__stack_chk_fail
.L22:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L24:
	.align	2
.L23:
	.word	.LC1
	.size	eight_from_eight, .-eight_from_eight
	.align	2
	.global	gene_at_virtual_index
	.syntax unified
	.arm
	.fpu softvfp
	.type	gene_at_virtual_index, %function
gene_at_virtual_index:
	@ 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	r3, [fp, #-20]
	mov	r1, #256
	mov	r0, r3
	bl	wrapped_index
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-16]
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	gene_at_virtual_index, .-gene_at_virtual_index
	.align	2
	.global	gene_start_address
	.syntax unified
	.arm
	.fpu softvfp
	.type	gene_start_address, %function
gene_start_address:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-16]
	mov	r3, #1
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #3
	str	r3, [fp, #-8]
	mov	r2, #8
	ldr	r1, [fp, #-8]
	ldr	r0, [fp, #-24]
	bl	unsigned_int_from_genome
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	gene_start_address, .-gene_start_address
	.align	2
	.global	iterate_organism
	.syntax unified
	.arm
	.fpu softvfp
	.type	iterate_organism, %function
iterate_organism:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-8]
	bl	move_organism
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-8]
	bl	meet_organism
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	iterate_organism, .-iterate_organism
	.align	2
	.global	iterate_world
	.syntax unified
	.arm
	.fpu softvfp
	.type	iterate_world, %function
iterate_world:
	@ 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]
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L31
.L34:
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L32
.L33:
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-12]
	lsl	r1, r2, #6
	ldr	r2, [fp, #-8]
	add	r2, r1, r2
	ldr	r3, [r3, r2, lsl #2]
	mov	r1, r3
	ldr	r0, [fp, #-16]
	bl	iterate_organism
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L32:
	ldr	r3, [fp, #-8]
	cmp	r3, #63
	bls	.L33
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L31:
	ldr	r3, [fp, #-12]
	cmp	r3, #127
	bls	.L34
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	iterate_world, .-iterate_world
	.section	.rodata
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	meet_organism
	.syntax unified
	.arm
	.fpu softvfp
	.type	meet_organism, %function
meet_organism:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	ldr	r3, .L37
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r1, #4
	ldr	r0, [fp, #-36]
	bl	gene_start_address
	mov	r3, r0
	mov	r2, r3
	ldr	r1, [fp, #-36]
	ldr	r0, [fp, #-32]
	bl	position_index_for_observe_location
	str	r0, [fp, #-24]
	sub	r3, fp, #16
	ldr	r1, [fp, #-24]
	mov	r0, r3
	bl	relative_position_from_index
	ldr	r3, [fp, #-36]
	ldr	r3, [r3, #4]
	ldr	r2, [fp, #-16]
	add	r3, r3, r2
	mov	r1, r3
	ldr	r3, [fp, #-36]
	ldr	r3, [r3, #8]
	ldr	r2, [fp, #-12]
	add	r3, r3, r2
	mov	r2, r3
	ldr	r0, [fp, #-32]
	bl	organism_at_virtual_coordinates
	str	r0, [fp, #-20]
	ldr	r2, [fp, #-20]
	ldr	r1, [fp, #-36]
	ldr	r0, [fp, #-32]
	bl	meet_organism_details
	nop
	ldr	r3, .L37
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L36
	bl	__stack_chk_fail
.L36:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L38:
	.align	2
.L37:
	.word	.LC2
	.size	meet_organism, .-meet_organism
	.section	.rodata
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	meet_organism_details
	.syntax unified
	.arm
	.fpu softvfp
	.type	meet_organism_details, %function
meet_organism_details:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	str	r2, [fp, #-40]
	ldr	r3, .L43
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r1, #4
	ldr	r0, [fp, #-36]
	bl	gene_start_address
	str	r0, [fp, #-24]
	sub	r3, fp, #16
	mov	r2, r3
	ldr	r1, [fp, #-24]
	ldr	r0, [fp, #-36]
	bl	parse_meet_gene
	mov	r3, #0
	str	r3, [fp, #-28]
	b	.L40
.L41:
	ldr	r3, [fp, #-28]
	mov	r1, #256
	mov	r0, r3
	bl	wrapped_index
	str	r0, [fp, #-20]
	ldr	r3, [fp, #-36]
	ldr	r2, [r3]
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	add	r2, r2, r3
	ldr	r3, [fp, #-40]
	ldr	r1, [r3]
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r2, [r2]
	str	r2, [r3]
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L40:
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-28]
	cmp	r2, r3
	bcc	.L41
	nop
	ldr	r3, .L43
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L42
	bl	__stack_chk_fail
.L42:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L44:
	.align	2
.L43:
	.word	.LC3
	.size	meet_organism_details, .-meet_organism_details
	.section	.rodata
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	move_organism
	.syntax unified
	.arm
	.fpu softvfp
	.type	move_organism, %function
move_organism:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	str	r0, [fp, #-40]
	str	r1, [fp, #-44]
	ldr	r3, .L47
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r1, #3
	ldr	r0, [fp, #-44]
	bl	gene_start_address
	mov	r3, r0
	mov	r2, r3
	ldr	r1, [fp, #-44]
	ldr	r0, [fp, #-40]
	bl	position_index_for_observe_location
	str	r0, [fp, #-32]
	sub	r3, fp, #16
	ldr	r1, [fp, #-32]
	mov	r0, r3
	bl	relative_position_from_index
	ldr	r3, [fp, #-44]
	ldr	r3, [r3, #4]
	ldr	r2, [fp, #-16]
	add	r3, r3, r2
	mov	r1, r3
	ldr	r3, [fp, #-44]
	ldr	r3, [r3, #8]
	ldr	r2, [fp, #-12]
	add	r3, r3, r2
	mov	r2, r3
	ldr	r0, [fp, #-40]
	bl	organism_at_virtual_coordinates
	str	r0, [fp, #-28]
	ldr	r3, [fp, #-28]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-28]
	ldr	r3, [r3, #8]
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-40]
	ldr	r2, [fp, #-24]
	lsl	r1, r2, #6
	ldr	r2, [fp, #-20]
	add	r2, r1, r2
	ldr	r1, [fp, #-44]
	str	r1, [r3, r2, lsl #2]
	ldr	r3, [fp, #-44]
	ldr	r1, [r3, #4]
	ldr	r3, [fp, #-44]
	ldr	r2, [r3, #8]
	ldr	r3, [fp, #-40]
	lsl	r1, r1, #6
	add	r2, r1, r2
	ldr	r1, [fp, #-28]
	str	r1, [r3, r2, lsl #2]
	ldr	r3, [fp, #-44]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-28]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-44]
	ldr	r2, [r3, #8]
	ldr	r3, [fp, #-28]
	str	r2, [r3, #8]
	ldr	r3, [fp, #-44]
	ldr	r2, [fp, #-24]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-44]
	ldr	r2, [fp, #-20]
	str	r2, [r3, #8]
	nop
	ldr	r3, .L47
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L46
	bl	__stack_chk_fail
.L46:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L48:
	.align	2
.L47:
	.word	.LC4
	.size	move_organism, .-move_organism
	.align	2
	.global	new_organism
	.syntax unified
	.arm
	.fpu softvfp
	.type	new_organism, %function
new_organism:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #20
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	mov	r0, #16
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-16]
	mov	r0, #1024
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-16]
	str	r2, [r3]
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-24]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-28]
	str	r2, [r3, #8]
	mov	r0, #6
	bl	random_unsigned_int
	mov	r3, r0
	and	r3, r3, #255
	add	r3, r3, #42
	and	r2, r3, #255
	ldr	r3, [fp, #-16]
	strb	r2, [r3, #12]
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L50
.L51:
	ldr	r3, [fp, #-16]
	ldr	r2, [r3]
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	add	r4, r2, r3
	mov	r0, #2
	bl	random_unsigned_int
	mov	r3, r0
	str	r3, [r4]
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L50:
	ldr	r3, [fp, #-20]
	cmp	r3, #255
	bls	.L51
	ldr	r3, [fp, #-16]
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
	.size	new_organism, .-new_organism
	.align	2
	.global	new_world
	.syntax unified
	.arm
	.fpu softvfp
	.type	new_world, %function
new_world:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	mov	r0, #32768
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L54
.L57:
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L55
.L56:
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-16]
	bl	new_organism
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-16]
	lsl	r1, r2, #6
	ldr	r2, [fp, #-12]
	add	r2, r1, r2
	str	r0, [r3, r2, lsl #2]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L55:
	ldr	r3, [fp, #-12]
	cmp	r3, #63
	bls	.L56
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L54:
	ldr	r3, [fp, #-16]
	cmp	r3, #127
	bls	.L57
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	new_world, .-new_world
	.align	2
	.global	organism_at_virtual_coordinates
	.syntax unified
	.arm
	.fpu softvfp
	.type	organism_at_virtual_coordinates, %function
organism_at_virtual_coordinates:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	mov	r1, #128
	ldr	r0, [fp, #-20]
	bl	wrapped_index
	str	r0, [fp, #-12]
	mov	r1, #64
	ldr	r0, [fp, #-24]
	bl	wrapped_index
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-12]
	lsl	r1, r2, #6
	ldr	r2, [fp, #-8]
	add	r2, r1, r2
	ldr	r3, [r3, r2, lsl #2]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	organism_at_virtual_coordinates, .-organism_at_virtual_coordinates
	.align	2
	.global	parse_display_gene
	.syntax unified
	.arm
	.fpu softvfp
	.type	parse_display_gene, %function
parse_display_gene:
	@ 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, #-8]
	str	r1, [fp, #-12]
	str	r2, [fp, #-16]
	mov	r2, #8
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-8]
	bl	unsigned_int_from_genome
	mov	r2, r0
	ldr	r3, [fp, #-16]
	str	r2, [r3]
	ldr	r3, [fp, #-12]
	add	r3, r3, #8
	mov	r2, #8
	mov	r1, r3
	ldr	r0, [fp, #-8]
	bl	unsigned_int_from_genome
	mov	r2, r0
	ldr	r3, [fp, #-16]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-12]
	add	r3, r3, #16
	mov	r2, #8
	mov	r1, r3
	ldr	r0, [fp, #-8]
	bl	unsigned_int_from_genome
	mov	r2, r0
	ldr	r3, [fp, #-16]
	str	r2, [r3, #8]
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	parse_display_gene, .-parse_display_gene
	.align	2
	.global	parse_meet_gene
	.syntax unified
	.arm
	.fpu softvfp
	.type	parse_meet_gene, %function
parse_meet_gene:
	@ 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, #-8]
	str	r1, [fp, #-12]
	str	r2, [fp, #-16]
	mov	r2, #8
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-8]
	bl	unsigned_int_from_genome
	mov	r2, r0
	ldr	r3, [fp, #-16]
	str	r2, [r3]
	ldr	r3, [fp, #-12]
	add	r3, r3, #8
	mov	r2, #8
	mov	r1, r3
	ldr	r0, [fp, #-8]
	bl	unsigned_int_from_genome
	mov	r2, r0
	ldr	r3, [fp, #-16]
	str	r2, [r3, #4]
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	parse_meet_gene, .-parse_meet_gene
	.align	2
	.global	position_index_for_observe_location
	.syntax unified
	.arm
	.fpu softvfp
	.type	position_index_for_observe_location, %function
position_index_for_observe_location:
	@ args = 0, pretend = 0, frame = 88
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #112
	str	r0, [fp, #-80]
	str	r1, [fp, #-84]
	str	r2, [fp, #-88]
	ldr	r3, [fp, #-84]
	ldr	r3, [r3, #4]
	sub	r3, r3, #1
	mov	r1, r3
	ldr	r3, [fp, #-84]
	ldr	r3, [r3, #8]
	sub	r3, r3, #1
	mov	r2, r3
	ldr	r0, [fp, #-80]
	bl	organism_at_virtual_coordinates
	str	r0, [fp, #-72]
	ldr	r3, [fp, #-84]
	ldr	r3, [r3, #4]
	mov	r1, r3
	ldr	r3, [fp, #-84]
	ldr	r3, [r3, #8]
	sub	r3, r3, #1
	mov	r2, r3
	ldr	r0, [fp, #-80]
	bl	organism_at_virtual_coordinates
	str	r0, [fp, #-68]
	ldr	r3, [fp, #-84]
	ldr	r3, [r3, #4]
	add	r3, r3, #1
	mov	r1, r3
	ldr	r3, [fp, #-84]
	ldr	r3, [r3, #8]
	sub	r3, r3, #1
	mov	r2, r3
	ldr	r0, [fp, #-80]
	bl	organism_at_virtual_coordinates
	str	r0, [fp, #-64]
	ldr	r3, [fp, #-84]
	ldr	r3, [r3, #4]
	add	r3, r3, #1
	mov	r1, r3
	ldr	r3, [fp, #-84]
	ldr	r3, [r3, #8]
	mov	r2, r3
	ldr	r0, [fp, #-80]
	bl	organism_at_virtual_coordinates
	str	r0, [fp, #-60]
	ldr	r3, [fp, #-84]
	ldr	r3, [r3, #4]
	add	r3, r3, #1
	mov	r1, r3
	ldr	r3, [fp, #-84]
	ldr	r3, [r3, #8]
	add	r3, r3, #1
	mov	r2, r3
	ldr	r0, [fp, #-80]
	bl	organism_at_virtual_coordinates
	str	r0, [fp, #-56]
	ldr	r3, [fp, #-84]
	ldr	r3, [r3, #4]
	mov	r1, r3
	ldr	r3, [fp, #-84]
	ldr	r3, [r3, #8]
	add	r3, r3, #1
	mov	r2, r3
	ldr	r0, [fp, #-80]
	bl	organism_at_virtual_coordinates
	str	r0, [fp, #-52]
	ldr	r3, [fp, #-84]
	ldr	r3, [r3, #4]
	sub	r3, r3, #1
	mov	r1, r3
	ldr	r3, [fp, #-84]
	ldr	r3, [r3, #8]
	add	r3, r3, #1
	mov	r2, r3
	ldr	r0, [fp, #-80]
	bl	organism_at_virtual_coordinates
	str	r0, [fp, #-48]
	ldr	r3, [fp, #-84]
	ldr	r3, [r3, #4]
	sub	r3, r3, #1
	mov	r1, r3
	ldr	r3, [fp, #-84]
	ldr	r3, [r3, #8]
	mov	r2, r3
	ldr	r0, [fp, #-80]
	bl	organism_at_virtual_coordinates
	str	r0, [fp, #-44]
	mov	r2, #1
	ldr	r1, [fp, #-88]
	ldr	r0, [fp, #-72]
	bl	unsigned_int_from_genome
	str	r0, [fp, #-40]
	mov	r2, #1
	ldr	r1, [fp, #-88]
	ldr	r0, [fp, #-68]
	bl	unsigned_int_from_genome
	str	r0, [fp, #-36]
	mov	r2, #1
	ldr	r1, [fp, #-88]
	ldr	r0, [fp, #-64]
	bl	unsigned_int_from_genome
	str	r0, [fp, #-32]
	mov	r2, #1
	ldr	r1, [fp, #-88]
	ldr	r0, [fp, #-60]
	bl	unsigned_int_from_genome
	str	r0, [fp, #-28]
	mov	r2, #1
	ldr	r1, [fp, #-88]
	ldr	r0, [fp, #-56]
	bl	unsigned_int_from_genome
	str	r0, [fp, #-24]
	mov	r2, #1
	ldr	r1, [fp, #-88]
	ldr	r0, [fp, #-52]
	bl	unsigned_int_from_genome
	str	r0, [fp, #-20]
	mov	r2, #1
	ldr	r1, [fp, #-88]
	ldr	r0, [fp, #-48]
	bl	unsigned_int_from_genome
	str	r0, [fp, #-16]
	mov	r2, #1
	ldr	r1, [fp, #-88]
	ldr	r0, [fp, #-44]
	bl	unsigned_int_from_genome
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	str	r3, [sp, #16]
	ldr	r3, [fp, #-16]
	str	r3, [sp, #12]
	ldr	r3, [fp, #-20]
	str	r3, [sp, #8]
	ldr	r3, [fp, #-24]
	str	r3, [sp, #4]
	ldr	r3, [fp, #-28]
	str	r3, [sp]
	ldr	r3, [fp, #-32]
	ldr	r2, [fp, #-36]
	ldr	r1, [fp, #-40]
	ldr	r0, [fp, #-84]
	bl	eight_from_eight
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	position_index_for_observe_location, .-position_index_for_observe_location
	.align	2
	.global	relative_position_from_index
	.syntax unified
	.arm
	.fpu softvfp
	.type	relative_position_from_index, %function
relative_position_from_index:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	ldr	r3, [fp, #-20]
	cmp	r3, #7
	ldrls	pc, [pc, r3, asl #2]
	b	.L66
.L68:
	.word	.L75
	.word	.L74
	.word	.L73
	.word	.L72
	.word	.L71
	.word	.L70
	.word	.L69
	.word	.L67
.L75:
	mvn	r3, #0
	str	r3, [fp, #-12]
	mvn	r3, #0
	str	r3, [fp, #-8]
	b	.L66
.L74:
	mov	r3, #0
	str	r3, [fp, #-12]
	mvn	r3, #0
	str	r3, [fp, #-8]
	b	.L66
.L73:
	mov	r3, #1
	str	r3, [fp, #-12]
	mvn	r3, #0
	str	r3, [fp, #-8]
	b	.L66
.L72:
	mov	r3, #1
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L66
.L71:
	mov	r3, #1
	str	r3, [fp, #-12]
	mov	r3, #1
	str	r3, [fp, #-8]
	b	.L66
.L70:
	mov	r3, #0
	str	r3, [fp, #-12]
	mov	r3, #1
	str	r3, [fp, #-8]
	b	.L66
.L69:
	mvn	r3, #0
	str	r3, [fp, #-12]
	mov	r3, #1
	str	r3, [fp, #-8]
	b	.L66
.L67:
	mvn	r3, #0
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-8]
	nop
.L66:
	ldr	r3, [fp, #-16]
	mov	r2, r3
	sub	r3, fp, #12
	ldm	r3, {r0, r1}
	stm	r2, {r0, r1}
	ldr	r0, [fp, #-16]
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	relative_position_from_index, .-relative_position_from_index
	.global	__aeabi_uidivmod
	.align	2
	.global	random_unsigned_int
	.syntax unified
	.arm
	.fpu softvfp
	.type	random_unsigned_int, %function
random_unsigned_int:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	bl	random
	mov	r3, r0
	ldr	r1, [fp, #-8]
	mov	r0, r3
	bl	__aeabi_uidivmod
	mov	r3, r1
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	random_unsigned_int, .-random_unsigned_int
	.align	2
	.global	unsigned_int_from_genome
	.syntax unified
	.arm
	.fpu softvfp
	.type	unsigned_int_from_genome, %function
unsigned_int_from_genome:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	str	r2, [fp, #-32]
	mov	r3, #1
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-12]
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-32]
	add	r3, r2, r3
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-28]
	str	r3, [fp, #-20]
	b	.L80
.L81:
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-24]
	bl	gene_at_virtual_index
	mov	r2, r0
	ldr	r3, [fp, #-16]
	mul	r3, r2, r3
	ldr	r2, [fp, #-12]
	add	r3, r2, r3
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #1
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L80:
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-8]
	cmp	r2, r3
	bcc	.L81
	ldr	r3, [fp, #-12]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	unsigned_int_from_genome, .-unsigned_int_from_genome
	.align	2
	.global	wrapped_index
	.syntax unified
	.arm
	.fpu softvfp
	.type	wrapped_index, %function
wrapped_index:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	blt	.L84
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-20]
	sub	r3, r2, r3
	str	r3, [fp, #-8]
	b	.L85
.L84:
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bge	.L86
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	str	r3, [fp, #-8]
	b	.L85
.L86:
	ldr	r3, [fp, #-16]
	str	r3, [fp, #-8]
.L85:
	ldr	r3, [fp, #-8]
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	wrapped_index, .-wrapped_index
	.section	.rodata
	.align	2
.LC5:
	.ascii	"red\000"
	.align	2
.LC6:
	.ascii	"green\000"
	.align	2
.LC7:
	.ascii	"blue\000"
	.align	2
.LC8:
	.ascii	"white\000"
	.align	2
.LC9:
	.ascii	"black\000"
	.align	2
.LC10:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 296
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #320
	str	r0, [fp, #-296]
	str	r1, [fp, #-300]
	ldr	r3, .L98
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-288]
	ldr	r0, .L98+4
	bl	srandom
	mov	r0, #0
	bl	XOpenDisplay
	str	r0, [fp, #-276]
	ldr	r3, [fp, #-276]
	ldr	r3, [r3, #132]
	str	r3, [fp, #-272]
	ldr	r3, [fp, #-276]
	ldr	r1, [r3, #140]
	ldr	r2, [fp, #-272]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r1, r3
	ldr	r3, [r3, #8]
	str	r3, [fp, #-268]
	mov	r3, #0
	str	r3, [fp, #-264]
	mov	r3, #0
	str	r3, [fp, #-260]
	ldr	r3, .L98+8
	str	r3, [fp, #-256]
	mov	r3, #600
	str	r3, [fp, #-252]
	mov	r3, #0
	str	r3, [fp, #-248]
	ldr	r3, [fp, #-276]
	ldr	r1, [r3, #140]
	ldr	r2, [fp, #-272]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r1, r3
	ldr	r3, [r3, #56]
	str	r3, [fp, #-244]
	ldr	r3, [fp, #-276]
	ldr	r1, [r3, #140]
	ldr	r2, [fp, #-272]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r1, r3
	ldr	r3, [r3, #52]
	str	r3, [fp, #-240]
	ldr	r3, [fp, #-240]
	str	r3, [sp, #16]
	ldr	r3, [fp, #-244]
	str	r3, [sp, #12]
	ldr	r3, [fp, #-248]
	str	r3, [sp, #8]
	ldr	r3, [fp, #-252]
	str	r3, [sp, #4]
	ldr	r3, [fp, #-256]
	str	r3, [sp]
	ldr	r3, [fp, #-260]
	ldr	r2, [fp, #-264]
	ldr	r1, [fp, #-268]
	ldr	r0, [fp, #-276]
	bl	XCreateSimpleWindow
	str	r0, [fp, #-236]
	ldr	r1, [fp, #-236]
	ldr	r0, [fp, #-276]
	bl	XMapWindow
	ldr	r0, [fp, #-276]
	bl	XFlush
	mov	r3, #0
	str	r3, [fp, #-232]
	sub	r3, fp, #100
	ldr	r2, [fp, #-232]
	ldr	r1, [fp, #-236]
	ldr	r0, [fp, #-276]
	bl	XCreateGC
	str	r0, [fp, #-228]
	mov	r1, #0
	ldr	r0, [fp, #-276]
	bl	XSync
	ldr	r3, [fp, #-276]
	ldr	r2, [r3, #140]
	ldr	r3, [fp, #-276]
	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, #40]
	str	r3, [fp, #-224]
	mov	r3, #0
	ldr	r2, [fp, #-224]
	ldr	r1, [fp, #-236]
	ldr	r0, [fp, #-276]
	bl	XCreateColormap
	str	r0, [fp, #-220]
	sub	r2, fp, #184
	sub	r3, fp, #112
	str	r3, [sp]
	mov	r3, r2
	ldr	r2, .L98+12
	ldr	r1, [fp, #-220]
	ldr	r0, [fp, #-276]
	bl	XAllocNamedColor
	sub	r2, fp, #172
	sub	r3, fp, #112
	str	r3, [sp]
	mov	r3, r2
	ldr	r2, .L98+16
	ldr	r1, [fp, #-220]
	ldr	r0, [fp, #-276]
	bl	XAllocNamedColor
	sub	r2, fp, #160
	sub	r3, fp, #112
	str	r3, [sp]
	mov	r3, r2
	ldr	r2, .L98+20
	ldr	r1, [fp, #-220]
	ldr	r0, [fp, #-276]
	bl	XAllocNamedColor
	sub	r2, fp, #148
	sub	r3, fp, #112
	str	r3, [sp]
	mov	r3, r2
	ldr	r2, .L98+24
	ldr	r1, [fp, #-220]
	ldr	r0, [fp, #-276]
	bl	XAllocNamedColor
	sub	r2, fp, #136
	sub	r3, fp, #112
	str	r3, [sp]
	mov	r3, r2
	ldr	r2, .L98+28
	ldr	r1, [fp, #-220]
	ldr	r0, [fp, #-276]
	bl	XAllocNamedColor
	bl	new_world
	str	r0, [fp, #-216]
	mov	r3, #0
	str	r3, [fp, #-292]
	b	.L89
.L95:
	mov	r0, #128
	bl	random_unsigned_int
	str	r0, [fp, #-212]
	mov	r0, #64
	bl	random_unsigned_int
	str	r0, [fp, #-208]
	ldr	r3, [fp, #-212]
	str	r3, [fp, #-284]
	ldr	r3, [fp, #-208]
	str	r3, [fp, #-280]
	ldr	r3, [fp, #-292]
	and	r3, r3, #7
	cmp	r3, #0
	bne	.L90
	mov	r3, #0
	str	r3, [fp, #-284]
	b	.L91
.L94:
	mov	r3, #0
	str	r3, [fp, #-280]
	b	.L92
.L93:
	ldr	r3, [fp, #-216]
	ldr	r2, [fp, #-284]
	lsl	r1, r2, #6
	ldr	r2, [fp, #-280]
	add	r2, r1, r2
	ldr	r3, [r3, r2, lsl #2]
	str	r3, [fp, #-204]
	mov	r1, #2
	ldr	r0, [fp, #-204]
	bl	gene_start_address
	str	r0, [fp, #-200]
	mov	r2, #32
	ldr	r1, [fp, #-200]
	ldr	r0, [fp, #-204]
	bl	unsigned_int_from_genome
	str	r0, [fp, #-196]
	ldr	r3, [fp, #-200]
	add	r3, r3, #32
	mov	r2, #32
	mov	r1, r3
	ldr	r0, [fp, #-204]
	bl	unsigned_int_from_genome
	str	r0, [fp, #-192]
	ldr	r3, [fp, #-200]
	add	r3, r3, #64
	mov	r2, #32
	mov	r1, r3
	ldr	r0, [fp, #-204]
	bl	unsigned_int_from_genome
	str	r0, [fp, #-188]
	ldr	r3, [fp, #-196]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	lsl	r3, r3, #19
	lsr	r3, r3, #19
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	strh	r3, [fp, #-120]	@ movhi
	ldr	r3, [fp, #-192]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	strh	r3, [fp, #-118]	@ movhi
	ldr	r3, [fp, #-188]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	strh	r3, [fp, #-116]	@ movhi
	sub	r3, fp, #124
	mov	r2, r3
	ldr	r1, [fp, #-220]
	ldr	r0, [fp, #-276]
	bl	XAllocColor
	ldr	r3, [fp, #-124]
	mov	r2, r3
	ldr	r1, [fp, #-228]
	ldr	r0, [fp, #-276]
	bl	XSetForeground
	ldr	r3, [fp, #-288]
	and	r2, r3, #3
	mov	r3, r2
	lsl	r3, r3, #7
	add	r2, r3, r2
	ldr	r3, [fp, #-284]
	add	r3, r2, r3
	mov	r1, r3
	ldr	r3, [fp, #-288]
	lsr	r2, r3, #2
	mov	r3, r2
	lsl	r3, r3, #6
	add	r2, r3, r2
	ldr	r3, [fp, #-280]
	add	r3, r2, r3
	str	r3, [sp]
	mov	r3, r1
	ldr	r2, [fp, #-228]
	ldr	r1, [fp, #-236]
	ldr	r0, [fp, #-276]
	bl	XDrawPoint
	ldr	r3, [fp, #-280]
	add	r3, r3, #1
	str	r3, [fp, #-280]
.L92:
	ldr	r3, [fp, #-280]
	cmp	r3, #63
	bls	.L93
	ldr	r3, [fp, #-284]
	add	r3, r3, #1
	str	r3, [fp, #-284]
.L91:
	ldr	r3, [fp, #-284]
	cmp	r3, #127
	bls	.L94
	ldr	r3, [fp, #-288]
	add	r3, r3, #1
	str	r3, [fp, #-288]
	ldr	r0, [fp, #-276]
	bl	XFlush
	mov	r0, #0
	bl	usleep
.L90:
	ldr	r0, [fp, #-216]
	bl	iterate_world
	ldr	r3, [fp, #-292]
	add	r3, r3, #1
	str	r3, [fp, #-292]
.L89:
	ldr	r3, [fp, #-292]
	cmp	r3, #288
	bcc	.L95
.L96:
	mov	r0, #0
	bl	usleep
	b	.L96
.L99:
	.align	2
.L98:
	.word	.LC10
	.word	910241
	.word	531
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
