	.file	"722309.c"
	.intel_syntax noprefix
	.text
	.globl	str
	.bss
	.align 32
	.type	str, @object
	.size	str, 11000100
str:
	.zero	11000100
	.globl	p
	.section	.data.rel.local,"aw"
	.align 8
	.type	p, @object
	.size	p, 8
p:
	.quad	str
	.text
	.globl	square
	.type	square, @function
square:
.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, 32
	mov	DWORD PTR -20[rbp], edi
	mov	DWORD PTR -24[rbp], esi
	mov	QWORD PTR -32[rbp], rdx
	mov	DWORD PTR -8[rbp], 0
	mov	DWORD PTR -4[rbp], 0
	jmp	.L2
.L7:
	add	DWORD PTR -8[rbp], 1
	mov	rax, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR [rax]
	cdqe
	lea	rdx, str[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	cmp	al, 50
	jne	.L3
	mov	rax, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR [rax]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR -32[rbp]
	mov	DWORD PTR [rax], edx
	mov	eax, DWORD PTR -24[rbp]
	sar	eax
	mov	ecx, eax
	mov	rdx, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR -20[rbp]
	mov	esi, ecx
	mov	edi, eax
	call	square
	add	DWORD PTR -4[rbp], eax
	jmp	.L4
.L3:
	mov	rax, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR [rax]
	cdqe
	lea	rdx, str[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	cmp	al, 49
	jne	.L5
	mov	eax, DWORD PTR -24[rbp]
	imul	eax, eax
	add	DWORD PTR -4[rbp], eax
	mov	rax, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR [rax]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR -32[rbp]
	mov	DWORD PTR [rax], edx
	jmp	.L4
.L5:
	mov	rax, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR [rax]
	cdqe
	lea	rdx, str[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	cmp	al, 48
	jne	.L4
	mov	rax, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR [rax]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR -32[rbp]
	mov	DWORD PTR [rax], edx
.L4:
	cmp	DWORD PTR -8[rbp], 4
	je	.L9
.L2:
	mov	rax, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -20[rbp], eax
	jg	.L7
	jmp	.L6
.L9:
	nop
.L6:
	mov	eax, DWORD PTR -4[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	square, .-square
	.globl	DF
	.type	DF, @function
DF:
.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, 32
	mov	DWORD PTR -20[rbp], edi
	mov	DWORD PTR -4[rbp], 0
	mov	rax, QWORD PTR p[rip]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 50
	jne	.L11
	mov	rax, QWORD PTR p[rip]
	add	rax, 1
	mov	QWORD PTR p[rip], rax
	mov	eax, DWORD PTR -20[rbp]
	sar	eax, 2
	mov	edi, eax
	call	DF
	add	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -20[rbp]
	sar	eax, 2
	mov	edi, eax
	call	DF
	add	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -20[rbp]
	sar	eax, 2
	mov	edi, eax
	call	DF
	add	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -20[rbp]
	sar	eax, 2
	mov	edi, eax
	call	DF
	add	DWORD PTR -4[rbp], eax
	jmp	.L12
.L11:
	mov	rax, QWORD PTR p[rip]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 49
	jne	.L13
	mov	rax, QWORD PTR p[rip]
	add	rax, 1
	mov	QWORD PTR p[rip], rax
	mov	eax, DWORD PTR -20[rbp]
	add	DWORD PTR -4[rbp], eax
	jmp	.L12
.L13:
	mov	rax, QWORD PTR p[rip]
	add	rax, 1
	mov	QWORD PTR p[rip], rax
.L12:
	mov	eax, DWORD PTR -4[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	DF, .-DF
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"%d\n"
	.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
	push	rbx
	sub	rsp, 24
	.cfi_offset 3, -24
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR stdin[rip]
	mov	rdx, rax
	mov	esi, 11000100
	lea	rdi, str[rip]
	call	fgets@PLT
	lea	rax, -32[rbp]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rax, str[rip]
	mov	QWORD PTR p[rip], rax
	mov	DWORD PTR -28[rbp], 0
	mov	ebx, DWORD PTR -32[rbp]
	lea	rdi, str[rip]
	call	strlen@PLT
	sub	eax, 1
	mov	ecx, eax
	lea	rax, -28[rbp]
	mov	rdx, rax
	mov	esi, ebx
	mov	edi, ecx
	call	square
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	mov	rdx, QWORD PTR -24[rbp]
	sub	rdx, QWORD PTR fs:40
	je	.L17
	call	__stack_chk_fail@PLT
.L17:
	mov	rbx, QWORD PTR -8[rbp]
	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	"722309.c"
	.text
	.comm	str,11000100,4
	.global	p
	.data
	.align	2
	.type	p, %object
	.size	p, 4
p:
	.word	str
	.text
	.align	2
	.global	square
	.syntax unified
	.arm
	.fpu softvfp
	.type	square, %function
square:
	@ 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, #-12]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L2
.L7:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3]
	ldr	r2, .L10
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	cmp	r3, #50
	bne	.L3
	ldr	r3, [fp, #-24]
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r3, [fp, #-24]
	str	r2, [r3]
	ldr	r3, [fp, #-20]
	asr	r3, r3, #1
	ldr	r2, [fp, #-24]
	mov	r1, r3
	ldr	r0, [fp, #-16]
	bl	square
	mov	r2, r0
	ldr	r3, [fp, #-8]
	add	r3, r3, r2
	str	r3, [fp, #-8]
	b	.L4
.L3:
	ldr	r3, [fp, #-24]
	ldr	r3, [r3]
	ldr	r2, .L10
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	cmp	r3, #49
	bne	.L5
	ldr	r3, [fp, #-20]
	mov	r2, r3
	mul	r2, r3, r2
	mov	r3, r2
	ldr	r2, [fp, #-8]
	add	r3, r2, r3
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r3, [fp, #-24]
	str	r2, [r3]
	b	.L4
.L5:
	ldr	r3, [fp, #-24]
	ldr	r3, [r3]
	ldr	r2, .L10
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	cmp	r3, #48
	bne	.L4
	ldr	r3, [fp, #-24]
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r3, [fp, #-24]
	str	r2, [r3]
.L4:
	ldr	r3, [fp, #-12]
	cmp	r3, #4
	beq	.L9
.L2:
	ldr	r3, [fp, #-24]
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	bgt	.L7
	b	.L6
.L9:
	nop
.L6:
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L11:
	.align	2
.L10:
	.word	str
	.size	square, .-square
	.align	2
	.global	DF
	.syntax unified
	.arm
	.fpu softvfp
	.type	DF, %function
DF:
	@ 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, #-8]
	ldr	r3, .L17
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #50
	bne	.L13
	ldr	r3, .L17
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L17
	str	r3, [r2]
	ldr	r3, [fp, #-16]
	asr	r3, r3, #2
	mov	r0, r3
	bl	DF
	mov	r2, r0
	ldr	r3, [fp, #-8]
	add	r3, r3, r2
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-16]
	asr	r3, r3, #2
	mov	r0, r3
	bl	DF
	mov	r2, r0
	ldr	r3, [fp, #-8]
	add	r3, r3, r2
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-16]
	asr	r3, r3, #2
	mov	r0, r3
	bl	DF
	mov	r2, r0
	ldr	r3, [fp, #-8]
	add	r3, r3, r2
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-16]
	asr	r3, r3, #2
	mov	r0, r3
	bl	DF
	mov	r2, r0
	ldr	r3, [fp, #-8]
	add	r3, r3, r2
	str	r3, [fp, #-8]
	b	.L14
.L13:
	ldr	r3, .L17
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #49
	bne	.L15
	ldr	r3, .L17
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L17
	str	r3, [r2]
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-16]
	add	r3, r2, r3
	str	r3, [fp, #-8]
	b	.L14
.L15:
	ldr	r3, .L17
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L17
	str	r3, [r2]
.L14:
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L18:
	.align	2
.L17:
	.word	p
	.size	DF, .-DF
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%d\000"
	.align	2
.LC1:
	.ascii	"%d\012\000"
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	ldr	r3, .L22
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L22+4
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L22+8
	ldr	r0, .L22+12
	bl	fgets
	sub	r3, fp, #16
	mov	r1, r3
	ldr	r0, .L22+16
	bl	__isoc99_scanf
	ldr	r3, .L22+20
	ldr	r2, .L22+12
	str	r2, [r3]
	mov	r3, #0
	str	r3, [fp, #-12]
	ldr	r0, .L22+12
	bl	strlen
	mov	r3, r0
	sub	r3, r3, #1
	mov	r0, r3
	ldr	r3, [fp, #-16]
	sub	r2, fp, #12
	mov	r1, r3
	bl	square
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L22+24
	bl	printf
	mov	r3, #0
	ldr	r2, .L22
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L21
	bl	__stack_chk_fail
.L21:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L23:
	.align	2
.L22:
	.word	.LC2
	.word	stdin
	.word	11000100
	.word	str
	.word	.LC0
	.word	p
	.word	.LC1
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
