	.file	"276614.c"
	.intel_syntax noprefix
	.text
	.globl	solvps
	.type	solvps, @function
solvps:
.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, 80
	mov	QWORD PTR -56[rbp], rdi
	mov	QWORD PTR -64[rbp], rsi
	mov	DWORD PTR -68[rbp], edx
	mov	DWORD PTR -48[rbp], 0
	mov	rax, QWORD PTR -56[rbp]
	mov	QWORD PTR -40[rbp], rax
	jmp	.L2
.L12:
	mov	eax, DWORD PTR -48[rbp]
	imul	eax, DWORD PTR -68[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	mov	QWORD PTR -32[rbp], rax
	jmp	.L3
.L4:
	mov	rax, QWORD PTR -40[rbp]
	movsd	xmm0, QWORD PTR [rax]
	mov	rax, QWORD PTR -32[rbp]
	movsd	xmm2, QWORD PTR [rax]
	mov	rax, QWORD PTR -32[rbp]
	movsd	xmm1, QWORD PTR [rax]
	mulsd	xmm1, xmm2
	subsd	xmm0, xmm1
	mov	rax, QWORD PTR -40[rbp]
	movsd	QWORD PTR [rax], xmm0
	add	QWORD PTR -32[rbp], 8
.L3:
	mov	rax, QWORD PTR -32[rbp]
	cmp	rax, QWORD PTR -40[rbp]
	jb	.L4
	mov	rax, QWORD PTR -40[rbp]
	movsd	xmm1, QWORD PTR [rax]
	pxor	xmm0, xmm0
	comisd	xmm0, xmm1
	jb	.L22
	mov	eax, -1
	jmp	.L7
.L22:
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR [rax]
	movq	xmm0, rax
	call	sqrt@PLT
	movq	rax, xmm0
	mov	rdx, QWORD PTR -40[rbp]
	mov	QWORD PTR [rdx], rax
	mov	eax, DWORD PTR -48[rbp]
	add	eax, 1
	mov	DWORD PTR -44[rbp], eax
	mov	eax, DWORD PTR -68[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	QWORD PTR -32[rbp], rax
	jmp	.L8
.L11:
	mov	eax, DWORD PTR -48[rbp]
	imul	eax, DWORD PTR -68[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	mov	QWORD PTR -24[rbp], rax
	mov	eax, DWORD PTR -44[rbp]
	imul	eax, DWORD PTR -68[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	mov	QWORD PTR -16[rbp], rax
	pxor	xmm0, xmm0
	movsd	QWORD PTR -8[rbp], xmm0
	jmp	.L9
.L10:
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, 8[rax]
	mov	QWORD PTR -24[rbp], rdx
	movsd	xmm1, QWORD PTR [rax]
	mov	rax, QWORD PTR -16[rbp]
	lea	rdx, 8[rax]
	mov	QWORD PTR -16[rbp], rdx
	movsd	xmm0, QWORD PTR [rax]
	mulsd	xmm0, xmm1
	movsd	xmm1, QWORD PTR -8[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -8[rbp], xmm0
.L9:
	mov	rax, QWORD PTR -24[rbp]
	cmp	rax, QWORD PTR -40[rbp]
	jb	.L10
	mov	rax, QWORD PTR -32[rbp]
	movsd	xmm0, QWORD PTR [rax]
	subsd	xmm0, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR -32[rbp]
	movsd	QWORD PTR [rax], xmm0
	mov	rax, QWORD PTR -32[rbp]
	movsd	xmm0, QWORD PTR [rax]
	mov	rax, QWORD PTR -40[rbp]
	movsd	xmm1, QWORD PTR [rax]
	divsd	xmm0, xmm1
	mov	rax, QWORD PTR -32[rbp]
	movsd	QWORD PTR [rax], xmm0
	add	DWORD PTR -44[rbp], 1
	mov	eax, DWORD PTR -68[rbp]
	cdqe
	sal	rax, 3
	add	QWORD PTR -32[rbp], rax
.L8:
	mov	eax, DWORD PTR -44[rbp]
	cmp	eax, DWORD PTR -68[rbp]
	jl	.L11
	add	DWORD PTR -48[rbp], 1
	mov	eax, DWORD PTR -68[rbp]
	cdqe
	add	rax, 1
	sal	rax, 3
	add	QWORD PTR -40[rbp], rax
.L2:
	mov	eax, DWORD PTR -48[rbp]
	cmp	eax, DWORD PTR -68[rbp]
	jl	.L12
	mov	DWORD PTR -48[rbp], 0
	mov	rax, QWORD PTR -56[rbp]
	mov	QWORD PTR -40[rbp], rax
	jmp	.L13
.L16:
	mov	DWORD PTR -44[rbp], 0
	mov	eax, DWORD PTR -48[rbp]
	imul	eax, DWORD PTR -68[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	mov	QWORD PTR -32[rbp], rax
	jmp	.L14
.L15:
	mov	eax, DWORD PTR -44[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -44[rbp], edx
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	mov	rax, QWORD PTR -32[rbp]
	lea	rdx, 8[rax]
	mov	QWORD PTR -32[rbp], rdx
	movsd	xmm0, QWORD PTR [rax]
	mulsd	xmm1, xmm0
	mov	eax, DWORD PTR -48[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	mov	eax, DWORD PTR -48[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	subsd	xmm0, xmm1
	movsd	QWORD PTR [rax], xmm0
.L14:
	mov	eax, DWORD PTR -44[rbp]
	cmp	eax, DWORD PTR -48[rbp]
	jl	.L15
	mov	eax, DWORD PTR -48[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	mov	rax, QWORD PTR -40[rbp]
	movsd	xmm1, QWORD PTR [rax]
	mov	eax, DWORD PTR -48[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	divsd	xmm0, xmm1
	movsd	QWORD PTR [rax], xmm0
	add	DWORD PTR -48[rbp], 1
	mov	eax, DWORD PTR -68[rbp]
	cdqe
	add	rax, 1
	sal	rax, 3
	add	QWORD PTR -40[rbp], rax
.L13:
	mov	eax, DWORD PTR -48[rbp]
	cmp	eax, DWORD PTR -68[rbp]
	jl	.L16
	mov	eax, DWORD PTR -68[rbp]
	sub	eax, 1
	mov	DWORD PTR -48[rbp], eax
	mov	eax, DWORD PTR -68[rbp]
	imul	eax, eax
	cdqe
	sal	rax, 3
	lea	rdx, -8[rax]
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	mov	QWORD PTR -40[rbp], rax
	jmp	.L17
.L20:
	mov	eax, DWORD PTR -48[rbp]
	add	eax, 1
	mov	DWORD PTR -44[rbp], eax
	mov	eax, DWORD PTR -68[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	QWORD PTR -32[rbp], rax
	jmp	.L18
.L19:
	mov	eax, DWORD PTR -44[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -44[rbp], edx
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	mov	rax, QWORD PTR -32[rbp]
	movsd	xmm0, QWORD PTR [rax]
	mulsd	xmm1, xmm0
	mov	eax, DWORD PTR -48[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	mov	eax, DWORD PTR -48[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	subsd	xmm0, xmm1
	movsd	QWORD PTR [rax], xmm0
	mov	eax, DWORD PTR -68[rbp]
	cdqe
	sal	rax, 3
	add	QWORD PTR -32[rbp], rax
.L18:
	mov	eax, DWORD PTR -44[rbp]
	cmp	eax, DWORD PTR -68[rbp]
	jl	.L19
	mov	eax, DWORD PTR -48[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	mov	rax, QWORD PTR -40[rbp]
	movsd	xmm1, QWORD PTR [rax]
	mov	eax, DWORD PTR -48[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	divsd	xmm0, xmm1
	movsd	QWORD PTR [rax], xmm0
	sub	DWORD PTR -48[rbp], 1
	mov	eax, DWORD PTR -68[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, -8
	sub	rax, rdx
	add	QWORD PTR -40[rbp], rax
.L17:
	cmp	DWORD PTR -48[rbp], 0
	jns	.L20
	mov	eax, 0
.L7:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	solvps, .-solvps
	.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	"276614.c"
	.text
	.global	__aeabi_dmul
	.global	__aeabi_dsub
	.global	__aeabi_dcmple
	.global	__aeabi_dadd
	.global	__aeabi_ddiv
	.align	2
	.global	solvps
	.syntax unified
	.arm
	.fpu softvfp
	.type	solvps, %function
solvps:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, fp, lr}
	add	fp, sp, #20
	sub	sp, sp, #48
	str	r0, [fp, #-56]
	str	r1, [fp, #-60]
	str	r2, [fp, #-64]
	mov	r3, #0
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-56]
	str	r3, [fp, #-52]
	b	.L2
.L12:
	ldr	r3, [fp, #-36]
	ldr	r2, [fp, #-64]
	mul	r3, r2, r3
	lsl	r3, r3, #3
	ldr	r2, [fp, #-56]
	add	r3, r2, r3
	str	r3, [fp, #-48]
	b	.L3
.L4:
	ldr	r3, [fp, #-52]
	ldmia	r3, {r4-r5}
	ldr	r3, [fp, #-48]
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-48]
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	ldr	r1, [fp, #-52]
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-48]
	add	r3, r3, #8
	str	r3, [fp, #-48]
.L3:
	ldr	r2, [fp, #-48]
	ldr	r3, [fp, #-52]
	cmp	r2, r3
	bcc	.L4
	ldr	r3, [fp, #-52]
	ldmia	r3, {r0-r1}
	mov	r2, #0
	mov	r3, #0
	bl	__aeabi_dcmple
	mov	r3, r0
	cmp	r3, #0
	beq	.L22
	mvn	r3, #0
	b	.L7
.L22:
	ldr	r3, [fp, #-52]
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	bl	sqrt
	mov	r2, r0
	mov	r3, r1
	ldr	r1, [fp, #-52]
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-64]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-52]
	add	r3, r2, r3
	str	r3, [fp, #-48]
	b	.L8
.L11:
	ldr	r3, [fp, #-36]
	ldr	r2, [fp, #-64]
	mul	r3, r2, r3
	lsl	r3, r3, #3
	ldr	r2, [fp, #-56]
	add	r3, r2, r3
	str	r3, [fp, #-44]
	ldr	r3, [fp, #-32]
	ldr	r2, [fp, #-64]
	mul	r3, r2, r3
	lsl	r3, r3, #3
	ldr	r2, [fp, #-56]
	add	r3, r2, r3
	str	r3, [fp, #-40]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	b	.L9
.L10:
	ldr	r3, [fp, #-44]
	add	r2, r3, #8
	str	r2, [fp, #-44]
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-40]
	add	r2, r3, #8
	str	r2, [fp, #-40]
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
.L9:
	ldr	r2, [fp, #-44]
	ldr	r3, [fp, #-52]
	cmp	r2, r3
	bcc	.L10
	ldr	r3, [fp, #-48]
	ldmia	r3, {r0-r1}
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	ldr	r1, [fp, #-48]
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-48]
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-52]
	ldmia	r3, {r2-r3}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	ldr	r1, [fp, #-48]
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-64]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-48]
	add	r3, r2, r3
	str	r3, [fp, #-48]
.L8:
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-64]
	cmp	r2, r3
	blt	.L11
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-64]
	add	r3, r3, #1
	lsl	r3, r3, #3
	ldr	r2, [fp, #-52]
	add	r3, r2, r3
	str	r3, [fp, #-52]
.L2:
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-64]
	cmp	r2, r3
	blt	.L12
	mov	r3, #0
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-56]
	str	r3, [fp, #-52]
	b	.L13
.L16:
	mov	r3, #0
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-36]
	ldr	r2, [fp, #-64]
	mul	r3, r2, r3
	lsl	r3, r3, #3
	ldr	r2, [fp, #-56]
	add	r3, r2, r3
	str	r3, [fp, #-48]
	b	.L14
.L15:
	ldr	r3, [fp, #-32]
	add	r2, r3, #1
	str	r2, [fp, #-32]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-60]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-48]
	add	r2, r3, #8
	str	r2, [fp, #-48]
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r6, r2
	mov	r7, r3
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-60]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-60]
	add	r4, r2, r3
	mov	r2, r6
	mov	r3, r7
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	stm	r4, {r2-r3}
.L14:
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-36]
	cmp	r2, r3
	blt	.L15
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-60]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-52]
	ldmia	r3, {r2-r3}
	ldr	ip, [fp, #-36]
	lsl	ip, ip, #3
	ldr	lr, [fp, #-60]
	add	r4, lr, ip
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	stm	r4, {r2-r3}
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-64]
	add	r3, r3, #1
	lsl	r3, r3, #3
	ldr	r2, [fp, #-52]
	add	r3, r2, r3
	str	r3, [fp, #-52]
.L13:
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-64]
	cmp	r2, r3
	blt	.L16
	ldr	r3, [fp, #-64]
	sub	r3, r3, #1
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-64]
	mov	r2, r3
	mul	r2, r3, r2
	mov	r3, r2
	sub	r3, r3, #-536870911
	lsl	r3, r3, #3
	ldr	r2, [fp, #-56]
	add	r3, r2, r3
	str	r3, [fp, #-52]
	b	.L17
.L20:
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-64]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-52]
	add	r3, r2, r3
	str	r3, [fp, #-48]
	b	.L18
.L19:
	ldr	r3, [fp, #-32]
	add	r2, r3, #1
	str	r2, [fp, #-32]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-60]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-48]
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r6, r2
	mov	r7, r3
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-60]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-60]
	add	r4, r2, r3
	mov	r2, r6
	mov	r3, r7
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	stm	r4, {r2-r3}
	ldr	r3, [fp, #-64]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-48]
	add	r3, r2, r3
	str	r3, [fp, #-48]
.L18:
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-64]
	cmp	r2, r3
	blt	.L19
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-60]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-52]
	ldmia	r3, {r2-r3}
	ldr	ip, [fp, #-36]
	lsl	ip, ip, #3
	ldr	lr, [fp, #-60]
	add	r4, lr, ip
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	stm	r4, {r2-r3}
	ldr	r3, [fp, #-36]
	sub	r3, r3, #1
	str	r3, [fp, #-36]
	ldr	r2, [fp, #-64]
	mvn	r3, #-536870912
	sub	r3, r3, r2
	lsl	r3, r3, #3
	ldr	r2, [fp, #-52]
	add	r3, r2, r3
	str	r3, [fp, #-52]
.L17:
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	bge	.L20
	mov	r3, #0
.L7:
	mov	r0, r3
	sub	sp, fp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, fp, pc}
	.size	solvps, .-solvps
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
