	.file	"165960.c"
	.intel_syntax noprefix
	.text
	.globl	q
	.bss
	.align 32
	.type	q, @object
	.size	q, 400
q:
	.zero	400
	.globl	front
	.data
	.align 4
	.type	front, @object
	.size	front, 4
front:
	.long	-1
	.globl	rear
	.bss
	.align 4
	.type	rear, @object
	.size	rear, 4
rear:
	.zero	4
	.globl	p
	.align 32
	.type	p, @object
	.size	p, 880
p:
	.zero	880
	.globl	d
	.align 32
	.type	d, @object
	.size	d, 560
d:
	.zero	560
	.text
	.globl	enq
	.type	enq, @function
enq:
.LFB0:
	.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 -4[rbp], edi
	mov	eax, DWORD PTR rear[rip]
	cdqe
	lea	rcx, 0[0+rax*4]
	lea	rdx, q[rip]
	mov	eax, DWORD PTR -4[rbp]
	mov	DWORD PTR [rcx+rdx], eax
	mov	eax, DWORD PTR rear[rip]
	add	eax, 1
	mov	DWORD PTR rear[rip], eax
	mov	eax, DWORD PTR front[rip]
	cmp	eax, -1
	jne	.L3
	mov	eax, DWORD PTR front[rip]
	add	eax, 1
	mov	DWORD PTR front[rip], eax
.L3:
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	enq, .-enq
	.globl	deq
	.type	deq, @function
deq:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, DWORD PTR front[rip]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, q[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR front[rip]
	add	eax, 1
	mov	DWORD PTR front[rip], eax
	mov	edx, DWORD PTR front[rip]
	mov	eax, DWORD PTR rear[rip]
	cmp	edx, eax
	jne	.L5
	mov	DWORD PTR front[rip], -1
	mov	DWORD PTR rear[rip], 0
.L5:
	mov	eax, DWORD PTR -4[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	deq, .-deq
	.section	.rodata
	.align 8
.LC1:
	.string	"\n Enter the number of processes: "
.LC2:
	.string	"%d"
.LC3:
	.string	"\n Enter the timeslice: "
.LC4:
	.string	"\n Enter the name of process: "
.LC5:
	.string	"%s"
.LC6:
	.string	"\n Enter the arrival time: "
.LC7:
	.string	"\n Enter the burst time: "
.LC8:
	.string	"pname\tat\tbt"
.LC9:
	.string	"\n%s\t%d\t%d\n"
.LC10:
	.string	"__________\t"
.LC11:
	.string	"\n|%s\t|"
.LC12:
	.string	"%s\t|"
.LC13:
	.string	"%d\t"
.LC14:
	.string	"Average of tt:%f\n"
.LC15:
	.string	"Average of wt:%f\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB2:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -56[rbp], 0
	mov	DWORD PTR -40[rbp], 0
	pxor	xmm0, xmm0
	movss	DWORD PTR -20[rbp], xmm0
	pxor	xmm0, xmm0
	movss	DWORD PTR -16[rbp], xmm0
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR stdin[rip]
	mov	esi, 0
	mov	rdi, rax
	call	setbuf@PLT
	lea	rax, -60[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -64[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	DWORD PTR -56[rbp], 0
	jmp	.L8
.L9:
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -56[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	lea	rdx, p[rip]
	add	rax, rdx
	mov	rsi, rax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -56[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	lea	rdx, 16[rax]
	lea	rax, p[rip]
	add	rax, rdx
	add	rax, 4
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -56[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	lea	rdx, 16[rax]
	lea	rax, p[rip]
	add	rax, rdx
	add	rax, 8
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -56[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, p[rip+36]
	mov	DWORD PTR [rdx+rax], 0
	mov	eax, DWORD PTR -56[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, p[rip+24]
	mov	ecx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -56[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, p[rip+40]
	mov	DWORD PTR [rdx+rax], ecx
	add	DWORD PTR -56[rbp], 1
.L8:
	mov	eax, DWORD PTR -60[rbp]
	cmp	DWORD PTR -56[rbp], eax
	jl	.L9
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -56[rbp], 0
	jmp	.L10
.L11:
	mov	eax, DWORD PTR -56[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, p[rip+24]
	mov	ecx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -56[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, p[rip+20]
	mov	esi, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -56[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	lea	rdx, p[rip]
	add	rax, rdx
	mov	edx, esi
	mov	rsi, rax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -56[rbp], 1
.L10:
	mov	eax, DWORD PTR -60[rbp]
	cmp	DWORD PTR -56[rbp], eax
	jl	.L11
	mov	DWORD PTR -56[rbp], 0
	mov	DWORD PTR -48[rbp], 0
	mov	DWORD PTR -44[rbp], 0
	jmp	.L12
.L23:
	mov	DWORD PTR -52[rbp], 0
	jmp	.L13
.L15:
	mov	eax, DWORD PTR -52[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, p[rip+36]
	mov	eax, DWORD PTR [rdx+rax]
	test	eax, eax
	jne	.L14
	mov	eax, DWORD PTR -52[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, p[rip+20]
	mov	eax, DWORD PTR [rdx+rax]
	cmp	DWORD PTR -56[rbp], eax
	jl	.L14
	mov	eax, DWORD PTR -52[rbp]
	mov	edi, eax
	call	enq
	mov	eax, DWORD PTR -52[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, p[rip+36]
	mov	DWORD PTR [rdx+rax], 1
.L14:
	add	DWORD PTR -52[rbp], 1
.L13:
	mov	eax, DWORD PTR -60[rbp]
	cmp	DWORD PTR -52[rbp], eax
	jl	.L15
	cmp	DWORD PTR -40[rbp], 0
	jne	.L16
	mov	eax, DWORD PTR front[rip]
	cmp	eax, -1
	jne	.L16
	mov	eax, DWORD PTR -44[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	lea	rdx, d[rip]
	add	rax, rdx
	mov	DWORD PTR [rax], 1701602409
	mov	BYTE PTR 4[rax], 0
	mov	eax, DWORD PTR -44[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	mov	rcx, rax
	lea	rdx, d[rip+20]
	mov	eax, DWORD PTR -56[rbp]
	mov	DWORD PTR [rcx+rdx], eax
	mov	DWORD PTR -40[rbp], 1
	add	DWORD PTR -56[rbp], 1
	jmp	.L12
.L16:
	mov	eax, DWORD PTR front[rip]
	cmp	eax, -1
	je	.L17
	cmp	DWORD PTR -40[rbp], 1
	jne	.L18
	mov	eax, DWORD PTR -44[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	mov	rcx, rax
	lea	rdx, d[rip+24]
	mov	eax, DWORD PTR -56[rbp]
	mov	DWORD PTR [rcx+rdx], eax
	mov	DWORD PTR -40[rbp], 0
	add	DWORD PTR -44[rbp], 1
.L18:
	mov	eax, 0
	call	deq
	mov	DWORD PTR -12[rbp], eax
	mov	eax, DWORD PTR -44[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	mov	rcx, rax
	lea	rdx, d[rip+20]
	mov	eax, DWORD PTR -56[rbp]
	mov	DWORD PTR [rcx+rdx], eax
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	lea	rdx, p[rip]
	add	rdx, rax
	mov	eax, DWORD PTR -44[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 3
	sub	rax, rcx
	sal	rax, 2
	lea	rcx, d[rip]
	add	rax, rcx
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, p[rip+40]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -64[rbp]
	cmp	edx, eax
	jg	.L19
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, p[rip+40]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -56[rbp]
	lea	ecx, [rdx+rax]
	mov	eax, DWORD PTR -44[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, d[rip+24]
	mov	DWORD PTR [rdx+rax], ecx
	mov	eax, DWORD PTR -44[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, d[rip+24]
	mov	eax, DWORD PTR [rdx+rax]
	mov	DWORD PTR -56[rbp], eax
	mov	eax, DWORD PTR -44[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, d[rip+24]
	mov	ecx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, p[rip+20]
	mov	eax, DWORD PTR [rdx+rax]
	sub	ecx, eax
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, p[rip+32]
	mov	DWORD PTR [rdx+rax], ecx
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, p[rip+32]
	mov	ecx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, p[rip+24]
	mov	eax, DWORD PTR [rdx+rax]
	sub	ecx, eax
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, p[rip+28]
	mov	DWORD PTR [rdx+rax], ecx
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, p[rip+36]
	mov	DWORD PTR [rdx+rax], 2
	add	DWORD PTR -48[rbp], 1
	add	DWORD PTR -44[rbp], 1
	jmp	.L12
.L19:
	mov	edx, DWORD PTR -64[rbp]
	mov	eax, DWORD PTR -56[rbp]
	lea	ecx, [rdx+rax]
	mov	eax, DWORD PTR -44[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, d[rip+24]
	mov	DWORD PTR [rdx+rax], ecx
	mov	eax, DWORD PTR -64[rbp]
	add	DWORD PTR -56[rbp], eax
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, p[rip+40]
	mov	eax, DWORD PTR [rdx+rax]
	mov	edx, DWORD PTR -64[rbp]
	sub	eax, edx
	mov	ecx, eax
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, p[rip+40]
	mov	DWORD PTR [rdx+rax], ecx
	add	DWORD PTR -44[rbp], 1
	mov	DWORD PTR -52[rbp], 0
	jmp	.L20
.L22:
	mov	eax, DWORD PTR -52[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, p[rip+36]
	mov	eax, DWORD PTR [rdx+rax]
	test	eax, eax
	jne	.L21
	mov	eax, DWORD PTR -52[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, p[rip+20]
	mov	eax, DWORD PTR [rdx+rax]
	cmp	DWORD PTR -56[rbp], eax
	jl	.L21
	mov	eax, DWORD PTR -52[rbp]
	mov	edi, eax
	call	enq
	mov	eax, DWORD PTR -52[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, p[rip+36]
	mov	DWORD PTR [rdx+rax], 1
.L21:
	add	DWORD PTR -52[rbp], 1
.L20:
	mov	eax, DWORD PTR -60[rbp]
	cmp	DWORD PTR -52[rbp], eax
	jl	.L22
	mov	eax, DWORD PTR -12[rbp]
	mov	edi, eax
	call	enq
	jmp	.L12
.L17:
	add	DWORD PTR -56[rbp], 1
.L12:
	mov	eax, DWORD PTR -60[rbp]
	cmp	DWORD PTR -48[rbp], eax
	jl	.L23
	mov	DWORD PTR -36[rbp], 0
	jmp	.L24
.L25:
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -36[rbp], 1
.L24:
	mov	eax, DWORD PTR -60[rbp]
	add	eax, 5
	cmp	DWORD PTR -36[rbp], eax
	jle	.L25
	mov	DWORD PTR -56[rbp], 0
	jmp	.L26
.L29:
	cmp	DWORD PTR -56[rbp], 0
	jne	.L27
	mov	eax, DWORD PTR -56[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	lea	rdx, d[rip]
	add	rax, rdx
	mov	rsi, rax
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L28
.L27:
	mov	eax, DWORD PTR -56[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	lea	rdx, d[rip]
	add	rax, rdx
	mov	rsi, rax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
.L28:
	add	DWORD PTR -56[rbp], 1
.L26:
	mov	eax, DWORD PTR -56[rbp]
	cmp	eax, DWORD PTR -44[rbp]
	jl	.L29
	mov	edi, 10
	call	putchar@PLT
	mov	DWORD PTR -32[rbp], 0
	jmp	.L30
.L31:
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -32[rbp], 1
.L30:
	mov	eax, DWORD PTR -60[rbp]
	add	eax, 5
	cmp	DWORD PTR -32[rbp], eax
	jle	.L31
	mov	edi, 10
	call	putchar@PLT
	mov	DWORD PTR -28[rbp], 0
	jmp	.L32
.L33:
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, d[rip+20]
	mov	eax, DWORD PTR [rdx+rax]
	mov	esi, eax
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -28[rbp], 1
.L32:
	mov	eax, DWORD PTR -28[rbp]
	cmp	eax, DWORD PTR -44[rbp]
	jl	.L33
	mov	eax, DWORD PTR -44[rbp]
	sub	eax, 1
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, d[rip+24]
	mov	eax, DWORD PTR [rdx+rax]
	mov	esi, eax
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 10
	call	putchar@PLT
	mov	DWORD PTR -24[rbp], 0
	jmp	.L34
.L35:
	mov	eax, DWORD PTR -24[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, p[rip+32]
	mov	eax, DWORD PTR [rdx+rax]
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, eax
	movss	xmm1, DWORD PTR -16[rbp]
	addss	xmm0, xmm1
	movss	DWORD PTR -16[rbp], xmm0
	mov	eax, DWORD PTR -24[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, p[rip+28]
	mov	eax, DWORD PTR [rdx+rax]
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, eax
	movss	xmm1, DWORD PTR -20[rbp]
	addss	xmm0, xmm1
	movss	DWORD PTR -20[rbp], xmm0
	add	DWORD PTR -24[rbp], 1
.L34:
	mov	eax, DWORD PTR -24[rbp]
	cmp	eax, DWORD PTR -44[rbp]
	jl	.L35
	mov	eax, DWORD PTR -60[rbp]
	pxor	xmm1, xmm1
	cvtsi2ss	xmm1, eax
	movss	xmm0, DWORD PTR -16[rbp]
	divss	xmm0, xmm1
	pxor	xmm2, xmm2
	cvtss2sd	xmm2, xmm0
	movq	rax, xmm2
	movq	xmm0, rax
	lea	rdi, .LC14[rip]
	mov	eax, 1
	call	printf@PLT
	mov	eax, DWORD PTR -60[rbp]
	pxor	xmm1, xmm1
	cvtsi2ss	xmm1, eax
	movss	xmm0, DWORD PTR -20[rbp]
	divss	xmm0, xmm1
	pxor	xmm3, xmm3
	cvtss2sd	xmm3, xmm0
	movq	rax, xmm3
	movq	xmm0, rax
	lea	rdi, .LC15[rip]
	mov	eax, 1
	call	printf@PLT
	mov	edi, 10
	call	putchar@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L36
	call	__stack_chk_fail@PLT
.L36:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.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	"165960.c"
	.text
	.comm	q,400,4
	.global	front
	.data
	.align	2
	.type	front, %object
	.size	front, 4
front:
	.word	-1
	.global	rear
	.bss
	.align	2
	.type	rear, %object
	.size	rear, 4
rear:
	.space	4
	.comm	p,880,4
	.comm	d,560,4
	.text
	.align	2
	.global	enq
	.syntax unified
	.arm
	.fpu softvfp
	.type	enq, %function
enq:
	@ 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, .L4
	ldr	r3, [r3]
	ldr	r1, .L4+4
	ldr	r2, [fp, #-8]
	str	r2, [r1, r3, lsl #2]
	ldr	r3, .L4
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L4
	str	r3, [r2]
	ldr	r3, .L4+8
	ldr	r3, [r3]
	cmn	r3, #1
	bne	.L3
	ldr	r3, .L4+8
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L4+8
	str	r3, [r2]
.L3:
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L5:
	.align	2
.L4:
	.word	rear
	.word	q
	.word	front
	.size	enq, .-enq
	.align	2
	.global	deq
	.syntax unified
	.arm
	.fpu softvfp
	.type	deq, %function
deq:
	@ 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
	ldr	r3, .L9
	ldr	r3, [r3]
	ldr	r2, .L9+4
	ldr	r3, [r2, r3, lsl #2]
	str	r3, [fp, #-8]
	ldr	r3, .L9
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L9
	str	r3, [r2]
	ldr	r3, .L9
	ldr	r2, [r3]
	ldr	r3, .L9+8
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L7
	ldr	r3, .L9
	mvn	r2, #0
	str	r2, [r3]
	ldr	r3, .L9+8
	mov	r2, #0
	str	r2, [r3]
.L7:
	ldr	r3, [fp, #-8]
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L10:
	.align	2
.L9:
	.word	front
	.word	q
	.word	rear
	.size	deq, .-deq
	.section	.rodata
	.align	2
.LC0:
	.ascii	"\012 Enter the number of processes: \000"
	.align	2
.LC1:
	.ascii	"%d\000"
	.align	2
.LC2:
	.ascii	"\012 Enter the timeslice: \000"
	.align	2
.LC3:
	.ascii	"\012 Enter the name of process: \000"
	.align	2
.LC4:
	.ascii	"%s\000"
	.align	2
.LC5:
	.ascii	"\012 Enter the arrival time: \000"
	.align	2
.LC6:
	.ascii	"\012 Enter the burst time: \000"
	.align	2
.LC7:
	.ascii	"pname\011at\011bt\000"
	.align	2
.LC8:
	.ascii	"\012%s\011%d\011%d\012\000"
	.align	2
.LC9:
	.ascii	"idle\000"
	.align	2
.LC10:
	.ascii	"__________\011\000"
	.align	2
.LC11:
	.ascii	"\012|%s\011|\000"
	.align	2
.LC12:
	.ascii	"%s\011|\000"
	.align	2
.LC13:
	.ascii	"%d\011\000"
	.global	__aeabi_i2f
	.global	__aeabi_fadd
	.global	__aeabi_fdiv
	.global	__aeabi_f2d
	.align	2
.LC14:
	.ascii	"Average of tt:%f\012\000"
	.align	2
.LC15:
	.ascii	"Average of wt:%f\012\000"
	.align	2
.LC16:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 64
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #64
	ldr	r3, .L41
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-56]
	mov	r3, #0
	str	r3, [fp, #-40]
	mov	r3, #0
	str	r3, [fp, #-20]	@ float
	mov	r3, #0
	str	r3, [fp, #-16]	@ float
	ldr	r0, .L41+4
	bl	printf
	ldr	r3, .L41+8
	ldr	r3, [r3]
	mov	r1, #0
	mov	r0, r3
	bl	setbuf
	sub	r3, fp, #60
	mov	r1, r3
	ldr	r0, .L41+12
	bl	__isoc99_scanf
	ldr	r0, .L41+16
	bl	printf
	sub	r3, fp, #64
	mov	r1, r3
	ldr	r0, .L41+12
	bl	__isoc99_scanf
	mov	r3, #0
	str	r3, [fp, #-56]
	b	.L12
.L13:
	ldr	r0, .L41+20
	bl	printf
	ldr	r2, [fp, #-56]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	ldr	r2, .L41+24
	add	r3, r3, r2
	mov	r1, r3
	ldr	r0, .L41+28
	bl	__isoc99_scanf
	ldr	r0, .L41+32
	bl	printf
	ldr	r2, [fp, #-56]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, #16
	ldr	r2, .L41+24
	add	r3, r3, r2
	add	r3, r3, #4
	mov	r1, r3
	ldr	r0, .L41+12
	bl	__isoc99_scanf
	ldr	r0, .L41+36
	bl	printf
	ldr	r2, [fp, #-56]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, #24
	ldr	r2, .L41+24
	add	r3, r3, r2
	mov	r1, r3
	ldr	r0, .L41+12
	bl	__isoc99_scanf
	ldr	r1, .L41+24
	ldr	r2, [fp, #-56]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #36
	mov	r2, #0
	str	r2, [r3]
	ldr	r1, .L41+24
	ldr	r2, [fp, #-56]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #24
	ldr	r1, [r3]
	ldr	r0, .L41+24
	ldr	r2, [fp, #-56]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	add	r3, r3, #40
	str	r1, [r3]
	ldr	r3, [fp, #-56]
	add	r3, r3, #1
	str	r3, [fp, #-56]
.L12:
	ldr	r3, [fp, #-60]
	ldr	r2, [fp, #-56]
	cmp	r2, r3
	blt	.L13
	ldr	r0, .L41+40
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-56]
	b	.L14
.L15:
	ldr	r2, [fp, #-56]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	ldr	r2, .L41+24
	add	r1, r3, r2
	ldr	r0, .L41+24
	ldr	r2, [fp, #-56]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	add	r3, r3, #20
	ldr	r0, [r3]
	ldr	ip, .L41+24
	ldr	r2, [fp, #-56]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, ip, r3
	add	r3, r3, #24
	ldr	r3, [r3]
	mov	r2, r0
	ldr	r0, .L41+44
	bl	printf
	ldr	r3, [fp, #-56]
	add	r3, r3, #1
	str	r3, [fp, #-56]
.L14:
	ldr	r3, [fp, #-60]
	ldr	r2, [fp, #-56]
	cmp	r2, r3
	blt	.L15
	mov	r3, #0
	str	r3, [fp, #-56]
	mov	r3, #0
	str	r3, [fp, #-48]
	mov	r3, #0
	str	r3, [fp, #-44]
	b	.L16
.L27:
	mov	r3, #0
	str	r3, [fp, #-52]
	b	.L17
.L19:
	ldr	r1, .L41+24
	ldr	r2, [fp, #-52]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #36
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L18
	ldr	r1, .L41+24
	ldr	r2, [fp, #-52]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #20
	ldr	r3, [r3]
	ldr	r2, [fp, #-56]
	cmp	r2, r3
	blt	.L18
	ldr	r0, [fp, #-52]
	bl	enq
	ldr	r1, .L41+24
	ldr	r2, [fp, #-52]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #36
	mov	r2, #1
	str	r2, [r3]
.L18:
	ldr	r3, [fp, #-52]
	add	r3, r3, #1
	str	r3, [fp, #-52]
.L17:
	ldr	r3, [fp, #-60]
	ldr	r2, [fp, #-52]
	cmp	r2, r3
	blt	.L19
	ldr	r3, [fp, #-40]
	cmp	r3, #0
	bne	.L20
	ldr	r3, .L41+48
	ldr	r3, [r3]
	cmn	r3, #1
	bne	.L20
	ldr	r2, [fp, #-44]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	ldr	r2, .L41+52
	add	r3, r3, r2
	ldr	r2, .L41+56
	mov	r0, r3
	mov	r1, r2
	mov	r3, #5
	mov	r2, r3
	bl	memcpy
	ldr	r1, .L41+52
	ldr	r2, [fp, #-44]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #20
	ldr	r2, [fp, #-56]
	str	r2, [r3]
	mov	r3, #1
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-56]
	add	r3, r3, #1
	str	r3, [fp, #-56]
	b	.L16
.L20:
	ldr	r3, .L41+48
	ldr	r3, [r3]
	cmn	r3, #1
	beq	.L21
	ldr	r3, [fp, #-40]
	cmp	r3, #1
	bne	.L22
	ldr	r1, .L41+52
	ldr	r2, [fp, #-44]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #24
	ldr	r2, [fp, #-56]
	str	r2, [r3]
	mov	r3, #0
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-44]
	add	r3, r3, #1
	str	r3, [fp, #-44]
.L22:
	bl	deq
	str	r0, [fp, #-12]
	ldr	r1, .L41+52
	ldr	r2, [fp, #-44]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #20
	ldr	r2, [fp, #-56]
	str	r2, [r3]
	ldr	r2, [fp, #-44]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	ldr	r2, .L41+52
	add	r0, r3, r2
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	ldr	r2, .L41+24
	add	r3, r3, r2
	mov	r1, r3
	bl	strcpy
	ldr	r1, .L41+24
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #40
	ldr	r2, [r3]
	ldr	r3, [fp, #-64]
	cmp	r2, r3
	bgt	.L23
	ldr	r1, .L41+24
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #40
	ldr	r2, [r3]
	ldr	r3, [fp, #-56]
	add	r1, r2, r3
	ldr	r0, .L41+52
	ldr	r2, [fp, #-44]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	add	r3, r3, #24
	str	r1, [r3]
	ldr	r1, .L41+52
	ldr	r2, [fp, #-44]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #24
	ldr	r3, [r3]
	str	r3, [fp, #-56]
	ldr	r1, .L41+52
	ldr	r2, [fp, #-44]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #24
	ldr	r1, [r3]
	ldr	r0, .L41+24
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	add	r3, r3, #20
	ldr	r3, [r3]
	sub	r1, r1, r3
	ldr	r0, .L41+24
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	add	r3, r3, #32
	str	r1, [r3]
	ldr	r1, .L41+24
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #32
	ldr	r1, [r3]
	ldr	r0, .L41+24
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	add	r3, r3, #24
	ldr	r3, [r3]
	sub	r1, r1, r3
	ldr	r0, .L41+24
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	add	r3, r3, #28
	str	r1, [r3]
	ldr	r1, .L41+24
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #36
	mov	r2, #2
	str	r2, [r3]
	ldr	r3, [fp, #-48]
	add	r3, r3, #1
	str	r3, [fp, #-48]
	ldr	r3, [fp, #-44]
	add	r3, r3, #1
	str	r3, [fp, #-44]
	b	.L16
.L23:
	ldr	r2, [fp, #-64]
	ldr	r3, [fp, #-56]
	add	r1, r2, r3
	ldr	r0, .L41+52
	ldr	r2, [fp, #-44]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	add	r3, r3, #24
	str	r1, [r3]
	ldr	r3, [fp, #-64]
	ldr	r2, [fp, #-56]
	add	r3, r2, r3
	str	r3, [fp, #-56]
	ldr	r1, .L41+24
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #40
	ldr	r2, [r3]
	ldr	r3, [fp, #-64]
	sub	r1, r2, r3
	ldr	r0, .L41+24
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	add	r3, r3, #40
	str	r1, [r3]
	ldr	r3, [fp, #-44]
	add	r3, r3, #1
	str	r3, [fp, #-44]
	mov	r3, #0
	str	r3, [fp, #-52]
	b	.L24
.L26:
	ldr	r1, .L41+24
	ldr	r2, [fp, #-52]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #36
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L25
	ldr	r1, .L41+24
	ldr	r2, [fp, #-52]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #20
	ldr	r3, [r3]
	ldr	r2, [fp, #-56]
	cmp	r2, r3
	blt	.L25
	ldr	r0, [fp, #-52]
	bl	enq
	ldr	r1, .L41+24
	ldr	r2, [fp, #-52]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #36
	mov	r2, #1
	str	r2, [r3]
.L25:
	ldr	r3, [fp, #-52]
	add	r3, r3, #1
	str	r3, [fp, #-52]
.L24:
	ldr	r3, [fp, #-60]
	ldr	r2, [fp, #-52]
	cmp	r2, r3
	blt	.L26
	ldr	r0, [fp, #-12]
	bl	enq
	b	.L16
.L21:
	ldr	r3, [fp, #-56]
	add	r3, r3, #1
	str	r3, [fp, #-56]
.L16:
	ldr	r3, [fp, #-60]
	ldr	r2, [fp, #-48]
	cmp	r2, r3
	blt	.L27
	mov	r3, #0
	str	r3, [fp, #-36]
	b	.L28
.L29:
	ldr	r0, .L41+60
	bl	printf
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
.L28:
	ldr	r3, [fp, #-60]
	add	r3, r3, #5
	ldr	r2, [fp, #-36]
	cmp	r2, r3
	ble	.L29
	mov	r3, #0
	str	r3, [fp, #-56]
	b	.L30
.L33:
	ldr	r3, [fp, #-56]
	cmp	r3, #0
	bne	.L31
	ldr	r2, [fp, #-56]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	ldr	r2, .L41+52
	add	r3, r3, r2
	mov	r1, r3
	ldr	r0, .L41+64
	bl	printf
	b	.L32
.L31:
	ldr	r2, [fp, #-56]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	ldr	r2, .L41+52
	add	r3, r3, r2
	mov	r1, r3
	ldr	r0, .L41+68
	bl	printf
.L32:
	ldr	r3, [fp, #-56]
	add	r3, r3, #1
	str	r3, [fp, #-56]
.L30:
	ldr	r2, [fp, #-56]
	ldr	r3, [fp, #-44]
	cmp	r2, r3
	blt	.L33
	mov	r0, #10
	bl	putchar
	mov	r3, #0
	str	r3, [fp, #-32]
	b	.L34
.L35:
	ldr	r0, .L41+60
	bl	printf
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
.L34:
	ldr	r3, [fp, #-60]
	add	r3, r3, #5
	ldr	r2, [fp, #-32]
	cmp	r2, r3
	ble	.L35
	mov	r0, #10
	bl	putchar
	mov	r3, #0
	str	r3, [fp, #-28]
	b	.L36
.L37:
	ldr	r1, .L41+52
	ldr	r2, [fp, #-28]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #20
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L41+72
	bl	printf
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L36:
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-44]
	cmp	r2, r3
	blt	.L37
	ldr	r3, [fp, #-44]
	sub	r2, r3, #1
	ldr	r1, .L41+52
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #24
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L41+72
	bl	printf
	mov	r0, #10
	bl	putchar
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L38
.L39:
	ldr	r1, .L41+24
	ldr	r2, [fp, #-24]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #32
	ldr	r3, [r3]
	mov	r0, r3
	bl	__aeabi_i2f
	mov	r3, r0
	mov	r1, r3
	ldr	r0, [fp, #-16]	@ float
	bl	__aeabi_fadd
	mov	r3, r0
	str	r3, [fp, #-16]	@ float
	ldr	r1, .L41+24
	ldr	r2, [fp, #-24]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #28
	ldr	r3, [r3]
	mov	r0, r3
	bl	__aeabi_i2f
	mov	r3, r0
	mov	r1, r3
	ldr	r0, [fp, #-20]	@ float
	bl	__aeabi_fadd
	mov	r3, r0
	str	r3, [fp, #-20]	@ float
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L38:
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-44]
	cmp	r2, r3
	blt	.L39
	ldr	r3, [fp, #-60]
	mov	r0, r3
	bl	__aeabi_i2f
	mov	r3, r0
	mov	r1, r3
	ldr	r0, [fp, #-16]	@ float
	bl	__aeabi_fdiv
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L41+76
	bl	printf
	ldr	r3, [fp, #-60]
	mov	r0, r3
	bl	__aeabi_i2f
	mov	r3, r0
	mov	r1, r3
	ldr	r0, [fp, #-20]	@ float
	bl	__aeabi_fdiv
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L41+80
	bl	printf
	mov	r0, #10
	bl	putchar
	nop
	ldr	r3, .L41
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L40
	bl	__stack_chk_fail
.L40:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L42:
	.align	2
.L41:
	.word	.LC16
	.word	.LC0
	.word	stdin
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	p
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	front
	.word	d
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
