	.file	"215768856.c"
	.intel_syntax noprefix
	.text
	.globl	intsqrt
	.type	intsqrt, @function
intsqrt:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -8[rbp], 1
	jmp	.L2
.L3:
	add	QWORD PTR -8[rbp], 1
.L2:
	mov	rax, QWORD PTR -8[rbp]
	imul	rax, rax
	cmp	QWORD PTR -24[rbp], rax
	jge	.L3
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, 1
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	intsqrt, .-intsqrt
	.globl	sum_of_divs
	.type	sum_of_divs, @function
sum_of_divs:
.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, 40
	mov	QWORD PTR -40[rbp], rdi
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	intsqrt
	mov	QWORD PTR -8[rbp], rax
	mov	QWORD PTR -24[rbp], 0
	mov	QWORD PTR -16[rbp], 1
	jmp	.L6
.L9:
	mov	rax, QWORD PTR -40[rbp]
	cqo
	idiv	QWORD PTR -16[rbp]
	mov	rax, rdx
	test	rax, rax
	jne	.L7
	mov	rax, QWORD PTR -40[rbp]
	cqo
	idiv	QWORD PTR -16[rbp]
	cmp	QWORD PTR -16[rbp], rax
	jne	.L8
	mov	rax, QWORD PTR -16[rbp]
	add	QWORD PTR -24[rbp], rax
	jmp	.L7
.L8:
	mov	rax, QWORD PTR -40[rbp]
	cqo
	idiv	QWORD PTR -16[rbp]
	mov	rdx, rax
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	add	QWORD PTR -24[rbp], rax
.L7:
	add	QWORD PTR -16[rbp], 1
.L6:
	mov	rax, QWORD PTR -16[rbp]
	cmp	rax, QWORD PTR -8[rbp]
	jle	.L9
	mov	rax, QWORD PTR -24[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	sum_of_divs, .-sum_of_divs
	.globl	sum_divs
	.bss
	.align 32
	.type	sum_divs, @object
	.size	sum_divs, 224992
sum_divs:
	.zero	224992
	.section	.rodata
.LC0:
	.string	"%ld\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
	sub	rsp, 32
	mov	QWORD PTR -32[rbp], 0
	jmp	.L12
.L13:
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	sum_of_divs
	sub	rax, QWORD PTR -32[rbp]
	mov	rdx, QWORD PTR -32[rbp]
	lea	rcx, 0[0+rdx*8]
	lea	rdx, sum_divs[rip]
	mov	QWORD PTR [rcx+rdx], rax
	add	QWORD PTR -32[rbp], 1
.L12:
	cmp	QWORD PTR -32[rbp], 28123
	jle	.L13
	mov	QWORD PTR -24[rbp], 0
	mov	QWORD PTR -16[rbp], 0
	jmp	.L14
.L19:
	mov	rax, QWORD PTR -16[rbp]
	add	QWORD PTR -24[rbp], rax
	mov	QWORD PTR -8[rbp], 0
	jmp	.L15
.L18:
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, 0[0+rax*8]
	lea	rax, sum_divs[rip]
	mov	rax, QWORD PTR [rdx+rax]
	cmp	QWORD PTR -8[rbp], rax
	jge	.L16
	mov	rax, QWORD PTR -16[rbp]
	sub	rax, QWORD PTR -8[rbp]
	lea	rdx, 0[0+rax*8]
	lea	rax, sum_divs[rip]
	mov	rdx, QWORD PTR [rdx+rax]
	mov	rax, QWORD PTR -16[rbp]
	sub	rax, QWORD PTR -8[rbp]
	cmp	rdx, rax
	jle	.L16
	mov	rax, QWORD PTR -16[rbp]
	sub	QWORD PTR -24[rbp], rax
	jmp	.L17
.L16:
	add	QWORD PTR -8[rbp], 1
.L15:
	mov	rax, QWORD PTR -16[rbp]
	mov	rdx, rax
	shr	rdx, 63
	add	rax, rdx
	sar	rax
	cmp	QWORD PTR -8[rbp], rax
	jle	.L18
.L17:
	add	QWORD PTR -16[rbp], 1
.L14:
	cmp	QWORD PTR -16[rbp], 28123
	jle	.L19
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	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	"215768856.c"
	.text
	.align	2
	.global	intsqrt
	.syntax unified
	.arm
	.fpu softvfp
	.type	intsqrt, %function
intsqrt:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	push	{r4, r5, r6, r7, fp}
	add	fp, sp, #16
	sub	sp, sp, #20
	str	r0, [fp, #-36]
	str	r1, [fp, #-32]
	mov	r2, #1
	mov	r3, #0
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	b	.L2
.L3:
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	adds	r4, r2, #1
	adc	r5, r3, #0
	str	r4, [fp, #-28]
	str	r5, [fp, #-24]
.L2:
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-28]
	mul	r2, r3, r2
	ldr	r3, [fp, #-24]
	ldr	r1, [fp, #-28]
	mul	r3, r1, r3
	add	r0, r2, r3
	ldr	r1, [fp, #-28]
	umull	r2, r3, r1, r1
	add	r1, r0, r3
	mov	r3, r1
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	cmp	r0, r2
	sbcs	r3, r1, r3
	bge	.L3
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	subs	r6, r2, #1
	sbc	r7, r3, #0
	mov	r2, r6
	mov	r3, r7
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #16
	@ sp needed
	pop	{r4, r5, r6, r7, fp}
	bx	lr
	.size	intsqrt, .-intsqrt
	.global	__aeabi_ldivmod
	.align	2
	.global	sum_of_divs
	.syntax unified
	.arm
	.fpu softvfp
	.type	sum_of_divs, %function
sum_of_divs:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, fp, lr}
	add	fp, sp, #28
	sub	sp, sp, #40
	str	r0, [fp, #-60]
	str	r1, [fp, #-56]
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	bl	intsqrt
	str	r0, [fp, #-36]
	str	r1, [fp, #-32]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-52]
	str	r3, [fp, #-48]
	mov	r2, #1
	mov	r3, #0
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	b	.L6
.L9:
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	bl	__aeabi_ldivmod
	orrs	r3, r2, r3
	bne	.L7
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	bl	__aeabi_ldivmod
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	cmp	r3, r1
	cmpeq	r2, r0
	bne	.L8
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	adds	r6, r0, r2
	adc	r7, r1, r3
	str	r6, [fp, #-52]
	str	r7, [fp, #-48]
	b	.L7
.L8:
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	bl	__aeabi_ldivmod
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	adds	r4, r0, r2
	adc	r5, r1, r3
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	adds	r8, r2, r4
	adc	r9, r3, r5
	str	r8, [fp, #-52]
	str	r9, [fp, #-48]
.L7:
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	adds	r1, r2, #1
	str	r1, [fp, #-68]
	adc	r3, r3, #0
	str	r3, [fp, #-64]
	sub	r3, fp, #68
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
.L6:
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	cmp	r0, r2
	sbcs	r3, r1, r3
	bge	.L9
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, fp, pc}
	.size	sum_of_divs, .-sum_of_divs
	.comm	sum_divs,224992,8
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%lld\012\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 80
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, fp, lr}
	add	fp, sp, #28
	sub	sp, sp, #80
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-60]
	str	r3, [fp, #-56]
	b	.L12
.L13:
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	bl	sum_of_divs
	sub	r3, fp, #60
	ldmia	r3, {r2-r3}
	subs	r6, r0, r2
	sbc	r7, r1, r3
	ldr	r2, .L21
	ldr	r3, [fp, #-60]
	lsl	r3, r3, #3
	add	r3, r2, r3
	stm	r3, {r6-r7}
	sub	r3, fp, #60
	ldmia	r3, {r2-r3}
	adds	r4, r2, #1
	adc	r5, r3, #0
	str	r4, [fp, #-60]
	str	r5, [fp, #-56]
.L12:
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	ldr	r2, .L21+4
	mov	r3, #0
	cmp	r2, r0
	sbcs	r3, r3, r1
	bge	.L13
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-52]
	str	r3, [fp, #-48]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	b	.L14
.L19:
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	adds	ip, r0, r2
	str	ip, [fp, #-84]
	adc	r3, r1, r3
	str	r3, [fp, #-80]
	sub	r4, fp, #84
	ldmia	r4, {r3-r4}
	str	r3, [fp, #-52]
	str	r4, [fp, #-48]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	b	.L15
.L18:
	ldr	r2, .L21
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	cmp	r2, r0
	sbcs	r3, r3, r1
	bge	.L16
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	subs	ip, r0, r2
	str	ip, [fp, #-68]
	sbc	r3, r1, r3
	str	r3, [fp, #-64]
	ldr	r2, .L21
	ldr	r3, [fp, #-68]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r4-r5}
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	subs	ip, r0, r2
	str	ip, [fp, #-76]
	sbc	r3, r1, r3
	str	r3, [fp, #-72]
	sub	r3, fp, #76
	ldmia	r3, {r2-r3}
	cmp	r2, r4
	sbcs	r3, r3, r5
	bge	.L16
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	subs	ip, r0, r2
	str	ip, [fp, #-92]
	sbc	r3, r1, r3
	str	r3, [fp, #-88]
	sub	r4, fp, #92
	ldmia	r4, {r3-r4}
	str	r3, [fp, #-52]
	str	r4, [fp, #-48]
	b	.L17
.L16:
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	adds	r1, r2, #1
	str	r1, [fp, #-100]
	adc	r3, r3, #0
	str	r3, [fp, #-96]
	sub	r4, fp, #100
	ldmia	r4, {r3-r4}
	str	r3, [fp, #-36]
	str	r4, [fp, #-32]
.L15:
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	lsr	r3, r1, #31
	mov	r2, r3
	mov	r3, #0
	adds	r8, r2, r0
	adc	r9, r3, r1
	mov	r2, #0
	mov	r3, #0
	lsr	r2, r8, #1
	orr	r2, r2, r9, lsl #31
	asr	r3, r9, #1
	mov	r0, r2
	mov	r1, r3
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	cmp	r0, r2
	sbcs	r3, r1, r3
	bge	.L18
.L17:
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	adds	r1, r2, #1
	str	r1, [fp, #-108]
	adc	r3, r3, #0
	str	r3, [fp, #-104]
	sub	r4, fp, #108
	ldmia	r4, {r3-r4}
	str	r3, [fp, #-44]
	str	r4, [fp, #-40]
.L14:
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	ldr	r2, .L21+4
	mov	r3, #0
	cmp	r2, r0
	sbcs	r3, r3, r1
	bge	.L19
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	ldr	r0, .L21+8
	bl	printf
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, fp, pc}
.L22:
	.align	2
.L21:
	.word	sum_divs
	.word	28123
	.word	.LC0
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
