	.file	"132953461.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"%ld"
	.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, 864
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -832[rbp], 0
	jmp	.L2
.L10:
	mov	rax, QWORD PTR -856[rbp]
	test	rax, rax
	js	.L14
	mov	QWORD PTR -848[rbp], 0
.L7:
	mov	rcx, QWORD PTR -856[rbp]
	movabs	rdx, 6148914691236517206
	mov	rax, rcx
	imul	rdx
	mov	rsi, rcx
	sar	rsi, 63
	mov	rax, rdx
	sub	rax, rsi
	mov	QWORD PTR -824[rbp], rax
	mov	rdx, QWORD PTR -824[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sub	rcx, rax
	mov	rdx, rcx
	mov	QWORD PTR -824[rbp], rdx
	mov	rax, QWORD PTR -848[rbp]
	mov	rdx, QWORD PTR -824[rbp]
	mov	QWORD PTR -816[rbp+rax*8], rdx
	mov	rcx, QWORD PTR -856[rbp]
	movabs	rdx, 6148914691236517206
	mov	rax, rcx
	imul	rdx
	sar	rcx, 63
	mov	rax, rdx
	sub	rax, rcx
	mov	QWORD PTR -856[rbp], rax
	mov	rax, QWORD PTR -856[rbp]
	test	rax, rax
	je	.L15
	add	QWORD PTR -848[rbp], 1
	jmp	.L7
.L15:
	nop
	mov	rax, QWORD PTR -848[rbp]
	mov	QWORD PTR -840[rbp], rax
	jmp	.L8
.L9:
	mov	rax, QWORD PTR -840[rbp]
	mov	rax, QWORD PTR -816[rbp+rax*8]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	sub	QWORD PTR -840[rbp], 1
.L8:
	cmp	QWORD PTR -840[rbp], 0
	jns	.L9
	mov	edi, 10
	call	putchar@PLT
.L2:
	lea	rax, -856[rbp]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	cmp	eax, 1
	je	.L10
	jmp	.L4
.L14:
	nop
.L4:
	mov	eax, 0
	mov	rdi, QWORD PTR -8[rbp]
	sub	rdi, QWORD PTR fs:40
	je	.L12
	call	__stack_chk_fail@PLT
.L12:
	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	"132953461.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%ld\000"
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 424
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #424
	ldr	r3, .L16
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-416]
	b	.L2
.L10:
	ldr	r3, [fp, #-428]
	cmp	r3, #0
	blt	.L14
	mov	r3, #0
	str	r3, [fp, #-424]
.L7:
	ldr	r2, [fp, #-428]
	ldr	r3, .L16+4
	smull	r0, r1, r3, r2
	asr	r3, r2, #31
	sub	r1, r1, r3
	mov	r3, r1
	lsl	r3, r3, #1
	add	r3, r3, r1
	sub	r3, r2, r3
	str	r3, [fp, #-412]
	ldr	r3, [fp, #-424]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r2, [fp, #-412]
	str	r2, [r3, #-404]
	ldr	r3, [fp, #-428]
	ldr	r2, .L16+4
	smull	r1, r2, r3, r2
	asr	r3, r3, #31
	sub	r3, r2, r3
	str	r3, [fp, #-428]
	ldr	r3, [fp, #-428]
	cmp	r3, #0
	beq	.L15
	ldr	r3, [fp, #-424]
	add	r3, r3, #1
	str	r3, [fp, #-424]
	b	.L7
.L15:
	nop
	ldr	r3, [fp, #-424]
	str	r3, [fp, #-420]
	b	.L8
.L9:
	ldr	r3, [fp, #-420]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-404]
	mov	r1, r3
	ldr	r0, .L16+8
	bl	printf
	ldr	r3, [fp, #-420]
	sub	r3, r3, #1
	str	r3, [fp, #-420]
.L8:
	ldr	r3, [fp, #-420]
	cmp	r3, #0
	bge	.L9
	mov	r0, #10
	bl	putchar
.L2:
	sub	r3, fp, #428
	mov	r1, r3
	ldr	r0, .L16+8
	bl	__isoc99_scanf
	mov	r3, r0
	cmp	r3, #1
	beq	.L10
	b	.L4
.L14:
	nop
.L4:
	mov	r3, #0
	ldr	r2, .L16
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L12
	bl	__stack_chk_fail
.L12:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L17:
	.align	2
.L16:
	.word	.LC1
	.word	1431655766
	.word	.LC0
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
