	.file	"691427.c"
	.intel_syntax noprefix
	.text
	.globl	start
	.bss
	.align 8
	.type	start, @object
	.size	start, 8
start:
	.zero	8
	.section	.rodata
	.align 8
.LC0:
	.string	"\n1.insertatend\n2.insertatbeg\n3.delfront\n4.delrear\n5.display\n6.free"
.LC1:
	.string	"enter the choice"
.LC2:
	.string	"%d"
.LC3:
	.string	"\n INSERTION SUCCESSFUL"
.LC4:
	.string	"\n invalid choice"
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.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
.L11:
	mov	edi, 16
	call	malloc@PLT
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR 8[rax], 0
	lea	rdi, .LC0[rip]
	call	puts@PLT
	lea	rdi, .LC1[rip]
	call	puts@PLT
	lea	rax, -20[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, 6
	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	.L9-.L4
	.long	.L8-.L4
	.long	.L7-.L4
	.long	.L6-.L4
	.long	.L5-.L4
	.long	.L3-.L4
	.text
.L9:
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	insertatend
	lea	rdi, .LC3[rip]
	call	puts@PLT
	jmp	.L10
.L8:
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	insertatbeg
	lea	rdi, .LC3[rip]
	call	puts@PLT
	jmp	.L10
.L7:
	mov	eax, 0
	call	delfront
	jmp	.L10
.L6:
	mov	eax, 0
	call	delrear
	jmp	.L10
.L5:
	mov	eax, 0
	call	display
	jmp	.L10
.L3:
	mov	eax, 0
	call	freed
	jmp	.L10
.L2:
	lea	rdi, .LC4[rip]
	call	puts@PLT
.L10:
	jmp	.L11
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC5:
	.string	"\nenter the data which you want to store"
	.text
	.globl	insertatend
	.type	insertatend, @function
insertatend:
.LFB1:
	.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
	lea	rdi, .LC5[rip]
	call	puts@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	rax, QWORD PTR start[rip]
	test	rax, rax
	jne	.L14
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR start[rip], rax
	jmp	.L18
.L14:
	mov	rax, QWORD PTR start[rip]
	mov	QWORD PTR -8[rbp], rax
	jmp	.L16
.L17:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -8[rbp], rax
.L16:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 8[rax]
	test	rax, rax
	jne	.L17
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR -24[rbp]
	mov	QWORD PTR 8[rax], rdx
.L18:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	insertatend, .-insertatend
	.globl	insertatbeg
	.type	insertatbeg, @function
insertatbeg:
.LFB2:
	.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
	lea	rdi, .LC5[rip]
	call	puts@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	rax, QWORD PTR start[rip]
	test	rax, rax
	jne	.L20
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR start[rip], rax
	jmp	.L22
.L20:
	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
.L22:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	insertatbeg, .-insertatbeg
	.section	.rodata
.LC6:
	.string	"\nthe list is empty"
.LC7:
	.string	"the deleted element is %d"
	.text
	.globl	delfront
	.type	delfront, @function
delfront:
.LFB3:
	.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	.L24
	lea	rdi, .LC6[rip]
	call	puts@PLT
	jmp	.L26
.L24:
	mov	rax, QWORD PTR start[rip]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR start[rip]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR start[rip], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	free@PLT
.L26:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	delfront, .-delfront
	.globl	delrear
	.type	delrear, @function
delrear:
.LFB4:
	.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 -24[rbp], 0
	mov	rax, QWORD PTR start[rip]
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR start[rip]
	test	rax, rax
	jne	.L30
	lea	rdi, .LC6[rip]
	call	puts@PLT
	jmp	.L34
.L31:
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -16[rbp], rax
	add	DWORD PTR -24[rbp], 1
.L30:
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 8[rax]
	test	rax, rax
	jne	.L31
	mov	rax, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR start[rip]
	mov	QWORD PTR -8[rbp], rax
	mov	DWORD PTR -20[rbp], 1
	jmp	.L32
.L33:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -8[rbp], rax
	add	DWORD PTR -20[rbp], 1
.L32:
	mov	eax, DWORD PTR -24[rbp]
	cmp	eax, DWORD PTR -20[rbp]
	jg	.L33
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 8[rax], 0
.L34:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE4:
	.size	delrear, .-delrear
	.section	.rodata
.LC8:
	.string	"\t%d\t"
	.text
	.globl	display
	.type	display, @function
display:
.LFB5:
	.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	.L36
	lea	rdi, .LC6[rip]
	call	puts@PLT
	jmp	.L40
.L36:
	mov	rax, QWORD PTR start[rip]
	mov	QWORD PTR -8[rbp], rax
	jmp	.L38
.L39:
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC8[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
.L38:
	cmp	QWORD PTR -8[rbp], 0
	jne	.L39
.L40:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE5:
	.size	display, .-display
	.globl	freed
	.type	freed, @function
freed:
.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 start[rip]
	mov	rdi, rax
	call	free@PLT
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	freed, .-freed
	.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	"691427.c"
	.text
	.global	start
	.bss
	.align	2
	.type	start, %object
	.size	start, 4
start:
	.space	4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"\0121.insertatend\0122.insertatbeg\0123.delfront\012"
	.ascii	"4.delrear\0125.display\0126.free\000"
	.align	2
.LC1:
	.ascii	"enter the choice\000"
	.align	2
.LC2:
	.ascii	"%d\000"
	.align	2
.LC3:
	.ascii	"\012 INSERTION SUCCESSFUL\000"
	.align	2
.LC4:
	.ascii	"\012 invalid choice\000"
	.align	2
.LC5:
	.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, .L13
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
.L11:
	mov	r0, #8
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	mov	r2, #0
	str	r2, [r3, #4]
	ldr	r0, .L13+4
	bl	puts
	ldr	r0, .L13+8
	bl	puts
	sub	r3, fp, #16
	mov	r1, r3
	ldr	r0, .L13+12
	bl	__isoc99_scanf
	ldr	r3, [fp, #-16]
	sub	r3, r3, #1
	cmp	r3, #5
	ldrls	pc, [pc, r3, asl #2]
	b	.L2
.L4:
	.word	.L9
	.word	.L8
	.word	.L7
	.word	.L6
	.word	.L5
	.word	.L3
.L9:
	ldr	r0, [fp, #-12]
	bl	insertatend
	ldr	r0, .L13+16
	bl	puts
	b	.L10
.L8:
	ldr	r0, [fp, #-12]
	bl	insertatbeg
	ldr	r0, .L13+16
	bl	puts
	b	.L10
.L7:
	bl	delfront
	b	.L10
.L6:
	bl	delrear
	b	.L10
.L5:
	bl	display
	b	.L10
.L3:
	bl	freed
	b	.L10
.L2:
	ldr	r0, .L13+20
	bl	puts
.L10:
	b	.L11
.L14:
	.align	2
.L13:
	.word	.LC5
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.size	main, .-main
	.section	.rodata
	.align	2
.LC6:
	.ascii	"\012enter the data which you want to store\000"
	.text
	.align	2
	.global	insertatend
	.syntax unified
	.arm
	.fpu softvfp
	.type	insertatend, %function
insertatend:
	@ 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]
	ldr	r0, .L21
	bl	puts
	ldr	r3, [fp, #-16]
	mov	r1, r3
	ldr	r0, .L21+4
	bl	__isoc99_scanf
	ldr	r3, .L21+8
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L16
	ldr	r2, .L21+8
	ldr	r3, [fp, #-16]
	str	r3, [r2]
	b	.L20
.L16:
	ldr	r3, .L21+8
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	b	.L18
.L19:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-8]
.L18:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	cmp	r3, #0
	bne	.L19
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-16]
	str	r2, [r3, #4]
.L20:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L22:
	.align	2
.L21:
	.word	.LC6
	.word	.LC2
	.word	start
	.size	insertatend, .-insertatend
	.align	2
	.global	insertatbeg
	.syntax unified
	.arm
	.fpu softvfp
	.type	insertatbeg, %function
insertatbeg:
	@ 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, .L27
	bl	puts
	ldr	r3, [fp, #-8]
	mov	r1, r3
	ldr	r0, .L27+4
	bl	__isoc99_scanf
	ldr	r3, .L27+8
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L24
	ldr	r2, .L27+8
	ldr	r3, [fp, #-8]
	str	r3, [r2]
	b	.L26
.L24:
	ldr	r3, .L27+8
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	str	r2, [r3, #4]
	ldr	r2, .L27+8
	ldr	r3, [fp, #-8]
	str	r3, [r2]
.L26:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L28:
	.align	2
.L27:
	.word	.LC6
	.word	.LC2
	.word	start
	.size	insertatbeg, .-insertatbeg
	.section	.rodata
	.align	2
.LC7:
	.ascii	"\012the list is empty\000"
	.align	2
.LC8:
	.ascii	"the deleted element is %d\000"
	.text
	.align	2
	.global	delfront
	.syntax unified
	.arm
	.fpu softvfp
	.type	delfront, %function
delfront:
	@ 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, .L33
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L30
	ldr	r0, .L33+4
	bl	puts
	b	.L32
.L30:
	ldr	r3, .L33
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	ldr	r3, .L33
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	ldr	r2, .L33
	str	r3, [r2]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L33+8
	bl	printf
	ldr	r0, [fp, #-8]
	bl	free
.L32:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L34:
	.align	2
.L33:
	.word	start
	.word	.LC7
	.word	.LC8
	.size	delfront, .-delfront
	.align	2
	.global	delrear
	.syntax unified
	.arm
	.fpu softvfp
	.type	delrear, %function
delrear:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	mov	r3, #0
	str	r3, [fp, #-12]
	ldr	r3, .L43
	ldr	r3, [r3]
	str	r3, [fp, #-20]
	ldr	r3, .L43
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L38
	ldr	r0, .L43+4
	bl	puts
	b	.L42
.L39:
	ldr	r3, [fp, #-20]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L38:
	ldr	r3, [fp, #-20]
	ldr	r3, [r3, #4]
	cmp	r3, #0
	bne	.L39
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L43+8
	bl	printf
	ldr	r0, [fp, #-20]
	bl	free
	ldr	r3, .L43
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3, #1
	str	r3, [fp, #-8]
	b	.L40
.L41:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L40:
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-8]
	cmp	r2, r3
	bgt	.L41
	ldr	r3, [fp, #-16]
	mov	r2, #0
	str	r2, [r3, #4]
.L42:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L44:
	.align	2
.L43:
	.word	start
	.word	.LC7
	.word	.LC8
	.size	delrear, .-delrear
	.section	.rodata
	.align	2
.LC9:
	.ascii	"\011%d\011\000"
	.text
	.align	2
	.global	display
	.syntax unified
	.arm
	.fpu softvfp
	.type	display, %function
display:
	@ 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, .L51
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L46
	ldr	r0, .L51+4
	bl	puts
	b	.L50
.L46:
	ldr	r3, .L51
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	b	.L48
.L49:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L51+8
	bl	printf
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-8]
.L48:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L49
.L50:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L52:
	.align	2
.L51:
	.word	start
	.word	.LC7
	.word	.LC9
	.size	display, .-display
	.align	2
	.global	freed
	.syntax unified
	.arm
	.fpu softvfp
	.type	freed, %function
freed:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L54
	ldr	r3, [r3]
	mov	r0, r3
	bl	free
	nop
	mov	r0, r3
	pop	{fp, pc}
.L55:
	.align	2
.L54:
	.word	start
	.size	freed, .-freed
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
