	.file	"162643404.c"
	.intel_syntax noprefix
	.text
	.globl	start
	.bss
	.align 8
	.type	start, @object
	.size	start, 8
start:
	.zero	8
	.section	.rodata
.LC0:
	.string	"enter data:"
.LC1:
	.string	"%d"
	.align 8
.LC2:
	.string	"\n list is empty, so new node inserted as start node"
.LC3:
	.string	"\n %d succesfully inserted\n"
	.text
	.globl	insertbeg
	.type	insertbeg, @function
insertbeg:
.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
	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	eax, DWORD PTR [rax]
	mov	DWORD PTR -12[rbp], eax
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 8[rax], 0
	mov	rax, QWORD PTR start[rip]
	test	rax, rax
	jne	.L2
	lea	rdi, .LC2[rip]
	call	puts@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR start[rip], rax
	jmp	.L3
.L2:
	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
.L3:
	mov	eax, DWORD PTR -12[rbp]
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	insertbeg, .-insertbeg
	.section	.rodata
.LC4:
	.string	"\n enter data:"
.LC5:
	.string	"%d is succesfully inserted\n"
	.text
	.globl	insertend
	.type	insertend, @function
insertend:
.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	edi, 16
	call	malloc@PLT
	mov	QWORD PTR -8[rbp], rax
	lea	rdi, .LC4[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	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 start[rip]
	test	rax, rax
	jne	.L5
	lea	rdi, .LC2[rip]
	call	puts@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR start[rip], rax
	jmp	.L6
.L5:
	mov	rax, QWORD PTR start[rip]
	mov	QWORD PTR -16[rbp], rax
	jmp	.L7
.L8:
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -16[rbp], rax
.L7:
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 8[rax]
	test	rax, rax
	jne	.L8
	mov	rax, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR 8[rax], rdx
.L6:
	mov	eax, DWORD PTR -20[rbp]
	mov	esi, eax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	insertend, .-insertend
	.section	.rodata
.LC6:
	.string	"sll is empty"
	.align 8
.LC7:
	.string	"enter data after which no. is to be inserted:"
.LC8:
	.string	"\n data does not exist"
.LC9:
	.string	"%d succesfully inserted\n"
	.text
	.globl	insertmid
	.type	insertmid, @function
insertmid:
.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	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR start[rip]
	mov	QWORD PTR -24[rbp], rax
	mov	edi, 16
	call	malloc@PLT
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR start[rip]
	test	rax, rax
	jne	.L10
	lea	rdi, .LC6[rip]
	call	puts@PLT
.L10:
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -16[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	rax, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -28[rbp], eax
	lea	rdi, .LC7[rip]
	call	puts@PLT
	lea	rax, -32[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	jmp	.L11
.L13:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -24[rbp], rax
.L11:
	cmp	QWORD PTR -24[rbp], 0
	je	.L12
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -32[rbp]
	cmp	edx, eax
	jne	.L13
.L12:
	cmp	QWORD PTR -24[rbp], 0
	jne	.L14
	mov	eax, DWORD PTR -32[rbp]
	mov	esi, eax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L9
.L14:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR -16[rbp]
	mov	QWORD PTR 8[rax], rdx
	mov	eax, DWORD PTR -28[rbp]
	mov	esi, eax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
.L9:
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L16
	call	__stack_chk_fail@PLT
.L16:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	insertmid, .-insertmid
	.section	.rodata
.LC10:
	.string	"\n sll is empty"
.LC11:
	.string	"\n%d is successfully deleted"
	.text
	.globl	deletebeg
	.type	deletebeg, @function
deletebeg:
.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
	mov	rax, QWORD PTR start[rip]
	test	rax, rax
	jne	.L18
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L17
.L18:
	mov	rax, QWORD PTR start[rip]
	mov	rax, QWORD PTR 8[rax]
	test	rax, rax
	jne	.L20
	mov	QWORD PTR start[rip], 0
	jmp	.L21
.L20:
	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	QWORD PTR 8[rax], 0
.L21:
	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	rdi, rax
	call	free@PLT
.L17:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	deletebeg, .-deletebeg
	.section	.rodata
	.align 8
.LC12:
	.string	"sll contains only one element and %d is deleted"
	.text
	.globl	deleteend
	.type	deleteend, @function
deleteend:
.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]
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR start[rip]
	test	rax, rax
	jne	.L23
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L28
.L23:
	mov	rax, QWORD PTR start[rip]
	mov	rax, QWORD PTR 8[rax]
	test	rax, rax
	jne	.L25
	mov	QWORD PTR start[rip], 0
	mov	rax, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	free@PLT
	jmp	.L28
.L25:
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -8[rbp], rax
	jmp	.L26
.L27:
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -16[rbp], rax
	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 -16[rbp]
	mov	QWORD PTR 8[rax], 0
	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	rdi, rax
	call	free@PLT
.L28:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	deleteend, .-deleteend
	.section	.rodata
	.align 8
.LC13:
	.string	"sll contains one element and %d is deleted"
.LC14:
	.string	"enter data to be deleted:"
	.text
	.globl	deletemid
	.type	deletemid, @function
deletemid:
.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 fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR start[rip]
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR start[rip]
	test	rax, rax
	jne	.L30
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L38
.L30:
	mov	rax, QWORD PTR start[rip]
	mov	rax, QWORD PTR 8[rax]
	test	rax, rax
	jne	.L32
	mov	QWORD PTR start[rip], 0
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rax
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L38
.L32:
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -28[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	rax, QWORD PTR start[rip]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -16[rbp], rax
	jmp	.L33
.L35:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -16[rbp], rax
.L33:
	cmp	QWORD PTR -16[rbp], 0
	je	.L34
	mov	rax, QWORD PTR -16[rbp]
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -28[rbp]
	cmp	edx, eax
	jne	.L35
.L34:
	cmp	QWORD PTR -16[rbp], 0
	jne	.L36
	mov	eax, DWORD PTR -28[rbp]
	mov	esi, eax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L38
.L36:
	mov	rax, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR 8[rax], 0
	mov	rax, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	free@PLT
.L38:
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L37
	call	__stack_chk_fail@PLT
.L37:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	deletemid, .-deletemid
	.section	.rodata
.LC15:
	.string	"elements are:"
.LC16:
	.string	"--> %d"
	.text
	.globl	display
	.type	display, @function
display:
.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	rax, QWORD PTR start[rip]
	test	rax, rax
	jne	.L40
	lea	rdi, .LC6[rip]
	call	puts@PLT
	jmp	.L39
.L40:
	lea	rdi, .LC15[rip]
	call	puts@PLT
	mov	rax, QWORD PTR start[rip]
	mov	QWORD PTR -8[rbp], rax
	jmp	.L42
.L43:
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC16[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
.L42:
	cmp	QWORD PTR -8[rbp], 0
	jne	.L43
	nop
.L39:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	display, .-display
	.section	.rodata
	.align 8
.LC17:
	.string	"\n1:insert\n2:delete\n3:display\n4:exit"
.LC18:
	.string	"\nenter choice:"
	.align 8
.LC19:
	.string	"1:insert at beg\n2:insert at end\n3:insert at mid"
	.align 8
.LC20:
	.string	"1:delete at beg\n2:delete at end\n3:delete at mid"
.LC21:
	.string	"program ends"
.LC22:
	.string	"wrong choice"
	.text
	.globl	main
	.type	main, @function
main:
.LFB13:
	.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
.L59:
	lea	rdi, .LC17[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC18[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -16[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -16[rbp]
	cmp	eax, 4
	je	.L45
	cmp	eax, 4
	jg	.L46
	cmp	eax, 3
	je	.L47
	cmp	eax, 3
	jg	.L46
	cmp	eax, 1
	je	.L48
	cmp	eax, 2
	je	.L49
	jmp	.L46
.L48:
	lea	rdi, .LC19[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC18[rip]
	mov	eax, 0
	call	printf@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]
	cmp	eax, 3
	je	.L50
	cmp	eax, 3
	jg	.L61
	cmp	eax, 1
	je	.L52
	cmp	eax, 2
	je	.L53
	jmp	.L61
.L52:
	mov	eax, 0
	call	insertbeg
	jmp	.L51
.L53:
	mov	eax, 0
	call	insertend
	jmp	.L51
.L50:
	mov	eax, 0
	call	insertmid
	nop
.L51:
	jmp	.L61
.L49:
	lea	rdi, .LC20[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC18[rip]
	mov	eax, 0
	call	printf@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]
	cmp	eax, 3
	je	.L55
	cmp	eax, 3
	jg	.L62
	cmp	eax, 1
	je	.L57
	cmp	eax, 2
	je	.L58
	jmp	.L62
.L57:
	mov	eax, 0
	call	deletebeg
	jmp	.L56
.L58:
	mov	eax, 0
	call	deleteend
	jmp	.L56
.L55:
	mov	eax, 0
	call	deletemid
	nop
.L56:
	jmp	.L62
.L47:
	mov	eax, 0
	call	display
	jmp	.L54
.L45:
	lea	rdi, .LC21[rip]
	call	puts@PLT
	jmp	.L54
.L46:
	lea	rdi, .LC22[rip]
	call	puts@PLT
	jmp	.L54
.L61:
	nop
	jmp	.L54
.L62:
	nop
.L54:
	mov	eax, DWORD PTR -16[rbp]
	cmp	eax, 4
	jne	.L59
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L60
	call	__stack_chk_fail@PLT
.L60:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.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	"162643404.c"
	.text
	.global	start
	.bss
	.align	2
	.type	start, %object
	.size	start, 4
start:
	.space	4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"enter data:\000"
	.align	2
.LC1:
	.ascii	"%d\000"
	.align	2
.LC2:
	.ascii	"\012 list is empty, so new node inserted as start n"
	.ascii	"ode\000"
	.align	2
.LC3:
	.ascii	"\012 %d succesfully inserted\012\000"
	.text
	.align	2
	.global	insertbeg
	.syntax unified
	.arm
	.fpu softvfp
	.type	insertbeg, %function
insertbeg:
	@ 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, #-12]
	ldr	r0, .L4
	bl	printf
	ldr	r3, [fp, #-12]
	mov	r1, r3
	ldr	r0, .L4+4
	bl	__isoc99_scanf
	ldr	r3, [fp, #-12]
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-12]
	mov	r2, #0
	str	r2, [r3, #4]
	ldr	r3, .L4+8
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L2
	ldr	r0, .L4+12
	bl	puts
	ldr	r2, .L4+8
	ldr	r3, [fp, #-12]
	str	r3, [r2]
	b	.L3
.L2:
	ldr	r3, .L4+8
	ldr	r2, [r3]
	ldr	r3, [fp, #-12]
	str	r2, [r3, #4]
	ldr	r2, .L4+8
	ldr	r3, [fp, #-12]
	str	r3, [r2]
.L3:
	ldr	r1, [fp, #-8]
	ldr	r0, .L4+16
	bl	printf
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L5:
	.align	2
.L4:
	.word	.LC0
	.word	.LC1
	.word	start
	.word	.LC2
	.word	.LC3
	.size	insertbeg, .-insertbeg
	.section	.rodata
	.align	2
.LC4:
	.ascii	"\012 enter data:\000"
	.align	2
.LC5:
	.ascii	"%d is succesfully inserted\012\000"
	.text
	.align	2
	.global	insertend
	.syntax unified
	.arm
	.fpu softvfp
	.type	insertend, %function
insertend:
	@ 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	r0, #8
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-12]
	ldr	r0, .L11
	bl	printf
	ldr	r3, [fp, #-12]
	mov	r1, r3
	ldr	r0, .L11+4
	bl	__isoc99_scanf
	ldr	r3, [fp, #-12]
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-12]
	mov	r2, #0
	str	r2, [r3, #4]
	ldr	r3, .L11+8
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L7
	ldr	r0, .L11+12
	bl	puts
	ldr	r2, .L11+8
	ldr	r3, [fp, #-12]
	str	r3, [r2]
	b	.L8
.L7:
	ldr	r3, .L11+8
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	b	.L9
.L10:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-16]
.L9:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	cmp	r3, #0
	bne	.L10
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-12]
	str	r2, [r3, #4]
.L8:
	ldr	r1, [fp, #-8]
	ldr	r0, .L11+16
	bl	printf
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L12:
	.align	2
.L11:
	.word	.LC4
	.word	.LC1
	.word	start
	.word	.LC2
	.word	.LC5
	.size	insertend, .-insertend
	.section	.rodata
	.align	2
.LC6:
	.ascii	"sll is empty\000"
	.align	2
.LC7:
	.ascii	"enter data after which no. is to be inserted:\000"
	.align	2
.LC8:
	.ascii	"\012 data does not exist\000"
	.align	2
.LC9:
	.ascii	"%d succesfully inserted\012\000"
	.align	2
.LC10:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	insertmid
	.syntax unified
	.arm
	.fpu softvfp
	.type	insertmid, %function
insertmid:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	ldr	r3, .L21
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L21+4
	ldr	r3, [r3]
	str	r3, [fp, #-20]
	mov	r0, #8
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-16]
	ldr	r3, .L21+4
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L14
	ldr	r0, .L21+8
	bl	puts
.L14:
	ldr	r0, .L21+12
	bl	printf
	ldr	r3, [fp, #-16]
	mov	r1, r3
	ldr	r0, .L21+16
	bl	__isoc99_scanf
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	str	r3, [fp, #-12]
	ldr	r0, .L21+20
	bl	puts
	sub	r3, fp, #24
	mov	r1, r3
	ldr	r0, .L21+16
	bl	__isoc99_scanf
	b	.L15
.L17:
	ldr	r3, [fp, #-20]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-20]
.L15:
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	beq	.L16
	ldr	r3, [fp, #-20]
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	cmp	r2, r3
	bne	.L17
.L16:
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bne	.L18
	ldr	r3, [fp, #-24]
	mov	r1, r3
	ldr	r0, .L21+24
	bl	printf
	b	.L13
.L18:
	ldr	r3, [fp, #-20]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-16]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-16]
	str	r2, [r3, #4]
	ldr	r1, [fp, #-12]
	ldr	r0, .L21+28
	bl	printf
.L13:
	ldr	r3, .L21
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L20
	bl	__stack_chk_fail
.L20:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L22:
	.align	2
.L21:
	.word	.LC10
	.word	start
	.word	.LC6
	.word	.LC4
	.word	.LC1
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.size	insertmid, .-insertmid
	.section	.rodata
	.align	2
.LC11:
	.ascii	"\012 sll is empty\000"
	.align	2
.LC12:
	.ascii	"\012%d is successfully deleted\000"
	.text
	.align	2
	.global	deletebeg
	.syntax unified
	.arm
	.fpu softvfp
	.type	deletebeg, %function
deletebeg:
	@ 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, .L28
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	ldr	r3, .L28
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L24
	ldr	r0, .L28+4
	bl	printf
	b	.L23
.L24:
	ldr	r3, .L28
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	cmp	r3, #0
	bne	.L26
	ldr	r3, .L28
	mov	r2, #0
	str	r2, [r3]
	b	.L27
.L26:
	ldr	r3, .L28
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	ldr	r2, .L28
	str	r3, [r2]
	ldr	r3, [fp, #-8]
	mov	r2, #0
	str	r2, [r3, #4]
.L27:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L28+8
	bl	printf
	ldr	r0, [fp, #-8]
	bl	free
.L23:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L29:
	.align	2
.L28:
	.word	start
	.word	.LC11
	.word	.LC12
	.size	deletebeg, .-deletebeg
	.section	.rodata
	.align	2
.LC13:
	.ascii	"sll contains only one element and %d is deleted\000"
	.text
	.align	2
	.global	deleteend
	.syntax unified
	.arm
	.fpu softvfp
	.type	deleteend, %function
deleteend:
	@ 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, .L37
	ldr	r3, [r3]
	str	r3, [fp, #-12]
	ldr	r3, .L37
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L31
	ldr	r0, .L37+4
	bl	printf
	b	.L36
.L31:
	ldr	r3, .L37
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	cmp	r3, #0
	bne	.L33
	ldr	r3, .L37
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, [fp, #-12]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L37+8
	bl	printf
	ldr	r0, [fp, #-12]
	bl	free
	b	.L36
.L33:
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-8]
	b	.L34
.L35:
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-8]
.L34:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	cmp	r3, #0
	bne	.L35
	ldr	r3, [fp, #-12]
	mov	r2, #0
	str	r2, [r3, #4]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L37+12
	bl	printf
	ldr	r0, [fp, #-8]
	bl	free
.L36:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L38:
	.align	2
.L37:
	.word	start
	.word	.LC11
	.word	.LC13
	.word	.LC12
	.size	deleteend, .-deleteend
	.section	.rodata
	.align	2
.LC14:
	.ascii	"sll contains one element and %d is deleted\000"
	.align	2
.LC15:
	.ascii	"enter data to be deleted:\000"
	.align	2
.LC16:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	deletemid
	.syntax unified
	.arm
	.fpu softvfp
	.type	deletemid, %function
deletemid:
	@ 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, .L49
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L49+4
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	ldr	r3, .L49+4
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L40
	ldr	r0, .L49+8
	bl	printf
	b	.L48
.L40:
	ldr	r3, .L49+4
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	cmp	r3, #0
	bne	.L42
	ldr	r3, .L49+4
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, [fp, #-16]
	mov	r1, r3
	ldr	r0, .L49+12
	bl	printf
	b	.L48
.L42:
	ldr	r0, .L49+16
	bl	printf
	sub	r3, fp, #20
	mov	r1, r3
	ldr	r0, .L49+20
	bl	__isoc99_scanf
	ldr	r3, .L49+4
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-12]
	b	.L43
.L45:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-12]
.L43:
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	beq	.L44
	ldr	r3, [fp, #-12]
	ldr	r2, [r3]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	bne	.L45
.L44:
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L46
	ldr	r3, [fp, #-20]
	mov	r1, r3
	ldr	r0, .L49+24
	bl	printf
	b	.L48
.L46:
	ldr	r3, [fp, #-12]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-16]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-12]
	mov	r2, #0
	str	r2, [r3, #4]
	ldr	r3, [fp, #-12]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L49+28
	bl	printf
	ldr	r0, [fp, #-12]
	bl	free
.L48:
	nop
	ldr	r3, .L49
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L47
	bl	__stack_chk_fail
.L47:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L50:
	.align	2
.L49:
	.word	.LC16
	.word	start
	.word	.LC11
	.word	.LC14
	.word	.LC15
	.word	.LC1
	.word	.LC8
	.word	.LC12
	.size	deletemid, .-deletemid
	.section	.rodata
	.align	2
.LC17:
	.ascii	"elements are:\000"
	.align	2
.LC18:
	.ascii	"--> %d\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, .L56
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L52
	ldr	r0, .L56+4
	bl	puts
	b	.L51
.L52:
	ldr	r0, .L56+8
	bl	puts
	ldr	r3, .L56
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	b	.L54
.L55:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L56+12
	bl	printf
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-8]
.L54:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L55
	nop
.L51:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L57:
	.align	2
.L56:
	.word	start
	.word	.LC6
	.word	.LC17
	.word	.LC18
	.size	display, .-display
	.section	.rodata
	.align	2
.LC19:
	.ascii	"\0121:insert\0122:delete\0123:display\0124:exit\000"
	.align	2
.LC20:
	.ascii	"\012enter choice:\000"
	.align	2
.LC21:
	.ascii	"1:insert at beg\0122:insert at end\0123:insert at m"
	.ascii	"id\000"
	.align	2
.LC22:
	.ascii	"1:delete at beg\0122:delete at end\0123:delete at m"
	.ascii	"id\000"
	.align	2
.LC23:
	.ascii	"program ends\000"
	.align	2
.LC24:
	.ascii	"wrong choice\000"
	.align	2
.LC25:
	.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, .L78
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
.L74:
	ldr	r0, .L78+4
	bl	printf
	ldr	r0, .L78+8
	bl	printf
	sub	r3, fp, #16
	mov	r1, r3
	ldr	r0, .L78+12
	bl	__isoc99_scanf
	ldr	r3, [fp, #-16]
	sub	r3, r3, #1
	cmp	r3, #3
	ldrls	pc, [pc, r3, asl #2]
	b	.L59
.L61:
	.word	.L64
	.word	.L63
	.word	.L62
	.word	.L60
.L64:
	ldr	r0, .L78+16
	bl	printf
	ldr	r0, .L78+8
	bl	printf
	sub	r3, fp, #12
	mov	r1, r3
	ldr	r0, .L78+12
	bl	__isoc99_scanf
	ldr	r3, [fp, #-12]
	cmp	r3, #3
	beq	.L65
	cmp	r3, #3
	bgt	.L76
	cmp	r3, #1
	beq	.L67
	cmp	r3, #2
	beq	.L68
	b	.L76
.L67:
	bl	insertbeg
	b	.L66
.L68:
	bl	insertend
	b	.L66
.L65:
	bl	insertmid
	nop
.L66:
	b	.L76
.L63:
	ldr	r0, .L78+20
	bl	printf
	ldr	r0, .L78+8
	bl	printf
	sub	r3, fp, #12
	mov	r1, r3
	ldr	r0, .L78+12
	bl	__isoc99_scanf
	ldr	r3, [fp, #-12]
	cmp	r3, #3
	beq	.L70
	cmp	r3, #3
	bgt	.L77
	cmp	r3, #1
	beq	.L72
	cmp	r3, #2
	beq	.L73
	b	.L77
.L72:
	bl	deletebeg
	b	.L71
.L73:
	bl	deleteend
	b	.L71
.L70:
	bl	deletemid
	nop
.L71:
	b	.L77
.L62:
	bl	display
	b	.L69
.L60:
	ldr	r0, .L78+24
	bl	puts
	b	.L69
.L59:
	ldr	r0, .L78+28
	bl	puts
	b	.L69
.L76:
	nop
	b	.L69
.L77:
	nop
.L69:
	ldr	r3, [fp, #-16]
	cmp	r3, #4
	bne	.L74
	nop
	ldr	r3, .L78
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L75
	bl	__stack_chk_fail
.L75:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L79:
	.align	2
.L78:
	.word	.LC25
	.word	.LC19
	.word	.LC20
	.word	.LC1
	.word	.LC21
	.word	.LC22
	.word	.LC23
	.word	.LC24
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
