	.file	"722470.c"
	.intel_syntax noprefix
	.text
	.globl	intpow
	.type	intpow, @function
intpow:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -20[rbp], edi
	mov	DWORD PTR -24[rbp], esi
	mov	DWORD PTR -8[rbp], 1
	mov	DWORD PTR -4[rbp], 0
	jmp	.L2
.L3:
	mov	eax, DWORD PTR -8[rbp]
	imul	eax, DWORD PTR -20[rbp]
	mov	DWORD PTR -8[rbp], eax
	add	DWORD PTR -4[rbp], 1
.L2:
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -24[rbp]
	jl	.L3
	mov	eax, DWORD PTR -8[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	intpow, .-intpow
	.globl	function
	.type	function, @function
function:
.LFB1:
	.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, 120
	.cfi_offset 3, -24
	mov	QWORD PTR -120[rbp], rdi
	mov	DWORD PTR -124[rbp], esi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	sub	DWORD PTR -124[rbp], 4
	mov	DWORD PTR -108[rbp], -10000
	mov	DWORD PTR -104[rbp], 10000
	mov	DWORD PTR -100[rbp], 0
	mov	QWORD PTR -64[rbp], 0
	mov	QWORD PTR -56[rbp], 0
	mov	QWORD PTR -48[rbp], 0
	mov	QWORD PTR -40[rbp], 0
	mov	QWORD PTR -32[rbp], 0
	mov	DWORD PTR -96[rbp], 0
	mov	DWORD PTR -92[rbp], 1
	mov	DWORD PTR -88[rbp], 0
	jmp	.L6
.L14:
	mov	eax, DWORD PTR -88[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -120[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 44
	jne	.L7
	mov	DWORD PTR -84[rbp], 0
	jmp	.L8
.L9:
	mov	eax, DWORD PTR -84[rbp]
	cdqe
	mov	ebx, DWORD PTR -64[rbp+rax*4]
	mov	eax, DWORD PTR -100[rbp]
	sub	eax, 1
	sub	eax, DWORD PTR -84[rbp]
	mov	esi, eax
	mov	edi, 10
	call	intpow
	imul	eax, ebx
	add	DWORD PTR -96[rbp], eax
	add	DWORD PTR -84[rbp], 1
.L8:
	mov	eax, DWORD PTR -84[rbp]
	cmp	eax, DWORD PTR -100[rbp]
	jl	.L9
	mov	eax, DWORD PTR -96[rbp]
	imul	eax, DWORD PTR -92[rbp]
	mov	DWORD PTR -96[rbp], eax
	mov	eax, DWORD PTR -96[rbp]
	cmp	eax, DWORD PTR -108[rbp]
	jle	.L10
	mov	eax, DWORD PTR -96[rbp]
	mov	DWORD PTR -108[rbp], eax
.L10:
	mov	eax, DWORD PTR -96[rbp]
	cmp	eax, DWORD PTR -104[rbp]
	jge	.L11
	mov	eax, DWORD PTR -96[rbp]
	mov	DWORD PTR -104[rbp], eax
.L11:
	mov	DWORD PTR -100[rbp], 0
	mov	DWORD PTR -96[rbp], 0
	mov	DWORD PTR -92[rbp], 1
	jmp	.L12
.L7:
	mov	eax, DWORD PTR -88[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -120[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 45
	jne	.L13
	mov	DWORD PTR -92[rbp], -1
	jmp	.L12
.L13:
	mov	eax, DWORD PTR -88[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -120[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	lea	edx, -48[rax]
	mov	eax, DWORD PTR -100[rbp]
	cdqe
	mov	DWORD PTR -64[rbp+rax*4], edx
	add	DWORD PTR -100[rbp], 1
.L12:
	add	DWORD PTR -88[rbp], 1
.L6:
	mov	eax, DWORD PTR -88[rbp]
	cmp	eax, DWORD PTR -124[rbp]
	jle	.L14
	mov	eax, DWORD PTR -124[rbp]
	cdqe
	lea	rdx, 1[rax]
	mov	rax, QWORD PTR -120[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR -109[rbp], al
	cmp	BYTE PTR -109[rbp], 43
	jne	.L15
	mov	edx, DWORD PTR -108[rbp]
	mov	eax, DWORD PTR -104[rbp]
	add	eax, edx
	mov	DWORD PTR -68[rbp], eax
	mov	BYTE PTR -72[rbp], 43
	jmp	.L16
.L15:
	cmp	BYTE PTR -109[rbp], 45
	jne	.L17
	mov	eax, DWORD PTR -108[rbp]
	sub	eax, DWORD PTR -104[rbp]
	mov	DWORD PTR -68[rbp], eax
	mov	BYTE PTR -72[rbp], 45
	jmp	.L16
.L17:
	cmp	BYTE PTR -109[rbp], 42
	jne	.L18
	mov	eax, DWORD PTR -108[rbp]
	imul	eax, DWORD PTR -104[rbp]
	mov	DWORD PTR -68[rbp], eax
	mov	BYTE PTR -72[rbp], 42
	jmp	.L16
.L18:
	cmp	BYTE PTR -109[rbp], 47
	jne	.L19
	cmp	DWORD PTR -104[rbp], 0
	jne	.L20
	mov	DWORD PTR -68[rbp], 0
	jmp	.L21
.L20:
	mov	eax, DWORD PTR -108[rbp]
	cdq
	idiv	DWORD PTR -104[rbp]
	mov	DWORD PTR -68[rbp], eax
.L21:
	mov	BYTE PTR -72[rbp], 47
	jmp	.L16
.L19:
	cmp	BYTE PTR -109[rbp], 37
	jne	.L16
	mov	eax, DWORD PTR -108[rbp]
	cdq
	idiv	DWORD PTR -104[rbp]
	mov	eax, edx
	mov	DWORD PTR -68[rbp], eax
	mov	BYTE PTR -72[rbp], 37
.L16:
	mov	eax, DWORD PTR -108[rbp]
	mov	DWORD PTR -80[rbp], eax
	mov	eax, DWORD PTR -104[rbp]
	mov	DWORD PTR -76[rbp], eax
	mov	rax, QWORD PTR -80[rbp]
	mov	rdx, QWORD PTR -72[rbp]
	mov	rcx, QWORD PTR -24[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L23
	call	__stack_chk_fail@PLT
.L23:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	function, .-function
	.section	.rodata
.LC0:
	.string	"Error!"
.LC1:
	.string	"(%d)"
.LC2:
	.string	"%d"
.LC3:
	.string	" %c "
.LC4:
	.string	" = "
	.text
	.globl	main
	.type	main, @function
main:
.LFB2:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 144
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -112[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	gets@PLT
	lea	rax, -112[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	DWORD PTR -132[rbp], eax
	mov	edx, DWORD PTR -132[rbp]
	lea	rax, -112[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	function
	mov	QWORD PTR -128[rbp], rax
	mov	QWORD PTR -120[rbp], rdx
	movzx	eax, BYTE PTR -120[rbp]
	cmp	al, 47
	jne	.L25
	mov	eax, DWORD PTR -124[rbp]
	test	eax, eax
	jne	.L25
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L26
.L25:
	mov	eax, DWORD PTR -128[rbp]
	test	eax, eax
	jns	.L27
	mov	eax, DWORD PTR -128[rbp]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L28
.L27:
	mov	eax, DWORD PTR -128[rbp]
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
.L28:
	movzx	eax, BYTE PTR -120[rbp]
	movsx	eax, al
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -124[rbp]
	test	eax, eax
	jns	.L29
	mov	eax, DWORD PTR -124[rbp]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L30
.L29:
	mov	eax, DWORD PTR -124[rbp]
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
.L30:
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -116[rbp]
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 10
	call	putchar@PLT
.L26:
	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
.LFE2:
	.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	"722470.c"
	.text
	.align	2
	.global	intpow
	.syntax unified
	.arm
	.fpu softvfp
	.type	intpow, %function
intpow:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	mov	r3, #1
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L2
.L3:
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-16]
	mul	r3, r2, r3
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L2:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	blt	.L3
	ldr	r3, [fp, #-12]
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	intpow, .-intpow
	.global	__aeabi_idiv
	.global	__aeabi_idivmod
	.section	.rodata
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	function
	.syntax unified
	.arm
	.fpu softvfp
	.type	function, %function
function:
	@ args = 0, pretend = 0, frame = 112
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #116
	str	r0, [fp, #-112]
	str	r1, [fp, #-116]
	str	r2, [fp, #-120]
	ldr	r3, .L24
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r3, [fp, #-120]
	sub	r3, r3, #4
	str	r3, [fp, #-120]
	ldr	r3, .L24+4
	str	r3, [fp, #-100]
	ldr	r3, .L24+8
	str	r3, [fp, #-96]
	mov	r3, #0
	str	r3, [fp, #-92]
	sub	r3, fp, #56
	mov	r2, #40
	mov	r1, #0
	mov	r0, r3
	bl	memset
	mov	r3, #0
	str	r3, [fp, #-88]
	mov	r3, #1
	str	r3, [fp, #-84]
	mov	r3, #0
	str	r3, [fp, #-80]
	b	.L6
.L14:
	ldr	r3, [fp, #-80]
	ldr	r2, [fp, #-116]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #44
	bne	.L7
	mov	r3, #0
	str	r3, [fp, #-76]
	b	.L8
.L9:
	ldr	r3, [fp, #-76]
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r4, [r3, #-44]
	ldr	r3, [fp, #-92]
	sub	r2, r3, #1
	ldr	r3, [fp, #-76]
	sub	r3, r2, r3
	mov	r1, r3
	mov	r0, #10
	bl	intpow
	mov	r3, r0
	mul	r3, r4, r3
	ldr	r2, [fp, #-88]
	add	r3, r2, r3
	str	r3, [fp, #-88]
	ldr	r3, [fp, #-76]
	add	r3, r3, #1
	str	r3, [fp, #-76]
.L8:
	ldr	r2, [fp, #-76]
	ldr	r3, [fp, #-92]
	cmp	r2, r3
	blt	.L9
	ldr	r3, [fp, #-88]
	ldr	r2, [fp, #-84]
	mul	r3, r2, r3
	str	r3, [fp, #-88]
	ldr	r2, [fp, #-88]
	ldr	r3, [fp, #-100]
	cmp	r2, r3
	ble	.L10
	ldr	r3, [fp, #-88]
	str	r3, [fp, #-100]
.L10:
	ldr	r2, [fp, #-88]
	ldr	r3, [fp, #-96]
	cmp	r2, r3
	bge	.L11
	ldr	r3, [fp, #-88]
	str	r3, [fp, #-96]
.L11:
	mov	r3, #0
	str	r3, [fp, #-92]
	mov	r3, #0
	str	r3, [fp, #-88]
	mov	r3, #1
	str	r3, [fp, #-84]
	b	.L12
.L7:
	ldr	r3, [fp, #-80]
	ldr	r2, [fp, #-116]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #45
	bne	.L13
	mvn	r3, #0
	str	r3, [fp, #-84]
	b	.L12
.L13:
	ldr	r3, [fp, #-80]
	ldr	r2, [fp, #-116]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	sub	r2, r3, #48
	ldr	r3, [fp, #-92]
	lsl	r3, r3, #2
	sub	r1, fp, #12
	add	r3, r1, r3
	str	r2, [r3, #-44]
	ldr	r3, [fp, #-92]
	add	r3, r3, #1
	str	r3, [fp, #-92]
.L12:
	ldr	r3, [fp, #-80]
	add	r3, r3, #1
	str	r3, [fp, #-80]
.L6:
	ldr	r2, [fp, #-80]
	ldr	r3, [fp, #-120]
	cmp	r2, r3
	ble	.L14
	ldr	r3, [fp, #-120]
	add	r3, r3, #1
	ldr	r2, [fp, #-116]
	add	r3, r2, r3
	ldrb	r3, [r3]
	strb	r3, [fp, #-101]
	ldrb	r3, [fp, #-101]	@ zero_extendqisi2
	cmp	r3, #43
	bne	.L15
	ldr	r2, [fp, #-100]
	ldr	r3, [fp, #-96]
	add	r3, r2, r3
	str	r3, [fp, #-60]
	mov	r3, #43
	strb	r3, [fp, #-64]
	b	.L16
.L15:
	ldrb	r3, [fp, #-101]	@ zero_extendqisi2
	cmp	r3, #45
	bne	.L17
	ldr	r2, [fp, #-100]
	ldr	r3, [fp, #-96]
	sub	r3, r2, r3
	str	r3, [fp, #-60]
	mov	r3, #45
	strb	r3, [fp, #-64]
	b	.L16
.L17:
	ldrb	r3, [fp, #-101]	@ zero_extendqisi2
	cmp	r3, #42
	bne	.L18
	ldr	r3, [fp, #-100]
	ldr	r2, [fp, #-96]
	mul	r3, r2, r3
	str	r3, [fp, #-60]
	mov	r3, #42
	strb	r3, [fp, #-64]
	b	.L16
.L18:
	ldrb	r3, [fp, #-101]	@ zero_extendqisi2
	cmp	r3, #47
	bne	.L19
	ldr	r3, [fp, #-96]
	cmp	r3, #0
	bne	.L20
	mov	r3, #0
	str	r3, [fp, #-60]
	b	.L21
.L20:
	ldr	r1, [fp, #-96]
	ldr	r0, [fp, #-100]
	bl	__aeabi_idiv
	mov	r3, r0
	str	r3, [fp, #-60]
.L21:
	mov	r3, #47
	strb	r3, [fp, #-64]
	b	.L16
.L19:
	ldrb	r3, [fp, #-101]	@ zero_extendqisi2
	cmp	r3, #37
	bne	.L16
	ldr	r3, [fp, #-100]
	ldr	r1, [fp, #-96]
	mov	r0, r3
	bl	__aeabi_idivmod
	mov	r3, r1
	str	r3, [fp, #-60]
	mov	r3, #37
	strb	r3, [fp, #-64]
.L16:
	ldr	r3, [fp, #-100]
	str	r3, [fp, #-72]
	ldr	r3, [fp, #-96]
	str	r3, [fp, #-68]
	ldr	r3, [fp, #-112]
	mov	ip, r3
	sub	r3, fp, #72
	ldm	r3, {r0, r1, r2, r3}
	stm	ip, {r0, r1, r2, r3}
	ldr	r3, .L24
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L23
	bl	__stack_chk_fail
.L23:
	ldr	r0, [fp, #-112]
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L25:
	.align	2
.L24:
	.word	.LC0
	.word	-10000
	.word	10000
	.size	function, .-function
	.section	.rodata
	.align	2
.LC1:
	.ascii	"Error!\000"
	.align	2
.LC2:
	.ascii	"(%d)\000"
	.align	2
.LC3:
	.ascii	"%d\000"
	.align	2
.LC4:
	.ascii	" %c \000"
	.align	2
.LC5:
	.ascii	" = \000"
	.align	2
.LC6:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 128
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #128
	ldr	r3, .L35
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #108
	mov	r0, r3
	bl	gets
	sub	r3, fp, #108
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	str	r3, [fp, #-128]
	sub	r3, fp, #124
	sub	r1, fp, #108
	ldr	r2, [fp, #-128]
	mov	r0, r3
	bl	function
	ldrb	r3, [fp, #-116]	@ zero_extendqisi2
	cmp	r3, #47
	bne	.L27
	ldr	r3, [fp, #-120]
	cmp	r3, #0
	bne	.L27
	ldr	r0, .L35+4
	bl	printf
	b	.L28
.L27:
	ldr	r3, [fp, #-124]
	cmp	r3, #0
	bge	.L29
	ldr	r3, [fp, #-124]
	mov	r1, r3
	ldr	r0, .L35+8
	bl	printf
	b	.L30
.L29:
	ldr	r3, [fp, #-124]
	mov	r1, r3
	ldr	r0, .L35+12
	bl	printf
.L30:
	ldrb	r3, [fp, #-116]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, .L35+16
	bl	printf
	ldr	r3, [fp, #-120]
	cmp	r3, #0
	bge	.L31
	ldr	r3, [fp, #-120]
	mov	r1, r3
	ldr	r0, .L35+8
	bl	printf
	b	.L32
.L31:
	ldr	r3, [fp, #-120]
	mov	r1, r3
	ldr	r0, .L35+12
	bl	printf
.L32:
	ldr	r0, .L35+20
	bl	printf
	ldr	r3, [fp, #-112]
	mov	r1, r3
	ldr	r0, .L35+12
	bl	printf
	mov	r0, #10
	bl	putchar
.L28:
	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	.LC6
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
