	.file	"845199.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"Enter the total number of subjects:"
.LC1:
	.string	"%d"
	.align 8
.LC2:
	.string	"Enter the marks in subject %d:"
.LC3:
	.string	"S Grade"
.LC4:
	.string	"A Grade"
.LC5:
	.string	"B Grade"
.LC6:
	.string	"C Grade"
.LC7:
	.string	"D Grade"
.LC8:
	.string	"E Grade"
.LC10:
	.string	"Your overall grade is S Grade"
.LC12:
	.string	"Your overall grade is A Grade"
.LC14:
	.string	"Your overall grade is B Grade"
.LC16:
	.string	"Your overall grade is C Grade"
.LC18:
	.string	"Your overall grade is D Grade"
.LC20:
	.string	"Your overall grade is E Grade"
.LC21:
	.string	"Fail"
	.text
	.globl	grade_predictor
	.type	grade_predictor, @function
grade_predictor:
.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, 448
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -428[rbp], 0
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -432[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	edi, 10
	call	putchar@PLT
	mov	DWORD PTR -428[rbp], 1
	jmp	.L2
.L9:
	mov	eax, DWORD PTR -428[rbp]
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -436[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -436[rbp]
	cmp	eax, 90
	jle	.L3
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -428[rbp]
	cdqe
	mov	DWORD PTR -416[rbp+rax*4], 10
	mov	edi, 10
	call	putchar@PLT
.L3:
	mov	eax, DWORD PTR -436[rbp]
	cmp	eax, 80
	jle	.L4
	mov	eax, DWORD PTR -436[rbp]
	cmp	eax, 90
	jg	.L4
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -428[rbp]
	cdqe
	mov	DWORD PTR -416[rbp+rax*4], 9
	mov	edi, 10
	call	putchar@PLT
.L4:
	mov	eax, DWORD PTR -436[rbp]
	cmp	eax, 70
	jle	.L5
	mov	eax, DWORD PTR -436[rbp]
	cmp	eax, 80
	jg	.L5
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -428[rbp]
	cdqe
	mov	DWORD PTR -416[rbp+rax*4], 8
	mov	edi, 10
	call	putchar@PLT
.L5:
	mov	eax, DWORD PTR -436[rbp]
	cmp	eax, 60
	jle	.L6
	mov	eax, DWORD PTR -436[rbp]
	cmp	eax, 70
	jg	.L6
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -428[rbp]
	cdqe
	mov	DWORD PTR -416[rbp+rax*4], 7
	mov	edi, 10
	call	putchar@PLT
.L6:
	mov	eax, DWORD PTR -436[rbp]
	cmp	eax, 50
	jle	.L7
	mov	eax, DWORD PTR -436[rbp]
	cmp	eax, 60
	jg	.L7
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -428[rbp]
	cdqe
	mov	DWORD PTR -416[rbp+rax*4], 6
	mov	edi, 10
	call	putchar@PLT
.L7:
	mov	eax, DWORD PTR -436[rbp]
	cmp	eax, 50
	jg	.L8
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -428[rbp]
	cdqe
	mov	DWORD PTR -416[rbp+rax*4], 5
	mov	edi, 10
	call	putchar@PLT
.L8:
	mov	eax, DWORD PTR -428[rbp]
	cdqe
	mov	eax, DWORD PTR -416[rbp+rax*4]
	add	DWORD PTR -424[rbp], eax
	mov	edi, 10
	call	putchar@PLT
	add	DWORD PTR -428[rbp], 1
.L2:
	mov	eax, DWORD PTR -432[rbp]
	cmp	DWORD PTR -428[rbp], eax
	jle	.L9
	mov	ecx, DWORD PTR -432[rbp]
	mov	eax, DWORD PTR -424[rbp]
	cdq
	idiv	ecx
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, eax
	movss	DWORD PTR -420[rbp], xmm0
	movss	xmm0, DWORD PTR -420[rbp]
	comiss	xmm0, DWORD PTR .LC9[rip]
	jbe	.L10
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 10
	call	putchar@PLT
.L10:
	movss	xmm0, DWORD PTR .LC9[rip]
	comiss	xmm0, DWORD PTR -420[rbp]
	jb	.L12
	movss	xmm0, DWORD PTR -420[rbp]
	comiss	xmm0, DWORD PTR .LC11[rip]
	jbe	.L12
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 10
	call	putchar@PLT
.L12:
	movss	xmm0, DWORD PTR .LC11[rip]
	comiss	xmm0, DWORD PTR -420[rbp]
	jb	.L15
	movss	xmm0, DWORD PTR -420[rbp]
	comiss	xmm0, DWORD PTR .LC13[rip]
	jbe	.L15
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 10
	call	putchar@PLT
.L15:
	movss	xmm0, DWORD PTR .LC13[rip]
	comiss	xmm0, DWORD PTR -420[rbp]
	jb	.L18
	movss	xmm0, DWORD PTR -420[rbp]
	comiss	xmm0, DWORD PTR .LC15[rip]
	jbe	.L18
	lea	rdi, .LC16[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 10
	call	putchar@PLT
.L18:
	movss	xmm0, DWORD PTR .LC15[rip]
	comiss	xmm0, DWORD PTR -420[rbp]
	jb	.L21
	movss	xmm0, DWORD PTR -420[rbp]
	comiss	xmm0, DWORD PTR .LC17[rip]
	jbe	.L21
	lea	rdi, .LC18[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 10
	call	putchar@PLT
.L21:
	movss	xmm0, DWORD PTR .LC17[rip]
	comiss	xmm0, DWORD PTR -420[rbp]
	jb	.L24
	movss	xmm0, DWORD PTR -420[rbp]
	comiss	xmm0, DWORD PTR .LC19[rip]
	jbe	.L24
	lea	rdi, .LC20[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 10
	call	putchar@PLT
.L24:
	movss	xmm0, DWORD PTR .LC19[rip]
	comiss	xmm0, DWORD PTR -420[rbp]
	jbe	.L27
	lea	rdi, .LC21[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 10
	call	putchar@PLT
.L27:
	nop
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L29
	call	__stack_chk_fail@PLT
.L29:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	grade_predictor, .-grade_predictor
	.section	.rodata
	.align 4
.LC9:
	.long	1091567616
	.align 4
.LC11:
	.long	1090519040
	.align 4
.LC13:
	.long	1088421888
	.align 4
.LC15:
	.long	1086324736
	.align 4
.LC17:
	.long	1084227584
	.align 4
.LC19:
	.long	1082130432
	.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	"845199.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Enter the total number of subjects:\000"
	.align	2
.LC1:
	.ascii	"%d\000"
	.align	2
.LC2:
	.ascii	"Enter the marks in subject %d:\000"
	.align	2
.LC3:
	.ascii	"S Grade\000"
	.align	2
.LC4:
	.ascii	"A Grade\000"
	.align	2
.LC5:
	.ascii	"B Grade\000"
	.align	2
.LC6:
	.ascii	"C Grade\000"
	.align	2
.LC7:
	.ascii	"D Grade\000"
	.align	2
.LC8:
	.ascii	"E Grade\000"
	.global	__aeabi_idiv
	.global	__aeabi_i2f
	.global	__aeabi_fcmpgt
	.align	2
.LC9:
	.ascii	"Your overall grade is S Grade\000"
	.global	__aeabi_fcmple
	.align	2
.LC10:
	.ascii	"Your overall grade is A Grade\000"
	.align	2
.LC11:
	.ascii	"Your overall grade is B Grade\000"
	.align	2
.LC12:
	.ascii	"Your overall grade is C Grade\000"
	.align	2
.LC13:
	.ascii	"Your overall grade is D Grade\000"
	.align	2
.LC14:
	.ascii	"Your overall grade is E Grade\000"
	.global	__aeabi_fcmplt
	.align	2
.LC15:
	.ascii	"Fail\000"
	.align	2
.LC16:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	grade_predictor
	.syntax unified
	.arm
	.fpu softvfp
	.type	grade_predictor, %function
grade_predictor:
	@ args = 0, pretend = 0, frame = 424
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #424
	ldr	r3, .L42
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-420]
	ldr	r0, .L42+4
	bl	printf
	sub	r3, fp, #424
	mov	r1, r3
	ldr	r0, .L42+8
	bl	__isoc99_scanf
	mov	r0, #10
	bl	putchar
	mov	r3, #1
	str	r3, [fp, #-420]
	b	.L2
.L9:
	ldr	r1, [fp, #-420]
	ldr	r0, .L42+12
	bl	printf
	sub	r3, fp, #428
	mov	r1, r3
	ldr	r0, .L42+8
	bl	__isoc99_scanf
	ldr	r3, [fp, #-428]
	cmp	r3, #90
	ble	.L3
	ldr	r0, .L42+16
	bl	printf
	ldr	r3, [fp, #-420]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	mov	r2, #10
	str	r2, [r3, #-404]
	mov	r0, #10
	bl	putchar
.L3:
	ldr	r3, [fp, #-428]
	cmp	r3, #80
	ble	.L4
	ldr	r3, [fp, #-428]
	cmp	r3, #90
	bgt	.L4
	ldr	r0, .L42+20
	bl	printf
	ldr	r3, [fp, #-420]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	mov	r2, #9
	str	r2, [r3, #-404]
	mov	r0, #10
	bl	putchar
.L4:
	ldr	r3, [fp, #-428]
	cmp	r3, #70
	ble	.L5
	ldr	r3, [fp, #-428]
	cmp	r3, #80
	bgt	.L5
	ldr	r0, .L42+24
	bl	printf
	ldr	r3, [fp, #-420]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	mov	r2, #8
	str	r2, [r3, #-404]
	mov	r0, #10
	bl	putchar
.L5:
	ldr	r3, [fp, #-428]
	cmp	r3, #60
	ble	.L6
	ldr	r3, [fp, #-428]
	cmp	r3, #70
	bgt	.L6
	ldr	r0, .L42+28
	bl	printf
	ldr	r3, [fp, #-420]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	mov	r2, #7
	str	r2, [r3, #-404]
	mov	r0, #10
	bl	putchar
.L6:
	ldr	r3, [fp, #-428]
	cmp	r3, #50
	ble	.L7
	ldr	r3, [fp, #-428]
	cmp	r3, #60
	bgt	.L7
	ldr	r0, .L42+32
	bl	printf
	ldr	r3, [fp, #-420]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	mov	r2, #6
	str	r2, [r3, #-404]
	mov	r0, #10
	bl	putchar
.L7:
	ldr	r3, [fp, #-428]
	cmp	r3, #50
	bgt	.L8
	ldr	r0, .L42+36
	bl	printf
	ldr	r3, [fp, #-420]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	mov	r2, #5
	str	r2, [r3, #-404]
	mov	r0, #10
	bl	putchar
.L8:
	ldr	r3, [fp, #-420]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-404]
	ldr	r2, [fp, #-416]
	add	r3, r2, r3
	str	r3, [fp, #-416]
	mov	r0, #10
	bl	putchar
	ldr	r3, [fp, #-420]
	add	r3, r3, #1
	str	r3, [fp, #-420]
.L2:
	ldr	r3, [fp, #-424]
	ldr	r2, [fp, #-420]
	cmp	r2, r3
	ble	.L9
	ldr	r3, [fp, #-424]
	mov	r1, r3
	ldr	r0, [fp, #-416]
	bl	__aeabi_idiv
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_i2f
	mov	r3, r0
	str	r3, [fp, #-412]	@ float
	ldr	r1, .L42+40
	ldr	r0, [fp, #-412]	@ float
	bl	__aeabi_fcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L10
	ldr	r0, .L42+44
	bl	printf
	mov	r0, #10
	bl	putchar
.L10:
	ldr	r1, .L42+40
	ldr	r0, [fp, #-412]	@ float
	bl	__aeabi_fcmple
	mov	r3, r0
	cmp	r3, #0
	beq	.L12
	mov	r1, #1090519040
	ldr	r0, [fp, #-412]	@ float
	bl	__aeabi_fcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L12
	ldr	r0, .L42+48
	bl	printf
	mov	r0, #10
	bl	putchar
.L12:
	mov	r1, #1090519040
	ldr	r0, [fp, #-412]	@ float
	bl	__aeabi_fcmple
	mov	r3, r0
	cmp	r3, #0
	beq	.L15
	ldr	r1, .L42+52
	ldr	r0, [fp, #-412]	@ float
	bl	__aeabi_fcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L15
	ldr	r0, .L42+56
	bl	printf
	mov	r0, #10
	bl	putchar
.L15:
	ldr	r1, .L42+52
	ldr	r0, [fp, #-412]	@ float
	bl	__aeabi_fcmple
	mov	r3, r0
	cmp	r3, #0
	beq	.L18
	ldr	r1, .L42+60
	ldr	r0, [fp, #-412]	@ float
	bl	__aeabi_fcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L18
	ldr	r0, .L42+64
	bl	printf
	mov	r0, #10
	bl	putchar
.L18:
	ldr	r1, .L42+60
	ldr	r0, [fp, #-412]	@ float
	bl	__aeabi_fcmple
	mov	r3, r0
	cmp	r3, #0
	beq	.L21
	ldr	r1, .L42+68
	ldr	r0, [fp, #-412]	@ float
	bl	__aeabi_fcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L21
	ldr	r0, .L42+72
	bl	printf
	mov	r0, #10
	bl	putchar
.L21:
	ldr	r1, .L42+68
	ldr	r0, [fp, #-412]	@ float
	bl	__aeabi_fcmple
	mov	r3, r0
	cmp	r3, #0
	beq	.L24
	ldr	r1, .L42+76
	ldr	r0, [fp, #-412]	@ float
	bl	__aeabi_fcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L24
	ldr	r0, .L42+80
	bl	printf
	mov	r0, #10
	bl	putchar
.L24:
	ldr	r1, .L42+76
	ldr	r0, [fp, #-412]	@ float
	bl	__aeabi_fcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L27
	ldr	r0, .L42+84
	bl	printf
	mov	r0, #10
	bl	putchar
.L27:
	nop
	ldr	r2, .L42
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L29
	bl	__stack_chk_fail
.L29:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L43:
	.align	2
.L42:
	.word	.LC16
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	1091567616
	.word	.LC9
	.word	.LC10
	.word	1088421888
	.word	.LC11
	.word	1086324736
	.word	.LC12
	.word	1084227584
	.word	.LC13
	.word	1082130432
	.word	.LC14
	.word	.LC15
	.size	grade_predictor, .-grade_predictor
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
