	.file	"870027.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"Process AT\tBT\tET\tCT\tTAT\tWT"
.LC1:
	.string	"%d\t%d\t%d\t%d\t%d\t%d\t%d\n"
	.align 8
.LC2:
	.string	"Average turn-around time:- %.2f\n"
.LC3:
	.string	"Average waiting time:- %.2f\n"
	.text
	.globl	hybrid_schedule
	.type	hybrid_schedule, @function
hybrid_schedule:
.LFB6:
	.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	DWORD PTR -308[rbp], edi
	mov	QWORD PTR -320[rbp], rsi
	mov	QWORD PTR -328[rbp], rdx
	mov	QWORD PTR -336[rbp], rcx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -288[rbp], 0
	mov	DWORD PTR -284[rbp], 0
	mov	DWORD PTR -256[rbp], 1
	mov	DWORD PTR -252[rbp], 1
	mov	DWORD PTR -248[rbp], 1
	mov	DWORD PTR -244[rbp], 1
	mov	DWORD PTR -240[rbp], 1
	mov	DWORD PTR -236[rbp], 1
	mov	DWORD PTR -224[rbp], 0
	mov	DWORD PTR -220[rbp], 0
	mov	DWORD PTR -216[rbp], 0
	mov	DWORD PTR -212[rbp], 0
	mov	DWORD PTR -208[rbp], 0
	mov	DWORD PTR -204[rbp], 0
	mov	DWORD PTR -280[rbp], 0
	mov	DWORD PTR -276[rbp], 0
	mov	DWORD PTR -296[rbp], 0
	jmp	.L2
.L3:
	mov	eax, DWORD PTR -296[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -328[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -296[rbp]
	cdqe
	lea	rcx, 0[0+rax*4]
	mov	rax, QWORD PTR -336[rbp]
	add	rax, rcx
	mov	eax, DWORD PTR [rax]
	add	edx, eax
	mov	eax, DWORD PTR -296[rbp]
	cdqe
	mov	DWORD PTR -192[rbp+rax*4], edx
	add	DWORD PTR -296[rbp], 1
.L2:
	mov	eax, DWORD PTR -296[rbp]
	cmp	eax, DWORD PTR -308[rbp]
	jl	.L3
	mov	DWORD PTR -296[rbp], 0
	jmp	.L4
.L8:
	mov	eax, DWORD PTR -296[rbp]
	add	eax, 1
	mov	DWORD PTR -292[rbp], eax
	jmp	.L5
.L7:
	mov	eax, DWORD PTR -296[rbp]
	cdqe
	mov	edx, DWORD PTR -192[rbp+rax*4]
	mov	eax, DWORD PTR -292[rbp]
	cdqe
	mov	eax, DWORD PTR -192[rbp+rax*4]
	cmp	edx, eax
	jle	.L6
	mov	eax, DWORD PTR -296[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -320[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -260[rbp], eax
	mov	eax, DWORD PTR -292[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -320[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR -296[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*4]
	mov	rdx, QWORD PTR -320[rbp]
	add	rdx, rcx
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR [rdx], eax
	mov	eax, DWORD PTR -292[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -320[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -260[rbp]
	mov	DWORD PTR [rdx], eax
	mov	eax, DWORD PTR -296[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -328[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -260[rbp], eax
	mov	eax, DWORD PTR -292[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -328[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR -296[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*4]
	mov	rdx, QWORD PTR -328[rbp]
	add	rdx, rcx
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR [rdx], eax
	mov	eax, DWORD PTR -292[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -328[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -260[rbp]
	mov	DWORD PTR [rdx], eax
	mov	eax, DWORD PTR -296[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -336[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -260[rbp], eax
	mov	eax, DWORD PTR -292[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -336[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR -296[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*4]
	mov	rdx, QWORD PTR -336[rbp]
	add	rdx, rcx
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR [rdx], eax
	mov	eax, DWORD PTR -292[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -336[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -260[rbp]
	mov	DWORD PTR [rdx], eax
	mov	eax, DWORD PTR -296[rbp]
	cdqe
	mov	eax, DWORD PTR -192[rbp+rax*4]
	mov	DWORD PTR -260[rbp], eax
	mov	eax, DWORD PTR -292[rbp]
	cdqe
	mov	edx, DWORD PTR -192[rbp+rax*4]
	mov	eax, DWORD PTR -296[rbp]
	cdqe
	mov	DWORD PTR -192[rbp+rax*4], edx
	mov	eax, DWORD PTR -292[rbp]
	cdqe
	mov	edx, DWORD PTR -260[rbp]
	mov	DWORD PTR -192[rbp+rax*4], edx
.L6:
	add	DWORD PTR -292[rbp], 1
.L5:
	mov	eax, DWORD PTR -292[rbp]
	cmp	eax, DWORD PTR -308[rbp]
	jl	.L7
	add	DWORD PTR -296[rbp], 1
.L4:
	mov	eax, DWORD PTR -296[rbp]
	cmp	eax, DWORD PTR -308[rbp]
	jl	.L8
	mov	DWORD PTR -296[rbp], 0
	jmp	.L9
.L10:
	mov	eax, DWORD PTR -296[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -328[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -296[rbp]
	cdqe
	mov	DWORD PTR -48[rbp+rax*4], edx
	add	DWORD PTR -296[rbp], 1
.L9:
	mov	eax, DWORD PTR -296[rbp]
	cmp	eax, DWORD PTR -308[rbp]
	jl	.L10
	mov	DWORD PTR -296[rbp], 0
	jmp	.L11
.L15:
	mov	eax, DWORD PTR -296[rbp]
	add	eax, 1
	mov	DWORD PTR -292[rbp], eax
	jmp	.L12
.L14:
	mov	eax, DWORD PTR -296[rbp]
	cdqe
	mov	edx, DWORD PTR -48[rbp+rax*4]
	mov	eax, DWORD PTR -292[rbp]
	cdqe
	mov	eax, DWORD PTR -48[rbp+rax*4]
	cmp	edx, eax
	jle	.L13
	mov	eax, DWORD PTR -296[rbp]
	cdqe
	mov	eax, DWORD PTR -48[rbp+rax*4]
	mov	DWORD PTR -260[rbp], eax
	mov	eax, DWORD PTR -292[rbp]
	cdqe
	mov	edx, DWORD PTR -48[rbp+rax*4]
	mov	eax, DWORD PTR -296[rbp]
	cdqe
	mov	DWORD PTR -48[rbp+rax*4], edx
	mov	eax, DWORD PTR -292[rbp]
	cdqe
	mov	edx, DWORD PTR -260[rbp]
	mov	DWORD PTR -48[rbp+rax*4], edx
.L13:
	add	DWORD PTR -292[rbp], 1
.L12:
	mov	eax, DWORD PTR -292[rbp]
	cmp	eax, DWORD PTR -308[rbp]
	jl	.L14
	add	DWORD PTR -296[rbp], 1
.L11:
	mov	eax, DWORD PTR -296[rbp]
	cmp	eax, DWORD PTR -308[rbp]
	jl	.L15
	mov	edx, DWORD PTR -48[rbp]
	mov	rax, QWORD PTR -328[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	edx, eax
	jne	.L16
	mov	rax, QWORD PTR -328[rbp]
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -284[rbp], eax
	jmp	.L17
.L18:
	add	DWORD PTR -288[rbp], 1
	sub	DWORD PTR -284[rbp], 1
.L17:
	cmp	DWORD PTR -284[rbp], 0
	jne	.L18
	mov	rax, QWORD PTR -336[rbp]
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -288[rbp]
	add	eax, edx
	mov	DWORD PTR -224[rbp], eax
	mov	DWORD PTR -256[rbp], 0
	mov	DWORD PTR -296[rbp], 0
	jmp	.L19
.L24:
	mov	DWORD PTR -292[rbp], 1
	jmp	.L20
.L23:
	mov	eax, DWORD PTR -292[rbp]
	cdqe
	mov	eax, DWORD PTR -256[rbp+rax*4]
	test	eax, eax
	je	.L21
	mov	eax, DWORD PTR -292[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -328[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -296[rbp]
	cdqe
	mov	eax, DWORD PTR -224[rbp+rax*4]
	cmp	edx, eax
	jge	.L21
	mov	eax, DWORD PTR -296[rbp]
	cdqe
	mov	edx, DWORD PTR -224[rbp+rax*4]
	mov	eax, DWORD PTR -292[rbp]
	cdqe
	lea	rcx, 0[0+rax*4]
	mov	rax, QWORD PTR -336[rbp]
	add	rax, rcx
	mov	eax, DWORD PTR [rax]
	add	edx, eax
	mov	eax, DWORD PTR -292[rbp]
	cdqe
	mov	DWORD PTR -224[rbp+rax*4], edx
	mov	eax, DWORD PTR -292[rbp]
	cdqe
	mov	DWORD PTR -256[rbp+rax*4], 0
	jmp	.L22
.L21:
	add	DWORD PTR -292[rbp], 1
.L20:
	mov	eax, DWORD PTR -292[rbp]
	cmp	eax, DWORD PTR -308[rbp]
	jl	.L23
.L22:
	mov	eax, DWORD PTR -292[rbp]
	mov	DWORD PTR -296[rbp], eax
.L19:
	mov	eax, DWORD PTR -296[rbp]
	cmp	eax, DWORD PTR -308[rbp]
	jl	.L24
	jmp	.L25
.L16:
	mov	DWORD PTR -296[rbp], 1
	jmp	.L26
.L31:
	mov	edx, DWORD PTR -48[rbp]
	mov	eax, DWORD PTR -296[rbp]
	cdqe
	lea	rcx, 0[0+rax*4]
	mov	rax, QWORD PTR -328[rbp]
	add	rax, rcx
	mov	eax, DWORD PTR [rax]
	cmp	edx, eax
	jne	.L27
	mov	eax, DWORD PTR -296[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -328[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -284[rbp], eax
	jmp	.L28
.L29:
	add	DWORD PTR -288[rbp], 1
	sub	DWORD PTR -284[rbp], 1
.L28:
	cmp	DWORD PTR -284[rbp], 0
	jne	.L29
	mov	eax, DWORD PTR -296[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -336[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -288[rbp]
	add	edx, eax
	mov	eax, DWORD PTR -296[rbp]
	cdqe
	mov	DWORD PTR -224[rbp+rax*4], edx
	mov	eax, DWORD PTR -296[rbp]
	cdqe
	mov	DWORD PTR -256[rbp+rax*4], 0
	mov	eax, DWORD PTR -296[rbp]
	cdqe
	mov	eax, DWORD PTR -224[rbp+rax*4]
	mov	DWORD PTR -272[rbp], eax
	jmp	.L30
.L27:
	add	DWORD PTR -296[rbp], 1
.L26:
	mov	eax, DWORD PTR -296[rbp]
	cmp	eax, DWORD PTR -308[rbp]
	jl	.L31
.L30:
	mov	rax, QWORD PTR -336[rbp]
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -272[rbp]
	add	eax, edx
	mov	DWORD PTR -224[rbp], eax
	mov	DWORD PTR -256[rbp], 0
	mov	DWORD PTR -296[rbp], 0
	jmp	.L32
.L37:
	mov	eax, DWORD PTR -296[rbp]
	add	eax, 1
	mov	DWORD PTR -292[rbp], eax
	jmp	.L33
.L36:
	mov	eax, DWORD PTR -292[rbp]
	cdqe
	mov	eax, DWORD PTR -256[rbp+rax*4]
	test	eax, eax
	je	.L34
	mov	eax, DWORD PTR -292[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -328[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -296[rbp]
	cdqe
	mov	eax, DWORD PTR -224[rbp+rax*4]
	cmp	edx, eax
	jge	.L34
	mov	eax, DWORD PTR -296[rbp]
	cdqe
	mov	edx, DWORD PTR -224[rbp+rax*4]
	mov	eax, DWORD PTR -292[rbp]
	cdqe
	lea	rcx, 0[0+rax*4]
	mov	rax, QWORD PTR -336[rbp]
	add	rax, rcx
	mov	eax, DWORD PTR [rax]
	add	edx, eax
	mov	eax, DWORD PTR -292[rbp]
	cdqe
	mov	DWORD PTR -224[rbp+rax*4], edx
	mov	eax, DWORD PTR -292[rbp]
	cdqe
	mov	DWORD PTR -256[rbp+rax*4], 0
	jmp	.L35
.L34:
	add	DWORD PTR -292[rbp], 1
.L33:
	mov	eax, DWORD PTR -292[rbp]
	cmp	eax, DWORD PTR -308[rbp]
	jl	.L36
.L35:
	mov	eax, DWORD PTR -292[rbp]
	mov	DWORD PTR -296[rbp], eax
.L32:
	mov	eax, DWORD PTR -296[rbp]
	cmp	eax, DWORD PTR -308[rbp]
	jl	.L37
.L25:
	mov	DWORD PTR -296[rbp], 0
	jmp	.L38
.L39:
	mov	eax, DWORD PTR -296[rbp]
	cdqe
	mov	eax, DWORD PTR -224[rbp+rax*4]
	mov	edx, DWORD PTR -296[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*4]
	mov	rdx, QWORD PTR -328[rbp]
	add	rdx, rcx
	mov	ecx, DWORD PTR [rdx]
	sub	eax, ecx
	mov	edx, eax
	mov	eax, DWORD PTR -296[rbp]
	cdqe
	mov	DWORD PTR -144[rbp+rax*4], edx
	mov	eax, DWORD PTR -296[rbp]
	cdqe
	mov	eax, DWORD PTR -144[rbp+rax*4]
	add	DWORD PTR -280[rbp], eax
	mov	eax, DWORD PTR -296[rbp]
	cdqe
	mov	eax, DWORD PTR -144[rbp+rax*4]
	mov	edx, DWORD PTR -296[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*4]
	mov	rdx, QWORD PTR -336[rbp]
	add	rdx, rcx
	mov	ecx, DWORD PTR [rdx]
	sub	eax, ecx
	mov	edx, eax
	mov	eax, DWORD PTR -296[rbp]
	cdqe
	mov	DWORD PTR -96[rbp+rax*4], edx
	mov	eax, DWORD PTR -296[rbp]
	cdqe
	mov	eax, DWORD PTR -96[rbp+rax*4]
	add	DWORD PTR -276[rbp], eax
	add	DWORD PTR -296[rbp], 1
.L38:
	mov	eax, DWORD PTR -296[rbp]
	cmp	eax, DWORD PTR -308[rbp]
	jl	.L39
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, DWORD PTR -280[rbp]
	pxor	xmm1, xmm1
	cvtsi2ss	xmm1, DWORD PTR -308[rbp]
	divss	xmm0, xmm1
	movss	DWORD PTR -268[rbp], xmm0
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, DWORD PTR -276[rbp]
	pxor	xmm1, xmm1
	cvtsi2ss	xmm1, DWORD PTR -308[rbp]
	divss	xmm0, xmm1
	movss	DWORD PTR -264[rbp], xmm0
	lea	rdi, .LC0[rip]
	call	puts@PLT
	mov	DWORD PTR -296[rbp], 0
	jmp	.L40
.L41:
	mov	eax, DWORD PTR -296[rbp]
	cdqe
	mov	edi, DWORD PTR -96[rbp+rax*4]
	mov	eax, DWORD PTR -296[rbp]
	cdqe
	mov	esi, DWORD PTR -144[rbp+rax*4]
	mov	eax, DWORD PTR -296[rbp]
	cdqe
	mov	r9d, DWORD PTR -224[rbp+rax*4]
	mov	eax, DWORD PTR -296[rbp]
	cdqe
	mov	r8d, DWORD PTR -192[rbp+rax*4]
	mov	eax, DWORD PTR -296[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -336[rbp]
	add	rax, rdx
	mov	ecx, DWORD PTR [rax]
	mov	eax, DWORD PTR -296[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -328[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -296[rbp]
	cdqe
	lea	r10, 0[0+rax*4]
	mov	rax, QWORD PTR -320[rbp]
	add	rax, r10
	mov	eax, DWORD PTR [rax]
	push	rdi
	push	rsi
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	add	rsp, 16
	add	DWORD PTR -296[rbp], 1
.L40:
	mov	eax, DWORD PTR -296[rbp]
	cmp	eax, DWORD PTR -308[rbp]
	jl	.L41
	pxor	xmm2, xmm2
	cvtss2sd	xmm2, DWORD PTR -268[rbp]
	movq	rax, xmm2
	movq	xmm0, rax
	lea	rdi, .LC2[rip]
	mov	eax, 1
	call	printf@PLT
	pxor	xmm3, xmm3
	cvtss2sd	xmm3, DWORD PTR -264[rbp]
	movq	rax, xmm3
	movq	xmm0, rax
	lea	rdi, .LC3[rip]
	mov	eax, 1
	call	printf@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L42
	call	__stack_chk_fail@PLT
.L42:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	hybrid_schedule, .-hybrid_schedule
	.section	.rodata
.LC4:
	.string	"\nProcess\tBT\tTAT\tWT"
.LC5:
	.string	"\n%d\t%d\t%d\t%d"
.LC6:
	.string	"\n\nAverage Waiting Time=%f"
.LC7:
	.string	"\nAverage Turnaround Time=%f\n"
	.text
	.globl	sjf
	.type	sjf, @function
sjf:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 240
	mov	DWORD PTR -212[rbp], edi
	mov	QWORD PTR -224[rbp], rsi
	mov	QWORD PTR -232[rbp], rdx
	mov	QWORD PTR -240[rbp], rcx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -196[rbp], 0
	mov	DWORD PTR -204[rbp], 0
	jmp	.L44
.L48:
	mov	eax, DWORD PTR -204[rbp]
	mov	DWORD PTR -192[rbp], eax
	mov	eax, DWORD PTR -204[rbp]
	add	eax, 1
	mov	DWORD PTR -200[rbp], eax
	jmp	.L45
.L47:
	mov	eax, DWORD PTR -200[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -240[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -192[rbp]
	cdqe
	lea	rcx, 0[0+rax*4]
	mov	rax, QWORD PTR -240[rbp]
	add	rax, rcx
	mov	eax, DWORD PTR [rax]
	cmp	edx, eax
	jge	.L46
	mov	eax, DWORD PTR -200[rbp]
	mov	DWORD PTR -192[rbp], eax
.L46:
	add	DWORD PTR -200[rbp], 1
.L45:
	mov	eax, DWORD PTR -200[rbp]
	cmp	eax, DWORD PTR -212[rbp]
	jl	.L47
	mov	eax, DWORD PTR -204[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -240[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -180[rbp], eax
	mov	eax, DWORD PTR -192[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -240[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR -204[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*4]
	mov	rdx, QWORD PTR -240[rbp]
	add	rdx, rcx
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR [rdx], eax
	mov	eax, DWORD PTR -192[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -240[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -180[rbp]
	mov	DWORD PTR [rdx], eax
	mov	eax, DWORD PTR -204[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -224[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -180[rbp], eax
	mov	eax, DWORD PTR -192[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -224[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR -204[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*4]
	mov	rdx, QWORD PTR -224[rbp]
	add	rdx, rcx
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR [rdx], eax
	mov	eax, DWORD PTR -192[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -224[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -180[rbp]
	mov	DWORD PTR [rdx], eax
	add	DWORD PTR -204[rbp], 1
.L44:
	mov	eax, DWORD PTR -204[rbp]
	cmp	eax, DWORD PTR -212[rbp]
	jl	.L48
	mov	DWORD PTR -176[rbp], 0
	mov	DWORD PTR -204[rbp], 1
	jmp	.L49
.L52:
	mov	eax, DWORD PTR -204[rbp]
	cdqe
	mov	DWORD PTR -176[rbp+rax*4], 0
	mov	DWORD PTR -200[rbp], 0
	jmp	.L50
.L51:
	mov	eax, DWORD PTR -204[rbp]
	cdqe
	mov	edx, DWORD PTR -176[rbp+rax*4]
	mov	eax, DWORD PTR -200[rbp]
	cdqe
	lea	rcx, 0[0+rax*4]
	mov	rax, QWORD PTR -240[rbp]
	add	rax, rcx
	mov	eax, DWORD PTR [rax]
	add	edx, eax
	mov	eax, DWORD PTR -204[rbp]
	cdqe
	mov	DWORD PTR -176[rbp+rax*4], edx
	add	DWORD PTR -200[rbp], 1
.L50:
	mov	eax, DWORD PTR -200[rbp]
	cmp	eax, DWORD PTR -204[rbp]
	jl	.L51
	mov	eax, DWORD PTR -204[rbp]
	cdqe
	mov	eax, DWORD PTR -176[rbp+rax*4]
	add	DWORD PTR -196[rbp], eax
	add	DWORD PTR -204[rbp], 1
.L49:
	mov	eax, DWORD PTR -204[rbp]
	cmp	eax, DWORD PTR -212[rbp]
	jl	.L52
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, DWORD PTR -196[rbp]
	pxor	xmm1, xmm1
	cvtsi2ss	xmm1, DWORD PTR -212[rbp]
	divss	xmm0, xmm1
	movss	DWORD PTR -188[rbp], xmm0
	mov	DWORD PTR -196[rbp], 0
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -204[rbp], 0
	jmp	.L53
.L54:
	mov	eax, DWORD PTR -204[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -240[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -204[rbp]
	cdqe
	mov	eax, DWORD PTR -176[rbp+rax*4]
	add	edx, eax
	mov	eax, DWORD PTR -204[rbp]
	cdqe
	mov	DWORD PTR -96[rbp+rax*4], edx
	mov	eax, DWORD PTR -204[rbp]
	cdqe
	mov	eax, DWORD PTR -96[rbp+rax*4]
	add	DWORD PTR -196[rbp], eax
	mov	eax, DWORD PTR -204[rbp]
	cdqe
	mov	esi, DWORD PTR -176[rbp+rax*4]
	mov	eax, DWORD PTR -204[rbp]
	cdqe
	mov	ecx, DWORD PTR -96[rbp+rax*4]
	mov	eax, DWORD PTR -204[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -240[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -204[rbp]
	cdqe
	lea	rdi, 0[0+rax*4]
	mov	rax, QWORD PTR -224[rbp]
	add	rax, rdi
	mov	eax, DWORD PTR [rax]
	mov	r8d, esi
	mov	esi, eax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -204[rbp], 1
.L53:
	mov	eax, DWORD PTR -204[rbp]
	cmp	eax, DWORD PTR -212[rbp]
	jl	.L54
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, DWORD PTR -196[rbp]
	pxor	xmm1, xmm1
	cvtsi2ss	xmm1, DWORD PTR -212[rbp]
	divss	xmm0, xmm1
	movss	DWORD PTR -184[rbp], xmm0
	pxor	xmm2, xmm2
	cvtss2sd	xmm2, DWORD PTR -188[rbp]
	movq	rax, xmm2
	movq	xmm0, rax
	lea	rdi, .LC6[rip]
	mov	eax, 1
	call	printf@PLT
	pxor	xmm3, xmm3
	cvtss2sd	xmm3, DWORD PTR -184[rbp]
	movq	rax, xmm3
	movq	xmm0, rax
	lea	rdi, .LC7[rip]
	mov	eax, 1
	call	printf@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L55
	call	__stack_chk_fail@PLT
.L55:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	sjf, .-sjf
	.section	.rodata
.LC8:
	.string	"Process\tAT\tBT\tCT\tTAT\tWT"
.LC9:
	.string	"%d\t%d\t%d\t%d\t%d\t%d\n"
.LC10:
	.string	"Average waiting time = %.2f\n"
	.align 8
.LC11:
	.string	"Average turn-around time = %.2f\n"
	.text
	.globl	fcfs
	.type	fcfs, @function
fcfs:
.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, 168
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	mov	DWORD PTR -148[rbp], edi
	mov	QWORD PTR -160[rbp], rsi
	mov	QWORD PTR -168[rbp], rdx
	mov	QWORD PTR -176[rbp], rcx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rax
	xor	eax, eax
	mov	rax, rsp
	mov	rbx, rax
	mov	edx, DWORD PTR -148[rbp]
	movsx	rax, edx
	sub	rax, 1
	mov	QWORD PTR -104[rbp], rax
	movsx	rax, edx
	mov	QWORD PTR -192[rbp], rax
	mov	QWORD PTR -184[rbp], 0
	movsx	rax, edx
	mov	QWORD PTR -208[rbp], rax
	mov	QWORD PTR -200[rbp], 0
	movsx	rax, edx
	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
.L57:
	cmp	rsp, rdx
	je	.L58
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L57
.L58:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L59
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L59:
	mov	rax, rsp
	add	rax, 3
	shr	rax, 2
	sal	rax, 2
	mov	QWORD PTR -96[rbp], rax
	mov	eax, DWORD PTR -148[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
.L60:
	cmp	rsp, rdx
	je	.L61
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L60
.L61:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L62
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L62:
	mov	rax, rsp
	add	rax, 3
	shr	rax, 2
	sal	rax, 2
	mov	QWORD PTR -80[rbp], rax
	mov	eax, DWORD PTR -148[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
.L63:
	cmp	rsp, rdx
	je	.L64
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L63
.L64:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L65
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L65:
	mov	rax, rsp
	add	rax, 3
	shr	rax, 2
	sal	rax, 2
	mov	QWORD PTR -64[rbp], rax
	mov	DWORD PTR -136[rbp], 0
	mov	DWORD PTR -140[rbp], 0
	mov	DWORD PTR -120[rbp], 0
	jmp	.L66
.L67:
	mov	rax, QWORD PTR -80[rbp]
	mov	edx, DWORD PTR -120[rbp]
	movsx	rdx, edx
	mov	DWORD PTR [rax+rdx*4], 0
	mov	rax, QWORD PTR -96[rbp]
	mov	edx, DWORD PTR -120[rbp]
	movsx	rdx, edx
	mov	DWORD PTR [rax+rdx*4], 0
	add	DWORD PTR -120[rbp], 1
.L66:
	mov	eax, DWORD PTR -120[rbp]
	cmp	eax, DWORD PTR -148[rbp]
	jl	.L67
	mov	DWORD PTR -120[rbp], 0
	jmp	.L68
.L72:
	mov	eax, DWORD PTR -120[rbp]
	mov	DWORD PTR -128[rbp], eax
	mov	eax, DWORD PTR -120[rbp]
	add	eax, 1
	mov	DWORD PTR -124[rbp], eax
	jmp	.L69
.L71:
	mov	eax, DWORD PTR -124[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -168[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -128[rbp]
	cdqe
	lea	rcx, 0[0+rax*4]
	mov	rax, QWORD PTR -168[rbp]
	add	rax, rcx
	mov	eax, DWORD PTR [rax]
	cmp	edx, eax
	jge	.L70
	mov	eax, DWORD PTR -124[rbp]
	mov	DWORD PTR -128[rbp], eax
.L70:
	add	DWORD PTR -124[rbp], 1
.L69:
	mov	eax, DWORD PTR -124[rbp]
	cmp	eax, DWORD PTR -148[rbp]
	jl	.L71
	mov	eax, DWORD PTR -120[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -176[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -108[rbp], eax
	mov	eax, DWORD PTR -128[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -176[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR -120[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*4]
	mov	rdx, QWORD PTR -176[rbp]
	add	rdx, rcx
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR [rdx], eax
	mov	eax, DWORD PTR -128[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -176[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -108[rbp]
	mov	DWORD PTR [rdx], eax
	mov	eax, DWORD PTR -120[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -160[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -108[rbp], eax
	mov	eax, DWORD PTR -128[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -160[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR -120[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*4]
	mov	rdx, QWORD PTR -160[rbp]
	add	rdx, rcx
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR [rdx], eax
	mov	eax, DWORD PTR -128[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -160[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -108[rbp]
	mov	DWORD PTR [rdx], eax
	mov	eax, DWORD PTR -120[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -168[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -108[rbp], eax
	mov	eax, DWORD PTR -128[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -168[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR -120[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*4]
	mov	rdx, QWORD PTR -168[rbp]
	add	rdx, rcx
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR [rdx], eax
	mov	eax, DWORD PTR -128[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -168[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -108[rbp]
	mov	DWORD PTR [rdx], eax
	add	DWORD PTR -120[rbp], 1
.L68:
	mov	eax, DWORD PTR -120[rbp]
	cmp	eax, DWORD PTR -148[rbp]
	jl	.L72
	mov	rax, QWORD PTR -168[rbp]
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -176[rbp]
	mov	eax, DWORD PTR [rax]
	add	eax, edx
	mov	DWORD PTR -132[rbp], eax
	mov	rax, QWORD PTR -64[rbp]
	mov	edx, DWORD PTR -132[rbp]
	mov	DWORD PTR [rax], edx
	mov	DWORD PTR -120[rbp], 1
	jmp	.L73
.L74:
	mov	eax, DWORD PTR -120[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -176[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	add	DWORD PTR -132[rbp], eax
	mov	rax, QWORD PTR -64[rbp]
	mov	edx, DWORD PTR -120[rbp]
	movsx	rdx, edx
	mov	ecx, DWORD PTR -132[rbp]
	mov	DWORD PTR [rax+rdx*4], ecx
	add	DWORD PTR -120[rbp], 1
.L73:
	mov	eax, DWORD PTR -120[rbp]
	cmp	eax, DWORD PTR -148[rbp]
	jl	.L74
	mov	DWORD PTR -120[rbp], 0
	jmp	.L75
.L76:
	mov	rax, QWORD PTR -64[rbp]
	mov	edx, DWORD PTR -120[rbp]
	movsx	rdx, edx
	mov	eax, DWORD PTR [rax+rdx*4]
	mov	edx, DWORD PTR -120[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*4]
	mov	rdx, QWORD PTR -168[rbp]
	add	rdx, rcx
	mov	edx, DWORD PTR [rdx]
	sub	eax, edx
	mov	ecx, eax
	mov	rax, QWORD PTR -80[rbp]
	mov	edx, DWORD PTR -120[rbp]
	movsx	rdx, edx
	mov	DWORD PTR [rax+rdx*4], ecx
	mov	rax, QWORD PTR -80[rbp]
	mov	edx, DWORD PTR -120[rbp]
	movsx	rdx, edx
	mov	eax, DWORD PTR [rax+rdx*4]
	add	DWORD PTR -140[rbp], eax
	mov	rax, QWORD PTR -80[rbp]
	mov	edx, DWORD PTR -120[rbp]
	movsx	rdx, edx
	mov	eax, DWORD PTR [rax+rdx*4]
	mov	edx, DWORD PTR -120[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*4]
	mov	rdx, QWORD PTR -176[rbp]
	add	rdx, rcx
	mov	edx, DWORD PTR [rdx]
	sub	eax, edx
	mov	ecx, eax
	mov	rax, QWORD PTR -96[rbp]
	mov	edx, DWORD PTR -120[rbp]
	movsx	rdx, edx
	mov	DWORD PTR [rax+rdx*4], ecx
	mov	rax, QWORD PTR -96[rbp]
	mov	edx, DWORD PTR -120[rbp]
	movsx	rdx, edx
	mov	eax, DWORD PTR [rax+rdx*4]
	add	DWORD PTR -136[rbp], eax
	add	DWORD PTR -120[rbp], 1
.L75:
	mov	eax, DWORD PTR -120[rbp]
	cmp	eax, DWORD PTR -148[rbp]
	jl	.L76
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, DWORD PTR -140[rbp]
	pxor	xmm1, xmm1
	cvtsi2ss	xmm1, DWORD PTR -148[rbp]
	divss	xmm0, xmm1
	movss	DWORD PTR -116[rbp], xmm0
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, DWORD PTR -136[rbp]
	pxor	xmm1, xmm1
	cvtsi2ss	xmm1, DWORD PTR -148[rbp]
	divss	xmm0, xmm1
	movss	DWORD PTR -112[rbp], xmm0
	lea	rdi, .LC8[rip]
	call	puts@PLT
	mov	DWORD PTR -120[rbp], 0
	jmp	.L77
.L78:
	mov	rax, QWORD PTR -96[rbp]
	mov	edx, DWORD PTR -120[rbp]
	movsx	rdx, edx
	mov	esi, DWORD PTR [rax+rdx*4]
	mov	rax, QWORD PTR -80[rbp]
	mov	edx, DWORD PTR -120[rbp]
	movsx	rdx, edx
	mov	r8d, DWORD PTR [rax+rdx*4]
	mov	rax, QWORD PTR -64[rbp]
	mov	edx, DWORD PTR -120[rbp]
	movsx	rdx, edx
	mov	edi, DWORD PTR [rax+rdx*4]
	mov	eax, DWORD PTR -120[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -176[rbp]
	add	rax, rdx
	mov	ecx, DWORD PTR [rax]
	mov	eax, DWORD PTR -120[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -168[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -120[rbp]
	cdqe
	lea	r9, 0[0+rax*4]
	mov	rax, QWORD PTR -160[rbp]
	add	rax, r9
	mov	eax, DWORD PTR [rax]
	sub	rsp, 8
	push	rsi
	mov	r9d, r8d
	mov	r8d, edi
	mov	esi, eax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	add	rsp, 16
	add	DWORD PTR -120[rbp], 1
.L77:
	mov	eax, DWORD PTR -120[rbp]
	cmp	eax, DWORD PTR -148[rbp]
	jl	.L78
	pxor	xmm2, xmm2
	cvtss2sd	xmm2, DWORD PTR -112[rbp]
	movq	rax, xmm2
	movq	xmm0, rax
	lea	rdi, .LC10[rip]
	mov	eax, 1
	call	printf@PLT
	pxor	xmm3, xmm3
	cvtss2sd	xmm3, DWORD PTR -116[rbp]
	movq	rax, xmm3
	movq	xmm0, rax
	lea	rdi, .LC11[rip]
	mov	eax, 1
	call	printf@PLT
	mov	rsp, rbx
	nop
	mov	rax, QWORD PTR -56[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L79
	call	__stack_chk_fail@PLT
.L79:
	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	fcfs, .-fcfs
	.section	.rodata
	.align 8
.LC12:
	.string	"enter the number of processes:"
.LC13:
	.string	"%d"
	.align 8
.LC14:
	.string	"Enter the Process id, Arrival time and Burst time: "
.LC15:
	.string	"%d%d%d"
.LC16:
	.string	"using hybrid scheduling:"
.LC17:
	.string	"using sjf scheduling:"
.LC18:
	.string	"using fcfs scheduling:"
	.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, 160
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -152[rbp]
	mov	rsi, rax
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	DWORD PTR -148[rbp], 0
	jmp	.L81
.L82:
	lea	rdi, .LC14[rip]
	call	puts@PLT
	lea	rdx, -96[rbp]
	mov	eax, DWORD PTR -148[rbp]
	cdqe
	sal	rax, 2
	lea	rcx, [rdx+rax]
	lea	rdx, -144[rbp]
	mov	eax, DWORD PTR -148[rbp]
	cdqe
	sal	rax, 2
	add	rdx, rax
	lea	rsi, -48[rbp]
	mov	eax, DWORD PTR -148[rbp]
	cdqe
	sal	rax, 2
	add	rax, rsi
	mov	rsi, rax
	lea	rdi, .LC15[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	add	DWORD PTR -148[rbp], 1
.L81:
	mov	eax, DWORD PTR -152[rbp]
	cmp	DWORD PTR -148[rbp], eax
	jl	.L82
	lea	rdi, .LC16[rip]
	call	puts@PLT
	mov	eax, DWORD PTR -152[rbp]
	lea	rcx, -96[rbp]
	lea	rdx, -144[rbp]
	lea	rsi, -48[rbp]
	mov	edi, eax
	call	hybrid_schedule
	lea	rdi, .LC17[rip]
	call	puts@PLT
	mov	eax, DWORD PTR -152[rbp]
	lea	rcx, -96[rbp]
	lea	rdx, -144[rbp]
	lea	rsi, -48[rbp]
	mov	edi, eax
	call	sjf
	lea	rdi, .LC18[rip]
	call	puts@PLT
	mov	eax, DWORD PTR -152[rbp]
	lea	rcx, -96[rbp]
	lea	rdx, -144[rbp]
	lea	rsi, -48[rbp]
	mov	edi, eax
	call	fcfs
	mov	eax, 0
	mov	rdi, QWORD PTR -8[rbp]
	sub	rdi, QWORD PTR fs:40
	je	.L84
	call	__stack_chk_fail@PLT
.L84:
	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	"870027.c"
	.text
	.global	__aeabi_i2f
	.global	__aeabi_fdiv
	.section	.rodata
	.align	2
.LC1:
	.ascii	"Process AT\011BT\011ET\011CT\011TAT\011WT\000"
	.align	2
.LC2:
	.ascii	"%d\011%d\011%d\011%d\011%d\011%d\011%d\012\000"
	.global	__aeabi_f2d
	.align	2
.LC3:
	.ascii	"Average turn-around time:- %.2f\012\000"
	.align	2
.LC4:
	.ascii	"Average waiting time:- %.2f\012\000"
	.align	2
.LC0:
	.word	1
	.word	1
	.word	1
	.word	1
	.word	1
	.word	1
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	hybrid_schedule
	.syntax unified
	.arm
	.fpu softvfp
	.type	hybrid_schedule, %function
hybrid_schedule:
	@ args = 0, pretend = 0, frame = 272
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #288
	str	r0, [fp, #-272]
	str	r1, [fp, #-276]
	str	r2, [fp, #-280]
	str	r3, [fp, #-284]
	ldr	r3, .L43
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-256]
	mov	r3, #0
	str	r3, [fp, #-252]
	ldr	r3, .L43+4
	sub	ip, fp, #224
	mov	lr, r3
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1}
	stm	ip, {r0, r1}
	sub	r3, fp, #200
	mov	r2, #0
	str	r2, [r3]
	str	r2, [r3, #4]
	str	r2, [r3, #8]
	str	r2, [r3, #12]
	str	r2, [r3, #16]
	str	r2, [r3, #20]
	mov	r3, #0
	str	r3, [fp, #-248]
	mov	r3, #0
	str	r3, [fp, #-244]
	mov	r3, #0
	str	r3, [fp, #-264]
	b	.L2
.L3:
	ldr	r3, [fp, #-264]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-280]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-264]
	lsl	r3, r3, #2
	ldr	r1, [fp, #-284]
	add	r3, r1, r3
	ldr	r3, [r3]
	add	r2, r2, r3
	ldr	r3, [fp, #-264]
	lsl	r3, r3, #2
	sub	r1, fp, #12
	add	r3, r1, r3
	str	r2, [r3, #-164]
	ldr	r3, [fp, #-264]
	add	r3, r3, #1
	str	r3, [fp, #-264]
.L2:
	ldr	r2, [fp, #-264]
	ldr	r3, [fp, #-272]
	cmp	r2, r3
	blt	.L3
	mov	r3, #0
	str	r3, [fp, #-264]
	b	.L4
.L8:
	ldr	r3, [fp, #-264]
	add	r3, r3, #1
	str	r3, [fp, #-260]
	b	.L5
.L7:
	ldr	r3, [fp, #-264]
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r2, [r3, #-164]
	ldr	r3, [fp, #-260]
	lsl	r3, r3, #2
	sub	r1, fp, #12
	add	r3, r1, r3
	ldr	r3, [r3, #-164]
	cmp	r2, r3
	ble	.L6
	ldr	r3, [fp, #-264]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-276]
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-228]
	ldr	r3, [fp, #-260]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-276]
	add	r2, r2, r3
	ldr	r3, [fp, #-264]
	lsl	r3, r3, #2
	ldr	r1, [fp, #-276]
	add	r3, r1, r3
	ldr	r2, [r2]
	str	r2, [r3]
	ldr	r3, [fp, #-260]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-276]
	add	r3, r2, r3
	ldr	r2, [fp, #-228]
	str	r2, [r3]
	ldr	r3, [fp, #-264]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-280]
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-228]
	ldr	r3, [fp, #-260]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-280]
	add	r2, r2, r3
	ldr	r3, [fp, #-264]
	lsl	r3, r3, #2
	ldr	r1, [fp, #-280]
	add	r3, r1, r3
	ldr	r2, [r2]
	str	r2, [r3]
	ldr	r3, [fp, #-260]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-280]
	add	r3, r2, r3
	ldr	r2, [fp, #-228]
	str	r2, [r3]
	ldr	r3, [fp, #-264]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-284]
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-228]
	ldr	r3, [fp, #-260]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-284]
	add	r2, r2, r3
	ldr	r3, [fp, #-264]
	lsl	r3, r3, #2
	ldr	r1, [fp, #-284]
	add	r3, r1, r3
	ldr	r2, [r2]
	str	r2, [r3]
	ldr	r3, [fp, #-260]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-284]
	add	r3, r2, r3
	ldr	r2, [fp, #-228]
	str	r2, [r3]
	ldr	r3, [fp, #-264]
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r3, [r3, #-164]
	str	r3, [fp, #-228]
	ldr	r3, [fp, #-260]
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r2, [r3, #-164]
	ldr	r3, [fp, #-264]
	lsl	r3, r3, #2
	sub	r1, fp, #12
	add	r3, r1, r3
	str	r2, [r3, #-164]
	ldr	r3, [fp, #-260]
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r2, [fp, #-228]
	str	r2, [r3, #-164]
.L6:
	ldr	r3, [fp, #-260]
	add	r3, r3, #1
	str	r3, [fp, #-260]
.L5:
	ldr	r2, [fp, #-260]
	ldr	r3, [fp, #-272]
	cmp	r2, r3
	blt	.L7
	ldr	r3, [fp, #-264]
	add	r3, r3, #1
	str	r3, [fp, #-264]
.L4:
	ldr	r2, [fp, #-264]
	ldr	r3, [fp, #-272]
	cmp	r2, r3
	blt	.L8
	mov	r3, #0
	str	r3, [fp, #-264]
	b	.L9
.L10:
	ldr	r3, [fp, #-264]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-280]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-264]
	lsl	r3, r3, #2
	sub	r1, fp, #12
	add	r3, r1, r3
	str	r2, [r3, #-44]
	ldr	r3, [fp, #-264]
	add	r3, r3, #1
	str	r3, [fp, #-264]
.L9:
	ldr	r2, [fp, #-264]
	ldr	r3, [fp, #-272]
	cmp	r2, r3
	blt	.L10
	mov	r3, #0
	str	r3, [fp, #-264]
	b	.L11
.L15:
	ldr	r3, [fp, #-264]
	add	r3, r3, #1
	str	r3, [fp, #-260]
	b	.L12
.L14:
	ldr	r3, [fp, #-264]
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r2, [r3, #-44]
	ldr	r3, [fp, #-260]
	lsl	r3, r3, #2
	sub	r1, fp, #12
	add	r3, r1, r3
	ldr	r3, [r3, #-44]
	cmp	r2, r3
	ble	.L13
	ldr	r3, [fp, #-264]
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r3, [r3, #-44]
	str	r3, [fp, #-228]
	ldr	r3, [fp, #-260]
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r2, [r3, #-44]
	ldr	r3, [fp, #-264]
	lsl	r3, r3, #2
	sub	r1, fp, #12
	add	r3, r1, r3
	str	r2, [r3, #-44]
	ldr	r3, [fp, #-260]
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r2, [fp, #-228]
	str	r2, [r3, #-44]
.L13:
	ldr	r3, [fp, #-260]
	add	r3, r3, #1
	str	r3, [fp, #-260]
.L12:
	ldr	r2, [fp, #-260]
	ldr	r3, [fp, #-272]
	cmp	r2, r3
	blt	.L14
	ldr	r3, [fp, #-264]
	add	r3, r3, #1
	str	r3, [fp, #-264]
.L11:
	ldr	r2, [fp, #-264]
	ldr	r3, [fp, #-272]
	cmp	r2, r3
	blt	.L15
	ldr	r2, [fp, #-56]
	ldr	r3, [fp, #-280]
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L16
	ldr	r3, [fp, #-280]
	ldr	r3, [r3]
	str	r3, [fp, #-252]
	b	.L17
.L18:
	ldr	r3, [fp, #-256]
	add	r3, r3, #1
	str	r3, [fp, #-256]
	ldr	r3, [fp, #-252]
	sub	r3, r3, #1
	str	r3, [fp, #-252]
.L17:
	ldr	r3, [fp, #-252]
	cmp	r3, #0
	bne	.L18
	ldr	r3, [fp, #-284]
	ldr	r2, [r3]
	ldr	r3, [fp, #-256]
	add	r3, r2, r3
	str	r3, [fp, #-200]
	mov	r3, #0
	str	r3, [fp, #-224]
	mov	r3, #0
	str	r3, [fp, #-264]
	b	.L19
.L24:
	mov	r3, #1
	str	r3, [fp, #-260]
	b	.L20
.L23:
	ldr	r3, [fp, #-260]
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r3, [r3, #-212]
	cmp	r3, #0
	beq	.L21
	ldr	r3, [fp, #-260]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-280]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-264]
	lsl	r3, r3, #2
	sub	r1, fp, #12
	add	r3, r1, r3
	ldr	r3, [r3, #-188]
	cmp	r2, r3
	bge	.L21
	ldr	r3, [fp, #-264]
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r2, [r3, #-188]
	ldr	r3, [fp, #-260]
	lsl	r3, r3, #2
	ldr	r1, [fp, #-284]
	add	r3, r1, r3
	ldr	r3, [r3]
	add	r2, r2, r3
	ldr	r3, [fp, #-260]
	lsl	r3, r3, #2
	sub	r1, fp, #12
	add	r3, r1, r3
	str	r2, [r3, #-188]
	ldr	r3, [fp, #-260]
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	mov	r2, #0
	str	r2, [r3, #-212]
	b	.L22
.L21:
	ldr	r3, [fp, #-260]
	add	r3, r3, #1
	str	r3, [fp, #-260]
.L20:
	ldr	r2, [fp, #-260]
	ldr	r3, [fp, #-272]
	cmp	r2, r3
	blt	.L23
.L22:
	ldr	r3, [fp, #-260]
	str	r3, [fp, #-264]
.L19:
	ldr	r2, [fp, #-264]
	ldr	r3, [fp, #-272]
	cmp	r2, r3
	blt	.L24
	b	.L25
.L16:
	mov	r3, #1
	str	r3, [fp, #-264]
	b	.L26
.L31:
	ldr	r2, [fp, #-56]
	ldr	r3, [fp, #-264]
	lsl	r3, r3, #2
	ldr	r1, [fp, #-280]
	add	r3, r1, r3
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L27
	ldr	r3, [fp, #-264]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-280]
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-252]
	b	.L28
.L29:
	ldr	r3, [fp, #-256]
	add	r3, r3, #1
	str	r3, [fp, #-256]
	ldr	r3, [fp, #-252]
	sub	r3, r3, #1
	str	r3, [fp, #-252]
.L28:
	ldr	r3, [fp, #-252]
	cmp	r3, #0
	bne	.L29
	ldr	r3, [fp, #-264]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-284]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-256]
	add	r2, r2, r3
	ldr	r3, [fp, #-264]
	lsl	r3, r3, #2
	sub	r1, fp, #12
	add	r3, r1, r3
	str	r2, [r3, #-188]
	ldr	r3, [fp, #-264]
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	mov	r2, #0
	str	r2, [r3, #-212]
	ldr	r3, [fp, #-264]
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r3, [r3, #-188]
	str	r3, [fp, #-240]
	b	.L30
.L27:
	ldr	r3, [fp, #-264]
	add	r3, r3, #1
	str	r3, [fp, #-264]
.L26:
	ldr	r2, [fp, #-264]
	ldr	r3, [fp, #-272]
	cmp	r2, r3
	blt	.L31
.L30:
	ldr	r3, [fp, #-284]
	ldr	r2, [r3]
	ldr	r3, [fp, #-240]
	add	r3, r2, r3
	str	r3, [fp, #-200]
	mov	r3, #0
	str	r3, [fp, #-224]
	mov	r3, #0
	str	r3, [fp, #-264]
	b	.L32
.L37:
	ldr	r3, [fp, #-264]
	add	r3, r3, #1
	str	r3, [fp, #-260]
	b	.L33
.L36:
	ldr	r3, [fp, #-260]
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r3, [r3, #-212]
	cmp	r3, #0
	beq	.L34
	ldr	r3, [fp, #-260]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-280]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-264]
	lsl	r3, r3, #2
	sub	r1, fp, #12
	add	r3, r1, r3
	ldr	r3, [r3, #-188]
	cmp	r2, r3
	bge	.L34
	ldr	r3, [fp, #-264]
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r2, [r3, #-188]
	ldr	r3, [fp, #-260]
	lsl	r3, r3, #2
	ldr	r1, [fp, #-284]
	add	r3, r1, r3
	ldr	r3, [r3]
	add	r2, r2, r3
	ldr	r3, [fp, #-260]
	lsl	r3, r3, #2
	sub	r1, fp, #12
	add	r3, r1, r3
	str	r2, [r3, #-188]
	ldr	r3, [fp, #-260]
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	mov	r2, #0
	str	r2, [r3, #-212]
	b	.L35
.L34:
	ldr	r3, [fp, #-260]
	add	r3, r3, #1
	str	r3, [fp, #-260]
.L33:
	ldr	r2, [fp, #-260]
	ldr	r3, [fp, #-272]
	cmp	r2, r3
	blt	.L36
.L35:
	ldr	r3, [fp, #-260]
	str	r3, [fp, #-264]
.L32:
	ldr	r2, [fp, #-264]
	ldr	r3, [fp, #-272]
	cmp	r2, r3
	blt	.L37
.L25:
	mov	r3, #0
	str	r3, [fp, #-264]
	b	.L38
.L39:
	ldr	r3, [fp, #-264]
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r2, [r3, #-188]
	ldr	r3, [fp, #-264]
	lsl	r3, r3, #2
	ldr	r1, [fp, #-280]
	add	r3, r1, r3
	ldr	r3, [r3]
	sub	r2, r2, r3
	ldr	r3, [fp, #-264]
	lsl	r3, r3, #2
	sub	r1, fp, #12
	add	r3, r1, r3
	str	r2, [r3, #-124]
	ldr	r3, [fp, #-264]
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r3, [r3, #-124]
	ldr	r2, [fp, #-248]
	add	r3, r2, r3
	str	r3, [fp, #-248]
	ldr	r3, [fp, #-264]
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r2, [r3, #-124]
	ldr	r3, [fp, #-264]
	lsl	r3, r3, #2
	ldr	r1, [fp, #-284]
	add	r3, r1, r3
	ldr	r3, [r3]
	sub	r2, r2, r3
	ldr	r3, [fp, #-264]
	lsl	r3, r3, #2
	sub	r1, fp, #12
	add	r3, r1, r3
	str	r2, [r3, #-84]
	ldr	r3, [fp, #-264]
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r3, [r3, #-84]
	ldr	r2, [fp, #-244]
	add	r3, r2, r3
	str	r3, [fp, #-244]
	ldr	r3, [fp, #-264]
	add	r3, r3, #1
	str	r3, [fp, #-264]
.L38:
	ldr	r2, [fp, #-264]
	ldr	r3, [fp, #-272]
	cmp	r2, r3
	blt	.L39
	ldr	r0, [fp, #-248]
	bl	__aeabi_i2f
	mov	r4, r0
	ldr	r0, [fp, #-272]
	bl	__aeabi_i2f
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	__aeabi_fdiv
	mov	r3, r0
	str	r3, [fp, #-236]	@ float
	ldr	r0, [fp, #-244]
	bl	__aeabi_i2f
	mov	r4, r0
	ldr	r0, [fp, #-272]
	bl	__aeabi_i2f
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	__aeabi_fdiv
	mov	r3, r0
	str	r3, [fp, #-232]	@ float
	ldr	r0, .L43+8
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-264]
	b	.L40
.L41:
	ldr	r3, [fp, #-264]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-276]
	add	r3, r2, r3
	ldr	ip, [r3]
	ldr	r3, [fp, #-264]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-280]
	add	r3, r2, r3
	ldr	lr, [r3]
	ldr	r3, [fp, #-264]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-284]
	add	r3, r2, r3
	ldr	r4, [r3]
	ldr	r3, [fp, #-264]
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r2, [r3, #-164]
	ldr	r3, [fp, #-264]
	lsl	r3, r3, #2
	sub	r1, fp, #12
	add	r3, r1, r3
	ldr	r1, [r3, #-188]
	ldr	r3, [fp, #-264]
	lsl	r3, r3, #2
	sub	r0, fp, #12
	add	r3, r0, r3
	ldr	r0, [r3, #-124]
	ldr	r3, [fp, #-264]
	lsl	r3, r3, #2
	sub	r5, fp, #12
	add	r3, r5, r3
	ldr	r3, [r3, #-84]
	str	r3, [sp, #12]
	str	r0, [sp, #8]
	str	r1, [sp, #4]
	str	r2, [sp]
	mov	r3, r4
	mov	r2, lr
	mov	r1, ip
	ldr	r0, .L43+12
	bl	printf
	ldr	r3, [fp, #-264]
	add	r3, r3, #1
	str	r3, [fp, #-264]
.L40:
	ldr	r2, [fp, #-264]
	ldr	r3, [fp, #-272]
	cmp	r2, r3
	blt	.L41
	ldr	r0, [fp, #-236]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L43+16
	bl	printf
	ldr	r0, [fp, #-232]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L43+20
	bl	printf
	nop
	ldr	r3, .L43
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L42
	bl	__stack_chk_fail
.L42:
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L44:
	.align	2
.L43:
	.word	.LC5
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.size	hybrid_schedule, .-hybrid_schedule
	.section	.rodata
	.align	2
.LC6:
	.ascii	"\012Process\011BT\011TAT\011WT\000"
	.align	2
.LC7:
	.ascii	"\012%d\011%d\011%d\011%d\000"
	.align	2
.LC8:
	.ascii	"\012\012Average Waiting Time=%f\000"
	.align	2
.LC9:
	.ascii	"\012Average Turnaround Time=%f\012\000"
	.align	2
.LC10:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	sjf
	.syntax unified
	.arm
	.fpu softvfp
	.type	sjf, %function
sjf:
	@ args = 0, pretend = 0, frame = 208
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #220
	str	r0, [fp, #-208]
	str	r1, [fp, #-212]
	str	r2, [fp, #-216]
	str	r3, [fp, #-220]
	ldr	r3, .L58
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-196]
	mov	r3, #0
	str	r3, [fp, #-204]
	b	.L46
.L50:
	ldr	r3, [fp, #-204]
	str	r3, [fp, #-192]
	ldr	r3, [fp, #-204]
	add	r3, r3, #1
	str	r3, [fp, #-200]
	b	.L47
.L49:
	ldr	r3, [fp, #-200]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-220]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-192]
	lsl	r3, r3, #2
	ldr	r1, [fp, #-220]
	add	r3, r1, r3
	ldr	r3, [r3]
	cmp	r2, r3
	bge	.L48
	ldr	r3, [fp, #-200]
	str	r3, [fp, #-192]
.L48:
	ldr	r3, [fp, #-200]
	add	r3, r3, #1
	str	r3, [fp, #-200]
.L47:
	ldr	r2, [fp, #-200]
	ldr	r3, [fp, #-208]
	cmp	r2, r3
	blt	.L49
	ldr	r3, [fp, #-204]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-220]
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-180]
	ldr	r3, [fp, #-192]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-220]
	add	r2, r2, r3
	ldr	r3, [fp, #-204]
	lsl	r3, r3, #2
	ldr	r1, [fp, #-220]
	add	r3, r1, r3
	ldr	r2, [r2]
	str	r2, [r3]
	ldr	r3, [fp, #-192]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-220]
	add	r3, r2, r3
	ldr	r2, [fp, #-180]
	str	r2, [r3]
	ldr	r3, [fp, #-204]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-212]
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-180]
	ldr	r3, [fp, #-192]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-212]
	add	r2, r2, r3
	ldr	r3, [fp, #-204]
	lsl	r3, r3, #2
	ldr	r1, [fp, #-212]
	add	r3, r1, r3
	ldr	r2, [r2]
	str	r2, [r3]
	ldr	r3, [fp, #-192]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-212]
	add	r3, r2, r3
	ldr	r2, [fp, #-180]
	str	r2, [r3]
	ldr	r3, [fp, #-204]
	add	r3, r3, #1
	str	r3, [fp, #-204]
.L46:
	ldr	r2, [fp, #-204]
	ldr	r3, [fp, #-208]
	cmp	r2, r3
	blt	.L50
	mov	r3, #0
	str	r3, [fp, #-176]
	mov	r3, #1
	str	r3, [fp, #-204]
	b	.L51
.L54:
	ldr	r3, [fp, #-204]
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	mov	r2, #0
	str	r2, [r3, #-164]
	mov	r3, #0
	str	r3, [fp, #-200]
	b	.L52
.L53:
	ldr	r3, [fp, #-204]
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r2, [r3, #-164]
	ldr	r3, [fp, #-200]
	lsl	r3, r3, #2
	ldr	r1, [fp, #-220]
	add	r3, r1, r3
	ldr	r3, [r3]
	add	r2, r2, r3
	ldr	r3, [fp, #-204]
	lsl	r3, r3, #2
	sub	r1, fp, #12
	add	r3, r1, r3
	str	r2, [r3, #-164]
	ldr	r3, [fp, #-200]
	add	r3, r3, #1
	str	r3, [fp, #-200]
.L52:
	ldr	r2, [fp, #-200]
	ldr	r3, [fp, #-204]
	cmp	r2, r3
	blt	.L53
	ldr	r3, [fp, #-204]
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r3, [r3, #-164]
	ldr	r2, [fp, #-196]
	add	r3, r2, r3
	str	r3, [fp, #-196]
	ldr	r3, [fp, #-204]
	add	r3, r3, #1
	str	r3, [fp, #-204]
.L51:
	ldr	r2, [fp, #-204]
	ldr	r3, [fp, #-208]
	cmp	r2, r3
	blt	.L54
	ldr	r0, [fp, #-196]
	bl	__aeabi_i2f
	mov	r4, r0
	ldr	r0, [fp, #-208]
	bl	__aeabi_i2f
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	__aeabi_fdiv
	mov	r3, r0
	str	r3, [fp, #-188]	@ float
	mov	r3, #0
	str	r3, [fp, #-196]
	ldr	r0, .L58+4
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-204]
	b	.L55
.L56:
	ldr	r3, [fp, #-204]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-220]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-204]
	lsl	r3, r3, #2
	sub	r1, fp, #12
	add	r3, r1, r3
	ldr	r3, [r3, #-164]
	add	r2, r2, r3
	ldr	r3, [fp, #-204]
	lsl	r3, r3, #2
	sub	r1, fp, #12
	add	r3, r1, r3
	str	r2, [r3, #-84]
	ldr	r3, [fp, #-204]
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r3, [r3, #-84]
	ldr	r2, [fp, #-196]
	add	r3, r2, r3
	str	r3, [fp, #-196]
	ldr	r3, [fp, #-204]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-212]
	add	r3, r2, r3
	ldr	r1, [r3]
	ldr	r3, [fp, #-204]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-220]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-204]
	lsl	r3, r3, #2
	sub	r0, fp, #12
	add	r3, r0, r3
	ldr	r0, [r3, #-84]
	ldr	r3, [fp, #-204]
	lsl	r3, r3, #2
	sub	ip, fp, #12
	add	r3, ip, r3
	ldr	r3, [r3, #-164]
	str	r3, [sp]
	mov	r3, r0
	ldr	r0, .L58+8
	bl	printf
	ldr	r3, [fp, #-204]
	add	r3, r3, #1
	str	r3, [fp, #-204]
.L55:
	ldr	r2, [fp, #-204]
	ldr	r3, [fp, #-208]
	cmp	r2, r3
	blt	.L56
	ldr	r0, [fp, #-196]
	bl	__aeabi_i2f
	mov	r4, r0
	ldr	r0, [fp, #-208]
	bl	__aeabi_i2f
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	__aeabi_fdiv
	mov	r3, r0
	str	r3, [fp, #-184]	@ float
	ldr	r0, [fp, #-188]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L58+12
	bl	printf
	ldr	r0, [fp, #-184]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L58+16
	bl	printf
	nop
	ldr	r3, .L58
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L57
	bl	__stack_chk_fail
.L57:
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L59:
	.align	2
.L58:
	.word	.LC10
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.size	sjf, .-sjf
	.section	.rodata
	.align	2
.LC11:
	.ascii	"Process\011AT\011BT\011CT\011TAT\011WT\000"
	.align	2
.LC12:
	.ascii	"%d\011%d\011%d\011%d\011%d\011%d\012\000"
	.align	2
.LC13:
	.ascii	"Average waiting time = %.2f\012\000"
	.align	2
.LC14:
	.ascii	"Average turn-around time = %.2f\012\000"
	.align	2
.LC15:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	fcfs
	.syntax unified
	.arm
	.fpu softvfp
	.type	fcfs, %function
fcfs:
	@ args = 0, pretend = 0, frame = 80
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #96
	str	r0, [fp, #-80]
	str	r1, [fp, #-84]
	str	r2, [fp, #-88]
	str	r3, [fp, #-92]
	ldr	r3, .L75
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, sp
	mov	r5, r3
	ldr	ip, [fp, #-80]
	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, #16
	add	r3, r3, #3
	lsr	r3, r3, #2
	lsl	r3, r3, #2
	str	r3, [fp, #-48]
	ldr	ip, [fp, #-80]
	sub	r3, ip, #1
	str	r3, [fp, #-44]
	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, #16
	add	r3, r3, #3
	lsr	r3, r3, #2
	lsl	r3, r3, #2
	str	r3, [fp, #-40]
	ldr	ip, [fp, #-80]
	sub	r3, ip, #1
	str	r3, [fp, #-36]
	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, #16
	add	r3, r3, #3
	lsr	r3, r3, #2
	lsl	r3, r3, #2
	str	r3, [fp, #-32]
	mov	r3, #0
	str	r3, [fp, #-72]
	mov	r3, #0
	str	r3, [fp, #-76]
	mov	r3, #0
	str	r3, [fp, #-56]
	b	.L61
.L62:
	ldr	r3, [fp, #-40]
	ldr	r2, [fp, #-56]
	mov	r1, #0
	str	r1, [r3, r2, lsl #2]
	ldr	r3, [fp, #-48]
	ldr	r2, [fp, #-56]
	mov	r1, #0
	str	r1, [r3, r2, lsl #2]
	ldr	r3, [fp, #-56]
	add	r3, r3, #1
	str	r3, [fp, #-56]
.L61:
	ldr	r2, [fp, #-56]
	ldr	r3, [fp, #-80]
	cmp	r2, r3
	blt	.L62
	mov	r3, #0
	str	r3, [fp, #-56]
	b	.L63
.L67:
	ldr	r3, [fp, #-56]
	str	r3, [fp, #-64]
	ldr	r3, [fp, #-56]
	add	r3, r3, #1
	str	r3, [fp, #-60]
	b	.L64
.L66:
	ldr	r3, [fp, #-60]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-88]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-64]
	lsl	r3, r3, #2
	ldr	r1, [fp, #-88]
	add	r3, r1, r3
	ldr	r3, [r3]
	cmp	r2, r3
	bge	.L65
	ldr	r3, [fp, #-60]
	str	r3, [fp, #-64]
.L65:
	ldr	r3, [fp, #-60]
	add	r3, r3, #1
	str	r3, [fp, #-60]
.L64:
	ldr	r2, [fp, #-60]
	ldr	r3, [fp, #-80]
	cmp	r2, r3
	blt	.L66
	ldr	r3, [fp, #-56]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-92]
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-64]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-92]
	add	r2, r2, r3
	ldr	r3, [fp, #-56]
	lsl	r3, r3, #2
	ldr	r1, [fp, #-92]
	add	r3, r1, r3
	ldr	r2, [r2]
	str	r2, [r3]
	ldr	r3, [fp, #-64]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-92]
	add	r3, r2, r3
	ldr	r2, [fp, #-20]
	str	r2, [r3]
	ldr	r3, [fp, #-56]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-84]
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-64]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-84]
	add	r2, r2, r3
	ldr	r3, [fp, #-56]
	lsl	r3, r3, #2
	ldr	r1, [fp, #-84]
	add	r3, r1, r3
	ldr	r2, [r2]
	str	r2, [r3]
	ldr	r3, [fp, #-64]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-84]
	add	r3, r2, r3
	ldr	r2, [fp, #-20]
	str	r2, [r3]
	ldr	r3, [fp, #-56]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-88]
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-64]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-88]
	add	r2, r2, r3
	ldr	r3, [fp, #-56]
	lsl	r3, r3, #2
	ldr	r1, [fp, #-88]
	add	r3, r1, r3
	ldr	r2, [r2]
	str	r2, [r3]
	ldr	r3, [fp, #-64]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-88]
	add	r3, r2, r3
	ldr	r2, [fp, #-20]
	str	r2, [r3]
	ldr	r3, [fp, #-56]
	add	r3, r3, #1
	str	r3, [fp, #-56]
.L63:
	ldr	r2, [fp, #-56]
	ldr	r3, [fp, #-80]
	cmp	r2, r3
	blt	.L67
	ldr	r3, [fp, #-88]
	ldr	r2, [r3]
	ldr	r3, [fp, #-92]
	ldr	r3, [r3]
	add	r3, r2, r3
	str	r3, [fp, #-68]
	ldr	r3, [fp, #-32]
	ldr	r2, [fp, #-68]
	str	r2, [r3]
	mov	r3, #1
	str	r3, [fp, #-56]
	b	.L68
.L69:
	ldr	r3, [fp, #-56]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-92]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, [fp, #-68]
	add	r3, r2, r3
	str	r3, [fp, #-68]
	ldr	r3, [fp, #-32]
	ldr	r2, [fp, #-56]
	ldr	r1, [fp, #-68]
	str	r1, [r3, r2, lsl #2]
	ldr	r3, [fp, #-56]
	add	r3, r3, #1
	str	r3, [fp, #-56]
.L68:
	ldr	r2, [fp, #-56]
	ldr	r3, [fp, #-80]
	cmp	r2, r3
	blt	.L69
	mov	r3, #0
	str	r3, [fp, #-56]
	b	.L70
.L71:
	ldr	r3, [fp, #-32]
	ldr	r2, [fp, #-56]
	ldr	r2, [r3, r2, lsl #2]
	ldr	r3, [fp, #-56]
	lsl	r3, r3, #2
	ldr	r1, [fp, #-88]
	add	r3, r1, r3
	ldr	r3, [r3]
	sub	r1, r2, r3
	ldr	r3, [fp, #-40]
	ldr	r2, [fp, #-56]
	str	r1, [r3, r2, lsl #2]
	ldr	r3, [fp, #-40]
	ldr	r2, [fp, #-56]
	ldr	r3, [r3, r2, lsl #2]
	ldr	r2, [fp, #-76]
	add	r3, r2, r3
	str	r3, [fp, #-76]
	ldr	r3, [fp, #-40]
	ldr	r2, [fp, #-56]
	ldr	r2, [r3, r2, lsl #2]
	ldr	r3, [fp, #-56]
	lsl	r3, r3, #2
	ldr	r1, [fp, #-92]
	add	r3, r1, r3
	ldr	r3, [r3]
	sub	r1, r2, r3
	ldr	r3, [fp, #-48]
	ldr	r2, [fp, #-56]
	str	r1, [r3, r2, lsl #2]
	ldr	r3, [fp, #-48]
	ldr	r2, [fp, #-56]
	ldr	r3, [r3, r2, lsl #2]
	ldr	r2, [fp, #-72]
	add	r3, r2, r3
	str	r3, [fp, #-72]
	ldr	r3, [fp, #-56]
	add	r3, r3, #1
	str	r3, [fp, #-56]
.L70:
	ldr	r2, [fp, #-56]
	ldr	r3, [fp, #-80]
	cmp	r2, r3
	blt	.L71
	ldr	r0, [fp, #-76]
	bl	__aeabi_i2f
	mov	r4, r0
	ldr	r0, [fp, #-80]
	bl	__aeabi_i2f
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	__aeabi_fdiv
	mov	r3, r0
	str	r3, [fp, #-28]	@ float
	ldr	r0, [fp, #-72]
	bl	__aeabi_i2f
	mov	r4, r0
	ldr	r0, [fp, #-80]
	bl	__aeabi_i2f
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	__aeabi_fdiv
	mov	r3, r0
	str	r3, [fp, #-24]	@ float
	ldr	r0, .L75+4
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-56]
	b	.L72
.L73:
	ldr	r3, [fp, #-56]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-84]
	add	r3, r2, r3
	ldr	ip, [r3]
	ldr	r3, [fp, #-56]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-88]
	add	r3, r2, r3
	ldr	lr, [r3]
	ldr	r3, [fp, #-56]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-92]
	add	r3, r2, r3
	ldr	r4, [r3]
	ldr	r3, [fp, #-32]
	ldr	r2, [fp, #-56]
	ldr	r3, [r3, r2, lsl #2]
	ldr	r2, [fp, #-40]
	ldr	r1, [fp, #-56]
	ldr	r2, [r2, r1, lsl #2]
	ldr	r1, [fp, #-48]
	ldr	r0, [fp, #-56]
	ldr	r1, [r1, r0, lsl #2]
	str	r1, [sp, #8]
	str	r2, [sp, #4]
	str	r3, [sp]
	mov	r3, r4
	mov	r2, lr
	mov	r1, ip
	ldr	r0, .L75+8
	bl	printf
	ldr	r3, [fp, #-56]
	add	r3, r3, #1
	str	r3, [fp, #-56]
.L72:
	ldr	r2, [fp, #-56]
	ldr	r3, [fp, #-80]
	cmp	r2, r3
	blt	.L73
	ldr	r0, [fp, #-24]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L75+12
	bl	printf
	ldr	r0, [fp, #-28]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L75+16
	bl	printf
	mov	sp, r5
	nop
	ldr	r3, .L75
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L74
	bl	__stack_chk_fail
.L74:
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L76:
	.align	2
.L75:
	.word	.LC15
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.size	fcfs, .-fcfs
	.section	.rodata
	.align	2
.LC16:
	.ascii	"enter the number of processes:\000"
	.align	2
.LC17:
	.ascii	"%d\000"
	.align	2
.LC18:
	.ascii	"Enter the Process id, Arrival time and Burst time: "
	.ascii	"\000"
	.align	2
.LC19:
	.ascii	"%d%d%d\000"
	.align	2
.LC20:
	.ascii	"using hybrid scheduling:\000"
	.align	2
.LC21:
	.ascii	"using sjf scheduling:\000"
	.align	2
.LC22:
	.ascii	"using fcfs scheduling:\000"
	.align	2
.LC23:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 136
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #136
	ldr	r3, .L82
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r0, .L82+4
	bl	printf
	sub	r3, fp, #136
	mov	r1, r3
	ldr	r0, .L82+8
	bl	__isoc99_scanf
	mov	r3, #0
	str	r3, [fp, #-132]
	b	.L78
.L79:
	ldr	r0, .L82+12
	bl	puts
	sub	r2, fp, #48
	ldr	r3, [fp, #-132]
	lsl	r3, r3, #2
	add	r1, r2, r3
	sub	r2, fp, #128
	ldr	r3, [fp, #-132]
	lsl	r3, r3, #2
	add	r0, r2, r3
	sub	r2, fp, #88
	ldr	r3, [fp, #-132]
	lsl	r3, r3, #2
	add	r3, r2, r3
	mov	r2, r0
	ldr	r0, .L82+16
	bl	__isoc99_scanf
	ldr	r3, [fp, #-132]
	add	r3, r3, #1
	str	r3, [fp, #-132]
.L78:
	ldr	r3, [fp, #-136]
	ldr	r2, [fp, #-132]
	cmp	r2, r3
	blt	.L79
	ldr	r0, .L82+20
	bl	puts
	ldr	r0, [fp, #-136]
	sub	r3, fp, #88
	sub	r2, fp, #128
	sub	r1, fp, #48
	bl	hybrid_schedule
	ldr	r0, .L82+24
	bl	puts
	ldr	r0, [fp, #-136]
	sub	r3, fp, #88
	sub	r2, fp, #128
	sub	r1, fp, #48
	bl	sjf
	ldr	r0, .L82+28
	bl	puts
	ldr	r0, [fp, #-136]
	sub	r3, fp, #88
	sub	r2, fp, #128
	sub	r1, fp, #48
	bl	fcfs
	mov	r3, #0
	ldr	r2, .L82
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L81
	bl	__stack_chk_fail
.L81:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L83:
	.align	2
.L82:
	.word	.LC23
	.word	.LC16
	.word	.LC17
	.word	.LC18
	.word	.LC19
	.word	.LC20
	.word	.LC21
	.word	.LC22
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
