	.file	"828946.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"%d %d"
.LC1:
	.string	"-1"
.LC2:
	.string	"%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, 80
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -19[rbp], 0
	mov	WORD PTR -11[rbp], 0
	mov	BYTE PTR -9[rbp], 0
	mov	DWORD PTR -64[rbp], 9
	mov	DWORD PTR -60[rbp], 90
	mov	DWORD PTR -56[rbp], 900
	mov	DWORD PTR -52[rbp], 9000
	mov	DWORD PTR -48[rbp], 90000
	mov	DWORD PTR -44[rbp], 900000
	mov	DWORD PTR -40[rbp], 9000000
	mov	DWORD PTR -36[rbp], 90000000
	mov	DWORD PTR -32[rbp], 900000000
	mov	DWORD PTR -68[rbp], 1
	lea	rdx, -76[rbp]
	lea	rax, -80[rbp]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	DWORD PTR -72[rbp], 9
	jmp	.L2
.L3:
	mov	eax, DWORD PTR -76[rbp]
	sub	eax, DWORD PTR -72[rbp]
	mov	DWORD PTR -76[rbp], eax
	mov	eax, DWORD PTR -68[rbp]
	cdqe
	mov	eax, DWORD PTR -64[rbp+rax*4]
	mov	edx, DWORD PTR -68[rbp]
	add	edx, 1
	imul	eax, edx
	mov	DWORD PTR -72[rbp], eax
	add	DWORD PTR -68[rbp], 1
.L2:
	mov	eax, DWORD PTR -76[rbp]
	cmp	DWORD PTR -72[rbp], eax
	jl	.L3
	mov	eax, DWORD PTR -76[rbp]
	sub	eax, 1
	cdq
	idiv	DWORD PTR -68[rbp]
	mov	esi, eax
	mov	eax, DWORD PTR -68[rbp]
	sub	eax, 1
	cdqe
	mov	eax, DWORD PTR -64[rbp+rax*4]
	movsx	rdx, eax
	imul	rdx, rdx, 954437177
	shr	rdx, 32
	sar	edx
	sar	eax, 31
	mov	ecx, eax
	mov	eax, edx
	sub	eax, ecx
	add	eax, esi
	mov	DWORD PTR -72[rbp], eax
	mov	eax, DWORD PTR -80[rbp]
	cmp	DWORD PTR -72[rbp], eax
	jle	.L4
	lea	rdi, .LC1[rip]
	call	puts@PLT
	mov	eax, 0
	jmp	.L5
.L4:
	mov	eax, DWORD PTR -76[rbp]
	sub	eax, 1
	cdq
	idiv	DWORD PTR -68[rbp]
	mov	eax, edx
	mov	DWORD PTR -76[rbp], eax
	mov	edx, DWORD PTR -72[rbp]
	lea	rax, -19[rbp]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	mov	eax, DWORD PTR -76[rbp]
	cdqe
	movzx	eax, BYTE PTR -19[rbp+rax]
	movsx	eax, al
	mov	edi, eax
	call	putchar@PLT
	mov	eax, 0
.L5:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L6
	call	__stack_chk_fail@PLT
.L6:
	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	"828946.c"
	.text
	.section	.rodata
	.align	2
.LC1:
	.ascii	"%d %d\000"
	.global	__aeabi_idiv
	.align	2
.LC2:
	.ascii	"-1\000"
	.global	__aeabi_idivmod
	.align	2
.LC3:
	.ascii	"%d\000"
	.align	2
.LC0:
	.word	9
	.word	90
	.word	900
	.word	9000
	.word	90000
	.word	900000
	.word	9000000
	.word	90000000
	.word	900000000
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 72
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #72
	ldr	r3, .L7
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-20]
	sub	r3, fp, #16
	mov	r2, #0
	str	r2, [r3]
	strh	r2, [r3, #4]	@ movhi
	strb	r2, [r3, #6]
	ldr	r3, .L7+4
	sub	ip, fp, #56
	mov	lr, r3
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldr	r3, [lr]
	str	r3, [ip]
	mov	r3, #1
	str	r3, [fp, #-60]
	sub	r2, fp, #68
	sub	r3, fp, #72
	mov	r1, r3
	ldr	r0, .L7+8
	bl	__isoc99_scanf
	mov	r3, #9
	str	r3, [fp, #-64]
	b	.L2
.L3:
	ldr	r2, [fp, #-68]
	ldr	r3, [fp, #-64]
	sub	r3, r2, r3
	str	r3, [fp, #-68]
	ldr	r3, [fp, #-60]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-52]
	ldr	r2, [fp, #-60]
	add	r2, r2, #1
	mul	r3, r2, r3
	str	r3, [fp, #-64]
	ldr	r3, [fp, #-60]
	add	r3, r3, #1
	str	r3, [fp, #-60]
.L2:
	ldr	r3, [fp, #-68]
	ldr	r2, [fp, #-64]
	cmp	r2, r3
	blt	.L3
	ldr	r3, [fp, #-68]
	sub	r3, r3, #1
	ldr	r1, [fp, #-60]
	mov	r0, r3
	bl	__aeabi_idiv
	mov	r3, r0
	mov	r1, r3
	ldr	r3, [fp, #-60]
	sub	r3, r3, #1
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-52]
	ldr	r2, .L7+12
	smull	r0, r2, r3, r2
	asr	r2, r2, #1
	asr	r3, r3, #31
	sub	r3, r2, r3
	add	r3, r1, r3
	str	r3, [fp, #-64]
	ldr	r3, [fp, #-72]
	ldr	r2, [fp, #-64]
	cmp	r2, r3
	ble	.L4
	ldr	r0, .L7+16
	bl	puts
	mov	r3, #0
	b	.L5
.L4:
	ldr	r3, [fp, #-68]
	sub	r3, r3, #1
	ldr	r1, [fp, #-60]
	mov	r0, r3
	bl	__aeabi_idivmod
	mov	r3, r1
	str	r3, [fp, #-68]
	sub	r3, fp, #20
	ldr	r2, [fp, #-64]
	ldr	r1, .L7+20
	mov	r0, r3
	bl	sprintf
	ldr	r3, [fp, #-68]
	sub	r2, fp, #4
	add	r3, r2, r3
	ldrb	r3, [r3, #-16]	@ zero_extendqisi2
	mov	r0, r3
	bl	putchar
	mov	r3, #0
.L5:
	ldr	r2, .L7
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L6
	bl	__stack_chk_fail
.L6:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L8:
	.align	2
.L7:
	.word	.LC4
	.word	.LC0
	.word	.LC1
	.word	954437177
	.word	.LC2
	.word	.LC3
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
