	.file	"1159744.c"
	.intel_syntax noprefix
	.text
	.globl	s
	.bss
	.align 32
	.type	s, @object
	.size	s, 680
s:
	.zero	680
	.section	.rodata
.LC0:
	.string	"Roll number not found!"
	.align 8
.LC1:
	.string	"Name of student: %sRoll Number: %d\nMarks in:\n\tm1: %d\n\tm2: %d\n\tm3: %d\n"
	.text
	.globl	result_rollno
	.type	result_rollno, @function
result_rollno:
.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, 32
	mov	DWORD PTR -20[rbp], edi
	mov	DWORD PTR -4[rbp], 0
	jmp	.L2
.L5:
	cmp	DWORD PTR -4[rbp], 10
	jne	.L3
	lea	rdi, .LC0[rip]
	call	puts@PLT
	jmp	.L1
.L3:
	add	DWORD PTR -4[rbp], 1
.L2:
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, s[rip+52]
	mov	eax, DWORD PTR [rdx+rax]
	cmp	DWORD PTR -20[rbp], eax
	jne	.L5
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, s[rip+64]
	mov	r8d, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, s[rip+60]
	mov	edi, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, s[rip+56]
	mov	ecx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, s[rip+52]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -4[rbp]
	movsx	rsi, eax
	mov	rax, rsi
	sal	rax, 4
	add	rax, rsi
	sal	rax, 2
	lea	rsi, s[rip]
	add	rax, rsi
	mov	r9d, r8d
	mov	r8d, edi
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
.L1:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	result_rollno, .-result_rollno
	.section	.rodata
	.align 8
.LC2:
	.string	"Program written by enrollment number 200420107012"
.LC3:
	.string	"Enter Number of students: "
.LC4:
	.string	"%d"
.LC5:
	.string	"Enter name of student: "
.LC6:
	.string	"Enter student rollNo: "
	.align 8
.LC7:
	.string	"Enter marks m1 m2 m3 of student(out of 70): "
.LC8:
	.string	"%d %d %d"
.LC9:
	.string	"Enter roll number to find: "
	.text
	.globl	main
	.type	main, @function
main:
.LFB1:
	.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]
	call	puts@PLT
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -20[rbp]
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	DWORD PTR -12[rbp], 0
	jmp	.L7
.L8:
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	call	getchar@PLT
	mov	rdx, QWORD PTR stdin[rip]
	mov	eax, DWORD PTR -12[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 4
	add	rax, rcx
	sal	rax, 2
	lea	rcx, s[rip]
	add	rax, rcx
	mov	esi, 50
	mov	rdi, rax
	call	fgets@PLT
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	add	rax, rdx
	sal	rax, 2
	lea	rdx, 48[rax]
	lea	rax, s[rip]
	add	rax, rdx
	add	rax, 4
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	add	rax, rdx
	sal	rax, 2
	lea	rdx, 64[rax]
	lea	rax, s[rip]
	lea	rcx, [rdx+rax]
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	add	rax, rdx
	sal	rax, 2
	lea	rdx, 48[rax]
	lea	rax, s[rip]
	add	rax, rdx
	lea	rdx, 12[rax]
	mov	eax, DWORD PTR -12[rbp]
	movsx	rsi, eax
	mov	rax, rsi
	sal	rax, 4
	add	rax, rsi
	sal	rax, 2
	lea	rsi, 48[rax]
	lea	rax, s[rip]
	add	rax, rsi
	add	rax, 8
	mov	rsi, rax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	add	DWORD PTR -12[rbp], 1
.L7:
	mov	eax, DWORD PTR -20[rbp]
	cmp	DWORD PTR -12[rbp], eax
	jl	.L8
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -16[rbp]
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -16[rbp]
	mov	edi, eax
	call	result_rollno
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L10
	call	__stack_chk_fail@PLT
.L10:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.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	"1159744.c"
	.text
	.comm	s,680,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Roll number not found!\000"
	.align	2
.LC1:
	.ascii	"Name of student: %sRoll Number: %d\012Marks in:\012"
	.ascii	"\011m1: %d\012\011m2: %d\012\011m3: %d\012\000"
	.text
	.align	2
	.global	result_rollno
	.syntax unified
	.arm
	.fpu softvfp
	.type	result_rollno, %function
result_rollno:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #28
	str	r0, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L2
.L5:
	ldr	r3, [fp, #-16]
	cmp	r3, #10
	bne	.L3
	ldr	r0, .L6
	bl	puts
	b	.L1
.L3:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L2:
	ldr	r1, .L6+4
	ldr	r2, [fp, #-16]
	mov	r3, r2
	lsl	r3, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #52
	ldr	r3, [r3]
	ldr	r2, [fp, #-24]
	cmp	r2, r3
	bne	.L5
	ldr	r2, [fp, #-16]
	mov	r3, r2
	lsl	r3, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #2
	ldr	r2, .L6+4
	add	r0, r3, r2
	ldr	r1, .L6+4
	ldr	r2, [fp, #-16]
	mov	r3, r2
	lsl	r3, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #52
	ldr	ip, [r3]
	ldr	r1, .L6+4
	ldr	r2, [fp, #-16]
	mov	r3, r2
	lsl	r3, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #56
	ldr	lr, [r3]
	ldr	r1, .L6+4
	ldr	r2, [fp, #-16]
	mov	r3, r2
	lsl	r3, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #60
	ldr	r1, [r3]
	ldr	r4, .L6+4
	ldr	r2, [fp, #-16]
	mov	r3, r2
	lsl	r3, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r4, r3
	add	r3, r3, #64
	ldr	r3, [r3]
	str	r3, [sp, #4]
	str	r1, [sp]
	mov	r3, lr
	mov	r2, ip
	mov	r1, r0
	ldr	r0, .L6+8
	bl	printf
.L1:
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L7:
	.align	2
.L6:
	.word	.LC0
	.word	s
	.word	.LC1
	.size	result_rollno, .-result_rollno
	.section	.rodata
	.align	2
.LC2:
	.ascii	"Program written by enrollment number 200420107012\000"
	.align	2
.LC3:
	.ascii	"Enter Number of students: \000"
	.align	2
.LC4:
	.ascii	"%d\000"
	.align	2
.LC5:
	.ascii	"Enter name of student: \000"
	.align	2
.LC6:
	.ascii	"Enter student rollNo: \000"
	.align	2
.LC7:
	.ascii	"Enter marks m1 m2 m3 of student(out of 70): \000"
	.align	2
.LC8:
	.ascii	"%d %d %d\000"
	.align	2
.LC9:
	.ascii	"Enter roll number to find: \000"
	.align	2
.LC10:
	.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	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	ldr	r3, .L13
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r0, .L13+4
	bl	puts
	ldr	r0, .L13+8
	bl	printf
	sub	r3, fp, #20
	mov	r1, r3
	ldr	r0, .L13+12
	bl	__isoc99_scanf
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L9
.L10:
	ldr	r0, .L13+16
	bl	printf
	bl	getchar
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #2
	ldr	r2, .L13+20
	add	r3, r3, r2
	ldr	r2, .L13+24
	ldr	r2, [r2]
	mov	r1, #50
	mov	r0, r3
	bl	fgets
	ldr	r0, .L13+28
	bl	printf
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, #48
	ldr	r2, .L13+20
	add	r3, r3, r2
	add	r3, r3, #4
	mov	r1, r3
	ldr	r0, .L13+12
	bl	__isoc99_scanf
	ldr	r0, .L13+32
	bl	printf
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, #56
	ldr	r2, .L13+20
	add	r1, r3, r2
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, #56
	ldr	r2, .L13+20
	add	r3, r3, r2
	add	r0, r3, #4
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, #64
	ldr	r2, .L13+20
	add	r3, r3, r2
	mov	r2, r0
	ldr	r0, .L13+36
	bl	__isoc99_scanf
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L9:
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	blt	.L10
	ldr	r0, .L13+40
	bl	printf
	sub	r3, fp, #16
	mov	r1, r3
	ldr	r0, .L13+12
	bl	__isoc99_scanf
	ldr	r3, [fp, #-16]
	mov	r0, r3
	bl	result_rollno
	mov	r3, #0
	ldr	r2, .L13
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L12
	bl	__stack_chk_fail
.L12:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L14:
	.align	2
.L13:
	.word	.LC10
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	s
	.word	stdin
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
