	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_peer_clear                     ## -- Begin function peer_clear
	.p2align	4, 0x90
_peer_clear:                            ## @peer_clear
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movl	88(%rdi), %r12d
	callq	_CLEAR_TO_ZERO
	movl	%eax, %r15d
	movq	%rbx, %rdi
	callq	_LEN_CLEAR_TO_ZERO
	movl	%r15d, %edi
	xorl	%esi, %esi
	movl	%eax, %edx
	callq	_memset
	movl	4(%rbx), %eax
	movl	112(%rbx), %ecx
	movl	%ecx, 116(%rbx)
	movl	%eax, (%rbx)
	movq	_MAXDISPERSE@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	movq	%rax, 104(%rbx)
	movq	%rbx, %rdi
	callq	_peer_unfit
	movl	%eax, 96(%rbx)
	movq	_sys_precision@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_LOGTOD
	movl	%eax, 92(%rbx)
	movq	8(%rbx), %rax
	movq	_MODE_BCLIENT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movl	%r12d, 88(%rbx)
LBB0_2:
	movq	_FLAG_XLEAVE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 16(%rbx)
	je	LBB0_4
## %bb.3:
	movl	$1, 20(%rbx)
LBB0_4:
	movq	_NTP_SHIFT@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_7
## %bb.5:
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	24(%rbx), %rdx
	movq	%rcx, (%rdx,%rcx,8)
	movq	(%r15), %rdx
	movq	80(%rbx), %rsi
	movq	%rdx, (%rsi,%rcx,8)
	incq	%rcx
	cmpq	(%rax), %rcx
	jb	LBB0_6
LBB0_7:
	movq	_LEAP_NOTINSYNC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 72(%rbx)
	movq	_STRATUM_UNSPEC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 68(%rbx)
	leaq	64(%rbx), %rdi
	movq	%r14, %rsi
	movl	$4, %edx
	callq	_memcpy
	movq	_current_time@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movl	%edx, 40(%rbx)
	movl	%edx, 36(%rbx)
	movl	%edx, 32(%rbx)
	movq	_initializing@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_9
## %bb.8:
	movq	_peer_associations@GOTPCREL(%rip), %rax
	addl	(%rax), %edx
	jmp	LBB0_12
LBB0_9:
	movq	_MODE_PASSIVE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	8(%rbx), %rax
	jne	LBB0_11
## %bb.10:
	movq	_ntp_minpkt@GOTPCREL(%rip), %rax
	addl	(%rax), %edx
	jmp	LBB0_12
LBB0_11:
	xorl	%eax, %eax
	callq	_ntp_random
	cltd
	idivl	4(%rbx)
                                        ## kill: def $edx killed $edx def $rdx
	addl	32(%rbx), %edx
LBB0_12:
	movl	%edx, 32(%rbx)
	movl	$1, %edi
	movq	%r14, %rsi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_DPRINTF                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MAXDISPERSE,8,3                ## @MAXDISPERSE
	.comm	_sys_precision,4,2              ## @sys_precision
	.comm	_MODE_BCLIENT,8,3               ## @MODE_BCLIENT
	.comm	_FLAG_XLEAVE,4,2                ## @FLAG_XLEAVE
	.comm	_NTP_SHIFT,8,3                  ## @NTP_SHIFT
	.comm	_LEAP_NOTINSYNC,4,2             ## @LEAP_NOTINSYNC
	.comm	_STRATUM_UNSPEC,4,2             ## @STRATUM_UNSPEC
	.comm	_current_time,8,3               ## @current_time
	.comm	_initializing,8,3               ## @initializing
	.comm	_peer_associations,8,3          ## @peer_associations
	.comm	_MODE_PASSIVE,8,3               ## @MODE_PASSIVE
	.comm	_ntp_minpkt,8,3                 ## @ntp_minpkt
	.comm	_FLAG_REFCLOCK,4,2              ## @FLAG_REFCLOCK
	.comm	_NTP_REFRESH,4,2                ## @NTP_REFRESH
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_peer_clear                     ; -- Begin function peer_clear
	.p2align	2
_peer_clear:                            ; @peer_clear
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [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 w21, -40
	.cfi_offset w22, -48
	mov	x19, x1
	mov	x20, x0
	ldr	w22, [x0, #88]
	bl	_CLEAR_TO_ZERO
	mov	x21, x0
	mov	x0, x20
	bl	_LEN_CLEAR_TO_ZERO
	mov	x2, x0
	mov	x0, x21
	mov	w1, #0
	bl	_memset
	ldr	w8, [x20, #112]
	str	w8, [x20, #116]
	ldr	w8, [x20, #4]
	str	w8, [x20]
Lloh0:
	adrp	x21, _MAXDISPERSE@GOTPAGE
Lloh1:
	ldr	x21, [x21, _MAXDISPERSE@GOTPAGEOFF]
	ldr	x8, [x21]
	str	x8, [x20, #104]
	mov	x0, x20
	bl	_peer_unfit
	str	w0, [x20, #96]
Lloh2:
	adrp	x8, _sys_precision@GOTPAGE
Lloh3:
	ldr	x8, [x8, _sys_precision@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	bl	_LOGTOD
	str	w0, [x20, #92]
	ldr	x8, [x20, #8]
Lloh5:
	adrp	x9, _MODE_BCLIENT@GOTPAGE
Lloh6:
	ldr	x9, [x9, _MODE_BCLIENT@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	str	w22, [x20, #88]
LBB0_2:
	ldr	w8, [x20, #16]
Lloh8:
	adrp	x9, _FLAG_XLEAVE@GOTPAGE
Lloh9:
	ldr	x9, [x9, _FLAG_XLEAVE@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.3:
	mov	w8, #1
	str	w8, [x20, #20]
LBB0_4:
Lloh11:
	adrp	x8, _NTP_SHIFT@GOTPAGE
Lloh12:
	ldr	x8, [x8, _NTP_SHIFT@GOTPAGEOFF]
	ldr	x9, [x8]
	cbz	x9, LBB0_7
; %bb.5:
	mov	x9, #0
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x20, #24]
	lsl	x11, x9, #3
	str	x9, [x10, x11]
	ldr	x10, [x21]
	ldr	x12, [x20, #80]
	str	x10, [x12, x11]
	add	x9, x9, #1
	ldr	x10, [x8]
	cmp	x9, x10
	b.lo	LBB0_6
LBB0_7:
Lloh13:
	adrp	x8, _LEAP_NOTINSYNC@GOTPAGE
Lloh14:
	ldr	x8, [x8, _LEAP_NOTINSYNC@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
Lloh16:
	adrp	x9, _STRATUM_UNSPEC@GOTPAGE
Lloh17:
	ldr	x9, [x9, _STRATUM_UNSPEC@GOTPAGEOFF]
Lloh18:
	ldr	w9, [x9]
	stp	w9, w8, [x20, #68]
	add	x0, x20, #64
	mov	x1, x19
	mov	w2, #4
	bl	_memcpy
Lloh19:
	adrp	x8, _current_time@GOTPAGE
Lloh20:
	ldr	x8, [x8, _current_time@GOTPAGEOFF]
Lloh21:
	ldr	x8, [x8]
	stp	w8, w8, [x20, #36]
	str	w8, [x20, #32]
Lloh22:
	adrp	x9, _initializing@GOTPAGE
Lloh23:
	ldr	x9, [x9, _initializing@GOTPAGEOFF]
Lloh24:
	ldr	x9, [x9]
	cbz	x9, LBB0_9
; %bb.8:
Lloh25:
	adrp	x9, _peer_associations@GOTPAGE
Lloh26:
	ldr	x9, [x9, _peer_associations@GOTPAGEOFF]
	b	LBB0_11
LBB0_9:
Lloh27:
	adrp	x9, _MODE_PASSIVE@GOTPAGE
Lloh28:
	ldr	x9, [x9, _MODE_PASSIVE@GOTPAGEOFF]
Lloh29:
	ldr	x9, [x9]
	ldr	x10, [x20, #8]
	cmp	x9, x10
	b.ne	LBB0_12
; %bb.10:
Lloh30:
	adrp	x9, _ntp_minpkt@GOTPAGE
Lloh31:
	ldr	x9, [x9, _ntp_minpkt@GOTPAGEOFF]
LBB0_11:
	ldr	w9, [x9]
	add	w8, w9, w8
	b	LBB0_13
LBB0_12:
	bl	_ntp_random
	ldr	w8, [x20, #4]
	sdiv	w9, w0, w8
	msub	w8, w9, w8, w0
	ldr	w9, [x20, #32]
	add	w8, w9, w8
LBB0_13:
	str	w8, [x20, #32]
	mov	w0, #1
	mov	x1, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_DPRINTF
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh30, Lloh31
	.cfi_endproc
                                        ; -- End function
	.comm	_MAXDISPERSE,8,3                ; @MAXDISPERSE
	.comm	_sys_precision,4,2              ; @sys_precision
	.comm	_MODE_BCLIENT,8,3               ; @MODE_BCLIENT
	.comm	_FLAG_XLEAVE,4,2                ; @FLAG_XLEAVE
	.comm	_NTP_SHIFT,8,3                  ; @NTP_SHIFT
	.comm	_LEAP_NOTINSYNC,4,2             ; @LEAP_NOTINSYNC
	.comm	_STRATUM_UNSPEC,4,2             ; @STRATUM_UNSPEC
	.comm	_current_time,8,3               ; @current_time
	.comm	_initializing,8,3               ; @initializing
	.comm	_peer_associations,8,3          ; @peer_associations
	.comm	_MODE_PASSIVE,8,3               ; @MODE_PASSIVE
	.comm	_ntp_minpkt,8,3                 ; @ntp_minpkt
	.comm	_FLAG_REFCLOCK,4,2              ; @FLAG_REFCLOCK
	.comm	_NTP_REFRESH,4,2                ; @NTP_REFRESH
.subsections_via_symbols
