	.file	"834528.c"
	.intel_syntax noprefix
	.text
	.globl	hPtr1
	.bss
	.align 8
	.type	hPtr1, @object
	.size	hPtr1, 8
hPtr1:
	.zero	8
	.globl	hPtr2
	.align 8
	.type	hPtr2, @object
	.size	hPtr2, 8
hPtr2:
	.zero	8
	.globl	hPtr3
	.align 8
	.type	hPtr3, @object
	.size	hPtr3, 8
hPtr3:
	.zero	8
	.text
	.globl	buildNode
	.type	buildNode, @function
buildNode:
.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 -20[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, DWORD PTR -24[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	buildNode, .-buildNode
	.globl	polynomial_insert
	.type	polynomial_insert, @function
polynomial_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, 48
	mov	QWORD PTR -40[rbp], rdi
	mov	DWORD PTR -44[rbp], esi
	mov	DWORD PTR -48[rbp], edx
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -24[rbp], rax
	mov	edx, DWORD PTR -48[rbp]
	mov	eax, DWORD PTR -44[rbp]
	mov	esi, edx
	mov	edi, eax
	call	buildNode
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	je	.L4
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR 4[rax]
	cmp	DWORD PTR -48[rbp], eax
	jle	.L7
.L4:
	mov	rax, QWORD PTR -40[rbp]
	mov	rdx, QWORD PTR -16[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdx, QWORD PTR -24[rbp]
	mov	QWORD PTR 8[rax], rdx
	jmp	.L3
.L10:
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -24[rbp], rax
	cmp	QWORD PTR -24[rbp], 0
	jne	.L8
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR -16[rbp]
	mov	QWORD PTR 8[rax], rdx
	jmp	.L9
.L8:
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 4[rax]
	cmp	DWORD PTR -48[rbp], eax
	jge	.L7
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 4[rax]
	cmp	DWORD PTR -48[rbp], eax
	jle	.L7
	mov	rax, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR -24[rbp]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR -16[rbp]
	mov	QWORD PTR 8[rax], rdx
	jmp	.L9
.L7:
	cmp	QWORD PTR -24[rbp], 0
	jne	.L10
	jmp	.L11
.L9:
.L11:
	nop
.L3:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	polynomial_insert, .-polynomial_insert
	.globl	polynomial_add
	.type	polynomial_add, @function
polynomial_add:
.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	DWORD PTR -32[rbp], edx
	mov	QWORD PTR -8[rbp], 0
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	je	.L13
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR 4[rax]
	cmp	DWORD PTR -32[rbp], eax
	jle	.L16
.L13:
	mov	edx, DWORD PTR -32[rbp]
	mov	eax, DWORD PTR -28[rbp]
	mov	esi, edx
	mov	edi, eax
	call	buildNode
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdx, QWORD PTR -16[rbp]
	mov	QWORD PTR 8[rax], rdx
	jmp	.L12
.L20:
	mov	rax, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR 4[rax]
	cmp	DWORD PTR -32[rbp], eax
	jne	.L17
	mov	rax, QWORD PTR -16[rbp]
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -28[rbp]
	add	edx, eax
	mov	rax, QWORD PTR -16[rbp]
	mov	DWORD PTR [rax], edx
	jmp	.L12
.L17:
	mov	rax, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR 4[rax]
	cmp	DWORD PTR -32[rbp], eax
	jge	.L18
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 8[rax]
	test	rax, rax
	je	.L19
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	eax, DWORD PTR 4[rax]
	cmp	DWORD PTR -32[rbp], eax
	jle	.L18
.L19:
	mov	edx, DWORD PTR -32[rbp]
	mov	eax, DWORD PTR -28[rbp]
	mov	esi, edx
	mov	edi, eax
	call	buildNode
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR 8[rax]
	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
	jmp	.L12
.L18:
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -16[rbp], rax
.L16:
	cmp	QWORD PTR -16[rbp], 0
	jne	.L20
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 8[rax], 0
	mov	rax, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR 8[rax], rdx
.L12:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	polynomial_add, .-polynomial_add
	.globl	polynomial_multiply
	.type	polynomial_multiply, @function
polynomial_multiply:
.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	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	QWORD PTR -40[rbp], rdx
	mov	rax, QWORD PTR -40[rbp]
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -32[rbp], 0
	jne	.L22
	cmp	QWORD PTR -40[rbp], 0
	je	.L31
.L22:
	cmp	QWORD PTR -32[rbp], 0
	jne	.L24
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR -40[rbp]
	mov	QWORD PTR [rax], rdx
	jmp	.L21
.L24:
	cmp	QWORD PTR -40[rbp], 0
	jne	.L27
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR -32[rbp]
	mov	QWORD PTR [rax], rdx
	jmp	.L21
.L29:
	mov	rax, QWORD PTR -32[rbp]
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR [rax]
	imul	eax, edx
	mov	DWORD PTR -16[rbp], eax
	mov	rax, QWORD PTR -32[rbp]
	mov	edx, DWORD PTR 4[rax]
	mov	rax, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR 4[rax]
	add	eax, edx
	mov	DWORD PTR -12[rbp], eax
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -40[rbp], rax
	mov	edx, DWORD PTR -12[rbp]
	mov	ecx, DWORD PTR -16[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	polynomial_add
.L28:
	cmp	QWORD PTR -40[rbp], 0
	jne	.L29
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR -40[rbp], rax
	mov	rax, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -32[rbp], rax
.L27:
	cmp	QWORD PTR -32[rbp], 0
	jne	.L28
	jmp	.L21
.L31:
	nop
.L21:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	polynomial_multiply, .-polynomial_multiply
	.globl	polynomial_deleteList
	.type	polynomial_deleteList, @function
polynomial_deleteList:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	jmp	.L33
.L34:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR -24[rbp], rax
.L33:
	cmp	QWORD PTR -24[rbp], 0
	jne	.L34
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	polynomial_deleteList, .-polynomial_deleteList
	.section	.rodata
.LC0:
	.string	"%dx^%d"
.LC1:
	.string	"+%dx^%d"
.LC2:
	.string	"%d"
.LC3:
	.string	"+%d"
.LC4:
	.string	"%dx"
.LC5:
	.string	"+%dx"
	.text
	.globl	polynomial_view
	.type	polynomial_view, @function
polynomial_view:
.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	DWORD PTR -8[rbp], 0
	mov	DWORD PTR -4[rbp], 0
	jmp	.L37
.L50:
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 4[rax]
	test	eax, eax
	jne	.L38
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 4[rax]
	cmp	eax, 1
	je	.L39
.L38:
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	jle	.L40
	cmp	DWORD PTR -4[rbp], 0
	jne	.L40
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR 4[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -4[rbp], 1
	jmp	.L41
.L40:
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	jle	.L42
	cmp	DWORD PTR -4[rbp], 1
	jne	.L42
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR 4[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L41
.L42:
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	jns	.L52
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR 4[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L52
.L41:
	jmp	.L52
.L39:
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 4[rax]
	test	eax, eax
	jne	.L44
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	jle	.L45
	cmp	DWORD PTR -4[rbp], 0
	jne	.L45
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -4[rbp], 1
	jmp	.L43
.L45:
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	jle	.L47
	cmp	DWORD PTR -4[rbp], 1
	jne	.L47
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L43
.L47:
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	jns	.L43
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L43
.L44:
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 4[rax]
	cmp	eax, 1
	jne	.L43
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	jle	.L48
	cmp	DWORD PTR -4[rbp], 0
	jne	.L48
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -4[rbp], 1
	jmp	.L43
.L48:
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	jle	.L49
	cmp	DWORD PTR -4[rbp], 1
	jne	.L49
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L43
.L49:
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	jns	.L43
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L43
.L52:
	nop
.L43:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -24[rbp], rax
	add	DWORD PTR -8[rbp], 1
.L37:
	cmp	QWORD PTR -24[rbp], 0
	jne	.L50
	mov	edi, 10
	call	putchar@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	polynomial_view, .-polynomial_view
	.section	.rodata
	.align 8
.LC6:
	.string	"Multiplication of Two Polynomials"
	.align 8
.LC7:
	.string	"Enter the number of coefficients in the multiplicand:"
.LC8:
	.string	"Enter the coefficient part:"
.LC9:
	.string	"Enter the exponent part:"
	.align 8
.LC10:
	.string	"Enter the number of coefficients in the multiplier:"
.LC11:
	.string	"Polynomial Expression 1: "
.LC12:
	.string	"Polynomial Expression 2: "
.LC13:
	.string	"Output:"
	.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
	sub	rsp, 48
	mov	DWORD PTR -36[rbp], edi
	mov	QWORD PTR -48[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdi, .LC6[rip]
	call	puts@PLT
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -16[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	DWORD PTR -12[rbp], 0
	jmp	.L54
.L55:
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -24[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -20[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	edx, DWORD PTR -20[rbp]
	mov	eax, DWORD PTR -24[rbp]
	mov	esi, eax
	lea	rdi, hPtr1[rip]
	call	polynomial_insert
	add	DWORD PTR -12[rbp], 1
.L54:
	mov	eax, DWORD PTR -16[rbp]
	cmp	DWORD PTR -12[rbp], eax
	jl	.L55
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -16[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	DWORD PTR -12[rbp], 0
	jmp	.L56
.L57:
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -24[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -20[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	edx, DWORD PTR -20[rbp]
	mov	eax, DWORD PTR -24[rbp]
	mov	esi, eax
	lea	rdi, hPtr2[rip]
	call	polynomial_insert
	add	DWORD PTR -12[rbp], 1
.L56:
	mov	eax, DWORD PTR -16[rbp]
	cmp	DWORD PTR -12[rbp], eax
	jl	.L57
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR hPtr1[rip]
	mov	rdi, rax
	call	polynomial_view
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR hPtr2[rip]
	mov	rdi, rax
	call	polynomial_view
	mov	rdx, QWORD PTR hPtr2[rip]
	mov	rax, QWORD PTR hPtr1[rip]
	mov	rsi, rax
	lea	rdi, hPtr3[rip]
	call	polynomial_multiply
	lea	rdi, .LC13[rip]
	call	puts@PLT
	mov	rax, QWORD PTR hPtr3[rip]
	mov	rdi, rax
	call	polynomial_view
	mov	rax, QWORD PTR hPtr1[rip]
	mov	rdi, rax
	call	polynomial_deleteList
	mov	QWORD PTR hPtr1[rip], rax
	mov	rax, QWORD PTR hPtr2[rip]
	mov	rdi, rax
	call	polynomial_deleteList
	mov	QWORD PTR hPtr2[rip], rax
	mov	rax, QWORD PTR hPtr3[rip]
	mov	rdi, rax
	call	polynomial_deleteList
	mov	QWORD PTR hPtr3[rip], rax
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L59
	call	__stack_chk_fail@PLT
.L59:
	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	"834528.c"
	.text
	.comm	hPtr1,4,4
	.comm	hPtr2,4,4
	.comm	hPtr3,4,4
	.align	2
	.global	buildNode
	.syntax unified
	.arm
	.fpu softvfp
	.type	buildNode, %function
buildNode:
	@ 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, #-16]
	str	r2, [r3]
	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, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	buildNode, .-buildNode
	.align	2
	.global	polynomial_insert
	.syntax unified
	.arm
	.fpu softvfp
	.type	polynomial_insert, %function
polynomial_insert:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	str	r2, [fp, #-32]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	ldr	r1, [fp, #-32]
	ldr	r0, [fp, #-28]
	bl	buildNode
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L4
	ldr	r3, [fp, #-24]
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	ldr	r2, [fp, #-32]
	cmp	r2, r3
	ble	.L7
.L4:
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-12]
	str	r2, [r3]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	str	r2, [r3, #8]
	b	.L3
.L10:
	ldr	r3, [fp, #-16]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #8]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L8
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-12]
	str	r2, [r3, #8]
	b	.L9
.L8:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	ldr	r2, [fp, #-32]
	cmp	r2, r3
	bge	.L7
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	ldr	r2, [fp, #-32]
	cmp	r2, r3
	ble	.L7
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-16]
	str	r2, [r3, #8]
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-12]
	str	r2, [r3, #8]
	b	.L9
.L7:
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L10
	b	.L11
.L9:
.L11:
	nop
.L3:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	polynomial_insert, .-polynomial_insert
	.align	2
	.global	polynomial_add
	.syntax unified
	.arm
	.fpu softvfp
	.type	polynomial_add, %function
polynomial_add:
	@ 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	r3, #0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L13
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	ldr	r2, [fp, #-24]
	cmp	r2, r3
	ble	.L16
.L13:
	ldr	r1, [fp, #-24]
	ldr	r0, [fp, #-20]
	bl	buildNode
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-8]
	str	r2, [r3]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldr	r2, [fp, #-12]
	str	r2, [r3, #8]
	b	.L12
.L20:
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #4]
	ldr	r2, [fp, #-24]
	cmp	r2, r3
	bne	.L17
	ldr	r3, [fp, #-12]
	ldr	r2, [r3]
	ldr	r3, [fp, #-20]
	add	r2, r2, r3
	ldr	r3, [fp, #-12]
	str	r2, [r3]
	b	.L12
.L17:
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #4]
	ldr	r2, [fp, #-24]
	cmp	r2, r3
	bge	.L18
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #8]
	cmp	r3, #0
	beq	.L19
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #8]
	ldr	r3, [r3, #4]
	ldr	r2, [fp, #-24]
	cmp	r2, r3
	ble	.L18
.L19:
	ldr	r1, [fp, #-24]
	ldr	r0, [fp, #-20]
	bl	buildNode
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-12]
	ldr	r2, [r3, #8]
	ldr	r3, [fp, #-8]
	str	r2, [r3, #8]
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-8]
	str	r2, [r3, #8]
	b	.L12
.L18:
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #8]
	str	r3, [fp, #-12]
.L16:
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L20
	ldr	r3, [fp, #-8]
	mov	r2, #0
	str	r2, [r3, #8]
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-8]
	str	r2, [r3, #8]
.L12:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	polynomial_add, .-polynomial_add
	.align	2
	.global	polynomial_multiply
	.syntax unified
	.arm
	.fpu softvfp
	.type	polynomial_multiply, %function
polynomial_multiply:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	str	r2, [fp, #-32]
	ldr	r3, [fp, #-32]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	bne	.L22
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	beq	.L31
.L22:
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	bne	.L24
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-32]
	str	r2, [r3]
	b	.L21
.L24:
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	bne	.L27
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-28]
	str	r2, [r3]
	b	.L21
.L29:
	ldr	r3, [fp, #-28]
	ldr	r3, [r3]
	ldr	r2, [fp, #-32]
	ldr	r2, [r2]
	mul	r3, r2, r3
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-28]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-32]
	ldr	r3, [r3, #4]
	add	r3, r2, r3
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-32]
	ldr	r3, [r3, #8]
	str	r3, [fp, #-32]
	ldr	r2, [fp, #-8]
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-24]
	bl	polynomial_add
.L28:
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	bne	.L29
	ldr	r3, [fp, #-16]
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-28]
	ldr	r3, [r3, #8]
	str	r3, [fp, #-28]
.L27:
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	bne	.L28
	b	.L21
.L31:
	nop
.L21:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	polynomial_multiply, .-polynomial_multiply
	.align	2
	.global	polynomial_deleteList
	.syntax unified
	.arm
	.fpu softvfp
	.type	polynomial_deleteList, %function
polynomial_deleteList:
	@ 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]
	b	.L33
.L34:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #8]
	str	r3, [fp, #-8]
	ldr	r0, [fp, #-16]
	bl	free
	ldr	r3, [fp, #-8]
	str	r3, [fp, #-16]
.L33:
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L34
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	polynomial_deleteList, .-polynomial_deleteList
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%dx^%d\000"
	.align	2
.LC1:
	.ascii	"+%dx^%d\000"
	.align	2
.LC2:
	.ascii	"%d\000"
	.align	2
.LC3:
	.ascii	"+%d\000"
	.align	2
.LC4:
	.ascii	"%dx\000"
	.align	2
.LC5:
	.ascii	"+%dx\000"
	.text
	.align	2
	.global	polynomial_view
	.syntax unified
	.arm
	.fpu softvfp
	.type	polynomial_view, %function
polynomial_view:
	@ 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, #0
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L37
.L50:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	cmp	r3, #0
	bne	.L38
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	cmp	r3, #1
	beq	.L39
.L38:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	cmp	r3, #0
	ble	.L40
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L40
	ldr	r3, [fp, #-16]
	ldr	r1, [r3]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	mov	r2, r3
	ldr	r0, .L53
	bl	printf
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
	b	.L41
.L40:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	cmp	r3, #0
	ble	.L42
	ldr	r3, [fp, #-8]
	cmp	r3, #1
	bne	.L42
	ldr	r3, [fp, #-16]
	ldr	r1, [r3]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	mov	r2, r3
	ldr	r0, .L53+4
	bl	printf
	b	.L41
.L42:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	cmp	r3, #0
	bge	.L52
	ldr	r3, [fp, #-16]
	ldr	r1, [r3]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	mov	r2, r3
	ldr	r0, .L53
	bl	printf
	b	.L52
.L41:
	b	.L52
.L39:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	cmp	r3, #0
	bne	.L44
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	cmp	r3, #0
	ble	.L45
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L45
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L53+8
	bl	printf
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
	b	.L43
.L45:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	cmp	r3, #0
	ble	.L47
	ldr	r3, [fp, #-8]
	cmp	r3, #1
	bne	.L47
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L53+12
	bl	printf
	b	.L43
.L47:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	cmp	r3, #0
	bge	.L43
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L53+8
	bl	printf
	b	.L43
.L44:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	cmp	r3, #1
	bne	.L43
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	cmp	r3, #0
	ble	.L48
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L48
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L53+16
	bl	printf
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
	b	.L43
.L48:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	cmp	r3, #0
	ble	.L49
	ldr	r3, [fp, #-8]
	cmp	r3, #1
	bne	.L49
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L53+20
	bl	printf
	b	.L43
.L49:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	cmp	r3, #0
	bge	.L43
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L53+16
	bl	printf
	b	.L43
.L52:
	nop
.L43:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #8]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L37:
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L50
	mov	r0, #10
	bl	putchar
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L54:
	.align	2
.L53:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.size	polynomial_view, .-polynomial_view
	.section	.rodata
	.align	2
.LC6:
	.ascii	"Multiplication of Two Polynomials\000"
	.align	2
.LC7:
	.ascii	"Enter the number of coefficients in the multiplican"
	.ascii	"d:\000"
	.align	2
.LC8:
	.ascii	"Enter the coefficient part:\000"
	.align	2
.LC9:
	.ascii	"Enter the exponent part:\000"
	.align	2
.LC10:
	.ascii	"Enter the number of coefficients in the multiplier:"
	.ascii	"\000"
	.align	2
.LC11:
	.ascii	"Polynomial Expression 1: \000"
	.align	2
.LC12:
	.ascii	"Polynomial Expression 2: \000"
	.align	2
.LC13:
	.ascii	"Output:\000"
	.align	2
.LC14:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	ldr	r3, .L62
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r0, .L62+4
	bl	puts
	ldr	r0, .L62+8
	bl	printf
	sub	r3, fp, #16
	mov	r1, r3
	ldr	r0, .L62+12
	bl	__isoc99_scanf
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L56
.L57:
	ldr	r0, .L62+16
	bl	printf
	sub	r3, fp, #24
	mov	r1, r3
	ldr	r0, .L62+12
	bl	__isoc99_scanf
	ldr	r0, .L62+20
	bl	printf
	sub	r3, fp, #20
	mov	r1, r3
	ldr	r0, .L62+12
	bl	__isoc99_scanf
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-20]
	mov	r1, r3
	ldr	r0, .L62+24
	bl	polynomial_insert
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L56:
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	blt	.L57
	ldr	r0, .L62+28
	bl	printf
	sub	r3, fp, #16
	mov	r1, r3
	ldr	r0, .L62+12
	bl	__isoc99_scanf
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L58
.L59:
	ldr	r0, .L62+16
	bl	printf
	sub	r3, fp, #24
	mov	r1, r3
	ldr	r0, .L62+12
	bl	__isoc99_scanf
	ldr	r0, .L62+20
	bl	printf
	sub	r3, fp, #20
	mov	r1, r3
	ldr	r0, .L62+12
	bl	__isoc99_scanf
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-20]
	mov	r1, r3
	ldr	r0, .L62+32
	bl	polynomial_insert
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L58:
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	blt	.L59
	ldr	r0, .L62+36
	bl	printf
	ldr	r3, .L62+24
	ldr	r3, [r3]
	mov	r0, r3
	bl	polynomial_view
	ldr	r0, .L62+40
	bl	printf
	ldr	r3, .L62+32
	ldr	r3, [r3]
	mov	r0, r3
	bl	polynomial_view
	ldr	r3, .L62+24
	ldr	r3, [r3]
	ldr	r2, .L62+32
	ldr	r2, [r2]
	mov	r1, r3
	ldr	r0, .L62+44
	bl	polynomial_multiply
	ldr	r0, .L62+48
	bl	puts
	ldr	r3, .L62+44
	ldr	r3, [r3]
	mov	r0, r3
	bl	polynomial_view
	ldr	r3, .L62+24
	ldr	r3, [r3]
	mov	r0, r3
	bl	polynomial_deleteList
	mov	r3, r0
	ldr	r2, .L62+24
	str	r3, [r2]
	ldr	r3, .L62+32
	ldr	r3, [r3]
	mov	r0, r3
	bl	polynomial_deleteList
	mov	r3, r0
	ldr	r2, .L62+32
	str	r3, [r2]
	ldr	r3, .L62+44
	ldr	r3, [r3]
	mov	r0, r3
	bl	polynomial_deleteList
	mov	r3, r0
	ldr	r2, .L62+44
	str	r3, [r2]
	mov	r3, #0
	ldr	r2, .L62
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L61
	bl	__stack_chk_fail
.L61:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L63:
	.align	2
.L62:
	.word	.LC14
	.word	.LC6
	.word	.LC7
	.word	.LC2
	.word	.LC8
	.word	.LC9
	.word	hPtr1
	.word	.LC10
	.word	hPtr2
	.word	.LC11
	.word	.LC12
	.word	hPtr3
	.word	.LC13
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
