	.file	"440442.c"
	.intel_syntax noprefix
	.text
	.globl	top
	.bss
	.align 8
	.type	top, @object
	.size	top, 8
top:
	.zero	8
	.globl	top1
	.align 8
	.type	top1, @object
	.size	top1, 8
top1:
	.zero	8
	.globl	temp
	.align 8
	.type	temp, @object
	.size	temp, 8
temp:
	.zero	8
	.globl	count
	.align 4
	.type	count, @object
	.size	count, 4
count:
	.zero	4
	.section	.rodata
.LC0:
	.string	"\n 1 - Push"
.LC1:
	.string	"\n 2 - Pop"
.LC2:
	.string	"\n 3 - Top"
.LC3:
	.string	"\n 4 - Empty"
.LC4:
	.string	"\n 5 - Exit"
.LC5:
	.string	"\n 6 - Display"
.LC6:
	.string	"\n 7 - Stack Count"
.LC7:
	.string	"\n 8 - Destroy stack"
.LC8:
	.string	"\n Enter choice : "
.LC9:
	.string	"%d"
.LC10:
	.string	"Enter element : "
.LC11:
	.string	"stack is empty"
.LC12:
	.string	"\n Top element : %d"
.LC13:
	.string	" wrong choice:Try again "
	.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	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	call	create
.L15:
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -16[rbp]
	mov	rsi, rax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -16[rbp]
	cmp	eax, 8
	ja	.L2
	mov	eax, eax
	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	.L2-.L4
	.long	.L11-.L4
	.long	.L10-.L4
	.long	.L9-.L4
	.long	.L8-.L4
	.long	.L7-.L4
	.long	.L6-.L4
	.long	.L5-.L4
	.long	.L3-.L4
	.text
.L11:
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -20[rbp]
	mov	rsi, rax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -20[rbp]
	mov	edi, eax
	call	push
	jmp	.L12
.L10:
	mov	eax, 0
	call	pop
	jmp	.L12
.L9:
	mov	rax, QWORD PTR top[rip]
	test	rax, rax
	jne	.L13
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L12
.L13:
	mov	eax, 0
	call	topelement
	mov	DWORD PTR -12[rbp], eax
	mov	eax, DWORD PTR -12[rbp]
	mov	esi, eax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L12
.L8:
	mov	eax, 0
	call	empty
	jmp	.L12
.L7:
	mov	edi, 0
	call	exit@PLT
.L6:
	mov	eax, 0
	call	display
	jmp	.L12
.L5:
	mov	eax, 0
	call	stack_count
	jmp	.L12
.L3:
	mov	eax, 0
	call	destroy
	jmp	.L12
.L2:
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	printf@PLT
	nop
.L12:
	jmp	.L15
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.globl	create
	.type	create, @function
create:
.LFB7:
	.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 top[rip], 0
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	create, .-create
	.section	.rodata
	.align 8
.LC14:
	.string	"\n no: of elements in stack : %d"
	.text
	.globl	stack_count
	.type	stack_count, @function
stack_count:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, DWORD PTR count[rip]
	mov	esi, eax
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	printf@PLT
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	stack_count, .-stack_count
	.globl	push
	.type	push, @function
push:
.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	DWORD PTR -4[rbp], edi
	mov	rax, QWORD PTR top[rip]
	test	rax, rax
	jne	.L20
	mov	edi, 16
	call	malloc@PLT
	mov	QWORD PTR top[rip], rax
	mov	rax, QWORD PTR top[rip]
	mov	QWORD PTR 8[rax], 0
	mov	rax, QWORD PTR top[rip]
	mov	edx, DWORD PTR -4[rbp]
	mov	DWORD PTR [rax], edx
	jmp	.L21
.L20:
	mov	edi, 16
	call	malloc@PLT
	mov	QWORD PTR temp[rip], rax
	mov	rax, QWORD PTR temp[rip]
	mov	rdx, QWORD PTR top[rip]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR temp[rip]
	mov	edx, DWORD PTR -4[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR temp[rip]
	mov	QWORD PTR top[rip], rax
.L21:
	mov	eax, DWORD PTR count[rip]
	add	eax, 1
	mov	DWORD PTR count[rip], eax
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	push, .-push
	.section	.rodata
.LC15:
	.string	"empty stack"
.LC16:
	.string	"%d "
	.text
	.globl	display
	.type	display, @function
display:
.LFB10:
	.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 top[rip]
	mov	QWORD PTR top1[rip], rax
	mov	rax, QWORD PTR top1[rip]
	test	rax, rax
	jne	.L25
	lea	rdi, .LC15[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L22
.L26:
	mov	rax, QWORD PTR top1[rip]
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC16[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR top1[rip]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR top1[rip], rax
.L25:
	mov	rax, QWORD PTR top1[rip]
	test	rax, rax
	jne	.L26
.L22:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	display, .-display
	.section	.rodata
.LC17:
	.string	"\n error"
.LC18:
	.string	"\n Popped value : %d"
	.text
	.globl	pop
	.type	pop, @function
pop:
.LFB11:
	.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 top[rip]
	mov	QWORD PTR top1[rip], rax
	mov	rax, QWORD PTR top1[rip]
	test	rax, rax
	jne	.L28
	lea	rdi, .LC17[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L27
.L28:
	mov	rax, QWORD PTR top1[rip]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR top1[rip], rax
	mov	rax, QWORD PTR top[rip]
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC18[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR top[rip]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR top1[rip]
	mov	QWORD PTR top[rip], rax
	mov	eax, DWORD PTR count[rip]
	sub	eax, 1
	mov	DWORD PTR count[rip], eax
.L27:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	pop, .-pop
	.globl	topelement
	.type	topelement, @function
topelement:
.LFB12:
	.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 top[rip]
	mov	eax, DWORD PTR [rax]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	topelement, .-topelement
	.section	.rodata
.LC19:
	.string	"\n empty stack"
	.align 8
.LC20:
	.string	"\n stack not empty with %d values"
	.text
	.globl	empty
	.type	empty, @function
empty:
.LFB13:
	.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 top[rip]
	test	rax, rax
	jne	.L33
	lea	rdi, .LC19[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L35
.L33:
	mov	eax, DWORD PTR count[rip]
	mov	esi, eax
	lea	rdi, .LC20[rip]
	mov	eax, 0
	call	printf@PLT
.L35:
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	empty, .-empty
	.section	.rodata
.LC21:
	.string	"\n all are destroyed"
	.text
	.globl	destroy
	.type	destroy, @function
destroy:
.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 top[rip]
	mov	QWORD PTR top1[rip], rax
	jmp	.L37
.L38:
	mov	rax, QWORD PTR top[rip]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR top1[rip], rax
	mov	rax, QWORD PTR top[rip]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR top1[rip]
	mov	QWORD PTR top[rip], rax
	mov	rax, QWORD PTR top1[rip]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR top1[rip], rax
.L37:
	mov	rax, QWORD PTR top1[rip]
	test	rax, rax
	jne	.L38
	mov	rax, QWORD PTR top1[rip]
	mov	rdi, rax
	call	free@PLT
	mov	QWORD PTR top[rip], 0
	lea	rdi, .LC21[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR count[rip], 0
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	destroy, .-destroy
	.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	"440442.c"
	.text
	.comm	top,4,4
	.comm	top1,4,4
	.comm	temp,4,4
	.global	count
	.bss
	.align	2
	.type	count, %object
	.size	count, 4
count:
	.space	4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"\012 1 - Push\000"
	.align	2
.LC1:
	.ascii	"\012 2 - Pop\000"
	.align	2
.LC2:
	.ascii	"\012 3 - Top\000"
	.align	2
.LC3:
	.ascii	"\012 4 - Empty\000"
	.align	2
.LC4:
	.ascii	"\012 5 - Exit\000"
	.align	2
.LC5:
	.ascii	"\012 6 - Display\000"
	.align	2
.LC6:
	.ascii	"\012 7 - Stack Count\000"
	.align	2
.LC7:
	.ascii	"\012 8 - Destroy stack\000"
	.align	2
.LC8:
	.ascii	"\012 Enter choice : \000"
	.align	2
.LC9:
	.ascii	"%d\000"
	.align	2
.LC10:
	.ascii	"Enter element : \000"
	.align	2
.LC11:
	.ascii	"stack is empty\000"
	.align	2
.LC12:
	.ascii	"\012 Top element : %d\000"
	.align	2
.LC13:
	.ascii	" wrong choice:Try again \000"
	.align	2
.LC14:
	.word	__stack_chk_guard
	.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
	ldr	r3, .L17
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r0, .L17+4
	bl	printf
	ldr	r0, .L17+8
	bl	printf
	ldr	r0, .L17+12
	bl	printf
	ldr	r0, .L17+16
	bl	printf
	ldr	r0, .L17+20
	bl	printf
	ldr	r0, .L17+24
	bl	printf
	ldr	r0, .L17+28
	bl	printf
	ldr	r0, .L17+32
	bl	printf
	bl	create
.L15:
	ldr	r0, .L17+36
	bl	printf
	sub	r3, fp, #16
	mov	r1, r3
	ldr	r0, .L17+40
	bl	__isoc99_scanf
	ldr	r3, [fp, #-16]
	sub	r3, r3, #1
	cmp	r3, #7
	ldrls	pc, [pc, r3, asl #2]
	b	.L2
.L4:
	.word	.L11
	.word	.L10
	.word	.L9
	.word	.L8
	.word	.L7
	.word	.L6
	.word	.L5
	.word	.L3
.L11:
	ldr	r0, .L17+44
	bl	printf
	sub	r3, fp, #20
	mov	r1, r3
	ldr	r0, .L17+40
	bl	__isoc99_scanf
	ldr	r3, [fp, #-20]
	mov	r0, r3
	bl	push
	b	.L12
.L10:
	bl	pop
	b	.L12
.L9:
	ldr	r3, .L17+48
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L13
	ldr	r0, .L17+52
	bl	printf
	b	.L12
.L13:
	bl	topelement
	str	r0, [fp, #-12]
	ldr	r1, [fp, #-12]
	ldr	r0, .L17+56
	bl	printf
	b	.L12
.L8:
	bl	empty
	b	.L12
.L7:
	mov	r0, #0
	bl	exit
.L6:
	bl	display
	b	.L12
.L5:
	bl	stack_count
	b	.L12
.L3:
	bl	destroy
	b	.L12
.L2:
	ldr	r0, .L17+60
	bl	printf
	nop
.L12:
	b	.L15
.L18:
	.align	2
.L17:
	.word	.LC14
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	top
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.size	main, .-main
	.align	2
	.global	create
	.syntax unified
	.arm
	.fpu softvfp
	.type	create, %function
create:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	ldr	r3, .L20
	mov	r2, #0
	str	r2, [r3]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L21:
	.align	2
.L20:
	.word	top
	.size	create, .-create
	.section	.rodata
	.align	2
.LC15:
	.ascii	"\012 no: of elements in stack : %d\000"
	.text
	.align	2
	.global	stack_count
	.syntax unified
	.arm
	.fpu softvfp
	.type	stack_count, %function
stack_count:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L23
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L23+4
	bl	printf
	nop
	pop	{fp, pc}
.L24:
	.align	2
.L23:
	.word	count
	.word	.LC15
	.size	stack_count, .-stack_count
	.align	2
	.global	push
	.syntax unified
	.arm
	.fpu softvfp
	.type	push, %function
push:
	@ 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, .L28
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L26
	mov	r0, #8
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L28
	str	r2, [r3]
	ldr	r3, .L28
	ldr	r3, [r3]
	mov	r2, #0
	str	r2, [r3, #4]
	ldr	r3, .L28
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	str	r2, [r3]
	b	.L27
.L26:
	mov	r0, #8
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L28+4
	str	r2, [r3]
	ldr	r3, .L28+4
	ldr	r3, [r3]
	ldr	r2, .L28
	ldr	r2, [r2]
	str	r2, [r3, #4]
	ldr	r3, .L28+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	str	r2, [r3]
	ldr	r3, .L28+4
	ldr	r3, [r3]
	ldr	r2, .L28
	str	r3, [r2]
.L27:
	ldr	r3, .L28+8
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L28+8
	str	r3, [r2]
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L29:
	.align	2
.L28:
	.word	top
	.word	temp
	.word	count
	.size	push, .-push
	.section	.rodata
	.align	2
.LC16:
	.ascii	"empty stack\000"
	.align	2
.LC17:
	.ascii	"%d \000"
	.text
	.align	2
	.global	display
	.syntax unified
	.arm
	.fpu softvfp
	.type	display, %function
display:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L35
	ldr	r3, [r3]
	ldr	r2, .L35+4
	str	r3, [r2]
	ldr	r3, .L35+4
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L33
	ldr	r0, .L35+8
	bl	printf
	pop	{fp, pc}
.L34:
	ldr	r3, .L35+4
	ldr	r3, [r3]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L35+12
	bl	printf
	ldr	r3, .L35+4
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	ldr	r2, .L35+4
	str	r3, [r2]
.L33:
	ldr	r3, .L35+4
	ldr	r3, [r3]
	cmp	r3, #0
	popeq	{fp, pc}
	b	.L34
.L36:
	.align	2
.L35:
	.word	top
	.word	top1
	.word	.LC16
	.word	.LC17
	.size	display, .-display
	.section	.rodata
	.align	2
.LC18:
	.ascii	"\012 error\000"
	.align	2
.LC19:
	.ascii	"\012 Popped value : %d\000"
	.text
	.align	2
	.global	pop
	.syntax unified
	.arm
	.fpu softvfp
	.type	pop, %function
pop:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L40
	ldr	r3, [r3]
	ldr	r2, .L40+4
	str	r3, [r2]
	ldr	r3, .L40+4
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L38
	ldr	r0, .L40+8
	bl	printf
	pop	{fp, pc}
.L38:
	ldr	r3, .L40+4
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	ldr	r2, .L40+4
	str	r3, [r2]
	ldr	r3, .L40
	ldr	r3, [r3]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L40+12
	bl	printf
	ldr	r3, .L40
	ldr	r3, [r3]
	mov	r0, r3
	bl	free
	ldr	r3, .L40+4
	ldr	r3, [r3]
	ldr	r2, .L40
	str	r3, [r2]
	ldr	r3, .L40+16
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L40+16
	str	r3, [r2]
	pop	{fp, pc}
.L41:
	.align	2
.L40:
	.word	top
	.word	top1
	.word	.LC18
	.word	.LC19
	.word	count
	.size	pop, .-pop
	.align	2
	.global	topelement
	.syntax unified
	.arm
	.fpu softvfp
	.type	topelement, %function
topelement:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	ldr	r3, .L44
	ldr	r3, [r3]
	ldr	r3, [r3]
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L45:
	.align	2
.L44:
	.word	top
	.size	topelement, .-topelement
	.section	.rodata
	.align	2
.LC20:
	.ascii	"\012 empty stack\000"
	.align	2
.LC21:
	.ascii	"\012 stack not empty with %d values\000"
	.text
	.align	2
	.global	empty
	.syntax unified
	.arm
	.fpu softvfp
	.type	empty, %function
empty:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L50
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L47
	ldr	r0, .L50+4
	bl	printf
	b	.L49
.L47:
	ldr	r3, .L50+8
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L50+12
	bl	printf
.L49:
	nop
	pop	{fp, pc}
.L51:
	.align	2
.L50:
	.word	top
	.word	.LC20
	.word	count
	.word	.LC21
	.size	empty, .-empty
	.section	.rodata
	.align	2
.LC22:
	.ascii	"\012 all are destroyed\000"
	.text
	.align	2
	.global	destroy
	.syntax unified
	.arm
	.fpu softvfp
	.type	destroy, %function
destroy:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L55
	ldr	r3, [r3]
	ldr	r2, .L55+4
	str	r3, [r2]
	b	.L53
.L54:
	ldr	r3, .L55
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	ldr	r2, .L55+4
	str	r3, [r2]
	ldr	r3, .L55
	ldr	r3, [r3]
	mov	r0, r3
	bl	free
	ldr	r3, .L55+4
	ldr	r3, [r3]
	ldr	r2, .L55
	str	r3, [r2]
	ldr	r3, .L55+4
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	ldr	r2, .L55+4
	str	r3, [r2]
.L53:
	ldr	r3, .L55+4
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L54
	ldr	r3, .L55+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	free
	ldr	r3, .L55
	mov	r2, #0
	str	r2, [r3]
	ldr	r0, .L55+8
	bl	printf
	ldr	r3, .L55+12
	mov	r2, #0
	str	r2, [r3]
	nop
	pop	{fp, pc}
.L56:
	.align	2
.L55:
	.word	top
	.word	top1
	.word	.LC22
	.word	count
	.size	destroy, .-destroy
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
