	.file	"3037.c"
	.intel_syntax noprefix
	.text
	.globl	p
	.bss
	.align 32
	.type	p, @object
	.size	p, 200
p:
	.zero	200
	.globl	temp
	.align 16
	.type	temp, @object
	.size	temp, 20
temp:
	.zero	20
	.section	.rodata
.LC0:
	.string	"Enter no. of process : "
.LC1:
	.string	"%d"
	.align 8
.LC2:
	.string	"Burst time for process P%d (in ms) : "
.LC3:
	.string	"Priority for process P%d : "
.LC4:
	.string	"\n\t Priority Scheduling\n"
	.align 8
.LC5:
	.string	"\nProcess B-Time Priority T-Time W-Time"
.LC6:
	.string	"\n P%-4d\t%4d\t%3d\t%4d\t%4d"
	.align 8
.LC7:
	.string	"\n\nAverage waiting time     : %5.2fms"
	.align 8
.LC8:
	.string	"\nAverage turn around time : %5.2fms\n"
.LC9:
	.string	"\n\nGANTT Chart"
.LC10:
	.string	"\n|"
.LC11:
	.string	"P%d"
.LC12:
	.string	"\n-"
.LC13:
	.string	"\n0"
.LC14:
	.string	"%2d"
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -40[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	DWORD PTR -36[rbp], 0
	jmp	.L2
.L3:
	mov	eax, DWORD PTR -36[rbp]
	add	eax, 1
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -36[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	lea	rdx, p[rip]
	add	rax, rdx
	add	rax, 4
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -36[rbp]
	add	eax, 1
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -36[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	lea	rdx, p[rip]
	add	rax, rdx
	add	rax, 8
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -36[rbp]
	lea	ecx, 1[rax]
	mov	eax, DWORD PTR -36[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, p[rip]
	mov	DWORD PTR [rdx+rax], ecx
	add	DWORD PTR -36[rbp], 1
.L2:
	mov	eax, DWORD PTR -40[rbp]
	cmp	DWORD PTR -36[rbp], eax
	jl	.L3
	mov	DWORD PTR -36[rbp], 0
	jmp	.L4
.L9:
	mov	eax, DWORD PTR -36[rbp]
	add	eax, 1
	mov	DWORD PTR -32[rbp], eax
	jmp	.L5
.L8:
	mov	eax, DWORD PTR -36[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, p[rip+8]
	mov	ecx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -32[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, p[rip+8]
	mov	eax, DWORD PTR [rdx+rax]
	cmp	ecx, eax
	jg	.L6
	mov	eax, DWORD PTR -36[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, p[rip+8]
	mov	ecx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -32[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, p[rip+8]
	mov	eax, DWORD PTR [rdx+rax]
	cmp	ecx, eax
	jne	.L7
	mov	eax, DWORD PTR -36[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, p[rip]
	mov	ecx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -32[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, p[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cmp	ecx, eax
	jle	.L7
.L6:
	mov	eax, DWORD PTR -36[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	mov	rsi, rax
	lea	rcx, p[rip]
	mov	rax, QWORD PTR [rsi+rcx]
	mov	rdx, QWORD PTR 8[rsi+rcx]
	mov	QWORD PTR temp[rip], rax
	mov	QWORD PTR temp[rip+8], rdx
	mov	eax, DWORD PTR 16[rsi+rcx]
	mov	DWORD PTR temp[rip+16], eax
	mov	eax, DWORD PTR -36[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	mov	rdi, rax
	lea	rcx, p[rip]
	mov	eax, DWORD PTR -32[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	mov	r8, rax
	lea	rsi, p[rip]
	mov	rax, QWORD PTR [r8+rsi]
	mov	rdx, QWORD PTR 8[r8+rsi]
	mov	QWORD PTR [rdi+rcx], rax
	mov	QWORD PTR 8[rdi+rcx], rdx
	mov	eax, DWORD PTR 16[r8+rsi]
	mov	DWORD PTR 16[rdi+rcx], eax
	mov	eax, DWORD PTR -32[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	mov	rsi, rax
	lea	rcx, p[rip]
	mov	rax, QWORD PTR temp[rip]
	mov	rdx, QWORD PTR temp[rip+8]
	mov	QWORD PTR [rsi+rcx], rax
	mov	QWORD PTR 8[rsi+rcx], rdx
	mov	eax, DWORD PTR temp[rip+16]
	mov	DWORD PTR 16[rsi+rcx], eax
.L7:
	add	DWORD PTR -32[rbp], 1
.L5:
	mov	eax, DWORD PTR -40[rbp]
	cmp	DWORD PTR -32[rbp], eax
	jl	.L8
	add	DWORD PTR -36[rbp], 1
.L4:
	mov	eax, DWORD PTR -40[rbp]
	sub	eax, 1
	cmp	DWORD PTR -36[rbp], eax
	jl	.L9
	mov	DWORD PTR p[rip+12], 0
	mov	DWORD PTR -36[rbp], 0
	jmp	.L10
.L11:
	mov	eax, DWORD PTR -36[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, p[rip+12]
	mov	ecx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -36[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, p[rip+4]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -36[rbp]
	add	eax, 1
	add	ecx, edx
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, p[rip+12]
	mov	DWORD PTR [rdx+rax], ecx
	mov	eax, DWORD PTR -36[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, p[rip+12]
	mov	ecx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -36[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, p[rip+4]
	mov	eax, DWORD PTR [rdx+rax]
	add	ecx, eax
	mov	eax, DWORD PTR -36[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, p[rip+16]
	mov	DWORD PTR [rdx+rax], ecx
	add	DWORD PTR -36[rbp], 1
.L10:
	mov	eax, DWORD PTR -40[rbp]
	cmp	DWORD PTR -36[rbp], eax
	jl	.L11
	mov	DWORD PTR -24[rbp], 0
	mov	eax, DWORD PTR -24[rbp]
	mov	DWORD PTR -28[rbp], eax
	mov	DWORD PTR -36[rbp], 0
	jmp	.L12
.L13:
	mov	eax, DWORD PTR -36[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, p[rip+16]
	mov	eax, DWORD PTR [rdx+rax]
	add	DWORD PTR -28[rbp], eax
	mov	eax, DWORD PTR -36[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, p[rip+12]
	mov	eax, DWORD PTR [rdx+rax]
	add	DWORD PTR -24[rbp], eax
	add	DWORD PTR -36[rbp], 1
.L12:
	mov	eax, DWORD PTR -40[rbp]
	cmp	DWORD PTR -36[rbp], eax
	jl	.L13
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, DWORD PTR -24[rbp]
	mov	eax, DWORD PTR -40[rbp]
	pxor	xmm1, xmm1
	cvtsi2ss	xmm1, eax
	divss	xmm0, xmm1
	movss	DWORD PTR -20[rbp], xmm0
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, DWORD PTR -28[rbp]
	mov	eax, DWORD PTR -40[rbp]
	pxor	xmm1, xmm1
	cvtsi2ss	xmm1, eax
	divss	xmm0, xmm1
	movss	DWORD PTR -16[rbp], xmm0
	lea	rdi, .LC4[rip]
	call	puts@PLT
	mov	DWORD PTR -36[rbp], 0
	jmp	.L14
.L15:
	mov	edi, 45
	call	putchar@PLT
	add	DWORD PTR -36[rbp], 1
.L14:
	cmp	DWORD PTR -36[rbp], 37
	jle	.L15
	lea	rdi, .LC5[rip]
	call	puts@PLT
	mov	DWORD PTR -36[rbp], 0
	jmp	.L16
.L17:
	mov	edi, 45
	call	putchar@PLT
	add	DWORD PTR -36[rbp], 1
.L16:
	cmp	DWORD PTR -36[rbp], 37
	jle	.L17
	mov	DWORD PTR -36[rbp], 0
	jmp	.L18
.L19:
	mov	eax, DWORD PTR -36[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, p[rip+12]
	mov	r8d, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -36[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, p[rip+16]
	mov	edi, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -36[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, p[rip+8]
	mov	ecx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -36[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, p[rip+4]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -36[rbp]
	movsx	rsi, eax
	mov	rax, rsi
	sal	rax, 2
	add	rax, rsi
	sal	rax, 2
	mov	rsi, rax
	lea	rax, p[rip]
	mov	eax, DWORD PTR [rsi+rax]
	mov	r9d, r8d
	mov	r8d, edi
	mov	esi, eax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -36[rbp], 1
.L18:
	mov	eax, DWORD PTR -40[rbp]
	cmp	DWORD PTR -36[rbp], eax
	jl	.L19
	mov	edi, 10
	call	putchar@PLT
	mov	DWORD PTR -36[rbp], 0
	jmp	.L20
.L21:
	mov	edi, 45
	call	putchar@PLT
	add	DWORD PTR -36[rbp], 1
.L20:
	cmp	DWORD PTR -36[rbp], 37
	jle	.L21
	pxor	xmm2, xmm2
	cvtss2sd	xmm2, DWORD PTR -20[rbp]
	movq	rax, xmm2
	movq	xmm0, rax
	lea	rdi, .LC7[rip]
	mov	eax, 1
	call	printf@PLT
	pxor	xmm3, xmm3
	cvtss2sd	xmm3, DWORD PTR -16[rbp]
	movq	rax, xmm3
	movq	xmm0, rax
	lea	rdi, .LC8[rip]
	mov	eax, 1
	call	printf@PLT
	lea	rdi, .LC9[rip]
	call	puts@PLT
	mov	edi, 45
	call	putchar@PLT
	mov	DWORD PTR -36[rbp], 0
	jmp	.L22
.L23:
	mov	edi, 45
	call	putchar@PLT
	add	DWORD PTR -36[rbp], 1
.L22:
	mov	eax, DWORD PTR -40[rbp]
	sub	eax, 1
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, p[rip+16]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -40[rbp]
	add	eax, eax
	add	eax, edx
	cmp	DWORD PTR -36[rbp], eax
	jl	.L23
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -36[rbp], 0
	jmp	.L24
.L29:
	mov	eax, DWORD PTR -36[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, p[rip+4]
	mov	eax, DWORD PTR [rdx+rax]
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	mov	DWORD PTR -12[rbp], eax
	mov	DWORD PTR -32[rbp], 0
	jmp	.L25
.L26:
	mov	edi, 32
	call	putchar@PLT
	add	DWORD PTR -32[rbp], 1
.L25:
	mov	eax, DWORD PTR -32[rbp]
	cmp	eax, DWORD PTR -12[rbp]
	jl	.L26
	mov	eax, DWORD PTR -36[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, p[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	esi, eax
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -12[rbp]
	add	eax, 1
	mov	DWORD PTR -32[rbp], eax
	jmp	.L27
.L28:
	mov	edi, 32
	call	putchar@PLT
	add	DWORD PTR -32[rbp], 1
.L27:
	mov	eax, DWORD PTR -36[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, p[rip+4]
	mov	eax, DWORD PTR [rdx+rax]
	cmp	DWORD PTR -32[rbp], eax
	jl	.L28
	mov	edi, 124
	call	putchar@PLT
	add	DWORD PTR -36[rbp], 1
.L24:
	mov	eax, DWORD PTR -40[rbp]
	cmp	DWORD PTR -36[rbp], eax
	jl	.L29
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -36[rbp], 0
	jmp	.L30
.L31:
	mov	edi, 45
	call	putchar@PLT
	add	DWORD PTR -36[rbp], 1
.L30:
	mov	eax, DWORD PTR -40[rbp]
	sub	eax, 1
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, p[rip+16]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -40[rbp]
	add	eax, eax
	add	eax, edx
	cmp	DWORD PTR -36[rbp], eax
	jl	.L31
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -36[rbp], 0
	jmp	.L32
.L35:
	mov	DWORD PTR -32[rbp], 0
	jmp	.L33
.L34:
	mov	edi, 32
	call	putchar@PLT
	add	DWORD PTR -32[rbp], 1
.L33:
	mov	eax, DWORD PTR -36[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, p[rip+4]
	mov	eax, DWORD PTR [rdx+rax]
	cmp	DWORD PTR -32[rbp], eax
	jl	.L34
	mov	eax, DWORD PTR -36[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, p[rip+16]
	mov	eax, DWORD PTR [rdx+rax]
	mov	esi, eax
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -36[rbp], 1
.L32:
	mov	eax, DWORD PTR -40[rbp]
	cmp	DWORD PTR -36[rbp], eax
	jl	.L35
	mov	eax, 0
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L37
	call	__stack_chk_fail@PLT
.L37:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.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	"3037.c"
	.text
	.comm	p,200,4
	.comm	temp,20,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Enter no. of process : \000"
	.align	2
.LC1:
	.ascii	"%d\000"
	.align	2
.LC2:
	.ascii	"Burst time for process P%d (in ms) : \000"
	.align	2
.LC3:
	.ascii	"Priority for process P%d : \000"
	.global	__aeabi_i2f
	.global	__aeabi_fdiv
	.align	2
.LC4:
	.ascii	"\012\011 Priority Scheduling\012\000"
	.align	2
.LC5:
	.ascii	"\012Process B-Time Priority T-Time W-Time\000"
	.align	2
.LC6:
	.ascii	"\012 P%-4d\011%4d\011%3d\011%4d\011%4d\000"
	.global	__aeabi_f2d
	.align	2
.LC7:
	.ascii	"\012\012Average waiting time     : %5.2fms\000"
	.align	2
.LC8:
	.ascii	"\012Average turn around time : %5.2fms\012\000"
	.align	2
.LC9:
	.ascii	"\012\012GANTT Chart\000"
	.align	2
.LC10:
	.ascii	"\012|\000"
	.align	2
.LC11:
	.ascii	"P%d\000"
	.align	2
.LC12:
	.ascii	"\012-\000"
	.align	2
.LC13:
	.ascii	"\0120\000"
	.align	2
.LC14:
	.ascii	"%2d\000"
	.align	2
.LC15:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #52
	ldr	r3, .L38
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r0, .L38+4
	bl	printf
	sub	r3, fp, #48
	mov	r1, r3
	ldr	r0, .L38+8
	bl	__isoc99_scanf
	mov	r3, #0
	str	r3, [fp, #-44]
	b	.L2
.L3:
	ldr	r3, [fp, #-44]
	add	r3, r3, #1
	mov	r1, r3
	ldr	r0, .L38+12
	bl	printf
	ldr	r2, [fp, #-44]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	ldr	r2, .L38+16
	add	r3, r3, r2
	add	r3, r3, #4
	mov	r1, r3
	ldr	r0, .L38+8
	bl	__isoc99_scanf
	ldr	r3, [fp, #-44]
	add	r3, r3, #1
	mov	r1, r3
	ldr	r0, .L38+20
	bl	printf
	ldr	r2, [fp, #-44]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, #8
	ldr	r2, .L38+16
	add	r3, r3, r2
	mov	r1, r3
	ldr	r0, .L38+8
	bl	__isoc99_scanf
	ldr	r3, [fp, #-44]
	add	r1, r3, #1
	ldr	r0, .L38+16
	ldr	r2, [fp, #-44]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	str	r1, [r3]
	ldr	r3, [fp, #-44]
	add	r3, r3, #1
	str	r3, [fp, #-44]
.L2:
	ldr	r3, [fp, #-48]
	ldr	r2, [fp, #-44]
	cmp	r2, r3
	blt	.L3
	mov	r3, #0
	str	r3, [fp, #-44]
	b	.L4
.L9:
	ldr	r3, [fp, #-44]
	add	r3, r3, #1
	str	r3, [fp, #-40]
	b	.L5
.L8:
	ldr	r1, .L38+16
	ldr	r2, [fp, #-44]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #8
	ldr	r1, [r3]
	ldr	r0, .L38+16
	ldr	r2, [fp, #-40]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	add	r3, r3, #8
	ldr	r3, [r3]
	cmp	r1, r3
	bgt	.L6
	ldr	r1, .L38+16
	ldr	r2, [fp, #-44]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #8
	ldr	r1, [r3]
	ldr	r0, .L38+16
	ldr	r2, [fp, #-40]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	add	r3, r3, #8
	ldr	r3, [r3]
	cmp	r1, r3
	bne	.L7
	ldr	r1, .L38+16
	ldr	r2, [fp, #-44]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r1, [r3]
	ldr	r0, .L38+16
	ldr	r2, [fp, #-40]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	ldr	r3, [r3]
	cmp	r1, r3
	ble	.L7
.L6:
	ldr	r0, .L38+24
	ldr	r1, .L38+16
	ldr	r2, [fp, #-44]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	mov	ip, r0
	mov	lr, r3
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldr	r3, [lr]
	str	r3, [ip]
	ldr	r1, .L38+16
	ldr	r2, [fp, #-44]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r0, r1, r3
	ldr	r1, .L38+16
	ldr	r2, [fp, #-40]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	mov	ip, r0
	mov	lr, r3
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldr	r3, [lr]
	str	r3, [ip]
	ldr	r1, .L38+16
	ldr	r2, [fp, #-40]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r2, .L38+24
	mov	ip, r3
	mov	lr, r2
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldr	r3, [lr]
	str	r3, [ip]
.L7:
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
.L5:
	ldr	r3, [fp, #-48]
	ldr	r2, [fp, #-40]
	cmp	r2, r3
	blt	.L8
	ldr	r3, [fp, #-44]
	add	r3, r3, #1
	str	r3, [fp, #-44]
.L4:
	ldr	r3, [fp, #-48]
	sub	r3, r3, #1
	ldr	r2, [fp, #-44]
	cmp	r2, r3
	blt	.L9
	ldr	r3, .L38+16
	mov	r2, #0
	str	r2, [r3, #12]
	mov	r3, #0
	str	r3, [fp, #-44]
	b	.L10
.L11:
	ldr	r1, .L38+16
	ldr	r2, [fp, #-44]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #12
	ldr	r1, [r3]
	ldr	r0, .L38+16
	ldr	r2, [fp, #-44]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	add	r3, r3, #4
	ldr	r3, [r3]
	ldr	r2, [fp, #-44]
	add	r2, r2, #1
	add	r1, r1, r3
	ldr	r0, .L38+16
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	add	r3, r3, #12
	str	r1, [r3]
	ldr	r1, .L38+16
	ldr	r2, [fp, #-44]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #12
	ldr	r1, [r3]
	ldr	r0, .L38+16
	ldr	r2, [fp, #-44]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	add	r3, r3, #4
	ldr	r3, [r3]
	add	r1, r1, r3
	ldr	r0, .L38+16
	ldr	r2, [fp, #-44]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	add	r3, r3, #16
	str	r1, [r3]
	ldr	r3, [fp, #-44]
	add	r3, r3, #1
	str	r3, [fp, #-44]
.L10:
	ldr	r3, [fp, #-48]
	ldr	r2, [fp, #-44]
	cmp	r2, r3
	blt	.L11
	mov	r3, #0
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-32]
	str	r3, [fp, #-36]
	mov	r3, #0
	str	r3, [fp, #-44]
	b	.L12
.L13:
	ldr	r1, .L38+16
	ldr	r2, [fp, #-44]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #16
	ldr	r3, [r3]
	ldr	r2, [fp, #-36]
	add	r3, r2, r3
	str	r3, [fp, #-36]
	ldr	r1, .L38+16
	ldr	r2, [fp, #-44]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #12
	ldr	r3, [r3]
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-44]
	add	r3, r3, #1
	str	r3, [fp, #-44]
.L12:
	ldr	r3, [fp, #-48]
	ldr	r2, [fp, #-44]
	cmp	r2, r3
	blt	.L13
	ldr	r0, [fp, #-32]
	bl	__aeabi_i2f
	mov	r4, r0
	ldr	r3, [fp, #-48]
	mov	r0, r3
	bl	__aeabi_i2f
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	__aeabi_fdiv
	mov	r3, r0
	str	r3, [fp, #-28]	@ float
	ldr	r0, [fp, #-36]
	bl	__aeabi_i2f
	mov	r4, r0
	ldr	r3, [fp, #-48]
	mov	r0, r3
	bl	__aeabi_i2f
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	__aeabi_fdiv
	mov	r3, r0
	str	r3, [fp, #-24]	@ float
	ldr	r0, .L38+28
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-44]
	b	.L14
.L15:
	mov	r0, #45
	bl	putchar
	ldr	r3, [fp, #-44]
	add	r3, r3, #1
	str	r3, [fp, #-44]
.L14:
	ldr	r3, [fp, #-44]
	cmp	r3, #37
	ble	.L15
	ldr	r0, .L38+32
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-44]
	b	.L16
.L17:
	mov	r0, #45
	bl	putchar
	ldr	r3, [fp, #-44]
	add	r3, r3, #1
	str	r3, [fp, #-44]
.L16:
	ldr	r3, [fp, #-44]
	cmp	r3, #37
	ble	.L17
	mov	r3, #0
	str	r3, [fp, #-44]
	b	.L18
.L19:
	ldr	r1, .L38+16
	ldr	r2, [fp, #-44]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r0, [r3]
	ldr	r1, .L38+16
	ldr	r2, [fp, #-44]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #4
	ldr	ip, [r3]
	ldr	r1, .L38+16
	ldr	r2, [fp, #-44]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #8
	ldr	lr, [r3]
	ldr	r1, .L38+16
	ldr	r2, [fp, #-44]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #16
	ldr	r1, [r3]
	ldr	r4, .L38+16
	ldr	r2, [fp, #-44]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r4, r3
	add	r3, r3, #12
	ldr	r3, [r3]
	str	r3, [sp, #4]
	str	r1, [sp]
	mov	r3, lr
	mov	r2, ip
	mov	r1, r0
	ldr	r0, .L38+36
	bl	printf
	ldr	r3, [fp, #-44]
	add	r3, r3, #1
	str	r3, [fp, #-44]
.L18:
	ldr	r3, [fp, #-48]
	ldr	r2, [fp, #-44]
	cmp	r2, r3
	blt	.L19
	mov	r0, #10
	bl	putchar
	mov	r3, #0
	str	r3, [fp, #-44]
	b	.L20
.L21:
	mov	r0, #45
	bl	putchar
	ldr	r3, [fp, #-44]
	add	r3, r3, #1
	str	r3, [fp, #-44]
.L20:
	ldr	r3, [fp, #-44]
	cmp	r3, #37
	ble	.L21
	ldr	r0, [fp, #-28]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L38+40
	bl	printf
	ldr	r0, [fp, #-24]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L38+44
	bl	printf
	ldr	r0, .L38+48
	bl	puts
	mov	r0, #45
	bl	putchar
	mov	r3, #0
	str	r3, [fp, #-44]
	b	.L22
.L23:
	mov	r0, #45
	bl	putchar
	ldr	r3, [fp, #-44]
	add	r3, r3, #1
	str	r3, [fp, #-44]
.L22:
	ldr	r3, [fp, #-48]
	sub	r2, r3, #1
	ldr	r1, .L38+16
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #16
	ldr	r2, [r3]
	ldr	r3, [fp, #-48]
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldr	r2, [fp, #-44]
	cmp	r2, r3
	blt	.L23
	ldr	r0, .L38+52
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-44]
	b	.L24
.L29:
	ldr	r1, .L38+16
	ldr	r2, [fp, #-44]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #4
	ldr	r3, [r3]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	str	r3, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-40]
	b	.L25
.L26:
	mov	r0, #32
	bl	putchar
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
.L25:
	ldr	r2, [fp, #-40]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	blt	.L26
	ldr	r1, .L38+16
	ldr	r2, [fp, #-44]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L38+56
	bl	printf
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-40]
	b	.L27
.L28:
	mov	r0, #32
	bl	putchar
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
.L27:
	ldr	r1, .L38+16
	ldr	r2, [fp, #-44]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #4
	ldr	r3, [r3]
	ldr	r2, [fp, #-40]
	cmp	r2, r3
	blt	.L28
	mov	r0, #124
	bl	putchar
	ldr	r3, [fp, #-44]
	add	r3, r3, #1
	str	r3, [fp, #-44]
.L24:
	ldr	r3, [fp, #-48]
	ldr	r2, [fp, #-44]
	cmp	r2, r3
	blt	.L29
	ldr	r0, .L38+60
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-44]
	b	.L30
.L31:
	mov	r0, #45
	bl	putchar
	ldr	r3, [fp, #-44]
	add	r3, r3, #1
	str	r3, [fp, #-44]
.L30:
	ldr	r3, [fp, #-48]
	sub	r2, r3, #1
	ldr	r1, .L38+16
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #16
	ldr	r2, [r3]
	ldr	r3, [fp, #-48]
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldr	r2, [fp, #-44]
	cmp	r2, r3
	blt	.L31
	ldr	r0, .L38+64
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-44]
	b	.L32
.L35:
	mov	r3, #0
	str	r3, [fp, #-40]
	b	.L33
.L34:
	mov	r0, #32
	bl	putchar
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
.L33:
	ldr	r1, .L38+16
	ldr	r2, [fp, #-44]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #4
	ldr	r3, [r3]
	ldr	r2, [fp, #-40]
	cmp	r2, r3
	blt	.L34
	ldr	r1, .L38+16
	ldr	r2, [fp, #-44]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #16
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L38+68
	bl	printf
	ldr	r3, [fp, #-44]
	add	r3, r3, #1
	str	r3, [fp, #-44]
.L32:
	ldr	r3, [fp, #-48]
	ldr	r2, [fp, #-44]
	cmp	r2, r3
	blt	.L35
	mov	r3, #0
	ldr	r2, .L38
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L37
	bl	__stack_chk_fail
.L37:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L39:
	.align	2
.L38:
	.word	.LC15
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	p
	.word	.LC3
	.word	temp
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
