	.file	"531741.c"
	.intel_syntax noprefix
	.text
	.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	getch
	.type	getch, @function
getch:
.LFB0:
	.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	.L2
	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	.L4
.L2:
	call	getchar@PLT
.L4:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	getch, .-getch
	.section	.rodata
.LC0:
	.string	"ungetch: too many characters"
	.text
	.globl	ungetch
	.type	ungetch, @function
ungetch:
.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, 16
	mov	DWORD PTR -4[rbp], edi
	mov	eax, DWORD PTR bufp[rip]
	cmp	eax, 99
	jle	.L6
	lea	rdi, .LC0[rip]
	call	puts@PLT
	jmp	.L8
.L6:
	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
.L8:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	ungetch, .-ungetch
	.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	prevtoken
	.type	prevtoken, @object
	.size	prevtoken, 1
prevtoken:
	.zero	1
	.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
	.text
	.globl	gettoken
	.type	gettoken, @function
gettoken:
.LFB2:
	.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
.L10:
	call	getch
	mov	DWORD PTR -28[rbp], eax
	cmp	DWORD PTR -28[rbp], 32
	je	.L10
	cmp	DWORD PTR -28[rbp], 9
	je	.L10
	cmp	DWORD PTR -28[rbp], 40
	jne	.L11
	call	getch
	mov	DWORD PTR -28[rbp], eax
	cmp	DWORD PTR -28[rbp], 41
	jne	.L12
	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	.L13
.L12:
	mov	eax, DWORD PTR -28[rbp]
	mov	edi, eax
	call	ungetch
	mov	DWORD PTR tokentype[rip], 40
	mov	eax, DWORD PTR tokentype[rip]
	jmp	.L13
.L11:
	cmp	DWORD PTR -28[rbp], 91
	jne	.L14
	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
.L15:
	call	getch
	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	.L15
	mov	rax, QWORD PTR -24[rbp]
	mov	BYTE PTR [rax], 0
	mov	DWORD PTR tokentype[rip], 2
	mov	eax, DWORD PTR tokentype[rip]
	jmp	.L13
.L14:
	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	.L16
	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	.L17
.L18:
	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
.L17:
	call	__ctype_b_loc@PLT
	mov	rbx, QWORD PTR [rax]
	call	getch
	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	.L18
	mov	rax, QWORD PTR -24[rbp]
	mov	BYTE PTR [rax], 0
	mov	eax, DWORD PTR -28[rbp]
	mov	edi, eax
	call	ungetch
	mov	DWORD PTR tokentype[rip], 0
	mov	eax, DWORD PTR tokentype[rip]
	jmp	.L13
.L16:
	mov	eax, DWORD PTR -28[rbp]
	mov	DWORD PTR tokentype[rip], eax
	mov	eax, DWORD PTR tokentype[rip]
.L13:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	gettoken, .-gettoken
	.globl	dcl
	.type	dcl, @function
dcl:
.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	DWORD PTR -4[rbp], 0
	jmp	.L20
.L21:
	add	DWORD PTR -4[rbp], 1
.L20:
	call	gettoken
	cmp	eax, 42
	je	.L21
	call	dirdcl
	jmp	.L22
.L23:
	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
.L22:
	mov	eax, DWORD PTR -4[rbp]
	lea	edx, -1[rax]
	mov	DWORD PTR -4[rbp], edx
	test	eax, eax
	jg	.L23
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	dcl, .-dcl
	.section	.rodata
.LC1:
	.string	"error: missing ')'"
	.align 8
.LC2:
	.string	"error: expected name or ( dcl )"
	.text
	.globl	dirdcl
	.type	dirdcl, @function
dirdcl:
.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, 16
	mov	eax, DWORD PTR tokentype[rip]
	cmp	eax, 40
	jne	.L25
	call	dcl
	mov	eax, DWORD PTR tokentype[rip]
	cmp	eax, 41
	je	.L28
	lea	rdi, .LC1[rip]
	call	puts@PLT
	jmp	.L28
.L25:
	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, .LC2[rip]
	call	puts@PLT
	jmp	.L28
.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
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE4:
	.size	dirdcl, .-dirdcl
	.section	.rodata
.LC3:
	.string	"(%s) "
.LC4:
	.string	"%s"
.LC5:
	.string	"*%s"
.LC6:
	.string	"%s (%s) "
.LC7:
	.string	"%s %s"
.LC8:
	.string	"invalid input at %s\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB5:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	add	rsp, -128
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	jmp	.L32
.L45:
	lea	rsi, token[rip]
	lea	rdi, out[rip]
	call	strcpy@PLT
	jmp	.L33
.L44:
	cmp	DWORD PTR -116[rbp], 1
	je	.L34
	cmp	DWORD PTR -116[rbp], 2
	jne	.L35
.L34:
	movzx	eax, BYTE PTR prevtoken[rip]
	cmp	al, 42
	jne	.L36
	lea	rax, -112[rbp]
	lea	rdx, out[rip]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	jmp	.L37
.L36:
	lea	rax, -112[rbp]
	lea	rdx, out[rip]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
.L37:
	lea	rax, -112[rbp]
	lea	rsi, token[rip]
	mov	rdi, rax
	call	strcat@PLT
	lea	rax, -112[rbp]
	mov	rsi, rax
	lea	rdi, out[rip]
	call	strcpy@PLT
	mov	BYTE PTR prevtoken[rip], 0
	jmp	.L33
.L35:
	cmp	DWORD PTR -116[rbp], 42
	jne	.L38
	lea	rax, -112[rbp]
	lea	rdx, out[rip]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	lea	rax, -112[rbp]
	mov	rsi, rax
	lea	rdi, out[rip]
	call	strcpy@PLT
	mov	BYTE PTR prevtoken[rip], 42
	jmp	.L33
.L38:
	cmp	DWORD PTR -116[rbp], 0
	jne	.L39
	movzx	eax, BYTE PTR prevtoken[rip]
	cmp	al, 42
	jne	.L40
	lea	rax, -112[rbp]
	lea	rcx, out[rip]
	lea	rdx, token[rip]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	jmp	.L41
.L40:
	lea	rax, -112[rbp]
	lea	rcx, out[rip]
	lea	rdx, token[rip]
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
.L41:
	lea	rax, -112[rbp]
	mov	rsi, rax
	lea	rdi, out[rip]
	call	strcpy@PLT
	mov	BYTE PTR prevtoken[rip], 0
	jmp	.L33
.L39:
	movzx	eax, BYTE PTR prevtoken[rip]
	cmp	al, 42
	jne	.L42
	lea	rax, -112[rbp]
	lea	rdx, out[rip]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	jmp	.L43
.L42:
	lea	rax, -112[rbp]
	lea	rdx, out[rip]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
.L43:
	lea	rax, -112[rbp]
	mov	rsi, rax
	lea	rdi, out[rip]
	call	strcpy@PLT
	lea	rsi, token[rip]
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	mov	BYTE PTR prevtoken[rip], 0
.L33:
	call	gettoken
	mov	DWORD PTR -116[rbp], eax
	cmp	DWORD PTR -116[rbp], 10
	jne	.L44
	lea	rdi, out[rip]
	call	puts@PLT
.L32:
	call	gettoken
	cmp	eax, -1
	jne	.L45
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L47
	call	__stack_chk_fail@PLT
.L47:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE5:
	.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	"531741.c"
	.text
	.comm	buf,100,4
	.global	bufp
	.bss
	.align	2
	.type	bufp, %object
	.size	bufp, 4
bufp:
	.space	4
	.text
	.align	2
	.global	getch
	.syntax unified
	.arm
	.fpu softvfp
	.type	getch, %function
getch:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L5
	ldr	r3, [r3]
	cmp	r3, #0
	ble	.L2
	ldr	r3, .L5
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L5
	str	r3, [r2]
	ldr	r3, .L5
	ldr	r3, [r3]
	ldr	r2, .L5+4
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	b	.L4
.L2:
	bl	getchar
	mov	r3, r0
.L4:
	mov	r0, r3
	pop	{fp, pc}
.L6:
	.align	2
.L5:
	.word	bufp
	.word	buf
	.size	getch, .-getch
	.section	.rodata
	.align	2
.LC0:
	.ascii	"ungetch: too many characters\000"
	.text
	.align	2
	.global	ungetch
	.syntax unified
	.arm
	.fpu softvfp
	.type	ungetch, %function
ungetch:
	@ 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, .L11
	ldr	r3, [r3]
	cmp	r3, #99
	ble	.L8
	ldr	r0, .L11+4
	bl	puts
	b	.L10
.L8:
	ldr	r3, .L11
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r1, .L11
	str	r2, [r1]
	ldr	r2, [fp, #-8]
	and	r1, r2, #255
	ldr	r2, .L11+8
	strb	r1, [r2, r3]
.L10:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L12:
	.align	2
.L11:
	.word	bufp
	.word	.LC0
	.word	buf
	.size	ungetch, .-ungetch
	.comm	tokentype,4,4
	.comm	token,100,4
	.global	prevtoken
	.bss
	.type	prevtoken, %object
	.size	prevtoken, 1
prevtoken:
	.space	1
	.comm	name,100,4
	.comm	datatype,100,4
	.comm	out,1000,4
	.section	.rodata
	.align	2
.LC1:
	.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, .L23
	str	r3, [fp, #-20]
	nop
.L14:
	bl	getch
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #32
	beq	.L14
	ldr	r3, [fp, #-16]
	cmp	r3, #9
	beq	.L14
	ldr	r3, [fp, #-16]
	cmp	r3, #40
	bne	.L15
	bl	getch
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #41
	bne	.L16
	ldr	r2, .L23
	ldr	r3, .L23+4
	mov	r0, r2
	mov	r1, r3
	mov	r3, #3
	mov	r2, r3
	bl	memcpy
	ldr	r3, .L23+8
	mov	r2, #1
	str	r2, [r3]
	ldr	r3, .L23+8
	ldr	r3, [r3]
	b	.L17
.L16:
	ldr	r0, [fp, #-16]
	bl	ungetch
	ldr	r3, .L23+8
	mov	r2, #40
	str	r2, [r3]
	ldr	r3, .L23+8
	ldr	r3, [r3]
	b	.L17
.L15:
	ldr	r3, [fp, #-16]
	cmp	r3, #91
	bne	.L18
	ldr	r3, [fp, #-20]
	add	r2, r3, #1
	str	r2, [fp, #-20]
	ldr	r2, [fp, #-16]
	and	r2, r2, #255
	strb	r2, [r3]
	nop
.L19:
	bl	getch
	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	.L19
	ldr	r3, [fp, #-20]
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, .L23+8
	mov	r2, #2
	str	r2, [r3]
	ldr	r3, .L23+8
	ldr	r3, [r3]
	b	.L17
.L18:
	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	.L20
	ldr	r3, [fp, #-20]
	add	r2, r3, #1
	str	r2, [fp, #-20]
	ldr	r2, [fp, #-16]
	and	r2, r2, #255
	strb	r2, [r3]
	b	.L21
.L22:
	ldr	r3, [fp, #-20]
	add	r2, r3, #1
	str	r2, [fp, #-20]
	ldr	r2, [fp, #-16]
	and	r2, r2, #255
	strb	r2, [r3]
.L21:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r4, [r3]
	bl	getch
	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	.L22
	ldr	r3, [fp, #-20]
	mov	r2, #0
	strb	r2, [r3]
	ldr	r0, [fp, #-16]
	bl	ungetch
	ldr	r3, .L23+8
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, .L23+8
	ldr	r3, [r3]
	b	.L17
.L20:
	ldr	r2, .L23+8
	ldr	r3, [fp, #-16]
	str	r3, [r2]
	ldr	r3, .L23+8
	ldr	r3, [r3]
.L17:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L24:
	.align	2
.L23:
	.word	token
	.word	.LC1
	.word	tokentype
	.size	gettoken, .-gettoken
	.section	.rodata
	.align	2
.LC2:
	.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	.L26
.L27:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L26:
	bl	gettoken
	mov	r3, r0
	cmp	r3, #42
	beq	.L27
	bl	dirdcl
	b	.L28
.L29:
	ldr	r0, .L30
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L30
	add	r3, r2, r3
	ldr	r2, .L30+4
	mov	r0, r3
	mov	r1, r2
	mov	r3, #12
	mov	r2, r3
	bl	memcpy
.L28:
	ldr	r3, [fp, #-8]
	sub	r2, r3, #1
	str	r2, [fp, #-8]
	cmp	r3, #0
	bgt	.L29
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L31:
	.align	2
.L30:
	.word	out
	.word	.LC2
	.size	dcl, .-dcl
	.section	.rodata
	.align	2
.LC3:
	.ascii	"error: missing ')'\000"
	.align	2
.LC4:
	.ascii	"error: expected name or ( dcl )\000"
	.align	2
.LC5:
	.ascii	" function returning\000"
	.align	2
.LC6:
	.ascii	" array\000"
	.align	2
.LC7:
	.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, .L39
	ldr	r3, [r3]
	cmp	r3, #40
	bne	.L33
	bl	dcl
	ldr	r3, .L39
	ldr	r3, [r3]
	cmp	r3, #41
	beq	.L36
	ldr	r0, .L39+4
	bl	puts
	b	.L36
.L33:
	ldr	r3, .L39
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L35
	ldr	r1, .L39+8
	ldr	r0, .L39+12
	bl	strcpy
	b	.L36
.L35:
	ldr	r0, .L39+16
	bl	puts
	b	.L36
.L38:
	ldr	r3, [fp, #-8]
	cmp	r3, #1
	bne	.L37
	ldr	r0, .L39+20
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L39+20
	add	r3, r2, r3
	ldr	r2, .L39+24
	mov	r0, r3
	mov	r1, r2
	mov	r3, #20
	mov	r2, r3
	bl	memcpy
	b	.L36
.L37:
	ldr	r0, .L39+20
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L39+20
	add	r3, r2, r3
	ldr	r2, .L39+28
	mov	r0, r3
	mov	r1, r2
	mov	r3, #7
	mov	r2, r3
	bl	memcpy
	ldr	r1, .L39+8
	ldr	r0, .L39+20
	bl	strcat
	ldr	r0, .L39+20
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L39+20
	add	r3, r2, r3
	ldr	r2, .L39+32
	mov	r0, r3
	mov	r1, r2
	mov	r3, #4
	mov	r2, r3
	bl	memcpy
.L36:
	bl	gettoken
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #1
	beq	.L38
	ldr	r3, [fp, #-8]
	cmp	r3, #2
	beq	.L38
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L40:
	.align	2
.L39:
	.word	tokentype
	.word	.LC3
	.word	token
	.word	name
	.word	.LC4
	.word	out
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.size	dirdcl, .-dirdcl
	.section	.rodata
	.align	2
.LC8:
	.ascii	"(%s) \000"
	.align	2
.LC9:
	.ascii	"%s\000"
	.align	2
.LC10:
	.ascii	"*%s\000"
	.align	2
.LC11:
	.ascii	"%s (%s) \000"
	.align	2
.LC12:
	.ascii	"%s %s\000"
	.align	2
.LC13:
	.ascii	"invalid input at %s\012\000"
	.align	2
.LC14:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 112
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #112
	ldr	r3, .L58
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	b	.L42
.L55:
	ldr	r1, .L58+4
	ldr	r0, .L58+8
	bl	strcpy
	b	.L43
.L54:
	ldr	r3, [fp, #-112]
	cmp	r3, #1
	beq	.L44
	ldr	r3, [fp, #-112]
	cmp	r3, #2
	bne	.L45
.L44:
	ldr	r3, .L58+12
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #42
	bne	.L46
	sub	r3, fp, #108
	ldr	r2, .L58+8
	ldr	r1, .L58+16
	mov	r0, r3
	bl	sprintf
	b	.L47
.L46:
	sub	r3, fp, #108
	ldr	r2, .L58+8
	ldr	r1, .L58+20
	mov	r0, r3
	bl	sprintf
.L47:
	sub	r3, fp, #108
	ldr	r1, .L58+4
	mov	r0, r3
	bl	strcat
	sub	r3, fp, #108
	mov	r1, r3
	ldr	r0, .L58+8
	bl	strcpy
	ldr	r3, .L58+12
	mov	r2, #0
	strb	r2, [r3]
	b	.L43
.L45:
	ldr	r3, [fp, #-112]
	cmp	r3, #42
	bne	.L48
	sub	r3, fp, #108
	ldr	r2, .L58+8
	ldr	r1, .L58+24
	mov	r0, r3
	bl	sprintf
	sub	r3, fp, #108
	mov	r1, r3
	ldr	r0, .L58+8
	bl	strcpy
	ldr	r3, .L58+12
	mov	r2, #42
	strb	r2, [r3]
	b	.L43
.L48:
	ldr	r3, [fp, #-112]
	cmp	r3, #0
	bne	.L49
	ldr	r3, .L58+12
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #42
	bne	.L50
	sub	r0, fp, #108
	ldr	r3, .L58+8
	ldr	r2, .L58+4
	ldr	r1, .L58+28
	bl	sprintf
	b	.L51
.L50:
	sub	r0, fp, #108
	ldr	r3, .L58+8
	ldr	r2, .L58+4
	ldr	r1, .L58+32
	bl	sprintf
.L51:
	sub	r3, fp, #108
	mov	r1, r3
	ldr	r0, .L58+8
	bl	strcpy
	ldr	r3, .L58+12
	mov	r2, #0
	strb	r2, [r3]
	b	.L43
.L49:
	ldr	r3, .L58+12
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #42
	bne	.L52
	sub	r3, fp, #108
	ldr	r2, .L58+8
	ldr	r1, .L58+16
	mov	r0, r3
	bl	sprintf
	b	.L53
.L52:
	sub	r3, fp, #108
	ldr	r2, .L58+8
	ldr	r1, .L58+20
	mov	r0, r3
	bl	sprintf
.L53:
	sub	r3, fp, #108
	mov	r1, r3
	ldr	r0, .L58+8
	bl	strcpy
	ldr	r1, .L58+4
	ldr	r0, .L58+36
	bl	printf
	ldr	r3, .L58+12
	mov	r2, #0
	strb	r2, [r3]
.L43:
	bl	gettoken
	str	r0, [fp, #-112]
	ldr	r3, [fp, #-112]
	cmp	r3, #10
	bne	.L54
	ldr	r0, .L58+8
	bl	puts
.L42:
	bl	gettoken
	mov	r3, r0
	cmn	r3, #1
	bne	.L55
	mov	r3, #0
	ldr	r2, .L58
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L57
	bl	__stack_chk_fail
.L57:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L59:
	.align	2
.L58:
	.word	.LC14
	.word	token
	.word	out
	.word	prevtoken
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
