	.file	"109316.c"
	.intel_syntax noprefix
	.text
	.globl	s
	.bss
	.align 32
	.type	s, @object
	.size	s, 320
s:
	.zero	320
	.text
	.globl	compute
	.type	compute, @function
compute:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	pxor	xmm0, xmm0
	movss	DWORD PTR -4[rbp], xmm0
	mov	DWORD PTR -8[rbp], 0
	jmp	.L2
.L3:
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	sal	rax, 5
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movss	xmm0, DWORD PTR 28[rax]
	movss	xmm1, DWORD PTR -4[rbp]
	addss	xmm0, xmm1
	movss	DWORD PTR -4[rbp], xmm0
	add	DWORD PTR -8[rbp], 1
.L2:
	mov	eax, DWORD PTR -8[rbp]
	cmp	eax, DWORD PTR -28[rbp]
	jl	.L3
	pxor	xmm1, xmm1
	cvtsi2ss	xmm1, DWORD PTR -28[rbp]
	movss	xmm0, DWORD PTR -4[rbp]
	divss	xmm0, xmm1
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	compute, .-compute
	.section	.rodata
	.align 8
.LC1:
	.string	"%d \t %s \t\t %d \t %d \t %d \t %.2f \n"
	.text
	.globl	display
	.type	display, @function
display:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	movss	xmm0, DWORD PTR 44[rbp]
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, xmm0
	movq	rsi, xmm1
	mov	r8d, DWORD PTR 28[rbp]
	mov	edi, DWORD PTR 24[rbp]
	mov	ecx, DWORD PTR 20[rbp]
	mov	eax, DWORD PTR 16[rbp]
	lea	rdx, 32[rbp]
	movq	xmm0, rsi
	mov	r9d, r8d
	mov	r8d, edi
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 1
	call	printf@PLT
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	display, .-display
	.section	.rodata
	.align 8
.LC2:
	.string	"Enter the number of students : "
.LC3:
	.string	"%d"
.LC4:
	.string	"\nEnter the roll number : "
.LC5:
	.string	"\nEnter the name : "
.LC6:
	.string	"%s"
	.align 8
.LC7:
	.string	"\nEnter the marks in 2 subjects : "
.LC8:
	.string	"%d %d"
.LC10:
	.string	"\nBelow Average Students"
	.align 8
.LC11:
	.string	"\nRoll No. Name \t\tSub1\t Sub2\t Total\t Average\n"
.LC12:
	.string	"\nAbove Average Students"
	.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, 32
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -20[rbp]
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	DWORD PTR -16[rbp], 0
	jmp	.L7
.L8:
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	sal	rax, 5
	mov	rdx, rax
	lea	rax, s[rip]
	add	rax, rdx
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	sal	rax, 5
	lea	rdx, 16[rax]
	lea	rax, s[rip]
	add	rax, rdx
	mov	rsi, rax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	sal	rax, 5
	mov	rdx, rax
	lea	rax, s[rip]
	add	rax, rdx
	lea	rdx, 8[rax]
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	sal	rax, 5
	mov	rcx, rax
	lea	rax, s[rip]
	add	rax, rcx
	add	rax, 4
	mov	rsi, rax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	sal	rax, 5
	mov	rdx, rax
	lea	rax, s[rip+4]
	mov	ecx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	sal	rax, 5
	mov	rdx, rax
	lea	rax, s[rip+8]
	mov	eax, DWORD PTR [rdx+rax]
	add	ecx, eax
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	sal	rax, 5
	mov	rdx, rax
	lea	rax, s[rip+12]
	mov	DWORD PTR [rdx+rax], ecx
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	sal	rax, 5
	mov	rdx, rax
	lea	rax, s[rip+12]
	mov	eax, DWORD PTR [rdx+rax]
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	movsd	xmm1, QWORD PTR .LC9[rip]
	divsd	xmm0, xmm1
	cvtsd2ss	xmm0, xmm0
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	sal	rax, 5
	mov	rdx, rax
	lea	rax, s[rip+28]
	movss	DWORD PTR [rdx+rax], xmm0
	add	DWORD PTR -16[rbp], 1
.L7:
	mov	eax, DWORD PTR -20[rbp]
	cmp	DWORD PTR -16[rbp], eax
	jl	.L8
	mov	eax, DWORD PTR -20[rbp]
	mov	esi, eax
	lea	rdi, s[rip]
	call	compute
	movd	eax, xmm0
	mov	DWORD PTR -12[rbp], eax
	lea	rdi, .LC10[rip]
	call	puts@PLT
	lea	rdi, .LC11[rip]
	call	puts@PLT
	mov	DWORD PTR -16[rbp], 0
	jmp	.L9
.L12:
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	sal	rax, 5
	mov	rdx, rax
	lea	rax, s[rip+28]
	movss	xmm1, DWORD PTR [rdx+rax]
	movss	xmm0, DWORD PTR -12[rbp]
	comiss	xmm0, xmm1
	jbe	.L10
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	sal	rax, 5
	mov	rdx, rax
	lea	rax, s[rip]
	push	QWORD PTR 24[rdx+rax]
	push	QWORD PTR 16[rdx+rax]
	push	QWORD PTR 8[rdx+rax]
	push	QWORD PTR [rdx+rax]
	call	display
	add	rsp, 32
.L10:
	add	DWORD PTR -16[rbp], 1
.L9:
	mov	eax, DWORD PTR -20[rbp]
	cmp	DWORD PTR -16[rbp], eax
	jl	.L12
	lea	rdi, .LC12[rip]
	call	puts@PLT
	lea	rdi, .LC11[rip]
	call	puts@PLT
	mov	DWORD PTR -16[rbp], 0
	jmp	.L13
.L16:
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	sal	rax, 5
	mov	rdx, rax
	lea	rax, s[rip+28]
	movss	xmm0, DWORD PTR [rdx+rax]
	comiss	xmm0, DWORD PTR -12[rbp]
	jb	.L14
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	sal	rax, 5
	mov	rdx, rax
	lea	rax, s[rip]
	push	QWORD PTR 24[rdx+rax]
	push	QWORD PTR 16[rdx+rax]
	push	QWORD PTR 8[rdx+rax]
	push	QWORD PTR [rdx+rax]
	call	display
	add	rsp, 32
.L14:
	add	DWORD PTR -16[rbp], 1
.L13:
	mov	eax, DWORD PTR -20[rbp]
	cmp	DWORD PTR -16[rbp], eax
	jl	.L16
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L17
	call	__stack_chk_fail@PLT
.L17:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC9:
	.long	0
	.long	1073741824
	.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	"109316.c"
	.text
	.comm	s,320,4
	.global	__aeabi_fadd
	.global	__aeabi_i2f
	.global	__aeabi_fdiv
	.align	2
	.global	compute
	.syntax unified
	.arm
	.fpu softvfp
	.type	compute, %function
compute:
	@ 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]
	mov	r3, #0
	str	r3, [fp, #-8]	@ float
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L2
.L3:
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #5
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r3, [r3, #28]	@ float
	mov	r1, r3
	ldr	r0, [fp, #-8]	@ float
	bl	__aeabi_fadd
	mov	r3, r0
	str	r3, [fp, #-8]	@ float
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L2:
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	blt	.L3
	ldr	r0, [fp, #-20]
	bl	__aeabi_i2f
	mov	r3, r0
	mov	r1, r3
	ldr	r0, [fp, #-8]	@ float
	bl	__aeabi_fdiv
	mov	r3, r0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	compute, .-compute
	.global	__aeabi_f2d
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%d \011 %s \011\011 %d \011 %d \011 %d \011 %.2f \012"
	.ascii	"\000"
	.text
	.align	2
	.global	display
	.syntax unified
	.arm
	.fpu softvfp
	.type	display, %function
display:
	@ args = 32, pretend = 16, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	sub	sp, sp, #16
	push	{r4, r5, r6, r7, fp, lr}
	add	fp, sp, #20
	sub	sp, sp, #16
	add	ip, fp, #4
	stm	ip, {r0, r1, r2, r3}
	ldr	r6, [fp, #4]
	ldr	r7, [fp, #8]
	ldr	r4, [fp, #12]
	ldr	r5, [fp, #16]
	ldr	r3, [fp, #32]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	add	r1, fp, #20
	str	r2, [sp, #8]
	str	r3, [sp, #12]
	str	r5, [sp, #4]
	str	r4, [sp]
	mov	r3, r7
	mov	r2, r1
	mov	r1, r6
	ldr	r0, .L6
	bl	printf
	nop
	sub	sp, fp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, fp, lr}
	add	sp, sp, #16
	bx	lr
.L7:
	.align	2
.L6:
	.word	.LC0
	.size	display, .-display
	.section	.rodata
	.align	2
.LC1:
	.ascii	"Enter the number of students : \000"
	.align	2
.LC2:
	.ascii	"%d\000"
	.align	2
.LC3:
	.ascii	"\012Enter the roll number : \000"
	.align	2
.LC4:
	.ascii	"\012Enter the name : \000"
	.align	2
.LC5:
	.ascii	"%s\000"
	.align	2
.LC6:
	.ascii	"\012Enter the marks in 2 subjects : \000"
	.align	2
.LC7:
	.ascii	"%d %d\000"
	.global	__aeabi_i2d
	.global	__aeabi_ddiv
	.global	__aeabi_d2f
	.align	2
.LC8:
	.ascii	"\012Below Average Students\000"
	.align	2
.LC9:
	.ascii	"\012Roll No. Name \011\011Sub1\011 Sub2\011 Total\011"
	.ascii	" Average\012\000"
	.global	__aeabi_fcmpgt
	.align	2
.LC10:
	.ascii	"\012Above Average Students\000"
	.global	__aeabi_fcmple
	.align	2
.LC11:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #36
	ldr	r3, .L22
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r0, .L22+4
	bl	printf
	sub	r3, fp, #28
	mov	r1, r3
	ldr	r0, .L22+8
	bl	__isoc99_scanf
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L9
.L10:
	ldr	r0, .L22+12
	bl	printf
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #5
	ldr	r2, .L22+16
	add	r3, r3, r2
	mov	r1, r3
	ldr	r0, .L22+8
	bl	__isoc99_scanf
	ldr	r0, .L22+20
	bl	printf
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #5
	add	r3, r3, #16
	ldr	r2, .L22+16
	add	r3, r3, r2
	mov	r1, r3
	ldr	r0, .L22+24
	bl	__isoc99_scanf
	ldr	r0, .L22+28
	bl	printf
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #5
	ldr	r2, .L22+16
	add	r3, r3, r2
	add	r1, r3, #4
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #5
	add	r3, r3, #8
	ldr	r2, .L22+16
	add	r3, r3, r2
	mov	r2, r3
	ldr	r0, .L22+32
	bl	__isoc99_scanf
	ldr	r2, .L22+16
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #5
	add	r3, r2, r3
	ldr	r2, [r3, #4]
	ldr	r1, .L22+16
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #5
	add	r3, r1, r3
	ldr	r3, [r3, #8]
	add	r2, r2, r3
	ldr	r1, .L22+16
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #5
	add	r3, r1, r3
	str	r2, [r3, #12]
	ldr	r2, .L22+16
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #5
	add	r3, r2, r3
	ldr	r3, [r3, #12]
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, #0
	mov	r3, #1073741824
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r2, r0
	ldr	r1, .L22+16
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #5
	add	r3, r1, r3
	str	r2, [r3, #28]	@ float
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L9:
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-24]
	cmp	r2, r3
	blt	.L10
	ldr	r3, [fp, #-28]
	mov	r1, r3
	ldr	r0, .L22+16
	bl	compute
	str	r0, [fp, #-20]	@ float
	ldr	r0, .L22+36
	bl	puts
	ldr	r0, .L22+40
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L11
.L14:
	ldr	r2, .L22+16
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #5
	add	r3, r2, r3
	ldr	r3, [r3, #28]	@ float
	mov	r1, r3
	ldr	r0, [fp, #-20]	@ float
	bl	__aeabi_fcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L12
	ldr	r4, .L22+16
	ldr	ip, [fp, #-24]
	lsl	r3, ip, #5
	add	r3, r4, r3
	mov	lr, sp
	add	r3, r3, #16
	ldm	r3, {r0, r1, r2, r3}
	stm	lr, {r0, r1, r2, r3}
	lsl	r3, ip, #5
	add	r3, r4, r3
	ldm	r3, {r0, r1, r2, r3}
	bl	display
.L12:
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L11:
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-24]
	cmp	r2, r3
	blt	.L14
	ldr	r0, .L22+44
	bl	puts
	ldr	r0, .L22+40
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L15
.L18:
	ldr	r2, .L22+16
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #5
	add	r3, r2, r3
	ldr	r3, [r3, #28]	@ float
	mov	r1, r3
	ldr	r0, [fp, #-20]	@ float
	bl	__aeabi_fcmple
	mov	r3, r0
	cmp	r3, #0
	beq	.L16
	ldr	r4, .L22+16
	ldr	ip, [fp, #-24]
	lsl	r3, ip, #5
	add	r3, r4, r3
	mov	lr, sp
	add	r3, r3, #16
	ldm	r3, {r0, r1, r2, r3}
	stm	lr, {r0, r1, r2, r3}
	lsl	r3, ip, #5
	add	r3, r4, r3
	ldm	r3, {r0, r1, r2, r3}
	bl	display
.L16:
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L15:
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-24]
	cmp	r2, r3
	blt	.L18
	nop
	ldr	r3, .L22
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L19
	bl	__stack_chk_fail
.L19:
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L23:
	.align	2
.L22:
	.word	.LC11
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	s
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
