	.file	"681087.c"
	.intel_syntax noprefix
	.text
	.globl	DICTSIZ
	.data
	.align 4
	.type	DICTSIZ, @object
	.size	DICTSIZ, 4
DICTSIZ:
	.long	100
	.globl	dictonaryList
	.bss
	.align 8
	.type	dictonaryList, @object
	.size	dictonaryList, 8
dictonaryList:
	.zero	8
	.globl	nwords
	.align 4
	.type	nwords, @object
	.size	nwords, 4
nwords:
	.zero	4
	.section	.rodata
	.align 8
.LC0:
	.string	"Welcome to the dictonary program "
	.align 8
.LC1:
	.string	"Dictionary initialized to empty."
	.align 8
.LC2:
	.string	"Enter the word to be inserted "
	.align 8
.LC3:
	.string	"Enter the meaning of the word "
.LC4:
	.string	"%s inserted with meaning %s\n"
	.align 8
.LC5:
	.string	"Enter the word to be deleted  "
.LC6:
	.string	"%s deleted.\n"
.LC7:
	.string	"%s not found.\n"
	.align 8
.LC8:
	.string	"Enter the word to be looked up "
.LC9:
	.string	"%s meaning %s .\n"
.LC10:
	.string	"program quits."
.LC11:
	.string	"command        Function "
	.align 8
.LC12:
	.string	"------         -----------------------------  "
	.align 8
.LC13:
	.string	" \"I\"         for initialize the database    "
	.align 8
.LC14:
	.string	" \"i\"         for insert data to database    "
	.align 8
.LC15:
	.string	" \"d\"         for delete word from database  "
	.align 8
.LC16:
	.string	" \"l\"         for lookup word and q for quit "
.LC17:
	.string	"command %c invalid.\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 160
	mov	DWORD PTR -148[rbp], edi
	mov	QWORD PTR -160[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdi, .LC0[rip]
	call	puts@PLT
.L13:
	mov	eax, 0
	call	getCmd
	mov	BYTE PTR -137[rbp], al
	movsx	eax, BYTE PTR -137[rbp]
	cmp	eax, 113
	je	.L2
	cmp	eax, 113
	jg	.L3
	cmp	eax, 108
	je	.L4
	cmp	eax, 108
	jg	.L3
	cmp	eax, 105
	je	.L5
	cmp	eax, 105
	jg	.L3
	cmp	eax, 100
	je	.L6
	cmp	eax, 100
	jg	.L3
	cmp	eax, 63
	je	.L7
	cmp	eax, 73
	jne	.L3
	mov	eax, 0
	call	initw
	lea	rdi, .LC1[rip]
	call	puts@PLT
	jmp	.L8
.L5:
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -128[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	getword
	test	eax, eax
	je	.L15
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -64[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	getword
	test	eax, eax
	je	.L15
	lea	rdx, -64[rbp]
	lea	rax, -128[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	insertw
	lea	rdx, -64[rbp]
	lea	rax, -128[rbp]
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L15
.L6:
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -128[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	getword
	test	eax, eax
	je	.L16
	lea	rax, -128[rbp]
	mov	rdi, rax
	call	deletew
	test	eax, eax
	je	.L11
	lea	rax, -128[rbp]
	mov	rsi, rax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L16
.L11:
	lea	rax, -128[rbp]
	mov	rsi, rax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L16
.L4:
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -128[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	getword
	test	eax, eax
	je	.L17
	lea	rax, -128[rbp]
	mov	rdi, rax
	call	lookupw
	mov	QWORD PTR -136[rbp], rax
	mov	rdx, QWORD PTR -136[rbp]
	lea	rax, -128[rbp]
	mov	rsi, rax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L17
.L2:
	lea	rdi, .LC10[rip]
	call	puts@PLT
	mov	edi, 0
	call	exit@PLT
.L7:
	lea	rdi, .LC11[rip]
	call	puts@PLT
	lea	rdi, .LC12[rip]
	call	puts@PLT
	lea	rdi, .LC13[rip]
	call	puts@PLT
	lea	rdi, .LC14[rip]
	call	puts@PLT
	lea	rdi, .LC15[rip]
	call	puts@PLT
	lea	rdi, .LC16[rip]
	call	puts@PLT
	jmp	.L8
.L3:
	movsx	eax, BYTE PTR -137[rbp]
	mov	esi, eax
	lea	rdi, .LC17[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L8
.L15:
	nop
	jmp	.L13
.L16:
	nop
	jmp	.L13
.L17:
	nop
.L8:
	jmp	.L13
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC18:
	.string	" Enter the command and ? for help "
	.text
	.globl	getCmd
	.type	getCmd, @function
getCmd:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	lea	rdi, .LC18[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR stdin[rip]
	mov	rdi, rax
	call	getc@PLT
	mov	BYTE PTR -1[rbp], al
	jmp	.L19
.L20:
	mov	rax, QWORD PTR stdin[rip]
	mov	rdi, rax
	call	getc@PLT
	mov	BYTE PTR -1[rbp], al
.L19:
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	movsx	rax, BYTE PTR -1[rbp]
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 8192
	test	eax, eax
	jne	.L20
	cmp	BYTE PTR -1[rbp], -1
	jne	.L21
	mov	eax, -1
	jmp	.L22
.L21:
	movsx	eax, BYTE PTR -1[rbp]
.L22:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	getCmd, .-getCmd
	.section	.rodata
.LC19:
	.string	"error: word too long."
	.text
	.globl	getword
	.type	getword, @function
getword:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR stdin[rip]
	mov	rdi, rax
	call	getc@PLT
	mov	DWORD PTR -4[rbp], eax
	jmp	.L24
.L25:
	mov	rax, QWORD PTR stdin[rip]
	mov	rdi, rax
	call	getc@PLT
	mov	DWORD PTR -4[rbp], eax
.L24:
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 8192
	test	eax, eax
	jne	.L25
	cmp	DWORD PTR -4[rbp], -1
	jne	.L26
	mov	eax, -1
	jmp	.L27
.L26:
	cmp	DWORD PTR -4[rbp], 10
	jne	.L28
	mov	eax, 0
	jmp	.L27
.L28:
	mov	DWORD PTR -8[rbp], 0
	jmp	.L29
.L31:
	add	DWORD PTR -8[rbp], 1
	cmp	DWORD PTR -8[rbp], 50
	jle	.L30
	lea	rdi, .LC19[rip]
	call	puts@PLT
	mov	edi, 1
	call	exit@PLT
.L30:
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -24[rbp], rdx
	mov	edx, DWORD PTR -4[rbp]
	mov	BYTE PTR [rax], dl
	mov	rax, QWORD PTR stdin[rip]
	mov	rdi, rax
	call	getc@PLT
	mov	DWORD PTR -4[rbp], eax
.L29:
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 8192
	test	eax, eax
	je	.L31
	mov	rax, QWORD PTR -24[rbp]
	mov	BYTE PTR [rax], 0
	mov	eax, DWORD PTR -8[rbp]
.L27:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	getword, .-getword
	.section	.rodata
.LC20:
	.string	"Memory allocation failed"
	.text
	.globl	initw
	.type	initw, @function
initw:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	rax, QWORD PTR dictonaryList[rip]
	test	rax, rax
	je	.L33
	mov	rax, QWORD PTR dictonaryList[rip]
	mov	rdi, rax
	call	free@PLT
.L33:
	mov	eax, DWORD PTR DICTSIZ[rip]
	cdqe
	mov	rsi, rax
	mov	edi, 24
	call	calloc@PLT
	mov	QWORD PTR dictonaryList[rip], rax
	mov	rax, QWORD PTR dictonaryList[rip]
	test	rax, rax
	jne	.L34
	lea	rdi, .LC20[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L34:
	mov	DWORD PTR nwords[rip], 0
	mov	eax, 1
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	initw, .-initw
	.globl	insertw
	.type	insertw, @function
insertw:
.LFB10:
	.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	QWORD PTR -40[rbp], rdi
	mov	QWORD PTR -48[rbp], rsi
	mov	DWORD PTR -32[rbp], 0
	mov	QWORD PTR -24[rbp], 0
	jmp	.L37
.L43:
	mov	rdx, QWORD PTR dictonaryList[rip]
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rax, QWORD PTR [rax]
	mov	rdx, QWORD PTR -40[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L38
	mov	DWORD PTR -28[rbp], 0
	jmp	.L39
.L42:
	mov	rdx, QWORD PTR dictonaryList[rip]
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdx, QWORD PTR 8[rax]
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdx, QWORD PTR -48[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L40
	mov	eax, 1
	jmp	.L41
.L40:
	add	DWORD PTR -28[rbp], 1
.L39:
	mov	rdx, QWORD PTR dictonaryList[rip]
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR 16[rax]
	cmp	DWORD PTR -28[rbp], eax
	jl	.L42
	mov	rax, QWORD PTR -48[rbp]
	mov	rdi, rax
	call	strlen@PLT
	add	rax, 1
	mov	rcx, QWORD PTR dictonaryList[rip]
	mov	edx, DWORD PTR -32[rbp]
	movsx	rdx, edx
	sal	rdx, 3
	add	rdx, rcx
	mov	rdx, QWORD PTR [rdx]
	mov	rcx, QWORD PTR 8[rdx]
	mov	edx, DWORD PTR -28[rbp]
	movsx	rdx, edx
	sal	rdx, 3
	lea	rbx, [rcx+rdx]
	mov	rsi, rax
	mov	edi, 1
	call	calloc@PLT
	mov	QWORD PTR [rbx], rax
	mov	rdx, QWORD PTR dictonaryList[rip]
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdx, QWORD PTR 8[rax]
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdx, QWORD PTR -48[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	mov	rdx, QWORD PTR dictonaryList[rip]
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	edx, DWORD PTR 16[rax]
	add	edx, 1
	mov	DWORD PTR 16[rax], edx
	mov	eax, 1
	jmp	.L41
.L38:
	add	DWORD PTR -32[rbp], 1
.L37:
	mov	eax, DWORD PTR nwords[rip]
	cmp	DWORD PTR -32[rbp], eax
	jl	.L43
	mov	esi, 1
	mov	edi, 24
	call	calloc@PLT
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	strlen@PLT
	add	rax, 1
	mov	rsi, rax
	mov	edi, 1
	call	calloc@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR [rax], rdx
	mov	esi, 100
	mov	edi, 8
	call	calloc@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR -48[rbp]
	mov	rdi, rax
	call	strlen@PLT
	add	rax, 1
	mov	rdx, QWORD PTR -24[rbp]
	mov	rbx, QWORD PTR 8[rdx]
	mov	rsi, rax
	mov	edi, 1
	call	calloc@PLT
	mov	QWORD PTR [rbx], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rax, QWORD PTR [rax]
	mov	rdx, QWORD PTR -48[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 16[rax]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR 16[rax], edx
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdx, QWORD PTR -40[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	mov	edx, DWORD PTR nwords[rip]
	mov	eax, DWORD PTR DICTSIZ[rip]
	cmp	edx, eax
	jl	.L44
	mov	eax, DWORD PTR DICTSIZ[rip]
	add	eax, 100
	movsx	rdx, eax
	mov	rax, QWORD PTR dictonaryList[rip]
	mov	rsi, rdx
	mov	rdi, rax
	call	realloc@PLT
	mov	QWORD PTR dictonaryList[rip], rax
	mov	eax, DWORD PTR DICTSIZ[rip]
	add	eax, 100
	mov	DWORD PTR DICTSIZ[rip], eax
.L44:
	mov	rcx, QWORD PTR dictonaryList[rip]
	mov	eax, DWORD PTR nwords[rip]
	lea	edx, 1[rax]
	mov	DWORD PTR nwords[rip], edx
	cdqe
	sal	rax, 3
	lea	rdx, [rcx+rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR [rdx], rax
	mov	eax, DWORD PTR nwords[rip]
.L41:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	insertw, .-insertw
	.globl	deletew
	.type	deletew, @function
deletew:
.LFB11:
	.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	eax, 0
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	deletew, .-deletew
	.globl	lookupw
	.type	lookupw, @function
lookupw:
.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	DWORD PTR -8[rbp], 0
	jmp	.L48
.L51:
	mov	rdx, QWORD PTR dictonaryList[rip]
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rax, QWORD PTR [rax]
	mov	rdx, QWORD PTR -24[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L49
	call	rand@PLT
	mov	rcx, QWORD PTR dictonaryList[rip]
	mov	edx, DWORD PTR -8[rbp]
	movsx	rdx, edx
	sal	rdx, 3
	add	rdx, rcx
	mov	rdx, QWORD PTR [rdx]
	mov	ecx, DWORD PTR 16[rdx]
	cdq
	idiv	ecx
	mov	DWORD PTR -4[rbp], edx
	mov	rdx, QWORD PTR dictonaryList[rip]
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdx, QWORD PTR 8[rax]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	jmp	.L50
.L49:
	add	DWORD PTR -8[rbp], 1
.L48:
	mov	eax, DWORD PTR nwords[rip]
	cmp	DWORD PTR -8[rbp], eax
	jl	.L51
	mov	eax, 0
.L50:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	lookupw, .-lookupw
	.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	"681087.c"
	.text
	.global	DICTSIZ
	.data
	.align	2
	.type	DICTSIZ, %object
	.size	DICTSIZ, 4
DICTSIZ:
	.word	100
	.comm	dictonaryList,4,4
	.global	nwords
	.bss
	.align	2
	.type	nwords, %object
	.size	nwords, 4
nwords:
	.space	4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Welcome to the dictonary program \000"
	.align	2
.LC1:
	.ascii	"Dictionary initialized to empty.\000"
	.align	2
.LC2:
	.ascii	"Enter the word to be inserted \000"
	.align	2
.LC3:
	.ascii	"Enter the meaning of the word \000"
	.align	2
.LC4:
	.ascii	"%s inserted with meaning %s\012\000"
	.align	2
.LC5:
	.ascii	"Enter the word to be deleted  \000"
	.align	2
.LC6:
	.ascii	"%s deleted.\012\000"
	.align	2
.LC7:
	.ascii	"%s not found.\012\000"
	.align	2
.LC8:
	.ascii	"Enter the word to be looked up \000"
	.align	2
.LC9:
	.ascii	"%s meaning %s .\012\000"
	.align	2
.LC10:
	.ascii	"program quits.\000"
	.align	2
.LC11:
	.ascii	"command        Function \000"
	.align	2
.LC12:
	.ascii	"------         -----------------------------  \000"
	.align	2
.LC13:
	.ascii	" \"I\"         for initialize the database    \000"
	.align	2
.LC14:
	.ascii	" \"i\"         for insert data to database    \000"
	.align	2
.LC15:
	.ascii	" \"d\"         for delete word from database  \000"
	.align	2
.LC16:
	.ascii	" \"l\"         for lookup word and q for quit \000"
	.align	2
.LC17:
	.ascii	"command %c invalid.\012\000"
	.align	2
.LC18:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 128
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #128
	str	r0, [fp, #-128]
	str	r1, [fp, #-132]
	ldr	r3, .L21
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r0, .L21+4
	bl	puts
.L16:
	bl	getCmd
	mov	r3, r0
	strb	r3, [fp, #-117]
	ldrb	r3, [fp, #-117]	@ zero_extendqisi2
	cmp	r3, #113
	bgt	.L2
	cmp	r3, #100
	bge	.L3
	cmp	r3, #63
	beq	.L4
	cmp	r3, #73
	beq	.L5
	b	.L2
.L3:
	sub	r3, r3, #100
	cmp	r3, #13
	ldrls	pc, [pc, r3, asl #2]
	b	.L2
.L7:
	.word	.L10
	.word	.L2
	.word	.L2
	.word	.L2
	.word	.L2
	.word	.L9
	.word	.L2
	.word	.L2
	.word	.L8
	.word	.L2
	.word	.L2
	.word	.L2
	.word	.L2
	.word	.L6
.L5:
	bl	initw
	ldr	r0, .L21+8
	bl	puts
	b	.L11
.L9:
	ldr	r0, .L21+12
	bl	printf
	sub	r3, fp, #112
	mov	r0, r3
	bl	getword
	mov	r3, r0
	cmp	r3, #0
	beq	.L18
	ldr	r0, .L21+16
	bl	printf
	sub	r3, fp, #60
	mov	r0, r3
	bl	getword
	mov	r3, r0
	cmp	r3, #0
	beq	.L18
	sub	r2, fp, #60
	sub	r3, fp, #112
	mov	r1, r2
	mov	r0, r3
	bl	insertw
	sub	r2, fp, #60
	sub	r3, fp, #112
	mov	r1, r3
	ldr	r0, .L21+20
	bl	printf
	b	.L18
.L10:
	ldr	r0, .L21+24
	bl	printf
	sub	r3, fp, #112
	mov	r0, r3
	bl	getword
	mov	r3, r0
	cmp	r3, #0
	beq	.L19
	sub	r3, fp, #112
	mov	r0, r3
	bl	deletew
	mov	r3, r0
	cmp	r3, #0
	beq	.L14
	sub	r3, fp, #112
	mov	r1, r3
	ldr	r0, .L21+28
	bl	printf
	b	.L19
.L14:
	sub	r3, fp, #112
	mov	r1, r3
	ldr	r0, .L21+32
	bl	printf
	b	.L19
.L8:
	ldr	r0, .L21+36
	bl	printf
	sub	r3, fp, #112
	mov	r0, r3
	bl	getword
	mov	r3, r0
	cmp	r3, #0
	beq	.L20
	sub	r3, fp, #112
	mov	r0, r3
	bl	lookupw
	str	r0, [fp, #-116]
	sub	r3, fp, #112
	ldr	r2, [fp, #-116]
	mov	r1, r3
	ldr	r0, .L21+40
	bl	printf
	b	.L20
.L6:
	ldr	r0, .L21+44
	bl	puts
	mov	r0, #0
	bl	exit
.L4:
	ldr	r0, .L21+48
	bl	puts
	ldr	r0, .L21+52
	bl	puts
	ldr	r0, .L21+56
	bl	puts
	ldr	r0, .L21+60
	bl	puts
	ldr	r0, .L21+64
	bl	puts
	ldr	r0, .L21+68
	bl	puts
	b	.L11
.L2:
	ldrb	r3, [fp, #-117]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, .L21+72
	bl	printf
	b	.L11
.L18:
	nop
	b	.L16
.L19:
	nop
	b	.L16
.L20:
	nop
.L11:
	b	.L16
.L22:
	.align	2
.L21:
	.word	.LC18
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.size	main, .-main
	.section	.rodata
	.align	2
.LC19:
	.ascii	" Enter the command and ? for help \000"
	.text
	.align	2
	.global	getCmd
	.syntax unified
	.arm
	.fpu softvfp
	.type	getCmd, %function
getCmd:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	ldr	r0, .L27
	bl	printf
	ldr	r3, .L27+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	getc
	mov	r3, r0
	strb	r3, [fp, #-5]
	b	.L24
.L25:
	ldr	r3, .L27+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	getc
	mov	r3, r0
	strb	r3, [fp, #-5]
.L24:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #8192
	cmp	r3, #0
	bne	.L25
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L28:
	.align	2
.L27:
	.word	.LC19
	.word	stdin
	.size	getCmd, .-getCmd
	.section	.rodata
	.align	2
.LC20:
	.ascii	"error: word too long.\000"
	.text
	.align	2
	.global	getword
	.syntax unified
	.arm
	.fpu softvfp
	.type	getword, %function
getword:
	@ 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]
	ldr	r3, .L38
	ldr	r3, [r3]
	mov	r0, r3
	bl	getc
	str	r0, [fp, #-8]
	b	.L30
.L31:
	ldr	r3, .L38
	ldr	r3, [r3]
	mov	r0, r3
	bl	getc
	str	r0, [fp, #-8]
.L30:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #8192
	cmp	r3, #0
	bne	.L31
	ldr	r3, [fp, #-8]
	cmn	r3, #1
	bne	.L32
	mvn	r3, #0
	b	.L33
.L32:
	ldr	r3, [fp, #-8]
	cmp	r3, #10
	bne	.L34
	mov	r3, #0
	b	.L33
.L34:
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L35
.L37:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #50
	ble	.L36
	ldr	r0, .L38+4
	bl	puts
	mov	r0, #1
	bl	exit
.L36:
	ldr	r3, [fp, #-16]
	add	r2, r3, #1
	str	r2, [fp, #-16]
	ldr	r2, [fp, #-8]
	and	r2, r2, #255
	strb	r2, [r3]
	ldr	r3, .L38
	ldr	r3, [r3]
	mov	r0, r3
	bl	getc
	str	r0, [fp, #-8]
.L35:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #8192
	cmp	r3, #0
	beq	.L37
	ldr	r3, [fp, #-16]
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-12]
.L33:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L39:
	.align	2
.L38:
	.word	stdin
	.word	.LC20
	.size	getword, .-getword
	.section	.rodata
	.align	2
.LC21:
	.ascii	"Memory allocation failed\000"
	.text
	.align	2
	.global	initw
	.syntax unified
	.arm
	.fpu softvfp
	.type	initw, %function
initw:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L44
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L41
	ldr	r3, .L44
	ldr	r3, [r3]
	mov	r0, r3
	bl	free
.L41:
	ldr	r3, .L44+4
	ldr	r3, [r3]
	mov	r1, r3
	mov	r0, #12
	bl	calloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L44
	str	r2, [r3]
	ldr	r3, .L44
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L42
	ldr	r0, .L44+8
	bl	perror
	mov	r0, #1
	bl	exit
.L42:
	ldr	r3, .L44+12
	mov	r2, #0
	str	r2, [r3]
	mov	r3, #1
	mov	r0, r3
	pop	{fp, pc}
.L45:
	.align	2
.L44:
	.word	dictonaryList
	.word	DICTSIZ
	.word	.LC21
	.word	nwords
	.size	initw, .-initw
	.align	2
	.global	insertw
	.syntax unified
	.arm
	.fpu softvfp
	.type	insertw, %function
insertw:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #28
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	mov	r3, #0
	str	r3, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L47
.L53:
	ldr	r3, .L55
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r3, [r3]
	ldr	r1, [fp, #-32]
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L48
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L49
.L52:
	ldr	r3, .L55
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r1, [fp, #-36]
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L50
	mov	r3, #1
	b	.L51
.L50:
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L49:
	ldr	r3, .L55
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r3, [r3, #8]
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	blt	.L52
	ldr	r0, [fp, #-36]
	bl	strlen
	mov	r3, r0
	add	r1, r3, #1
	ldr	r3, .L55
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	add	r4, r2, r3
	mov	r0, #1
	bl	calloc
	mov	r3, r0
	str	r3, [r4]
	ldr	r3, .L55
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r1, [fp, #-36]
	mov	r0, r3
	bl	strcpy
	ldr	r3, .L55
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, [r3, #8]
	add	r2, r2, #1
	str	r2, [r3, #8]
	mov	r3, #1
	b	.L51
.L48:
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L47:
	ldr	r3, .L55+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-24]
	cmp	r2, r3
	blt	.L53
	mov	r1, #1
	mov	r0, #12
	bl	calloc
	mov	r3, r0
	str	r3, [fp, #-16]
	ldr	r0, [fp, #-32]
	bl	strlen
	mov	r3, r0
	add	r3, r3, #1
	mov	r1, r3
	mov	r0, #1
	bl	calloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-16]
	str	r2, [r3]
	mov	r1, #100
	mov	r0, #4
	bl	calloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-16]
	str	r2, [r3, #4]
	ldr	r0, [fp, #-36]
	bl	strlen
	mov	r3, r0
	add	r2, r3, #1
	ldr	r3, [fp, #-16]
	ldr	r4, [r3, #4]
	mov	r1, r2
	mov	r0, #1
	bl	calloc
	mov	r3, r0
	str	r3, [r4]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	ldr	r3, [r3]
	ldr	r1, [fp, #-36]
	mov	r0, r3
	bl	strcpy
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #8]
	add	r2, r3, #1
	ldr	r3, [fp, #-16]
	str	r2, [r3, #8]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldr	r1, [fp, #-32]
	mov	r0, r3
	bl	strcpy
	ldr	r3, .L55+4
	ldr	r2, [r3]
	ldr	r3, .L55+8
	ldr	r3, [r3]
	cmp	r2, r3
	blt	.L54
	ldr	r3, .L55
	ldr	r2, [r3]
	ldr	r3, .L55+8
	ldr	r3, [r3]
	add	r3, r3, #100
	mov	r1, r3
	mov	r0, r2
	bl	realloc
	mov	r3, r0
	ldr	r2, .L55
	str	r3, [r2]
	ldr	r3, .L55+8
	ldr	r3, [r3]
	add	r3, r3, #100
	ldr	r2, .L55+8
	str	r3, [r2]
.L54:
	ldr	r3, .L55
	ldr	r2, [r3]
	ldr	r3, .L55+4
	ldr	r3, [r3]
	add	r1, r3, #1
	ldr	r0, .L55+4
	str	r1, [r0]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [fp, #-16]
	str	r2, [r3]
	ldr	r3, .L55+4
	ldr	r3, [r3]
.L51:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L56:
	.align	2
.L55:
	.word	dictonaryList
	.word	nwords
	.word	DICTSIZ
	.size	insertw, .-insertw
	.align	2
	.global	deletew
	.syntax unified
	.arm
	.fpu softvfp
	.type	deletew, %function
deletew:
	@ 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]
	mov	r3, #0
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	deletew, .-deletew
	.global	__aeabi_idivmod
	.align	2
	.global	lookupw
	.syntax unified
	.arm
	.fpu softvfp
	.type	lookupw, %function
lookupw:
	@ 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, #-12]
	b	.L60
.L63:
	ldr	r3, .L64
	ldr	r2, [r3]
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r3, [r3]
	ldr	r1, [fp, #-16]
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L61
	bl	rand
	ldr	r3, .L64
	ldr	r2, [r3]
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r3, [r3, #8]
	mov	r1, r3
	bl	__aeabi_idivmod
	mov	r3, r1
	str	r3, [fp, #-8]
	ldr	r3, .L64
	ldr	r2, [r3]
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	b	.L62
.L61:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L60:
	ldr	r3, .L64+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	blt	.L63
	mov	r3, #0
.L62:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L65:
	.align	2
.L64:
	.word	dictonaryList
	.word	nwords
	.size	lookupw, .-lookupw
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
