	.file	"58175.c"
	.intel_syntax noprefix
	.text
	.globl	absoluteValue
	.type	absoluteValue, @function
absoluteValue:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	movss	DWORD PTR -4[rbp], xmm0
	pxor	xmm0, xmm0
	comiss	xmm0, DWORD PTR -4[rbp]
	jbe	.L2
	movss	xmm0, DWORD PTR -4[rbp]
	movss	xmm1, DWORD PTR .LC1[rip]
	xorps	xmm0, xmm1
	movss	DWORD PTR -4[rbp], xmm0
.L2:
	movss	xmm0, DWORD PTR -4[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	absoluteValue, .-absoluteValue
	.globl	squareRoot
	.type	squareRoot, @function
squareRoot:
.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, 24
	movss	DWORD PTR -20[rbp], xmm0
	movss	xmm0, DWORD PTR .LC2[rip]
	movss	DWORD PTR -4[rbp], xmm0
	movss	xmm0, DWORD PTR .LC3[rip]
	movss	DWORD PTR -8[rbp], xmm0
	jmp	.L7
.L11:
	movss	xmm0, DWORD PTR -20[rbp]
	divss	xmm0, DWORD PTR -8[rbp]
	mulss	xmm0, DWORD PTR -8[rbp]
	movss	xmm1, DWORD PTR .LC4[rip]
	divss	xmm0, xmm1
	movss	DWORD PTR -8[rbp], xmm0
.L7:
	movss	xmm0, DWORD PTR -8[rbp]
	movaps	xmm1, xmm0
	mulss	xmm1, xmm0
	movss	xmm0, DWORD PTR -20[rbp]
	divss	xmm0, xmm1
	movss	xmm1, DWORD PTR .LC3[rip]
	ucomiss	xmm0, xmm1
	jp	.L8
	movss	xmm1, DWORD PTR .LC3[rip]
	ucomiss	xmm0, xmm1
	jne	.L8
	mov	eax, DWORD PTR .LC3[rip]
	jmp	.L10
.L8:
	mov	eax, DWORD PTR .LC0[rip]
.L10:
	movd	xmm0, eax
	call	absoluteValue
	movd	eax, xmm0
	pxor	xmm0, xmm0
	movd	xmm2, eax
	ucomiss	xmm2, xmm0
	jp	.L11
	pxor	xmm0, xmm0
	movd	xmm3, eax
	comiss	xmm3, xmm0
	jne	.L11
	movss	xmm0, DWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	squareRoot, .-squareRoot
	.section	.rodata
.LC6:
	.string	"squareRoot (2.0) = %f\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, 16
	mov	DWORD PTR -4[rbp], edi
	mov	QWORD PTR -16[rbp], rsi
	movss	xmm0, DWORD PTR .LC5[rip]
	call	squareRoot
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, xmm0
	movq	rax, xmm1
	movq	xmm0, rax
	lea	rdi, .LC6[rip]
	mov	eax, 1
	call	printf@PLT
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	main, .-main
	.section	.rodata
	.align 4
.LC0:
	.long	0
	.align 16
.LC1:
	.long	-2147483648
	.long	0
	.long	0
	.long	0
	.align 4
.LC2:
	.long	925353388
	.align 4
.LC3:
	.long	1065353216
	.align 4
.LC4:
	.long	1073741824
	.align 4
.LC5:
	.long	1082130432
	.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	"58175.c"
	.text
	.global	__aeabi_fcmplt
	.align	2
	.global	absoluteValue
	.syntax unified
	.arm
	.fpu softvfp
	.type	absoluteValue, %function
absoluteValue:
	@ 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]	@ float
	mov	r1, #0
	ldr	r0, [fp, #-8]	@ float
	bl	__aeabi_fcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L2
	ldr	r3, [fp, #-8]
	eor	r3, r3, #-2147483648
	str	r3, [fp, #-8]	@ float
.L2:
	ldr	r3, [fp, #-8]	@ float
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	absoluteValue, .-absoluteValue
	.global	__aeabi_fdiv
	.global	__aeabi_fmul
	.global	__aeabi_fcmpeq
	.align	2
	.global	squareRoot
	.syntax unified
	.arm
	.fpu softvfp
	.type	squareRoot, %function
squareRoot:
	@ 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
	ldr	r3, .L15
	str	r3, [fp, #-8]	@ float
	mov	r3, #1065353216
	str	r3, [fp, #-12]	@ float
	b	.L7
.L11:
	ldr	r1, [fp, #-12]	@ float
	ldr	r0, [fp, #-16]	@ float
	bl	__aeabi_fdiv
	mov	r3, r0
	ldr	r1, [fp, #-12]	@ float
	mov	r0, r3
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r1, #1073741824
	mov	r0, r3
	bl	__aeabi_fdiv
	mov	r3, r0
	str	r3, [fp, #-12]	@ float
.L7:
	ldr	r1, [fp, #-12]	@ float
	ldr	r0, [fp, #-12]	@ float
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r1, r3
	ldr	r0, [fp, #-16]	@ float
	bl	__aeabi_fdiv
	mov	r3, r0
	mov	r1, #1065353216
	mov	r0, r3
	bl	__aeabi_fcmpeq
	mov	r3, r0
	cmp	r3, #0
	beq	.L14
	mov	r3, #1065353216
	b	.L10
.L14:
	mov	r3, #0
.L10:
	mov	r0, r3
	bl	absoluteValue
	mov	r3, r0
	mov	r1, #0
	mov	r0, r3
	bl	__aeabi_fcmpeq
	mov	r3, r0
	cmp	r3, #0
	beq	.L11
	ldr	r3, [fp, #-12]	@ float
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L16:
	.align	2
.L15:
	.word	925353388
	.size	squareRoot, .-squareRoot
	.global	__aeabi_f2d
	.section	.rodata
	.align	2
.LC0:
	.ascii	"squareRoot (2.0) = %f\012\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ 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	r0, .L19
	bl	squareRoot
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L19+4
	bl	printf
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L20:
	.align	2
.L19:
	.word	1082130432
	.word	.LC0
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
