	.file	"144178.c"
	.intel_syntax noprefix
	.text
	.globl	productions
	.bss
	.align 32
	.type	productions, @object
	.size	productions, 90000
productions:
	.zero	90000
	.globl	parseTable
	.align 32
	.type	parseTable, @object
	.size	parseTable, 360000
parseTable:
	.zero	360000
	.globl	terminals
	.align 32
	.type	terminals, @object
	.size	terminals, 300
terminals:
	.zero	300
	.globl	nonTerminals
	.align 32
	.type	nonTerminals, @object
	.size	nonTerminals, 300
nonTerminals:
	.zero	300
	.globl	N
	.align 4
	.type	N, @object
	.size	N, 4
N:
	.zero	4
	.section	.rodata
.LC0:
	.string	"\n "
	.align 8
.LC1:
	.string	"Enter number of Productions : "
.LC2:
	.string	"%d"
.LC3:
	.string	"\nEnter production %d : "
.LC4:
	.string	"%s"
	.align 8
.LC5:
	.string	"Enter production number for M [ %c , %c ] : "
	.text
	.globl	getInput
	.type	getInput, @function
getInput:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rsi, N[rip]
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	DWORD PTR -12[rbp], 0
	jmp	.L2
.L7:
	mov	eax, DWORD PTR -12[rbp]
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	imul	rax, rax, 300
	lea	rdx, productions[rip]
	add	rax, rdx
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	DWORD PTR -8[rbp], 3
	jmp	.L3
.L6:
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -8[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	imul	rax, rax, 300
	add	rcx, rax
	lea	rax, productions[rip]
	add	rax, rcx
	movzx	eax, BYTE PTR [rax]
	movsx	rax, al
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 256
	test	eax, eax
	je	.L4
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	imul	rax, rax, 300
	add	rdx, rax
	lea	rax, productions[rip]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	movsx	rdx, eax
	lea	rcx, nonTerminals[rip]
	movzx	edx, BYTE PTR [rdx+rcx]
	add	edx, 1
	mov	ecx, edx
	cdqe
	lea	rdx, nonTerminals[rip]
	mov	BYTE PTR [rax+rdx], cl
	jmp	.L5
.L4:
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	imul	rax, rax, 300
	add	rdx, rax
	lea	rax, productions[rip]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	movsx	rdx, eax
	lea	rcx, terminals[rip]
	movzx	edx, BYTE PTR [rdx+rcx]
	add	edx, 1
	mov	ecx, edx
	cdqe
	lea	rdx, terminals[rip]
	mov	BYTE PTR [rax+rdx], cl
.L5:
	add	DWORD PTR -8[rbp], 1
.L3:
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	imul	rax, rax, 300
	add	rdx, rax
	lea	rax, productions[rip]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L6
	add	DWORD PTR -12[rbp], 1
.L2:
	mov	eax, DWORD PTR N[rip]
	cmp	DWORD PTR -12[rbp], eax
	jl	.L7
	mov	BYTE PTR terminals[rip+35], 0
	movzx	eax, BYTE PTR terminals[rip+36]
	add	eax, 1
	mov	BYTE PTR terminals[rip+36], al
	mov	DWORD PTR -12[rbp], 0
	jmp	.L8
.L13:
	mov	eax, DWORD PTR -12[rbp]
	mov	BYTE PTR -13[rbp], al
	movsx	eax, BYTE PTR -13[rbp]
	cdqe
	lea	rdx, nonTerminals[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	test	al, al
	jle	.L9
	mov	DWORD PTR -4[rbp], 0
	jmp	.L10
.L12:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, terminals[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	test	al, al
	jle	.L11
	movsx	eax, BYTE PTR -13[rbp]
	mov	edx, DWORD PTR -4[rbp]
	mov	esi, eax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR stdin[rip]
	mov	rdi, rax
	call	fflush@PLT
	movsx	eax, BYTE PTR -13[rbp]
	mov	edx, DWORD PTR -4[rbp]
	movsx	rdx, edx
	cdqe
	imul	rax, rax, 300
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	lea	rax, parseTable[rip]
	add	rax, rdx
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
.L11:
	add	DWORD PTR -4[rbp], 1
.L10:
	cmp	DWORD PTR -4[rbp], 299
	jle	.L12
.L9:
	add	DWORD PTR -12[rbp], 1
.L8:
	cmp	DWORD PTR -12[rbp], 299
	jle	.L13
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	getInput, .-getInput
	.section	.rodata
.LC6:
	.string	"\nEnter the input string :"
.LC7:
	.string	"\n\nSTACK\t\tINPUT\t\tAction"
.LC8:
	.string	"-------\t\t------\t\t-------"
.LC9:
	.string	"%s\t\t%s\t\t"
.LC10:
	.string	"MATCH %c\n"
.LC11:
	.string	"\nERROR DETECTED ! "
.LC12:
	.string	"O/P : %s\n"
.LC13:
	.string	"ACCEPT STRING :) "
.LC14:
	.string	"REJECT STRING :( "
	.text
	.globl	predictiveParsingAlgorithm
	.type	predictiveParsingAlgorithm, @function
predictiveParsingAlgorithm:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 640
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -624[rbp], 36
	mov	QWORD PTR -616[rbp], 0
	lea	rdx, -608[rbp]
	mov	eax, 0
	mov	ecx, 35
	mov	rdi, rdx
	rep stosq
	mov	rdx, rdi
	mov	DWORD PTR [rdx], eax
	add	rdx, 4
	mov	BYTE PTR -638[rbp], 0
	movzx	eax, BYTE PTR -638[rbp]
	add	eax, 1
	mov	BYTE PTR -638[rbp], al
	movsx	eax, BYTE PTR -638[rbp]
	movzx	edx, BYTE PTR productions[rip]
	cdqe
	mov	BYTE PTR -624[rbp+rax], dl
	mov	DWORD PTR -636[rbp], 0
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -320[rbp]
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rax, -320[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	lea	rax, -320[rbp]
	add	rax, rdx
	mov	WORD PTR [rax], 36
	lea	rdi, .LC7[rip]
	call	puts@PLT
	lea	rdi, .LC8[rip]
	call	puts@PLT
	jmp	.L15
.L23:
	mov	eax, DWORD PTR -636[rbp]
	cdqe
	lea	rdx, -320[rbp]
	add	rdx, rax
	lea	rax, -624[rbp]
	mov	rsi, rax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	movzx	eax, BYTE PTR -638[rbp]
	mov	edx, eax
	sub	edx, 1
	mov	BYTE PTR -638[rbp], dl
	movsx	eax, al
	cdqe
	movzx	eax, BYTE PTR -624[rbp+rax]
	mov	BYTE PTR -637[rbp], al
	mov	eax, DWORD PTR -636[rbp]
	cdqe
	movzx	eax, BYTE PTR -320[rbp+rax]
	cmp	BYTE PTR -637[rbp], al
	jne	.L16
	mov	eax, DWORD PTR -636[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -636[rbp], edx
	cdqe
	movzx	eax, BYTE PTR -320[rbp+rax]
	movsx	eax, al
	mov	esi, eax
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L17
.L16:
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	movsx	rax, BYTE PTR -637[rbp]
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 512
	test	eax, eax
	je	.L18
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L18:
	movsx	edx, BYTE PTR -637[rbp]
	mov	eax, DWORD PTR -636[rbp]
	cdqe
	movzx	eax, BYTE PTR -320[rbp+rax]
	movsx	eax, al
	movsx	rcx, eax
	movsx	rax, edx
	imul	rax, rax, 300
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, parseTable[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	DWORD PTR -628[rbp], eax
	cmp	DWORD PTR -628[rbp], -1
	jne	.L19
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 2
	call	exit@PLT
.L19:
	mov	eax, DWORD PTR -628[rbp]
	cdqe
	imul	rax, rax, 300
	lea	rdx, productions[rip]
	add	rax, rdx
	mov	rsi, rax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -628[rbp]
	cdqe
	imul	rax, rax, 300
	lea	rdx, productions[rip]
	add	rax, rdx
	mov	rdi, rax
	call	strlen@PLT
	sub	eax, 1
	mov	DWORD PTR -632[rbp], eax
	jmp	.L20
.L22:
	mov	eax, DWORD PTR -632[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -628[rbp]
	cdqe
	imul	rax, rax, 300
	add	rdx, rax
	lea	rax, productions[rip]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 35
	je	.L21
	movzx	eax, BYTE PTR -638[rbp]
	add	eax, 1
	mov	BYTE PTR -638[rbp], al
	movsx	eax, BYTE PTR -638[rbp]
	mov	edx, DWORD PTR -632[rbp]
	movsx	rcx, edx
	mov	edx, DWORD PTR -628[rbp]
	movsx	rdx, edx
	imul	rdx, rdx, 300
	add	rcx, rdx
	lea	rdx, productions[rip]
	add	rdx, rcx
	movzx	edx, BYTE PTR [rdx]
	cdqe
	mov	BYTE PTR -624[rbp+rax], dl
.L21:
	sub	DWORD PTR -632[rbp], 1
.L20:
	cmp	DWORD PTR -632[rbp], 2
	jg	.L22
.L17:
	movsx	eax, BYTE PTR -638[rbp]
	add	eax, 1
	cdqe
	mov	BYTE PTR -624[rbp+rax], 0
.L15:
	cmp	BYTE PTR -638[rbp], 0
	jg	.L23
	mov	eax, DWORD PTR -636[rbp]
	cdqe
	lea	rdx, -320[rbp]
	add	rdx, rax
	lea	rax, -624[rbp]
	mov	rsi, rax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	cmp	BYTE PTR -638[rbp], 0
	jne	.L24
	mov	eax, DWORD PTR -636[rbp]
	cdqe
	movzx	eax, BYTE PTR -320[rbp+rax]
	cmp	al, 36
	jne	.L24
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L25
.L24:
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	printf@PLT
.L25:
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L26
	call	__stack_chk_fail@PLT
.L26:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	predictiveParsingAlgorithm, .-predictiveParsingAlgorithm
	.globl	main
	.type	main, @function
main:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, 0
	call	getInput
	mov	eax, 0
	call	predictiveParsingAlgorithm
	mov	eax, 0
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.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	"144178.c"
	.text
	.comm	productions,90000,4
	.comm	parseTable,360000,4
	.global	terminals
	.bss
	.align	2
	.type	terminals, %object
	.size	terminals, 300
terminals:
	.space	300
	.global	nonTerminals
	.align	2
	.type	nonTerminals, %object
	.size	nonTerminals, 300
nonTerminals:
	.space	300
	.comm	N,4,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"\012 \000"
	.align	2
.LC1:
	.ascii	"Enter number of Productions : \000"
	.align	2
.LC2:
	.ascii	"%d\000"
	.align	2
.LC3:
	.ascii	"\012Enter production %d : \000"
	.align	2
.LC4:
	.ascii	"%s\000"
	.align	2
.LC5:
	.ascii	"Enter production number for M [ %c , %c ] : \000"
	.text
	.align	2
	.global	getInput
	.syntax unified
	.arm
	.fpu softvfp
	.type	getInput, %function
getInput:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	ldr	r0, .L14
	bl	printf
	ldr	r0, .L14+4
	bl	printf
	ldr	r1, .L14+8
	ldr	r0, .L14+12
	bl	__isoc99_scanf
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L2
.L7:
	ldr	r1, [fp, #-16]
	ldr	r0, .L14+16
	bl	printf
	ldr	r2, [fp, #-16]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #4
	sub	r2, r2, r3
	lsl	r3, r2, #2
	mov	r2, r3
	ldr	r3, .L14+20
	add	r3, r2, r3
	mov	r1, r3
	ldr	r0, .L14+24
	bl	__isoc99_scanf
	mov	r3, #3
	str	r3, [fp, #-12]
	b	.L3
.L6:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r1, [r3]
	ldr	r0, .L14+20
	ldr	r2, [fp, #-16]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #4
	sub	r2, r2, r3
	lsl	r3, r2, #2
	mov	r2, r3
	add	r2, r0, r2
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r1, r3
	ldrh	r3, [r3]
	and	r3, r3, #256
	cmp	r3, #0
	beq	.L4
	ldr	r1, .L14+20
	ldr	r2, [fp, #-16]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #4
	sub	r2, r2, r3
	lsl	r3, r2, #2
	mov	r2, r3
	add	r2, r1, r2
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	ldr	r2, .L14+28
	ldrb	r2, [r2, r3]	@ zero_extendqisi2
	add	r2, r2, #1
	and	r1, r2, #255
	ldr	r2, .L14+28
	strb	r1, [r2, r3]
	b	.L5
.L4:
	ldr	r1, .L14+20
	ldr	r2, [fp, #-16]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #4
	sub	r2, r2, r3
	lsl	r3, r2, #2
	mov	r2, r3
	add	r2, r1, r2
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	ldr	r2, .L14+32
	ldrb	r2, [r2, r3]	@ zero_extendqisi2
	add	r2, r2, #1
	and	r1, r2, #255
	ldr	r2, .L14+32
	strb	r1, [r2, r3]
.L5:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L3:
	ldr	r1, .L14+20
	ldr	r2, [fp, #-16]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #4
	sub	r2, r2, r3
	lsl	r3, r2, #2
	mov	r2, r3
	add	r2, r1, r2
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L6
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L2:
	ldr	r3, .L14+8
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	blt	.L7
	ldr	r3, .L14+32
	mov	r2, #0
	strb	r2, [r3, #35]
	ldr	r3, .L14+32
	ldrb	r3, [r3, #36]	@ zero_extendqisi2
	add	r3, r3, #1
	and	r2, r3, #255
	ldr	r3, .L14+32
	strb	r2, [r3, #36]
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L8
.L13:
	ldr	r3, [fp, #-16]
	strb	r3, [fp, #-17]
	ldrb	r3, [fp, #-17]	@ zero_extendqisi2
	ldr	r2, .L14+28
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L9
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L10
.L12:
	ldr	r2, .L14+32
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L11
	ldrb	r3, [fp, #-17]	@ zero_extendqisi2
	ldr	r2, [fp, #-8]
	mov	r1, r3
	ldr	r0, .L14+36
	bl	printf
	ldr	r3, .L14+40
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	ldrb	r2, [fp, #-17]	@ zero_extendqisi2
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #4
	sub	r2, r2, r3
	lsl	r3, r2, #2
	mov	r2, r3
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	lsl	r3, r3, #2
	ldr	r2, .L14+44
	add	r3, r3, r2
	mov	r1, r3
	ldr	r0, .L14+12
	bl	__isoc99_scanf
.L11:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L10:
	ldr	r3, [fp, #-8]
	cmp	r3, #300
	blt	.L12
.L9:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L8:
	ldr	r3, [fp, #-16]
	cmp	r3, #300
	blt	.L13
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L15:
	.align	2
.L14:
	.word	.LC0
	.word	.LC1
	.word	N
	.word	.LC2
	.word	.LC3
	.word	productions
	.word	.LC4
	.word	nonTerminals
	.word	terminals
	.word	.LC5
	.word	stdin
	.word	parseTable
	.size	getInput, .-getInput
	.section	.rodata
	.align	2
.LC6:
	.ascii	"\012Enter the input string :\000"
	.align	2
.LC7:
	.ascii	"$\000"
	.align	2
.LC8:
	.ascii	"\012\012STACK\011\011INPUT\011\011Action\000"
	.align	2
.LC9:
	.ascii	"-------\011\011------\011\011-------\000"
	.align	2
.LC10:
	.ascii	"%s\011\011%s\011\011\000"
	.align	2
.LC11:
	.ascii	"MATCH %c\012\000"
	.align	2
.LC12:
	.ascii	"\012ERROR DETECTED ! \000"
	.align	2
.LC13:
	.ascii	"O/P : %s\012\000"
	.align	2
.LC14:
	.ascii	"ACCEPT STRING :) \000"
	.align	2
.LC15:
	.ascii	"REJECT STRING :( \000"
	.align	2
.LC16:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	predictiveParsingAlgorithm
	.syntax unified
	.arm
	.fpu softvfp
	.type	predictiveParsingAlgorithm, %function
predictiveParsingAlgorithm:
	@ args = 0, pretend = 0, frame = 624
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #624
	ldr	r3, .L29
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #36
	str	r3, [fp, #-608]
	sub	r3, fp, #604
	mov	r2, #296
	mov	r1, #0
	mov	r0, r3
	bl	memset
	mov	r3, #0
	strb	r3, [fp, #-622]
	ldrb	r3, [fp, #-622]
	add	r3, r3, #1
	strb	r3, [fp, #-622]
	ldrb	r3, [fp, #-622]	@ zero_extendqisi2
	ldr	r2, .L29+4
	ldrb	r2, [r2]	@ zero_extendqisi2
	sub	r1, fp, #4
	add	r3, r1, r3
	strb	r2, [r3, #-604]
	mov	r3, #0
	str	r3, [fp, #-620]
	ldr	r0, .L29+8
	bl	printf
	sub	r3, fp, #308
	mov	r1, r3
	ldr	r0, .L29+12
	bl	__isoc99_scanf
	sub	r3, fp, #308
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	sub	r3, fp, #308
	add	r3, r3, r2
	ldr	r2, .L29+16
	mov	r0, r3
	mov	r1, r2
	mov	r3, #2
	mov	r2, r3
	bl	memcpy
	ldr	r0, .L29+20
	bl	puts
	ldr	r0, .L29+24
	bl	puts
	b	.L17
.L25:
	ldr	r3, [fp, #-620]
	sub	r2, fp, #308
	add	r2, r2, r3
	sub	r3, fp, #608
	mov	r1, r3
	ldr	r0, .L29+28
	bl	printf
	ldrb	r3, [fp, #-622]	@ zero_extendqisi2
	sub	r2, r3, #1
	strb	r2, [fp, #-622]
	sub	r2, fp, #4
	add	r3, r2, r3
	ldrb	r3, [r3, #-604]
	strb	r3, [fp, #-621]
	sub	r2, fp, #308
	ldr	r3, [fp, #-620]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	ldrb	r2, [fp, #-621]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L18
	ldr	r3, [fp, #-620]
	add	r2, r3, #1
	str	r2, [fp, #-620]
	sub	r2, fp, #4
	add	r3, r2, r3
	ldrb	r3, [r3, #-304]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, .L29+32
	bl	printf
	b	.L19
.L18:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldrb	r3, [fp, #-621]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #512
	cmp	r3, #0
	beq	.L20
	ldr	r0, .L29+36
	bl	printf
	mov	r0, #1
	bl	exit
.L20:
	ldrb	r2, [fp, #-621]	@ zero_extendqisi2
	sub	r1, fp, #308
	ldr	r3, [fp, #-620]
	add	r3, r1, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	ldr	r1, .L29+40
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #4
	sub	r2, r2, r3
	lsl	r3, r2, #2
	mov	r2, r3
	add	r3, r2, r0
	ldr	r3, [r1, r3, lsl #2]
	str	r3, [fp, #-612]
	ldr	r3, [fp, #-612]
	cmn	r3, #1
	bne	.L21
	ldr	r0, .L29+36
	bl	printf
	mov	r0, #2
	bl	exit
.L21:
	ldr	r2, [fp, #-612]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #4
	sub	r2, r2, r3
	lsl	r3, r2, #2
	mov	r2, r3
	ldr	r3, .L29+4
	add	r3, r2, r3
	mov	r1, r3
	ldr	r0, .L29+44
	bl	printf
	ldr	r2, [fp, #-612]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #4
	sub	r2, r2, r3
	lsl	r3, r2, #2
	mov	r2, r3
	ldr	r3, .L29+4
	add	r3, r2, r3
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	sub	r3, r3, #1
	str	r3, [fp, #-616]
	b	.L22
.L24:
	ldr	r1, .L29+4
	ldr	r2, [fp, #-612]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #4
	sub	r2, r2, r3
	lsl	r3, r2, #2
	mov	r2, r3
	add	r2, r1, r2
	ldr	r3, [fp, #-616]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #35
	beq	.L23
	ldrb	r3, [fp, #-622]
	add	r3, r3, #1
	strb	r3, [fp, #-622]
	ldrb	r1, [fp, #-622]	@ zero_extendqisi2
	ldr	r0, .L29+4
	ldr	r2, [fp, #-612]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #4
	sub	r2, r2, r3
	lsl	r3, r2, #2
	mov	r2, r3
	add	r2, r0, r2
	ldr	r3, [fp, #-616]
	add	r3, r2, r3
	ldrb	r2, [r3]	@ zero_extendqisi2
	sub	r3, fp, #4
	add	r3, r3, r1
	strb	r2, [r3, #-604]
.L23:
	ldr	r3, [fp, #-616]
	sub	r3, r3, #1
	str	r3, [fp, #-616]
.L22:
	ldr	r3, [fp, #-616]
	cmp	r3, #2
	bgt	.L24
.L19:
	ldrb	r3, [fp, #-622]	@ zero_extendqisi2
	add	r3, r3, #1
	sub	r2, fp, #4
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3, #-604]
.L17:
	ldrb	r3, [fp, #-622]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L25
	ldr	r3, [fp, #-620]
	sub	r2, fp, #308
	add	r2, r2, r3
	sub	r3, fp, #608
	mov	r1, r3
	ldr	r0, .L29+28
	bl	printf
	ldrb	r3, [fp, #-622]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L26
	sub	r2, fp, #308
	ldr	r3, [fp, #-620]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #36
	bne	.L26
	ldr	r0, .L29+48
	bl	printf
	b	.L27
.L26:
	ldr	r0, .L29+52
	bl	printf
.L27:
	nop
	ldr	r3, .L29
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L28
	bl	__stack_chk_fail
.L28:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L30:
	.align	2
.L29:
	.word	.LC16
	.word	productions
	.word	.LC6
	.word	.LC4
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	parseTable
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.size	predictiveParsingAlgorithm, .-predictiveParsingAlgorithm
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	bl	getInput
	bl	predictiveParsingAlgorithm
	mov	r3, #0
	mov	r0, r3
	pop	{fp, pc}
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
