	.file	"232955669.c"
	.intel_syntax noprefix
	.text
	.globl	subject
	.section	.rodata
.LC0:
	.string	"Rel"
.LC1:
	.string	"Pol"
.LC2:
	.string	"Eng"
.LC3:
	.string	"Ger"
.LC4:
	.string	"Fre"
.LC5:
	.string	"His"
.LC6:
	.string	"CSt"
.LC7:
	.string	"Mat"
.LC8:
	.string	"Phy"
.LC9:
	.string	"Che"
.LC10:
	.string	"Bio"
.LC11:
	.string	"Geo"
.LC12:
	.string	"ITe"
.LC13:
	.string	"SEd"
.LC14:
	.string	"PEd"
.LC15:
	.string	"CKn"
.LC16:
	.string	"BBa"
	.section	.data.rel.local,"aw"
	.align 32
	.type	subject, @object
	.size	subject, 136
subject:
	.quad	.LC0
	.quad	.LC1
	.quad	.LC2
	.quad	.LC3
	.quad	.LC4
	.quad	.LC5
	.quad	.LC6
	.quad	.LC7
	.quad	.LC8
	.quad	.LC9
	.quad	.LC10
	.quad	.LC11
	.quad	.LC12
	.quad	.LC13
	.quad	.LC14
	.quad	.LC15
	.quad	.LC16
	.text
	.globl	handle_sigle_data
	.type	handle_sigle_data, @function
handle_sigle_data:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	rdx, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR -32[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 42
	mov	rdi, rax
	call	fread@PLT
	mov	rax, QWORD PTR -32[rbp]
	mov	BYTE PTR 24[rax], 0
	mov	DWORD PTR -4[rbp], 0
	jmp	.L2
.L10:
	mov	rdx, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	movzx	eax, BYTE PTR [rdx+rax]
	cmp	al, -120
	jne	.L3
	mov	rdx, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	mov	BYTE PTR [rdx+rax], 108
.L3:
	mov	rdx, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	movzx	eax, BYTE PTR [rdx+rax]
	cmp	al, -28
	jne	.L4
	mov	rdx, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	mov	BYTE PTR [rdx+rax], 110
.L4:
	mov	rdx, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	movzx	eax, BYTE PTR [rdx+rax]
	cmp	al, -94
	jne	.L5
	mov	rdx, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	mov	BYTE PTR [rdx+rax], 111
.L5:
	mov	rdx, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	movzx	eax, BYTE PTR [rdx+rax]
	cmp	al, -99
	jne	.L6
	mov	rdx, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	mov	BYTE PTR [rdx+rax], 76
.L6:
	mov	rdx, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	movzx	eax, BYTE PTR [rdx+rax]
	cmp	al, -91
	jne	.L7
	mov	rdx, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	mov	BYTE PTR [rdx+rax], 97
.L7:
	mov	rdx, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	movzx	eax, BYTE PTR [rdx+rax]
	cmp	al, -105
	jne	.L8
	mov	rdx, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	mov	BYTE PTR [rdx+rax], 83
.L8:
	mov	rdx, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	movzx	eax, BYTE PTR [rdx+rax]
	cmp	al, -85
	jne	.L9
	mov	rdx, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	mov	BYTE PTR [rdx+rax], 122
.L9:
	add	DWORD PTR -4[rbp], 1
.L2:
	cmp	DWORD PTR -4[rbp], 23
	jle	.L10
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	handle_sigle_data, .-handle_sigle_data
	.section	.rodata
	.align 8
.LC17:
	.string	"+-----+-------------------------+"
.LC18:
	.string	"-----+"
.LC19:
	.string	"---------+"
	.text
	.globl	print_vertical_separator
	.type	print_vertical_separator, @function
print_vertical_separator:
.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, 16
	lea	rdi, .LC17[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -4[rbp], 0
	jmp	.L12
.L13:
	lea	rdi, .LC18[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -4[rbp], 1
.L12:
	cmp	DWORD PTR -4[rbp], 16
	jle	.L13
	lea	rdi, .LC19[rip]
	call	puts@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	print_vertical_separator, .-print_vertical_separator
	.section	.rodata
.LC20:
	.string	"rb"
.LC21:
	.string	"k1e.dat"
	.align 8
.LC22:
	.string	"| Num | Name and Surname        |"
.LC23:
	.string	" %s |"
.LC24:
	.string	" Average |"
.LC25:
	.string	"| %-3d | %s|"
.LC27:
	.string	"  %-2d |"
.LC29:
	.string	"  %-2.2f   |"
	.text
	.globl	main
	.type	main, @function
main:
.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, 96
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rsi, .LC20[rip]
	lea	rdi, .LC21[rip]
	call	fopen@PLT
	mov	QWORD PTR -72[rbp], rax
	mov	eax, 0
	call	print_vertical_separator
	lea	rdi, .LC22[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -92[rbp], 0
	jmp	.L15
.L16:
	mov	eax, DWORD PTR -92[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, subject[rip]
	mov	rax, QWORD PTR [rdx+rax]
	mov	rsi, rax
	lea	rdi, .LC23[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -92[rbp], 1
.L15:
	cmp	DWORD PTR -92[rbp], 16
	jle	.L16
	lea	rdi, .LC24[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 10
	call	putchar@PLT
	mov	eax, 0
	call	print_vertical_separator
	mov	DWORD PTR -88[rbp], 0
	jmp	.L17
.L20:
	lea	rdx, -64[rbp]
	mov	rax, QWORD PTR -72[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	handle_sigle_data
	mov	eax, DWORD PTR -88[rbp]
	lea	ecx, 1[rax]
	lea	rax, -64[rbp]
	mov	rdx, rax
	mov	esi, ecx
	lea	rdi, .LC25[rip]
	mov	eax, 0
	call	printf@PLT
	pxor	xmm0, xmm0
	movsd	QWORD PTR -80[rbp], xmm0
	mov	DWORD PTR -84[rbp], 0
	jmp	.L18
.L19:
	mov	eax, DWORD PTR -84[rbp]
	cdqe
	movzx	eax, BYTE PTR -39[rbp+rax]
	movsx	eax, al
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	movsd	xmm1, QWORD PTR -80[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -80[rbp], xmm0
	mov	eax, DWORD PTR -84[rbp]
	cdqe
	movzx	eax, BYTE PTR -39[rbp+rax]
	movsx	eax, al
	mov	esi, eax
	lea	rdi, .LC27[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -84[rbp], 1
.L18:
	cmp	DWORD PTR -84[rbp], 16
	jle	.L19
	movsd	xmm0, QWORD PTR -80[rbp]
	movsd	xmm1, QWORD PTR .LC28[rip]
	divsd	xmm0, xmm1
	movq	rax, xmm0
	movq	xmm0, rax
	lea	rdi, .LC29[rip]
	mov	eax, 1
	call	printf@PLT
	mov	edi, 10
	call	putchar@PLT
	add	DWORD PTR -88[rbp], 1
.L17:
	cmp	DWORD PTR -88[rbp], 30
	jle	.L20
	mov	eax, 0
	call	print_vertical_separator
	mov	rax, QWORD PTR -72[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L22
	call	__stack_chk_fail@PLT
.L22:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC28:
	.long	0
	.long	1076953088
	.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	"232955669.c"
	.text
	.global	subject
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Rel\000"
	.align	2
.LC1:
	.ascii	"Pol\000"
	.align	2
.LC2:
	.ascii	"Eng\000"
	.align	2
.LC3:
	.ascii	"Ger\000"
	.align	2
.LC4:
	.ascii	"Fre\000"
	.align	2
.LC5:
	.ascii	"His\000"
	.align	2
.LC6:
	.ascii	"CSt\000"
	.align	2
.LC7:
	.ascii	"Mat\000"
	.align	2
.LC8:
	.ascii	"Phy\000"
	.align	2
.LC9:
	.ascii	"Che\000"
	.align	2
.LC10:
	.ascii	"Bio\000"
	.align	2
.LC11:
	.ascii	"Geo\000"
	.align	2
.LC12:
	.ascii	"ITe\000"
	.align	2
.LC13:
	.ascii	"SEd\000"
	.align	2
.LC14:
	.ascii	"PEd\000"
	.align	2
.LC15:
	.ascii	"CKn\000"
	.align	2
.LC16:
	.ascii	"BBa\000"
	.data
	.align	2
	.type	subject, %object
	.size	subject, 68
subject:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.text
	.align	2
	.global	handle_sigle_data
	.syntax unified
	.arm
	.fpu softvfp
	.type	handle_sigle_data, %function
handle_sigle_data:
	@ 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, #-16]
	mov	r2, #1
	mov	r1, #42
	ldr	r0, [fp, #-20]
	bl	fread
	ldr	r3, [fp, #-20]
	mov	r2, #0
	strb	r2, [r3, #24]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L2
.L3:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L2:
	ldr	r3, [fp, #-8]
	cmp	r3, #23
	ble	.L3
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	handle_sigle_data, .-handle_sigle_data
	.section	.rodata
	.align	2
.LC17:
	.ascii	"+-----+-------------------------+\000"
	.align	2
.LC18:
	.ascii	"-----+\000"
	.align	2
.LC19:
	.ascii	"---------+\000"
	.text
	.align	2
	.global	print_vertical_separator
	.syntax unified
	.arm
	.fpu softvfp
	.type	print_vertical_separator, %function
print_vertical_separator:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	ldr	r0, .L7
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L5
.L6:
	ldr	r0, .L7+4
	bl	printf
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L5:
	ldr	r3, [fp, #-8]
	cmp	r3, #16
	ble	.L6
	ldr	r0, .L7+8
	bl	puts
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L8:
	.align	2
.L7:
	.word	.LC17
	.word	.LC18
	.word	.LC19
	.size	print_vertical_separator, .-print_vertical_separator
	.section	.rodata
	.align	2
.LC20:
	.ascii	"rb\000"
	.align	2
.LC21:
	.ascii	"k1e.dat\000"
	.align	2
.LC22:
	.ascii	"| Num | Name and Surname        |\000"
	.align	2
.LC23:
	.ascii	" %s |\000"
	.align	2
.LC24:
	.ascii	" Average |\000"
	.align	2
.LC25:
	.ascii	"| %-3d | %s|\000"
	.global	__aeabi_i2d
	.global	__aeabi_dadd
	.align	2
.LC26:
	.ascii	"  %-2d |\000"
	.global	__aeabi_ddiv
	.align	2
.LC27:
	.ascii	"  %-2.2f   |\000"
	.align	2
.LC28:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 72
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #72
	ldr	r3, .L18
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r1, .L18+4
	ldr	r0, .L18+8
	bl	fopen
	str	r0, [fp, #-64]
	bl	print_vertical_separator
	ldr	r0, .L18+12
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-76]
	b	.L10
.L11:
	ldr	r2, .L18+16
	ldr	r3, [fp, #-76]
	ldr	r3, [r2, r3, lsl #2]
	mov	r1, r3
	ldr	r0, .L18+20
	bl	printf
	ldr	r3, [fp, #-76]
	add	r3, r3, #1
	str	r3, [fp, #-76]
.L10:
	ldr	r3, [fp, #-76]
	cmp	r3, #16
	ble	.L11
	ldr	r0, .L18+24
	bl	printf
	mov	r0, #10
	bl	putchar
	bl	print_vertical_separator
	mov	r3, #0
	str	r3, [fp, #-72]
	b	.L12
.L15:
	sub	r3, fp, #52
	mov	r1, r3
	ldr	r0, [fp, #-64]
	bl	handle_sigle_data
	ldr	r3, [fp, #-72]
	add	r3, r3, #1
	sub	r2, fp, #52
	mov	r1, r3
	ldr	r0, .L18+28
	bl	printf
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-60]
	str	r3, [fp, #-56]
	mov	r3, #0
	str	r3, [fp, #-68]
	b	.L13
.L14:
	sub	r2, fp, #27
	ldr	r3, [fp, #-68]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-60]
	str	r3, [fp, #-56]
	sub	r2, fp, #27
	ldr	r3, [fp, #-68]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, .L18+32
	bl	printf
	ldr	r3, [fp, #-68]
	add	r3, r3, #1
	str	r3, [fp, #-68]
.L13:
	ldr	r3, [fp, #-68]
	cmp	r3, #16
	ble	.L14
	mov	r2, #0
	ldr	r3, .L18+36
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L18+40
	bl	printf
	mov	r0, #10
	bl	putchar
	ldr	r3, [fp, #-72]
	add	r3, r3, #1
	str	r3, [fp, #-72]
.L12:
	ldr	r3, [fp, #-72]
	cmp	r3, #30
	ble	.L15
	bl	print_vertical_separator
	ldr	r0, [fp, #-64]
	bl	fclose
	mov	r3, #0
	ldr	r2, .L18
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L17
	bl	__stack_chk_fail
.L17:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L19:
	.align	2
.L18:
	.word	.LC28
	.word	.LC20
	.word	.LC21
	.word	.LC22
	.word	subject
	.word	.LC23
	.word	.LC24
	.word	.LC25
	.word	.LC26
	.word	1076953088
	.word	.LC27
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
