	.file	"extr_go.c_valid_go.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Learning Rate: %g, Momentum: %g, Decay: %g\n"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC2:
	.string	"%d Accuracy %f\n"
	.text
	.p2align 4
	.globl	valid_go
	.type	valid_go, @function
valid_go:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rsi
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rcx
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdi
	xor	edi, edi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	DWORD PTR 8[rsp], edx
	call	time@PLT
	mov	edi, eax
	call	srand@PLT
	mov	rdi, rbp
	call	basecfg@PLT
	mov	rdi, rax
	call	puts@PLT
	xor	edx, edx
	mov	rsi, r13
	mov	rdi, rbp
	call	load_network@PLT
	mov	esi, 1
	xor	ebp, ebp
	mov	r15, rax
	mov	rdi, rax
	call	set_batch_network@PLT
	movsd	xmm2, QWORD PTR 16[r15]
	movsd	xmm1, QWORD PTR 8[r15]
	lea	rdi, .LC0[rip]
	movsd	xmm0, QWORD PTR [r15]
	mov	eax, 3
	call	printf@PLT
	mov	esi, 4
	mov	edi, 1083
	call	calloc@PLT
	mov	esi, 4
	mov	edi, 363
	mov	r13, rax
	call	calloc@PLT
	mov	rdi, r12
	xor	r12d, r12d
	mov	r14, rax
	call	load_go_moves@PLT
	mov	DWORD PTR 12[rsp], eax
	mov	rbx, rdx
	test	eax, eax
	jg	.L8
	jmp	.L13
	.p2align 4,,10
	.p2align 3
.L7:
	mov	ecx, DWORD PTR 8[rsp]
	mov	rdx, r14
	mov	rsi, r13
	mov	rdi, r15
	call	predict_move2@PLT
	mov	esi, 362
	mov	rdi, r14
	call	max_index@PLT
	cmp	DWORD PTR 4[rsp], eax
	pxor	xmm0, xmm0
	mov	esi, r12d
	sete	al
	lea	edx, 1[r12]
	pxor	xmm2, xmm2
	add	rbx, 8
	movzx	eax, al
	cvtsi2ss	xmm2, edx
	lea	rdi, .LC2[rip]
	mov	DWORD PTR [rsp], edx
	add	ebp, eax
	mov	eax, 1
	cvtsi2ss	xmm0, ebp
	divss	xmm0, xmm2
	cvtss2sd	xmm0, xmm0
	call	printf@PLT
	mov	edx, DWORD PTR [rsp]
	cmp	edx, DWORD PTR 12[rsp]
	je	.L13
	mov	r12d, edx
.L8:
	mov	rdi, QWORD PTR [rbx]
	mov	rsi, r13
	movzx	eax, BYTE PTR [rdi]
	add	rdi, 4
	mov	BYTE PTR [rsp], al
	movsx	eax, BYTE PTR -2[rdi]
	lea	edx, [rax+rax*8]
	lea	edx, [rax+rdx*2]
	movsx	eax, BYTE PTR -1[rdi]
	lea	ecx, [rdx+rax]
	mov	DWORD PTR 4[rsp], ecx
	call	string_to_board@PLT
	cmp	BYTE PTR [rsp], 48
	movss	xmm1, DWORD PTR .LC1[rip]
	jle	.L7
	lea	rax, 2888[r13]
	lea	rdx, 4332[r13]
	.p2align 4,,10
	.p2align 3
.L6:
	movss	DWORD PTR [rax], xmm1
	add	rax, 4
	cmp	rdx, rax
	jne	.L6
	jmp	.L7
.L13:
	add	rsp, 24
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	valid_go, .-valid_go
	.section	.rodata.cst4,"aM",@progbits,4
	.align 4
.LC1:
	.long	1065353216
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.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, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_go.c_valid_go.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Learning Rate: %g, Momentum: %g, Decay: %g\012\000"
	.global	__aeabi_i2f
	.global	__aeabi_fdiv
	.global	__aeabi_f2d
	.align	2
.LC1:
	.ascii	"%d Accuracy %f\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	valid_go
	.syntax unified
	.arm
	.fpu softvfp
	.type	valid_go, %function
valid_go:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r4, r0
	mov	r6, r1
	sub	sp, sp, #52
	mov	r5, r3
	ldr	r3, .L16
	str	r2, [sp, #24]
	mov	r0, #0
	ldr	r3, [r3]
	str	r3, [sp, #44]
	mov	r3,#0
	bl	time
	bl	srand
	mov	r0, r4
	bl	basecfg
	bl	puts
	mov	r2, #0
	mov	r1, r6
	mov	r0, r4
	bl	load_network
	mov	fp, r0
	mov	r1, #1
	bl	set_batch_network
	ldmia	fp, {r2-r3}
	add	r1, fp, #16
	ldmia	r1, {r0-r1}
	str	r0, [sp, #8]
	str	r1, [sp, #12]
	add	r1, fp, #8
	ldmia	r1, {r0-r1}
	stm	sp, {r0-r1}
	ldr	r0, .L16+4
	bl	printf
	mov	r1, #4
	ldr	r0, .L16+8
	bl	calloc
	mov	r1, #4
	mov	r7, r0
	ldr	r0, .L16+12
	bl	calloc
	mov	r1, r5
	mov	r9, r0
	add	r0, sp, #36
	bl	load_go_moves
	ldr	r3, [sp, #36]
	cmp	r3, #0
	str	r3, [sp, #20]
	ble	.L1
	mov	r10, #0
	ldr	r8, [sp, #40]
	mov	r6, r10
	mov	r4, #1065353216
	sub	r8, r8, #4
	str	fp, [sp, #28]
	b	.L8
.L7:
	mov	r2, r9
	mov	r1, r7
	ldr	r3, [sp, #24]
	ldr	r0, [sp, #28]
	bl	predict_move2
	mov	r0, r9
	ldr	r1, .L16+16
	bl	max_index
	cmp	r5, r0
	addeq	r10, r10, #1
.L5:
	mov	r0, r10
	bl	__aeabi_i2f
	add	r5, r6, #1
	mov	fp, r0
	mov	r0, r5
	bl	__aeabi_i2f
	mov	r1, r0
	mov	r0, fp
	bl	__aeabi_fdiv
	bl	__aeabi_f2d
	mov	r3, r1
	mov	r2, r0
	mov	r1, r6
	ldr	r0, .L16+20
	bl	printf
	ldr	r3, [sp, #20]
	cmp	r5, r3
	beq	.L1
	mov	r6, r5
.L8:
	ldr	r0, [r8, #4]!
	mov	r1, r7
	ldrb	r3, [r0, #2]	@ zero_extendqisi2
	ldrb	r5, [r0, #3]	@ zero_extendqisi2
	ldrb	fp, [r0]	@ zero_extendqisi2
	add	r2, r3, r3, lsl #3
	add	r3, r3, r2, lsl #1
	add	r0, r0, #4
	add	r5, r3, r5
	bl	string_to_board
	cmp	fp, #48
	bls	.L7
	add	r3, r7, #2880
	add	r2, r7, #4288
	add	r3, r3, #4
	add	r2, r2, #40
.L6:
	str	r4, [r3, #4]!	@ float
	cmp	r2, r3
	bne	.L6
	b	.L7
.L1:
	ldr	r3, .L16
	ldr	r2, [r3]
	ldr	r3, [sp, #44]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L15
	add	sp, sp, #52
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L15:
	bl	__stack_chk_fail
.L17:
	.align	2
.L16:
	.word	.LC2
	.word	.LC0
	.word	1083
	.word	363
	.word	362
	.word	.LC1
	.size	valid_go, .-valid_go
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
