	.file	"680509.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"%lld"
.LC1:
	.string	"%d\n"
	.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, 208
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -192[rbp]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	DWORD PTR -208[rbp], 0
	lea	rdx, -176[rbp]
	mov	eax, 0
	mov	ecx, 20
	mov	rdi, rdx
	rep stosq
	mov	QWORD PTR -184[rbp], 2
	jmp	.L2
.L6:
	mov	rax, QWORD PTR -192[rbp]
	cqo
	idiv	QWORD PTR -184[rbp]
	mov	rax, rdx
	test	rax, rax
	jne	.L3
	jmp	.L4
.L5:
	mov	eax, DWORD PTR -208[rbp]
	cdqe
	mov	eax, DWORD PTR -176[rbp+rax*4]
	lea	edx, 1[rax]
	mov	eax, DWORD PTR -208[rbp]
	cdqe
	mov	DWORD PTR -176[rbp+rax*4], edx
	mov	rax, QWORD PTR -192[rbp]
	cqo
	idiv	QWORD PTR -184[rbp]
	mov	QWORD PTR -192[rbp], rax
.L4:
	mov	rax, QWORD PTR -192[rbp]
	cqo
	idiv	QWORD PTR -184[rbp]
	mov	rax, rdx
	test	rax, rax
	je	.L5
	add	DWORD PTR -208[rbp], 1
.L3:
	add	QWORD PTR -184[rbp], 1
.L2:
	mov	rax, QWORD PTR -184[rbp]
	imul	rax, rax
	mov	rdx, rax
	mov	rax, QWORD PTR -192[rbp]
	cmp	rdx, rax
	jle	.L6
	mov	rax, QWORD PTR -192[rbp]
	cmp	rax, 1
	je	.L7
	mov	eax, DWORD PTR -208[rbp]
	cdqe
	mov	DWORD PTR -176[rbp+rax*4], 1
	add	DWORD PTR -208[rbp], 1
.L7:
	mov	DWORD PTR -204[rbp], 0
	mov	DWORD PTR -200[rbp], 0
	jmp	.L8
.L11:
	mov	DWORD PTR -196[rbp], 1
	jmp	.L9
.L10:
	mov	eax, DWORD PTR -200[rbp]
	cdqe
	mov	eax, DWORD PTR -176[rbp+rax*4]
	sub	eax, DWORD PTR -196[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -200[rbp]
	cdqe
	mov	DWORD PTR -176[rbp+rax*4], edx
	add	DWORD PTR -204[rbp], 1
	add	DWORD PTR -196[rbp], 1
.L9:
	mov	eax, DWORD PTR -200[rbp]
	cdqe
	mov	eax, DWORD PTR -176[rbp+rax*4]
	cmp	DWORD PTR -196[rbp], eax
	jle	.L10
	add	DWORD PTR -200[rbp], 1
.L8:
	mov	eax, DWORD PTR -200[rbp]
	cmp	eax, DWORD PTR -208[rbp]
	jl	.L11
	mov	eax, DWORD PTR -204[rbp]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L13
	call	__stack_chk_fail@PLT
.L13:
	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	"680509.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%lld\000"
	.global	__aeabi_ldivmod
	.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 = 200
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #200
	ldr	r3, .L14
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #196
	mov	r1, r3
	ldr	r0, .L14+4
	bl	__isoc99_scanf
	mov	r3, #0
	str	r3, [fp, #-212]
	sub	r3, fp, #176
	mov	r2, #160
	mov	r1, #0
	mov	r0, r3
	bl	memset
	mov	r2, #2
	mov	r3, #0
	str	r2, [fp, #-188]
	str	r3, [fp, #-184]
	b	.L2
.L6:
	sub	r1, fp, #196
	ldmia	r1, {r0-r1}
	sub	r3, fp, #188
	ldmia	r3, {r2-r3}
	bl	__aeabi_ldivmod
	orrs	r3, r2, r3
	bne	.L3
	b	.L4
.L5:
	ldr	r3, [fp, #-212]
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r3, [r3, #-164]
	add	r2, r3, #1
	ldr	r3, [fp, #-212]
	lsl	r3, r3, #2
	sub	r1, fp, #12
	add	r3, r1, r3
	str	r2, [r3, #-164]
	sub	r1, fp, #196
	ldmia	r1, {r0-r1}
	sub	r3, fp, #188
	ldmia	r3, {r2-r3}
	bl	__aeabi_ldivmod
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-196]
	str	r3, [fp, #-192]
.L4:
	sub	r1, fp, #196
	ldmia	r1, {r0-r1}
	sub	r3, fp, #188
	ldmia	r3, {r2-r3}
	bl	__aeabi_ldivmod
	orrs	r3, r2, r3
	beq	.L5
	ldr	r3, [fp, #-212]
	add	r3, r3, #1
	str	r3, [fp, #-212]
.L3:
	sub	r3, fp, #188
	ldmia	r3, {r2-r3}
	adds	r4, r2, #1
	adc	r5, r3, #0
	str	r4, [fp, #-188]
	str	r5, [fp, #-184]
.L2:
	ldr	r3, [fp, #-184]
	ldr	r2, [fp, #-188]
	mul	r2, r3, r2
	ldr	r3, [fp, #-184]
	ldr	r1, [fp, #-188]
	mul	r3, r1, r3
	add	r0, r2, r3
	ldr	r1, [fp, #-188]
	umull	r2, r3, r1, r1
	add	r1, r0, r3
	mov	r3, r1
	sub	r1, fp, #196
	ldmia	r1, {r0-r1}
	cmp	r0, r2
	sbcs	r3, r1, r3
	bge	.L6
	sub	r3, fp, #196
	ldmia	r3, {r2-r3}
	cmp	r3, #0
	cmpeq	r2, #1
	beq	.L7
	ldr	r3, [fp, #-212]
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	mov	r2, #1
	str	r2, [r3, #-164]
	ldr	r3, [fp, #-212]
	add	r3, r3, #1
	str	r3, [fp, #-212]
.L7:
	mov	r3, #0
	str	r3, [fp, #-208]
	mov	r3, #0
	str	r3, [fp, #-204]
	b	.L8
.L11:
	mov	r3, #1
	str	r3, [fp, #-200]
	b	.L9
.L10:
	ldr	r3, [fp, #-204]
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r2, [r3, #-164]
	ldr	r3, [fp, #-200]
	sub	r2, r2, r3
	ldr	r3, [fp, #-204]
	lsl	r3, r3, #2
	sub	r1, fp, #12
	add	r3, r1, r3
	str	r2, [r3, #-164]
	ldr	r3, [fp, #-208]
	add	r3, r3, #1
	str	r3, [fp, #-208]
	ldr	r3, [fp, #-200]
	add	r3, r3, #1
	str	r3, [fp, #-200]
.L9:
	ldr	r3, [fp, #-204]
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r3, [r3, #-164]
	ldr	r2, [fp, #-200]
	cmp	r2, r3
	ble	.L10
	ldr	r3, [fp, #-204]
	add	r3, r3, #1
	str	r3, [fp, #-204]
.L8:
	ldr	r2, [fp, #-204]
	ldr	r3, [fp, #-212]
	cmp	r2, r3
	blt	.L11
	ldr	r1, [fp, #-208]
	ldr	r0, .L14+8
	bl	printf
	mov	r3, #0
	ldr	r2, .L14
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L13
	bl	__stack_chk_fail
.L13:
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L15:
	.align	2
.L14:
	.word	.LC2
	.word	.LC0
	.word	.LC1
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
