	.file	"101325.c"
	.intel_syntax noprefix
	.text
	.globl	s
	.bss
	.align 32
	.type	s, @object
	.size	s, 280
s:
	.zero	280
	.globl	temp
	.align 16
	.type	temp, @object
	.size	temp, 28
temp:
	.zero	28
	.section	.rodata
	.align 8
.LC0:
	.string	"\n Enter the no of processes u want to schedule"
.LC1:
	.string	"%d"
.LC2:
	.string	"\n processess are:"
	.align 8
.LC3:
	.string	"\n process\tarrival time\tburst time\twaiting time\tturn around time"
.LC4:
	.string	"\n After sorting"
.LC5:
	.string	"\n After the calculation"
.LC6:
	.string	"\n Average waiting time is %d"
	.align 8
.LC7:
	.string	"\n Average Turn around time is %d"
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 72
	.cfi_offset 3, -24
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -48[rbp], 0
	mov	DWORD PTR -44[rbp], 0
	mov	DWORD PTR -40[rbp], 0
	mov	DWORD PTR -36[rbp], 0
	mov	DWORD PTR -32[rbp], 0
	mov	DWORD PTR -28[rbp], 0
	mov	DWORD PTR -56[rbp], 0
	mov	DWORD PTR -52[rbp], 0
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -68[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -68[rbp]
	mov	edi, eax
	mov	eax, 0
	call	accept
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -68[rbp]
	mov	edi, eax
	mov	eax, 0
	call	display
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -64[rbp], 0
	jmp	.L2
.L6:
	mov	eax, DWORD PTR -64[rbp]
	add	eax, 1
	mov	DWORD PTR -60[rbp], eax
	jmp	.L3
.L5:
	mov	eax, DWORD PTR -64[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, s[rip+12]
	mov	ecx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -60[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, s[rip+12]
	mov	eax, DWORD PTR [rdx+rax]
	cmp	ecx, eax
	jle	.L4
	mov	eax, DWORD PTR -64[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, s[rip]
	mov	rcx, QWORD PTR [rdx+rax]
	mov	rbx, QWORD PTR 8[rdx+rax]
	mov	QWORD PTR temp[rip], rcx
	mov	QWORD PTR temp[rip+8], rbx
	mov	rcx, QWORD PTR 16[rdx+rax]
	mov	QWORD PTR temp[rip+16], rcx
	mov	eax, DWORD PTR 24[rdx+rax]
	mov	DWORD PTR temp[rip+24], eax
	mov	eax, DWORD PTR -64[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	mov	rcx, rax
	lea	rdx, s[rip]
	mov	eax, DWORD PTR -60[rbp]
	movsx	rsi, eax
	mov	rax, rsi
	sal	rax, 3
	sub	rax, rsi
	sal	rax, 2
	mov	rsi, rax
	lea	rax, s[rip]
	mov	r8, QWORD PTR [rsi+rax]
	mov	r9, QWORD PTR 8[rsi+rax]
	mov	QWORD PTR [rcx+rdx], r8
	mov	QWORD PTR 8[rcx+rdx], r9
	mov	rdi, QWORD PTR 16[rsi+rax]
	mov	QWORD PTR 16[rcx+rdx], rdi
	mov	eax, DWORD PTR 24[rsi+rax]
	mov	DWORD PTR 24[rcx+rdx], eax
	mov	eax, DWORD PTR -60[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, s[rip]
	mov	rcx, QWORD PTR temp[rip]
	mov	rbx, QWORD PTR temp[rip+8]
	mov	QWORD PTR [rdx+rax], rcx
	mov	QWORD PTR 8[rdx+rax], rbx
	mov	rcx, QWORD PTR temp[rip+16]
	mov	QWORD PTR 16[rdx+rax], rcx
	mov	ecx, DWORD PTR temp[rip+24]
	mov	DWORD PTR 24[rdx+rax], ecx
.L4:
	add	DWORD PTR -60[rbp], 1
.L3:
	mov	eax, DWORD PTR -68[rbp]
	cmp	DWORD PTR -60[rbp], eax
	jl	.L5
	add	DWORD PTR -64[rbp], 1
.L2:
	mov	eax, DWORD PTR -68[rbp]
	cmp	DWORD PTR -64[rbp], eax
	jl	.L6
	mov	eax, DWORD PTR -68[rbp]
	mov	edi, eax
	mov	eax, 0
	call	display
	mov	eax, DWORD PTR -68[rbp]
	mov	edi, eax
	mov	eax, 0
	call	fcfs
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -68[rbp]
	mov	edi, eax
	mov	eax, 0
	call	display
	mov	DWORD PTR -64[rbp], 0
	jmp	.L7
.L8:
	mov	eax, DWORD PTR -64[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, s[rip+24]
	mov	eax, DWORD PTR [rdx+rax]
	add	DWORD PTR -56[rbp], eax
	mov	eax, DWORD PTR -64[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, s[rip+20]
	mov	eax, DWORD PTR [rdx+rax]
	add	DWORD PTR -52[rbp], eax
	add	DWORD PTR -64[rbp], 1
.L7:
	mov	eax, DWORD PTR -68[rbp]
	cmp	DWORD PTR -64[rbp], eax
	jl	.L8
	mov	ebx, DWORD PTR -68[rbp]
	mov	eax, DWORD PTR -56[rbp]
	cdq
	idiv	ebx
	mov	DWORD PTR -40[rbp], eax
	mov	ebx, DWORD PTR -68[rbp]
	mov	eax, DWORD PTR -52[rbp]
	cdq
	idiv	ebx
	mov	DWORD PTR -36[rbp], eax
	mov	eax, DWORD PTR -40[rbp]
	mov	esi, eax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -36[rbp]
	mov	esi, eax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	nop
	mov	rax, QWORD PTR -24[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L9
	call	__stack_chk_fail@PLT
.L9:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.section	.rodata
.LC8:
	.string	"%s"
	.text
	.globl	accept
	.type	accept, @function
accept:
.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, 32
	mov	DWORD PTR -20[rbp], edi
	mov	DWORD PTR -4[rbp], 0
	jmp	.L11
.L12:
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	lea	rdx, s[rip]
	add	rax, rdx
	mov	rsi, rax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	lea	rdx, s[rip]
	add	rax, rdx
	add	rax, 12
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	lea	rdx, 16[rax]
	lea	rax, s[rip]
	add	rax, rdx
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	add	DWORD PTR -4[rbp], 1
.L11:
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -20[rbp]
	jl	.L12
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	accept, .-accept
	.section	.rodata
.LC9:
	.string	"\n%s\t\t%d\t\t%d\t\t%d\t\t%d"
	.text
	.globl	display
	.type	display, @function
display:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	DWORD PTR -20[rbp], edi
	mov	DWORD PTR -4[rbp], 0
	jmp	.L14
.L15:
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, s[rip+20]
	mov	r8d, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, s[rip+24]
	mov	edi, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, s[rip+16]
	mov	ecx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, s[rip+12]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -4[rbp]
	movsx	rsi, eax
	mov	rax, rsi
	sal	rax, 3
	sub	rax, rsi
	sal	rax, 2
	lea	rsi, s[rip]
	add	rax, rsi
	mov	r9d, r8d
	mov	r8d, edi
	mov	rsi, rax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -4[rbp], 1
.L14:
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -20[rbp]
	jl	.L15
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	display, .-display
	.section	.rodata
.LC10:
	.string	"\n IDLE"
.LC11:
	.string	"<-%s->%d"
	.text
	.globl	fcfs
	.type	fcfs, @function
fcfs:
.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, 64
	mov	DWORD PTR -52[rbp], edi
	mov	DWORD PTR -20[rbp], 0
	mov	DWORD PTR -24[rbp], 0
	mov	DWORD PTR -16[rbp], 0
	mov	DWORD PTR -12[rbp], 0
	mov	DWORD PTR -32[rbp], 0
	mov	DWORD PTR -28[rbp], 0
	mov	DWORD PTR -8[rbp], 0
	mov	DWORD PTR -4[rbp], 0
	mov	eax, DWORD PTR s[rip+12]
	mov	DWORD PTR -32[rbp], eax
	mov	DWORD PTR s[rip+24], 0
	mov	eax, DWORD PTR s[rip+16]
	mov	DWORD PTR s[rip+20], eax
	mov	DWORD PTR -36[rbp], 0
	jmp	.L17
.L19:
	mov	eax, DWORD PTR -36[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, s[rip+16]
	mov	eax, DWORD PTR [rdx+rax]
	add	DWORD PTR -32[rbp], eax
	mov	eax, DWORD PTR -36[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, s[rip+12]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -32[rbp]
	sub	eax, edx
	mov	ecx, eax
	mov	eax, DWORD PTR -36[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, s[rip+20]
	mov	DWORD PTR [rdx+rax], ecx
	mov	eax, DWORD PTR -36[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, s[rip+20]
	mov	ecx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -36[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, s[rip+16]
	mov	eax, DWORD PTR [rdx+rax]
	sub	ecx, eax
	mov	eax, DWORD PTR -36[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, s[rip+24]
	mov	DWORD PTR [rdx+rax], ecx
	mov	eax, DWORD PTR -36[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, s[rip+24]
	mov	eax, DWORD PTR [rdx+rax]
	add	DWORD PTR -24[rbp], eax
	mov	eax, DWORD PTR -36[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, s[rip+20]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -24[rbp]
	add	eax, edx
	mov	DWORD PTR -20[rbp], eax
	mov	eax, DWORD PTR -52[rbp]
	sub	eax, 1
	cmp	DWORD PTR -36[rbp], eax
	jge	.L18
	mov	eax, DWORD PTR -36[rbp]
	add	eax, 1
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, s[rip+12]
	mov	eax, DWORD PTR [rdx+rax]
	cmp	DWORD PTR -32[rbp], eax
	jge	.L18
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
.L18:
	mov	eax, DWORD PTR -36[rbp]
	add	eax, 1
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, s[rip+12]
	mov	eax, DWORD PTR [rdx+rax]
	mov	DWORD PTR -32[rbp], eax
	add	DWORD PTR -36[rbp], 1
.L17:
	mov	eax, DWORD PTR -36[rbp]
	cmp	eax, DWORD PTR -52[rbp]
	jl	.L19
	mov	eax, DWORD PTR -28[rbp]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -36[rbp], 0
	jmp	.L20
.L21:
	mov	eax, DWORD PTR -36[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, s[rip+16]
	mov	eax, DWORD PTR [rdx+rax]
	add	DWORD PTR -28[rbp], eax
	mov	eax, DWORD PTR -36[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	lea	rdx, s[rip]
	lea	rcx, [rax+rdx]
	mov	eax, DWORD PTR -28[rbp]
	mov	edx, eax
	mov	rsi, rcx
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -36[rbp], 1
.L20:
	mov	eax, DWORD PTR -36[rbp]
	cmp	eax, DWORD PTR -52[rbp]
	jl	.L21
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	fcfs, .-fcfs
	.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	"101325.c"
	.text
	.comm	s,280,4
	.comm	temp,28,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"\012 Enter the no of processes u want to schedule\000"
	.align	2
.LC1:
	.ascii	"%d\000"
	.align	2
.LC2:
	.ascii	"\012 processess are:\000"
	.align	2
.LC3:
	.ascii	"\012 process\011arrival time\011burst time\011waiti"
	.ascii	"ng time\011turn around time\000"
	.align	2
.LC4:
	.ascii	"\012 After sorting\000"
	.align	2
.LC5:
	.ascii	"\012 After the calculation\000"
	.global	__aeabi_idiv
	.align	2
.LC6:
	.ascii	"\012 Average waiting time is %d\000"
	.align	2
.LC7:
	.ascii	"\012 Average Turn around time is %d\000"
	.align	2
.LC8:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #48
	ldr	r3, .L10
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-32]
	mov	r3, #0
	str	r3, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-40]
	mov	r3, #0
	str	r3, [fp, #-36]
	ldr	r0, .L10+4
	bl	printf
	sub	r3, fp, #52
	mov	r1, r3
	ldr	r0, .L10+8
	bl	__isoc99_scanf
	ldr	r3, [fp, #-52]
	mov	r0, r3
	bl	accept
	ldr	r0, .L10+12
	bl	printf
	ldr	r0, .L10+16
	bl	printf
	ldr	r3, [fp, #-52]
	mov	r0, r3
	bl	display
	ldr	r0, .L10+20
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-48]
	b	.L2
.L6:
	ldr	r3, [fp, #-48]
	add	r3, r3, #1
	str	r3, [fp, #-44]
	b	.L3
.L5:
	ldr	r1, .L10+24
	ldr	r2, [fp, #-48]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #12
	ldr	r1, [r3]
	ldr	r0, .L10+24
	ldr	r2, [fp, #-44]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	add	r3, r3, #12
	ldr	r3, [r3]
	cmp	r1, r3
	ble	.L4
	ldr	r0, .L10+28
	ldr	r1, .L10+24
	ldr	r2, [fp, #-48]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	mov	ip, r0
	mov	lr, r3
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1, r2}
	stm	ip, {r0, r1, r2}
	ldr	r1, .L10+24
	ldr	r2, [fp, #-48]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r0, r1, r3
	ldr	r1, .L10+24
	ldr	r2, [fp, #-44]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	mov	ip, r0
	mov	lr, r3
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1, r2}
	stm	ip, {r0, r1, r2}
	ldr	r1, .L10+24
	ldr	r2, [fp, #-44]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r2, .L10+28
	mov	ip, r3
	mov	lr, r2
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1, r2}
	stm	ip, {r0, r1, r2}
.L4:
	ldr	r3, [fp, #-44]
	add	r3, r3, #1
	str	r3, [fp, #-44]
.L3:
	ldr	r3, [fp, #-52]
	ldr	r2, [fp, #-44]
	cmp	r2, r3
	blt	.L5
	ldr	r3, [fp, #-48]
	add	r3, r3, #1
	str	r3, [fp, #-48]
.L2:
	ldr	r3, [fp, #-52]
	ldr	r2, [fp, #-48]
	cmp	r2, r3
	blt	.L6
	ldr	r3, [fp, #-52]
	mov	r0, r3
	bl	display
	ldr	r3, [fp, #-52]
	mov	r0, r3
	bl	fcfs
	ldr	r0, .L10+32
	bl	printf
	ldr	r3, [fp, #-52]
	mov	r0, r3
	bl	display
	mov	r3, #0
	str	r3, [fp, #-48]
	b	.L7
.L8:
	ldr	r1, .L10+24
	ldr	r2, [fp, #-48]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #24
	ldr	r3, [r3]
	ldr	r2, [fp, #-40]
	add	r3, r2, r3
	str	r3, [fp, #-40]
	ldr	r1, .L10+24
	ldr	r2, [fp, #-48]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #20
	ldr	r3, [r3]
	ldr	r2, [fp, #-36]
	add	r3, r2, r3
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-48]
	add	r3, r3, #1
	str	r3, [fp, #-48]
.L7:
	ldr	r3, [fp, #-52]
	ldr	r2, [fp, #-48]
	cmp	r2, r3
	blt	.L8
	ldr	r3, [fp, #-52]
	mov	r1, r3
	ldr	r0, [fp, #-40]
	bl	__aeabi_idiv
	mov	r3, r0
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-52]
	mov	r1, r3
	ldr	r0, [fp, #-36]
	bl	__aeabi_idiv
	mov	r3, r0
	str	r3, [fp, #-20]
	ldr	r1, [fp, #-24]
	ldr	r0, .L10+36
	bl	printf
	ldr	r1, [fp, #-20]
	ldr	r0, .L10+40
	bl	printf
	nop
	ldr	r3, .L10
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L9
	bl	__stack_chk_fail
.L9:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L11:
	.align	2
.L10:
	.word	.LC8
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	s
	.word	temp
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.size	main, .-main
	.section	.rodata
	.align	2
.LC9:
	.ascii	"%s\000"
	.text
	.align	2
	.global	accept
	.syntax unified
	.arm
	.fpu softvfp
	.type	accept, %function
accept:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L13
.L14:
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	ldr	r2, .L15
	add	r3, r3, r2
	mov	r1, r3
	ldr	r0, .L15+4
	bl	__isoc99_scanf
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, #8
	ldr	r2, .L15
	add	r3, r3, r2
	add	r3, r3, #4
	mov	r1, r3
	ldr	r0, .L15+8
	bl	__isoc99_scanf
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, #16
	ldr	r2, .L15
	add	r3, r3, r2
	mov	r1, r3
	ldr	r0, .L15+8
	bl	__isoc99_scanf
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L13:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-16]
	cmp	r2, r3
	blt	.L14
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L16:
	.align	2
.L15:
	.word	s
	.word	.LC9
	.word	.LC1
	.size	accept, .-accept
	.section	.rodata
	.align	2
.LC10:
	.ascii	"\012%s\011\011%d\011\011%d\011\011%d\011\011%d\000"
	.text
	.align	2
	.global	display
	.syntax unified
	.arm
	.fpu softvfp
	.type	display, %function
display:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #28
	str	r0, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L18
.L19:
	ldr	r2, [fp, #-16]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	ldr	r2, .L20
	add	r0, r3, r2
	ldr	r1, .L20
	ldr	r2, [fp, #-16]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #12
	ldr	ip, [r3]
	ldr	r1, .L20
	ldr	r2, [fp, #-16]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #16
	ldr	lr, [r3]
	ldr	r1, .L20
	ldr	r2, [fp, #-16]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #24
	ldr	r1, [r3]
	ldr	r4, .L20
	ldr	r2, [fp, #-16]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r4, r3
	add	r3, r3, #20
	ldr	r3, [r3]
	str	r3, [sp, #4]
	str	r1, [sp]
	mov	r3, lr
	mov	r2, ip
	mov	r1, r0
	ldr	r0, .L20+4
	bl	printf
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L18:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-24]
	cmp	r2, r3
	blt	.L19
	nop
	nop
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L21:
	.align	2
.L20:
	.word	s
	.word	.LC10
	.size	display, .-display
	.section	.rodata
	.align	2
.LC11:
	.ascii	"\012 IDLE\000"
	.align	2
.LC12:
	.ascii	"<-%s->%d\000"
	.text
	.align	2
	.global	fcfs
	.syntax unified
	.arm
	.fpu softvfp
	.type	fcfs, %function
fcfs:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #48
	str	r0, [fp, #-48]
	mov	r3, #0
	str	r3, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-36]
	mov	r3, #0
	str	r3, [fp, #-32]
	mov	r3, #0
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-8]
	ldr	r3, .L28
	ldr	r3, [r3, #12]
	str	r3, [fp, #-36]
	ldr	r3, .L28
	mov	r2, #0
	str	r2, [r3, #24]
	ldr	r3, .L28
	ldr	r3, [r3, #16]
	ldr	r2, .L28
	str	r3, [r2, #20]
	mov	r3, #0
	str	r3, [fp, #-40]
	b	.L23
.L25:
	ldr	r1, .L28
	ldr	r2, [fp, #-40]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #16
	ldr	r3, [r3]
	ldr	r2, [fp, #-36]
	add	r3, r2, r3
	str	r3, [fp, #-36]
	ldr	r1, .L28
	ldr	r2, [fp, #-40]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #12
	ldr	r3, [r3]
	ldr	r2, [fp, #-36]
	sub	r1, r2, r3
	ldr	r0, .L28
	ldr	r2, [fp, #-40]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	add	r3, r3, #20
	str	r1, [r3]
	ldr	r1, .L28
	ldr	r2, [fp, #-40]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #20
	ldr	r1, [r3]
	ldr	r0, .L28
	ldr	r2, [fp, #-40]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	add	r3, r3, #16
	ldr	r3, [r3]
	sub	r1, r1, r3
	ldr	r0, .L28
	ldr	r2, [fp, #-40]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	add	r3, r3, #24
	str	r1, [r3]
	ldr	r1, .L28
	ldr	r2, [fp, #-40]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #24
	ldr	r3, [r3]
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	str	r3, [fp, #-28]
	ldr	r1, .L28
	ldr	r2, [fp, #-40]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #20
	ldr	r3, [r3]
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-48]
	sub	r3, r3, #1
	ldr	r2, [fp, #-40]
	cmp	r2, r3
	bge	.L24
	ldr	r3, [fp, #-40]
	add	r2, r3, #1
	ldr	r1, .L28
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #12
	ldr	r3, [r3]
	ldr	r2, [fp, #-36]
	cmp	r2, r3
	bge	.L24
	ldr	r0, .L28+4
	bl	printf
.L24:
	ldr	r3, [fp, #-40]
	add	r2, r3, #1
	ldr	r1, .L28
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #12
	ldr	r3, [r3]
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
.L23:
	ldr	r2, [fp, #-40]
	ldr	r3, [fp, #-48]
	cmp	r2, r3
	blt	.L25
	ldr	r1, [fp, #-32]
	ldr	r0, .L28+8
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-40]
	b	.L26
.L27:
	ldr	r1, .L28
	ldr	r2, [fp, #-40]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #16
	ldr	r3, [r3]
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	str	r3, [fp, #-32]
	ldr	r2, [fp, #-40]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	ldr	r2, .L28
	add	r3, r3, r2
	ldr	r2, [fp, #-32]
	mov	r1, r3
	ldr	r0, .L28+12
	bl	printf
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
.L26:
	ldr	r2, [fp, #-40]
	ldr	r3, [fp, #-48]
	cmp	r2, r3
	blt	.L27
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L29:
	.align	2
.L28:
	.word	s
	.word	.LC11
	.word	.LC1
	.word	.LC12
	.size	fcfs, .-fcfs
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
