	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function findserver
_findserver:                            ## @findserver
	.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	%rdi, %r14
	callq	_SRCPORT
	movq	%rax, %rcx
	movq	_NTP_PORT@GOTPCREL(%rip), %rdx
	xorl	%eax, %eax
	cmpq	(%rdx), %rcx
	jne	LBB0_15
## %bb.1:
	movq	_sys_servers@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r12
	testq	%r12, %r12
	je	LBB0_15
## %bb.2:
	xorl	%r13d, %r13d
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	8(%r12), %r12
	testq	%r12, %r12
	je	LBB0_8
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	leaq	16(%r12), %rbx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_SOCK_EQ
	testq	%rax, %rax
	jne	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r14, %rdi
	callq	_AF
	movq	%rax, %r15
	movq	%rbx, %rdi
	callq	_AF
	cmpq	%rax, %r15
	jne	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, %rdi
	callq	_IS_MCAST
	testq	%rax, %rax
	cmovneq	%r12, %r13
	jmp	LBB0_7
LBB0_4:
	movq	%r12, %rax
	jmp	LBB0_15
LBB0_8:
	testq	%r13, %r13
	je	LBB0_14
## %bb.9:
	cmpq	$0, (%r13)
	je	LBB0_11
## %bb.10:
	movq	$0, (%r13)
	movq	_complete_servers@GOTPCREL(%rip), %rax
	incl	(%rax)
LBB0_11:
	movl	$24, %edi
	callq	_emalloc_zero
	movl	(%r14), %ecx
	movl	%ecx, 16(%rax)
	movq	_sys_numservers@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdx
	incq	%rdx
	movq	%rdx, (%rcx)
	movq	%rdx, (%rax)
	movq	_sys_servers@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movq	%rcx, %rdx
	movq	8(%rcx), %rcx
	testq	%rcx, %rcx
	jne	LBB0_12
## %bb.13:
	movq	%rax, 8(%rdx)
	movq	%rax, %rdi
	callq	_transmit
LBB0_14:
	xorl	%eax, %eax
LBB0_15:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NTP_PORT,8,3                   ## @NTP_PORT
	.comm	_sys_servers,8,3                ## @sys_servers
	.comm	_complete_servers,4,2           ## @complete_servers
	.comm	_sys_numservers,8,3             ## @sys_numservers
	.no_dead_strip	_findserver
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function findserver
_findserver:                            ; @findserver
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x0
	bl	_SRCPORT
Lloh0:
	adrp	x8, _NTP_PORT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NTP_PORT@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x23, _sys_servers@GOTPAGE
Lloh4:
	ldr	x23, [x23, _sys_servers@GOTPAGEOFF]
	ldr	x20, [x23]
	cmp	x0, x8
	ccmp	x20, #0, #4, eq
	b.eq	LBB0_12
; %bb.1:
	mov	x24, #0
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x20, [x20, #8]
	cbz	x20, LBB0_6
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	add	x21, x20, #16
	mov	x0, x19
	mov	x1, x21
	bl	_SOCK_EQ
	cbnz	x0, LBB0_13
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x19
	bl	_AF
	mov	x22, x0
	mov	x0, x21
	bl	_AF
	cmp	x22, x0
	b.ne	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x21
	bl	_IS_MCAST
	cmp	x0, #0
	csel	x24, x24, x20, eq
	b	LBB0_2
LBB0_6:
	cbz	x24, LBB0_12
; %bb.7:
	ldr	x8, [x24]
	cbz	x8, LBB0_9
; %bb.8:
	str	xzr, [x24]
Lloh5:
	adrp	x8, _complete_servers@GOTPAGE
Lloh6:
	ldr	x8, [x8, _complete_servers@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
LBB0_9:
	mov	w0, #24
	bl	_emalloc_zero
	ldr	w8, [x19]
Lloh7:
	adrp	x9, _sys_numservers@GOTPAGE
Lloh8:
	ldr	x9, [x9, _sys_numservers@GOTPAGEOFF]
	str	w8, [x0, #16]
	ldr	x8, [x9]
	add	x8, x8, #1
	str	x8, [x9]
	str	x8, [x0]
	ldr	x8, [x23]
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	mov	x9, x8
	ldr	x8, [x8, #8]
	cbnz	x8, LBB0_10
; %bb.11:
	str	x0, [x9, #8]
	bl	_transmit
LBB0_12:
	mov	x20, #0
LBB0_13:
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_NTP_PORT,8,3                   ; @NTP_PORT
	.comm	_sys_servers,8,3                ; @sys_servers
	.comm	_complete_servers,4,2           ; @complete_servers
	.comm	_sys_numservers,8,3             ; @sys_numservers
	.no_dead_strip	_findserver
.subsections_via_symbols
