	.file	"90764471.c"
	.intel_syntax noprefix
	.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, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 3952
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -8036[rbp], 0
	jmp	.L2
.L3:
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, DWORD PTR -8036[rbp]
	movsd	xmm0, QWORD PTR .LC0[rip]
	addsd	xmm0, xmm1
	mov	eax, DWORD PTR -8036[rbp]
	cdqe
	movsd	QWORD PTR -8016[rbp+rax*8], xmm0
	add	DWORD PTR -8036[rbp], 1
.L2:
	cmp	DWORD PTR -8036[rbp], 999
	jle	.L3
	movsd	xmm0, QWORD PTR -8016[rbp]
	movsd	QWORD PTR -8032[rbp], xmm0
	movsd	xmm0, QWORD PTR -8032[rbp]
	comisd	xmm0, QWORD PTR .LC1[rip]
	jnb	.L4
	movsd	xmm0, QWORD PTR -8032[rbp]
	cvttsd2si	rax, xmm0
	jmp	.L5
.L4:
	movsd	xmm0, QWORD PTR -8032[rbp]
	movsd	xmm1, QWORD PTR .LC1[rip]
	subsd	xmm0, xmm1
	cvttsd2si	rax, xmm0
	movabs	rdx, -9223372036854775808
	xor	rax, rdx
.L5:
	mov	eax, eax
	test	rax, rax
	js	.L6
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rax
	jmp	.L7
.L6:
	mov	rdx, rax
	shr	rdx
	and	eax, 1
	or	rdx, rax
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rdx
	addsd	xmm0, xmm0
.L7:
	movsd	QWORD PTR -8024[rbp], xmm0
	movsd	xmm0, QWORD PTR -8024[rbp]
	comisd	xmm0, QWORD PTR .LC0[rip]
	jb	.L13
	call	abort@PLT
.L13:
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L11
	call	__stack_chk_fail@PLT
.L11:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC0:
	.long	0
	.long	1106247680
	.align 8
.LC1:
	.long	0
	.long	1138753536
	.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	"90764471.c"
	.text
	.global	__aeabi_i2d
	.global	__aeabi_dadd
	.global	__aeabi_d2ulz
	.global	__aeabi_ui2d
	.global	__aeabi_dcmpge
	.section	.rodata
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 8032
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #8000
	sub	sp, sp, #36
	ldr	r3, .L10
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3932]
	b	.L2
.L3:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r0, [r3, #-3932]
	bl	__aeabi_i2d
	mov	r2, #0
	ldr	r3, .L10+4
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-3932]
	lsl	r3, r3, #3
	add	r3, r2, r3
	sub	r3, r3, #3904
	sub	r3, r3, #8
	stm	r3, {r0-r1}
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-3932]
	add	r3, r3, #1
	str	r3, [r2, #-3932]
.L2:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-3932]
	cmp	r3, #1000
	blt	.L3
	sub	r3, fp, #8000
	sub	r3, r3, #12
	sub	r3, r3, #16
	mov	r1, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r2, [r3, #-3912]
	ldr	r3, [r3, #-3908]
	stmdb	r1, {r2-r3}
	sub	r3, fp, #8000
	sub	r3, r3, #12
	sub	r3, r3, #16
	ldmdb	r3, {r0-r1}
	bl	__aeabi_d2ulz
	mov	r2, r0
	mov	r3, r1
	sub	r3, fp, #8000
	sub	r3, r3, #12
	sub	r3, r3, #16
	mov	r4, r3
	mov	r0, r2
	bl	__aeabi_ui2d
	mov	r2, r0
	mov	r3, r1
	stm	r4, {r2-r3}
	sub	r3, fp, #8000
	sub	r3, r3, #12
	sub	r3, r3, #16
	mov	r1, r3
	mov	r2, #0
	ldr	r3, .L10+4
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmpge
	mov	r3, r0
	cmp	r3, #0
	beq	.L9
	bl	abort
.L9:
	mov	r3, #0
	ldr	r2, .L10
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L7
	bl	__stack_chk_fail
.L7:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L11:
	.align	2
.L10:
	.word	.LC0
	.word	1106247680
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
