	.file	"423763.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"\nenter the number of processes:"
.LC1:
	.string	"%d"
.LC2:
	.string	"Enter the quantum:"
.LC3:
	.string	"n: %d\n"
.LC4:
	.string	"burst time: %d\n"
	.align 8
.LC5:
	.string	"3.counter: %d, burst time: %d\n"
.LC6:
	.string	"\nProcess[%d]\t\t%d\t\t %d\t\t\t %d"
	.align 8
.LC7:
	.string	"Process\t\tburst time\twaiting time\tturn around time"
.LC8:
	.string	"Process[%d]\t\t%d\t\t%d\t\t%d\n"
	.align 8
.LC9:
	.string	"Average turn arround time: %5.2f\nAverage waiting time: %5.2f\n"
	.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	r15
	push	r14
	push	r13
	push	r12
	push	rbx
	sub	rsp, 232
	.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	QWORD PTR -264[rbp], rax
	mov	DWORD PTR -124[rbp], 0
	mov	DWORD PTR -120[rbp], 0
	mov	DWORD PTR -132[rbp], 0
	mov	DWORD PTR -140[rbp], 0
	mov	DWORD PTR -116[rbp], 0
	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
	lea	rax, -148[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	esi, DWORD PTR -152[rbp]
	movsx	rax, esi
	sub	rax, 1
	mov	QWORD PTR -104[rbp], rax
	movsx	rax, esi
	mov	r12, rax
	mov	r13d, 0
	imul	rdx, r13, 192
	imul	rax, r12, 0
	lea	rcx, [rdx+rax]
	mov	eax, 192
	mul	r12
	add	rcx, rdx
	mov	rdx, rcx
	movsx	rdx, esi
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	movsx	rax, esi
	mov	r14, rax
	mov	r15d, 0
	imul	rdx, r15, 192
	imul	rax, r14, 0
	lea	rcx, [rdx+rax]
	mov	eax, 192
	mul	r14
	add	rcx, rdx
	mov	rdx, rcx
	movsx	rdx, esi
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	ebx, 16
	mov	edx, 0
	div	rbx
	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, 3
	shr	rax, 2
	sal	rax, 2
	mov	QWORD PTR -96[rbp], rax
	mov	eax, DWORD PTR -152[rbp]
	movsx	rdx, eax
	sub	rdx, 1
	mov	QWORD PTR -88[rbp], rdx
	movsx	rdx, eax
	mov	QWORD PTR -208[rbp], rdx
	mov	QWORD PTR -200[rbp], 0
	movsx	rdx, eax
	mov	QWORD PTR -224[rbp], rdx
	mov	QWORD PTR -216[rbp], 0
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	ebx, 16
	mov	edx, 0
	div	rbx
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L5:
	cmp	rsp, rdx
	je	.L6
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L5
.L6:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L7
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L7:
	mov	rax, rsp
	add	rax, 3
	shr	rax, 2
	sal	rax, 2
	mov	QWORD PTR -80[rbp], rax
	mov	eax, DWORD PTR -152[rbp]
	movsx	rdx, eax
	sub	rdx, 1
	mov	QWORD PTR -72[rbp], rdx
	movsx	rdx, eax
	mov	QWORD PTR -240[rbp], rdx
	mov	QWORD PTR -232[rbp], 0
	movsx	rdx, eax
	mov	QWORD PTR -256[rbp], rdx
	mov	QWORD PTR -248[rbp], 0
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	ebx, 16
	mov	edx, 0
	div	rbx
	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 -64[rbp], rax
	mov	DWORD PTR -124[rbp], 0
	jmp	.L11
.L12:
	mov	eax, DWORD PTR -124[rbp]
	lea	edx, 1[rax]
	mov	rsi, QWORD PTR -96[rbp]
	mov	eax, DWORD PTR -124[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	add	rax, rax
	add	rax, rcx
	sal	rax, 3
	lea	rbx, [rsi+rax]
	lea	rax, -192[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	getProcesses
	mov	rax, QWORD PTR -192[rbp]
	mov	rdx, QWORD PTR -184[rbp]
	mov	QWORD PTR [rbx], rax
	mov	QWORD PTR 8[rbx], rdx
	mov	rax, QWORD PTR -176[rbp]
	mov	QWORD PTR 16[rbx], rax
	add	DWORD PTR -124[rbp], 1
.L11:
	mov	eax, DWORD PTR -152[rbp]
	cmp	DWORD PTR -124[rbp], eax
	jl	.L12
	mov	DWORD PTR -128[rbp], 0
	mov	DWORD PTR -124[rbp], 0
	jmp	.L13
.L18:
	mov	rcx, QWORD PTR -96[rbp]
	mov	eax, DWORD PTR -124[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rcx
	add	rax, 4
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -148[rbp]
	cmp	edx, eax
	jg	.L14
	mov	rcx, QWORD PTR -96[rbp]
	mov	eax, DWORD PTR -124[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rcx
	add	rax, 4
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	jle	.L14
	mov	eax, DWORD PTR -152[rbp]
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rcx, QWORD PTR -96[rbp]
	mov	eax, DWORD PTR -124[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rcx
	add	rax, 4
	mov	eax, DWORD PTR [rax]
	add	DWORD PTR -128[rbp], eax
	mov	rcx, QWORD PTR -96[rbp]
	mov	eax, DWORD PTR -124[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rcx
	add	rax, 4
	mov	DWORD PTR [rax], 0
	mov	DWORD PTR -136[rbp], 1
	jmp	.L15
.L14:
	mov	rcx, QWORD PTR -96[rbp]
	mov	eax, DWORD PTR -124[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rcx
	add	rax, 4
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	jle	.L15
	mov	eax, DWORD PTR -128[rbp]
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rcx, QWORD PTR -96[rbp]
	mov	eax, DWORD PTR -124[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rcx
	add	rax, 4
	mov	eax, DWORD PTR [rax]
	mov	edx, DWORD PTR -148[rbp]
	sub	eax, edx
	mov	ecx, eax
	mov	rsi, QWORD PTR -96[rbp]
	mov	eax, DWORD PTR -124[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rsi
	add	rax, 4
	mov	DWORD PTR [rax], ecx
	mov	eax, DWORD PTR -148[rbp]
	add	DWORD PTR -128[rbp], eax
.L15:
	mov	rcx, QWORD PTR -96[rbp]
	mov	eax, DWORD PTR -124[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rcx
	add	rax, 4
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -136[rbp]
	mov	esi, eax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	cmp	DWORD PTR -136[rbp], 1
	jne	.L16
	mov	rcx, QWORD PTR -96[rbp]
	mov	eax, DWORD PTR -124[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rcx
	add	rax, 4
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	jne	.L16
	mov	eax, DWORD PTR -152[rbp]
	sub	eax, 1
	mov	DWORD PTR -152[rbp], eax
	mov	rcx, QWORD PTR -96[rbp]
	mov	eax, DWORD PTR -124[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rcx
	add	rax, 4
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -128[rbp]
	sub	eax, edx
	mov	ecx, eax
	mov	rsi, QWORD PTR -96[rbp]
	mov	eax, DWORD PTR -124[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rsi
	add	rax, 4
	mov	eax, DWORD PTR [rax]
	mov	edx, DWORD PTR -124[rbp]
	lea	esi, 1[rdx]
	mov	edx, DWORD PTR -128[rbp]
	mov	r8d, ecx
	mov	ecx, edx
	mov	edx, eax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edx, DWORD PTR -140[rbp]
	mov	eax, DWORD PTR -128[rbp]
	lea	ecx, [rdx+rax]
	mov	rsi, QWORD PTR -96[rbp]
	mov	eax, DWORD PTR -124[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rsi
	add	rax, 4
	mov	edx, DWORD PTR [rax]
	mov	eax, ecx
	sub	eax, edx
	mov	DWORD PTR -140[rbp], eax
	mov	rcx, QWORD PTR -96[rbp]
	mov	eax, DWORD PTR -124[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rcx
	lea	rdx, 12[rax]
	mov	eax, DWORD PTR -140[rbp]
	mov	DWORD PTR [rdx], eax
	mov	eax, DWORD PTR -128[rbp]
	add	DWORD PTR -132[rbp], eax
	mov	DWORD PTR -136[rbp], 0
.L16:
	mov	eax, DWORD PTR -152[rbp]
	sub	eax, 1
	cmp	DWORD PTR -124[rbp], eax
	jne	.L17
	mov	DWORD PTR -124[rbp], 0
	jmp	.L13
.L17:
	mov	DWORD PTR -124[rbp], 0
.L13:
	mov	eax, DWORD PTR -152[rbp]
	test	eax, eax
	jne	.L18
	lea	rdi, .LC7[rip]
	call	puts@PLT
	mov	DWORD PTR -144[rbp], 0
	jmp	.L19
.L20:
	mov	rcx, QWORD PTR -96[rbp]
	mov	eax, DWORD PTR -144[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rcx
	add	rax, 16
	mov	edi, DWORD PTR [rax]
	mov	rcx, QWORD PTR -96[rbp]
	mov	eax, DWORD PTR -144[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rcx
	add	rax, 12
	mov	ecx, DWORD PTR [rax]
	mov	rsi, QWORD PTR -96[rbp]
	mov	eax, DWORD PTR -144[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rsi
	add	rax, 4
	mov	edx, DWORD PTR [rax]
	mov	r8, QWORD PTR -96[rbp]
	mov	eax, DWORD PTR -144[rbp]
	movsx	rsi, eax
	mov	rax, rsi
	add	rax, rax
	add	rax, rsi
	sal	rax, 3
	add	rax, r8
	mov	eax, DWORD PTR [rax]
	mov	r8d, edi
	mov	esi, eax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -144[rbp], 1
.L19:
	mov	eax, DWORD PTR -152[rbp]
	cmp	DWORD PTR -144[rbp], eax
	jl	.L20
	mov	edi, 10
	call	putchar@PLT
	pxor	xmm0, xmm0
	cvtss2sd	xmm0, DWORD PTR -112[rbp]
	pxor	xmm2, xmm2
	cvtss2sd	xmm2, DWORD PTR -108[rbp]
	movq	rax, xmm2
	movapd	xmm1, xmm0
	movq	xmm0, rax
	lea	rdi, .LC9[rip]
	mov	eax, 2
	call	printf@PLT
	mov	rsp, QWORD PTR -264[rbp]
	mov	eax, 0
	mov	rbx, QWORD PTR -56[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L22
	call	__stack_chk_fail@PLT
.L22:
	lea	rsp, -40[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC10:
	.string	"Enter process [%d] information:"
.LC11:
	.string	"\nEnter process burst time:"
.LC12:
	.string	"\nEnter process priority:"
	.text
	.globl	getProcesses
	.type	getProcesses, @function
getProcesses:
.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, 48
	mov	QWORD PTR -40[rbp], rdi
	mov	DWORD PTR -44[rbp], esi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	eax, DWORD PTR -44[rbp]
	mov	DWORD PTR -32[rbp], eax
	mov	eax, DWORD PTR -44[rbp]
	mov	esi, eax
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -32[rbp]
	add	rax, 4
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -32[rbp]
	add	rax, 8
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	rcx, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR -32[rbp]
	mov	rdx, QWORD PTR -24[rbp]
	mov	QWORD PTR [rcx], rax
	mov	QWORD PTR 8[rcx], rdx
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR 16[rcx], rax
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L25
	call	__stack_chk_fail@PLT
.L25:
	mov	rax, QWORD PTR -40[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	getProcesses, .-getProcesses
	.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	"423763.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"\012enter the number of processes:\000"
	.align	2
.LC1:
	.ascii	"%d\000"
	.align	2
.LC2:
	.ascii	"Enter the quantum:\000"
	.align	2
.LC3:
	.ascii	"n: %d\012\000"
	.align	2
.LC4:
	.ascii	"burst time: %d\012\000"
	.align	2
.LC5:
	.ascii	"3.counter: %d, burst time: %d\012\000"
	.align	2
.LC6:
	.ascii	"\012Process[%d]\011\011%d\011\011 %d\011\011\011 %d"
	.ascii	"\000"
	.align	2
.LC7:
	.ascii	"Process\011\011burst time\011waiting time\011turn a"
	.ascii	"round time\000"
	.align	2
.LC8:
	.ascii	"Process[%d]\011\011%d\011\011%d\011\011%d\012\000"
	.global	__aeabi_f2d
	.align	2
.LC9:
	.ascii	"Average turn arround time: %5.2f\012Average waiting"
	.ascii	" time: %5.2f\012\000"
	.align	2
.LC10:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 104
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, fp, lr}
	add	fp, sp, #24
	sub	sp, sp, #116
	ldr	r3, .L14
	ldr	r3, [r3]
	str	r3, [fp, #-32]
	mov	r3,#0
	mov	r3, sp
	mov	r8, r3
	mov	r3, #0
	str	r3, [fp, #-76]
	mov	r3, #0
	str	r3, [fp, #-72]
	mov	r3, #0
	str	r3, [fp, #-84]
	mov	r3, #0
	str	r3, [fp, #-92]
	mov	r3, #0
	str	r3, [fp, #-68]
	ldr	r0, .L14+4
	bl	printf
	sub	r3, fp, #104
	mov	r1, r3
	ldr	r0, .L14+8
	bl	__isoc99_scanf
	ldr	r0, .L14+12
	bl	printf
	sub	r3, fp, #100
	mov	r1, r3
	ldr	r0, .L14+8
	bl	__isoc99_scanf
	ldr	ip, [fp, #-104]
	sub	r3, ip, #1
	str	r3, [fp, #-64]
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, r0
	mov	r3, r1
	adds	r6, r2, r2
	adc	r7, r3, r3
	mov	r2, r6
	mov	r3, r7
	adds	r2, r2, r0
	adc	r3, r3, r1
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #6
	orr	r1, r1, r2, lsr #26
	lsl	r0, r2, #6
	mov	r2, r0
	mov	r3, r1
	mov	r2, ip
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, r0
	mov	r3, r1
	adds	r4, r2, r2
	adc	r5, r3, r3
	mov	r2, r4
	mov	r3, r5
	adds	r2, r2, r0
	adc	r3, r3, r1
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #6
	orr	r1, r1, r2, lsr #26
	lsl	r0, r2, #6
	mov	r2, r0
	mov	r3, r1
	mov	r2, ip
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	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, #-60]
	ldr	ip, [fp, #-104]
	sub	r3, ip, #1
	str	r3, [fp, #-56]
	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, #-52]
	ldr	ip, [fp, #-104]
	sub	r3, ip, #1
	str	r3, [fp, #-48]
	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, #-44]
	mov	r3, #0
	str	r3, [fp, #-76]
	b	.L2
.L3:
	ldr	r3, [fp, #-76]
	add	r0, r3, #1
	ldr	r1, [fp, #-60]
	ldr	r2, [fp, #-76]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r4, r1, r3
	sub	r3, fp, #132
	mov	r1, r0
	mov	r0, r3
	bl	getProcesses
	mov	lr, r4
	sub	ip, fp, #132
	ldmia	ip!, {r0, r1, r2, r3}
	stmia	lr!, {r0, r1, r2, r3}
	ldm	ip, {r0, r1}
	stm	lr, {r0, r1}
	ldr	r3, [fp, #-76]
	add	r3, r3, #1
	str	r3, [fp, #-76]
.L2:
	ldr	r3, [fp, #-104]
	ldr	r2, [fp, #-76]
	cmp	r2, r3
	blt	.L3
	mov	r3, #0
	str	r3, [fp, #-80]
	mov	r3, #0
	str	r3, [fp, #-76]
	b	.L4
.L9:
	ldr	r1, [fp, #-60]
	ldr	r2, [fp, #-76]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	add	r3, r3, #4
	ldr	r2, [r3]
	ldr	r3, [fp, #-100]
	cmp	r2, r3
	bgt	.L5
	ldr	r1, [fp, #-60]
	ldr	r2, [fp, #-76]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	add	r3, r3, #4
	ldr	r3, [r3]
	cmp	r3, #0
	ble	.L5
	ldr	r3, [fp, #-104]
	mov	r1, r3
	ldr	r0, .L14+16
	bl	printf
	ldr	r1, [fp, #-60]
	ldr	r2, [fp, #-76]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	add	r3, r3, #4
	ldr	r3, [r3]
	ldr	r2, [fp, #-80]
	add	r3, r2, r3
	str	r3, [fp, #-80]
	ldr	r1, [fp, #-60]
	ldr	r2, [fp, #-76]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	add	r3, r3, #4
	mov	r2, #0
	str	r2, [r3]
	mov	r3, #1
	str	r3, [fp, #-88]
	b	.L6
.L5:
	ldr	r1, [fp, #-60]
	ldr	r2, [fp, #-76]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	add	r3, r3, #4
	ldr	r3, [r3]
	cmp	r3, #0
	ble	.L6
	ldr	r1, [fp, #-80]
	ldr	r0, .L14+20
	bl	printf
	ldr	r1, [fp, #-60]
	ldr	r2, [fp, #-76]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	add	r3, r3, #4
	ldr	r2, [r3]
	ldr	r3, [fp, #-100]
	sub	r1, r2, r3
	ldr	r0, [fp, #-60]
	ldr	r2, [fp, #-76]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r0, r3
	add	r3, r3, #4
	str	r1, [r3]
	ldr	r3, [fp, #-100]
	ldr	r2, [fp, #-80]
	add	r3, r2, r3
	str	r3, [fp, #-80]
.L6:
	ldr	r1, [fp, #-60]
	ldr	r2, [fp, #-76]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, [fp, #-88]
	ldr	r0, .L14+24
	bl	printf
	ldr	r3, [fp, #-88]
	cmp	r3, #1
	bne	.L7
	ldr	r1, [fp, #-60]
	ldr	r2, [fp, #-76]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	add	r3, r3, #4
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L7
	ldr	r3, [fp, #-104]
	sub	r3, r3, #1
	str	r3, [fp, #-104]
	ldr	r3, [fp, #-76]
	add	r0, r3, #1
	ldr	r1, [fp, #-60]
	ldr	r2, [fp, #-76]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	add	r3, r3, #4
	ldr	ip, [r3]
	ldr	r1, [fp, #-60]
	ldr	r2, [fp, #-76]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	add	r3, r3, #4
	ldr	r3, [r3]
	ldr	r2, [fp, #-80]
	sub	r3, r2, r3
	str	r3, [sp]
	ldr	r3, [fp, #-80]
	mov	r2, ip
	mov	r1, r0
	ldr	r0, .L14+28
	bl	printf
	ldr	r2, [fp, #-92]
	ldr	r3, [fp, #-80]
	add	r1, r2, r3
	ldr	r0, [fp, #-60]
	ldr	r2, [fp, #-76]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r0, r3
	add	r3, r3, #4
	ldr	r3, [r3]
	sub	r3, r1, r3
	str	r3, [fp, #-92]
	ldr	r1, [fp, #-60]
	ldr	r2, [fp, #-76]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	add	r3, r3, #12
	ldr	r2, [fp, #-92]
	str	r2, [r3]
	ldr	r2, [fp, #-84]
	ldr	r3, [fp, #-80]
	add	r3, r2, r3
	str	r3, [fp, #-84]
	mov	r3, #0
	str	r3, [fp, #-88]
.L7:
	ldr	r3, [fp, #-104]
	sub	r3, r3, #1
	ldr	r2, [fp, #-76]
	cmp	r2, r3
	bne	.L8
	mov	r3, #0
	str	r3, [fp, #-76]
	b	.L4
.L8:
	mov	r3, #0
	str	r3, [fp, #-76]
.L4:
	ldr	r3, [fp, #-104]
	cmp	r3, #0
	bne	.L9
	ldr	r0, .L14+32
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-96]
	b	.L10
.L11:
	ldr	r1, [fp, #-60]
	ldr	r2, [fp, #-96]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	ldr	r0, [r3]
	ldr	r1, [fp, #-60]
	ldr	r2, [fp, #-96]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	add	r3, r3, #4
	ldr	ip, [r3]
	ldr	r1, [fp, #-60]
	ldr	r2, [fp, #-96]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	add	r3, r3, #12
	ldr	lr, [r3]
	ldr	r1, [fp, #-60]
	ldr	r2, [fp, #-96]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	add	r3, r3, #16
	ldr	r3, [r3]
	str	r3, [sp]
	mov	r3, lr
	mov	r2, ip
	mov	r1, r0
	ldr	r0, .L14+36
	bl	printf
	ldr	r3, [fp, #-96]
	add	r3, r3, #1
	str	r3, [fp, #-96]
.L10:
	ldr	r3, [fp, #-104]
	ldr	r2, [fp, #-96]
	cmp	r2, r3
	blt	.L11
	mov	r0, #10
	bl	putchar
	ldr	r0, [fp, #-40]	@ float
	bl	__aeabi_f2d
	mov	r4, r0
	mov	r5, r1
	ldr	r0, [fp, #-36]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	stm	sp, {r2-r3}
	mov	r2, r4
	mov	r3, r5
	ldr	r0, .L14+40
	bl	printf
	mov	sp, r8
	mov	r3, #0
	ldr	r2, .L14
	ldr	r1, [r2]
	ldr	r2, [fp, #-32]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L13
	bl	__stack_chk_fail
.L13:
	mov	r0, r3
	sub	sp, fp, #24
	@ sp needed
	pop	{r4, r5, r6, r7, r8, fp, pc}
.L15:
	.align	2
.L14:
	.word	.LC10
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.size	main, .-main
	.section	.rodata
	.align	2
.LC11:
	.ascii	"Enter process [%d] information:\000"
	.align	2
.LC12:
	.ascii	"\012Enter process burst time:\000"
	.align	2
.LC13:
	.ascii	"\012Enter process priority:\000"
	.align	2
.LC14:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	getProcesses
	.syntax unified
	.arm
	.fpu softvfp
	.type	getProcesses, %function
getProcesses:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	str	r0, [fp, #-40]
	str	r1, [fp, #-44]
	ldr	r3, .L19
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-44]
	str	r3, [fp, #-32]
	ldr	r1, [fp, #-44]
	ldr	r0, .L19+4
	bl	printf
	ldr	r0, .L19+8
	bl	printf
	sub	r3, fp, #32
	add	r3, r3, #4
	mov	r1, r3
	ldr	r0, .L19+12
	bl	__isoc99_scanf
	ldr	r0, .L19+16
	bl	printf
	sub	r3, fp, #32
	add	r3, r3, #8
	mov	r1, r3
	ldr	r0, .L19+12
	bl	__isoc99_scanf
	ldr	r3, [fp, #-40]
	mov	lr, r3
	sub	ip, fp, #32
	ldmia	ip!, {r0, r1, r2, r3}
	stmia	lr!, {r0, r1, r2, r3}
	ldm	ip, {r0, r1}
	stm	lr, {r0, r1}
	ldr	r3, .L19
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L18
	bl	__stack_chk_fail
.L18:
	ldr	r0, [fp, #-40]
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L20:
	.align	2
.L19:
	.word	.LC14
	.word	.LC11
	.word	.LC12
	.word	.LC1
	.word	.LC13
	.size	getProcesses, .-getProcesses
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
