	.file	"90762600.c"
	.intel_syntax noprefix
	.text
	.globl	process_ctr
	.bss
	.align 4
	.type	process_ctr, @object
	.size	process_ctr, 4
process_ctr:
	.zero	4
	.globl	pid_ctr
	.align 4
	.type	pid_ctr, @object
	.size	pid_ctr, 4
pid_ctr:
	.zero	4
	.globl	global_time
	.align 4
	.type	global_time, @object
	.size	global_time, 4
global_time:
	.zero	4
	.globl	finished_processes
	.align 4
	.type	finished_processes, @object
	.size	finished_processes, 4
finished_processes:
	.zero	4
	.globl	next_new_process
	.align 4
	.type	next_new_process, @object
	.size	next_new_process, 4
next_new_process:
	.zero	4
	.text
	.globl	enqueue
	.type	enqueue, @function
enqueue:
.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, 152
	.cfi_offset 3, -24
	mov	QWORD PTR -152[rbp], rdi
	mov	DWORD PTR -156[rbp], esi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR 16[rbp]
	mov	rdx, QWORD PTR 24[rbp]
	mov	QWORD PTR -144[rbp], rax
	mov	QWORD PTR -136[rbp], rdx
	mov	rax, QWORD PTR 32[rbp]
	mov	rdx, QWORD PTR 40[rbp]
	mov	QWORD PTR -128[rbp], rax
	mov	QWORD PTR -120[rbp], rdx
	mov	rax, QWORD PTR 48[rbp]
	mov	rdx, QWORD PTR 56[rbp]
	mov	QWORD PTR -112[rbp], rax
	mov	QWORD PTR -104[rbp], rdx
	mov	rax, QWORD PTR 64[rbp]
	mov	rdx, QWORD PTR 72[rbp]
	mov	QWORD PTR -96[rbp], rax
	mov	QWORD PTR -88[rbp], rdx
	mov	rax, QWORD PTR 80[rbp]
	mov	rdx, QWORD PTR 88[rbp]
	mov	QWORD PTR -80[rbp], rax
	mov	QWORD PTR -72[rbp], rdx
	mov	rax, QWORD PTR 96[rbp]
	mov	rdx, QWORD PTR 104[rbp]
	mov	QWORD PTR -64[rbp], rax
	mov	QWORD PTR -56[rbp], rdx
	mov	rax, QWORD PTR 112[rbp]
	mov	rdx, QWORD PTR 120[rbp]
	mov	QWORD PTR -48[rbp], rax
	mov	QWORD PTR -40[rbp], rdx
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	mov	edx, DWORD PTR -156[rbp]
	mov	DWORD PTR -144[rbp+rax*4], edx
	mov	eax, DWORD PTR -40[rbp]
	add	eax, 1
	mov	DWORD PTR -40[rbp], eax
	mov	DWORD PTR -36[rbp], 1
	mov	rax, QWORD PTR -152[rbp]
	mov	rcx, QWORD PTR -144[rbp]
	mov	rbx, QWORD PTR -136[rbp]
	mov	QWORD PTR [rax], rcx
	mov	QWORD PTR 8[rax], rbx
	mov	rcx, QWORD PTR -128[rbp]
	mov	rbx, QWORD PTR -120[rbp]
	mov	QWORD PTR 16[rax], rcx
	mov	QWORD PTR 24[rax], rbx
	mov	rcx, QWORD PTR -112[rbp]
	mov	rbx, QWORD PTR -104[rbp]
	mov	QWORD PTR 32[rax], rcx
	mov	QWORD PTR 40[rax], rbx
	mov	rcx, QWORD PTR -96[rbp]
	mov	rbx, QWORD PTR -88[rbp]
	mov	QWORD PTR 48[rax], rcx
	mov	QWORD PTR 56[rax], rbx
	mov	rcx, QWORD PTR -80[rbp]
	mov	rbx, QWORD PTR -72[rbp]
	mov	QWORD PTR 64[rax], rcx
	mov	QWORD PTR 72[rax], rbx
	mov	rcx, QWORD PTR -64[rbp]
	mov	rbx, QWORD PTR -56[rbp]
	mov	QWORD PTR 80[rax], rcx
	mov	QWORD PTR 88[rax], rbx
	mov	rcx, QWORD PTR -48[rbp]
	mov	rbx, QWORD PTR -40[rbp]
	mov	QWORD PTR 96[rax], rcx
	mov	QWORD PTR 104[rax], rbx
	mov	rax, QWORD PTR -24[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L3
	call	__stack_chk_fail@PLT
.L3:
	mov	rax, QWORD PTR -152[rbp]
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	enqueue, .-enqueue
	.globl	dequeue
	.type	dequeue, @function
dequeue:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 104[rax]
	lea	edx, -1[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR 104[rax], edx
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -4[rbp], eax
	mov	DWORD PTR -8[rbp], 0
	jmp	.L5
.L6:
	mov	eax, DWORD PTR -8[rbp]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR -24[rbp]
	movsx	rdx, edx
	mov	ecx, DWORD PTR [rax+rdx*4]
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR -8[rbp]
	movsx	rdx, edx
	mov	DWORD PTR [rax+rdx*4], ecx
	add	DWORD PTR -8[rbp], 1
.L5:
	cmp	DWORD PTR -8[rbp], 23
	jle	.L6
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	eax, 256
	jne	.L7
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR 108[rax], 0
.L7:
	mov	eax, DWORD PTR -4[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	dequeue, .-dequeue
	.globl	move_to_WAITING_INPUT
	.type	move_to_WAITING_INPUT, @function
move_to_WAITING_INPUT:
.LFB8:
	.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, 184
	.cfi_offset 3, -24
	mov	QWORD PTR -168[rbp], rdi
	mov	DWORD PTR -172[rbp], esi
	mov	QWORD PTR -184[rbp], rdx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	eax, DWORD PTR -172[rbp]
	cdqe
	imul	rdx, rax, 1240
	mov	rax, QWORD PTR -184[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR global_time[rip]
	mov	DWORD PTR 36[rdx], eax
	mov	rax, QWORD PTR 16[rbp]
	mov	rdx, QWORD PTR 24[rbp]
	mov	QWORD PTR -144[rbp], rax
	mov	QWORD PTR -136[rbp], rdx
	mov	rax, QWORD PTR 32[rbp]
	mov	rdx, QWORD PTR 40[rbp]
	mov	QWORD PTR -128[rbp], rax
	mov	QWORD PTR -120[rbp], rdx
	mov	rax, QWORD PTR 48[rbp]
	mov	rdx, QWORD PTR 56[rbp]
	mov	QWORD PTR -112[rbp], rax
	mov	QWORD PTR -104[rbp], rdx
	mov	rax, QWORD PTR 64[rbp]
	mov	rdx, QWORD PTR 72[rbp]
	mov	QWORD PTR -96[rbp], rax
	mov	QWORD PTR -88[rbp], rdx
	mov	rax, QWORD PTR 80[rbp]
	mov	rdx, QWORD PTR 88[rbp]
	mov	QWORD PTR -80[rbp], rax
	mov	QWORD PTR -72[rbp], rdx
	mov	rax, QWORD PTR 96[rbp]
	mov	rdx, QWORD PTR 104[rbp]
	mov	QWORD PTR -64[rbp], rax
	mov	QWORD PTR -56[rbp], rdx
	mov	rax, QWORD PTR 112[rbp]
	mov	rdx, QWORD PTR 120[rbp]
	mov	QWORD PTR -48[rbp], rax
	mov	QWORD PTR -40[rbp], rdx
	mov	DWORD PTR -156[rbp], 0
	jmp	.L10
.L11:
	add	DWORD PTR -156[rbp], 1
.L10:
	mov	eax, DWORD PTR -156[rbp]
	cdqe
	imul	rdx, rax, 1240
	mov	rax, QWORD PTR -184[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -172[rbp], eax
	jne	.L11
	mov	eax, DWORD PTR -156[rbp]
	cdqe
	imul	rdx, rax, 1240
	mov	rax, QWORD PTR -184[rbp]
	add	rax, rdx
	mov	DWORD PTR 4[rax], 2
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	mov	edx, DWORD PTR -172[rbp]
	mov	DWORD PTR -144[rbp+rax*4], edx
	mov	eax, DWORD PTR -40[rbp]
	add	eax, 1
	mov	DWORD PTR -40[rbp], eax
	mov	DWORD PTR -156[rbp], 0
	jmp	.L12
.L16:
	mov	eax, DWORD PTR -156[rbp]
	add	eax, 1
	mov	DWORD PTR -152[rbp], eax
	jmp	.L13
.L15:
	mov	eax, DWORD PTR -156[rbp]
	cdqe
	imul	rdx, rax, 1240
	mov	rax, QWORD PTR -184[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR 44[rax]
	mov	eax, DWORD PTR -152[rbp]
	cdqe
	imul	rcx, rax, 1240
	mov	rax, QWORD PTR -184[rbp]
	add	rax, rcx
	mov	eax, DWORD PTR 44[rax]
	cmp	edx, eax
	jle	.L14
	mov	eax, DWORD PTR -156[rbp]
	cdqe
	mov	eax, DWORD PTR -144[rbp+rax*4]
	mov	DWORD PTR -148[rbp], eax
	mov	eax, DWORD PTR -152[rbp]
	cdqe
	mov	edx, DWORD PTR -144[rbp+rax*4]
	mov	eax, DWORD PTR -156[rbp]
	cdqe
	mov	DWORD PTR -144[rbp+rax*4], edx
	mov	eax, DWORD PTR -152[rbp]
	cdqe
	mov	edx, DWORD PTR -148[rbp]
	mov	DWORD PTR -144[rbp+rax*4], edx
.L14:
	add	DWORD PTR -152[rbp], 1
.L13:
	mov	eax, DWORD PTR -40[rbp]
	cmp	DWORD PTR -152[rbp], eax
	jl	.L15
	add	DWORD PTR -156[rbp], 1
.L12:
	mov	eax, DWORD PTR -40[rbp]
	cmp	DWORD PTR -156[rbp], eax
	jl	.L16
	mov	DWORD PTR -36[rbp], 1
	mov	rax, QWORD PTR -168[rbp]
	mov	rcx, QWORD PTR -144[rbp]
	mov	rbx, QWORD PTR -136[rbp]
	mov	QWORD PTR [rax], rcx
	mov	QWORD PTR 8[rax], rbx
	mov	rcx, QWORD PTR -128[rbp]
	mov	rbx, QWORD PTR -120[rbp]
	mov	QWORD PTR 16[rax], rcx
	mov	QWORD PTR 24[rax], rbx
	mov	rcx, QWORD PTR -112[rbp]
	mov	rbx, QWORD PTR -104[rbp]
	mov	QWORD PTR 32[rax], rcx
	mov	QWORD PTR 40[rax], rbx
	mov	rcx, QWORD PTR -96[rbp]
	mov	rbx, QWORD PTR -88[rbp]
	mov	QWORD PTR 48[rax], rcx
	mov	QWORD PTR 56[rax], rbx
	mov	rcx, QWORD PTR -80[rbp]
	mov	rbx, QWORD PTR -72[rbp]
	mov	QWORD PTR 64[rax], rcx
	mov	QWORD PTR 72[rax], rbx
	mov	rcx, QWORD PTR -64[rbp]
	mov	rbx, QWORD PTR -56[rbp]
	mov	QWORD PTR 80[rax], rcx
	mov	QWORD PTR 88[rax], rbx
	mov	rcx, QWORD PTR -48[rbp]
	mov	rbx, QWORD PTR -40[rbp]
	mov	QWORD PTR 96[rax], rcx
	mov	QWORD PTR 104[rax], rbx
	mov	rax, QWORD PTR -24[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L18
	call	__stack_chk_fail@PLT
.L18:
	mov	rax, QWORD PTR -168[rbp]
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	move_to_WAITING_INPUT, .-move_to_WAITING_INPUT
	.globl	clear_hardware
	.type	clear_hardware, @function
clear_hardware:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	mov	DWORD PTR [rax], -1
	mov	rax, QWORD PTR -8[rbp]
	mov	DWORD PTR 4[rax], 0
	mov	rax, QWORD PTR -8[rbp]
	mov	DWORD PTR 8[rax], -1
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	clear_hardware, .-clear_hardware
	.globl	get_process_from_hardware
	.type	get_process_from_hardware, @function
get_process_from_hardware:
.LFB10:
	.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	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -4[rbp], eax
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	clear_hardware
	mov	eax, DWORD PTR -4[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	get_process_from_hardware, .-get_process_from_hardware
	.globl	execute_next_command
	.type	execute_next_command, @function
execute_next_command:
.LFB11:
	.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, 184
	.cfi_offset 3, -24
	mov	DWORD PTR -36[rbp], edi
	mov	QWORD PTR -48[rbp], rsi
	mov	QWORD PTR -56[rbp], rdx
	mov	QWORD PTR -64[rbp], rcx
	mov	QWORD PTR -72[rbp], r8
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	imul	rdx, rax, 1240
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR 8[rax]
	add	edx, 1
	mov	DWORD PTR 8[rax], edx
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	imul	rdx, rax, 1240
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR 8[rax]
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	imul	rcx, rax, 1240
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rcx
	mov	eax, DWORD PTR 12[rax]
	cmp	edx, eax
	jne	.L23
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	imul	rdx, rax, 1240
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	mov	DWORD PTR 4[rax], 4
	mov	eax, DWORD PTR finished_processes[rip]
	add	eax, 1
	mov	DWORD PTR finished_processes[rip], eax
	jmp	.L28
.L23:
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	imul	rdx, rax, 1240
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR -36[rbp]
	movsx	rdx, edx
	imul	rcx, rdx, 1240
	mov	rdx, QWORD PTR -48[rbp]
	add	rdx, rcx
	mov	edx, DWORD PTR 8[rdx]
	movsx	rdx, edx
	add	rdx, 4
	mov	eax, DWORD PTR 8[rax+rdx*8]
	cmp	eax, 12
	jne	.L25
	mov	rbx, QWORD PTR -72[rbp]
	lea	rcx, -192[rbp]
	mov	r8d, DWORD PTR -36[rbp]
	mov	rax, QWORD PTR -72[rbp]
	sub	rsp, 112
	mov	rdx, rsp
	mov	rsi, QWORD PTR [rax]
	mov	rdi, QWORD PTR 8[rax]
	mov	QWORD PTR [rdx], rsi
	mov	QWORD PTR 8[rdx], rdi
	mov	rsi, QWORD PTR 16[rax]
	mov	rdi, QWORD PTR 24[rax]
	mov	QWORD PTR 16[rdx], rsi
	mov	QWORD PTR 24[rdx], rdi
	mov	rsi, QWORD PTR 32[rax]
	mov	rdi, QWORD PTR 40[rax]
	mov	QWORD PTR 32[rdx], rsi
	mov	QWORD PTR 40[rdx], rdi
	mov	rsi, QWORD PTR 48[rax]
	mov	rdi, QWORD PTR 56[rax]
	mov	QWORD PTR 48[rdx], rsi
	mov	QWORD PTR 56[rdx], rdi
	mov	rsi, QWORD PTR 64[rax]
	mov	rdi, QWORD PTR 72[rax]
	mov	QWORD PTR 64[rdx], rsi
	mov	QWORD PTR 72[rdx], rdi
	mov	rsi, QWORD PTR 80[rax]
	mov	rdi, QWORD PTR 88[rax]
	mov	QWORD PTR 80[rdx], rsi
	mov	QWORD PTR 88[rdx], rdi
	mov	rsi, QWORD PTR 96[rax]
	mov	rdi, QWORD PTR 104[rax]
	mov	QWORD PTR 96[rdx], rsi
	mov	QWORD PTR 104[rdx], rdi
	mov	esi, r8d
	mov	rdi, rcx
	call	enqueue
	add	rsp, 112
	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	rdx, QWORD PTR -168[rbp]
	mov	QWORD PTR 16[rbx], rax
	mov	QWORD PTR 24[rbx], rdx
	mov	rax, QWORD PTR -160[rbp]
	mov	rdx, QWORD PTR -152[rbp]
	mov	QWORD PTR 32[rbx], rax
	mov	QWORD PTR 40[rbx], rdx
	mov	rax, QWORD PTR -144[rbp]
	mov	rdx, QWORD PTR -136[rbp]
	mov	QWORD PTR 48[rbx], rax
	mov	QWORD PTR 56[rbx], rdx
	mov	rax, QWORD PTR -128[rbp]
	mov	rdx, QWORD PTR -120[rbp]
	mov	QWORD PTR 64[rbx], rax
	mov	QWORD PTR 72[rbx], rdx
	mov	rax, QWORD PTR -112[rbp]
	mov	rdx, QWORD PTR -104[rbp]
	mov	QWORD PTR 80[rbx], rax
	mov	QWORD PTR 88[rbx], rdx
	mov	rax, QWORD PTR -96[rbp]
	mov	rdx, QWORD PTR -88[rbp]
	mov	QWORD PTR 96[rbx], rax
	mov	QWORD PTR 104[rbx], rdx
	jmp	.L28
.L25:
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	imul	rdx, rax, 1240
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR -36[rbp]
	movsx	rdx, edx
	imul	rcx, rdx, 1240
	mov	rdx, QWORD PTR -48[rbp]
	add	rdx, rcx
	mov	edx, DWORD PTR 8[rdx]
	movsx	rdx, edx
	add	rdx, 4
	mov	eax, DWORD PTR 8[rax+rdx*8]
	cmp	eax, 13
	jne	.L26
	mov	rbx, QWORD PTR -64[rbp]
	lea	rcx, -192[rbp]
	mov	r8d, DWORD PTR -36[rbp]
	mov	rax, QWORD PTR -64[rbp]
	sub	rsp, 112
	mov	rdx, rsp
	mov	rsi, QWORD PTR [rax]
	mov	rdi, QWORD PTR 8[rax]
	mov	QWORD PTR [rdx], rsi
	mov	QWORD PTR 8[rdx], rdi
	mov	rsi, QWORD PTR 16[rax]
	mov	rdi, QWORD PTR 24[rax]
	mov	QWORD PTR 16[rdx], rsi
	mov	QWORD PTR 24[rdx], rdi
	mov	rsi, QWORD PTR 32[rax]
	mov	rdi, QWORD PTR 40[rax]
	mov	QWORD PTR 32[rdx], rsi
	mov	QWORD PTR 40[rdx], rdi
	mov	rsi, QWORD PTR 48[rax]
	mov	rdi, QWORD PTR 56[rax]
	mov	QWORD PTR 48[rdx], rsi
	mov	QWORD PTR 56[rdx], rdi
	mov	rsi, QWORD PTR 64[rax]
	mov	rdi, QWORD PTR 72[rax]
	mov	QWORD PTR 64[rdx], rsi
	mov	QWORD PTR 72[rdx], rdi
	mov	rsi, QWORD PTR 80[rax]
	mov	rdi, QWORD PTR 88[rax]
	mov	QWORD PTR 80[rdx], rsi
	mov	QWORD PTR 88[rdx], rdi
	mov	rsi, QWORD PTR 96[rax]
	mov	rdi, QWORD PTR 104[rax]
	mov	QWORD PTR 96[rdx], rsi
	mov	QWORD PTR 104[rdx], rdi
	mov	esi, r8d
	mov	rdi, rcx
	call	enqueue
	add	rsp, 112
	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	rdx, QWORD PTR -168[rbp]
	mov	QWORD PTR 16[rbx], rax
	mov	QWORD PTR 24[rbx], rdx
	mov	rax, QWORD PTR -160[rbp]
	mov	rdx, QWORD PTR -152[rbp]
	mov	QWORD PTR 32[rbx], rax
	mov	QWORD PTR 40[rbx], rdx
	mov	rax, QWORD PTR -144[rbp]
	mov	rdx, QWORD PTR -136[rbp]
	mov	QWORD PTR 48[rbx], rax
	mov	QWORD PTR 56[rbx], rdx
	mov	rax, QWORD PTR -128[rbp]
	mov	rdx, QWORD PTR -120[rbp]
	mov	QWORD PTR 64[rbx], rax
	mov	QWORD PTR 72[rbx], rdx
	mov	rax, QWORD PTR -112[rbp]
	mov	rdx, QWORD PTR -104[rbp]
	mov	QWORD PTR 80[rbx], rax
	mov	QWORD PTR 88[rbx], rdx
	mov	rax, QWORD PTR -96[rbp]
	mov	rdx, QWORD PTR -88[rbp]
	mov	QWORD PTR 96[rbx], rax
	mov	QWORD PTR 104[rbx], rdx
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	imul	rdx, rax, 1240
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	mov	DWORD PTR 4[rax], 2
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	imul	rdx, rax, 1240
	mov	rax, QWORD PTR -48[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR global_time[rip]
	mov	DWORD PTR 32[rdx], eax
	jmp	.L28
.L26:
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	imul	rdx, rax, 1240
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR -36[rbp]
	movsx	rdx, edx
	imul	rcx, rdx, 1240
	mov	rdx, QWORD PTR -48[rbp]
	add	rdx, rcx
	mov	edx, DWORD PTR 8[rdx]
	movsx	rdx, edx
	add	rdx, 4
	mov	eax, DWORD PTR 8[rax+rdx*8]
	cmp	eax, 11
	jne	.L28
	mov	rbx, QWORD PTR -56[rbp]
	lea	rcx, -192[rbp]
	mov	r9, QWORD PTR -48[rbp]
	mov	r8d, DWORD PTR -36[rbp]
	mov	rax, QWORD PTR -56[rbp]
	sub	rsp, 112
	mov	rdx, rsp
	mov	rsi, QWORD PTR [rax]
	mov	rdi, QWORD PTR 8[rax]
	mov	QWORD PTR [rdx], rsi
	mov	QWORD PTR 8[rdx], rdi
	mov	rsi, QWORD PTR 16[rax]
	mov	rdi, QWORD PTR 24[rax]
	mov	QWORD PTR 16[rdx], rsi
	mov	QWORD PTR 24[rdx], rdi
	mov	rsi, QWORD PTR 32[rax]
	mov	rdi, QWORD PTR 40[rax]
	mov	QWORD PTR 32[rdx], rsi
	mov	QWORD PTR 40[rdx], rdi
	mov	rsi, QWORD PTR 48[rax]
	mov	rdi, QWORD PTR 56[rax]
	mov	QWORD PTR 48[rdx], rsi
	mov	QWORD PTR 56[rdx], rdi
	mov	rsi, QWORD PTR 64[rax]
	mov	rdi, QWORD PTR 72[rax]
	mov	QWORD PTR 64[rdx], rsi
	mov	QWORD PTR 72[rdx], rdi
	mov	rsi, QWORD PTR 80[rax]
	mov	rdi, QWORD PTR 88[rax]
	mov	QWORD PTR 80[rdx], rsi
	mov	QWORD PTR 88[rdx], rdi
	mov	rsi, QWORD PTR 96[rax]
	mov	rdi, QWORD PTR 104[rax]
	mov	QWORD PTR 96[rdx], rsi
	mov	QWORD PTR 104[rdx], rdi
	mov	rdx, r9
	mov	esi, r8d
	mov	rdi, rcx
	call	move_to_WAITING_INPUT
	add	rsp, 112
	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	rdx, QWORD PTR -168[rbp]
	mov	QWORD PTR 16[rbx], rax
	mov	QWORD PTR 24[rbx], rdx
	mov	rax, QWORD PTR -160[rbp]
	mov	rdx, QWORD PTR -152[rbp]
	mov	QWORD PTR 32[rbx], rax
	mov	QWORD PTR 40[rbx], rdx
	mov	rax, QWORD PTR -144[rbp]
	mov	rdx, QWORD PTR -136[rbp]
	mov	QWORD PTR 48[rbx], rax
	mov	QWORD PTR 56[rbx], rdx
	mov	rax, QWORD PTR -128[rbp]
	mov	rdx, QWORD PTR -120[rbp]
	mov	QWORD PTR 64[rbx], rax
	mov	QWORD PTR 72[rbx], rdx
	mov	rax, QWORD PTR -112[rbp]
	mov	rdx, QWORD PTR -104[rbp]
	mov	QWORD PTR 80[rbx], rax
	mov	QWORD PTR 88[rbx], rdx
	mov	rax, QWORD PTR -96[rbp]
	mov	rdx, QWORD PTR -88[rbp]
	mov	QWORD PTR 96[rbx], rax
	mov	QWORD PTR 104[rbx], rdx
.L28:
	nop
	mov	rax, QWORD PTR -24[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L27
	call	__stack_chk_fail@PLT
.L27:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	execute_next_command, .-execute_next_command
	.globl	create_new_process
	.type	create_new_process, @function
create_new_process:
.LFB12:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 1264
	mov	QWORD PTR -1256[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	eax, DWORD PTR pid_ctr[rip]
	mov	DWORD PTR -1248[rbp], eax
	mov	DWORD PTR -1244[rbp], 0
	mov	DWORD PTR -1240[rbp], 0
	mov	DWORD PTR -1236[rbp], 0
	mov	DWORD PTR -1228[rbp], 0
	mov	DWORD PTR -1232[rbp], 0
	mov	DWORD PTR -1224[rbp], 0
	mov	DWORD PTR -1220[rbp], 0
	mov	DWORD PTR -1216[rbp], 0
	mov	DWORD PTR -1212[rbp], 0
	mov	rax, QWORD PTR -1256[rbp]
	mov	rdx, rax
	lea	rax, -1248[rbp]
	mov	ecx, 1240
	mov	rsi, QWORD PTR [rax]
	mov	QWORD PTR [rdx], rsi
	mov	esi, ecx
	add	rsi, rdx
	lea	rdi, 8[rsi]
	mov	esi, ecx
	add	rsi, rax
	add	rsi, 8
	mov	rsi, QWORD PTR -16[rsi]
	mov	QWORD PTR -16[rdi], rsi
	lea	rdi, 8[rdx]
	and	rdi, -8
	sub	rdx, rdi
	sub	rax, rdx
	add	ecx, edx
	and	ecx, -8
	shr	ecx, 3
	mov	edx, ecx
	mov	edx, edx
	mov	rsi, rax
	mov	rcx, rdx
	rep movsq
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L31
	call	__stack_chk_fail@PLT
.L31:
	mov	rax, QWORD PTR -1256[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	create_new_process, .-create_new_process
	.globl	create_command
	.type	create_command, @function
create_command:
.LFB13:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -20[rbp], edi
	mov	DWORD PTR -24[rbp], esi
	mov	eax, DWORD PTR -20[rbp]
	mov	DWORD PTR -8[rbp], eax
	mov	eax, DWORD PTR -24[rbp]
	mov	DWORD PTR -4[rbp], eax
	mov	rax, QWORD PTR -8[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	create_command, .-create_command
	.section	.rodata
.LC0:
	.string	"r"
.LC1:
	.string	"NEW"
.LC2:
	.string	"CPU"
.LC3:
	.string	"INP"
.LC4:
	.string	"SSD"
.LC5:
	.string	"%s %d"
	.text
	.globl	read_commands
	.type	read_commands, @function
read_commands:
.LFB14:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r12
	push	rbx
	sub	rsp, 1424
	.cfi_offset 12, -24
	.cfi_offset 3, -32
	mov	QWORD PTR -184[rbp], rdi
	mov	QWORD PTR -192[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -184[rbp]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -168[rbp], rax
	jmp	.L35
.L40:
	lea	rax, -160[rbp]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L36
	mov	eax, DWORD PTR process_ctr[rip]
	cdqe
	imul	rdx, rax, 1240
	mov	rax, QWORD PTR -192[rbp]
	lea	rbx, [rdx+rax]
	lea	rax, -1440[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	create_new_process
	mov	rdx, rbx
	lea	rax, -1440[rbp]
	mov	ecx, 1240
	mov	rsi, QWORD PTR [rax]
	mov	QWORD PTR [rdx], rsi
	mov	esi, ecx
	add	rsi, rdx
	lea	rdi, 8[rsi]
	mov	esi, ecx
	add	rsi, rax
	add	rsi, 8
	mov	rsi, QWORD PTR -16[rsi]
	mov	QWORD PTR -16[rdi], rsi
	lea	rdi, 8[rdx]
	and	rdi, -8
	sub	rdx, rdi
	sub	rax, rdx
	add	ecx, edx
	and	ecx, -8
	shr	ecx, 3
	mov	edx, ecx
	mov	edx, edx
	mov	rsi, rax
	mov	rcx, rdx
	rep movsq
	mov	DWORD PTR -172[rbp], 10
	mov	eax, DWORD PTR pid_ctr[rip]
	add	eax, 1
	mov	DWORD PTR pid_ctr[rip], eax
	mov	eax, DWORD PTR process_ctr[rip]
	add	eax, 1
	mov	DWORD PTR process_ctr[rip], eax
	jmp	.L37
.L36:
	lea	rax, -160[rbp]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L38
	mov	DWORD PTR -172[rbp], 12
	jmp	.L37
.L38:
	lea	rax, -160[rbp]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L39
	mov	DWORD PTR -172[rbp], 11
	jmp	.L37
.L39:
	lea	rax, -160[rbp]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L37
	mov	DWORD PTR -172[rbp], 13
.L37:
	mov	edx, DWORD PTR -176[rbp]
	mov	eax, DWORD PTR process_ctr[rip]
	cdqe
	imul	rax, rax, 1240
	lea	rcx, -1240[rax]
	mov	rax, QWORD PTR -192[rbp]
	lea	rbx, [rcx+rax]
	mov	eax, DWORD PTR process_ctr[rip]
	cdqe
	imul	rax, rax, 1240
	lea	rcx, -1240[rax]
	mov	rax, QWORD PTR -192[rbp]
	add	rax, rcx
	mov	eax, DWORD PTR 8[rax]
	cdqe
	lea	r12, 4[rax]
	mov	eax, DWORD PTR -172[rbp]
	mov	esi, edx
	mov	edi, eax
	call	create_command
	mov	QWORD PTR 8[rbx+r12*8], rax
	mov	eax, DWORD PTR process_ctr[rip]
	cdqe
	imul	rax, rax, 1240
	lea	rdx, -1240[rax]
	mov	rax, QWORD PTR -192[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR 8[rax]
	add	edx, 1
	mov	DWORD PTR 8[rax], edx
	mov	eax, DWORD PTR process_ctr[rip]
	cdqe
	imul	rax, rax, 1240
	lea	rdx, -1240[rax]
	mov	rax, QWORD PTR -192[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR 12[rax]
	add	edx, 1
	mov	DWORD PTR 12[rax], edx
.L35:
	lea	rcx, -176[rbp]
	lea	rdx, -160[rbp]
	mov	rax, QWORD PTR -168[rbp]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	cmp	eax, 2
	je	.L40
	mov	rax, QWORD PTR -168[rbp]
	mov	rdi, rax
	call	fclose@PLT
	nop
	mov	rax, QWORD PTR -24[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L41
	call	__stack_chk_fail@PLT
.L41:
	add	rsp, 1424
	pop	rbx
	pop	r12
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	read_commands, .-read_commands
	.section	.rodata
.LC6:
	.string	"input.txt"
.LC7:
	.string	"PID %d\n"
.LC8:
	.string	"STATE %d\n"
.LC9:
	.string	"COMMAND_INDEX %d\n"
.LC10:
	.string	"TOTAL_COMMANDS %d\n"
.LC11:
	.string	"SSD_ACCESS_COUNTER %d\n"
.LC12:
	.string	"SSD_USAGE_TIME %d\n"
.LC13:
	.string	"SSD_WAIT_TIME %d\n"
.LC14:
	.string	"SSD_ENTRY_TIME %d\n"
.LC15:
	.string	"\tNAME %d"
.LC16:
	.string	"\tTIME %d\n"
	.align 8
.LC17:
	.string	"Current Time: %d, Total Processes in Table: %d\n"
.LC18:
	.string	"PROCESS %d: "
.LC19:
	.string	"Current State = READY"
.LC20:
	.string	"Current State = RUNNING"
.LC21:
	.string	"Current State = WAITING"
.LC22:
	.string	"Current State = FINISHED"
.LC23:
	.string	" Next Index = %d\n"
.LC24:
	.string	"\n\n"
.LC25:
	.string	"Summary: "
	.align 8
.LC26:
	.string	"Total Processes Completed: %d \n"
	.align 8
.LC27:
	.string	"Total Number of SSD Accesses: %d\n"
	.align 8
.LC28:
	.string	"Average SSD Access Duration: %f ms\n"
	.align 8
.LC29:
	.string	"Average SSD Access Duration: 0 ms"
.LC30:
	.string	"Total Elapsed Time %d ms\n"
.LC31:
	.string	"CPU Utilization %f\n"
.LC32:
	.string	"SSD Utilization %f\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB15:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	r11, -28672[rsp]
.LPSRL0:
	sub	rsp, 4096
	or	DWORD PTR [rsp], 0
	cmp	rsp, r11
	jne	.LPSRL0
	sub	rsp, 2768
	mov	DWORD PTR -31428[rbp], edi
	mov	QWORD PTR -31440[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, .LC6[rip]
	mov	QWORD PTR -31392[rbp], rax
	mov	DWORD PTR -31376[rbp], 0
	mov	DWORD PTR -31364[rbp], 0
	mov	DWORD PTR -31352[rbp], 0
	mov	DWORD PTR -31240[rbp], 0
	mov	DWORD PTR -31236[rbp], 0
	mov	DWORD PTR -31424[rbp], 0
	jmp	.L43
.L44:
	mov	eax, DWORD PTR -31424[rbp]
	cdqe
	mov	DWORD PTR -31344[rbp+rax*4], 256
	add	DWORD PTR -31424[rbp], 1
.L43:
	cmp	DWORD PTR -31424[rbp], 25
	jle	.L44
	mov	DWORD PTR -31128[rbp], 0
	mov	DWORD PTR -31124[rbp], 0
	mov	DWORD PTR -31424[rbp], 0
	jmp	.L45
.L46:
	mov	eax, DWORD PTR -31424[rbp]
	cdqe
	mov	DWORD PTR -31232[rbp+rax*4], 256
	add	DWORD PTR -31424[rbp], 1
.L45:
	cmp	DWORD PTR -31424[rbp], 25
	jle	.L46
	mov	DWORD PTR -31016[rbp], 0
	mov	DWORD PTR -31012[rbp], 0
	mov	DWORD PTR -31424[rbp], 0
	jmp	.L47
.L48:
	mov	eax, DWORD PTR -31424[rbp]
	cdqe
	mov	DWORD PTR -31120[rbp+rax*4], 256
	add	DWORD PTR -31424[rbp], 1
.L47:
	cmp	DWORD PTR -31424[rbp], 25
	jle	.L48
	lea	rdx, -31008[rbp]
	mov	rax, QWORD PTR -31392[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	read_commands
	mov	DWORD PTR -31420[rbp], 0
	jmp	.L49
.L52:
	mov	eax, DWORD PTR -31420[rbp]
	cdqe
	imul	rax, rax, 1240
	add	rax, rbp
	sub	rax, 31008
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -31420[rbp]
	cdqe
	imul	rax, rax, 1240
	add	rax, rbp
	sub	rax, 31004
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -31420[rbp]
	cdqe
	imul	rax, rax, 1240
	add	rax, rbp
	sub	rax, 31000
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -31420[rbp]
	cdqe
	imul	rax, rax, 1240
	add	rax, rbp
	sub	rax, 30996
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -31420[rbp]
	cdqe
	imul	rax, rax, 1240
	add	rax, rbp
	sub	rax, 30988
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -31420[rbp]
	cdqe
	imul	rax, rax, 1240
	add	rax, rbp
	sub	rax, 30984
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -31420[rbp]
	cdqe
	imul	rax, rax, 1240
	add	rax, rbp
	sub	rax, 30980
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -31420[rbp]
	cdqe
	imul	rax, rax, 1240
	add	rax, rbp
	sub	rax, 30976
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -31416[rbp], 0
	jmp	.L50
.L51:
	mov	eax, DWORD PTR -31416[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -31420[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	mov	rdx, rax
	sal	rdx, 5
	sub	rdx, rax
	lea	rax, [rdx+rcx]
	add	rax, 4
	mov	eax, DWORD PTR -31000[rbp+rax*8]
	mov	esi, eax
	lea	rdi, .LC15[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -31416[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -31420[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	mov	rdx, rax
	sal	rdx, 5
	sub	rdx, rax
	lea	rax, [rdx+rcx]
	add	rax, 4
	mov	eax, DWORD PTR -30996[rbp+rax*8]
	mov	esi, eax
	lea	rdi, .LC16[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -31416[rbp], 1
.L50:
	mov	eax, DWORD PTR -31420[rbp]
	cdqe
	imul	rax, rax, 1240
	add	rax, rbp
	sub	rax, 31000
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -31416[rbp], eax
	jl	.L51
	mov	edi, 10
	call	putchar@PLT
	add	DWORD PTR -31420[rbp], 1
.L49:
	mov	eax, DWORD PTR process_ctr[rip]
	cmp	DWORD PTR -31420[rbp], eax
	jl	.L52
	mov	DWORD PTR -31420[rbp], 0
	jmp	.L53
.L54:
	mov	eax, DWORD PTR -31420[rbp]
	cdqe
	imul	rax, rax, 1240
	add	rax, rbp
	sub	rax, 31000
	mov	eax, DWORD PTR [rax]
	mov	edx, DWORD PTR -31420[rbp]
	movsx	rdx, edx
	imul	rdx, rdx, 1240
	add	rdx, rbp
	sub	rdx, 30996
	mov	DWORD PTR [rdx], eax
	mov	eax, DWORD PTR -31420[rbp]
	cdqe
	imul	rax, rax, 1240
	add	rax, rbp
	sub	rax, 31000
	mov	DWORD PTR [rax], 0
	add	DWORD PTR -31420[rbp], 1
.L53:
	mov	eax, DWORD PTR process_ctr[rip]
	cmp	DWORD PTR -31420[rbp], eax
	jl	.L54
	mov	edx, DWORD PTR process_ctr[rip]
	mov	eax, DWORD PTR global_time[rip]
	mov	esi, eax
	lea	rdi, .LC17[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -31420[rbp], 0
	jmp	.L55
.L60:
	mov	eax, DWORD PTR -31420[rbp]
	cdqe
	imul	rax, rax, 1240
	add	rax, rbp
	sub	rax, 31008
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC18[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -31420[rbp]
	cdqe
	imul	rax, rax, 1240
	add	rax, rbp
	sub	rax, 31004
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	jne	.L56
	lea	rdi, .LC19[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L57
.L56:
	mov	eax, DWORD PTR -31420[rbp]
	cdqe
	imul	rax, rax, 1240
	add	rax, rbp
	sub	rax, 31004
	mov	eax, DWORD PTR [rax]
	cmp	eax, 1
	jne	.L58
	lea	rdi, .LC20[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L57
.L58:
	mov	eax, DWORD PTR -31420[rbp]
	cdqe
	imul	rax, rax, 1240
	add	rax, rbp
	sub	rax, 31004
	mov	eax, DWORD PTR [rax]
	cmp	eax, 2
	jne	.L59
	lea	rdi, .LC21[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L57
.L59:
	mov	eax, DWORD PTR -31420[rbp]
	cdqe
	imul	rax, rax, 1240
	add	rax, rbp
	sub	rax, 31004
	mov	eax, DWORD PTR [rax]
	cmp	eax, 4
	jne	.L57
	lea	rdi, .LC22[rip]
	mov	eax, 0
	call	printf@PLT
.L57:
	mov	eax, DWORD PTR -31420[rbp]
	cdqe
	imul	rax, rax, 1240
	add	rax, rbp
	sub	rax, 31000
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC23[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -31420[rbp], 1
.L55:
	mov	eax, DWORD PTR process_ctr[rip]
	cmp	DWORD PTR -31420[rbp], eax
	jl	.L60
	lea	rdi, .LC24[rip]
	call	puts@PLT
	jmp	.L61
.L87:
	mov	DWORD PTR -31412[rbp], 9999999
	mov	eax, DWORD PTR -31376[rbp]
	test	eax, eax
	je	.L62
	mov	eax, DWORD PTR -31372[rbp]
	cmp	DWORD PTR -31412[rbp], eax
	jle	.L62
	mov	eax, DWORD PTR -31372[rbp]
	mov	DWORD PTR -31412[rbp], eax
.L62:
	mov	eax, DWORD PTR -31364[rbp]
	test	eax, eax
	je	.L63
	mov	eax, DWORD PTR -31360[rbp]
	cmp	DWORD PTR -31412[rbp], eax
	jle	.L63
	mov	eax, DWORD PTR -31360[rbp]
	mov	DWORD PTR -31412[rbp], eax
.L63:
	mov	eax, DWORD PTR -31352[rbp]
	test	eax, eax
	je	.L64
	mov	eax, DWORD PTR -31348[rbp]
	cmp	DWORD PTR -31412[rbp], eax
	jle	.L64
	mov	eax, DWORD PTR -31348[rbp]
	mov	DWORD PTR -31412[rbp], eax
.L64:
	mov	eax, DWORD PTR -31236[rbp]
	test	eax, eax
	je	.L65
	mov	eax, DWORD PTR -31344[rbp]
	mov	edx, DWORD PTR -31344[rbp]
	movsx	rdx, edx
	imul	rdx, rdx, 1240
	add	rdx, rbp
	sub	rdx, 31000
	mov	edx, DWORD PTR [rdx]
	movsx	rcx, edx
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	mov	rdx, rax
	sal	rdx, 5
	sub	rdx, rax
	lea	rax, [rdx+rcx]
	add	rax, 4
	mov	edx, DWORD PTR -30996[rbp+rax*8]
	mov	eax, DWORD PTR -31344[rbp]
	cdqe
	imul	rax, rax, 1240
	add	rax, rbp
	sub	rax, 30972
	mov	eax, DWORD PTR [rax]
	add	eax, edx
	cmp	DWORD PTR -31412[rbp], eax
	jle	.L65
	mov	eax, DWORD PTR -31344[rbp]
	mov	edx, DWORD PTR -31344[rbp]
	movsx	rdx, edx
	imul	rdx, rdx, 1240
	add	rdx, rbp
	sub	rdx, 31000
	mov	edx, DWORD PTR [rdx]
	movsx	rcx, edx
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	mov	rdx, rax
	sal	rdx, 5
	sub	rdx, rax
	lea	rax, [rdx+rcx]
	add	rax, 4
	mov	edx, DWORD PTR -30996[rbp+rax*8]
	mov	eax, DWORD PTR -31344[rbp]
	cdqe
	imul	rax, rax, 1240
	add	rax, rbp
	sub	rax, 30972
	mov	eax, DWORD PTR [rax]
	add	eax, edx
	mov	DWORD PTR -31412[rbp], eax
.L65:
	mov	edx, DWORD PTR next_new_process[rip]
	mov	eax, DWORD PTR process_ctr[rip]
	cmp	edx, eax
	jge	.L66
	mov	eax, DWORD PTR next_new_process[rip]
	cdqe
	imul	rax, rax, 1240
	add	rax, rbp
	sub	rax, 30964
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -31412[rbp], eax
	jle	.L66
	mov	eax, DWORD PTR next_new_process[rip]
	cdqe
	imul	rax, rax, 1240
	add	rax, rbp
	sub	rax, 30964
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -31412[rbp], eax
.L66:
	mov	eax, DWORD PTR -31412[rbp]
	mov	DWORD PTR global_time[rip], eax
	mov	eax, DWORD PTR -31376[rbp]
	test	eax, eax
	je	.L67
	mov	eax, DWORD PTR -31372[rbp]
	cmp	DWORD PTR -31412[rbp], eax
	jne	.L67
	lea	rdx, -31008[rbp]
	lea	rax, -31380[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	get_process_from_hardware
	mov	edi, eax
	lea	rsi, -31232[rbp]
	lea	rcx, -31120[rbp]
	lea	rdx, -31344[rbp]
	lea	rax, -31008[rbp]
	mov	r8, rsi
	mov	rsi, rax
	call	execute_next_command
.L67:
	mov	eax, DWORD PTR -31364[rbp]
	test	eax, eax
	je	.L68
	mov	eax, DWORD PTR -31360[rbp]
	cmp	DWORD PTR -31412[rbp], eax
	jne	.L68
	lea	rdx, -31008[rbp]
	lea	rax, -31368[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	get_process_from_hardware
	mov	edi, eax
	lea	rsi, -31232[rbp]
	lea	rcx, -31120[rbp]
	lea	rdx, -31344[rbp]
	lea	rax, -31008[rbp]
	mov	r8, rsi
	mov	rsi, rax
	call	execute_next_command
.L68:
	mov	eax, DWORD PTR -31352[rbp]
	test	eax, eax
	je	.L69
	mov	eax, DWORD PTR -31348[rbp]
	cmp	DWORD PTR -31412[rbp], eax
	jne	.L69
	lea	rdx, -31008[rbp]
	lea	rax, -31356[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	get_process_from_hardware
	mov	edi, eax
	lea	rsi, -31232[rbp]
	lea	rcx, -31120[rbp]
	lea	rdx, -31344[rbp]
	lea	rax, -31008[rbp]
	mov	r8, rsi
	mov	rsi, rax
	call	execute_next_command
.L69:
	mov	eax, DWORD PTR -31236[rbp]
	test	eax, eax
	je	.L70
	jmp	.L71
.L72:
	lea	rax, -31344[rbp]
	mov	rdi, rax
	call	dequeue
	mov	edi, eax
	lea	rsi, -31232[rbp]
	lea	rcx, -31120[rbp]
	lea	rdx, -31344[rbp]
	lea	rax, -31008[rbp]
	mov	r8, rsi
	mov	rsi, rax
	call	execute_next_command
.L71:
	mov	eax, DWORD PTR -31236[rbp]
	test	eax, eax
	je	.L70
	mov	eax, DWORD PTR -31344[rbp]
	mov	edx, DWORD PTR -31344[rbp]
	movsx	rdx, edx
	imul	rdx, rdx, 1240
	add	rdx, rbp
	sub	rdx, 31000
	mov	edx, DWORD PTR [rdx]
	movsx	rcx, edx
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	mov	rdx, rax
	sal	rdx, 5
	sub	rdx, rax
	lea	rax, [rdx+rcx]
	add	rax, 4
	mov	edx, DWORD PTR -30996[rbp+rax*8]
	mov	eax, DWORD PTR -31344[rbp]
	cdqe
	imul	rax, rax, 1240
	add	rax, rbp
	sub	rax, 30972
	mov	eax, DWORD PTR [rax]
	add	eax, edx
	cmp	DWORD PTR -31412[rbp], eax
	je	.L72
.L70:
	mov	edx, DWORD PTR next_new_process[rip]
	mov	eax, DWORD PTR process_ctr[rip]
	cmp	edx, eax
	jge	.L73
	jmp	.L74
.L75:
	mov	eax, DWORD PTR next_new_process[rip]
	lea	rdi, -31232[rbp]
	lea	rcx, -31120[rbp]
	lea	rdx, -31344[rbp]
	lea	rsi, -31008[rbp]
	mov	r8, rdi
	mov	edi, eax
	call	execute_next_command
	mov	eax, DWORD PTR next_new_process[rip]
	add	eax, 1
	mov	DWORD PTR next_new_process[rip], eax
.L74:
	mov	eax, DWORD PTR next_new_process[rip]
	cdqe
	imul	rax, rax, 1240
	add	rax, rbp
	sub	rax, 30964
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -31412[rbp], eax
	je	.L75
.L73:
	mov	eax, DWORD PTR -31376[rbp]
	test	eax, eax
	jne	.L76
	mov	eax, DWORD PTR -31124[rbp]
	test	eax, eax
	je	.L76
	lea	rax, -31232[rbp]
	mov	rdi, rax
	call	dequeue
	mov	DWORD PTR -31380[rbp], eax
	mov	DWORD PTR -31376[rbp], 1
	mov	eax, DWORD PTR -31380[rbp]
	mov	edx, DWORD PTR -31380[rbp]
	movsx	rdx, edx
	imul	rdx, rdx, 1240
	add	rdx, rbp
	sub	rdx, 31000
	mov	edx, DWORD PTR [rdx]
	movsx	rcx, edx
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	mov	rdx, rax
	sal	rdx, 5
	sub	rdx, rax
	lea	rax, [rdx+rcx]
	add	rax, 4
	mov	edx, DWORD PTR -30996[rbp+rax*8]
	mov	eax, DWORD PTR global_time[rip]
	add	eax, edx
	mov	DWORD PTR -31372[rbp], eax
	mov	eax, DWORD PTR -31380[rbp]
	cdqe
	imul	rax, rax, 1240
	add	rax, rbp
	sub	rax, 31004
	mov	DWORD PTR [rax], 1
	mov	eax, DWORD PTR -31380[rbp]
	cdqe
	imul	rax, rax, 1240
	add	rax, rbp
	sub	rax, 30992
	mov	ecx, DWORD PTR [rax]
	mov	eax, DWORD PTR -31380[rbp]
	mov	edx, DWORD PTR -31380[rbp]
	movsx	rdx, edx
	imul	rdx, rdx, 1240
	add	rdx, rbp
	sub	rdx, 31000
	mov	edx, DWORD PTR [rdx]
	movsx	rsi, edx
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	mov	rdx, rax
	sal	rdx, 5
	sub	rdx, rax
	lea	rax, [rdx+rsi]
	add	rax, 4
	mov	edx, DWORD PTR -30996[rbp+rax*8]
	mov	eax, DWORD PTR -31380[rbp]
	add	edx, ecx
	cdqe
	imul	rax, rax, 1240
	add	rax, rbp
	sub	rax, 30992
	mov	DWORD PTR [rax], edx
.L76:
	mov	eax, DWORD PTR -31364[rbp]
	test	eax, eax
	jne	.L77
	mov	eax, DWORD PTR -31124[rbp]
	test	eax, eax
	je	.L77
	lea	rax, -31232[rbp]
	mov	rdi, rax
	call	dequeue
	mov	DWORD PTR -31368[rbp], eax
	mov	DWORD PTR -31364[rbp], 1
	mov	eax, DWORD PTR -31368[rbp]
	mov	edx, DWORD PTR -31368[rbp]
	movsx	rdx, edx
	imul	rdx, rdx, 1240
	add	rdx, rbp
	sub	rdx, 31000
	mov	edx, DWORD PTR [rdx]
	movsx	rcx, edx
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	mov	rdx, rax
	sal	rdx, 5
	sub	rdx, rax
	lea	rax, [rdx+rcx]
	add	rax, 4
	mov	edx, DWORD PTR -30996[rbp+rax*8]
	mov	eax, DWORD PTR global_time[rip]
	add	eax, edx
	mov	DWORD PTR -31360[rbp], eax
	mov	eax, DWORD PTR -31368[rbp]
	cdqe
	imul	rax, rax, 1240
	add	rax, rbp
	sub	rax, 31004
	mov	DWORD PTR [rax], 1
	mov	eax, DWORD PTR -31368[rbp]
	cdqe
	imul	rax, rax, 1240
	add	rax, rbp
	sub	rax, 30992
	mov	ecx, DWORD PTR [rax]
	mov	eax, DWORD PTR -31368[rbp]
	mov	edx, DWORD PTR -31368[rbp]
	movsx	rdx, edx
	imul	rdx, rdx, 1240
	add	rdx, rbp
	sub	rdx, 31000
	mov	edx, DWORD PTR [rdx]
	movsx	rsi, edx
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	mov	rdx, rax
	sal	rdx, 5
	sub	rdx, rax
	lea	rax, [rdx+rsi]
	add	rax, 4
	mov	edx, DWORD PTR -30996[rbp+rax*8]
	mov	eax, DWORD PTR -31368[rbp]
	add	edx, ecx
	cdqe
	imul	rax, rax, 1240
	add	rax, rbp
	sub	rax, 30992
	mov	DWORD PTR [rax], edx
.L77:
	mov	eax, DWORD PTR -31352[rbp]
	test	eax, eax
	jne	.L78
	mov	eax, DWORD PTR -31012[rbp]
	test	eax, eax
	je	.L78
	lea	rax, -31120[rbp]
	mov	rdi, rax
	call	dequeue
	mov	DWORD PTR -31356[rbp], eax
	mov	DWORD PTR -31352[rbp], 1
	mov	eax, DWORD PTR -31356[rbp]
	mov	edx, DWORD PTR -31356[rbp]
	movsx	rdx, edx
	imul	rdx, rdx, 1240
	add	rdx, rbp
	sub	rdx, 31000
	mov	edx, DWORD PTR [rdx]
	movsx	rcx, edx
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	mov	rdx, rax
	sal	rdx, 5
	sub	rdx, rax
	lea	rax, [rdx+rcx]
	add	rax, 4
	mov	edx, DWORD PTR -30996[rbp+rax*8]
	mov	eax, DWORD PTR global_time[rip]
	add	eax, edx
	mov	DWORD PTR -31348[rbp], eax
	mov	eax, DWORD PTR -31356[rbp]
	cdqe
	imul	rax, rax, 1240
	add	rax, rbp
	sub	rax, 31004
	mov	DWORD PTR [rax], 2
	mov	eax, DWORD PTR -31356[rbp]
	cdqe
	imul	rax, rax, 1240
	add	rax, rbp
	sub	rax, 30980
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR global_time[rip]
	add	edx, eax
	mov	eax, DWORD PTR -31356[rbp]
	cdqe
	imul	rax, rax, 1240
	add	rax, rbp
	sub	rax, 30976
	mov	ecx, DWORD PTR [rax]
	mov	eax, DWORD PTR -31356[rbp]
	sub	edx, ecx
	cdqe
	imul	rax, rax, 1240
	add	rax, rbp
	sub	rax, 30980
	mov	DWORD PTR [rax], edx
	mov	eax, DWORD PTR -31356[rbp]
	movsx	rdx, eax
	imul	rdx, rdx, 1240
	add	rdx, rbp
	sub	rdx, 30988
	mov	edx, DWORD PTR [rdx]
	add	edx, 1
	cdqe
	imul	rax, rax, 1240
	add	rax, rbp
	sub	rax, 30988
	mov	DWORD PTR [rax], edx
	mov	eax, DWORD PTR -31356[rbp]
	cdqe
	imul	rax, rax, 1240
	add	rax, rbp
	sub	rax, 30984
	mov	ecx, DWORD PTR [rax]
	mov	eax, DWORD PTR -31356[rbp]
	mov	edx, DWORD PTR -31356[rbp]
	movsx	rdx, edx
	imul	rdx, rdx, 1240
	add	rdx, rbp
	sub	rdx, 31000
	mov	edx, DWORD PTR [rdx]
	movsx	rsi, edx
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	mov	rdx, rax
	sal	rdx, 5
	sub	rdx, rax
	lea	rax, [rdx+rsi]
	add	rax, 4
	mov	edx, DWORD PTR -30996[rbp+rax*8]
	mov	eax, DWORD PTR -31356[rbp]
	add	edx, ecx
	cdqe
	imul	rax, rax, 1240
	add	rax, rbp
	sub	rax, 30984
	mov	DWORD PTR [rax], edx
.L78:
	mov	edx, DWORD PTR process_ctr[rip]
	mov	eax, DWORD PTR global_time[rip]
	mov	esi, eax
	lea	rdi, .LC17[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -31420[rbp], 0
	jmp	.L79
.L86:
	mov	eax, DWORD PTR -31420[rbp]
	cdqe
	imul	rax, rax, 1240
	add	rax, rbp
	sub	rax, 31008
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC18[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -31420[rbp]
	cdqe
	imul	rax, rax, 1240
	add	rax, rbp
	sub	rax, 31004
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	jne	.L80
	lea	rdi, .LC19[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L81
.L80:
	mov	eax, DWORD PTR -31420[rbp]
	cdqe
	imul	rax, rax, 1240
	add	rax, rbp
	sub	rax, 31004
	mov	eax, DWORD PTR [rax]
	cmp	eax, 1
	jne	.L82
	lea	rdi, .LC20[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L81
.L82:
	mov	eax, DWORD PTR -31420[rbp]
	cdqe
	imul	rax, rax, 1240
	add	rax, rbp
	sub	rax, 31004
	mov	eax, DWORD PTR [rax]
	cmp	eax, 2
	jne	.L83
	lea	rdi, .LC21[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L81
.L83:
	mov	eax, DWORD PTR -31420[rbp]
	cdqe
	imul	rax, rax, 1240
	add	rax, rbp
	sub	rax, 31004
	mov	eax, DWORD PTR [rax]
	cmp	eax, 4
	jne	.L81
	lea	rdi, .LC22[rip]
	mov	eax, 0
	call	printf@PLT
.L81:
	mov	eax, DWORD PTR -31420[rbp]
	cdqe
	imul	rax, rax, 1240
	add	rax, rbp
	sub	rax, 31004
	mov	eax, DWORD PTR [rax]
	cmp	eax, 4
	jne	.L84
	mov	eax, DWORD PTR -31420[rbp]
	cdqe
	imul	rax, rax, 1240
	add	rax, rbp
	sub	rax, 31000
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC23[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L85
.L84:
	mov	eax, DWORD PTR -31420[rbp]
	cdqe
	imul	rax, rax, 1240
	add	rax, rbp
	sub	rax, 31000
	mov	eax, DWORD PTR [rax]
	add	eax, 1
	mov	esi, eax
	lea	rdi, .LC23[rip]
	mov	eax, 0
	call	printf@PLT
.L85:
	add	DWORD PTR -31420[rbp], 1
.L79:
	mov	eax, DWORD PTR process_ctr[rip]
	cmp	DWORD PTR -31420[rbp], eax
	jl	.L86
	lea	rdi, .LC24[rip]
	call	puts@PLT
.L61:
	mov	edx, DWORD PTR finished_processes[rip]
	mov	eax, DWORD PTR process_ctr[rip]
	cmp	edx, eax
	jl	.L87
	lea	rdi, .LC25[rip]
	call	puts@PLT
	mov	eax, DWORD PTR finished_processes[rip]
	mov	esi, eax
	lea	rdi, .LC26[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -31408[rbp], 0
	mov	DWORD PTR -31404[rbp], 0
	mov	DWORD PTR -31400[rbp], 0
	mov	DWORD PTR -31396[rbp], 0
	mov	DWORD PTR -31420[rbp], 0
	jmp	.L88
.L89:
	mov	eax, DWORD PTR -31420[rbp]
	cdqe
	imul	rax, rax, 1240
	add	rax, rbp
	sub	rax, 30988
	mov	eax, DWORD PTR [rax]
	add	DWORD PTR -31408[rbp], eax
	mov	eax, DWORD PTR -31420[rbp]
	cdqe
	imul	rax, rax, 1240
	add	rax, rbp
	sub	rax, 30984
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -31404[rbp]
	add	edx, eax
	mov	eax, DWORD PTR -31420[rbp]
	cdqe
	imul	rax, rax, 1240
	add	rax, rbp
	sub	rax, 30980
	mov	eax, DWORD PTR [rax]
	add	eax, edx
	mov	DWORD PTR -31404[rbp], eax
	mov	eax, DWORD PTR -31420[rbp]
	cdqe
	imul	rax, rax, 1240
	add	rax, rbp
	sub	rax, 30984
	mov	eax, DWORD PTR [rax]
	add	DWORD PTR -31400[rbp], eax
	mov	eax, DWORD PTR -31420[rbp]
	cdqe
	imul	rax, rax, 1240
	add	rax, rbp
	sub	rax, 30992
	mov	eax, DWORD PTR [rax]
	add	DWORD PTR -31396[rbp], eax
	add	DWORD PTR -31420[rbp], 1
.L88:
	mov	eax, DWORD PTR finished_processes[rip]
	cmp	DWORD PTR -31420[rbp], eax
	jl	.L89
	mov	eax, DWORD PTR -31408[rbp]
	mov	esi, eax
	lea	rdi, .LC27[rip]
	mov	eax, 0
	call	printf@PLT
	cmp	DWORD PTR -31408[rbp], 0
	je	.L90
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, DWORD PTR -31404[rbp]
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, DWORD PTR -31408[rbp]
	divsd	xmm0, xmm1
	movq	rax, xmm0
	movq	xmm0, rax
	lea	rdi, .LC28[rip]
	mov	eax, 1
	call	printf@PLT
	jmp	.L91
.L90:
	lea	rdi, .LC29[rip]
	call	puts@PLT
.L91:
	mov	eax, DWORD PTR global_time[rip]
	mov	edx, DWORD PTR -30964[rbp]
	sub	eax, edx
	mov	esi, eax
	lea	rdi, .LC30[rip]
	mov	eax, 0
	call	printf@PLT
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, DWORD PTR -31396[rbp]
	mov	eax, DWORD PTR global_time[rip]
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, eax
	mov	eax, DWORD PTR -30964[rbp]
	pxor	xmm2, xmm2
	cvtsi2sd	xmm2, eax
	subsd	xmm1, xmm2
	divsd	xmm0, xmm1
	movq	rax, xmm0
	movq	xmm0, rax
	lea	rdi, .LC31[rip]
	mov	eax, 1
	call	printf@PLT
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, DWORD PTR -31400[rbp]
	mov	eax, DWORD PTR global_time[rip]
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, eax
	mov	eax, DWORD PTR -30964[rbp]
	pxor	xmm2, xmm2
	cvtsi2sd	xmm2, eax
	subsd	xmm1, xmm2
	divsd	xmm0, xmm1
	movq	rax, xmm0
	movq	xmm0, rax
	lea	rdi, .LC32[rip]
	mov	eax, 1
	call	printf@PLT
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L93
	call	__stack_chk_fail@PLT
.L93:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE15:
	.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	"90762600.c"
	.text
	.global	process_ctr
	.bss
	.align	2
	.type	process_ctr, %object
	.size	process_ctr, 4
process_ctr:
	.space	4
	.global	pid_ctr
	.align	2
	.type	pid_ctr, %object
	.size	pid_ctr, 4
pid_ctr:
	.space	4
	.global	global_time
	.align	2
	.type	global_time, %object
	.size	global_time, 4
global_time:
	.space	4
	.global	finished_processes
	.align	2
	.type	finished_processes, %object
	.size	finished_processes, 4
finished_processes:
	.space	4
	.global	next_new_process
	.align	2
	.type	next_new_process, %object
	.size	next_new_process, 4
next_new_process:
	.space	4
	.section	.rodata
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	enqueue
	.syntax unified
	.arm
	.fpu softvfp
	.type	enqueue, %function
enqueue:
	@ args = 120, pretend = 16, frame = 128
	@ frame_needed = 1, uses_anonymous_args = 0
	sub	sp, sp, #16
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #128
	str	r0, [fp, #-128]
	add	r0, fp, #8
	stm	r0, {r1, r2, r3}
	ldr	r3, .L4
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #120
	add	r1, fp, #8
	mov	r2, #112
	mov	r0, r3
	bl	memcpy
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r2, [fp, #120]
	str	r2, [r3, #-116]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
	mov	r3, #1
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-128]
	mov	r0, r3
	sub	r3, fp, #120
	mov	r2, #112
	mov	r1, r3
	bl	memcpy
	ldr	r3, .L4
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L3
	bl	__stack_chk_fail
.L3:
	ldr	r0, [fp, #-128]
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, lr}
	add	sp, sp, #16
	bx	lr
.L5:
	.align	2
.L4:
	.word	.LC0
	.size	enqueue, .-enqueue
	.align	2
	.global	dequeue
	.syntax unified
	.arm
	.fpu softvfp
	.type	dequeue, %function
dequeue:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #104]
	sub	r2, r3, #1
	ldr	r3, [fp, #-16]
	str	r2, [r3, #104]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L7
.L8:
	ldr	r3, [fp, #-12]
	add	r2, r3, #1
	ldr	r3, [fp, #-16]
	ldr	r1, [r3, r2, lsl #2]
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-12]
	str	r1, [r3, r2, lsl #2]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L7:
	ldr	r3, [fp, #-12]
	cmp	r3, #23
	ble	.L8
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	cmp	r3, #256
	bne	.L9
	ldr	r3, [fp, #-16]
	mov	r2, #0
	str	r2, [r3, #108]
.L9:
	ldr	r3, [fp, #-8]
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	dequeue, .-dequeue
	.section	.rodata
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	move_to_WAITING_INPUT
	.syntax unified
	.arm
	.fpu softvfp
	.type	move_to_WAITING_INPUT, %function
move_to_WAITING_INPUT:
	@ args = 124, pretend = 16, frame = 136
	@ frame_needed = 1, uses_anonymous_args = 0
	sub	sp, sp, #16
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #136
	str	r0, [fp, #-136]
	add	r0, fp, #8
	stm	r0, {r1, r2, r3}
	ldr	r3, [fp, #124]
	str	r3, [fp, #-140]
	ldr	r3, .L21
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r2, [fp, #120]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #5
	sub	r2, r2, r3
	lsl	r3, r2, #3
	mov	r2, r3
	ldr	r3, [fp, #-140]
	add	r3, r3, r2
	ldr	r2, .L21+4
	ldr	r2, [r2]
	str	r2, [r3, #36]
	sub	r3, fp, #120
	add	r1, fp, #8
	mov	r2, #112
	mov	r0, r3
	bl	memcpy
	mov	r3, #0
	str	r3, [fp, #-132]
	b	.L12
.L13:
	ldr	r3, [fp, #-132]
	add	r3, r3, #1
	str	r3, [fp, #-132]
.L12:
	ldr	r2, [fp, #-132]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #5
	sub	r2, r2, r3
	lsl	r3, r2, #3
	mov	r2, r3
	ldr	r3, [fp, #-140]
	add	r3, r3, r2
	ldr	r3, [r3]
	ldr	r2, [fp, #120]
	cmp	r2, r3
	bne	.L13
	ldr	r2, [fp, #-132]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #5
	sub	r2, r2, r3
	lsl	r3, r2, #3
	mov	r2, r3
	ldr	r3, [fp, #-140]
	add	r3, r3, r2
	mov	r2, #2
	str	r2, [r3, #4]
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r2, [fp, #120]
	str	r2, [r3, #-116]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-132]
	b	.L14
.L18:
	ldr	r3, [fp, #-132]
	add	r3, r3, #1
	str	r3, [fp, #-128]
	b	.L15
.L17:
	ldr	r2, [fp, #-132]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #5
	sub	r2, r2, r3
	lsl	r3, r2, #3
	mov	r2, r3
	ldr	r3, [fp, #-140]
	add	r3, r3, r2
	ldr	r1, [r3, #44]
	ldr	r2, [fp, #-128]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #5
	sub	r2, r2, r3
	lsl	r3, r2, #3
	mov	r2, r3
	ldr	r3, [fp, #-140]
	add	r3, r3, r2
	ldr	r3, [r3, #44]
	cmp	r1, r3
	ble	.L16
	ldr	r3, [fp, #-132]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-116]
	str	r3, [fp, #-124]
	ldr	r3, [fp, #-128]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r2, [r3, #-116]
	ldr	r3, [fp, #-132]
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	str	r2, [r3, #-116]
	ldr	r3, [fp, #-128]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r2, [fp, #-124]
	str	r2, [r3, #-116]
.L16:
	ldr	r3, [fp, #-128]
	add	r3, r3, #1
	str	r3, [fp, #-128]
.L15:
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-128]
	cmp	r2, r3
	blt	.L17
	ldr	r3, [fp, #-132]
	add	r3, r3, #1
	str	r3, [fp, #-132]
.L14:
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-132]
	cmp	r2, r3
	blt	.L18
	mov	r3, #1
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-136]
	mov	r0, r3
	sub	r3, fp, #120
	mov	r2, #112
	mov	r1, r3
	bl	memcpy
	ldr	r3, .L21
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L20
	bl	__stack_chk_fail
.L20:
	ldr	r0, [fp, #-136]
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, lr}
	add	sp, sp, #16
	bx	lr
.L22:
	.align	2
.L21:
	.word	.LC1
	.word	global_time
	.size	move_to_WAITING_INPUT, .-move_to_WAITING_INPUT
	.align	2
	.global	clear_hardware
	.syntax unified
	.arm
	.fpu softvfp
	.type	clear_hardware, %function
clear_hardware:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	mvn	r2, #0
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	mov	r2, #0
	str	r2, [r3, #4]
	ldr	r3, [fp, #-8]
	mvn	r2, #0
	str	r2, [r3, #8]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	clear_hardware, .-clear_hardware
	.align	2
	.global	get_process_from_hardware
	.syntax unified
	.arm
	.fpu softvfp
	.type	get_process_from_hardware, %function
get_process_from_hardware:
	@ 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]
	str	r1, [fp, #-20]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	ldr	r0, [fp, #-16]
	bl	clear_hardware
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	get_process_from_hardware, .-get_process_from_hardware
	.section	.rodata
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	execute_next_command
	.syntax unified
	.arm
	.fpu softvfp
	.type	execute_next_command, %function
execute_next_command:
	@ args = 4, pretend = 0, frame = 144
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, fp, lr}
	add	fp, sp, #16
	sub	sp, sp, #260
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	str	r2, [fp, #-40]
	str	r3, [fp, #-44]
	ldr	r3, [fp, #4]
	str	r3, [fp, #-48]
	ldr	r3, .L33
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	mov	r3,#0
	ldr	r2, [fp, #-32]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #5
	sub	r2, r2, r3
	lsl	r3, r2, #3
	mov	r2, r3
	ldr	r3, [fp, #-36]
	add	r3, r3, r2
	ldr	r2, [r3, #8]
	add	r2, r2, #1
	str	r2, [r3, #8]
	ldr	r2, [fp, #-32]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #5
	sub	r2, r2, r3
	lsl	r3, r2, #3
	mov	r2, r3
	ldr	r3, [fp, #-36]
	add	r3, r3, r2
	ldr	r1, [r3, #8]
	ldr	r2, [fp, #-32]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #5
	sub	r2, r2, r3
	lsl	r3, r2, #3
	mov	r2, r3
	ldr	r3, [fp, #-36]
	add	r3, r3, r2
	ldr	r3, [r3, #12]
	cmp	r1, r3
	bne	.L27
	ldr	r2, [fp, #-32]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #5
	sub	r2, r2, r3
	lsl	r3, r2, #3
	mov	r2, r3
	ldr	r3, [fp, #-36]
	add	r3, r3, r2
	mov	r2, #4
	str	r2, [r3, #4]
	ldr	r3, .L33+4
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L33+4
	str	r3, [r2]
	b	.L32
.L27:
	ldr	r2, [fp, #-32]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #5
	sub	r2, r2, r3
	lsl	r3, r2, #3
	mov	r2, r3
	ldr	r3, [fp, #-36]
	add	r1, r3, r2
	ldr	r2, [fp, #-32]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #5
	sub	r2, r2, r3
	lsl	r3, r2, #3
	mov	r2, r3
	ldr	r3, [fp, #-36]
	add	r3, r3, r2
	ldr	r3, [r3, #8]
	add	r3, r3, #5
	ldr	r3, [r1, r3, lsl #3]
	cmp	r3, #12
	bne	.L29
	ldr	r6, [fp, #-48]
	sub	r5, fp, #164
	ldr	r4, [fp, #-48]
	ldr	r3, [fp, #-32]
	str	r3, [sp, #100]
	mov	r0, sp
	add	r3, r4, #12
	mov	r2, #100
	mov	r1, r3
	bl	memcpy
	ldm	r4, {r1, r2, r3}
	mov	r0, r5
	bl	enqueue
	mov	r0, r6
	sub	r3, fp, #164
	mov	r2, #112
	mov	r1, r3
	bl	memcpy
	b	.L32
.L29:
	ldr	r2, [fp, #-32]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #5
	sub	r2, r2, r3
	lsl	r3, r2, #3
	mov	r2, r3
	ldr	r3, [fp, #-36]
	add	r1, r3, r2
	ldr	r2, [fp, #-32]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #5
	sub	r2, r2, r3
	lsl	r3, r2, #3
	mov	r2, r3
	ldr	r3, [fp, #-36]
	add	r3, r3, r2
	ldr	r3, [r3, #8]
	add	r3, r3, #5
	ldr	r3, [r1, r3, lsl #3]
	cmp	r3, #13
	bne	.L30
	ldr	r6, [fp, #-44]
	sub	r5, fp, #164
	ldr	r4, [fp, #-44]
	ldr	r3, [fp, #-32]
	str	r3, [sp, #100]
	mov	r0, sp
	add	r3, r4, #12
	mov	r2, #100
	mov	r1, r3
	bl	memcpy
	ldm	r4, {r1, r2, r3}
	mov	r0, r5
	bl	enqueue
	mov	r0, r6
	sub	r3, fp, #164
	mov	r2, #112
	mov	r1, r3
	bl	memcpy
	ldr	r2, [fp, #-32]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #5
	sub	r2, r2, r3
	lsl	r3, r2, #3
	mov	r2, r3
	ldr	r3, [fp, #-36]
	add	r3, r3, r2
	mov	r2, #2
	str	r2, [r3, #4]
	ldr	r2, [fp, #-32]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #5
	sub	r2, r2, r3
	lsl	r3, r2, #3
	mov	r2, r3
	ldr	r3, [fp, #-36]
	add	r3, r3, r2
	ldr	r2, .L33+8
	ldr	r2, [r2]
	str	r2, [r3, #32]
	b	.L32
.L30:
	ldr	r2, [fp, #-32]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #5
	sub	r2, r2, r3
	lsl	r3, r2, #3
	mov	r2, r3
	ldr	r3, [fp, #-36]
	add	r1, r3, r2
	ldr	r2, [fp, #-32]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #5
	sub	r2, r2, r3
	lsl	r3, r2, #3
	mov	r2, r3
	ldr	r3, [fp, #-36]
	add	r3, r3, r2
	ldr	r3, [r3, #8]
	add	r3, r3, #5
	ldr	r3, [r1, r3, lsl #3]
	cmp	r3, #11
	bne	.L32
	ldr	r6, [fp, #-40]
	sub	r5, fp, #164
	ldr	r4, [fp, #-40]
	ldr	r3, [fp, #-36]
	str	r3, [sp, #104]
	ldr	r3, [fp, #-32]
	str	r3, [sp, #100]
	mov	r0, sp
	add	r3, r4, #12
	mov	r2, #100
	mov	r1, r3
	bl	memcpy
	ldm	r4, {r1, r2, r3}
	mov	r0, r5
	bl	move_to_WAITING_INPUT
	mov	r0, r6
	sub	r3, fp, #164
	mov	r2, #112
	mov	r1, r3
	bl	memcpy
.L32:
	nop
	ldr	r3, .L33
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L31
	bl	__stack_chk_fail
.L31:
	sub	sp, fp, #16
	@ sp needed
	pop	{r4, r5, r6, fp, pc}
.L34:
	.align	2
.L33:
	.word	.LC2
	.word	finished_processes
	.word	global_time
	.size	execute_next_command, .-execute_next_command
	.section	.rodata
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	create_new_process
	.syntax unified
	.arm
	.fpu softvfp
	.type	create_new_process, %function
create_new_process:
	@ args = 0, pretend = 0, frame = 1256
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #1248
	sub	sp, sp, #8
	str	r0, [fp, #-1256]
	ldr	r3, .L38
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L38+4
	ldr	r3, [r3]
	str	r3, [fp, #-1248]
	mov	r3, #0
	str	r3, [fp, #-1244]
	mov	r3, #0
	str	r3, [fp, #-1240]
	mov	r3, #0
	str	r3, [fp, #-1236]
	mov	r3, #0
	str	r3, [fp, #-1228]
	mov	r3, #0
	str	r3, [fp, #-1232]
	mov	r3, #0
	str	r3, [fp, #-1224]
	mov	r3, #0
	str	r3, [fp, #-1220]
	mov	r3, #0
	str	r3, [fp, #-1216]
	mov	r3, #0
	str	r3, [fp, #-1212]
	ldr	r3, [fp, #-1256]
	mov	r0, r3
	sub	r3, fp, #1232
	sub	r3, r3, #4
	sub	r3, r3, #12
	ldr	r2, .L38+8
	mov	r1, r3
	bl	memcpy
	ldr	r3, .L38
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L37
	bl	__stack_chk_fail
.L37:
	ldr	r0, [fp, #-1256]
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L39:
	.align	2
.L38:
	.word	.LC3
	.word	pid_ctr
	.word	1240
	.size	create_new_process, .-create_new_process
	.align	2
	.global	create_command
	.syntax unified
	.arm
	.fpu softvfp
	.type	create_command, %function
create_command:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #28
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	ldr	r3, [fp, #-20]
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-24]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-16]
	mov	r2, r3
	sub	r3, fp, #12
	ldm	r3, {r0, r1}
	stm	r2, {r0, r1}
	ldr	r0, [fp, #-16]
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	create_command, .-create_command
	.section	.rodata
	.align	2
.LC4:
	.ascii	"r\000"
	.align	2
.LC5:
	.ascii	"NEW\000"
	.align	2
.LC6:
	.ascii	"CPU\000"
	.align	2
.LC7:
	.ascii	"INP\000"
	.align	2
.LC8:
	.ascii	"SSD\000"
	.align	2
.LC9:
	.ascii	"%s %d\000"
	.align	2
.LC10:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	read_commands
	.syntax unified
	.arm
	.fpu softvfp
	.type	read_commands, %function
read_commands:
	@ args = 0, pretend = 0, frame = 1392
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #1392
	str	r0, [fp, #-160]
	str	r1, [fp, #-164]
	ldr	r3, .L50
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r1, .L50+4
	ldr	r0, [fp, #-160]
	bl	fopen
	str	r0, [fp, #-148]
	b	.L43
.L48:
	sub	r3, fp, #144
	ldr	r1, .L50+8
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L44
	ldr	r3, .L50+12
	ldr	r3, [r3]
	mov	r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #5
	sub	r2, r2, r3
	lsl	r3, r2, #3
	mov	r2, r3
	ldr	r3, [fp, #-164]
	add	r4, r3, r2
	sub	r3, fp, #1392
	sub	r3, r3, #12
	mov	r0, r3
	bl	create_new_process
	mov	r0, r4
	sub	r3, fp, #1392
	sub	r3, r3, #12
	ldr	r2, .L50+16
	mov	r1, r3
	bl	memcpy
	mov	r3, #10
	str	r3, [fp, #-152]
	ldr	r3, .L50+20
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L50+20
	str	r3, [r2]
	ldr	r3, .L50+12
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L50+12
	str	r3, [r2]
	b	.L45
.L44:
	sub	r3, fp, #144
	ldr	r1, .L50+24
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L46
	mov	r3, #12
	str	r3, [fp, #-152]
	b	.L45
.L46:
	sub	r3, fp, #144
	ldr	r1, .L50+28
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L47
	mov	r3, #11
	str	r3, [fp, #-152]
	b	.L45
.L47:
	sub	r3, fp, #144
	ldr	r1, .L50+32
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L45
	mov	r3, #13
	str	r3, [fp, #-152]
.L45:
	ldr	r1, [fp, #-156]
	ldr	r3, .L50+12
	ldr	r3, [r3]
	mov	r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #5
	sub	r2, r2, r3
	lsl	r3, r2, #3
	mov	r2, r3
	mov	r3, r2
	sub	r3, r3, #1232
	sub	r3, r3, #8
	ldr	r2, [fp, #-164]
	add	r4, r2, r3
	ldr	r3, .L50+12
	ldr	r3, [r3]
	mov	r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #5
	sub	r2, r2, r3
	lsl	r3, r2, #3
	mov	r2, r3
	mov	r3, r2
	sub	r3, r3, #1232
	sub	r3, r3, #8
	ldr	r2, [fp, #-164]
	add	r3, r2, r3
	ldr	r3, [r3, #8]
	add	r5, r3, #5
	sub	r3, fp, #1392
	sub	r3, r3, #12
	mov	r2, r1
	ldr	r1, [fp, #-152]
	mov	r0, r3
	bl	create_command
	lsl	r3, r5, #3
	add	r3, r4, r3
	sub	r2, fp, #1392
	sub	r2, r2, #12
	ldm	r2, {r0, r1}
	stm	r3, {r0, r1}
	ldr	r3, .L50+12
	ldr	r3, [r3]
	mov	r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #5
	sub	r2, r2, r3
	lsl	r3, r2, #3
	mov	r2, r3
	mov	r3, r2
	sub	r3, r3, #1232
	sub	r3, r3, #8
	ldr	r2, [fp, #-164]
	add	r3, r2, r3
	ldr	r2, [r3, #8]
	add	r2, r2, #1
	str	r2, [r3, #8]
	ldr	r3, .L50+12
	ldr	r3, [r3]
	mov	r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #5
	sub	r2, r2, r3
	lsl	r3, r2, #3
	mov	r2, r3
	mov	r3, r2
	sub	r3, r3, #1232
	sub	r3, r3, #8
	ldr	r2, [fp, #-164]
	add	r3, r2, r3
	ldr	r2, [r3, #12]
	add	r2, r2, #1
	str	r2, [r3, #12]
.L43:
	sub	r3, fp, #156
	sub	r2, fp, #144
	ldr	r1, .L50+36
	ldr	r0, [fp, #-148]
	bl	__isoc99_fscanf
	mov	r3, r0
	cmp	r3, #2
	beq	.L48
	ldr	r0, [fp, #-148]
	bl	fclose
	nop
	ldr	r3, .L50
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L49
	bl	__stack_chk_fail
.L49:
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L51:
	.align	2
.L50:
	.word	.LC10
	.word	.LC4
	.word	.LC5
	.word	process_ctr
	.word	1240
	.word	pid_ctr
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.size	read_commands, .-read_commands
	.section	.rodata
	.align	2
.LC11:
	.ascii	"input.txt\000"
	.align	2
.LC12:
	.ascii	"PID %d\012\000"
	.align	2
.LC13:
	.ascii	"STATE %d\012\000"
	.align	2
.LC14:
	.ascii	"COMMAND_INDEX %d\012\000"
	.align	2
.LC15:
	.ascii	"TOTAL_COMMANDS %d\012\000"
	.align	2
.LC16:
	.ascii	"SSD_ACCESS_COUNTER %d\012\000"
	.align	2
.LC17:
	.ascii	"SSD_USAGE_TIME %d\012\000"
	.align	2
.LC18:
	.ascii	"SSD_WAIT_TIME %d\012\000"
	.align	2
.LC19:
	.ascii	"SSD_ENTRY_TIME %d\012\000"
	.align	2
.LC20:
	.ascii	"\011NAME %d\000"
	.align	2
.LC21:
	.ascii	"\011TIME %d\012\000"
	.align	2
.LC22:
	.ascii	"Current Time: %d, Total Processes in Table: %d\012\000"
	.align	2
.LC23:
	.ascii	"PROCESS %d: \000"
	.align	2
.LC24:
	.ascii	"Current State = READY\000"
	.align	2
.LC25:
	.ascii	"Current State = RUNNING\000"
	.align	2
.LC26:
	.ascii	"Current State = WAITING\000"
	.align	2
.LC27:
	.ascii	"Current State = FINISHED\000"
	.align	2
.LC28:
	.ascii	" Next Index = %d\012\000"
	.align	2
.LC29:
	.ascii	"\012\012\000"
	.align	2
.LC30:
	.ascii	"Summary: \000"
	.align	2
.LC31:
	.ascii	"Total Processes Completed: %d \012\000"
	.align	2
.LC32:
	.ascii	"Total Number of SSD Accesses: %d\012\000"
	.global	__aeabi_i2d
	.global	__aeabi_ddiv
	.align	2
.LC33:
	.ascii	"Average SSD Access Duration: %f ms\012\000"
	.align	2
.LC34:
	.ascii	"Average SSD Access Duration: 0 ms\000"
	.align	2
.LC35:
	.ascii	"Total Elapsed Time %d ms\012\000"
	.global	__aeabi_dsub
	.align	2
.LC36:
	.ascii	"CPU Utilization %f\012\000"
	.align	2
.LC37:
	.ascii	"SSD Utilization %f\012\000"
	.align	2
.LC38:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 31424
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, fp, lr}
	add	fp, sp, #20
	sub	sp, sp, #31232
	sub	sp, sp, #200
	sub	r3, fp, #28672
	sub	r3, r3, #20
	str	r0, [r3, #-2748]
	sub	r3, fp, #28672
	sub	r3, r3, #20
	str	r1, [r3, #-2752]
	ldr	r3, .L104
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	mov	r3,#0
	sub	r3, fp, #28672
	sub	r3, r3, #20
	mov	r2, r3
	ldr	r3, .L104+4
	str	r3, [r2, #-2708]
	sub	r3, fp, #28672
	sub	r3, r3, #20
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-2700]
	sub	r3, fp, #28672
	sub	r3, r3, #20
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-2688]
	sub	r3, fp, #28672
	sub	r3, r3, #20
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-2676]
	sub	r3, fp, #28672
	sub	r3, r3, #20
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-2564]
	sub	r3, fp, #28672
	sub	r3, r3, #20
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-2560]
	sub	r3, fp, #28672
	sub	r3, r3, #20
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-2740]
	b	.L53
.L54:
	sub	r3, fp, #28672
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #28672
	sub	r3, r3, #20
	ldr	r3, [r3, #-2740]
	lsl	r3, r3, #2
	add	r3, r2, r3
	mov	r2, #256
	str	r2, [r3, #-2668]
	sub	r3, fp, #28672
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #28672
	sub	r3, r3, #20
	ldr	r3, [r3, #-2740]
	add	r3, r3, #1
	str	r3, [r2, #-2740]
.L53:
	sub	r3, fp, #28672
	sub	r3, r3, #20
	ldr	r3, [r3, #-2740]
	cmp	r3, #25
	ble	.L54
	sub	r3, fp, #28672
	sub	r3, r3, #20
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-2452]
	sub	r3, fp, #28672
	sub	r3, r3, #20
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-2448]
	sub	r3, fp, #28672
	sub	r3, r3, #20
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-2740]
	b	.L55
.L56:
	sub	r3, fp, #28672
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #28672
	sub	r3, r3, #20
	ldr	r3, [r3, #-2740]
	lsl	r3, r3, #2
	add	r3, r2, r3
	mov	r2, #256
	str	r2, [r3, #-2556]
	sub	r3, fp, #28672
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #28672
	sub	r3, r3, #20
	ldr	r3, [r3, #-2740]
	add	r3, r3, #1
	str	r3, [r2, #-2740]
.L55:
	sub	r3, fp, #28672
	sub	r3, r3, #20
	ldr	r3, [r3, #-2740]
	cmp	r3, #25
	ble	.L56
	sub	r3, fp, #28672
	sub	r3, r3, #20
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-2340]
	sub	r3, fp, #28672
	sub	r3, r3, #20
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-2336]
	sub	r3, fp, #28672
	sub	r3, r3, #20
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-2740]
	b	.L57
.L58:
	sub	r3, fp, #28672
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #28672
	sub	r3, r3, #20
	ldr	r3, [r3, #-2740]
	lsl	r3, r3, #2
	add	r3, r2, r3
	mov	r2, #256
	str	r2, [r3, #-2444]
	sub	r3, fp, #28672
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #28672
	sub	r3, r3, #20
	ldr	r3, [r3, #-2740]
	add	r3, r3, #1
	str	r3, [r2, #-2740]
.L57:
	sub	r3, fp, #28672
	sub	r3, r3, #20
	ldr	r3, [r3, #-2740]
	cmp	r3, #25
	ble	.L58
	sub	r3, fp, #30976
	sub	r3, r3, #20
	sub	r3, r3, #28
	sub	r2, fp, #28672
	sub	r2, r2, #20
	mov	r1, r3
	ldr	r0, [r2, #-2708]
	bl	read_commands
	sub	r3, fp, #28672
	sub	r3, r3, #20
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-2736]
	b	.L59
.L62:
	sub	r3, fp, #28672
	sub	r3, r3, #20
	mov	r1, r3
	sub	r3, fp, #28672
	sub	r3, r3, #20
	ldr	r2, [r3, #-2736]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #5
	sub	r2, r2, r3
	lsl	r3, r2, #3
	mov	r2, r3
	add	r3, r1, r2
	sub	r3, r3, #2320
	sub	r3, r3, #12
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L104+8
	bl	printf
	sub	r3, fp, #28672
	sub	r3, r3, #20
	mov	r1, r3
	sub	r3, fp, #28672
	sub	r3, r3, #20
	ldr	r2, [r3, #-2736]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #5
	sub	r2, r2, r3
	lsl	r3, r2, #3
	mov	r2, r3
	add	r3, r1, r2
	sub	r3, r3, #2320
	sub	r3, r3, #8
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L104+12
	bl	printf
	sub	r3, fp, #28672
	sub	r3, r3, #20
	mov	r1, r3
	sub	r3, fp, #28672
	sub	r3, r3, #20
	ldr	r2, [r3, #-2736]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #5
	sub	r2, r2, r3
	lsl	r3, r2, #3
	mov	r2, r3
	add	r3, r1, r2
	sub	r3, r3, #2320
	sub	r3, r3, #4
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L104+16
	bl	printf
	sub	r3, fp, #28672
	sub	r3, r3, #20
	mov	r1, r3
	sub	r3, fp, #28672
	sub	r3, r3, #20
	ldr	r2, [r3, #-2736]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #5
	sub	r2, r2, r3
	lsl	r3, r2, #3
	mov	r2, r3
	add	r3, r1, r2
	sub	r3, r3, #2320
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L104+20
	bl	printf
	sub	r3, fp, #28672
	sub	r3, r3, #20
	mov	r1, r3
	sub	r3, fp, #28672
	sub	r3, r3, #20
	ldr	r2, [r3, #-2736]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #5
	sub	r2, r2, r3
	lsl	r3, r2, #3
	mov	r2, r3
	add	r3, r1, r2
	sub	r3, r3, #2304
	sub	r3, r3, #8
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L104+24
	bl	printf
	sub	r3, fp, #28672
	sub	r3, r3, #20
	mov	r1, r3
	sub	r3, fp, #28672
	sub	r3, r3, #20
	ldr	r2, [r3, #-2736]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #5
	sub	r2, r2, r3
	lsl	r3, r2, #3
	mov	r2, r3
	add	r3, r1, r2
	sub	r3, r3, #2304
	sub	r3, r3, #4
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L104+28
	bl	printf
	sub	r3, fp, #28672
	sub	r3, r3, #20
	mov	r1, r3
	sub	r3, fp, #28672
	sub	r3, r3, #20
	ldr	r2, [r3, #-2736]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #5
	sub	r2, r2, r3
	lsl	r3, r2, #3
	mov	r2, r3
	add	r3, r1, r2
	sub	r3, r3, #2304
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L104+32
	bl	printf
	sub	r3, fp, #28672
	sub	r3, r3, #20
	mov	r1, r3
	sub	r3, fp, #28672
	sub	r3, r3, #20
	ldr	r2, [r3, #-2736]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #5
	sub	r2, r2, r3
	lsl	r3, r2, #3
	mov	r2, r3
	add	r3, r1, r2
	sub	r3, r3, #2288
	sub	r3, r3, #12
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L104+36
	bl	printf
	sub	r3, fp, #28672
	sub	r3, r3, #20
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-2732]
	b	.L60
.L61:
	sub	r3, fp, #28672
	sub	r3, r3, #20
	mov	r1, r3
	sub	r3, fp, #28672
	sub	r3, r3, #20
	ldr	r2, [r3, #-2736]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #5
	sub	r2, r2, r3
	sub	r3, fp, #28672
	sub	r3, r3, #20
	ldr	r3, [r3, #-2732]
	add	r3, r2, r3
	add	r3, r3, #5
	lsl	r3, r3, #3
	add	r3, r1, r3
	ldr	r3, [r3, #-2332]
	mov	r1, r3
	ldr	r0, .L104+40
	bl	printf
	sub	r3, fp, #28672
	sub	r3, r3, #20
	mov	r1, r3
	sub	r3, fp, #28672
	sub	r3, r3, #20
	ldr	r2, [r3, #-2736]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #5
	sub	r2, r2, r3
	sub	r3, fp, #28672
	sub	r3, r3, #20
	ldr	r3, [r3, #-2732]
	add	r3, r2, r3
	add	r3, r3, #5
	lsl	r3, r3, #3
	add	r3, r1, r3
	ldr	r3, [r3, #-2328]
	mov	r1, r3
	ldr	r0, .L104+44
	bl	printf
	sub	r3, fp, #28672
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #28672
	sub	r3, r3, #20
	ldr	r3, [r3, #-2732]
	add	r3, r3, #1
	str	r3, [r2, #-2732]
.L60:
	sub	r3, fp, #28672
	sub	r3, r3, #20
	mov	r1, r3
	sub	r3, fp, #28672
	sub	r3, r3, #20
	ldr	r2, [r3, #-2736]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #5
	sub	r2, r2, r3
	lsl	r3, r2, #3
	mov	r2, r3
	add	r3, r1, r2
	sub	r3, r3, #2320
	sub	r3, r3, #4
	ldr	r3, [r3]
	sub	r2, fp, #28672
	sub	r2, r2, #20
	ldr	r2, [r2, #-2732]
	cmp	r2, r3
	blt	.L61
	mov	r0, #10
	bl	putchar
	sub	r3, fp, #28672
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #28672
	sub	r3, r3, #20
	ldr	r3, [r3, #-2736]
	add	r3, r3, #1
	str	r3, [r2, #-2736]
.L59:
	ldr	r3, .L104+92
	ldr	r3, [r3]
	sub	r2, fp, #28672
	sub	r2, r2, #20
	ldr	r2, [r2, #-2736]
	cmp	r2, r3
	blt	.L62
	sub	r3, fp, #28672
	sub	r3, r3, #20
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-2736]
	b	.L63
.L64:
	sub	r3, fp, #28672
	sub	r3, r3, #20
	mov	r1, r3
	sub	r3, fp, #28672
	sub	r3, r3, #20
	ldr	r2, [r3, #-2736]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #5
	sub	r2, r2, r3
	lsl	r3, r2, #3
	mov	r2, r3
	add	r3, r1, r2
	sub	r3, r3, #2320
	sub	r3, r3, #4
	ldr	r1, [r3]
	sub	r3, fp, #28672
	sub	r3, r3, #20
	mov	r0, r3
	sub	r3, fp, #28672
	sub	r3, r3, #20
	ldr	r2, [r3, #-2736]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #5
	sub	r2, r2, r3
	lsl	r3, r2, #3
	mov	r2, r3
	add	r3, r0, r2
	sub	r3, r3, #2320
	str	r1, [r3]
	sub	r3, fp, #28672
	sub	r3, r3, #20
	mov	r1, r3
	sub	r3, fp, #28672
	sub	r3, r3, #20
	ldr	r2, [r3, #-2736]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #5
	sub	r2, r2, r3
	lsl	r3, r2, #3
	mov	r2, r3
	add	r3, r1, r2
	sub	r3, r3, #2320
	sub	r3, r3, #4
	mov	r2, #0
	str	r2, [r3]
	sub	r3, fp, #28672
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #28672
	sub	r3, r3, #20
	ldr	r3, [r3, #-2736]
	add	r3, r3, #1
	str	r3, [r2, #-2736]
.L63:
	ldr	r3, .L104+92
	ldr	r3, [r3]
	sub	r2, fp, #28672
	sub	r2, r2, #20
	ldr	r2, [r2, #-2736]
	cmp	r2, r3
	blt	.L64
	ldr	r3, .L104+56
	ldr	r3, [r3]
	ldr	r2, .L104+92
	ldr	r2, [r2]
	mov	r1, r3
	ldr	r0, .L104+60
	bl	printf
	sub	r3, fp, #28672
	sub	r3, r3, #20
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-2736]
	b	.L65
.L70:
	sub	r3, fp, #28672
	sub	r3, r3, #20
	mov	r1, r3
	sub	r3, fp, #28672
	sub	r3, r3, #20
	ldr	r2, [r3, #-2736]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #5
	sub	r2, r2, r3
	lsl	r3, r2, #3
	mov	r2, r3
	add	r3, r1, r2
	sub	r3, r3, #2320
	sub	r3, r3, #12
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L104+64
	bl	printf
	sub	r3, fp, #28672
	sub	r3, r3, #20
	mov	r1, r3
	sub	r3, fp, #28672
	sub	r3, r3, #20
	ldr	r2, [r3, #-2736]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #5
	sub	r2, r2, r3
	lsl	r3, r2, #3
	mov	r2, r3
	add	r3, r1, r2
	sub	r3, r3, #2320
	sub	r3, r3, #8
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L66
	ldr	r0, .L104+68
	bl	printf
	b	.L67
.L66:
	sub	r3, fp, #28672
	sub	r3, r3, #20
	mov	r1, r3
	sub	r3, fp, #28672
	sub	r3, r3, #20
	ldr	r2, [r3, #-2736]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #5
	sub	r2, r2, r3
	lsl	r3, r2, #3
	mov	r2, r3
	add	r3, r1, r2
	sub	r3, r3, #2320
	sub	r3, r3, #8
	ldr	r3, [r3]
	cmp	r3, #1
	bne	.L68
	ldr	r0, .L104+72
	bl	printf
	b	.L67
.L68:
	sub	r3, fp, #28672
	sub	r3, r3, #20
	mov	r1, r3
	sub	r3, fp, #28672
	sub	r3, r3, #20
	ldr	r2, [r3, #-2736]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #5
	sub	r2, r2, r3
	lsl	r3, r2, #3
	mov	r2, r3
	add	r3, r1, r2
	sub	r3, r3, #2320
	sub	r3, r3, #8
	ldr	r3, [r3]
	cmp	r3, #2
	bne	.L69
	ldr	r0, .L104+76
	bl	printf
	b	.L67
.L69:
	sub	r3, fp, #28672
	sub	r3, r3, #20
	mov	r1, r3
	sub	r3, fp, #28672
	sub	r3, r3, #20
	ldr	r2, [r3, #-2736]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #5
	sub	r2, r2, r3
	lsl	r3, r2, #3
	mov	r2, r3
	add	r3, r1, r2
	sub	r3, r3, #2320
	sub	r3, r3, #8
	ldr	r3, [r3]
	cmp	r3, #4
	bne	.L67
	ldr	r0, .L104+80
	bl	printf
.L67:
	sub	r3, fp, #28672
	sub	r3, r3, #20
	mov	r1, r3
	sub	r3, fp, #28672
	sub	r3, r3, #20
	ldr	r2, [r3, #-2736]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #5
	sub	r2, r2, r3
	lsl	r3, r2, #3
	mov	r2, r3
	add	r3, r1, r2
	sub	r3, r3, #2320
	sub	r3, r3, #4
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L104+84
	bl	printf
	sub	r3, fp, #28672
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #28672
	sub	r3, r3, #20
	ldr	r3, [r3, #-2736]
	add	r3, r3, #1
	str	r3, [r2, #-2736]
.L65:
	ldr	r3, .L104+92
	ldr	r3, [r3]
	sub	r2, fp, #28672
	sub	r2, r2, #20
	ldr	r2, [r2, #-2736]
	cmp	r2, r3
	blt	.L70
	ldr	r0, .L104+88
	bl	puts
	b	.L71
.L97:
	sub	r3, fp, #28672
	sub	r3, r3, #20
	mov	r2, r3
	ldr	r3, .L104+48
	str	r3, [r2, #-2728]
	sub	r3, fp, #28672
	sub	r3, r3, #20
	ldr	r3, [r3, #-2700]
	cmp	r3, #0
	beq	.L72
	sub	r3, fp, #28672
	sub	r3, r3, #20
	ldr	r3, [r3, #-2696]
	sub	r2, fp, #28672
	sub	r2, r2, #20
	ldr	r2, [r2, #-2728]
	cmp	r2, r3
	ble	.L72
	sub	r3, fp, #28672
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #28672
	sub	r3, r3, #20
	ldr	r3, [r3, #-2696]
	str	r3, [r2, #-2728]
.L72:
	sub	r3, fp, #28672
	sub	r3, r3, #20
	ldr	r3, [r3, #-2688]
	cmp	r3, #0
	beq	.L73
	sub	r3, fp, #28672
	sub	r3, r3, #20
	ldr	r3, [r3, #-2684]
	sub	r2, fp, #28672
	sub	r2, r2, #20
	ldr	r2, [r2, #-2728]
	cmp	r2, r3
	ble	.L73
	sub	r3, fp, #28672
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #28672
	sub	r3, r3, #20
	ldr	r3, [r3, #-2684]
	str	r3, [r2, #-2728]
.L73:
	sub	r3, fp, #28672
	sub	r3, r3, #20
	ldr	r3, [r3, #-2676]
	cmp	r3, #0
	beq	.L74
	sub	r3, fp, #28672
	sub	r3, r3, #20
	ldr	r3, [r3, #-2672]
	sub	r2, fp, #28672
	sub	r2, r2, #20
	ldr	r2, [r2, #-2728]
	cmp	r2, r3
	ble	.L74
	sub	r3, fp, #28672
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #28672
	sub	r3, r3, #20
	ldr	r3, [r3, #-2672]
	str	r3, [r2, #-2728]
.L74:
	sub	r3, fp, #28672
	sub	r3, r3, #20
	ldr	r3, [r3, #-2560]
	cmp	r3, #0
	beq	.L75
	sub	r3, fp, #28672
	sub	r3, r3, #20
	ldr	r1, [r3, #-2668]
	sub	r3, fp, #28672
	sub	r3, r3, #20
	ldr	r2, [r3, #-2668]
	sub	r3, fp, #28672
	sub	r3, r3, #20
	mov	r0, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #5
	sub	r2, r2, r3
	lsl	r3, r2, #3
	mov	r2, r3
	add	r3, r0, r2
	sub	r3, r3, #2320
	sub	r3, r3, #4
	ldr	r0, [r3]
	sub	r3, fp, #28672
	sub	r3, r3, #20
	mov	ip, r3
	mov	r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	lsl	r2, r3, #5
	sub	r2, r2, r3
	add	r3, r2, r0
	add	r3, r3, #5
	lsl	r3, r3, #3
	add	r3, ip, r3
	ldr	r1, [r3, #-2328]
	sub	r3, fp, #28672
	sub	r3, r3, #20
	ldr	r2, [r3, #-2668]
	sub	r3, fp, #28672
	sub	r3, r3, #20
	mov	r0, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #5
	sub	r2, r2, r3
	lsl	r3, r2, #3
	mov	r2, r3
	add	r3, r0, r2
	sub	r3, r3, #2288
	sub	r3, r3, #8
	ldr	r3, [r3]
	add	r3, r1, r3
	sub	r2, fp, #28672
	sub	r2, r2, #20
	ldr	r2, [r2, #-2728]
	cmp	r2, r3
	ble	.L75
	sub	r3, fp, #28672
	sub	r3, r3, #20
	ldr	r1, [r3, #-2668]
	sub	r3, fp, #28672
	sub	r3, r3, #20
	ldr	r2, [r3, #-2668]
	sub	r3, fp, #28672
	sub	r3, r3, #20
	mov	r0, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #5
	sub	r2, r2, r3
	lsl	r3, r2, #3
	mov	r2, r3
	add	r3, r0, r2
	sub	r3, r3, #2320
	sub	r3, r3, #4
	ldr	r0, [r3]
	sub	r3, fp, #28672
	sub	r3, r3, #20
	mov	ip, r3
	mov	r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	lsl	r2, r3, #5
	sub	r2, r2, r3
	add	r3, r2, r0
	add	r3, r3, #5
	lsl	r3, r3, #3
	add	r3, ip, r3
	ldr	r1, [r3, #-2328]
	sub	r3, fp, #28672
	sub	r3, r3, #20
	ldr	r2, [r3, #-2668]
	sub	r3, fp, #28672
	sub	r3, r3, #20
	mov	r0, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #5
	sub	r2, r2, r3
	lsl	r3, r2, #3
	mov	r2, r3
	add	r3, r0, r2
	sub	r3, r3, #2288
	sub	r3, r3, #8
	ldr	r3, [r3]
	sub	r2, fp, #28672
	sub	r2, r2, #20
	add	r3, r1, r3
	str	r3, [r2, #-2728]
.L75:
	ldr	r3, .L104+52
	ldr	r2, [r3]
	ldr	r3, .L104+92
	ldr	r3, [r3]
	cmp	r2, r3
	bge	.L76
	ldr	r3, .L104+52
	ldr	r2, [r3]
	sub	r3, fp, #28672
	sub	r3, r3, #20
	mov	r1, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #5
	sub	r2, r2, r3
	lsl	r3, r2, #3
	mov	r2, r3
	add	r3, r1, r2
	sub	r3, r3, #2288
	ldr	r3, [r3]
	sub	r2, fp, #28672
	sub	r2, r2, #20
	ldr	r2, [r2, #-2728]
	cmp	r2, r3
	ble	.L76
	ldr	r3, .L104+52
	ldr	r2, [r3]
	sub	r3, fp, #28672
	sub	r3, r3, #20
	mov	r1, r3
	sub	r3, fp, #28672
	sub	r3, r3, #20
	mov	r0, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #5
	sub	r2, r2, r3
	lsl	r3, r2, #3
	mov	r2, r3
	add	r3, r0, r2
	sub	r3, r3, #2288
	ldr	r3, [r3]
	str	r3, [r1, #-2728]
.L76:
	ldr	r2, .L104+56
	sub	r3, fp, #28672
	sub	r3, r3, #20
	ldr	r3, [r3, #-2728]
	str	r3, [r2]
	sub	r3, fp, #28672
	sub	r3, r3, #20
	ldr	r3, [r3, #-2700]
	cmp	r3, #0
	beq	.L77
	sub	r3, fp, #28672
	sub	r3, r3, #20
	ldr	r3, [r3, #-2696]
	sub	r2, fp, #28672
	sub	r2, r2, #20
	ldr	r2, [r2, #-2728]
	cmp	r2, r3
	bne	.L77
	sub	r2, fp, #30976
	sub	r2, r2, #20
	sub	r2, r2, #28
	sub	r3, fp, #31232
	sub	r3, r3, #20
	sub	r3, r3, #144
	mov	r1, r2
	mov	r0, r3
	bl	get_process_from_hardware
	mov	ip, r0
	sub	r0, fp, #30976
	sub	r0, r0, #20
	sub	r0, r0, #140
	sub	r2, fp, #31232
	sub	r2, r2, #20
	sub	r2, r2, #108
	sub	r1, fp, #30976
	sub	r1, r1, #20
	sub	r1, r1, #28
	sub	r3, fp, #30976
	sub	r3, r3, #20
	sub	r3, r3, #252
	str	r3, [sp]
	mov	r3, r0
	mov	r0, ip
	bl	execute_next_command
.L77:
	sub	r3, fp, #28672
	sub	r3, r3, #20
	ldr	r3, [r3, #-2688]
	cmp	r3, #0
	beq	.L78
	sub	r3, fp, #28672
	sub	r3, r3, #20
	ldr	r3, [r3, #-2684]
	sub	r2, fp, #28672
	sub	r2, r2, #20
	ldr	r2, [r2, #-2728]
	cmp	r2, r3
	bne	.L78
	sub	r2, fp, #30976
	sub	r2, r2, #20
	sub	r2, r2, #28
	sub	r3, fp, #31232
	sub	r3, r3, #20
	sub	r3, r3, #132
	mov	r1, r2
	mov	r0, r3
	bl	get_process_from_hardware
	mov	ip, r0
	sub	r0, fp, #30976
	sub	r0, r0, #20
	sub	r0, r0, #140
	sub	r2, fp, #31232
	sub	r2, r2, #20
	sub	r2, r2, #108
	sub	r1, fp, #30976
	sub	r1, r1, #20
	sub	r1, r1, #28
	sub	r3, fp, #30976
	sub	r3, r3, #20
	sub	r3, r3, #252
	str	r3, [sp]
	mov	r3, r0
	mov	r0, ip
	bl	execute_next_command
.L78:
	sub	r3, fp, #28672
	sub	r3, r3, #20
	ldr	r3, [r3, #-2676]
	cmp	r3, #0
	beq	.L79
	sub	r3, fp, #28672
	sub	r3, r3, #20
	ldr	r3, [r3, #-2672]
	sub	r2, fp, #28672
	sub	r2, r2, #20
	ldr	r2, [r2, #-2728]
	cmp	r2, r3
	bne	.L79
	sub	r2, fp, #30976
	sub	r2, r2, #20
	sub	r2, r2, #28
	sub	r3, fp, #31232
	sub	r3, r3, #20
	sub	r3, r3, #120
	mov	r1, r2
	mov	r0, r3
	bl	get_process_from_hardware
	mov	ip, r0
	sub	r0, fp, #30976
	sub	r0, r0, #20
	sub	r0, r0, #140
	sub	r2, fp, #31232
	sub	r2, r2, #20
	sub	r2, r2, #108
	sub	r1, fp, #30976
	sub	r1, r1, #20
	sub	r1, r1, #28
	sub	r3, fp, #30976
	sub	r3, r3, #20
	sub	r3, r3, #252
	str	r3, [sp]
	mov	r3, r0
	mov	r0, ip
	bl	execute_next_command
.L79:
	sub	r3, fp, #28672
	sub	r3, r3, #20
	ldr	r3, [r3, #-2560]
	cmp	r3, #0
	beq	.L80
	b	.L81
.L105:
	.align	2
.L104:
	.word	.LC38
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.word	.LC18
	.word	.LC19
	.word	.LC20
	.word	.LC21
	.word	9999999
	.word	next_new_process
	.word	global_time
	.word	.LC22
	.word	.LC23
	.word	.LC24
	.word	.LC25
	.word	.LC26
	.word	.LC27
	.word	.LC28
	.word	.LC29
	.word	process_ctr
	.word	.LC30
	.word	finished_processes
	.word	.LC31
.L82:
	sub	r3, fp, #31232
	sub	r3, r3, #20
	sub	r3, r3, #108
	mov	r0, r3
	bl	dequeue
	mov	ip, r0
	sub	r0, fp, #30976
	sub	r0, r0, #20
	sub	r0, r0, #140
	sub	r2, fp, #31232
	sub	r2, r2, #20
	sub	r2, r2, #108
	sub	r1, fp, #30976
	sub	r1, r1, #20
	sub	r1, r1, #28
	sub	r3, fp, #30976
	sub	r3, r3, #20
	sub	r3, r3, #252
	str	r3, [sp]
	mov	r3, r0
	mov	r0, ip
	bl	execute_next_command
.L81:
	sub	r3, fp, #28672
	sub	r3, r3, #20
	ldr	r3, [r3, #-2560]
	cmp	r3, #0
	beq	.L80
	sub	r3, fp, #28672
	sub	r3, r3, #20
	ldr	r1, [r3, #-2668]
	sub	r3, fp, #28672
	sub	r3, r3, #20
	ldr	r2, [r3, #-2668]
	sub	r3, fp, #28672
	sub	r3, r3, #20
	mov	r0, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #5
	sub	r2, r2, r3
	lsl	r3, r2, #3
	mov	r2, r3
	add	r3, r0, r2
	sub	r3, r3, #2320
	sub	r3, r3, #4
	ldr	r0, [r3]
	sub	r3, fp, #28672
	sub	r3, r3, #20
	mov	ip, r3
	mov	r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	lsl	r2, r3, #5
	sub	r2, r2, r3
	add	r3, r2, r0
	add	r3, r3, #5
	lsl	r3, r3, #3
	add	r3, ip, r3
	ldr	r1, [r3, #-2328]
	sub	r3, fp, #28672
	sub	r3, r3, #20
	ldr	r2, [r3, #-2668]
	sub	r3, fp, #28672
	sub	r3, r3, #20
	mov	r0, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #5
	sub	r2, r2, r3
	lsl	r3, r2, #3
	mov	r2, r3
	add	r3, r0, r2
	sub	r3, r3, #2288
	sub	r3, r3, #8
	ldr	r3, [r3]
	add	r3, r1, r3
	sub	r2, fp, #28672
	sub	r2, r2, #20
	ldr	r2, [r2, #-2728]
	cmp	r2, r3
	beq	.L82
.L80:
	ldr	r3, .L104+52
	ldr	r2, [r3]
	ldr	r3, .L104+92
	ldr	r3, [r3]
	cmp	r2, r3
	bge	.L83
	b	.L84
.L85:
	ldr	r3, .L104+52
	ldr	ip, [r3]
	sub	r0, fp, #30976
	sub	r0, r0, #20
	sub	r0, r0, #140
	sub	r2, fp, #31232
	sub	r2, r2, #20
	sub	r2, r2, #108
	sub	r1, fp, #30976
	sub	r1, r1, #20
	sub	r1, r1, #28
	sub	r3, fp, #30976
	sub	r3, r3, #20
	sub	r3, r3, #252
	str	r3, [sp]
	mov	r3, r0
	mov	r0, ip
	bl	execute_next_command
	ldr	r3, .L104+52
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L104+52
	str	r3, [r2]
.L84:
	ldr	r3, .L104+52
	ldr	r2, [r3]
	sub	r3, fp, #28672
	sub	r3, r3, #20
	mov	r1, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #5
	sub	r2, r2, r3
	lsl	r3, r2, #3
	mov	r2, r3
	add	r3, r1, r2
	sub	r3, r3, #2288
	ldr	r3, [r3]
	sub	r2, fp, #28672
	sub	r2, r2, #20
	ldr	r2, [r2, #-2728]
	cmp	r2, r3
	beq	.L85
.L83:
	sub	r3, fp, #28672
	sub	r3, r3, #20
	ldr	r3, [r3, #-2700]
	cmp	r3, #0
	bne	.L86
	sub	r3, fp, #28672
	sub	r3, r3, #20
	ldr	r3, [r3, #-2448]
	cmp	r3, #0
	beq	.L86
	sub	r3, fp, #30976
	sub	r3, r3, #20
	sub	r3, r3, #252
	mov	r0, r3
	bl	dequeue
	mov	r3, r0
	sub	r2, fp, #28672
	sub	r2, r2, #20
	str	r3, [r2, #-2704]
	sub	r3, fp, #28672
	sub	r3, r3, #20
	mov	r2, r3
	mov	r3, #1
	str	r3, [r2, #-2700]
	sub	r3, fp, #28672
	sub	r3, r3, #20
	ldr	r1, [r3, #-2704]
	sub	r3, fp, #28672
	sub	r3, r3, #20
	ldr	r2, [r3, #-2704]
	sub	r3, fp, #28672
	sub	r3, r3, #20
	mov	r0, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #5
	sub	r2, r2, r3
	lsl	r3, r2, #3
	mov	r2, r3
	add	r3, r0, r2
	sub	r3, r3, #2320
	sub	r3, r3, #4
	ldr	r0, [r3]
	sub	r3, fp, #28672
	sub	r3, r3, #20
	mov	ip, r3
	mov	r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	lsl	r2, r3, #5
	sub	r2, r2, r3
	add	r3, r2, r0
	add	r3, r3, #5
	lsl	r3, r3, #3
	add	r3, ip, r3
	ldr	r2, [r3, #-2328]
	ldr	r3, .L104+56
	ldr	r3, [r3]
	add	r3, r2, r3
	sub	r2, fp, #28672
	sub	r2, r2, #20
	str	r3, [r2, #-2696]
	sub	r3, fp, #28672
	sub	r3, r3, #20
	ldr	r2, [r3, #-2704]
	sub	r3, fp, #28672
	sub	r3, r3, #20
	mov	r1, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #5
	sub	r2, r2, r3
	lsl	r3, r2, #3
	mov	r2, r3
	add	r3, r1, r2
	sub	r3, r3, #2320
	sub	r3, r3, #8
	mov	r2, #1
	str	r2, [r3]
	sub	r3, fp, #28672
	sub	r3, r3, #20
	ldr	r2, [r3, #-2704]
	sub	r3, fp, #28672
	sub	r3, r3, #20
	mov	r1, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #5
	sub	r2, r2, r3
	lsl	r3, r2, #3
	mov	r2, r3
	add	r3, r1, r2
	sub	r3, r3, #2304
	sub	r3, r3, #12
	ldr	r0, [r3]
	sub	r3, fp, #28672
	sub	r3, r3, #20
	ldr	r1, [r3, #-2704]
	sub	r3, fp, #28672
	sub	r3, r3, #20
	ldr	r2, [r3, #-2704]
	sub	r3, fp, #28672
	sub	r3, r3, #20
	mov	ip, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #5
	sub	r2, r2, r3
	lsl	r3, r2, #3
	mov	r2, r3
	add	r3, ip, r2
	sub	r3, r3, #2320
	sub	r3, r3, #4
	ldr	ip, [r3]
	sub	r3, fp, #28672
	sub	r3, r3, #20
	mov	lr, r3
	mov	r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	lsl	r2, r3, #5
	sub	r2, r2, r3
	add	r3, r2, ip
	add	r3, r3, #5
	lsl	r3, r3, #3
	add	r3, lr, r3
	ldr	r3, [r3, #-2328]
	sub	r2, fp, #28672
	sub	r2, r2, #20
	ldr	r2, [r2, #-2704]
	add	r1, r0, r3
	sub	r3, fp, #28672
	sub	r3, r3, #20
	mov	r0, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #5
	sub	r2, r2, r3
	lsl	r3, r2, #3
	mov	r2, r3
	add	r3, r0, r2
	sub	r3, r3, #2304
	sub	r3, r3, #12
	str	r1, [r3]
.L86:
	sub	r3, fp, #28672
	sub	r3, r3, #20
	ldr	r3, [r3, #-2688]
	cmp	r3, #0
	bne	.L87
	sub	r3, fp, #28672
	sub	r3, r3, #20
	ldr	r3, [r3, #-2448]
	cmp	r3, #0
	beq	.L87
	sub	r3, fp, #30976
	sub	r3, r3, #20
	sub	r3, r3, #252
	mov	r0, r3
	bl	dequeue
	mov	r3, r0
	sub	r2, fp, #28672
	sub	r2, r2, #20
	str	r3, [r2, #-2692]
	sub	r3, fp, #28672
	sub	r3, r3, #20
	mov	r2, r3
	mov	r3, #1
	str	r3, [r2, #-2688]
	sub	r3, fp, #28672
	sub	r3, r3, #20
	ldr	r1, [r3, #-2692]
	sub	r3, fp, #28672
	sub	r3, r3, #20
	ldr	r2, [r3, #-2692]
	sub	r3, fp, #28672
	sub	r3, r3, #20
	mov	r0, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #5
	sub	r2, r2, r3
	lsl	r3, r2, #3
	mov	r2, r3
	add	r3, r0, r2
	sub	r3, r3, #2320
	sub	r3, r3, #4
	ldr	r0, [r3]
	sub	r3, fp, #28672
	sub	r3, r3, #20
	mov	ip, r3
	mov	r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	lsl	r2, r3, #5
	sub	r2, r2, r3
	add	r3, r2, r0
	add	r3, r3, #5
	lsl	r3, r3, #3
	add	r3, ip, r3
	ldr	r2, [r3, #-2328]
	ldr	r3, .L104+56
	ldr	r3, [r3]
	add	r3, r2, r3
	sub	r2, fp, #28672
	sub	r2, r2, #20
	str	r3, [r2, #-2684]
	sub	r3, fp, #28672
	sub	r3, r3, #20
	ldr	r2, [r3, #-2692]
	sub	r3, fp, #28672
	sub	r3, r3, #20
	mov	r1, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #5
	sub	r2, r2, r3
	lsl	r3, r2, #3
	mov	r2, r3
	add	r3, r1, r2
	sub	r3, r3, #2320
	sub	r3, r3, #8
	mov	r2, #1
	str	r2, [r3]
	sub	r3, fp, #28672
	sub	r3, r3, #20
	ldr	r2, [r3, #-2692]
	sub	r3, fp, #28672
	sub	r3, r3, #20
	mov	r1, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #5
	sub	r2, r2, r3
	lsl	r3, r2, #3
	mov	r2, r3
	add	r3, r1, r2
	sub	r3, r3, #2304
	sub	r3, r3, #12
	ldr	r0, [r3]
	sub	r3, fp, #28672
	sub	r3, r3, #20
	ldr	r1, [r3, #-2692]
	sub	r3, fp, #28672
	sub	r3, r3, #20
	ldr	r2, [r3, #-2692]
	sub	r3, fp, #28672
	sub	r3, r3, #20
	mov	ip, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #5
	sub	r2, r2, r3
	lsl	r3, r2, #3
	mov	r2, r3
	add	r3, ip, r2
	sub	r3, r3, #2320
	sub	r3, r3, #4
	ldr	ip, [r3]
	sub	r3, fp, #28672
	sub	r3, r3, #20
	mov	lr, r3
	mov	r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	lsl	r2, r3, #5
	sub	r2, r2, r3
	add	r3, r2, ip
	add	r3, r3, #5
	lsl	r3, r3, #3
	add	r3, lr, r3
	ldr	r3, [r3, #-2328]
	sub	r2, fp, #28672
	sub	r2, r2, #20
	ldr	r2, [r2, #-2692]
	add	r1, r0, r3
	sub	r3, fp, #28672
	sub	r3, r3, #20
	mov	r0, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #5
	sub	r2, r2, r3
	lsl	r3, r2, #3
	mov	r2, r3
	add	r3, r0, r2
	sub	r3, r3, #2304
	sub	r3, r3, #12
	str	r1, [r3]
.L87:
	sub	r3, fp, #28672
	sub	r3, r3, #20
	ldr	r3, [r3, #-2676]
	cmp	r3, #0
	bne	.L88
	sub	r3, fp, #28672
	sub	r3, r3, #20
	ldr	r3, [r3, #-2336]
	cmp	r3, #0
	beq	.L88
	sub	r3, fp, #30976
	sub	r3, r3, #20
	sub	r3, r3, #140
	mov	r0, r3
	bl	dequeue
	mov	r3, r0
	sub	r2, fp, #28672
	sub	r2, r2, #20
	str	r3, [r2, #-2680]
	sub	r3, fp, #28672
	sub	r3, r3, #20
	mov	r2, r3
	mov	r3, #1
	str	r3, [r2, #-2676]
	sub	r3, fp, #28672
	sub	r3, r3, #20
	ldr	r1, [r3, #-2680]
	sub	r3, fp, #28672
	sub	r3, r3, #20
	ldr	r2, [r3, #-2680]
	sub	r3, fp, #28672
	sub	r3, r3, #20
	mov	r0, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #5
	sub	r2, r2, r3
	lsl	r3, r2, #3
	mov	r2, r3
	add	r3, r0, r2
	sub	r3, r3, #2320
	sub	r3, r3, #4
	ldr	r0, [r3]
	sub	r3, fp, #28672
	sub	r3, r3, #20
	mov	ip, r3
	mov	r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	lsl	r2, r3, #5
	sub	r2, r2, r3
	add	r3, r2, r0
	add	r3, r3, #5
	lsl	r3, r3, #3
	add	r3, ip, r3
	ldr	r2, [r3, #-2328]
	ldr	r3, .L104+56
	ldr	r3, [r3]
	add	r3, r2, r3
	sub	r2, fp, #28672
	sub	r2, r2, #20
	str	r3, [r2, #-2672]
	sub	r3, fp, #28672
	sub	r3, r3, #20
	ldr	r2, [r3, #-2680]
	sub	r3, fp, #28672
	sub	r3, r3, #20
	mov	r1, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #5
	sub	r2, r2, r3
	lsl	r3, r2, #3
	mov	r2, r3
	add	r3, r1, r2
	sub	r3, r3, #2320
	sub	r3, r3, #8
	mov	r2, #2
	str	r2, [r3]
	sub	r3, fp, #28672
	sub	r3, r3, #20
	ldr	r2, [r3, #-2680]
	sub	r3, fp, #28672
	sub	r3, r3, #20
	mov	r1, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #5
	sub	r2, r2, r3
	lsl	r3, r2, #3
	mov	r2, r3
	add	r3, r1, r2
	sub	r3, r3, #2304
	ldr	r2, [r3]
	ldr	r3, .L104+56
	ldr	r3, [r3]
	add	r1, r2, r3
	sub	r3, fp, #28672
	sub	r3, r3, #20
	ldr	r2, [r3, #-2680]
	sub	r3, fp, #28672
	sub	r3, r3, #20
	mov	r0, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #5
	sub	r2, r2, r3
	lsl	r3, r2, #3
	mov	r2, r3
	add	r3, r0, r2
	sub	r3, r3, #2288
	sub	r3, r3, #12
	ldr	r3, [r3]
	sub	r2, fp, #28672
	sub	r2, r2, #20
	ldr	r2, [r2, #-2680]
	sub	r1, r1, r3
	sub	r3, fp, #28672
	sub	r3, r3, #20
	mov	r0, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #5
	sub	r2, r2, r3
	lsl	r3, r2, #3
	mov	r2, r3
	add	r3, r0, r2
	sub	r3, r3, #2304
	str	r1, [r3]
	sub	r3, fp, #28672
	sub	r3, r3, #20
	ldr	r1, [r3, #-2680]
	sub	r3, fp, #28672
	sub	r3, r3, #20
	mov	r0, r3
	mov	r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	lsl	r2, r3, #5
	sub	r2, r2, r3
	lsl	r3, r2, #3
	mov	r2, r3
	add	r3, r0, r2
	sub	r3, r3, #2304
	sub	r3, r3, #8
	ldr	r3, [r3]
	add	r0, r3, #1
	sub	r3, fp, #28672
	sub	r3, r3, #20
	mov	ip, r3
	mov	r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	lsl	r2, r3, #5
	sub	r2, r2, r3
	lsl	r3, r2, #3
	mov	r2, r3
	add	r3, ip, r2
	sub	r3, r3, #2304
	sub	r3, r3, #8
	str	r0, [r3]
	sub	r3, fp, #28672
	sub	r3, r3, #20
	ldr	r2, [r3, #-2680]
	sub	r3, fp, #28672
	sub	r3, r3, #20
	mov	r1, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #5
	sub	r2, r2, r3
	lsl	r3, r2, #3
	mov	r2, r3
	add	r3, r1, r2
	sub	r3, r3, #2304
	sub	r3, r3, #4
	ldr	r0, [r3]
	sub	r3, fp, #28672
	sub	r3, r3, #20
	ldr	r1, [r3, #-2680]
	sub	r3, fp, #28672
	sub	r3, r3, #20
	ldr	r2, [r3, #-2680]
	sub	r3, fp, #28672
	sub	r3, r3, #20
	mov	ip, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #5
	sub	r2, r2, r3
	lsl	r3, r2, #3
	mov	r2, r3
	add	r3, ip, r2
	sub	r3, r3, #2320
	sub	r3, r3, #4
	ldr	ip, [r3]
	sub	r3, fp, #28672
	sub	r3, r3, #20
	mov	lr, r3
	mov	r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	lsl	r2, r3, #5
	sub	r2, r2, r3
	add	r3, r2, ip
	add	r3, r3, #5
	lsl	r3, r3, #3
	add	r3, lr, r3
	ldr	r3, [r3, #-2328]
	sub	r2, fp, #28672
	sub	r2, r2, #20
	ldr	r2, [r2, #-2680]
	add	r1, r0, r3
	sub	r3, fp, #28672
	sub	r3, r3, #20
	mov	r0, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #5
	sub	r2, r2, r3
	lsl	r3, r2, #3
	mov	r2, r3
	add	r3, r0, r2
	sub	r3, r3, #2304
	sub	r3, r3, #4
	str	r1, [r3]
.L88:
	ldr	r3, .L104+56
	ldr	r3, [r3]
	ldr	r2, .L104+92
	ldr	r2, [r2]
	mov	r1, r3
	ldr	r0, .L104+60
	bl	printf
	sub	r3, fp, #28672
	sub	r3, r3, #20
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-2736]
	b	.L89
.L96:
	sub	r3, fp, #28672
	sub	r3, r3, #20
	mov	r1, r3
	sub	r3, fp, #28672
	sub	r3, r3, #20
	ldr	r2, [r3, #-2736]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #5
	sub	r2, r2, r3
	lsl	r3, r2, #3
	mov	r2, r3
	add	r3, r1, r2
	sub	r3, r3, #2320
	sub	r3, r3, #12
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L104+64
	bl	printf
	sub	r3, fp, #28672
	sub	r3, r3, #20
	mov	r1, r3
	sub	r3, fp, #28672
	sub	r3, r3, #20
	ldr	r2, [r3, #-2736]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #5
	sub	r2, r2, r3
	lsl	r3, r2, #3
	mov	r2, r3
	add	r3, r1, r2
	sub	r3, r3, #2320
	sub	r3, r3, #8
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L90
	ldr	r0, .L104+68
	bl	printf
	b	.L91
.L90:
	sub	r3, fp, #28672
	sub	r3, r3, #20
	mov	r1, r3
	sub	r3, fp, #28672
	sub	r3, r3, #20
	ldr	r2, [r3, #-2736]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #5
	sub	r2, r2, r3
	lsl	r3, r2, #3
	mov	r2, r3
	add	r3, r1, r2
	sub	r3, r3, #2320
	sub	r3, r3, #8
	ldr	r3, [r3]
	cmp	r3, #1
	bne	.L92
	ldr	r0, .L104+72
	bl	printf
	b	.L91
.L92:
	sub	r3, fp, #28672
	sub	r3, r3, #20
	mov	r1, r3
	sub	r3, fp, #28672
	sub	r3, r3, #20
	ldr	r2, [r3, #-2736]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #5
	sub	r2, r2, r3
	lsl	r3, r2, #3
	mov	r2, r3
	add	r3, r1, r2
	sub	r3, r3, #2320
	sub	r3, r3, #8
	ldr	r3, [r3]
	cmp	r3, #2
	bne	.L93
	ldr	r0, .L104+76
	bl	printf
	b	.L91
.L93:
	sub	r3, fp, #28672
	sub	r3, r3, #20
	mov	r1, r3
	sub	r3, fp, #28672
	sub	r3, r3, #20
	ldr	r2, [r3, #-2736]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #5
	sub	r2, r2, r3
	lsl	r3, r2, #3
	mov	r2, r3
	add	r3, r1, r2
	sub	r3, r3, #2320
	sub	r3, r3, #8
	ldr	r3, [r3]
	cmp	r3, #4
	bne	.L91
	ldr	r0, .L104+80
	bl	printf
.L91:
	sub	r3, fp, #28672
	sub	r3, r3, #20
	mov	r1, r3
	sub	r3, fp, #28672
	sub	r3, r3, #20
	ldr	r2, [r3, #-2736]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #5
	sub	r2, r2, r3
	lsl	r3, r2, #3
	mov	r2, r3
	add	r3, r1, r2
	sub	r3, r3, #2320
	sub	r3, r3, #8
	ldr	r3, [r3]
	cmp	r3, #4
	bne	.L94
	sub	r3, fp, #28672
	sub	r3, r3, #20
	mov	r1, r3
	sub	r3, fp, #28672
	sub	r3, r3, #20
	ldr	r2, [r3, #-2736]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #5
	sub	r2, r2, r3
	lsl	r3, r2, #3
	mov	r2, r3
	add	r3, r1, r2
	sub	r3, r3, #2320
	sub	r3, r3, #4
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L104+84
	bl	printf
	b	.L95
.L94:
	sub	r3, fp, #28672
	sub	r3, r3, #20
	mov	r1, r3
	sub	r3, fp, #28672
	sub	r3, r3, #20
	ldr	r2, [r3, #-2736]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #5
	sub	r2, r2, r3
	lsl	r3, r2, #3
	mov	r2, r3
	add	r3, r1, r2
	sub	r3, r3, #2320
	sub	r3, r3, #4
	ldr	r3, [r3]
	add	r3, r3, #1
	mov	r1, r3
	ldr	r0, .L104+84
	bl	printf
.L95:
	sub	r3, fp, #28672
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #28672
	sub	r3, r3, #20
	ldr	r3, [r3, #-2736]
	add	r3, r3, #1
	str	r3, [r2, #-2736]
.L89:
	ldr	r3, .L104+92
	ldr	r3, [r3]
	sub	r2, fp, #28672
	sub	r2, r2, #20
	ldr	r2, [r2, #-2736]
	cmp	r2, r3
	blt	.L96
	ldr	r0, .L104+88
	bl	puts
.L71:
	ldr	r3, .L104+100
	ldr	r2, [r3]
	ldr	r3, .L104+92
	ldr	r3, [r3]
	cmp	r2, r3
	blt	.L97
	ldr	r0, .L104+96
	bl	puts
	ldr	r3, .L104+100
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L104+104
	bl	printf
	sub	r3, fp, #28672
	sub	r3, r3, #20
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-2724]
	sub	r3, fp, #28672
	sub	r3, r3, #20
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-2720]
	sub	r3, fp, #28672
	sub	r3, r3, #20
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-2716]
	sub	r3, fp, #28672
	sub	r3, r3, #20
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-2712]
	sub	r3, fp, #28672
	sub	r3, r3, #20
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-2736]
	b	.L98
.L99:
	sub	r3, fp, #28672
	sub	r3, r3, #20
	mov	r1, r3
	sub	r3, fp, #28672
	sub	r3, r3, #20
	ldr	r2, [r3, #-2736]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #5
	sub	r2, r2, r3
	lsl	r3, r2, #3
	mov	r2, r3
	add	r3, r1, r2
	sub	r3, r3, #2304
	sub	r3, r3, #8
	ldr	r3, [r3]
	sub	r2, fp, #28672
	sub	r2, r2, #20
	mov	r1, r2
	sub	r2, fp, #28672
	sub	r2, r2, #20
	ldr	r2, [r2, #-2724]
	add	r3, r2, r3
	str	r3, [r1, #-2724]
	sub	r3, fp, #28672
	sub	r3, r3, #20
	mov	r1, r3
	sub	r3, fp, #28672
	sub	r3, r3, #20
	ldr	r2, [r3, #-2736]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #5
	sub	r2, r2, r3
	lsl	r3, r2, #3
	mov	r2, r3
	add	r3, r1, r2
	sub	r3, r3, #2304
	sub	r3, r3, #4
	ldr	r2, [r3]
	sub	r3, fp, #28672
	sub	r3, r3, #20
	ldr	r3, [r3, #-2720]
	add	r1, r2, r3
	sub	r3, fp, #28672
	sub	r3, r3, #20
	mov	r0, r3
	sub	r3, fp, #28672
	sub	r3, r3, #20
	ldr	r2, [r3, #-2736]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #5
	sub	r2, r2, r3
	lsl	r3, r2, #3
	mov	r2, r3
	add	r3, r0, r2
	sub	r3, r3, #2304
	ldr	r3, [r3]
	sub	r2, fp, #28672
	sub	r2, r2, #20
	add	r3, r1, r3
	str	r3, [r2, #-2720]
	sub	r3, fp, #28672
	sub	r3, r3, #20
	mov	r1, r3
	sub	r3, fp, #28672
	sub	r3, r3, #20
	ldr	r2, [r3, #-2736]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #5
	sub	r2, r2, r3
	lsl	r3, r2, #3
	mov	r2, r3
	add	r3, r1, r2
	sub	r3, r3, #2304
	sub	r3, r3, #4
	ldr	r3, [r3]
	sub	r2, fp, #28672
	sub	r2, r2, #20
	mov	r1, r2
	sub	r2, fp, #28672
	sub	r2, r2, #20
	ldr	r2, [r2, #-2716]
	add	r3, r2, r3
	str	r3, [r1, #-2716]
	sub	r3, fp, #28672
	sub	r3, r3, #20
	mov	r1, r3
	sub	r3, fp, #28672
	sub	r3, r3, #20
	ldr	r2, [r3, #-2736]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #5
	sub	r2, r2, r3
	lsl	r3, r2, #3
	mov	r2, r3
	add	r3, r1, r2
	sub	r3, r3, #2304
	sub	r3, r3, #12
	ldr	r3, [r3]
	sub	r2, fp, #28672
	sub	r2, r2, #20
	mov	r1, r2
	sub	r2, fp, #28672
	sub	r2, r2, #20
	ldr	r2, [r2, #-2712]
	add	r3, r2, r3
	str	r3, [r1, #-2712]
	sub	r3, fp, #28672
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #28672
	sub	r3, r3, #20
	ldr	r3, [r3, #-2736]
	add	r3, r3, #1
	str	r3, [r2, #-2736]
.L98:
	ldr	r3, .L106
	ldr	r3, [r3]
	sub	r2, fp, #28672
	sub	r2, r2, #20
	ldr	r2, [r2, #-2736]
	cmp	r2, r3
	blt	.L99
	sub	r3, fp, #28672
	sub	r3, r3, #20
	ldr	r1, [r3, #-2724]
	ldr	r0, .L106+4
	bl	printf
	sub	r3, fp, #28672
	sub	r3, r3, #20
	ldr	r3, [r3, #-2724]
	cmp	r3, #0
	beq	.L100
	sub	r3, fp, #28672
	sub	r3, r3, #20
	ldr	r0, [r3, #-2720]
	bl	__aeabi_i2d
	mov	r4, r0
	mov	r5, r1
	sub	r3, fp, #28672
	sub	r3, r3, #20
	ldr	r0, [r3, #-2724]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L106+8
	bl	printf
	b	.L101
.L100:
	ldr	r0, .L106+12
	bl	puts
.L101:
	ldr	r3, .L106+16
	ldr	r2, [r3]
	sub	r3, fp, #28672
	sub	r3, r3, #20
	ldr	r3, [r3, #-2288]
	sub	r3, r2, r3
	mov	r1, r3
	ldr	r0, .L106+20
	bl	printf
	sub	r3, fp, #28672
	sub	r3, r3, #20
	ldr	r0, [r3, #-2712]
	bl	__aeabi_i2d
	mov	r4, r0
	mov	r5, r1
	ldr	r3, .L106+16
	ldr	r3, [r3]
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r6, r0
	mov	r7, r1
	sub	r3, fp, #28672
	sub	r3, r3, #20
	ldr	r3, [r3, #-2288]
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L106+24
	bl	printf
	sub	r3, fp, #28672
	sub	r3, r3, #20
	ldr	r0, [r3, #-2716]
	bl	__aeabi_i2d
	mov	r4, r0
	mov	r5, r1
	ldr	r3, .L106+16
	ldr	r3, [r3]
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r6, r0
	mov	r7, r1
	sub	r3, fp, #28672
	sub	r3, r3, #20
	ldr	r3, [r3, #-2288]
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L106+28
	bl	printf
	mov	r3, #0
	ldr	r2, .L106+32
	ldr	r1, [r2]
	ldr	r2, [fp, #-24]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L103
	bl	__stack_chk_fail
.L103:
	mov	r0, r3
	sub	sp, fp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, fp, pc}
.L107:
	.align	2
.L106:
	.word	finished_processes
	.word	.LC32
	.word	.LC33
	.word	.LC34
	.word	global_time
	.word	.LC35
	.word	.LC36
	.word	.LC37
	.word	.LC38
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
