	.file	"68889231.c"
	.intel_syntax noprefix
	.text
	.globl	size
	.bss
	.align 4
	.type	size, @object
	.size	size, 4
size:
	.zero	4
	.globl	head
	.align 8
	.type	head, @object
	.size	head, 8
head:
	.zero	8
	.section	.rodata
.LC0:
	.string	"Enter value : "
.LC1:
	.string	" %i"
	.text
	.globl	ins_e
	.type	ins_e, @function
ins_e:
.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	edi, 16
	call	malloc@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR head[rip]
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR head[rip]
	test	rax, rax
	jne	.L4
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 8[rax], 0
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR head[rip], rax
	jmp	.L1
.L5:
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -16[rbp], rax
.L4:
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 8[rax]
	test	rax, rax
	jne	.L5
	mov	rax, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR 8[rax], rdx
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR size[rip]
	add	eax, 1
	mov	DWORD PTR size[rip], eax
.L1:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	ins_e, .-ins_e
	.section	.rodata
.LC2:
	.string	"\nList is already empty."
	.align 8
.LC3:
	.string	"Data : %i\nRear element deleted succesfully.\n"
	.text
	.globl	del_e
	.type	del_e, @function
del_e:
.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 head[rip]
	test	rax, rax
	jne	.L7
	lea	rdi, .LC2[rip]
	call	puts@PLT
	jmp	.L6
.L7:
	mov	rax, QWORD PTR head[rip]
	mov	rax, QWORD PTR 8[rax]
	test	rax, rax
	jne	.L9
	mov	rax, QWORD PTR head[rip]
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -20[rbp], eax
	mov	rax, QWORD PTR head[rip]
	mov	rdi, rax
	call	free@PLT
	mov	QWORD PTR head[rip], 0
	mov	eax, DWORD PTR -20[rbp]
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L6
.L9:
	mov	rax, QWORD PTR head[rip]
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR head[rip]
	mov	QWORD PTR -8[rbp], rax
	jmp	.L10
.L11:
	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
.L10:
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 8[rax]
	test	rax, rax
	jne	.L11
	mov	rax, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -24[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 -24[rbp]
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR size[rip]
	sub	eax, 1
	mov	DWORD PTR size[rip], eax
.L6:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	del_e, .-del_e
	.section	.rodata
.LC4:
	.string	"\nList is empty."
	.align 8
.LC5:
	.string	"\nThere are %i elements in list.\n\nIndex  Value\n-----  -----\n"
.LC6:
	.string	"%5i  %5i\n"
	.text
	.globl	print
	.type	print, @function
print:
.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, 16
	mov	rax, QWORD PTR head[rip]
	test	rax, rax
	jne	.L13
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L12
.L13:
	mov	rax, QWORD PTR head[rip]
	mov	QWORD PTR -8[rbp], rax
	mov	DWORD PTR -12[rbp], 1
	mov	eax, DWORD PTR size[rip]
	mov	esi, eax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L15
.L16:
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -12[rbp]
	lea	ecx, 1[rax]
	mov	DWORD PTR -12[rbp], ecx
	mov	esi, eax
	lea	rdi, .LC6[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
.L15:
	cmp	QWORD PTR -8[rbp], 0
	jne	.L16
.L12:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	print, .-print
	.section	.rodata
	.align 8
.LC7:
	.string	"\nFor exit press 0.\n--- ---- ----- --\n"
	.align 8
.LC8:
	.string	"\nSelect operation:\n------ ----------\n\n1.Push         2.POP          3.Display\n------         -----          ---------"
.LC9:
	.string	"cls"
.LC10:
	.string	"\nEnter valid choice.\n"
	.text
	.globl	main
	.type	main, @function
main:
.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 fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdi, .LC7[rip]
	call	puts@PLT
.L25:
	lea	rdi, .LC8[rip]
	call	puts@PLT
	lea	rax, -12[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -12[rbp]
	test	eax, eax
	je	.L29
	lea	rdi, .LC9[rip]
	call	system@PLT
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, 3
	je	.L20
	cmp	eax, 3
	jg	.L21
	cmp	eax, 1
	je	.L22
	cmp	eax, 2
	je	.L23
	jmp	.L21
.L22:
	mov	eax, 0
	call	ins_e
	jmp	.L24
.L23:
	mov	eax, 0
	call	del_e
	jmp	.L24
.L20:
	mov	eax, 0
	call	print
	jmp	.L24
.L21:
	lea	rdi, .LC10[rip]
	call	puts@PLT
.L24:
	jmp	.L25
.L29:
	nop
	mov	eax, 0
	mov	rdx, QWORD PTR -8[rbp]
	sub	rdx, QWORD PTR fs:40
	je	.L27
	call	__stack_chk_fail@PLT
.L27:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.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	"68889231.c"
	.text
	.global	size
	.bss
	.align	2
	.type	size, %object
	.size	size, 4
size:
	.space	4
	.global	head
	.align	2
	.type	head, %object
	.size	head, 4
head:
	.space	4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Enter value : \000"
	.align	2
.LC1:
	.ascii	" %i\000"
	.text
	.align	2
	.global	ins_e
	.syntax unified
	.arm
	.fpu softvfp
	.type	ins_e, %function
ins_e:
	@ 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	r0, #8
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, .L6
	ldr	r3, [r3]
	str	r3, [fp, #-12]
	ldr	r3, .L6
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L4
	ldr	r0, .L6+4
	bl	printf
	ldr	r3, [fp, #-8]
	mov	r1, r3
	ldr	r0, .L6+8
	bl	__isoc99_scanf
	ldr	r3, [fp, #-8]
	mov	r2, #0
	str	r2, [r3, #4]
	ldr	r2, .L6
	ldr	r3, [fp, #-8]
	str	r3, [r2]
	b	.L1
.L5:
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-12]
.L4:
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #4]
	cmp	r3, #0
	bne	.L5
	ldr	r3, [fp, #-12]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-8]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-8]
	str	r2, [r3, #4]
	ldr	r0, .L6+4
	bl	printf
	ldr	r3, [fp, #-8]
	mov	r1, r3
	ldr	r0, .L6+8
	bl	__isoc99_scanf
	ldr	r3, .L6+12
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L6+12
	str	r3, [r2]
.L1:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L7:
	.align	2
.L6:
	.word	head
	.word	.LC0
	.word	.LC1
	.word	size
	.size	ins_e, .-ins_e
	.section	.rodata
	.align	2
.LC2:
	.ascii	"\012List is already empty.\000"
	.align	2
.LC3:
	.ascii	"Data : %i\012Rear element deleted succesfully.\012\000"
	.text
	.align	2
	.global	del_e
	.syntax unified
	.arm
	.fpu softvfp
	.type	del_e, %function
del_e:
	@ 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, .L14
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L9
	ldr	r0, .L14+4
	bl	puts
	b	.L8
.L9:
	ldr	r3, .L14
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	cmp	r3, #0
	bne	.L11
	ldr	r3, .L14
	ldr	r3, [r3]
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	ldr	r3, .L14
	ldr	r3, [r3]
	mov	r0, r3
	bl	free
	ldr	r3, .L14
	mov	r2, #0
	str	r2, [r3]
	ldr	r1, [fp, #-8]
	ldr	r0, .L14+8
	bl	printf
	b	.L8
.L11:
	ldr	r3, .L14
	ldr	r3, [r3]
	str	r3, [fp, #-20]
	ldr	r3, .L14
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	b	.L12
.L13:
	ldr	r3, [fp, #-20]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-20]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-20]
.L12:
	ldr	r3, [fp, #-20]
	ldr	r3, [r3, #4]
	cmp	r3, #0
	bne	.L13
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-16]
	mov	r2, #0
	str	r2, [r3, #4]
	ldr	r0, [fp, #-20]
	bl	free
	ldr	r1, [fp, #-12]
	ldr	r0, .L14+8
	bl	printf
	ldr	r3, .L14+12
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L14+12
	str	r3, [r2]
.L8:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L15:
	.align	2
.L14:
	.word	head
	.word	.LC2
	.word	.LC3
	.word	size
	.size	del_e, .-del_e
	.section	.rodata
	.align	2
.LC4:
	.ascii	"\012List is empty.\000"
	.align	2
.LC5:
	.ascii	"\012There are %i elements in list.\012\012Index  Va"
	.ascii	"lue\012-----  -----\012\000"
	.align	2
.LC6:
	.ascii	"%5i  %5i\012\000"
	.text
	.align	2
	.global	print
	.syntax unified
	.arm
	.fpu softvfp
	.type	print, %function
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
	ldr	r3, .L21
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L17
	ldr	r0, .L21+4
	bl	printf
	b	.L16
.L17:
	ldr	r3, .L21
	ldr	r3, [r3]
	str	r3, [fp, #-12]
	mov	r3, #1
	str	r3, [fp, #-8]
	ldr	r3, .L21+8
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L21+12
	bl	printf
	b	.L19
.L20:
	ldr	r3, [fp, #-8]
	add	r2, r3, #1
	str	r2, [fp, #-8]
	ldr	r2, [fp, #-12]
	ldr	r2, [r2]
	mov	r1, r3
	ldr	r0, .L21+16
	bl	printf
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-12]
.L19:
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L20
.L16:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L22:
	.align	2
.L21:
	.word	head
	.word	.LC4
	.word	size
	.word	.LC5
	.word	.LC6
	.size	print, .-print
	.section	.rodata
	.align	2
.LC7:
	.ascii	"\012For exit press 0.\012--- ---- ----- --\012\000"
	.align	2
.LC8:
	.ascii	"\012Select operation:\012------ ----------\012\0121"
	.ascii	".Push         2.POP          3.Display\012------   "
	.ascii	"      -----          ---------\000"
	.align	2
.LC9:
	.ascii	"cls\000"
	.align	2
.LC10:
	.ascii	"\012Enter valid choice.\012\000"
	.align	2
.LC11:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ 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, .L36
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r0, .L36+4
	bl	puts
.L31:
	ldr	r0, .L36+8
	bl	puts
	sub	r3, fp, #12
	mov	r1, r3
	ldr	r0, .L36+12
	bl	__isoc99_scanf
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	beq	.L35
	ldr	r0, .L36+16
	bl	system
	ldr	r3, [fp, #-12]
	cmp	r3, #3
	beq	.L26
	cmp	r3, #3
	bgt	.L27
	cmp	r3, #1
	beq	.L28
	cmp	r3, #2
	beq	.L29
	b	.L27
.L28:
	bl	ins_e
	b	.L30
.L29:
	bl	del_e
	b	.L30
.L26:
	bl	print
	b	.L30
.L27:
	ldr	r0, .L36+20
	bl	puts
.L30:
	b	.L31
.L35:
	nop
	mov	r3, #0
	ldr	r2, .L36
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L33
	bl	__stack_chk_fail
.L33:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L37:
	.align	2
.L36:
	.word	.LC11
	.word	.LC7
	.word	.LC8
	.word	.LC1
	.word	.LC9
	.word	.LC10
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
