	.file	"31387343.c"
	.intel_syntax noprefix
	.text
	.globl	wih
	.bss
	.align 32
	.type	wih, @object
	.size	wih, 120
wih:
	.zero	120
	.globl	who
	.align 32
	.type	who, @object
	.size	who, 128
who:
	.zero	128
	.globl	inputs
	.align 32
	.type	inputs, @object
	.size	inputs, 32
inputs:
	.zero	32
	.globl	hidden
	.align 16
	.type	hidden, @object
	.size	hidden, 24
hidden:
	.zero	24
	.globl	target
	.align 32
	.type	target, @object
	.size	target, 32
target:
	.zero	32
	.globl	actual
	.align 32
	.type	actual, @object
	.size	actual, 32
actual:
	.zero	32
	.globl	erro
	.align 32
	.type	erro, @object
	.size	erro, 32
erro:
	.zero	32
	.globl	errh
	.align 16
	.type	errh, @object
	.size	errh, 24
errh:
	.zero	24
	.globl	out
	.align 8
	.type	out, @object
	.size	out, 8
out:
	.zero	8
	.text
	.globl	assignRandomWeights
	.type	assignRandomWeights, @function
assignRandomWeights:
.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	DWORD PTR -8[rbp], 0
	jmp	.L2
.L5:
	mov	DWORD PTR -12[rbp], 0
	jmp	.L3
.L4:
	call	rand@PLT
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, eax
	movss	xmm1, DWORD PTR .LC0[rip]
	divss	xmm0, xmm1
	cvtss2sd	xmm0, xmm0
	movsd	xmm1, QWORD PTR .LC1[rip]
	subsd	xmm0, xmm1
	mov	eax, DWORD PTR -12[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rcx
	lea	rdx, 0[0+rax*8]
	lea	rax, wih[rip]
	movsd	QWORD PTR [rdx+rax], xmm0
	add	DWORD PTR -12[rbp], 1
.L3:
	cmp	DWORD PTR -12[rbp], 2
	jle	.L4
	add	DWORD PTR -8[rbp], 1
.L2:
	cmp	DWORD PTR -8[rbp], 4
	jle	.L5
	mov	DWORD PTR -12[rbp], 0
	jmp	.L6
.L9:
	mov	DWORD PTR -4[rbp], 0
	jmp	.L7
.L8:
	call	rand@PLT
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, eax
	movss	xmm1, DWORD PTR .LC0[rip]
	divss	xmm0, xmm1
	cvtss2sd	xmm0, xmm0
	movsd	xmm1, QWORD PTR .LC1[rip]
	subsd	xmm0, xmm1
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*8]
	lea	rax, who[rip]
	movsd	QWORD PTR [rdx+rax], xmm0
	add	DWORD PTR -4[rbp], 1
.L7:
	cmp	DWORD PTR -4[rbp], 3
	jle	.L8
	add	DWORD PTR -12[rbp], 1
.L6:
	cmp	DWORD PTR -12[rbp], 3
	jle	.L9
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	assignRandomWeights, .-assignRandomWeights
	.globl	sigmoid
	.type	sigmoid, @function
sigmoid:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	movsd	QWORD PTR -8[rbp], xmm0
	movsd	xmm0, QWORD PTR -8[rbp]
	movq	xmm1, QWORD PTR .LC2[rip]
	xorpd	xmm0, xmm1
	movq	rax, xmm0
	movq	xmm0, rax
	call	exp@PLT
	movsd	xmm1, QWORD PTR .LC3[rip]
	addsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR .LC3[rip]
	divsd	xmm0, xmm1
	movq	rax, xmm0
	movq	xmm0, rax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	sigmoid, .-sigmoid
	.globl	sigmoidDerivative
	.type	sigmoidDerivative, @function
sigmoidDerivative:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	movsd	QWORD PTR -8[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC3[rip]
	subsd	xmm0, QWORD PTR -8[rbp]
	mulsd	xmm0, QWORD PTR -8[rbp]
	movq	rax, xmm0
	movq	xmm0, rax
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	sigmoidDerivative, .-sigmoidDerivative
	.globl	feedForward
	.type	feedForward, @function
feedForward:
.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, 32
	mov	DWORD PTR -16[rbp], 0
	jmp	.L15
.L18:
	pxor	xmm0, xmm0
	movsd	QWORD PTR -8[rbp], xmm0
	mov	DWORD PTR -20[rbp], 0
	jmp	.L16
.L17:
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, inputs[rip]
	movsd	xmm1, QWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -16[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rcx
	lea	rdx, 0[0+rax*8]
	lea	rax, wih[rip]
	movsd	xmm0, QWORD PTR [rdx+rax]
	mulsd	xmm0, xmm1
	movsd	xmm1, QWORD PTR -8[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -8[rbp], xmm0
	add	DWORD PTR -20[rbp], 1
.L16:
	cmp	DWORD PTR -20[rbp], 3
	jle	.L17
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	add	rax, 12
	lea	rdx, 0[0+rax*8]
	lea	rax, wih[rip]
	movsd	xmm0, QWORD PTR [rdx+rax]
	movsd	xmm1, QWORD PTR -8[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -8[rbp], xmm0
	mov	rax, QWORD PTR -8[rbp]
	movq	xmm0, rax
	call	sigmoid
	movq	rax, xmm0
	mov	edx, DWORD PTR -16[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*8]
	lea	rdx, hidden[rip]
	mov	QWORD PTR [rcx+rdx], rax
	add	DWORD PTR -16[rbp], 1
.L15:
	cmp	DWORD PTR -16[rbp], 2
	jle	.L18
	mov	DWORD PTR -12[rbp], 0
	jmp	.L19
.L22:
	pxor	xmm0, xmm0
	movsd	QWORD PTR -8[rbp], xmm0
	mov	DWORD PTR -16[rbp], 0
	jmp	.L20
.L21:
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, hidden[rip]
	movsd	xmm1, QWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*8]
	lea	rax, who[rip]
	movsd	xmm0, QWORD PTR [rdx+rax]
	mulsd	xmm0, xmm1
	movsd	xmm1, QWORD PTR -8[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -8[rbp], xmm0
	add	DWORD PTR -16[rbp], 1
.L20:
	cmp	DWORD PTR -16[rbp], 2
	jle	.L21
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	add	rax, 12
	lea	rdx, 0[0+rax*8]
	lea	rax, who[rip]
	movsd	xmm0, QWORD PTR [rdx+rax]
	movsd	xmm1, QWORD PTR -8[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -8[rbp], xmm0
	mov	rax, QWORD PTR -8[rbp]
	movq	xmm0, rax
	call	sigmoid
	movq	rax, xmm0
	mov	edx, DWORD PTR -12[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*8]
	lea	rdx, actual[rip]
	mov	QWORD PTR [rcx+rdx], rax
	add	DWORD PTR -12[rbp], 1
.L19:
	cmp	DWORD PTR -12[rbp], 3
	jle	.L22
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	feedForward, .-feedForward
	.globl	backPropagate
	.type	backPropagate, @function
backPropagate:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 24
	mov	DWORD PTR -4[rbp], 0
	jmp	.L24
.L25:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, target[rip]
	movsd	xmm0, QWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, actual[rip]
	movsd	xmm1, QWORD PTR [rdx+rax]
	subsd	xmm0, xmm1
	movsd	QWORD PTR -24[rbp], xmm0
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, actual[rip]
	mov	rax, QWORD PTR [rdx+rax]
	movq	xmm0, rax
	call	sigmoidDerivative
	mulsd	xmm0, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, erro[rip]
	movsd	QWORD PTR [rdx+rax], xmm0
	add	DWORD PTR -4[rbp], 1
.L24:
	cmp	DWORD PTR -4[rbp], 3
	jle	.L25
	mov	DWORD PTR -8[rbp], 0
	jmp	.L26
.L29:
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, errh[rip]
	pxor	xmm0, xmm0
	movsd	QWORD PTR [rdx+rax], xmm0
	mov	DWORD PTR -4[rbp], 0
	jmp	.L27
.L28:
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, errh[rip]
	movsd	xmm1, QWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, erro[rip]
	movsd	xmm2, QWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*8]
	lea	rax, who[rip]
	movsd	xmm0, QWORD PTR [rdx+rax]
	mulsd	xmm0, xmm2
	addsd	xmm0, xmm1
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, errh[rip]
	movsd	QWORD PTR [rdx+rax], xmm0
	add	DWORD PTR -4[rbp], 1
.L27:
	cmp	DWORD PTR -4[rbp], 3
	jle	.L28
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, hidden[rip]
	mov	rax, QWORD PTR [rdx+rax]
	movq	xmm0, rax
	call	sigmoidDerivative
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, errh[rip]
	movsd	xmm1, QWORD PTR [rdx+rax]
	mulsd	xmm0, xmm1
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, errh[rip]
	movsd	QWORD PTR [rdx+rax], xmm0
	add	DWORD PTR -8[rbp], 1
.L26:
	cmp	DWORD PTR -8[rbp], 2
	jle	.L29
	mov	DWORD PTR -4[rbp], 0
	jmp	.L30
.L33:
	mov	DWORD PTR -8[rbp], 0
	jmp	.L31
.L32:
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*8]
	lea	rax, who[rip]
	movsd	xmm1, QWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, erro[rip]
	movsd	xmm2, QWORD PTR [rdx+rax]
	movsd	xmm0, QWORD PTR .LC5[rip]
	mulsd	xmm2, xmm0
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, hidden[rip]
	movsd	xmm0, QWORD PTR [rdx+rax]
	mulsd	xmm0, xmm2
	addsd	xmm0, xmm1
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*8]
	lea	rax, who[rip]
	movsd	QWORD PTR [rdx+rax], xmm0
	add	DWORD PTR -8[rbp], 1
.L31:
	cmp	DWORD PTR -8[rbp], 2
	jle	.L32
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	add	rax, 12
	lea	rdx, 0[0+rax*8]
	lea	rax, who[rip]
	movsd	xmm1, QWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, erro[rip]
	movsd	xmm2, QWORD PTR [rdx+rax]
	movsd	xmm0, QWORD PTR .LC5[rip]
	mulsd	xmm0, xmm2
	addsd	xmm0, xmm1
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	add	rax, 12
	lea	rdx, 0[0+rax*8]
	lea	rax, who[rip]
	movsd	QWORD PTR [rdx+rax], xmm0
	add	DWORD PTR -4[rbp], 1
.L30:
	cmp	DWORD PTR -4[rbp], 3
	jle	.L33
	mov	DWORD PTR -8[rbp], 0
	jmp	.L34
.L37:
	mov	DWORD PTR -12[rbp], 0
	jmp	.L35
.L36:
	mov	eax, DWORD PTR -8[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rcx
	lea	rdx, 0[0+rax*8]
	lea	rax, wih[rip]
	movsd	xmm1, QWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, errh[rip]
	movsd	xmm2, QWORD PTR [rdx+rax]
	movsd	xmm0, QWORD PTR .LC5[rip]
	mulsd	xmm2, xmm0
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, inputs[rip]
	movsd	xmm0, QWORD PTR [rdx+rax]
	mulsd	xmm0, xmm2
	addsd	xmm0, xmm1
	mov	eax, DWORD PTR -8[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rcx
	lea	rdx, 0[0+rax*8]
	lea	rax, wih[rip]
	movsd	QWORD PTR [rdx+rax], xmm0
	add	DWORD PTR -12[rbp], 1
.L35:
	cmp	DWORD PTR -12[rbp], 3
	jle	.L36
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	add	rax, 12
	lea	rdx, 0[0+rax*8]
	lea	rax, wih[rip]
	movsd	xmm1, QWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, errh[rip]
	movsd	xmm2, QWORD PTR [rdx+rax]
	movsd	xmm0, QWORD PTR .LC5[rip]
	mulsd	xmm0, xmm2
	addsd	xmm0, xmm1
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	add	rax, 12
	lea	rdx, 0[0+rax*8]
	lea	rax, wih[rip]
	movsd	QWORD PTR [rdx+rax], xmm0
	add	DWORD PTR -8[rbp], 1
.L34:
	cmp	DWORD PTR -8[rbp], 2
	jle	.L37
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	backPropagate, .-backPropagate
	.globl	samples
	.data
	.align 32
	.type	samples, @object
	.size	samples, 1152
samples:
	.long	0
	.long	1073741824
	.long	0
	.long	0
	.long	0
	.long	0
	.long	0
	.long	0
	.long	0
	.long	0
	.long	0
	.long	0
	.long	0
	.long	1072693248
	.long	0
	.long	0
	.long	0
	.long	1073741824
	.long	0
	.long	0
	.long	0
	.long	0
	.long	0
	.long	1072693248
	.long	0
	.long	0
	.long	0
	.long	0
	.long	0
	.long	1072693248
	.long	0
	.long	0
	.long	0
	.long	1073741824
	.long	0
	.long	0
	.long	0
	.long	1072693248
	.long	0
	.long	1072693248
	.long	0
	.long	1072693248
	.long	0
	.long	0
	.long	0
	.long	0
	.long	0
	.long	0
	.long	0
	.long	1073741824
	.long	0
	.long	0
	.long	0
	.long	1072693248
	.long	0
	.long	1073741824
	.long	0
	.long	1072693248
	.long	0
	.long	0
	.long	0
	.long	0
	.long	0
	.long	0
	.long	0
	.long	1073741824
	.long	0
	.long	1072693248
	.long	0
	.long	0
	.long	0
	.long	1073741824
	.long	0
	.long	0
	.long	0
	.long	0
	.long	0
	.long	0
	.long	0
	.long	1072693248
	.long	0
	.long	1073741824
	.long	0
	.long	1072693248
	.long	0
	.long	0
	.long	0
	.long	1072693248
	.long	0
	.long	1072693248
	.long	0
	.long	0
	.long	0
	.long	0
	.long	0
	.long	0
	.long	0
	.long	1072693248
	.long	0
	.long	0
	.long	0
	.long	0
	.long	0
	.long	0
	.long	0
	.long	0
	.long	0
	.long	0
	.long	0
	.long	1072693248
	.long	0
	.long	0
	.long	0
	.long	1072693248
	.long	0
	.long	0
	.long	0
	.long	0
	.long	0
	.long	1072693248
	.long	0
	.long	0
	.long	0
	.long	0
	.long	0
	.long	0
	.long	0
	.long	1072693248
	.long	0
	.long	1072693248
	.long	0
	.long	0
	.long	0
	.long	1072693248
	.long	0
	.long	1072693248
	.long	0
	.long	1072693248
	.long	0
	.long	0
	.long	0
	.long	0
	.long	0
	.long	0
	.long	0
	.long	1072693248
	.long	0
	.long	0
	.long	0
	.long	1072693248
	.long	0
	.long	1073741824
	.long	0
	.long	0
	.long	0
	.long	0
	.long	0
	.long	0
	.long	0
	.long	1072693248
	.long	0
	.long	1072693248
	.long	0
	.long	1072693248
	.long	0
	.long	0
	.long	0
	.long	1073741824
	.long	0
	.long	0
	.long	0
	.long	0
	.long	0
	.long	0
	.long	0
	.long	1072693248
	.long	0
	.long	1072693248
	.long	0
	.long	1072693248
	.long	0
	.long	0
	.long	0
	.long	1072693248
	.long	0
	.long	0
	.long	0
	.long	0
	.long	0
	.long	0
	.long	0
	.long	1072693248
	.long	0
	.long	0
	.long	0
	.long	0
	.long	0
	.long	0
	.long	0
	.long	0
	.long	0
	.long	0
	.long	0
	.long	0
	.long	0
	.long	1072693248
	.long	0
	.long	0
	.long	0
	.long	0
	.long	0
	.long	0
	.long	0
	.long	0
	.long	0
	.long	1072693248
	.long	0
	.long	0
	.long	0
	.long	0
	.long	0
	.long	0
	.long	0
	.long	1072693248
	.long	0
	.long	0
	.long	0
	.long	0
	.long	0
	.long	1072693248
	.long	0
	.long	1072693248
	.long	0
	.long	0
	.long	0
	.long	0
	.long	0
	.long	0
	.long	0
	.long	1072693248
	.long	0
	.long	0
	.long	0
	.long	0
	.long	0
	.long	1072693248
	.long	0
	.long	1073741824
	.long	0
	.long	0
	.long	0
	.long	1072693248
	.long	0
	.long	0
	.long	0
	.long	0
	.long	0
	.long	0
	.long	0
	.long	1072693248
	.long	0
	.long	0
	.long	0
	.long	1073741824
	.long	0
	.long	0
	.long	0
	.long	1072693248
	.long	0
	.long	0
	.long	0
	.long	0
	.long	0
	.long	0
	.long	0
	.long	1072693248
	.long	0
	.long	0
	.long	0
	.long	1072693248
	.long	0
	.long	0
	.long	0
	.long	0
	.long	0
	.long	0
	.long	0
	.long	1072693248
	.globl	strings
	.section	.rodata
.LC6:
	.string	"Attack"
.LC7:
	.string	"Run"
.LC8:
	.string	"Wander"
.LC9:
	.string	"Hide"
	.section	.data.rel.local,"aw"
	.align 32
	.type	strings, @object
	.size	strings, 32
strings:
	.quad	.LC6
	.quad	.LC7
	.quad	.LC8
	.quad	.LC9
	.text
	.globl	action
	.type	action, @function
action:
.LFB11:
	.cfi_startproc
	endbr64
	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	DWORD PTR -12[rbp], 0
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	movsd	QWORD PTR -8[rbp], xmm0
	mov	DWORD PTR -16[rbp], 1
	jmp	.L39
.L42:
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	comisd	xmm0, QWORD PTR -8[rbp]
	jbe	.L40
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	movsd	QWORD PTR -8[rbp], xmm0
	mov	eax, DWORD PTR -16[rbp]
	mov	DWORD PTR -12[rbp], eax
.L40:
	add	DWORD PTR -16[rbp], 1
.L39:
	cmp	DWORD PTR -16[rbp], 3
	jle	.L42
	mov	eax, DWORD PTR -12[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	action, .-action
	.section	.rodata
.LC10:
	.string	"w"
.LC11:
	.string	"stats.txt"
.LC12:
	.string	"%g\n"
.LC13:
	.string	"mse = %g\n"
	.align 8
.LC14:
	.string	"%2.1g:%2.1g:%2.1g:%2.1g %s (%s)\n"
.LC17:
	.string	"Network is %g%% correct\n"
.LC19:
	.string	"2111 Action %s\n"
.LC20:
	.string	"1112 Action %s\n"
.LC21:
	.string	"0000 Action %s\n"
.LC22:
	.string	"0111 Action %s\n"
.LC24:
	.string	"2013 Action %s\n"
.LC25:
	.string	"2103 Action %s\n"
.LC26:
	.string	"0103 Action %s\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB12:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 40
	.cfi_offset 3, -24
	mov	DWORD PTR -36[rbp], 0
	mov	DWORD PTR -32[rbp], 0
	mov	DWORD PTR -28[rbp], 0
	lea	rsi, .LC10[rip]
	lea	rdi, .LC11[rip]
	call	fopen@PLT
	mov	QWORD PTR out[rip], rax
	mov	edi, 0
	call	time@PLT
	mov	edi, eax
	call	srand@PLT
	call	assignRandomWeights
.L51:
	add	DWORD PTR -36[rbp], 1
	cmp	DWORD PTR -36[rbp], 18
	jne	.L46
	mov	DWORD PTR -36[rbp], 0
.L46:
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	sal	rax, 6
	mov	rdx, rax
	lea	rax, samples[rip]
	movsd	xmm0, QWORD PTR [rdx+rax]
	movsd	QWORD PTR inputs[rip], xmm0
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	sal	rax, 6
	mov	rdx, rax
	lea	rax, samples[rip+8]
	movsd	xmm0, QWORD PTR [rdx+rax]
	movsd	QWORD PTR inputs[rip+8], xmm0
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	sal	rax, 6
	mov	rdx, rax
	lea	rax, samples[rip+16]
	movsd	xmm0, QWORD PTR [rdx+rax]
	movsd	QWORD PTR inputs[rip+16], xmm0
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	sal	rax, 6
	mov	rdx, rax
	lea	rax, samples[rip+24]
	movsd	xmm0, QWORD PTR [rdx+rax]
	movsd	QWORD PTR inputs[rip+24], xmm0
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	sal	rax, 6
	mov	rdx, rax
	lea	rax, samples[rip+32]
	movsd	xmm0, QWORD PTR [rdx+rax]
	movsd	QWORD PTR target[rip], xmm0
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	sal	rax, 6
	mov	rdx, rax
	lea	rax, samples[rip+40]
	movsd	xmm0, QWORD PTR [rdx+rax]
	movsd	QWORD PTR target[rip+8], xmm0
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	sal	rax, 6
	mov	rdx, rax
	lea	rax, samples[rip+48]
	movsd	xmm0, QWORD PTR [rdx+rax]
	movsd	QWORD PTR target[rip+16], xmm0
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	sal	rax, 6
	mov	rdx, rax
	lea	rax, samples[rip+56]
	movsd	xmm0, QWORD PTR [rdx+rax]
	movsd	QWORD PTR target[rip+24], xmm0
	mov	eax, 0
	call	feedForward
	pxor	xmm0, xmm0
	movsd	QWORD PTR -24[rbp], xmm0
	mov	DWORD PTR -40[rbp], 0
	jmp	.L47
.L48:
	mov	eax, DWORD PTR -40[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	add	rax, 4
	lea	rdx, 0[0+rax*8]
	lea	rax, samples[rip]
	movsd	xmm0, QWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, actual[rip]
	movsd	xmm2, QWORD PTR [rdx+rax]
	movapd	xmm1, xmm0
	subsd	xmm1, xmm2
	mov	eax, DWORD PTR -40[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	add	rax, 4
	lea	rdx, 0[0+rax*8]
	lea	rax, samples[rip]
	movsd	xmm0, QWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, actual[rip]
	movsd	xmm2, QWORD PTR [rdx+rax]
	subsd	xmm0, xmm2
	mulsd	xmm0, xmm1
	movsd	xmm1, QWORD PTR -24[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -24[rbp], xmm0
	add	DWORD PTR -40[rbp], 1
.L47:
	cmp	DWORD PTR -40[rbp], 3
	jle	.L48
	movsd	xmm1, QWORD PTR -24[rbp]
	movsd	xmm0, QWORD PTR .LC1[rip]
	mulsd	xmm0, xmm1
	movsd	QWORD PTR -24[rbp], xmm0
	mov	rax, QWORD PTR out[rip]
	mov	rdx, QWORD PTR -24[rbp]
	movq	xmm0, rdx
	lea	rsi, .LC12[rip]
	mov	rdi, rax
	mov	eax, 1
	call	fprintf@PLT
	mov	rax, QWORD PTR -24[rbp]
	movq	xmm0, rax
	lea	rdi, .LC13[rip]
	mov	eax, 1
	call	printf@PLT
	mov	eax, DWORD PTR -32[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -32[rbp], edx
	cmp	eax, 20000
	jg	.L58
	call	backPropagate
	jmp	.L51
.L58:
	nop
	mov	DWORD PTR -40[rbp], 0
	jmp	.L52
.L55:
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	sal	rax, 6
	mov	rdx, rax
	lea	rax, samples[rip]
	movsd	xmm0, QWORD PTR [rdx+rax]
	movsd	QWORD PTR inputs[rip], xmm0
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	sal	rax, 6
	mov	rdx, rax
	lea	rax, samples[rip+8]
	movsd	xmm0, QWORD PTR [rdx+rax]
	movsd	QWORD PTR inputs[rip+8], xmm0
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	sal	rax, 6
	mov	rdx, rax
	lea	rax, samples[rip+16]
	movsd	xmm0, QWORD PTR [rdx+rax]
	movsd	QWORD PTR inputs[rip+16], xmm0
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	sal	rax, 6
	mov	rdx, rax
	lea	rax, samples[rip+24]
	movsd	xmm0, QWORD PTR [rdx+rax]
	movsd	QWORD PTR inputs[rip+24], xmm0
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	sal	rax, 6
	mov	rdx, rax
	lea	rax, samples[rip+32]
	movsd	xmm0, QWORD PTR [rdx+rax]
	movsd	QWORD PTR target[rip], xmm0
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	sal	rax, 6
	mov	rdx, rax
	lea	rax, samples[rip+40]
	movsd	xmm0, QWORD PTR [rdx+rax]
	movsd	QWORD PTR target[rip+8], xmm0
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	sal	rax, 6
	mov	rdx, rax
	lea	rax, samples[rip+48]
	movsd	xmm0, QWORD PTR [rdx+rax]
	movsd	QWORD PTR target[rip+16], xmm0
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	sal	rax, 6
	mov	rdx, rax
	lea	rax, samples[rip+56]
	movsd	xmm0, QWORD PTR [rdx+rax]
	movsd	QWORD PTR target[rip+24], xmm0
	mov	eax, 0
	call	feedForward
	lea	rdi, actual[rip]
	call	action
	mov	ebx, eax
	lea	rdi, target[rip]
	call	action
	cmp	ebx, eax
	je	.L53
	lea	rdi, target[rip]
	call	action
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, strings[rip]
	mov	rbx, QWORD PTR [rdx+rax]
	lea	rdi, actual[rip]
	call	action
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, strings[rip]
	mov	rcx, QWORD PTR [rdx+rax]
	movsd	xmm2, QWORD PTR inputs[rip+24]
	movsd	xmm1, QWORD PTR inputs[rip+16]
	movsd	xmm0, QWORD PTR inputs[rip+8]
	mov	rax, QWORD PTR inputs[rip]
	mov	rdx, rbx
	mov	rsi, rcx
	movapd	xmm3, xmm2
	movapd	xmm2, xmm1
	movapd	xmm1, xmm0
	movq	xmm0, rax
	lea	rdi, .LC14[rip]
	mov	eax, 4
	call	printf@PLT
	jmp	.L54
.L53:
	add	DWORD PTR -28[rbp], 1
.L54:
	add	DWORD PTR -40[rbp], 1
.L52:
	cmp	DWORD PTR -40[rbp], 17
	jle	.L55
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, DWORD PTR -28[rbp]
	movss	xmm1, DWORD PTR .LC15[rip]
	divss	xmm0, xmm1
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, xmm0
	movsd	xmm0, QWORD PTR .LC16[rip]
	mulsd	xmm1, xmm0
	movq	rax, xmm1
	movq	xmm0, rax
	lea	rdi, .LC17[rip]
	mov	eax, 1
	call	printf@PLT
	movsd	xmm0, QWORD PTR .LC18[rip]
	movsd	QWORD PTR inputs[rip], xmm0
	movsd	xmm0, QWORD PTR .LC3[rip]
	movsd	QWORD PTR inputs[rip+8], xmm0
	movsd	xmm0, QWORD PTR .LC3[rip]
	movsd	QWORD PTR inputs[rip+16], xmm0
	movsd	xmm0, QWORD PTR .LC3[rip]
	movsd	QWORD PTR inputs[rip+24], xmm0
	mov	eax, 0
	call	feedForward
	lea	rdi, actual[rip]
	call	action
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, strings[rip]
	mov	rax, QWORD PTR [rdx+rax]
	mov	rsi, rax
	lea	rdi, .LC19[rip]
	mov	eax, 0
	call	printf@PLT
	movsd	xmm0, QWORD PTR .LC3[rip]
	movsd	QWORD PTR inputs[rip], xmm0
	movsd	xmm0, QWORD PTR .LC3[rip]
	movsd	QWORD PTR inputs[rip+8], xmm0
	movsd	xmm0, QWORD PTR .LC3[rip]
	movsd	QWORD PTR inputs[rip+16], xmm0
	movsd	xmm0, QWORD PTR .LC18[rip]
	movsd	QWORD PTR inputs[rip+24], xmm0
	mov	eax, 0
	call	feedForward
	lea	rdi, actual[rip]
	call	action
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, strings[rip]
	mov	rax, QWORD PTR [rdx+rax]
	mov	rsi, rax
	lea	rdi, .LC20[rip]
	mov	eax, 0
	call	printf@PLT
	pxor	xmm0, xmm0
	movsd	QWORD PTR inputs[rip], xmm0
	pxor	xmm0, xmm0
	movsd	QWORD PTR inputs[rip+8], xmm0
	pxor	xmm0, xmm0
	movsd	QWORD PTR inputs[rip+16], xmm0
	pxor	xmm0, xmm0
	movsd	QWORD PTR inputs[rip+24], xmm0
	mov	eax, 0
	call	feedForward
	lea	rdi, actual[rip]
	call	action
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, strings[rip]
	mov	rax, QWORD PTR [rdx+rax]
	mov	rsi, rax
	lea	rdi, .LC21[rip]
	mov	eax, 0
	call	printf@PLT
	pxor	xmm0, xmm0
	movsd	QWORD PTR inputs[rip], xmm0
	movsd	xmm0, QWORD PTR .LC3[rip]
	movsd	QWORD PTR inputs[rip+8], xmm0
	movsd	xmm0, QWORD PTR .LC3[rip]
	movsd	QWORD PTR inputs[rip+16], xmm0
	movsd	xmm0, QWORD PTR .LC3[rip]
	movsd	QWORD PTR inputs[rip+24], xmm0
	mov	eax, 0
	call	feedForward
	lea	rdi, actual[rip]
	call	action
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, strings[rip]
	mov	rax, QWORD PTR [rdx+rax]
	mov	rsi, rax
	lea	rdi, .LC22[rip]
	mov	eax, 0
	call	printf@PLT
	movsd	xmm0, QWORD PTR .LC18[rip]
	movsd	QWORD PTR inputs[rip], xmm0
	pxor	xmm0, xmm0
	movsd	QWORD PTR inputs[rip+8], xmm0
	movsd	xmm0, QWORD PTR .LC3[rip]
	movsd	QWORD PTR inputs[rip+16], xmm0
	movsd	xmm0, QWORD PTR .LC23[rip]
	movsd	QWORD PTR inputs[rip+24], xmm0
	mov	eax, 0
	call	feedForward
	lea	rdi, actual[rip]
	call	action
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, strings[rip]
	mov	rax, QWORD PTR [rdx+rax]
	mov	rsi, rax
	lea	rdi, .LC24[rip]
	mov	eax, 0
	call	printf@PLT
	movsd	xmm0, QWORD PTR .LC18[rip]
	movsd	QWORD PTR inputs[rip], xmm0
	movsd	xmm0, QWORD PTR .LC3[rip]
	movsd	QWORD PTR inputs[rip+8], xmm0
	pxor	xmm0, xmm0
	movsd	QWORD PTR inputs[rip+16], xmm0
	movsd	xmm0, QWORD PTR .LC23[rip]
	movsd	QWORD PTR inputs[rip+24], xmm0
	mov	eax, 0
	call	feedForward
	lea	rdi, actual[rip]
	call	action
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, strings[rip]
	mov	rax, QWORD PTR [rdx+rax]
	mov	rsi, rax
	lea	rdi, .LC25[rip]
	mov	eax, 0
	call	printf@PLT
	pxor	xmm0, xmm0
	movsd	QWORD PTR inputs[rip], xmm0
	movsd	xmm0, QWORD PTR .LC3[rip]
	movsd	QWORD PTR inputs[rip+8], xmm0
	pxor	xmm0, xmm0
	movsd	QWORD PTR inputs[rip+16], xmm0
	movsd	xmm0, QWORD PTR .LC23[rip]
	movsd	QWORD PTR inputs[rip+24], xmm0
	mov	eax, 0
	call	feedForward
	lea	rdi, actual[rip]
	call	action
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, strings[rip]
	mov	rax, QWORD PTR [rdx+rax]
	mov	rsi, rax
	lea	rdi, .LC26[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR out[rip]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, 0
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	main, .-main
	.section	.rodata
	.align 4
.LC0:
	.long	1325400064
	.align 8
.LC1:
	.long	0
	.long	1071644672
	.align 16
.LC2:
	.long	0
	.long	-2147483648
	.long	0
	.long	0
	.align 8
.LC3:
	.long	0
	.long	1072693248
	.align 8
.LC5:
	.long	-1717986918
	.long	1070176665
	.align 4
.LC15:
	.long	1099956224
	.align 8
.LC16:
	.long	0
	.long	1079574528
	.align 8
.LC18:
	.long	0
	.long	1073741824
	.align 8
.LC23:
	.long	0
	.long	1074266112
	.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	"31387343.c"
	.text
	.comm	wih,120,8
	.comm	who,128,8
	.comm	inputs,32,8
	.comm	hidden,24,8
	.comm	target,32,8
	.comm	actual,32,8
	.comm	erro,32,8
	.comm	errh,24,8
	.comm	out,4,4
	.global	__aeabi_i2f
	.global	__aeabi_fdiv
	.global	__aeabi_f2d
	.global	__aeabi_dsub
	.align	2
	.global	assignRandomWeights
	.syntax unified
	.arm
	.fpu softvfp
	.type	assignRandomWeights, %function
assignRandomWeights:
	@ 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, #0
	str	r3, [fp, #-12]
	b	.L2
.L5:
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L3
.L4:
	bl	rand
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_i2f
	mov	r3, r0
	mov	r1, #1325400064
	mov	r0, r3
	bl	__aeabi_fdiv
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, #0
	ldr	r3, .L10
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	ip, .L10+4
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	ldr	r2, [fp, #-16]
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, ip, r3
	stm	r3, {r0-r1}
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L3:
	ldr	r3, [fp, #-16]
	cmp	r3, #2
	ble	.L4
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L2:
	ldr	r3, [fp, #-12]
	cmp	r3, #4
	ble	.L5
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L6
.L9:
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L7
.L8:
	bl	rand
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_i2f
	mov	r3, r0
	mov	r1, #1325400064
	mov	r0, r3
	bl	__aeabi_fdiv
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, #0
	ldr	r3, .L10
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	ldr	ip, .L10+8
	ldr	r1, [fp, #-16]
	lsl	r0, r1, #2
	ldr	r1, [fp, #-8]
	add	r1, r0, r1
	lsl	r1, r1, #3
	add	r1, ip, r1
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L7:
	ldr	r3, [fp, #-8]
	cmp	r3, #3
	ble	.L8
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L6:
	ldr	r3, [fp, #-16]
	cmp	r3, #3
	ble	.L9
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L11:
	.align	2
.L10:
	.word	1071644672
	.word	wih
	.word	who
	.size	assignRandomWeights, .-assignRandomWeights
	.global	__aeabi_dadd
	.global	__aeabi_ddiv
	.align	2
	.global	sigmoid
	.syntax unified
	.arm
	.fpu softvfp
	.type	sigmoid, %function
sigmoid:
	@ 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, #-12]
	str	r1, [fp, #-8]
	ldr	r2, [fp, #-12]
	ldr	r1, [fp, #-8]
	eor	r3, r1, #-2147483648
	mov	r0, r2
	mov	r1, r3
	bl	exp
	mov	r2, #0
	ldr	r3, .L14
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, #0
	ldr	r1, .L14
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L15:
	.align	2
.L14:
	.word	1072693248
	.size	sigmoid, .-sigmoid
	.global	__aeabi_dmul
	.align	2
	.global	sigmoidDerivative
	.syntax unified
	.arm
	.fpu softvfp
	.type	sigmoidDerivative, %function
sigmoidDerivative:
	@ 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, #-12]
	str	r1, [fp, #-8]
	sub	r3, fp, #12
	ldmia	r3, {r2-r3}
	mov	r0, #0
	ldr	r1, .L18
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	sub	r3, fp, #12
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L19:
	.align	2
.L18:
	.word	1072693248
	.size	sigmoidDerivative, .-sigmoidDerivative
	.align	2
	.global	feedForward
	.syntax unified
	.arm
	.fpu softvfp
	.type	feedForward, %function
feedForward:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L21
.L24:
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-12]
	str	r3, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L22
.L23:
	ldr	r2, .L29
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	ip, .L29+4
	ldr	r2, [fp, #-24]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	ldr	r2, [fp, #-20]
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, ip, r3
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #12
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-12]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L22:
	ldr	r3, [fp, #-24]
	cmp	r3, #3
	ble	.L23
	ldr	r2, .L29+4
	ldr	r3, [fp, #-20]
	add	r3, r3, #12
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	sub	r1, fp, #12
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-12]
	str	r3, [fp, #-8]
	sub	r1, fp, #12
	ldmia	r1, {r0-r1}
	bl	sigmoid
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L29+8
	ldr	r1, [fp, #-20]
	lsl	r1, r1, #3
	add	r1, r0, r1
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L21:
	ldr	r3, [fp, #-20]
	cmp	r3, #2
	ble	.L24
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L25
.L28:
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-12]
	str	r3, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L26
.L27:
	ldr	r2, .L29+8
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	ip, .L29+12
	ldr	r3, [fp, #-20]
	lsl	r2, r3, #2
	ldr	r3, [fp, #-16]
	add	r3, r2, r3
	lsl	r3, r3, #3
	add	r3, ip, r3
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #12
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-12]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L26:
	ldr	r3, [fp, #-20]
	cmp	r3, #2
	ble	.L27
	ldr	r2, .L29+12
	ldr	r3, [fp, #-16]
	add	r3, r3, #12
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	sub	r1, fp, #12
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-12]
	str	r3, [fp, #-8]
	sub	r1, fp, #12
	ldmia	r1, {r0-r1}
	bl	sigmoid
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L29+16
	ldr	r1, [fp, #-16]
	lsl	r1, r1, #3
	add	r1, r0, r1
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L25:
	ldr	r3, [fp, #-16]
	cmp	r3, #3
	ble	.L28
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L30:
	.align	2
.L29:
	.word	inputs
	.word	wih
	.word	hidden
	.word	who
	.word	actual
	.size	feedForward, .-feedForward
	.align	2
	.global	backPropagate
	.syntax unified
	.arm
	.fpu softvfp
	.type	backPropagate, %function
backPropagate:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #16
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L32
.L33:
	ldr	r2, .L46
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	r2, .L46+4
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r2, .L46+4
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	bl	sigmoidDerivative
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L46+8
	ldr	r1, [fp, #-16]
	lsl	r1, r1, #3
	add	r1, r0, r1
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L32:
	ldr	r3, [fp, #-16]
	cmp	r3, #3
	ble	.L33
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L34
.L37:
	ldr	r2, .L46+12
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #3
	add	r1, r2, r3
	mov	r2, #0
	mov	r3, #0
	stm	r1, {r2-r3}
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L35
.L36:
	ldr	r2, .L46+12
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r4-r5}
	ldr	r2, .L46+8
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	ip, .L46+16
	ldr	r3, [fp, #-20]
	lsl	r2, r3, #2
	ldr	r3, [fp, #-16]
	add	r3, r2, r3
	lsl	r3, r3, #3
	add	r3, ip, r3
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L46+12
	ldr	r1, [fp, #-20]
	lsl	r1, r1, #3
	add	r1, r0, r1
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L35:
	ldr	r3, [fp, #-16]
	cmp	r3, #3
	ble	.L36
	ldr	r2, .L46+20
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	bl	sigmoidDerivative
	ldr	r2, .L46+12
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L46+12
	ldr	r1, [fp, #-20]
	lsl	r1, r1, #3
	add	r1, r0, r1
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L34:
	ldr	r3, [fp, #-20]
	cmp	r3, #2
	ble	.L37
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L38
.L41:
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L39
.L40:
	ldr	r1, .L46+16
	ldr	r3, [fp, #-20]
	lsl	r2, r3, #2
	ldr	r3, [fp, #-16]
	add	r3, r2, r3
	lsl	r3, r3, #3
	add	r3, r1, r3
	ldmia	r3, {r4-r5}
	ldr	r2, .L46+8
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	r2, .L46+24
	ldr	r3, .L46+28
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r2, .L46+20
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	ldr	ip, .L46+16
	ldr	r1, [fp, #-20]
	lsl	r0, r1, #2
	ldr	r1, [fp, #-16]
	add	r1, r0, r1
	lsl	r1, r1, #3
	add	r1, ip, r1
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L39:
	ldr	r3, [fp, #-20]
	cmp	r3, #2
	ble	.L40
	ldr	r2, .L46+16
	ldr	r3, [fp, #-16]
	add	r3, r3, #12
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r4-r5}
	ldr	r2, .L46+8
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	r2, .L46+24
	ldr	r3, .L46+28
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L46+16
	ldr	r1, [fp, #-16]
	add	r1, r1, #12
	lsl	r1, r1, #3
	add	r1, r0, r1
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L38:
	ldr	r3, [fp, #-16]
	cmp	r3, #3
	ble	.L41
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L42
.L45:
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L43
.L44:
	ldr	r1, .L46+32
	ldr	r2, [fp, #-24]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	ldr	r2, [fp, #-20]
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	ldmia	r3, {r4-r5}
	ldr	r2, .L46+12
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	r2, .L46+24
	ldr	r3, .L46+28
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r2, .L46+36
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	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
	ldr	ip, .L46+32
	ldr	r2, [fp, #-24]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	ldr	r2, [fp, #-20]
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, ip, r3
	stm	r3, {r0-r1}
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L43:
	ldr	r3, [fp, #-24]
	cmp	r3, #3
	ble	.L44
	ldr	r2, .L46+32
	ldr	r3, [fp, #-20]
	add	r3, r3, #12
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r4-r5}
	ldr	r2, .L46+12
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	r2, .L46+24
	ldr	r3, .L46+28
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L46+32
	ldr	r1, [fp, #-20]
	add	r1, r1, #12
	lsl	r1, r1, #3
	add	r1, r0, r1
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L42:
	ldr	r3, [fp, #-20]
	cmp	r3, #2
	ble	.L45
	nop
	nop
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L47:
	.align	2
.L46:
	.word	target
	.word	actual
	.word	erro
	.word	errh
	.word	who
	.word	hidden
	.word	-1717986918
	.word	1070176665
	.word	wih
	.word	inputs
	.size	backPropagate, .-backPropagate
	.global	samples
	.data
	.align	3
	.type	samples, %object
	.size	samples, 1152
samples:
	.word	0
	.word	1073741824
	.word	0
	.word	0
	.word	0
	.word	0
	.word	0
	.word	0
	.word	0
	.word	0
	.word	0
	.word	0
	.word	0
	.word	1072693248
	.word	0
	.word	0
	.word	0
	.word	1073741824
	.word	0
	.word	0
	.word	0
	.word	0
	.word	0
	.word	1072693248
	.word	0
	.word	0
	.word	0
	.word	0
	.word	0
	.word	1072693248
	.word	0
	.word	0
	.word	0
	.word	1073741824
	.word	0
	.word	0
	.word	0
	.word	1072693248
	.word	0
	.word	1072693248
	.word	0
	.word	1072693248
	.word	0
	.word	0
	.word	0
	.word	0
	.word	0
	.word	0
	.word	0
	.word	1073741824
	.word	0
	.word	0
	.word	0
	.word	1072693248
	.word	0
	.word	1073741824
	.word	0
	.word	1072693248
	.word	0
	.word	0
	.word	0
	.word	0
	.word	0
	.word	0
	.word	0
	.word	1073741824
	.word	0
	.word	1072693248
	.word	0
	.word	0
	.word	0
	.word	1073741824
	.word	0
	.word	0
	.word	0
	.word	0
	.word	0
	.word	0
	.word	0
	.word	1072693248
	.word	0
	.word	1073741824
	.word	0
	.word	1072693248
	.word	0
	.word	0
	.word	0
	.word	1072693248
	.word	0
	.word	1072693248
	.word	0
	.word	0
	.word	0
	.word	0
	.word	0
	.word	0
	.word	0
	.word	1072693248
	.word	0
	.word	0
	.word	0
	.word	0
	.word	0
	.word	0
	.word	0
	.word	0
	.word	0
	.word	0
	.word	0
	.word	1072693248
	.word	0
	.word	0
	.word	0
	.word	1072693248
	.word	0
	.word	0
	.word	0
	.word	0
	.word	0
	.word	1072693248
	.word	0
	.word	0
	.word	0
	.word	0
	.word	0
	.word	0
	.word	0
	.word	1072693248
	.word	0
	.word	1072693248
	.word	0
	.word	0
	.word	0
	.word	1072693248
	.word	0
	.word	1072693248
	.word	0
	.word	1072693248
	.word	0
	.word	0
	.word	0
	.word	0
	.word	0
	.word	0
	.word	0
	.word	1072693248
	.word	0
	.word	0
	.word	0
	.word	1072693248
	.word	0
	.word	1073741824
	.word	0
	.word	0
	.word	0
	.word	0
	.word	0
	.word	0
	.word	0
	.word	1072693248
	.word	0
	.word	1072693248
	.word	0
	.word	1072693248
	.word	0
	.word	0
	.word	0
	.word	1073741824
	.word	0
	.word	0
	.word	0
	.word	0
	.word	0
	.word	0
	.word	0
	.word	1072693248
	.word	0
	.word	1072693248
	.word	0
	.word	1072693248
	.word	0
	.word	0
	.word	0
	.word	1072693248
	.word	0
	.word	0
	.word	0
	.word	0
	.word	0
	.word	0
	.word	0
	.word	1072693248
	.word	0
	.word	0
	.word	0
	.word	0
	.word	0
	.word	0
	.word	0
	.word	0
	.word	0
	.word	0
	.word	0
	.word	0
	.word	0
	.word	1072693248
	.word	0
	.word	0
	.word	0
	.word	0
	.word	0
	.word	0
	.word	0
	.word	0
	.word	0
	.word	1072693248
	.word	0
	.word	0
	.word	0
	.word	0
	.word	0
	.word	0
	.word	0
	.word	1072693248
	.word	0
	.word	0
	.word	0
	.word	0
	.word	0
	.word	1072693248
	.word	0
	.word	1072693248
	.word	0
	.word	0
	.word	0
	.word	0
	.word	0
	.word	0
	.word	0
	.word	1072693248
	.word	0
	.word	0
	.word	0
	.word	0
	.word	0
	.word	1072693248
	.word	0
	.word	1073741824
	.word	0
	.word	0
	.word	0
	.word	1072693248
	.word	0
	.word	0
	.word	0
	.word	0
	.word	0
	.word	0
	.word	0
	.word	1072693248
	.word	0
	.word	0
	.word	0
	.word	1073741824
	.word	0
	.word	0
	.word	0
	.word	1072693248
	.word	0
	.word	0
	.word	0
	.word	0
	.word	0
	.word	0
	.word	0
	.word	1072693248
	.word	0
	.word	0
	.word	0
	.word	1072693248
	.word	0
	.word	0
	.word	0
	.word	0
	.word	0
	.word	0
	.word	0
	.word	1072693248
	.global	strings
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Attack\000"
	.align	2
.LC1:
	.ascii	"Run\000"
	.align	2
.LC2:
	.ascii	"Wander\000"
	.align	2
.LC3:
	.ascii	"Hide\000"
	.data
	.align	2
	.type	strings, %object
	.size	strings, 16
strings:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.global	__aeabi_dcmplt
	.text
	.align	2
	.global	action
	.syntax unified
	.arm
	.fpu softvfp
	.type	action, %function
action:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-12]
	str	r3, [fp, #-8]
	mov	r3, #1
	str	r3, [fp, #-20]
	b	.L49
.L52:
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	sub	r1, fp, #12
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L50
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-12]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-20]
	str	r3, [fp, #-16]
.L50:
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L49:
	ldr	r3, [fp, #-20]
	cmp	r3, #3
	ble	.L52
	ldr	r3, [fp, #-16]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	action, .-action
	.section	.rodata
	.align	2
.LC4:
	.ascii	"w\000"
	.align	2
.LC5:
	.ascii	"stats.txt\000"
	.align	2
.LC6:
	.ascii	"%g\012\000"
	.align	2
.LC7:
	.ascii	"mse = %g\012\000"
	.align	2
.LC8:
	.ascii	"%2.1g:%2.1g:%2.1g:%2.1g %s (%s)\012\000"
	.align	2
.LC9:
	.ascii	"Network is %g%% correct\012\000"
	.align	2
.LC10:
	.ascii	"2111 Action %s\012\000"
	.align	2
.LC11:
	.ascii	"1112 Action %s\012\000"
	.align	2
.LC12:
	.ascii	"0000 Action %s\012\000"
	.align	2
.LC13:
	.ascii	"0111 Action %s\012\000"
	.align	2
.LC14:
	.ascii	"2013 Action %s\012\000"
	.align	2
.LC15:
	.ascii	"2103 Action %s\012\000"
	.align	2
.LC16:
	.ascii	"0103 Action %s\012\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	add	fp, sp, #32
	sub	sp, sp, #68
	mov	r3, #0
	str	r3, [fp, #-56]
	mov	r3, #0
	str	r3, [fp, #-52]
	mov	r3, #0
	str	r3, [fp, #-48]
	ldr	r1, .L69
	ldr	r0, .L69+4
	bl	fopen
	mov	r3, r0
	ldr	r2, .L69+8
	str	r3, [r2]
	mov	r0, #0
	bl	time
	mov	r3, r0
	mov	r0, r3
	bl	srand
	bl	assignRandomWeights
.L61:
	ldr	r3, [fp, #-56]
	add	r3, r3, #1
	str	r3, [fp, #-56]
	ldr	r3, [fp, #-56]
	cmp	r3, #18
	bne	.L56
	mov	r3, #0
	str	r3, [fp, #-56]
.L56:
	ldr	r2, .L69+12
	ldr	r3, [fp, #-56]
	lsl	r3, r3, #6
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	ldr	r1, .L69+16
	stm	r1, {r2-r3}
	ldr	r2, .L69+12
	ldr	r3, [fp, #-56]
	lsl	r3, r3, #6
	add	r3, r2, r3
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	ldr	r1, .L69+16
	str	r2, [r1, #8]
	str	r3, [r1, #12]
	ldr	r2, .L69+12
	ldr	r3, [fp, #-56]
	lsl	r3, r3, #6
	add	r3, r2, r3
	add	r3, r3, #16
	ldmia	r3, {r2-r3}
	ldr	r1, .L69+16
	str	r2, [r1, #16]
	str	r3, [r1, #20]
	ldr	r2, .L69+12
	ldr	r3, [fp, #-56]
	lsl	r3, r3, #6
	add	r3, r2, r3
	add	r3, r3, #24
	ldmia	r3, {r2-r3}
	ldr	r1, .L69+16
	str	r2, [r1, #24]
	str	r3, [r1, #28]
	ldr	r2, .L69+12
	ldr	r3, [fp, #-56]
	lsl	r3, r3, #6
	add	r3, r2, r3
	add	r3, r3, #32
	ldmia	r3, {r2-r3}
	ldr	r1, .L69+20
	stm	r1, {r2-r3}
	ldr	r2, .L69+12
	ldr	r3, [fp, #-56]
	lsl	r3, r3, #6
	add	r3, r2, r3
	add	r3, r3, #40
	ldmia	r3, {r2-r3}
	ldr	r1, .L69+20
	str	r2, [r1, #8]
	str	r3, [r1, #12]
	ldr	r2, .L69+12
	ldr	r3, [fp, #-56]
	lsl	r3, r3, #6
	add	r3, r2, r3
	add	r3, r3, #48
	ldmia	r3, {r2-r3}
	ldr	r1, .L69+20
	str	r2, [r1, #16]
	str	r3, [r1, #20]
	ldr	r2, .L69+12
	ldr	r3, [fp, #-56]
	lsl	r3, r3, #6
	add	r3, r2, r3
	add	r3, r3, #56
	ldmia	r3, {r2-r3}
	ldr	r1, .L69+20
	str	r2, [r1, #24]
	str	r3, [r1, #28]
	bl	feedForward
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	mov	r3, #0
	str	r3, [fp, #-60]
	b	.L57
.L58:
	ldr	r1, .L69+12
	ldr	r3, [fp, #-56]
	lsl	r2, r3, #3
	ldr	r3, [fp, #-60]
	add	r3, r2, r3
	add	r3, r3, #4
	lsl	r3, r3, #3
	add	r3, r1, r3
	ldmia	r3, {r0-r1}
	ldr	r2, .L69+24
	ldr	r3, [fp, #-60]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r1, .L69+12
	ldr	r3, [fp, #-56]
	lsl	r2, r3, #3
	ldr	r3, [fp, #-60]
	add	r3, r2, r3
	add	r3, r3, #4
	lsl	r3, r3, #3
	add	r3, r1, r3
	ldmia	r3, {r0-r1}
	ldr	r2, .L69+24
	ldr	r3, [fp, #-60]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-60]
	add	r3, r3, #1
	str	r3, [fp, #-60]
.L57:
	ldr	r3, [fp, #-60]
	cmp	r3, #3
	ble	.L58
	mov	r2, #0
	ldr	r3, .L69+28
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	ldr	r3, .L69+8
	ldr	r0, [r3]
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	ldr	r1, .L69+32
	bl	fprintf
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	ldr	r0, .L69+36
	bl	printf
	ldr	r3, [fp, #-52]
	add	r2, r3, #1
	str	r2, [fp, #-52]
	ldr	r2, .L69+40
	cmp	r3, r2
	bgt	.L68
	bl	backPropagate
	b	.L61
.L68:
	nop
	mov	r3, #0
	str	r3, [fp, #-60]
	b	.L62
.L65:
	ldr	r2, .L69+12
	ldr	r3, [fp, #-60]
	lsl	r3, r3, #6
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	ldr	r1, .L69+16
	stm	r1, {r2-r3}
	ldr	r2, .L69+12
	ldr	r3, [fp, #-60]
	lsl	r3, r3, #6
	add	r3, r2, r3
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	ldr	r1, .L69+16
	str	r2, [r1, #8]
	str	r3, [r1, #12]
	ldr	r2, .L69+12
	ldr	r3, [fp, #-60]
	lsl	r3, r3, #6
	add	r3, r2, r3
	add	r3, r3, #16
	ldmia	r3, {r2-r3}
	ldr	r1, .L69+16
	str	r2, [r1, #16]
	str	r3, [r1, #20]
	ldr	r2, .L69+12
	ldr	r3, [fp, #-60]
	lsl	r3, r3, #6
	add	r3, r2, r3
	add	r3, r3, #24
	ldmia	r3, {r2-r3}
	ldr	r1, .L69+16
	str	r2, [r1, #24]
	str	r3, [r1, #28]
	ldr	r2, .L69+12
	ldr	r3, [fp, #-60]
	lsl	r3, r3, #6
	add	r3, r2, r3
	add	r3, r3, #32
	ldmia	r3, {r2-r3}
	ldr	r1, .L69+20
	stm	r1, {r2-r3}
	ldr	r2, .L69+12
	ldr	r3, [fp, #-60]
	lsl	r3, r3, #6
	add	r3, r2, r3
	add	r3, r3, #40
	ldmia	r3, {r2-r3}
	ldr	r1, .L69+20
	str	r2, [r1, #8]
	str	r3, [r1, #12]
	ldr	r2, .L69+12
	ldr	r3, [fp, #-60]
	lsl	r3, r3, #6
	add	r3, r2, r3
	add	r3, r3, #48
	ldmia	r3, {r2-r3}
	ldr	r1, .L69+20
	str	r2, [r1, #16]
	str	r3, [r1, #20]
	ldr	r2, .L69+12
	ldr	r3, [fp, #-60]
	lsl	r3, r3, #6
	add	r3, r2, r3
	add	r3, r3, #56
	ldmia	r3, {r2-r3}
	ldr	r1, .L69+20
	str	r2, [r1, #24]
	str	r3, [r1, #28]
	bl	feedForward
	ldr	r0, .L69+24
	bl	action
	mov	r4, r0
	ldr	r0, .L69+20
	bl	action
	mov	r3, r0
	cmp	r4, r3
	beq	.L63
	ldr	r3, .L69+16
	ldmia	r3, {r3-r4}
	str	r3, [fp, #-68]
	str	r4, [fp, #-64]
	ldr	r3, .L69+16
	add	r5, r3, #8
	ldmia	r5, {r4-r5}
	ldr	r3, .L69+16
	add	r7, r3, #16
	ldmia	r7, {r6-r7}
	ldr	r3, .L69+16
	add	r9, r3, #24
	ldmia	r9, {r8-r9}
	ldr	r0, .L69+24
	bl	action
	mov	r3, r0
	ldr	r2, .L69+44
	ldr	r10, [r2, r3, lsl #2]
	ldr	r0, .L69+20
	bl	action
	mov	r3, r0
	ldr	r2, .L69+44
	ldr	r3, [r2, r3, lsl #2]
	str	r3, [sp, #28]
	str	r10, [sp, #24]
	str	r8, [sp, #16]
	str	r9, [sp, #20]
	str	r6, [sp, #8]
	str	r7, [sp, #12]
	stm	sp, {r4-r5}
	sub	r3, fp, #68
	ldmia	r3, {r2-r3}
	ldr	r0, .L69+48
	bl	printf
	b	.L64
.L63:
	ldr	r3, [fp, #-48]
	add	r3, r3, #1
	str	r3, [fp, #-48]
.L64:
	ldr	r3, [fp, #-60]
	add	r3, r3, #1
	str	r3, [fp, #-60]
.L62:
	ldr	r3, [fp, #-60]
	cmp	r3, #17
	ble	.L65
	ldr	r0, [fp, #-48]
	bl	__aeabi_i2f
	mov	r3, r0
	ldr	r1, .L69+52
	mov	r0, r3
	bl	__aeabi_fdiv
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, #0
	ldr	r3, .L69+56
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L69+60
	bl	printf
	ldr	r1, .L69+16
	mov	r2, #0
	mov	r3, #1073741824
	stm	r1, {r2-r3}
	ldr	r1, .L69+16
	mov	r2, #0
	ldr	r3, .L69+64
	str	r2, [r1, #8]
	str	r3, [r1, #12]
	ldr	r1, .L69+16
	mov	r2, #0
	ldr	r3, .L69+64
	str	r2, [r1, #16]
	str	r3, [r1, #20]
	ldr	r1, .L69+16
	mov	r2, #0
	ldr	r3, .L69+64
	str	r2, [r1, #24]
	str	r3, [r1, #28]
	bl	feedForward
	ldr	r0, .L69+24
	bl	action
	mov	r3, r0
	ldr	r2, .L69+44
	ldr	r3, [r2, r3, lsl #2]
	mov	r1, r3
	ldr	r0, .L69+68
	bl	printf
	ldr	r1, .L69+16
	mov	r2, #0
	ldr	r3, .L69+64
	stm	r1, {r2-r3}
	ldr	r1, .L69+16
	mov	r2, #0
	ldr	r3, .L69+64
	str	r2, [r1, #8]
	str	r3, [r1, #12]
	ldr	r1, .L69+16
	mov	r2, #0
	ldr	r3, .L69+64
	str	r2, [r1, #16]
	str	r3, [r1, #20]
	ldr	r1, .L69+16
	mov	r2, #0
	mov	r3, #1073741824
	str	r2, [r1, #24]
	str	r3, [r1, #28]
	bl	feedForward
	ldr	r0, .L69+24
	bl	action
	mov	r3, r0
	ldr	r2, .L69+44
	ldr	r3, [r2, r3, lsl #2]
	mov	r1, r3
	ldr	r0, .L69+72
	bl	printf
	ldr	r1, .L69+16
	mov	r2, #0
	mov	r3, #0
	stm	r1, {r2-r3}
	ldr	r1, .L69+16
	mov	r2, #0
	mov	r3, #0
	str	r2, [r1, #8]
	str	r3, [r1, #12]
	ldr	r1, .L69+16
	mov	r2, #0
	mov	r3, #0
	str	r2, [r1, #16]
	str	r3, [r1, #20]
	ldr	r1, .L69+16
	mov	r2, #0
	mov	r3, #0
	str	r2, [r1, #24]
	str	r3, [r1, #28]
	bl	feedForward
	ldr	r0, .L69+24
	bl	action
	mov	r3, r0
	ldr	r2, .L69+44
	ldr	r3, [r2, r3, lsl #2]
	mov	r1, r3
	ldr	r0, .L69+76
	bl	printf
	ldr	r1, .L69+16
	mov	r2, #0
	mov	r3, #0
	stm	r1, {r2-r3}
	ldr	r1, .L69+16
	mov	r2, #0
	ldr	r3, .L69+64
	str	r2, [r1, #8]
	str	r3, [r1, #12]
	ldr	r1, .L69+16
	mov	r2, #0
	ldr	r3, .L69+64
	str	r2, [r1, #16]
	str	r3, [r1, #20]
	ldr	r1, .L69+16
	mov	r2, #0
	ldr	r3, .L69+64
	str	r2, [r1, #24]
	str	r3, [r1, #28]
	bl	feedForward
	ldr	r0, .L69+24
	bl	action
	mov	r3, r0
	ldr	r2, .L69+44
	ldr	r3, [r2, r3, lsl #2]
	mov	r1, r3
	ldr	r0, .L69+80
	bl	printf
	ldr	r1, .L69+16
	mov	r2, #0
	mov	r3, #1073741824
	stm	r1, {r2-r3}
	ldr	r1, .L69+16
	mov	r2, #0
	mov	r3, #0
	str	r2, [r1, #8]
	str	r3, [r1, #12]
	ldr	r1, .L69+16
	mov	r2, #0
	ldr	r3, .L69+64
	str	r2, [r1, #16]
	str	r3, [r1, #20]
	ldr	r1, .L69+16
	mov	r2, #0
	ldr	r3, .L69+84
	str	r2, [r1, #24]
	str	r3, [r1, #28]
	bl	feedForward
	ldr	r0, .L69+24
	bl	action
	mov	r3, r0
	ldr	r2, .L69+44
	ldr	r3, [r2, r3, lsl #2]
	mov	r1, r3
	ldr	r0, .L69+88
	bl	printf
	ldr	r1, .L69+16
	mov	r2, #0
	mov	r3, #1073741824
	stm	r1, {r2-r3}
	ldr	r1, .L69+16
	mov	r2, #0
	ldr	r3, .L69+64
	str	r2, [r1, #8]
	str	r3, [r1, #12]
	ldr	r1, .L69+16
	mov	r2, #0
	mov	r3, #0
	str	r2, [r1, #16]
	str	r3, [r1, #20]
	ldr	r1, .L69+16
	mov	r2, #0
	ldr	r3, .L69+84
	str	r2, [r1, #24]
	str	r3, [r1, #28]
	bl	feedForward
	ldr	r0, .L69+24
	bl	action
	mov	r3, r0
	ldr	r2, .L69+44
	ldr	r3, [r2, r3, lsl #2]
	mov	r1, r3
	ldr	r0, .L69+92
	bl	printf
	ldr	r1, .L69+16
	mov	r2, #0
	mov	r3, #0
	stm	r1, {r2-r3}
	ldr	r1, .L69+16
	mov	r2, #0
	ldr	r3, .L69+64
	str	r2, [r1, #8]
	str	r3, [r1, #12]
	ldr	r1, .L69+16
	mov	r2, #0
	mov	r3, #0
	str	r2, [r1, #16]
	str	r3, [r1, #20]
	ldr	r1, .L69+16
	mov	r2, #0
	ldr	r3, .L69+84
	str	r2, [r1, #24]
	str	r3, [r1, #28]
	bl	feedForward
	ldr	r0, .L69+24
	bl	action
	mov	r3, r0
	ldr	r2, .L69+44
	ldr	r3, [r2, r3, lsl #2]
	mov	r1, r3
	ldr	r0, .L69+96
	bl	printf
	ldr	r3, .L69+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	fclose
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #32
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L70:
	.align	2
.L69:
	.word	.LC4
	.word	.LC5
	.word	out
	.word	samples
	.word	inputs
	.word	target
	.word	actual
	.word	1071644672
	.word	.LC6
	.word	.LC7
	.word	20000
	.word	strings
	.word	.LC8
	.word	1099956224
	.word	1079574528
	.word	.LC9
	.word	1072693248
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	1074266112
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
