	.file	"11411.c"
	.intel_syntax noprefix
	.text
	.globl	head
	.bss
	.align 8
	.type	head, @object
	.size	head, 8
head:
	.zero	8
	.globl	node
	.align 8
	.type	node, @object
	.size	node, 8
node:
	.zero	8
	.globl	temp
	.align 8
	.type	temp, @object
	.size	temp, 8
temp:
	.zero	8
	.text
	.globl	deleteEnd
	.type	deleteEnd, @function
deleteEnd:
.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, 16
	mov	rax, QWORD PTR head[rip]
	mov	QWORD PTR temp[rip], rax
	jmp	.L2
.L3:
	mov	rax, QWORD PTR temp[rip]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR temp[rip]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR temp[rip], rax
.L2:
	mov	rax, QWORD PTR temp[rip]
	mov	rax, QWORD PTR 8[rax]
	test	rax, rax
	jne	.L3
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 8[rax], 0
	mov	rax, QWORD PTR temp[rip]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR head[rip]
	mov	QWORD PTR temp[rip], rax
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	deleteEnd, .-deleteEnd
	.globl	deleteBeg
	.type	deleteBeg, @function
deleteBeg:
.LFB1:
	.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 head[rip]
	mov	QWORD PTR temp[rip], rax
	mov	rax, QWORD PTR temp[rip]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR temp[rip], rax
	mov	rax, QWORD PTR head[rip]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR temp[rip]
	mov	QWORD PTR head[rip], rax
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	deleteBeg, .-deleteBeg
	.section	.rodata
	.align 8
.LC0:
	.string	"Enter position you want to delete: "
.LC1:
	.string	"%d"
	.text
	.globl	deletePos
	.type	deletePos, @function
deletePos:
.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, 32
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR head[rip]
	mov	QWORD PTR temp[rip], rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -32[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	DWORD PTR -28[rbp], 1
	jmp	.L6
.L7:
	mov	rax, QWORD PTR temp[rip]
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR temp[rip]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR temp[rip], rax
	mov	rax, QWORD PTR temp[rip]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -16[rbp], rax
	add	DWORD PTR -28[rbp], 1
.L6:
	mov	eax, DWORD PTR -32[rbp]
	cmp	DWORD PTR -28[rbp], eax
	jl	.L7
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR -16[rbp]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR temp[rip]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR head[rip]
	mov	QWORD PTR temp[rip], rax
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L8
	call	__stack_chk_fail@PLT
.L8:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	deletePos, .-deletePos
	.section	.rodata
.LC2:
	.string	"The LinkedList is:"
.LC3:
	.string	"%d  "
.LC4:
	.string	"\n"
	.text
	.globl	displayLL
	.type	displayLL, @function
displayLL:
.LFB3:
	.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 head[rip]
	mov	QWORD PTR temp[rip], rax
	lea	rdi, .LC2[rip]
	call	puts@PLT
	jmp	.L10
.L11:
	mov	rax, QWORD PTR temp[rip]
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR temp[rip]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR temp[rip], rax
.L10:
	mov	rax, QWORD PTR temp[rip]
	test	rax, rax
	jne	.L11
	mov	rax, QWORD PTR head[rip]
	mov	QWORD PTR temp[rip], rax
	lea	rdi, .LC4[rip]
	call	puts@PLT
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	displayLL, .-displayLL
	.section	.rodata
.LC5:
	.string	"Enter no. of nodes: "
.LC6:
	.string	"Enter the data: "
	.align 8
.LC7:
	.string	"\n1-Delete at beginning\n2-Delete at end\n3-Delete at any position\n4-Display\n5-Exit\nEnter your choice: "
.LC8:
	.string	"Process Exited"
	.text
	.globl	main
	.type	main, @function
main:
.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	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR head[rip], 0
	mov	QWORD PTR temp[rip], 0
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -20[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	DWORD PTR -12[rbp], 1
	jmp	.L13
.L16:
	mov	edi, 16
	call	malloc@PLT
	mov	QWORD PTR node[rip], rax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR node[rip]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	rax, QWORD PTR head[rip]
	test	rax, rax
	jne	.L14
	mov	rax, QWORD PTR node[rip]
	mov	QWORD PTR temp[rip], rax
	mov	rax, QWORD PTR temp[rip]
	mov	QWORD PTR head[rip], rax
	jmp	.L15
.L14:
	mov	rax, QWORD PTR temp[rip]
	mov	rdx, QWORD PTR node[rip]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR node[rip]
	mov	QWORD PTR temp[rip], rax
.L15:
	add	DWORD PTR -12[rbp], 1
.L13:
	mov	eax, DWORD PTR -20[rbp]
	cmp	DWORD PTR -12[rbp], eax
	jle	.L16
	mov	rax, QWORD PTR temp[rip]
	mov	QWORD PTR 8[rax], 0
.L25:
	lea	rdi, .LC7[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, 5
	ja	.L25
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	lea	rax, .L19[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L19[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L19:
	.long	.L25-.L19
	.long	.L23-.L19
	.long	.L22-.L19
	.long	.L21-.L19
	.long	.L20-.L19
	.long	.L18-.L19
	.text
.L23:
	mov	eax, 0
	call	deleteBeg
	jmp	.L17
.L22:
	mov	eax, 0
	call	deleteEnd
	jmp	.L17
.L21:
	mov	eax, 0
	call	deletePos
	jmp	.L17
.L20:
	mov	eax, 0
	call	displayLL
	jmp	.L17
.L18:
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L26
	jmp	.L27
.L17:
	jmp	.L25
.L27:
	call	__stack_chk_fail@PLT
.L26:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE4:
	.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	"11411.c"
	.text
	.comm	head,4,4
	.comm	node,4,4
	.comm	temp,4,4
	.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, .L4
	ldr	r3, [r3]
	ldr	r2, .L4+4
	str	r3, [r2]
	b	.L2
.L3:
	ldr	r3, .L4+4
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	ldr	r3, .L4+4
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	ldr	r2, .L4+4
	str	r3, [r2]
.L2:
	ldr	r3, .L4+4
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	cmp	r3, #0
	bne	.L3
	ldr	r3, [fp, #-8]
	mov	r2, #0
	str	r2, [r3, #4]
	ldr	r3, .L4+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	free
	ldr	r3, .L4
	ldr	r3, [r3]
	ldr	r2, .L4+4
	str	r3, [r2]
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L5:
	.align	2
.L4:
	.word	head
	.word	temp
	.size	deleteEnd, .-deleteEnd
	.align	2
	.global	deleteBeg
	.syntax unified
	.arm
	.fpu softvfp
	.type	deleteBeg, %function
deleteBeg:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L7
	ldr	r3, [r3]
	ldr	r2, .L7+4
	str	r3, [r2]
	ldr	r3, .L7+4
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	ldr	r2, .L7+4
	str	r3, [r2]
	ldr	r3, .L7
	ldr	r3, [r3]
	mov	r0, r3
	bl	free
	ldr	r3, .L7+4
	ldr	r3, [r3]
	ldr	r2, .L7
	str	r3, [r2]
	nop
	pop	{fp, pc}
.L8:
	.align	2
.L7:
	.word	head
	.word	temp
	.size	deleteBeg, .-deleteBeg
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Enter position you want to delete: \000"
	.align	2
.LC1:
	.ascii	"%d\000"
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	deletePos
	.syntax unified
	.arm
	.fpu softvfp
	.type	deletePos, %function
deletePos:
	@ 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, .L13
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L13+4
	ldr	r3, [r3]
	ldr	r2, .L13+8
	str	r3, [r2]
	ldr	r0, .L13+12
	bl	printf
	sub	r3, fp, #24
	mov	r1, r3
	ldr	r0, .L13+16
	bl	__isoc99_scanf
	mov	r3, #1
	str	r3, [fp, #-12]
	b	.L10
.L11:
	ldr	r3, .L13+8
	ldr	r3, [r3]
	str	r3, [fp, #-20]
	ldr	r3, .L13+8
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	ldr	r2, .L13+8
	str	r3, [r2]
	ldr	r3, .L13+8
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L10:
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	blt	.L11
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-16]
	str	r2, [r3, #4]
	ldr	r3, .L13+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	free
	ldr	r3, .L13+4
	ldr	r3, [r3]
	ldr	r2, .L13+8
	str	r3, [r2]
	nop
	ldr	r3, .L13
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L12
	bl	__stack_chk_fail
.L12:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L14:
	.align	2
.L13:
	.word	.LC2
	.word	head
	.word	temp
	.word	.LC0
	.word	.LC1
	.size	deletePos, .-deletePos
	.section	.rodata
	.align	2
.LC3:
	.ascii	"The LinkedList is:\000"
	.align	2
.LC4:
	.ascii	"%d  \000"
	.align	2
.LC5:
	.ascii	"\012\000"
	.text
	.align	2
	.global	displayLL
	.syntax unified
	.arm
	.fpu softvfp
	.type	displayLL, %function
displayLL:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L18
	ldr	r3, [r3]
	ldr	r2, .L18+4
	str	r3, [r2]
	ldr	r0, .L18+8
	bl	puts
	b	.L16
.L17:
	ldr	r3, .L18+4
	ldr	r3, [r3]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L18+12
	bl	printf
	ldr	r3, .L18+4
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	ldr	r2, .L18+4
	str	r3, [r2]
.L16:
	ldr	r3, .L18+4
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L17
	ldr	r3, .L18
	ldr	r3, [r3]
	ldr	r2, .L18+4
	str	r3, [r2]
	ldr	r0, .L18+16
	bl	puts
	nop
	pop	{fp, pc}
.L19:
	.align	2
.L18:
	.word	head
	.word	temp
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.size	displayLL, .-displayLL
	.section	.rodata
	.align	2
.LC6:
	.ascii	"Enter no. of nodes: \000"
	.align	2
.LC7:
	.ascii	"Enter the data: \000"
	.align	2
.LC8:
	.ascii	"\0121-Delete at beginning\0122-Delete at end\0123-D"
	.ascii	"elete at any position\0124-Display\0125-Exit\012Ent"
	.ascii	"er your choice: \000"
	.align	2
.LC9:
	.ascii	"Process Exited\000"
	.align	2
.LC10:
	.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, .L36
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L36+4
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, .L36+8
	mov	r2, #0
	str	r2, [r3]
	ldr	r0, .L36+12
	bl	printf
	sub	r3, fp, #20
	mov	r1, r3
	ldr	r0, .L36+16
	bl	__isoc99_scanf
	mov	r3, #1
	str	r3, [fp, #-12]
	b	.L21
.L24:
	mov	r0, #8
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L36+20
	str	r2, [r3]
	ldr	r0, .L36+24
	bl	printf
	ldr	r3, .L36+20
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L36+16
	bl	__isoc99_scanf
	ldr	r3, .L36+4
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L22
	ldr	r3, .L36+20
	ldr	r3, [r3]
	ldr	r2, .L36+8
	str	r3, [r2]
	ldr	r3, .L36+8
	ldr	r3, [r3]
	ldr	r2, .L36+4
	str	r3, [r2]
	b	.L23
.L22:
	ldr	r3, .L36+8
	ldr	r3, [r3]
	ldr	r2, .L36+20
	ldr	r2, [r2]
	str	r2, [r3, #4]
	ldr	r3, .L36+20
	ldr	r3, [r3]
	ldr	r2, .L36+8
	str	r3, [r2]
.L23:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L21:
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	ble	.L24
	ldr	r3, .L36+8
	ldr	r3, [r3]
	mov	r2, #0
	str	r2, [r3, #4]
.L33:
	ldr	r0, .L36+28
	bl	printf
	sub	r3, fp, #16
	mov	r1, r3
	ldr	r0, .L36+16
	bl	__isoc99_scanf
	ldr	r3, [fp, #-16]
	sub	r3, r3, #1
	cmp	r3, #4
	ldrls	pc, [pc, r3, asl #2]
	b	.L33
.L27:
	.word	.L31
	.word	.L30
	.word	.L29
	.word	.L28
	.word	.L26
.L31:
	bl	deleteBeg
	b	.L25
.L30:
	bl	deleteEnd
	b	.L25
.L29:
	bl	deletePos
	b	.L25
.L28:
	bl	displayLL
	b	.L25
.L26:
	ldr	r0, .L36+32
	bl	printf
	mov	r3, #0
	ldr	r2, .L36
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L34
	b	.L35
.L25:
	b	.L33
.L35:
	bl	__stack_chk_fail
.L34:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L37:
	.align	2
.L36:
	.word	.LC10
	.word	head
	.word	temp
	.word	.LC6
	.word	.LC1
	.word	node
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
