	.file	"932973.c"
	.intel_syntax noprefix
	.text
	.globl	start
	.bss
	.align 8
	.type	start, @object
	.size	start, 8
start:
	.zero	8
	.globl	count
	.align 4
	.type	count, @object
	.size	count, 4
count:
	.zero	4
	.section	.rodata
	.align 8
.LC0:
	.string	"1. Insert an element at beginning of linked list."
	.align 8
.LC1:
	.string	"2. Insert an element at end of linked list."
.LC2:
	.string	"3. Traverse linked list."
	.align 8
.LC3:
	.string	"4. Delete element from beginning."
.LC4:
	.string	"5. Delete element from end."
.LC5:
	.string	"6. Exit"
.LC6:
	.string	"%d"
.LC7:
	.string	"Enter value of element"
.LC8:
	.string	"Please enter valid input."
	.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, 16
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
.L10:
	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	rax, -16[rbp]
	mov	rsi, rax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -16[rbp]
	cmp	eax, 1
	jne	.L2
	lea	rdi, .LC7[rip]
	call	puts@PLT
	lea	rax, -12[rbp]
	mov	rsi, rax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -12[rbp]
	mov	edi, eax
	call	insert_at_begin
	jmp	.L10
.L2:
	mov	eax, DWORD PTR -16[rbp]
	cmp	eax, 2
	jne	.L4
	lea	rdi, .LC7[rip]
	call	puts@PLT
	lea	rax, -12[rbp]
	mov	rsi, rax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -12[rbp]
	mov	edi, eax
	call	insert_at_end
	jmp	.L10
.L4:
	mov	eax, DWORD PTR -16[rbp]
	cmp	eax, 3
	jne	.L5
	mov	eax, 0
	call	traverse
	jmp	.L10
.L5:
	mov	eax, DWORD PTR -16[rbp]
	cmp	eax, 4
	jne	.L6
	mov	eax, 0
	call	delete_from_begin
	jmp	.L10
.L6:
	mov	eax, DWORD PTR -16[rbp]
	cmp	eax, 5
	jne	.L7
	mov	eax, 0
	call	delete_from_end
	jmp	.L10
.L7:
	mov	eax, DWORD PTR -16[rbp]
	cmp	eax, 6
	je	.L14
	lea	rdi, .LC8[rip]
	call	puts@PLT
	jmp	.L10
.L14:
	nop
	mov	eax, 0
	mov	rdx, QWORD PTR -8[rbp]
	sub	rdx, QWORD PTR fs:40
	je	.L12
	call	__stack_chk_fail@PLT
.L12:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.globl	insert_at_begin
	.type	insert_at_begin, @function
insert_at_begin:
.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	DWORD PTR -20[rbp], edi
	mov	edi, 16
	call	malloc@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	eax, DWORD PTR count[rip]
	add	eax, 1
	mov	DWORD PTR count[rip], eax
	mov	rax, QWORD PTR start[rip]
	test	rax, rax
	jne	.L16
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR start[rip], rax
	mov	rax, QWORD PTR start[rip]
	mov	edx, DWORD PTR -20[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR start[rip]
	mov	QWORD PTR 8[rax], 0
	jmp	.L15
.L16:
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, DWORD PTR -20[rbp]
	mov	DWORD PTR [rax], edx
	mov	rdx, QWORD PTR start[rip]
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR start[rip], rax
.L15:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	insert_at_begin, .-insert_at_begin
	.globl	insert_at_end
	.type	insert_at_end, @function
insert_at_end:
.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	DWORD PTR -20[rbp], edi
	mov	edi, 16
	call	malloc@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	eax, DWORD PTR count[rip]
	add	eax, 1
	mov	DWORD PTR count[rip], eax
	mov	rax, QWORD PTR start[rip]
	test	rax, rax
	jne	.L19
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR start[rip], rax
	mov	rax, QWORD PTR start[rip]
	mov	edx, DWORD PTR -20[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR start[rip]
	mov	QWORD PTR 8[rax], 0
	jmp	.L18
.L19:
	mov	rax, QWORD PTR start[rip]
	mov	QWORD PTR -16[rbp], rax
	jmp	.L21
.L22:
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -16[rbp], rax
.L21:
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 8[rax]
	test	rax, rax
	jne	.L22
	mov	rax, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, DWORD PTR -20[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 8[rax], 0
.L18:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	insert_at_end, .-insert_at_end
	.section	.rodata
.LC9:
	.string	"Linked list is empty."
	.align 8
.LC10:
	.string	"There are %d elements in linked list.\n"
.LC11:
	.string	"%d\n"
	.text
	.globl	traverse
	.type	traverse, @function
traverse:
.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	rax, QWORD PTR start[rip]
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L24
	lea	rdi, .LC9[rip]
	call	puts@PLT
	jmp	.L23
.L24:
	mov	eax, DWORD PTR count[rip]
	mov	esi, eax
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L26
.L27:
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -8[rbp], rax
.L26:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 8[rax]
	test	rax, rax
	jne	.L27
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
.L23:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	traverse, .-traverse
	.section	.rodata
.LC12:
	.string	"Linked list is already empty."
	.align 8
.LC13:
	.string	"%d deleted from beginning successfully.\n"
	.text
	.globl	delete_from_begin
	.type	delete_from_begin, @function
delete_from_begin:
.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	rax, QWORD PTR start[rip]
	test	rax, rax
	jne	.L29
	lea	rdi, .LC12[rip]
	call	puts@PLT
	jmp	.L28
.L29:
	mov	rax, QWORD PTR start[rip]
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -12[rbp], eax
	mov	rax, QWORD PTR start[rip]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR start[rip]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR start[rip], rax
	mov	eax, DWORD PTR count[rip]
	sub	eax, 1
	mov	DWORD PTR count[rip], eax
	mov	eax, DWORD PTR -12[rbp]
	mov	esi, eax
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	printf@PLT
.L28:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	delete_from_begin, .-delete_from_begin
	.section	.rodata
	.align 8
.LC14:
	.string	"%d deleted from end successfully.\n"
	.text
	.globl	delete_from_end
	.type	delete_from_end, @function
delete_from_end:
.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	rax, QWORD PTR start[rip]
	test	rax, rax
	jne	.L32
	lea	rdi, .LC12[rip]
	call	puts@PLT
	jmp	.L31
.L32:
	mov	eax, DWORD PTR count[rip]
	sub	eax, 1
	mov	DWORD PTR count[rip], eax
	mov	rax, QWORD PTR start[rip]
	mov	rax, QWORD PTR 8[rax]
	test	rax, rax
	jne	.L34
	mov	rax, QWORD PTR start[rip]
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -20[rbp], eax
	mov	rax, QWORD PTR start[rip]
	mov	rdi, rax
	call	free@PLT
	mov	QWORD PTR start[rip], 0
	mov	eax, DWORD PTR -20[rbp]
	mov	esi, eax
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L31
.L34:
	mov	rax, QWORD PTR start[rip]
	mov	QWORD PTR -16[rbp], rax
	jmp	.L35
.L36:
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -16[rbp], rax
.L35:
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 8[rax]
	test	rax, rax
	jne	.L36
	mov	rax, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -20[rbp], eax
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 8[rax], 0
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	eax, DWORD PTR -20[rbp]
	mov	esi, eax
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	printf@PLT
.L31:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	delete_from_end, .-delete_from_end
	.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	"932973.c"
	.text
	.global	start
	.bss
	.align	2
	.type	start, %object
	.size	start, 4
start:
	.space	4
	.global	count
	.align	2
	.type	count, %object
	.size	count, 4
count:
	.space	4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"1. Insert an element at beginning of linked list.\000"
	.align	2
.LC1:
	.ascii	"2. Insert an element at end of linked list.\000"
	.align	2
.LC2:
	.ascii	"3. Traverse linked list.\000"
	.align	2
.LC3:
	.ascii	"4. Delete element from beginning.\000"
	.align	2
.LC4:
	.ascii	"5. Delete element from end.\000"
	.align	2
.LC5:
	.ascii	"6. Exit\000"
	.align	2
.LC6:
	.ascii	"%d\000"
	.align	2
.LC7:
	.ascii	"Enter value of element\000"
	.align	2
.LC8:
	.ascii	"Please enter valid input.\000"
	.align	2
.LC9:
	.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, .L15
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
.L10:
	ldr	r0, .L15+4
	bl	puts
	ldr	r0, .L15+8
	bl	puts
	ldr	r0, .L15+12
	bl	puts
	ldr	r0, .L15+16
	bl	puts
	ldr	r0, .L15+20
	bl	puts
	ldr	r0, .L15+24
	bl	puts
	sub	r3, fp, #16
	mov	r1, r3
	ldr	r0, .L15+28
	bl	__isoc99_scanf
	ldr	r3, [fp, #-16]
	cmp	r3, #1
	bne	.L2
	ldr	r0, .L15+32
	bl	puts
	sub	r3, fp, #12
	mov	r1, r3
	ldr	r0, .L15+28
	bl	__isoc99_scanf
	ldr	r3, [fp, #-12]
	mov	r0, r3
	bl	insert_at_begin
	b	.L10
.L2:
	ldr	r3, [fp, #-16]
	cmp	r3, #2
	bne	.L4
	ldr	r0, .L15+32
	bl	puts
	sub	r3, fp, #12
	mov	r1, r3
	ldr	r0, .L15+28
	bl	__isoc99_scanf
	ldr	r3, [fp, #-12]
	mov	r0, r3
	bl	insert_at_end
	b	.L10
.L4:
	ldr	r3, [fp, #-16]
	cmp	r3, #3
	bne	.L5
	bl	traverse
	b	.L10
.L5:
	ldr	r3, [fp, #-16]
	cmp	r3, #4
	bne	.L6
	bl	delete_from_begin
	b	.L10
.L6:
	ldr	r3, [fp, #-16]
	cmp	r3, #5
	bne	.L7
	bl	delete_from_end
	b	.L10
.L7:
	ldr	r3, [fp, #-16]
	cmp	r3, #6
	beq	.L14
	ldr	r0, .L15+36
	bl	puts
	b	.L10
.L14:
	nop
	mov	r3, #0
	ldr	r2, .L15
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L12
	bl	__stack_chk_fail
.L12:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L16:
	.align	2
.L15:
	.word	.LC9
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.size	main, .-main
	.align	2
	.global	insert_at_begin
	.syntax unified
	.arm
	.fpu softvfp
	.type	insert_at_begin, %function
insert_at_begin:
	@ 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, #8
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, .L20
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L20
	str	r3, [r2]
	ldr	r3, .L20+4
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L18
	ldr	r2, .L20+4
	ldr	r3, [fp, #-8]
	str	r3, [r2]
	ldr	r3, .L20+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	str	r2, [r3]
	ldr	r3, .L20+4
	ldr	r3, [r3]
	mov	r2, #0
	str	r2, [r3, #4]
	b	.L17
.L18:
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-16]
	str	r2, [r3]
	ldr	r3, .L20+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	str	r2, [r3, #4]
	ldr	r2, .L20+4
	ldr	r3, [fp, #-8]
	str	r3, [r2]
.L17:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L21:
	.align	2
.L20:
	.word	count
	.word	start
	.size	insert_at_begin, .-insert_at_begin
	.align	2
	.global	insert_at_end
	.syntax unified
	.arm
	.fpu softvfp
	.type	insert_at_end, %function
insert_at_end:
	@ 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, #8
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, .L27
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L27
	str	r3, [r2]
	ldr	r3, .L27+4
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L23
	ldr	r2, .L27+4
	ldr	r3, [fp, #-8]
	str	r3, [r2]
	ldr	r3, .L27+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	str	r2, [r3]
	ldr	r3, .L27+4
	ldr	r3, [r3]
	mov	r2, #0
	str	r2, [r3, #4]
	b	.L22
.L23:
	ldr	r3, .L27+4
	ldr	r3, [r3]
	str	r3, [fp, #-12]
	b	.L25
.L26:
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-12]
.L25:
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #4]
	cmp	r3, #0
	bne	.L26
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-8]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-16]
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	mov	r2, #0
	str	r2, [r3, #4]
.L22:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L28:
	.align	2
.L27:
	.word	count
	.word	start
	.size	insert_at_end, .-insert_at_end
	.section	.rodata
	.align	2
.LC10:
	.ascii	"Linked list is empty.\000"
	.align	2
.LC11:
	.ascii	"There are %d elements in linked list.\012\000"
	.align	2
.LC12:
	.ascii	"%d\012\000"
	.text
	.align	2
	.global	traverse
	.syntax unified
	.arm
	.fpu softvfp
	.type	traverse, %function
traverse:
	@ 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	r3, .L34
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L30
	ldr	r0, .L34+4
	bl	puts
	b	.L29
.L30:
	ldr	r3, .L34+8
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L34+12
	bl	printf
	b	.L32
.L33:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L34+16
	bl	printf
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-8]
.L32:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	cmp	r3, #0
	bne	.L33
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L34+16
	bl	printf
.L29:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L35:
	.align	2
.L34:
	.word	start
	.word	.LC10
	.word	count
	.word	.LC11
	.word	.LC12
	.size	traverse, .-traverse
	.section	.rodata
	.align	2
.LC13:
	.ascii	"Linked list is already empty.\000"
	.align	2
.LC14:
	.ascii	"%d deleted from beginning successfully.\012\000"
	.text
	.align	2
	.global	delete_from_begin
	.syntax unified
	.arm
	.fpu softvfp
	.type	delete_from_begin, %function
delete_from_begin:
	@ 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	r3, .L39
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L37
	ldr	r0, .L39+4
	bl	puts
	b	.L36
.L37:
	ldr	r3, .L39
	ldr	r3, [r3]
	ldr	r3, [r3]
	str	r3, [fp, #-12]
	ldr	r3, .L39
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-8]
	ldr	r3, .L39
	ldr	r3, [r3]
	mov	r0, r3
	bl	free
	ldr	r2, .L39
	ldr	r3, [fp, #-8]
	str	r3, [r2]
	ldr	r3, .L39+8
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L39+8
	str	r3, [r2]
	ldr	r1, [fp, #-12]
	ldr	r0, .L39+12
	bl	printf
.L36:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L40:
	.align	2
.L39:
	.word	start
	.word	.LC13
	.word	count
	.word	.LC14
	.size	delete_from_begin, .-delete_from_begin
	.section	.rodata
	.align	2
.LC15:
	.ascii	"%d deleted from end successfully.\012\000"
	.text
	.align	2
	.global	delete_from_end
	.syntax unified
	.arm
	.fpu softvfp
	.type	delete_from_end, %function
delete_from_end:
	@ 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, .L47
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L42
	ldr	r0, .L47+4
	bl	puts
	b	.L41
.L42:
	ldr	r3, .L47+8
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L47+8
	str	r3, [r2]
	ldr	r3, .L47
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	cmp	r3, #0
	bne	.L44
	ldr	r3, .L47
	ldr	r3, [r3]
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	ldr	r3, .L47
	ldr	r3, [r3]
	mov	r0, r3
	bl	free
	ldr	r3, .L47
	mov	r2, #0
	str	r2, [r3]
	ldr	r1, [fp, #-8]
	ldr	r0, .L47+12
	bl	printf
	b	.L41
.L44:
	ldr	r3, .L47
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	b	.L45
.L46:
	ldr	r3, [fp, #-16]
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-16]
.L45:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	cmp	r3, #0
	bne	.L46
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-12]
	mov	r2, #0
	str	r2, [r3, #4]
	ldr	r0, [fp, #-16]
	bl	free
	ldr	r1, [fp, #-8]
	ldr	r0, .L47+12
	bl	printf
.L41:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L48:
	.align	2
.L47:
	.word	start
	.word	.LC13
	.word	count
	.word	.LC15
	.size	delete_from_end, .-delete_from_end
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
