	.file	"871166.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"rb"
	.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
	cmp	DWORD PTR -36[rbp], 1
	jne	.L2
	mov	rax, QWORD PTR stdin[rip]
	mov	QWORD PTR -16[rbp], rax
	jmp	.L3
.L2:
	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
.L3:
	cmp	QWORD PTR -16[rbp], 0
	jne	.L4
	mov	esi, 0
	mov	edi, 1
	call	printError
.L4:
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	validateInput
	test	eax, eax
	jne	.L5
	mov	esi, 0
	mov	edi, 4
	call	printError
.L5:
	mov	edi, 0
	call	newCell
	mov	QWORD PTR -24[rbp], rax
	lea	rdx, -24[rbp]
	mov	rax, QWORD PTR -16[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	interpret
	lea	rax, -24[rbp]
	mov	rdi, rax
	call	freeCells
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L7
	call	__stack_chk_fail@PLT
.L7:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.globl	newCell
	.type	newCell, @function
newCell:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	edi, 24
	call	malloc@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	BYTE PTR 16[rax], 0
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR [rax], 0
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR -24[rbp]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	newCell, .-newCell
	.globl	moveFoward
	.type	moveFoward, @function
moveFoward:
.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	rax, QWORD PTR [rax]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	jne	.L11
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	newCell
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR [rax], rdx
.L11:
	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
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	moveFoward, .-moveFoward
	.globl	moveBack
	.type	moveBack, @function
moveBack:
.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
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rax, QWORD PTR 8[rax]
	test	rax, rax
	jne	.L13
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rax
	mov	edi, 3
	call	printError
.L13:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdx, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR [rax], rdx
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	moveBack, .-moveBack
	.globl	freeCells
	.type	freeCells, @function
freeCells:
.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, 16
	mov	QWORD PTR -8[rbp], rdi
	jmp	.L15
.L16:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR [rax], rdx
.L15:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	jne	.L16
	jmp	.L17
.L18:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdx, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	free@PLT
.L17:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rax, QWORD PTR 8[rax]
	test	rax, rax
	jne	.L18
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	free@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	freeCells, .-freeCells
	.section	.rodata
.LC1:
	.string	"| %c(%d) "
.LC2:
	.string	"|"
	.text
	.globl	printCells
	.type	printCells, @function
printCells:
.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	rax, QWORD PTR [rax]
	mov	QWORD PTR -8[rbp], rax
	jmp	.L20
.L21:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -8[rbp], rax
.L20:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 8[rax]
	test	rax, rax
	jne	.L21
	jmp	.L22
.L23:
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR 16[rax]
	movzx	edx, al
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR 16[rax]
	movzx	eax, al
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -8[rbp], rax
.L22:
	cmp	QWORD PTR -8[rbp], 0
	jne	.L23
	lea	rdi, .LC2[rip]
	call	puts@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	printCells, .-printCells
	.section	.rodata
.LC3:
	.string	"\nCannot locate file"
.LC4:
	.string	"\nInvalid char"
.LC5:
	.string	"\nIndex out of range"
.LC6:
	.string	"\ninvalide code"
	.text
	.globl	printError
	.type	printError, @function
printError:
.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 -4[rbp], edi
	mov	QWORD PTR -16[rbp], rsi
	cmp	DWORD PTR -4[rbp], 4
	je	.L25
	cmp	DWORD PTR -4[rbp], 4
	jg	.L26
	cmp	DWORD PTR -4[rbp], 3
	je	.L27
	cmp	DWORD PTR -4[rbp], 3
	jg	.L26
	cmp	DWORD PTR -4[rbp], 1
	je	.L28
	cmp	DWORD PTR -4[rbp], 2
	je	.L29
	jmp	.L26
.L28:
	lea	rdi, .LC3[rip]
	call	puts@PLT
	jmp	.L26
.L29:
	lea	rdi, .LC4[rip]
	call	puts@PLT
	jmp	.L26
.L27:
	lea	rdi, .LC5[rip]
	call	puts@PLT
	jmp	.L26
.L25:
	lea	rdi, .LC6[rip]
	call	puts@PLT
.L26:
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	freeCells
	mov	edi, -1
	call	exit@PLT
	.cfi_endproc
.LFE12:
	.size	printError, .-printError
	.globl	validateInput
	.type	validateInput, @function
validateInput:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -12[rbp], 0
	jmp	.L31
.L35:
	movzx	eax, BYTE PTR -13[rbp]
	cmp	al, 91
	jne	.L32
	add	DWORD PTR -12[rbp], 1
.L32:
	movzx	eax, BYTE PTR -13[rbp]
	cmp	al, 93
	jne	.L33
	sub	DWORD PTR -12[rbp], 1
.L33:
	cmp	DWORD PTR -12[rbp], 0
	jns	.L31
	mov	eax, 0
	jmp	.L36
.L31:
	mov	rdx, QWORD PTR -24[rbp]
	lea	rax, -13[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 1
	mov	rdi, rax
	call	fread@PLT
	test	rax, rax
	jne	.L35
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, 0
	mov	esi, 0
	mov	rdi, rax
	call	fseek@PLT
	cmp	DWORD PTR -12[rbp], 0
	sete	al
	movzx	eax, al
.L36:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L37
	call	__stack_chk_fail@PLT
.L37:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	validateInput, .-validateInput
	.section	.rodata
.LC7:
	.string	"%c"
	.text
	.globl	interpret
	.type	interpret, @function
interpret:
.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, 48
	mov	QWORD PTR -40[rbp], rdi
	mov	QWORD PTR -48[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	jmp	.L39
.L53:
	movzx	eax, BYTE PTR -17[rbp]
	movsx	eax, al
	cmp	eax, 10
	je	.L39
	cmp	eax, 10
	jl	.L41
	cmp	eax, 93
	jg	.L41
	cmp	eax, 32
	jl	.L41
	sub	eax, 32
	cmp	eax, 61
	ja	.L41
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	lea	rax, .L43[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L43[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L43:
	.long	.L39-.L43
	.long	.L41-.L43
	.long	.L41-.L43
	.long	.L41-.L43
	.long	.L41-.L43
	.long	.L41-.L43
	.long	.L41-.L43
	.long	.L41-.L43
	.long	.L41-.L43
	.long	.L41-.L43
	.long	.L41-.L43
	.long	.L50-.L43
	.long	.L49-.L43
	.long	.L48-.L43
	.long	.L47-.L43
	.long	.L41-.L43
	.long	.L41-.L43
	.long	.L41-.L43
	.long	.L41-.L43
	.long	.L41-.L43
	.long	.L41-.L43
	.long	.L41-.L43
	.long	.L41-.L43
	.long	.L41-.L43
	.long	.L41-.L43
	.long	.L41-.L43
	.long	.L41-.L43
	.long	.L41-.L43
	.long	.L46-.L43
	.long	.L41-.L43
	.long	.L45-.L43
	.long	.L41-.L43
	.long	.L41-.L43
	.long	.L41-.L43
	.long	.L41-.L43
	.long	.L41-.L43
	.long	.L41-.L43
	.long	.L41-.L43
	.long	.L41-.L43
	.long	.L41-.L43
	.long	.L41-.L43
	.long	.L41-.L43
	.long	.L41-.L43
	.long	.L41-.L43
	.long	.L41-.L43
	.long	.L41-.L43
	.long	.L41-.L43
	.long	.L41-.L43
	.long	.L41-.L43
	.long	.L41-.L43
	.long	.L41-.L43
	.long	.L41-.L43
	.long	.L41-.L43
	.long	.L41-.L43
	.long	.L41-.L43
	.long	.L41-.L43
	.long	.L41-.L43
	.long	.L41-.L43
	.long	.L41-.L43
	.long	.L44-.L43
	.long	.L41-.L43
	.long	.L42-.L43
	.text
.L46:
	mov	rax, QWORD PTR -48[rbp]
	mov	rdi, rax
	call	moveBack
	jmp	.L39
.L45:
	mov	rax, QWORD PTR -48[rbp]
	mov	rdi, rax
	call	moveFoward
	jmp	.L39
.L50:
	mov	rax, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR [rax]
	movzx	edx, BYTE PTR 16[rax]
	add	edx, 1
	mov	BYTE PTR 16[rax], dl
	jmp	.L39
.L48:
	mov	rax, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR [rax]
	movzx	edx, BYTE PTR 16[rax]
	sub	edx, 1
	mov	BYTE PTR 16[rax], dl
	jmp	.L39
.L47:
	mov	rax, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR [rax]
	movzx	eax, BYTE PTR 16[rax]
	movzx	eax, al
	mov	edi, eax
	call	putchar@PLT
	jmp	.L39
.L49:
	mov	rax, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR [rax]
	add	rax, 16
	mov	rsi, rax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	jmp	.L39
.L44:
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	ftell@PLT
	sub	rax, 1
	mov	QWORD PTR -16[rbp], rax
	mov	rdx, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR -40[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	interpret
	test	eax, eax
	je	.L39
	mov	rcx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -40[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	rdi, rax
	call	fseek@PLT
	jmp	.L39
.L42:
	mov	rax, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR [rax]
	movzx	eax, BYTE PTR 16[rax]
	movzx	eax, al
	jmp	.L38
.L41:
	mov	rax, QWORD PTR -48[rbp]
	mov	rsi, rax
	mov	edi, 2
	call	printError
.L39:
	mov	rdx, QWORD PTR -40[rbp]
	lea	rax, -17[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 1
	mov	rdi, rax
	call	fread@PLT
	test	rax, rax
	jne	.L53
.L38:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L54
	call	__stack_chk_fail@PLT
.L54:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	interpret, .-interpret
	.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	"871166.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"rb\000"
	.align	2
.LC1:
	.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, .L8
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-24]
	cmp	r3, #1
	bne	.L2
	ldr	r3, .L8+4
	ldr	r3, [r3]
	str	r3, [fp, #-12]
	b	.L3
.L2:
	ldr	r3, [fp, #-28]
	add	r3, r3, #4
	ldr	r3, [r3]
	ldr	r1, .L8+8
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-12]
.L3:
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L4
	mov	r1, #0
	mov	r0, #1
	bl	printError
.L4:
	ldr	r0, [fp, #-12]
	bl	validateInput
	mov	r3, r0
	cmp	r3, #0
	bne	.L5
	mov	r1, #0
	mov	r0, #4
	bl	printError
.L5:
	mov	r0, #0
	bl	newCell
	mov	r3, r0
	str	r3, [fp, #-16]
	sub	r3, fp, #16
	mov	r1, r3
	ldr	r0, [fp, #-12]
	bl	interpret
	sub	r3, fp, #16
	mov	r0, r3
	bl	freeCells
	ldr	r0, [fp, #-12]
	bl	fclose
	mov	r3, #0
	ldr	r2, .L8
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L7
	bl	__stack_chk_fail
.L7:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L9:
	.align	2
.L8:
	.word	.LC1
	.word	stdin
	.word	.LC0
	.size	main, .-main
	.align	2
	.global	newCell
	.syntax unified
	.arm
	.fpu softvfp
	.type	newCell, %function
newCell:
	@ 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]
	mov	r0, #12
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	mov	r2, #0
	strb	r2, [r3, #8]
	ldr	r3, [fp, #-8]
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-16]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	newCell, .-newCell
	.align	2
	.global	moveFoward
	.syntax unified
	.arm
	.fpu softvfp
	.type	moveFoward, %function
moveFoward:
	@ 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]
	ldr	r3, [r3]
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L13
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	mov	r0, r3
	bl	newCell
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	str	r2, [r3]
.L13:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	str	r2, [r3]
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	moveFoward, .-moveFoward
	.align	2
	.global	moveBack
	.syntax unified
	.arm
	.fpu softvfp
	.type	moveBack, %function
moveBack:
	@ 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	r3, [r3]
	ldr	r3, [r3, #4]
	cmp	r3, #0
	bne	.L15
	ldr	r1, [fp, #-8]
	mov	r0, #3
	bl	printError
.L15:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-8]
	str	r2, [r3]
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	moveBack, .-moveBack
	.align	2
	.global	freeCells
	.syntax unified
	.arm
	.fpu softvfp
	.type	freeCells, %function
freeCells:
	@ 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]
	b	.L17
.L18:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	str	r2, [r3]
.L17:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L18
	b	.L19
.L20:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-8]
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	ldr	r3, [r3]
	mov	r0, r3
	bl	free
.L19:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	cmp	r3, #0
	bne	.L20
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	mov	r0, r3
	bl	free
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	freeCells, .-freeCells
	.section	.rodata
	.align	2
.LC2:
	.ascii	"| %c(%d) \000"
	.align	2
.LC3:
	.ascii	"|\000"
	.text
	.align	2
	.global	printCells
	.syntax unified
	.arm
	.fpu softvfp
	.type	printCells, %function
printCells:
	@ 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]
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	b	.L22
.L23:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-8]
.L22:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	cmp	r3, #0
	bne	.L23
	b	.L24
.L25:
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3, #8]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3, #8]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r0, .L26
	bl	printf
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	str	r3, [fp, #-8]
.L24:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L25
	ldr	r0, .L26+4
	bl	puts
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L27:
	.align	2
.L26:
	.word	.LC2
	.word	.LC3
	.size	printCells, .-printCells
	.section	.rodata
	.align	2
.LC4:
	.ascii	"\012Cannot locate file\000"
	.align	2
.LC5:
	.ascii	"\012Invalid char\000"
	.align	2
.LC6:
	.ascii	"\012Index out of range\000"
	.align	2
.LC7:
	.ascii	"\012invalide code\000"
	.text
	.align	2
	.global	printError
	.syntax unified
	.arm
	.fpu softvfp
	.type	printError, %function
printError:
	@ 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	r3, [fp, #-8]
	sub	r3, r3, #1
	cmp	r3, #3
	ldrls	pc, [pc, r3, asl #2]
	b	.L29
.L31:
	.word	.L34
	.word	.L33
	.word	.L32
	.word	.L30
.L34:
	ldr	r0, .L35
	bl	puts
	b	.L29
.L33:
	ldr	r0, .L35+4
	bl	puts
	b	.L29
.L32:
	ldr	r0, .L35+8
	bl	puts
	b	.L29
.L30:
	ldr	r0, .L35+12
	bl	puts
.L29:
	ldr	r0, [fp, #-12]
	bl	freeCells
	mvn	r0, #0
	bl	exit
.L36:
	.align	2
.L35:
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.size	printError, .-printError
	.section	.rodata
	.align	2
.LC8:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	validateInput
	.syntax unified
	.arm
	.fpu softvfp
	.type	validateInput, %function
validateInput:
	@ 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	r3, .L45
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L38
.L42:
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	cmp	r3, #91
	bne	.L39
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L39:
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	cmp	r3, #93
	bne	.L40
	ldr	r3, [fp, #-12]
	sub	r3, r3, #1
	str	r3, [fp, #-12]
.L40:
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bge	.L38
	mov	r3, #0
	b	.L43
.L38:
	sub	r0, fp, #13
	ldr	r3, [fp, #-24]
	mov	r2, #1
	mov	r1, #1
	bl	fread
	mov	r3, r0
	cmp	r3, #0
	bne	.L42
	mov	r2, #0
	mov	r1, #0
	ldr	r0, [fp, #-24]
	bl	fseek
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
.L43:
	ldr	r2, .L45
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L44
	bl	__stack_chk_fail
.L44:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L46:
	.align	2
.L45:
	.word	.LC8
	.size	validateInput, .-validateInput
	.section	.rodata
	.align	2
.LC9:
	.ascii	"%c\000"
	.align	2
.LC10:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	interpret
	.syntax unified
	.arm
	.fpu softvfp
	.type	interpret, %function
interpret:
	@ 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, .L64
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	b	.L48
.L62:
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	cmp	r3, #10
	beq	.L48
	cmp	r3, #10
	blt	.L50
	cmp	r3, #93
	bgt	.L50
	cmp	r3, #32
	blt	.L50
	sub	r3, r3, #32
	cmp	r3, #61
	ldrls	pc, [pc, r3, asl #2]
	b	.L50
.L52:
	.word	.L48
	.word	.L50
	.word	.L50
	.word	.L50
	.word	.L50
	.word	.L50
	.word	.L50
	.word	.L50
	.word	.L50
	.word	.L50
	.word	.L50
	.word	.L59
	.word	.L58
	.word	.L57
	.word	.L56
	.word	.L50
	.word	.L50
	.word	.L50
	.word	.L50
	.word	.L50
	.word	.L50
	.word	.L50
	.word	.L50
	.word	.L50
	.word	.L50
	.word	.L50
	.word	.L50
	.word	.L50
	.word	.L55
	.word	.L50
	.word	.L54
	.word	.L50
	.word	.L50
	.word	.L50
	.word	.L50
	.word	.L50
	.word	.L50
	.word	.L50
	.word	.L50
	.word	.L50
	.word	.L50
	.word	.L50
	.word	.L50
	.word	.L50
	.word	.L50
	.word	.L50
	.word	.L50
	.word	.L50
	.word	.L50
	.word	.L50
	.word	.L50
	.word	.L50
	.word	.L50
	.word	.L50
	.word	.L50
	.word	.L50
	.word	.L50
	.word	.L50
	.word	.L50
	.word	.L53
	.word	.L50
	.word	.L51
.L55:
	ldr	r0, [fp, #-28]
	bl	moveBack
	b	.L48
.L54:
	ldr	r0, [fp, #-28]
	bl	moveFoward
	b	.L48
.L59:
	ldr	r3, [fp, #-28]
	ldr	r3, [r3]
	ldrb	r2, [r3, #8]	@ zero_extendqisi2
	add	r2, r2, #1
	and	r2, r2, #255
	strb	r2, [r3, #8]
	b	.L48
.L57:
	ldr	r3, [fp, #-28]
	ldr	r3, [r3]
	ldrb	r2, [r3, #8]	@ zero_extendqisi2
	sub	r2, r2, #1
	and	r2, r2, #255
	strb	r2, [r3, #8]
	b	.L48
.L56:
	ldr	r3, [fp, #-28]
	ldr	r3, [r3]
	ldrb	r3, [r3, #8]	@ zero_extendqisi2
	mov	r0, r3
	bl	putchar
	b	.L48
.L58:
	ldr	r3, [fp, #-28]
	ldr	r3, [r3]
	add	r3, r3, #8
	mov	r1, r3
	ldr	r0, .L64+4
	bl	__isoc99_scanf
	b	.L48
.L53:
	ldr	r0, [fp, #-24]
	bl	ftell
	mov	r3, r0
	sub	r3, r3, #1
	str	r3, [fp, #-12]
	ldr	r1, [fp, #-28]
	ldr	r0, [fp, #-24]
	bl	interpret
	mov	r3, r0
	cmp	r3, #0
	beq	.L48
	mov	r2, #0
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-24]
	bl	fseek
	b	.L48
.L51:
	ldr	r3, [fp, #-28]
	ldr	r3, [r3]
	ldrb	r3, [r3, #8]	@ zero_extendqisi2
	b	.L47
.L50:
	ldr	r1, [fp, #-28]
	mov	r0, #2
	bl	printError
.L48:
	sub	r0, fp, #13
	ldr	r3, [fp, #-24]
	mov	r2, #1
	mov	r1, #1
	bl	fread
	mov	r3, r0
	cmp	r3, #0
	bne	.L62
.L47:
	ldr	r2, .L64
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L63
	bl	__stack_chk_fail
.L63:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L65:
	.align	2
.L64:
	.word	.LC10
	.word	.LC9
	.size	interpret, .-interpret
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
