	.file	"729037.c"
	.intel_syntax noprefix
	.text
	.globl	order
	.bss
	.align 8
	.type	order, @object
	.size	order, 12
order:
	.zero	12
	.section	.rodata
	.align 8
.LC0:
	.string	"Enter %dth power coefficient: "
.LC1:
	.string	"%d"
	.text
	.globl	insert_beg
	.type	insert_beg, @function
insert_beg:
.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	QWORD PTR -40[rbp], rdi
	mov	DWORD PTR -44[rbp], esi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -20[rbp], 0
	jmp	.L2
.L5:
	mov	eax, DWORD PTR -20[rbp]
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -24[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	edi, 16
	call	malloc@PLT
	mov	QWORD PTR -16[rbp], rax
	mov	edx, DWORD PTR -24[rbp]
	mov	rax, QWORD PTR -16[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR 8[rax], 0
	cmp	QWORD PTR -40[rbp], 0
	jne	.L3
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR -40[rbp], rax
	jmp	.L4
.L3:
	mov	rax, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR -40[rbp]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR -40[rbp], rax
.L4:
	add	DWORD PTR -20[rbp], 1
.L2:
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, DWORD PTR -44[rbp]
	jle	.L5
	mov	rax, QWORD PTR -40[rbp]
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L7
	call	__stack_chk_fail@PLT
.L7:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	insert_beg, .-insert_beg
	.section	.rodata
.LC2:
	.string	"List is empty."
.LC3:
	.string	" (%d)(x^%d)  "
	.text
	.globl	display
	.type	display, @function
display:
.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, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	DWORD PTR -12[rbp], esi
	mov	edi, 10
	call	putchar@PLT
	cmp	QWORD PTR -8[rbp], 0
	jne	.L11
	lea	rdi, .LC2[rip]
	call	puts@PLT
	jmp	.L8
.L12:
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	mov	edx, DWORD PTR -12[rbp]
	mov	esi, eax
	lea	rdi, .LC3[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
	sub	DWORD PTR -12[rbp], 1
.L11:
	cmp	QWORD PTR -8[rbp], 0
	jne	.L12
	mov	edi, 10
	call	putchar@PLT
.L8:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	display, .-display
	.globl	add_poly
	.type	add_poly, @function
add_poly:
.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, 96
	mov	QWORD PTR -88[rbp], rdi
	mov	QWORD PTR -96[rbp], rsi
	mov	eax, DWORD PTR order[rip+4]
	mov	DWORD PTR -64[rbp], eax
	mov	eax, DWORD PTR order[rip+8]
	mov	DWORD PTR -60[rbp], eax
	mov	eax, DWORD PTR -64[rbp]
	cmp	DWORD PTR -60[rbp], eax
	cmovge	eax, DWORD PTR -60[rbp]
	mov	DWORD PTR order[rip], eax
	mov	eax, DWORD PTR -64[rbp]
	cmp	eax, DWORD PTR -60[rbp]
	jle	.L14
	mov	DWORD PTR -76[rbp], 0
	jmp	.L15
.L18:
	mov	edi, 16
	call	malloc@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -88[rbp]
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 8[rax], 0
	cmp	DWORD PTR -76[rbp], 0
	jne	.L16
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR -48[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR -56[rbp], rax
	jmp	.L17
.L16:
	mov	rax, QWORD PTR -48[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR 8[rax], rdx
.L17:
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR -48[rbp], rax
	mov	rax, QWORD PTR -88[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -88[rbp], rax
	add	DWORD PTR -76[rbp], 1
.L15:
	mov	eax, DWORD PTR -64[rbp]
	sub	eax, DWORD PTR -60[rbp]
	cmp	DWORD PTR -76[rbp], eax
	jl	.L18
	jmp	.L19
.L20:
	mov	edi, 16
	call	malloc@PLT
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -88[rbp]
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -96[rbp]
	mov	eax, DWORD PTR [rax]
	add	edx, eax
	mov	rax, QWORD PTR -16[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR 8[rax], 0
	mov	rax, QWORD PTR -48[rbp]
	mov	rdx, QWORD PTR -16[rbp]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR -48[rbp], rax
	mov	rax, QWORD PTR -88[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -88[rbp], rax
	mov	rax, QWORD PTR -96[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -96[rbp], rax
.L19:
	cmp	QWORD PTR -88[rbp], 0
	jne	.L20
	jmp	.L21
.L14:
	mov	eax, DWORD PTR -64[rbp]
	cmp	eax, DWORD PTR -60[rbp]
	jge	.L22
	mov	DWORD PTR -72[rbp], 0
	jmp	.L23
.L26:
	mov	edi, 16
	call	malloc@PLT
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -96[rbp]
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR 8[rax], 0
	cmp	DWORD PTR -72[rbp], 0
	jne	.L24
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR -48[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR -56[rbp], rax
	jmp	.L25
.L24:
	mov	rax, QWORD PTR -48[rbp]
	mov	rdx, QWORD PTR -24[rbp]
	mov	QWORD PTR 8[rax], rdx
.L25:
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR -48[rbp], rax
	mov	rax, QWORD PTR -96[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -96[rbp], rax
	add	DWORD PTR -72[rbp], 1
.L23:
	mov	eax, DWORD PTR -60[rbp]
	sub	eax, DWORD PTR -64[rbp]
	cmp	DWORD PTR -72[rbp], eax
	jl	.L26
	jmp	.L27
.L28:
	mov	edi, 16
	call	malloc@PLT
	mov	QWORD PTR -32[rbp], rax
	mov	rax, QWORD PTR -88[rbp]
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -96[rbp]
	mov	eax, DWORD PTR [rax]
	add	edx, eax
	mov	rax, QWORD PTR -32[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -32[rbp]
	mov	QWORD PTR 8[rax], 0
	mov	rax, QWORD PTR -48[rbp]
	mov	rdx, QWORD PTR -32[rbp]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR -32[rbp]
	mov	QWORD PTR -48[rbp], rax
	mov	rax, QWORD PTR -88[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -88[rbp], rax
	mov	rax, QWORD PTR -96[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -96[rbp], rax
.L27:
	cmp	QWORD PTR -88[rbp], 0
	jne	.L28
	jmp	.L21
.L22:
	mov	DWORD PTR -68[rbp], 0
	jmp	.L29
.L34:
	mov	edi, 16
	call	malloc@PLT
	mov	QWORD PTR -40[rbp], rax
	mov	rax, QWORD PTR -88[rbp]
	mov	eax, DWORD PTR [rax]
	lea	edx, [rax+rax]
	mov	rax, QWORD PTR -40[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -40[rbp]
	mov	QWORD PTR 8[rax], 0
	cmp	DWORD PTR -68[rbp], 0
	jne	.L32
	mov	rax, QWORD PTR -40[rbp]
	mov	QWORD PTR -48[rbp], rax
	mov	rax, QWORD PTR -40[rbp]
	mov	QWORD PTR -56[rbp], rax
	jmp	.L31
.L33:
	mov	rax, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -48[rbp], rax
.L32:
	mov	rax, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR 8[rax]
	test	rax, rax
	jne	.L33
	mov	rax, QWORD PTR -48[rbp]
	mov	rdx, QWORD PTR -40[rbp]
	mov	QWORD PTR 8[rax], rdx
.L31:
	mov	rax, QWORD PTR -88[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -88[rbp], rax
	mov	rax, QWORD PTR -96[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -96[rbp], rax
	add	DWORD PTR -68[rbp], 1
.L29:
	mov	eax, DWORD PTR -68[rbp]
	cmp	eax, DWORD PTR -60[rbp]
	jle	.L34
.L21:
	mov	rax, QWORD PTR -56[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	add_poly, .-add_poly
	.section	.rodata
	.align 8
.LC4:
	.string	"Choose:\n1.Insert polynomial P1 & P2.\n2.display P1 & P2 & P3.\n3.Add P1 & P2.\n4.exit"
.LC5:
	.string	"Order of polynomial P1: "
.LC6:
	.string	"Order of polynomial P2: "
.LC7:
	.string	"P1:"
.LC8:
	.string	"\nP2:"
.LC9:
	.string	"\nP3:"
.LC10:
	.string	"Enter proper choice!!!"
	.text
	.globl	main
	.type	main, @function
main:
.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, 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -32[rbp], 0
	mov	QWORD PTR -24[rbp], 0
	mov	QWORD PTR -16[rbp], 0
.L43:
	mov	edi, 10
	call	putchar@PLT
	lea	rdi, .LC4[rip]
	call	puts@PLT
	lea	rax, -36[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -36[rbp]
	cmp	eax, 4
	je	.L37
	cmp	eax, 4
	jg	.L38
	cmp	eax, 3
	je	.L39
	cmp	eax, 3
	jg	.L38
	cmp	eax, 1
	je	.L40
	cmp	eax, 2
	je	.L41
	jmp	.L38
.L40:
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rsi, order[rip+4]
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	edx, DWORD PTR order[rip+4]
	mov	rax, QWORD PTR -32[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	insert_beg
	mov	QWORD PTR -32[rbp], rax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rsi, order[rip+8]
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	edx, DWORD PTR order[rip+8]
	mov	rax, QWORD PTR -24[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	insert_beg
	mov	QWORD PTR -24[rbp], rax
	jmp	.L42
.L41:
	lea	rdi, .LC7[rip]
	call	puts@PLT
	mov	edx, DWORD PTR order[rip+4]
	mov	rax, QWORD PTR -32[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	display
	lea	rdi, .LC8[rip]
	call	puts@PLT
	mov	edx, DWORD PTR order[rip+8]
	mov	rax, QWORD PTR -24[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	display
	lea	rdi, .LC9[rip]
	call	puts@PLT
	mov	edx, DWORD PTR order[rip]
	mov	rax, QWORD PTR -16[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	display
	jmp	.L42
.L39:
	mov	rdx, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR -32[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	add_poly
	mov	QWORD PTR -16[rbp], rax
	jmp	.L42
.L37:
	mov	edi, 0
	call	exit@PLT
.L38:
	lea	rdi, .LC10[rip]
	call	puts@PLT
.L42:
	jmp	.L43
	.cfi_endproc
.LFE9:
	.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	"729037.c"
	.text
	.comm	order,12,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Enter %dth power coefficient: \000"
	.align	2
.LC1:
	.ascii	"%d\000"
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	insert_beg
	.syntax unified
	.arm
	.fpu softvfp
	.type	insert_beg, %function
insert_beg:
	@ 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, #-24]
	str	r1, [fp, #-28]
	ldr	r3, .L8
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L2
.L5:
	ldr	r1, [fp, #-16]
	ldr	r0, .L8+4
	bl	printf
	sub	r3, fp, #20
	mov	r1, r3
	ldr	r0, .L8+8
	bl	__isoc99_scanf
	mov	r0, #8
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-12]
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-12]
	str	r2, [r3]
	ldr	r3, [fp, #-12]
	mov	r2, #0
	str	r2, [r3, #4]
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bne	.L3
	ldr	r3, [fp, #-12]
	str	r3, [fp, #-24]
	b	.L4
.L3:
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-24]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-12]
	str	r3, [fp, #-24]
.L4:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L2:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-28]
	cmp	r2, r3
	ble	.L5
	ldr	r3, [fp, #-24]
	ldr	r2, .L8
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L7
	bl	__stack_chk_fail
.L7:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L9:
	.align	2
.L8:
	.word	.LC2
	.word	.LC0
	.word	.LC1
	.size	insert_beg, .-insert_beg
	.section	.rodata
	.align	2
.LC3:
	.ascii	"List is empty.\000"
	.align	2
.LC4:
	.ascii	" (%d)(x^%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]
	str	r1, [fp, #-12]
	mov	r0, #10
	bl	putchar
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L13
	ldr	r0, .L15
	bl	puts
	b	.L10
.L14:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	ldr	r2, [fp, #-12]
	mov	r1, r3
	ldr	r0, .L15+4
	bl	printf
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-12]
	sub	r3, r3, #1
	str	r3, [fp, #-12]
.L13:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L14
	mov	r0, #10
	bl	putchar
.L10:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L16:
	.align	2
.L15:
	.word	.LC3
	.word	.LC4
	.size	display, .-display
	.align	2
	.global	add_poly
	.syntax unified
	.arm
	.fpu softvfp
	.type	add_poly, %function
add_poly:
	@ args = 0, pretend = 0, frame = 56
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #56
	str	r0, [fp, #-56]
	str	r1, [fp, #-60]
	ldr	r3, .L40
	ldr	r3, [r3, #4]
	str	r3, [fp, #-32]
	ldr	r3, .L40
	ldr	r3, [r3, #8]
	str	r3, [fp, #-28]
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-32]
	cmp	r2, r3
	movge	r3, r2
	movlt	r3, r3
	ldr	r2, .L40
	str	r3, [r2]
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-28]
	cmp	r2, r3
	ble	.L18
	mov	r3, #0
	str	r3, [fp, #-44]
	b	.L19
.L22:
	mov	r0, #8
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-56]
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	mov	r2, #0
	str	r2, [r3, #4]
	ldr	r3, [fp, #-44]
	cmp	r3, #0
	bne	.L20
	ldr	r3, [fp, #-8]
	str	r3, [fp, #-48]
	ldr	r3, [fp, #-8]
	str	r3, [fp, #-52]
	b	.L21
.L20:
	ldr	r3, [fp, #-48]
	ldr	r2, [fp, #-8]
	str	r2, [r3, #4]
.L21:
	ldr	r3, [fp, #-8]
	str	r3, [fp, #-48]
	ldr	r3, [fp, #-56]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-56]
	ldr	r3, [fp, #-44]
	add	r3, r3, #1
	str	r3, [fp, #-44]
.L19:
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-28]
	sub	r3, r2, r3
	ldr	r2, [fp, #-44]
	cmp	r2, r3
	blt	.L22
	b	.L23
.L24:
	mov	r0, #8
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-56]
	ldr	r2, [r3]
	ldr	r3, [fp, #-60]
	ldr	r3, [r3]
	add	r2, r2, r3
	ldr	r3, [fp, #-12]
	str	r2, [r3]
	ldr	r3, [fp, #-12]
	mov	r2, #0
	str	r2, [r3, #4]
	ldr	r3, [fp, #-48]
	ldr	r2, [fp, #-12]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-12]
	str	r3, [fp, #-48]
	ldr	r3, [fp, #-56]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-56]
	ldr	r3, [fp, #-60]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-60]
.L23:
	ldr	r3, [fp, #-56]
	cmp	r3, #0
	bne	.L24
	b	.L25
.L18:
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-28]
	cmp	r2, r3
	bge	.L26
	mov	r3, #0
	str	r3, [fp, #-40]
	b	.L27
.L30:
	mov	r0, #8
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-60]
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	str	r2, [r3]
	ldr	r3, [fp, #-16]
	mov	r2, #0
	str	r2, [r3, #4]
	ldr	r3, [fp, #-40]
	cmp	r3, #0
	bne	.L28
	ldr	r3, [fp, #-16]
	str	r3, [fp, #-48]
	ldr	r3, [fp, #-16]
	str	r3, [fp, #-52]
	b	.L29
.L28:
	ldr	r3, [fp, #-48]
	ldr	r2, [fp, #-16]
	str	r2, [r3, #4]
.L29:
	ldr	r3, [fp, #-16]
	str	r3, [fp, #-48]
	ldr	r3, [fp, #-60]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-60]
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
.L27:
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-32]
	sub	r3, r2, r3
	ldr	r2, [fp, #-40]
	cmp	r2, r3
	blt	.L30
	b	.L31
.L32:
	mov	r0, #8
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-56]
	ldr	r2, [r3]
	ldr	r3, [fp, #-60]
	ldr	r3, [r3]
	add	r2, r2, r3
	ldr	r3, [fp, #-20]
	str	r2, [r3]
	ldr	r3, [fp, #-20]
	mov	r2, #0
	str	r2, [r3, #4]
	ldr	r3, [fp, #-48]
	ldr	r2, [fp, #-20]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-20]
	str	r3, [fp, #-48]
	ldr	r3, [fp, #-56]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-56]
	ldr	r3, [fp, #-60]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-60]
.L31:
	ldr	r3, [fp, #-56]
	cmp	r3, #0
	bne	.L32
	b	.L25
.L26:
	mov	r3, #0
	str	r3, [fp, #-36]
	b	.L33
.L38:
	mov	r0, #8
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-56]
	ldr	r3, [r3]
	lsl	r2, r3, #1
	ldr	r3, [fp, #-24]
	str	r2, [r3]
	ldr	r3, [fp, #-24]
	mov	r2, #0
	str	r2, [r3, #4]
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	bne	.L36
	ldr	r3, [fp, #-24]
	str	r3, [fp, #-48]
	ldr	r3, [fp, #-24]
	str	r3, [fp, #-52]
	b	.L35
.L37:
	ldr	r3, [fp, #-48]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-48]
.L36:
	ldr	r3, [fp, #-48]
	ldr	r3, [r3, #4]
	cmp	r3, #0
	bne	.L37
	ldr	r3, [fp, #-48]
	ldr	r2, [fp, #-24]
	str	r2, [r3, #4]
.L35:
	ldr	r3, [fp, #-56]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-56]
	ldr	r3, [fp, #-60]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-60]
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
.L33:
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-28]
	cmp	r2, r3
	ble	.L38
.L25:
	ldr	r3, [fp, #-52]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L41:
	.align	2
.L40:
	.word	order
	.size	add_poly, .-add_poly
	.section	.rodata
	.align	2
.LC5:
	.ascii	"Choose:\0121.Insert polynomial P1 & P2.\0122.displa"
	.ascii	"y P1 & P2 & P3.\0123.Add P1 & P2.\0124.exit\000"
	.align	2
.LC6:
	.ascii	"Order of polynomial P1: \000"
	.align	2
.LC7:
	.ascii	"Order of polynomial P2: \000"
	.align	2
.LC8:
	.ascii	"P1:\000"
	.align	2
.LC9:
	.ascii	"\012P2:\000"
	.align	2
.LC10:
	.ascii	"\012P3:\000"
	.align	2
.LC11:
	.ascii	"Enter proper choice!!!\000"
	.align	2
.LC12:
	.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, .L52
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-12]
.L50:
	mov	r0, #10
	bl	putchar
	ldr	r0, .L52+4
	bl	puts
	sub	r3, fp, #24
	mov	r1, r3
	ldr	r0, .L52+8
	bl	__isoc99_scanf
	ldr	r3, [fp, #-24]
	sub	r3, r3, #1
	cmp	r3, #3
	ldrls	pc, [pc, r3, asl #2]
	b	.L43
.L45:
	.word	.L48
	.word	.L47
	.word	.L46
	.word	.L44
.L48:
	ldr	r0, .L52+12
	bl	printf
	ldr	r1, .L52+16
	ldr	r0, .L52+8
	bl	__isoc99_scanf
	ldr	r3, .L52+20
	ldr	r3, [r3, #4]
	mov	r1, r3
	ldr	r0, [fp, #-20]
	bl	insert_beg
	str	r0, [fp, #-20]
	ldr	r0, .L52+24
	bl	printf
	ldr	r1, .L52+28
	ldr	r0, .L52+8
	bl	__isoc99_scanf
	ldr	r3, .L52+20
	ldr	r3, [r3, #8]
	mov	r1, r3
	ldr	r0, [fp, #-16]
	bl	insert_beg
	str	r0, [fp, #-16]
	b	.L49
.L47:
	ldr	r0, .L52+32
	bl	puts
	ldr	r3, .L52+20
	ldr	r3, [r3, #4]
	mov	r1, r3
	ldr	r0, [fp, #-20]
	bl	display
	ldr	r0, .L52+36
	bl	puts
	ldr	r3, .L52+20
	ldr	r3, [r3, #8]
	mov	r1, r3
	ldr	r0, [fp, #-16]
	bl	display
	ldr	r0, .L52+40
	bl	puts
	ldr	r3, .L52+20
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, [fp, #-12]
	bl	display
	b	.L49
.L46:
	ldr	r1, [fp, #-16]
	ldr	r0, [fp, #-20]
	bl	add_poly
	str	r0, [fp, #-12]
	b	.L49
.L44:
	mov	r0, #0
	bl	exit
.L43:
	ldr	r0, .L52+44
	bl	puts
.L49:
	b	.L50
.L53:
	.align	2
.L52:
	.word	.LC12
	.word	.LC5
	.word	.LC1
	.word	.LC6
	.word	order+4
	.word	order
	.word	.LC7
	.word	order+8
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
