	.file	"100141330.c"
	.intel_syntax noprefix
	.text
	.globl	filename
	.section	.rodata
.LC0:
	.string	"test9"
	.section	.data.rel.local,"aw"
	.align 8
	.type	filename, @object
	.size	filename, 8
filename:
	.quad	.LC0
	.globl	tag
	.section	.rodata
.LC1:
	.string	"globaliz*"
	.section	.data.rel.local
	.align 8
	.type	tag, @object
	.size	tag, 8
tag:
	.quad	.LC1
	.globl	taga
	.align 8
	.type	taga, @object
	.size	taga, 8
taga:
	.quad	.LC1
	.globl	tagb
	.section	.rodata
.LC2:
	.string	"trade"
	.section	.data.rel.local
	.align 8
	.type	tagb, @object
	.size	tagb, 8
tagb:
	.quad	.LC2
	.globl	bigstring
	.bss
	.align 32
	.type	bigstring, @object
	.size	bigstring, 18000000
bigstring:
	.zero	18000000
	.globl	letter
	.align 4
	.type	letter, @object
	.size	letter, 4
letter:
	.zero	4
	.globl	numprogs
	.align 4
	.type	numprogs, @object
	.size	numprogs, 4
numprogs:
	.zero	4
	.globl	headers
	.align 32
	.type	headers, @object
	.size	headers, 200000
headers:
	.zero	200000
	.globl	titles
	.align 32
	.type	titles, @object
	.size	titles, 12500
titles:
	.zero	12500
	.globl	wordnum
	.align 32
	.type	wordnum, @object
	.size	wordnum, 1000
wordnum:
	.zero	1000
	.globl	titlens
	.align 32
	.type	titlens, @object
	.size	titlens, 1000
titlens:
	.zero	1000
	.globl	titlenums
	.align 32
	.type	titlenums, @object
	.size	titlenums, 1000
titlenums:
	.zero	1000
	.globl	table
	.align 32
	.type	table, @object
	.size	table, 40000000
table:
	.zero	40000000
	.globl	LEN
	.align 4
	.type	LEN, @object
	.size	LEN, 4
LEN:
	.zero	4
	.globl	hlen
	.align 4
	.type	hlen, @object
	.size	hlen, 4
hlen:
	.zero	4
	.globl	title
	.align 32
	.type	title, @object
	.size	title, 50
title:
	.zero	50
	.globl	titlearray
	.align 32
	.type	titlearray, @object
	.size	titlearray, 20000
titlearray:
	.zero	20000
	.globl	maxid
	.align 4
	.type	maxid, @object
	.size	maxid, 4
maxid:
	.zero	4
	.globl	date
	.align 16
	.type	date, @object
	.size	date, 25
date:
	.zero	25
	.globl	titlen
	.align 4
	.type	titlen, @object
	.size	titlen, 4
titlen:
	.zero	4
	.globl	datlen
	.align 4
	.type	datlen, @object
	.size	datlen, 4
datlen:
	.zero	4
	.globl	n1
	.align 4
	.type	n1, @object
	.size	n1, 4
n1:
	.zero	4
	.globl	pri
	.align 32
	.type	pri, @object
	.size	pri, 804
pri:
	.zero	804
	.globl	sec
	.align 32
	.type	sec, @object
	.size	sec, 804
sec:
	.zero	804
	.globl	ter
	.align 32
	.type	ter, @object
	.size	ter, 804
ter:
	.zero	804
	.section	.rodata
.LC3:
	.string	"r"
	.align 8
.LC4:
	.string	"\nWarning: file exceeded %d chars\n"
	.text
	.globl	getstring
	.type	getstring, @function
getstring:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -12[rbp], 0
	mov	BYTE PTR -14[rbp], 0
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -8[rbp], rax
	jmp	.L2
.L6:
	cmp	BYTE PTR -13[rbp], -61
	jne	.L3
	mov	eax, DWORD PTR numprogs[rip]
	add	eax, 1
	mov	DWORD PTR numprogs[rip], eax
.L3:
	cmp	DWORD PTR -12[rbp], 0
	jle	.L4
	movsx	eax, BYTE PTR -13[rbp]
	mov	edi, eax
	call	text
	test	al, al
	jne	.L4
	movsx	eax, BYTE PTR -14[rbp]
	mov	edi, eax
	call	text
	test	al, al
	je	.L4
	mov	eax, DWORD PTR -12[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -12[rbp], edx
	cdqe
	lea	rdx, bigstring[rip]
	mov	BYTE PTR [rax+rdx], 0
.L4:
	mov	eax, DWORD PTR -12[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -12[rbp], edx
	cdqe
	lea	rcx, bigstring[rip]
	movzx	edx, BYTE PTR -13[rbp]
	mov	BYTE PTR [rax+rcx], dl
	movzx	eax, BYTE PTR -13[rbp]
	mov	BYTE PTR -14[rbp], al
	cmp	DWORD PTR -12[rbp], 17999999
	jle	.L2
	mov	eax, DWORD PTR -12[rbp]
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L5
.L2:
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	getc@PLT
	mov	BYTE PTR -13[rbp], al
	cmp	BYTE PTR -13[rbp], -1
	jne	.L6
.L5:
	mov	eax, DWORD PTR -12[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -12[rbp], edx
	cdqe
	lea	rdx, bigstring[rip]
	mov	BYTE PTR [rax+rdx], -61
	mov	eax, DWORD PTR -12[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -12[rbp], edx
	cdqe
	lea	rdx, bigstring[rip]
	mov	BYTE PTR [rax+rdx], -1
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, DWORD PTR -12[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	getstring, .-getstring
	.globl	parseprogs
	.type	parseprogs, @function
parseprogs:
.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	DWORD PTR -20[rbp], edi
	mov	DWORD PTR -4[rbp], 0
	mov	eax, DWORD PTR -20[rbp]
	mov	DWORD PTR letter[rip], eax
	mov	DWORD PTR -4[rbp], 0
	jmp	.L9
.L12:
	mov	eax, DWORD PTR -4[rbp]
	mov	edi, eax
	call	readheader
	mov	DWORD PTR -8[rbp], eax
	mov	eax, DWORD PTR hlen[rip]
	cmp	eax, -1
	je	.L10
	mov	eax, DWORD PTR -4[rbp]
	mov	edi, eax
	call	readbody
	mov	edx, DWORD PTR -4[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*4]
	lea	rdx, wordnum[rip]
	mov	DWORD PTR [rcx+rdx], eax
.L10:
	add	DWORD PTR -4[rbp], 1
.L9:
	mov	eax, DWORD PTR numprogs[rip]
	cmp	DWORD PTR -4[rbp], eax
	jge	.L11
	cmp	DWORD PTR -8[rbp], -1
	jne	.L12
.L11:
	mov	eax, DWORD PTR -4[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	parseprogs, .-parseprogs
	.section	.rodata
.LC5:
	.string	"\nEOF at letter %d"
	.align 8
.LC6:
	.string	"\nWarning: maximum header length exceeded at letter = %d and hstart = %d\n"
	.text
	.globl	readheader
	.type	readheader, @function
readheader:
.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	DWORD PTR -20[rbp], edi
	mov	eax, DWORD PTR letter[rip]
	mov	DWORD PTR -4[rbp], eax
	jmp	.L15
.L17:
	mov	eax, DWORD PTR letter[rip]
	lea	edx, 1[rax]
	mov	DWORD PTR letter[rip], edx
	sub	eax, DWORD PTR -4[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	sal	rax, 5
	lea	rdx, [rax+rcx]
	lea	rax, headers[rip]
	add	rdx, rax
	movzx	eax, BYTE PTR -9[rbp]
	mov	BYTE PTR [rdx], al
.L15:
	mov	eax, DWORD PTR letter[rip]
	cdqe
	lea	rdx, bigstring[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	mov	BYTE PTR -9[rbp], al
	cmp	BYTE PTR -9[rbp], -1
	je	.L16
	cmp	BYTE PTR -9[rbp], 61
	je	.L16
	mov	eax, DWORD PTR -4[rbp]
	lea	edx, 799[rax]
	mov	eax, DWORD PTR letter[rip]
	cmp	edx, eax
	jge	.L17
.L16:
	cmp	BYTE PTR -9[rbp], -1
	jne	.L18
	mov	eax, DWORD PTR letter[rip]
	mov	esi, eax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -8[rbp], -1
	jmp	.L19
.L18:
	mov	eax, DWORD PTR letter[rip]
	lea	edx, 1[rax]
	mov	DWORD PTR letter[rip], edx
	sub	eax, DWORD PTR -4[rbp]
	cmp	eax, 799
	jle	.L20
	mov	eax, DWORD PTR letter[rip]
	mov	edx, DWORD PTR -4[rbp]
	mov	esi, eax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -8[rbp], 800
	jmp	.L19
.L20:
	mov	eax, DWORD PTR letter[rip]
	sub	eax, DWORD PTR -4[rbp]
	mov	DWORD PTR -8[rbp], eax
	mov	eax, DWORD PTR -8[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	sal	rax, 5
	lea	rdx, [rax+rcx]
	lea	rax, headers[rip]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	mov	eax, DWORD PTR -20[rbp]
	mov	edi, eax
	call	striptitle
	mov	edx, DWORD PTR -20[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*4]
	lea	rdx, titlens[rip]
	mov	DWORD PTR [rcx+rdx], eax
	mov	eax, DWORD PTR -20[rbp]
	mov	edi, eax
	call	idmatch
	mov	edx, DWORD PTR -20[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*4]
	lea	rdx, titlenums[rip]
	mov	DWORD PTR [rcx+rdx], eax
.L19:
	mov	eax, DWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	readheader, .-readheader
	.globl	printtitle
	.type	printtitle, @function
printtitle:
.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	DWORD PTR -20[rbp], edi
	mov	DWORD PTR -4[rbp], 0
	jmp	.L23
.L25:
	mov	eax, DWORD PTR -4[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	add	rax, rax
	lea	rdx, [rax+rcx]
	lea	rax, titles[rip]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR -5[rbp], al
	cmp	BYTE PTR -5[rbp], 0
	je	.L24
	movsx	eax, BYTE PTR -5[rbp]
	mov	edi, eax
	call	putchar@PLT
.L24:
	add	DWORD PTR -4[rbp], 1
.L23:
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, titlens[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cmp	DWORD PTR -4[rbp], eax
	jl	.L25
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	printtitle, .-printtitle
	.globl	striptitle
	.type	striptitle, @function
striptitle:
.LFB4:
	.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	DWORD PTR -20[rbp], edi
	mov	DWORD PTR -12[rbp], 0
	nop
.L27:
	mov	eax, DWORD PTR -12[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -12[rbp], edx
	movsx	rcx, eax
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	sal	rax, 5
	lea	rdx, [rax+rcx]
	lea	rax, headers[rip]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 58
	jne	.L27
	jmp	.L28
.L29:
	add	DWORD PTR -12[rbp], 1
.L28:
	mov	eax, DWORD PTR -12[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	sal	rax, 5
	lea	rdx, [rax+rcx]
	lea	rax, headers[rip]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	edi, eax
	call	text
	test	al, al
	je	.L29
	mov	eax, DWORD PTR -12[rbp]
	mov	DWORD PTR -8[rbp], eax
	jmp	.L30
.L31:
	mov	eax, DWORD PTR -12[rbp]
	sub	eax, DWORD PTR -8[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	add	rax, rax
	lea	rdx, [rax+rcx]
	lea	rax, titles[rip]
	add	rdx, rax
	movzx	eax, BYTE PTR -13[rbp]
	mov	BYTE PTR [rdx], al
	add	DWORD PTR -12[rbp], 1
.L30:
	mov	eax, DWORD PTR -12[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	sal	rax, 5
	lea	rdx, [rax+rcx]
	lea	rax, headers[rip]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR -13[rbp], al
	cmp	BYTE PTR -13[rbp], 10
	jne	.L31
	mov	eax, DWORD PTR -12[rbp]
	sub	eax, DWORD PTR -8[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	add	rax, rax
	lea	rdx, [rax+rcx]
	lea	rax, titles[rip]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	mov	eax, DWORD PTR -12[rbp]
	sub	eax, DWORD PTR -8[rbp]
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -4[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE4:
	.size	striptitle, .-striptitle
	.globl	readbody
	.type	readbody, @function
readbody:
.LFB5:
	.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	DWORD PTR -20[rbp], edi
	mov	DWORD PTR -4[rbp], 0
	mov	eax, DWORD PTR letter[rip]
	cdqe
	lea	rdx, bigstring[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	mov	BYTE PTR -6[rbp], al
	mov	eax, DWORD PTR letter[rip]
	add	eax, 1
	mov	DWORD PTR letter[rip], eax
	jmp	.L34
.L37:
	movsx	eax, BYTE PTR -5[rbp]
	mov	edi, eax
	call	text
	test	al, al
	je	.L35
	movsx	eax, BYTE PTR -6[rbp]
	mov	edi, eax
	call	text
	test	al, al
	jne	.L35
	mov	eax, DWORD PTR letter[rip]
	cdqe
	lea	rdx, bigstring[rip]
	lea	rcx, [rax+rdx]
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	imul	rax, rax, 20000
	add	rax, rdx
	lea	rdx, 0[0+rax*8]
	lea	rax, table[rip]
	mov	QWORD PTR [rdx+rax], rcx
	add	DWORD PTR -4[rbp], 1
.L35:
	movzx	eax, BYTE PTR -5[rbp]
	mov	BYTE PTR -6[rbp], al
	mov	eax, DWORD PTR letter[rip]
	add	eax, 1
	mov	DWORD PTR letter[rip], eax
.L34:
	mov	eax, DWORD PTR letter[rip]
	cdqe
	lea	rdx, bigstring[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	mov	BYTE PTR -5[rbp], al
	cmp	BYTE PTR -5[rbp], -61
	je	.L36
	cmp	BYTE PTR -5[rbp], -1
	jne	.L37
.L36:
	mov	eax, DWORD PTR -4[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE5:
	.size	readbody, .-readbody
	.globl	text
	.type	text, @function
text:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, edi
	mov	BYTE PTR -20[rbp], al
	cmp	BYTE PTR -20[rbp], 64
	jle	.L40
	cmp	BYTE PTR -20[rbp], 90
	jle	.L41
.L40:
	cmp	BYTE PTR -20[rbp], 96
	jle	.L42
	cmp	BYTE PTR -20[rbp], 122
	jg	.L42
.L41:
	cmp	BYTE PTR -20[rbp], 96
	jg	.L43
	mov	edx, 32
	jmp	.L44
.L43:
	mov	edx, 0
.L44:
	movzx	eax, BYTE PTR -20[rbp]
	add	eax, edx
	mov	BYTE PTR -1[rbp], al
	jmp	.L45
.L42:
	cmp	BYTE PTR -20[rbp], 39
	jne	.L46
	mov	BYTE PTR -1[rbp], 39
	jmp	.L45
.L46:
	cmp	BYTE PTR -20[rbp], 45
	jne	.L47
	mov	BYTE PTR -1[rbp], 45
	jmp	.L45
.L47:
	cmp	BYTE PTR -20[rbp], -1
	jne	.L48
	mov	BYTE PTR -1[rbp], -1
	jmp	.L45
.L48:
	cmp	BYTE PTR -20[rbp], 47
	jle	.L49
	cmp	BYTE PTR -20[rbp], 57
	jg	.L49
	movzx	eax, BYTE PTR -20[rbp]
	mov	BYTE PTR -1[rbp], al
	jmp	.L45
.L49:
	mov	BYTE PTR -1[rbp], 0
.L45:
	movzx	eax, BYTE PTR -1[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	text, .-text
	.globl	wildcmp
	.type	wildcmp, @function
wildcmp:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 32
	.cfi_offset 3, -24
	mov	QWORD PTR -32[rbp], rdi
	mov	QWORD PTR -40[rbp], rsi
	mov	DWORD PTR -12[rbp], 0
.L57:
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 42
	jne	.L52
	mov	eax, 0
	jmp	.L53
.L52:
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L54
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L55
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 10
	jne	.L54
.L55:
	mov	eax, 0
	jmp	.L53
.L54:
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	movzx	ebx, BYTE PTR [rax]
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	edi, eax
	call	text
	cmp	bl, al
	je	.L56
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	edx, DWORD PTR -12[rbp]
	movsx	rcx, edx
	mov	rdx, QWORD PTR -40[rbp]
	add	rdx, rcx
	movzx	edx, BYTE PTR [rdx]
	movsx	edx, dl
	sub	eax, edx
	jmp	.L53
.L56:
	add	DWORD PTR -12[rbp], 1
	jmp	.L57
.L53:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	wildcmp, .-wildcmp
	.globl	find
	.type	find, @function
find:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 40
	mov	DWORD PTR -20[rbp], edi
	mov	QWORD PTR -32[rbp], rsi
	mov	QWORD PTR -40[rbp], rdx
	mov	DWORD PTR -8[rbp], 0
	mov	DWORD PTR -4[rbp], 0
	jmp	.L59
.L62:
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	imul	rax, rax, 20000
	add	rax, rdx
	lea	rdx, 0[0+rax*8]
	lea	rax, table[rip]
	mov	rdx, QWORD PTR [rdx+rax]
	mov	rax, QWORD PTR -32[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	wildcmp
	test	eax, eax
	jne	.L60
	add	DWORD PTR -4[rbp], 1
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -40[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -8[rbp]
	mov	DWORD PTR [rdx], eax
.L60:
	add	DWORD PTR -8[rbp], 1
.L59:
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, wordnum[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cmp	DWORD PTR -8[rbp], eax
	jge	.L61
	cmp	DWORD PTR -4[rbp], 200
	jle	.L62
.L61:
	cmp	DWORD PTR -4[rbp], 0
	jne	.L63
	mov	DWORD PTR -4[rbp], -1
.L63:
	mov	rax, QWORD PTR -40[rbp]
	mov	edx, DWORD PTR -4[rbp]
	mov	DWORD PTR [rax], edx
	mov	eax, DWORD PTR -4[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	find, .-find
	.globl	near
	.type	near, @function
near:
.LFB9:
	.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	DWORD PTR -36[rbp], edi
	mov	DWORD PTR -40[rbp], esi
	mov	QWORD PTR -48[rbp], rdx
	mov	QWORD PTR -56[rbp], rcx
	mov	QWORD PTR -64[rbp], r8
	mov	DWORD PTR -24[rbp], 0
	mov	DWORD PTR -20[rbp], 0
	mov	DWORD PTR -16[rbp], 0
	mov	DWORD PTR -12[rbp], 0
	jmp	.L66
.L76:
	mov	eax, DWORD PTR -16[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	imul	rax, rax, 20000
	add	rax, rdx
	lea	rdx, 0[0+rax*8]
	lea	rax, table[rip]
	mov	rdx, QWORD PTR [rdx+rax]
	mov	rax, QWORD PTR -48[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	wildcmp
	mov	DWORD PTR -8[rbp], eax
	mov	eax, DWORD PTR -16[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	imul	rax, rax, 20000
	add	rax, rdx
	lea	rdx, 0[0+rax*8]
	lea	rax, table[rip]
	mov	rdx, QWORD PTR [rdx+rax]
	mov	rax, QWORD PTR -56[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	wildcmp
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -24[rbp], 0
	jne	.L67
	cmp	DWORD PTR -8[rbp], 0
	jne	.L68
	mov	DWORD PTR -24[rbp], 1
	mov	eax, DWORD PTR -16[rbp]
	mov	DWORD PTR -20[rbp], eax
	jmp	.L69
.L68:
	cmp	DWORD PTR -4[rbp], 0
	jne	.L69
	mov	DWORD PTR -24[rbp], 2
	mov	eax, DWORD PTR -16[rbp]
	mov	DWORD PTR -20[rbp], eax
	jmp	.L69
.L67:
	cmp	DWORD PTR -24[rbp], 1
	jne	.L70
	cmp	DWORD PTR -4[rbp], 0
	jne	.L71
	add	DWORD PTR -12[rbp], 1
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -64[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -20[rbp]
	mov	DWORD PTR [rdx], eax
	add	DWORD PTR -12[rbp], 1
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -64[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -16[rbp]
	mov	DWORD PTR [rdx], eax
	mov	DWORD PTR -24[rbp], 0
	jmp	.L69
.L71:
	cmp	DWORD PTR -8[rbp], 0
	jne	.L72
	mov	eax, DWORD PTR -16[rbp]
	mov	DWORD PTR -20[rbp], eax
	jmp	.L69
.L72:
	mov	eax, DWORD PTR -16[rbp]
	sub	eax, DWORD PTR -20[rbp]
	cmp	DWORD PTR -40[rbp], eax
	jne	.L69
	mov	DWORD PTR -24[rbp], 0
	jmp	.L69
.L70:
	cmp	DWORD PTR -24[rbp], 2
	jne	.L69
	cmp	DWORD PTR -8[rbp], 0
	jne	.L73
	add	DWORD PTR -12[rbp], 1
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -64[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -20[rbp]
	mov	DWORD PTR [rdx], eax
	add	DWORD PTR -12[rbp], 1
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -64[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -16[rbp]
	mov	DWORD PTR [rdx], eax
	mov	DWORD PTR -24[rbp], 0
	jmp	.L69
.L73:
	cmp	DWORD PTR -4[rbp], 0
	jne	.L74
	mov	eax, DWORD PTR -16[rbp]
	mov	DWORD PTR -20[rbp], eax
	jmp	.L69
.L74:
	mov	eax, DWORD PTR -16[rbp]
	sub	eax, DWORD PTR -20[rbp]
	cmp	DWORD PTR -40[rbp], eax
	jne	.L69
	mov	DWORD PTR -24[rbp], 0
.L69:
	add	DWORD PTR -16[rbp], 1
.L66:
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, wordnum[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cmp	DWORD PTR -16[rbp], eax
	jge	.L75
	cmp	DWORD PTR -12[rbp], 199
	jle	.L76
.L75:
	cmp	DWORD PTR -12[rbp], 0
	jne	.L77
	mov	DWORD PTR -12[rbp], -1
.L77:
	mov	rax, QWORD PTR -64[rbp]
	mov	edx, DWORD PTR -12[rbp]
	mov	DWORD PTR [rax], edx
	mov	eax, DWORD PTR -12[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	near, .-near
	.globl	not
	.type	not, @function
not:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	js	.L80
	mov	rax, QWORD PTR -8[rbp]
	mov	DWORD PTR [rax], -1
	jmp	.L81
.L80:
	mov	rax, QWORD PTR -8[rbp]
	mov	DWORD PTR [rax], 0
.L81:
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	not, .-not
	.section	.rodata
.LC7:
	.string	"\nWarning: too many matches"
	.text
	.globl	and
	.type	and, @function
and:
.LFB11:
	.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	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	js	.L84
	mov	rax, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	js	.L84
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR [rax]
	add	eax, edx
	cmp	eax, 200
	jle	.L85
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L89
.L85:
	mov	DWORD PTR -4[rbp], 0
	jmp	.L87
.L88:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	add	rax, 1
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -32[rbp]
	lea	rcx, [rdx+rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -4[rbp]
	add	eax, edx
	cdqe
	add	rax, 1
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -24[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR [rcx]
	mov	DWORD PTR [rdx], eax
	add	DWORD PTR -4[rbp], 1
.L87:
	mov	rax, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -4[rbp], eax
	jl	.L88
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR [rax]
	add	edx, eax
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR [rax], edx
	jmp	.L89
.L84:
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR [rax], -1
.L89:
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR [rax]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	and, .-and
	.globl	or
	.type	or, @function
or:
.LFB12:
	.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	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	jns	.L92
	mov	rax, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	js	.L93
.L92:
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	eax, -1
	jne	.L94
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR [rax], 0
.L94:
	mov	rax, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	eax, -1
	jne	.L95
	mov	rax, QWORD PTR -32[rbp]
	mov	DWORD PTR [rax], 0
.L95:
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR [rax]
	add	eax, edx
	cmp	eax, 200
	jle	.L96
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L100
.L96:
	mov	DWORD PTR -4[rbp], 0
	jmp	.L98
.L99:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	add	rax, 1
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -32[rbp]
	lea	rcx, [rdx+rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -4[rbp]
	add	eax, edx
	cdqe
	add	rax, 1
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -24[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR [rcx]
	mov	DWORD PTR [rdx], eax
	add	DWORD PTR -4[rbp], 1
.L98:
	mov	rax, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -4[rbp], eax
	jl	.L99
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR [rax]
	add	edx, eax
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR [rax], edx
	jmp	.L100
.L93:
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR [rax], -1
.L100:
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR [rax]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	or, .-or
	.globl	printcaps
	.type	printcaps, @function
printcaps:
.LFB13:
	.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	DWORD PTR -20[rbp], edi
	mov	DWORD PTR -24[rbp], esi
	mov	DWORD PTR -4[rbp], 0
	jmp	.L103
.L104:
	movsx	eax, BYTE PTR -5[rbp]
	mov	edi, eax
	call	text
	movsx	eax, al
	sub	eax, 32
	mov	edi, eax
	call	putchar@PLT
.L103:
	mov	eax, DWORD PTR -24[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	imul	rax, rax, 20000
	add	rax, rdx
	lea	rdx, 0[0+rax*8]
	lea	rax, table[rip]
	mov	rcx, QWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -4[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -4[rbp], edx
	cdqe
	add	rax, rcx
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR -5[rbp], al
	cmp	BYTE PTR -5[rbp], 0
	jne	.L104
	mov	edi, 32
	call	putchar@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	printcaps, .-printcaps
	.section	.rodata
	.align 8
.LC8:
	.string	"\nWarning: tried to display empty matches."
.LC9:
	.string	"\n"
	.text
	.globl	display
	.type	display, @function
display:
.LFB14:
	.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	DWORD PTR -36[rbp], edi
	mov	QWORD PTR -48[rbp], rsi
	mov	rax, QWORD PTR -48[rbp]
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	jne	.L106
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
.L106:
	mov	DWORD PTR -32[rbp], 0
	jmp	.L107
.L129:
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	add	rax, 1
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	cmp	eax, 49
	jg	.L108
	mov	DWORD PTR -28[rbp], 0
	jmp	.L109
.L108:
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	add	rax, 1
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	sub	eax, 50
	mov	DWORD PTR -28[rbp], eax
.L109:
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	add	rax, 1
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	edx, DWORD PTR -36[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*4]
	lea	rdx, wordnum[rip]
	mov	edx, DWORD PTR [rcx+rdx]
	sub	edx, 50
	cmp	eax, edx
	jl	.L110
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, wordnum[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	DWORD PTR -24[rbp], eax
	jmp	.L111
.L110:
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	add	rax, 1
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	add	eax, 50
	mov	DWORD PTR -24[rbp], eax
.L111:
	lea	rdi, .LC9[rip]
	call	puts@PLT
	mov	eax, DWORD PTR -32[rbp]
	add	eax, 1
	mov	DWORD PTR -16[rbp], eax
	jmp	.L112
.L114:
	sub	DWORD PTR -16[rbp], 1
.L112:
	cmp	DWORD PTR -16[rbp], 1
	jle	.L113
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	sal	rax, 2
	lea	rdx, -4[rax]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -28[rbp], eax
	jle	.L114
.L113:
	mov	eax, DWORD PTR -32[rbp]
	add	eax, 1
	mov	DWORD PTR -12[rbp], eax
	jmp	.L115
.L117:
	add	DWORD PTR -12[rbp], 1
.L115:
	mov	rax, QWORD PTR -48[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -12[rbp], eax
	jge	.L116
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	add	rax, 1
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -24[rbp], eax
	jge	.L117
.L116:
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	imul	rax, rax, 20000
	add	rax, rdx
	lea	rdx, 0[0+rax*8]
	lea	rax, table[rip]
	mov	rax, QWORD PTR [rdx+rax]
	mov	QWORD PTR -8[rbp], rax
	jmp	.L118
.L120:
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L119
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	edi, eax
	call	putchar@PLT
.L119:
	add	QWORD PTR -8[rbp], 1
.L118:
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	movsx	rdx, eax
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	imul	rax, rax, 20000
	add	rax, rdx
	lea	rdx, 0[0+rax*8]
	lea	rax, table[rip]
	mov	rax, QWORD PTR [rdx+rax]
	cmp	QWORD PTR -8[rbp], rax
	jb	.L120
	mov	eax, DWORD PTR -16[rbp]
	mov	DWORD PTR -20[rbp], eax
	jmp	.L121
.L125:
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -36[rbp]
	mov	esi, edx
	mov	edi, eax
	call	printcaps
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	add	eax, 1
	movsx	rdx, eax
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	imul	rax, rax, 20000
	add	rax, rdx
	lea	rdx, 0[0+rax*8]
	lea	rax, table[rip]
	mov	rax, QWORD PTR [rdx+rax]
	mov	QWORD PTR -8[rbp], rax
	jmp	.L122
.L124:
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L123
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	edi, eax
	call	putchar@PLT
.L123:
	add	QWORD PTR -8[rbp], 1
.L122:
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	add	rax, 1
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	movsx	rdx, eax
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	imul	rax, rax, 20000
	add	rax, rdx
	lea	rdx, 0[0+rax*8]
	lea	rax, table[rip]
	mov	rax, QWORD PTR [rdx+rax]
	cmp	QWORD PTR -8[rbp], rax
	jb	.L124
	add	DWORD PTR -20[rbp], 1
.L121:
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, DWORD PTR -12[rbp]
	jl	.L125
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -36[rbp]
	mov	esi, edx
	mov	edi, eax
	call	printcaps
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	add	eax, 1
	movsx	rdx, eax
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	imul	rax, rax, 20000
	add	rax, rdx
	lea	rdx, 0[0+rax*8]
	lea	rax, table[rip]
	mov	rax, QWORD PTR [rdx+rax]
	mov	QWORD PTR -8[rbp], rax
	jmp	.L126
.L128:
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L127
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	edi, eax
	call	putchar@PLT
.L127:
	add	QWORD PTR -8[rbp], 1
.L126:
	mov	eax, DWORD PTR -24[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	imul	rax, rax, 20000
	add	rax, rdx
	lea	rdx, 0[0+rax*8]
	lea	rax, table[rip]
	mov	rax, QWORD PTR [rdx+rax]
	cmp	QWORD PTR -8[rbp], rax
	jb	.L128
	add	DWORD PTR -32[rbp], 1
.L107:
	mov	rax, QWORD PTR -48[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -32[rbp], eax
	jl	.L129
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	display, .-display
	.section	.rodata
.LC10:
	.string	"titles.dat"
.LC11:
	.string	"\n\nToo many titles!"
	.text
	.globl	loadtitles
	.type	loadtitles, @function
loadtitles:
.LFB15:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 96
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -96[rbp], 3
	movabs	rax, 7218834132169943412
	mov	QWORD PTR -75[rbp], rax
	mov	WORD PTR -67[rbp], 29793
	mov	BYTE PTR -65[rbp], 0
	lea	rsi, .LC3[rip]
	lea	rdi, .LC10[rip]
	call	fopen@PLT
	mov	QWORD PTR -88[rbp], rax
	jmp	.L131
.L135:
	mov	DWORD PTR -92[rbp], 0
	jmp	.L132
.L133:
	mov	eax, DWORD PTR -92[rbp]
	cdqe
	movzx	edx, BYTE PTR -64[rbp+rax]
	mov	eax, DWORD PTR -92[rbp]
	movsx	rsi, eax
	mov	eax, DWORD PTR -96[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 2
	add	rax, rcx
	lea	rcx, 0[0+rax*4]
	add	rax, rcx
	add	rax, rax
	lea	rcx, [rax+rsi]
	lea	rax, titlearray[rip]
	add	rax, rcx
	mov	BYTE PTR [rax], dl
	add	DWORD PTR -92[rbp], 1
.L132:
	mov	eax, DWORD PTR -92[rbp]
	cdqe
	movzx	eax, BYTE PTR -64[rbp+rax]
	test	al, al
	jne	.L133
	add	DWORD PTR -96[rbp], 1
	cmp	DWORD PTR -96[rbp], 400
	jne	.L131
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L134
.L131:
	mov	rdx, QWORD PTR -88[rbp]
	lea	rax, -64[rbp]
	mov	esi, 50
	mov	rdi, rax
	call	fgets@PLT
	test	rax, rax
	jne	.L135
.L134:
	mov	rax, QWORD PTR -88[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, DWORD PTR -96[rbp]
	mov	DWORD PTR maxid[rip], eax
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L136
	call	__stack_chk_fail@PLT
.L136:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE15:
	.size	loadtitles, .-loadtitles
	.globl	idmatch
	.type	idmatch, @function
idmatch:
.LFB16:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 40
	.cfi_offset 3, -24
	mov	DWORD PTR -44[rbp], edi
	mov	DWORD PTR -12[rbp], 0
	mov	DWORD PTR -20[rbp], 3
	jmp	.L138
.L146:
	mov	DWORD PTR -28[rbp], 0
	mov	DWORD PTR -16[rbp], 0
	mov	DWORD PTR -24[rbp], 0
	jmp	.L139
.L141:
	add	DWORD PTR -24[rbp], 1
.L140:
	mov	eax, DWORD PTR -24[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -44[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	add	rax, rax
	lea	rdx, [rax+rcx]
	lea	rax, titles[rip]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L141
	movsx	eax, BYTE PTR -29[rbp]
	mov	edi, eax
	call	text
	mov	ebx, eax
	mov	eax, DWORD PTR -24[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -44[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	add	rax, rax
	lea	rdx, [rax+rcx]
	lea	rax, titles[rip]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	edi, eax
	call	text
	cmp	bl, al
	je	.L142
	mov	DWORD PTR -16[rbp], 1
	jmp	.L143
.L142:
	add	DWORD PTR -28[rbp], 1
	add	DWORD PTR -24[rbp], 1
.L139:
	mov	eax, DWORD PTR -28[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	add	rax, rax
	lea	rdx, [rax+rcx]
	lea	rax, titlearray[rip]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR -29[rbp], al
	cmp	BYTE PTR -29[rbp], 10
	je	.L143
	cmp	BYTE PTR -29[rbp], 42
	jne	.L140
.L143:
	cmp	DWORD PTR -16[rbp], 0
	jne	.L145
	mov	eax, DWORD PTR -20[rbp]
	mov	DWORD PTR -12[rbp], eax
.L145:
	add	DWORD PTR -20[rbp], 1
.L138:
	mov	eax, DWORD PTR maxid[rip]
	cmp	DWORD PTR -20[rbp], eax
	jl	.L146
	mov	eax, DWORD PTR -12[rbp]
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE16:
	.size	idmatch, .-idmatch
	.section	.rodata
	.align 8
.LC12:
	.string	"a search string and file name are expected as arguments"
.LC13:
	.string	"\nlength of main string = %d"
.LC14:
	.string	"\nNumber of programs = %d\n"
	.align 8
.LC15:
	.string	"\n----------------------------------------------------------"
	.align 8
.LC16:
	.string	"\n*--------------------------------------------*\n\nTitle: "
.LC17:
	.string	"\nTitle ID #%d"
	.align 8
.LC18:
	.string	"\n*--------------------------------------------*"
	.align 8
.LC19:
	.string	"\n     Number of total matches: %d.\n"
	.align 8
.LC20:
	.string	"     Number of programs with matches: %d.\n"
	.align 8
.LC21:
	.string	"     Number of total programs: %d.\n"
	.align 8
.LC22:
	.string	"     Number of selected programs: %d.\n"
.LC23:
	.string	"%d\t%d\t%d\t%d\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB17:
	.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	DWORD PTR -20[rbp], edi
	mov	QWORD PTR -32[rbp], rsi
	cmp	DWORD PTR -20[rbp], 2
	jg	.L149
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 55
	mov	esi, 1
	lea	rdi, .LC12[rip]
	call	fwrite@PLT
	mov	eax, -1
	jmp	.L150
.L149:
	mov	eax, 0
	call	loadtitles
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	getstring
	mov	DWORD PTR LEN[rip], eax
	mov	eax, DWORD PTR LEN[rip]
	mov	esi, eax
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR numprogs[rip]
	mov	esi, eax
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC15[rip]
	call	puts@PLT
	mov	edi, 0
	call	parseprogs
	mov	DWORD PTR -12[rbp], 0
	mov	DWORD PTR -8[rbp], 0
	mov	DWORD PTR -16[rbp], 0
	jmp	.L151
.L153:
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, titlenums[rip]
	mov	eax, DWORD PTR [rdx+rax]
	test	eax, eax
	je	.L152
	add	DWORD PTR -8[rbp], 1
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 8
	mov	rcx, QWORD PTR [rax]
	mov	eax, DWORD PTR -16[rbp]
	lea	rdx, pri[rip]
	mov	rsi, rcx
	mov	edi, eax
	call	find
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], -1
	je	.L152
	lea	rdi, .LC16[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -16[rbp]
	mov	edi, eax
	call	printtitle
	mov	eax, DWORD PTR -16[rbp]
	mov	edi, eax
	call	idmatch
	mov	esi, eax
	lea	rdi, .LC17[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 10
	call	putchar@PLT
	mov	eax, DWORD PTR -16[rbp]
	lea	rsi, pri[rip]
	mov	edi, eax
	call	display
	mov	eax, DWORD PTR n1[rip]
	add	eax, 1
	mov	DWORD PTR n1[rip], eax
	mov	eax, DWORD PTR pri[rip]
	add	DWORD PTR -12[rbp], eax
.L152:
	add	DWORD PTR -16[rbp], 1
.L151:
	mov	eax, DWORD PTR numprogs[rip]
	cmp	DWORD PTR -16[rbp], eax
	jl	.L153
	lea	rdi, .LC18[rip]
	call	puts@PLT
	mov	eax, DWORD PTR -12[rbp]
	mov	esi, eax
	lea	rdi, .LC19[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR n1[rip]
	mov	esi, eax
	lea	rdi, .LC20[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR numprogs[rip]
	mov	esi, eax
	lea	rdi, .LC21[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -8[rbp]
	mov	esi, eax
	lea	rdi, .LC22[rip]
	mov	eax, 0
	call	printf@PLT
	mov	ecx, DWORD PTR numprogs[rip]
	mov	edx, DWORD PTR n1[rip]
	mov	esi, DWORD PTR -8[rbp]
	mov	eax, DWORD PTR -12[rbp]
	mov	r8d, esi
	mov	esi, eax
	lea	rdi, .LC23[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
.L150:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE17:
	.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	"100141330.c"
	.text
	.global	filename
	.section	.rodata
	.align	2
.LC0:
	.ascii	"test9\000"
	.data
	.align	2
	.type	filename, %object
	.size	filename, 4
filename:
	.word	.LC0
	.global	tag
	.section	.rodata
	.align	2
.LC1:
	.ascii	"globaliz*\000"
	.data
	.align	2
	.type	tag, %object
	.size	tag, 4
tag:
	.word	.LC1
	.global	taga
	.align	2
	.type	taga, %object
	.size	taga, 4
taga:
	.word	.LC1
	.global	tagb
	.section	.rodata
	.align	2
.LC2:
	.ascii	"trade\000"
	.data
	.align	2
	.type	tagb, %object
	.size	tagb, 4
tagb:
	.word	.LC2
	.comm	bigstring,18000000,4
	.global	letter
	.bss
	.align	2
	.type	letter, %object
	.size	letter, 4
letter:
	.space	4
	.global	numprogs
	.align	2
	.type	numprogs, %object
	.size	numprogs, 4
numprogs:
	.space	4
	.comm	headers,200000,4
	.comm	titles,12500,4
	.comm	wordnum,1000,4
	.comm	titlens,1000,4
	.comm	titlenums,1000,4
	.comm	table,20000000,4
	.comm	LEN,4,4
	.comm	hlen,4,4
	.comm	title,50,4
	.comm	titlearray,20000,4
	.comm	maxid,4,4
	.comm	date,25,4
	.comm	titlen,4,4
	.comm	datlen,4,4
	.global	n1
	.align	2
	.type	n1, %object
	.size	n1, 4
n1:
	.space	4
	.comm	pri,804,4
	.comm	sec,804,4
	.comm	ter,804,4
	.section	.rodata
	.align	2
.LC3:
	.ascii	"r\000"
	.align	2
.LC4:
	.ascii	"\012Warning: file exceeded %d chars\012\000"
	.text
	.align	2
	.global	getstring
	.syntax unified
	.arm
	.fpu softvfp
	.type	getstring, %function
getstring:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-12]
	mov	r3, #0
	strb	r3, [fp, #-14]
	ldr	r1, .L9
	ldr	r0, [fp, #-24]
	bl	fopen
	str	r0, [fp, #-8]
	b	.L2
.L8:
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	mov	r0, r3
	bl	text
	mov	r3, r0
	cmp	r3, #0
	bne	.L3
	ldrb	r3, [fp, #-14]	@ zero_extendqisi2
	mov	r0, r3
	bl	text
	mov	r3, r0
	cmp	r3, #0
	beq	.L3
	ldr	r3, [fp, #-12]
	add	r2, r3, #1
	str	r2, [fp, #-12]
	ldr	r2, .L9+4
	mov	r1, #0
	strb	r1, [r2, r3]
.L3:
	ldr	r3, [fp, #-12]
	add	r2, r3, #1
	str	r2, [fp, #-12]
	ldr	r1, .L9+4
	ldrb	r2, [fp, #-13]
	strb	r2, [r1, r3]
	ldrb	r3, [fp, #-13]
	strb	r3, [fp, #-14]
	ldr	r3, [fp, #-12]
	ldr	r2, .L9+8
	cmp	r3, r2
	ble	.L2
	ldr	r1, [fp, #-12]
	ldr	r0, .L9+12
	bl	printf
	b	.L7
.L2:
	ldr	r0, [fp, #-8]
	bl	getc
	mov	r3, r0
	strb	r3, [fp, #-13]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	ble	.L3
	b	.L8
.L7:
	ldr	r3, [fp, #-12]
	add	r2, r3, #1
	str	r2, [fp, #-12]
	ldr	r2, .L9+4
	mvn	r1, #60
	strb	r1, [r2, r3]
	ldr	r3, [fp, #-12]
	add	r2, r3, #1
	str	r2, [fp, #-12]
	ldr	r2, .L9+4
	mvn	r1, #0
	strb	r1, [r2, r3]
	ldr	r0, [fp, #-8]
	bl	fclose
	ldr	r3, [fp, #-12]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L10:
	.align	2
.L9:
	.word	.LC3
	.word	bigstring
	.word	17999999
	.word	.LC4
	.size	getstring, .-getstring
	.align	2
	.global	parseprogs
	.syntax unified
	.arm
	.fpu softvfp
	.type	parseprogs, %function
parseprogs:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-8]
	ldr	r2, .L17
	ldr	r3, [fp, #-16]
	str	r3, [r2]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L12
.L15:
	ldr	r0, [fp, #-8]
	bl	readheader
	str	r0, [fp, #-12]
	ldr	r3, .L17+4
	ldr	r3, [r3]
	cmn	r3, #1
	beq	.L13
	ldr	r0, [fp, #-8]
	bl	readbody
	mov	r2, r0
	ldr	r1, .L17+8
	ldr	r3, [fp, #-8]
	str	r2, [r1, r3, lsl #2]
.L13:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L12:
	ldr	r3, .L17+12
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	bge	.L14
	ldr	r3, [fp, #-12]
	cmn	r3, #1
	bne	.L15
.L14:
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L18:
	.align	2
.L17:
	.word	letter
	.word	hlen
	.word	wordnum
	.word	numprogs
	.size	parseprogs, .-parseprogs
	.section	.rodata
	.align	2
.LC5:
	.ascii	"\012Warning: maximum header length exceeded at lett"
	.ascii	"er = %d and hstart = %d\012\000"
	.text
	.align	2
	.global	readheader
	.syntax unified
	.arm
	.fpu softvfp
	.type	readheader, %function
readheader:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-24]
	ldr	r3, .L26
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	b	.L20
.L22:
	ldr	r3, .L26
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r1, .L26
	str	r2, [r1]
	ldr	r2, [fp, #-8]
	sub	r1, r3, r2
	ldr	r0, .L26+4
	ldr	r2, [fp, #-24]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #5
	add	r3, r0, r3
	add	r3, r3, r1
	ldrb	r2, [fp, #-13]
	strb	r2, [r3]
.L20:
	ldr	r3, .L26
	ldr	r3, [r3]
	ldr	r2, .L26+8
	ldrb	r3, [r2, r3]
	strb	r3, [fp, #-13]
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	cmp	r3, #61
	beq	.L21
	ldr	r3, [fp, #-8]
	add	r3, r3, #796
	add	r3, r3, #3
	ldr	r2, .L26
	ldr	r2, [r2]
	cmp	r3, r2
	bge	.L22
.L21:
	ldr	r3, .L26
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r1, .L26
	str	r2, [r1]
	ldr	r2, [fp, #-8]
	sub	r3, r3, r2
	cmp	r3, #800
	blt	.L23
	ldr	r3, .L26
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	mov	r1, r3
	ldr	r0, .L26+12
	bl	printf
	mov	r3, #800
	str	r3, [fp, #-12]
	b	.L24
.L23:
	ldr	r3, .L26
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	sub	r3, r2, r3
	str	r3, [fp, #-12]
	ldr	r1, .L26+4
	ldr	r2, [fp, #-24]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #5
	add	r2, r1, r3
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	ldr	r0, [fp, #-24]
	bl	striptitle
	mov	r2, r0
	ldr	r1, .L26+16
	ldr	r3, [fp, #-24]
	str	r2, [r1, r3, lsl #2]
	ldr	r0, [fp, #-24]
	bl	idmatch
	mov	r2, r0
	ldr	r1, .L26+20
	ldr	r3, [fp, #-24]
	str	r2, [r1, r3, lsl #2]
.L24:
	ldr	r3, [fp, #-12]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L27:
	.align	2
.L26:
	.word	letter
	.word	headers
	.word	bigstring
	.word	.LC5
	.word	titlens
	.word	titlenums
	.size	readheader, .-readheader
	.align	2
	.global	printtitle
	.syntax unified
	.arm
	.fpu softvfp
	.type	printtitle, %function
printtitle:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L29
.L31:
	ldr	r1, .L32
	ldr	r2, [fp, #-16]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, 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]
	strb	r3, [fp, #-9]
	ldrb	r3, [fp, #-9]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L30
	ldrb	r3, [fp, #-9]	@ zero_extendqisi2
	mov	r0, r3
	bl	putchar
.L30:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L29:
	ldr	r2, .L32+4
	ldr	r3, [fp, #-16]
	ldr	r3, [r2, r3, lsl #2]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	blt	.L31
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L33:
	.align	2
.L32:
	.word	titles
	.word	titlens
	.size	printtitle, .-printtitle
	.align	2
	.global	striptitle
	.syntax unified
	.arm
	.fpu softvfp
	.type	striptitle, %function
striptitle:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-16]
	nop
.L35:
	ldr	r2, [fp, #-16]
	add	r3, r2, #1
	str	r3, [fp, #-16]
	ldr	r0, .L41
	ldr	r1, [fp, #-24]
	mov	r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	lsl	r1, r3, #2
	add	r3, r3, r1
	lsl	r3, r3, #5
	add	r3, r0, r3
	add	r3, r3, r2
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #58
	bne	.L35
	b	.L36
.L37:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L36:
	ldr	r1, .L41
	ldr	r2, [fp, #-24]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #5
	add	r2, r1, r3
	ldr	r3, [fp, #-16]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	bl	text
	mov	r3, r0
	cmp	r3, #0
	beq	.L37
	ldr	r3, [fp, #-16]
	str	r3, [fp, #-12]
	b	.L38
.L39:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-12]
	sub	r1, r2, r3
	ldr	r0, .L41+4
	ldr	r2, [fp, #-24]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r0, r3
	add	r3, r3, r1
	ldrb	r2, [fp, #-17]
	strb	r2, [r3]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L38:
	ldr	r1, .L41
	ldr	r2, [fp, #-24]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #5
	add	r2, r1, r3
	ldr	r3, [fp, #-16]
	add	r3, r2, r3
	ldrb	r3, [r3]
	strb	r3, [fp, #-17]
	ldrb	r3, [fp, #-17]	@ zero_extendqisi2
	cmp	r3, #10
	bne	.L39
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-12]
	sub	r1, r2, r3
	ldr	r0, .L41+4
	ldr	r2, [fp, #-24]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r0, r3
	add	r3, r3, r1
	mov	r2, #0
	strb	r2, [r3]
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-12]
	sub	r3, r2, r3
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L42:
	.align	2
.L41:
	.word	headers
	.word	titles
	.size	striptitle, .-striptitle
	.align	2
	.global	readbody
	.syntax unified
	.arm
	.fpu softvfp
	.type	readbody, %function
readbody:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-8]
	ldr	r3, .L48
	ldr	r3, [r3]
	ldr	r2, .L48+4
	ldrb	r3, [r2, r3]
	strb	r3, [fp, #-10]
	ldr	r3, .L48
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L48
	str	r3, [r2]
	b	.L44
.L47:
	ldrb	r3, [fp, #-10]	@ zero_extendqisi2
	mov	r0, r3
	bl	text
	mov	r3, r0
	cmp	r3, #0
	bne	.L45
	ldr	r3, .L48
	ldr	r3, [r3]
	ldr	r2, .L48+4
	add	r1, r3, r2
	ldr	r0, .L48+8
	ldr	r2, [fp, #-16]
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #5
	ldr	r2, [fp, #-8]
	add	r3, r3, r2
	str	r1, [r0, r3, lsl #2]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L45:
	ldrb	r3, [fp, #-9]
	strb	r3, [fp, #-10]
	ldr	r3, .L48
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L48
	str	r3, [r2]
.L44:
	ldr	r3, .L48
	ldr	r3, [r3]
	ldr	r2, .L48+4
	ldrb	r3, [r2, r3]
	strb	r3, [fp, #-9]
	ldrb	r3, [fp, #-9]	@ zero_extendqisi2
	mov	r0, r3
	bl	text
	mov	r3, r0
	cmp	r3, #0
	beq	.L45
	b	.L47
.L49:
	.align	2
.L48:
	.word	letter
	.word	bigstring
	.word	table
	.size	readbody, .-readbody
	.align	2
	.global	text
	.syntax unified
	.arm
	.fpu softvfp
	.type	text, %function
text:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	mov	r3, r0
	strb	r3, [fp, #-13]
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	cmp	r3, #64
	bls	.L51
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	cmp	r3, #90
	bls	.L52
.L51:
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	cmp	r3, #96
	bls	.L53
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	cmp	r3, #122
	bhi	.L53
.L52:
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	cmp	r3, #96
	bhi	.L54
	mov	r2, #32
	b	.L55
.L54:
	mov	r2, #0
.L55:
	ldrb	r3, [fp, #-13]
	add	r3, r2, r3
	strb	r3, [fp, #-5]
	b	.L56
.L53:
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	cmp	r3, #39
	bne	.L57
	mov	r3, #39
	strb	r3, [fp, #-5]
	b	.L56
.L57:
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	cmp	r3, #45
	bne	.L58
	mov	r3, #45
	strb	r3, [fp, #-5]
	b	.L56
.L58:
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	cmp	r3, #47
	bls	.L59
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	cmp	r3, #57
	bhi	.L59
	ldrb	r3, [fp, #-13]
	strb	r3, [fp, #-5]
	b	.L56
.L59:
	mov	r3, #0
	strb	r3, [fp, #-5]
.L56:
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	text, .-text
	.align	2
	.global	wildcmp
	.syntax unified
	.arm
	.fpu softvfp
	.type	wildcmp, %function
wildcmp:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #20
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-16]
.L67:
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #42
	bne	.L62
	mov	r3, #0
	b	.L63
.L62:
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L64
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L65
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #10
	bne	.L64
.L65:
	mov	r3, #0
	b	.L63
.L64:
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldrb	r4, [r3]	@ zero_extendqisi2
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	bl	text
	mov	r3, r0
	cmp	r4, r3
	beq	.L66
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	sub	r3, r1, r3
	b	.L63
.L66:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
	b	.L67
.L63:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
	.size	wildcmp, .-wildcmp
	.align	2
	.global	find
	.syntax unified
	.arm
	.fpu softvfp
	.type	find, %function
find:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L69
.L72:
	ldr	r1, .L75
	ldr	r2, [fp, #-16]
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #5
	ldr	r2, [fp, #-12]
	add	r3, r3, r2
	ldr	r3, [r1, r3, lsl #2]
	mov	r1, r3
	ldr	r0, [fp, #-20]
	bl	wildcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L70
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldr	r2, [fp, #-12]
	str	r2, [r3]
.L70:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L69:
	ldr	r2, .L75+4
	ldr	r3, [fp, #-16]
	ldr	r3, [r2, r3, lsl #2]
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	bge	.L71
	ldr	r3, [fp, #-8]
	cmp	r3, #200
	ble	.L72
.L71:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L73
	mvn	r3, #0
	str	r3, [fp, #-8]
.L73:
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-8]
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L76:
	.align	2
.L75:
	.word	table
	.word	wordnum
	.size	find, .-find
	.align	2
	.global	near
	.syntax unified
	.arm
	.fpu softvfp
	.type	near, %function
near:
	@ args = 4, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	str	r2, [fp, #-40]
	str	r3, [fp, #-44]
	mov	r3, #0
	str	r3, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L78
.L88:
	ldr	r1, .L91
	ldr	r2, [fp, #-32]
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #5
	ldr	r2, [fp, #-20]
	add	r3, r3, r2
	ldr	r3, [r1, r3, lsl #2]
	mov	r1, r3
	ldr	r0, [fp, #-40]
	bl	wildcmp
	str	r0, [fp, #-12]
	ldr	r1, .L91
	ldr	r2, [fp, #-32]
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #5
	ldr	r2, [fp, #-20]
	add	r3, r3, r2
	ldr	r3, [r1, r3, lsl #2]
	mov	r1, r3
	ldr	r0, [fp, #-44]
	bl	wildcmp
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	bne	.L79
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L80
	mov	r3, #1
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-20]
	str	r3, [fp, #-24]
	b	.L81
.L80:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L81
	mov	r3, #2
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-20]
	str	r3, [fp, #-24]
	b	.L81
.L79:
	ldr	r3, [fp, #-28]
	cmp	r3, #1
	bne	.L82
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L83
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	ldr	r2, [fp, #4]
	add	r3, r2, r3
	ldr	r2, [fp, #-24]
	str	r2, [r3]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	ldr	r2, [fp, #4]
	add	r3, r2, r3
	ldr	r2, [fp, #-20]
	str	r2, [r3]
	mov	r3, #0
	str	r3, [fp, #-28]
	b	.L81
.L83:
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L84
	ldr	r3, [fp, #-20]
	str	r3, [fp, #-24]
	b	.L81
.L84:
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-24]
	sub	r3, r2, r3
	ldr	r2, [fp, #-36]
	cmp	r2, r3
	bne	.L81
	mov	r3, #0
	str	r3, [fp, #-28]
	b	.L81
.L82:
	ldr	r3, [fp, #-28]
	cmp	r3, #2
	bne	.L81
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L85
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	ldr	r2, [fp, #4]
	add	r3, r2, r3
	ldr	r2, [fp, #-24]
	str	r2, [r3]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	ldr	r2, [fp, #4]
	add	r3, r2, r3
	ldr	r2, [fp, #-20]
	str	r2, [r3]
	mov	r3, #0
	str	r3, [fp, #-28]
	b	.L81
.L85:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L86
	ldr	r3, [fp, #-20]
	str	r3, [fp, #-24]
	b	.L81
.L86:
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-24]
	sub	r3, r2, r3
	ldr	r2, [fp, #-36]
	cmp	r2, r3
	bne	.L81
	mov	r3, #0
	str	r3, [fp, #-28]
.L81:
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L78:
	ldr	r2, .L91+4
	ldr	r3, [fp, #-32]
	ldr	r3, [r2, r3, lsl #2]
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	bge	.L87
	ldr	r3, [fp, #-16]
	cmp	r3, #199
	ble	.L88
.L87:
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L89
	mvn	r3, #0
	str	r3, [fp, #-16]
.L89:
	ldr	r3, [fp, #4]
	ldr	r2, [fp, #-16]
	str	r2, [r3]
	ldr	r3, [fp, #-16]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L92:
	.align	2
.L91:
	.word	table
	.word	wordnum
	.size	near, .-near
	.align	2
	.global	not
	.syntax unified
	.arm
	.fpu softvfp
	.type	not, %function
not:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	cmp	r3, #0
	blt	.L94
	ldr	r3, [fp, #-8]
	mvn	r2, #0
	str	r2, [r3]
	b	.L95
.L94:
	ldr	r3, [fp, #-8]
	mov	r2, #0
	str	r2, [r3]
.L95:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	not, .-not
	.section	.rodata
	.align	2
.LC6:
	.ascii	"\012Warning: too many matches\000"
	.text
	.align	2
	.global	and
	.syntax unified
	.arm
	.fpu softvfp
	.type	and, %function
and:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	cmp	r3, #0
	blt	.L98
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	cmp	r3, #0
	blt	.L98
	ldr	r3, [fp, #-16]
	ldr	r2, [r3]
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	add	r3, r2, r3
	cmp	r3, #200
	ble	.L99
	ldr	r0, .L105
	bl	printf
	b	.L103
.L99:
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L101
.L102:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	lsl	r3, r3, #2
	ldr	r2, [fp, #-20]
	add	r2, r2, r3
	ldr	r3, [fp, #-16]
	ldr	r1, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r1, r3
	add	r3, r3, #1
	lsl	r3, r3, #2
	ldr	r1, [fp, #-16]
	add	r3, r1, r3
	ldr	r2, [r2]
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L101:
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	blt	.L102
	ldr	r3, [fp, #-16]
	ldr	r2, [r3]
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	add	r2, r2, r3
	ldr	r3, [fp, #-16]
	str	r2, [r3]
	b	.L103
.L98:
	ldr	r3, [fp, #-16]
	mvn	r2, #0
	str	r2, [r3]
.L103:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L106:
	.align	2
.L105:
	.word	.LC6
	.size	and, .-and
	.align	2
	.global	or
	.syntax unified
	.arm
	.fpu softvfp
	.type	or, %function
or:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	cmp	r3, #0
	bge	.L108
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	cmp	r3, #0
	blt	.L109
.L108:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	cmn	r3, #1
	bne	.L110
	ldr	r3, [fp, #-16]
	mov	r2, #0
	str	r2, [r3]
.L110:
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	cmn	r3, #1
	bne	.L111
	ldr	r3, [fp, #-20]
	mov	r2, #0
	str	r2, [r3]
.L111:
	ldr	r3, [fp, #-16]
	ldr	r2, [r3]
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	add	r3, r2, r3
	cmp	r3, #200
	ble	.L112
	ldr	r0, .L118
	bl	printf
	b	.L116
.L112:
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L114
.L115:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	lsl	r3, r3, #2
	ldr	r2, [fp, #-20]
	add	r2, r2, r3
	ldr	r3, [fp, #-16]
	ldr	r1, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r1, r3
	add	r3, r3, #1
	lsl	r3, r3, #2
	ldr	r1, [fp, #-16]
	add	r3, r1, r3
	ldr	r2, [r2]
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L114:
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	blt	.L115
	ldr	r3, [fp, #-16]
	ldr	r2, [r3]
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	add	r2, r2, r3
	ldr	r3, [fp, #-16]
	str	r2, [r3]
	b	.L116
.L109:
	ldr	r3, [fp, #-16]
	mvn	r2, #0
	str	r2, [r3]
.L116:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L119:
	.align	2
.L118:
	.word	.LC6
	.size	or, .-or
	.align	2
	.global	printcaps
	.syntax unified
	.arm
	.fpu softvfp
	.type	printcaps, %function
printcaps:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L121
.L122:
	ldrb	r3, [fp, #-9]	@ zero_extendqisi2
	mov	r0, r3
	bl	text
	mov	r3, r0
	sub	r3, r3, #32
	mov	r0, r3
	bl	putchar
.L121:
	ldr	r1, .L123
	ldr	r2, [fp, #-16]
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #5
	ldr	r2, [fp, #-20]
	add	r3, r3, r2
	ldr	r2, [r1, r3, lsl #2]
	ldr	r3, [fp, #-8]
	add	r1, r3, #1
	str	r1, [fp, #-8]
	add	r3, r2, r3
	ldrb	r3, [r3]
	strb	r3, [fp, #-9]
	ldrb	r3, [fp, #-9]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L122
	mov	r0, #32
	bl	putchar
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L124:
	.align	2
.L123:
	.word	table
	.size	printcaps, .-printcaps
	.section	.rodata
	.align	2
.LC7:
	.ascii	"\012Warning: tried to display empty matches.\000"
	.align	2
.LC8:
	.ascii	"\012\000"
	.text
	.align	2
	.global	display
	.syntax unified
	.arm
	.fpu softvfp
	.type	display, %function
display:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	str	r0, [fp, #-40]
	str	r1, [fp, #-44]
	ldr	r3, [fp, #-44]
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L126
	ldr	r0, .L150
	bl	printf
.L126:
	mov	r3, #0
	str	r3, [fp, #-32]
	b	.L127
.L149:
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	lsl	r3, r3, #2
	ldr	r2, [fp, #-44]
	add	r3, r2, r3
	ldr	r3, [r3]
	cmp	r3, #49
	bgt	.L128
	mov	r3, #0
	str	r3, [fp, #-28]
	b	.L129
.L128:
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	lsl	r3, r3, #2
	ldr	r2, [fp, #-44]
	add	r3, r2, r3
	ldr	r3, [r3]
	sub	r3, r3, #50
	str	r3, [fp, #-28]
.L129:
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	lsl	r3, r3, #2
	ldr	r2, [fp, #-44]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r1, .L150+4
	ldr	r3, [fp, #-40]
	ldr	r3, [r1, r3, lsl #2]
	sub	r3, r3, #50
	cmp	r2, r3
	blt	.L130
	ldr	r2, .L150+4
	ldr	r3, [fp, #-40]
	ldr	r3, [r2, r3, lsl #2]
	str	r3, [fp, #-24]
	b	.L131
.L130:
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	lsl	r3, r3, #2
	ldr	r2, [fp, #-44]
	add	r3, r2, r3
	ldr	r3, [r3]
	add	r3, r3, #50
	str	r3, [fp, #-24]
.L131:
	ldr	r0, .L150+8
	bl	puts
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-16]
	b	.L132
.L134:
	ldr	r3, [fp, #-16]
	sub	r3, r3, #1
	str	r3, [fp, #-16]
.L132:
	ldr	r3, [fp, #-16]
	cmp	r3, #1
	ble	.L133
	ldr	r3, [fp, #-16]
	sub	r3, r3, #-1073741823
	lsl	r3, r3, #2
	ldr	r2, [fp, #-44]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, [fp, #-28]
	cmp	r2, r3
	ble	.L134
.L133:
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-12]
	b	.L135
.L137:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L135:
	ldr	r3, [fp, #-44]
	ldr	r3, [r3]
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	bge	.L136
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	lsl	r3, r3, #2
	ldr	r2, [fp, #-44]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, [fp, #-24]
	cmp	r2, r3
	bge	.L137
.L136:
	ldr	r1, .L150+12
	ldr	r2, [fp, #-40]
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #5
	ldr	r2, [fp, #-28]
	add	r3, r3, r2
	ldr	r3, [r1, r3, lsl #2]
	str	r3, [fp, #-8]
	b	.L138
.L140:
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L139
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	bl	putchar
.L139:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L138:
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-44]
	add	r3, r2, r3
	ldr	r1, [r3]
	ldr	r0, .L150+12
	ldr	r2, [fp, #-40]
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #5
	add	r3, r3, r1
	ldr	r3, [r0, r3, lsl #2]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	bcc	.L140
	ldr	r3, [fp, #-16]
	str	r3, [fp, #-20]
	b	.L141
.L145:
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-44]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, [fp, #-40]
	bl	printcaps
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-44]
	add	r3, r2, r3
	ldr	r3, [r3]
	add	r1, r3, #1
	ldr	r0, .L150+12
	ldr	r2, [fp, #-40]
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #5
	add	r3, r3, r1
	ldr	r3, [r0, r3, lsl #2]
	str	r3, [fp, #-8]
	b	.L142
.L144:
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L143
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	bl	putchar
.L143:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L142:
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	lsl	r3, r3, #2
	ldr	r2, [fp, #-44]
	add	r3, r2, r3
	ldr	r1, [r3]
	ldr	r0, .L150+12
	ldr	r2, [fp, #-40]
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #5
	add	r3, r3, r1
	ldr	r3, [r0, r3, lsl #2]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	bcc	.L144
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L141:
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-12]
	cmp	r2, r3
	blt	.L145
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-44]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, [fp, #-40]
	bl	printcaps
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-44]
	add	r3, r2, r3
	ldr	r3, [r3]
	add	r1, r3, #1
	ldr	r0, .L150+12
	ldr	r2, [fp, #-40]
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #5
	add	r3, r3, r1
	ldr	r3, [r0, r3, lsl #2]
	str	r3, [fp, #-8]
	b	.L146
.L148:
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L147
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	bl	putchar
.L147:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L146:
	ldr	r1, .L150+12
	ldr	r2, [fp, #-40]
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #5
	ldr	r2, [fp, #-24]
	add	r3, r3, r2
	ldr	r3, [r1, r3, lsl #2]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	bcc	.L148
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
.L127:
	ldr	r3, [fp, #-44]
	ldr	r3, [r3]
	ldr	r2, [fp, #-32]
	cmp	r2, r3
	blt	.L149
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L151:
	.align	2
.L150:
	.word	.LC7
	.word	wordnum
	.word	.LC8
	.word	table
	.size	display, .-display
	.section	.rodata
	.align	2
.LC9:
	.ascii	"titles.dat\000"
	.align	2
.LC10:
	.ascii	"\012\012Too many titles!\000"
	.align	2
.LC11:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	loadtitles
	.syntax unified
	.arm
	.fpu softvfp
	.type	loadtitles, %function
loadtitles:
	@ args = 0, pretend = 0, frame = 80
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #80
	ldr	r3, .L159
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #3
	str	r3, [fp, #-84]
	ldr	r2, .L159+4
	sub	r3, fp, #72
	ldm	r2, {r0, r1, r2}
	stmia	r3!, {r0, r1}
	strh	r2, [r3]	@ movhi
	add	r3, r3, #2
	lsr	r2, r2, #16
	strb	r2, [r3]
	ldr	r1, .L159+8
	ldr	r0, .L159+4
	bl	fopen
	str	r0, [fp, #-76]
	b	.L153
.L157:
	mov	r3, #0
	str	r3, [fp, #-80]
	b	.L154
.L155:
	sub	r2, fp, #60
	ldr	r3, [fp, #-80]
	add	r3, r2, r3
	ldrb	r0, [r3]	@ zero_extendqisi2
	ldr	r1, .L159+12
	ldr	r2, [fp, #-84]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r2, r1, r3
	ldr	r3, [fp, #-80]
	add	r3, r2, r3
	mov	r2, r0
	strb	r2, [r3]
	ldr	r3, [fp, #-80]
	add	r3, r3, #1
	str	r3, [fp, #-80]
.L154:
	sub	r2, fp, #60
	ldr	r3, [fp, #-80]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L155
	ldr	r3, [fp, #-84]
	add	r3, r3, #1
	str	r3, [fp, #-84]
	ldr	r3, [fp, #-84]
	cmp	r3, #400
	bne	.L153
	ldr	r0, .L159+16
	bl	printf
	b	.L156
.L153:
	sub	r3, fp, #60
	ldr	r2, [fp, #-76]
	mov	r1, #50
	mov	r0, r3
	bl	fgets
	mov	r3, r0
	cmp	r3, #0
	bne	.L157
.L156:
	ldr	r0, [fp, #-76]
	bl	fclose
	ldr	r2, .L159+20
	ldr	r3, [fp, #-84]
	str	r3, [r2]
	nop
	ldr	r3, .L159
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L158
	bl	__stack_chk_fail
.L158:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L160:
	.align	2
.L159:
	.word	.LC11
	.word	.LC9
	.word	.LC3
	.word	titlearray
	.word	.LC10
	.word	maxid
	.size	loadtitles, .-loadtitles
	.align	2
	.global	idmatch
	.syntax unified
	.arm
	.fpu softvfp
	.type	idmatch, %function
idmatch:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #36
	str	r0, [fp, #-40]
	mov	r3, #0
	str	r3, [fp, #-16]
	mov	r3, #3
	str	r3, [fp, #-24]
	b	.L162
.L170:
	mov	r3, #0
	str	r3, [fp, #-32]
	mov	r3, #0
	str	r3, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-28]
	b	.L163
.L165:
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L164:
	ldr	r1, .L172
	ldr	r2, [fp, #-40]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r2, r1, r3
	ldr	r3, [fp, #-28]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L165
	ldrb	r3, [fp, #-33]	@ zero_extendqisi2
	mov	r0, r3
	bl	text
	mov	r3, r0
	mov	r4, r3
	ldr	r1, .L172
	ldr	r2, [fp, #-40]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r2, r1, r3
	ldr	r3, [fp, #-28]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	bl	text
	mov	r3, r0
	cmp	r4, r3
	beq	.L166
	mov	r3, #1
	str	r3, [fp, #-20]
	b	.L167
.L166:
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L163:
	ldr	r1, .L172+4
	ldr	r2, [fp, #-24]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r2, r1, r3
	ldr	r3, [fp, #-32]
	add	r3, r2, r3
	ldrb	r3, [r3]
	strb	r3, [fp, #-33]
	ldrb	r3, [fp, #-33]	@ zero_extendqisi2
	cmp	r3, #10
	beq	.L167
	ldrb	r3, [fp, #-33]	@ zero_extendqisi2
	cmp	r3, #42
	bne	.L164
.L167:
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bne	.L169
	ldr	r3, [fp, #-24]
	str	r3, [fp, #-16]
.L169:
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L162:
	ldr	r3, .L172+8
	ldr	r3, [r3]
	ldr	r2, [fp, #-24]
	cmp	r2, r3
	blt	.L170
	ldr	r3, [fp, #-16]
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L173:
	.align	2
.L172:
	.word	titles
	.word	titlearray
	.word	maxid
	.size	idmatch, .-idmatch
	.section	.rodata
	.align	2
.LC12:
	.ascii	"a search string and file name are expected as argum"
	.ascii	"ents\000"
	.align	2
.LC13:
	.ascii	"\012length of main string = %d\000"
	.align	2
.LC14:
	.ascii	"\012Number of programs = %d\012\000"
	.align	2
.LC15:
	.ascii	"\012-----------------------------------------------"
	.ascii	"-----------\000"
	.align	2
.LC16:
	.ascii	"\012*--------------------------------------------*\012"
	.ascii	"\012Title: \000"
	.align	2
.LC17:
	.ascii	"\012Title ID #%d\000"
	.align	2
.LC18:
	.ascii	"\012*--------------------------------------------*\000"
	.align	2
.LC19:
	.ascii	"\012     Number of total matches: %d.\012\000"
	.align	2
.LC20:
	.ascii	"     Number of programs with matches: %d.\012\000"
	.align	2
.LC21:
	.ascii	"     Number of total programs: %d.\012\000"
	.align	2
.LC22:
	.ascii	"     Number of selected programs: %d.\012\000"
	.align	2
.LC23:
	.ascii	"%d\011%d\011%d\011%d\012\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	ldr	r3, [fp, #-24]
	cmp	r3, #2
	bgt	.L175
	ldr	r3, .L180
	ldr	r3, [r3]
	mov	r2, #55
	mov	r1, #1
	ldr	r0, .L180+4
	bl	fwrite
	mvn	r3, #0
	b	.L176
.L175:
	bl	loadtitles
	ldr	r3, [fp, #-28]
	add	r3, r3, #8
	ldr	r3, [r3]
	mov	r0, r3
	bl	getstring
	mov	r3, r0
	ldr	r2, .L180+8
	str	r3, [r2]
	ldr	r3, .L180+8
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L180+12
	bl	printf
	ldr	r3, .L180+16
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L180+20
	bl	printf
	ldr	r0, .L180+24
	bl	puts
	mov	r0, #0
	bl	parseprogs
	mov	r3, #0
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L177
.L179:
	ldr	r2, .L180+28
	ldr	r3, [fp, #-20]
	ldr	r3, [r2, r3, lsl #2]
	cmp	r3, #0
	beq	.L178
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-28]
	add	r3, r3, #4
	ldr	r3, [r3]
	ldr	r2, .L180+32
	mov	r1, r3
	ldr	r0, [fp, #-20]
	bl	find
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmn	r3, #1
	beq	.L178
	ldr	r0, .L180+36
	bl	printf
	ldr	r0, [fp, #-20]
	bl	printtitle
	ldr	r0, [fp, #-20]
	bl	idmatch
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L180+40
	bl	printf
	mov	r0, #10
	bl	putchar
	ldr	r1, .L180+32
	ldr	r0, [fp, #-20]
	bl	display
	ldr	r3, .L180+44
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L180+44
	str	r3, [r2]
	ldr	r3, .L180+32
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	str	r3, [fp, #-16]
.L178:
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L177:
	ldr	r3, .L180+16
	ldr	r3, [r3]
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	blt	.L179
	ldr	r0, .L180+48
	bl	puts
	ldr	r1, [fp, #-16]
	ldr	r0, .L180+52
	bl	printf
	ldr	r3, .L180+44
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L180+56
	bl	printf
	ldr	r3, .L180+16
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L180+60
	bl	printf
	ldr	r1, [fp, #-12]
	ldr	r0, .L180+64
	bl	printf
	ldr	r3, .L180+44
	ldr	r2, [r3]
	ldr	r3, .L180+16
	ldr	r1, [r3]
	ldr	r3, [fp, #-12]
	str	r3, [sp]
	mov	r3, r1
	ldr	r1, [fp, #-16]
	ldr	r0, .L180+68
	bl	printf
	mov	r3, #0
.L176:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L181:
	.align	2
.L180:
	.word	stderr
	.word	.LC12
	.word	LEN
	.word	.LC13
	.word	numprogs
	.word	.LC14
	.word	.LC15
	.word	titlenums
	.word	pri
	.word	.LC16
	.word	.LC17
	.word	n1
	.word	.LC18
	.word	.LC19
	.word	.LC20
	.word	.LC21
	.word	.LC22
	.word	.LC23
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
