	.file	"103265076.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"%d\n"
.LC1:
	.string	"x^%d"
.LC2:
	.string	"-x^%d"
.LC3:
	.string	"%dx^%d"
.LC4:
	.string	"-x"
.LC5:
	.string	"%dx"
.LC6:
	.string	" %c x^%d"
.LC7:
	.string	" %c %c"
.LC8:
	.string	" %c %dx^%d"
.LC9:
	.string	"x"
.LC10:
	.string	""
.LC11:
	.string	" %c %d%s"
.LC12:
	.string	"%d %d %d %d %d %d %d %d %d"
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	jmp	.L2
.L32:
	mov	DWORD PTR -56[rbp], 8
	jmp	.L3
.L5:
	sub	DWORD PTR -56[rbp], 1
.L3:
	cmp	DWORD PTR -56[rbp], 0
	jle	.L4
	mov	eax, DWORD PTR -56[rbp]
	cdqe
	mov	eax, DWORD PTR -48[rbp+rax*4]
	test	eax, eax
	je	.L5
.L4:
	cmp	DWORD PTR -56[rbp], 0
	jne	.L6
	mov	eax, DWORD PTR -48[rbp]
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L2
.L6:
	cmp	DWORD PTR -56[rbp], 1
	jle	.L7
	mov	eax, DWORD PTR -56[rbp]
	cdqe
	mov	eax, DWORD PTR -48[rbp+rax*4]
	cmp	eax, 1
	jne	.L8
	mov	eax, DWORD PTR -56[rbp]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L13
.L8:
	mov	eax, DWORD PTR -56[rbp]
	cdqe
	mov	eax, DWORD PTR -48[rbp+rax*4]
	cmp	eax, -1
	jne	.L10
	mov	eax, DWORD PTR -56[rbp]
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L13
.L10:
	mov	eax, DWORD PTR -56[rbp]
	cdqe
	mov	eax, DWORD PTR -48[rbp+rax*4]
	mov	edx, DWORD PTR -56[rbp]
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L13
.L7:
	mov	eax, DWORD PTR -56[rbp]
	cdqe
	mov	eax, DWORD PTR -48[rbp+rax*4]
	cmp	eax, 1
	jne	.L11
	mov	edi, 120
	call	putchar@PLT
	jmp	.L13
.L11:
	mov	eax, DWORD PTR -56[rbp]
	cdqe
	mov	eax, DWORD PTR -48[rbp+rax*4]
	cmp	eax, -1
	jne	.L12
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L13
.L12:
	mov	eax, DWORD PTR -56[rbp]
	cdqe
	mov	eax, DWORD PTR -48[rbp+rax*4]
	mov	esi, eax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L13
.L31:
	mov	eax, DWORD PTR -56[rbp]
	cdqe
	mov	eax, DWORD PTR -48[rbp+rax*4]
	test	eax, eax
	jne	.L14
	jmp	.L13
.L14:
	mov	eax, DWORD PTR -56[rbp]
	cdqe
	mov	eax, DWORD PTR -48[rbp+rax*4]
	shr	eax, 31
	movzx	eax, al
	mov	DWORD PTR -52[rbp], eax
	cmp	DWORD PTR -52[rbp], 0
	je	.L15
	mov	eax, DWORD PTR -56[rbp]
	cdqe
	mov	eax, DWORD PTR -48[rbp+rax*4]
	neg	eax
	mov	edx, eax
	mov	eax, DWORD PTR -56[rbp]
	cdqe
	mov	DWORD PTR -48[rbp+rax*4], edx
.L15:
	mov	eax, DWORD PTR -56[rbp]
	cdqe
	mov	eax, DWORD PTR -48[rbp+rax*4]
	cmp	eax, 1
	jne	.L16
	cmp	DWORD PTR -56[rbp], 1
	jle	.L17
	cmp	DWORD PTR -52[rbp], 0
	je	.L18
	mov	ecx, 45
	jmp	.L19
.L18:
	mov	ecx, 43
.L19:
	mov	eax, DWORD PTR -56[rbp]
	mov	edx, eax
	mov	esi, ecx
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L13
.L17:
	cmp	DWORD PTR -56[rbp], 1
	jne	.L20
	mov	edx, 120
	jmp	.L21
.L20:
	mov	edx, 49
.L21:
	cmp	DWORD PTR -52[rbp], 0
	je	.L22
	mov	eax, 45
	jmp	.L23
.L22:
	mov	eax, 43
.L23:
	mov	esi, eax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L13
.L16:
	cmp	DWORD PTR -56[rbp], 1
	jle	.L24
	mov	eax, DWORD PTR -56[rbp]
	cdqe
	mov	eax, DWORD PTR -48[rbp+rax*4]
	cmp	DWORD PTR -52[rbp], 0
	je	.L25
	mov	esi, 45
	jmp	.L26
.L25:
	mov	esi, 43
.L26:
	mov	edx, DWORD PTR -56[rbp]
	mov	ecx, edx
	mov	edx, eax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L13
.L24:
	cmp	DWORD PTR -56[rbp], 1
	jne	.L27
	lea	rax, .LC9[rip]
	jmp	.L28
.L27:
	lea	rax, .LC10[rip]
.L28:
	mov	edx, DWORD PTR -56[rbp]
	movsx	rdx, edx
	mov	edx, DWORD PTR -48[rbp+rdx*4]
	cmp	DWORD PTR -52[rbp], 0
	je	.L29
	mov	esi, 45
	jmp	.L30
.L29:
	mov	esi, 43
.L30:
	mov	rcx, rax
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
.L13:
	sub	DWORD PTR -56[rbp], 1
	cmp	DWORD PTR -56[rbp], 0
	jns	.L31
	mov	edi, 10
	call	putchar@PLT
.L2:
	lea	rax, -48[rbp]
	lea	r8, 16[rax]
	lea	rax, -48[rbp]
	lea	rdi, 20[rax]
	lea	rax, -48[rbp]
	lea	rcx, 24[rax]
	lea	rax, -48[rbp]
	lea	rdx, 28[rax]
	lea	rax, -48[rbp]
	add	rax, 32
	lea	rsi, -48[rbp]
	push	rsi
	lea	rsi, -48[rbp]
	add	rsi, 4
	push	rsi
	lea	rsi, -48[rbp]
	add	rsi, 8
	push	rsi
	lea	rsi, -48[rbp]
	add	rsi, 12
	push	rsi
	mov	r9, r8
	mov	r8, rdi
	mov	rsi, rax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	add	rsp, 32
	cmp	eax, -1
	jne	.L32
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L34
	call	__stack_chk_fail@PLT
.L34:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.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	"103265076.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%d\012\000"
	.align	2
.LC1:
	.ascii	"x^%d\000"
	.align	2
.LC2:
	.ascii	"-x^%d\000"
	.align	2
.LC3:
	.ascii	"%dx^%d\000"
	.align	2
.LC4:
	.ascii	"-x\000"
	.align	2
.LC5:
	.ascii	"%dx\000"
	.align	2
.LC6:
	.ascii	" %c x^%d\000"
	.align	2
.LC7:
	.ascii	" %c %c\000"
	.align	2
.LC8:
	.ascii	" %c %dx^%d\000"
	.align	2
.LC9:
	.ascii	"x\000"
	.align	2
.LC10:
	.ascii	"\000"
	.align	2
.LC11:
	.ascii	" %c %d%s\000"
	.align	2
.LC12:
	.ascii	"%d %d %d %d %d %d %d %d %d\000"
	.align	2
.LC13:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #72
	ldr	r3, .L35
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	b	.L2
.L32:
	mov	r3, #8
	str	r3, [fp, #-52]
	b	.L3
.L5:
	ldr	r3, [fp, #-52]
	sub	r3, r3, #1
	str	r3, [fp, #-52]
.L3:
	ldr	r3, [fp, #-52]
	cmp	r3, #0
	ble	.L4
	ldr	r3, [fp, #-52]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-40]
	cmp	r3, #0
	beq	.L5
.L4:
	ldr	r3, [fp, #-52]
	cmp	r3, #0
	bne	.L6
	ldr	r3, [fp, #-44]
	mov	r1, r3
	ldr	r0, .L35+4
	bl	printf
	b	.L2
.L6:
	ldr	r3, [fp, #-52]
	cmp	r3, #1
	ble	.L7
	ldr	r3, [fp, #-52]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-40]
	cmp	r3, #1
	bne	.L8
	ldr	r1, [fp, #-52]
	ldr	r0, .L35+8
	bl	printf
	b	.L13
.L8:
	ldr	r3, [fp, #-52]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-40]
	cmn	r3, #1
	bne	.L10
	ldr	r1, [fp, #-52]
	ldr	r0, .L35+12
	bl	printf
	b	.L13
.L10:
	ldr	r3, [fp, #-52]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-40]
	ldr	r2, [fp, #-52]
	mov	r1, r3
	ldr	r0, .L35+16
	bl	printf
	b	.L13
.L7:
	ldr	r3, [fp, #-52]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-40]
	cmp	r3, #1
	bne	.L11
	mov	r0, #120
	bl	putchar
	b	.L13
.L11:
	ldr	r3, [fp, #-52]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-40]
	cmn	r3, #1
	bne	.L12
	ldr	r0, .L35+20
	bl	printf
	b	.L13
.L12:
	ldr	r3, [fp, #-52]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-40]
	mov	r1, r3
	ldr	r0, .L35+24
	bl	printf
	b	.L13
.L31:
	ldr	r3, [fp, #-52]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-40]
	cmp	r3, #0
	bne	.L14
	b	.L13
.L14:
	ldr	r3, [fp, #-52]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-40]
	lsr	r3, r3, #31
	and	r3, r3, #255
	str	r3, [fp, #-48]
	ldr	r3, [fp, #-48]
	cmp	r3, #0
	beq	.L15
	ldr	r3, [fp, #-52]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-40]
	rsb	r2, r3, #0
	ldr	r3, [fp, #-52]
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	str	r2, [r3, #-40]
.L15:
	ldr	r3, [fp, #-52]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-40]
	cmp	r3, #1
	bne	.L16
	ldr	r3, [fp, #-52]
	cmp	r3, #1
	ble	.L17
	ldr	r3, [fp, #-48]
	cmp	r3, #0
	beq	.L18
	mov	r3, #45
	b	.L19
.L18:
	mov	r3, #43
.L19:
	ldr	r2, [fp, #-52]
	mov	r1, r3
	ldr	r0, .L35+28
	bl	printf
	b	.L13
.L17:
	ldr	r3, [fp, #-48]
	cmp	r3, #0
	beq	.L20
	mov	r1, #45
	b	.L21
.L20:
	mov	r1, #43
.L21:
	ldr	r3, [fp, #-52]
	cmp	r3, #1
	bne	.L22
	mov	r3, #120
	b	.L23
.L22:
	mov	r3, #49
.L23:
	mov	r2, r3
	ldr	r0, .L35+32
	bl	printf
	b	.L13
.L16:
	ldr	r3, [fp, #-52]
	cmp	r3, #1
	ble	.L24
	ldr	r3, [fp, #-48]
	cmp	r3, #0
	beq	.L25
	mov	r1, #45
	b	.L26
.L25:
	mov	r1, #43
.L26:
	ldr	r3, [fp, #-52]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r2, [r3, #-40]
	ldr	r3, [fp, #-52]
	ldr	r0, .L35+36
	bl	printf
	b	.L13
.L24:
	ldr	r3, [fp, #-48]
	cmp	r3, #0
	beq	.L27
	mov	r1, #45
	b	.L28
.L27:
	mov	r1, #43
.L28:
	ldr	r3, [fp, #-52]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r2, [r3, #-40]
	ldr	r3, [fp, #-52]
	cmp	r3, #1
	bne	.L29
	ldr	r3, .L35+40
	b	.L30
.L29:
	ldr	r3, .L35+44
.L30:
	ldr	r0, .L35+48
	bl	printf
.L13:
	ldr	r3, [fp, #-52]
	sub	r3, r3, #1
	str	r3, [fp, #-52]
	ldr	r3, [fp, #-52]
	cmp	r3, #0
	bge	.L31
	mov	r0, #10
	bl	putchar
.L2:
	sub	r3, fp, #44
	add	r0, r3, #24
	sub	r3, fp, #44
	add	r2, r3, #28
	sub	r3, fp, #44
	add	r1, r3, #32
	sub	r3, fp, #44
	str	r3, [sp, #20]
	sub	r3, fp, #44
	add	r3, r3, #4
	str	r3, [sp, #16]
	sub	r3, fp, #44
	add	r3, r3, #8
	str	r3, [sp, #12]
	sub	r3, fp, #44
	add	r3, r3, #12
	str	r3, [sp, #8]
	sub	r3, fp, #44
	add	r3, r3, #16
	str	r3, [sp, #4]
	sub	r3, fp, #44
	add	r3, r3, #20
	str	r3, [sp]
	mov	r3, r0
	ldr	r0, .L35+52
	bl	__isoc99_scanf
	mov	r3, r0
	cmn	r3, #1
	bne	.L32
	mov	r3, #0
	ldr	r2, .L35
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L34
	bl	__stack_chk_fail
.L34:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L36:
	.align	2
.L35:
	.word	.LC13
	.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
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
