	.file	"89087.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 16
	.type	letters, @object
	.size	letters, 31
letters:
	.string	"ABCDEFGHIJKLMNOPQRSTUVWXYZ1234"
	.local	d
	.comm	d,10368,32
	.local	pop1
	.comm	pop1,14400,32
	.local	pop2
	.comm	pop2,14400,32
	.local	scores
	.comm	scores,800,32
	.local	epoch
	.comm	epoch,4,4
	.data
	.align 8
	.type	best_score, @object
	.size	best_score, 8
best_score:
	.quad	99999999999
	.local	best
	.comm	best,144,32
	.section	.rodata
.LC0:
	.string	"%c%c"
	.text
	.type	print_one, @function
print_one:
.LFB6:
	.cfi_startproc
	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
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	imul	rdx, rdx, 715827883
	shr	rdx, 32
	sar	eax, 31
	mov	ecx, eax
	mov	eax, edx
	sub	eax, ecx
	cdqe
	lea	rdx, letters[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	movsx	esi, al
	mov	ecx, DWORD PTR -4[rbp]
	movsx	rax, ecx
	imul	rax, rax, 715827883
	shr	rax, 32
	mov	edi, ecx
	sar	edi, 31
	mov	edx, eax
	sub	edx, edi
	mov	eax, edx
	add	eax, eax
	add	eax, edx
	add	eax, eax
	sub	ecx, eax
	mov	edx, ecx
	movsx	rax, edx
	lea	rdx, letters[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	movsx	eax, al
	mov	edx, esi
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	print_one, .-print_one
	.section	.rodata
.LC1:
	.string	"),"
.LC2:
	.string	", "
.LC3:
	.string	")"
	.text
	.type	print_grid, @function
print_grid:
.LFB7:
	.cfi_startproc
	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:
	lea	rdi, .LC1[rip]
	call	puts@PLT
.L3:
	mov	edi, 40
	call	putchar@PLT
	mov	eax, DWORD PTR -8[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -8[rbp], edx
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	print_one
	mov	DWORD PTR -4[rbp], 1
	jmp	.L4
.L5:
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -8[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -8[rbp], edx
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	print_one
	add	DWORD PTR -4[rbp], 1
.L4:
	cmp	DWORD PTR -4[rbp], 5
	jle	.L5
	cmp	DWORD PTR -8[rbp], 35
	jle	.L6
	lea	rdi, .LC3[rip]
	call	puts@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	print_grid, .-print_grid
	.type	dist, @function
dist:
.LFB8:
	.cfi_startproc
	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	ecx, DWORD PTR -20[rbp]
	movsx	rax, ecx
	imul	rax, rax, 715827883
	shr	rax, 32
	mov	esi, ecx
	sar	esi, 31
	mov	edx, eax
	sub	edx, esi
	mov	eax, edx
	add	eax, eax
	add	eax, edx
	add	eax, eax
	sub	ecx, eax
	mov	edx, ecx
	mov	ecx, DWORD PTR -24[rbp]
	movsx	rax, ecx
	imul	rax, rax, 715827883
	shr	rax, 32
	mov	edi, ecx
	sar	edi, 31
	mov	esi, eax
	sub	esi, edi
	mov	eax, esi
	add	eax, eax
	add	eax, esi
	add	eax, eax
	sub	ecx, eax
	mov	esi, ecx
	mov	eax, edx
	sub	eax, esi
	cdq
	xor	eax, edx
	sub	eax, edx
	cdqe
	mov	QWORD PTR -16[rbp], rax
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	imul	rdx, rdx, 715827883
	shr	rdx, 32
	sar	eax, 31
	mov	ecx, edx
	sub	ecx, eax
	mov	eax, DWORD PTR -24[rbp]
	movsx	rdx, eax
	imul	rdx, rdx, 715827883
	shr	rdx, 32
	sar	eax, 31
	sub	eax, edx
	add	eax, ecx
	cdq
	xor	eax, edx
	sub	eax, edx
	cdqe
	mov	QWORD PTR -8[rbp], rax
	mov	eax, 6
	sub	rax, QWORD PTR -16[rbp]
	cmp	QWORD PTR -16[rbp], rax
	jbe	.L8
	mov	eax, 6
	sub	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR -16[rbp], rax
.L8:
	mov	eax, 6
	sub	rax, QWORD PTR -8[rbp]
	cmp	QWORD PTR -8[rbp], rax
	jbe	.L9
	mov	eax, 6
	sub	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR -8[rbp], rax
.L9:
	mov	rax, QWORD PTR -16[rbp]
	imul	rax, rax
	mov	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	imul	rax, rax
	add	rax, rdx
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	dist, .-dist
	.type	compute_initial_distances, @function
compute_initial_distances:
.LFB9:
	.cfi_startproc
	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 -8[rbp], 0
	jmp	.L12
.L15:
	mov	DWORD PTR -4[rbp], 0
	jmp	.L13
.L14:
	mov	edx, DWORD PTR -4[rbp]
	mov	eax, DWORD PTR -8[rbp]
	mov	esi, edx
	mov	edi, eax
	call	dist
	mov	rdx, rax
	mov	eax, DWORD PTR -4[rbp]
	movsx	rsi, eax
	mov	eax, DWORD PTR -8[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 3
	add	rax, rcx
	sal	rax, 2
	add	rax, rsi
	lea	rcx, 0[0+rax*8]
	lea	rax, d[rip]
	mov	QWORD PTR [rcx+rax], rdx
	add	DWORD PTR -4[rbp], 1
.L13:
	cmp	DWORD PTR -4[rbp], 35
	jle	.L14
	add	DWORD PTR -8[rbp], 1
.L12:
	cmp	DWORD PTR -8[rbp], 35
	jle	.L15
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	compute_initial_distances, .-compute_initial_distances
	.type	compute_score, @function
compute_score:
.LFB10:
	.cfi_startproc
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 24
	.cfi_offset 3, -24
	mov	QWORD PTR -32[rbp], rdi
	mov	QWORD PTR -16[rbp], 0
	mov	DWORD PTR -24[rbp], 0
	jmp	.L17
.L20:
	mov	eax, DWORD PTR -24[rbp]
	add	eax, 1
	mov	DWORD PTR -20[rbp], eax
	jmp	.L18
.L19:
	mov	eax, DWORD PTR -20[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -24[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	lea	rdx, 0[0+rax*8]
	lea	rax, d[rip]
	mov	rbx, QWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	lea	rcx, 0[0+rax*4]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rcx
	mov	eax, DWORD PTR [rax]
	mov	esi, edx
	mov	edi, eax
	call	dist
	imul	rax, rbx
	add	QWORD PTR -16[rbp], rax
	add	DWORD PTR -20[rbp], 1
.L18:
	cmp	DWORD PTR -20[rbp], 35
	jle	.L19
	add	DWORD PTR -24[rbp], 1
.L17:
	cmp	DWORD PTR -24[rbp], 35
	jle	.L20
	mov	rax, QWORD PTR -16[rbp]
	sub	rax, 16902
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	compute_score, .-compute_score
	.section	.rodata
.LC4:
	.string	"Using seed %ld\n"
	.text
	.type	init_rng, @function
init_rng:
.LFB11:
	.cfi_startproc
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -32[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	gettimeofday@PLT
	mov	rdx, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	QWORD PTR -40[rbp], rax
	mov	rax, QWORD PTR -40[rbp]
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	srand48@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L23
	call	__stack_chk_fail@PLT
.L23:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	init_rng, .-init_rng
	.type	shuffle, @function
shuffle:
.LFB12:
	.cfi_startproc
	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 -16[rbp], 0
	jmp	.L25
.L26:
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -24[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -16[rbp]
	mov	DWORD PTR [rdx], eax
	add	DWORD PTR -16[rbp], 1
.L25:
	mov	eax, DWORD PTR -16[rbp]
	cmp	eax, DWORD PTR -28[rbp]
	jl	.L26
	mov	eax, DWORD PTR -28[rbp]
	sub	eax, 1
	mov	DWORD PTR -12[rbp], eax
	jmp	.L27
.L28:
	call	drand48@PLT
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, DWORD PTR -12[rbp]
	mulsd	xmm0, xmm1
	cvttsd2si	eax, xmm0
	mov	DWORD PTR -8[rbp], eax
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR -12[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*4]
	mov	rdx, QWORD PTR -24[rbp]
	add	rdx, rcx
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR [rdx], eax
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -24[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -4[rbp]
	mov	DWORD PTR [rdx], eax
	sub	DWORD PTR -12[rbp], 1
.L27:
	cmp	DWORD PTR -12[rbp], 0
	jg	.L28
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	shuffle, .-shuffle
	.type	initialize_population, @function
initialize_population:
.LFB13:
	.cfi_startproc
	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], 0
	jmp	.L30
.L31:
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	add	rax, rdx
	sal	rax, 4
	lea	rdx, pop1[rip]
	add	rax, rdx
	mov	esi, 36
	mov	rdi, rax
	call	shuffle
	add	DWORD PTR -4[rbp], 1
.L30:
	cmp	DWORD PTR -4[rbp], 99
	jle	.L31
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	initialize_population, .-initialize_population
	.type	copy_to, @function
copy_to:
.LFB14:
	.cfi_startproc
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	DWORD PTR -4[rbp], 0
	jmp	.L33
.L34:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR -4[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*4]
	mov	rdx, QWORD PTR -32[rbp]
	add	rdx, rcx
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR [rdx], eax
	add	DWORD PTR -4[rbp], 1
.L33:
	cmp	DWORD PTR -4[rbp], 35
	jle	.L34
	nop
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	copy_to, .-copy_to
	.section	.rodata
	.align 8
.LC5:
	.string	"Next best score: %ld (epoch: %d)\n"
	.text
	.type	compute_scores, @function
compute_scores:
.LFB15:
	.cfi_startproc
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	eax, DWORD PTR epoch[rip]
	and	eax, 1
	test	eax, eax
	jne	.L36
	mov	DWORD PTR -24[rbp], 0
	jmp	.L37
.L38:
	mov	eax, DWORD PTR -24[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	add	rax, rdx
	sal	rax, 4
	lea	rdx, pop1[rip]
	add	rax, rdx
	mov	rdi, rax
	call	compute_score
	mov	edx, DWORD PTR -24[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*8]
	lea	rdx, scores[rip]
	mov	QWORD PTR [rcx+rdx], rax
	add	DWORD PTR -24[rbp], 1
.L37:
	cmp	DWORD PTR -24[rbp], 99
	jle	.L38
	jmp	.L39
.L36:
	mov	DWORD PTR -20[rbp], 0
	jmp	.L40
.L41:
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	add	rax, rdx
	sal	rax, 4
	lea	rdx, pop2[rip]
	add	rax, rdx
	mov	rdi, rax
	call	compute_score
	mov	edx, DWORD PTR -20[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*8]
	lea	rdx, scores[rip]
	mov	QWORD PTR [rcx+rdx], rax
	add	DWORD PTR -20[rbp], 1
.L40:
	cmp	DWORD PTR -20[rbp], 99
	jle	.L41
.L39:
	mov	rax, QWORD PTR scores[rip]
	mov	QWORD PTR -8[rbp], rax
	mov	DWORD PTR -16[rbp], 0
	mov	DWORD PTR -12[rbp], 1
	jmp	.L42
.L44:
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, scores[rip]
	mov	rax, QWORD PTR [rdx+rax]
	cmp	QWORD PTR -8[rbp], rax
	jbe	.L43
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, scores[rip]
	mov	rax, QWORD PTR [rdx+rax]
	mov	QWORD PTR -8[rbp], rax
	mov	eax, DWORD PTR -12[rbp]
	mov	DWORD PTR -16[rbp], eax
.L43:
	add	DWORD PTR -12[rbp], 1
.L42:
	cmp	DWORD PTR -12[rbp], 99
	jle	.L44
	mov	rax, QWORD PTR best_score[rip]
	cmp	QWORD PTR -8[rbp], rax
	jnb	.L48
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR best_score[rip], rax
	mov	eax, DWORD PTR epoch[rip]
	and	eax, 1
	test	eax, eax
	jne	.L46
	mov	eax, DWORD PTR -16[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	add	rax, rdx
	sal	rax, 4
	lea	rdx, pop1[rip]
	add	rax, rdx
	lea	rsi, best[rip]
	mov	rdi, rax
	call	copy_to
	jmp	.L47
.L46:
	mov	eax, DWORD PTR -16[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	add	rax, rdx
	sal	rax, 4
	lea	rdx, pop2[rip]
	add	rax, rdx
	lea	rsi, best[rip]
	mov	rdi, rax
	call	copy_to
.L47:
	mov	edx, DWORD PTR epoch[rip]
	mov	rax, QWORD PTR best_score[rip]
	mov	rsi, rax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, best[rip]
	call	print_grid
	mov	edi, 10
	call	putchar@PLT
.L48:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE15:
	.size	compute_scores, .-compute_scores
	.type	combine, @function
combine:
.LFB16:
	.cfi_startproc
	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
	call	drand48@PLT
	movsd	xmm1, QWORD PTR .LC6[rip]
	mulsd	xmm0, xmm1
	cvttsd2si	eax, xmm0
	mov	DWORD PTR -16[rbp], eax
	mov	eax, DWORD PTR -16[rbp]
	add	eax, 1
	pxor	xmm2, xmm2
	cvtsi2sd	xmm2, eax
	movsd	QWORD PTR -104[rbp], xmm2
	call	drand48@PLT
	movsd	xmm1, QWORD PTR .LC7[rip]
	mulsd	xmm0, xmm1
	addsd	xmm0, QWORD PTR -104[rbp]
	cvttsd2si	eax, xmm0
	mov	DWORD PTR -76[rbp], eax
	cmp	DWORD PTR -76[rbp], 36
	jle	.L50
	mov	DWORD PTR -76[rbp], 36
.L50:
	mov	eax, DWORD PTR epoch[rip]
	and	eax, 1
	test	eax, eax
	jne	.L51
	mov	eax, DWORD PTR -16[rbp]
	mov	DWORD PTR -72[rbp], eax
	jmp	.L52
.L53:
	mov	eax, DWORD PTR -72[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -88[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, pop1[rip]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -72[rbp]
	movsx	rsi, eax
	mov	eax, DWORD PTR -84[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 3
	add	rax, rcx
	sal	rax, 2
	add	rax, rsi
	lea	rcx, 0[0+rax*4]
	lea	rax, pop2[rip]
	mov	DWORD PTR [rcx+rax], edx
	add	DWORD PTR -72[rbp], 1
.L52:
	mov	eax, DWORD PTR -72[rbp]
	cmp	eax, DWORD PTR -76[rbp]
	jl	.L53
	mov	DWORD PTR -68[rbp], 0
	mov	DWORD PTR -64[rbp], 0
	jmp	.L54
.L60:
	mov	DWORD PTR -60[rbp], 0
	mov	eax, DWORD PTR -16[rbp]
	mov	DWORD PTR -56[rbp], eax
	jmp	.L55
.L58:
	mov	eax, DWORD PTR -56[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -84[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, pop2[rip]
	mov	ecx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -64[rbp]
	movsx	rsi, eax
	mov	eax, DWORD PTR -92[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	add	rax, rdx
	sal	rax, 2
	add	rax, rsi
	lea	rdx, 0[0+rax*4]
	lea	rax, pop1[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cmp	ecx, eax
	jne	.L56
	mov	DWORD PTR -60[rbp], 1
	jmp	.L57
.L56:
	add	DWORD PTR -56[rbp], 1
.L55:
	mov	eax, DWORD PTR -56[rbp]
	cmp	eax, DWORD PTR -76[rbp]
	jl	.L58
.L57:
	cmp	DWORD PTR -60[rbp], 0
	jne	.L59
	mov	edx, DWORD PTR -68[rbp]
	lea	eax, 1[rdx]
	mov	DWORD PTR -68[rbp], eax
	mov	eax, DWORD PTR -64[rbp]
	movsx	rsi, eax
	mov	eax, DWORD PTR -92[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 3
	add	rax, rcx
	sal	rax, 2
	add	rax, rsi
	lea	rcx, 0[0+rax*4]
	lea	rax, pop1[rip]
	mov	ecx, DWORD PTR [rcx+rax]
	movsx	rsi, edx
	mov	eax, DWORD PTR -84[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	add	rax, rdx
	sal	rax, 2
	add	rax, rsi
	lea	rdx, 0[0+rax*4]
	lea	rax, pop2[rip]
	mov	DWORD PTR [rdx+rax], ecx
.L59:
	add	DWORD PTR -64[rbp], 1
.L54:
	mov	eax, DWORD PTR -68[rbp]
	cmp	eax, DWORD PTR -16[rbp]
	jl	.L60
	mov	eax, DWORD PTR -76[rbp]
	mov	DWORD PTR -68[rbp], eax
	jmp	.L61
.L67:
	mov	DWORD PTR -52[rbp], 0
	mov	eax, DWORD PTR -16[rbp]
	mov	DWORD PTR -48[rbp], eax
	jmp	.L62
.L65:
	mov	eax, DWORD PTR -48[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -84[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, pop2[rip]
	mov	ecx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -64[rbp]
	movsx	rsi, eax
	mov	eax, DWORD PTR -92[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	add	rax, rdx
	sal	rax, 2
	add	rax, rsi
	lea	rdx, 0[0+rax*4]
	lea	rax, pop1[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cmp	ecx, eax
	jne	.L63
	mov	DWORD PTR -52[rbp], 1
	jmp	.L64
.L63:
	add	DWORD PTR -48[rbp], 1
.L62:
	mov	eax, DWORD PTR -48[rbp]
	cmp	eax, DWORD PTR -76[rbp]
	jl	.L65
.L64:
	cmp	DWORD PTR -52[rbp], 0
	jne	.L66
	mov	edx, DWORD PTR -68[rbp]
	lea	eax, 1[rdx]
	mov	DWORD PTR -68[rbp], eax
	mov	eax, DWORD PTR -64[rbp]
	movsx	rsi, eax
	mov	eax, DWORD PTR -92[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 3
	add	rax, rcx
	sal	rax, 2
	add	rax, rsi
	lea	rcx, 0[0+rax*4]
	lea	rax, pop1[rip]
	mov	ecx, DWORD PTR [rcx+rax]
	movsx	rsi, edx
	mov	eax, DWORD PTR -84[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	add	rax, rdx
	sal	rax, 2
	add	rax, rsi
	lea	rdx, 0[0+rax*4]
	lea	rax, pop2[rip]
	mov	DWORD PTR [rdx+rax], ecx
.L66:
	add	DWORD PTR -64[rbp], 1
.L61:
	cmp	DWORD PTR -68[rbp], 35
	jle	.L67
	jmp	.L68
.L51:
	mov	eax, DWORD PTR -16[rbp]
	mov	DWORD PTR -44[rbp], eax
	jmp	.L69
.L70:
	mov	eax, DWORD PTR -44[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -88[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, pop2[rip]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -44[rbp]
	movsx	rsi, eax
	mov	eax, DWORD PTR -84[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 3
	add	rax, rcx
	sal	rax, 2
	add	rax, rsi
	lea	rcx, 0[0+rax*4]
	lea	rax, pop1[rip]
	mov	DWORD PTR [rcx+rax], edx
	add	DWORD PTR -44[rbp], 1
.L69:
	mov	eax, DWORD PTR -44[rbp]
	cmp	eax, DWORD PTR -76[rbp]
	jl	.L70
	mov	DWORD PTR -40[rbp], 0
	mov	DWORD PTR -36[rbp], 0
	jmp	.L71
.L77:
	mov	DWORD PTR -32[rbp], 0
	mov	eax, DWORD PTR -16[rbp]
	mov	DWORD PTR -28[rbp], eax
	jmp	.L72
.L75:
	mov	eax, DWORD PTR -28[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -84[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, pop1[rip]
	mov	ecx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -36[rbp]
	movsx	rsi, eax
	mov	eax, DWORD PTR -92[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	add	rax, rdx
	sal	rax, 2
	add	rax, rsi
	lea	rdx, 0[0+rax*4]
	lea	rax, pop2[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cmp	ecx, eax
	jne	.L73
	mov	DWORD PTR -32[rbp], 1
	jmp	.L74
.L73:
	add	DWORD PTR -28[rbp], 1
.L72:
	mov	eax, DWORD PTR -28[rbp]
	cmp	eax, DWORD PTR -76[rbp]
	jl	.L75
.L74:
	cmp	DWORD PTR -32[rbp], 0
	jne	.L76
	mov	edx, DWORD PTR -40[rbp]
	lea	eax, 1[rdx]
	mov	DWORD PTR -40[rbp], eax
	mov	eax, DWORD PTR -36[rbp]
	movsx	rsi, eax
	mov	eax, DWORD PTR -92[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 3
	add	rax, rcx
	sal	rax, 2
	add	rax, rsi
	lea	rcx, 0[0+rax*4]
	lea	rax, pop2[rip]
	mov	ecx, DWORD PTR [rcx+rax]
	movsx	rsi, edx
	mov	eax, DWORD PTR -84[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	add	rax, rdx
	sal	rax, 2
	add	rax, rsi
	lea	rdx, 0[0+rax*4]
	lea	rax, pop1[rip]
	mov	DWORD PTR [rdx+rax], ecx
.L76:
	add	DWORD PTR -36[rbp], 1
.L71:
	mov	eax, DWORD PTR -40[rbp]
	cmp	eax, DWORD PTR -16[rbp]
	jl	.L77
	mov	eax, DWORD PTR -76[rbp]
	mov	DWORD PTR -40[rbp], eax
	jmp	.L78
.L84:
	mov	DWORD PTR -24[rbp], 0
	mov	eax, DWORD PTR -16[rbp]
	mov	DWORD PTR -20[rbp], eax
	jmp	.L79
.L82:
	mov	eax, DWORD PTR -20[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -84[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, pop1[rip]
	mov	ecx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -36[rbp]
	movsx	rsi, eax
	mov	eax, DWORD PTR -92[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	add	rax, rdx
	sal	rax, 2
	add	rax, rsi
	lea	rdx, 0[0+rax*4]
	lea	rax, pop2[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cmp	ecx, eax
	jne	.L80
	mov	DWORD PTR -24[rbp], 1
	jmp	.L81
.L80:
	add	DWORD PTR -20[rbp], 1
.L79:
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, DWORD PTR -76[rbp]
	jl	.L82
.L81:
	cmp	DWORD PTR -24[rbp], 0
	jne	.L83
	mov	edx, DWORD PTR -40[rbp]
	lea	eax, 1[rdx]
	mov	DWORD PTR -40[rbp], eax
	mov	eax, DWORD PTR -36[rbp]
	movsx	rsi, eax
	mov	eax, DWORD PTR -92[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 3
	add	rax, rcx
	sal	rax, 2
	add	rax, rsi
	lea	rcx, 0[0+rax*4]
	lea	rax, pop2[rip]
	mov	ecx, DWORD PTR [rcx+rax]
	movsx	rsi, edx
	mov	eax, DWORD PTR -84[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	add	rax, rdx
	sal	rax, 2
	add	rax, rsi
	lea	rdx, 0[0+rax*4]
	lea	rax, pop1[rip]
	mov	DWORD PTR [rdx+rax], ecx
.L83:
	add	DWORD PTR -36[rbp], 1
.L78:
	cmp	DWORD PTR -40[rbp], 35
	jle	.L84
.L68:
	call	drand48@PLT
	movsd	xmm1, QWORD PTR .LC8[rip]
	comisd	xmm1, xmm0
	ja	.L88
	jmp	.L89
.L88:
	call	drand48@PLT
	movsd	xmm1, QWORD PTR .LC9[rip]
	mulsd	xmm0, xmm1
	cvttsd2si	eax, xmm0
	mov	DWORD PTR -12[rbp], eax
	mov	eax, DWORD PTR epoch[rip]
	and	eax, 1
	test	eax, eax
	jne	.L87
	mov	eax, DWORD PTR -12[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -84[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, pop2[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -12[rbp]
	add	eax, 1
	movsx	rcx, eax
	mov	eax, DWORD PTR -84[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, pop2[rip]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -12[rbp]
	movsx	rsi, eax
	mov	eax, DWORD PTR -84[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 3
	add	rax, rcx
	sal	rax, 2
	add	rax, rsi
	lea	rcx, 0[0+rax*4]
	lea	rax, pop2[rip]
	mov	DWORD PTR [rcx+rax], edx
	mov	eax, DWORD PTR -12[rbp]
	add	eax, 1
	movsx	rcx, eax
	mov	eax, DWORD PTR -84[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	lea	rcx, 0[0+rax*4]
	lea	rdx, pop2[rip]
	mov	eax, DWORD PTR -4[rbp]
	mov	DWORD PTR [rcx+rdx], eax
	jmp	.L89
.L87:
	mov	eax, DWORD PTR -12[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -84[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, pop1[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	DWORD PTR -8[rbp], eax
	mov	eax, DWORD PTR -12[rbp]
	add	eax, 1
	movsx	rcx, eax
	mov	eax, DWORD PTR -84[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, pop1[rip]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -12[rbp]
	movsx	rsi, eax
	mov	eax, DWORD PTR -84[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 3
	add	rax, rcx
	sal	rax, 2
	add	rax, rsi
	lea	rcx, 0[0+rax*4]
	lea	rax, pop1[rip]
	mov	DWORD PTR [rcx+rax], edx
	mov	eax, DWORD PTR -12[rbp]
	add	eax, 1
	movsx	rcx, eax
	mov	eax, DWORD PTR -84[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	lea	rcx, 0[0+rax*4]
	lea	rdx, pop1[rip]
	mov	eax, DWORD PTR -8[rbp]
	mov	DWORD PTR [rcx+rdx], eax
.L89:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE16:
	.size	combine, .-combine
	.type	next_generation, @function
next_generation:
.LFB17:
	.cfi_startproc
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	DWORD PTR -28[rbp], 0
	jmp	.L91
.L98:
	mov	esi, 100
	lea	rdi, family.0[rip]
	call	shuffle
	mov	eax, DWORD PTR family.0[rip]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, scores[rip]
	mov	rax, QWORD PTR [rdx+rax]
	mov	QWORD PTR -16[rbp], rax
	mov	DWORD PTR -36[rbp], 0
	mov	DWORD PTR -24[rbp], 1
	jmp	.L92
.L94:
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, family.0[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, scores[rip]
	mov	rax, QWORD PTR [rdx+rax]
	cmp	QWORD PTR -16[rbp], rax
	jbe	.L93
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, family.0[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, scores[rip]
	mov	rax, QWORD PTR [rdx+rax]
	mov	QWORD PTR -16[rbp], rax
	mov	eax, DWORD PTR -24[rbp]
	mov	DWORD PTR -36[rbp], eax
.L93:
	add	DWORD PTR -24[rbp], 1
.L92:
	cmp	DWORD PTR -24[rbp], 4
	jle	.L94
	cmp	DWORD PTR -36[rbp], 0
	sete	al
	movzx	eax, al
	mov	DWORD PTR -32[rbp], eax
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, family.0[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, scores[rip]
	mov	rax, QWORD PTR [rdx+rax]
	mov	QWORD PTR -8[rbp], rax
	mov	DWORD PTR -20[rbp], 1
	jmp	.L95
.L97:
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, DWORD PTR -36[rbp]
	je	.L96
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, family.0[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, scores[rip]
	mov	rax, QWORD PTR [rdx+rax]
	cmp	QWORD PTR -8[rbp], rax
	jbe	.L96
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, family.0[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, scores[rip]
	mov	rax, QWORD PTR [rdx+rax]
	mov	QWORD PTR -8[rbp], rax
	mov	eax, DWORD PTR -20[rbp]
	mov	DWORD PTR -32[rbp], eax
.L96:
	add	DWORD PTR -20[rbp], 1
.L95:
	cmp	DWORD PTR -20[rbp], 4
	jle	.L97
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, family.0[rip]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	lea	rcx, 0[0+rax*4]
	lea	rax, family.0[rip]
	mov	ecx, DWORD PTR [rcx+rax]
	mov	eax, DWORD PTR -28[rbp]
	mov	esi, ecx
	mov	edi, eax
	call	combine
	add	DWORD PTR -28[rbp], 1
.L91:
	cmp	DWORD PTR -28[rbp], 99
	jle	.L98
	mov	eax, DWORD PTR epoch[rip]
	add	eax, 1
	mov	DWORD PTR epoch[rip], eax
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE17:
	.size	next_generation, .-next_generation
	.globl	main
	.type	main, @function
main:
.LFB18:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	call	init_rng
	mov	eax, 0
	call	compute_initial_distances
	call	initialize_population
	jmp	.L100
.L101:
	call	compute_scores
	call	next_generation
.L100:
	mov	eax, DWORD PTR epoch[rip]
	cmp	eax, 99999999
	jle	.L101
	mov	eax, 0
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE18:
	.size	main, .-main
	.local	family.0
	.comm	family.0,400,32
	.section	.rodata
	.align 8
.LC6:
	.long	0
	.long	1078001664
	.align 8
.LC7:
	.long	0
	.long	1077018624
	.align 8
.LC8:
	.long	-1717986918
	.long	1069128089
	.align 8
.LC9:
	.long	0
	.long	1078034432
	.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	"89087.c"
	.text
	.section	.rodata
	.align	2
	.type	letters, %object
	.size	letters, 31
letters:
	.ascii	"ABCDEFGHIJKLMNOPQRSTUVWXYZ1234\000"
	.local	d
	.comm	d,5184,4
	.local	pop1
	.comm	pop1,14400,4
	.local	pop2
	.comm	pop2,14400,4
	.local	scores
	.comm	scores,400,4
	.local	epoch
	.comm	epoch,4,4
	.data
	.align	2
	.type	best_score, %object
	.size	best_score, 4
best_score:
	.word	1215752191
	.local	best
	.comm	best,144,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%c%c\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	print_one, %function
print_one:
	@ 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	r1, [fp, #-8]
	ldr	r3, .L2
	smull	r0, r2, r3, r1
	asr	r3, r1, #31
	sub	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #1
	sub	r2, r1, r3
	ldr	r3, .L2+4
	ldrb	r3, [r3, r2]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r3, [fp, #-8]
	ldr	r2, .L2
	smull	r0, r2, r3, r2
	asr	r3, r3, #31
	sub	r3, r2, r3
	ldr	r2, .L2+4
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r0, .L2+8
	bl	printf
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L3:
	.align	2
.L2:
	.word	715827883
	.word	letters
	.word	.LC0
	.size	print_one, .-print_one
	.section	.rodata
	.align	2
.LC1:
	.ascii	"),\000"
	.align	2
.LC2:
	.ascii	", \000"
	.align	2
.LC3:
	.ascii	")\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	print_grid, %function
print_grid:
	@ 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	.L5
.L8:
	ldr	r0, .L9
	bl	puts
.L5:
	mov	r0, #40
	bl	putchar
	ldr	r3, [fp, #-12]
	add	r2, r3, #1
	str	r2, [fp, #-12]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	print_one
	mov	r3, #1
	str	r3, [fp, #-8]
	b	.L6
.L7:
	ldr	r0, .L9+4
	bl	printf
	ldr	r3, [fp, #-12]
	add	r2, r3, #1
	str	r2, [fp, #-12]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	print_one
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L6:
	ldr	r3, [fp, #-8]
	cmp	r3, #5
	ble	.L7
	ldr	r3, [fp, #-12]
	cmp	r3, #35
	ble	.L8
	ldr	r0, .L9+8
	bl	puts
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L10:
	.align	2
.L9:
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.size	print_grid, .-print_grid
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	dist, %function
dist:
	@ 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	r2, [fp, #-16]
	ldr	r3, .L15
	smull	r0, r1, r3, r2
	asr	r3, r2, #31
	sub	r1, r1, r3
	mov	r3, r1
	lsl	r3, r3, #1
	add	r3, r3, r1
	lsl	r3, r3, #1
	sub	r1, r2, r3
	ldr	r0, [fp, #-20]
	ldr	r3, .L15
	smull	ip, r2, r3, r0
	asr	r3, r0, #31
	sub	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #1
	sub	r2, r0, r3
	sub	r3, r1, r2
	cmp	r3, #0
	rsblt	r3, r3, #0
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-16]
	ldr	r2, .L15
	smull	r1, r2, r3, r2
	asr	r3, r3, #31
	sub	r2, r2, r3
	ldr	r3, [fp, #-20]
	ldr	r1, .L15
	smull	r0, r1, r3, r1
	asr	r3, r3, #31
	sub	r3, r3, r1
	add	r3, r2, r3
	cmp	r3, #0
	rsblt	r3, r3, #0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-12]
	rsb	r3, r3, #6
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	bls	.L12
	ldr	r3, [fp, #-12]
	rsb	r3, r3, #6
	str	r3, [fp, #-12]
.L12:
	ldr	r3, [fp, #-8]
	rsb	r3, r3, #6
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	bls	.L13
	ldr	r3, [fp, #-8]
	rsb	r3, r3, #6
	str	r3, [fp, #-8]
.L13:
	ldr	r3, [fp, #-12]
	mul	r2, r3, r3
	ldr	r3, [fp, #-8]
	mov	r1, r3
	mul	r1, r3, r1
	mov	r3, r1
	add	r3, r2, r3
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L16:
	.align	2
.L15:
	.word	715827883
	.size	dist, .-dist
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	compute_initial_distances, %function
compute_initial_distances:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L18
.L21:
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L19
.L20:
	ldr	r1, [fp, #-8]
	ldr	r0, [fp, #-12]
	bl	dist
	mov	r1, r0
	ldr	r0, .L22
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #2
	ldr	r2, [fp, #-8]
	add	r3, r3, r2
	str	r1, [r0, r3, lsl #2]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L19:
	ldr	r3, [fp, #-8]
	cmp	r3, #35
	ble	.L20
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L18:
	ldr	r3, [fp, #-12]
	cmp	r3, #35
	ble	.L21
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L23:
	.align	2
.L22:
	.word	d
	.size	compute_initial_distances, .-compute_initial_distances
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	compute_score, %function
compute_score:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #28
	str	r0, [fp, #-32]
	mov	r3, #0
	str	r3, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L25
.L28:
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-16]
	b	.L26
.L27:
	ldr	r1, .L30
	ldr	r2, [fp, #-20]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r3, r2
	ldr	r4, [r1, r3, lsl #2]
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	ldr	r0, [r3]
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r1, r3
	bl	dist
	mov	r3, r0
	mul	r3, r4, r3
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L26:
	ldr	r3, [fp, #-16]
	cmp	r3, #35
	ble	.L27
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L25:
	ldr	r3, [fp, #-20]
	cmp	r3, #35
	ble	.L28
	ldr	r3, [fp, #-24]
	sub	r3, r3, #16896
	sub	r3, r3, #6
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L31:
	.align	2
.L30:
	.word	d
	.size	compute_score, .-compute_score
	.section	.rodata
	.align	2
.LC4:
	.ascii	"Using seed %ld\012\000"
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	init_rng, %function
init_rng:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	ldr	r3, .L34
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #16
	mov	r1, #0
	mov	r0, r3
	bl	gettimeofday
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-16]
	add	r3, r2, r3
	str	r3, [fp, #-20]
	ldr	r1, [fp, #-20]
	ldr	r0, .L34+4
	bl	printf
	ldr	r0, [fp, #-20]
	bl	srand48
	nop
	ldr	r3, .L34
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L33
	bl	__stack_chk_fail
.L33:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L35:
	.align	2
.L34:
	.word	.LC5
	.word	.LC4
	.size	init_rng, .-init_rng
	.global	__aeabi_i2d
	.global	__aeabi_dmul
	.global	__aeabi_d2iz
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	shuffle, %function
shuffle:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #24
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	mov	r3, #0
	str	r3, [fp, #-28]
	b	.L37
.L38:
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	ldr	r2, [fp, #-28]
	str	r2, [r3]
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L37:
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-36]
	cmp	r2, r3
	blt	.L38
	ldr	r3, [fp, #-36]
	sub	r3, r3, #1
	str	r3, [fp, #-24]
	b	.L39
.L40:
	bl	drand48
	mov	r4, r0
	mov	r5, r1
	ldr	r0, [fp, #-24]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-32]
	add	r2, r2, r3
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #2
	ldr	r1, [fp, #-32]
	add	r3, r1, r3
	ldr	r2, [r2]
	str	r2, [r3]
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	ldr	r2, [fp, #-16]
	str	r2, [r3]
	ldr	r3, [fp, #-24]
	sub	r3, r3, #1
	str	r3, [fp, #-24]
.L39:
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bgt	.L40
	nop
	nop
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
	.size	shuffle, .-shuffle
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	initialize_population, %function
initialize_population:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L42
.L43:
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #4
	ldr	r2, .L44
	add	r3, r3, r2
	mov	r1, #36
	mov	r0, r3
	bl	shuffle
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L42:
	ldr	r3, [fp, #-8]
	cmp	r3, #99
	ble	.L43
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L45:
	.align	2
.L44:
	.word	pop1
	.size	initialize_population, .-initialize_population
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	copy_to, %function
copy_to:
	@ 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]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L47
.L48:
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r2, r2, r3
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	r1, [fp, #-20]
	add	r3, r1, r3
	ldr	r2, [r2]
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L47:
	ldr	r3, [fp, #-8]
	cmp	r3, #35
	ble	.L48
	nop
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	copy_to, .-copy_to
	.section	.rodata
	.align	2
.LC6:
	.ascii	"Next best score: %ld (epoch: %d)\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	compute_scores, %function
compute_scores:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	ldr	r3, .L63
	ldr	r3, [r3]
	and	r3, r3, #1
	cmp	r3, #0
	bne	.L50
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L51
.L52:
	ldr	r2, [fp, #-24]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #4
	ldr	r2, .L63+4
	add	r3, r3, r2
	mov	r0, r3
	bl	compute_score
	mov	r2, r0
	ldr	r1, .L63+8
	ldr	r3, [fp, #-24]
	str	r2, [r1, r3, lsl #2]
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L51:
	ldr	r3, [fp, #-24]
	cmp	r3, #99
	ble	.L52
	b	.L53
.L50:
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L54
.L55:
	ldr	r2, [fp, #-20]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #4
	ldr	r2, .L63+12
	add	r3, r3, r2
	mov	r0, r3
	bl	compute_score
	mov	r2, r0
	ldr	r1, .L63+8
	ldr	r3, [fp, #-20]
	str	r2, [r1, r3, lsl #2]
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L54:
	ldr	r3, [fp, #-20]
	cmp	r3, #99
	ble	.L55
.L53:
	ldr	r3, .L63+8
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-12]
	mov	r3, #1
	str	r3, [fp, #-8]
	b	.L56
.L58:
	ldr	r2, .L63+8
	ldr	r3, [fp, #-8]
	ldr	r3, [r2, r3, lsl #2]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	bls	.L57
	ldr	r2, .L63+8
	ldr	r3, [fp, #-8]
	ldr	r3, [r2, r3, lsl #2]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-8]
	str	r3, [fp, #-12]
.L57:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L56:
	ldr	r3, [fp, #-8]
	cmp	r3, #99
	ble	.L58
	ldr	r3, .L63+16
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	bcs	.L62
	ldr	r2, .L63+16
	ldr	r3, [fp, #-16]
	str	r3, [r2]
	ldr	r3, .L63
	ldr	r3, [r3]
	and	r3, r3, #1
	cmp	r3, #0
	bne	.L60
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #4
	ldr	r2, .L63+4
	add	r3, r3, r2
	ldr	r1, .L63+20
	mov	r0, r3
	bl	copy_to
	b	.L61
.L60:
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #4
	ldr	r2, .L63+12
	add	r3, r3, r2
	ldr	r1, .L63+20
	mov	r0, r3
	bl	copy_to
.L61:
	ldr	r3, .L63+16
	ldr	r3, [r3]
	ldr	r2, .L63
	ldr	r2, [r2]
	mov	r1, r3
	ldr	r0, .L63+24
	bl	printf
	ldr	r0, .L63+20
	bl	print_grid
	mov	r0, #10
	bl	putchar
.L62:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L64:
	.align	2
.L63:
	.word	epoch
	.word	pop1
	.word	scores
	.word	pop2
	.word	best_score
	.word	best
	.word	.LC6
	.size	compute_scores, .-compute_scores
	.global	__aeabi_dadd
	.global	__aeabi_dcmplt
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	combine, %function
combine:
	@ args = 0, pretend = 0, frame = 96
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #96
	str	r0, [fp, #-96]
	str	r1, [fp, #-100]
	str	r2, [fp, #-104]
	bl	drand48
	mov	r2, #0
	ldr	r3, .L106
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r4, r0
	mov	r5, r1
	bl	drand48
	mov	r2, #0
	ldr	r3, .L106+4
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	str	r3, [fp, #-88]
	ldr	r3, [fp, #-88]
	cmp	r3, #36
	ble	.L66
	mov	r3, #36
	str	r3, [fp, #-88]
.L66:
	ldr	r3, .L106+8
	ldr	r3, [r3]
	and	r3, r3, #1
	cmp	r3, #0
	bne	.L67
	ldr	r3, [fp, #-28]
	str	r3, [fp, #-84]
	b	.L68
.L69:
	ldr	r1, .L106+12
	ldr	r2, [fp, #-100]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #2
	ldr	r2, [fp, #-84]
	add	r3, r3, r2
	ldr	r1, [r1, r3, lsl #2]
	ldr	r0, .L106+16
	ldr	r2, [fp, #-96]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #2
	ldr	r2, [fp, #-84]
	add	r3, r3, r2
	str	r1, [r0, r3, lsl #2]
	ldr	r3, [fp, #-84]
	add	r3, r3, #1
	str	r3, [fp, #-84]
.L68:
	ldr	r2, [fp, #-84]
	ldr	r3, [fp, #-88]
	cmp	r2, r3
	blt	.L69
	mov	r3, #0
	str	r3, [fp, #-80]
	mov	r3, #0
	str	r3, [fp, #-76]
	b	.L70
.L76:
	mov	r3, #0
	str	r3, [fp, #-72]
	ldr	r3, [fp, #-28]
	str	r3, [fp, #-68]
	b	.L71
.L74:
	ldr	r1, .L106+16
	ldr	r2, [fp, #-96]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #2
	ldr	r2, [fp, #-68]
	add	r3, r3, r2
	ldr	r1, [r1, r3, lsl #2]
	ldr	r0, .L106+12
	ldr	r2, [fp, #-104]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #2
	ldr	r2, [fp, #-76]
	add	r3, r3, r2
	ldr	r3, [r0, r3, lsl #2]
	cmp	r1, r3
	bne	.L72
	mov	r3, #1
	str	r3, [fp, #-72]
	b	.L73
.L72:
	ldr	r3, [fp, #-68]
	add	r3, r3, #1
	str	r3, [fp, #-68]
.L71:
	ldr	r2, [fp, #-68]
	ldr	r3, [fp, #-88]
	cmp	r2, r3
	blt	.L74
.L73:
	ldr	r3, [fp, #-72]
	cmp	r3, #0
	bne	.L75
	ldr	r2, [fp, #-80]
	add	r3, r2, #1
	str	r3, [fp, #-80]
	ldr	r0, .L106+12
	ldr	r1, [fp, #-104]
	mov	r3, r1
	lsl	r3, r3, #3
	add	r3, r3, r1
	lsl	r3, r3, #2
	ldr	r1, [fp, #-76]
	add	r3, r3, r1
	ldr	r0, [r0, r3, lsl #2]
	ldr	ip, .L106+16
	ldr	r1, [fp, #-96]
	mov	r3, r1
	lsl	r3, r3, #3
	add	r3, r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r2
	str	r0, [ip, r3, lsl #2]
.L75:
	ldr	r3, [fp, #-76]
	add	r3, r3, #1
	str	r3, [fp, #-76]
.L70:
	ldr	r2, [fp, #-80]
	ldr	r3, [fp, #-28]
	cmp	r2, r3
	blt	.L76
	ldr	r3, [fp, #-88]
	str	r3, [fp, #-80]
	b	.L77
.L83:
	mov	r3, #0
	str	r3, [fp, #-64]
	ldr	r3, [fp, #-28]
	str	r3, [fp, #-60]
	b	.L78
.L81:
	ldr	r1, .L106+16
	ldr	r2, [fp, #-96]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #2
	ldr	r2, [fp, #-60]
	add	r3, r3, r2
	ldr	r1, [r1, r3, lsl #2]
	ldr	r0, .L106+12
	ldr	r2, [fp, #-104]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #2
	ldr	r2, [fp, #-76]
	add	r3, r3, r2
	ldr	r3, [r0, r3, lsl #2]
	cmp	r1, r3
	bne	.L79
	mov	r3, #1
	str	r3, [fp, #-64]
	b	.L80
.L79:
	ldr	r3, [fp, #-60]
	add	r3, r3, #1
	str	r3, [fp, #-60]
.L78:
	ldr	r2, [fp, #-60]
	ldr	r3, [fp, #-88]
	cmp	r2, r3
	blt	.L81
.L80:
	ldr	r3, [fp, #-64]
	cmp	r3, #0
	bne	.L82
	ldr	r2, [fp, #-80]
	add	r3, r2, #1
	str	r3, [fp, #-80]
	ldr	r0, .L106+12
	ldr	r1, [fp, #-104]
	mov	r3, r1
	lsl	r3, r3, #3
	add	r3, r3, r1
	lsl	r3, r3, #2
	ldr	r1, [fp, #-76]
	add	r3, r3, r1
	ldr	r0, [r0, r3, lsl #2]
	ldr	ip, .L106+16
	ldr	r1, [fp, #-96]
	mov	r3, r1
	lsl	r3, r3, #3
	add	r3, r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r2
	str	r0, [ip, r3, lsl #2]
.L82:
	ldr	r3, [fp, #-76]
	add	r3, r3, #1
	str	r3, [fp, #-76]
.L77:
	ldr	r3, [fp, #-80]
	cmp	r3, #35
	ble	.L83
	b	.L84
.L67:
	ldr	r3, [fp, #-28]
	str	r3, [fp, #-56]
	b	.L85
.L86:
	ldr	r1, .L106+16
	ldr	r2, [fp, #-100]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #2
	ldr	r2, [fp, #-56]
	add	r3, r3, r2
	ldr	r1, [r1, r3, lsl #2]
	ldr	r0, .L106+12
	ldr	r2, [fp, #-96]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #2
	ldr	r2, [fp, #-56]
	add	r3, r3, r2
	str	r1, [r0, r3, lsl #2]
	ldr	r3, [fp, #-56]
	add	r3, r3, #1
	str	r3, [fp, #-56]
.L85:
	ldr	r2, [fp, #-56]
	ldr	r3, [fp, #-88]
	cmp	r2, r3
	blt	.L86
	mov	r3, #0
	str	r3, [fp, #-52]
	mov	r3, #0
	str	r3, [fp, #-48]
	b	.L87
.L93:
	mov	r3, #0
	str	r3, [fp, #-44]
	ldr	r3, [fp, #-28]
	str	r3, [fp, #-40]
	b	.L88
.L91:
	ldr	r1, .L106+12
	ldr	r2, [fp, #-96]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #2
	ldr	r2, [fp, #-40]
	add	r3, r3, r2
	ldr	r1, [r1, r3, lsl #2]
	ldr	r0, .L106+16
	ldr	r2, [fp, #-104]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #2
	ldr	r2, [fp, #-48]
	add	r3, r3, r2
	ldr	r3, [r0, r3, lsl #2]
	cmp	r1, r3
	bne	.L89
	mov	r3, #1
	str	r3, [fp, #-44]
	b	.L90
.L89:
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
.L88:
	ldr	r2, [fp, #-40]
	ldr	r3, [fp, #-88]
	cmp	r2, r3
	blt	.L91
.L90:
	ldr	r3, [fp, #-44]
	cmp	r3, #0
	bne	.L92
	ldr	r2, [fp, #-52]
	add	r3, r2, #1
	str	r3, [fp, #-52]
	ldr	r0, .L106+16
	ldr	r1, [fp, #-104]
	mov	r3, r1
	lsl	r3, r3, #3
	add	r3, r3, r1
	lsl	r3, r3, #2
	ldr	r1, [fp, #-48]
	add	r3, r3, r1
	ldr	r0, [r0, r3, lsl #2]
	ldr	ip, .L106+12
	ldr	r1, [fp, #-96]
	mov	r3, r1
	lsl	r3, r3, #3
	add	r3, r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r2
	str	r0, [ip, r3, lsl #2]
.L92:
	ldr	r3, [fp, #-48]
	add	r3, r3, #1
	str	r3, [fp, #-48]
.L87:
	ldr	r2, [fp, #-52]
	ldr	r3, [fp, #-28]
	cmp	r2, r3
	blt	.L93
	ldr	r3, [fp, #-88]
	str	r3, [fp, #-52]
	b	.L94
.L100:
	mov	r3, #0
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-28]
	str	r3, [fp, #-32]
	b	.L95
.L98:
	ldr	r1, .L106+12
	ldr	r2, [fp, #-96]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #2
	ldr	r2, [fp, #-32]
	add	r3, r3, r2
	ldr	r1, [r1, r3, lsl #2]
	ldr	r0, .L106+16
	ldr	r2, [fp, #-104]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #2
	ldr	r2, [fp, #-48]
	add	r3, r3, r2
	ldr	r3, [r0, r3, lsl #2]
	cmp	r1, r3
	bne	.L96
	mov	r3, #1
	str	r3, [fp, #-36]
	b	.L97
.L96:
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
.L95:
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-88]
	cmp	r2, r3
	blt	.L98
.L97:
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	bne	.L99
	ldr	r2, [fp, #-52]
	add	r3, r2, #1
	str	r3, [fp, #-52]
	ldr	r0, .L106+16
	ldr	r1, [fp, #-104]
	mov	r3, r1
	lsl	r3, r3, #3
	add	r3, r3, r1
	lsl	r3, r3, #2
	ldr	r1, [fp, #-48]
	add	r3, r3, r1
	ldr	r0, [r0, r3, lsl #2]
	ldr	ip, .L106+12
	ldr	r1, [fp, #-96]
	mov	r3, r1
	lsl	r3, r3, #3
	add	r3, r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r2
	str	r0, [ip, r3, lsl #2]
.L99:
	ldr	r3, [fp, #-48]
	add	r3, r3, #1
	str	r3, [fp, #-48]
.L94:
	ldr	r3, [fp, #-52]
	cmp	r3, #35
	ble	.L100
.L84:
	bl	drand48
	ldr	r2, .L106+20
	ldr	r3, .L106+24
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	bne	.L104
	b	.L105
.L104:
	bl	drand48
	mov	r2, #0
	ldr	r3, .L106+28
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	str	r3, [fp, #-24]
	ldr	r3, .L106+8
	ldr	r3, [r3]
	and	r3, r3, #1
	cmp	r3, #0
	bne	.L103
	ldr	r1, .L106+16
	ldr	r2, [fp, #-96]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #2
	ldr	r2, [fp, #-24]
	add	r3, r3, r2
	ldr	r3, [r1, r3, lsl #2]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-24]
	add	r1, r3, #1
	ldr	r0, .L106+16
	ldr	r2, [fp, #-96]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r1
	ldr	r1, [r0, r3, lsl #2]
	ldr	r0, .L106+16
	ldr	r2, [fp, #-96]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #2
	ldr	r2, [fp, #-24]
	add	r3, r3, r2
	str	r1, [r0, r3, lsl #2]
	ldr	r3, [fp, #-24]
	add	r1, r3, #1
	ldr	r0, .L106+16
	ldr	r2, [fp, #-96]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r1
	ldr	r2, [fp, #-16]
	str	r2, [r0, r3, lsl #2]
	b	.L105
.L103:
	ldr	r1, .L106+12
	ldr	r2, [fp, #-96]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #2
	ldr	r2, [fp, #-24]
	add	r3, r3, r2
	ldr	r3, [r1, r3, lsl #2]
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-24]
	add	r1, r3, #1
	ldr	r0, .L106+12
	ldr	r2, [fp, #-96]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r1
	ldr	r1, [r0, r3, lsl #2]
	ldr	r0, .L106+12
	ldr	r2, [fp, #-96]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #2
	ldr	r2, [fp, #-24]
	add	r3, r3, r2
	str	r1, [r0, r3, lsl #2]
	ldr	r3, [fp, #-24]
	add	r1, r3, #1
	ldr	r0, .L106+12
	ldr	r2, [fp, #-96]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r1
	ldr	r2, [fp, #-20]
	str	r2, [r0, r3, lsl #2]
.L105:
	nop
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L107:
	.align	2
.L106:
	.word	1078001664
	.word	1077018624
	.word	epoch
	.word	pop1
	.word	pop2
	.word	-1717986918
	.word	1069128089
	.word	1078034432
	.size	combine, .-combine
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	next_generation, %function
next_generation:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L109
.L116:
	mov	r1, #100
	ldr	r0, .L117
	bl	shuffle
	ldr	r3, .L117
	ldr	r3, [r3]
	ldr	r2, .L117+4
	ldr	r3, [r2, r3, lsl #2]
	str	r3, [fp, #-32]
	mov	r3, #0
	str	r3, [fp, #-24]
	mov	r3, #1
	str	r3, [fp, #-12]
	b	.L110
.L112:
	ldr	r2, .L117
	ldr	r3, [fp, #-12]
	ldr	r3, [r2, r3, lsl #2]
	ldr	r2, .L117+4
	ldr	r3, [r2, r3, lsl #2]
	ldr	r2, [fp, #-32]
	cmp	r2, r3
	bls	.L111
	ldr	r2, .L117
	ldr	r3, [fp, #-12]
	ldr	r3, [r2, r3, lsl #2]
	ldr	r2, .L117+4
	ldr	r3, [r2, r3, lsl #2]
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-12]
	str	r3, [fp, #-24]
.L111:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L110:
	ldr	r3, [fp, #-12]
	cmp	r3, #4
	ble	.L112
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	str	r3, [fp, #-20]
	ldr	r2, .L117
	ldr	r3, [fp, #-20]
	ldr	r3, [r2, r3, lsl #2]
	ldr	r2, .L117+4
	ldr	r3, [r2, r3, lsl #2]
	str	r3, [fp, #-28]
	mov	r3, #1
	str	r3, [fp, #-8]
	b	.L113
.L115:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-24]
	cmp	r2, r3
	beq	.L114
	ldr	r2, .L117
	ldr	r3, [fp, #-8]
	ldr	r3, [r2, r3, lsl #2]
	ldr	r2, .L117+4
	ldr	r3, [r2, r3, lsl #2]
	ldr	r2, [fp, #-28]
	cmp	r2, r3
	bls	.L114
	ldr	r2, .L117
	ldr	r3, [fp, #-8]
	ldr	r3, [r2, r3, lsl #2]
	ldr	r2, .L117+4
	ldr	r3, [r2, r3, lsl #2]
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-8]
	str	r3, [fp, #-20]
.L114:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L113:
	ldr	r3, [fp, #-8]
	cmp	r3, #4
	ble	.L115
	ldr	r2, .L117
	ldr	r3, [fp, #-24]
	ldr	r1, [r2, r3, lsl #2]
	ldr	r2, .L117
	ldr	r3, [fp, #-20]
	ldr	r3, [r2, r3, lsl #2]
	mov	r2, r3
	ldr	r0, [fp, #-16]
	bl	combine
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L109:
	ldr	r3, [fp, #-16]
	cmp	r3, #99
	ble	.L116
	ldr	r3, .L117+8
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L117+8
	str	r3, [r2]
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L118:
	.align	2
.L117:
	.word	family.5489
	.word	scores
	.word	epoch
	.size	next_generation, .-next_generation
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	bl	init_rng
	bl	compute_initial_distances
	bl	initialize_population
	b	.L120
.L121:
	bl	compute_scores
	bl	next_generation
.L120:
	ldr	r3, .L123
	ldr	r3, [r3]
	ldr	r2, .L123+4
	cmp	r3, r2
	ble	.L121
	mov	r3, #0
	mov	r0, r3
	pop	{fp, pc}
.L124:
	.align	2
.L123:
	.word	epoch
	.word	99999999
	.size	main, .-main
	.local	family.5489
	.comm	family.5489,400,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
