	.file	"98575232.c"
	.intel_syntax noprefix
	.text
	.globl	accumulator
	.bss
	.align 4
	.type	accumulator, @object
	.size	accumulator, 4
accumulator:
	.zero	4
	.section	.rodata
.LC0:
	.string	"r"
.LC1:
	.string	"Solution 1: %d\n"
.LC2:
	.string	"Solution 2: %d\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, 48
	mov	DWORD PTR -36[rbp], edi
	mov	QWORD PTR -48[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -48[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -16[rbp], rax
	mov	edi, 7788
	call	malloc@PLT
	mov	QWORD PTR -24[rbp], rax
	lea	rdx, -24[rbp]
	mov	rax, QWORD PTR -16[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	parse_program
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	run_program
	mov	eax, DWORD PTR accumulator[rip]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -28[rbp], 0
	jmp	.L2
.L9:
	mov	rcx, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	mov	eax, DWORD PTR [rax]
	cmp	eax, 2
	jne	.L3
	mov	rcx, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	mov	DWORD PTR [rax], 1
	jmp	.L4
.L3:
	mov	rcx, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	mov	eax, DWORD PTR [rax]
	cmp	eax, 1
	jne	.L4
	mov	rcx, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	mov	DWORD PTR [rax], 2
.L4:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	run_program
	test	al, al
	jne	.L12
	mov	rcx, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	mov	eax, DWORD PTR [rax]
	cmp	eax, 2
	jne	.L7
	mov	rcx, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	mov	DWORD PTR [rax], 1
	jmp	.L8
.L7:
	mov	rcx, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	mov	eax, DWORD PTR [rax]
	cmp	eax, 1
	jne	.L8
	mov	rcx, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	mov	DWORD PTR [rax], 2
.L8:
	add	DWORD PTR -28[rbp], 1
.L2:
	cmp	DWORD PTR -28[rbp], 648
	jle	.L9
	jmp	.L6
.L12:
	nop
.L6:
	mov	eax, DWORD PTR accumulator[rip]
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L11
	call	__stack_chk_fail@PLT
.L11:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.globl	streq
	.type	streq, @function
streq:
.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
	mov	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	mov	rdx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	sete	al
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	streq, .-streq
	.section	.rodata
.LC3:
	.string	"acc"
.LC4:
	.string	"jmp"
.LC5:
	.string	"nop"
.LC6:
	.string	"the_stack_data/98575232.c"
.LC7:
	.string	"0"
	.text
	.globl	parse_operator
	.type	parse_operator, @function
parse_operator:
.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, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	call	streq
	test	al, al
	je	.L16
	mov	eax, 0
	jmp	.L17
.L16:
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	call	streq
	test	al, al
	je	.L18
	mov	eax, 1
	jmp	.L17
.L18:
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	call	streq
	test	al, al
	je	.L19
	mov	eax, 2
	jmp	.L17
.L19:
	lea	rcx, __PRETTY_FUNCTION__.1[rip]
	mov	edx, 53
	lea	rsi, .LC6[rip]
	lea	rdi, .LC7[rip]
	call	__assert_fail@PLT
.L17:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	parse_operator, .-parse_operator
	.section	.rodata
.LC8:
	.string	" "
.LC9:
	.string	"\n"
	.text
	.globl	parse_program
	.type	parse_program, @function
parse_program:
.LFB9:
	.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	QWORD PTR -64[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -40[rbp], 0
	mov	QWORD PTR -32[rbp], 0
	mov	DWORD PTR -44[rbp], 0
	mov	DWORD PTR -48[rbp], 0
	jmp	.L21
.L22:
	mov	rdx, QWORD PTR -56[rbp]
	lea	rcx, -32[rbp]
	lea	rax, -40[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	getline@PLT
	mov	DWORD PTR -44[rbp], eax
	mov	rax, QWORD PTR -40[rbp]
	lea	rsi, .LC8[rip]
	mov	rdi, rax
	call	strtok@PLT
	mov	rcx, rax
	mov	rax, QWORD PTR -64[rbp]
	mov	rsi, QWORD PTR [rax]
	mov	eax, DWORD PTR -48[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	lea	rbx, [rsi+rax]
	mov	rdi, rcx
	call	parse_operator
	mov	DWORD PTR [rbx], eax
	lea	rsi, .LC9[rip]
	mov	edi, 0
	call	strtok@PLT
	mov	edx, 10
	mov	esi, 0
	mov	rdi, rax
	call	strtol@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -64[rbp]
	mov	rsi, QWORD PTR [rax]
	mov	eax, DWORD PTR -48[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	add	rax, rax
	add	rax, rcx
	sal	rax, 2
	add	rax, rsi
	mov	DWORD PTR 4[rax], edx
	mov	rax, QWORD PTR -64[rbp]
	mov	rcx, QWORD PTR [rax]
	mov	eax, DWORD PTR -48[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	mov	BYTE PTR 8[rax], 0
	add	DWORD PTR -48[rbp], 1
.L21:
	cmp	DWORD PTR -48[rbp], 648
	jle	.L22
	nop
	mov	rax, QWORD PTR -24[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L23
	call	__stack_chk_fail@PLT
.L23:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	parse_program, .-parse_program
	.globl	reset_program
	.type	reset_program, @function
reset_program:
.LFB10:
	.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 accumulator[rip], 0
	mov	DWORD PTR -4[rbp], 0
	jmp	.L25
.L26:
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	BYTE PTR 8[rax], 0
	add	DWORD PTR -4[rbp], 1
.L25:
	cmp	DWORD PTR -4[rbp], 648
	jle	.L26
	nop
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	reset_program, .-reset_program
	.globl	run_program
	.type	run_program, @function
run_program:
.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	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	reset_program
	mov	DWORD PTR -12[rbp], 0
.L37:
	cmp	DWORD PTR -12[rbp], 0
	js	.L28
	cmp	DWORD PTR -12[rbp], 648
	jg	.L28
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR 8[rax]
	test	al, al
	je	.L29
.L28:
	mov	eax, 0
	jmp	.L30
.L29:
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	BYTE PTR 8[rax], 1
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	eax, 2
	je	.L31
	cmp	eax, 2
	ja	.L32
	test	eax, eax
	je	.L33
	cmp	eax, 1
	je	.L34
	jmp	.L32
.L31:
	add	DWORD PTR -12[rbp], 1
	jmp	.L35
.L34:
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 4[rax]
	add	DWORD PTR -12[rbp], eax
	jmp	.L35
.L33:
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, DWORD PTR 4[rax]
	mov	eax, DWORD PTR accumulator[rip]
	add	eax, edx
	mov	DWORD PTR accumulator[rip], eax
	add	DWORD PTR -12[rbp], 1
	jmp	.L35
.L32:
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 94
	lea	rsi, .LC6[rip]
	lea	rdi, .LC7[rip]
	call	__assert_fail@PLT
.L35:
	cmp	DWORD PTR -12[rbp], 649
	jne	.L37
	mov	eax, 1
.L30:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	run_program, .-run_program
	.section	.rodata
	.align 8
	.type	__PRETTY_FUNCTION__.1, @object
	.size	__PRETTY_FUNCTION__.1, 15
__PRETTY_FUNCTION__.1:
	.string	"parse_operator"
	.align 8
	.type	__PRETTY_FUNCTION__.0, @object
	.size	__PRETTY_FUNCTION__.0, 12
__PRETTY_FUNCTION__.0:
	.string	"run_program"
	.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	"98575232.c"
	.text
	.global	accumulator
	.bss
	.align	2
	.type	accumulator, %object
	.size	accumulator, 4
accumulator:
	.space	4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"r\000"
	.align	2
.LC1:
	.ascii	"Solution 1: %d\012\000"
	.align	2
.LC2:
	.ascii	"Solution 2: %d\012\000"
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ 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]
	str	r1, [fp, #-28]
	ldr	r3, .L13
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-28]
	add	r3, r3, #4
	ldr	r3, [r3]
	ldr	r1, .L13+4
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-12]
	ldr	r0, .L13+8
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-20]
	sub	r3, fp, #20
	mov	r1, r3
	ldr	r0, [fp, #-12]
	bl	parse_program
	ldr	r0, [fp, #-12]
	bl	fclose
	ldr	r3, [fp, #-20]
	mov	r0, r3
	bl	run_program
	ldr	r3, .L13+12
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L13+16
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L2
.L9:
	ldr	r1, [fp, #-20]
	ldr	r2, [fp, #-16]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r3, [r3]
	cmp	r3, #2
	bne	.L3
	ldr	r1, [fp, #-20]
	ldr	r2, [fp, #-16]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	mov	r2, #1
	str	r2, [r3]
	b	.L4
.L3:
	ldr	r1, [fp, #-20]
	ldr	r2, [fp, #-16]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r3, [r3]
	cmp	r3, #1
	bne	.L4
	ldr	r1, [fp, #-20]
	ldr	r2, [fp, #-16]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	mov	r2, #2
	str	r2, [r3]
.L4:
	ldr	r3, [fp, #-20]
	mov	r0, r3
	bl	run_program
	mov	r3, r0
	cmp	r3, #0
	bne	.L12
	ldr	r1, [fp, #-20]
	ldr	r2, [fp, #-16]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r3, [r3]
	cmp	r3, #2
	bne	.L7
	ldr	r1, [fp, #-20]
	ldr	r2, [fp, #-16]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	mov	r2, #1
	str	r2, [r3]
	b	.L8
.L7:
	ldr	r1, [fp, #-20]
	ldr	r2, [fp, #-16]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r3, [r3]
	cmp	r3, #1
	bne	.L8
	ldr	r1, [fp, #-20]
	ldr	r2, [fp, #-16]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	mov	r2, #2
	str	r2, [r3]
.L8:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L2:
	ldr	r3, [fp, #-16]
	cmp	r3, #648
	ble	.L9
	b	.L6
.L12:
	nop
.L6:
	ldr	r3, .L13+12
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L13+20
	bl	printf
	mov	r3, #0
	ldr	r2, .L13
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L11
	bl	__stack_chk_fail
.L11:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L14:
	.align	2
.L13:
	.word	.LC3
	.word	.LC0
	.word	7788
	.word	accumulator
	.word	.LC1
	.word	.LC2
	.size	main, .-main
	.align	2
	.global	streq
	.syntax unified
	.arm
	.fpu softvfp
	.type	streq, %function
streq:
	@ 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]
	str	r1, [fp, #-12]
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-8]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	streq, .-streq
	.section	.rodata
	.align	2
.LC4:
	.ascii	"acc\000"
	.align	2
.LC5:
	.ascii	"jmp\000"
	.align	2
.LC6:
	.ascii	"nop\000"
	.align	2
.LC7:
	.ascii	"the_stack_data/98575232.c\000"
	.align	2
.LC8:
	.ascii	"0\000"
	.text
	.align	2
	.global	parse_operator
	.syntax unified
	.arm
	.fpu softvfp
	.type	parse_operator, %function
parse_operator:
	@ 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	r1, .L22
	ldr	r0, [fp, #-8]
	bl	streq
	mov	r3, r0
	cmp	r3, #0
	beq	.L18
	mov	r3, #0
	b	.L19
.L18:
	ldr	r1, .L22+4
	ldr	r0, [fp, #-8]
	bl	streq
	mov	r3, r0
	cmp	r3, #0
	beq	.L20
	mov	r3, #1
	b	.L19
.L20:
	ldr	r1, .L22+8
	ldr	r0, [fp, #-8]
	bl	streq
	mov	r3, r0
	cmp	r3, #0
	beq	.L21
	mov	r3, #2
	b	.L19
.L21:
	ldr	r3, .L22+12
	mov	r2, #53
	ldr	r1, .L22+16
	ldr	r0, .L22+20
	bl	__assert_fail
.L19:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L23:
	.align	2
.L22:
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	__PRETTY_FUNCTION__.5342
	.word	.LC7
	.word	.LC8
	.size	parse_operator, .-parse_operator
	.section	.rodata
	.align	2
.LC9:
	.ascii	" \000"
	.align	2
.LC10:
	.ascii	"\012\000"
	.align	2
.LC11:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	parse_program
	.syntax unified
	.arm
	.fpu softvfp
	.type	parse_program, %function
parse_program:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #36
	str	r0, [fp, #-40]
	str	r1, [fp, #-44]
	ldr	r3, .L28
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-32]
	mov	r3, #0
	str	r3, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L25
.L26:
	sub	r1, fp, #28
	sub	r3, fp, #32
	ldr	r2, [fp, #-40]
	mov	r0, r3
	bl	getline
	str	r0, [fp, #-20]
	ldr	r3, [fp, #-32]
	ldr	r1, .L28+4
	mov	r0, r3
	bl	strtok
	ldr	r3, [fp, #-44]
	ldr	r1, [r3]
	ldr	r2, [fp, #-24]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r4, r1, r3
	bl	parse_operator
	mov	r3, r0
	str	r3, [r4]
	ldr	r1, .L28+8
	mov	r0, #0
	bl	strtok
	ldr	r3, [fp, #-44]
	ldr	r1, [r3]
	ldr	r2, [fp, #-24]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r4, r1, r3
	mov	r2, #10
	mov	r1, #0
	bl	strtol
	mov	r3, r0
	str	r3, [r4, #4]
	ldr	r3, [fp, #-44]
	ldr	r1, [r3]
	ldr	r2, [fp, #-24]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	mov	r2, #0
	strb	r2, [r3, #8]
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L25:
	ldr	r3, [fp, #-24]
	cmp	r3, #648
	ble	.L26
	nop
	ldr	r3, .L28
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L27
	bl	__stack_chk_fail
.L27:
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L29:
	.align	2
.L28:
	.word	.LC11
	.word	.LC9
	.word	.LC10
	.size	parse_program, .-parse_program
	.align	2
	.global	reset_program
	.syntax unified
	.arm
	.fpu softvfp
	.type	reset_program, %function
reset_program:
	@ 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]
	ldr	r3, .L33
	mov	r2, #0
	str	r2, [r3]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L31
.L32:
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-16]
	add	r3, r3, r2
	mov	r2, #0
	strb	r2, [r3, #8]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L31:
	ldr	r3, [fp, #-8]
	cmp	r3, #648
	ble	.L32
	nop
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L34:
	.align	2
.L33:
	.word	accumulator
	.size	reset_program, .-reset_program
	.align	2
	.global	run_program
	.syntax unified
	.arm
	.fpu softvfp
	.type	run_program, %function
run_program:
	@ 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	reset_program
	mov	r3, #0
	str	r3, [fp, #-12]
.L45:
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	blt	.L36
	ldr	r3, [fp, #-12]
	cmp	r3, #648
	bgt	.L36
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-16]
	add	r3, r3, r2
	ldrb	r3, [r3, #8]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L37
.L36:
	mov	r3, #0
	b	.L38
.L37:
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-16]
	add	r3, r3, r2
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	mov	r2, #1
	strb	r2, [r3, #8]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	cmp	r3, #2
	beq	.L39
	cmp	r3, #2
	bhi	.L40
	cmp	r3, #0
	beq	.L41
	cmp	r3, #1
	beq	.L42
	b	.L40
.L39:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
	b	.L43
.L42:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	ldr	r2, [fp, #-12]
	add	r3, r2, r3
	str	r3, [fp, #-12]
	b	.L43
.L41:
	ldr	r3, [fp, #-8]
	ldr	r2, [r3, #4]
	ldr	r3, .L46
	ldr	r3, [r3]
	add	r3, r2, r3
	ldr	r2, .L46
	str	r3, [r2]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
	b	.L43
.L40:
	ldr	r3, .L46+4
	mov	r2, #94
	ldr	r1, .L46+8
	ldr	r0, .L46+12
	bl	__assert_fail
.L43:
	ldr	r3, [fp, #-12]
	ldr	r2, .L46+16
	cmp	r3, r2
	bne	.L45
	mov	r3, #1
.L38:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L47:
	.align	2
.L46:
	.word	accumulator
	.word	__PRETTY_FUNCTION__.5371
	.word	.LC7
	.word	.LC8
	.word	649
	.size	run_program, .-run_program
	.section	.rodata
	.align	2
	.type	__PRETTY_FUNCTION__.5342, %object
	.size	__PRETTY_FUNCTION__.5342, 15
__PRETTY_FUNCTION__.5342:
	.ascii	"parse_operator\000"
	.align	2
	.type	__PRETTY_FUNCTION__.5371, %object
	.size	__PRETTY_FUNCTION__.5371, 12
__PRETTY_FUNCTION__.5371:
	.ascii	"run_program\000"
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
