	.file	"132953572.c"
	.intel_syntax noprefix
	.text
	.globl	p
	.bss
	.align 32
	.type	p, @object
	.size	p, 12400
p:
	.zero	12400
	.globl	t
	.align 32
	.type	t, @object
	.size	t, 124
t:
	.zero	124
	.globl	d
	.align 32
	.type	d, @object
	.size	d, 10800
d:
	.zero	10800
	.section	.rodata
.LC1:
	.string	"enter number of processes "
.LC2:
	.string	"%d"
.LC3:
	.string	"enter process name "
.LC4:
	.string	"enter arrival time "
.LC5:
	.string	"enter burst time "
.LC6:
	.string	"enter priority "
.LC7:
	.string	"TAT and WT is as follows"
.LC8:
	.string	"Name\t\tAT\t\tBT\t\tTAT\t\tWT\t\tP"
.LC9:
	.string	"\t\t"
.LC10:
	.string	"____________"
.LC11:
	.string	"%s\t|"
.LC12:
	.string	"%d\t"
	.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, 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	pxor	xmm0, xmm0
	movss	DWORD PTR -16[rbp], xmm0
	pxor	xmm0, xmm0
	movss	DWORD PTR -12[rbp], xmm0
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -52[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	DWORD PTR -48[rbp], 0
	jmp	.L2
.L3:
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR stdin[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__fpurge@PLT
	mov	eax, DWORD PTR -48[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 5
	sub	rax, rdx
	sal	rax, 2
	lea	rdx, p[rip]
	add	rax, rdx
	mov	rdi, rax
	mov	eax, 0
	call	gets@PLT
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -48[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 5
	sub	rax, rdx
	sal	rax, 2
	lea	rdx, 96[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, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -48[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 5
	sub	rax, rdx
	sal	rax, 2
	lea	rdx, 96[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
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -48[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 5
	sub	rax, rdx
	sal	rax, 2
	lea	rdx, 112[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
	mov	eax, DWORD PTR -48[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 5
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, p[rip+120]
	mov	DWORD PTR [rdx+rax], 0
	add	DWORD PTR -48[rbp], 1
.L2:
	mov	eax, DWORD PTR -52[rbp]
	cmp	DWORD PTR -48[rbp], eax
	jl	.L3
	mov	DWORD PTR -48[rbp], 0
	mov	DWORD PTR -32[rbp], 0
	mov	DWORD PTR -28[rbp], 0
	jmp	.L4
.L12:
	mov	DWORD PTR -24[rbp], 0
	mov	DWORD PTR -20[rbp], 0
	mov	DWORD PTR -44[rbp], 0
	jmp	.L5
.L8:
	mov	eax, DWORD PTR -44[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 5
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, p[rip+120]
	mov	eax, DWORD PTR [rdx+rax]
	test	eax, eax
	jne	.L6
	mov	eax, DWORD PTR -44[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 5
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, p[rip+100]
	mov	eax, DWORD PTR [rdx+rax]
	cmp	DWORD PTR -48[rbp], eax
	jl	.L6
	cmp	DWORD PTR -20[rbp], 0
	jne	.L6
	mov	eax, DWORD PTR -44[rbp]
	mov	DWORD PTR -36[rbp], eax
	add	DWORD PTR -24[rbp], 1
	add	DWORD PTR -20[rbp], 1
	jmp	.L7
.L6:
	mov	eax, DWORD PTR -44[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 5
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, p[rip+120]
	mov	eax, DWORD PTR [rdx+rax]
	test	eax, eax
	jne	.L7
	mov	eax, DWORD PTR -44[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 5
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, p[rip+100]
	mov	eax, DWORD PTR [rdx+rax]
	cmp	DWORD PTR -48[rbp], eax
	jl	.L7
	cmp	DWORD PTR -20[rbp], 0
	jle	.L7
	mov	eax, DWORD PTR -44[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 5
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, p[rip+116]
	mov	ecx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -36[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 5
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, p[rip+116]
	mov	eax, DWORD PTR [rdx+rax]
	cmp	ecx, eax
	jge	.L7
	mov	eax, DWORD PTR -44[rbp]
	mov	DWORD PTR -36[rbp], eax
.L7:
	add	DWORD PTR -44[rbp], 1
.L5:
	mov	eax, DWORD PTR -52[rbp]
	cmp	DWORD PTR -44[rbp], eax
	jl	.L8
	cmp	DWORD PTR -24[rbp], 0
	jne	.L9
	cmp	DWORD PTR -40[rbp], 0
	jne	.L9
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	lea	rdx, 0[0+rax*8]
	add	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 -28[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	lea	rdx, 0[0+rax*8]
	add	rax, rdx
	sal	rax, 2
	mov	rcx, rax
	lea	rdx, d[rip+100]
	mov	eax, DWORD PTR -48[rbp]
	mov	DWORD PTR [rcx+rdx], eax
	add	DWORD PTR -48[rbp], 1
	mov	DWORD PTR -40[rbp], 1
	jmp	.L4
.L9:
	cmp	DWORD PTR -24[rbp], 0
	jle	.L10
	cmp	DWORD PTR -40[rbp], 1
	jne	.L11
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	lea	rdx, 0[0+rax*8]
	add	rax, rdx
	sal	rax, 2
	mov	rcx, rax
	lea	rdx, d[rip+104]
	mov	eax, DWORD PTR -48[rbp]
	mov	DWORD PTR [rcx+rdx], eax
	add	DWORD PTR -28[rbp], 1
.L11:
	mov	eax, DWORD PTR -32[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 5
	sub	rax, rdx
	sal	rax, 2
	lea	rdx, p[rip]
	add	rdx, rax
	mov	eax, DWORD PTR -28[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	add	rax, rax
	add	rax, rcx
	lea	rcx, 0[0+rax*8]
	add	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 -28[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	lea	rdx, 0[0+rax*8]
	add	rax, rdx
	sal	rax, 2
	mov	rcx, rax
	lea	rdx, d[rip+100]
	mov	eax, DWORD PTR -48[rbp]
	mov	DWORD PTR [rcx+rdx], eax
	mov	eax, DWORD PTR -32[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 5
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, p[rip+104]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -48[rbp]
	lea	ecx, [rdx+rax]
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	lea	rdx, 0[0+rax*8]
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, d[rip+104]
	mov	DWORD PTR [rdx+rax], ecx
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	lea	rdx, 0[0+rax*8]
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, d[rip+104]
	mov	ecx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -32[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 5
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, p[rip+100]
	mov	eax, DWORD PTR [rdx+rax]
	sub	ecx, eax
	mov	eax, DWORD PTR -32[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 5
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, p[rip+108]
	mov	DWORD PTR [rdx+rax], ecx
	mov	eax, DWORD PTR -32[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 5
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, p[rip+108]
	mov	ecx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -32[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 5
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, p[rip+104]
	mov	eax, DWORD PTR [rdx+rax]
	sub	ecx, eax
	mov	eax, DWORD PTR -32[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 5
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, p[rip+112]
	mov	DWORD PTR [rdx+rax], ecx
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	lea	rdx, 0[0+rax*8]
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, d[rip+104]
	mov	eax, DWORD PTR [rdx+rax]
	mov	DWORD PTR -48[rbp], eax
	mov	eax, DWORD PTR -32[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 5
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, p[rip+120]
	mov	DWORD PTR [rdx+rax], 1
	add	DWORD PTR -32[rbp], 1
	add	DWORD PTR -28[rbp], 1
	mov	DWORD PTR -40[rbp], 0
	jmp	.L4
.L10:
	add	DWORD PTR -48[rbp], 1
.L4:
	mov	eax, DWORD PTR -52[rbp]
	cmp	DWORD PTR -32[rbp], eax
	jl	.L12
	lea	rdi, .LC7[rip]
	call	puts@PLT
	lea	rdi, .LC8[rip]
	call	puts@PLT
	mov	DWORD PTR -48[rbp], 0
	jmp	.L13
.L14:
	mov	eax, DWORD PTR -48[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 5
	sub	rax, rdx
	sal	rax, 2
	lea	rdx, p[rip]
	add	rax, rdx
	mov	rdi, rax
	call	puts@PLT
	mov	rax, QWORD PTR stdin[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__fpurge@PLT
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -48[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 5
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, p[rip+100]
	mov	eax, DWORD PTR [rdx+rax]
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -48[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 5
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, p[rip+104]
	mov	eax, DWORD PTR [rdx+rax]
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -48[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 5
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, p[rip+108]
	mov	eax, DWORD PTR [rdx+rax]
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -48[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 5
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, p[rip+112]
	mov	eax, DWORD PTR [rdx+rax]
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -48[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 5
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, p[rip+116]
	mov	eax, DWORD PTR [rdx+rax]
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 10
	call	putchar@PLT
	add	DWORD PTR -48[rbp], 1
.L13:
	mov	eax, DWORD PTR -52[rbp]
	cmp	DWORD PTR -48[rbp], eax
	jl	.L14
	mov	DWORD PTR -48[rbp], 0
	jmp	.L15
.L16:
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -48[rbp], 1
.L15:
	mov	eax, DWORD PTR -52[rbp]
	cmp	DWORD PTR -48[rbp], eax
	jl	.L16
	mov	edi, 10
	call	putchar@PLT
	mov	DWORD PTR -48[rbp], 0
	jmp	.L17
.L18:
	mov	eax, DWORD PTR -48[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	lea	rdx, 0[0+rax*8]
	add	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
	add	DWORD PTR -48[rbp], 1
.L17:
	mov	eax, DWORD PTR -28[rbp]
	sub	eax, 1
	cmp	DWORD PTR -48[rbp], eax
	jl	.L18
	mov	eax, DWORD PTR -48[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	lea	rdx, 0[0+rax*8]
	add	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
	mov	edi, 10
	call	putchar@PLT
	mov	DWORD PTR -48[rbp], 0
	jmp	.L19
.L20:
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -48[rbp], 1
.L19:
	mov	eax, DWORD PTR -48[rbp]
	cmp	eax, DWORD PTR -28[rbp]
	jl	.L20
	mov	edi, 10
	call	putchar@PLT
	mov	DWORD PTR -48[rbp], 0
	jmp	.L21
.L22:
	mov	eax, DWORD PTR -48[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	lea	rdx, 0[0+rax*8]
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, d[rip+100]
	mov	eax, DWORD PTR [rdx+rax]
	mov	esi, eax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -48[rbp], 1
.L21:
	mov	eax, DWORD PTR -48[rbp]
	cmp	eax, DWORD PTR -28[rbp]
	jl	.L22
	mov	eax, DWORD PTR -28[rbp]
	sub	eax, 1
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	lea	rdx, 0[0+rax*8]
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, d[rip+104]
	mov	eax, DWORD PTR [rdx+rax]
	mov	esi, eax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 10
	call	putchar@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L23
	call	__stack_chk_fail@PLT
.L23:
	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	"132953572.c"
	.text
	.comm	p,12400,4
	.comm	t,124,4
	.comm	d,10800,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"enter number of processes \000"
	.align	2
.LC1:
	.ascii	"%d\000"
	.align	2
.LC2:
	.ascii	"enter process name \000"
	.align	2
.LC3:
	.ascii	"enter arrival time \000"
	.align	2
.LC4:
	.ascii	"enter burst time \000"
	.align	2
.LC5:
	.ascii	"enter priority \000"
	.align	2
.LC6:
	.ascii	"idle\000"
	.align	2
.LC7:
	.ascii	"TAT and WT is as follows\000"
	.align	2
.LC8:
	.ascii	"Name\011\011AT\011\011BT\011\011TAT\011\011WT\011\011"
	.ascii	"P\000"
	.align	2
.LC9:
	.ascii	"\011\011\000"
	.align	2
.LC10:
	.ascii	"____________\000"
	.align	2
.LC11:
	.ascii	"%s\011|\000"
	.align	2
.LC12:
	.ascii	"%d\011\000"
	.align	2
.LC13:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #48
	ldr	r3, .L24
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-16]	@ float
	mov	r3, #0
	str	r3, [fp, #-12]	@ float
	ldr	r0, .L24+4
	bl	printf
	sub	r3, fp, #52
	mov	r1, r3
	ldr	r0, .L24+8
	bl	__isoc99_scanf
	mov	r3, #0
	str	r3, [fp, #-48]
	b	.L2
.L3:
	ldr	r0, .L24+12
	bl	printf
	ldr	r3, .L24+16
	ldr	r3, [r3]
	mov	r0, r3
	bl	__fpurge
	ldr	r2, [fp, #-48]
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #2
	ldr	r2, .L24+20
	add	r3, r3, r2
	mov	r0, r3
	bl	gets
	ldr	r0, .L24+24
	bl	printf
	ldr	r2, [fp, #-48]
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, #96
	ldr	r2, .L24+20
	add	r3, r3, r2
	add	r3, r3, #4
	mov	r1, r3
	ldr	r0, .L24+8
	bl	__isoc99_scanf
	ldr	r0, .L24+28
	bl	printf
	ldr	r2, [fp, #-48]
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, #104
	ldr	r2, .L24+20
	add	r3, r3, r2
	mov	r1, r3
	ldr	r0, .L24+8
	bl	__isoc99_scanf
	ldr	r0, .L24+32
	bl	printf
	ldr	r2, [fp, #-48]
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, #112
	ldr	r2, .L24+20
	add	r3, r3, r2
	add	r3, r3, #4
	mov	r1, r3
	ldr	r0, .L24+8
	bl	__isoc99_scanf
	ldr	r1, .L24+20
	ldr	r2, [fp, #-48]
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #120
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, [fp, #-48]
	add	r3, r3, #1
	str	r3, [fp, #-48]
.L2:
	ldr	r3, [fp, #-52]
	ldr	r2, [fp, #-48]
	cmp	r2, r3
	blt	.L3
	mov	r3, #0
	str	r3, [fp, #-48]
	mov	r3, #0
	str	r3, [fp, #-32]
	mov	r3, #0
	str	r3, [fp, #-28]
	b	.L4
.L12:
	mov	r3, #0
	str	r3, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-44]
	b	.L5
.L8:
	ldr	r1, .L24+20
	ldr	r2, [fp, #-44]
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #120
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L6
	ldr	r1, .L24+20
	ldr	r2, [fp, #-44]
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #100
	ldr	r3, [r3]
	ldr	r2, [fp, #-48]
	cmp	r2, r3
	blt	.L6
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bne	.L6
	ldr	r3, [fp, #-44]
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
	b	.L7
.L6:
	ldr	r1, .L24+20
	ldr	r2, [fp, #-44]
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #120
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L7
	ldr	r1, .L24+20
	ldr	r2, [fp, #-44]
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #100
	ldr	r3, [r3]
	ldr	r2, [fp, #-48]
	cmp	r2, r3
	blt	.L7
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	ble	.L7
	ldr	r1, .L24+20
	ldr	r2, [fp, #-44]
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #116
	ldr	r1, [r3]
	ldr	r0, .L24+20
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	add	r3, r3, #116
	ldr	r3, [r3]
	cmp	r1, r3
	bge	.L7
	ldr	r3, [fp, #-44]
	str	r3, [fp, #-36]
.L7:
	ldr	r3, [fp, #-44]
	add	r3, r3, #1
	str	r3, [fp, #-44]
.L5:
	ldr	r3, [fp, #-52]
	ldr	r2, [fp, #-44]
	cmp	r2, r3
	blt	.L8
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bne	.L9
	ldr	r3, [fp, #-40]
	cmp	r3, #0
	bne	.L9
	ldr	r2, [fp, #-28]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r2, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #2
	ldr	r2, .L24+36
	add	r3, r3, r2
	ldr	r2, .L24+40
	mov	r0, r3
	mov	r1, r2
	mov	r3, #5
	mov	r2, r3
	bl	memcpy
	ldr	r1, .L24+36
	ldr	r2, [fp, #-28]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r2, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #100
	ldr	r2, [fp, #-48]
	str	r2, [r3]
	ldr	r3, [fp, #-48]
	add	r3, r3, #1
	str	r3, [fp, #-48]
	mov	r3, #1
	str	r3, [fp, #-40]
	b	.L4
.L9:
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	ble	.L10
	ldr	r3, [fp, #-40]
	cmp	r3, #1
	bne	.L11
	ldr	r1, .L24+36
	ldr	r2, [fp, #-28]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r2, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #104
	ldr	r2, [fp, #-48]
	str	r2, [r3]
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L11:
	ldr	r2, [fp, #-28]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r2, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #2
	ldr	r2, .L24+36
	add	r0, r3, r2
	ldr	r2, [fp, #-32]
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #2
	ldr	r2, .L24+20
	add	r3, r3, r2
	mov	r1, r3
	bl	strcpy
	ldr	r1, .L24+36
	ldr	r2, [fp, #-28]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r2, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #100
	ldr	r2, [fp, #-48]
	str	r2, [r3]
	ldr	r1, .L24+20
	ldr	r2, [fp, #-32]
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #104
	ldr	r2, [r3]
	ldr	r3, [fp, #-48]
	add	r1, r2, r3
	ldr	r0, .L24+36
	ldr	r2, [fp, #-28]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r2, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	add	r3, r3, #104
	str	r1, [r3]
	ldr	r1, .L24+36
	ldr	r2, [fp, #-28]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r2, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #104
	ldr	r1, [r3]
	ldr	r0, .L24+20
	ldr	r2, [fp, #-32]
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	add	r3, r3, #100
	ldr	r3, [r3]
	sub	r1, r1, r3
	ldr	r0, .L24+20
	ldr	r2, [fp, #-32]
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	add	r3, r3, #108
	str	r1, [r3]
	ldr	r1, .L24+20
	ldr	r2, [fp, #-32]
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #108
	ldr	r1, [r3]
	ldr	r0, .L24+20
	ldr	r2, [fp, #-32]
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	add	r3, r3, #104
	ldr	r3, [r3]
	sub	r1, r1, r3
	ldr	r0, .L24+20
	ldr	r2, [fp, #-32]
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	add	r3, r3, #112
	str	r1, [r3]
	ldr	r1, .L24+36
	ldr	r2, [fp, #-28]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r2, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #104
	ldr	r3, [r3]
	str	r3, [fp, #-48]
	ldr	r1, .L24+20
	ldr	r2, [fp, #-32]
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #120
	mov	r2, #1
	str	r2, [r3]
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-40]
	b	.L4
.L10:
	ldr	r3, [fp, #-48]
	add	r3, r3, #1
	str	r3, [fp, #-48]
.L4:
	ldr	r3, [fp, #-52]
	ldr	r2, [fp, #-32]
	cmp	r2, r3
	blt	.L12
	ldr	r0, .L24+44
	bl	puts
	ldr	r0, .L24+48
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-48]
	b	.L13
.L14:
	ldr	r2, [fp, #-48]
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #2
	ldr	r2, .L24+20
	add	r3, r3, r2
	mov	r0, r3
	bl	puts
	ldr	r3, .L24+16
	ldr	r3, [r3]
	mov	r0, r3
	bl	__fpurge
	ldr	r0, .L24+52
	bl	printf
	ldr	r1, .L24+20
	ldr	r2, [fp, #-48]
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #100
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L24+8
	bl	printf
	ldr	r0, .L24+52
	bl	printf
	ldr	r1, .L24+20
	ldr	r2, [fp, #-48]
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #104
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L24+8
	bl	printf
	ldr	r0, .L24+52
	bl	printf
	ldr	r1, .L24+20
	ldr	r2, [fp, #-48]
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #108
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L24+8
	bl	printf
	ldr	r0, .L24+52
	bl	printf
	ldr	r1, .L24+20
	ldr	r2, [fp, #-48]
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #112
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L24+8
	bl	printf
	ldr	r0, .L24+52
	bl	printf
	ldr	r1, .L24+20
	ldr	r2, [fp, #-48]
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #116
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L24+8
	bl	printf
	mov	r0, #10
	bl	putchar
	ldr	r3, [fp, #-48]
	add	r3, r3, #1
	str	r3, [fp, #-48]
.L13:
	ldr	r3, [fp, #-52]
	ldr	r2, [fp, #-48]
	cmp	r2, r3
	blt	.L14
	mov	r3, #0
	str	r3, [fp, #-48]
	b	.L15
.L16:
	ldr	r0, .L24+56
	bl	printf
	ldr	r3, [fp, #-48]
	add	r3, r3, #1
	str	r3, [fp, #-48]
.L15:
	ldr	r3, [fp, #-52]
	ldr	r2, [fp, #-48]
	cmp	r2, r3
	blt	.L16
	mov	r0, #10
	bl	putchar
	mov	r3, #0
	str	r3, [fp, #-48]
	b	.L17
.L18:
	ldr	r2, [fp, #-48]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r2, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #2
	ldr	r2, .L24+36
	add	r3, r3, r2
	mov	r1, r3
	ldr	r0, .L24+60
	bl	printf
	ldr	r3, [fp, #-48]
	add	r3, r3, #1
	str	r3, [fp, #-48]
.L17:
	ldr	r3, [fp, #-28]
	sub	r3, r3, #1
	ldr	r2, [fp, #-48]
	cmp	r2, r3
	blt	.L18
	ldr	r2, [fp, #-48]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r2, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #2
	ldr	r2, .L24+36
	add	r3, r3, r2
	mov	r1, r3
	ldr	r0, .L24+60
	bl	printf
	mov	r0, #10
	bl	putchar
	mov	r3, #0
	str	r3, [fp, #-48]
	b	.L19
.L20:
	ldr	r0, .L24+56
	bl	printf
	ldr	r3, [fp, #-48]
	add	r3, r3, #1
	str	r3, [fp, #-48]
.L19:
	ldr	r2, [fp, #-48]
	ldr	r3, [fp, #-28]
	cmp	r2, r3
	blt	.L20
	mov	r0, #10
	bl	putchar
	mov	r3, #0
	str	r3, [fp, #-48]
	b	.L21
.L22:
	ldr	r1, .L24+36
	ldr	r2, [fp, #-48]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r2, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #100
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L24+64
	bl	printf
	ldr	r3, [fp, #-48]
	add	r3, r3, #1
	str	r3, [fp, #-48]
.L21:
	ldr	r2, [fp, #-48]
	ldr	r3, [fp, #-28]
	cmp	r2, r3
	blt	.L22
	ldr	r3, [fp, #-28]
	sub	r2, r3, #1
	ldr	r1, .L24+36
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r2, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #104
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L24+64
	bl	printf
	mov	r0, #10
	bl	putchar
	nop
	ldr	r3, .L24
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L23
	bl	__stack_chk_fail
.L23:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L25:
	.align	2
.L24:
	.word	.LC13
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	stdin
	.word	p
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	d
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
