	.file	"45339.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"Running code\n"
	.align 8
.LC1:
	.string	",----------[++++++++++>,----------]<[.<]+++++++++++++.---."
.LC2:
	.string	"\n\nDone running code"
.LC3:
	.string	"Error initializing values."
.LC4:
	.string	"Not enough memory."
.LC5:
	.string	"Boundary error in BF prog"
	.align 8
.LC6:
	.string	"Error in code. Start loop missing"
	.align 8
.LC7:
	.string	"Error in code. End loop missing"
.LC8:
	.string	"Finished with no problems"
	.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, 32
	mov	DWORD PTR -20[rbp], edi
	mov	QWORD PTR -32[rbp], rsi
	lea	rdi, .LC0[rip]
	call	puts@PLT
	mov	esi, 1000
	lea	rdi, .LC1[rip]
	call	runCode
	mov	DWORD PTR -4[rbp], eax
	lea	rdi, .LC2[rip]
	call	puts@PLT
	cmp	DWORD PTR -4[rbp], 5
	ja	.L2
	mov	eax, DWORD PTR -4[rbp]
	lea	rdx, 0[0+rax*4]
	lea	rax, .L4[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L4[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L4:
	.long	.L9-.L4
	.long	.L8-.L4
	.long	.L7-.L4
	.long	.L6-.L4
	.long	.L5-.L4
	.long	.L3-.L4
	.text
.L9:
	lea	rdi, .LC3[rip]
	call	puts@PLT
	jmp	.L2
.L8:
	lea	rdi, .LC4[rip]
	call	puts@PLT
	jmp	.L2
.L7:
	lea	rdi, .LC5[rip]
	call	puts@PLT
	jmp	.L2
.L5:
	lea	rdi, .LC6[rip]
	call	puts@PLT
	jmp	.L2
.L6:
	lea	rdi, .LC7[rip]
	call	puts@PLT
	jmp	.L2
.L3:
	lea	rdi, .LC8[rip]
	call	puts@PLT
	nop
.L2:
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.globl	runCode
	.type	runCode, @function
runCode:
.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, 48
	mov	QWORD PTR -40[rbp], rdi
	mov	DWORD PTR -44[rbp], esi
	cmp	DWORD PTR -44[rbp], 0
	jne	.L12
	mov	eax, 0
	jmp	.L13
.L12:
	mov	QWORD PTR -8[rbp], 0
	mov	eax, DWORD PTR -44[rbp]
	cdqe
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L14
	mov	eax, 1
	jmp	.L13
.L14:
	mov	DWORD PTR -20[rbp], 0
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	DWORD PTR -12[rbp], eax
	mov	DWORD PTR -16[rbp], 0
	jmp	.L15
.L34:
	mov	eax, DWORD PTR -16[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	sub	eax, 43
	cmp	eax, 50
	ja	.L35
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	lea	rax, .L18[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L18[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L18:
	.long	.L25-.L18
	.long	.L24-.L18
	.long	.L23-.L18
	.long	.L22-.L18
	.long	.L35-.L18
	.long	.L35-.L18
	.long	.L35-.L18
	.long	.L35-.L18
	.long	.L35-.L18
	.long	.L35-.L18
	.long	.L35-.L18
	.long	.L35-.L18
	.long	.L35-.L18
	.long	.L35-.L18
	.long	.L35-.L18
	.long	.L35-.L18
	.long	.L35-.L18
	.long	.L21-.L18
	.long	.L35-.L18
	.long	.L20-.L18
	.long	.L35-.L18
	.long	.L35-.L18
	.long	.L35-.L18
	.long	.L35-.L18
	.long	.L35-.L18
	.long	.L35-.L18
	.long	.L35-.L18
	.long	.L35-.L18
	.long	.L35-.L18
	.long	.L35-.L18
	.long	.L35-.L18
	.long	.L35-.L18
	.long	.L35-.L18
	.long	.L35-.L18
	.long	.L35-.L18
	.long	.L35-.L18
	.long	.L35-.L18
	.long	.L35-.L18
	.long	.L35-.L18
	.long	.L35-.L18
	.long	.L35-.L18
	.long	.L35-.L18
	.long	.L35-.L18
	.long	.L35-.L18
	.long	.L35-.L18
	.long	.L35-.L18
	.long	.L35-.L18
	.long	.L35-.L18
	.long	.L19-.L18
	.long	.L35-.L18
	.long	.L32-.L18
	.text
.L25:
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	movzx	edx, BYTE PTR [rax]
	add	edx, 1
	mov	BYTE PTR [rax], dl
	jmp	.L26
.L23:
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	movzx	edx, BYTE PTR [rax]
	sub	edx, 1
	mov	BYTE PTR [rax], dl
	jmp	.L26
.L20:
	add	DWORD PTR -20[rbp], 1
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, DWORD PTR -44[rbp]
	jne	.L36
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	eax, 2
	jmp	.L13
.L21:
	sub	DWORD PTR -20[rbp], 1
	cmp	DWORD PTR -20[rbp], 0
	jns	.L37
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	eax, 2
	jmp	.L13
.L22:
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	mov	edi, eax
	call	putchar@PLT
	jmp	.L26
.L24:
	mov	rax, QWORD PTR stdin[rip]
	mov	rdi, rax
	call	getc@PLT
	mov	edx, eax
	mov	eax, DWORD PTR -20[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rcx
	mov	BYTE PTR [rax], dl
	jmp	.L26
.L19:
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L38
	jmp	.L30
.L31:
	add	DWORD PTR -16[rbp], 1
	mov	eax, DWORD PTR -16[rbp]
	cmp	eax, DWORD PTR -12[rbp]
	jl	.L30
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	eax, 3
	jmp	.L13
.L30:
	mov	eax, DWORD PTR -16[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 93
	jne	.L31
	jmp	.L38
.L33:
	sub	DWORD PTR -16[rbp], 1
	cmp	DWORD PTR -16[rbp], 0
	jns	.L32
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	eax, 4
	jmp	.L13
.L32:
	mov	eax, DWORD PTR -16[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 91
	jne	.L33
	sub	DWORD PTR -16[rbp], 1
	jmp	.L26
.L35:
	nop
	jmp	.L26
.L36:
	nop
	jmp	.L26
.L37:
	nop
	jmp	.L26
.L38:
	nop
.L26:
	add	DWORD PTR -16[rbp], 1
.L15:
	mov	eax, DWORD PTR -16[rbp]
	cmp	eax, DWORD PTR -12[rbp]
	jl	.L34
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	eax, 5
.L13:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	runCode, .-runCode
	.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	"45339.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Running code\012\000"
	.align	2
.LC1:
	.ascii	",----------[++++++++++>,----------]<[.<]+++++++++++"
	.ascii	"++.---.\000"
	.align	2
.LC2:
	.ascii	"\012\012Done running code\000"
	.align	2
.LC3:
	.ascii	"Error initializing values.\000"
	.align	2
.LC4:
	.ascii	"Not enough memory.\000"
	.align	2
.LC5:
	.ascii	"Boundary error in BF prog\000"
	.align	2
.LC6:
	.ascii	"Error in code. Start loop missing\000"
	.align	2
.LC7:
	.ascii	"Error in code. End loop missing\000"
	.align	2
.LC8:
	.ascii	"Finished with no problems\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ 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	r0, .L11
	bl	puts
	mov	r1, #1000
	ldr	r0, .L11+4
	bl	runCode
	str	r0, [fp, #-8]
	ldr	r0, .L11+8
	bl	puts
	ldr	r3, [fp, #-8]
	cmp	r3, #5
	ldrls	pc, [pc, r3, asl #2]
	b	.L2
.L4:
	.word	.L9
	.word	.L8
	.word	.L7
	.word	.L6
	.word	.L5
	.word	.L3
.L9:
	ldr	r0, .L11+12
	bl	puts
	b	.L2
.L8:
	ldr	r0, .L11+16
	bl	puts
	b	.L2
.L7:
	ldr	r0, .L11+20
	bl	puts
	b	.L2
.L5:
	ldr	r0, .L11+24
	bl	puts
	b	.L2
.L6:
	ldr	r0, .L11+28
	bl	puts
	b	.L2
.L3:
	ldr	r0, .L11+32
	bl	puts
	nop
.L2:
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L12:
	.align	2
.L11:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.size	main, .-main
	.align	2
	.global	runCode
	.syntax unified
	.arm
	.fpu softvfp
	.type	runCode, %function
runCode:
	@ 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, [fp, #-28]
	cmp	r3, #0
	bne	.L14
	mov	r3, #0
	b	.L15
.L14:
	mov	r3, #0
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-28]
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L16
	mov	r3, #1
	b	.L15
.L16:
	mov	r3, #0
	str	r3, [fp, #-20]
	ldr	r0, [fp, #-24]
	bl	strlen
	mov	r3, r0
	str	r3, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L17
.L36:
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	sub	r3, r3, #43
	cmp	r3, #50
	ldrls	pc, [pc, r3, asl #2]
	b	.L37
.L20:
	.word	.L27
	.word	.L26
	.word	.L25
	.word	.L24
	.word	.L37
	.word	.L37
	.word	.L37
	.word	.L37
	.word	.L37
	.word	.L37
	.word	.L37
	.word	.L37
	.word	.L37
	.word	.L37
	.word	.L37
	.word	.L37
	.word	.L37
	.word	.L23
	.word	.L37
	.word	.L22
	.word	.L37
	.word	.L37
	.word	.L37
	.word	.L37
	.word	.L37
	.word	.L37
	.word	.L37
	.word	.L37
	.word	.L37
	.word	.L37
	.word	.L37
	.word	.L37
	.word	.L37
	.word	.L37
	.word	.L37
	.word	.L37
	.word	.L37
	.word	.L37
	.word	.L37
	.word	.L37
	.word	.L37
	.word	.L37
	.word	.L37
	.word	.L37
	.word	.L37
	.word	.L37
	.word	.L37
	.word	.L37
	.word	.L21
	.word	.L37
	.word	.L34
.L27:
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-12]
	add	r3, r2, r3
	ldrb	r2, [r3]	@ zero_extendqisi2
	add	r2, r2, #1
	and	r2, r2, #255
	strb	r2, [r3]
	b	.L28
.L25:
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-12]
	add	r3, r2, r3
	ldrb	r2, [r3]	@ zero_extendqisi2
	sub	r2, r2, #1
	and	r2, r2, #255
	strb	r2, [r3]
	b	.L28
.L22:
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-28]
	cmp	r2, r3
	bne	.L38
	ldr	r0, [fp, #-12]
	bl	free
	mov	r3, #2
	b	.L15
.L23:
	ldr	r3, [fp, #-20]
	sub	r3, r3, #1
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bge	.L39
	ldr	r0, [fp, #-12]
	bl	free
	mov	r3, #2
	b	.L15
.L24:
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-12]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	bl	putchar
	b	.L28
.L26:
	ldr	r3, .L41
	ldr	r3, [r3]
	mov	r0, r3
	bl	getc
	mov	r1, r0
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-12]
	add	r3, r2, r3
	and	r2, r1, #255
	strb	r2, [r3]
	b	.L28
.L21:
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-12]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L40
	b	.L32
.L33:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-8]
	cmp	r2, r3
	blt	.L32
	ldr	r0, [fp, #-12]
	bl	free
	mov	r3, #3
	b	.L15
.L32:
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #93
	bne	.L33
	b	.L40
.L35:
	ldr	r3, [fp, #-16]
	sub	r3, r3, #1
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bge	.L34
	ldr	r0, [fp, #-12]
	bl	free
	mov	r3, #4
	b	.L15
.L34:
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #91
	bne	.L35
	ldr	r3, [fp, #-16]
	sub	r3, r3, #1
	str	r3, [fp, #-16]
	b	.L28
.L37:
	nop
	b	.L28
.L38:
	nop
	b	.L28
.L39:
	nop
	b	.L28
.L40:
	nop
.L28:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L17:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-8]
	cmp	r2, r3
	blt	.L36
	ldr	r0, [fp, #-12]
	bl	free
	mov	r3, #5
.L15:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L42:
	.align	2
.L41:
	.word	stdin
	.size	runCode, .-runCode
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
