	.file	"414771.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC1:
	.string	"%d"
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	r11, -397312[rsp]
.LPSRL0:
	sub	rsp, 4096
	or	DWORD PTR [rsp], 0
	cmp	rsp, r11
	jne	.LPSRL0
	sub	rsp, 2768
	mov	DWORD PTR -400068[rbp], edi
	mov	QWORD PTR -400080[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -400036[rbp], 1
	mov	DWORD PTR -400016[rbp], 2
	mov	DWORD PTR -400044[rbp], 2
	jmp	.L2
.L8:
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, DWORD PTR -400044[rbp]
	movsd	QWORD PTR -400032[rbp], xmm0
	mov	rax, QWORD PTR -400032[rbp]
	movq	xmm0, rax
	call	sqrt@PLT
	movq	rax, xmm0
	mov	QWORD PTR -400024[rbp], rax
	mov	DWORD PTR -400048[rbp], 2
	jmp	.L3
.L6:
	mov	eax, DWORD PTR -400044[rbp]
	cdq
	idiv	DWORD PTR -400048[rbp]
	mov	DWORD PTR -400040[rbp], edx
	cmp	DWORD PTR -400040[rbp], 0
	je	.L15
	add	DWORD PTR -400048[rbp], 1
.L3:
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, DWORD PTR -400048[rbp]
	movsd	xmm2, QWORD PTR -400024[rbp]
	movsd	xmm0, QWORD PTR .LC0[rip]
	addsd	xmm0, xmm2
	comisd	xmm0, xmm1
	ja	.L6
	jmp	.L5
.L15:
	nop
.L5:
	cmp	DWORD PTR -400040[rbp], 0
	je	.L7
	mov	eax, DWORD PTR -400036[rbp]
	cdqe
	mov	edx, DWORD PTR -400044[rbp]
	mov	DWORD PTR -400016[rbp+rax*4], edx
	add	DWORD PTR -400036[rbp], 1
.L7:
	add	DWORD PTR -400044[rbp], 1
.L2:
	cmp	DWORD PTR -400044[rbp], 100100
	jle	.L8
	lea	rax, -400052[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	DWORD PTR -400048[rbp], 0
	jmp	.L9
.L12:
	mov	eax, DWORD PTR -400048[rbp]
	cdqe
	mov	edx, DWORD PTR -400016[rbp+rax*4]
	mov	eax, DWORD PTR -400052[rbp]
	cmp	edx, eax
	je	.L16
	add	DWORD PTR -400048[rbp], 1
.L9:
	cmp	DWORD PTR -400048[rbp], 100000
	jle	.L12
	jmp	.L11
.L16:
	nop
.L11:
	mov	eax, DWORD PTR -400048[rbp]
	add	eax, 1
	cdqe
	mov	eax, DWORD PTR -400016[rbp+rax*4]
	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	.L14
	call	__stack_chk_fail@PLT
.L14:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC0:
	.long	0
	.long	1072693248
	.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	"414771.c"
	.text
	.global	__aeabi_i2d
	.global	__aeabi_idivmod
	.global	__aeabi_dadd
	.global	__aeabi_dcmplt
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%d\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 = 400056
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #397312
	sub	sp, sp, #2736
	sub	sp, sp, #8
	sub	r3, fp, #397312
	sub	r3, r3, #12
	str	r0, [r3, #-2740]
	sub	r3, fp, #397312
	sub	r3, r3, #12
	str	r1, [r3, #-2744]
	ldr	r3, .L17
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #397312
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #1
	str	r3, [r2, #-2716]
	sub	r3, fp, #397312
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #2
	str	r3, [r2, #-2696]
	sub	r3, fp, #397312
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #2
	str	r3, [r2, #-2724]
	b	.L2
.L8:
	sub	r3, fp, #397312
	sub	r3, r3, #12
	sub	r3, r3, #2704
	mov	r4, r3
	sub	r3, fp, #397312
	sub	r3, r3, #12
	ldr	r0, [r3, #-2724]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	stmdb	r4, {r2-r3}
	sub	r3, fp, #397312
	sub	r3, r3, #12
	sub	r3, r3, #2704
	mov	r4, r3
	sub	r3, fp, #397312
	sub	r3, r3, #12
	sub	r3, r3, #2704
	ldmdb	r3, {r0-r1}
	bl	sqrt
	stm	r4, {r0-r1}
	sub	r3, fp, #397312
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #2
	str	r3, [r2, #-2728]
	b	.L3
.L6:
	sub	r3, fp, #397312
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #397312
	sub	r3, r3, #12
	sub	r2, fp, #397312
	sub	r2, r2, #12
	ldr	r3, [r3, #-2724]
	ldr	r1, [r2, #-2728]
	mov	r0, r3
	bl	__aeabi_idivmod
	mov	r3, r1
	str	r3, [r4, #-2720]
	sub	r3, fp, #397312
	sub	r3, r3, #12
	ldr	r3, [r3, #-2720]
	cmp	r3, #0
	beq	.L15
	sub	r3, fp, #397312
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #397312
	sub	r3, r3, #12
	ldr	r3, [r3, #-2728]
	add	r3, r3, #1
	str	r3, [r2, #-2728]
.L3:
	sub	r3, fp, #397312
	sub	r3, r3, #12
	ldr	r0, [r3, #-2728]
	bl	__aeabi_i2d
	mov	r4, r0
	mov	r5, r1
	sub	r3, fp, #397312
	sub	r3, r3, #12
	sub	r3, r3, #2704
	mov	r1, r3
	mov	r2, #0
	ldr	r3, .L17+4
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	bne	.L6
	b	.L5
.L15:
	nop
.L5:
	sub	r3, fp, #397312
	sub	r3, r3, #12
	ldr	r3, [r3, #-2720]
	cmp	r3, #0
	beq	.L7
	sub	r3, fp, #397312
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #397312
	sub	r3, r3, #12
	ldr	r3, [r3, #-2716]
	lsl	r3, r3, #2
	add	r3, r2, r3
	sub	r2, fp, #397312
	sub	r2, r2, #12
	ldr	r2, [r2, #-2724]
	str	r2, [r3, #-2696]
	sub	r3, fp, #397312
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #397312
	sub	r3, r3, #12
	ldr	r3, [r3, #-2716]
	add	r3, r3, #1
	str	r3, [r2, #-2716]
.L7:
	sub	r3, fp, #397312
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #397312
	sub	r3, r3, #12
	ldr	r3, [r3, #-2724]
	add	r3, r3, #1
	str	r3, [r2, #-2724]
.L2:
	sub	r3, fp, #397312
	sub	r3, r3, #12
	ldr	r3, [r3, #-2724]
	ldr	r2, .L17+8
	cmp	r3, r2
	ble	.L8
	ldr	r3, .L17+12
	sub	r2, fp, #12
	add	r3, r2, r3
	mov	r1, r3
	ldr	r0, .L17+16
	bl	__isoc99_scanf
	sub	r3, fp, #397312
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-2728]
	b	.L9
.L12:
	sub	r3, fp, #397312
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #397312
	sub	r3, r3, #12
	ldr	r3, [r3, #-2728]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3, #-2696]
	sub	r3, fp, #397312
	sub	r3, r3, #12
	ldr	r3, [r3, #-2732]
	cmp	r2, r3
	beq	.L16
	sub	r3, fp, #397312
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #397312
	sub	r3, r3, #12
	ldr	r3, [r3, #-2728]
	add	r3, r3, #1
	str	r3, [r2, #-2728]
.L9:
	sub	r3, fp, #397312
	sub	r3, r3, #12
	ldr	r3, [r3, #-2728]
	ldr	r2, .L17+20
	cmp	r3, r2
	ble	.L12
	b	.L11
.L16:
	nop
.L11:
	sub	r3, fp, #397312
	sub	r3, r3, #12
	ldr	r3, [r3, #-2728]
	add	r3, r3, #1
	sub	r2, fp, #397312
	sub	r2, r2, #12
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3, #-2696]
	mov	r1, r3
	ldr	r0, .L17+16
	bl	printf
	mov	r3, #0
	ldr	r2, .L17
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L14
	bl	__stack_chk_fail
.L14:
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L18:
	.align	2
.L17:
	.word	.LC1
	.word	1072693248
	.word	100100
	.word	-400044
	.word	.LC0
	.word	100000
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
