	.file	"820362.c"
	.intel_syntax noprefix
	.text
	.local	hashtab
	.comm	hashtab,24,16
	.globl	buf
	.bss
	.align 32
	.type	buf, @object
	.size	buf, 100
buf:
	.zero	100
	.globl	bufp
	.align 4
	.type	bufp, @object
	.size	bufp, 4
bufp:
	.zero	4
	.globl	pattern
	.section	.rodata
.LC0:
	.string	"#define"
	.section	.data.rel.local,"aw"
	.align 8
	.type	pattern, @object
	.size	pattern, 8
pattern:
	.quad	.LC0
	.globl	undefpattern
	.section	.rodata
.LC1:
	.string	"#undef"
	.section	.data.rel.local
	.align 8
	.type	undefpattern, @object
	.size	undefpattern, 8
undefpattern:
	.quad	.LC1
	.globl	undefchar
	.bss
	.align 8
	.type	undefchar, @object
	.size	undefchar, 8
undefchar:
	.zero	8
	.section	.rodata
.LC2:
	.string	" "
.LC3:
	.string	"\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, 1072
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	jmp	.L2
.L4:
	mov	rdx, QWORD PTR pattern[rip]
	lea	rax, -1024[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strindex
	test	eax, eax
	js	.L3
	lea	rax, -1024[rbp]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	call	strtok@PLT
	mov	QWORD PTR -1048[rbp], rax
	lea	rsi, .LC2[rip]
	mov	edi, 0
	call	strtok@PLT
	mov	QWORD PTR -1040[rbp], rax
	lea	rsi, .LC3[rip]
	mov	edi, 0
	call	strtok@PLT
	mov	QWORD PTR -1032[rbp], rax
	mov	rdx, QWORD PTR -1032[rbp]
	mov	rax, QWORD PTR -1040[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	install
	jmp	.L2
.L3:
	mov	rdx, QWORD PTR undefpattern[rip]
	lea	rax, -1024[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strindex
	test	eax, eax
	js	.L2
	lea	rax, -1024[rbp]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	call	strtok@PLT
	mov	QWORD PTR -1064[rbp], rax
	lea	rsi, .LC3[rip]
	mov	edi, 0
	call	strtok@PLT
	mov	QWORD PTR -1056[rbp], rax
	mov	rax, QWORD PTR -1056[rbp]
	mov	rdi, rax
	call	undef
.L2:
	lea	rax, -1024[rbp]
	mov	esi, 1001
	mov	rdi, rax
	call	getline01
	mov	DWORD PTR -1068[rbp], eax
	cmp	DWORD PTR -1068[rbp], 0
	jg	.L4
	mov	eax, 0
	call	printfhashtab
	mov	edi, 10
	call	putchar@PLT
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L6
	call	__stack_chk_fail@PLT
.L6:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.globl	hash
	.type	hash, @function
hash:
.LFB7:
	.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 -24[rbp], rdi
	mov	DWORD PTR -4[rbp], 0
	jmp	.L8
.L9:
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	ecx, al
	mov	edx, DWORD PTR -4[rbp]
	mov	eax, edx
	sal	eax, 5
	sub	eax, edx
	add	eax, ecx
	mov	DWORD PTR -4[rbp], eax
	add	QWORD PTR -24[rbp], 1
.L8:
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L9
	mov	ecx, DWORD PTR -4[rbp]
	mov	edx, ecx
	mov	eax, 2863311531
	imul	rax, rdx
	shr	rax, 32
	shr	eax
	mov	edx, eax
	add	edx, edx
	add	edx, eax
	mov	eax, ecx
	sub	eax, edx
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	hash, .-hash
	.globl	lookup
	.type	lookup, @function
lookup:
.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 -24[rbp]
	mov	rdi, rax
	call	hash
	mov	eax, eax
	lea	rdx, 0[0+rax*8]
	lea	rax, hashtab[rip]
	mov	rax, QWORD PTR [rdx+rax]
	mov	QWORD PTR -8[rbp], rax
	jmp	.L12
.L15:
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L13
	mov	rax, QWORD PTR -8[rbp]
	jmp	.L14
.L13:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -8[rbp], rax
.L12:
	cmp	QWORD PTR -8[rbp], 0
	jne	.L15
	mov	eax, 0
.L14:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	lookup, .-lookup
	.globl	prvlookup
	.type	prvlookup, @function
prvlookup:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	hash
	mov	eax, eax
	lea	rdx, 0[0+rax*8]
	lea	rax, hashtab[rip]
	mov	rax, QWORD PTR [rdx+rax]
	mov	QWORD PTR -8[rbp], rax
	jmp	.L17
.L20:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdx, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L18
	mov	rax, QWORD PTR -8[rbp]
	jmp	.L19
.L18:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -8[rbp], rax
.L17:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	jne	.L20
	mov	eax, 0
.L19:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	prvlookup, .-prvlookup
	.globl	install
	.type	install, @function
install:
.LFB10:
	.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	rdi, rax
	call	lookup
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L22
	mov	edi, 24
	call	malloc@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	je	.L23
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	strdup@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 8[rax]
	test	rax, rax
	jne	.L24
.L23:
	mov	eax, 0
	jmp	.L25
.L24:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	hash
	mov	DWORD PTR -12[rbp], eax
	mov	eax, DWORD PTR -12[rbp]
	lea	rdx, 0[0+rax*8]
	lea	rax, hashtab[rip]
	mov	rdx, QWORD PTR [rdx+rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR [rax], rdx
	mov	eax, DWORD PTR -12[rbp]
	lea	rcx, 0[0+rax*8]
	lea	rdx, hashtab[rip]
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR [rcx+rdx], rax
	jmp	.L26
.L22:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	rdi, rax
	call	free@PLT
.L26:
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	strdup@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 16[rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 16[rax]
	test	rax, rax
	jne	.L27
	mov	eax, 0
	jmp	.L25
.L27:
	mov	rax, QWORD PTR -8[rbp]
.L25:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	install, .-install
	.section	.rodata
	.align 8
.LC4:
	.string	"\346\235\241\344\273\266\343\201\253\345\275\223\343\201\246\343\201\257\343\201\276\343\202\213\345\256\232\347\276\251\343\201\214\343\201\202\343\202\212\343\201\276\343\201\233\343\202\223"
	.text
	.globl	undef
	.type	undef, @function
undef:
.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, 48
	mov	QWORD PTR -40[rbp], rdi
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	lookup
	test	rax, rax
	jne	.L29
	lea	rdi, .LC4[rip]
	call	puts@PLT
	jmp	.L28
.L29:
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	hash
	mov	eax, eax
	lea	rdx, 0[0+rax*8]
	lea	rax, hashtab[rip]
	mov	rax, QWORD PTR [rdx+rax]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	jne	.L31
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	hash
	mov	eax, eax
	lea	rdx, 0[0+rax*8]
	lea	rax, hashtab[rip]
	mov	rax, QWORD PTR [rdx+rax]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	hash
	mov	eax, eax
	lea	rdx, 0[0+rax*8]
	lea	rax, hashtab[rip]
	mov	QWORD PTR [rdx+rax], 0
	jmp	.L28
.L31:
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	prvlookup
	mov	QWORD PTR -24[rbp], rax
	cmp	QWORD PTR -24[rbp], 0
	je	.L32
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	free@PLT
	jmp	.L28
.L32:
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	hash
	mov	eax, eax
	lea	rdx, 0[0+rax*8]
	lea	rax, hashtab[rip]
	mov	rax, QWORD PTR [rdx+rax]
	test	rax, rax
	je	.L28
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	hash
	mov	eax, eax
	lea	rdx, 0[0+rax*8]
	lea	rax, hashtab[rip]
	mov	rax, QWORD PTR [rdx+rax]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	hash
	mov	eax, eax
	lea	rdx, 0[0+rax*8]
	lea	rax, hashtab[rip]
	mov	rax, QWORD PTR [rdx+rax]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	hash
	mov	eax, eax
	lea	rcx, 0[0+rax*8]
	lea	rdx, hashtab[rip]
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR [rcx+rdx], rax
	nop
.L28:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	undef, .-undef
	.section	.rodata
.LC5:
	.string	"%d : NULL\n"
.LC6:
	.string	"%d : "
	.text
	.globl	printfhashtab
	.type	printfhashtab, @function
printfhashtab:
.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, 16
	mov	DWORD PTR -12[rbp], 0
	jmp	.L34
.L37:
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, hashtab[rip]
	mov	rax, QWORD PTR [rdx+rax]
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L35
	mov	eax, DWORD PTR -12[rbp]
	mov	esi, eax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L36
.L35:
	mov	eax, DWORD PTR -12[rbp]
	mov	esi, eax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	printNode
	lea	rdi, .LC3[rip]
	call	puts@PLT
.L36:
	add	DWORD PTR -12[rbp], 1
.L34:
	cmp	DWORD PTR -12[rbp], 2
	jle	.L37
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	printfhashtab, .-printfhashtab
	.section	.rodata
.LC7:
	.string	"name %s,defn: %s !----!"
	.text
	.globl	printNode
	.type	printNode, @function
printNode:
.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, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR 16[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rsi, rax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	je	.L40
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	printNode
.L40:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	printNode, .-printNode
	.globl	getline01
	.type	getline01, @function
getline01:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	DWORD PTR -4[rbp], 0
	jmp	.L42
.L44:
	mov	eax, DWORD PTR -4[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -4[rbp], edx
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR -8[rbp]
	mov	BYTE PTR [rax], dl
.L42:
	sub	DWORD PTR -28[rbp], 1
	cmp	DWORD PTR -28[rbp], 0
	jle	.L43
	call	getchar@PLT
	mov	DWORD PTR -8[rbp], eax
	cmp	DWORD PTR -8[rbp], -1
	je	.L43
	cmp	DWORD PTR -8[rbp], 10
	jne	.L44
.L43:
	cmp	DWORD PTR -8[rbp], 10
	jne	.L45
	mov	eax, DWORD PTR -4[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -4[rbp], edx
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR -8[rbp]
	mov	BYTE PTR [rax], dl
.L45:
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	mov	eax, DWORD PTR -4[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	getline01, .-getline01
	.globl	strindex
	.type	strindex, @function
strindex:
.LFB15:
	.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 -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	DWORD PTR -12[rbp], 0
	jmp	.L48
.L54:
	mov	eax, DWORD PTR -4[rbp]
	mov	DWORD PTR -8[rbp], eax
	mov	DWORD PTR -4[rbp], 0
	jmp	.L49
.L51:
	add	DWORD PTR -8[rbp], 1
	add	DWORD PTR -4[rbp], 1
.L49:
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L50
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	edx, BYTE PTR [rax]
	mov	eax, DWORD PTR -4[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rcx
	movzx	eax, BYTE PTR [rax]
	cmp	dl, al
	je	.L51
.L50:
	cmp	DWORD PTR -4[rbp], 0
	jle	.L52
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L52
	mov	eax, DWORD PTR -12[rbp]
	jmp	.L53
.L52:
	add	DWORD PTR -12[rbp], 1
.L48:
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L54
	mov	eax, -1
.L53:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE15:
	.size	strindex, .-strindex
	.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	"820362.c"
	.text
	.local	hashtab
	.comm	hashtab,12,4
	.comm	buf,100,4
	.global	bufp
	.bss
	.align	2
	.type	bufp, %object
	.size	bufp, 4
bufp:
	.space	4
	.global	pattern
	.section	.rodata
	.align	2
.LC0:
	.ascii	"#define\000"
	.data
	.align	2
	.type	pattern, %object
	.size	pattern, 4
pattern:
	.word	.LC0
	.global	undefpattern
	.section	.rodata
	.align	2
.LC1:
	.ascii	"#undef\000"
	.data
	.align	2
	.type	undefpattern, %object
	.size	undefpattern, 4
undefpattern:
	.word	.LC1
	.comm	undefchar,4,4
	.section	.rodata
	.align	2
.LC2:
	.ascii	" \000"
	.align	2
.LC3:
	.ascii	"\012\000"
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 1032
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #1024
	sub	sp, sp, #8
	ldr	r3, .L7
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	b	.L2
.L4:
	ldr	r3, .L7+4
	ldr	r2, [r3]
	sub	r3, fp, #1012
	mov	r1, r2
	mov	r0, r3
	bl	strindex
	mov	r3, r0
	cmp	r3, #0
	blt	.L3
	sub	r3, fp, #1012
	ldr	r1, .L7+8
	mov	r0, r3
	bl	strtok
	str	r0, [fp, #-1024]
	ldr	r1, .L7+8
	mov	r0, #0
	bl	strtok
	str	r0, [fp, #-1020]
	ldr	r1, .L7+12
	mov	r0, #0
	bl	strtok
	str	r0, [fp, #-1016]
	ldr	r1, [fp, #-1016]
	ldr	r0, [fp, #-1020]
	bl	install
	b	.L2
.L3:
	ldr	r3, .L7+16
	ldr	r2, [r3]
	sub	r3, fp, #1012
	mov	r1, r2
	mov	r0, r3
	bl	strindex
	mov	r3, r0
	cmp	r3, #0
	blt	.L2
	sub	r3, fp, #1012
	ldr	r1, .L7+8
	mov	r0, r3
	bl	strtok
	str	r0, [fp, #-1032]
	ldr	r1, .L7+12
	mov	r0, #0
	bl	strtok
	str	r0, [fp, #-1028]
	ldr	r0, [fp, #-1028]
	bl	undef
.L2:
	sub	r3, fp, #1012
	ldr	r1, .L7+20
	mov	r0, r3
	bl	getline01
	str	r0, [fp, #-1036]
	ldr	r3, [fp, #-1036]
	cmp	r3, #0
	bgt	.L4
	bl	printfhashtab
	mov	r0, #10
	bl	putchar
	mov	r3, #0
	ldr	r2, .L7
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L6
	bl	__stack_chk_fail
.L6:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L8:
	.align	2
.L7:
	.word	.LC4
	.word	pattern
	.word	.LC2
	.word	.LC3
	.word	undefpattern
	.word	1001
	.size	main, .-main
	.align	2
	.global	hash
	.syntax unified
	.arm
	.fpu softvfp
	.type	hash, %function
hash:
	@ 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
	str	r0, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L10
.L11:
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	add	r3, r1, r3
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L10:
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L11
	ldr	r1, [fp, #-8]
	ldr	r3, .L13
	umull	r2, r3, r1, r3
	lsr	r2, r3, #1
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	sub	r2, r1, r3
	mov	r3, r2
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L14:
	.align	2
.L13:
	.word	-1431655765
	.size	hash, .-hash
	.align	2
	.global	lookup
	.syntax unified
	.arm
	.fpu softvfp
	.type	lookup, %function
lookup:
	@ 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	r0, [fp, #-16]
	bl	hash
	mov	r3, r0
	ldr	r2, .L20
	ldr	r3, [r2, r3, lsl #2]
	str	r3, [fp, #-8]
	b	.L16
.L19:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	mov	r1, r3
	ldr	r0, [fp, #-16]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L17
	ldr	r3, [fp, #-8]
	b	.L18
.L17:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	str	r3, [fp, #-8]
.L16:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L19
	mov	r3, #0
.L18:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L21:
	.align	2
.L20:
	.word	hashtab
	.size	lookup, .-lookup
	.align	2
	.global	prvlookup
	.syntax unified
	.arm
	.fpu softvfp
	.type	prvlookup, %function
prvlookup:
	@ 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	r0, [fp, #-16]
	bl	hash
	mov	r3, r0
	ldr	r2, .L27
	ldr	r3, [r2, r3, lsl #2]
	str	r3, [fp, #-8]
	b	.L23
.L26:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	mov	r1, r3
	ldr	r0, [fp, #-16]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L24
	ldr	r3, [fp, #-8]
	b	.L25
.L24:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	str	r3, [fp, #-8]
.L23:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L26
	mov	r3, #0
.L25:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L28:
	.align	2
.L27:
	.word	hashtab
	.size	prvlookup, .-prvlookup
	.align	2
	.global	install
	.syntax unified
	.arm
	.fpu softvfp
	.type	install, %function
install:
	@ 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	r0, [fp, #-16]
	bl	lookup
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L30
	mov	r0, #12
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	beq	.L31
	ldr	r0, [fp, #-16]
	bl	strdup
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-12]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #4]
	cmp	r3, #0
	bne	.L32
.L31:
	mov	r3, #0
	b	.L33
.L32:
	ldr	r0, [fp, #-16]
	bl	hash
	str	r0, [fp, #-8]
	ldr	r2, .L36
	ldr	r3, [fp, #-8]
	ldr	r2, [r2, r3, lsl #2]
	ldr	r3, [fp, #-12]
	str	r2, [r3]
	ldr	r1, .L36
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-12]
	str	r2, [r1, r3, lsl #2]
	b	.L34
.L30:
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #8]
	mov	r0, r3
	bl	free
.L34:
	ldr	r0, [fp, #-20]
	bl	strdup
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-12]
	str	r2, [r3, #8]
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #8]
	cmp	r3, #0
	bne	.L35
	mov	r3, #0
	b	.L33
.L35:
	ldr	r3, [fp, #-12]
.L33:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L37:
	.align	2
.L36:
	.word	hashtab
	.size	install, .-install
	.section	.rodata
	.align	2
.LC5:
	.ascii	"\346\235\241\344\273\266\343\201\253\345\275\223\343"
	.ascii	"\201\246\343\201\257\343\201\276\343\202\213\345\256"
	.ascii	"\232\347\276\251\343\201\214\343\201\202\343\202\212"
	.ascii	"\343\201\276\343\201\233\343\202\223\000"
	.text
	.align	2
	.global	undef
	.syntax unified
	.arm
	.fpu softvfp
	.type	undef, %function
undef:
	@ 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	r0, [fp, #-24]
	bl	lookup
	mov	r3, r0
	cmp	r3, #0
	bne	.L39
	ldr	r0, .L43
	bl	puts
	b	.L38
.L39:
	ldr	r0, [fp, #-24]
	bl	hash
	mov	r3, r0
	ldr	r2, .L43+4
	ldr	r3, [r2, r3, lsl #2]
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L41
	ldr	r0, [fp, #-24]
	bl	hash
	mov	r3, r0
	ldr	r2, .L43+4
	ldr	r3, [r2, r3, lsl #2]
	mov	r0, r3
	bl	free
	ldr	r0, [fp, #-24]
	bl	hash
	mov	r3, r0
	ldr	r2, .L43+4
	mov	r1, #0
	str	r1, [r2, r3, lsl #2]
	b	.L38
.L41:
	ldr	r0, [fp, #-24]
	bl	prvlookup
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	beq	.L42
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	str	r2, [r3]
	ldr	r0, [fp, #-8]
	bl	free
	b	.L38
.L42:
	ldr	r0, [fp, #-24]
	bl	hash
	mov	r3, r0
	ldr	r2, .L43+4
	ldr	r3, [r2, r3, lsl #2]
	cmp	r3, #0
	beq	.L38
	ldr	r0, [fp, #-24]
	bl	hash
	mov	r3, r0
	ldr	r2, .L43+4
	ldr	r3, [r2, r3, lsl #2]
	ldr	r3, [r3]
	str	r3, [fp, #-12]
	ldr	r0, [fp, #-24]
	bl	hash
	mov	r3, r0
	ldr	r2, .L43+4
	ldr	r3, [r2, r3, lsl #2]
	mov	r0, r3
	bl	free
	ldr	r0, [fp, #-24]
	bl	hash
	mov	r2, r0
	ldr	r1, .L43+4
	ldr	r3, [fp, #-12]
	str	r3, [r1, r2, lsl #2]
	nop
.L38:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L44:
	.align	2
.L43:
	.word	.LC5
	.word	hashtab
	.size	undef, .-undef
	.section	.rodata
	.align	2
.LC6:
	.ascii	"%d : NULL\012\000"
	.align	2
.LC7:
	.ascii	"%d : \000"
	.text
	.align	2
	.global	printfhashtab
	.syntax unified
	.arm
	.fpu softvfp
	.type	printfhashtab, %function
printfhashtab:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L46
.L49:
	ldr	r2, .L50
	ldr	r3, [fp, #-12]
	ldr	r3, [r2, r3, lsl #2]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L47
	ldr	r1, [fp, #-12]
	ldr	r0, .L50+4
	bl	printf
	b	.L48
.L47:
	ldr	r1, [fp, #-12]
	ldr	r0, .L50+8
	bl	printf
	ldr	r0, [fp, #-8]
	bl	printNode
	ldr	r0, .L50+12
	bl	puts
.L48:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L46:
	ldr	r3, [fp, #-12]
	cmp	r3, #2
	ble	.L49
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L51:
	.align	2
.L50:
	.word	hashtab
	.word	.LC6
	.word	.LC7
	.word	.LC3
	.size	printfhashtab, .-printfhashtab
	.section	.rodata
	.align	2
.LC8:
	.ascii	"name %s,defn: %s !----!\000"
	.text
	.align	2
	.global	printNode
	.syntax unified
	.arm
	.fpu softvfp
	.type	printNode, %function
printNode:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldr	r1, [r3, #4]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #8]
	mov	r2, r3
	ldr	r0, .L55
	bl	printf
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L54
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	mov	r0, r3
	bl	printNode
.L54:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L56:
	.align	2
.L55:
	.word	.LC8
	.size	printNode, .-printNode
	.align	2
	.global	getline01
	.syntax unified
	.arm
	.fpu softvfp
	.type	getline01, %function
getline01:
	@ 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	.L58
.L60:
	ldr	r3, [fp, #-8]
	add	r2, r3, #1
	str	r2, [fp, #-8]
	mov	r2, r3
	ldr	r3, [fp, #-16]
	add	r3, r3, r2
	ldr	r2, [fp, #-12]
	and	r2, r2, #255
	strb	r2, [r3]
.L58:
	ldr	r3, [fp, #-20]
	sub	r3, r3, #1
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	ble	.L59
	bl	getchar
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmn	r3, #1
	beq	.L59
	ldr	r3, [fp, #-12]
	cmp	r3, #10
	bne	.L60
.L59:
	ldr	r3, [fp, #-12]
	cmp	r3, #10
	bne	.L61
	ldr	r3, [fp, #-8]
	add	r2, r3, #1
	str	r2, [fp, #-8]
	mov	r2, r3
	ldr	r3, [fp, #-16]
	add	r3, r3, r2
	ldr	r2, [fp, #-12]
	and	r2, r2, #255
	strb	r2, [r3]
.L61:
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	getline01, .-getline01
	.align	2
	.global	strindex
	.syntax unified
	.arm
	.fpu softvfp
	.type	strindex, %function
strindex:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #28
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L64
.L70:
	ldr	r3, [fp, #-8]
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L65
.L67:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L65:
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L66
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r3, [fp, #-8]
	ldr	r1, [fp, #-28]
	add	r3, r1, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r2, r3
	beq	.L67
.L66:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	ble	.L68
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L68
	ldr	r3, [fp, #-16]
	b	.L69
.L68:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L64:
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L70
	mvn	r3, #0
.L69:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	strindex, .-strindex
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
