	.file	"107655.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"Timeout"
	.text
	.globl	handler
	.type	handler, @function
handler:
.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, 16
	mov	DWORD PTR -4[rbp], edi
	lea	rdi, .LC0[rip]
	call	puts@PLT
	mov	edi, 1
	call	_exit@PLT
	.cfi_endproc
.LFE6:
	.size	handler, .-handler
	.globl	init_proc
	.type	init_proc, @function
init_proc:
.LFB7:
	.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 stdin[rip]
	mov	ecx, 0
	mov	edx, 2
	mov	esi, 0
	mov	rdi, rax
	call	setvbuf@PLT
	mov	rax, QWORD PTR stdout[rip]
	mov	ecx, 0
	mov	edx, 2
	mov	esi, 0
	mov	rdi, rax
	call	setvbuf@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	ecx, 0
	mov	edx, 2
	mov	esi, 0
	mov	rdi, rax
	call	setvbuf@PLT
	lea	rsi, handler[rip]
	mov	edi, 14
	call	signal@PLT
	mov	edi, 60
	call	alarm@PLT
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	init_proc, .-init_proc
	.globl	read_long
	.type	read_long, @function
read_long:
.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, 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -32[rbp]
	mov	ecx, 24
	mov	edx, 23
	mov	rsi, rax
	mov	edi, 0
	mov	eax, 0
	call	__read_chk@PLT
	lea	rax, -32[rbp]
	mov	rdi, rax
	call	atoll@PLT
	mov	QWORD PTR -40[rbp], rax
	mov	rax, QWORD PTR -40[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	sub	rdx, QWORD PTR fs:40
	je	.L5
	call	__stack_chk_fail@PLT
.L5:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	read_long, .-read_long
	.section	.rodata
.LC1:
	.string	"read error"
	.text
	.globl	read_input
	.type	read_input, @function
read_input:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	ecx, DWORD PTR -28[rbp]
	mov	edx, DWORD PTR -28[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rax
	mov	edi, 0
	mov	eax, 0
	call	__read_chk@PLT
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 0
	jg	.L7
	lea	rdi, .LC1[rip]
	call	puts@PLT
	mov	edi, 1
	call	_exit@PLT
.L7:
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	read_input, .-read_input
	.section	.rodata
.LC2:
	.string	"##########################"
.LC3:
	.string	"     Shik in the heap     "
.LC4:
	.string	" 1.Allocate               "
.LC5:
	.string	" 2.Free                   "
.LC6:
	.string	" 3.Add a shik             "
.LC7:
	.string	" 4.show a shik            "
.LC8:
	.string	" 5.edit a shik            "
.LC9:
	.string	" 6.Exit                   "
.LC10:
	.string	"Your choice:"
	.text
	.globl	menu
	.type	menu, @function
menu:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	rdi, .LC2[rip]
	call	puts@PLT
	lea	rdi, .LC3[rip]
	call	puts@PLT
	lea	rdi, .LC2[rip]
	call	puts@PLT
	lea	rdi, .LC4[rip]
	call	puts@PLT
	lea	rdi, .LC5[rip]
	call	puts@PLT
	lea	rdi, .LC6[rip]
	call	puts@PLT
	lea	rdi, .LC7[rip]
	call	puts@PLT
	lea	rdi, .LC8[rip]
	call	puts@PLT
	lea	rdi, .LC9[rip]
	call	puts@PLT
	lea	rdi, .LC2[rip]
	call	puts@PLT
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	menu, .-menu
	.globl	heap
	.bss
	.align 32
	.type	heap, @object
	.size	heap, 80
heap:
	.zero	80
	.globl	s
	.align 8
	.type	s, @object
	.size	s, 8
s:
	.zero	8
	.section	.rodata
.LC11:
	.string	"Size:"
.LC12:
	.string	"Error!"
.LC13:
	.string	"Content:"
.LC14:
	.string	"Too more !"
	.text
	.globl	allocate
	.type	allocate, @function
allocate:
.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, 16
	mov	DWORD PTR -12[rbp], 0
	jmp	.L10
.L14:
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, heap[rip]
	mov	rax, QWORD PTR [rdx+rax]
	test	rax, rax
	jne	.L11
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	call	read_long
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	malloc@PLT
	mov	rcx, rax
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, heap[rip]
	mov	QWORD PTR [rdx+rax], rcx
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, heap[rip]
	mov	rax, QWORD PTR [rdx+rax]
	test	rax, rax
	jne	.L12
	lea	rdi, .LC12[rip]
	call	puts@PLT
.L12:
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	ecx, eax
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, heap[rip]
	mov	rax, QWORD PTR [rdx+rax]
	mov	esi, ecx
	mov	rdi, rax
	call	read_input
	jmp	.L9
.L11:
	add	DWORD PTR -12[rbp], 1
.L10:
	cmp	DWORD PTR -12[rbp], 9
	jle	.L14
	lea	rdi, .LC14[rip]
	call	puts@PLT
.L9:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	allocate, .-allocate
	.section	.rodata
.LC15:
	.string	"Index:"
.LC16:
	.string	"Too large"
	.text
	.globl	dfree
	.type	dfree, @function
dfree:
.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], 0
	lea	rdi, .LC15[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	call	read_long
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 9
	ja	.L16
	mov	eax, DWORD PTR -4[rbp]
	lea	rdx, 0[0+rax*8]
	lea	rax, heap[rip]
	mov	rax, QWORD PTR [rdx+rax]
	mov	rdi, rax
	call	free@PLT
	mov	eax, DWORD PTR -4[rbp]
	lea	rdx, 0[0+rax*8]
	lea	rax, heap[rip]
	mov	QWORD PTR [rdx+rax], 0
	jmp	.L18
.L16:
	lea	rdi, .LC16[rip]
	call	puts@PLT
.L18:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	dfree, .-dfree
	.section	.rodata
.LC17:
	.string	"magic :"
.LC18:
	.string	"shik is our god"
	.text
	.globl	add_shik
	.type	add_shik, @function
add_shik:
.LFB13:
	.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, 8
	.cfi_offset 3, -24
	mov	rax, QWORD PTR s[rip]
	test	rax, rax
	jne	.L20
	mov	edi, 16
	call	malloc@PLT
	mov	QWORD PTR s[rip], rax
	mov	rbx, QWORD PTR s[rip]
	mov	edi, 32
	call	malloc@PLT
	mov	QWORD PTR [rbx], rax
	lea	rdi, .LC17[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR s[rip]
	mov	rax, QWORD PTR [rax]
	mov	esi, 32
	mov	rdi, rax
	call	read_input
	mov	rbx, QWORD PTR s[rip]
	call	rand@PLT
	mov	DWORD PTR 8[rbx], eax
	jmp	.L22
.L20:
	lea	rdi, .LC18[rip]
	call	puts@PLT
.L22:
	nop
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	add_shik, .-add_shik
	.section	.rodata
.LC19:
	.string	"Magic: %s"
.LC20:
	.string	"shik is not here"
	.text
	.globl	show_shik
	.type	show_shik, @function
show_shik:
.LFB14:
	.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 s[rip]
	test	rax, rax
	je	.L24
	mov	rax, QWORD PTR s[rip]
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC19[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L26
.L24:
	lea	rdi, .LC20[rip]
	call	puts@PLT
.L26:
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	show_shik, .-show_shik
	.section	.rodata
.LC21:
	.string	"magic:"
	.text
	.globl	edit_shik
	.type	edit_shik, @function
edit_shik:
.LFB15:
	.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 s[rip]
	test	rax, rax
	je	.L28
	lea	rdi, .LC21[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR s[rip]
	mov	rax, QWORD PTR [rax]
	mov	esi, 32
	mov	rdi, rax
	call	read_input
	jmp	.L30
.L28:
	lea	rdi, .LC20[rip]
	call	puts@PLT
.L30:
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE15:
	.size	edit_shik, .-edit_shik
	.section	.rodata
.LC22:
	.string	"Invalid choice"
	.text
	.globl	main
	.type	main, @function
main:
.LFB16:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, 0
	call	init_proc
.L41:
	mov	eax, 0
	call	menu
	mov	eax, 0
	call	read_long
	cmp	rax, 6
	ja	.L32
	lea	rdx, 0[0+rax*4]
	lea	rax, .L34[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L34[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L34:
	.long	.L32-.L34
	.long	.L39-.L34
	.long	.L38-.L34
	.long	.L37-.L34
	.long	.L36-.L34
	.long	.L35-.L34
	.long	.L33-.L34
	.text
.L39:
	mov	eax, 0
	call	allocate
	jmp	.L40
.L38:
	mov	eax, 0
	call	dfree
	jmp	.L40
.L37:
	mov	eax, 0
	call	add_shik
	jmp	.L40
.L36:
	mov	eax, 0
	call	show_shik
	jmp	.L40
.L35:
	mov	eax, 0
	call	edit_shik
	jmp	.L40
.L33:
	mov	edi, 0
	call	exit@PLT
.L32:
	lea	rdi, .LC22[rip]
	call	puts@PLT
	nop
.L40:
	jmp	.L41
	.cfi_endproc
.LFE16:
	.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	"107655.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Timeout\000"
	.text
	.align	2
	.global	handler
	.syntax unified
	.arm
	.fpu softvfp
	.type	handler, %function
handler:
	@ 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, .L2
	bl	puts
	mov	r0, #1
	bl	_exit
.L3:
	.align	2
.L2:
	.word	.LC0
	.size	handler, .-handler
	.align	2
	.global	init_proc
	.syntax unified
	.arm
	.fpu softvfp
	.type	init_proc, %function
init_proc:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L5
	ldr	r0, [r3]
	mov	r3, #0
	mov	r2, #2
	mov	r1, #0
	bl	setvbuf
	ldr	r3, .L5+4
	ldr	r0, [r3]
	mov	r3, #0
	mov	r2, #2
	mov	r1, #0
	bl	setvbuf
	ldr	r3, .L5+8
	ldr	r0, [r3]
	mov	r3, #0
	mov	r2, #2
	mov	r1, #0
	bl	setvbuf
	ldr	r1, .L5+12
	mov	r0, #14
	bl	signal
	mov	r0, #60
	bl	alarm
	nop
	pop	{fp, pc}
.L6:
	.align	2
.L5:
	.word	stdin
	.word	stdout
	.word	stderr
	.word	handler
	.size	init_proc, .-init_proc
	.section	.rodata
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	read_long
	.syntax unified
	.arm
	.fpu softvfp
	.type	read_long, %function
read_long:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	ldr	r3, .L10
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r1, fp, #32
	mov	r3, #24
	mov	r2, #23
	mov	r0, #0
	bl	__read_chk
	sub	r3, fp, #32
	mov	r0, r3
	bl	atoll
	str	r0, [fp, #-44]
	str	r1, [fp, #-40]
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	ldr	r1, .L10
	ldr	r0, [r1]
	ldr	r1, [fp, #-8]
	eors	r0, r1, r0
	mov	r1, #0
	beq	.L9
	bl	__stack_chk_fail
.L9:
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L11:
	.align	2
.L10:
	.word	.LC1
	.size	read_long, .-read_long
	.section	.rodata
	.align	2
.LC2:
	.ascii	"read error\000"
	.text
	.align	2
	.global	read_input
	.syntax unified
	.arm
	.fpu softvfp
	.type	read_input, %function
read_input:
	@ 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, #-20]
	ldr	r2, [fp, #-20]
	ldr	r1, [fp, #-16]
	mov	r0, #0
	bl	__read_chk
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bgt	.L13
	ldr	r0, .L14
	bl	puts
	mov	r0, #1
	bl	_exit
.L13:
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L15:
	.align	2
.L14:
	.word	.LC2
	.size	read_input, .-read_input
	.section	.rodata
	.align	2
.LC3:
	.ascii	"##########################\000"
	.align	2
.LC4:
	.ascii	"     Shik in the heap     \000"
	.align	2
.LC5:
	.ascii	" 1.Allocate               \000"
	.align	2
.LC6:
	.ascii	" 2.Free                   \000"
	.align	2
.LC7:
	.ascii	" 3.Add a shik             \000"
	.align	2
.LC8:
	.ascii	" 4.show a shik            \000"
	.align	2
.LC9:
	.ascii	" 5.edit a shik            \000"
	.align	2
.LC10:
	.ascii	" 6.Exit                   \000"
	.align	2
.LC11:
	.ascii	"Your choice:\000"
	.text
	.align	2
	.global	menu
	.syntax unified
	.arm
	.fpu softvfp
	.type	menu, %function
menu:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r0, .L17
	bl	puts
	ldr	r0, .L17+4
	bl	puts
	ldr	r0, .L17
	bl	puts
	ldr	r0, .L17+8
	bl	puts
	ldr	r0, .L17+12
	bl	puts
	ldr	r0, .L17+16
	bl	puts
	ldr	r0, .L17+20
	bl	puts
	ldr	r0, .L17+24
	bl	puts
	ldr	r0, .L17+28
	bl	puts
	ldr	r0, .L17
	bl	puts
	ldr	r0, .L17+32
	bl	printf
	nop
	pop	{fp, pc}
.L18:
	.align	2
.L17:
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.size	menu, .-menu
	.comm	heap,40,4
	.global	s
	.bss
	.align	2
	.type	s, %object
	.size	s, 4
s:
	.space	4
	.section	.rodata
	.align	2
.LC12:
	.ascii	"Size:\000"
	.align	2
.LC13:
	.ascii	"Error!\000"
	.align	2
.LC14:
	.ascii	"Content:\000"
	.align	2
.LC15:
	.ascii	"Too more !\000"
	.text
	.align	2
	.global	allocate
	.syntax unified
	.arm
	.fpu softvfp
	.type	allocate, %function
allocate:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L20
.L24:
	ldr	r2, .L25
	ldr	r3, [fp, #-12]
	ldr	r3, [r2, r3, lsl #2]
	cmp	r3, #0
	bne	.L21
	ldr	r0, .L25+4
	bl	printf
	bl	read_long
	mov	r2, r0
	mov	r3, r1
	mov	r3, r2
	str	r3, [fp, #-8]
	ldr	r0, [fp, #-8]
	bl	malloc
	mov	r3, r0
	mov	r1, r3
	ldr	r2, .L25
	ldr	r3, [fp, #-12]
	str	r1, [r2, r3, lsl #2]
	ldr	r2, .L25
	ldr	r3, [fp, #-12]
	ldr	r3, [r2, r3, lsl #2]
	cmp	r3, #0
	bne	.L22
	ldr	r0, .L25+8
	bl	puts
.L22:
	ldr	r0, .L25+12
	bl	printf
	ldr	r2, .L25
	ldr	r3, [fp, #-12]
	ldr	r3, [r2, r3, lsl #2]
	ldr	r1, [fp, #-8]
	mov	r0, r3
	bl	read_input
	b	.L19
.L21:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L20:
	ldr	r3, [fp, #-12]
	cmp	r3, #9
	ble	.L24
	ldr	r0, .L25+16
	bl	puts
.L19:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L26:
	.align	2
.L25:
	.word	heap
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.size	allocate, .-allocate
	.section	.rodata
	.align	2
.LC16:
	.ascii	"Index:\000"
	.align	2
.LC17:
	.ascii	"Too large\000"
	.text
	.align	2
	.global	dfree
	.syntax unified
	.arm
	.fpu softvfp
	.type	dfree, %function
dfree:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	mov	r3, #0
	str	r3, [fp, #-8]
	ldr	r0, .L31
	bl	printf
	bl	read_long
	mov	r2, r0
	mov	r3, r1
	mov	r3, r2
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #9
	bhi	.L28
	ldr	r2, .L31+4
	ldr	r3, [fp, #-8]
	ldr	r3, [r2, r3, lsl #2]
	mov	r0, r3
	bl	free
	ldr	r2, .L31+4
	ldr	r3, [fp, #-8]
	mov	r1, #0
	str	r1, [r2, r3, lsl #2]
	b	.L30
.L28:
	ldr	r0, .L31+8
	bl	puts
.L30:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L32:
	.align	2
.L31:
	.word	.LC16
	.word	heap
	.word	.LC17
	.size	dfree, .-dfree
	.section	.rodata
	.align	2
.LC18:
	.ascii	"magic :\000"
	.align	2
.LC19:
	.ascii	"shik is our god\000"
	.text
	.align	2
	.global	add_shik
	.syntax unified
	.arm
	.fpu softvfp
	.type	add_shik, %function
add_shik:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	ldr	r3, .L37
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L34
	mov	r0, #8
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L37
	str	r2, [r3]
	ldr	r3, .L37
	ldr	r4, [r3]
	mov	r0, #32
	bl	malloc
	mov	r3, r0
	str	r3, [r4]
	ldr	r0, .L37+4
	bl	printf
	ldr	r3, .L37
	ldr	r3, [r3]
	ldr	r3, [r3]
	mov	r1, #32
	mov	r0, r3
	bl	read_input
	ldr	r3, .L37
	ldr	r4, [r3]
	bl	rand
	mov	r3, r0
	str	r3, [r4, #4]
	b	.L36
.L34:
	ldr	r0, .L37+8
	bl	puts
.L36:
	nop
	pop	{r4, r5, fp, pc}
.L38:
	.align	2
.L37:
	.word	s
	.word	.LC18
	.word	.LC19
	.size	add_shik, .-add_shik
	.section	.rodata
	.align	2
.LC20:
	.ascii	"Magic: %s\000"
	.align	2
.LC21:
	.ascii	"shik is not here\000"
	.text
	.align	2
	.global	show_shik
	.syntax unified
	.arm
	.fpu softvfp
	.type	show_shik, %function
show_shik:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L43
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L40
	ldr	r3, .L43
	ldr	r3, [r3]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L43+4
	bl	printf
	b	.L42
.L40:
	ldr	r0, .L43+8
	bl	puts
.L42:
	nop
	pop	{fp, pc}
.L44:
	.align	2
.L43:
	.word	s
	.word	.LC20
	.word	.LC21
	.size	show_shik, .-show_shik
	.section	.rodata
	.align	2
.LC22:
	.ascii	"magic:\000"
	.text
	.align	2
	.global	edit_shik
	.syntax unified
	.arm
	.fpu softvfp
	.type	edit_shik, %function
edit_shik:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L49
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L46
	ldr	r0, .L49+4
	bl	printf
	ldr	r3, .L49
	ldr	r3, [r3]
	ldr	r3, [r3]
	mov	r1, #32
	mov	r0, r3
	bl	read_input
	b	.L48
.L46:
	ldr	r0, .L49+8
	bl	puts
.L48:
	nop
	pop	{fp, pc}
.L50:
	.align	2
.L49:
	.word	s
	.word	.LC22
	.word	.LC21
	.size	edit_shik, .-edit_shik
	.section	.rodata
	.align	2
.LC23:
	.ascii	"Invalid choice\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	bl	init_proc
.L61:
	bl	menu
	bl	read_long
	mov	r2, r0
	mov	r3, r1
	subs	r4, r2, #1
	sbc	r5, r3, #0
	cmp	r5, #0
	cmpeq	r4, #5
	bhi	.L52
	cmp	r4, #5
	ldrls	pc, [pc, r4, asl #2]
	b	.L52
.L54:
	.word	.L59
	.word	.L58
	.word	.L57
	.word	.L56
	.word	.L55
	.word	.L53
.L59:
	bl	allocate
	b	.L60
.L58:
	bl	dfree
	b	.L60
.L57:
	bl	add_shik
	b	.L60
.L56:
	bl	show_shik
	b	.L60
.L55:
	bl	edit_shik
	b	.L60
.L53:
	mov	r0, #0
	bl	exit
.L52:
	ldr	r0, .L62
	bl	puts
	nop
.L60:
	b	.L61
.L63:
	.align	2
.L62:
	.word	.LC23
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
