	.file	"721565.c"
	.intel_syntax noprefix
	.text
	.globl	power
	.type	power, @function
power:
.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, 16
	mov	DWORD PTR -4[rbp], edi
	mov	DWORD PTR -8[rbp], esi
	cmp	DWORD PTR -8[rbp], 0
	jne	.L2
	mov	eax, 1
	jmp	.L3
.L2:
	cmp	DWORD PTR -8[rbp], 1
	jne	.L4
	mov	eax, DWORD PTR -4[rbp]
	jmp	.L3
.L4:
	mov	eax, DWORD PTR -8[rbp]
	lea	edx, -1[rax]
	mov	eax, DWORD PTR -4[rbp]
	mov	esi, edx
	mov	edi, eax
	call	power
	imul	eax, DWORD PTR -4[rbp]
.L3:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	power, .-power
	.section	.rodata
.LC0:
	.string	"%s"
.LC1:
	.string	"zero"
.LC2:
	.string	"one"
.LC3:
	.string	"%s "
	.text
	.globl	main
	.type	main, @function
main:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 304
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -272[rbp], 1869768058
	mov	WORD PTR -264[rbp], 0
	mov	QWORD PTR -262[rbp], 6647407
	mov	WORD PTR -254[rbp], 0
	mov	QWORD PTR -252[rbp], 7305076
	mov	WORD PTR -244[rbp], 0
	movabs	rax, 435493693556
	mov	QWORD PTR -242[rbp], rax
	mov	WORD PTR -234[rbp], 0
	mov	QWORD PTR -232[rbp], 1920298854
	mov	WORD PTR -224[rbp], 0
	mov	QWORD PTR -222[rbp], 1702259046
	mov	WORD PTR -214[rbp], 0
	mov	QWORD PTR -212[rbp], 7891315
	mov	WORD PTR -204[rbp], 0
	movabs	rax, 474148660595
	mov	QWORD PTR -202[rbp], rax
	mov	WORD PTR -194[rbp], 0
	movabs	rax, 499967813989
	mov	QWORD PTR -192[rbp], rax
	mov	WORD PTR -184[rbp], 0
	mov	QWORD PTR -182[rbp], 1701734766
	mov	WORD PTR -174[rbp], 0
	mov	QWORD PTR -160[rbp], 0
	mov	QWORD PTR -152[rbp], 0
	mov	QWORD PTR -144[rbp], 0
	mov	QWORD PTR -136[rbp], 0
	mov	QWORD PTR -128[rbp], 0
	mov	QWORD PTR -120[rbp], 0
	mov	QWORD PTR -112[rbp], 0
	mov	QWORD PTR -104[rbp], 0
	mov	QWORD PTR -96[rbp], 0
	mov	QWORD PTR -88[rbp], 0
	mov	QWORD PTR -80[rbp], 0
	mov	QWORD PTR -72[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	QWORD PTR -24[rbp], 0
	mov	DWORD PTR -16[rbp], 0
	mov	WORD PTR -12[rbp], 0
	mov	DWORD PTR -292[rbp], 0
	lea	rax, -160[rbp]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	QWORD PTR -280[rbp], 0
	lea	rax, -160[rbp]
	mov	QWORD PTR -280[rbp], rax
	jmp	.L6
.L7:
	mov	rax, QWORD PTR -280[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	sub	eax, 48
	add	DWORD PTR -292[rbp], eax
	add	QWORD PTR -280[rbp], 1
.L6:
	mov	rax, QWORD PTR -280[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L7
	mov	DWORD PTR -284[rbp], 0
	mov	DWORD PTR -288[rbp], 4
	cmp	DWORD PTR -292[rbp], 0
	jne	.L8
	lea	rdi, .LC1[rip]
	call	puts@PLT
	mov	eax, 0
	jmp	.L17
.L8:
	cmp	DWORD PTR -292[rbp], 1
	jne	.L11
	lea	rdi, .LC2[rip]
	call	puts@PLT
	mov	eax, 0
	jmp	.L17
.L12:
	sub	DWORD PTR -288[rbp], 1
.L11:
	mov	eax, DWORD PTR -288[rbp]
	mov	esi, eax
	mov	edi, 10
	call	power
	cmp	DWORD PTR -292[rbp], eax
	jle	.L12
	jmp	.L13
.L16:
	mov	eax, DWORD PTR -288[rbp]
	mov	esi, eax
	mov	edi, 10
	call	power
	mov	ecx, eax
	mov	eax, DWORD PTR -292[rbp]
	cdq
	idiv	ecx
	mov	DWORD PTR -284[rbp], eax
	cmp	DWORD PTR -288[rbp], 0
	je	.L14
	lea	rcx, -272[rbp]
	mov	eax, DWORD PTR -284[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	add	rax, rcx
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L15
.L14:
	lea	rcx, -272[rbp]
	mov	eax, DWORD PTR -284[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	add	rax, rcx
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
.L15:
	mov	eax, DWORD PTR -288[rbp]
	mov	esi, eax
	mov	edi, 10
	call	power
	imul	eax, DWORD PTR -284[rbp]
	sub	DWORD PTR -292[rbp], eax
	sub	DWORD PTR -288[rbp], 1
.L13:
	cmp	DWORD PTR -288[rbp], 0
	jns	.L16
	mov	edi, 10
	call	putchar@PLT
	mov	eax, 0
.L17:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L18
	call	__stack_chk_fail@PLT
.L18:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.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	"721565.c"
	.text
	.align	2
	.global	power
	.syntax unified
	.arm
	.fpu softvfp
	.type	power, %function
power:
	@ 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]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L2
	mov	r3, #1
	b	.L3
.L2:
	ldr	r3, [fp, #-12]
	cmp	r3, #1
	bne	.L4
	ldr	r3, [fp, #-8]
	b	.L3
.L4:
	ldr	r3, [fp, #-12]
	sub	r3, r3, #1
	mov	r1, r3
	ldr	r0, [fp, #-8]
	bl	power
	mov	r2, r0
	ldr	r3, [fp, #-8]
	mul	r3, r2, r3
.L3:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	power, .-power
	.section	.rodata
	.align	2
.LC1:
	.ascii	"%s\000"
	.align	2
.LC2:
	.ascii	"zero\000"
	.align	2
.LC3:
	.ascii	"one\000"
	.global	__aeabi_idiv
	.align	2
.LC4:
	.ascii	"%s \000"
	.align	2
.LC0:
	.ascii	"zero\000"
	.space	5
	.ascii	"one\000"
	.space	6
	.ascii	"two\000"
	.space	6
	.ascii	"three\000"
	.space	4
	.ascii	"four\000"
	.space	5
	.ascii	"five\000"
	.space	5
	.ascii	"six\000"
	.space	6
	.ascii	"seven\000"
	.space	4
	.ascii	"eight\000"
	.space	4
	.ascii	"nine\000"
	.space	5
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 272
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #272
	ldr	r3, .L19
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r2, .L19+4
	sub	r3, fp, #260
	mov	r1, r2
	mov	r2, #100
	mov	r0, r3
	bl	memcpy
	mov	r3, #0
	str	r3, [fp, #-160]
	sub	r3, fp, #156
	mov	r2, #146
	mov	r1, #0
	mov	r0, r3
	bl	memset
	mov	r3, #0
	str	r3, [fp, #-276]
	sub	r3, fp, #160
	mov	r1, r3
	ldr	r0, .L19+8
	bl	__isoc99_scanf
	mov	r3, #0
	str	r3, [fp, #-272]
	sub	r3, fp, #160
	str	r3, [fp, #-272]
	b	.L6
.L7:
	ldr	r3, [fp, #-272]
	ldrb	r3, [r3]	@ zero_extendqisi2
	sub	r3, r3, #48
	ldr	r2, [fp, #-276]
	add	r3, r2, r3
	str	r3, [fp, #-276]
	ldr	r3, [fp, #-272]
	add	r3, r3, #1
	str	r3, [fp, #-272]
.L6:
	ldr	r3, [fp, #-272]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L7
	mov	r3, #0
	str	r3, [fp, #-264]
	mov	r3, #4
	str	r3, [fp, #-268]
	ldr	r3, [fp, #-276]
	cmp	r3, #0
	bne	.L8
	ldr	r0, .L19+12
	bl	puts
	mov	r3, #0
	b	.L17
.L8:
	ldr	r3, [fp, #-276]
	cmp	r3, #1
	bne	.L11
	ldr	r0, .L19+16
	bl	puts
	mov	r3, #0
	b	.L17
.L12:
	ldr	r3, [fp, #-268]
	sub	r3, r3, #1
	str	r3, [fp, #-268]
.L11:
	ldr	r1, [fp, #-268]
	mov	r0, #10
	bl	power
	mov	r2, r0
	ldr	r3, [fp, #-276]
	cmp	r3, r2
	ble	.L12
	b	.L13
.L16:
	ldr	r1, [fp, #-268]
	mov	r0, #10
	bl	power
	mov	r3, r0
	mov	r1, r3
	ldr	r0, [fp, #-276]
	bl	__aeabi_idiv
	mov	r3, r0
	str	r3, [fp, #-264]
	ldr	r3, [fp, #-268]
	cmp	r3, #0
	beq	.L14
	sub	r1, fp, #260
	ldr	r2, [fp, #-264]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r1, r3
	mov	r1, r3
	ldr	r0, .L19+20
	bl	printf
	b	.L15
.L14:
	sub	r1, fp, #260
	ldr	r2, [fp, #-264]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r1, r3
	mov	r1, r3
	ldr	r0, .L19+8
	bl	printf
.L15:
	ldr	r1, [fp, #-268]
	mov	r0, #10
	bl	power
	mov	r2, r0
	ldr	r3, [fp, #-264]
	mul	r3, r2, r3
	ldr	r2, [fp, #-276]
	sub	r3, r2, r3
	str	r3, [fp, #-276]
	ldr	r3, [fp, #-268]
	sub	r3, r3, #1
	str	r3, [fp, #-268]
.L13:
	ldr	r3, [fp, #-268]
	cmp	r3, #0
	bge	.L16
	mov	r0, #10
	bl	putchar
	mov	r3, #0
.L17:
	ldr	r2, .L19
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L18
	bl	__stack_chk_fail
.L18:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L20:
	.align	2
.L19:
	.word	.LC5
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
