	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function clock_combine
LCPI0_0:
	.quad	0x3ff0000000000000              ## double 1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_clock_combine:                         ## @clock_combine
	.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
	subq	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r13
	movslq	%edx, %r14
	testl	%esi, %esi
	jle	LBB0_1
## %bb.2:
	movq	%r14, %rax
	shlq	$4, %rax
	leaq	(%rax,%r13), %r15
	addq	$8, %r15
	movl	%esi, %r12d
	shlq	$4, %r12
	xorpd	%xmm0, %xmm0
	xorpd	%xmm1, %xmm1
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movapd	%xmm0, -112(%rbp)               ## 16-byte Spill
	xorps	%xmm0, %xmm0
	cvtsi2sdl	(%r13,%rbx), %xmm0
	movsd	LCPI0_0(%rip), %xmm2            ## xmm2 = mem[0],zero
	divsd	%xmm0, %xmm2
	movapd	%xmm2, -96(%rbp)                ## 16-byte Spill
	addsd	%xmm2, %xmm1
	movsd	%xmm1, -72(%rbp)                ## 8-byte Spill
	movq	8(%r13,%rbx), %rax
	movsd	(%rax), %xmm0                   ## xmm0 = mem[0],zero
	movapd	%xmm0, -64(%rbp)                ## 16-byte Spill
	movq	(%r15), %rax
	movsd	(%rax), %xmm1                   ## xmm1 = mem[0],zero
	callq	_DIFF
	movapd	-112(%rbp), %xmm3               ## 16-byte Reload
	movapd	-64(%rbp), %xmm2                ## 16-byte Reload
	movddup	-96(%rbp), %xmm1                ## 16-byte Folded Reload
                                        ## xmm1 = mem[0,0]
	unpcklpd	%xmm0, %xmm2                    ## xmm2 = xmm2[0],xmm0[0]
	mulpd	%xmm1, %xmm2
	movsd	-72(%rbp), %xmm1                ## 8-byte Reload
                                        ## xmm1 = mem[0],zero
	movapd	%xmm2, %xmm0
	addpd	%xmm3, %xmm0
	addq	$16, %rbx
	cmpq	%rbx, %r12
	jne	LBB0_3
## %bb.4:
	addpd	%xmm3, %xmm2
	jmp	LBB0_5
LBB0_1:
	xorpd	%xmm2, %xmm2
	xorpd	%xmm1, %xmm1
LBB0_5:
	movapd	%xmm2, %xmm0
	divsd	%xmm1, %xmm0
	movq	_sys_offset@GOTPCREL(%rip), %rax
	movsd	%xmm0, (%rax)
	unpckhpd	%xmm2, %xmm2                    ## xmm2 = xmm2[1,1]
	divsd	%xmm1, %xmm2
	movapd	%xmm2, -64(%rbp)                ## 16-byte Spill
	shlq	$4, %r14
	movl	4(%r13,%r14), %edi
	callq	_SQUARE
	xorps	%xmm0, %xmm0
	cvtsi2sd	%rax, %xmm0
	addsd	-64(%rbp), %xmm0                ## 16-byte Folded Reload
	cvttsd2si	%xmm0, %rdi
	callq	_SQRT
	movq	_sys_jitter@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_sys_offset,8,3                 ## @sys_offset
	.comm	_sys_jitter,4,2                 ## @sys_jitter
	.no_dead_strip	_clock_combine
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function clock_combine
_clock_combine:                         ; @clock_combine
	.cfi_startproc
; %bb.0:
	stp	d13, d12, [sp, #-112]!          ; 16-byte Folded Spill
	.cfi_def_cfa_offset 112
	stp	d11, d10, [sp, #16]             ; 16-byte Folded Spill
	stp	d9, d8, [sp, #32]               ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset b8, -72
	.cfi_offset b9, -80
	.cfi_offset b10, -88
	.cfi_offset b11, -96
	.cfi_offset b12, -104
	.cfi_offset b13, -112
                                        ; kill: def $w2 killed $w2 def $x2
	mov	x19, x0
	sxtw	x20, w2
	cmp	w1, #1
	b.lt	LBB0_3
; %bb.1:
	add	x8, x19, x20, lsl #4
	add	x21, x8, #8
	mov	w22, w1
	add	x23, x19, #8
	movi	d8, #0000000000000000
	fmov	d11, #1.00000000
	movi	d10, #0000000000000000
	movi	d9, #0000000000000000
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldur	s0, [x23, #-8]
	sshll.2d	v0, v0, #0
	scvtf	d0, d0
	fdiv	d12, d11, d0
	fadd	d9, d9, d12
	ldr	x8, [x23], #16
	ldr	d0, [x8]
	fmadd	d10, d12, d0, d10
	ldr	x8, [x21]
	ldr	d1, [x8]
	bl	_DIFF
	fmadd	d8, d12, d0, d8
	subs	x22, x22, #1
	b.ne	LBB0_2
	b	LBB0_4
LBB0_3:
	movi	d9, #0000000000000000
	movi	d10, #0000000000000000
	movi	d8, #0000000000000000
LBB0_4:
	fdiv	d0, d10, d9
Lloh0:
	adrp	x8, _sys_offset@GOTPAGE
Lloh1:
	ldr	x8, [x8, _sys_offset@GOTPAGEOFF]
Lloh2:
	str	d0, [x8]
	fdiv	d8, d8, d9
	add	x8, x19, x20, lsl #4
	ldr	w0, [x8, #4]
	bl	_SQUARE
	scvtf	d0, x0
	fadd	d0, d8, d0
	fcvtzs	x0, d0
	bl	_SQRT
Lloh3:
	adrp	x8, _sys_jitter@GOTPAGE
Lloh4:
	ldr	x8, [x8, _sys_jitter@GOTPAGEOFF]
Lloh5:
	str	w0, [x8]
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #32]               ; 16-byte Folded Reload
	ldp	d11, d10, [sp, #16]             ; 16-byte Folded Reload
	ldp	d13, d12, [sp], #112            ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotStr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotStr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_sys_offset,8,3                 ; @sys_offset
	.comm	_sys_jitter,4,2                 ; @sys_jitter
	.no_dead_strip	_clock_combine
.subsections_via_symbols
