	.file	"502168.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"\n"
	.text
	.globl	throw_error
	.type	throw_error, @function
throw_error:
.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	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rax
	mov	edi, 2
	call	write@PLT
	mov	edx, 1
	lea	rsi, .LC0[rip]
	mov	edi, 2
	call	write@PLT
	mov	edi, 1
	call	exit@PLT
	.cfi_endproc
.LFE6:
	.size	throw_error, .-throw_error
	.section	.rodata
	.align 8
.LC1:
	.string	"ERR! File could not be opened properly."
	.text
	.globl	open_file
	.type	open_file, @function
open_file:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR -24[rbp]
	mov	esi, 0
	mov	rdi, rax
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], -1
	jne	.L3
	lea	rdi, .LC1[rip]
	call	throw_error
.L3:
	mov	eax, DWORD PTR -4[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	open_file, .-open_file
	.section	.rodata
.LC2:
	.string	"ERR! Could not seek in file."
	.text
	.globl	get_file_length
	.type	get_file_length, @function
get_file_length:
.LFB8:
	.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 -20[rbp], edi
	mov	eax, DWORD PTR -20[rbp]
	mov	edx, 2
	mov	esi, 0
	mov	edi, eax
	call	lseek@PLT
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], -1
	jne	.L6
	lea	rdi, .LC2[rip]
	call	throw_error
.L6:
	mov	eax, DWORD PTR -20[rbp]
	mov	edx, 0
	mov	esi, 0
	mov	edi, eax
	call	lseek@PLT
	cmp	eax, -1
	jne	.L7
	lea	rdi, .LC2[rip]
	call	throw_error
.L7:
	mov	eax, DWORD PTR -4[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	get_file_length, .-get_file_length
	.section	.rodata
.LC3:
	.string	"ERR! Could not read file."
	.text
	.globl	read_file
	.type	read_file, @function
read_file:
.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 -20[rbp], edi
	mov	DWORD PTR -24[rbp], esi
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	mov	esi, 1
	mov	rdi, rax
	call	calloc@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	eax, DWORD PTR -24[rbp]
	movsx	rdx, eax
	mov	rcx, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR -20[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	cmp	rax, -1
	jne	.L10
	lea	rdi, .LC3[rip]
	call	throw_error
.L10:
	mov	rax, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	read_file, .-read_file
	.section	.rodata
.LC4:
	.string	"ERR! Could not close file."
	.text
	.globl	close_file
	.type	close_file, @function
close_file:
.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, 16
	mov	DWORD PTR -4[rbp], edi
	mov	QWORD PTR -16[rbp], rsi
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	eax, DWORD PTR -4[rbp]
	mov	edi, eax
	call	close@PLT
	cmp	eax, -1
	jne	.L14
	lea	rdi, .LC4[rip]
	call	throw_error
.L14:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	close_file, .-close_file
	.section	.rodata
.LC5:
	.string	" "
.LC6:
	.string	"%d: %f\n"
	.align 8
.LC7:
	.string	"ERR! Could not write to specified stream"
	.text
	.globl	parse_line
	.type	parse_line, @function
parse_line:
.LFB11:
	.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	QWORD PTR -72[rbp], rdi
	mov	eax, esi
	mov	BYTE PTR -76[rbp], al
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -56[rbp], 0
	mov	DWORD PTR -52[rbp], 0
	lea	rax, .LC5[rip]
	mov	QWORD PTR -32[rbp], rax
	lea	rdx, -40[rbp]
	mov	rcx, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -72[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	strtok_r@PLT
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR -48[rbp], eax
	lea	rdx, -40[rbp]
	mov	rax, QWORD PTR -32[rbp]
	mov	rsi, rax
	mov	edi, 0
	call	strtok_r@PLT
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR -57[rbp], al
	movzx	eax, BYTE PTR -57[rbp]
	cmp	al, BYTE PTR -76[rbp]
	jne	.L22
	jmp	.L18
.L19:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	atoi@PLT
	add	DWORD PTR -56[rbp], eax
	add	DWORD PTR -52[rbp], 1
.L18:
	lea	rdx, -40[rbp]
	mov	rax, QWORD PTR -32[rbp]
	mov	rsi, rax
	mov	edi, 0
	call	strtok_r@PLT
	mov	QWORD PTR -24[rbp], rax
	cmp	QWORD PTR -24[rbp], 0
	jne	.L19
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, DWORD PTR -56[rbp]
	pxor	xmm1, xmm1
	cvtsi2ss	xmm1, DWORD PTR -52[rbp]
	divss	xmm0, xmm1
	movss	DWORD PTR -44[rbp], xmm0
	mov	esi, 1
	mov	edi, 20
	call	calloc@PLT
	mov	QWORD PTR -16[rbp], rax
	pxor	xmm2, xmm2
	cvtss2sd	xmm2, DWORD PTR -44[rbp]
	movq	rcx, xmm2
	mov	edx, DWORD PTR -48[rbp]
	mov	rax, QWORD PTR -16[rbp]
	movq	xmm0, rcx
	mov	ecx, edx
	lea	rdx, .LC6[rip]
	mov	esi, 20
	mov	rdi, rax
	mov	eax, 1
	call	snprintf@PLT
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -16[rbp]
	mov	rsi, rax
	mov	edi, 1
	call	write@PLT
	cmp	rax, -1
	jne	.L20
	lea	rdi, .LC7[rip]
	call	throw_error
.L20:
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	free@PLT
	jmp	.L15
.L22:
	nop
.L15:
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L21
	call	__stack_chk_fail@PLT
.L21:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	parse_line, .-parse_line
	.globl	parse_file
	.type	parse_file, @function
parse_file:
.LFB12:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 64
	mov	QWORD PTR -56[rbp], rdi
	mov	eax, esi
	mov	BYTE PTR -60[rbp], al
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, .LC0[rip]
	mov	QWORD PTR -16[rbp], rax
	lea	rdx, -32[rbp]
	mov	rcx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -56[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	strtok_r@PLT
	mov	QWORD PTR -24[rbp], rax
	mov	DWORD PTR -36[rbp], 1
.L26:
	cmp	DWORD PTR -36[rbp], 0
	je	.L24
	mov	DWORD PTR -36[rbp], 0
	jmp	.L25
.L24:
	movsx	edx, BYTE PTR -60[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	parse_line
.L25:
	lea	rdx, -32[rbp]
	mov	rax, QWORD PTR -16[rbp]
	mov	rsi, rax
	mov	edi, 0
	call	strtok_r@PLT
	mov	QWORD PTR -24[rbp], rax
	cmp	QWORD PTR -24[rbp], 0
	jne	.L26
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L27
	call	__stack_chk_fail@PLT
.L27:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	parse_file, .-parse_file
	.section	.rodata
.LC8:
	.string	"marks.csv"
.LC9:
	.string	"Section A:\n"
.LC10:
	.string	"ERR! Could not fork parent."
.LC11:
	.string	"\n\nSection B:\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB13:
	.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	DWORD PTR -68[rbp], edi
	mov	QWORD PTR -80[rbp], rsi
	call	fork@PLT
	mov	DWORD PTR -52[rbp], eax
	cmp	DWORD PTR -52[rbp], -1
	je	.L29
	cmp	DWORD PTR -52[rbp], 0
	jne	.L30
	lea	rdi, .LC8[rip]
	call	open_file
	mov	DWORD PTR -48[rbp], eax
	mov	eax, DWORD PTR -48[rbp]
	mov	edi, eax
	call	get_file_length
	mov	DWORD PTR -44[rbp], eax
	mov	edx, DWORD PTR -44[rbp]
	mov	eax, DWORD PTR -48[rbp]
	mov	esi, edx
	mov	edi, eax
	call	read_file
	mov	QWORD PTR -32[rbp], rax
	lea	rax, .LC9[rip]
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rax
	mov	edi, 1
	call	write@PLT
	cmp	rax, -1
	jne	.L31
	lea	rdi, .LC7[rip]
	call	throw_error
.L31:
	mov	rax, QWORD PTR -32[rbp]
	mov	esi, 65
	mov	rdi, rax
	call	parse_file
	mov	rdx, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR -48[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	close_file
	mov	edi, 0
	call	_exit@PLT
.L29:
	lea	rdi, .LC10[rip]
	call	throw_error
.L30:
	mov	eax, DWORD PTR -52[rbp]
	mov	edx, 0
	mov	esi, 0
	mov	edi, eax
	call	waitpid@PLT
	lea	rdi, .LC8[rip]
	call	open_file
	mov	DWORD PTR -40[rbp], eax
	mov	eax, DWORD PTR -40[rbp]
	mov	edi, eax
	call	get_file_length
	mov	DWORD PTR -36[rbp], eax
	mov	edx, DWORD PTR -36[rbp]
	mov	eax, DWORD PTR -40[rbp]
	mov	esi, edx
	mov	edi, eax
	call	read_file
	mov	QWORD PTR -16[rbp], rax
	lea	rax, .LC11[rip]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rax
	mov	edi, 1
	call	write@PLT
	cmp	rax, -1
	jne	.L32
	lea	rdi, .LC7[rip]
	call	throw_error
.L32:
	mov	rax, QWORD PTR -16[rbp]
	mov	esi, 66
	mov	rdi, rax
	call	parse_file
	mov	rdx, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR -40[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	close_file
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	main, .-main
	.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	"502168.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"\012\000"
	.text
	.align	2
	.global	throw_error
	.syntax unified
	.arm
	.fpu softvfp
	.type	throw_error, %function
throw_error:
	@ 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]
	ldr	r0, [fp, #-8]
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	ldr	r1, [fp, #-8]
	mov	r0, #2
	bl	write
	mov	r2, #1
	ldr	r1, .L2
	mov	r0, #2
	bl	write
	mov	r0, #1
	bl	exit
.L3:
	.align	2
.L2:
	.word	.LC0
	.size	throw_error, .-throw_error
	.section	.rodata
	.align	2
.LC1:
	.ascii	"ERR! File could not be opened properly.\000"
	.text
	.align	2
	.global	open_file
	.syntax unified
	.arm
	.fpu softvfp
	.type	open_file, %function
open_file:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	mov	r1, #0
	ldr	r0, [fp, #-16]
	bl	open
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmn	r3, #1
	bne	.L5
	ldr	r0, .L7
	bl	throw_error
.L5:
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L8:
	.align	2
.L7:
	.word	.LC1
	.size	open_file, .-open_file
	.section	.rodata
	.align	2
.LC2:
	.ascii	"ERR! Could not seek in file.\000"
	.text
	.align	2
	.global	get_file_length
	.syntax unified
	.arm
	.fpu softvfp
	.type	get_file_length, %function
get_file_length:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	mov	r2, #2
	mov	r1, #0
	ldr	r0, [fp, #-16]
	bl	lseek
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmn	r3, #1
	bne	.L10
	ldr	r0, .L13
	bl	throw_error
.L10:
	mov	r2, #0
	mov	r1, #0
	ldr	r0, [fp, #-16]
	bl	lseek
	mov	r3, r0
	cmn	r3, #1
	bne	.L11
	ldr	r0, .L13
	bl	throw_error
.L11:
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L14:
	.align	2
.L13:
	.word	.LC2
	.size	get_file_length, .-get_file_length
	.section	.rodata
	.align	2
.LC3:
	.ascii	"ERR! Could not read file.\000"
	.text
	.align	2
	.global	read_file
	.syntax unified
	.arm
	.fpu softvfp
	.type	read_file, %function
read_file:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	ldr	r3, [fp, #-20]
	mov	r1, #1
	mov	r0, r3
	bl	calloc
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-20]
	mov	r2, r3
	ldr	r1, [fp, #-8]
	ldr	r0, [fp, #-16]
	bl	read
	mov	r3, r0
	cmn	r3, #1
	bne	.L16
	ldr	r0, .L18
	bl	throw_error
.L16:
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L19:
	.align	2
.L18:
	.word	.LC3
	.size	read_file, .-read_file
	.section	.rodata
	.align	2
.LC4:
	.ascii	"ERR! Could not close file.\000"
	.text
	.align	2
	.global	close_file
	.syntax unified
	.arm
	.fpu softvfp
	.type	close_file, %function
close_file:
	@ 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	r0, [fp, #-12]
	bl	free
	ldr	r0, [fp, #-8]
	bl	close
	mov	r3, r0
	cmn	r3, #1
	bne	.L22
	ldr	r0, .L23
	bl	throw_error
.L22:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L24:
	.align	2
.L23:
	.word	.LC4
	.size	close_file, .-close_file
	.section	.rodata
	.align	2
.LC5:
	.ascii	" \000"
	.global	__aeabi_i2f
	.global	__aeabi_fdiv
	.global	__aeabi_f2d
	.align	2
.LC6:
	.ascii	"%d: %f\012\000"
	.align	2
.LC7:
	.ascii	"ERR! Could not write to specified stream\000"
	.align	2
.LC8:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	parse_line
	.syntax unified
	.arm
	.fpu softvfp
	.type	parse_line, %function
parse_line:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #60
	str	r0, [fp, #-56]
	mov	r3, r1
	strb	r3, [fp, #-57]
	ldr	r3, .L33
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-44]
	mov	r3, #0
	str	r3, [fp, #-40]
	ldr	r3, .L33+4
	str	r3, [fp, #-36]
	sub	r3, fp, #48
	mov	r2, r3
	ldr	r1, [fp, #-36]
	ldr	r0, [fp, #-56]
	bl	strtok_r
	str	r0, [fp, #-32]
	ldr	r0, [fp, #-32]
	bl	atoi
	str	r0, [fp, #-28]
	sub	r3, fp, #48
	mov	r2, r3
	ldr	r1, [fp, #-36]
	mov	r0, #0
	bl	strtok_r
	str	r0, [fp, #-32]
	ldr	r3, [fp, #-32]
	ldrb	r3, [r3]
	strb	r3, [fp, #-49]
	ldrb	r2, [fp, #-49]	@ zero_extendqisi2
	ldrb	r3, [fp, #-57]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L32
	b	.L28
.L29:
	ldr	r0, [fp, #-32]
	bl	atoi
	mov	r2, r0
	ldr	r3, [fp, #-44]
	add	r3, r3, r2
	str	r3, [fp, #-44]
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
.L28:
	sub	r3, fp, #48
	mov	r2, r3
	ldr	r1, [fp, #-36]
	mov	r0, #0
	bl	strtok_r
	str	r0, [fp, #-32]
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	bne	.L29
	ldr	r0, [fp, #-44]
	bl	__aeabi_i2f
	mov	r4, r0
	ldr	r0, [fp, #-40]
	bl	__aeabi_i2f
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	__aeabi_fdiv
	mov	r3, r0
	str	r3, [fp, #-24]	@ float
	mov	r1, #1
	mov	r0, #20
	bl	calloc
	mov	r3, r0
	str	r3, [fp, #-20]
	ldr	r0, [fp, #-24]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	stm	sp, {r2-r3}
	ldr	r3, [fp, #-28]
	ldr	r2, .L33+8
	mov	r1, #20
	ldr	r0, [fp, #-20]
	bl	snprintf
	ldr	r0, [fp, #-20]
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	ldr	r1, [fp, #-20]
	mov	r0, #1
	bl	write
	mov	r3, r0
	cmn	r3, #1
	bne	.L30
	ldr	r0, .L33+12
	bl	throw_error
.L30:
	ldr	r0, [fp, #-20]
	bl	free
	b	.L25
.L32:
	nop
.L25:
	ldr	r3, .L33
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L31
	bl	__stack_chk_fail
.L31:
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L34:
	.align	2
.L33:
	.word	.LC8
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.size	parse_line, .-parse_line
	.section	.rodata
	.align	2
.LC9:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	parse_file
	.syntax unified
	.arm
	.fpu softvfp
	.type	parse_file, %function
parse_file:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-32]
	mov	r3, r1
	strb	r3, [fp, #-33]
	ldr	r3, .L40
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L40+4
	str	r3, [fp, #-12]
	sub	r3, fp, #24
	mov	r2, r3
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-32]
	bl	strtok_r
	str	r0, [fp, #-20]
	mov	r3, #1
	str	r3, [fp, #-16]
.L38:
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	beq	.L36
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L37
.L36:
	ldrb	r3, [fp, #-33]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, [fp, #-20]
	bl	parse_line
.L37:
	sub	r3, fp, #24
	mov	r2, r3
	ldr	r1, [fp, #-12]
	mov	r0, #0
	bl	strtok_r
	str	r0, [fp, #-20]
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bne	.L38
	nop
	ldr	r3, .L40
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L39
	bl	__stack_chk_fail
.L39:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L41:
	.align	2
.L40:
	.word	.LC9
	.word	.LC0
	.size	parse_file, .-parse_file
	.section	.rodata
	.align	2
.LC10:
	.ascii	"marks.csv\000"
	.align	2
.LC11:
	.ascii	"Section A:\012\000"
	.align	2
.LC12:
	.ascii	"ERR! Could not fork parent.\000"
	.align	2
.LC13:
	.ascii	"\012\012Section B:\012\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #48
	str	r0, [fp, #-48]
	str	r1, [fp, #-52]
	bl	fork
	mov	r3, r0
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-40]
	cmn	r3, #1
	beq	.L43
	ldr	r3, [fp, #-40]
	cmp	r3, #0
	bne	.L44
	ldr	r0, .L48
	bl	open_file
	str	r0, [fp, #-36]
	ldr	r0, [fp, #-36]
	bl	get_file_length
	str	r0, [fp, #-32]
	ldr	r1, [fp, #-32]
	ldr	r0, [fp, #-36]
	bl	read_file
	str	r0, [fp, #-28]
	ldr	r3, .L48+4
	str	r3, [fp, #-24]
	ldr	r0, [fp, #-24]
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	ldr	r1, [fp, #-24]
	mov	r0, #1
	bl	write
	mov	r3, r0
	cmn	r3, #1
	bne	.L45
	ldr	r0, .L48+8
	bl	throw_error
.L45:
	mov	r1, #65
	ldr	r0, [fp, #-28]
	bl	parse_file
	ldr	r1, [fp, #-28]
	ldr	r0, [fp, #-36]
	bl	close_file
	mov	r0, #0
	bl	_exit
.L43:
	ldr	r0, .L48+12
	bl	throw_error
.L44:
	mov	r2, #0
	mov	r1, #0
	ldr	r0, [fp, #-40]
	bl	waitpid
	ldr	r0, .L48
	bl	open_file
	str	r0, [fp, #-20]
	ldr	r0, [fp, #-20]
	bl	get_file_length
	str	r0, [fp, #-16]
	ldr	r1, [fp, #-16]
	ldr	r0, [fp, #-20]
	bl	read_file
	str	r0, [fp, #-12]
	ldr	r3, .L48+16
	str	r3, [fp, #-8]
	ldr	r0, [fp, #-8]
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	ldr	r1, [fp, #-8]
	mov	r0, #1
	bl	write
	mov	r3, r0
	cmn	r3, #1
	bne	.L46
	ldr	r0, .L48+8
	bl	throw_error
.L46:
	mov	r1, #66
	ldr	r0, [fp, #-12]
	bl	parse_file
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-20]
	bl	close_file
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L49:
	.align	2
.L48:
	.word	.LC10
	.word	.LC11
	.word	.LC7
	.word	.LC12
	.word	.LC13
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
