	.file	"403048.c"
	.intel_syntax noprefix
	.text
	.globl	count
	.bss
	.align 4
	.type	count, @object
	.size	count, 4
count:
	.zero	4
	.globl	n
	.align 4
	.type	n, @object
	.size	n, 4
n:
	.zero	4
	.globl	calc_first
	.align 32
	.type	calc_first, @object
	.size	calc_first, 1000
calc_first:
	.zero	1000
	.globl	calc_follow
	.align 32
	.type	calc_follow, @object
	.size	calc_follow, 1000
calc_follow:
	.zero	1000
	.globl	m
	.align 4
	.type	m, @object
	.size	m, 4
m:
	.zero	4
	.globl	production
	.align 32
	.type	production, @object
	.size	production, 100
production:
	.zero	100
	.globl	f
	.align 8
	.type	f, @object
	.size	f, 10
f:
	.zero	10
	.globl	first
	.align 8
	.type	first, @object
	.size	first, 10
first:
	.zero	10
	.globl	k
	.align 4
	.type	k, @object
	.size	k, 4
k:
	.zero	4
	.globl	ck
	.type	ck, @object
	.size	ck, 1
ck:
	.zero	1
	.globl	e
	.align 4
	.type	e, @object
	.size	e, 4
e:
	.zero	4
	.section	.rodata
.LC0:
	.string	"\n First(%c) = { "
.LC1:
	.string	"%c, "
.LC2:
	.string	"}"
	.align 8
.LC3:
	.string	"-----------------------------------------------\n"
.LC4:
	.string	" Follow(%c) = { "
.LC5:
	.string	" }\n"
	.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
	push	r15
	push	r14
	push	r12
	push	rbx
	add	rsp, -128
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 12, -40
	.cfi_offset 3, -48
	mov	DWORD PTR -132[rbp], edi
	mov	QWORD PTR -144[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -40[rbp], rax
	xor	eax, eax
	mov	rax, rsp
	mov	rbx, rax
	mov	DWORD PTR -112[rbp], 0
	mov	DWORD PTR -116[rbp], 0
	mov	DWORD PTR count[rip], 8
	mov	DWORD PTR production[rip], 1498692933
	mov	BYTE PTR production[rip+4], 0
	mov	DWORD PTR production[rip+10], 1412119897
	mov	WORD PTR production[rip+14], 89
	mov	DWORD PTR production[rip+20], 2309465
	mov	DWORD PTR production[rip+30], 1480998228
	mov	BYTE PTR production[rip+34], 0
	mov	DWORD PTR production[rip+40], 1177173336
	mov	WORD PTR production[rip+44], 88
	mov	DWORD PTR production[rip+50], 2309464
	mov	DWORD PTR production[rip+60], 6896966
	mov	DWORD PTR production[rip+70], 1160265030
	mov	WORD PTR production[rip+74], 41
	mov	eax, DWORD PTR count[rip]
	movsx	rdx, eax
	sub	rdx, 1
	mov	QWORD PTR -72[rbp], rdx
	movsx	rdx, eax
	mov	r10, rdx
	mov	r11d, 0
	movsx	rdx, eax
	mov	r8, rdx
	mov	r9d, 0
	cdqe
	mov	edx, 16
	sub	rdx, 1
	add	rax, rdx
	mov	edi, 16
	mov	edx, 0
	div	rdi
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L2:
	cmp	rsp, rdx
	je	.L3
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L2
.L3:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L4
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L4:
	mov	rax, rsp
	add	rax, 0
	mov	QWORD PTR -64[rbp], rax
	mov	DWORD PTR -108[rbp], -1
	mov	DWORD PTR k[rip], 0
	jmp	.L5
.L8:
	mov	DWORD PTR -124[rbp], 0
	jmp	.L6
.L7:
	mov	eax, DWORD PTR k[rip]
	mov	edx, DWORD PTR -124[rbp]
	movsx	rcx, edx
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	sal	rax, 2
	lea	rdx, [rax+rcx]
	lea	rax, calc_first[rip]
	add	rax, rdx
	mov	BYTE PTR [rax], 33
	add	DWORD PTR -124[rbp], 1
.L6:
	cmp	DWORD PTR -124[rbp], 99
	jle	.L7
	mov	eax, DWORD PTR k[rip]
	add	eax, 1
	mov	DWORD PTR k[rip], eax
.L5:
	mov	edx, DWORD PTR k[rip]
	mov	eax, DWORD PTR count[rip]
	cmp	edx, eax
	jl	.L8
	mov	DWORD PTR -104[rbp], 0
	mov	DWORD PTR k[rip], 0
	jmp	.L9
.L22:
	mov	eax, DWORD PTR k[rip]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	mov	rdx, rax
	lea	rax, production[rip]
	movzx	eax, BYTE PTR [rdx+rax]
	mov	BYTE PTR -125[rbp], al
	mov	DWORD PTR -100[rbp], 0
	mov	DWORD PTR -96[rbp], 0
	mov	DWORD PTR -124[rbp], 0
	jmp	.L10
.L12:
	mov	rdx, QWORD PTR -64[rbp]
	mov	eax, DWORD PTR -124[rbp]
	cdqe
	movzx	eax, BYTE PTR [rdx+rax]
	cmp	BYTE PTR -125[rbp], al
	jne	.L11
	mov	DWORD PTR -96[rbp], 1
.L11:
	add	DWORD PTR -124[rbp], 1
.L10:
	mov	eax, DWORD PTR -124[rbp]
	cmp	eax, DWORD PTR -108[rbp]
	jle	.L12
	cmp	DWORD PTR -96[rbp], 1
	je	.L46
	movsx	eax, BYTE PTR -125[rbp]
	mov	edx, 0
	mov	esi, 0
	mov	edi, eax
	call	findfirst
	add	DWORD PTR -108[rbp], 1
	mov	rdx, QWORD PTR -64[rbp]
	mov	eax, DWORD PTR -108[rbp]
	cdqe
	movzx	ecx, BYTE PTR -125[rbp]
	mov	BYTE PTR [rdx+rax], cl
	movsx	eax, BYTE PTR -125[rbp]
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -100[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -100[rbp], edx
	movsx	rcx, eax
	mov	eax, DWORD PTR -104[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	sal	rax, 2
	lea	rdx, [rax+rcx]
	lea	rax, calc_first[rip]
	add	rdx, rax
	movzx	eax, BYTE PTR -125[rbp]
	mov	BYTE PTR [rdx], al
	mov	eax, DWORD PTR -112[rbp]
	mov	DWORD PTR -120[rbp], eax
	jmp	.L15
.L21:
	mov	DWORD PTR -92[rbp], 0
	mov	DWORD PTR -88[rbp], 0
	mov	DWORD PTR -92[rbp], 0
	jmp	.L16
.L19:
	mov	eax, DWORD PTR -120[rbp]
	cdqe
	lea	rdx, first[rip]
	movzx	ecx, BYTE PTR [rax+rdx]
	mov	eax, DWORD PTR -92[rbp]
	movsx	rsi, eax
	mov	eax, DWORD PTR -104[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	sal	rax, 2
	lea	rdx, [rax+rsi]
	lea	rax, calc_first[rip]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	cl, al
	jne	.L17
	mov	DWORD PTR -88[rbp], 1
	jmp	.L18
.L17:
	add	DWORD PTR -92[rbp], 1
.L16:
	mov	eax, DWORD PTR -92[rbp]
	cmp	eax, DWORD PTR -100[rbp]
	jl	.L19
.L18:
	cmp	DWORD PTR -88[rbp], 0
	jne	.L20
	mov	eax, DWORD PTR -120[rbp]
	cdqe
	lea	rdx, first[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	movsx	eax, al
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -100[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -100[rbp], edx
	mov	edx, DWORD PTR -120[rbp]
	movsx	rdx, edx
	lea	rcx, first[rip]
	movzx	edx, BYTE PTR [rdx+rcx]
	movsx	rsi, eax
	mov	eax, DWORD PTR -104[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 2
	add	rax, rcx
	lea	rcx, 0[0+rax*4]
	add	rax, rcx
	sal	rax, 2
	lea	rcx, [rax+rsi]
	lea	rax, calc_first[rip]
	add	rax, rcx
	mov	BYTE PTR [rax], dl
.L20:
	add	DWORD PTR -120[rbp], 1
.L15:
	mov	eax, DWORD PTR n[rip]
	cmp	DWORD PTR -120[rbp], eax
	jl	.L21
	lea	rdi, .LC2[rip]
	call	puts@PLT
	mov	eax, DWORD PTR n[rip]
	mov	DWORD PTR -112[rbp], eax
	add	DWORD PTR -104[rbp], 1
	jmp	.L14
.L46:
	nop
.L14:
	mov	eax, DWORD PTR k[rip]
	add	eax, 1
	mov	DWORD PTR k[rip], eax
.L9:
	mov	edx, DWORD PTR k[rip]
	mov	eax, DWORD PTR count[rip]
	cmp	edx, eax
	jl	.L22
	mov	edi, 10
	call	putchar@PLT
	lea	rdi, .LC3[rip]
	call	puts@PLT
	mov	eax, DWORD PTR count[rip]
	mov	rdx, rsp
	mov	r12, rdx
	movsx	rdx, eax
	sub	rdx, 1
	mov	QWORD PTR -56[rbp], rdx
	movsx	rdx, eax
	mov	QWORD PTR -160[rbp], rdx
	mov	QWORD PTR -152[rbp], 0
	movsx	rdx, eax
	mov	r14, rdx
	mov	r15d, 0
	cdqe
	mov	edx, 16
	sub	rdx, 1
	add	rax, rdx
	mov	edi, 16
	mov	edx, 0
	div	rdi
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L23:
	cmp	rsp, rdx
	je	.L24
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L23
.L24:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L25
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L25:
	mov	rax, rsp
	add	rax, 0
	mov	QWORD PTR -48[rbp], rax
	mov	DWORD PTR -108[rbp], -1
	mov	DWORD PTR k[rip], 0
	jmp	.L26
.L29:
	mov	DWORD PTR -124[rbp], 0
	jmp	.L27
.L28:
	mov	eax, DWORD PTR k[rip]
	mov	edx, DWORD PTR -124[rbp]
	movsx	rcx, edx
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	sal	rax, 2
	lea	rdx, [rax+rcx]
	lea	rax, calc_follow[rip]
	add	rax, rdx
	mov	BYTE PTR [rax], 33
	add	DWORD PTR -124[rbp], 1
.L27:
	cmp	DWORD PTR -124[rbp], 99
	jle	.L28
	mov	eax, DWORD PTR k[rip]
	add	eax, 1
	mov	DWORD PTR k[rip], eax
.L26:
	mov	edx, DWORD PTR k[rip]
	mov	eax, DWORD PTR count[rip]
	cmp	edx, eax
	jl	.L29
	mov	DWORD PTR -104[rbp], 0
	mov	DWORD PTR -84[rbp], 0
	mov	DWORD PTR e[rip], 0
	jmp	.L30
.L43:
	mov	eax, DWORD PTR e[rip]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	mov	rdx, rax
	lea	rax, production[rip]
	movzx	eax, BYTE PTR [rdx+rax]
	mov	BYTE PTR ck[rip], al
	mov	DWORD PTR -100[rbp], 0
	mov	DWORD PTR -96[rbp], 0
	mov	DWORD PTR -124[rbp], 0
	jmp	.L31
.L33:
	mov	rdx, QWORD PTR -48[rbp]
	mov	eax, DWORD PTR -124[rbp]
	cdqe
	movzx	edx, BYTE PTR [rdx+rax]
	movzx	eax, BYTE PTR ck[rip]
	cmp	dl, al
	jne	.L32
	mov	DWORD PTR -96[rbp], 1
.L32:
	add	DWORD PTR -124[rbp], 1
.L31:
	mov	eax, DWORD PTR -124[rbp]
	cmp	eax, DWORD PTR -108[rbp]
	jle	.L33
	cmp	DWORD PTR -96[rbp], 1
	je	.L47
	add	DWORD PTR -84[rbp], 1
	movzx	eax, BYTE PTR ck[rip]
	movsx	eax, al
	mov	edi, eax
	call	follow
	add	DWORD PTR -108[rbp], 1
	movzx	ecx, BYTE PTR ck[rip]
	mov	rdx, QWORD PTR -48[rbp]
	mov	eax, DWORD PTR -108[rbp]
	cdqe
	mov	BYTE PTR [rdx+rax], cl
	movzx	eax, BYTE PTR ck[rip]
	movsx	eax, al
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -100[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -100[rbp], edx
	movzx	edx, BYTE PTR ck[rip]
	movsx	rsi, eax
	mov	eax, DWORD PTR -104[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 2
	add	rax, rcx
	lea	rcx, 0[0+rax*4]
	add	rax, rcx
	sal	rax, 2
	lea	rcx, [rax+rsi]
	lea	rax, calc_follow[rip]
	add	rax, rcx
	mov	BYTE PTR [rax], dl
	mov	eax, DWORD PTR -116[rbp]
	mov	DWORD PTR -120[rbp], eax
	jmp	.L36
.L42:
	mov	DWORD PTR -80[rbp], 0
	mov	DWORD PTR -76[rbp], 0
	mov	DWORD PTR -80[rbp], 0
	jmp	.L37
.L40:
	mov	eax, DWORD PTR -120[rbp]
	cdqe
	lea	rdx, f[rip]
	movzx	ecx, BYTE PTR [rax+rdx]
	mov	eax, DWORD PTR -80[rbp]
	movsx	rsi, eax
	mov	eax, DWORD PTR -104[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	sal	rax, 2
	lea	rdx, [rax+rsi]
	lea	rax, calc_follow[rip]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	cl, al
	jne	.L38
	mov	DWORD PTR -76[rbp], 1
	jmp	.L39
.L38:
	add	DWORD PTR -80[rbp], 1
.L37:
	mov	eax, DWORD PTR -80[rbp]
	cmp	eax, DWORD PTR -100[rbp]
	jl	.L40
.L39:
	cmp	DWORD PTR -76[rbp], 0
	jne	.L41
	mov	eax, DWORD PTR -120[rbp]
	cdqe
	lea	rdx, f[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	movsx	eax, al
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -100[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -100[rbp], edx
	mov	edx, DWORD PTR -120[rbp]
	movsx	rdx, edx
	lea	rcx, f[rip]
	movzx	edx, BYTE PTR [rdx+rcx]
	movsx	rsi, eax
	mov	eax, DWORD PTR -104[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 2
	add	rax, rcx
	lea	rcx, 0[0+rax*4]
	add	rax, rcx
	sal	rax, 2
	lea	rcx, [rax+rsi]
	lea	rax, calc_follow[rip]
	add	rax, rcx
	mov	BYTE PTR [rax], dl
.L41:
	add	DWORD PTR -120[rbp], 1
.L36:
	mov	eax, DWORD PTR m[rip]
	cmp	DWORD PTR -120[rbp], eax
	jl	.L42
	lea	rdi, .LC5[rip]
	call	puts@PLT
	mov	eax, DWORD PTR m[rip]
	mov	DWORD PTR -116[rbp], eax
	add	DWORD PTR -104[rbp], 1
	jmp	.L35
.L47:
	nop
.L35:
	mov	eax, DWORD PTR e[rip]
	add	eax, 1
	mov	DWORD PTR e[rip], eax
.L30:
	mov	edx, DWORD PTR e[rip]
	mov	eax, DWORD PTR count[rip]
	cmp	edx, eax
	jl	.L43
	mov	rsp, r12
	mov	rsp, rbx
	mov	eax, 0
	mov	rbx, QWORD PTR -40[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L45
	call	__stack_chk_fail@PLT
.L45:
	lea	rsp, -32[rbp]
	pop	rbx
	pop	r12
	pop	r14
	pop	r15
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.globl	follow
	.type	follow, @function
follow:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	eax, edi
	mov	BYTE PTR -20[rbp], al
	movzx	eax, BYTE PTR production[rip]
	cmp	BYTE PTR -20[rbp], al
	jne	.L49
	mov	eax, DWORD PTR m[rip]
	lea	edx, 1[rax]
	mov	DWORD PTR m[rip], edx
	cdqe
	lea	rdx, f[rip]
	mov	BYTE PTR [rax+rdx], 36
.L49:
	mov	DWORD PTR -8[rbp], 0
	jmp	.L50
.L55:
	mov	DWORD PTR -4[rbp], 2
	jmp	.L51
.L54:
	mov	eax, DWORD PTR -4[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	lea	rdx, [rax+rcx]
	lea	rax, production[rip]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	BYTE PTR -20[rbp], al
	jne	.L52
	mov	eax, DWORD PTR -4[rbp]
	add	eax, 1
	movsx	rcx, eax
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	lea	rdx, [rax+rcx]
	lea	rax, production[rip]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L53
	mov	eax, DWORD PTR -4[rbp]
	lea	edx, 2[rax]
	mov	eax, DWORD PTR -4[rbp]
	add	eax, 1
	movsx	rsi, eax
	mov	eax, DWORD PTR -8[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 2
	add	rax, rcx
	add	rax, rax
	lea	rcx, [rax+rsi]
	lea	rax, production[rip]
	add	rax, rcx
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	ecx, DWORD PTR -8[rbp]
	mov	esi, ecx
	mov	edi, eax
	call	followfirst
.L53:
	mov	eax, DWORD PTR -4[rbp]
	add	eax, 1
	movsx	rcx, eax
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	lea	rdx, [rax+rcx]
	lea	rax, production[rip]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L52
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	mov	rdx, rax
	lea	rax, production[rip]
	movzx	eax, BYTE PTR [rdx+rax]
	cmp	BYTE PTR -20[rbp], al
	je	.L52
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	mov	rdx, rax
	lea	rax, production[rip]
	movzx	eax, BYTE PTR [rdx+rax]
	movsx	eax, al
	mov	edi, eax
	call	follow
.L52:
	add	DWORD PTR -4[rbp], 1
.L51:
	cmp	DWORD PTR -4[rbp], 9
	jle	.L54
	add	DWORD PTR -8[rbp], 1
.L50:
	cmp	DWORD PTR -8[rbp], 9
	jle	.L55
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	follow, .-follow
	.globl	findfirst
	.type	findfirst, @function
findfirst:
.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, 32
	mov	eax, edi
	mov	DWORD PTR -24[rbp], esi
	mov	DWORD PTR -28[rbp], edx
	mov	BYTE PTR -20[rbp], al
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	movsx	rax, BYTE PTR -20[rbp]
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 256
	test	eax, eax
	jne	.L57
	mov	eax, DWORD PTR n[rip]
	lea	edx, 1[rax]
	mov	DWORD PTR n[rip], edx
	cdqe
	lea	rcx, first[rip]
	movzx	edx, BYTE PTR -20[rbp]
	mov	BYTE PTR [rax+rcx], dl
.L57:
	mov	DWORD PTR -4[rbp], 0
	jmp	.L58
.L66:
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	mov	rdx, rax
	lea	rax, production[rip]
	movzx	eax, BYTE PTR [rdx+rax]
	cmp	BYTE PTR -20[rbp], al
	jne	.L59
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	mov	rdx, rax
	lea	rax, production[rip+2]
	movzx	eax, BYTE PTR [rdx+rax]
	cmp	al, 35
	jne	.L60
	mov	eax, DWORD PTR -28[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -24[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	lea	rdx, [rax+rcx]
	lea	rax, production[rip]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L61
	mov	eax, DWORD PTR n[rip]
	lea	edx, 1[rax]
	mov	DWORD PTR n[rip], edx
	cdqe
	lea	rdx, first[rip]
	mov	BYTE PTR [rax+rdx], 35
	jmp	.L59
.L61:
	mov	eax, DWORD PTR -28[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -24[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	lea	rdx, [rax+rcx]
	lea	rax, production[rip]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L63
	cmp	DWORD PTR -24[rbp], 0
	jne	.L64
	cmp	DWORD PTR -28[rbp], 0
	je	.L63
.L64:
	mov	eax, DWORD PTR -28[rbp]
	lea	edx, 1[rax]
	mov	eax, DWORD PTR -28[rbp]
	movsx	rsi, eax
	mov	eax, DWORD PTR -24[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 2
	add	rax, rcx
	add	rax, rax
	lea	rcx, [rax+rsi]
	lea	rax, production[rip]
	add	rax, rcx
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	ecx, DWORD PTR -24[rbp]
	mov	esi, ecx
	mov	edi, eax
	call	findfirst
	jmp	.L59
.L63:
	mov	eax, DWORD PTR n[rip]
	lea	edx, 1[rax]
	mov	DWORD PTR n[rip], edx
	cdqe
	lea	rdx, first[rip]
	mov	BYTE PTR [rax+rdx], 35
	jmp	.L59
.L60:
	call	__ctype_b_loc@PLT
	mov	rcx, QWORD PTR [rax]
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	mov	rdx, rax
	lea	rax, production[rip+2]
	movzx	eax, BYTE PTR [rdx+rax]
	movsx	rax, al
	add	rax, rax
	add	rax, rcx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 256
	test	eax, eax
	jne	.L65
	mov	edx, DWORD PTR n[rip]
	lea	eax, 1[rdx]
	mov	DWORD PTR n[rip], eax
	mov	eax, DWORD PTR -4[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 2
	add	rax, rcx
	add	rax, rax
	mov	rcx, rax
	lea	rax, production[rip+2]
	movzx	ecx, BYTE PTR [rcx+rax]
	movsx	rax, edx
	lea	rdx, first[rip]
	mov	BYTE PTR [rax+rdx], cl
	jmp	.L59
.L65:
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	mov	rdx, rax
	lea	rax, production[rip+2]
	movzx	eax, BYTE PTR [rdx+rax]
	movsx	eax, al
	mov	ecx, DWORD PTR -4[rbp]
	mov	edx, 3
	mov	esi, ecx
	mov	edi, eax
	call	findfirst
.L59:
	add	DWORD PTR -4[rbp], 1
.L58:
	mov	eax, DWORD PTR count[rip]
	cmp	DWORD PTR -4[rbp], eax
	jl	.L66
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	findfirst, .-findfirst
	.globl	followfirst
	.type	followfirst, @function
followfirst:
.LFB3:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	eax, edi
	mov	DWORD PTR -24[rbp], esi
	mov	DWORD PTR -28[rbp], edx
	mov	BYTE PTR -20[rbp], al
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	movsx	rax, BYTE PTR -20[rbp]
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 256
	test	eax, eax
	jne	.L68
	mov	eax, DWORD PTR m[rip]
	lea	edx, 1[rax]
	mov	DWORD PTR m[rip], edx
	cdqe
	lea	rcx, f[rip]
	movzx	edx, BYTE PTR -20[rbp]
	mov	BYTE PTR [rax+rcx], dl
	jmp	.L80
.L68:
	mov	DWORD PTR -8[rbp], 0
	mov	DWORD PTR -4[rbp], 1
	mov	DWORD PTR -8[rbp], 0
	jmp	.L70
.L73:
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, calc_first[rip]
	movzx	eax, BYTE PTR [rdx+rax]
	cmp	BYTE PTR -20[rbp], al
	je	.L79
	add	DWORD PTR -8[rbp], 1
.L70:
	mov	eax, DWORD PTR count[rip]
	cmp	DWORD PTR -8[rbp], eax
	jl	.L73
	jmp	.L74
.L79:
	nop
	jmp	.L74
.L78:
	mov	eax, DWORD PTR -4[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	sal	rax, 2
	lea	rdx, [rax+rcx]
	lea	rax, calc_first[rip]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 35
	je	.L75
	mov	edx, DWORD PTR m[rip]
	lea	eax, 1[rdx]
	mov	DWORD PTR m[rip], eax
	mov	eax, DWORD PTR -4[rbp]
	movsx	rsi, eax
	mov	eax, DWORD PTR -8[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 2
	add	rax, rcx
	lea	rcx, 0[0+rax*4]
	add	rax, rcx
	sal	rax, 2
	lea	rcx, [rax+rsi]
	lea	rax, calc_first[rip]
	add	rax, rcx
	movzx	ecx, BYTE PTR [rax]
	movsx	rax, edx
	lea	rdx, f[rip]
	mov	BYTE PTR [rax+rdx], cl
	jmp	.L76
.L75:
	mov	eax, DWORD PTR -28[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -24[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	lea	rdx, [rax+rcx]
	lea	rax, production[rip]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L77
	mov	eax, DWORD PTR -24[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	mov	rdx, rax
	lea	rax, production[rip]
	movzx	eax, BYTE PTR [rdx+rax]
	movsx	eax, al
	mov	edi, eax
	call	follow
	jmp	.L76
.L77:
	mov	eax, DWORD PTR -28[rbp]
	lea	edx, 1[rax]
	mov	eax, DWORD PTR -28[rbp]
	movsx	rsi, eax
	mov	eax, DWORD PTR -24[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 2
	add	rax, rcx
	add	rax, rax
	lea	rcx, [rax+rsi]
	lea	rax, production[rip]
	add	rax, rcx
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	ecx, DWORD PTR -24[rbp]
	mov	esi, ecx
	mov	edi, eax
	call	followfirst
.L76:
	add	DWORD PTR -4[rbp], 1
.L74:
	mov	eax, DWORD PTR -4[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	sal	rax, 2
	lea	rdx, [rax+rcx]
	lea	rax, calc_first[rip]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 33
	jne	.L78
.L80:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	followfirst, .-followfirst
	.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	"403048.c"
	.text
	.comm	count,4,4
	.global	n
	.bss
	.align	2
	.type	n, %object
	.size	n, 4
n:
	.space	4
	.comm	calc_first,1000,4
	.comm	calc_follow,1000,4
	.global	m
	.align	2
	.type	m, %object
	.size	m, 4
m:
	.space	4
	.comm	production,100,4
	.comm	f,10,4
	.comm	first,10,4
	.comm	k,4,4
	.comm	ck,1,1
	.comm	e,4,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"E=TY\000"
	.align	2
.LC1:
	.ascii	"Y=+TY\000"
	.align	2
.LC2:
	.ascii	"Y=#\000"
	.align	2
.LC3:
	.ascii	"T=FX\000"
	.align	2
.LC4:
	.ascii	"X=*FX\000"
	.align	2
.LC5:
	.ascii	"X=#\000"
	.align	2
.LC6:
	.ascii	"F=i\000"
	.align	2
.LC7:
	.ascii	"F=(E)\000"
	.align	2
.LC8:
	.ascii	"\012 First(%c) = { \000"
	.align	2
.LC9:
	.ascii	"%c, \000"
	.align	2
.LC10:
	.ascii	"}\000"
	.align	2
.LC11:
	.ascii	"-----------------------------------------------\012"
	.ascii	"\000"
	.align	2
.LC12:
	.ascii	" Follow(%c) = { \000"
	.align	2
.LC13:
	.ascii	" }\012\000"
	.align	2
.LC14:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 88
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #88
	str	r0, [fp, #-96]
	str	r1, [fp, #-100]
	ldr	r3, .L42
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, sp
	mov	r4, r3
	mov	r3, #0
	str	r3, [fp, #-72]
	mov	r3, #0
	str	r3, [fp, #-76]
	ldr	r3, .L42+4
	mov	r2, #8
	str	r2, [r3]
	ldr	r2, .L42+8
	ldr	r3, .L42+12
	mov	r0, r2
	mov	r1, r3
	mov	r3, #5
	mov	r2, r3
	bl	memcpy
	ldr	r2, .L42+16
	ldr	r3, .L42+20
	mov	r0, r2
	mov	r1, r3
	mov	r3, #6
	mov	r2, r3
	bl	memcpy
	ldr	r2, .L42+24
	ldr	r3, .L42+28
	mov	r0, r2
	mov	r1, r3
	mov	r3, #4
	mov	r2, r3
	bl	memcpy
	ldr	r2, .L42+32
	ldr	r3, .L42+36
	mov	r0, r2
	mov	r1, r3
	mov	r3, #5
	mov	r2, r3
	bl	memcpy
	ldr	r2, .L42+40
	ldr	r3, .L42+44
	mov	r0, r2
	mov	r1, r3
	mov	r3, #6
	mov	r2, r3
	bl	memcpy
	ldr	r2, .L42+48
	ldr	r3, .L42+52
	mov	r0, r2
	mov	r1, r3
	mov	r3, #4
	mov	r2, r3
	bl	memcpy
	ldr	r2, .L42+56
	ldr	r3, .L42+60
	mov	r0, r2
	mov	r1, r3
	mov	r3, #4
	mov	r2, r3
	bl	memcpy
	ldr	r2, .L42+64
	ldr	r3, .L42+68
	mov	r0, r2
	mov	r1, r3
	mov	r3, #6
	mov	r2, r3
	bl	memcpy
	ldr	r3, .L42+4
	ldr	ip, [r3]
	sub	r3, ip, #1
	str	r3, [fp, #-32]
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #3
	orr	r3, r3, r0, lsr #29
	lsl	r2, r0, #3
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #3
	orr	r3, r3, r0, lsr #29
	lsl	r2, r0, #3
	mov	r3, ip
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	mov	r3, sp
	add	r3, r3, #0
	str	r3, [fp, #-28]
	mvn	r3, #0
	str	r3, [fp, #-68]
	ldr	r3, .L42+72
	mov	r2, #0
	str	r2, [r3]
	b	.L2
.L5:
	mov	r3, #0
	str	r3, [fp, #-84]
	b	.L3
.L4:
	ldr	r3, .L42+72
	ldr	r2, [r3]
	ldr	r1, .L42+76
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r2, r1, r3
	ldr	r3, [fp, #-84]
	add	r3, r2, r3
	mov	r2, #33
	strb	r2, [r3]
	ldr	r3, [fp, #-84]
	add	r3, r3, #1
	str	r3, [fp, #-84]
.L3:
	ldr	r3, [fp, #-84]
	cmp	r3, #99
	ble	.L4
	ldr	r3, .L42+72
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L42+72
	str	r3, [r2]
.L2:
	ldr	r3, .L42+72
	ldr	r2, [r3]
	ldr	r3, .L42+4
	ldr	r3, [r3]
	cmp	r2, r3
	blt	.L5
	mov	r3, #0
	str	r3, [fp, #-64]
	ldr	r3, .L42+72
	mov	r2, #0
	str	r2, [r3]
	b	.L6
.L19:
	ldr	r3, .L42+72
	ldr	r2, [r3]
	ldr	r1, .L42+8
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r1, r3
	ldrb	r3, [r3]
	strb	r3, [fp, #-85]
	mov	r3, #0
	str	r3, [fp, #-60]
	mov	r3, #0
	str	r3, [fp, #-56]
	mov	r3, #0
	str	r3, [fp, #-84]
	b	.L7
.L9:
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-84]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	ldrb	r2, [fp, #-85]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L8
	mov	r3, #1
	str	r3, [fp, #-56]
.L8:
	ldr	r3, [fp, #-84]
	add	r3, r3, #1
	str	r3, [fp, #-84]
.L7:
	ldr	r2, [fp, #-84]
	ldr	r3, [fp, #-68]
	cmp	r2, r3
	ble	.L9
	ldr	r3, [fp, #-56]
	cmp	r3, #1
	beq	.L40
	ldrb	r3, [fp, #-85]	@ zero_extendqisi2
	mov	r2, #0
	mov	r1, #0
	mov	r0, r3
	bl	findfirst
	ldr	r3, [fp, #-68]
	add	r3, r3, #1
	str	r3, [fp, #-68]
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-68]
	add	r3, r2, r3
	ldrb	r2, [fp, #-85]
	strb	r2, [r3]
	ldrb	r3, [fp, #-85]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, .L42+80
	bl	printf
	ldr	r2, [fp, #-60]
	add	r3, r2, #1
	str	r3, [fp, #-60]
	ldr	r0, .L42+76
	ldr	r1, [fp, #-64]
	mov	r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	lsl	r1, r3, #2
	add	r3, r3, r1
	lsl	r3, r3, #2
	add	r3, r0, r3
	add	r3, r3, r2
	ldrb	r2, [fp, #-85]
	strb	r2, [r3]
	ldr	r3, [fp, #-72]
	str	r3, [fp, #-80]
	b	.L12
.L18:
	mov	r3, #0
	str	r3, [fp, #-52]
	mov	r3, #0
	str	r3, [fp, #-48]
	mov	r3, #0
	str	r3, [fp, #-52]
	b	.L13
.L16:
	ldr	r2, .L42+84
	ldr	r3, [fp, #-80]
	add	r3, r2, r3
	ldrb	r1, [r3]	@ zero_extendqisi2
	ldr	r0, .L42+76
	ldr	r2, [fp, #-64]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r2, r0, r3
	ldr	r3, [fp, #-52]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r1, r3
	bne	.L14
	mov	r3, #1
	str	r3, [fp, #-48]
	b	.L15
.L14:
	ldr	r3, [fp, #-52]
	add	r3, r3, #1
	str	r3, [fp, #-52]
.L13:
	ldr	r2, [fp, #-52]
	ldr	r3, [fp, #-60]
	cmp	r2, r3
	blt	.L16
.L15:
	ldr	r3, [fp, #-48]
	cmp	r3, #0
	bne	.L17
	ldr	r2, .L42+84
	ldr	r3, [fp, #-80]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, .L42+88
	bl	printf
	ldr	r2, [fp, #-60]
	add	r3, r2, #1
	str	r3, [fp, #-60]
	ldr	r1, .L42+84
	ldr	r3, [fp, #-80]
	add	r3, r1, r3
	ldrb	ip, [r3]	@ zero_extendqisi2
	ldr	r0, .L42+76
	ldr	r1, [fp, #-64]
	mov	r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	lsl	r1, r3, #2
	add	r3, r3, r1
	lsl	r3, r3, #2
	add	r3, r0, r3
	add	r3, r3, r2
	mov	r2, ip
	strb	r2, [r3]
.L17:
	ldr	r3, [fp, #-80]
	add	r3, r3, #1
	str	r3, [fp, #-80]
.L12:
	ldr	r3, .L42+92
	ldr	r3, [r3]
	ldr	r2, [fp, #-80]
	cmp	r2, r3
	blt	.L18
	ldr	r0, .L42+96
	bl	puts
	ldr	r3, .L42+92
	ldr	r3, [r3]
	str	r3, [fp, #-72]
	ldr	r3, [fp, #-64]
	add	r3, r3, #1
	str	r3, [fp, #-64]
	b	.L11
.L40:
	nop
.L11:
	ldr	r3, .L42+72
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L42+72
	str	r3, [r2]
.L6:
	ldr	r3, .L42+72
	ldr	r2, [r3]
	ldr	r3, .L42+4
	ldr	r3, [r3]
	cmp	r2, r3
	blt	.L19
	mov	r0, #10
	bl	putchar
	ldr	r0, .L42+100
	bl	puts
	ldr	r3, .L42+4
	ldr	ip, [r3]
	mov	r3, sp
	mov	r5, r3
	sub	r3, ip, #1
	str	r3, [fp, #-24]
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #3
	orr	r3, r3, r0, lsr #29
	lsl	r2, r0, #3
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #3
	orr	r3, r3, r0, lsr #29
	lsl	r2, r0, #3
	mov	r3, ip
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	mov	r3, sp
	add	r3, r3, #0
	str	r3, [fp, #-20]
	mvn	r3, #0
	str	r3, [fp, #-68]
	ldr	r3, .L42+72
	mov	r2, #0
	str	r2, [r3]
	b	.L20
.L23:
	mov	r3, #0
	str	r3, [fp, #-84]
	b	.L21
.L22:
	ldr	r3, .L42+72
	ldr	r2, [r3]
	ldr	r1, .L42+104
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r2, r1, r3
	ldr	r3, [fp, #-84]
	add	r3, r2, r3
	mov	r2, #33
	strb	r2, [r3]
	ldr	r3, [fp, #-84]
	add	r3, r3, #1
	str	r3, [fp, #-84]
.L21:
	ldr	r3, [fp, #-84]
	cmp	r3, #99
	ble	.L22
	ldr	r3, .L42+72
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L42+72
	str	r3, [r2]
.L20:
	ldr	r3, .L42+72
	ldr	r2, [r3]
	ldr	r3, .L42+4
	ldr	r3, [r3]
	cmp	r2, r3
	blt	.L23
	mov	r3, #0
	str	r3, [fp, #-64]
	mov	r3, #0
	str	r3, [fp, #-44]
	ldr	r3, .L42+108
	mov	r2, #0
	str	r2, [r3]
	b	.L24
.L37:
	ldr	r3, .L42+108
	ldr	r2, [r3]
	ldr	r1, .L42+8
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r1, r3
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r3, .L42+112
	strb	r2, [r3]
	mov	r3, #0
	str	r3, [fp, #-60]
	mov	r3, #0
	str	r3, [fp, #-56]
	mov	r3, #0
	str	r3, [fp, #-84]
	b	.L25
.L27:
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-84]
	add	r3, r2, r3
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r3, .L42+112
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L26
	mov	r3, #1
	str	r3, [fp, #-56]
.L26:
	ldr	r3, [fp, #-84]
	add	r3, r3, #1
	str	r3, [fp, #-84]
.L25:
	ldr	r2, [fp, #-84]
	ldr	r3, [fp, #-68]
	cmp	r2, r3
	ble	.L27
	ldr	r3, [fp, #-56]
	cmp	r3, #1
	beq	.L41
	ldr	r3, [fp, #-44]
	add	r3, r3, #1
	str	r3, [fp, #-44]
	ldr	r3, .L42+112
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	bl	follow
	ldr	r3, [fp, #-68]
	add	r3, r3, #1
	str	r3, [fp, #-68]
	ldr	r3, .L42+112
	ldrb	r1, [r3]	@ zero_extendqisi2
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-68]
	add	r3, r2, r3
	mov	r2, r1
	strb	r2, [r3]
	ldr	r3, .L42+112
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, .L42+116
	bl	printf
	ldr	r2, [fp, #-60]
	add	r3, r2, #1
	str	r3, [fp, #-60]
	ldr	r3, .L42+112
	ldrb	ip, [r3]	@ zero_extendqisi2
	ldr	r0, .L42+104
	ldr	r1, [fp, #-64]
	mov	r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	lsl	r1, r3, #2
	add	r3, r3, r1
	lsl	r3, r3, #2
	add	r3, r0, r3
	add	r3, r3, r2
	mov	r2, ip
	strb	r2, [r3]
	ldr	r3, [fp, #-76]
	str	r3, [fp, #-80]
	b	.L30
.L36:
	mov	r3, #0
	str	r3, [fp, #-40]
	mov	r3, #0
	str	r3, [fp, #-36]
	mov	r3, #0
	str	r3, [fp, #-40]
	b	.L31
.L34:
	ldr	r2, .L42+120
	ldr	r3, [fp, #-80]
	add	r3, r2, r3
	ldrb	r1, [r3]	@ zero_extendqisi2
	ldr	r0, .L42+104
	ldr	r2, [fp, #-64]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r2, r0, r3
	ldr	r3, [fp, #-40]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r1, r3
	bne	.L32
	mov	r3, #1
	str	r3, [fp, #-36]
	b	.L33
.L32:
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
.L31:
	ldr	r2, [fp, #-40]
	ldr	r3, [fp, #-60]
	cmp	r2, r3
	blt	.L34
.L33:
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	bne	.L35
	ldr	r2, .L42+120
	ldr	r3, [fp, #-80]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, .L42+88
	bl	printf
	ldr	r2, [fp, #-60]
	add	r3, r2, #1
	str	r3, [fp, #-60]
	ldr	r1, .L42+120
	ldr	r3, [fp, #-80]
	add	r3, r1, r3
	ldrb	ip, [r3]	@ zero_extendqisi2
	ldr	r0, .L42+104
	ldr	r1, [fp, #-64]
	mov	r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	lsl	r1, r3, #2
	add	r3, r3, r1
	lsl	r3, r3, #2
	add	r3, r0, r3
	add	r3, r3, r2
	mov	r2, ip
	strb	r2, [r3]
.L35:
	ldr	r3, [fp, #-80]
	add	r3, r3, #1
	str	r3, [fp, #-80]
.L30:
	ldr	r3, .L42+124
	ldr	r3, [r3]
	ldr	r2, [fp, #-80]
	cmp	r2, r3
	blt	.L36
	ldr	r0, .L42+128
	bl	puts
	ldr	r3, .L42+124
	ldr	r3, [r3]
	str	r3, [fp, #-76]
	ldr	r3, [fp, #-64]
	add	r3, r3, #1
	str	r3, [fp, #-64]
	b	.L29
.L41:
	nop
.L29:
	ldr	r3, .L42+108
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L42+108
	str	r3, [r2]
.L24:
	ldr	r3, .L42+108
	ldr	r2, [r3]
	ldr	r3, .L42+4
	ldr	r3, [r3]
	cmp	r2, r3
	blt	.L37
	mov	sp, r5
	mov	sp, r4
	mov	r3, #0
	ldr	r2, .L42
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L39
	bl	__stack_chk_fail
.L39:
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L43:
	.align	2
.L42:
	.word	.LC14
	.word	count
	.word	production
	.word	.LC0
	.word	production+10
	.word	.LC1
	.word	production+20
	.word	.LC2
	.word	production+30
	.word	.LC3
	.word	production+40
	.word	.LC4
	.word	production+50
	.word	.LC5
	.word	production+60
	.word	.LC6
	.word	production+70
	.word	.LC7
	.word	k
	.word	calc_first
	.word	.LC8
	.word	first
	.word	.LC9
	.word	n
	.word	.LC10
	.word	.LC11
	.word	calc_follow
	.word	e
	.word	ck
	.word	.LC12
	.word	f
	.word	m
	.word	.LC13
	.size	main, .-main
	.align	2
	.global	follow
	.syntax unified
	.arm
	.fpu softvfp
	.type	follow, %function
follow:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	mov	r3, r0
	strb	r3, [fp, #-13]
	ldr	r3, .L52
	ldrb	r3, [r3]	@ zero_extendqisi2
	ldrb	r2, [fp, #-13]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L45
	ldr	r3, .L52+4
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r1, .L52+4
	str	r2, [r1]
	ldr	r2, .L52+8
	mov	r1, #36
	strb	r1, [r2, r3]
.L45:
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L46
.L51:
	mov	r3, #2
	str	r3, [fp, #-8]
	b	.L47
.L50:
	ldr	r1, .L52
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r2, r1, r3
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	ldrb	r2, [fp, #-13]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L48
	ldr	r3, [fp, #-8]
	add	r1, r3, #1
	ldr	r0, .L52
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r0, r3
	add	r3, r3, r1
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L49
	ldr	r3, [fp, #-8]
	add	r1, r3, #1
	ldr	r0, .L52
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r0, r3
	add	r3, r3, r1
	ldrb	r0, [r3]	@ zero_extendqisi2
	ldr	r3, [fp, #-8]
	add	r3, r3, #2
	mov	r2, r3
	ldr	r1, [fp, #-12]
	bl	followfirst
.L49:
	ldr	r3, [fp, #-8]
	add	r1, r3, #1
	ldr	r0, .L52
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r0, r3
	add	r3, r3, r1
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L48
	ldr	r1, .L52
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r1, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	ldrb	r2, [fp, #-13]	@ zero_extendqisi2
	cmp	r2, r3
	beq	.L48
	ldr	r1, .L52
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r1, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	bl	follow
.L48:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L47:
	ldr	r3, [fp, #-8]
	cmp	r3, #9
	ble	.L50
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L46:
	ldr	r3, [fp, #-12]
	cmp	r3, #9
	ble	.L51
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L53:
	.align	2
.L52:
	.word	production
	.word	m
	.word	f
	.size	follow, .-follow
	.align	2
	.global	findfirst
	.syntax unified
	.arm
	.fpu softvfp
	.type	findfirst, %function
findfirst:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	mov	r3, r0
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	strb	r3, [fp, #-13]
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #256
	cmp	r3, #0
	bne	.L55
	ldr	r3, .L65
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r1, .L65
	str	r2, [r1]
	ldr	r1, .L65+4
	ldrb	r2, [fp, #-13]
	strb	r2, [r1, r3]
.L55:
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L56
.L64:
	ldr	r1, .L65+8
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r1, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	ldrb	r2, [fp, #-13]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L57
	ldr	r1, .L65+8
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r1, r3
	add	r3, r3, #2
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #35
	bne	.L58
	ldr	r1, .L65+8
	ldr	r2, [fp, #-20]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r2, r1, r3
	ldr	r3, [fp, #-24]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L59
	ldr	r3, .L65
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r1, .L65
	str	r2, [r1]
	ldr	r2, .L65+4
	mov	r1, #35
	strb	r1, [r2, r3]
	b	.L57
.L59:
	ldr	r1, .L65+8
	ldr	r2, [fp, #-20]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r2, r1, r3
	ldr	r3, [fp, #-24]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L61
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bne	.L62
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	beq	.L61
.L62:
	ldr	r1, .L65+8
	ldr	r2, [fp, #-20]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r2, r1, r3
	ldr	r3, [fp, #-24]
	add	r3, r2, r3
	ldrb	r0, [r3]	@ zero_extendqisi2
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	mov	r2, r3
	ldr	r1, [fp, #-20]
	bl	findfirst
	b	.L57
.L61:
	ldr	r3, .L65
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r1, .L65
	str	r2, [r1]
	ldr	r2, .L65+4
	mov	r1, #35
	strb	r1, [r2, r3]
	b	.L57
.L58:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r1, [r3]
	ldr	r0, .L65+8
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r0, r3
	add	r3, r3, #2
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r1, r3
	ldrh	r3, [r3]
	and	r3, r3, #256
	cmp	r3, #0
	bne	.L63
	ldr	r3, .L65
	ldr	r2, [r3]
	add	r3, r2, #1
	ldr	r1, .L65
	str	r3, [r1]
	ldr	r0, .L65+8
	ldr	r1, [fp, #-8]
	mov	r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	lsl	r3, r3, #1
	add	r3, r0, r3
	add	r3, r3, #2
	ldrb	r1, [r3]	@ zero_extendqisi2
	ldr	r3, .L65+4
	strb	r1, [r3, r2]
	b	.L57
.L63:
	ldr	r1, .L65+8
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r1, r3
	add	r3, r3, #2
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, #3
	ldr	r1, [fp, #-8]
	mov	r0, r3
	bl	findfirst
.L57:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L56:
	ldr	r3, .L65+12
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	blt	.L64
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L66:
	.align	2
.L65:
	.word	n
	.word	first
	.word	production
	.word	count
	.size	findfirst, .-findfirst
	.align	2
	.global	followfirst
	.syntax unified
	.arm
	.fpu softvfp
	.type	followfirst, %function
followfirst:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	mov	r3, r0
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	strb	r3, [fp, #-13]
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #256
	cmp	r3, #0
	bne	.L68
	ldr	r3, .L81
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r1, .L81
	str	r2, [r1]
	ldr	r1, .L81+4
	ldrb	r2, [fp, #-13]
	strb	r2, [r1, r3]
	b	.L80
.L68:
	mov	r3, #0
	str	r3, [fp, #-12]
	mov	r3, #1
	str	r3, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L70
.L73:
	ldr	r1, .L81+8
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	ldrb	r2, [fp, #-13]	@ zero_extendqisi2
	cmp	r2, r3
	beq	.L79
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L70:
	ldr	r3, .L81+12
	ldr	r3, [r3]
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	blt	.L73
	b	.L74
.L79:
	nop
	b	.L74
.L78:
	ldr	r1, .L81+8
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r2, r1, r3
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #35
	beq	.L75
	ldr	r3, .L81
	ldr	r2, [r3]
	add	r3, r2, #1
	ldr	r1, .L81
	str	r3, [r1]
	ldr	r0, .L81+8
	ldr	r1, [fp, #-12]
	mov	r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	lsl	r1, r3, #2
	add	r3, r3, r1
	lsl	r3, r3, #2
	add	r1, r0, r3
	ldr	r3, [fp, #-8]
	add	r3, r1, r3
	ldrb	r1, [r3]	@ zero_extendqisi2
	ldr	r3, .L81+4
	strb	r1, [r3, r2]
	b	.L76
.L75:
	ldr	r1, .L81+16
	ldr	r2, [fp, #-20]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r2, r1, r3
	ldr	r3, [fp, #-24]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L77
	ldr	r1, .L81+16
	ldr	r2, [fp, #-20]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r1, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	bl	follow
	b	.L76
.L77:
	ldr	r1, .L81+16
	ldr	r2, [fp, #-20]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r2, r1, r3
	ldr	r3, [fp, #-24]
	add	r3, r2, r3
	ldrb	r0, [r3]	@ zero_extendqisi2
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	mov	r2, r3
	ldr	r1, [fp, #-20]
	bl	followfirst
.L76:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L74:
	ldr	r1, .L81+8
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r2, r1, r3
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #33
	bne	.L78
.L80:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L82:
	.align	2
.L81:
	.word	m
	.word	f
	.word	calc_first
	.word	count
	.word	production
	.size	followfirst, .-followfirst
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
