	.file	"43649.c"
	.intel_syntax noprefix
	.text
	.globl	Q
	.bss
	.align 32
	.type	Q, @object
	.size	Q, 400000000
Q:
	.zero	400000000
	.text
	.globl	Pfun
	.type	Pfun, @function
Pfun:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -4[rbp], edi
	mov	DWORD PTR -8[rbp], esi
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	imul	rax, rax, 10000
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	lea	rax, Q[rip]
	movss	xmm1, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	imul	rax, rax, 10000
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	lea	rax, Q[rip]
	movss	xmm0, DWORD PTR [rdx+rax]
	mulss	xmm0, xmm1
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	Pfun, .-Pfun
	.globl	init
	.type	init, @function
init:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -8[rbp], 0
	jmp	.L4
.L7:
	mov	DWORD PTR -4[rbp], 0
	jmp	.L5
.L6:
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, DWORD PTR -8[rbp]
	movsd	xmm0, QWORD PTR .LC0[rip]
	mulsd	xmm1, xmm0
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, DWORD PTR -4[rbp]
	mulsd	xmm0, xmm1
	cvtsd2ss	xmm0, xmm0
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	imul	rax, rax, 10000
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	lea	rax, Q[rip]
	movss	DWORD PTR [rdx+rax], xmm0
	add	DWORD PTR -4[rbp], 1
.L5:
	cmp	DWORD PTR -4[rbp], 9999
	jle	.L6
	add	DWORD PTR -8[rbp], 1
.L4:
	cmp	DWORD PTR -8[rbp], 9999
	jle	.L7
	nop
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	init, .-init
	.globl	accum_ref
	.type	accum_ref, @function
accum_ref:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	pxor	xmm0, xmm0
	movss	DWORD PTR -8[rbp], xmm0
	mov	DWORD PTR -16[rbp], 0
	jmp	.L9
.L12:
	pxor	xmm0, xmm0
	movss	DWORD PTR -4[rbp], xmm0
	mov	DWORD PTR -12[rbp], 0
	jmp	.L10
.L11:
	mov	edx, DWORD PTR -12[rbp]
	mov	eax, DWORD PTR -16[rbp]
	mov	esi, edx
	mov	edi, eax
	call	Pfun
	movss	xmm1, DWORD PTR -4[rbp]
	addss	xmm0, xmm1
	movss	DWORD PTR -4[rbp], xmm0
	add	DWORD PTR -12[rbp], 1
.L10:
	cmp	DWORD PTR -12[rbp], 1023
	jle	.L11
	movss	xmm0, DWORD PTR -8[rbp]
	addss	xmm0, DWORD PTR -4[rbp]
	movss	DWORD PTR -8[rbp], xmm0
	add	DWORD PTR -16[rbp], 1
.L9:
	cmp	DWORD PTR -16[rbp], 9999
	jle	.L12
	movss	xmm0, DWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	accum_ref, .-accum_ref
	.globl	accum
	.type	accum, @function
accum:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	pxor	xmm0, xmm0
	movss	DWORD PTR -8[rbp], xmm0
	mov	DWORD PTR -16[rbp], 0
	jmp	.L15
.L18:
	pxor	xmm0, xmm0
	movss	DWORD PTR -4[rbp], xmm0
	mov	DWORD PTR -12[rbp], 0
	jmp	.L16
.L17:
	mov	edx, DWORD PTR -12[rbp]
	mov	eax, DWORD PTR -16[rbp]
	mov	esi, edx
	mov	edi, eax
	call	Pfun
	movss	xmm1, DWORD PTR -4[rbp]
	addss	xmm0, xmm1
	movss	DWORD PTR -4[rbp], xmm0
	add	DWORD PTR -12[rbp], 1
.L16:
	cmp	DWORD PTR -12[rbp], 1023
	jle	.L17
	movss	xmm0, DWORD PTR -8[rbp]
	addss	xmm0, DWORD PTR -4[rbp]
	movss	DWORD PTR -8[rbp], xmm0
	add	DWORD PTR -16[rbp], 1
.L15:
	cmp	DWORD PTR -16[rbp], 9999
	jle	.L18
	movss	xmm0, DWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	accum, .-accum
	.globl	check
	.type	check, @function
check:
.LFB10:
	.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
	movss	DWORD PTR -20[rbp], xmm0
	movss	DWORD PTR -24[rbp], xmm1
	pxor	xmm0, xmm0
	ucomiss	xmm0, DWORD PTR -24[rbp]
	jp	.L29
	pxor	xmm0, xmm0
	comiss	xmm0, DWORD PTR -24[rbp]
	je	.L32
.L29:
	movss	xmm0, DWORD PTR -20[rbp]
	subss	xmm0, DWORD PTR -24[rbp]
	divss	xmm0, DWORD PTR -24[rbp]
	jmp	.L23
.L32:
	movss	xmm0, DWORD PTR -20[rbp]
.L23:
	movss	DWORD PTR -4[rbp], xmm0
	movss	xmm0, DWORD PTR -4[rbp]
	pxor	xmm1, xmm1
	comiss	xmm0, xmm1
	jbe	.L33
	movss	xmm0, DWORD PTR -4[rbp]
	jmp	.L26
.L33:
	movss	xmm0, DWORD PTR -4[rbp]
	movss	xmm1, DWORD PTR .LC2[rip]
	xorps	xmm0, xmm1
.L26:
	cvtss2sd	xmm0, xmm0
	comisd	xmm0, QWORD PTR .LC3[rip]
	ja	.L31
	jmp	.L34
.L31:
	call	abort@PLT
.L34:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	check, .-check
	.globl	main
	.type	main, @function
main:
.LFB11:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 8
	.cfi_offset 3, -24
	mov	eax, 0
	call	init
	mov	eax, 0
	call	accum_ref
	movd	ebx, xmm0
	mov	eax, 0
	call	accum
	movd	eax, xmm0
	movd	xmm1, ebx
	movd	xmm0, eax
	call	check
	mov	eax, 0
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC0:
	.long	-755914244
	.long	1062232653
	.align 16
.LC2:
	.long	-2147483648
	.long	0
	.long	0
	.long	0
	.align 8
.LC3:
	.long	-1998362383
	.long	1055193269
	.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	"43649.c"
	.text
	.comm	Q,400000000,4
	.global	__aeabi_fmul
	.align	2
	.global	Pfun
	.syntax unified
	.arm
	.fpu softvfp
	.type	Pfun, %function
Pfun:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r1, .L3
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #4
	ldr	r2, [fp, #-12]
	add	r3, r3, r2
	ldr	r0, [r1, r3, lsl #2]	@ float
	ldr	r1, .L3
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #4
	ldr	r2, [fp, #-8]
	add	r3, r3, r2
	ldr	r3, [r1, r3, lsl #2]	@ float
	mov	r1, r3
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L4:
	.align	2
.L3:
	.word	Q
	.size	Pfun, .-Pfun
	.global	__aeabi_i2d
	.global	__aeabi_dmul
	.global	__aeabi_d2f
	.align	2
	.global	init
	.syntax unified
	.arm
	.fpu softvfp
	.type	init, %function
init:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #8
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L6
.L9:
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L7
.L8:
	ldr	r0, [fp, #-20]
	bl	__aeabi_i2d
	ldr	r2, .L10
	ldr	r3, .L10+4
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r0, [fp, #-16]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r1, r0
	ldr	r0, .L10+8
	ldr	r2, [fp, #-20]
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #4
	ldr	r2, [fp, #-16]
	add	r3, r3, r2
	str	r1, [r0, r3, lsl #2]	@ float
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L7:
	ldr	r3, [fp, #-16]
	ldr	r2, .L10+12
	cmp	r3, r2
	ble	.L8
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L6:
	ldr	r3, [fp, #-20]
	ldr	r2, .L10+12
	cmp	r3, r2
	ble	.L9
	nop
	nop
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L11:
	.align	2
.L10:
	.word	-755914244
	.word	1062232653
	.word	Q
	.word	9999
	.size	init, .-init
	.global	__aeabi_fadd
	.align	2
	.global	accum_ref
	.syntax unified
	.arm
	.fpu softvfp
	.type	accum_ref, %function
accum_ref:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	mov	r3, #0
	str	r3, [fp, #-12]	@ float
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L13
.L16:
	mov	r3, #0
	str	r3, [fp, #-8]	@ float
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L14
.L15:
	ldr	r1, [fp, #-16]
	ldr	r0, [fp, #-20]
	bl	Pfun
	mov	r3, r0
	mov	r1, r3
	ldr	r0, [fp, #-8]	@ float
	bl	__aeabi_fadd
	mov	r3, r0
	str	r3, [fp, #-8]	@ float
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L14:
	ldr	r3, [fp, #-16]
	cmp	r3, #1024
	blt	.L15
	ldr	r1, [fp, #-8]	@ float
	ldr	r0, [fp, #-12]	@ float
	bl	__aeabi_fadd
	mov	r3, r0
	str	r3, [fp, #-12]	@ float
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L13:
	ldr	r3, [fp, #-20]
	ldr	r2, .L18
	cmp	r3, r2
	ble	.L16
	ldr	r3, [fp, #-12]	@ float
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L19:
	.align	2
.L18:
	.word	9999
	.size	accum_ref, .-accum_ref
	.align	2
	.global	accum
	.syntax unified
	.arm
	.fpu softvfp
	.type	accum, %function
accum:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	mov	r3, #0
	str	r3, [fp, #-12]	@ float
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L21
.L24:
	mov	r3, #0
	str	r3, [fp, #-8]	@ float
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L22
.L23:
	ldr	r1, [fp, #-16]
	ldr	r0, [fp, #-20]
	bl	Pfun
	mov	r3, r0
	mov	r1, r3
	ldr	r0, [fp, #-8]	@ float
	bl	__aeabi_fadd
	mov	r3, r0
	str	r3, [fp, #-8]	@ float
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L22:
	ldr	r3, [fp, #-16]
	cmp	r3, #1024
	blt	.L23
	ldr	r1, [fp, #-8]	@ float
	ldr	r0, [fp, #-12]	@ float
	bl	__aeabi_fadd
	mov	r3, r0
	str	r3, [fp, #-12]	@ float
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L21:
	ldr	r3, [fp, #-20]
	ldr	r2, .L26
	cmp	r3, r2
	ble	.L24
	ldr	r3, [fp, #-12]	@ float
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L27:
	.align	2
.L26:
	.word	9999
	.size	accum, .-accum
	.global	__aeabi_fcmpeq
	.global	__aeabi_fsub
	.global	__aeabi_fdiv
	.global	__aeabi_fcmpgt
	.global	__aeabi_f2d
	.global	__aeabi_dcmpgt
	.align	2
	.global	check
	.syntax unified
	.arm
	.fpu softvfp
	.type	check, %function
check:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]	@ float
	str	r1, [fp, #-20]	@ float
	mov	r1, #0
	ldr	r0, [fp, #-20]	@ float
	bl	__aeabi_fcmpeq
	mov	r3, r0
	cmp	r3, #0
	bne	.L40
	ldr	r1, [fp, #-20]	@ float
	ldr	r0, [fp, #-16]	@ float
	bl	__aeabi_fsub
	mov	r3, r0
	ldr	r1, [fp, #-20]	@ float
	mov	r0, r3
	bl	__aeabi_fdiv
	mov	r3, r0
	b	.L31
.L40:
	ldr	r3, [fp, #-16]	@ float
.L31:
	str	r3, [fp, #-8]	@ float
	mov	r1, #0
	ldr	r0, [fp, #-8]	@ float
	bl	__aeabi_fcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L41
	ldr	r3, [fp, #-8]	@ float
	b	.L34
.L41:
	ldr	r3, [fp, #-8]
	eor	r3, r3, #-2147483648
.L34:
	mov	r0, r3
	bl	__aeabi_f2d
	ldr	r2, .L43
	ldr	r3, .L43+4
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	bne	.L39
	b	.L42
.L39:
	bl	abort
.L42:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L44:
	.align	2
.L43:
	.word	-1998362383
	.word	1055193269
	.size	check, .-check
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	bl	init
	bl	accum
	mov	r4, r0
	bl	accum_ref
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	check
	mov	r3, #0
	mov	r0, r3
	pop	{r4, r5, fp, pc}
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
