	.file	"69880.c"
	.intel_syntax noprefix
	.text
	.globl	tmp_student
	.bss
	.align 32
	.type	tmp_student, @object
	.size	tmp_student, 112
tmp_student:
	.zero	112
	.section	.rodata
.LC0:
	.string	"wb"
.LC1:
	.string	"stud"
.LC2:
	.string	"%s %s %f %f %f"
.LC4:
	.string	"rb"
	.text
	.globl	main
	.type	main, @function
main:
.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, 16
	lea	rsi, .LC0[rip]
	lea	rdi, .LC1[rip]
	call	fopen@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	DWORD PTR -12[rbp], 0
	jmp	.L2
.L3:
	lea	r9, tmp_student[rip+104]
	lea	r8, tmp_student[rip+100]
	lea	rcx, tmp_student[rip+96]
	lea	rdx, tmp_student[rip+64]
	lea	rsi, tmp_student[rip]
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	movss	xmm1, DWORD PTR tmp_student[rip+96]
	movss	xmm0, DWORD PTR tmp_student[rip+100]
	addss	xmm1, xmm0
	movss	xmm0, DWORD PTR tmp_student[rip+104]
	addss	xmm0, xmm1
	movss	xmm1, DWORD PTR .LC3[rip]
	divss	xmm0, xmm1
	movss	DWORD PTR tmp_student[rip+108], xmm0
	mov	rax, QWORD PTR -8[rbp]
	mov	rcx, rax
	mov	edx, 1
	mov	esi, 112
	lea	rdi, tmp_student[rip]
	call	fwrite@PLT
	add	DWORD PTR -12[rbp], 1
.L2:
	cmp	DWORD PTR -12[rbp], 4
	jle	.L3
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	fclose@PLT
	lea	rsi, .LC4[rip]
	lea	rdi, .LC1[rip]
	call	fopen@PLT
	mov	QWORD PTR -8[rbp], rax
	jmp	.L4
.L5:
	mov	rax, QWORD PTR -8[rbp]
	mov	rcx, rax
	mov	edx, 1
	mov	esi, 112
	lea	rdi, tmp_student[rip]
	call	fread@PLT
	movss	xmm0, DWORD PTR tmp_student[rip+104]
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, xmm0
	movss	xmm0, DWORD PTR tmp_student[rip+100]
	cvtss2sd	xmm0, xmm0
	movss	xmm2, DWORD PTR tmp_student[rip+96]
	pxor	xmm3, xmm3
	cvtss2sd	xmm3, xmm2
	movq	rax, xmm3
	movapd	xmm2, xmm1
	movapd	xmm1, xmm0
	movq	xmm0, rax
	lea	rdx, tmp_student[rip+64]
	lea	rsi, tmp_student[rip]
	lea	rdi, .LC2[rip]
	mov	eax, 3
	call	printf@PLT
.L4:
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	feof@PLT
	test	eax, eax
	je	.L5
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.section	.rodata
	.align 4
.LC3:
	.long	1077936128
	.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	"69880.c"
	.text
	.comm	tmp_student,112,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"wb\000"
	.align	2
.LC1:
	.ascii	"stud\000"
	.align	2
.LC2:
	.ascii	"%s %s %f %f %f\000"
	.global	__aeabi_fadd
	.global	__aeabi_fdiv
	.align	2
.LC3:
	.ascii	"rb\000"
	.global	__aeabi_f2d
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, fp, lr}
	add	fp, sp, #20
	sub	sp, sp, #32
	ldr	r1, .L7
	ldr	r0, .L7+4
	bl	fopen
	str	r0, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-28]
	b	.L2
.L3:
	ldr	r3, .L7+8
	str	r3, [sp, #4]
	ldr	r3, .L7+12
	str	r3, [sp]
	ldr	r3, .L7+16
	ldr	r2, .L7+20
	ldr	r1, .L7+24
	ldr	r0, .L7+28
	bl	__isoc99_scanf
	ldr	r3, .L7+24
	ldr	r3, [r3, #96]	@ float
	ldr	r2, .L7+24
	ldr	r2, [r2, #100]	@ float
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_fadd
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L7+24
	ldr	r3, [r3, #104]	@ float
	mov	r1, r3
	mov	r0, r2
	bl	__aeabi_fadd
	mov	r3, r0
	ldr	r1, .L7+32
	mov	r0, r3
	bl	__aeabi_fdiv
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L7+24
	str	r2, [r3, #108]	@ float
	ldr	r3, [fp, #-24]
	mov	r2, #1
	mov	r1, #112
	ldr	r0, .L7+24
	bl	fwrite
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L2:
	ldr	r3, [fp, #-28]
	cmp	r3, #4
	ble	.L3
	ldr	r0, [fp, #-24]
	bl	fclose
	ldr	r1, .L7+36
	ldr	r0, .L7+4
	bl	fopen
	str	r0, [fp, #-24]
	b	.L4
.L5:
	ldr	r3, [fp, #-24]
	mov	r2, #1
	mov	r1, #112
	ldr	r0, .L7+24
	bl	fread
	ldr	r3, .L7+24
	ldr	r3, [r3, #96]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r4, r0
	mov	r5, r1
	ldr	r3, .L7+24
	ldr	r3, [r3, #100]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r6, r0
	mov	r7, r1
	ldr	r3, .L7+24
	ldr	r3, [r3, #104]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	str	r2, [sp, #16]
	str	r3, [sp, #20]
	str	r6, [sp, #8]
	str	r7, [sp, #12]
	stm	sp, {r4-r5}
	ldr	r2, .L7+20
	ldr	r1, .L7+24
	ldr	r0, .L7+28
	bl	printf
.L4:
	ldr	r0, [fp, #-24]
	bl	feof
	mov	r3, r0
	cmp	r3, #0
	beq	.L5
	ldr	r0, [fp, #-24]
	bl	fclose
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, fp, pc}
.L8:
	.align	2
.L7:
	.word	.LC0
	.word	.LC1
	.word	tmp_student+104
	.word	tmp_student+100
	.word	tmp_student+96
	.word	tmp_student+64
	.word	tmp_student
	.word	.LC2
	.word	1077936128
	.word	.LC3
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
