	.file	"965757.c"
	.intel_syntax noprefix
	.text
	.globl	findWaitingTime
	.type	findWaitingTime, @function
findWaitingTime:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	QWORD PTR -40[rbp], rdx
	mov	QWORD PTR -48[rbp], rcx
	mov	rax, QWORD PTR -48[rbp]
	mov	DWORD PTR [rax], 0
	mov	DWORD PTR -4[rbp], 1
	jmp	.L2
.L3:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	sal	rax, 2
	lea	rdx, -4[rax]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	ecx, DWORD PTR [rax]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	sal	rax, 2
	lea	rdx, -4[rax]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rsi, 0[0+rax*4]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rsi
	add	edx, ecx
	mov	DWORD PTR [rax], edx
	add	DWORD PTR -4[rbp], 1
.L2:
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -28[rbp]
	jl	.L3
	nop
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	findWaitingTime, .-findWaitingTime
	.globl	findTurnAroundTime
	.type	findTurnAroundTime, @function
findTurnAroundTime:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	QWORD PTR -40[rbp], rdx
	mov	QWORD PTR -48[rbp], rcx
	mov	QWORD PTR -56[rbp], r8
	mov	DWORD PTR -4[rbp], 0
	jmp	.L5
.L6:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	ecx, DWORD PTR [rax]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rsi, 0[0+rax*4]
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rsi
	add	edx, ecx
	mov	DWORD PTR [rax], edx
	add	DWORD PTR -4[rbp], 1
.L5:
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -28[rbp]
	jl	.L6
	nop
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	findTurnAroundTime, .-findTurnAroundTime
	.section	.rodata
	.align 8
.LC0:
	.string	"Processes Burst time Waiting time Turn around time"
.LC1:
	.string	" %d "
.LC2:
	.string	"\t %d "
.LC3:
	.string	"\t %d"
.LC4:
	.string	"\t %d\n"
.LC5:
	.string	"Average waiting time = %d"
	.align 8
.LC6:
	.string	"Average turn around time = %d "
	.text
	.globl	findavgTime
	.type	findavgTime, @function
findavgTime:
.LFB8:
	.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, 104
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	mov	QWORD PTR -120[rbp], rdi
	mov	DWORD PTR -124[rbp], esi
	mov	QWORD PTR -136[rbp], rdx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rax
	xor	eax, eax
	mov	rax, rsp
	mov	rbx, rax
	mov	eax, DWORD PTR -124[rbp]
	movsx	rdx, eax
	sub	rdx, 1
	mov	QWORD PTR -88[rbp], rdx
	movsx	rdx, eax
	mov	r14, rdx
	mov	r15d, 0
	movsx	rdx, eax
	mov	r12, rdx
	mov	r13d, 0
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	esi, 16
	mov	edx, 0
	div	rsi
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L8:
	cmp	rsp, rdx
	je	.L9
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L8
.L9:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L10
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L10:
	mov	rax, rsp
	add	rax, 3
	shr	rax, 2
	sal	rax, 2
	mov	QWORD PTR -80[rbp], rax
	mov	eax, DWORD PTR -124[rbp]
	movsx	rdx, eax
	sub	rdx, 1
	mov	QWORD PTR -72[rbp], rdx
	movsx	rdx, eax
	mov	r10, rdx
	mov	r11d, 0
	movsx	rdx, eax
	mov	r8, rdx
	mov	r9d, 0
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	edi, 16
	mov	edx, 0
	div	rdi
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L11:
	cmp	rsp, rdx
	je	.L12
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L11
.L12:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L13
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L13:
	mov	rax, rsp
	add	rax, 3
	shr	rax, 2
	sal	rax, 2
	mov	QWORD PTR -64[rbp], rax
	mov	DWORD PTR -100[rbp], 0
	mov	DWORD PTR -104[rbp], 0
	mov	rcx, QWORD PTR -80[rbp]
	mov	rdx, QWORD PTR -136[rbp]
	mov	esi, DWORD PTR -124[rbp]
	mov	rax, QWORD PTR -120[rbp]
	mov	rdi, rax
	call	findWaitingTime
	mov	rdi, QWORD PTR -64[rbp]
	mov	rcx, QWORD PTR -80[rbp]
	mov	rdx, QWORD PTR -136[rbp]
	mov	esi, DWORD PTR -124[rbp]
	mov	rax, QWORD PTR -120[rbp]
	mov	r8, rdi
	mov	rdi, rax
	call	findTurnAroundTime
	lea	rdi, .LC0[rip]
	call	puts@PLT
	mov	DWORD PTR -108[rbp], 0
	jmp	.L14
.L15:
	mov	rax, QWORD PTR -80[rbp]
	mov	edx, DWORD PTR -108[rbp]
	movsx	rdx, edx
	mov	eax, DWORD PTR [rax+rdx*4]
	add	DWORD PTR -100[rbp], eax
	mov	rax, QWORD PTR -64[rbp]
	mov	edx, DWORD PTR -108[rbp]
	movsx	rdx, edx
	mov	eax, DWORD PTR [rax+rdx*4]
	add	DWORD PTR -104[rbp], eax
	mov	eax, DWORD PTR -108[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -120[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -108[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -136[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -80[rbp]
	mov	edx, DWORD PTR -108[rbp]
	movsx	rdx, edx
	mov	eax, DWORD PTR [rax+rdx*4]
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -64[rbp]
	mov	edx, DWORD PTR -108[rbp]
	movsx	rdx, edx
	mov	eax, DWORD PTR [rax+rdx*4]
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -108[rbp], 1
.L14:
	mov	eax, DWORD PTR -108[rbp]
	cmp	eax, DWORD PTR -124[rbp]
	jl	.L15
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, DWORD PTR -100[rbp]
	pxor	xmm1, xmm1
	cvtsi2ss	xmm1, DWORD PTR -124[rbp]
	divss	xmm0, xmm1
	cvttss2si	eax, xmm0
	mov	DWORD PTR -96[rbp], eax
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, DWORD PTR -104[rbp]
	pxor	xmm1, xmm1
	cvtsi2ss	xmm1, DWORD PTR -124[rbp]
	divss	xmm0, xmm1
	cvttss2si	eax, xmm0
	mov	DWORD PTR -92[rbp], eax
	mov	eax, DWORD PTR -96[rbp]
	mov	esi, eax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 10
	call	putchar@PLT
	mov	eax, DWORD PTR -92[rbp]
	mov	esi, eax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rsp, rbx
	nop
	mov	rax, QWORD PTR -56[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L16
	call	__stack_chk_fail@PLT
.L16:
	lea	rsp, -40[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	findavgTime, .-findavgTime
	.section	.rodata
.LC7:
	.string	"r"
.LC8:
	.string	"test1.txt"
.LC9:
	.string	"\nError in file opening"
.LC10:
	.string	"%s : %s : %s"
.LC11:
	.string	"\nP%d %d %d\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 336
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rsi, .LC7[rip]
	lea	rdi, .LC8[rip]
	call	fopen@PLT
	mov	QWORD PTR -296[rbp], rax
	cmp	QWORD PTR -296[rbp], 0
	jne	.L18
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
.L18:
	mov	rdx, QWORD PTR -296[rbp]
	lea	rax, -112[rbp]
	mov	esi, 2
	mov	rdi, rax
	call	fgets@PLT
	lea	rax, -112[rbp]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR -304[rbp], eax
	mov	DWORD PTR -324[rbp], 0
	jmp	.L19
.L20:
	lea	rsi, -122[rbp]
	lea	rcx, -142[rbp]
	lea	rdx, -132[rbp]
	mov	rax, QWORD PTR -296[rbp]
	mov	r8, rsi
	lea	rsi, .LC10[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	lea	rax, -122[rbp]
	mov	rdi, rax
	call	atoi@PLT
	mov	edx, DWORD PTR -324[rbp]
	movsx	rdx, edx
	mov	DWORD PTR -240[rbp+rdx*4], eax
	lea	rax, -132[rbp]
	mov	rdi, rax
	call	atoi@PLT
	mov	edx, DWORD PTR -324[rbp]
	movsx	rdx, edx
	mov	DWORD PTR -288[rbp+rdx*4], eax
	lea	rax, -142[rbp]
	mov	rdi, rax
	call	atoi@PLT
	mov	edx, DWORD PTR -324[rbp]
	movsx	rdx, edx
	mov	DWORD PTR -192[rbp+rdx*4], eax
	add	DWORD PTR -324[rbp], 1
.L19:
	mov	eax, DWORD PTR -324[rbp]
	cmp	eax, DWORD PTR -304[rbp]
	jl	.L20
	mov	DWORD PTR -320[rbp], 0
	jmp	.L21
.L22:
	mov	eax, DWORD PTR -320[rbp]
	cdqe
	mov	ecx, DWORD PTR -240[rbp+rax*4]
	mov	eax, DWORD PTR -320[rbp]
	cdqe
	mov	edx, DWORD PTR -192[rbp+rax*4]
	mov	eax, DWORD PTR -320[rbp]
	cdqe
	mov	eax, DWORD PTR -288[rbp+rax*4]
	mov	esi, eax
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -320[rbp], 1
.L21:
	mov	eax, DWORD PTR -320[rbp]
	cmp	eax, DWORD PTR -304[rbp]
	jl	.L22
	mov	rax, QWORD PTR -296[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	DWORD PTR -312[rbp], 0
	jmp	.L23
.L27:
	mov	eax, DWORD PTR -312[rbp]
	mov	DWORD PTR -316[rbp], eax
	mov	eax, DWORD PTR -312[rbp]
	add	eax, 1
	mov	DWORD PTR -308[rbp], eax
	jmp	.L24
.L26:
	mov	eax, DWORD PTR -308[rbp]
	cdqe
	mov	edx, DWORD PTR -240[rbp+rax*4]
	mov	eax, DWORD PTR -316[rbp]
	cdqe
	mov	eax, DWORD PTR -240[rbp+rax*4]
	cmp	edx, eax
	jge	.L25
	mov	eax, DWORD PTR -308[rbp]
	mov	DWORD PTR -316[rbp], eax
.L25:
	add	DWORD PTR -308[rbp], 1
.L24:
	mov	eax, DWORD PTR -308[rbp]
	cmp	eax, DWORD PTR -304[rbp]
	jl	.L26
	mov	eax, DWORD PTR -312[rbp]
	cdqe
	mov	eax, DWORD PTR -192[rbp+rax*4]
	mov	DWORD PTR -300[rbp], eax
	mov	eax, DWORD PTR -316[rbp]
	cdqe
	mov	edx, DWORD PTR -192[rbp+rax*4]
	mov	eax, DWORD PTR -312[rbp]
	cdqe
	mov	DWORD PTR -192[rbp+rax*4], edx
	mov	eax, DWORD PTR -316[rbp]
	cdqe
	mov	edx, DWORD PTR -300[rbp]
	mov	DWORD PTR -192[rbp+rax*4], edx
	mov	eax, DWORD PTR -312[rbp]
	cdqe
	mov	eax, DWORD PTR -288[rbp+rax*4]
	mov	DWORD PTR -300[rbp], eax
	mov	eax, DWORD PTR -316[rbp]
	cdqe
	mov	edx, DWORD PTR -288[rbp+rax*4]
	mov	eax, DWORD PTR -312[rbp]
	cdqe
	mov	DWORD PTR -288[rbp+rax*4], edx
	mov	eax, DWORD PTR -316[rbp]
	cdqe
	mov	edx, DWORD PTR -300[rbp]
	mov	DWORD PTR -288[rbp+rax*4], edx
	mov	eax, DWORD PTR -312[rbp]
	cdqe
	mov	eax, DWORD PTR -240[rbp+rax*4]
	mov	DWORD PTR -300[rbp], eax
	mov	eax, DWORD PTR -316[rbp]
	cdqe
	mov	edx, DWORD PTR -240[rbp+rax*4]
	mov	eax, DWORD PTR -312[rbp]
	cdqe
	mov	DWORD PTR -240[rbp+rax*4], edx
	mov	eax, DWORD PTR -316[rbp]
	cdqe
	mov	edx, DWORD PTR -300[rbp]
	mov	DWORD PTR -240[rbp+rax*4], edx
	add	DWORD PTR -312[rbp], 1
.L23:
	mov	eax, DWORD PTR -312[rbp]
	cmp	eax, DWORD PTR -304[rbp]
	jl	.L27
	lea	rdx, -192[rbp]
	mov	ecx, DWORD PTR -304[rbp]
	lea	rax, -288[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	findavgTime
	mov	eax, 0
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L29
	call	__stack_chk_fail@PLT
.L29:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.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	"965757.c"
	.text
	.align	2
	.global	findWaitingTime
	.syntax unified
	.arm
	.fpu softvfp
	.type	findWaitingTime, %function
findWaitingTime:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #28
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-28]
	mov	r2, #0
	str	r2, [r3]
	mov	r3, #1
	str	r3, [fp, #-8]
	b	.L2
.L3:
	ldr	r3, [fp, #-8]
	sub	r3, r3, #-1073741823
	lsl	r3, r3, #2
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldr	r1, [r3]
	ldr	r3, [fp, #-8]
	sub	r3, r3, #-1073741823
	lsl	r3, r3, #2
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	r0, [fp, #-28]
	add	r3, r0, r3
	add	r2, r1, r2
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L2:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	blt	.L3
	nop
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	findWaitingTime, .-findWaitingTime
	.align	2
	.global	findTurnAroundTime
	.syntax unified
	.arm
	.fpu softvfp
	.type	findTurnAroundTime, %function
findTurnAroundTime:
	@ args = 4, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #28
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	str	r3, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L5
.L6:
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldr	r1, [r3]
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	r0, [fp, #4]
	add	r3, r0, r3
	add	r2, r1, r2
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L5:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	blt	.L6
	nop
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	findTurnAroundTime, .-findTurnAroundTime
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Processes Burst time Waiting time Turn around time\000"
	.align	2
.LC1:
	.ascii	" %d \000"
	.align	2
.LC2:
	.ascii	"\011 %d \000"
	.align	2
.LC3:
	.ascii	"\011 %d\000"
	.align	2
.LC4:
	.ascii	"\011 %d\012\000"
	.global	__aeabi_i2f
	.global	__aeabi_fdiv
	.global	__aeabi_f2iz
	.align	2
.LC5:
	.ascii	"Average waiting time = %d\000"
	.align	2
.LC6:
	.ascii	"Average turn around time = %d \000"
	.align	2
.LC7:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	findavgTime
	.syntax unified
	.arm
	.fpu softvfp
	.type	findavgTime, %function
findavgTime:
	@ args = 0, pretend = 0, frame = 56
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #64
	str	r0, [fp, #-56]
	str	r1, [fp, #-60]
	str	r2, [fp, #-64]
	ldr	r3, .L11
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, sp
	mov	r5, r3
	ldr	ip, [fp, #-60]
	sub	r3, ip, #1
	str	r3, [fp, #-52]
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #5
	orr	r3, r3, r0, lsr #27
	lsl	r2, r0, #5
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #5
	orr	r3, r3, r0, lsr #27
	lsl	r2, r0, #5
	mov	r3, ip
	lsl	r3, r3, #2
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	add	r3, sp, #8
	add	r3, r3, #3
	lsr	r3, r3, #2
	lsl	r3, r3, #2
	str	r3, [fp, #-36]
	ldr	ip, [fp, #-60]
	sub	r3, ip, #1
	str	r3, [fp, #-32]
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #5
	orr	r3, r3, r0, lsr #27
	lsl	r2, r0, #5
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #5
	orr	r3, r3, r0, lsr #27
	lsl	r2, r0, #5
	mov	r3, ip
	lsl	r3, r3, #2
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	add	r3, sp, #8
	add	r3, r3, #3
	lsr	r3, r3, #2
	lsl	r3, r3, #2
	str	r3, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-40]
	mov	r3, #0
	str	r3, [fp, #-44]
	ldr	r3, [fp, #-36]
	ldr	r2, [fp, #-64]
	ldr	r1, [fp, #-60]
	ldr	r0, [fp, #-56]
	bl	findWaitingTime
	ldr	r3, [fp, #-28]
	str	r3, [sp]
	ldr	r3, [fp, #-36]
	ldr	r2, [fp, #-64]
	ldr	r1, [fp, #-60]
	ldr	r0, [fp, #-56]
	bl	findTurnAroundTime
	ldr	r0, .L11+4
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-48]
	b	.L8
.L9:
	ldr	r3, [fp, #-36]
	ldr	r2, [fp, #-48]
	ldr	r3, [r3, r2, lsl #2]
	ldr	r2, [fp, #-40]
	add	r3, r2, r3
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-48]
	ldr	r3, [r3, r2, lsl #2]
	ldr	r2, [fp, #-44]
	add	r3, r2, r3
	str	r3, [fp, #-44]
	ldr	r3, [fp, #-48]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-56]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L11+8
	bl	printf
	ldr	r3, [fp, #-48]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-64]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L11+12
	bl	printf
	ldr	r3, [fp, #-36]
	ldr	r2, [fp, #-48]
	ldr	r3, [r3, r2, lsl #2]
	mov	r1, r3
	ldr	r0, .L11+16
	bl	printf
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-48]
	ldr	r3, [r3, r2, lsl #2]
	mov	r1, r3
	ldr	r0, .L11+20
	bl	printf
	ldr	r3, [fp, #-48]
	add	r3, r3, #1
	str	r3, [fp, #-48]
.L8:
	ldr	r2, [fp, #-48]
	ldr	r3, [fp, #-60]
	cmp	r2, r3
	blt	.L9
	ldr	r0, [fp, #-40]
	bl	__aeabi_i2f
	mov	r4, r0
	ldr	r0, [fp, #-60]
	bl	__aeabi_i2f
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	__aeabi_fdiv
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2iz
	mov	r3, r0
	str	r3, [fp, #-24]
	ldr	r0, [fp, #-44]
	bl	__aeabi_i2f
	mov	r4, r0
	ldr	r0, [fp, #-60]
	bl	__aeabi_i2f
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	__aeabi_fdiv
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2iz
	mov	r3, r0
	str	r3, [fp, #-20]
	ldr	r1, [fp, #-24]
	ldr	r0, .L11+24
	bl	printf
	mov	r0, #10
	bl	putchar
	ldr	r1, [fp, #-20]
	ldr	r0, .L11+28
	bl	printf
	mov	sp, r5
	nop
	ldr	r3, .L11
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L10
	bl	__stack_chk_fail
.L10:
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L12:
	.align	2
.L11:
	.word	.LC7
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.size	findavgTime, .-findavgTime
	.section	.rodata
	.align	2
.LC8:
	.ascii	"r\000"
	.align	2
.LC9:
	.ascii	"test1.txt\000"
	.align	2
.LC10:
	.ascii	"\012Error in file opening\000"
	.align	2
.LC11:
	.ascii	"%s : %s : %s\000"
	.align	2
.LC12:
	.ascii	"\012P%d %d %d\012\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 = 296
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #304
	ldr	r3, .L26
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r1, .L26+4
	ldr	r0, .L26+8
	bl	fopen
	str	r0, [fp, #-276]
	ldr	r3, [fp, #-276]
	cmp	r3, #0
	bne	.L14
	ldr	r0, .L26+12
	bl	printf
.L14:
	sub	r3, fp, #108
	ldr	r2, [fp, #-276]
	mov	r1, #2
	mov	r0, r3
	bl	fgets
	sub	r3, fp, #108
	mov	r0, r3
	bl	atoi
	str	r0, [fp, #-272]
	mov	r3, #0
	str	r3, [fp, #-296]
	b	.L15
.L16:
	sub	r1, fp, #144
	sub	r2, fp, #132
	sub	r3, fp, #120
	str	r3, [sp]
	mov	r3, r1
	ldr	r1, .L26+16
	ldr	r0, [fp, #-276]
	bl	__isoc99_fscanf
	sub	r3, fp, #120
	mov	r0, r3
	bl	atoi
	mov	r2, r0
	ldr	r3, [fp, #-296]
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	str	r2, [r3, #-220]
	sub	r3, fp, #132
	mov	r0, r3
	bl	atoi
	mov	r2, r0
	ldr	r3, [fp, #-296]
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	str	r2, [r3, #-260]
	sub	r3, fp, #144
	mov	r0, r3
	bl	atoi
	mov	r2, r0
	ldr	r3, [fp, #-296]
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	str	r2, [r3, #-180]
	ldr	r3, [fp, #-296]
	add	r3, r3, #1
	str	r3, [fp, #-296]
.L15:
	ldr	r2, [fp, #-296]
	ldr	r3, [fp, #-272]
	cmp	r2, r3
	blt	.L16
	mov	r3, #0
	str	r3, [fp, #-292]
	b	.L17
.L18:
	ldr	r3, [fp, #-292]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r1, [r3, #-260]
	ldr	r3, [fp, #-292]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r2, [r3, #-180]
	ldr	r3, [fp, #-292]
	lsl	r3, r3, #2
	sub	r0, fp, #4
	add	r3, r0, r3
	ldr	r3, [r3, #-220]
	ldr	r0, .L26+20
	bl	printf
	ldr	r3, [fp, #-292]
	add	r3, r3, #1
	str	r3, [fp, #-292]
.L17:
	ldr	r2, [fp, #-292]
	ldr	r3, [fp, #-272]
	cmp	r2, r3
	blt	.L18
	ldr	r0, [fp, #-276]
	bl	fclose
	mov	r3, #0
	str	r3, [fp, #-284]
	b	.L19
.L23:
	ldr	r3, [fp, #-284]
	str	r3, [fp, #-288]
	ldr	r3, [fp, #-284]
	add	r3, r3, #1
	str	r3, [fp, #-280]
	b	.L20
.L22:
	ldr	r3, [fp, #-280]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r2, [r3, #-220]
	ldr	r3, [fp, #-288]
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	ldr	r3, [r3, #-220]
	cmp	r2, r3
	bge	.L21
	ldr	r3, [fp, #-280]
	str	r3, [fp, #-288]
.L21:
	ldr	r3, [fp, #-280]
	add	r3, r3, #1
	str	r3, [fp, #-280]
.L20:
	ldr	r2, [fp, #-280]
	ldr	r3, [fp, #-272]
	cmp	r2, r3
	blt	.L22
	ldr	r3, [fp, #-284]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-180]
	str	r3, [fp, #-268]
	ldr	r3, [fp, #-288]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r2, [r3, #-180]
	ldr	r3, [fp, #-284]
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	str	r2, [r3, #-180]
	ldr	r3, [fp, #-288]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r2, [fp, #-268]
	str	r2, [r3, #-180]
	ldr	r3, [fp, #-284]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-260]
	str	r3, [fp, #-268]
	ldr	r3, [fp, #-288]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r2, [r3, #-260]
	ldr	r3, [fp, #-284]
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	str	r2, [r3, #-260]
	ldr	r3, [fp, #-288]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r2, [fp, #-268]
	str	r2, [r3, #-260]
	ldr	r3, [fp, #-284]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-220]
	str	r3, [fp, #-268]
	ldr	r3, [fp, #-288]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r2, [r3, #-220]
	ldr	r3, [fp, #-284]
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	str	r2, [r3, #-220]
	ldr	r3, [fp, #-288]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r2, [fp, #-268]
	str	r2, [r3, #-220]
	ldr	r3, [fp, #-284]
	add	r3, r3, #1
	str	r3, [fp, #-284]
.L19:
	ldr	r2, [fp, #-284]
	ldr	r3, [fp, #-272]
	cmp	r2, r3
	blt	.L23
	sub	r2, fp, #184
	sub	r3, fp, #264
	ldr	r1, [fp, #-272]
	mov	r0, r3
	bl	findavgTime
	mov	r3, #0
	ldr	r2, .L26
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L25
	bl	__stack_chk_fail
.L25:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L27:
	.align	2
.L26:
	.word	.LC13
	.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
