	.file	"701304.c"
	.intel_syntax noprefix
	.text
	.globl	memes
	.bss
	.align 8
	.type	memes, @object
	.size	memes, 8
memes:
	.zero	8
	.text
	.globl	init
	.type	init, @function
init:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	rax, QWORD PTR stdout[rip]
	mov	ecx, 0
	mov	edx, 2
	mov	esi, 0
	mov	rdi, rax
	call	setvbuf@PLT
	mov	edi, 64
	call	malloc@PLT
	mov	QWORD PTR memes[rip], rax
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	init, .-init
	.globl	read_int
	.type	read_int, @function
read_int:
.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	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rdx, QWORD PTR stdin[rip]
	lea	rax, -32[rbp]
	mov	esi, 16
	mov	rdi, rax
	call	fgets@PLT
	lea	rax, -32[rbp]
	mov	edx, 10
	mov	esi, 0
	mov	rdi, rax
	call	strtoul@PLT
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L4
	call	__stack_chk_fail@PLT
.L4:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	read_int, .-read_int
	.section	.rodata
.LC0:
	.string	"===Meme Creator==="
.LC1:
	.string	"1. New Meme"
.LC2:
	.string	"2. Edit Meme"
.LC3:
	.string	"3. Print Meme"
.LC4:
	.string	"4. Exit"
.LC5:
	.string	"=================="
.LC6:
	.string	"Choice: "
	.text
	.globl	print_menu
	.type	print_menu, @function
print_menu:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	rdi, .LC0[rip]
	call	puts@PLT
	lea	rdi, .LC1[rip]
	call	puts@PLT
	lea	rdi, .LC2[rip]
	call	puts@PLT
	lea	rdi, .LC3[rip]
	call	puts@PLT
	lea	rdi, .LC4[rip]
	call	puts@PLT
	lea	rdi, .LC5[rip]
	call	puts@PLT
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	print_menu, .-print_menu
	.section	.rodata
.LC7:
	.string	"EAAAAAAAAAAAASYYYYYYYYYYYYY"
.LC8:
	.string	"/bin/sh"
	.text
	.globl	EZ_WIN
	.type	EZ_WIN, @function
EZ_WIN:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	rdi, .LC7[rip]
	call	puts@PLT
	lea	rdi, .LC8[rip]
	call	system@PLT
	mov	edi, 0
	call	exit@PLT
	.cfi_endproc
.LFE9:
	.size	EZ_WIN, .-EZ_WIN
	.section	.rodata
.LC9:
	.string	"Content: %s\n"
	.text
	.globl	my_print
	.type	my_print, @function
my_print:
.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
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	my_print, .-my_print
	.section	.rodata
.LC10:
	.string	"Enter meme size: "
	.align 8
.LC11:
	.string	"Please, noone wants to read the entire bee movie script"
.LC12:
	.string	"No more memes for you!"
.LC13:
	.string	"Enter meme content: "
.LC14:
	.string	"Done!"
	.text
	.globl	new_meme
	.type	new_meme, @function
new_meme:
.LFB11:
	.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	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	call	read_int
	mov	DWORD PTR -20[rbp], eax
	cmp	DWORD PTR -20[rbp], 512
	jbe	.L9
	lea	rdi, .LC11[rip]
	call	puts@PLT
	mov	edi, -1
	call	exit@PLT
.L9:
	mov	DWORD PTR -24[rbp], 0
	nop
.L11:
	mov	rdx, QWORD PTR memes[rip]
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	je	.L10
	add	DWORD PTR -24[rbp], 1
	cmp	DWORD PTR -24[rbp], 7
	jle	.L11
.L10:
	cmp	DWORD PTR -24[rbp], 8
	jne	.L12
	lea	rdi, .LC12[rip]
	call	puts@PLT
	mov	edi, -1
	call	exit@PLT
.L12:
	mov	rdx, QWORD PTR memes[rip]
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	sal	rax, 3
	lea	rbx, [rdx+rax]
	mov	edi, 8
	call	malloc@PLT
	mov	QWORD PTR [rbx], rax
	mov	rdx, QWORD PTR memes[rip]
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	lea	rdx, my_print[rip]
	mov	QWORD PTR [rax], rdx
	mov	eax, DWORD PTR -20[rbp]
	mov	rcx, QWORD PTR memes[rip]
	mov	edx, DWORD PTR -24[rbp]
	movsx	rdx, edx
	sal	rdx, 3
	add	rdx, rcx
	mov	rbx, QWORD PTR [rdx]
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR 8[rbx], rax
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rdx, QWORD PTR stdin[rip]
	mov	ecx, DWORD PTR -20[rbp]
	mov	rsi, QWORD PTR memes[rip]
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	sal	rax, 3
	add	rax, rsi
	mov	rax, QWORD PTR [rax]
	mov	rax, QWORD PTR 8[rax]
	mov	esi, ecx
	mov	rdi, rax
	call	fgets@PLT
	lea	rdi, .LC14[rip]
	call	puts@PLT
	nop
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	new_meme, .-new_meme
	.section	.rodata
.LC15:
	.string	"Index: "
.LC16:
	.string	"There's no meme there!"
	.text
	.globl	edit_meme
	.type	edit_meme, @function
edit_meme:
.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
	lea	rdi, .LC15[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	call	read_int
	mov	DWORD PTR -4[rbp], eax
	mov	rdx, QWORD PTR memes[rip]
	mov	eax, DWORD PTR -4[rbp]
	sal	rax, 3
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	jne	.L14
	lea	rdi, .LC16[rip]
	call	puts@PLT
	jmp	.L13
.L14:
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rdx, QWORD PTR memes[rip]
	mov	eax, DWORD PTR -4[rbp]
	sal	rax, 3
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rax, QWORD PTR 8[rax]
	mov	rdi, rax
	mov	eax, 0
	call	gets@PLT
	lea	rdi, .LC14[rip]
	call	puts@PLT
.L13:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	edit_meme, .-edit_meme
	.globl	print_meme
	.type	print_meme, @function
print_meme:
.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
	lea	rdi, .LC15[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	call	read_int
	mov	DWORD PTR -4[rbp], eax
	mov	rdx, QWORD PTR memes[rip]
	mov	eax, DWORD PTR -4[rbp]
	sal	rax, 3
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	jne	.L17
	lea	rdi, .LC16[rip]
	call	puts@PLT
	jmp	.L16
.L17:
	mov	rdx, QWORD PTR memes[rip]
	mov	eax, DWORD PTR -4[rbp]
	sal	rax, 3
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdx, QWORD PTR [rax]
	mov	rcx, QWORD PTR memes[rip]
	mov	eax, DWORD PTR -4[rbp]
	sal	rax, 3
	add	rax, rcx
	mov	rax, QWORD PTR [rax]
	mov	rax, QWORD PTR 8[rax]
	mov	rdi, rax
	call	rdx
.L16:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	print_meme, .-print_meme
	.section	.rodata
.LC17:
	.string	"Bye bye!"
.LC18:
	.string	"Invalid choice!"
	.text
	.globl	main
	.type	main, @function
main:
.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, 32
	mov	DWORD PTR -20[rbp], edi
	mov	QWORD PTR -32[rbp], rsi
	mov	eax, 0
	call	init
.L26:
	mov	eax, 0
	call	print_menu
	mov	eax, 0
	call	read_int
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 4
	je	.L20
	cmp	DWORD PTR -4[rbp], 4
	ja	.L21
	cmp	DWORD PTR -4[rbp], 3
	je	.L22
	cmp	DWORD PTR -4[rbp], 3
	ja	.L21
	cmp	DWORD PTR -4[rbp], 1
	je	.L23
	cmp	DWORD PTR -4[rbp], 2
	je	.L24
	jmp	.L21
.L23:
	mov	eax, 0
	call	new_meme
	jmp	.L25
.L24:
	mov	eax, 0
	call	edit_meme
	jmp	.L25
.L22:
	mov	eax, 0
	call	print_meme
	jmp	.L25
.L20:
	lea	rdi, .LC17[rip]
	call	puts@PLT
	mov	edi, 0
	call	exit@PLT
.L21:
	lea	rdi, .LC18[rip]
	call	puts@PLT
	nop
.L25:
	jmp	.L26
	.cfi_endproc
.LFE14:
	.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	"701304.c"
	.text
	.comm	memes,4,4
	.align	2
	.global	init
	.syntax unified
	.arm
	.fpu softvfp
	.type	init, %function
init:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L2
	ldr	r0, [r3]
	mov	r3, #0
	mov	r2, #2
	mov	r1, #0
	bl	setvbuf
	mov	r0, #32
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L2+4
	str	r2, [r3]
	nop
	pop	{fp, pc}
.L3:
	.align	2
.L2:
	.word	stdout
	.word	memes
	.size	init, .-init
	.section	.rodata
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	read_int
	.syntax unified
	.arm
	.fpu softvfp
	.type	read_int, %function
read_int:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	ldr	r3, .L7
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L7+4
	ldr	r2, [r3]
	sub	r3, fp, #24
	mov	r1, #16
	mov	r0, r3
	bl	fgets
	sub	r3, fp, #24
	mov	r2, #10
	mov	r1, #0
	mov	r0, r3
	bl	strtoul
	mov	r3, r0
	ldr	r2, .L7
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L6
	bl	__stack_chk_fail
.L6:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L8:
	.align	2
.L7:
	.word	.LC0
	.word	stdin
	.size	read_int, .-read_int
	.section	.rodata
	.align	2
.LC1:
	.ascii	"===Meme Creator===\000"
	.align	2
.LC2:
	.ascii	"1. New Meme\000"
	.align	2
.LC3:
	.ascii	"2. Edit Meme\000"
	.align	2
.LC4:
	.ascii	"3. Print Meme\000"
	.align	2
.LC5:
	.ascii	"4. Exit\000"
	.align	2
.LC6:
	.ascii	"==================\000"
	.align	2
.LC7:
	.ascii	"Choice: \000"
	.text
	.align	2
	.global	print_menu
	.syntax unified
	.arm
	.fpu softvfp
	.type	print_menu, %function
print_menu:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r0, .L10
	bl	puts
	ldr	r0, .L10+4
	bl	puts
	ldr	r0, .L10+8
	bl	puts
	ldr	r0, .L10+12
	bl	puts
	ldr	r0, .L10+16
	bl	puts
	ldr	r0, .L10+20
	bl	puts
	ldr	r0, .L10+24
	bl	printf
	nop
	pop	{fp, pc}
.L11:
	.align	2
.L10:
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.size	print_menu, .-print_menu
	.section	.rodata
	.align	2
.LC8:
	.ascii	"EAAAAAAAAAAAASYYYYYYYYYYYYY\000"
	.align	2
.LC9:
	.ascii	"/bin/sh\000"
	.text
	.align	2
	.global	EZ_WIN
	.syntax unified
	.arm
	.fpu softvfp
	.type	EZ_WIN, %function
EZ_WIN:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r0, .L13
	bl	puts
	ldr	r0, .L13+4
	bl	system
	mov	r0, #0
	bl	exit
.L14:
	.align	2
.L13:
	.word	.LC8
	.word	.LC9
	.size	EZ_WIN, .-EZ_WIN
	.section	.rodata
	.align	2
.LC10:
	.ascii	"Content: %s\012\000"
	.text
	.align	2
	.global	my_print
	.syntax unified
	.arm
	.fpu softvfp
	.type	my_print, %function
my_print:
	@ 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, [fp, #-8]
	ldr	r0, .L16
	bl	printf
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L17:
	.align	2
.L16:
	.word	.LC10
	.size	my_print, .-my_print
	.section	.rodata
	.align	2
.LC11:
	.ascii	"Enter meme size: \000"
	.align	2
.LC12:
	.ascii	"Please, noone wants to read the entire bee movie sc"
	.ascii	"ript\000"
	.align	2
.LC13:
	.ascii	"No more memes for you!\000"
	.align	2
.LC14:
	.ascii	"Enter meme content: \000"
	.align	2
.LC15:
	.ascii	"Done!\000"
	.text
	.align	2
	.global	new_meme
	.syntax unified
	.arm
	.fpu softvfp
	.type	new_meme, %function
new_meme:
	@ 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	r0, .L23
	bl	printf
	bl	read_int
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #512
	bls	.L19
	ldr	r0, .L23+4
	bl	puts
	mvn	r0, #0
	bl	exit
.L19:
	mov	r3, #0
	str	r3, [fp, #-20]
	nop
.L21:
	ldr	r3, .L23+8
	ldr	r2, [r3]
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L20
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-20]
	cmp	r3, #7
	ble	.L21
.L20:
	ldr	r3, [fp, #-20]
	cmp	r3, #8
	bne	.L22
	ldr	r0, .L23+12
	bl	puts
	mvn	r0, #0
	bl	exit
.L22:
	ldr	r3, .L23+8
	ldr	r2, [r3]
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	add	r4, r2, r3
	mov	r0, #8
	bl	malloc
	mov	r3, r0
	str	r3, [r4]
	ldr	r3, .L23+8
	ldr	r2, [r3]
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, .L23+16
	str	r2, [r3]
	ldr	r3, .L23+8
	ldr	r2, [r3]
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r4, [r3]
	ldr	r0, [fp, #-16]
	bl	malloc
	mov	r3, r0
	str	r3, [r4, #4]
	ldr	r0, .L23+20
	bl	printf
	ldr	r3, .L23+8
	ldr	r2, [r3]
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	ldr	r1, [fp, #-16]
	ldr	r2, .L23+24
	ldr	r2, [r2]
	mov	r0, r3
	bl	fgets
	ldr	r0, .L23+28
	bl	puts
	nop
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L24:
	.align	2
.L23:
	.word	.LC11
	.word	.LC12
	.word	memes
	.word	.LC13
	.word	my_print
	.word	.LC14
	.word	stdin
	.word	.LC15
	.size	new_meme, .-new_meme
	.section	.rodata
	.align	2
.LC16:
	.ascii	"Index: \000"
	.align	2
.LC17:
	.ascii	"There's no meme there!\000"
	.text
	.align	2
	.global	edit_meme
	.syntax unified
	.arm
	.fpu softvfp
	.type	edit_meme, %function
edit_meme:
	@ 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	r0, .L28
	bl	printf
	bl	read_int
	str	r0, [fp, #-8]
	ldr	r3, .L28+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L26
	ldr	r0, .L28+8
	bl	puts
	b	.L25
.L26:
	ldr	r0, .L28+12
	bl	printf
	ldr	r3, .L28+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	mov	r0, r3
	bl	gets
	ldr	r0, .L28+16
	bl	puts
.L25:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L29:
	.align	2
.L28:
	.word	.LC16
	.word	memes
	.word	.LC17
	.word	.LC14
	.word	.LC15
	.size	edit_meme, .-edit_meme
	.align	2
	.global	print_meme
	.syntax unified
	.arm
	.fpu softvfp
	.type	print_meme, %function
print_meme:
	@ 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	r0, .L33
	bl	printf
	bl	read_int
	str	r0, [fp, #-8]
	ldr	r3, .L33+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L31
	ldr	r0, .L33+8
	bl	puts
	b	.L30
.L31:
	ldr	r3, .L33+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r3, [r3]
	ldr	r2, .L33+4
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	lsl	r2, r2, #2
	add	r2, r1, r2
	ldr	r2, [r2]
	ldr	r2, [r2, #4]
	mov	r0, r2
	blx	r3
.L30:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L34:
	.align	2
.L33:
	.word	.LC16
	.word	memes
	.word	.LC17
	.size	print_meme, .-print_meme
	.section	.rodata
	.align	2
.LC18:
	.ascii	"Bye bye!\000"
	.align	2
.LC19:
	.ascii	"Invalid choice!\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]
	bl	init
.L43:
	bl	print_menu
	bl	read_int
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	sub	r3, r3, #1
	cmp	r3, #3
	ldrls	pc, [pc, r3, asl #2]
	b	.L36
.L38:
	.word	.L41
	.word	.L40
	.word	.L39
	.word	.L37
.L41:
	bl	new_meme
	b	.L42
.L40:
	bl	edit_meme
	b	.L42
.L39:
	bl	print_meme
	b	.L42
.L37:
	ldr	r0, .L44
	bl	puts
	mov	r0, #0
	bl	exit
.L36:
	ldr	r0, .L44+4
	bl	puts
	nop
.L42:
	b	.L43
.L45:
	.align	2
.L44:
	.word	.LC18
	.word	.LC19
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
