	.file	"264106.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"enter marks of student[%d]\n"
.LC1:
	.string	"%d %d %d"
.LC2:
	.string	"\nstudent[%d] = %d"
.LC3:
	.string	"subject[%d] total = %d"
	.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, 96
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -80[rbp], 0
	mov	DWORD PTR -84[rbp], 0
	jmp	.L2
.L3:
	mov	eax, DWORD PTR -84[rbp]
	add	eax, 1
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR stdin[rip]
	mov	rdi, rax
	call	fflush@PLT
	lea	rdx, -64[rbp]
	mov	eax, DWORD PTR -84[rbp]
	cdqe
	sal	rax, 4
	add	rax, rdx
	lea	rcx, 8[rax]
	lea	rdx, -64[rbp]
	mov	eax, DWORD PTR -84[rbp]
	cdqe
	sal	rax, 4
	add	rax, rdx
	lea	rdx, 4[rax]
	lea	rsi, -64[rbp]
	mov	eax, DWORD PTR -84[rbp]
	cdqe
	sal	rax, 4
	add	rax, rsi
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	rax, QWORD PTR stdin[rip]
	mov	rdi, rax
	call	fflush@PLT
	add	DWORD PTR -84[rbp], 1
.L2:
	cmp	DWORD PTR -84[rbp], 2
	jle	.L3
	mov	DWORD PTR -84[rbp], 0
	mov	DWORD PTR -84[rbp], 0
	jmp	.L4
.L8:
	mov	eax, DWORD PTR -84[rbp]
	cdqe
	sal	rax, 4
	add	rax, rbp
	sub	rax, 64
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -84[rbp]
	cdqe
	sal	rax, 4
	add	rax, rbp
	sub	rax, 60
	mov	eax, DWORD PTR [rax]
	add	edx, eax
	mov	eax, DWORD PTR -84[rbp]
	cdqe
	sal	rax, 4
	add	rax, rbp
	sub	rax, 56
	mov	eax, DWORD PTR [rax]
	add	edx, eax
	mov	eax, DWORD PTR -84[rbp]
	cdqe
	sal	rax, 4
	add	rax, rbp
	sub	rax, 52
	mov	DWORD PTR [rax], edx
	cmp	DWORD PTR -84[rbp], 0
	jne	.L5
	mov	eax, DWORD PTR -84[rbp]
	cdqe
	sal	rax, 4
	add	rax, rbp
	sub	rax, 64
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -84[rbp]
	add	eax, 1
	cdqe
	sal	rax, 4
	add	rax, rbp
	sub	rax, 64
	mov	eax, DWORD PTR [rax]
	add	edx, eax
	mov	eax, DWORD PTR -84[rbp]
	add	eax, 2
	cdqe
	sal	rax, 4
	add	rax, rbp
	sub	rax, 64
	mov	eax, DWORD PTR [rax]
	add	edx, eax
	mov	eax, DWORD PTR -84[rbp]
	cdqe
	mov	DWORD PTR -76[rbp+rax*4], edx
	jmp	.L6
.L5:
	cmp	DWORD PTR -84[rbp], 1
	jne	.L7
	mov	eax, DWORD PTR -84[rbp]
	sub	eax, 1
	cdqe
	sal	rax, 4
	add	rax, rbp
	sub	rax, 60
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -84[rbp]
	cdqe
	sal	rax, 4
	add	rax, rbp
	sub	rax, 60
	mov	eax, DWORD PTR [rax]
	add	edx, eax
	mov	eax, DWORD PTR -84[rbp]
	add	eax, 1
	cdqe
	sal	rax, 4
	add	rax, rbp
	sub	rax, 60
	mov	eax, DWORD PTR [rax]
	add	edx, eax
	mov	eax, DWORD PTR -84[rbp]
	cdqe
	mov	DWORD PTR -76[rbp+rax*4], edx
	jmp	.L6
.L7:
	mov	eax, DWORD PTR -84[rbp]
	cdqe
	sal	rax, 4
	add	rax, rbp
	sub	rax, 56
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -84[rbp]
	sub	eax, 1
	cdqe
	sal	rax, 4
	add	rax, rbp
	sub	rax, 56
	mov	eax, DWORD PTR [rax]
	add	edx, eax
	mov	eax, DWORD PTR -84[rbp]
	sub	eax, 2
	cdqe
	sal	rax, 4
	add	rax, rbp
	sub	rax, 56
	mov	eax, DWORD PTR [rax]
	add	edx, eax
	mov	eax, DWORD PTR -84[rbp]
	cdqe
	mov	DWORD PTR -76[rbp+rax*4], edx
.L6:
	add	DWORD PTR -84[rbp], 1
.L4:
	cmp	DWORD PTR -84[rbp], 2
	jle	.L8
	mov	DWORD PTR -84[rbp], 0
	jmp	.L9
.L10:
	mov	eax, DWORD PTR -84[rbp]
	cdqe
	sal	rax, 4
	add	rax, rbp
	sub	rax, 52
	mov	eax, DWORD PTR [rax]
	mov	edx, DWORD PTR -84[rbp]
	lea	ecx, 1[rdx]
	mov	edx, eax
	mov	esi, ecx
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -84[rbp], 1
.L9:
	cmp	DWORD PTR -84[rbp], 2
	jle	.L10
	mov	DWORD PTR -84[rbp], 0
	jmp	.L11
.L12:
	mov	eax, DWORD PTR -84[rbp]
	cdqe
	mov	eax, DWORD PTR -76[rbp+rax*4]
	mov	edx, DWORD PTR -84[rbp]
	lea	ecx, 1[rdx]
	mov	edx, eax
	mov	esi, ecx
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -84[rbp], 1
.L11:
	cmp	DWORD PTR -84[rbp], 2
	jle	.L12
	mov	eax, 0
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L14
	call	__stack_chk_fail@PLT
.L14:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.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	"264106.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"enter marks of student[%d]\012\000"
	.align	2
.LC1:
	.ascii	"%d %d %d\000"
	.align	2
.LC2:
	.ascii	"\012student[%d] = %d\000"
	.align	2
.LC3:
	.ascii	"subject[%d] total = %d\000"
	.align	2
.LC4:
	.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, .L15
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-72]
	mov	r3, #0
	str	r3, [fp, #-76]
	b	.L2
.L3:
	ldr	r3, [fp, #-76]
	add	r3, r3, #1
	mov	r1, r3
	ldr	r0, .L15+4
	bl	printf
	ldr	r3, .L15+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	sub	r2, fp, #56
	ldr	r3, [fp, #-76]
	lsl	r3, r3, #4
	add	r1, r2, r3
	sub	r2, fp, #56
	ldr	r3, [fp, #-76]
	lsl	r3, r3, #4
	add	r3, r2, r3
	add	r0, r3, #4
	sub	r2, fp, #56
	ldr	r3, [fp, #-76]
	lsl	r3, r3, #4
	add	r3, r3, #8
	add	r3, r2, r3
	mov	r2, r0
	ldr	r0, .L15+12
	bl	__isoc99_scanf
	ldr	r3, .L15+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	ldr	r3, [fp, #-76]
	add	r3, r3, #1
	str	r3, [fp, #-76]
.L2:
	ldr	r3, [fp, #-76]
	cmp	r3, #2
	ble	.L3
	mov	r3, #0
	str	r3, [fp, #-76]
	mov	r3, #0
	str	r3, [fp, #-76]
	b	.L4
.L8:
	ldr	r3, [fp, #-76]
	lsl	r3, r3, #4
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r2, [r3, #-52]
	ldr	r3, [fp, #-76]
	lsl	r3, r3, #4
	sub	r1, fp, #4
	add	r3, r1, r3
	ldr	r3, [r3, #-48]
	add	r2, r2, r3
	ldr	r3, [fp, #-76]
	lsl	r3, r3, #4
	sub	r1, fp, #4
	add	r3, r1, r3
	ldr	r3, [r3, #-44]
	add	r2, r2, r3
	ldr	r3, [fp, #-76]
	lsl	r3, r3, #4
	sub	r1, fp, #4
	add	r3, r1, r3
	str	r2, [r3, #-40]
	ldr	r3, [fp, #-76]
	cmp	r3, #0
	bne	.L5
	ldr	r3, [fp, #-76]
	lsl	r3, r3, #4
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r2, [r3, #-52]
	ldr	r3, [fp, #-76]
	add	r3, r3, #1
	lsl	r3, r3, #4
	sub	r1, fp, #4
	add	r3, r1, r3
	ldr	r3, [r3, #-52]
	add	r2, r2, r3
	ldr	r3, [fp, #-76]
	add	r3, r3, #2
	lsl	r3, r3, #4
	sub	r1, fp, #4
	add	r3, r1, r3
	ldr	r3, [r3, #-52]
	add	r2, r2, r3
	ldr	r3, [fp, #-76]
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	str	r2, [r3, #-64]
	b	.L6
.L5:
	ldr	r3, [fp, #-76]
	cmp	r3, #1
	bne	.L7
	ldr	r3, [fp, #-76]
	sub	r3, r3, #1
	lsl	r3, r3, #4
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r2, [r3, #-48]
	ldr	r3, [fp, #-76]
	lsl	r3, r3, #4
	sub	r1, fp, #4
	add	r3, r1, r3
	ldr	r3, [r3, #-48]
	add	r2, r2, r3
	ldr	r3, [fp, #-76]
	add	r3, r3, #1
	lsl	r3, r3, #4
	sub	r1, fp, #4
	add	r3, r1, r3
	ldr	r3, [r3, #-48]
	add	r2, r2, r3
	ldr	r3, [fp, #-76]
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	str	r2, [r3, #-64]
	b	.L6
.L7:
	ldr	r3, [fp, #-76]
	lsl	r3, r3, #4
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r2, [r3, #-44]
	ldr	r3, [fp, #-76]
	sub	r3, r3, #1
	lsl	r3, r3, #4
	sub	r1, fp, #4
	add	r3, r1, r3
	ldr	r3, [r3, #-44]
	add	r2, r2, r3
	ldr	r3, [fp, #-76]
	sub	r3, r3, #2
	lsl	r3, r3, #4
	sub	r1, fp, #4
	add	r3, r1, r3
	ldr	r3, [r3, #-44]
	add	r2, r2, r3
	ldr	r3, [fp, #-76]
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	str	r2, [r3, #-64]
.L6:
	ldr	r3, [fp, #-76]
	add	r3, r3, #1
	str	r3, [fp, #-76]
.L4:
	ldr	r3, [fp, #-76]
	cmp	r3, #2
	ble	.L8
	mov	r3, #0
	str	r3, [fp, #-76]
	b	.L9
.L10:
	ldr	r3, [fp, #-76]
	add	r1, r3, #1
	ldr	r3, [fp, #-76]
	lsl	r3, r3, #4
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-40]
	mov	r2, r3
	ldr	r0, .L15+16
	bl	printf
	ldr	r3, [fp, #-76]
	add	r3, r3, #1
	str	r3, [fp, #-76]
.L9:
	ldr	r3, [fp, #-76]
	cmp	r3, #2
	ble	.L10
	mov	r3, #0
	str	r3, [fp, #-76]
	b	.L11
.L12:
	ldr	r3, [fp, #-76]
	add	r1, r3, #1
	ldr	r3, [fp, #-76]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-64]
	mov	r2, r3
	ldr	r0, .L15+20
	bl	printf
	ldr	r3, [fp, #-76]
	add	r3, r3, #1
	str	r3, [fp, #-76]
.L11:
	ldr	r3, [fp, #-76]
	cmp	r3, #2
	ble	.L12
	mov	r3, #0
	ldr	r2, .L15
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L14
	bl	__stack_chk_fail
.L14:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L16:
	.align	2
.L15:
	.word	.LC4
	.word	.LC0
	.word	stdin
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
