	.file	"970828.c"
	.intel_syntax noprefix
	.text
	.globl	tokentype
	.bss
	.align 4
	.type	tokentype, @object
	.size	tokentype, 4
tokentype:
	.zero	4
	.globl	token
	.align 32
	.type	token, @object
	.size	token, 100
token:
	.zero	100
	.globl	name
	.align 32
	.type	name, @object
	.size	name, 100
name:
	.zero	100
	.globl	datatype
	.align 32
	.type	datatype, @object
	.size	datatype, 100
datatype:
	.zero	100
	.globl	out
	.align 32
	.type	out, @object
	.size	out, 1000
out:
	.zero	1000
	.section	.rodata
.LC0:
	.string	"syntax error"
.LC1:
	.string	"%s: %s %s\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	jmp	.L2
.L5:
	lea	rsi, token[rip]
	lea	rdi, datatype[rip]
	call	strcpy@PLT
	mov	BYTE PTR out[rip], 0
	call	dcl
	test	eax, eax
	jne	.L3
	mov	eax, DWORD PTR tokentype[rip]
	cmp	eax, 10
	je	.L4
.L3:
	lea	rdi, .LC0[rip]
	call	puts@PLT
	call	cleanerrors
	jmp	.L2
.L4:
	lea	rcx, datatype[rip]
	lea	rdx, out[rip]
	lea	rsi, name[rip]
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
.L2:
	call	gettoken
	cmp	eax, -1
	jne	.L5
	nop
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.globl	gettoken
	.type	gettoken, @function
gettoken:
.LFB1:
	.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, 24
	.cfi_offset 3, -24
	lea	rax, token[rip]
	mov	QWORD PTR -24[rbp], rax
	nop
.L7:
	call	mygetch
	mov	DWORD PTR -28[rbp], eax
	cmp	DWORD PTR -28[rbp], 32
	je	.L7
	cmp	DWORD PTR -28[rbp], 9
	je	.L7
	cmp	DWORD PTR -28[rbp], 40
	jne	.L8
	call	mygetch
	mov	DWORD PTR -28[rbp], eax
	cmp	DWORD PTR -28[rbp], 41
	jne	.L9
	mov	WORD PTR token[rip], 10536
	mov	BYTE PTR token[rip+2], 0
	mov	DWORD PTR tokentype[rip], 1
	mov	eax, DWORD PTR tokentype[rip]
	jmp	.L10
.L9:
	mov	eax, DWORD PTR -28[rbp]
	mov	edi, eax
	call	unmygetch
	mov	DWORD PTR tokentype[rip], 40
	mov	eax, DWORD PTR tokentype[rip]
	jmp	.L10
.L8:
	cmp	DWORD PTR -28[rbp], 91
	jne	.L11
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -24[rbp], rdx
	mov	edx, DWORD PTR -28[rbp]
	mov	BYTE PTR [rax], dl
	nop
.L12:
	call	mygetch
	mov	ecx, eax
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -24[rbp], rdx
	mov	edx, ecx
	mov	BYTE PTR [rax], dl
	movzx	eax, BYTE PTR [rax]
	cmp	al, 93
	jne	.L12
	mov	rax, QWORD PTR -24[rbp]
	mov	BYTE PTR [rax], 0
	mov	DWORD PTR tokentype[rip], 2
	mov	eax, DWORD PTR tokentype[rip]
	jmp	.L10
.L11:
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 1024
	test	eax, eax
	je	.L13
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -24[rbp], rdx
	mov	edx, DWORD PTR -28[rbp]
	mov	BYTE PTR [rax], dl
	jmp	.L14
.L15:
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -24[rbp], rdx
	mov	edx, DWORD PTR -28[rbp]
	mov	BYTE PTR [rax], dl
.L14:
	call	__ctype_b_loc@PLT
	mov	rbx, QWORD PTR [rax]
	call	mygetch
	mov	DWORD PTR -28[rbp], eax
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	add	rax, rax
	add	rax, rbx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 8
	test	eax, eax
	jne	.L15
	mov	rax, QWORD PTR -24[rbp]
	mov	BYTE PTR [rax], 0
	mov	eax, DWORD PTR -28[rbp]
	mov	edi, eax
	call	unmygetch
	mov	DWORD PTR tokentype[rip], 0
	mov	eax, DWORD PTR tokentype[rip]
	jmp	.L10
.L13:
	mov	eax, DWORD PTR -28[rbp]
	mov	DWORD PTR tokentype[rip], eax
	mov	eax, DWORD PTR tokentype[rip]
.L10:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	gettoken, .-gettoken
	.globl	dcl
	.type	dcl, @function
dcl:
.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, 16
	mov	DWORD PTR -4[rbp], 0
	jmp	.L17
.L18:
	add	DWORD PTR -4[rbp], 1
.L17:
	call	gettoken
	cmp	eax, 42
	je	.L18
	call	dirdcl
	test	eax, eax
	je	.L21
	mov	eax, -1
	jmp	.L20
.L22:
	lea	rdi, out[rip]
	call	strlen@PLT
	mov	rdx, rax
	lea	rax, out[rip]
	add	rax, rdx
	movabs	rcx, 8243122710535696416
	mov	QWORD PTR [rax], rcx
	mov	DWORD PTR 8[rax], 7304224
.L21:
	mov	eax, DWORD PTR -4[rbp]
	lea	edx, -1[rax]
	mov	DWORD PTR -4[rbp], edx
	test	eax, eax
	jg	.L22
	mov	eax, 0
.L20:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	dcl, .-dcl
	.section	.rodata
.LC2:
	.string	"error: missing )"
.LC3:
	.string	"error: expected name or (dcl)"
	.text
	.globl	dirdcl
	.type	dirdcl, @function
dirdcl:
.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, 16
	mov	eax, DWORD PTR tokentype[rip]
	cmp	eax, 40
	jne	.L24
	call	dcl
	mov	eax, DWORD PTR tokentype[rip]
	cmp	eax, 41
	je	.L28
	lea	rdi, .LC2[rip]
	call	puts@PLT
	mov	eax, -1
	jmp	.L26
.L24:
	mov	eax, DWORD PTR tokentype[rip]
	test	eax, eax
	jne	.L27
	lea	rsi, token[rip]
	lea	rdi, name[rip]
	call	strcpy@PLT
	jmp	.L28
.L27:
	lea	rdi, .LC3[rip]
	call	puts@PLT
	mov	eax, -1
	jmp	.L26
.L30:
	cmp	DWORD PTR -4[rbp], 1
	jne	.L29
	lea	rdi, out[rip]
	call	strlen@PLT
	mov	rdx, rax
	lea	rax, out[rip]
	add	rax, rdx
	movabs	rsi, 8028075781168391712
	movabs	rdi, 7958552634295722094
	mov	QWORD PTR [rax], rsi
	mov	QWORD PTR 8[rax], rdi
	mov	DWORD PTR 16[rax], 6778473
	jmp	.L28
.L29:
	lea	rdi, out[rip]
	call	strlen@PLT
	mov	rdx, rax
	lea	rax, out[rip]
	add	rax, rdx
	mov	DWORD PTR [rax], 1920098592
	mov	WORD PTR 4[rax], 31073
	mov	BYTE PTR 6[rax], 0
	lea	rsi, token[rip]
	lea	rdi, out[rip]
	call	strcat@PLT
	lea	rdi, out[rip]
	call	strlen@PLT
	mov	rdx, rax
	lea	rax, out[rip]
	add	rax, rdx
	mov	DWORD PTR [rax], 6713120
.L28:
	call	gettoken
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 1
	je	.L30
	cmp	DWORD PTR -4[rbp], 2
	je	.L30
	mov	eax, 0
.L26:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	dirdcl, .-dirdcl
	.globl	cleanerrors
	.type	cleanerrors, @function
cleanerrors:
.LFB4:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	BYTE PTR out[rip], 0
	movzx	eax, BYTE PTR out[rip]
	mov	BYTE PTR datatype[rip], al
	movzx	eax, BYTE PTR datatype[rip]
	mov	BYTE PTR name[rip], al
	movzx	eax, BYTE PTR name[rip]
	mov	BYTE PTR token[rip], al
	call	cleangetch
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE4:
	.size	cleanerrors, .-cleanerrors
	.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
	.text
	.globl	mygetch
	.type	mygetch, @function
mygetch:
.LFB5:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, DWORD PTR bufp[rip]
	test	eax, eax
	jle	.L33
	mov	eax, DWORD PTR bufp[rip]
	sub	eax, 1
	mov	DWORD PTR bufp[rip], eax
	mov	eax, DWORD PTR bufp[rip]
	cdqe
	lea	rdx, buf[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	movsx	eax, al
	jmp	.L35
.L33:
	call	getchar@PLT
.L35:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE5:
	.size	mygetch, .-mygetch
	.section	.rodata
	.align 8
.LC4:
	.string	"myunmygetch: too many characters"
	.text
	.globl	unmygetch
	.type	unmygetch, @function
unmygetch:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	DWORD PTR -4[rbp], edi
	mov	eax, DWORD PTR bufp[rip]
	cmp	eax, 99
	jle	.L37
	lea	rdi, .LC4[rip]
	call	puts@PLT
	jmp	.L39
.L37:
	mov	eax, DWORD PTR bufp[rip]
	lea	edx, 1[rax]
	mov	DWORD PTR bufp[rip], edx
	mov	edx, DWORD PTR -4[rbp]
	mov	ecx, edx
	cdqe
	lea	rdx, buf[rip]
	mov	BYTE PTR [rax+rdx], cl
.L39:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	unmygetch, .-unmygetch
	.globl	cleangetch
	.type	cleangetch, @function
cleangetch:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR bufp[rip], 0
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	cleangetch, .-cleangetch
	.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	"970828.c"
	.text
	.comm	tokentype,4,4
	.comm	token,100,4
	.comm	name,100,4
	.comm	datatype,100,4
	.comm	out,1000,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"syntax error\000"
	.align	2
.LC1:
	.ascii	"%s: %s %s\012\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	b	.L2
.L5:
	ldr	r1, .L6
	ldr	r0, .L6+4
	bl	strcpy
	ldr	r3, .L6+8
	mov	r2, #0
	strb	r2, [r3]
	bl	dcl
	mov	r3, r0
	cmp	r3, #0
	bne	.L3
	ldr	r3, .L6+12
	ldr	r3, [r3]
	cmp	r3, #10
	beq	.L4
.L3:
	ldr	r0, .L6+16
	bl	puts
	bl	cleanerrors
	b	.L2
.L4:
	ldr	r3, .L6+4
	ldr	r2, .L6+8
	ldr	r1, .L6+20
	ldr	r0, .L6+24
	bl	printf
.L2:
	bl	gettoken
	mov	r3, r0
	cmn	r3, #1
	bne	.L5
	nop
	nop
	pop	{fp, pc}
.L7:
	.align	2
.L6:
	.word	token
	.word	datatype
	.word	out
	.word	tokentype
	.word	.LC0
	.word	name
	.word	.LC1
	.size	main, .-main
	.section	.rodata
	.align	2
.LC2:
	.ascii	"()\000"
	.text
	.align	2
	.global	gettoken
	.syntax unified
	.arm
	.fpu softvfp
	.type	gettoken, %function
gettoken:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #12
	ldr	r3, .L18
	str	r3, [fp, #-20]
	nop
.L9:
	bl	mygetch
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #32
	beq	.L9
	ldr	r3, [fp, #-16]
	cmp	r3, #9
	beq	.L9
	ldr	r3, [fp, #-16]
	cmp	r3, #40
	bne	.L10
	bl	mygetch
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #41
	bne	.L11
	ldr	r2, .L18
	ldr	r3, .L18+4
	mov	r0, r2
	mov	r1, r3
	mov	r3, #3
	mov	r2, r3
	bl	memcpy
	ldr	r3, .L18+8
	mov	r2, #1
	str	r2, [r3]
	ldr	r3, .L18+8
	ldr	r3, [r3]
	b	.L12
.L11:
	ldr	r0, [fp, #-16]
	bl	unmygetch
	ldr	r3, .L18+8
	mov	r2, #40
	str	r2, [r3]
	ldr	r3, .L18+8
	ldr	r3, [r3]
	b	.L12
.L10:
	ldr	r3, [fp, #-16]
	cmp	r3, #91
	bne	.L13
	ldr	r3, [fp, #-20]
	add	r2, r3, #1
	str	r2, [fp, #-20]
	ldr	r2, [fp, #-16]
	and	r2, r2, #255
	strb	r2, [r3]
	nop
.L14:
	bl	mygetch
	mov	r1, r0
	ldr	r3, [fp, #-20]
	add	r2, r3, #1
	str	r2, [fp, #-20]
	and	r2, r1, #255
	strb	r2, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #93
	bne	.L14
	ldr	r3, [fp, #-20]
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, .L18+8
	mov	r2, #2
	str	r2, [r3]
	ldr	r3, .L18+8
	ldr	r3, [r3]
	b	.L12
.L13:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #1024
	cmp	r3, #0
	beq	.L15
	ldr	r3, [fp, #-20]
	add	r2, r3, #1
	str	r2, [fp, #-20]
	ldr	r2, [fp, #-16]
	and	r2, r2, #255
	strb	r2, [r3]
	b	.L16
.L17:
	ldr	r3, [fp, #-20]
	add	r2, r3, #1
	str	r2, [fp, #-20]
	ldr	r2, [fp, #-16]
	and	r2, r2, #255
	strb	r2, [r3]
.L16:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r4, [r3]
	bl	mygetch
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #1
	add	r3, r4, r3
	ldrh	r3, [r3]
	and	r3, r3, #8
	cmp	r3, #0
	bne	.L17
	ldr	r3, [fp, #-20]
	mov	r2, #0
	strb	r2, [r3]
	ldr	r0, [fp, #-16]
	bl	unmygetch
	ldr	r3, .L18+8
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, .L18+8
	ldr	r3, [r3]
	b	.L12
.L15:
	ldr	r2, .L18+8
	ldr	r3, [fp, #-16]
	str	r3, [r2]
	ldr	r3, .L18+8
	ldr	r3, [r3]
.L12:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L19:
	.align	2
.L18:
	.word	token
	.word	.LC2
	.word	tokentype
	.size	gettoken, .-gettoken
	.section	.rodata
	.align	2
.LC3:
	.ascii	" pointer to\000"
	.text
	.align	2
	.global	dcl
	.syntax unified
	.arm
	.fpu softvfp
	.type	dcl, %function
dcl:
	@ 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, #-8]
	b	.L21
.L22:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L21:
	bl	gettoken
	mov	r3, r0
	cmp	r3, #42
	beq	.L22
	bl	dirdcl
	mov	r3, r0
	cmp	r3, #0
	beq	.L25
	mvn	r3, #0
	b	.L24
.L26:
	ldr	r0, .L27
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L27
	add	r3, r2, r3
	ldr	r2, .L27+4
	mov	r0, r3
	mov	r1, r2
	mov	r3, #12
	mov	r2, r3
	bl	memcpy
.L25:
	ldr	r3, [fp, #-8]
	sub	r2, r3, #1
	str	r2, [fp, #-8]
	cmp	r3, #0
	bgt	.L26
	mov	r3, #0
.L24:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L28:
	.align	2
.L27:
	.word	out
	.word	.LC3
	.size	dcl, .-dcl
	.section	.rodata
	.align	2
.LC4:
	.ascii	"error: missing )\000"
	.align	2
.LC5:
	.ascii	"error: expected name or (dcl)\000"
	.align	2
.LC6:
	.ascii	" function returning\000"
	.align	2
.LC7:
	.ascii	" array\000"
	.align	2
.LC8:
	.ascii	" of\000"
	.text
	.align	2
	.global	dirdcl
	.syntax unified
	.arm
	.fpu softvfp
	.type	dirdcl, %function
dirdcl:
	@ 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	r3, .L37
	ldr	r3, [r3]
	cmp	r3, #40
	bne	.L30
	bl	dcl
	ldr	r3, .L37
	ldr	r3, [r3]
	cmp	r3, #41
	beq	.L34
	ldr	r0, .L37+4
	bl	puts
	mvn	r3, #0
	b	.L32
.L30:
	ldr	r3, .L37
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L33
	ldr	r1, .L37+8
	ldr	r0, .L37+12
	bl	strcpy
	b	.L34
.L33:
	ldr	r0, .L37+16
	bl	puts
	mvn	r3, #0
	b	.L32
.L36:
	ldr	r3, [fp, #-8]
	cmp	r3, #1
	bne	.L35
	ldr	r0, .L37+20
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L37+20
	add	r3, r2, r3
	ldr	r2, .L37+24
	mov	r0, r3
	mov	r1, r2
	mov	r3, #20
	mov	r2, r3
	bl	memcpy
	b	.L34
.L35:
	ldr	r0, .L37+20
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L37+20
	add	r3, r2, r3
	ldr	r2, .L37+28
	mov	r0, r3
	mov	r1, r2
	mov	r3, #7
	mov	r2, r3
	bl	memcpy
	ldr	r1, .L37+8
	ldr	r0, .L37+20
	bl	strcat
	ldr	r0, .L37+20
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L37+20
	add	r3, r2, r3
	ldr	r2, .L37+32
	mov	r0, r3
	mov	r1, r2
	mov	r3, #4
	mov	r2, r3
	bl	memcpy
.L34:
	bl	gettoken
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #1
	beq	.L36
	ldr	r3, [fp, #-8]
	cmp	r3, #2
	beq	.L36
	mov	r3, #0
.L32:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L38:
	.align	2
.L37:
	.word	tokentype
	.word	.LC4
	.word	token
	.word	name
	.word	.LC5
	.word	out
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.size	dirdcl, .-dirdcl
	.align	2
	.global	cleanerrors
	.syntax unified
	.arm
	.fpu softvfp
	.type	cleanerrors, %function
cleanerrors:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L40
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, .L40
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r3, .L40+4
	strb	r2, [r3]
	ldr	r3, .L40+4
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r3, .L40+8
	strb	r2, [r3]
	ldr	r3, .L40+8
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r3, .L40+12
	strb	r2, [r3]
	bl	cleangetch
	nop
	pop	{fp, pc}
.L41:
	.align	2
.L40:
	.word	out
	.word	datatype
	.word	name
	.word	token
	.size	cleanerrors, .-cleanerrors
	.comm	buf,100,4
	.global	bufp
	.bss
	.align	2
	.type	bufp, %object
	.size	bufp, 4
bufp:
	.space	4
	.text
	.align	2
	.global	mygetch
	.syntax unified
	.arm
	.fpu softvfp
	.type	mygetch, %function
mygetch:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L46
	ldr	r3, [r3]
	cmp	r3, #0
	ble	.L43
	ldr	r3, .L46
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L46
	str	r3, [r2]
	ldr	r3, .L46
	ldr	r3, [r3]
	ldr	r2, .L46+4
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	b	.L45
.L43:
	bl	getchar
	mov	r3, r0
.L45:
	mov	r0, r3
	pop	{fp, pc}
.L47:
	.align	2
.L46:
	.word	bufp
	.word	buf
	.size	mygetch, .-mygetch
	.section	.rodata
	.align	2
.LC9:
	.ascii	"myunmygetch: too many characters\000"
	.text
	.align	2
	.global	unmygetch
	.syntax unified
	.arm
	.fpu softvfp
	.type	unmygetch, %function
unmygetch:
	@ 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, .L52
	ldr	r3, [r3]
	cmp	r3, #99
	ble	.L49
	ldr	r0, .L52+4
	bl	puts
	b	.L51
.L49:
	ldr	r3, .L52
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r1, .L52
	str	r2, [r1]
	ldr	r2, [fp, #-8]
	and	r1, r2, #255
	ldr	r2, .L52+8
	strb	r1, [r2, r3]
.L51:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L53:
	.align	2
.L52:
	.word	bufp
	.word	.LC9
	.word	buf
	.size	unmygetch, .-unmygetch
	.align	2
	.global	cleangetch
	.syntax unified
	.arm
	.fpu softvfp
	.type	cleangetch, %function
cleangetch:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	ldr	r3, .L55
	mov	r2, #0
	str	r2, [r3]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L56:
	.align	2
.L55:
	.word	bufp
	.size	cleangetch, .-cleangetch
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
