	.file	"431925.c"
	.intel_syntax noprefix
	.text
	.globl	start
	.bss
	.align 8
	.type	start, @object
	.size	start, 8
start:
	.zero	8
	.globl	end
	.align 8
	.type	end, @object
	.size	end, 8
end:
	.zero	8
	.globl	p1
	.align 8
	.type	p1, @object
	.size	p1, 8
p1:
	.zero	8
	.globl	p2
	.align 8
	.type	p2, @object
	.size	p2, 8
p2:
	.zero	8
	.globl	result
	.align 8
	.type	result, @object
	.size	result, 8
result:
	.zero	8
	.globl	f1
	.align 8
	.type	f1, @object
	.size	f1, 8
f1:
	.zero	8
	.globl	f2
	.align 8
	.type	f2, @object
	.size	f2, 8
f2:
	.zero	8
	.text
	.globl	newNode
	.type	newNode, @function
newNode:
.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	DWORD PTR -20[rbp], edi
	mov	DWORD PTR -24[rbp], esi
	mov	edi, 16
	call	malloc@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, DWORD PTR -24[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, DWORD PTR -20[rbp]
	mov	DWORD PTR 4[rax], edx
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 8[rax], 0
	mov	rax, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	newNode, .-newNode
	.globl	create
	.type	create, @function
create:
.LFB7:
	.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 start[rip], 0
	mov	QWORD PTR end[rip], 0
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	create, .-create
	.globl	insert
	.type	insert, @function
insert:
.LFB8:
	.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
	mov	DWORD PTR -20[rbp], edi
	mov	DWORD PTR -24[rbp], esi
	mov	rax, QWORD PTR start[rip]
	test	rax, rax
	jne	.L5
	mov	edx, DWORD PTR -24[rbp]
	mov	eax, DWORD PTR -20[rbp]
	mov	esi, edx
	mov	edi, eax
	call	newNode
	mov	QWORD PTR end[rip], rax
	mov	rax, QWORD PTR end[rip]
	mov	QWORD PTR start[rip], rax
	jmp	.L7
.L5:
	mov	rbx, QWORD PTR end[rip]
	mov	edx, DWORD PTR -24[rbp]
	mov	eax, DWORD PTR -20[rbp]
	mov	esi, edx
	mov	edi, eax
	call	newNode
	mov	QWORD PTR 8[rbx], rax
	mov	rax, QWORD PTR end[rip]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR end[rip], rax
.L7:
	nop
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	insert, .-insert
	.section	.rodata
.LC0:
	.string	"\nFinal polynomial = "
.LC1:
	.string	"%dx^%d"
.LC2:
	.string	"%d"
.LC3:
	.string	"%dx^%d + "
.LC4:
	.string	"%d "
	.text
	.globl	display
	.type	display, @function
display:
.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
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR result[rip]
	mov	QWORD PTR -8[rbp], rax
	jmp	.L9
.L14:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 8[rax]
	test	rax, rax
	jne	.L10
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	je	.L11
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 4[rax]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L12
.L11:
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 4[rax]
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L12
.L10:
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	je	.L13
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 4[rax]
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L12
.L13:
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 4[rax]
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
.L12:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -8[rbp], rax
.L9:
	cmp	QWORD PTR -8[rbp], 0
	jne	.L14
	mov	edi, 10
	call	putchar@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	display, .-display
	.globl	circularLink
	.type	circularLink, @function
circularLink:
.LFB10:
	.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 end[rip]
	mov	rdx, QWORD PTR start[rip]
	mov	QWORD PTR 8[rax], rdx
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	circularLink, .-circularLink
	.section	.rodata
	.align 8
.LC5:
	.string	"\nEnter number of terms in polynomial 1"
	.align 8
.LC6:
	.string	"\nEnter %d coefficients and exponents\n"
.LC7:
	.string	"%d%d"
	.align 8
.LC8:
	.string	"\nEnter number of terms in polynomial 2"
	.text
	.globl	main
	.type	main, @function
main:
.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	eax, 0
	call	create
	lea	rdi, .LC5[rip]
	call	puts@PLT
	lea	rax, -28[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -28[rbp]
	mov	esi, eax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -12[rbp], 0
	jmp	.L17
.L18:
	lea	rdx, -16[rbp]
	lea	rax, -20[rbp]
	mov	rsi, rax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	edx, DWORD PTR -16[rbp]
	mov	eax, DWORD PTR -20[rbp]
	mov	esi, edx
	mov	edi, eax
	call	insert
	add	DWORD PTR -12[rbp], 1
.L17:
	mov	eax, DWORD PTR -28[rbp]
	cmp	DWORD PTR -12[rbp], eax
	jl	.L18
	mov	esi, 0
	mov	edi, 0
	call	insert
	mov	eax, 0
	call	circularLink
	mov	rax, QWORD PTR start[rip]
	mov	QWORD PTR p1[rip], rax
	mov	eax, 0
	call	create
	lea	rdi, .LC8[rip]
	call	puts@PLT
	lea	rax, -24[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -24[rbp]
	mov	esi, eax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -12[rbp], 0
	jmp	.L19
.L20:
	lea	rdx, -16[rbp]
	lea	rax, -20[rbp]
	mov	rsi, rax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	edx, DWORD PTR -16[rbp]
	mov	eax, DWORD PTR -20[rbp]
	mov	esi, edx
	mov	edi, eax
	call	insert
	add	DWORD PTR -12[rbp], 1
.L19:
	mov	eax, DWORD PTR -24[rbp]
	cmp	DWORD PTR -12[rbp], eax
	jl	.L20
	mov	esi, 0
	mov	edi, 0
	call	insert
	mov	eax, 0
	call	circularLink
	mov	rax, QWORD PTR start[rip]
	mov	QWORD PTR p2[rip], rax
	mov	eax, 0
	call	create
	mov	rax, QWORD PTR p1[rip]
	mov	QWORD PTR f1[rip], rax
	mov	rax, QWORD PTR p2[rip]
	mov	QWORD PTR f2[rip], rax
	jmp	.L21
.L26:
	mov	rax, QWORD PTR p1[rip]
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR p2[rip]
	mov	eax, DWORD PTR [rax]
	cmp	edx, eax
	jne	.L22
	mov	rax, QWORD PTR p1[rip]
	mov	edx, DWORD PTR 4[rax]
	mov	rax, QWORD PTR p2[rip]
	mov	eax, DWORD PTR 4[rax]
	add	eax, edx
	mov	DWORD PTR -20[rbp], eax
	mov	eax, DWORD PTR -20[rbp]
	test	eax, eax
	je	.L23
	mov	rax, QWORD PTR p1[rip]
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -20[rbp]
	mov	esi, edx
	mov	edi, eax
	call	insert
.L23:
	mov	rax, QWORD PTR p2[rip]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR p2[rip], rax
	mov	rax, QWORD PTR p1[rip]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR p1[rip], rax
	jmp	.L21
.L22:
	mov	rax, QWORD PTR p1[rip]
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR p2[rip]
	mov	eax, DWORD PTR [rax]
	cmp	edx, eax
	jle	.L24
	mov	rax, QWORD PTR p1[rip]
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR p1[rip]
	mov	eax, DWORD PTR 4[rax]
	mov	esi, edx
	mov	edi, eax
	call	insert
	mov	rax, QWORD PTR p1[rip]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR p1[rip], rax
	jmp	.L21
.L24:
	mov	rax, QWORD PTR p1[rip]
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR p2[rip]
	mov	eax, DWORD PTR [rax]
	cmp	edx, eax
	jge	.L21
	mov	rax, QWORD PTR p2[rip]
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR p2[rip]
	mov	eax, DWORD PTR 4[rax]
	mov	esi, edx
	mov	edi, eax
	call	insert
	mov	rax, QWORD PTR p2[rip]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR p2[rip], rax
.L21:
	mov	rax, QWORD PTR p1[rip]
	mov	rdx, QWORD PTR 8[rax]
	mov	rax, QWORD PTR f1[rip]
	cmp	rdx, rax
	je	.L27
	mov	rax, QWORD PTR p2[rip]
	mov	rdx, QWORD PTR 8[rax]
	mov	rax, QWORD PTR f2[rip]
	cmp	rdx, rax
	jne	.L26
	jmp	.L27
.L28:
	mov	rax, QWORD PTR p1[rip]
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR p1[rip]
	mov	eax, DWORD PTR 4[rax]
	mov	esi, edx
	mov	edi, eax
	call	insert
	mov	rax, QWORD PTR p1[rip]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR p1[rip], rax
.L27:
	mov	rax, QWORD PTR p1[rip]
	mov	rdx, QWORD PTR 8[rax]
	mov	rax, QWORD PTR f1[rip]
	cmp	rdx, rax
	jne	.L28
	jmp	.L29
.L30:
	mov	rax, QWORD PTR p2[rip]
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR p2[rip]
	mov	eax, DWORD PTR 4[rax]
	mov	esi, edx
	mov	edi, eax
	call	insert
	mov	rax, QWORD PTR p2[rip]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR p2[rip], rax
.L29:
	mov	rax, QWORD PTR p2[rip]
	mov	rdx, QWORD PTR 8[rax]
	mov	rax, QWORD PTR f2[rip]
	cmp	rdx, rax
	jne	.L30
	mov	rax, QWORD PTR start[rip]
	mov	QWORD PTR result[rip], rax
	mov	eax, 0
	call	display
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L32
	call	__stack_chk_fail@PLT
.L32:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.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	"431925.c"
	.text
	.comm	start,4,4
	.comm	end,4,4
	.comm	p1,4,4
	.comm	p2,4,4
	.comm	result,4,4
	.comm	f1,4,4
	.comm	f2,4,4
	.align	2
	.global	newNode
	.syntax unified
	.arm
	.fpu softvfp
	.type	newNode, %function
newNode:
	@ 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]
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-16]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-8]
	mov	r2, #0
	str	r2, [r3, #8]
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	newNode, .-newNode
	.align	2
	.global	create
	.syntax unified
	.arm
	.fpu softvfp
	.type	create, %function
create:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	ldr	r3, .L4
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, .L4+4
	mov	r2, #0
	str	r2, [r3]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L5:
	.align	2
.L4:
	.word	start
	.word	end
	.size	create, .-create
	.align	2
	.global	insert
	.syntax unified
	.arm
	.fpu softvfp
	.type	insert, %function
insert:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #12
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	ldr	r3, .L10
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L7
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-16]
	bl	newNode
	mov	r3, r0
	ldr	r2, .L10+4
	str	r3, [r2]
	ldr	r3, .L10+4
	ldr	r3, [r3]
	ldr	r2, .L10
	str	r3, [r2]
	b	.L9
.L7:
	ldr	r3, .L10+4
	ldr	r4, [r3]
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-16]
	bl	newNode
	mov	r3, r0
	str	r3, [r4, #8]
	ldr	r3, .L10+4
	ldr	r3, [r3]
	ldr	r3, [r3, #8]
	ldr	r2, .L10+4
	str	r3, [r2]
.L9:
	nop
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L11:
	.align	2
.L10:
	.word	start
	.word	end
	.size	insert, .-insert
	.section	.rodata
	.align	2
.LC0:
	.ascii	"\012Final polynomial = \000"
	.align	2
.LC1:
	.ascii	"%dx^%d\000"
	.align	2
.LC2:
	.ascii	"%d\000"
	.align	2
.LC3:
	.ascii	"%dx^%d + \000"
	.align	2
.LC4:
	.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	r0, .L19
	bl	printf
	ldr	r3, .L19+4
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	b	.L13
.L18:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #8]
	cmp	r3, #0
	bne	.L14
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L15
	ldr	r3, [fp, #-8]
	ldr	r1, [r3, #4]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r0, .L19+8
	bl	printf
	b	.L16
.L15:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	mov	r1, r3
	ldr	r0, .L19+12
	bl	printf
	b	.L16
.L14:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L17
	ldr	r3, [fp, #-8]
	ldr	r1, [r3, #4]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r0, .L19+16
	bl	printf
	b	.L16
.L17:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	mov	r1, r3
	ldr	r0, .L19+20
	bl	printf
.L16:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #8]
	str	r3, [fp, #-8]
.L13:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L18
	mov	r0, #10
	bl	putchar
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L20:
	.align	2
.L19:
	.word	.LC0
	.word	result
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.size	display, .-display
	.align	2
	.global	circularLink
	.syntax unified
	.arm
	.fpu softvfp
	.type	circularLink, %function
circularLink:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	ldr	r3, .L22
	ldr	r3, [r3]
	ldr	r2, .L22+4
	ldr	r2, [r2]
	str	r2, [r3, #8]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L23:
	.align	2
.L22:
	.word	end
	.word	start
	.size	circularLink, .-circularLink
	.section	.rodata
	.align	2
.LC5:
	.ascii	"\012Enter number of terms in polynomial 1\000"
	.align	2
.LC6:
	.ascii	"\012Enter %d coefficients and exponents\012\000"
	.align	2
.LC7:
	.ascii	"%d%d\000"
	.align	2
.LC8:
	.ascii	"\012Enter number of terms in polynomial 2\000"
	.align	2
.LC9:
	.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, .L41
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	bl	create
	ldr	r0, .L41+4
	bl	puts
	sub	r3, fp, #28
	mov	r1, r3
	ldr	r0, .L41+8
	bl	__isoc99_scanf
	ldr	r3, [fp, #-28]
	mov	r1, r3
	ldr	r0, .L41+12
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L25
.L26:
	sub	r2, fp, #16
	sub	r3, fp, #20
	mov	r1, r3
	ldr	r0, .L41+16
	bl	__isoc99_scanf
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-16]
	mov	r1, r2
	mov	r0, r3
	bl	insert
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L25:
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	blt	.L26
	mov	r1, #0
	mov	r0, #0
	bl	insert
	bl	circularLink
	ldr	r3, .L41+20
	ldr	r3, [r3]
	ldr	r2, .L41+24
	str	r3, [r2]
	bl	create
	ldr	r0, .L41+28
	bl	puts
	sub	r3, fp, #24
	mov	r1, r3
	ldr	r0, .L41+8
	bl	__isoc99_scanf
	ldr	r3, [fp, #-24]
	mov	r1, r3
	ldr	r0, .L41+12
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L27
.L28:
	sub	r2, fp, #16
	sub	r3, fp, #20
	mov	r1, r3
	ldr	r0, .L41+16
	bl	__isoc99_scanf
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-16]
	mov	r1, r2
	mov	r0, r3
	bl	insert
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L27:
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	blt	.L28
	mov	r1, #0
	mov	r0, #0
	bl	insert
	bl	circularLink
	ldr	r3, .L41+20
	ldr	r3, [r3]
	ldr	r2, .L41+32
	str	r3, [r2]
	bl	create
	ldr	r3, .L41+24
	ldr	r3, [r3]
	ldr	r2, .L41+36
	str	r3, [r2]
	ldr	r3, .L41+32
	ldr	r3, [r3]
	ldr	r2, .L41+40
	str	r3, [r2]
	b	.L29
.L34:
	ldr	r3, .L41+24
	ldr	r3, [r3]
	ldr	r2, [r3]
	ldr	r3, .L41+32
	ldr	r3, [r3]
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L30
	ldr	r3, .L41+24
	ldr	r3, [r3]
	ldr	r2, [r3, #4]
	ldr	r3, .L41+32
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	add	r3, r2, r3
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	beq	.L31
	ldr	r2, [fp, #-20]
	ldr	r3, .L41+24
	ldr	r3, [r3]
	ldr	r3, [r3]
	mov	r1, r3
	mov	r0, r2
	bl	insert
.L31:
	ldr	r3, .L41+32
	ldr	r3, [r3]
	ldr	r3, [r3, #8]
	ldr	r2, .L41+32
	str	r3, [r2]
	ldr	r3, .L41+24
	ldr	r3, [r3]
	ldr	r3, [r3, #8]
	ldr	r2, .L41+24
	str	r3, [r2]
	b	.L29
.L30:
	ldr	r3, .L41+24
	ldr	r3, [r3]
	ldr	r2, [r3]
	ldr	r3, .L41+32
	ldr	r3, [r3]
	ldr	r3, [r3]
	cmp	r2, r3
	ble	.L32
	ldr	r3, .L41+24
	ldr	r3, [r3]
	ldr	r2, [r3, #4]
	ldr	r3, .L41+24
	ldr	r3, [r3]
	ldr	r3, [r3]
	mov	r1, r3
	mov	r0, r2
	bl	insert
	ldr	r3, .L41+24
	ldr	r3, [r3]
	ldr	r3, [r3, #8]
	ldr	r2, .L41+24
	str	r3, [r2]
	b	.L29
.L32:
	ldr	r3, .L41+24
	ldr	r3, [r3]
	ldr	r2, [r3]
	ldr	r3, .L41+32
	ldr	r3, [r3]
	ldr	r3, [r3]
	cmp	r2, r3
	bge	.L29
	ldr	r3, .L41+32
	ldr	r3, [r3]
	ldr	r2, [r3, #4]
	ldr	r3, .L41+32
	ldr	r3, [r3]
	ldr	r3, [r3]
	mov	r1, r3
	mov	r0, r2
	bl	insert
	ldr	r3, .L41+32
	ldr	r3, [r3]
	ldr	r3, [r3, #8]
	ldr	r2, .L41+32
	str	r3, [r2]
.L29:
	ldr	r3, .L41+24
	ldr	r3, [r3]
	ldr	r2, [r3, #8]
	ldr	r3, .L41+36
	ldr	r3, [r3]
	cmp	r2, r3
	beq	.L35
	ldr	r3, .L41+32
	ldr	r3, [r3]
	ldr	r2, [r3, #8]
	ldr	r3, .L41+40
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L34
	b	.L35
.L36:
	ldr	r3, .L41+24
	ldr	r3, [r3]
	ldr	r2, [r3, #4]
	ldr	r3, .L41+24
	ldr	r3, [r3]
	ldr	r3, [r3]
	mov	r1, r3
	mov	r0, r2
	bl	insert
	ldr	r3, .L41+24
	ldr	r3, [r3]
	ldr	r3, [r3, #8]
	ldr	r2, .L41+24
	str	r3, [r2]
.L35:
	ldr	r3, .L41+24
	ldr	r3, [r3]
	ldr	r2, [r3, #8]
	ldr	r3, .L41+36
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L36
	b	.L37
.L38:
	ldr	r3, .L41+32
	ldr	r3, [r3]
	ldr	r2, [r3, #4]
	ldr	r3, .L41+32
	ldr	r3, [r3]
	ldr	r3, [r3]
	mov	r1, r3
	mov	r0, r2
	bl	insert
	ldr	r3, .L41+32
	ldr	r3, [r3]
	ldr	r3, [r3, #8]
	ldr	r2, .L41+32
	str	r3, [r2]
.L37:
	ldr	r3, .L41+32
	ldr	r3, [r3]
	ldr	r2, [r3, #8]
	ldr	r3, .L41+40
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L38
	ldr	r3, .L41+20
	ldr	r3, [r3]
	ldr	r2, .L41+44
	str	r3, [r2]
	bl	display
	mov	r3, #0
	ldr	r2, .L41
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L40
	bl	__stack_chk_fail
.L40:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L42:
	.align	2
.L41:
	.word	.LC9
	.word	.LC5
	.word	.LC2
	.word	.LC6
	.word	.LC7
	.word	start
	.word	p1
	.word	.LC8
	.word	p2
	.word	f1
	.word	f2
	.word	result
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
