	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fSqrt
_fSqrt:                                 ## @fSqrt
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	xorl	%edi, %edi
	callq	_ConvertToFraction
	movq	%rax, %r12
	movq	%rax, %rdi
	movq	%r14, %rsi
	callq	_GreaterThan
	testq	%rax, %rax
	jne	LBB0_9
## %bb.1:
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_Equal
	testq	%rax, %rax
	jne	LBB0_9
## %bb.2:
	movq	%r14, %rax
	shrq	$32, %rax
	movl	$60, %ebx
	cmpl	$3000, %eax                     ## imm = 0xBB8
	jg	LBB0_5
## %bb.3:
	movl	$30, %ebx
	cmpl	$1000, %eax                     ## imm = 0x3E8
	jg	LBB0_5
## %bb.4:
	xorl	%ecx, %ecx
	cmpl	$101, %eax
	setge	%cl
	leal	2(,%rcx,8), %ebx
LBB0_5:
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_Equal
	testq	%rax, %rax
	je	LBB0_6
LBB0_9:
	movq	%r12, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movl	$2, %edi
	callq	_ConvertToFraction
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	%ebx, %edi
	callq	_ConvertToFraction
	movq	%rax, %r12
	movl	$21, %r15d
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r12d, %r13d
	movq	%r13, %rdi
	callq	_fGetSquare
	movq	%rax, %rdi
	movq	%r14, %rsi
	callq	_fSubtract
	movq	%rax, %rbx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rsi
	callq	_fMultiply
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	_fDivide
	movq	%r13, %rdi
	movq	%rax, %rsi
	callq	_fSubtract
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_ConvertBackToInteger
	movl	%eax, %ebx
	movq	%r13, %rdi
	callq	_ConvertBackToInteger
	decl	%r15d
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	subl	%eax, %ebx
	movl	%ebx, %edi
	callq	_uAbs
	testq	%rax, %rax
	jg	LBB0_7
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_fSqrt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fSqrt
_fSqrt:                                 ; @fSqrt
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x0
	mov	w0, #0
	bl	_ConvertToFraction
	mov	x20, x0
	mov	x1, x19
	bl	_GreaterThan
	cbnz	x0, LBB0_6
; %bb.1:
	mov	x0, x20
	mov	x1, x19
	bl	_Equal
	cbnz	x0, LBB0_6
; %bb.2:
	lsr	x8, x19, #32
	mov	w9, #60
	mov	w10, #30
	mov	w11, #2
	mov	w12, #10
	cmp	w8, #100
	csel	w11, w12, w11, gt
	cmp	w8, #1000
	csel	w10, w10, w11, gt
	cmp	w8, #3000
	csel	w22, w9, w10, gt
	mov	x0, x19
	mov	x1, x20
	bl	_Equal
	cbnz	x0, LBB0_6
; %bb.3:
	mov	w0, #2
	bl	_ConvertToFraction
	mov	x21, x0
	mov	x0, x22
	bl	_ConvertToFraction
	mov	x20, x0
	mov	w24, #21
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	and	x23, x20, #0xffffffff
	mov	x0, x23
	bl	_fGetSquare
	mov	x1, x19
	bl	_fSubtract
	mov	x20, x0
	mov	x0, x21
	mov	x1, x23
	bl	_fMultiply
	mov	x1, x0
	mov	x0, x20
	bl	_fDivide
	mov	x1, x0
	mov	x0, x23
	bl	_fSubtract
	mov	x20, x0
	bl	_ConvertBackToInteger
	mov	x22, x0
	mov	x0, x23
	bl	_ConvertBackToInteger
	subs	w24, w24, #1
	b.eq	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	sub	w0, w22, w0
	bl	_uAbs
	cmp	x0, #0
	b.gt	LBB0_4
LBB0_6:
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_fSqrt
.subsections_via_symbols
