	.file	"91510.c"
	.intel_syntax noprefix
	.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
	add	rsp, -128
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -120[rbp], 0
	jmp	.L2
.L3:
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -124[rbp]
	cdqe
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 1024
	test	eax, eax
	je	.L2
	lea	rdx, -112[rbp]
	mov	rax, QWORD PTR -120[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	addtree
	mov	QWORD PTR -120[rbp], rax
.L2:
	lea	rax, -112[rbp]
	mov	esi, 100
	mov	rdi, rax
	call	getword
	mov	DWORD PTR -124[rbp], eax
	cmp	DWORD PTR -124[rbp], -1
	jne	.L3
	mov	rax, QWORD PTR -120[rbp]
	mov	rdi, rax
	call	printtree
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L5
	call	__stack_chk_fail@PLT
.L5:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.globl	getword
	.type	getword, @function
getword:
.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, 56
	.cfi_offset 3, -24
	mov	QWORD PTR -56[rbp], rdi
	mov	DWORD PTR -60[rbp], esi
	mov	rax, QWORD PTR -56[rbp]
	mov	QWORD PTR -24[rbp], rax
	nop
.L7:
	call	__ctype_b_loc@PLT
	mov	rbx, QWORD PTR [rax]
	mov	eax, 0
	call	getch
	mov	DWORD PTR -36[rbp], eax
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	add	rax, rax
	add	rax, rbx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 8192
	test	eax, eax
	jne	.L7
	mov	eax, DWORD PTR -36[rbp]
	mov	DWORD PTR -32[rbp], eax
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 1024
	test	eax, eax
	jne	.L8
	cmp	DWORD PTR -36[rbp], 35
	je	.L8
	cmp	DWORD PTR -36[rbp], 95
	jne	.L9
.L8:
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -24[rbp], rdx
	mov	edx, DWORD PTR -36[rbp]
	mov	BYTE PTR [rax], dl
	jmp	.L10
.L12:
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -24[rbp], rdx
	mov	edx, DWORD PTR -36[rbp]
	mov	BYTE PTR [rax], dl
.L10:
	sub	DWORD PTR -60[rbp], 1
	cmp	DWORD PTR -60[rbp], 1
	jle	.L11
	call	__ctype_b_loc@PLT
	mov	rbx, QWORD PTR [rax]
	mov	eax, 0
	call	getch
	mov	DWORD PTR -36[rbp], eax
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	add	rax, rax
	add	rax, rbx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 8
	test	eax, eax
	jne	.L12
	cmp	DWORD PTR -36[rbp], 95
	je	.L12
.L11:
	cmp	DWORD PTR -60[rbp], 1
	je	.L14
	mov	eax, DWORD PTR -36[rbp]
	mov	edi, eax
	call	ungetch
	jmp	.L14
.L9:
	cmp	DWORD PTR -36[rbp], 47
	jne	.L15
	mov	eax, 0
	call	getch
	mov	DWORD PTR -36[rbp], eax
	cmp	DWORD PTR -36[rbp], 42
	je	.L16
	cmp	DWORD PTR -36[rbp], 47
	jne	.L14
.L16:
	mov	eax, DWORD PTR -36[rbp]
	mov	edi, eax
	call	incmt
	jmp	.L14
.L15:
	cmp	DWORD PTR -36[rbp], 39
	je	.L17
	cmp	DWORD PTR -36[rbp], 34
	jne	.L14
.L17:
	mov	eax, DWORD PTR -36[rbp]
	mov	DWORD PTR -28[rbp], eax
	jmp	.L18
.L20:
	cmp	DWORD PTR -36[rbp], 92
	jne	.L19
	mov	eax, 0
	call	getch
	mov	DWORD PTR -36[rbp], eax
	cmp	DWORD PTR -36[rbp], -1
	je	.L18
.L19:
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -24[rbp], rdx
	mov	edx, DWORD PTR -36[rbp]
	mov	BYTE PTR [rax], dl
.L18:
	sub	DWORD PTR -60[rbp], 1
	cmp	DWORD PTR -60[rbp], 0
	jle	.L14
	mov	eax, 0
	call	getch
	mov	DWORD PTR -36[rbp], eax
	mov	eax, DWORD PTR -36[rbp]
	cmp	eax, DWORD PTR -28[rbp]
	je	.L14
	cmp	DWORD PTR -36[rbp], -1
	jne	.L20
.L14:
	mov	rax, QWORD PTR -24[rbp]
	mov	BYTE PTR [rax], 0
	mov	eax, DWORD PTR -32[rbp]
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	getword, .-getword
	.section	.rodata
.LC0:
	.string	"Not Enough Memory."
	.text
	.globl	addtree
	.type	addtree, @function
addtree:
.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	QWORD PTR -32[rbp], rsi
	cmp	QWORD PTR -24[rbp], 0
	jne	.L23
	mov	eax, 0
	call	talloc
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	je	.L24
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	strdup@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	jne	.L25
.L24:
	lea	rdi, .LC0[rip]
	call	error
.L25:
	mov	rax, QWORD PTR -8[rbp]
	mov	DWORD PTR 8[rax], 1
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 24[rax], 0
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR 24[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 16[rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	jmp	.L26
.L23:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -32[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	mov	DWORD PTR -12[rbp], eax
	cmp	DWORD PTR -12[rbp], 0
	jns	.L27
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	rdx, QWORD PTR -32[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	addtree
	mov	rdx, QWORD PTR -24[rbp]
	mov	QWORD PTR 16[rdx], rax
	jmp	.L28
.L27:
	cmp	DWORD PTR -12[rbp], 0
	jle	.L29
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 24[rax]
	mov	rdx, QWORD PTR -32[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	addtree
	mov	rdx, QWORD PTR -24[rbp]
	mov	QWORD PTR 24[rdx], rax
	jmp	.L28
.L29:
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 8[rax]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR 8[rax], edx
.L28:
	mov	rax, QWORD PTR -24[rbp]
.L26:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	addtree, .-addtree
	.section	.rodata
.LC1:
	.string	"%4d %s\n"
	.text
	.globl	printtree
	.type	printtree, @function
printtree:
.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, 16
	mov	QWORD PTR -8[rbp], rdi
	cmp	QWORD PTR -8[rbp], 0
	je	.L32
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	rdi, rax
	call	printtree
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 8[rax]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 24[rax]
	mov	rdi, rax
	call	printtree
.L32:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	printtree, .-printtree
	.globl	talloc
	.type	talloc, @function
talloc:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	edi, 32
	call	malloc@PLT
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	talloc, .-talloc
	.section	.rodata
.LC2:
	.string	"the_stack_data/91510.c"
.LC3:
	.string	"type == '*' || type == '/'"
	.text
	.globl	incmt
	.type	incmt, @function
incmt:
.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	DWORD PTR -20[rbp], edi
	cmp	DWORD PTR -20[rbp], 42
	je	.L36
	cmp	DWORD PTR -20[rbp], 47
	je	.L36
	lea	rcx, __PRETTY_FUNCTION__.1[rip]
	mov	edx, 116
	lea	rsi, .LC2[rip]
	lea	rdi, .LC3[rip]
	call	__assert_fail@PLT
.L36:
	cmp	DWORD PTR -20[rbp], 42
	je	.L37
	cmp	DWORD PTR -20[rbp], 47
	je	.L47
	jmp	.L42
.L37:
	mov	eax, 0
	call	getch
	mov	DWORD PTR -8[rbp], eax
	nop
.L41:
	mov	eax, DWORD PTR -8[rbp]
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], -1
	je	.L45
	mov	eax, 0
	call	getch
	mov	DWORD PTR -8[rbp], eax
	cmp	DWORD PTR -8[rbp], 47
	jne	.L41
	cmp	DWORD PTR -4[rbp], 42
	jne	.L41
	jmp	.L45
.L47:
	nop
.L44:
	mov	eax, 0
	call	getch
	mov	DWORD PTR -8[rbp], eax
	cmp	DWORD PTR -8[rbp], 10
	je	.L46
	cmp	DWORD PTR -8[rbp], -1
	jne	.L44
	jmp	.L46
.L45:
	nop
	jmp	.L48
.L46:
	nop
.L42:
.L48:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	incmt, .-incmt
	.local	lastc
	.comm	lastc,4,4
	.globl	getch
	.type	getch, @function
getch:
.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	eax, DWORD PTR lastc[rip]
	test	eax, eax
	je	.L50
	mov	eax, DWORD PTR lastc[rip]
	mov	DWORD PTR -4[rbp], eax
	mov	DWORD PTR lastc[rip], 0
	jmp	.L51
.L50:
	call	getchar@PLT
	mov	DWORD PTR -4[rbp], eax
.L51:
	mov	eax, DWORD PTR -4[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	getch, .-getch
	.section	.rodata
.LC4:
	.string	"!lastc"
	.text
	.globl	ungetch
	.type	ungetch, @function
ungetch:
.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	DWORD PTR -4[rbp], edi
	mov	eax, DWORD PTR lastc[rip]
	test	eax, eax
	je	.L54
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 149
	lea	rsi, .LC2[rip]
	lea	rdi, .LC4[rip]
	call	__assert_fail@PLT
.L54:
	mov	eax, DWORD PTR -4[rbp]
	mov	DWORD PTR lastc[rip], eax
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	ungetch, .-ungetch
	.globl	error
	.type	error, @function
error:
.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, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
	.cfi_endproc
.LFE14:
	.size	error, .-error
	.section	.rodata
	.type	__PRETTY_FUNCTION__.1, @object
	.size	__PRETTY_FUNCTION__.1, 6
__PRETTY_FUNCTION__.1:
	.string	"incmt"
	.align 8
	.type	__PRETTY_FUNCTION__.0, @object
	.size	__PRETTY_FUNCTION__.0, 8
__PRETTY_FUNCTION__.0:
	.string	"ungetch"
	.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	"91510.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.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, .L6
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-116]
	b	.L2
.L3:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, [fp, #-112]
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #1024
	cmp	r3, #0
	beq	.L2
	sub	r3, fp, #108
	mov	r1, r3
	ldr	r0, [fp, #-116]
	bl	addtree
	str	r0, [fp, #-116]
.L2:
	sub	r3, fp, #108
	mov	r1, #100
	mov	r0, r3
	bl	getword
	str	r0, [fp, #-112]
	ldr	r3, [fp, #-112]
	cmn	r3, #1
	bne	.L3
	ldr	r0, [fp, #-116]
	bl	printtree
	mov	r3, #0
	ldr	r2, .L6
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L5
	bl	__stack_chk_fail
.L5:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L7:
	.align	2
.L6:
	.word	.LC0
	.size	main, .-main
	.align	2
	.global	getword
	.syntax unified
	.arm
	.fpu softvfp
	.type	getword, %function
getword:
	@ 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]
	ldr	r3, [fp, #-32]
	str	r3, [fp, #-24]
	nop
.L9:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r4, [r3]
	bl	getch
	str	r0, [fp, #-28]
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #1
	add	r3, r4, r3
	ldrh	r3, [r3]
	and	r3, r3, #8192
	cmp	r3, #0
	bne	.L9
	ldr	r3, [fp, #-28]
	str	r3, [fp, #-20]
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #1024
	cmp	r3, #0
	bne	.L10
	ldr	r3, [fp, #-28]
	cmp	r3, #35
	beq	.L10
	ldr	r3, [fp, #-28]
	cmp	r3, #95
	bne	.L11
.L10:
	ldr	r3, [fp, #-24]
	add	r2, r3, #1
	str	r2, [fp, #-24]
	ldr	r2, [fp, #-28]
	and	r2, r2, #255
	strb	r2, [r3]
	b	.L12
.L14:
	ldr	r3, [fp, #-24]
	add	r2, r3, #1
	str	r2, [fp, #-24]
	ldr	r2, [fp, #-28]
	and	r2, r2, #255
	strb	r2, [r3]
.L12:
	ldr	r3, [fp, #-36]
	sub	r3, r3, #1
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-36]
	cmp	r3, #1
	ble	.L13
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r4, [r3]
	bl	getch
	str	r0, [fp, #-28]
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #1
	add	r3, r4, r3
	ldrh	r3, [r3]
	and	r3, r3, #8
	cmp	r3, #0
	bne	.L14
	ldr	r3, [fp, #-28]
	cmp	r3, #95
	beq	.L14
.L13:
	ldr	r3, [fp, #-36]
	cmp	r3, #1
	beq	.L16
	ldr	r0, [fp, #-28]
	bl	ungetch
	b	.L16
.L11:
	ldr	r3, [fp, #-28]
	cmp	r3, #47
	bne	.L17
	bl	getch
	str	r0, [fp, #-28]
	ldr	r3, [fp, #-28]
	cmp	r3, #42
	beq	.L18
	ldr	r3, [fp, #-28]
	cmp	r3, #47
	bne	.L16
.L18:
	ldr	r0, [fp, #-28]
	bl	incmt
	b	.L16
.L17:
	ldr	r3, [fp, #-28]
	cmp	r3, #39
	beq	.L19
	ldr	r3, [fp, #-28]
	cmp	r3, #34
	bne	.L16
.L19:
	ldr	r3, [fp, #-28]
	str	r3, [fp, #-16]
	b	.L20
.L22:
	ldr	r3, [fp, #-28]
	cmp	r3, #92
	bne	.L21
	bl	getch
	str	r0, [fp, #-28]
	ldr	r3, [fp, #-28]
	cmn	r3, #1
	beq	.L20
.L21:
	ldr	r3, [fp, #-24]
	add	r2, r3, #1
	str	r2, [fp, #-24]
	ldr	r2, [fp, #-28]
	and	r2, r2, #255
	strb	r2, [r3]
.L20:
	ldr	r3, [fp, #-36]
	sub	r3, r3, #1
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	ble	.L16
	bl	getch
	str	r0, [fp, #-28]
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-16]
	cmp	r2, r3
	beq	.L16
	ldr	r3, [fp, #-28]
	cmn	r3, #1
	bne	.L22
.L16:
	ldr	r3, [fp, #-24]
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-20]
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
	.size	getword, .-getword
	.section	.rodata
	.align	2
.LC1:
	.ascii	"Not Enough Memory.\000"
	.text
	.align	2
	.global	addtree
	.syntax unified
	.arm
	.fpu softvfp
	.type	addtree, %function
addtree:
	@ 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]
	cmp	r3, #0
	bne	.L25
	bl	talloc
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L26
	ldr	r0, [fp, #-20]
	bl	strdup
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-8]
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L27
.L26:
	ldr	r0, .L32
	bl	error
.L27:
	ldr	r3, [fp, #-8]
	mov	r2, #1
	str	r2, [r3, #4]
	ldr	r3, [fp, #-8]
	mov	r2, #0
	str	r2, [r3, #12]
	ldr	r3, [fp, #-8]
	ldr	r2, [r3, #12]
	ldr	r3, [fp, #-8]
	str	r2, [r3, #8]
	ldr	r3, [fp, #-8]
	b	.L28
.L25:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, [fp, #-20]
	bl	strcmp
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bge	.L29
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #8]
	ldr	r1, [fp, #-20]
	mov	r0, r3
	bl	addtree
	mov	r2, r0
	ldr	r3, [fp, #-16]
	str	r2, [r3, #8]
	b	.L30
.L29:
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	ble	.L31
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #12]
	ldr	r1, [fp, #-20]
	mov	r0, r3
	bl	addtree
	mov	r2, r0
	ldr	r3, [fp, #-16]
	str	r2, [r3, #12]
	b	.L30
.L31:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	add	r2, r3, #1
	ldr	r3, [fp, #-16]
	str	r2, [r3, #4]
.L30:
	ldr	r3, [fp, #-16]
.L28:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L33:
	.align	2
.L32:
	.word	.LC1
	.size	addtree, .-addtree
	.section	.rodata
	.align	2
.LC2:
	.ascii	"%4d %s\012\000"
	.text
	.align	2
	.global	printtree
	.syntax unified
	.arm
	.fpu softvfp
	.type	printtree, %function
printtree:
	@ 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]
	cmp	r3, #0
	beq	.L36
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #8]
	mov	r0, r3
	bl	printtree
	ldr	r3, [fp, #-8]
	ldr	r1, [r3, #4]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r0, .L37
	bl	printf
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #12]
	mov	r0, r3
	bl	printtree
.L36:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L38:
	.align	2
.L37:
	.word	.LC2
	.size	printtree, .-printtree
	.align	2
	.global	talloc
	.syntax unified
	.arm
	.fpu softvfp
	.type	talloc, %function
talloc:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	mov	r0, #16
	bl	malloc
	mov	r3, r0
	mov	r0, r3
	pop	{fp, pc}
	.size	talloc, .-talloc
	.section	.rodata
	.align	2
.LC3:
	.ascii	"the_stack_data/91510.c\000"
	.align	2
.LC4:
	.ascii	"type == '*' || type == '/'\000"
	.text
	.align	2
	.global	incmt
	.syntax unified
	.arm
	.fpu softvfp
	.type	incmt, %function
incmt:
	@ 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, [fp, #-16]
	cmp	r3, #42
	beq	.L42
	ldr	r3, [fp, #-16]
	cmp	r3, #47
	beq	.L42
	ldr	r3, .L55
	mov	r2, #116
	ldr	r1, .L55+4
	ldr	r0, .L55+8
	bl	__assert_fail
.L42:
	ldr	r3, [fp, #-16]
	cmp	r3, #42
	beq	.L43
	ldr	r3, [fp, #-16]
	cmp	r3, #47
	beq	.L53
	b	.L48
.L43:
	bl	getch
	str	r0, [fp, #-12]
	nop
.L47:
	ldr	r3, [fp, #-12]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmn	r3, #1
	beq	.L51
	bl	getch
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #47
	bne	.L47
	ldr	r3, [fp, #-8]
	cmp	r3, #42
	bne	.L47
	b	.L51
.L53:
	nop
.L50:
	bl	getch
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #10
	beq	.L52
	ldr	r3, [fp, #-12]
	cmn	r3, #1
	bne	.L50
	b	.L52
.L51:
	nop
	b	.L54
.L52:
	nop
.L48:
.L54:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L56:
	.align	2
.L55:
	.word	__PRETTY_FUNCTION__.5474
	.word	.LC3
	.word	.LC4
	.size	incmt, .-incmt
	.local	lastc
	.comm	lastc,4,4
	.align	2
	.global	getch
	.syntax unified
	.arm
	.fpu softvfp
	.type	getch, %function
getch:
	@ 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, .L61
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L58
	ldr	r3, .L61
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	ldr	r3, .L61
	mov	r2, #0
	str	r2, [r3]
	b	.L59
.L58:
	bl	getchar
	str	r0, [fp, #-8]
.L59:
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L62:
	.align	2
.L61:
	.word	lastc
	.size	getch, .-getch
	.section	.rodata
	.align	2
.LC5:
	.ascii	"!lastc\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, .L65
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L64
	ldr	r3, .L65+4
	mov	r2, #149
	ldr	r1, .L65+8
	ldr	r0, .L65+12
	bl	__assert_fail
.L64:
	ldr	r2, .L65
	ldr	r3, [fp, #-8]
	str	r3, [r2]
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L66:
	.align	2
.L65:
	.word	lastc
	.word	__PRETTY_FUNCTION__.5494
	.word	.LC3
	.word	.LC5
	.size	ungetch, .-ungetch
	.align	2
	.global	error
	.syntax unified
	.arm
	.fpu softvfp
	.type	error, %function
error:
	@ 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	r0, [fp, #-8]
	bl	perror
	mov	r0, #1
	bl	exit
	.size	error, .-error
	.section	.rodata
	.align	2
	.type	__PRETTY_FUNCTION__.5474, %object
	.size	__PRETTY_FUNCTION__.5474, 6
__PRETTY_FUNCTION__.5474:
	.ascii	"incmt\000"
	.align	2
	.type	__PRETTY_FUNCTION__.5494, %object
	.size	__PRETTY_FUNCTION__.5494, 8
__PRETTY_FUNCTION__.5494:
	.ascii	"ungetch\000"
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
