	.file	"627357.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"Faculty number is: "
.LC1:
	.string	"%d"
.LC2:
	.string	"The name is "
	.align 8
.LC3:
	.string	"The length of the name is: %d \n"
.LC4:
	.string	"Average mark is: "
.LC5:
	.string	"%lf"
.LC6:
	.string	"ab"
.LC7:
	.string	"tester.bin"
.LC8:
	.string	"The file does not exist"
	.align 8
.LC9:
	.string	"Error in writing in the file 1"
	.align 8
.LC10:
	.string	"Error in writing in the file 2"
	.align 8
.LC11:
	.string	"Error in writing in the file 3"
	.align 8
.LC12:
	.string	"Error in writing in the file 4"
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 152
	.cfi_offset 3, -24
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -152[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR stdin[rip]
	mov	rdi, rax
	call	fflush@PLT
	lea	rax, -128[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	gets@PLT
	lea	rax, -128[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	DWORD PTR -148[rbp], eax
	mov	eax, DWORD PTR -148[rbp]
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -144[rbp]
	mov	rsi, rax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rsi, .LC6[rip]
	lea	rdi, .LC7[rip]
	call	fopen@PLT
	mov	QWORD PTR -136[rbp], rax
	cmp	QWORD PTR -136[rbp], 0
	jne	.L2
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L2:
	mov	rdx, QWORD PTR -136[rbp]
	lea	rax, -152[rbp]
	mov	rcx, rdx
	mov	edx, 4
	mov	esi, 4
	mov	rdi, rax
	call	fwrite@PLT
	cmp	rax, 4
	je	.L3
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 2
	call	exit@PLT
.L3:
	mov	rdx, QWORD PTR -136[rbp]
	lea	rax, -148[rbp]
	mov	rcx, rdx
	mov	edx, 4
	mov	esi, 4
	mov	rdi, rax
	call	fwrite@PLT
	cmp	rax, 4
	je	.L4
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 3
	call	exit@PLT
.L4:
	lea	rax, -128[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rsi, rax
	mov	rdx, QWORD PTR -136[rbp]
	lea	rax, -128[rbp]
	mov	rcx, rdx
	mov	rdx, rsi
	mov	esi, 1
	mov	rdi, rax
	call	fwrite@PLT
	mov	rbx, rax
	lea	rax, -128[rbp]
	mov	rdi, rax
	call	strlen@PLT
	cmp	rbx, rax
	je	.L5
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 4
	call	exit@PLT
.L5:
	mov	rdx, QWORD PTR -136[rbp]
	lea	rax, -144[rbp]
	mov	rcx, rdx
	mov	edx, 8
	mov	esi, 8
	mov	rdi, rax
	call	fwrite@PLT
	cmp	rax, 8
	je	.L6
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 5
	call	exit@PLT
.L6:
	mov	rax, QWORD PTR -136[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, 0
	mov	rbx, QWORD PTR -24[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L8
	call	__stack_chk_fail@PLT
.L8:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.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	"627357.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Faculty number is: \000"
	.align	2
.LC1:
	.ascii	"%d\000"
	.align	2
.LC2:
	.ascii	"The name is \000"
	.align	2
.LC3:
	.ascii	"The length of the name is: %d \012\000"
	.align	2
.LC4:
	.ascii	"Average mark is: \000"
	.align	2
.LC5:
	.ascii	"%lf\000"
	.align	2
.LC6:
	.ascii	"ab\000"
	.align	2
.LC7:
	.ascii	"tester.bin\000"
	.align	2
.LC8:
	.ascii	"The file does not exist\000"
	.align	2
.LC9:
	.ascii	"Error in writing in the file 1\000"
	.align	2
.LC10:
	.ascii	"Error in writing in the file 2\000"
	.align	2
.LC11:
	.ascii	"Error in writing in the file 3\000"
	.align	2
.LC12:
	.ascii	"Error in writing in the file 4\000"
	.align	2
.LC13:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 128
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #132
	ldr	r3, .L9
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r0, .L9+4
	bl	printf
	sub	r3, fp, #136
	mov	r1, r3
	ldr	r0, .L9+8
	bl	__isoc99_scanf
	ldr	r0, .L9+12
	bl	printf
	ldr	r3, .L9+16
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	sub	r3, fp, #116
	mov	r0, r3
	bl	gets
	sub	r3, fp, #116
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	str	r3, [fp, #-132]
	ldr	r3, [fp, #-132]
	mov	r1, r3
	ldr	r0, .L9+20
	bl	printf
	ldr	r0, .L9+24
	bl	printf
	sub	r3, fp, #124
	mov	r1, r3
	ldr	r0, .L9+28
	bl	__isoc99_scanf
	ldr	r1, .L9+32
	ldr	r0, .L9+36
	bl	fopen
	str	r0, [fp, #-128]
	ldr	r3, [fp, #-128]
	cmp	r3, #0
	bne	.L2
	ldr	r0, .L9+40
	bl	printf
	mov	r0, #1
	bl	exit
.L2:
	sub	r0, fp, #136
	ldr	r3, [fp, #-128]
	mov	r2, #4
	mov	r1, #4
	bl	fwrite
	mov	r3, r0
	cmp	r3, #4
	beq	.L3
	ldr	r0, .L9+44
	bl	printf
	mov	r0, #2
	bl	exit
.L3:
	sub	r0, fp, #132
	ldr	r3, [fp, #-128]
	mov	r2, #4
	mov	r1, #4
	bl	fwrite
	mov	r3, r0
	cmp	r3, #4
	beq	.L4
	ldr	r0, .L9+48
	bl	printf
	mov	r0, #3
	bl	exit
.L4:
	sub	r3, fp, #116
	mov	r0, r3
	bl	strlen
	mov	r2, r0
	sub	r0, fp, #116
	ldr	r3, [fp, #-128]
	mov	r1, #1
	bl	fwrite
	mov	r4, r0
	sub	r3, fp, #116
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	cmp	r4, r3
	beq	.L5
	ldr	r0, .L9+52
	bl	printf
	mov	r0, #4
	bl	exit
.L5:
	sub	r0, fp, #124
	ldr	r3, [fp, #-128]
	mov	r2, #8
	mov	r1, #8
	bl	fwrite
	mov	r3, r0
	cmp	r3, #8
	beq	.L6
	ldr	r0, .L9+56
	bl	printf
	mov	r0, #5
	bl	exit
.L6:
	ldr	r0, [fp, #-128]
	bl	fclose
	mov	r3, #0
	ldr	r2, .L9
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L8
	bl	__stack_chk_fail
.L8:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L10:
	.align	2
.L9:
	.word	.LC13
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	stdin
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
