	.file	"179829457.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"Please enter minimum number of characters per line"
.LC1:
	.string	"%d"
	.align 8
.LC2:
	.string	"\nMinimum number of characters per line is: %d\n"
.LC3:
	.string	"\nPlease enter filename: "
.LC4:
	.string	"%s"
.LC5:
	.string	"File to read: %s\n"
.LC6:
	.string	"r"
	.align 8
.LC7:
	.string	"Number of Lines over %d characters: %d\n"
	.align 8
.LC8:
	.string	"Average length of lines over %d characters: %d\n"
	.align 8
.LC9:
	.string	"Average length of all lines: %d\n"
.LC10:
	.string	"Longest Line: %d characters\n"
.LC11:
	.string	"Error opening file"
	.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, 320
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -300[rbp], 0
	mov	DWORD PTR -296[rbp], 0
	mov	DWORD PTR -292[rbp], 0
	mov	DWORD PTR -288[rbp], 0
	mov	DWORD PTR -284[rbp], 0
	lea	rdi, .LC0[rip]
	call	puts@PLT
	lea	rax, -308[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -308[rbp]
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC3[rip]
	call	puts@PLT
	lea	rax, -272[rbp]
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rax, -272[rbp]
	mov	rsi, rax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	call	flushall@PLT
	lea	rax, -272[rbp]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -280[rbp], rax
	cmp	QWORD PTR -280[rbp], 0
	je	.L2
	jmp	.L3
.L6:
	mov	DWORD PTR -304[rbp], 0
	jmp	.L4
.L5:
	add	DWORD PTR -304[rbp], 1
	add	DWORD PTR -296[rbp], 1
	mov	eax, DWORD PTR -304[rbp]
	add	DWORD PTR -288[rbp], eax
	mov	eax, DWORD PTR -308[rbp]
	cmp	DWORD PTR -304[rbp], eax
	jl	.L4
	add	DWORD PTR -300[rbp], 1
	mov	eax, DWORD PTR -304[rbp]
	add	DWORD PTR -292[rbp], eax
.L4:
	mov	eax, DWORD PTR -304[rbp]
	cdqe
	movzx	eax, BYTE PTR -224[rbp+rax]
	test	al, al
	jne	.L5
	mov	eax, DWORD PTR -304[rbp]
	cmp	eax, DWORD PTR -284[rbp]
	jle	.L3
	mov	eax, DWORD PTR -304[rbp]
	mov	DWORD PTR -284[rbp], eax
.L3:
	mov	rdx, QWORD PTR -280[rbp]
	lea	rax, -224[rbp]
	mov	esi, 201
	mov	rdi, rax
	call	fgets@PLT
	test	rax, rax
	jne	.L6
	mov	eax, DWORD PTR -308[rbp]
	mov	edx, DWORD PTR -300[rbp]
	mov	esi, eax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -292[rbp]
	cdq
	idiv	DWORD PTR -300[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -308[rbp]
	mov	esi, eax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -288[rbp]
	cdq
	idiv	DWORD PTR -296[rbp]
	mov	esi, eax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -284[rbp]
	mov	esi, eax
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L7
.L2:
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
.L7:
	call	getchar@PLT
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L9
	call	__stack_chk_fail@PLT
.L9:
	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	"179829457.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Please enter minimum number of characters per line\000"
	.align	2
.LC1:
	.ascii	"%d\000"
	.align	2
.LC2:
	.ascii	"\012Minimum number of characters per line is: %d\012"
	.ascii	"\000"
	.align	2
.LC3:
	.ascii	"\012Please enter filename: \000"
	.align	2
.LC4:
	.ascii	"%s\000"
	.align	2
.LC5:
	.ascii	"File to read: %s\012\000"
	.align	2
.LC6:
	.ascii	"r\000"
	.align	2
.LC7:
	.ascii	"Number of Lines over %d characters: %d\012\000"
	.global	__aeabi_idiv
	.align	2
.LC8:
	.ascii	"Average length of lines over %d characters: %d\012\000"
	.align	2
.LC9:
	.ascii	"Average length of all lines: %d\012\000"
	.align	2
.LC10:
	.ascii	"Longest Line: %d characters\012\000"
	.align	2
.LC11:
	.ascii	"Error opening file\000"
	.align	2
.LC12:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 280
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #284
	ldr	r3, .L10
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-284]
	mov	r3, #0
	str	r3, [fp, #-280]
	mov	r3, #0
	str	r3, [fp, #-276]
	mov	r3, #0
	str	r3, [fp, #-272]
	mov	r3, #0
	str	r3, [fp, #-268]
	ldr	r0, .L10+4
	bl	puts
	sub	r3, fp, #292
	mov	r1, r3
	ldr	r0, .L10+8
	bl	__isoc99_scanf
	ldr	r3, [fp, #-292]
	mov	r1, r3
	ldr	r0, .L10+12
	bl	printf
	ldr	r0, .L10+16
	bl	puts
	sub	r3, fp, #260
	mov	r1, r3
	ldr	r0, .L10+20
	bl	__isoc99_scanf
	sub	r3, fp, #260
	mov	r1, r3
	ldr	r0, .L10+24
	bl	printf
	bl	flushall
	sub	r3, fp, #260
	ldr	r1, .L10+28
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-264]
	ldr	r3, [fp, #-264]
	cmp	r3, #0
	beq	.L2
	b	.L3
.L6:
	mov	r3, #0
	str	r3, [fp, #-288]
	b	.L4
.L5:
	ldr	r3, [fp, #-288]
	add	r3, r3, #1
	str	r3, [fp, #-288]
	ldr	r3, [fp, #-280]
	add	r3, r3, #1
	str	r3, [fp, #-280]
	ldr	r2, [fp, #-272]
	ldr	r3, [fp, #-288]
	add	r3, r2, r3
	str	r3, [fp, #-272]
	ldr	r3, [fp, #-292]
	ldr	r2, [fp, #-288]
	cmp	r2, r3
	blt	.L4
	ldr	r3, [fp, #-284]
	add	r3, r3, #1
	str	r3, [fp, #-284]
	ldr	r2, [fp, #-276]
	ldr	r3, [fp, #-288]
	add	r3, r2, r3
	str	r3, [fp, #-276]
.L4:
	sub	r2, fp, #220
	ldr	r3, [fp, #-288]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L5
	ldr	r2, [fp, #-288]
	ldr	r3, [fp, #-268]
	cmp	r2, r3
	ble	.L3
	ldr	r3, [fp, #-288]
	str	r3, [fp, #-268]
.L3:
	sub	r3, fp, #220
	ldr	r2, [fp, #-264]
	mov	r1, #201
	mov	r0, r3
	bl	fgets
	mov	r3, r0
	cmp	r3, #0
	bne	.L6
	ldr	r3, [fp, #-292]
	ldr	r2, [fp, #-284]
	mov	r1, r3
	ldr	r0, .L10+32
	bl	printf
	ldr	r4, [fp, #-292]
	ldr	r1, [fp, #-284]
	ldr	r0, [fp, #-276]
	bl	__aeabi_idiv
	mov	r3, r0
	mov	r2, r3
	mov	r1, r4
	ldr	r0, .L10+36
	bl	printf
	ldr	r1, [fp, #-280]
	ldr	r0, [fp, #-272]
	bl	__aeabi_idiv
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L10+40
	bl	printf
	ldr	r1, [fp, #-268]
	ldr	r0, .L10+44
	bl	printf
	b	.L7
.L2:
	ldr	r0, .L10+48
	bl	printf
.L7:
	bl	getchar
	mov	r3, #0
	ldr	r2, .L10
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L9
	bl	__stack_chk_fail
.L9:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L11:
	.align	2
.L10:
	.word	.LC12
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
