	.file	"500684.c"
	.intel_syntax noprefix
	.text
	.globl	csqrt
	.type	csqrt, @function
csqrt:
.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, 96
	movq	rax, xmm0
	movapd	xmm0, xmm1
	mov	rdx, rax
	movq	rax, xmm0
	movq	xmm1, rdx
	movq	xmm0, rax
	movsd	QWORD PTR -96[rbp], xmm1
	movsd	QWORD PTR -88[rbp], xmm0
	movsd	xmm0, QWORD PTR -96[rbp]
	movsd	QWORD PTR -32[rbp], xmm0
	movsd	xmm0, QWORD PTR -88[rbp]
	movsd	QWORD PTR -24[rbp], xmm0
	movsd	xmm0, QWORD PTR -32[rbp]
	movsd	QWORD PTR -64[rbp], xmm0
	movsd	xmm0, QWORD PTR -24[rbp]
	movsd	QWORD PTR -56[rbp], xmm0
	pxor	xmm0, xmm0
	ucomisd	xmm0, QWORD PTR -56[rbp]
	jp	.L2
	pxor	xmm0, xmm0
	ucomisd	xmm0, QWORD PTR -56[rbp]
	jne	.L2
	pxor	xmm0, xmm0
	comisd	xmm0, QWORD PTR -64[rbp]
	jbe	.L24
	movsd	xmm0, QWORD PTR -80[rbp]
	movsd	QWORD PTR -8[rbp], xmm0
	pxor	xmm0, xmm0
	movsd	QWORD PTR -16[rbp], xmm0
	movsd	xmm0, QWORD PTR -64[rbp]
	movq	xmm1, QWORD PTR .LC1[rip]
	xorpd	xmm0, xmm1
	movq	rax, xmm0
	movq	xmm0, rax
	call	sqrt@PLT
	movq	rax, xmm0
	mov	QWORD PTR -80[rbp], rax
	pxor	xmm0, xmm0
	movsd	QWORD PTR -72[rbp], xmm0
	movsd	xmm0, QWORD PTR -80[rbp]
	movsd	xmm1, QWORD PTR -72[rbp]
	movsd	QWORD PTR -16[rbp], xmm1
	movsd	QWORD PTR -8[rbp], xmm0
	jmp	.L6
.L24:
	mov	rax, QWORD PTR -64[rbp]
	movq	xmm0, rax
	call	sqrt@PLT
	movq	rax, xmm0
	mov	QWORD PTR -72[rbp], rax
	movsd	xmm0, QWORD PTR -80[rbp]
	movsd	xmm1, QWORD PTR -72[rbp]
	movsd	QWORD PTR -16[rbp], xmm1
	movsd	QWORD PTR -8[rbp], xmm0
	movsd	xmm0, QWORD PTR -72[rbp]
	movsd	QWORD PTR -16[rbp], xmm0
	pxor	xmm0, xmm0
	movsd	QWORD PTR -8[rbp], xmm0
	pxor	xmm0, xmm0
	movsd	QWORD PTR -80[rbp], xmm0
	jmp	.L6
.L2:
	pxor	xmm0, xmm0
	ucomisd	xmm0, QWORD PTR -64[rbp]
	jp	.L7
	pxor	xmm0, xmm0
	ucomisd	xmm0, QWORD PTR -64[rbp]
	jne	.L7
	movsd	xmm0, QWORD PTR -56[rbp]
	movq	xmm1, QWORD PTR .LC2[rip]
	andpd	xmm1, xmm0
	movsd	xmm0, QWORD PTR .LC3[rip]
	mulsd	xmm1, xmm0
	movq	rax, xmm1
	movq	xmm0, rax
	call	sqrt@PLT
	movq	rax, xmm0
	mov	QWORD PTR -48[rbp], rax
	movsd	xmm0, QWORD PTR -80[rbp]
	movsd	xmm1, QWORD PTR -48[rbp]
	movsd	QWORD PTR -16[rbp], xmm1
	movsd	QWORD PTR -8[rbp], xmm0
	movsd	xmm0, QWORD PTR -56[rbp]
	pxor	xmm1, xmm1
	comisd	xmm0, xmm1
	jbe	.L25
	movsd	xmm0, QWORD PTR -48[rbp]
	movsd	QWORD PTR -80[rbp], xmm0
	jmp	.L11
.L25:
	movsd	xmm0, QWORD PTR -48[rbp]
	movq	xmm1, QWORD PTR .LC1[rip]
	xorpd	xmm0, xmm1
	movsd	QWORD PTR -80[rbp], xmm0
.L11:
	movsd	xmm0, QWORD PTR -48[rbp]
	movsd	QWORD PTR -72[rbp], xmm0
	movsd	xmm0, QWORD PTR -80[rbp]
	movsd	xmm1, QWORD PTR -72[rbp]
	movsd	QWORD PTR -16[rbp], xmm1
	movsd	QWORD PTR -8[rbp], xmm0
	jmp	.L6
.L7:
	movsd	xmm0, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR -64[rbp]
	movapd	xmm1, xmm0
	movq	xmm0, rax
	mov	eax, 2
	call	_hypot@PLT
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, eax
	movsd	xmm0, QWORD PTR -64[rbp]
	movq	xmm2, QWORD PTR .LC2[rip]
	andpd	xmm0, xmm2
	addsd	xmm0, xmm1
	addsd	xmm0, xmm0
	movq	rax, xmm0
	movq	xmm0, rax
	call	sqrt@PLT
	movq	rax, xmm0
	mov	QWORD PTR -48[rbp], rax
	movsd	xmm0, QWORD PTR -48[rbp]
	movsd	xmm1, QWORD PTR .LC4[rip]
	divsd	xmm0, xmm1
	movsd	QWORD PTR -40[rbp], xmm0
	movsd	xmm0, QWORD PTR -64[rbp]
	pxor	xmm1, xmm1
	comisd	xmm0, xmm1
	jbe	.L26
	movsd	xmm0, QWORD PTR -80[rbp]
	movsd	xmm1, QWORD PTR -40[rbp]
	movsd	QWORD PTR -16[rbp], xmm1
	movsd	QWORD PTR -8[rbp], xmm0
	movsd	xmm0, QWORD PTR -56[rbp]
	divsd	xmm0, QWORD PTR -48[rbp]
	movsd	QWORD PTR -80[rbp], xmm0
	movsd	xmm0, QWORD PTR -40[rbp]
	movsd	QWORD PTR -72[rbp], xmm0
	movsd	xmm0, QWORD PTR -80[rbp]
	movsd	xmm1, QWORD PTR -72[rbp]
	movsd	QWORD PTR -16[rbp], xmm1
	movsd	QWORD PTR -8[rbp], xmm0
	jmp	.L6
.L26:
	movsd	xmm0, QWORD PTR -56[rbp]
	divsd	xmm0, QWORD PTR -48[rbp]
	movq	xmm1, QWORD PTR .LC2[rip]
	andpd	xmm0, xmm1
	movsd	QWORD PTR -72[rbp], xmm0
	movsd	xmm0, QWORD PTR -80[rbp]
	movsd	xmm1, QWORD PTR -72[rbp]
	movsd	QWORD PTR -16[rbp], xmm1
	movsd	QWORD PTR -8[rbp], xmm0
	pxor	xmm0, xmm0
	comisd	xmm0, QWORD PTR -56[rbp]
	jbe	.L27
	movsd	xmm0, QWORD PTR -40[rbp]
	movq	xmm1, QWORD PTR .LC1[rip]
	xorpd	xmm0, xmm1
	movsd	QWORD PTR -80[rbp], xmm0
	jmp	.L16
.L27:
	movsd	xmm0, QWORD PTR -40[rbp]
	movsd	QWORD PTR -80[rbp], xmm0
.L16:
	movsd	xmm0, QWORD PTR -80[rbp]
	movsd	xmm1, QWORD PTR -72[rbp]
	movsd	QWORD PTR -16[rbp], xmm1
	movsd	QWORD PTR -8[rbp], xmm0
.L6:
	movsd	xmm1, QWORD PTR -72[rbp]
	movsd	xmm0, QWORD PTR -80[rbp]
	movq	rax, xmm1
	movq	rdx, xmm0
	movq	xmm1, rdx
	movq	xmm0, rax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	csqrt, .-csqrt
	.section	.rodata
	.align 16
.LC1:
	.long	0
	.long	-2147483648
	.long	0
	.long	0
	.align 16
.LC2:
	.long	-1
	.long	2147483647
	.long	0
	.long	0
	.align 8
.LC3:
	.long	0
	.long	1071644672
	.align 8
.LC4:
	.long	0
	.long	1073741824
	.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	"500684.c"
	.text
	.global	__aeabi_dcmpeq
	.global	__aeabi_dcmplt
	.global	__aeabi_dmul
	.global	__aeabi_dcmpgt
	.global	__aeabi_i2d
	.global	__aeabi_dadd
	.global	__aeabi_ddiv
	.align	2
	.global	csqrt
	.syntax unified
	.arm
	.fpu softvfp
	.type	csqrt, %function
csqrt:
	@ args = 16, pretend = 8, frame = 104
	@ frame_needed = 1, uses_anonymous_args = 0
	sub	sp, sp, #8
	push	{r4, r5, r6, r7, r8, r9, fp, lr}
	add	fp, sp, #28
	sub	sp, sp, #104
	str	r0, [fp, #-112]
	add	r1, fp, #4
	stm	r1, {r2, r3}
	ldmib	fp, {r2-r3}
	str	r2, [fp, #-60]
	str	r3, [fp, #-56]
	add	r3, fp, #12
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-52]
	str	r3, [fp, #-48]
	sub	r3, fp, #60
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-92]
	str	r3, [fp, #-88]
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-84]
	str	r3, [fp, #-80]
	mov	r2, #0
	mov	r3, #0
	sub	r1, fp, #84
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmpeq
	mov	r3, r0
	cmp	r3, #0
	beq	.L24
	mov	r2, #0
	mov	r3, #0
	sub	r1, fp, #92
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L25
	sub	r3, fp, #108
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	ldr	r4, [fp, #-92]
	ldr	r3, [fp, #-88]
	eor	r5, r3, #-2147483648
	mov	r0, r4
	mov	r1, r5
	bl	sqrt
	str	r0, [fp, #-108]
	str	r1, [fp, #-104]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-100]
	str	r3, [fp, #-96]
	sub	r3, fp, #108
	ldmia	r3, {r2-r3}
	sub	r1, fp, #100
	ldmia	r1, {r0-r1}
	str	r0, [fp, #-44]
	str	r1, [fp, #-40]
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	b	.L6
.L25:
	sub	r1, fp, #92
	ldmia	r1, {r0-r1}
	bl	sqrt
	str	r0, [fp, #-100]
	str	r1, [fp, #-96]
	sub	r3, fp, #108
	ldmia	r3, {r2-r3}
	sub	r1, fp, #100
	ldmia	r1, {r0-r1}
	str	r0, [fp, #-44]
	str	r1, [fp, #-40]
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	sub	r3, fp, #100
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-108]
	str	r3, [fp, #-104]
	b	.L6
.L24:
	mov	r2, #0
	mov	r3, #0
	sub	r1, fp, #92
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmpeq
	mov	r3, r0
	cmp	r3, #0
	beq	.L26
	ldr	r3, [fp, #-84]
	str	r3, [fp, #-124]
	ldr	r3, [fp, #-80]
	bic	r3, r3, #-2147483648
	str	r3, [fp, #-120]
	mov	r2, #0
	ldr	r3, .L30
	sub	r1, fp, #124
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	sqrt
	str	r0, [fp, #-76]
	str	r1, [fp, #-72]
	sub	r3, fp, #108
	ldmia	r3, {r2-r3}
	sub	r1, fp, #76
	ldmia	r1, {r0-r1}
	str	r0, [fp, #-44]
	str	r1, [fp, #-40]
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	mov	r2, #0
	mov	r3, #0
	sub	r1, fp, #84
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L27
	sub	r3, fp, #76
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-108]
	str	r3, [fp, #-104]
	b	.L11
.L27:
	ldr	r8, [fp, #-76]
	ldr	r3, [fp, #-72]
	eor	r9, r3, #-2147483648
	str	r8, [fp, #-108]
	str	r9, [fp, #-104]
.L11:
	sub	r3, fp, #76
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-100]
	str	r3, [fp, #-96]
	sub	r3, fp, #108
	ldmia	r3, {r2-r3}
	sub	r1, fp, #100
	ldmia	r1, {r0-r1}
	str	r0, [fp, #-44]
	str	r1, [fp, #-40]
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	b	.L6
.L26:
	sub	r3, fp, #84
	ldmia	r3, {r2-r3}
	sub	r1, fp, #92
	ldmia	r1, {r0-r1}
	bl	_hypot
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_i2d
	ldr	r3, [fp, #-92]
	str	r3, [fp, #-132]
	ldr	r3, [fp, #-88]
	bic	r3, r3, #-2147483648
	str	r3, [fp, #-128]
	sub	r3, fp, #132
	ldmia	r3, {r2-r3}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, r0
	mov	r3, r1
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	sqrt
	str	r0, [fp, #-76]
	str	r1, [fp, #-72]
	mov	r2, #0
	mov	r3, #1073741824
	sub	r1, fp, #76
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-68]
	str	r3, [fp, #-64]
	mov	r2, #0
	mov	r3, #0
	sub	r1, fp, #92
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L28
	sub	r3, fp, #108
	ldmia	r3, {r2-r3}
	sub	r1, fp, #68
	ldmia	r1, {r0-r1}
	str	r0, [fp, #-44]
	str	r1, [fp, #-40]
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	sub	r3, fp, #76
	ldmia	r3, {r2-r3}
	sub	r1, fp, #84
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-108]
	str	r3, [fp, #-104]
	sub	r3, fp, #68
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-100]
	str	r3, [fp, #-96]
	sub	r3, fp, #108
	ldmia	r3, {r2-r3}
	sub	r1, fp, #100
	ldmia	r1, {r0-r1}
	str	r0, [fp, #-44]
	str	r1, [fp, #-40]
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	b	.L6
.L28:
	sub	r3, fp, #76
	ldmia	r3, {r2-r3}
	sub	r1, fp, #84
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r1, r2
	str	r1, [fp, #-100]
	bic	r3, r3, #-2147483648
	str	r3, [fp, #-96]
	sub	r3, fp, #108
	ldmia	r3, {r2-r3}
	sub	r1, fp, #100
	ldmia	r1, {r0-r1}
	str	r0, [fp, #-44]
	str	r1, [fp, #-40]
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	mov	r2, #0
	mov	r3, #0
	sub	r1, fp, #84
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L29
	ldr	r6, [fp, #-68]
	ldr	r3, [fp, #-64]
	eor	r7, r3, #-2147483648
	str	r6, [fp, #-108]
	str	r7, [fp, #-104]
	b	.L16
.L29:
	sub	r3, fp, #68
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-108]
	str	r3, [fp, #-104]
.L16:
	sub	r3, fp, #108
	ldmia	r3, {r2-r3}
	sub	r1, fp, #100
	ldmia	r1, {r0-r1}
	str	r0, [fp, #-44]
	str	r1, [fp, #-40]
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
.L6:
	ldr	r1, [fp, #-112]
	sub	r3, fp, #100
	ldmia	r3, {r2-r3}
	stm	r1, {r2-r3}
	ldr	r1, [fp, #-112]
	sub	r3, fp, #108
	ldmia	r3, {r2-r3}
	str	r2, [r1, #8]
	str	r3, [r1, #12]
	ldr	r0, [fp, #-112]
	sub	sp, fp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, fp, lr}
	add	sp, sp, #8
	bx	lr
.L31:
	.align	2
.L30:
	.word	1071644672
	.size	csqrt, .-csqrt
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
