	.file	"601667.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC1:
	.string	"Input Mark %d : "
.LC2:
	.string	"%f"
.LC4:
	.string	"\n:: Invalid marks :: "
	.align 8
.LC5:
	.string	"\n__________________________________"
.LC6:
	.string	"Marks"
.LC7:
	.string	"Student"
.LC8:
	.string	"%s%10s\n"
.LC9:
	.string	"Student %d%8.2f\n"
.LC11:
	.string	"\n Mean of the marks %.2f"
	.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, 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	pxor	xmm0, xmm0
	movss	DWORD PTR -56[rbp], xmm0
	mov	DWORD PTR -60[rbp], 0
	jmp	.L2
.L7:
	mov	eax, DWORD PTR -60[rbp]
	add	eax, 1
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -64[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	movss	xmm0, DWORD PTR -64[rbp]
	pxor	xmm1, xmm1
	comiss	xmm0, xmm1
	jb	.L3
	movss	xmm1, DWORD PTR -64[rbp]
	movss	xmm0, DWORD PTR .LC3[rip]
	comiss	xmm0, xmm1
	jb	.L3
	movss	xmm0, DWORD PTR -64[rbp]
	mov	eax, DWORD PTR -60[rbp]
	cdqe
	movss	DWORD PTR -48[rbp+rax*4], xmm0
	jmp	.L6
.L3:
	lea	rdi, .LC4[rip]
	call	puts@PLT
	sub	DWORD PTR -60[rbp], 1
.L6:
	add	DWORD PTR -60[rbp], 1
.L2:
	cmp	DWORD PTR -60[rbp], 9
	jle	.L7
	lea	rdi, .LC5[rip]
	call	puts@PLT
	lea	rdx, .LC6[rip]
	lea	rsi, .LC7[rip]
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -60[rbp], 0
	jmp	.L8
.L9:
	mov	eax, DWORD PTR -60[rbp]
	cdqe
	movss	xmm0, DWORD PTR -48[rbp+rax*4]
	pxor	xmm2, xmm2
	cvtss2sd	xmm2, xmm0
	movq	rax, xmm2
	mov	edx, DWORD PTR -60[rbp]
	add	edx, 1
	movq	xmm0, rax
	mov	esi, edx
	lea	rdi, .LC9[rip]
	mov	eax, 1
	call	printf@PLT
	add	DWORD PTR -60[rbp], 1
.L8:
	cmp	DWORD PTR -60[rbp], 9
	jle	.L9
	mov	DWORD PTR -60[rbp], 0
	jmp	.L10
.L11:
	mov	eax, DWORD PTR -60[rbp]
	cdqe
	movss	xmm0, DWORD PTR -48[rbp+rax*4]
	movss	xmm1, DWORD PTR -56[rbp]
	addss	xmm0, xmm1
	movss	DWORD PTR -56[rbp], xmm0
	add	DWORD PTR -60[rbp], 1
.L10:
	cmp	DWORD PTR -60[rbp], 9
	jle	.L11
	movss	xmm0, DWORD PTR -56[rbp]
	movss	xmm1, DWORD PTR .LC10[rip]
	divss	xmm0, xmm1
	movss	DWORD PTR -52[rbp], xmm0
	pxor	xmm3, xmm3
	cvtss2sd	xmm3, DWORD PTR -52[rbp]
	movq	rax, xmm3
	movq	xmm0, rax
	lea	rdi, .LC11[rip]
	mov	eax, 1
	call	printf@PLT
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L13
	call	__stack_chk_fail@PLT
.L13:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.section	.rodata
	.align 4
.LC3:
	.long	1101004800
	.align 4
.LC10:
	.long	1092616192
	.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	"601667.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Input Mark %d : \000"
	.align	2
.LC1:
	.ascii	"%f\000"
	.global	__aeabi_fcmpge
	.global	__aeabi_fcmple
	.align	2
.LC2:
	.ascii	"\012:: Invalid marks :: \000"
	.align	2
.LC3:
	.ascii	"\012__________________________________\000"
	.align	2
.LC4:
	.ascii	"Marks\000"
	.align	2
.LC5:
	.ascii	"Student\000"
	.align	2
.LC6:
	.ascii	"%s%10s\012\000"
	.global	__aeabi_f2d
	.align	2
.LC7:
	.ascii	"Student %d%8.2f\012\000"
	.global	__aeabi_fadd
	.global	__aeabi_fdiv
	.align	2
.LC8:
	.ascii	"\012 Mean of the marks %.2f\000"
	.align	2
.LC9:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 64
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #68
	ldr	r3, .L16
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-64]	@ float
	mov	r3, #0
	str	r3, [fp, #-68]
	b	.L2
.L7:
	ldr	r3, [fp, #-68]
	add	r3, r3, #1
	mov	r1, r3
	ldr	r0, .L16+4
	bl	printf
	sub	r3, fp, #72
	mov	r1, r3
	ldr	r0, .L16+8
	bl	__isoc99_scanf
	ldr	r3, [fp, #-72]	@ float
	mov	r1, #0
	mov	r0, r3
	bl	__aeabi_fcmpge
	mov	r3, r0
	cmp	r3, #0
	beq	.L3
	ldr	r3, [fp, #-72]	@ float
	ldr	r1, .L16+12
	mov	r0, r3
	bl	__aeabi_fcmple
	mov	r3, r0
	cmp	r3, #0
	beq	.L3
	ldr	r2, [fp, #-72]	@ float
	ldr	r3, [fp, #-68]
	lsl	r3, r3, #2
	sub	r1, fp, #12
	add	r3, r1, r3
	str	r2, [r3, #-44]	@ float
	b	.L6
.L3:
	ldr	r0, .L16+16
	bl	puts
	ldr	r3, [fp, #-68]
	sub	r3, r3, #1
	str	r3, [fp, #-68]
.L6:
	ldr	r3, [fp, #-68]
	add	r3, r3, #1
	str	r3, [fp, #-68]
.L2:
	ldr	r3, [fp, #-68]
	cmp	r3, #9
	ble	.L7
	ldr	r0, .L16+20
	bl	puts
	ldr	r2, .L16+24
	ldr	r1, .L16+28
	ldr	r0, .L16+32
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-68]
	b	.L8
.L9:
	ldr	r3, [fp, #-68]
	add	r4, r3, #1
	ldr	r3, [fp, #-68]
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r3, [r3, #-44]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	mov	r1, r4
	ldr	r0, .L16+36
	bl	printf
	ldr	r3, [fp, #-68]
	add	r3, r3, #1
	str	r3, [fp, #-68]
.L8:
	ldr	r3, [fp, #-68]
	cmp	r3, #9
	ble	.L9
	mov	r3, #0
	str	r3, [fp, #-68]
	b	.L10
.L11:
	ldr	r3, [fp, #-68]
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r3, [r3, #-44]	@ float
	mov	r1, r3
	ldr	r0, [fp, #-64]	@ float
	bl	__aeabi_fadd
	mov	r3, r0
	str	r3, [fp, #-64]	@ float
	ldr	r3, [fp, #-68]
	add	r3, r3, #1
	str	r3, [fp, #-68]
.L10:
	ldr	r3, [fp, #-68]
	cmp	r3, #9
	ble	.L11
	ldr	r1, .L16+40
	ldr	r0, [fp, #-64]	@ float
	bl	__aeabi_fdiv
	mov	r3, r0
	str	r3, [fp, #-60]	@ float
	ldr	r0, [fp, #-60]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L16+44
	bl	printf
	mov	r3, #0
	ldr	r2, .L16
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L13
	bl	__stack_chk_fail
.L13:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L17:
	.align	2
.L16:
	.word	.LC9
	.word	.LC0
	.word	.LC1
	.word	1101004800
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	1092616192
	.word	.LC8
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
