	.file	"638924.c"
	.intel_syntax noprefix
	.text
	.globl	head
	.bss
	.align 8
	.type	head, @object
	.size	head, 8
head:
	.zero	8
	.globl	tail
	.align 8
	.type	tail, @object
	.size	tail, 8
tail:
	.zero	8
	.section	.rodata
.LC0:
	.string	"insertAfter('%c', '%c')\n"
	.text
	.globl	insertAfter
	.type	insertAfter, @function
insertAfter:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	eax, esi
	mov	BYTE PTR -28[rbp], al
	mov	edi, 16
	call	malloc@PLT
	mov	QWORD PTR -8[rbp], rax
	movsx	edx, BYTE PTR -28[rbp]
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -8[rbp]
	movzx	edx, BYTE PTR -28[rbp]
	mov	BYTE PTR [rax], dl
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR 8[rax], rdx
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	insertAfter, .-insertAfter
	.section	.rodata
.LC1:
	.string	"Initialized Linked list"
	.text
	.globl	initLinkedList
	.type	initLinkedList, @function
initLinkedList:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	edi, 16
	call	malloc@PLT
	mov	QWORD PTR head[rip], rax
	mov	edi, 16
	call	malloc@PLT
	mov	QWORD PTR tail[rip], rax
	mov	rax, QWORD PTR tail[rip]
	mov	QWORD PTR 8[rax], 0
	mov	rax, QWORD PTR head[rip]
	mov	rdx, QWORD PTR tail[rip]
	mov	QWORD PTR 8[rax], rdx
	lea	rdi, .LC1[rip]
	call	puts@PLT
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	initLinkedList, .-initLinkedList
	.section	.rodata
.LC2:
	.string	"Empty Linked List"
.LC3:
	.string	"searchNode('%c')\n"
	.text
	.globl	searchNode
	.type	searchNode, @function
searchNode:
.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	eax, edi
	mov	BYTE PTR -20[rbp], al
	mov	rax, QWORD PTR head[rip]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR tail[rip]
	cmp	QWORD PTR -8[rbp], rax
	jne	.L4
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L5
.L4:
	movsx	eax, BYTE PTR -20[rbp]
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L6
.L7:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -8[rbp], rax
.L6:
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	BYTE PTR -20[rbp], al
	jne	.L7
.L5:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	searchNode, .-searchNode
	.globl	insertNode
	.type	insertNode, @function
insertNode:
.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	eax, edi
	mov	BYTE PTR -20[rbp], al
	mov	edi, 16
	call	malloc@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR head[rip]
	mov	QWORD PTR -16[rbp], rax
	jmp	.L9
.L10:
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -16[rbp], rax
.L9:
	mov	rax, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR 8[rax]
	mov	rax, QWORD PTR tail[rip]
	cmp	rdx, rax
	jne	.L10
	mov	rax, QWORD PTR -8[rbp]
	movzx	edx, BYTE PTR -20[rbp]
	mov	BYTE PTR [rax], dl
	mov	rdx, QWORD PTR tail[rip]
	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
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	insertNode, .-insertNode
	.section	.rodata
.LC4:
	.string	"Linked List printed"
.LC5:
	.string	"%-3c"
	.text
	.globl	printLinkedList
	.type	printLinkedList, @function
printLinkedList:
.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
	lea	rdi, .LC4[rip]
	call	puts@PLT
	mov	rax, QWORD PTR head[rip]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -8[rbp], rax
	jmp	.L12
.L13:
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	esi, eax
	lea	rdi, .LC5[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
.L12:
	mov	rax, QWORD PTR tail[rip]
	cmp	QWORD PTR -8[rbp], rax
	jne	.L13
	mov	edi, 10
	call	putchar@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	printLinkedList, .-printLinkedList
	.section	.rodata
.LC6:
	.string	"No node to remove"
	.text
	.globl	deleteHeadNextNode
	.type	deleteHeadNextNode, @function
deleteHeadNextNode:
.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, 16
	mov	rax, QWORD PTR head[rip]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR tail[rip]
	cmp	QWORD PTR -8[rbp], rax
	jne	.L15
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L14
.L15:
	mov	rax, QWORD PTR head[rip]
	mov	rdx, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR 8[rdx]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	free@PLT
.L14:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	deleteHeadNextNode, .-deleteHeadNextNode
	.section	.rodata
.LC7:
	.string	"Node exists"
.LC8:
	.string	"Node doesn't exist"
	.text
	.globl	main
	.type	main, @function
main:
.LFB12:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 24
	.cfi_offset 3, -24
	call	initLinkedList
	mov	edi, 65
	call	insertNode
	mov	edi, 66
	call	insertNode
	mov	edi, 67
	call	insertNode
	call	printLinkedList
	call	deleteHeadNextNode
	call	printLinkedList
	mov	edi, 66
	call	searchNode
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 8[rax]
	test	rax, rax
	je	.L18
	lea	rdi, .LC7[rip]
	call	puts@PLT
	jmp	.L19
.L18:
	lea	rdi, .LC8[rip]
	call	puts@PLT
.L19:
	mov	edi, 88
	call	searchNode
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 8[rax]
	test	rax, rax
	je	.L20
	lea	rdi, .LC7[rip]
	call	puts@PLT
	jmp	.L21
.L20:
	lea	rdi, .LC8[rip]
	call	puts@PLT
.L21:
	mov	rax, QWORD PTR -24[rbp]
	movsx	ebx, al
	mov	edi, 66
	call	searchNode
	mov	esi, ebx
	mov	rdi, rax
	call	insertAfter
	mov	eax, 0
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.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	"638924.c"
	.text
	.comm	head,4,4
	.comm	tail,4,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"insertAfter('%c', '%c')\012\000"
	.text
	.align	2
	.global	insertAfter
	.syntax unified
	.arm
	.fpu softvfp
	.type	insertAfter, %function
insertAfter:
	@ 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]
	mov	r3, r1
	strb	r3, [fp, #-17]
	mov	r0, #8
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r1, r3
	ldrb	r3, [fp, #-17]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r0, .L2
	bl	printf
	ldr	r3, [fp, #-8]
	ldrb	r2, [fp, #-17]
	strb	r2, [r3]
	ldr	r3, [fp, #-16]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-8]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-8]
	str	r2, [r3, #4]
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L3:
	.align	2
.L2:
	.word	.LC0
	.size	insertAfter, .-insertAfter
	.section	.rodata
	.align	2
.LC1:
	.ascii	"Initialized Linked list\000"
	.text
	.align	2
	.global	initLinkedList
	.syntax unified
	.arm
	.fpu softvfp
	.type	initLinkedList, %function
initLinkedList:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	mov	r0, #8
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L5
	str	r2, [r3]
	mov	r0, #8
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L5+4
	str	r2, [r3]
	ldr	r3, .L5+4
	ldr	r3, [r3]
	mov	r2, #0
	str	r2, [r3, #4]
	ldr	r3, .L5
	ldr	r3, [r3]
	ldr	r2, .L5+4
	ldr	r2, [r2]
	str	r2, [r3, #4]
	ldr	r0, .L5+8
	bl	puts
	nop
	pop	{fp, pc}
.L6:
	.align	2
.L5:
	.word	head
	.word	tail
	.word	.LC1
	.size	initLinkedList, .-initLinkedList
	.section	.rodata
	.align	2
.LC2:
	.ascii	"Empty Linked List\000"
	.align	2
.LC3:
	.ascii	"searchNode('%c')\012\000"
	.text
	.align	2
	.global	searchNode
	.syntax unified
	.arm
	.fpu softvfp
	.type	searchNode, %function
searchNode:
	@ 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, r0
	strb	r3, [fp, #-13]
	ldr	r3, .L12
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-8]
	ldr	r3, .L12+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	bne	.L8
	ldr	r0, .L12+8
	bl	printf
	b	.L9
.L8:
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, .L12+12
	bl	printf
	b	.L10
.L11:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-8]
.L10:
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3]	@ zero_extendqisi2
	ldrb	r2, [fp, #-13]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L11
.L9:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L13:
	.align	2
.L12:
	.word	head
	.word	tail
	.word	.LC2
	.word	.LC3
	.size	searchNode, .-searchNode
	.align	2
	.global	insertNode
	.syntax unified
	.arm
	.fpu softvfp
	.type	insertNode, %function
insertNode:
	@ 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, r0
	strb	r3, [fp, #-13]
	mov	r0, #8
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, .L17
	ldr	r3, [r3]
	str	r3, [fp, #-12]
	b	.L15
.L16:
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-12]
.L15:
	ldr	r3, [fp, #-12]
	ldr	r2, [r3, #4]
	ldr	r3, .L17+4
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L16
	ldr	r3, [fp, #-8]
	ldrb	r2, [fp, #-13]
	strb	r2, [r3]
	ldr	r3, .L17+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-8]
	str	r2, [r3, #4]
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L18:
	.align	2
.L17:
	.word	head
	.word	tail
	.size	insertNode, .-insertNode
	.section	.rodata
	.align	2
.LC4:
	.ascii	"Linked List printed\000"
	.align	2
.LC5:
	.ascii	"%-3c\000"
	.text
	.align	2
	.global	printLinkedList
	.syntax unified
	.arm
	.fpu softvfp
	.type	printLinkedList, %function
printLinkedList:
	@ 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	r0, .L22
	bl	puts
	ldr	r3, .L22+4
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-8]
	b	.L20
.L21:
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, .L22+8
	bl	printf
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-8]
.L20:
	ldr	r3, .L22+12
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	bne	.L21
	mov	r0, #10
	bl	putchar
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L23:
	.align	2
.L22:
	.word	.LC4
	.word	head
	.word	.LC5
	.word	tail
	.size	printLinkedList, .-printLinkedList
	.section	.rodata
	.align	2
.LC6:
	.ascii	"No node to remove\000"
	.text
	.align	2
	.global	deleteHeadNextNode
	.syntax unified
	.arm
	.fpu softvfp
	.type	deleteHeadNextNode, %function
deleteHeadNextNode:
	@ 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, .L27
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-8]
	ldr	r3, .L27+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	bne	.L25
	ldr	r0, .L27+8
	bl	printf
	b	.L24
.L25:
	ldr	r3, .L27
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	ldr	r2, [r2, #4]
	str	r2, [r3, #4]
	ldr	r0, [fp, #-8]
	bl	free
.L24:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L28:
	.align	2
.L27:
	.word	head
	.word	tail
	.word	.LC6
	.size	deleteHeadNextNode, .-deleteHeadNextNode
	.section	.rodata
	.align	2
.LC7:
	.ascii	"Node exists\000"
	.align	2
.LC8:
	.ascii	"Node doesn't exist\000"
	.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
	bl	initLinkedList
	mov	r0, #65
	bl	insertNode
	mov	r0, #66
	bl	insertNode
	mov	r0, #67
	bl	insertNode
	bl	printLinkedList
	bl	deleteHeadNextNode
	bl	printLinkedList
	mov	r0, #66
	bl	searchNode
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	cmp	r3, #0
	beq	.L30
	ldr	r0, .L35
	bl	puts
	b	.L31
.L30:
	ldr	r0, .L35+4
	bl	puts
.L31:
	mov	r0, #88
	bl	searchNode
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	cmp	r3, #0
	beq	.L32
	ldr	r0, .L35
	bl	puts
	b	.L33
.L32:
	ldr	r0, .L35+4
	bl	puts
.L33:
	mov	r0, #66
	bl	searchNode
	mov	r2, r0
	ldr	r3, [fp, #-8]
	and	r3, r3, #255
	mov	r1, r3
	mov	r0, r2
	bl	insertAfter
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L36:
	.align	2
.L35:
	.word	.LC7
	.word	.LC8
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
