	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function root_distance
_root_distance:                         ## @root_distance
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	4(%rdi), %eax
	addl	(%rdi), %eax
	movl	%eax, %ecx
	shrl	$31, %ecx
	addl	%eax, %ecx
	sarl	%ecx
	addl	8(%rdi), %ecx
	movq	_clock_phi@GOTPCREL(%rip), %rax
	movq	_current_time@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	subl	12(%rdi), %edx
	imull	(%rax), %edx
	addl	16(%rdi), %ecx
	addl	%edx, %ecx
	addl	20(%rdi), %ecx
	cvtsi2sd	%ecx, %xmm1
	movq	_sys_mindisp@GOTPCREL(%rip), %rax
	movsd	(%rax), %xmm0                   ## xmm0 = mem[0],zero
	maxsd	%xmm1, %xmm0
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_clock_phi,4,2                  ## @clock_phi
	.comm	_current_time,4,2               ## @current_time
	.comm	_sys_mindisp,8,3                ## @sys_mindisp
	.no_dead_strip	_root_distance
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function root_distance
_root_distance:                         ; @root_distance
	.cfi_startproc
; %bb.0:
	ldp	w8, w9, [x0]
	add	w8, w9, w8
	cmp	w8, #0
	cinc	w8, w8, lt
	ldp	w9, w10, [x0, #8]
	add	w8, w9, w8, asr #1
Lloh0:
	adrp	x9, _clock_phi@GOTPAGE
Lloh1:
	ldr	x9, [x9, _clock_phi@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
Lloh3:
	adrp	x11, _current_time@GOTPAGE
Lloh4:
	ldr	x11, [x11, _current_time@GOTPAGEOFF]
Lloh5:
	ldr	w11, [x11]
	sub	w10, w11, w10
	ldp	w11, w12, [x0, #16]
	add	w8, w8, w11
	madd	w8, w10, w9, w8
	add	w8, w8, w12
	scvtf	d0, w8
Lloh6:
	adrp	x8, _sys_mindisp@GOTPAGE
Lloh7:
	ldr	x8, [x8, _sys_mindisp@GOTPAGEOFF]
Lloh8:
	ldr	d1, [x8]
	fcmp	d1, d0
	fcsel	d0, d1, d0, gt
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_clock_phi,4,2                  ; @clock_phi
	.comm	_current_time,4,2               ; @current_time
	.comm	_sys_mindisp,8,3                ; @sys_mindisp
	.no_dead_strip	_root_distance
.subsections_via_symbols
