	.file	"638401.c"
	.intel_syntax noprefix
	.text
	.globl	popSize
	.bss
	.align 4
	.type	popSize, @object
	.size	popSize, 4
popSize:
	.zero	4
	.globl	lchrom
	.align 4
	.type	lchrom, @object
	.size	lchrom, 4
lchrom:
	.zero	4
	.globl	population
	.align 32
	.type	population, @object
	.size	population, 800000
population:
	.zero	800000
	.globl	children
	.align 32
	.type	children, @object
	.size	children, 800000
children:
	.zero	800000
	.globl	fitness
	.align 32
	.type	fitness, @object
	.size	fitness, 8000
fitness:
	.zero	8000
	.globl	fitness_children
	.align 32
	.type	fitness_children, @object
	.size	fitness_children, 8000
fitness_children:
	.zero	8000
	.globl	sumFitness
	.align 8
	.type	sumFitness, @object
	.size	sumFitness, 8
sumFitness:
	.zero	8
	.globl	maxFitness
	.align 8
	.type	maxFitness, @object
	.size	maxFitness, 8
maxFitness:
	.zero	8
	.globl	minFitness
	.align 8
	.type	minFitness, @object
	.size	minFitness, 8
minFitness:
	.zero	8
	.globl	avgFitness
	.align 8
	.type	avgFitness, @object
	.size	avgFitness, 8
avgFitness:
	.zero	8
	.globl	normal_fitness
	.align 8
	.type	normal_fitness, @object
	.size	normal_fitness, 8
normal_fitness:
	.zero	8
	.globl	comulative
	.align 8
	.type	comulative, @object
	.size	comulative, 8
comulative:
	.zero	8
	.globl	comulative_fitness
	.align 32
	.type	comulative_fitness, @object
	.size	comulative_fitness, 8000
comulative_fitness:
	.zero	8000
	.globl	comulative_sub
	.align 32
	.type	comulative_sub, @object
	.size	comulative_sub, 8000
comulative_sub:
	.zero	8000
	.globl	ci1
	.align 32
	.type	ci1, @object
	.size	ci1, 800
ci1:
	.zero	800
	.globl	ci2
	.align 32
	.type	ci2, @object
	.size	ci2, 800
ci2:
	.zero	800
	.globl	MaxGen
	.align 4
	.type	MaxGen, @object
	.size	MaxGen, 4
MaxGen:
	.zero	4
	.globl	gen
	.align 4
	.type	gen, @object
	.size	gen, 4
gen:
	.zero	4
	.globl	solution
	.align 32
	.type	solution, @object
	.size	solution, 800
solution:
	.zero	800
	.globl	pMut
	.align 8
	.type	pMut, @object
	.size	pMut, 8
pMut:
	.zero	8
	.globl	pMutTemp
	.align 8
	.type	pMutTemp, @object
	.size	pMutTemp, 8
pMutTemp:
	.zero	8
	.globl	pCross
	.align 8
	.type	pCross, @object
	.size	pCross, 8
pCross:
	.zero	8
	.globl	cnt
	.align 4
	.type	cnt, @object
	.size	cnt, 4
cnt:
	.zero	4
	.globl	modes
	.align 4
	.type	modes, @object
	.size	modes, 4
modes:
	.zero	4
	.text
	.globl	initialize
	.type	initialize, @function
initialize:
.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	eax, 0
	call	initData
	mov	eax, 0
	call	initPop
	mov	eax, DWORD PTR popSize[rip]
	mov	edi, eax
	call	statistics@PLT
	mov	DWORD PTR -4[rbp], 0
	jmp	.L2
.L3:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, fitness[rip]
	movsd	xmm0, QWORD PTR [rdx+rax]
	movsd	xmm1, QWORD PTR sumFitness[rip]
	divsd	xmm0, xmm1
	movsd	QWORD PTR normal_fitness[rip], xmm0
	movsd	xmm1, QWORD PTR comulative[rip]
	movsd	xmm0, QWORD PTR normal_fitness[rip]
	addsd	xmm0, xmm1
	movsd	QWORD PTR comulative[rip], xmm0
	movsd	xmm0, QWORD PTR comulative[rip]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, comulative_fitness[rip]
	movsd	QWORD PTR [rdx+rax], xmm0
	add	DWORD PTR -4[rbp], 1
.L2:
	mov	eax, DWORD PTR popSize[rip]
	cmp	DWORD PTR -4[rbp], eax
	jl	.L3
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	initialize, .-initialize
	.section	.rodata
	.align 8
.LC0:
	.string	"Enter population size - popSize-> "
.LC1:
	.string	"%d"
.LC2:
	.string	"population size is : %d\n"
	.align 8
.LC3:
	.string	"Enter chromosome length - lChrom-> "
.LC4:
	.string	"chromosome length is : %d\n"
.LC5:
	.string	"Enter MaxGen - MaxGen -> "
.LC6:
	.string	"MaxGen is : %d\n"
.LC7:
	.string	"Enter pMut - pMut -> "
.LC8:
	.string	"%lf"
.LC9:
	.string	"pMut is : %lf\n"
.LC10:
	.string	"Enter pCross - pCross -> "
.LC11:
	.string	"pCross is : %lf\n"
	.text
	.globl	initData
	.type	initData, @function
initData:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rsi, popSize[rip]
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR popSize[rip]
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rsi, lchrom[rip]
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR lchrom[rip]
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rsi, MaxGen[rip]
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR MaxGen[rip]
	mov	esi, eax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rsi, pMut[rip]
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	movsd	xmm0, QWORD PTR pMut[rip]
	movsd	QWORD PTR pMutTemp[rip], xmm0
	mov	rax, QWORD PTR pMut[rip]
	movq	xmm0, rax
	lea	rdi, .LC9[rip]
	mov	eax, 1
	call	printf@PLT
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rsi, pCross[rip]
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	rax, QWORD PTR pCross[rip]
	movq	xmm0, rax
	lea	rdi, .LC11[rip]
	mov	eax, 1
	call	printf@PLT
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	initData, .-initData
	.globl	initPop
	.type	initPop, @function
initPop:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	r11, -798720[rsp]
.LPSRL0:
	sub	rsp, 4096
	or	DWORD PTR [rsp], 0
	cmp	rsp, r11
	jne	.LPSRL0
	sub	rsp, 1312
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	edi, 5
	call	srand@PLT
	mov	DWORD PTR -800020[rbp], 0
	jmp	.L6
.L9:
	mov	DWORD PTR -800024[rbp], 0
	jmp	.L7
.L8:
	call	rand@PLT
	mov	edx, eax
	mov	eax, DWORD PTR -800024[rbp]
	movsx	rsi, eax
	mov	eax, DWORD PTR -800020[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 2
	add	rax, rcx
	lea	rcx, 0[0+rax*4]
	add	rax, rcx
	sal	rax, 3
	add	rax, rsi
	mov	DWORD PTR -800016[rbp+rax*4], edx
	add	DWORD PTR -800024[rbp], 1
.L7:
	mov	eax, DWORD PTR lchrom[rip]
	cmp	DWORD PTR -800024[rbp], eax
	jl	.L8
	add	DWORD PTR -800020[rbp], 1
.L6:
	mov	eax, DWORD PTR popSize[rip]
	cmp	DWORD PTR -800020[rbp], eax
	jl	.L9
	mov	DWORD PTR -800020[rbp], 0
	jmp	.L10
.L13:
	mov	DWORD PTR -800024[rbp], 0
	jmp	.L11
.L12:
	mov	eax, DWORD PTR -800024[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -800020[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	sal	rax, 3
	add	rax, rcx
	mov	edx, DWORD PTR -800016[rbp+rax*4]
	mov	eax, DWORD PTR lchrom[rip]
	mov	esi, edx
	mov	edi, eax
	call	advance_random@PLT
	mov	edx, eax
	mov	eax, DWORD PTR -800024[rbp]
	movsx	rsi, eax
	mov	eax, DWORD PTR -800020[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 2
	add	rax, rcx
	lea	rcx, 0[0+rax*4]
	add	rax, rcx
	sal	rax, 3
	add	rax, rsi
	lea	rcx, 0[0+rax*4]
	lea	rax, population[rip]
	mov	DWORD PTR [rcx+rax], edx
	add	DWORD PTR -800024[rbp], 1
.L11:
	mov	eax, DWORD PTR lchrom[rip]
	cmp	DWORD PTR -800024[rbp], eax
	jl	.L12
	add	DWORD PTR -800020[rbp], 1
.L10:
	mov	eax, DWORD PTR popSize[rip]
	cmp	DWORD PTR -800020[rbp], eax
	jl	.L13
	mov	DWORD PTR -800020[rbp], 0
	jmp	.L14
.L15:
	mov	edx, DWORD PTR lchrom[rip]
	mov	eax, DWORD PTR -800020[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 2
	add	rax, rcx
	lea	rcx, 0[0+rax*4]
	add	rax, rcx
	sal	rax, 5
	lea	rcx, population[rip]
	add	rax, rcx
	mov	esi, edx
	mov	rdi, rax
	call	eval@PLT
	movq	rax, xmm0
	mov	edx, DWORD PTR -800020[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*8]
	lea	rdx, fitness[rip]
	mov	QWORD PTR [rcx+rdx], rax
	add	DWORD PTR -800020[rbp], 1
.L14:
	mov	eax, DWORD PTR popSize[rip]
	cmp	DWORD PTR -800020[rbp], eax
	jl	.L15
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L16
	call	__stack_chk_fail@PLT
.L16:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	initPop, .-initPop
	.section	.rodata
	.align 8
.LC12:
	.string	"\n\nPopulation Size(popsize)  %d\n"
	.align 8
.LC13:
	.string	"Chromosome length (lchrom)  %d\n"
.LC14:
	.string	"Maximum Fitness  %f\n"
.LC15:
	.string	"Average Fitness  %lf\n"
.LC16:
	.string	"Minimum Fitness  %f\n"
.LC17:
	.string	"%d: "
.LC18:
	.string	"%d "
.LC19:
	.string	" fitness => %f   %f\n"
	.text
	.globl	initReport
	.type	initReport, @function
initReport:
.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, 16
	mov	eax, DWORD PTR popSize[rip]
	mov	esi, eax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR lchrom[rip]
	mov	esi, eax
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR maxFitness[rip]
	movq	xmm0, rax
	lea	rdi, .LC14[rip]
	mov	eax, 1
	call	printf@PLT
	mov	rax, QWORD PTR avgFitness[rip]
	movq	xmm0, rax
	lea	rdi, .LC15[rip]
	mov	eax, 1
	call	printf@PLT
	mov	rax, QWORD PTR minFitness[rip]
	movq	xmm0, rax
	lea	rdi, .LC16[rip]
	mov	eax, 1
	call	printf@PLT
	mov	DWORD PTR -8[rbp], 0
	jmp	.L18
.L22:
	mov	eax, DWORD PTR -8[rbp]
	add	eax, 1
	mov	esi, eax
	lea	rdi, .LC17[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -4[rbp], 0
	jmp	.L19
.L21:
	mov	eax, DWORD PTR -4[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	sal	rax, 3
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, population[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	esi, eax
	lea	rdi, .LC18[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR lchrom[rip]
	sub	eax, 1
	cmp	DWORD PTR -4[rbp], eax
	jne	.L20
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, comulative_fitness[rip]
	movsd	xmm0, QWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, fitness[rip]
	mov	rax, QWORD PTR [rdx+rax]
	movapd	xmm1, xmm0
	movq	xmm0, rax
	lea	rdi, .LC19[rip]
	mov	eax, 2
	call	printf@PLT
.L20:
	add	DWORD PTR -4[rbp], 1
.L19:
	mov	eax, DWORD PTR lchrom[rip]
	cmp	DWORD PTR -4[rbp], eax
	jl	.L21
	add	DWORD PTR -8[rbp], 1
.L18:
	mov	eax, DWORD PTR popSize[rip]
	cmp	DWORD PTR -8[rbp], eax
	jl	.L22
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	initReport, .-initReport
	.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	"638401.c"
	.text
	.comm	popSize,4,4
	.comm	lchrom,4,4
	.global	population
	.bss
	.align	2
	.type	population, %object
	.size	population, 800000
population:
	.space	800000
	.global	children
	.align	2
	.type	children, %object
	.size	children, 800000
children:
	.space	800000
	.global	fitness
	.align	3
	.type	fitness, %object
	.size	fitness, 8000
fitness:
	.space	8000
	.global	fitness_children
	.align	3
	.type	fitness_children, %object
	.size	fitness_children, 8000
fitness_children:
	.space	8000
	.global	sumFitness
	.align	3
	.type	sumFitness, %object
	.size	sumFitness, 8
sumFitness:
	.space	8
	.global	maxFitness
	.align	3
	.type	maxFitness, %object
	.size	maxFitness, 8
maxFitness:
	.space	8
	.global	minFitness
	.align	3
	.type	minFitness, %object
	.size	minFitness, 8
minFitness:
	.space	8
	.global	avgFitness
	.align	3
	.type	avgFitness, %object
	.size	avgFitness, 8
avgFitness:
	.space	8
	.global	normal_fitness
	.align	3
	.type	normal_fitness, %object
	.size	normal_fitness, 8
normal_fitness:
	.space	8
	.global	comulative
	.align	3
	.type	comulative, %object
	.size	comulative, 8
comulative:
	.space	8
	.global	comulative_fitness
	.align	3
	.type	comulative_fitness, %object
	.size	comulative_fitness, 8000
comulative_fitness:
	.space	8000
	.global	comulative_sub
	.align	3
	.type	comulative_sub, %object
	.size	comulative_sub, 8000
comulative_sub:
	.space	8000
	.global	ci1
	.align	2
	.type	ci1, %object
	.size	ci1, 800
ci1:
	.space	800
	.global	ci2
	.align	2
	.type	ci2, %object
	.size	ci2, 800
ci2:
	.space	800
	.global	MaxGen
	.align	2
	.type	MaxGen, %object
	.size	MaxGen, 4
MaxGen:
	.space	4
	.global	gen
	.align	2
	.type	gen, %object
	.size	gen, 4
gen:
	.space	4
	.global	solution
	.align	2
	.type	solution, %object
	.size	solution, 800
solution:
	.space	800
	.comm	pMut,8,8
	.comm	pMutTemp,8,8
	.comm	pCross,8,8
	.global	cnt
	.align	2
	.type	cnt, %object
	.size	cnt, 4
cnt:
	.space	4
	.global	modes
	.align	2
	.type	modes, %object
	.size	modes, 4
modes:
	.space	4
	.global	__aeabi_ddiv
	.global	__aeabi_dadd
	.text
	.align	2
	.global	initialize
	.syntax unified
	.arm
	.fpu softvfp
	.type	initialize, %function
initialize:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	bl	initData
	bl	initPop
	ldr	r3, .L4
	ldr	r3, [r3]
	mov	r0, r3
	bl	statistics
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L2
.L3:
	ldr	r2, .L4+4
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	r3, .L4+8
	ldmia	r3, {r2-r3}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	ldr	r1, .L4+12
	stm	r1, {r2-r3}
	ldr	r3, .L4+16
	ldmia	r3, {r0-r1}
	ldr	r3, .L4+12
	ldmia	r3, {r2-r3}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	ldr	r1, .L4+16
	stm	r1, {r2-r3}
	ldr	r3, .L4+16
	ldmia	r3, {r2-r3}
	ldr	r0, .L4+20
	ldr	r1, [fp, #-8]
	lsl	r1, r1, #3
	add	r1, r0, r1
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L2:
	ldr	r3, .L4
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	blt	.L3
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L5:
	.align	2
.L4:
	.word	popSize
	.word	fitness
	.word	sumFitness
	.word	normal_fitness
	.word	comulative
	.word	comulative_fitness
	.size	initialize, .-initialize
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Enter population size - popSize-> \000"
	.align	2
.LC1:
	.ascii	"%d\000"
	.align	2
.LC2:
	.ascii	"population size is : %d\012\000"
	.align	2
.LC3:
	.ascii	"Enter chromosome length - lChrom-> \000"
	.align	2
.LC4:
	.ascii	"chromosome length is : %d\012\000"
	.align	2
.LC5:
	.ascii	"Enter MaxGen - MaxGen -> \000"
	.align	2
.LC6:
	.ascii	"MaxGen is : %d\012\000"
	.align	2
.LC7:
	.ascii	"Enter pMut - pMut -> \000"
	.align	2
.LC8:
	.ascii	"%lf\000"
	.align	2
.LC9:
	.ascii	"pMut is : %lf\012\000"
	.align	2
.LC10:
	.ascii	"Enter pCross - pCross -> \000"
	.align	2
.LC11:
	.ascii	"pCross is : %lf\012\000"
	.text
	.align	2
	.global	initData
	.syntax unified
	.arm
	.fpu softvfp
	.type	initData, %function
initData:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r0, .L7
	bl	printf
	ldr	r1, .L7+4
	ldr	r0, .L7+8
	bl	__isoc99_scanf
	ldr	r3, .L7+4
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L7+12
	bl	printf
	ldr	r0, .L7+16
	bl	printf
	ldr	r1, .L7+20
	ldr	r0, .L7+8
	bl	__isoc99_scanf
	ldr	r3, .L7+20
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L7+24
	bl	printf
	ldr	r0, .L7+28
	bl	printf
	ldr	r1, .L7+32
	ldr	r0, .L7+8
	bl	__isoc99_scanf
	ldr	r3, .L7+32
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L7+36
	bl	printf
	ldr	r0, .L7+40
	bl	printf
	ldr	r1, .L7+44
	ldr	r0, .L7+48
	bl	__isoc99_scanf
	ldr	r3, .L7+44
	ldmia	r3, {r2-r3}
	ldr	r1, .L7+52
	stm	r1, {r2-r3}
	ldr	r3, .L7+44
	ldmia	r3, {r2-r3}
	ldr	r0, .L7+56
	bl	printf
	ldr	r0, .L7+60
	bl	printf
	ldr	r1, .L7+64
	ldr	r0, .L7+48
	bl	__isoc99_scanf
	ldr	r3, .L7+64
	ldmia	r3, {r2-r3}
	ldr	r0, .L7+68
	bl	printf
	nop
	pop	{fp, pc}
.L8:
	.align	2
.L7:
	.word	.LC0
	.word	popSize
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	lchrom
	.word	.LC4
	.word	.LC5
	.word	MaxGen
	.word	.LC6
	.word	.LC7
	.word	pMut
	.word	.LC8
	.word	pMutTemp
	.word	.LC9
	.word	.LC10
	.word	pCross
	.word	.LC11
	.size	initData, .-initData
	.section	.rodata
	.align	2
.LC12:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	initPop
	.syntax unified
	.arm
	.fpu softvfp
	.type	initPop, %function
initPop:
	@ args = 0, pretend = 0, frame = 800016
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #798720
	sub	sp, sp, #1296
	ldr	r3, .L21
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r0, #5
	bl	srand
	sub	r3, fp, #798720
	sub	r3, r3, #4
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-1288]
	b	.L10
.L13:
	sub	r3, fp, #798720
	sub	r3, r3, #4
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-1292]
	b	.L11
.L12:
	bl	rand
	mov	r1, r0
	sub	r3, fp, #798720
	sub	r3, r3, #4
	mov	r0, r3
	sub	r3, fp, #798720
	sub	r3, r3, #4
	ldr	r2, [r3, #-1288]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	sub	r2, fp, #798720
	sub	r2, r2, #4
	ldr	r2, [r2, #-1292]
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	str	r1, [r3, #-1284]
	sub	r3, fp, #798720
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #798720
	sub	r3, r3, #4
	ldr	r3, [r3, #-1292]
	add	r3, r3, #1
	str	r3, [r2, #-1292]
.L11:
	ldr	r3, .L21+4
	ldr	r3, [r3]
	sub	r2, fp, #798720
	sub	r2, r2, #4
	ldr	r2, [r2, #-1292]
	cmp	r2, r3
	blt	.L12
	sub	r3, fp, #798720
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #798720
	sub	r3, r3, #4
	ldr	r3, [r3, #-1288]
	add	r3, r3, #1
	str	r3, [r2, #-1288]
.L10:
	ldr	r3, .L21+8
	ldr	r3, [r3]
	sub	r2, fp, #798720
	sub	r2, r2, #4
	ldr	r2, [r2, #-1288]
	cmp	r2, r3
	blt	.L13
	sub	r3, fp, #798720
	sub	r3, r3, #4
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-1288]
	b	.L14
.L17:
	sub	r3, fp, #798720
	sub	r3, r3, #4
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-1292]
	b	.L15
.L16:
	ldr	r3, .L21+4
	ldr	r0, [r3]
	sub	r3, fp, #798720
	sub	r3, r3, #4
	mov	r1, r3
	sub	r3, fp, #798720
	sub	r3, r3, #4
	ldr	r2, [r3, #-1288]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	sub	r2, fp, #798720
	sub	r2, r2, #4
	ldr	r2, [r2, #-1292]
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r3, [r3, #-1284]
	mov	r1, r3
	bl	advance_random
	mov	r1, r0
	ldr	r0, .L21+12
	sub	r3, fp, #798720
	sub	r3, r3, #4
	ldr	r2, [r3, #-1288]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	sub	r2, fp, #798720
	sub	r2, r2, #4
	ldr	r2, [r2, #-1292]
	add	r3, r3, r2
	str	r1, [r0, r3, lsl #2]
	sub	r3, fp, #798720
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #798720
	sub	r3, r3, #4
	ldr	r3, [r3, #-1292]
	add	r3, r3, #1
	str	r3, [r2, #-1292]
.L15:
	ldr	r3, .L21+4
	ldr	r3, [r3]
	sub	r2, fp, #798720
	sub	r2, r2, #4
	ldr	r2, [r2, #-1292]
	cmp	r2, r3
	blt	.L16
	sub	r3, fp, #798720
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #798720
	sub	r3, r3, #4
	ldr	r3, [r3, #-1288]
	add	r3, r3, #1
	str	r3, [r2, #-1288]
.L14:
	ldr	r3, .L21+8
	ldr	r3, [r3]
	sub	r2, fp, #798720
	sub	r2, r2, #4
	ldr	r2, [r2, #-1288]
	cmp	r2, r3
	blt	.L17
	sub	r3, fp, #798720
	sub	r3, r3, #4
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-1288]
	b	.L18
.L19:
	sub	r3, fp, #798720
	sub	r3, r3, #4
	ldr	r2, [r3, #-1288]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #5
	ldr	r2, .L21+12
	add	r3, r3, r2
	ldr	r2, .L21+4
	ldr	r2, [r2]
	mov	r1, r2
	mov	r0, r3
	bl	eval
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L21+16
	sub	r1, fp, #798720
	sub	r1, r1, #4
	ldr	r1, [r1, #-1288]
	lsl	r1, r1, #3
	add	r1, r0, r1
	stm	r1, {r2-r3}
	sub	r3, fp, #798720
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #798720
	sub	r3, r3, #4
	ldr	r3, [r3, #-1288]
	add	r3, r3, #1
	str	r3, [r2, #-1288]
.L18:
	ldr	r3, .L21+8
	ldr	r3, [r3]
	sub	r2, fp, #798720
	sub	r2, r2, #4
	ldr	r2, [r2, #-1288]
	cmp	r2, r3
	blt	.L19
	nop
	ldr	r3, .L21
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L20
	bl	__stack_chk_fail
.L20:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L22:
	.align	2
.L21:
	.word	.LC12
	.word	lchrom
	.word	popSize
	.word	population
	.word	fitness
	.size	initPop, .-initPop
	.section	.rodata
	.align	2
.LC13:
	.ascii	"\012\012Population Size(popsize)  %d\012\000"
	.align	2
.LC14:
	.ascii	"Chromosome length (lchrom)  %d\012\000"
	.align	2
.LC15:
	.ascii	"Maximum Fitness  %f\012\000"
	.align	2
.LC16:
	.ascii	"Average Fitness  %lf\012\000"
	.align	2
.LC17:
	.ascii	"Minimum Fitness  %f\012\000"
	.align	2
.LC18:
	.ascii	"%d: \000"
	.align	2
.LC19:
	.ascii	"%d \000"
	.align	2
.LC20:
	.ascii	" fitness => %f   %f\012\000"
	.text
	.align	2
	.global	initReport
	.syntax unified
	.arm
	.fpu softvfp
	.type	initReport, %function
initReport:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	ldr	r3, .L29
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L29+4
	bl	printf
	ldr	r3, .L29+8
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L29+12
	bl	printf
	ldr	r3, .L29+16
	ldmia	r3, {r2-r3}
	ldr	r0, .L29+20
	bl	printf
	ldr	r3, .L29+24
	ldmia	r3, {r2-r3}
	ldr	r0, .L29+28
	bl	printf
	ldr	r3, .L29+32
	ldmia	r3, {r2-r3}
	ldr	r0, .L29+36
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L24
.L28:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	mov	r1, r3
	ldr	r0, .L29+40
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L25
.L27:
	ldr	r1, .L29+44
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	ldr	r2, [fp, #-8]
	add	r3, r3, r2
	ldr	r3, [r1, r3, lsl #2]
	mov	r1, r3
	ldr	r0, .L29+48
	bl	printf
	ldr	r3, .L29+8
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	bne	.L26
	ldr	r2, .L29+52
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	r2, .L29+56
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	stm	sp, {r2-r3}
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L29+60
	bl	printf
.L26:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L25:
	ldr	r3, .L29+8
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	blt	.L27
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L24:
	ldr	r3, .L29
	ldr	r3, [r3]
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	blt	.L28
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L30:
	.align	2
.L29:
	.word	popSize
	.word	.LC13
	.word	lchrom
	.word	.LC14
	.word	maxFitness
	.word	.LC15
	.word	avgFitness
	.word	.LC16
	.word	minFitness
	.word	.LC17
	.word	.LC18
	.word	population
	.word	.LC19
	.word	fitness
	.word	comulative_fitness
	.word	.LC20
	.size	initReport, .-initReport
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
