	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sync_clock_to_slave
_sync_clock_to_slave:                   ## @sync_clock_to_slave
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	callq	_get_clock
	movsd	%xmm0, -32(%rbp)                ## 8-byte Spill
	movq	%r14, %rdi
	callq	_get_clock
	movsd	%xmm0, -24(%rbp)                ## 8-byte Spill
	callq	_isnan
	testq	%rax, %rax
	je	LBB0_1
LBB0_3:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_1:
	movsd	-32(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	callq	_isnan
	testq	%rax, %rax
	jne	LBB0_4
## %bb.2:
	movsd	-32(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	subsd	-24(%rbp), %xmm0                ## 8-byte Folded Reload
	callq	_fabs
	movq	_AV_NOSYNC_THRESHOLD@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jle	LBB0_3
LBB0_4:
	movl	(%r14), %esi
	movq	%rbx, %rdi
	movsd	-24(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_set_clock                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_NOSYNC_THRESHOLD,8,3        ## @AV_NOSYNC_THRESHOLD
	.no_dead_strip	_sync_clock_to_slave
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sync_clock_to_slave
_sync_clock_to_slave:                   ; @sync_clock_to_slave
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [sp, #-48]!             ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset b8, -40
	.cfi_offset b9, -48
	mov	x20, x1
	mov	x19, x0
	bl	_get_clock
	fmov	d9, d0
	mov	x0, x20
	bl	_get_clock
	fmov	d8, d0
	bl	_isnan
	cbz	x0, LBB0_2
LBB0_1:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #48               ; 16-byte Folded Reload
	ret
LBB0_2:
	fmov	d0, d9
	bl	_isnan
	cbnz	x0, LBB0_4
; %bb.3:
	fsub	d0, d9, d8
	bl	_fabs
Lloh0:
	adrp	x8, _AV_NOSYNC_THRESHOLD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AV_NOSYNC_THRESHOLD@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.le	LBB0_1
LBB0_4:
	ldr	w1, [x20]
	mov	x0, x19
	fmov	d0, d8
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #48               ; 16-byte Folded Reload
	b	_set_clock
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_NOSYNC_THRESHOLD,8,3        ; @AV_NOSYNC_THRESHOLD
	.no_dead_strip	_sync_clock_to_slave
.subsections_via_symbols
