	.file	"89200550.c"
	.intel_syntax noprefix
	.text
	.globl	numtrain
	.bss
	.align 4
	.type	numtrain, @object
	.size	numtrain, 4
numtrain:
	.zero	4
	.globl	seed
	.align 4
	.type	seed, @object
	.size	seed, 4
seed:
	.zero	4
	.globl	outputfile
	.align 32
	.type	outputfile, @object
	.size	outputfile, 100
outputfile:
	.zero	100
	.globl	percentnoise
	.align 4
	.type	percentnoise, @object
	.size	percentnoise, 4
percentnoise:
	.zero	4
	.globl	noisy
	.align 16
	.type	noisy, @object
	.size	noisy, 28
noisy:
	.zero	28
	.globl	instance
	.align 32
	.type	instance, @object
	.size	instance, 280
instance:
	.zero	280
	.globl	n
	.align 4
	.type	n, @object
	.size	n, 4
n:
	.zero	4
	.section	.rodata
	.align 8
.LC0:
	.string	"Arguments: numtrain seed outputfile noise."
	.align 8
.LC1:
	.string	" numtrain is the number of training instances requested."
	.align 8
.LC2:
	.string	" seed is a integer seed for the random number generator."
	.align 8
.LC3:
	.string	" outputfile: output file name for the generated instances."
	.align 8
.LC4:
	.string	" noise is the percent probability of noise per attribute."
	.align 8
.LC5:
	.string	" (usually set to 10%...and reported by the program)\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	DWORD PTR -4[rbp], edi
	mov	QWORD PTR -16[rbp], rsi
	cmp	DWORD PTR -4[rbp], 5
	je	.L2
	lea	rdi, .LC0[rip]
	call	puts@PLT
	lea	rdi, .LC1[rip]
	call	puts@PLT
	lea	rdi, .LC2[rip]
	call	puts@PLT
	lea	rdi, .LC3[rip]
	call	puts@PLT
	lea	rdi, .LC4[rip]
	call	puts@PLT
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L3
.L2:
	mov	rax, QWORD PTR -16[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	mov	eax, 0
	call	atoi@PLT
	mov	DWORD PTR numtrain[rip], eax
	mov	rax, QWORD PTR -16[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	mov	eax, 0
	call	atoi@PLT
	mov	DWORD PTR seed[rip], eax
	mov	rax, QWORD PTR -16[rbp]
	add	rax, 24
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, outputfile[rip]
	call	strcpy@PLT
	mov	rax, QWORD PTR -16[rbp]
	add	rax, 32
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	mov	eax, 0
	call	atoi@PLT
	mov	DWORD PTR percentnoise[rip], eax
	mov	eax, 0
	call	createworld
.L3:
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.section	.rodata
.LC6:
	.string	"w"
.LC7:
	.string	"%d,%d,%d,%d,%d,%d,%d,%d\n"
	.align 8
.LC9:
	.string	"Percent Noise: Requested %d, Actual %f\n"
	.text
	.globl	createworld
	.type	createworld, @function
createworld:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 80
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	eax, DWORD PTR seed[rip]
	mov	edi, eax
	mov	eax, 0
	call	srandom@PLT
	mov	DWORD PTR instance[rip], 1
	mov	DWORD PTR instance[rip+4], 1
	mov	DWORD PTR instance[rip+8], 1
	mov	DWORD PTR instance[rip+12], 0
	mov	DWORD PTR instance[rip+16], 1
	mov	DWORD PTR instance[rip+20], 1
	mov	DWORD PTR instance[rip+24], 1
	mov	DWORD PTR instance[rip+28], 0
	mov	DWORD PTR instance[rip+32], 0
	mov	DWORD PTR instance[rip+36], 1
	mov	DWORD PTR instance[rip+40], 0
	mov	DWORD PTR instance[rip+44], 0
	mov	DWORD PTR instance[rip+48], 1
	mov	DWORD PTR instance[rip+52], 0
	mov	DWORD PTR instance[rip+56], 1
	mov	DWORD PTR instance[rip+60], 0
	mov	DWORD PTR instance[rip+64], 1
	mov	DWORD PTR instance[rip+68], 1
	mov	DWORD PTR instance[rip+72], 1
	mov	DWORD PTR instance[rip+76], 0
	mov	DWORD PTR instance[rip+80], 1
	mov	DWORD PTR instance[rip+84], 1
	mov	DWORD PTR instance[rip+88], 0
	mov	DWORD PTR instance[rip+92], 1
	mov	DWORD PTR instance[rip+96], 1
	mov	DWORD PTR instance[rip+100], 0
	mov	DWORD PTR instance[rip+104], 1
	mov	DWORD PTR instance[rip+108], 1
	mov	DWORD PTR instance[rip+112], 0
	mov	DWORD PTR instance[rip+116], 1
	mov	DWORD PTR instance[rip+120], 1
	mov	DWORD PTR instance[rip+124], 1
	mov	DWORD PTR instance[rip+128], 0
	mov	DWORD PTR instance[rip+132], 1
	mov	DWORD PTR instance[rip+136], 0
	mov	DWORD PTR instance[rip+140], 1
	mov	DWORD PTR instance[rip+144], 1
	mov	DWORD PTR instance[rip+148], 0
	mov	DWORD PTR instance[rip+152], 1
	mov	DWORD PTR instance[rip+156], 0
	mov	DWORD PTR instance[rip+160], 1
	mov	DWORD PTR instance[rip+164], 1
	mov	DWORD PTR instance[rip+168], 1
	mov	DWORD PTR instance[rip+172], 1
	mov	DWORD PTR instance[rip+176], 0
	mov	DWORD PTR instance[rip+180], 1
	mov	DWORD PTR instance[rip+184], 1
	mov	DWORD PTR instance[rip+188], 1
	mov	DWORD PTR instance[rip+192], 1
	mov	DWORD PTR instance[rip+196], 1
	mov	DWORD PTR instance[rip+200], 0
	mov	DWORD PTR instance[rip+204], 1
	mov	DWORD PTR instance[rip+208], 0
	mov	DWORD PTR instance[rip+212], 0
	mov	DWORD PTR instance[rip+216], 1
	mov	DWORD PTR instance[rip+220], 0
	mov	DWORD PTR instance[rip+224], 1
	mov	DWORD PTR instance[rip+228], 1
	mov	DWORD PTR instance[rip+232], 1
	mov	DWORD PTR instance[rip+236], 1
	mov	DWORD PTR instance[rip+240], 1
	mov	DWORD PTR instance[rip+244], 1
	mov	DWORD PTR instance[rip+248], 1
	mov	DWORD PTR instance[rip+252], 1
	mov	DWORD PTR instance[rip+256], 1
	mov	DWORD PTR instance[rip+260], 1
	mov	DWORD PTR instance[rip+264], 1
	mov	DWORD PTR instance[rip+268], 0
	mov	DWORD PTR instance[rip+272], 1
	mov	DWORD PTR instance[rip+276], 1
	lea	rsi, .LC6[rip]
	lea	rdi, outputfile[rip]
	call	fopen@PLT
	mov	QWORD PTR -56[rbp], rax
	mov	DWORD PTR -72[rbp], 0
	jmp	.L6
.L10:
	mov	eax, 0
	call	select_noisy_indexes
	mov	eax, 0
	call	random@PLT
	mov	edx, eax
	movsx	rax, edx
	imul	rax, rax, 1717986919
	shr	rax, 32
	sar	eax, 2
	mov	ecx, edx
	sar	ecx, 31
	sub	eax, ecx
	mov	DWORD PTR -60[rbp], eax
	mov	ecx, DWORD PTR -60[rbp]
	mov	eax, ecx
	sal	eax, 2
	add	eax, ecx
	add	eax, eax
	sub	edx, eax
	mov	DWORD PTR -60[rbp], edx
	mov	DWORD PTR -68[rbp], 0
	jmp	.L7
.L9:
	mov	eax, DWORD PTR -68[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -60[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, instance[rip]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -68[rbp]
	cdqe
	mov	DWORD PTR -48[rbp+rax*4], edx
	mov	eax, DWORD PTR -68[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, noisy[rip]
	mov	eax, DWORD PTR [rdx+rax]
	test	eax, eax
	je	.L8
	mov	eax, DWORD PTR -68[rbp]
	cdqe
	mov	eax, DWORD PTR -48[rbp+rax*4]
	test	eax, eax
	sete	al
	movzx	edx, al
	mov	eax, DWORD PTR -68[rbp]
	cdqe
	mov	DWORD PTR -48[rbp+rax*4], edx
.L8:
	add	DWORD PTR -68[rbp], 1
.L7:
	cmp	DWORD PTR -68[rbp], 6
	jle	.L9
	mov	r8d, DWORD PTR -24[rbp]
	mov	edi, DWORD PTR -28[rbp]
	mov	esi, DWORD PTR -32[rbp]
	mov	r11d, DWORD PTR -36[rbp]
	mov	r10d, DWORD PTR -40[rbp]
	mov	ecx, DWORD PTR -44[rbp]
	mov	edx, DWORD PTR -48[rbp]
	mov	rax, QWORD PTR -56[rbp]
	mov	r9d, DWORD PTR -60[rbp]
	push	r9
	push	r8
	push	rdi
	push	rsi
	mov	r9d, r11d
	mov	r8d, r10d
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	add	rsp, 32
	add	DWORD PTR -72[rbp], 1
.L6:
	mov	eax, DWORD PTR numtrain[rip]
	cmp	DWORD PTR -72[rbp], eax
	jl	.L10
	mov	eax, DWORD PTR n[rip]
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, eax
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, xmm0
	movsd	xmm0, QWORD PTR .LC8[rip]
	mulsd	xmm0, xmm1
	mov	edx, DWORD PTR numtrain[rip]
	mov	eax, edx
	sal	eax, 3
	sub	eax, edx
	pxor	xmm1, xmm1
	cvtsi2ss	xmm1, eax
	cvtss2sd	xmm1, xmm1
	divsd	xmm0, xmm1
	cvtsd2ss	xmm0, xmm0
	movss	DWORD PTR -64[rbp], xmm0
	pxor	xmm2, xmm2
	cvtss2sd	xmm2, DWORD PTR -64[rbp]
	movq	rdx, xmm2
	mov	eax, DWORD PTR percentnoise[rip]
	movq	xmm0, rdx
	mov	esi, eax
	lea	rdi, .LC9[rip]
	mov	eax, 1
	call	printf@PLT
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	fclose@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L11
	call	__stack_chk_fail@PLT
.L11:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	createworld, .-createworld
	.globl	select_noisy_indexes
	.type	select_noisy_indexes, @function
select_noisy_indexes:
.LFB2:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	DWORD PTR -4[rbp], 0
	jmp	.L13
.L15:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, noisy[rip]
	mov	DWORD PTR [rdx+rax], 0
	mov	eax, 0
	call	random@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
	mov	eax, DWORD PTR percentnoise[rip]
	cmp	edx, eax
	jge	.L14
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, noisy[rip]
	mov	DWORD PTR [rdx+rax], 1
	mov	eax, DWORD PTR n[rip]
	add	eax, 1
	mov	DWORD PTR n[rip], eax
.L14:
	add	DWORD PTR -4[rbp], 1
.L13:
	cmp	DWORD PTR -4[rbp], 6
	jle	.L15
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	select_noisy_indexes, .-select_noisy_indexes
	.section	.rodata
	.align 8
.LC8:
	.long	0
	.long	1079574528
	.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	"89200550.c"
	.text
	.comm	numtrain,4,4
	.comm	seed,4,4
	.comm	outputfile,100,4
	.comm	percentnoise,4,4
	.comm	noisy,28,4
	.comm	instance,280,4
	.global	n
	.bss
	.align	2
	.type	n, %object
	.size	n, 4
n:
	.space	4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Arguments: numtrain seed outputfile noise.\000"
	.align	2
.LC1:
	.ascii	" numtrain is the number of training instances reque"
	.ascii	"sted.\000"
	.align	2
.LC2:
	.ascii	" seed is a integer seed for the random number gener"
	.ascii	"ator.\000"
	.align	2
.LC3:
	.ascii	" outputfile: output file name for the generated ins"
	.ascii	"tances.\000"
	.align	2
.LC4:
	.ascii	" noise is the percent probability of noise per attr"
	.ascii	"ibute.\000"
	.align	2
.LC5:
	.ascii	" (usually set to 10%...and reported by the program)"
	.ascii	"\012\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r3, [fp, #-8]
	cmp	r3, #5
	beq	.L2
	ldr	r0, .L5
	bl	puts
	ldr	r0, .L5+4
	bl	puts
	ldr	r0, .L5+8
	bl	puts
	ldr	r0, .L5+12
	bl	puts
	ldr	r0, .L5+16
	bl	puts
	ldr	r0, .L5+20
	bl	printf
	b	.L3
.L2:
	ldr	r3, [fp, #-12]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	mov	r3, r0
	ldr	r2, .L5+24
	str	r3, [r2]
	ldr	r3, [fp, #-12]
	add	r3, r3, #8
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L5+28
	str	r2, [r3]
	ldr	r3, [fp, #-12]
	add	r3, r3, #12
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L5+32
	bl	strcpy
	ldr	r3, [fp, #-12]
	add	r3, r3, #16
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	mov	r3, r0
	ldr	r2, .L5+36
	str	r3, [r2]
	bl	createworld
.L3:
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L6:
	.align	2
.L5:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	numtrain
	.word	seed
	.word	outputfile
	.word	percentnoise
	.size	main, .-main
	.section	.rodata
	.align	2
.LC6:
	.ascii	"w\000"
	.align	2
.LC7:
	.ascii	"%d,%d,%d,%d,%d,%d,%d,%d\012\000"
	.global	__aeabi_i2f
	.global	__aeabi_f2d
	.global	__aeabi_dmul
	.global	__aeabi_ddiv
	.global	__aeabi_d2f
	.align	2
.LC8:
	.ascii	"Percent Noise: Requested %d, Actual %f\012\000"
	.align	2
.LC9:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	createworld
	.syntax unified
	.arm
	.fpu softvfp
	.type	createworld, %function
createworld:
	@ args = 0, pretend = 0, frame = 56
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #80
	ldr	r3, .L14
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r3, .L14+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	srandom
	ldr	r3, .L14+8
	mov	r2, #1
	str	r2, [r3]
	ldr	r3, .L14+8
	mov	r2, #1
	str	r2, [r3, #4]
	ldr	r3, .L14+8
	mov	r2, #1
	str	r2, [r3, #8]
	ldr	r3, .L14+8
	mov	r2, #0
	str	r2, [r3, #12]
	ldr	r3, .L14+8
	mov	r2, #1
	str	r2, [r3, #16]
	ldr	r3, .L14+8
	mov	r2, #1
	str	r2, [r3, #20]
	ldr	r3, .L14+8
	mov	r2, #1
	str	r2, [r3, #24]
	ldr	r3, .L14+8
	mov	r2, #0
	str	r2, [r3, #28]
	ldr	r3, .L14+8
	mov	r2, #0
	str	r2, [r3, #32]
	ldr	r3, .L14+8
	mov	r2, #1
	str	r2, [r3, #36]
	ldr	r3, .L14+8
	mov	r2, #0
	str	r2, [r3, #40]
	ldr	r3, .L14+8
	mov	r2, #0
	str	r2, [r3, #44]
	ldr	r3, .L14+8
	mov	r2, #1
	str	r2, [r3, #48]
	ldr	r3, .L14+8
	mov	r2, #0
	str	r2, [r3, #52]
	ldr	r3, .L14+8
	mov	r2, #1
	str	r2, [r3, #56]
	ldr	r3, .L14+8
	mov	r2, #0
	str	r2, [r3, #60]
	ldr	r3, .L14+8
	mov	r2, #1
	str	r2, [r3, #64]
	ldr	r3, .L14+8
	mov	r2, #1
	str	r2, [r3, #68]
	ldr	r3, .L14+8
	mov	r2, #1
	str	r2, [r3, #72]
	ldr	r3, .L14+8
	mov	r2, #0
	str	r2, [r3, #76]
	ldr	r3, .L14+8
	mov	r2, #1
	str	r2, [r3, #80]
	ldr	r3, .L14+8
	mov	r2, #1
	str	r2, [r3, #84]
	ldr	r3, .L14+8
	mov	r2, #0
	str	r2, [r3, #88]
	ldr	r3, .L14+8
	mov	r2, #1
	str	r2, [r3, #92]
	ldr	r3, .L14+8
	mov	r2, #1
	str	r2, [r3, #96]
	ldr	r3, .L14+8
	mov	r2, #0
	str	r2, [r3, #100]
	ldr	r3, .L14+8
	mov	r2, #1
	str	r2, [r3, #104]
	ldr	r3, .L14+8
	mov	r2, #1
	str	r2, [r3, #108]
	ldr	r3, .L14+8
	mov	r2, #0
	str	r2, [r3, #112]
	ldr	r3, .L14+8
	mov	r2, #1
	str	r2, [r3, #116]
	ldr	r3, .L14+8
	mov	r2, #1
	str	r2, [r3, #120]
	ldr	r3, .L14+8
	mov	r2, #1
	str	r2, [r3, #124]
	ldr	r3, .L14+8
	mov	r2, #0
	str	r2, [r3, #128]
	ldr	r3, .L14+8
	mov	r2, #1
	str	r2, [r3, #132]
	ldr	r3, .L14+8
	mov	r2, #0
	str	r2, [r3, #136]
	ldr	r3, .L14+8
	mov	r2, #1
	str	r2, [r3, #140]
	ldr	r3, .L14+8
	mov	r2, #1
	str	r2, [r3, #144]
	ldr	r3, .L14+8
	mov	r2, #0
	str	r2, [r3, #148]
	ldr	r3, .L14+8
	mov	r2, #1
	str	r2, [r3, #152]
	ldr	r3, .L14+8
	mov	r2, #0
	str	r2, [r3, #156]
	ldr	r3, .L14+8
	mov	r2, #1
	str	r2, [r3, #160]
	ldr	r3, .L14+8
	mov	r2, #1
	str	r2, [r3, #164]
	ldr	r3, .L14+8
	mov	r2, #1
	str	r2, [r3, #168]
	ldr	r3, .L14+8
	mov	r2, #1
	str	r2, [r3, #172]
	ldr	r3, .L14+8
	mov	r2, #0
	str	r2, [r3, #176]
	ldr	r3, .L14+8
	mov	r2, #1
	str	r2, [r3, #180]
	ldr	r3, .L14+8
	mov	r2, #1
	str	r2, [r3, #184]
	ldr	r3, .L14+8
	mov	r2, #1
	str	r2, [r3, #188]
	ldr	r3, .L14+8
	mov	r2, #1
	str	r2, [r3, #192]
	ldr	r3, .L14+8
	mov	r2, #1
	str	r2, [r3, #196]
	ldr	r3, .L14+8
	mov	r2, #0
	str	r2, [r3, #200]
	ldr	r3, .L14+8
	mov	r2, #1
	str	r2, [r3, #204]
	ldr	r3, .L14+8
	mov	r2, #0
	str	r2, [r3, #208]
	ldr	r3, .L14+8
	mov	r2, #0
	str	r2, [r3, #212]
	ldr	r3, .L14+8
	mov	r2, #1
	str	r2, [r3, #216]
	ldr	r3, .L14+8
	mov	r2, #0
	str	r2, [r3, #220]
	ldr	r3, .L14+8
	mov	r2, #1
	str	r2, [r3, #224]
	ldr	r3, .L14+8
	mov	r2, #1
	str	r2, [r3, #228]
	ldr	r3, .L14+8
	mov	r2, #1
	str	r2, [r3, #232]
	ldr	r3, .L14+8
	mov	r2, #1
	str	r2, [r3, #236]
	ldr	r3, .L14+8
	mov	r2, #1
	str	r2, [r3, #240]
	ldr	r3, .L14+8
	mov	r2, #1
	str	r2, [r3, #244]
	ldr	r3, .L14+8
	mov	r2, #1
	str	r2, [r3, #248]
	ldr	r3, .L14+8
	mov	r2, #1
	str	r2, [r3, #252]
	ldr	r3, .L14+8
	mov	r2, #1
	str	r2, [r3, #256]
	ldr	r3, .L14+8
	mov	r2, #1
	str	r2, [r3, #260]
	ldr	r3, .L14+8
	mov	r2, #1
	str	r2, [r3, #264]
	ldr	r3, .L14+8
	mov	r2, #0
	str	r2, [r3, #268]
	ldr	r3, .L14+8
	mov	r2, #1
	str	r2, [r3, #272]
	ldr	r3, .L14+8
	mov	r2, #1
	str	r2, [r3, #276]
	ldr	r1, .L14+12
	ldr	r0, .L14+16
	bl	fopen
	str	r0, [fp, #-56]
	mov	r3, #0
	str	r3, [fp, #-64]
	b	.L8
.L12:
	bl	select_noisy_indexes
	bl	random
	mov	r2, r0
	ldr	r3, .L14+20
	smull	r1, r3, r2, r3
	asr	r1, r3, #2
	asr	r3, r2, #31
	sub	r1, r1, r3
	mov	r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	lsl	r3, r3, #1
	sub	r3, r2, r3
	str	r3, [fp, #-48]
	mov	r3, #0
	str	r3, [fp, #-60]
	b	.L9
.L11:
	ldr	r1, .L14+8
	ldr	r2, [fp, #-48]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	ldr	r2, [fp, #-60]
	add	r3, r3, r2
	ldr	r2, [r1, r3, lsl #2]
	ldr	r3, [fp, #-60]
	lsl	r3, r3, #2
	sub	r1, fp, #12
	add	r3, r1, r3
	str	r2, [r3, #-32]
	ldr	r2, .L14+24
	ldr	r3, [fp, #-60]
	ldr	r3, [r2, r3, lsl #2]
	cmp	r3, #0
	beq	.L10
	ldr	r3, [fp, #-60]
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r3, [r3, #-32]
	cmp	r3, #0
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	mov	r2, r3
	ldr	r3, [fp, #-60]
	lsl	r3, r3, #2
	sub	r1, fp, #12
	add	r3, r1, r3
	str	r2, [r3, #-32]
.L10:
	ldr	r3, [fp, #-60]
	add	r3, r3, #1
	str	r3, [fp, #-60]
.L9:
	ldr	r3, [fp, #-60]
	cmp	r3, #6
	ble	.L11
	ldr	r4, [fp, #-44]
	ldr	r5, [fp, #-40]
	ldr	r3, [fp, #-36]
	ldr	r2, [fp, #-32]
	ldr	r1, [fp, #-28]
	ldr	r0, [fp, #-24]
	ldr	ip, [fp, #-20]
	ldr	lr, [fp, #-48]
	str	lr, [sp, #20]
	str	ip, [sp, #16]
	str	r0, [sp, #12]
	str	r1, [sp, #8]
	str	r2, [sp, #4]
	str	r3, [sp]
	mov	r3, r5
	mov	r2, r4
	ldr	r1, .L14+28
	ldr	r0, [fp, #-56]
	bl	fprintf
	ldr	r3, [fp, #-64]
	add	r3, r3, #1
	str	r3, [fp, #-64]
.L8:
	ldr	r3, .L14+32
	ldr	r3, [r3]
	ldr	r2, [fp, #-64]
	cmp	r2, r3
	blt	.L12
	ldr	r3, .L14+36
	ldr	r3, [r3]
	mov	r0, r3
	bl	__aeabi_i2f
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, #0
	ldr	r3, .L14+40
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r3, .L14+32
	ldr	r2, [r3]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	mov	r0, r3
	bl	__aeabi_i2f
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r3, r0
	str	r3, [fp, #-52]	@ float
	ldr	r3, .L14+44
	ldr	r4, [r3]
	ldr	r0, [fp, #-52]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	mov	r1, r4
	ldr	r0, .L14+48
	bl	printf
	ldr	r0, [fp, #-56]
	bl	fclose
	nop
	ldr	r3, .L14
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L13
	bl	__stack_chk_fail
.L13:
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L15:
	.align	2
.L14:
	.word	.LC9
	.word	seed
	.word	instance
	.word	.LC6
	.word	outputfile
	.word	1717986919
	.word	noisy
	.word	.LC7
	.word	numtrain
	.word	n
	.word	1079574528
	.word	percentnoise
	.word	.LC8
	.size	createworld, .-createworld
	.align	2
	.global	select_noisy_indexes
	.syntax unified
	.arm
	.fpu softvfp
	.type	select_noisy_indexes, %function
select_noisy_indexes:
	@ 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	.L17
.L19:
	ldr	r2, .L20
	ldr	r3, [fp, #-8]
	mov	r1, #0
	str	r1, [r2, r3, lsl #2]
	bl	random
	mov	r1, r0
	ldr	r3, .L20+4
	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, .L20+8
	ldr	r3, [r3]
	cmp	r2, r3
	bge	.L18
	ldr	r2, .L20
	ldr	r3, [fp, #-8]
	mov	r1, #1
	str	r1, [r2, r3, lsl #2]
	ldr	r3, .L20+12
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L20+12
	str	r3, [r2]
.L18:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L17:
	ldr	r3, [fp, #-8]
	cmp	r3, #6
	ble	.L19
	nop
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L21:
	.align	2
.L20:
	.word	noisy
	.word	1374389535
	.word	percentnoise
	.word	n
	.size	select_noisy_indexes, .-select_noisy_indexes
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
