	.file	"1002667.c"
	.intel_syntax noprefix
	.text
	.globl	i
	.bss
	.align 4
	.type	i, @object
	.size	i, 4
i:
	.zero	4
	.section	.rodata
.LC0:
	.string	"Enter number of student: "
.LC1:
	.string	"%d"
.LC2:
	.string	"Name: "
.LC3:
	.string	"%[^\n]"
.LC4:
	.string	"ID: "
.LC5:
	.string	"CGPA: "
.LC6:
	.string	"%lf"
.LC7:
	.string	"ab+"
.LC8:
	.string	"info.txt"
.LC9:
	.string	"r"
.LC10:
	.string	"Total students:  \n"
.LC11:
	.string	"%d-> %s %lf\n"
.LC12:
	.string	"students CGPA >= 3.25:  \n"
.LC14:
	.string	"%d-> %s\n"
	.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
	push	r15
	push	r14
	push	r13
	push	r12
	push	rbx
	sub	rsp, 280
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rax
	xor	eax, eax
	mov	rax, rsp
	mov	rbx, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -316[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	call	getchar@PLT
	mov	eax, DWORD PTR -316[rbp]
	movsx	rdx, eax
	sub	rdx, 1
	mov	QWORD PTR -312[rbp], rdx
	movsx	rdx, eax
	mov	r14, rdx
	mov	r15d, 0
	movsx	rdx, eax
	mov	r12, rdx
	mov	r13d, 0
	cdqe
	sal	rax, 7
	mov	rdx, rax
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	ecx, 16
	mov	edx, 0
	div	rcx
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L2:
	cmp	rsp, rdx
	je	.L3
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L2
.L3:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L4
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L4:
	mov	rax, rsp
	add	rax, 7
	shr	rax, 3
	sal	rax, 3
	mov	QWORD PTR -304[rbp], rax
	mov	DWORD PTR i[rip], 0
	jmp	.L5
.L6:
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -160[rbp]
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	call	getchar@PLT
	mov	eax, DWORD PTR i[rip]
	cdqe
	sal	rax, 7
	mov	rdx, rax
	mov	rax, QWORD PTR -304[rbp]
	add	rdx, rax
	lea	rax, -160[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	call	strcpy@PLT
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -160[rbp]
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	call	getchar@PLT
	mov	eax, DWORD PTR i[rip]
	cdqe
	sal	rax, 7
	lea	rdx, 96[rax]
	mov	rax, QWORD PTR -304[rbp]
	add	rax, rdx
	lea	rdx, 4[rax]
	lea	rax, -160[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	call	strcpy@PLT
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR i[rip]
	cdqe
	sal	rax, 7
	lea	rdx, 112[rax]
	mov	rax, QWORD PTR -304[rbp]
	add	rax, rdx
	add	rax, 8
	mov	rsi, rax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	call	getchar@PLT
	mov	eax, DWORD PTR i[rip]
	add	eax, 1
	mov	DWORD PTR i[rip], eax
.L5:
	mov	edx, DWORD PTR i[rip]
	mov	eax, DWORD PTR -316[rbp]
	cmp	edx, eax
	jl	.L6
	lea	rsi, .LC7[rip]
	lea	rdi, .LC8[rip]
	call	fopen@PLT
	mov	QWORD PTR -296[rbp], rax
	mov	DWORD PTR i[rip], 0
	jmp	.L7
.L8:
	mov	eax, DWORD PTR i[rip]
	cdqe
	sal	rax, 7
	mov	rdx, rax
	mov	rax, QWORD PTR -304[rbp]
	lea	rdi, [rdx+rax]
	mov	rax, QWORD PTR -296[rbp]
	mov	rcx, rax
	mov	edx, 1
	mov	esi, 128
	call	fwrite@PLT
	mov	eax, DWORD PTR i[rip]
	add	eax, 1
	mov	DWORD PTR i[rip], eax
.L7:
	mov	edx, DWORD PTR i[rip]
	mov	eax, DWORD PTR -316[rbp]
	cmp	edx, eax
	jl	.L8
	mov	rax, QWORD PTR -296[rbp]
	mov	rdi, rax
	call	fclose@PLT
	lea	rsi, .LC9[rip]
	lea	rdi, .LC8[rip]
	call	fopen@PLT
	mov	QWORD PTR -296[rbp], rax
	mov	DWORD PTR i[rip], 1
	lea	rdi, .LC10[rip]
	call	puts@PLT
	jmp	.L9
.L10:
	mov	rdx, QWORD PTR -168[rbp]
	mov	eax, DWORD PTR i[rip]
	lea	ecx, 1[rax]
	mov	DWORD PTR i[rip], ecx
	lea	rcx, -288[rbp]
	add	rcx, 100
	movq	xmm0, rdx
	mov	rdx, rcx
	mov	esi, eax
	lea	rdi, .LC11[rip]
	mov	eax, 1
	call	printf@PLT
.L9:
	mov	rdx, QWORD PTR -296[rbp]
	lea	rax, -288[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 128
	mov	rdi, rax
	call	fread@PLT
	test	rax, rax
	jne	.L10
	mov	rax, QWORD PTR -296[rbp]
	mov	rdi, rax
	call	fclose@PLT
	lea	rsi, .LC9[rip]
	lea	rdi, .LC8[rip]
	call	fopen@PLT
	mov	QWORD PTR -296[rbp], rax
	mov	DWORD PTR i[rip], 1
	lea	rdi, .LC12[rip]
	call	puts@PLT
	jmp	.L11
.L13:
	movsd	xmm0, QWORD PTR -168[rbp]
	comisd	xmm0, QWORD PTR .LC13[rip]
	jnb	.L16
	jmp	.L11
.L16:
	mov	eax, DWORD PTR i[rip]
	lea	edx, 1[rax]
	mov	DWORD PTR i[rip], edx
	lea	rdx, -288[rbp]
	add	rdx, 100
	mov	esi, eax
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	printf@PLT
.L11:
	mov	rdx, QWORD PTR -296[rbp]
	lea	rax, -288[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 128
	mov	rdi, rax
	call	fread@PLT
	test	rax, rax
	jne	.L13
	mov	rax, QWORD PTR -296[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, 0
	mov	rsp, rbx
	mov	rbx, QWORD PTR -56[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L15
	call	__stack_chk_fail@PLT
.L15:
	lea	rsp, -40[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC13:
	.long	0
	.long	1074397184
	.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	"1002667.c"
	.text
	.comm	i,4,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Enter number of student: \000"
	.align	2
.LC1:
	.ascii	"%d\000"
	.align	2
.LC2:
	.ascii	"Name: \000"
	.align	2
.LC3:
	.ascii	"%[^\012]\000"
	.align	2
.LC4:
	.ascii	"ID: \000"
	.align	2
.LC5:
	.ascii	"CGPA: \000"
	.align	2
.LC6:
	.ascii	"%lf\000"
	.align	2
.LC7:
	.ascii	"ab+\000"
	.align	2
.LC8:
	.ascii	"info.txt\000"
	.align	2
.LC9:
	.ascii	"r\000"
	.align	2
.LC10:
	.ascii	"Total students:  \012\000"
	.align	2
.LC11:
	.ascii	"%d-> %s %lf\012\000"
	.align	2
.LC12:
	.ascii	"students CGPA >= 3.25:  \012\000"
	.global	__aeabi_dcmpge
	.align	2
.LC13:
	.ascii	"%d-> %s\012\000"
	.align	2
.LC14:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 248
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #260
	ldr	r3, .L14
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, sp
	mov	r4, r3
	ldr	r0, .L14+4
	bl	printf
	sub	r3, fp, #260
	mov	r1, r3
	ldr	r0, .L14+8
	bl	__isoc99_scanf
	bl	getchar
	ldr	ip, [fp, #-260]
	sub	r3, ip, #1
	str	r3, [fp, #-256]
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #10
	orr	r3, r3, r0, lsr #22
	lsl	r2, r0, #10
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #10
	orr	r3, r3, r0, lsr #22
	lsl	r2, r0, #10
	mov	r3, ip
	lsl	r3, r3, #7
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	add	r3, sp, #8
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	str	r3, [fp, #-252]
	ldr	r3, .L14+12
	mov	r2, #0
	str	r2, [r3]
	b	.L2
.L3:
	ldr	r0, .L14+16
	bl	printf
	sub	r3, fp, #116
	mov	r1, r3
	ldr	r0, .L14+20
	bl	__isoc99_scanf
	bl	getchar
	ldr	r3, .L14+12
	ldr	r3, [r3]
	lsl	r3, r3, #7
	ldr	r2, [fp, #-252]
	add	r3, r2, r3
	sub	r2, fp, #116
	mov	r1, r2
	mov	r0, r3
	bl	strcpy
	ldr	r0, .L14+24
	bl	printf
	sub	r3, fp, #116
	mov	r1, r3
	ldr	r0, .L14+20
	bl	__isoc99_scanf
	bl	getchar
	ldr	r3, .L14+12
	ldr	r3, [r3]
	lsl	r3, r3, #7
	add	r3, r3, #96
	ldr	r2, [fp, #-252]
	add	r3, r2, r3
	add	r3, r3, #4
	sub	r2, fp, #116
	mov	r1, r2
	mov	r0, r3
	bl	strcpy
	ldr	r0, .L14+28
	bl	printf
	ldr	r3, .L14+12
	ldr	r3, [r3]
	lsl	r3, r3, #7
	add	r3, r3, #120
	ldr	r2, [fp, #-252]
	add	r3, r2, r3
	mov	r1, r3
	ldr	r0, .L14+32
	bl	__isoc99_scanf
	bl	getchar
	ldr	r3, .L14+12
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L14+12
	str	r3, [r2]
.L2:
	ldr	r3, .L14+12
	ldr	r2, [r3]
	ldr	r3, [fp, #-260]
	cmp	r2, r3
	blt	.L3
	ldr	r1, .L14+36
	ldr	r0, .L14+40
	bl	fopen
	str	r0, [fp, #-248]
	ldr	r3, .L14+12
	mov	r2, #0
	str	r2, [r3]
	b	.L4
.L5:
	ldr	r3, .L14+12
	ldr	r3, [r3]
	lsl	r3, r3, #7
	ldr	r2, [fp, #-252]
	add	r0, r2, r3
	ldr	r3, [fp, #-248]
	mov	r2, #1
	mov	r1, #128
	bl	fwrite
	ldr	r3, .L14+12
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L14+12
	str	r3, [r2]
.L4:
	ldr	r3, .L14+12
	ldr	r2, [r3]
	ldr	r3, [fp, #-260]
	cmp	r2, r3
	blt	.L5
	ldr	r0, [fp, #-248]
	bl	fclose
	ldr	r1, .L14+44
	ldr	r0, .L14+40
	bl	fopen
	str	r0, [fp, #-248]
	ldr	r3, .L14+12
	mov	r2, #1
	str	r2, [r3]
	ldr	r0, .L14+48
	bl	puts
	b	.L6
.L7:
	ldr	r3, .L14+12
	ldr	r1, [r3]
	add	r3, r1, #1
	ldr	r2, .L14+12
	str	r3, [r2]
	sub	r3, fp, #124
	ldmia	r3, {r2-r3}
	sub	r0, fp, #244
	add	r0, r0, #100
	stm	sp, {r2-r3}
	mov	r2, r0
	ldr	r0, .L14+52
	bl	printf
.L6:
	sub	r0, fp, #244
	ldr	r3, [fp, #-248]
	mov	r2, #1
	mov	r1, #128
	bl	fread
	mov	r3, r0
	cmp	r3, #0
	bne	.L7
	ldr	r0, [fp, #-248]
	bl	fclose
	ldr	r1, .L14+44
	ldr	r0, .L14+40
	bl	fopen
	str	r0, [fp, #-248]
	ldr	r3, .L14+12
	mov	r2, #1
	str	r2, [r3]
	ldr	r0, .L14+56
	bl	puts
	b	.L8
.L10:
	sub	r1, fp, #124
	ldmia	r1, {r0-r1}
	mov	r2, #0
	ldr	r3, .L14+60
	bl	__aeabi_dcmpge
	mov	r3, r0
	cmp	r3, #0
	bne	.L13
	b	.L8
.L13:
	ldr	r3, .L14+12
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r1, .L14+12
	str	r2, [r1]
	sub	r2, fp, #244
	add	r2, r2, #100
	mov	r1, r3
	ldr	r0, .L14+64
	bl	printf
.L8:
	sub	r0, fp, #244
	ldr	r3, [fp, #-248]
	mov	r2, #1
	mov	r1, #128
	bl	fread
	mov	r3, r0
	cmp	r3, #0
	bne	.L10
	ldr	r0, [fp, #-248]
	bl	fclose
	mov	r3, #0
	mov	sp, r4
	ldr	r2, .L14
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L12
	bl	__stack_chk_fail
.L12:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L15:
	.align	2
.L14:
	.word	.LC14
	.word	.LC0
	.word	.LC1
	.word	i
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	1074397184
	.word	.LC13
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
