	.file	"387330.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"\nDOUBLY LINKED LIST"
	.align 8
.LC1:
	.string	"\n-----------MAIN MENU------------"
.LC2:
	.string	"\n1.Insert"
.LC3:
	.string	"\n2.Add Begin"
.LC4:
	.string	"\n3.Add End"
.LC5:
	.string	"\n4.Add After"
.LC6:
	.string	"\n5.Delete Begin"
.LC7:
	.string	"\n6.Delete End"
.LC8:
	.string	"\n7.Delete Node"
.LC9:
	.string	"\n8.Delete After"
.LC10:
	.string	"\n9.Search"
.LC11:
	.string	"\n10.Display"
.LC12:
	.string	"\n11.Exit"
.LC13:
	.string	"\nEnter Choice: "
.LC14:
	.string	"%d"
.LC15:
	.string	"\nEnter Element: "
.LC16:
	.string	"\n%d Added\n"
.LC17:
	.string	"\nDOUBLY LINKED LIST IS EMPTY"
.LC18:
	.string	"\n%d Added New Head\n"
.LC19:
	.string	"\n%d Added at end\n"
	.align 8
.LC20:
	.string	"\nEnter value after which element is to be added: "
.LC21:
	.string	"\n%d NOT FOUND\n"
.LC22:
	.string	"\n%d Deleted\n"
.LC23:
	.string	"\nEnter value to deleted: "
.LC24:
	.string	"\nEnter Value: "
.LC25:
	.string	"\nEnter Value to be Searched: "
.LC26:
	.string	"\n%d FOUND at position %d\n"
	.align 8
.LC27:
	.string	"\nDisplaying Doubly Linked List.............\n"
.LC28:
	.string	"\nWRONG CHOICE"
	.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, 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -24[rbp], 0
	mov	QWORD PTR -16[rbp], 0
	lea	rdi, .LC0[rip]
	call	puts@PLT
.L33:
	lea	rdi, .LC1[rip]
	call	puts@PLT
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC12[rip]
	call	puts@PLT
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -36[rbp]
	mov	rsi, rax
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -36[rbp]
	cmp	eax, 11
	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	.L14-.L4
	.long	.L13-.L4
	.long	.L12-.L4
	.long	.L11-.L4
	.long	.L10-.L4
	.long	.L9-.L4
	.long	.L8-.L4
	.long	.L7-.L4
	.long	.L6-.L4
	.long	.L5-.L4
	.long	.L36-.L4
	.text
.L14:
	lea	rdi, .LC15[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -32[rbp]
	mov	rsi, rax
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	edx, DWORD PTR -32[rbp]
	lea	rax, -24[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	insert
	mov	eax, DWORD PTR -32[rbp]
	mov	esi, eax
	lea	rdi, .LC16[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L15
.L13:
	mov	rax, QWORD PTR -24[rbp]
	test	rax, rax
	jne	.L16
	lea	rdi, .LC17[rip]
	call	puts@PLT
	jmp	.L15
.L16:
	lea	rdi, .LC15[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -32[rbp]
	mov	rsi, rax
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	edx, DWORD PTR -32[rbp]
	lea	rax, -24[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	add_begin
	mov	eax, DWORD PTR -32[rbp]
	mov	esi, eax
	lea	rdi, .LC18[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L15
.L12:
	mov	rax, QWORD PTR -24[rbp]
	test	rax, rax
	jne	.L17
	lea	rdi, .LC17[rip]
	call	puts@PLT
	jmp	.L15
.L17:
	lea	rdi, .LC15[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -32[rbp]
	mov	rsi, rax
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	edx, DWORD PTR -32[rbp]
	lea	rax, -24[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	add_end
	mov	eax, DWORD PTR -32[rbp]
	mov	esi, eax
	lea	rdi, .LC19[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L15
.L11:
	mov	rax, QWORD PTR -24[rbp]
	test	rax, rax
	jne	.L18
	lea	rdi, .LC17[rip]
	call	puts@PLT
	jmp	.L15
.L18:
	lea	rdi, .LC20[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -28[rbp]
	mov	rsi, rax
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	ecx, DWORD PTR -28[rbp]
	lea	rdx, -32[rbp]
	lea	rax, -24[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	search
	mov	QWORD PTR -16[rbp], rax
	cmp	QWORD PTR -16[rbp], 0
	jne	.L19
	mov	eax, DWORD PTR -28[rbp]
	mov	esi, eax
	lea	rdi, .LC21[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L15
.L19:
	lea	rdi, .LC15[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -32[rbp]
	mov	rsi, rax
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	ecx, DWORD PTR -32[rbp]
	mov	rdx, QWORD PTR -16[rbp]
	lea	rax, -24[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	add_after
	mov	eax, DWORD PTR -32[rbp]
	mov	esi, eax
	lea	rdi, .LC16[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L15
.L10:
	mov	rax, QWORD PTR -24[rbp]
	test	rax, rax
	jne	.L21
	lea	rdi, .LC17[rip]
	call	puts@PLT
	jmp	.L15
.L21:
	lea	rdx, -32[rbp]
	lea	rax, -24[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	delete_begin
	mov	eax, DWORD PTR -32[rbp]
	mov	esi, eax
	lea	rdi, .LC22[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L15
.L9:
	mov	rax, QWORD PTR -24[rbp]
	test	rax, rax
	jne	.L22
	lea	rdi, .LC17[rip]
	call	puts@PLT
	jmp	.L15
.L22:
	lea	rdx, -32[rbp]
	lea	rax, -24[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	delete_end
	mov	eax, DWORD PTR -32[rbp]
	mov	esi, eax
	lea	rdi, .LC22[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L15
.L8:
	mov	rax, QWORD PTR -24[rbp]
	test	rax, rax
	jne	.L23
	lea	rdi, .LC17[rip]
	call	puts@PLT
	jmp	.L15
.L23:
	lea	rdi, .LC23[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -28[rbp]
	mov	rsi, rax
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	ecx, DWORD PTR -28[rbp]
	lea	rdx, -32[rbp]
	lea	rax, -24[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	search
	mov	QWORD PTR -16[rbp], rax
	cmp	QWORD PTR -16[rbp], 0
	jne	.L24
	mov	eax, DWORD PTR -28[rbp]
	mov	esi, eax
	lea	rdi, .LC21[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L15
.L24:
	mov	rdx, QWORD PTR -16[rbp]
	lea	rcx, -32[rbp]
	lea	rax, -24[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	delete_node
	mov	eax, DWORD PTR -28[rbp]
	mov	esi, eax
	lea	rdi, .LC22[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L15
.L7:
	mov	rax, QWORD PTR -24[rbp]
	test	rax, rax
	jne	.L26
	lea	rdi, .LC17[rip]
	call	puts@PLT
	jmp	.L15
.L26:
	lea	rdi, .LC24[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -28[rbp]
	mov	rsi, rax
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	ecx, DWORD PTR -28[rbp]
	lea	rdx, -32[rbp]
	lea	rax, -24[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	search
	mov	QWORD PTR -16[rbp], rax
	cmp	QWORD PTR -16[rbp], 0
	jne	.L27
	mov	eax, DWORD PTR -28[rbp]
	mov	esi, eax
	lea	rdi, .LC21[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L15
.L27:
	mov	rdx, QWORD PTR -16[rbp]
	lea	rcx, -32[rbp]
	lea	rax, -24[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	delete_after
	mov	eax, DWORD PTR -32[rbp]
	mov	esi, eax
	lea	rdi, .LC22[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L15
.L6:
	mov	rax, QWORD PTR -24[rbp]
	test	rax, rax
	jne	.L29
	lea	rdi, .LC17[rip]
	call	puts@PLT
	jmp	.L15
.L29:
	lea	rdi, .LC25[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -28[rbp]
	mov	rsi, rax
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	ecx, DWORD PTR -28[rbp]
	lea	rdx, -32[rbp]
	lea	rax, -24[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	search
	mov	eax, DWORD PTR -32[rbp]
	cmp	eax, -1
	jne	.L30
	mov	eax, DWORD PTR -28[rbp]
	mov	esi, eax
	lea	rdi, .LC21[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L15
.L30:
	mov	eax, DWORD PTR -32[rbp]
	lea	edx, 1[rax]
	mov	eax, DWORD PTR -28[rbp]
	mov	esi, eax
	lea	rdi, .LC26[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L15
.L5:
	mov	rax, QWORD PTR -24[rbp]
	test	rax, rax
	jne	.L32
	lea	rdi, .LC17[rip]
	call	puts@PLT
	jmp	.L15
.L32:
	lea	rdi, .LC27[rip]
	call	puts@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	display
	mov	edi, 10
	call	putchar@PLT
	jmp	.L15
.L2:
	lea	rdi, .LC28[rip]
	call	puts@PLT
	jmp	.L15
.L36:
	nop
.L15:
	mov	eax, DWORD PTR -36[rbp]
	cmp	eax, 11
	jne	.L33
	mov	edi, 10
	call	putchar@PLT
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L35
	call	__stack_chk_fail@PLT
.L35:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.globl	insert
	.type	insert, @function
insert:
.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	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	edi, 24
	call	malloc@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	QWORD PTR -16[rbp], 0
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, DWORD PTR -28[rbp]
	mov	DWORD PTR 8[rax], edx
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 16[rax], 0
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	jne	.L38
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR [rax], 0
	jmp	.L37
.L38:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -16[rbp], rax
	jmp	.L40
.L41:
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR -16[rbp], rax
.L40:
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 16[rax]
	test	rax, rax
	jne	.L41
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR -16[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR 16[rax], rdx
	nop
.L37:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	insert, .-insert
	.globl	add_begin
	.type	add_begin, @function
add_begin:
.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	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	edi, 24
	call	malloc@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, DWORD PTR -28[rbp]
	mov	DWORD PTR 8[rax], edx
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 16[rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR [rax], 0
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR [rax], rdx
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	add_begin, .-add_begin
	.globl	add_end
	.type	add_end, @function
add_end:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	edi, 24
	call	malloc@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, DWORD PTR -28[rbp]
	mov	DWORD PTR 8[rax], edx
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 16[rax], 0
	jmp	.L46
.L47:
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR -16[rbp], rax
.L46:
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 16[rax]
	test	rax, rax
	jne	.L47
	mov	rax, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR 16[rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR -16[rbp]
	mov	QWORD PTR [rax], rdx
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	add_end, .-add_end
	.globl	add_after
	.type	add_after, @function
add_after:
.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, 48
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	QWORD PTR -40[rbp], rdx
	mov	edi, 24
	call	malloc@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, DWORD PTR -28[rbp]
	mov	DWORD PTR 8[rax], edx
	mov	rax, QWORD PTR -40[rbp]
	mov	rdx, QWORD PTR 16[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 16[rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR -40[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -40[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR 16[rax], rdx
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	add_after, .-add_after
	.globl	delete_begin
	.type	delete_begin, @function
delete_begin:
.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	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdx, QWORD PTR 16[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, DWORD PTR 8[rax]
	mov	rax, QWORD PTR -32[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	je	.L54
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR [rax], 0
	nop
.L54:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	delete_begin, .-delete_begin
	.globl	delete_end
	.type	delete_end, @function
delete_end:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rax, QWORD PTR 16[rax]
	test	rax, rax
	jne	.L56
	mov	rdx, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	delete_begin
	jmp	.L55
.L56:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -8[rbp], rax
	jmp	.L58
.L59:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR -8[rbp], rax
.L58:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	rax, QWORD PTR 16[rax]
	test	rax, rax
	jne	.L59
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	edx, DWORD PTR 8[rax]
	mov	rax, QWORD PTR -32[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 16[rax], 0
	nop
.L55:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	delete_end, .-delete_end
	.globl	delete_node
	.type	delete_node, @function
delete_node:
.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, 48
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	QWORD PTR -40[rbp], rdx
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	cmp	QWORD PTR -40[rbp], rax
	jne	.L61
	mov	rdx, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	delete_begin
	jmp	.L60
.L61:
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 16[rax]
	test	rax, rax
	jne	.L63
	mov	rdx, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	delete_end
	jmp	.L60
.L63:
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -40[rbp]
	mov	rdx, QWORD PTR 16[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 16[rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR [rax], rdx
	nop
.L60:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	delete_node, .-delete_node
	.section	.rodata
.LC29:
	.string	"\nCANNOT DELETE AFTER %d\n"
	.text
	.globl	delete_after
	.type	delete_after, @function
delete_after:
.LFB14:
	.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 -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	mov	QWORD PTR -24[rbp], rdx
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 16[rax]
	test	rax, rax
	jne	.L65
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 8[rax]
	mov	esi, eax
	lea	rdi, .LC29[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -16[rbp]
	mov	DWORD PTR [rax], 0
	jmp	.L64
.L65:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	edx, DWORD PTR 8[rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	rdx, QWORD PTR 16[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR 16[rax], rdx
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	rdi, rax
	call	free@PLT
	nop
.L64:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	delete_after, .-delete_after
	.globl	search
	.type	search, @function
search:
.LFB15:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	QWORD PTR -40[rbp], rdx
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -16[rbp], rax
	mov	QWORD PTR -8[rbp], 0
	mov	rax, QWORD PTR -40[rbp]
	mov	DWORD PTR [rax], 0
	jmp	.L68
.L70:
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR [rax]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR -40[rbp]
	mov	DWORD PTR [rax], edx
.L68:
	cmp	QWORD PTR -16[rbp], 0
	je	.L69
	mov	rax, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR 8[rax]
	cmp	DWORD PTR -28[rbp], eax
	jne	.L70
.L69:
	cmp	QWORD PTR -16[rbp], 0
	jne	.L71
	mov	rax, QWORD PTR -40[rbp]
	mov	DWORD PTR [rax], -1
	jmp	.L72
.L71:
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR -8[rbp], rax
.L72:
	mov	rax, QWORD PTR -8[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE15:
	.size	search, .-search
	.section	.rodata
.LC30:
	.string	"   %d"
	.text
	.globl	display
	.type	display, @function
display:
.LFB16:
	.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
	jmp	.L75
.L76:
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 8[rax]
	mov	esi, eax
	lea	rdi, .LC30[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR -8[rbp], rax
.L75:
	cmp	QWORD PTR -8[rbp], 0
	jne	.L76
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE16:
	.size	display, .-display
	.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	"387330.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"\012DOUBLY LINKED LIST\000"
	.align	2
.LC1:
	.ascii	"\012-----------MAIN MENU------------\000"
	.align	2
.LC2:
	.ascii	"\0121.Insert\000"
	.align	2
.LC3:
	.ascii	"\0122.Add Begin\000"
	.align	2
.LC4:
	.ascii	"\0123.Add End\000"
	.align	2
.LC5:
	.ascii	"\0124.Add After\000"
	.align	2
.LC6:
	.ascii	"\0125.Delete Begin\000"
	.align	2
.LC7:
	.ascii	"\0126.Delete End\000"
	.align	2
.LC8:
	.ascii	"\0127.Delete Node\000"
	.align	2
.LC9:
	.ascii	"\0128.Delete After\000"
	.align	2
.LC10:
	.ascii	"\0129.Search\000"
	.align	2
.LC11:
	.ascii	"\01210.Display\000"
	.align	2
.LC12:
	.ascii	"\01211.Exit\000"
	.align	2
.LC13:
	.ascii	"\012Enter Choice: \000"
	.align	2
.LC14:
	.ascii	"%d\000"
	.align	2
.LC15:
	.ascii	"\012Enter Element: \000"
	.align	2
.LC16:
	.ascii	"\012%d Added\012\000"
	.align	2
.LC17:
	.ascii	"\012DOUBLY LINKED LIST IS EMPTY\000"
	.align	2
.LC18:
	.ascii	"\012%d Added New Head\012\000"
	.align	2
.LC19:
	.ascii	"\012%d Added at end\012\000"
	.align	2
.LC20:
	.ascii	"\012Enter value after which element is to be added:"
	.ascii	" \000"
	.align	2
.LC21:
	.ascii	"\012%d NOT FOUND\012\000"
	.align	2
.LC22:
	.ascii	"\012%d Deleted\012\000"
	.align	2
.LC23:
	.ascii	"\012Enter value to deleted: \000"
	.align	2
.LC24:
	.ascii	"\012Enter Value: \000"
	.align	2
.LC25:
	.ascii	"\012Enter Value to be Searched: \000"
	.align	2
.LC26:
	.ascii	"\012%d FOUND at position %d\012\000"
	.align	2
.LC27:
	.ascii	"\012Displaying Doubly Linked List.............\012\000"
	.align	2
.LC28:
	.ascii	"\012WRONG CHOICE\000"
	.align	2
.LC29:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ 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, .L37
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-12]
	ldr	r0, .L37+4
	bl	puts
.L33:
	ldr	r0, .L37+8
	bl	puts
	ldr	r0, .L37+12
	bl	printf
	ldr	r0, .L37+16
	bl	printf
	ldr	r0, .L37+20
	bl	printf
	ldr	r0, .L37+24
	bl	printf
	ldr	r0, .L37+28
	bl	printf
	ldr	r0, .L37+32
	bl	printf
	ldr	r0, .L37+36
	bl	printf
	ldr	r0, .L37+40
	bl	printf
	ldr	r0, .L37+44
	bl	printf
	ldr	r0, .L37+48
	bl	printf
	ldr	r0, .L37+52
	bl	puts
	ldr	r0, .L37+56
	bl	printf
	sub	r3, fp, #28
	mov	r1, r3
	ldr	r0, .L37+60
	bl	__isoc99_scanf
	ldr	r3, [fp, #-28]
	sub	r3, r3, #1
	cmp	r3, #10
	ldrls	pc, [pc, r3, asl #2]
	b	.L2
.L4:
	.word	.L14
	.word	.L13
	.word	.L12
	.word	.L11
	.word	.L10
	.word	.L9
	.word	.L8
	.word	.L7
	.word	.L6
	.word	.L5
	.word	.L36
.L14:
	ldr	r0, .L37+64
	bl	printf
	sub	r3, fp, #24
	mov	r1, r3
	ldr	r0, .L37+60
	bl	__isoc99_scanf
	ldr	r2, [fp, #-24]
	sub	r3, fp, #16
	mov	r1, r2
	mov	r0, r3
	bl	insert
	ldr	r3, [fp, #-24]
	mov	r1, r3
	ldr	r0, .L37+68
	bl	printf
	b	.L15
.L13:
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L16
	ldr	r0, .L37+72
	bl	puts
	b	.L15
.L16:
	ldr	r0, .L37+64
	bl	printf
	sub	r3, fp, #24
	mov	r1, r3
	ldr	r0, .L37+60
	bl	__isoc99_scanf
	ldr	r2, [fp, #-24]
	sub	r3, fp, #16
	mov	r1, r2
	mov	r0, r3
	bl	add_begin
	ldr	r3, [fp, #-24]
	mov	r1, r3
	ldr	r0, .L37+76
	bl	printf
	b	.L15
.L12:
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L17
	ldr	r0, .L37+72
	bl	puts
	b	.L15
.L17:
	ldr	r0, .L37+64
	bl	printf
	sub	r3, fp, #24
	mov	r1, r3
	ldr	r0, .L37+60
	bl	__isoc99_scanf
	ldr	r2, [fp, #-24]
	sub	r3, fp, #16
	mov	r1, r2
	mov	r0, r3
	bl	add_end
	ldr	r3, [fp, #-24]
	mov	r1, r3
	ldr	r0, .L37+80
	bl	printf
	b	.L15
.L11:
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L18
	ldr	r0, .L37+72
	bl	puts
	b	.L15
.L18:
	ldr	r0, .L37+84
	bl	printf
	sub	r3, fp, #20
	mov	r1, r3
	ldr	r0, .L37+60
	bl	__isoc99_scanf
	ldr	r1, [fp, #-20]
	sub	r2, fp, #24
	sub	r3, fp, #16
	mov	r0, r3
	bl	search
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L19
	ldr	r3, [fp, #-20]
	mov	r1, r3
	ldr	r0, .L37+88
	bl	printf
	b	.L15
.L19:
	ldr	r0, .L37+64
	bl	printf
	sub	r3, fp, #24
	mov	r1, r3
	ldr	r0, .L37+60
	bl	__isoc99_scanf
	ldr	r1, [fp, #-24]
	sub	r3, fp, #16
	ldr	r2, [fp, #-12]
	mov	r0, r3
	bl	add_after
	ldr	r3, [fp, #-24]
	mov	r1, r3
	ldr	r0, .L37+68
	bl	printf
	b	.L15
.L10:
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L21
	ldr	r0, .L37+72
	bl	puts
	b	.L15
.L21:
	sub	r2, fp, #24
	sub	r3, fp, #16
	mov	r1, r2
	mov	r0, r3
	bl	delete_begin
	ldr	r3, [fp, #-24]
	mov	r1, r3
	ldr	r0, .L37+92
	bl	printf
	b	.L15
.L9:
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L22
	ldr	r0, .L37+72
	bl	puts
	b	.L15
.L22:
	sub	r2, fp, #24
	sub	r3, fp, #16
	mov	r1, r2
	mov	r0, r3
	bl	delete_end
	ldr	r3, [fp, #-24]
	mov	r1, r3
	ldr	r0, .L37+92
	bl	printf
	b	.L15
.L8:
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L23
	ldr	r0, .L37+72
	bl	puts
	b	.L15
.L23:
	ldr	r0, .L37+96
	bl	printf
	sub	r3, fp, #20
	mov	r1, r3
	ldr	r0, .L37+60
	bl	__isoc99_scanf
	ldr	r1, [fp, #-20]
	sub	r2, fp, #24
	sub	r3, fp, #16
	mov	r0, r3
	bl	search
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L24
	ldr	r3, [fp, #-20]
	mov	r1, r3
	ldr	r0, .L37+88
	bl	printf
	b	.L15
.L24:
	sub	r1, fp, #24
	sub	r3, fp, #16
	ldr	r2, [fp, #-12]
	mov	r0, r3
	bl	delete_node
	ldr	r3, [fp, #-20]
	mov	r1, r3
	ldr	r0, .L37+92
	bl	printf
	b	.L15
.L7:
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L26
	ldr	r0, .L37+72
	bl	puts
	b	.L15
.L26:
	ldr	r0, .L37+100
	bl	printf
	sub	r3, fp, #20
	mov	r1, r3
	ldr	r0, .L37+60
	bl	__isoc99_scanf
	ldr	r1, [fp, #-20]
	sub	r2, fp, #24
	sub	r3, fp, #16
	mov	r0, r3
	bl	search
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L27
	ldr	r3, [fp, #-20]
	mov	r1, r3
	ldr	r0, .L37+88
	bl	printf
	b	.L15
.L27:
	sub	r1, fp, #24
	sub	r3, fp, #16
	ldr	r2, [fp, #-12]
	mov	r0, r3
	bl	delete_after
	ldr	r3, [fp, #-24]
	mov	r1, r3
	ldr	r0, .L37+92
	bl	printf
	b	.L15
.L6:
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L29
	ldr	r0, .L37+72
	bl	puts
	b	.L15
.L29:
	ldr	r0, .L37+104
	bl	printf
	sub	r3, fp, #20
	mov	r1, r3
	ldr	r0, .L37+60
	bl	__isoc99_scanf
	ldr	r1, [fp, #-20]
	sub	r2, fp, #24
	sub	r3, fp, #16
	mov	r0, r3
	bl	search
	ldr	r3, [fp, #-24]
	cmn	r3, #1
	bne	.L30
	ldr	r3, [fp, #-20]
	mov	r1, r3
	ldr	r0, .L37+88
	bl	printf
	b	.L15
.L30:
	ldr	r1, [fp, #-20]
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	mov	r2, r3
	ldr	r0, .L37+108
	bl	printf
	b	.L15
.L5:
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L32
	ldr	r0, .L37+72
	bl	puts
	b	.L15
.L32:
	ldr	r0, .L37+112
	bl	puts
	ldr	r3, [fp, #-16]
	mov	r0, r3
	bl	display
	mov	r0, #10
	bl	putchar
	b	.L15
.L2:
	ldr	r0, .L37+116
	bl	puts
	b	.L15
.L36:
	nop
.L15:
	ldr	r3, [fp, #-28]
	cmp	r3, #11
	bne	.L33
	mov	r0, #10
	bl	putchar
	mov	r3, #0
	ldr	r2, .L37
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L35
	bl	__stack_chk_fail
.L35:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L38:
	.align	2
.L37:
	.word	.LC29
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.word	.LC18
	.word	.LC19
	.word	.LC20
	.word	.LC21
	.word	.LC22
	.word	.LC23
	.word	.LC24
	.word	.LC25
	.word	.LC26
	.word	.LC27
	.word	.LC28
	.size	main, .-main
	.align	2
	.global	insert
	.syntax unified
	.arm
	.fpu softvfp
	.type	insert, %function
insert:
	@ 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]
	str	r1, [fp, #-20]
	mov	r0, #12
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-20]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-8]
	mov	r2, #0
	str	r2, [r3, #8]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L40
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-8]
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	mov	r2, #0
	str	r2, [r3]
	b	.L39
.L40:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	str	r3, [fp, #-12]
	b	.L42
.L43:
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #8]
	str	r3, [fp, #-12]
.L42:
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #8]
	cmp	r3, #0
	bne	.L43
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-12]
	str	r2, [r3]
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-8]
	str	r2, [r3, #8]
	nop
.L39:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	insert, .-insert
	.align	2
	.global	add_begin
	.syntax unified
	.arm
	.fpu softvfp
	.type	add_begin, %function
add_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]
	str	r1, [fp, #-20]
	mov	r0, #12
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-20]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-16]
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	str	r2, [r3, #8]
	ldr	r3, [fp, #-8]
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-8]
	str	r2, [r3]
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	add_begin, .-add_begin
	.align	2
	.global	add_end
	.syntax unified
	.arm
	.fpu softvfp
	.type	add_end, %function
add_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]
	str	r1, [fp, #-20]
	mov	r0, #12
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-20]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-8]
	mov	r2, #0
	str	r2, [r3, #8]
	b	.L48
.L49:
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #8]
	str	r3, [fp, #-12]
.L48:
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #8]
	cmp	r3, #0
	bne	.L49
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-8]
	str	r2, [r3, #8]
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-12]
	str	r2, [r3]
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	add_end, .-add_end
	.align	2
	.global	add_after
	.syntax unified
	.arm
	.fpu softvfp
	.type	add_after, %function
add_after:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	mov	r0, #12
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-20]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-24]
	ldr	r2, [r3, #8]
	ldr	r3, [fp, #-8]
	str	r2, [r3, #8]
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-24]
	str	r2, [r3]
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-8]
	str	r2, [r3, #8]
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	add_after, .-add_after
	.align	2
	.global	delete_begin
	.syntax unified
	.arm
	.fpu softvfp
	.type	delete_begin, %function
delete_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]
	str	r1, [fp, #-20]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldr	r2, [r3, #8]
	ldr	r3, [fp, #-16]
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-20]
	str	r2, [r3]
	ldr	r0, [fp, #-8]
	bl	free
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L56
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	mov	r2, #0
	str	r2, [r3]
	nop
.L56:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	delete_begin, .-delete_begin
	.align	2
	.global	delete_end
	.syntax unified
	.arm
	.fpu softvfp
	.type	delete_end, %function
delete_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]
	str	r1, [fp, #-20]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldr	r3, [r3, #8]
	cmp	r3, #0
	bne	.L58
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-16]
	bl	delete_begin
	b	.L57
.L58:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	b	.L60
.L61:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #8]
	str	r3, [fp, #-8]
.L60:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #8]
	ldr	r3, [r3, #8]
	cmp	r3, #0
	bne	.L61
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #8]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-20]
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #8]
	mov	r0, r3
	bl	free
	ldr	r3, [fp, #-8]
	mov	r2, #0
	str	r2, [r3, #8]
	nop
.L57:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	delete_end, .-delete_end
	.align	2
	.global	delete_node
	.syntax unified
	.arm
	.fpu softvfp
	.type	delete_node, %function
delete_node:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldr	r2, [fp, #-24]
	cmp	r2, r3
	bne	.L63
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-16]
	bl	delete_begin
	b	.L62
.L63:
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #8]
	cmp	r3, #0
	bne	.L65
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-16]
	bl	delete_end
	b	.L62
.L65:
	ldr	r3, [fp, #-24]
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-24]
	ldr	r2, [r3, #8]
	ldr	r3, [fp, #-8]
	str	r2, [r3, #8]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #8]
	ldr	r2, [fp, #-8]
	str	r2, [r3]
	nop
.L62:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	delete_node, .-delete_node
	.section	.rodata
	.align	2
.LC30:
	.ascii	"\012CANNOT DELETE AFTER %d\012\000"
	.text
	.align	2
	.global	delete_after
	.syntax unified
	.arm
	.fpu softvfp
	.type	delete_after, %function
delete_after:
	@ 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, #-8]
	str	r1, [fp, #-12]
	str	r2, [fp, #-16]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #8]
	cmp	r3, #0
	bne	.L67
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	mov	r1, r3
	ldr	r0, .L69
	bl	printf
	ldr	r3, [fp, #-12]
	mov	r2, #0
	str	r2, [r3]
	b	.L66
.L67:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #8]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-12]
	str	r2, [r3]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #8]
	ldr	r2, [r3, #8]
	ldr	r3, [fp, #-16]
	str	r2, [r3, #8]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #8]
	mov	r0, r3
	bl	free
	nop
.L66:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L70:
	.align	2
.L69:
	.word	.LC30
	.size	delete_after, .-delete_after
	.align	2
	.global	search
	.syntax unified
	.arm
	.fpu softvfp
	.type	search, %function
search:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #28
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-24]
	mov	r2, #0
	str	r2, [r3]
	b	.L72
.L74:
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #8]
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r3, [fp, #-24]
	str	r2, [r3]
.L72:
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	beq	.L73
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #4]
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	bne	.L74
.L73:
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L75
	ldr	r3, [fp, #-24]
	mvn	r2, #0
	str	r2, [r3]
	b	.L76
.L75:
	ldr	r3, [fp, #-12]
	str	r3, [fp, #-8]
.L76:
	ldr	r3, [fp, #-8]
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	search, .-search
	.section	.rodata
	.align	2
.LC31:
	.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
	str	r0, [fp, #-8]
	b	.L79
.L80:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	mov	r1, r3
	ldr	r0, .L82
	bl	printf
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #8]
	str	r3, [fp, #-8]
.L79:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L80
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L83:
	.align	2
.L82:
	.word	.LC31
	.size	display, .-display
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
