	.file	"121895.c"
	.intel_syntax noprefix
	.text
	.type	char_to_bits, @function
char_to_bits:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, edi
	mov	BYTE PTR -4[rbp], al
	cmp	BYTE PTR -4[rbp], 0
	jns	.L2
	mov	eax, 49
	jmp	.L3
.L2:
	mov	eax, 48
.L3:
	mov	BYTE PTR b.0[rip], al
	movsx	eax, BYTE PTR -4[rbp]
	and	eax, 64
	test	eax, eax
	je	.L4
	mov	eax, 49
	jmp	.L5
.L4:
	mov	eax, 48
.L5:
	mov	BYTE PTR b.0[rip+1], al
	movsx	eax, BYTE PTR -4[rbp]
	and	eax, 32
	test	eax, eax
	je	.L6
	mov	eax, 49
	jmp	.L7
.L6:
	mov	eax, 48
.L7:
	mov	BYTE PTR b.0[rip+2], al
	movsx	eax, BYTE PTR -4[rbp]
	and	eax, 16
	test	eax, eax
	je	.L8
	mov	eax, 49
	jmp	.L9
.L8:
	mov	eax, 48
.L9:
	mov	BYTE PTR b.0[rip+3], al
	mov	BYTE PTR b.0[rip+4], 32
	movsx	eax, BYTE PTR -4[rbp]
	and	eax, 8
	test	eax, eax
	je	.L10
	mov	eax, 49
	jmp	.L11
.L10:
	mov	eax, 48
.L11:
	mov	BYTE PTR b.0[rip+5], al
	movsx	eax, BYTE PTR -4[rbp]
	and	eax, 4
	test	eax, eax
	je	.L12
	mov	eax, 49
	jmp	.L13
.L12:
	mov	eax, 48
.L13:
	mov	BYTE PTR b.0[rip+6], al
	movsx	eax, BYTE PTR -4[rbp]
	and	eax, 2
	test	eax, eax
	je	.L14
	mov	eax, 49
	jmp	.L15
.L14:
	mov	eax, 48
.L15:
	mov	BYTE PTR b.0[rip+7], al
	movsx	eax, BYTE PTR -4[rbp]
	and	eax, 1
	test	eax, eax
	je	.L16
	mov	eax, 49
	jmp	.L17
.L16:
	mov	eax, 48
.L17:
	mov	BYTE PTR b.0[rip+8], al
	mov	BYTE PTR b.0[rip+9], 0
	lea	rax, b.0[rip]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	char_to_bits, .-char_to_bits
	.globl	encode
	.type	encode, @function
encode:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, edi
	mov	BYTE PTR -4[rbp], al
	movzx	eax, BYTE PTR -4[rbp]
	add	eax, 16
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	encode, .-encode
	.globl	decode
	.type	decode, @function
decode:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, edi
	mov	BYTE PTR -4[rbp], al
	movzx	eax, BYTE PTR -4[rbp]
	sub	eax, 16
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	decode, .-decode
	.globl	fitness
	.type	fitness, @function
fitness:
.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, 24
	mov	eax, edi
	mov	BYTE PTR -20[rbp], al
	movsx	eax, BYTE PTR -20[rbp]
	mov	edi, eax
	call	decode
	mov	BYTE PTR -1[rbp], al
	movsx	edx, BYTE PTR -1[rbp]
	movsx	eax, BYTE PTR -1[rbp]
	imul	edx, eax
	movsx	eax, BYTE PTR -1[rbp]
	mov	esi, eax
	lea	ecx, 0[0+rax*4]
	mov	eax, esi
	sub	eax, ecx
	add	eax, edx
	add	eax, 4
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	fitness, .-fitness
	.globl	selection_sort
	.type	selection_sort, @function
selection_sort:
.LFB10:
	.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, 32
	.cfi_offset 3, -24
	mov	QWORD PTR -32[rbp], rdi
	mov	DWORD PTR -36[rbp], esi
	mov	DWORD PTR -20[rbp], 0
	jmp	.L26
.L30:
	mov	eax, DWORD PTR -20[rbp]
	mov	DWORD PTR -16[rbp], eax
	mov	eax, DWORD PTR -20[rbp]
	add	eax, 1
	mov	DWORD PTR -12[rbp], eax
	jmp	.L27
.L29:
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	edi, eax
	call	fitness
	mov	ebx, eax
	mov	eax, DWORD PTR -16[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	edi, eax
	call	fitness
	cmp	ebx, eax
	jle	.L28
	mov	eax, DWORD PTR -12[rbp]
	mov	DWORD PTR -16[rbp], eax
.L28:
	add	DWORD PTR -12[rbp], 1
.L27:
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, DWORD PTR -36[rbp]
	jl	.L29
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR -21[rbp], al
	mov	eax, DWORD PTR -16[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR -20[rbp]
	movsx	rcx, edx
	mov	rdx, QWORD PTR -32[rbp]
	add	rdx, rcx
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR [rdx], al
	mov	eax, DWORD PTR -16[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -32[rbp]
	add	rdx, rax
	movzx	eax, BYTE PTR -21[rbp]
	mov	BYTE PTR [rdx], al
	add	DWORD PTR -20[rbp], 1
.L26:
	mov	eax, DWORD PTR -36[rbp]
	sub	eax, 1
	cmp	DWORD PTR -20[rbp], eax
	jl	.L30
	nop
	nop
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	selection_sort, .-selection_sort
	.globl	crossover
	.type	crossover, @function
crossover:
.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	ecx, edi
	mov	eax, esi
	mov	DWORD PTR -28[rbp], edx
	mov	edx, ecx
	mov	BYTE PTR -20[rbp], dl
	mov	BYTE PTR -24[rbp], al
	cmp	DWORD PTR -28[rbp], 0
	js	.L32
	cmp	DWORD PTR -28[rbp], 8
	jle	.L33
.L32:
	mov	edi, 1
	call	exit@PLT
.L33:
	mov	BYTE PTR -3[rbp], 0
	mov	eax, DWORD PTR -28[rbp]
	mov	edx, 1
	mov	ecx, eax
	sal	edx, cl
	mov	eax, edx
	mov	BYTE PTR -1[rbp], al
	mov	BYTE PTR -2[rbp], 1
	jmp	.L34
.L37:
	movzx	eax, BYTE PTR -2[rbp]
	cmp	al, BYTE PTR -1[rbp]
	jbe	.L35
	movzx	eax, BYTE PTR -20[rbp]
	and	al, BYTE PTR -2[rbp]
	mov	edx, eax
	jmp	.L36
.L35:
	movzx	eax, BYTE PTR -24[rbp]
	and	al, BYTE PTR -2[rbp]
	mov	edx, eax
.L36:
	movzx	eax, BYTE PTR -3[rbp]
	or	eax, edx
	mov	BYTE PTR -3[rbp], al
	sal	BYTE PTR -2[rbp]
.L34:
	cmp	BYTE PTR -2[rbp], 32
	jbe	.L37
	movzx	eax, BYTE PTR -3[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	crossover, .-crossover
	.globl	mutate
	.type	mutate, @function
mutate:
.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, 32
	mov	eax, edi
	mov	DWORD PTR -24[rbp], esi
	mov	BYTE PTR -20[rbp], al
	movzx	eax, BYTE PTR -20[rbp]
	mov	BYTE PTR -5[rbp], al
	mov	BYTE PTR -6[rbp], 1
	mov	DWORD PTR -4[rbp], 0
	jmp	.L40
.L43:
	call	rand@PLT
	movsx	rdx, eax
	imul	rdx, rdx, 1374389535
	shr	rdx, 32
	sar	edx, 5
	mov	ecx, eax
	sar	ecx, 31
	sub	edx, ecx
	imul	ecx, edx, 100
	sub	eax, ecx
	mov	edx, eax
	cmp	DWORD PTR -24[rbp], edx
	jle	.L41
	movzx	edx, BYTE PTR -20[rbp]
	movsx	eax, BYTE PTR -6[rbp]
	and	eax, edx
	test	eax, eax
	jne	.L42
	movzx	eax, BYTE PTR -6[rbp]
	or	BYTE PTR -5[rbp], al
	jmp	.L41
.L42:
	movzx	eax, BYTE PTR -6[rbp]
	not	eax
	and	BYTE PTR -5[rbp], al
.L41:
	movsx	eax, BYTE PTR -6[rbp]
	add	eax, eax
	mov	BYTE PTR -6[rbp], al
	add	DWORD PTR -4[rbp], 1
.L40:
	cmp	DWORD PTR -4[rbp], 4
	jle	.L43
	movzx	eax, BYTE PTR -5[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	mutate, .-mutate
	.globl	gen_population
	.type	gen_population, @function
gen_population:
.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 -4[rbp], 0
	jmp	.L46
.L47:
	call	rand@PLT
	mov	edx, eax
	movsx	rax, edx
	imul	rax, rax, 818089009
	shr	rax, 32
	sar	eax, 2
	mov	esi, edx
	sar	esi, 31
	sub	eax, esi
	mov	ecx, eax
	mov	eax, ecx
	sal	eax, 2
	add	eax, ecx
	sal	eax, 2
	add	eax, ecx
	sub	edx, eax
	mov	ecx, edx
	mov	eax, ecx
	lea	ecx, -10[rax]
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	edx, ecx
	mov	BYTE PTR [rax], dl
	add	DWORD PTR -4[rbp], 1
.L46:
	cmp	DWORD PTR -4[rbp], 29
	jle	.L47
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	gen_population, .-gen_population
	.globl	tournament
	.type	tournament, @function
tournament:
.LFB14:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r15
	push	r14
	push	r13
	push	r12
	push	rbx
	sub	rsp, 104
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	mov	QWORD PTR -136[rbp], rdi
	mov	DWORD PTR -140[rbp], esi
	mov	DWORD PTR -144[rbp], edx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rax
	xor	eax, eax
	mov	rax, rsp
	mov	r12, rax
	mov	eax, DWORD PTR -144[rbp]
	cmp	eax, DWORD PTR -140[rbp]
	jge	.L49
	mov	eax, DWORD PTR -144[rbp]
	mov	DWORD PTR -140[rbp], eax
.L49:
	mov	eax, DWORD PTR -144[rbp]
	movsx	rdx, eax
	sub	rdx, 1
	mov	QWORD PTR -96[rbp], rdx
	movsx	rdx, eax
	mov	r14, rdx
	mov	r15d, 0
	movsx	rdx, eax
	mov	rcx, rdx
	mov	ebx, 0
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	edi, 16
	mov	edx, 0
	div	rdi
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L50:
	cmp	rsp, rdx
	je	.L51
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L50
.L51:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L52
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L52:
	mov	rax, rsp
	add	rax, 3
	shr	rax, 2
	sal	rax, 2
	mov	QWORD PTR -88[rbp], rax
	mov	DWORD PTR -104[rbp], 0
	jmp	.L53
.L54:
	mov	eax, DWORD PTR -104[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -136[rbp]
	add	rax, rdx
	movzx	ecx, BYTE PTR [rax]
	mov	rax, QWORD PTR -88[rbp]
	mov	edx, DWORD PTR -104[rbp]
	movsx	rdx, edx
	mov	BYTE PTR [rax+rdx*8], cl
	mov	rax, QWORD PTR -88[rbp]
	mov	edx, DWORD PTR -104[rbp]
	movsx	rdx, edx
	mov	ecx, DWORD PTR -104[rbp]
	mov	DWORD PTR 4[rax+rdx*8], ecx
	add	DWORD PTR -104[rbp], 1
.L53:
	mov	eax, DWORD PTR -104[rbp]
	cmp	eax, DWORD PTR -144[rbp]
	jl	.L54
	mov	eax, DWORD PTR -140[rbp]
	mov	rdx, rsp
	mov	r13, rdx
	movsx	rdx, eax
	sub	rdx, 1
	mov	QWORD PTR -80[rbp], rdx
	movsx	rdx, eax
	mov	r10, rdx
	mov	r11d, 0
	movsx	rdx, eax
	mov	r8, rdx
	mov	r9d, 0
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	ebx, 16
	mov	edx, 0
	div	rbx
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L55:
	cmp	rsp, rdx
	je	.L56
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L55
.L56:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L57
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L57:
	mov	rax, rsp
	add	rax, 3
	shr	rax, 2
	sal	rax, 2
	mov	QWORD PTR -72[rbp], rax
	mov	eax, DWORD PTR -144[rbp]
	mov	DWORD PTR -108[rbp], eax
	mov	DWORD PTR -112[rbp], 0
	jmp	.L58
.L59:
	call	rand@PLT
	cdq
	idiv	DWORD PTR -108[rbp]
	mov	DWORD PTR -100[rbp], edx
	mov	rax, QWORD PTR -72[rbp]
	mov	edx, DWORD PTR -112[rbp]
	movsx	rdx, edx
	mov	rcx, QWORD PTR -88[rbp]
	mov	esi, DWORD PTR -100[rbp]
	movsx	rsi, esi
	mov	rcx, QWORD PTR [rcx+rsi*8]
	mov	QWORD PTR [rax+rdx*8], rcx
	sub	DWORD PTR -108[rbp], 1
	mov	rax, QWORD PTR -88[rbp]
	mov	edx, DWORD PTR -100[rbp]
	movsx	rdx, edx
	mov	rcx, QWORD PTR -88[rbp]
	mov	esi, DWORD PTR -108[rbp]
	movsx	rsi, esi
	mov	rcx, QWORD PTR [rcx+rsi*8]
	mov	QWORD PTR [rax+rdx*8], rcx
	mov	rax, QWORD PTR -88[rbp]
	mov	edx, DWORD PTR -108[rbp]
	movsx	rdx, edx
	mov	DWORD PTR 4[rax+rdx*8], -1
	mov	rax, QWORD PTR -88[rbp]
	mov	edx, DWORD PTR -108[rbp]
	movsx	rdx, edx
	mov	BYTE PTR [rax+rdx*8], -42
	add	DWORD PTR -112[rbp], 1
.L58:
	mov	eax, DWORD PTR -112[rbp]
	cmp	eax, DWORD PTR -140[rbp]
	jl	.L59
	mov	rax, QWORD PTR -72[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -64[rbp], rax
	mov	DWORD PTR -116[rbp], 1
	jmp	.L60
.L62:
	mov	rax, QWORD PTR -72[rbp]
	mov	edx, DWORD PTR -116[rbp]
	movsx	rdx, edx
	movzx	eax, BYTE PTR [rax+rdx*8]
	movsx	eax, al
	mov	edi, eax
	call	fitness
	mov	ebx, eax
	movzx	eax, BYTE PTR -64[rbp]
	movsx	eax, al
	mov	edi, eax
	call	fitness
	cmp	ebx, eax
	jle	.L61
	mov	rax, QWORD PTR -72[rbp]
	mov	edx, DWORD PTR -116[rbp]
	movsx	rdx, edx
	mov	rax, QWORD PTR [rax+rdx*8]
	mov	QWORD PTR -64[rbp], rax
.L61:
	add	DWORD PTR -116[rbp], 1
.L60:
	mov	eax, DWORD PTR -116[rbp]
	cmp	eax, DWORD PTR -140[rbp]
	jl	.L62
	mov	eax, DWORD PTR -144[rbp]
	cdqe
	lea	rdx, -1[rax]
	mov	rax, QWORD PTR -136[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR -60[rbp]
	movsx	rcx, edx
	mov	rdx, QWORD PTR -136[rbp]
	add	rdx, rcx
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR [rdx], al
	mov	eax, DWORD PTR -144[rbp]
	cdqe
	lea	rdx, -1[rax]
	mov	rax, QWORD PTR -136[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], -42
	movzx	eax, BYTE PTR -64[rbp]
	mov	rsp, r13
	mov	rsp, r12
	mov	rbx, QWORD PTR -56[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L64
	call	__stack_chk_fail@PLT
.L64:
	lea	rsp, -40[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	tournament, .-tournament
	.section	.rodata
.LC0:
	.string	"%d,"
.LC1:
	.string	"%d]\n"
	.text
	.globl	inspect_pop
	.type	inspect_pop, @function
inspect_pop:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	edi, 91
	call	putchar@PLT
	mov	DWORD PTR -4[rbp], 0
	jmp	.L66
.L67:
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	edi, eax
	call	decode
	movsx	eax, al
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -4[rbp], 1
.L66:
	mov	eax, DWORD PTR -28[rbp]
	sub	eax, 1
	cmp	DWORD PTR -4[rbp], eax
	jl	.L67
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	lea	rdx, -1[rax]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	edi, eax
	call	decode
	movsx	eax, al
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE15:
	.size	inspect_pop, .-inspect_pop
	.section	.rodata
	.align 8
.LC2:
	.string	"%s <pop-size> <gen-num> <mut-rate> [flag]\n"
.LC3:
	.string	"%d\n"
.LC4:
	.string	"pop #%2d best_one : %3d\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB16:
	.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, 72
	.cfi_offset 3, -24
	mov	DWORD PTR -68[rbp], edi
	mov	QWORD PTR -80[rbp], rsi
	cmp	DWORD PTR -68[rbp], 3
	jg	.L69
	mov	rax, QWORD PTR -80[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L69:
	mov	rax, QWORD PTR -80[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR -40[rbp], eax
	mov	rax, QWORD PTR -80[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR -36[rbp], eax
	mov	rax, QWORD PTR -80[rbp]
	add	rax, 24
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR -32[rbp], eax
	cmp	DWORD PTR -68[rbp], 4
	jle	.L70
	mov	rax, QWORD PTR -80[rbp]
	add	rax, 32
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	jmp	.L71
.L70:
	mov	eax, 0
.L71:
	mov	DWORD PTR -28[rbp], eax
	mov	eax, DWORD PTR -40[rbp]
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 0
	call	time@PLT
	mov	edi, eax
	call	srand@PLT
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -24[rbp], rax
	mov	DWORD PTR -52[rbp], 0
	jmp	.L72
.L73:
	call	rand@PLT
	cdq
	shr	edx, 27
	add	eax, edx
	and	eax, 31
	sub	eax, edx
	sub	eax, 16
	movsx	eax, al
	mov	edx, DWORD PTR -52[rbp]
	movsx	rcx, edx
	mov	rdx, QWORD PTR -24[rbp]
	lea	rbx, [rcx+rdx]
	mov	edi, eax
	call	encode
	mov	BYTE PTR [rbx], al
	add	DWORD PTR -52[rbp], 1
.L72:
	mov	eax, DWORD PTR -52[rbp]
	cmp	eax, DWORD PTR -40[rbp]
	jl	.L73
	mov	DWORD PTR -48[rbp], 0
	jmp	.L74
.L79:
	mov	edx, DWORD PTR -40[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	selection_sort
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	edi, eax
	call	decode
	movsx	edx, al
	mov	eax, DWORD PTR -48[rbp]
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edx, DWORD PTR -40[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	inspect_pop
	mov	edx, DWORD PTR -40[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	esi, 5
	mov	rdi, rax
	call	tournament
	mov	BYTE PTR -54[rbp], al
	mov	eax, DWORD PTR -40[rbp]
	lea	edx, -1[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	esi, 5
	mov	rdi, rax
	call	tournament
	mov	BYTE PTR -53[rbp], al
	movzx	eax, BYTE PTR -53[rbp]
	movzx	ecx, al
	movzx	eax, BYTE PTR -54[rbp]
	movzx	eax, al
	mov	edx, 2
	mov	esi, ecx
	mov	edi, eax
	call	crossover
	mov	BYTE PTR -56[rbp], al
	movzx	eax, BYTE PTR -54[rbp]
	movzx	ecx, al
	movzx	eax, BYTE PTR -53[rbp]
	movzx	eax, al
	mov	edx, 2
	mov	esi, ecx
	mov	edi, eax
	call	crossover
	mov	BYTE PTR -55[rbp], al
	cmp	DWORD PTR -28[rbp], 1
	jne	.L75
	mov	DWORD PTR -44[rbp], 0
	jmp	.L76
.L77:
	mov	eax, DWORD PTR -44[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	mov	edx, DWORD PTR -32[rbp]
	mov	esi, edx
	mov	edi, eax
	call	mutate
	mov	edx, eax
	mov	eax, DWORD PTR -44[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rcx
	mov	BYTE PTR [rax], dl
	add	DWORD PTR -44[rbp], 1
.L76:
	mov	eax, DWORD PTR -44[rbp]
	cmp	eax, DWORD PTR -40[rbp]
	jl	.L77
	jmp	.L78
.L75:
	movzx	eax, BYTE PTR -56[rbp]
	movzx	eax, al
	mov	edx, DWORD PTR -32[rbp]
	mov	esi, edx
	mov	edi, eax
	call	mutate
	mov	BYTE PTR -56[rbp], al
	movzx	eax, BYTE PTR -55[rbp]
	movzx	eax, al
	mov	edx, DWORD PTR -32[rbp]
	mov	esi, edx
	mov	edi, eax
	call	mutate
	mov	BYTE PTR -55[rbp], al
.L78:
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	lea	rdx, -1[rax]
	mov	rax, QWORD PTR -24[rbp]
	add	rdx, rax
	movzx	eax, BYTE PTR -54[rbp]
	mov	BYTE PTR [rdx], al
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	lea	rdx, -2[rax]
	mov	rax, QWORD PTR -24[rbp]
	add	rdx, rax
	movzx	eax, BYTE PTR -53[rbp]
	mov	BYTE PTR [rdx], al
	mov	edx, DWORD PTR -40[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	selection_sort
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	lea	rdx, -1[rax]
	mov	rax, QWORD PTR -24[rbp]
	add	rdx, rax
	movzx	eax, BYTE PTR -56[rbp]
	mov	BYTE PTR [rdx], al
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	lea	rdx, -2[rax]
	mov	rax, QWORD PTR -24[rbp]
	add	rdx, rax
	movzx	eax, BYTE PTR -55[rbp]
	mov	BYTE PTR [rdx], al
	add	DWORD PTR -48[rbp], 1
.L74:
	mov	eax, DWORD PTR -48[rbp]
	cmp	eax, DWORD PTR -36[rbp]
	jl	.L79
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	eax, 0
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE16:
	.size	main, .-main
	.local	b.0
	.comm	b.0,10,8
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"121895.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	char_to_bits, %function
char_to_bits:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	mov	r3, r0
	strb	r3, [fp, #-5]
	ldrsb	r3, [fp, #-5]
	cmp	r3, #0
	bge	.L2
	mov	r2, #49
	b	.L3
.L2:
	mov	r2, #48
.L3:
	ldr	r3, .L19
	strb	r2, [r3]
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	and	r3, r3, #64
	cmp	r3, #0
	beq	.L4
	mov	r2, #49
	b	.L5
.L4:
	mov	r2, #48
.L5:
	ldr	r3, .L19
	strb	r2, [r3, #1]
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	and	r3, r3, #32
	cmp	r3, #0
	beq	.L6
	mov	r2, #49
	b	.L7
.L6:
	mov	r2, #48
.L7:
	ldr	r3, .L19
	strb	r2, [r3, #2]
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	and	r3, r3, #16
	cmp	r3, #0
	beq	.L8
	mov	r2, #49
	b	.L9
.L8:
	mov	r2, #48
.L9:
	ldr	r3, .L19
	strb	r2, [r3, #3]
	ldr	r3, .L19
	mov	r2, #32
	strb	r2, [r3, #4]
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	and	r3, r3, #8
	cmp	r3, #0
	beq	.L10
	mov	r2, #49
	b	.L11
.L10:
	mov	r2, #48
.L11:
	ldr	r3, .L19
	strb	r2, [r3, #5]
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	and	r3, r3, #4
	cmp	r3, #0
	beq	.L12
	mov	r2, #49
	b	.L13
.L12:
	mov	r2, #48
.L13:
	ldr	r3, .L19
	strb	r2, [r3, #6]
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	and	r3, r3, #2
	cmp	r3, #0
	beq	.L14
	mov	r2, #49
	b	.L15
.L14:
	mov	r2, #48
.L15:
	ldr	r3, .L19
	strb	r2, [r3, #7]
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	and	r3, r3, #1
	cmp	r3, #0
	beq	.L16
	mov	r2, #49
	b	.L17
.L16:
	mov	r2, #48
.L17:
	ldr	r3, .L19
	strb	r2, [r3, #8]
	ldr	r3, .L19
	mov	r2, #0
	strb	r2, [r3, #9]
	ldr	r3, .L19
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L20:
	.align	2
.L19:
	.word	b.5407
	.size	char_to_bits, .-char_to_bits
	.align	2
	.global	encode
	.syntax unified
	.arm
	.fpu softvfp
	.type	encode, %function
encode:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	mov	r3, r0
	strb	r3, [fp, #-5]
	ldrb	r3, [fp, #-5]
	add	r3, r3, #16
	and	r3, r3, #255
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	encode, .-encode
	.align	2
	.global	decode
	.syntax unified
	.arm
	.fpu softvfp
	.type	decode, %function
decode:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	mov	r3, r0
	strb	r3, [fp, #-5]
	ldrb	r3, [fp, #-5]
	sub	r3, r3, #16
	and	r3, r3, #255
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	decode, .-decode
	.align	2
	.global	fitness
	.syntax unified
	.arm
	.fpu softvfp
	.type	fitness, %function
fitness:
	@ 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	r3, r0
	strb	r3, [fp, #-13]
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	mov	r0, r3
	bl	decode
	mov	r3, r0
	strb	r3, [fp, #-5]
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	ldrb	r2, [fp, #-5]	@ zero_extendqisi2
	mul	r2, r3, r2
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	mov	r1, r3
	lsl	r3, r3, #2
	sub	r3, r1, r3
	add	r3, r2, r3
	add	r3, r3, #4
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	fitness, .-fitness
	.align	2
	.global	selection_sort
	.syntax unified
	.arm
	.fpu softvfp
	.type	selection_sort, %function
selection_sort:
	@ 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]
	str	r1, [fp, #-36]
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L28
.L32:
	ldr	r3, [fp, #-24]
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-16]
	b	.L29
.L31:
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	bl	fitness
	mov	r4, r0
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	bl	fitness
	mov	r3, r0
	cmp	r4, r3
	ble	.L30
	ldr	r3, [fp, #-16]
	str	r3, [fp, #-20]
.L30:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L29:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-36]
	cmp	r2, r3
	blt	.L31
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	ldrb	r3, [r3]
	strb	r3, [fp, #-25]
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-32]
	add	r2, r2, r3
	ldr	r3, [fp, #-24]
	ldr	r1, [fp, #-32]
	add	r3, r1, r3
	ldrb	r2, [r2]	@ zero_extendqisi2
	strb	r2, [r3]
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	ldrb	r2, [fp, #-25]
	strb	r2, [r3]
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L28:
	ldr	r3, [fp, #-36]
	sub	r3, r3, #1
	ldr	r2, [fp, #-24]
	cmp	r2, r3
	blt	.L32
	nop
	nop
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
	.size	selection_sort, .-selection_sort
	.align	2
	.global	crossover
	.syntax unified
	.arm
	.fpu softvfp
	.type	crossover, %function
crossover:
	@ 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	r3, r0
	str	r2, [fp, #-20]
	strb	r3, [fp, #-13]
	mov	r3, r1
	strb	r3, [fp, #-14]
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	blt	.L34
	ldr	r3, [fp, #-20]
	cmp	r3, #8
	ble	.L35
.L34:
	mov	r0, #1
	bl	exit
.L35:
	mov	r3, #0
	strb	r3, [fp, #-7]
	mov	r2, #1
	ldr	r3, [fp, #-20]
	lsl	r3, r2, r3
	strb	r3, [fp, #-5]
	mov	r3, #1
	strb	r3, [fp, #-6]
	b	.L36
.L39:
	ldrb	r2, [fp, #-6]	@ zero_extendqisi2
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r2, r3
	bls	.L37
	ldrb	r2, [fp, #-13]
	ldrb	r3, [fp, #-6]
	and	r3, r3, r2
	and	r3, r3, #255
	lsl	r3, r3, #24
	asr	r3, r3, #24
	b	.L38
.L37:
	ldrb	r2, [fp, #-14]
	ldrb	r3, [fp, #-6]
	and	r3, r3, r2
	and	r3, r3, #255
	lsl	r3, r3, #24
	asr	r3, r3, #24
.L38:
	ldrsb	r2, [fp, #-7]
	orr	r3, r3, r2
	lsl	r3, r3, #24
	asr	r3, r3, #24
	strb	r3, [fp, #-7]
	ldrb	r3, [fp, #-6]
	lsl	r3, r3, #1
	strb	r3, [fp, #-6]
.L36:
	ldrb	r3, [fp, #-6]	@ zero_extendqisi2
	cmp	r3, #32
	bls	.L39
	ldrb	r3, [fp, #-7]	@ zero_extendqisi2
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	crossover, .-crossover
	.align	2
	.global	mutate
	.syntax unified
	.arm
	.fpu softvfp
	.type	mutate, %function
mutate:
	@ 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	r3, r0
	str	r1, [fp, #-20]
	strb	r3, [fp, #-13]
	ldrb	r3, [fp, #-13]
	strb	r3, [fp, #-9]
	mov	r3, #1
	strb	r3, [fp, #-10]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L42
.L45:
	bl	rand
	mov	r1, r0
	ldr	r3, .L47
	smull	r2, r3, r1, r3
	asr	r2, r3, #5
	asr	r3, r1, #31
	sub	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, r1, r3
	ldr	r3, [fp, #-20]
	cmp	r3, r2
	ble	.L43
	ldrb	r2, [fp, #-13]
	ldrb	r3, [fp, #-10]
	and	r3, r3, r2
	and	r3, r3, #255
	cmp	r3, #0
	bne	.L44
	ldrb	r2, [fp, #-9]
	ldrb	r3, [fp, #-10]
	orr	r3, r2, r3
	strb	r3, [fp, #-9]
	b	.L43
.L44:
	ldrsb	r3, [fp, #-10]
	mvn	r3, r3
	lsl	r3, r3, #24
	asr	r2, r3, #24
	ldrsb	r3, [fp, #-9]
	and	r3, r3, r2
	lsl	r3, r3, #24
	asr	r3, r3, #24
	strb	r3, [fp, #-9]
.L43:
	ldrb	r3, [fp, #-10]
	lsl	r3, r3, #1
	strb	r3, [fp, #-10]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L42:
	ldr	r3, [fp, #-8]
	cmp	r3, #4
	ble	.L45
	ldrb	r3, [fp, #-9]	@ zero_extendqisi2
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L48:
	.align	2
.L47:
	.word	1374389535
	.size	mutate, .-mutate
	.align	2
	.global	gen_population
	.syntax unified
	.arm
	.fpu softvfp
	.type	gen_population, %function
gen_population:
	@ 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, #-8]
	b	.L50
.L51:
	bl	rand
	mov	r1, r0
	ldr	r3, .L52
	smull	r2, r3, r1, r3
	asr	r2, r3, #2
	asr	r3, r1, #31
	sub	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r2, r3, #3
	sub	r2, r2, r3
	sub	r2, r1, r2
	and	r2, r2, #255
	ldr	r3, [fp, #-8]
	ldr	r1, [fp, #-16]
	add	r3, r1, r3
	sub	r2, r2, #10
	and	r2, r2, #255
	strb	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L50:
	ldr	r3, [fp, #-8]
	cmp	r3, #29
	ble	.L51
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L53:
	.align	2
.L52:
	.word	818089009
	.size	gen_population, .-gen_population
	.global	__aeabi_idivmod
	.section	.rodata
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	tournament
	.syntax unified
	.arm
	.fpu softvfp
	.type	tournament, %function
tournament:
	@ args = 0, pretend = 0, frame = 64
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, fp, lr}
	add	fp, sp, #16
	sub	sp, sp, #68
	str	r0, [fp, #-72]
	str	r1, [fp, #-76]
	str	r2, [fp, #-80]
	ldr	r3, .L65
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	mov	r3,#0
	mov	r3, sp
	mov	r5, r3
	ldr	r2, [fp, #-80]
	ldr	r3, [fp, #-76]
	cmp	r2, r3
	bge	.L55
	ldr	r3, [fp, #-80]
	str	r3, [fp, #-76]
.L55:
	ldr	ip, [fp, #-80]
	sub	r3, ip, #1
	str	r3, [fp, #-52]
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #6
	orr	r3, r3, r0, lsr #26
	lsl	r2, r0, #6
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #6
	orr	r3, r3, r0, lsr #26
	lsl	r2, r0, #6
	mov	r3, ip
	lsl	r3, r3, #3
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	mov	r3, sp
	add	r3, r3, #3
	lsr	r3, r3, #2
	lsl	r3, r3, #2
	str	r3, [fp, #-48]
	mov	r3, #0
	str	r3, [fp, #-56]
	b	.L56
.L57:
	ldr	r3, [fp, #-56]
	ldr	r2, [fp, #-72]
	add	r3, r2, r3
	ldrb	r1, [r3]	@ zero_extendqisi2
	ldr	r3, [fp, #-48]
	ldr	r2, [fp, #-56]
	strb	r1, [r3, r2, lsl #3]
	ldr	r2, [fp, #-48]
	ldr	r3, [fp, #-56]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldr	r2, [fp, #-56]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-56]
	add	r3, r3, #1
	str	r3, [fp, #-56]
.L56:
	ldr	r2, [fp, #-56]
	ldr	r3, [fp, #-80]
	cmp	r2, r3
	blt	.L57
	ldr	ip, [fp, #-76]
	mov	r3, sp
	mov	r6, r3
	sub	r3, ip, #1
	str	r3, [fp, #-44]
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #6
	orr	r3, r3, r0, lsr #26
	lsl	r2, r0, #6
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #6
	orr	r3, r3, r0, lsr #26
	lsl	r2, r0, #6
	mov	r3, ip
	lsl	r3, r3, #3
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	mov	r3, sp
	add	r3, r3, #3
	lsr	r3, r3, #2
	lsl	r3, r3, #2
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-80]
	str	r3, [fp, #-60]
	mov	r3, #0
	str	r3, [fp, #-64]
	b	.L58
.L59:
	bl	rand
	mov	r3, r0
	ldr	r1, [fp, #-60]
	mov	r0, r3
	bl	__aeabi_idivmod
	mov	r3, r1
	str	r3, [fp, #-36]
	ldr	r0, [fp, #-40]
	ldr	r3, [fp, #-64]
	ldr	r1, [fp, #-48]
	ldr	r2, [fp, #-36]
	lsl	r3, r3, #3
	add	r3, r0, r3
	lsl	r2, r2, #3
	add	r2, r1, r2
	ldm	r2, {r0, r1}
	stm	r3, {r0, r1}
	ldr	r3, [fp, #-60]
	sub	r3, r3, #1
	str	r3, [fp, #-60]
	ldr	r0, [fp, #-48]
	ldr	r3, [fp, #-36]
	ldr	r1, [fp, #-48]
	ldr	r2, [fp, #-60]
	lsl	r3, r3, #3
	add	r3, r0, r3
	lsl	r2, r2, #3
	add	r2, r1, r2
	ldm	r2, {r0, r1}
	stm	r3, {r0, r1}
	ldr	r2, [fp, #-48]
	ldr	r3, [fp, #-60]
	lsl	r3, r3, #3
	add	r3, r2, r3
	mvn	r2, #0
	str	r2, [r3, #4]
	ldr	r3, [fp, #-48]
	ldr	r2, [fp, #-60]
	mvn	r1, #41
	strb	r1, [r3, r2, lsl #3]
	ldr	r3, [fp, #-64]
	add	r3, r3, #1
	str	r3, [fp, #-64]
.L58:
	ldr	r2, [fp, #-64]
	ldr	r3, [fp, #-76]
	cmp	r2, r3
	blt	.L59
	ldr	r2, [fp, #-40]
	sub	r3, fp, #32
	ldm	r2, {r0, r1}
	stm	r3, {r0, r1}
	mov	r3, #1
	str	r3, [fp, #-68]
	b	.L60
.L62:
	ldr	r3, [fp, #-40]
	ldr	r2, [fp, #-68]
	ldrb	r3, [r3, r2, lsl #3]	@ zero_extendqisi2
	mov	r0, r3
	bl	fitness
	mov	r4, r0
	ldrb	r3, [fp, #-32]	@ zero_extendqisi2
	mov	r0, r3
	bl	fitness
	mov	r3, r0
	cmp	r4, r3
	ble	.L61
	ldr	r1, [fp, #-40]
	ldr	r3, [fp, #-68]
	sub	r2, fp, #32
	lsl	r3, r3, #3
	add	r3, r1, r3
	ldm	r3, {r0, r1}
	stm	r2, {r0, r1}
.L61:
	ldr	r3, [fp, #-68]
	add	r3, r3, #1
	str	r3, [fp, #-68]
.L60:
	ldr	r2, [fp, #-68]
	ldr	r3, [fp, #-76]
	cmp	r2, r3
	blt	.L62
	ldr	r3, [fp, #-80]
	sub	r3, r3, #1
	ldr	r2, [fp, #-72]
	add	r2, r2, r3
	ldr	r3, [fp, #-28]
	mov	r1, r3
	ldr	r3, [fp, #-72]
	add	r3, r3, r1
	ldrb	r2, [r2]	@ zero_extendqisi2
	strb	r2, [r3]
	ldr	r3, [fp, #-80]
	sub	r3, r3, #1
	ldr	r2, [fp, #-72]
	add	r3, r2, r3
	mvn	r2, #41
	strb	r2, [r3]
	ldrb	r3, [fp, #-32]	@ zero_extendqisi2
	mov	sp, r6
	mov	sp, r5
	ldr	r2, .L65
	ldr	r1, [r2]
	ldr	r2, [fp, #-24]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L64
	bl	__stack_chk_fail
.L64:
	mov	r0, r3
	sub	sp, fp, #16
	@ sp needed
	pop	{r4, r5, r6, fp, pc}
.L66:
	.align	2
.L65:
	.word	.LC0
	.size	tournament, .-tournament
	.section	.rodata
	.align	2
.LC1:
	.ascii	"%d,\000"
	.align	2
.LC2:
	.ascii	"%d]\012\000"
	.text
	.align	2
	.global	inspect_pop
	.syntax unified
	.arm
	.fpu softvfp
	.type	inspect_pop, %function
inspect_pop:
	@ 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]
	mov	r0, #91
	bl	putchar
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L68
.L69:
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	bl	decode
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L70
	bl	printf
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L68:
	ldr	r3, [fp, #-20]
	sub	r3, r3, #1
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	blt	.L69
	ldr	r3, [fp, #-20]
	sub	r3, r3, #1
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	bl	decode
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L70+4
	bl	printf
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L71:
	.align	2
.L70:
	.word	.LC1
	.word	.LC2
	.size	inspect_pop, .-inspect_pop
	.section	.rodata
	.align	2
.LC3:
	.ascii	"%s <pop-size> <gen-num> <mut-rate> [flag]\012\000"
	.align	2
.LC4:
	.ascii	"%d\012\000"
	.align	2
.LC5:
	.ascii	"pop #%2d best_one : %3d\012\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #52
	str	r0, [fp, #-56]
	str	r1, [fp, #-60]
	ldr	r3, [fp, #-56]
	cmp	r3, #3
	bgt	.L73
	ldr	r3, .L85
	ldr	r0, [r3]
	ldr	r3, [fp, #-60]
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L85+4
	bl	fprintf
	mov	r0, #1
	bl	exit
.L73:
	ldr	r3, [fp, #-60]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	str	r0, [fp, #-32]
	ldr	r3, [fp, #-60]
	add	r3, r3, #8
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	str	r0, [fp, #-28]
	ldr	r3, [fp, #-60]
	add	r3, r3, #12
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	str	r0, [fp, #-24]
	ldr	r3, [fp, #-56]
	cmp	r3, #4
	ble	.L74
	ldr	r3, [fp, #-60]
	add	r3, r3, #16
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	mov	r3, r0
	b	.L75
.L74:
	mov	r3, #0
.L75:
	str	r3, [fp, #-20]
	ldr	r1, [fp, #-32]
	ldr	r0, .L85+8
	bl	printf
	mov	r0, #0
	bl	time
	mov	r3, r0
	mov	r0, r3
	bl	srand
	ldr	r3, [fp, #-32]
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-44]
	b	.L76
.L77:
	bl	rand
	mov	r3, r0
	rsbs	r2, r3, #0
	and	r3, r3, #31
	and	r2, r2, #31
	rsbpl	r3, r2, #0
	and	r3, r3, #255
	sub	r3, r3, #16
	and	r1, r3, #255
	ldr	r3, [fp, #-44]
	ldr	r2, [fp, #-16]
	add	r4, r2, r3
	mov	r0, r1
	bl	encode
	mov	r3, r0
	strb	r3, [r4]
	ldr	r3, [fp, #-44]
	add	r3, r3, #1
	str	r3, [fp, #-44]
.L76:
	ldr	r2, [fp, #-44]
	ldr	r3, [fp, #-32]
	cmp	r2, r3
	blt	.L77
	mov	r3, #0
	str	r3, [fp, #-40]
	b	.L78
.L83:
	ldr	r1, [fp, #-32]
	ldr	r0, [fp, #-16]
	bl	selection_sort
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	bl	decode
	mov	r3, r0
	mov	r2, r3
	ldr	r1, [fp, #-40]
	ldr	r0, .L85+12
	bl	printf
	ldr	r1, [fp, #-32]
	ldr	r0, [fp, #-16]
	bl	inspect_pop
	ldr	r2, [fp, #-32]
	mov	r1, #5
	ldr	r0, [fp, #-16]
	bl	tournament
	mov	r3, r0
	strb	r3, [fp, #-46]
	ldr	r3, [fp, #-32]
	sub	r3, r3, #1
	mov	r2, r3
	mov	r1, #5
	ldr	r0, [fp, #-16]
	bl	tournament
	mov	r3, r0
	strb	r3, [fp, #-45]
	ldrb	r1, [fp, #-45]	@ zero_extendqisi2
	ldrb	r3, [fp, #-46]	@ zero_extendqisi2
	mov	r2, #2
	mov	r0, r3
	bl	crossover
	mov	r3, r0
	strb	r3, [fp, #-48]
	ldrb	r1, [fp, #-46]	@ zero_extendqisi2
	ldrb	r3, [fp, #-45]	@ zero_extendqisi2
	mov	r2, #2
	mov	r0, r3
	bl	crossover
	mov	r3, r0
	strb	r3, [fp, #-47]
	ldr	r3, [fp, #-20]
	cmp	r3, #1
	bne	.L79
	mov	r3, #0
	str	r3, [fp, #-36]
	b	.L80
.L81:
	ldr	r3, [fp, #-36]
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldrb	r0, [r3]	@ zero_extendqisi2
	ldr	r3, [fp, #-36]
	ldr	r2, [fp, #-16]
	add	r4, r2, r3
	ldr	r1, [fp, #-24]
	bl	mutate
	mov	r3, r0
	strb	r3, [r4]
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
.L80:
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-32]
	cmp	r2, r3
	blt	.L81
	b	.L82
.L79:
	ldrb	r3, [fp, #-48]	@ zero_extendqisi2
	ldr	r1, [fp, #-24]
	mov	r0, r3
	bl	mutate
	mov	r3, r0
	strb	r3, [fp, #-48]
	ldrb	r3, [fp, #-47]	@ zero_extendqisi2
	ldr	r1, [fp, #-24]
	mov	r0, r3
	bl	mutate
	mov	r3, r0
	strb	r3, [fp, #-47]
.L82:
	ldr	r3, [fp, #-32]
	sub	r3, r3, #1
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldrb	r2, [fp, #-46]
	strb	r2, [r3]
	ldr	r3, [fp, #-32]
	sub	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldrb	r2, [fp, #-45]
	strb	r2, [r3]
	ldr	r1, [fp, #-32]
	ldr	r0, [fp, #-16]
	bl	selection_sort
	ldr	r3, [fp, #-32]
	sub	r3, r3, #1
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldrb	r2, [fp, #-48]
	strb	r2, [r3]
	ldr	r3, [fp, #-32]
	sub	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldrb	r2, [fp, #-47]
	strb	r2, [r3]
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
.L78:
	ldr	r2, [fp, #-40]
	ldr	r3, [fp, #-28]
	cmp	r2, r3
	blt	.L83
	ldr	r0, [fp, #-16]
	bl	free
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L86:
	.align	2
.L85:
	.word	stderr
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.size	main, .-main
	.local	b.5407
	.comm	b.5407,10,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
