	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function findexistingpeer_addr
_findexistingpeer_addr:                 ## @findexistingpeer_addr
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r15
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movl	%edx, %r12d
	movq	%rsi, %rbx
	movq	%rdi, %r13
	callq	_sptoa
	testq	%rbx, %rbx
	je	LBB0_1
## %bb.2:
	leaq	16(%rbx), %rdi
	callq	_sptoa
	movl	$2, %edi
	movq	%r15, %rsi
	callq	_DPRINTF
	addq	$8, %rbx
	jmp	LBB0_3
LBB0_1:
	movl	$2, %edi
	movq	%r15, %rsi
	callq	_DPRINTF
	movq	_peer_hash@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	%r13, %rdi
	callq	_NTP_HASH_ADDR
	leaq	(%rbx,%rax,8), %rbx
LBB0_3:
	movq	(%rbx), %rbx
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_ADDR_PORT_EQ
	testq	%rax, %rax
	jne	LBB0_13
LBB0_14:                                ##   in Loop: Header=BB0_4 Depth=1
	movl	$3, %edi
	leaq	L_.str.4(%rip), %rsi
	callq	_DPRINTF
	movq	8(%rbx), %rbx
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	testq	%rbx, %rbx
	je	LBB0_15
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%r13, %rdi
	callq	_sptoa
	leaq	16(%rbx), %r14
	movq	%r14, %rdi
	callq	_sptoa
	movslq	4(%rbx), %rsi
	movl	$3, %edi
	callq	_DPRINTF
	testq	%r15, %r15
	je	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_SOCK_EQ
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	incl	(%r15)
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=1
	cmpl	$-1, %r12d
	je	LBB0_12
## %bb.9:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpl	%r12d, (%rbx)
	je	LBB0_12
## %bb.10:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	_MDF_BCLNT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, -44(%rbp)                 ## 4-byte Folded Reload
	je	LBB0_14
## %bb.11:                              ##   in Loop: Header=BB0_4 Depth=1
	andl	4(%rbx), %eax
	jne	LBB0_12
	jmp	LBB0_14
LBB0_15:
	xorl	%ebx, %ebx
	jmp	LBB0_16
LBB0_13:
	leaq	L_.str.3(%rip), %rsi
	movl	$3, %edi
	callq	_DPRINTF
LBB0_16:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_peer_hash,8,3                  ## @peer_hash
	.comm	_MDF_BCLNT,4,2                  ## @MDF_BCLNT
	.section	__TEXT,__cstring,cstring_literals
L_.str.3:                               ## @.str.3
	.asciz	"found.\n"

L_.str.4:                               ## @.str.4
	.asciz	"\n"

	.no_dead_strip	_findexistingpeer_addr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function findexistingpeer_addr
_findexistingpeer_addr:                 ; @findexistingpeer_addr
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x4
	mov	x20, x3
	mov	x21, x2
	mov	x23, x1
	mov	x22, x0
	bl	_sptoa
	cbz	x23, LBB0_2
; %bb.1:
	add	x0, x23, #16
	bl	_sptoa
	mov	w0, #2
	mov	x1, x19
	bl	_DPRINTF
	add	x8, x23, #8
	ldr	x23, [x8]
	cbnz	x23, LBB0_3
	b	LBB0_13
LBB0_2:
	mov	w0, #2
	mov	x1, x19
	bl	_DPRINTF
Lloh0:
	adrp	x8, _peer_hash@GOTPAGE
Lloh1:
	ldr	x8, [x8, _peer_hash@GOTPAGEOFF]
Lloh2:
	ldr	x23, [x8]
	mov	x0, x22
	bl	_NTP_HASH_ADDR
	add	x8, x23, x0, lsl #3
	ldr	x23, [x8]
	cbz	x23, LBB0_13
LBB0_3:
Lloh3:
	adrp	x24, l_.str.4@PAGE
Lloh4:
	add	x24, x24, l_.str.4@PAGEOFF
Lloh5:
	adrp	x26, _MDF_BCLNT@GOTPAGE
Lloh6:
	ldr	x26, [x26, _MDF_BCLNT@GOTPAGEOFF]
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x22
	mov	x1, x25
	bl	_ADDR_PORT_EQ
	cbnz	x0, LBB0_12
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	w0, #3
	mov	x1, x24
	bl	_DPRINTF
	ldr	x23, [x23, #8]
	cbz	x23, LBB0_13
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x22
	bl	_sptoa
	add	x25, x23, #16
	mov	x0, x25
	bl	_sptoa
	ldrsw	x1, [x23, #4]
	mov	w0, #3
	bl	_DPRINTF
	cbz	x19, LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x22
	mov	x1, x25
	bl	_SOCK_EQ
	cbz	x0, LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [x19]
	add	w8, w8, #1
	str	w8, [x19]
LBB0_9:                                 ;   in Loop: Header=BB0_6 Depth=1
	cmn	w21, #1
	b.eq	LBB0_4
; %bb.10:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [x23]
	cmp	w8, w21
	b.eq	LBB0_4
; %bb.11:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [x26]
	ldr	w9, [x23, #4]
	and	w9, w9, w8
	and	w8, w8, w20
	cmp	w8, #0
	ccmp	w9, #0, #4, ne
	b.ne	LBB0_4
	b	LBB0_5
LBB0_12:
Lloh7:
	adrp	x1, l_.str.3@PAGE
Lloh8:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	w0, #3
	bl	_DPRINTF
LBB0_13:
	mov	x0, x23
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_peer_hash,8,3                  ; @peer_hash
	.comm	_MDF_BCLNT,4,2                  ; @MDF_BCLNT
	.section	__TEXT,__cstring,cstring_literals
l_.str.3:                               ; @.str.3
	.asciz	"found.\n"

l_.str.4:                               ; @.str.4
	.asciz	"\n"

	.no_dead_strip	_findexistingpeer_addr
.subsections_via_symbols
