	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_newpeer                        ## -- Begin function newpeer
	.p2align	4, 0x90
_newpeer:                               ## @newpeer
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %rbx
	movl	%ecx, -48(%rbp)                 ## 4-byte Spill
	movq	%rdx, %r13
	movq	%rsi, %r14
	movq	%rdi, %r12
	movq	40(%rbp), %r15
	movl	$0, -44(%rbp)
	callq	_DEBUG_REQUIRE
	testq	%r14, %r14
	sete	%al
	movq	_MDF_POOL@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	andq	%r15, %rcx
	setne	%cl
	orb	%al, %cl
	movzbl	%cl, %edi
	callq	_INSIST
	leaq	-44(%rbp), %r9
	movq	%r12, %rdi
	movq	%r14, %rsi
	xorl	%edx, %edx
	movq	%rbx, %rcx
	movq	%r15, %r8
	callq	_findexistingpeer
	movq	%rax, %r15
	testq	%r13, %r13
	je	LBB0_9
## %bb.1:
	testq	%r15, %r15
	je	LBB0_12
## %bb.2:
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	%r12, %rdi
	movq	%r14, %rsi
	movq	%r15, %rdx
	movq	%rbx, %rcx
	movq	40(%rbp), %r8
	leaq	-44(%rbp), %r9
	callq	_findexistingpeer
	movq	%rax, %r15
	testq	%rax, %rax
	je	LBB0_12
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%r13, 80(%r15)
	je	LBB0_10
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	_MDF_BCLNT@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	testq	%rax, 40(%rbp)
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	testq	%rax, (%r15)
	jne	LBB0_10
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	%r12, %rdi
	callq	_ANY_INTERFACE_CHOOSE
	cmpq	%r13, %rax
	jne	LBB0_3
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%r14, %rbx
	movq	80(%r15), %r14
	movq	%r12, %rdi
	callq	_findinterface
	cmpq	%rax, %r14
	movq	%rbx, %r14
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	jne	LBB0_3
	jmp	LBB0_10
LBB0_9:
	testq	%r15, %r15
	je	LBB0_12
LBB0_10:
	testq	%r14, %r14
	jne	LBB0_20
## %bb.11:
	movq	%r12, %rdi
	callq	_stoa
	movq	%rax, %r14
	jmp	LBB0_20
LBB0_12:
	testq	%r14, %r14
	je	LBB0_16
## %bb.13:
	movslq	-44(%rbp), %rsi
	movl	$1, %edi
	callq	_DPRINTF
	movl	-48(%rbp), %ebx                 ## 4-byte Reload
	testl	%ebx, %ebx
	js	LBB0_23
## %bb.14:
	cmpl	%ebx, -44(%rbp)
	jge	LBB0_19
	jmp	LBB0_24
LBB0_16:
	movq	%r12, %rdi
	callq	_stoa
	movslq	-44(%rbp), %rsi
	movl	$1, %edi
	callq	_DPRINTF
	movl	-48(%rbp), %ebx                 ## 4-byte Reload
	testl	%ebx, %ebx
	js	LBB0_22
## %bb.17:
	cmpl	%ebx, -44(%rbp)
	jl	LBB0_24
## %bb.18:
	movq	%r12, %rdi
	callq	_stoa
LBB0_19:
	movl	%ebx, %r14d
LBB0_20:
	movl	$2, %edi
	movq	%r14, %rsi
	callq	_DPRINTF
LBB0_21:
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_22:
	movq	%r12, %rdi
	callq	_stoa
LBB0_23:
	movslq	%ebx, %rsi
	movl	$1, %edi
	callq	_DPRINTF
LBB0_24:
	movl	32(%rbp), %edi
	xorl	%edx, %edx
	testq	%r14, %r14
	sete	%dl
	movq	%r12, %rsi
	movq	%r14, %rcx
	callq	_newpeer.cold.1
	jmp	LBB0_21
	.cfi_endproc
                                        ## -- End function
	.p2align	4, 0x90                         ## -- Begin function newpeer.cold.1
_newpeer.cold.1:                        ## @newpeer.cold.1
	.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	%rcx, %r14
	movq	%rsi, %r15
	movl	%edi, %ebx
	movq	_peer_free_count@GOTPCREL(%rip), %r12
	cmpq	$0, (%r12)
	jne	LBB1_1
## %bb.4:
	xorl	%eax, %eax
	callq	_getmorepeermem
LBB1_1:
	movq	_peer_free@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_p_link@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%edi, %edi
	callq	_UNLINK_HEAD_SLIST
	xorl	%edi, %edi
	callq	_INSIST
	decq	(%r12)
	movq	_peer_associations@GOTPCREL(%rip), %rax
	incl	(%rax)
	movq	_FLAG_PREEMPT@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB1_3
## %bb.2:
	movq	_peer_preempt@GOTPCREL(%rip), %rax
	incl	(%rax)
LBB1_3:
	movq	_current_association_ID@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movl	%ecx, 8
	incq	%rcx
	pushq	$1
	popq	%rdx
	cmovneq	%rcx, %rdx
	movq	%rdx, (%rax)
	movl	(%r15), %eax
	movl	%eax, 72
	movq	%r14, %rdi
	callq	_estrdup
	ud2
	.cfi_endproc
                                        ## -- End function
	.comm	_MDF_POOL,8,3                   ## @MDF_POOL
	.comm	_MDF_BCLNT,8,3                  ## @MDF_BCLNT
	.comm	_peer_free_count,8,3            ## @peer_free_count
	.comm	_peer_free,4,2                  ## @peer_free
	.comm	_p_link,4,2                     ## @p_link
	.comm	_peer_associations,4,2          ## @peer_associations
	.comm	_FLAG_PREEMPT,4,2               ## @FLAG_PREEMPT
	.comm	_peer_preempt,4,2               ## @peer_preempt
	.comm	_current_association_ID,8,3     ## @current_association_ID
	.comm	_NTP_MINDPOLL,8,3               ## @NTP_MINDPOLL
	.comm	_NTP_MAXPOLL,4,2                ## @NTP_MAXPOLL
	.comm	_NTP_MAXDPOLL,8,3               ## @NTP_MAXDPOLL
	.comm	_NTP_MINPOLL,4,2                ## @NTP_MINPOLL
	.comm	_MDF_BCAST,8,3                  ## @MDF_BCAST
	.comm	_MDF_MCAST,8,3                  ## @MDF_MCAST
	.comm	_sys_precision,4,2              ## @sys_precision
	.comm	_MDF_ACAST,8,3                  ## @MDF_ACAST
	.comm	_mode_ntpdate,8,3               ## @mode_ntpdate
	.comm	_peer_ntpdate,4,2               ## @peer_ntpdate
	.comm	_current_time,8,3               ## @current_time
	.comm	_LOG_ERR,4,2                    ## @LOG_ERR
	.comm	_peer_hash,8,3                  ## @peer_hash
	.comm	_adr_link,4,2                   ## @adr_link
	.comm	_peer_hash_count,8,3            ## @peer_hash_count
	.comm	_NTP_HASH_MASK,4,2              ## @NTP_HASH_MASK
	.comm	_assoc_hash,8,3                 ## @assoc_hash
	.comm	_aid_link,4,2                   ## @aid_link
	.comm	_assoc_hash_count,8,3           ## @assoc_hash_count
	.comm	_peer_list,4,2                  ## @peer_list
	.comm	_PEVNT_MOBIL,4,2                ## @PEVNT_MOBIL
	.comm	_FLAG_SKEY,4,2                  ## @FLAG_SKEY
	.comm	_NTP_MAXKEY,8,3                 ## @NTP_MAXKEY
	.comm	_crypto_flags,4,2               ## @crypto_flags
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_newpeer                        ; -- Begin function newpeer
	.p2align	2
_newpeer:                               ; @newpeer
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [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 w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x22, x4
	mov	x21, x3
	mov	x23, x2
	mov	x19, x1
	mov	x20, x0
	ldr	x24, [x29, #24]
	str	wzr, [sp, #12]
	bl	_DEBUG_REQUIRE
Lloh0:
	adrp	x8, _MDF_POOL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MDF_POOL@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	tst	x8, x24
	ccmp	x19, #0, #4, eq
	cset	w0, eq
	bl	_INSIST
	add	x5, sp, #12
	mov	x0, x20
	mov	x1, x19
	mov	x2, #0
	mov	x3, x22
	mov	x4, x24
	bl	_findexistingpeer
	mov	x25, x0
	cbz	x23, LBB0_9
; %bb.1:
	cbz	x25, LBB0_12
; %bb.2:
Lloh3:
	adrp	x26, _MDF_BCLNT@GOTPAGE
Lloh4:
	ldr	x26, [x26, _MDF_BCLNT@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x5, sp, #12
	mov	x0, x20
	mov	x1, x19
	mov	x2, x25
	mov	x3, x22
	mov	x4, x24
	bl	_findexistingpeer
	mov	x25, x0
	cbz	x0, LBB0_12
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x25, #80]
	cmp	x8, x23
	b.eq	LBB0_10
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x26]
	tst	x8, x24
	b.eq	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x9, [x25]
	tst	x9, x8
	b.ne	LBB0_10
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x20
	bl	_ANY_INTERFACE_CHOOSE
	cmp	x0, x23
	b.ne	LBB0_3
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x27, [x25, #80]
	mov	x0, x20
	bl	_findinterface
	cmp	x27, x0
	b.ne	LBB0_3
	b	LBB0_10
LBB0_9:
	cbz	x25, LBB0_12
LBB0_10:
	cbnz	x19, LBB0_19
; %bb.11:
	mov	x0, x20
	bl	_stoa
	mov	x19, x0
	b	LBB0_19
LBB0_12:
	cbz	x19, LBB0_15
; %bb.13:
	ldrsw	x1, [sp, #12]
	mov	w0, #1
	bl	_DPRINTF
	tbnz	w21, #31, LBB0_21
; %bb.14:
	ldr	w8, [sp, #12]
	cmp	w8, w21
	b.ge	LBB0_18
	b	LBB0_22
LBB0_15:
	mov	x0, x20
	bl	_stoa
	ldrsw	x1, [sp, #12]
	mov	w0, #1
	bl	_DPRINTF
	tbnz	w21, #31, LBB0_20
; %bb.16:
	ldr	w8, [sp, #12]
	cmp	w8, w21
	b.lt	LBB0_22
; %bb.17:
	mov	x0, x20
	bl	_stoa
LBB0_18:
	mov	w19, w21
LBB0_19:
	mov	w0, #2
	mov	x1, x19
	bl	_DPRINTF
	mov	x0, #0
	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	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_20:
	mov	x0, x20
	bl	_stoa
LBB0_21:
	sxtw	x1, w21
	mov	w0, #1
	bl	_DPRINTF
LBB0_22:
	ldr	w0, [x29, #16]
	cmp	x19, #0
	cset	w2, eq
	mov	x1, x20
	mov	x3, x19
	bl	_newpeer.cold.1
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.p2align	2                               ; -- Begin function newpeer.cold.1
_newpeer.cold.1:                        ; @newpeer.cold.1
	.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, x3
	mov	x20, x1
	mov	x21, x0
Lloh5:
	adrp	x22, _peer_free_count@GOTPAGE
Lloh6:
	ldr	x22, [x22, _peer_free_count@GOTPAGEOFF]
	ldr	x8, [x22]
	cbnz	x8, LBB1_2
; %bb.1:
	bl	_getmorepeermem
LBB1_2:
Lloh7:
	adrp	x8, _peer_free@GOTPAGE
Lloh8:
	ldr	x8, [x8, _peer_free@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
Lloh10:
	adrp	x8, _p_link@GOTPAGE
Lloh11:
	ldr	x8, [x8, _p_link@GOTPAGEOFF]
Lloh12:
	ldr	w2, [x8]
	mov	x0, #0
	bl	_UNLINK_HEAD_SLIST
	mov	w0, #0
	bl	_INSIST
	ldr	x8, [x22]
	sub	x8, x8, #1
	str	x8, [x22]
Lloh13:
	adrp	x8, _peer_associations@GOTPAGE
Lloh14:
	ldr	x8, [x8, _peer_associations@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
Lloh15:
	adrp	x8, _FLAG_PREEMPT@GOTPAGE
Lloh16:
	ldr	x8, [x8, _FLAG_PREEMPT@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB1_4
; %bb.3:
Lloh18:
	adrp	x8, _peer_preempt@GOTPAGE
Lloh19:
	ldr	x8, [x8, _peer_preempt@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
LBB1_4:
Lloh20:
	adrp	x8, _current_association_ID@GOTPAGE
Lloh21:
	ldr	x8, [x8, _current_association_ID@GOTPAGEOFF]
	ldr	x9, [x8]
	mov	w10, #8
	str	w9, [x10]
	adds	x9, x9, #1
	csinc	x9, x9, xzr, lo
	str	x9, [x8]
	ldr	w8, [x20]
	mov	w9, #72
	str	w8, [x9]
	mov	x0, x19
	bl	_estrdup
	brk	#0x1
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_MDF_POOL,8,3                   ; @MDF_POOL
	.comm	_MDF_BCLNT,8,3                  ; @MDF_BCLNT
	.comm	_peer_free_count,8,3            ; @peer_free_count
	.comm	_peer_free,4,2                  ; @peer_free
	.comm	_p_link,4,2                     ; @p_link
	.comm	_peer_associations,4,2          ; @peer_associations
	.comm	_FLAG_PREEMPT,4,2               ; @FLAG_PREEMPT
	.comm	_peer_preempt,4,2               ; @peer_preempt
	.comm	_current_association_ID,8,3     ; @current_association_ID
	.comm	_NTP_MINDPOLL,8,3               ; @NTP_MINDPOLL
	.comm	_NTP_MAXPOLL,4,2                ; @NTP_MAXPOLL
	.comm	_NTP_MAXDPOLL,8,3               ; @NTP_MAXDPOLL
	.comm	_NTP_MINPOLL,4,2                ; @NTP_MINPOLL
	.comm	_MDF_BCAST,8,3                  ; @MDF_BCAST
	.comm	_MDF_MCAST,8,3                  ; @MDF_MCAST
	.comm	_sys_precision,4,2              ; @sys_precision
	.comm	_MDF_ACAST,8,3                  ; @MDF_ACAST
	.comm	_mode_ntpdate,8,3               ; @mode_ntpdate
	.comm	_peer_ntpdate,4,2               ; @peer_ntpdate
	.comm	_current_time,8,3               ; @current_time
	.comm	_LOG_ERR,4,2                    ; @LOG_ERR
	.comm	_peer_hash,8,3                  ; @peer_hash
	.comm	_adr_link,4,2                   ; @adr_link
	.comm	_peer_hash_count,8,3            ; @peer_hash_count
	.comm	_NTP_HASH_MASK,4,2              ; @NTP_HASH_MASK
	.comm	_assoc_hash,8,3                 ; @assoc_hash
	.comm	_aid_link,4,2                   ; @aid_link
	.comm	_assoc_hash_count,8,3           ; @assoc_hash_count
	.comm	_peer_list,4,2                  ; @peer_list
	.comm	_PEVNT_MOBIL,4,2                ; @PEVNT_MOBIL
	.comm	_FLAG_SKEY,4,2                  ; @FLAG_SKEY
	.comm	_NTP_MAXKEY,8,3                 ; @NTP_MAXKEY
	.comm	_crypto_flags,4,2               ; @crypto_flags
.subsections_via_symbols
