	.file	"213569.c"
	.intel_syntax noprefix
	.text
	.globl	d
	.data
	.align 8
	.type	d, @object
	.size	d, 8
d:
	.long	0
	.long	1072693248
	.local	tick
	.comm	tick,8,8
	.globl	fo
	.bss
	.align 8
	.type	fo, @object
	.size	fo, 8
fo:
	.zero	8
	.text
	.globl	readInput
	.type	readInput, @function
readInput:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	readInput, .-readInput
	.section	.rodata
.LC0:
	.string	"w"
.LC1:
	.string	"train_control.csv"
.LC2:
	.string	"%ld,%f,%f\n"
.LC3:
	.string	"Finished"
	.text
	.globl	writeOutput
	.type	writeOutput, @function
writeOutput:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	movzx	eax, BYTE PTR count.0[rip]
	test	al, al
	jne	.L3
	lea	rsi, .LC0[rip]
	lea	rdi, .LC1[rip]
	call	fopen@PLT
	mov	QWORD PTR fo[rip], rax
	mov	rax, QWORD PTR fo[rip]
	test	rax, rax
	jne	.L4
	lea	rdi, .LC1[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L4:
	movzx	eax, BYTE PTR count.0[rip]
	add	eax, 1
	mov	BYTE PTR count.0[rip], al
.L3:
	movsd	xmm0, QWORD PTR v[rip]
	mov	rcx, QWORD PTR z[rip]
	mov	rax, QWORD PTR tick[rip]
	add	rax, 1
	mov	QWORD PTR tick[rip], rax
	mov	rdx, QWORD PTR tick[rip]
	mov	rax, QWORD PTR fo[rip]
	movapd	xmm1, xmm0
	movq	xmm0, rcx
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	mov	eax, 2
	call	fprintf@PLT
	mov	rax, QWORD PTR tick[rip]
	cmp	rax, 5000
	jne	.L6
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L6:
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	writeOutput, .-writeOutput
	.local	count.0
	.comm	count.0,1,1
	.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	"213569.c"
	.text
	.global	d
	.data
	.align	3
	.type	d, %object
	.size	d, 8
d:
	.word	0
	.word	1072693248
	.local	tick
	.comm	tick,4,4
	.global	fo
	.bss
	.align	2
	.type	fo, %object
	.size	fo, 4
fo:
	.space	4
	.text
	.align	2
	.global	readInput
	.syntax unified
	.arm
	.fpu softvfp
	.type	readInput, %function
readInput:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	readInput, .-readInput
	.section	.rodata
	.align	2
.LC0:
	.ascii	"w\000"
	.align	2
.LC1:
	.ascii	"train_control.csv\000"
	.align	2
.LC2:
	.ascii	"%ld,%f,%f\012\000"
	.align	2
.LC3:
	.ascii	"Finished\000"
	.text
	.align	2
	.global	writeOutput
	.syntax unified
	.arm
	.fpu softvfp
	.type	writeOutput, %function
writeOutput:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	ldr	r3, .L7
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L3
	ldr	r1, .L7+4
	ldr	r0, .L7+8
	bl	fopen
	mov	r3, r0
	ldr	r2, .L7+12
	str	r3, [r2]
	ldr	r3, .L7+12
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L4
	ldr	r0, .L7+8
	bl	perror
	mov	r0, #1
	bl	exit
.L4:
	ldr	r3, .L7
	ldrb	r3, [r3]	@ zero_extendqisi2
	add	r3, r3, #1
	and	r2, r3, #255
	ldr	r3, .L7
	strb	r2, [r3]
.L3:
	ldr	r3, .L7+12
	ldr	ip, [r3]
	ldr	r3, .L7+16
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L7+16
	str	r3, [r2]
	ldr	r3, .L7+16
	ldr	lr, [r3]
	ldr	r3, .L7+20
	ldmia	r3, {r2-r3}
	ldr	r1, .L7+24
	ldmia	r1, {r0-r1}
	str	r0, [sp, #8]
	str	r1, [sp, #12]
	stm	sp, {r2-r3}
	mov	r2, lr
	ldr	r1, .L7+28
	mov	r0, ip
	bl	fprintf
	ldr	r3, .L7+16
	ldr	r3, [r3]
	ldr	r2, .L7+32
	cmp	r3, r2
	bne	.L6
	ldr	r0, .L7+36
	bl	printf
	mov	r0, #1
	bl	exit
.L6:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L8:
	.align	2
.L7:
	.word	count.5318
	.word	.LC0
	.word	.LC1
	.word	fo
	.word	tick
	.word	z
	.word	v
	.word	.LC2
	.word	5000
	.word	.LC3
	.size	writeOutput, .-writeOutput
	.local	count.5318
	.comm	count.5318,1,1
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
