	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function addserver
_addserver:                             ## @addserver
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	leaq	L_.str(%rip), %rsi
	leaq	-77(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$5, %edx
	callq	_strlcpy
	movq	-56(%rbp), %rax
	movq	%rax, 16(%rsp)
	movups	-72(%rbp), %xmm0
	movups	%xmm0, (%rsp)
	callq	_ZERO
	movq	_ai_fam_templ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -52(%rbp)
	movq	_SOCK_DGRAM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -56(%rbp)
	leaq	-72(%rbp), %rdx
	leaq	-48(%rbp), %rcx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_getaddrinfo
	testl	%eax, %eax
	je	LBB0_1
## %bb.3:
	movl	%eax, %ebx
	movq	_EAI_FAIL@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	_EAI_AGAIN@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movl	%ebx, %edi
	callq	_gai_strerror
	cmpl	%r13d, %ebx
	je	LBB0_16
## %bb.4:
	cmpl	%r12d, %ebx
	je	LBB0_16
## %bb.5:
	leaq	L_.str.3(%rip), %rsi
	movl	%r15d, %edi
	movq	%r14, %rdx
	movq	%rax, %rcx
	movl	%ebx, %r8d
	xorl	%eax, %eax
	callq	_fprintf
	movq	_LOG_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movl	%ebx, %edi
	callq	_gai_strerror
	leaq	L_.str.4(%rip), %rsi
	movl	%r15d, %edi
	movq	%r14, %rdx
	movq	%rax, %rcx
	movl	%ebx, %r8d
	xorl	%eax, %eax
	callq	_msyslog
	jmp	LBB0_15
LBB0_1:
	movq	-48(%rbp), %rbx
	testq	%rbx, %rbx
	je	LBB0_2
## %bb.6:
	leaq	-104(%rbp), %r14
	movq	_sys_numservers@GOTPCREL(%rip), %r12
	movq	_sys_servers@GOTPCREL(%rip), %r13
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	%r15, (%rax)
LBB0_12:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	8(%rbx), %rbx
	testq	%rbx, %rbx
	je	LBB0_13
LBB0_7:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_9 Depth 2
	movq	-88(%rbp), %rax
	movq	%rax, 16(%rsp)
	movups	-104(%rbp), %xmm0
	movups	%xmm0, (%rsp)
	callq	_ZERO
	xorl	%edi, %edi
	cmpl	$25, (%rbx)
	setb	%dil
	callq	_INSIST
	movl	(%rbx), %edx
	movl	4(%rbx), %esi
	movq	%r14, %rdi
	callq	_memcpy
	movq	%r14, %rdi
	callq	_is_reachable
	testq	%rax, %rax
	je	LBB0_12
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movl	$40, %edi
	callq	_emalloc_zero
	movq	%rax, %r15
	leaq	16(%rax), %rdi
	movl	(%rbx), %edx
	movl	4(%rbx), %esi
	callq	_memcpy
	movq	(%r12), %rax
	incq	%rax
	movq	%rax, (%r12)
	movq	%rax, 8(%r15)
	movq	(%r13), %rcx
	movq	%r13, %rax
	testq	%rcx, %rcx
	je	LBB0_11
	.p2align	4, 0x90
LBB0_9:                                 ##   Parent Loop BB0_7 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%rcx, %rax
	movq	(%rcx), %rcx
	testq	%rcx, %rcx
	jne	LBB0_9
	jmp	LBB0_11
LBB0_13:
	movq	-48(%rbp), %rdi
	jmp	LBB0_14
LBB0_2:
	xorl	%edi, %edi
LBB0_14:
	callq	_freeaddrinfo
LBB0_15:
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_16:
	leaq	L_.str.1(%rip), %rsi
	movl	%r15d, %edi
	movq	%rax, %rdx
	movl	%ebx, %ecx
	xorl	%eax, %eax
	callq	_fprintf
	movq	_LOG_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movl	%ebx, %edi
	callq	_gai_strerror
	leaq	L_.str.2(%rip), %rsi
	movl	%r14d, %edi
	movq	%rax, %rdx
	movl	%ebx, %ecx
	xorl	%eax, %eax
	callq	_msyslog
	movl	$1, %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ntp"

	.comm	_ai_fam_templ,4,2               ## @ai_fam_templ
	.comm	_SOCK_DGRAM,4,2                 ## @SOCK_DGRAM
	.comm	_EAI_FAIL,4,2                   ## @EAI_FAIL
	.comm	_EAI_AGAIN,4,2                  ## @EAI_AGAIN
	.comm	_stderr,4,2                     ## @stderr
L_.str.1:                               ## @.str.1
	.asciz	"Exiting, name server cannot be used: %s (%d)"

	.comm	_LOG_ERR,4,2                    ## @LOG_ERR
L_.str.2:                               ## @.str.2
	.asciz	"name server cannot be used: %s (%d)"

L_.str.3:                               ## @.str.3
	.asciz	"Error resolving %s: %s (%d)\n"

L_.str.4:                               ## @.str.4
	.asciz	"Can't find host %s: %s (%d)"

	.comm	_sys_numservers,8,3             ## @sys_numservers
	.comm	_sys_servers,8,3                ## @sys_servers
	.comm	_debug,8,3                      ## @debug
	.no_dead_strip	_addserver
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function addserver
_addserver:                             ; @addserver
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x24, x23, [sp, #112]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	add	x0, sp, #75
	mov	w2, #5
	bl	_strlcpy
	ldr	q0, [sp, #80]
	str	q0, [sp, #48]
	ldr	x8, [sp, #96]
	str	x8, [sp, #64]
	add	x0, sp, #48
	bl	_ZERO
Lloh2:
	adrp	x8, _ai_fam_templ@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ai_fam_templ@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x9, _SOCK_DGRAM@GOTPAGE
Lloh6:
	ldr	x9, [x9, _SOCK_DGRAM@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	stp	w9, w8, [sp, #96]
	add	x1, sp, #75
	add	x2, sp, #80
	sub	x3, x29, #56
	mov	x0, x19
	bl	_getaddrinfo
	cbz	w0, LBB0_3
; %bb.1:
	mov	x20, x0
Lloh8:
	adrp	x8, _EAI_FAIL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EAI_FAIL@GOTPAGEOFF]
Lloh10:
	ldr	w22, [x8]
Lloh11:
	adrp	x8, _EAI_AGAIN@GOTPAGE
Lloh12:
	ldr	x8, [x8, _EAI_AGAIN@GOTPAGEOFF]
Lloh13:
	ldr	w23, [x8]
Lloh14:
	adrp	x8, _stderr@GOTPAGE
Lloh15:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh16:
	ldr	w21, [x8]
	bl	_gai_strerror
	mov	x2, x0
	cmp	w20, w22
	ccmp	w20, w23, #4, ne
	b.eq	LBB0_15
; %bb.2:
	stp	x2, x20, [sp]
Lloh17:
	adrp	x1, l_.str.3@PAGE
Lloh18:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x21
	mov	x2, x19
	bl	_fprintf
Lloh19:
	adrp	x8, _LOG_ERR@GOTPAGE
Lloh20:
	ldr	x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh21:
	ldr	w21, [x8]
	mov	x0, x20
	bl	_gai_strerror
	stp	x0, x20, [sp]
Lloh22:
	adrp	x1, l_.str.4@PAGE
Lloh23:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x21
	mov	x2, x19
	bl	_msyslog
	b	LBB0_14
LBB0_3:
	ldur	x20, [x29, #-56]
	cbz	x20, LBB0_12
; %bb.4:
Lloh24:
	adrp	x21, _sys_numservers@GOTPAGE
Lloh25:
	ldr	x21, [x21, _sys_numservers@GOTPAGEOFF]
Lloh26:
	adrp	x22, _sys_servers@GOTPAGE
Lloh27:
	ldr	x22, [x22, _sys_servers@GOTPAGEOFF]
	b	LBB0_8
LBB0_5:                                 ;   in Loop: Header=BB0_8 Depth=1
	mov	x8, x22
LBB0_6:                                 ;   in Loop: Header=BB0_8 Depth=1
	str	x19, [x8]
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	ldr	x20, [x20, #8]
	cbz	x20, LBB0_11
LBB0_8:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_10 Depth 2
	ldr	q0, [sp, #48]
	str	q0, [sp, #16]
	ldr	x8, [sp, #64]
	str	x8, [sp, #32]
	add	x0, sp, #16
	bl	_ZERO
	ldr	w8, [x20]
	cmp	w8, #25
	cset	w0, lo
	bl	_INSIST
	ldp	w2, w1, [x20]
	add	x0, sp, #48
	bl	_memcpy
	add	x0, sp, #48
	bl	_is_reachable
	cbz	x0, LBB0_7
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	w0, #40
	bl	_emalloc_zero
	mov	x19, x0
	add	x0, x0, #16
	ldp	w2, w1, [x20]
	bl	_memcpy
	ldr	x8, [x21]
	add	x8, x8, #1
	str	x8, [x21]
	str	x8, [x19, #8]
	ldr	x9, [x22]
	cbz	x9, LBB0_5
LBB0_10:                                ;   Parent Loop BB0_8 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x8, x9
	ldr	x9, [x9]
	cbnz	x9, LBB0_10
	b	LBB0_6
LBB0_11:
	ldur	x0, [x29, #-56]
	b	LBB0_13
LBB0_12:
	mov	x0, #0
LBB0_13:
	bl	_freeaddrinfo
LBB0_14:
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
LBB0_15:
	mov	x22, x20
	str	x22, [sp]
Lloh28:
	adrp	x1, l_.str.1@PAGE
Lloh29:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x21
	bl	_fprintf
Lloh30:
	adrp	x8, _LOG_ERR@GOTPAGE
Lloh31:
	ldr	x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh32:
	ldr	w19, [x8]
	mov	x0, x20
	bl	_gai_strerror
	mov	x2, x0
	str	x22, [sp]
Lloh33:
	adrp	x1, l_.str.2@PAGE
Lloh34:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_msyslog
	mov	w0, #1
	bl	_exit
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpAdd	Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ntp"

	.comm	_ai_fam_templ,4,2               ; @ai_fam_templ
	.comm	_SOCK_DGRAM,4,2                 ; @SOCK_DGRAM
	.comm	_EAI_FAIL,4,2                   ; @EAI_FAIL
	.comm	_EAI_AGAIN,4,2                  ; @EAI_AGAIN
	.comm	_stderr,4,2                     ; @stderr
l_.str.1:                               ; @.str.1
	.asciz	"Exiting, name server cannot be used: %s (%d)"

	.comm	_LOG_ERR,4,2                    ; @LOG_ERR
l_.str.2:                               ; @.str.2
	.asciz	"name server cannot be used: %s (%d)"

l_.str.3:                               ; @.str.3
	.asciz	"Error resolving %s: %s (%d)\n"

l_.str.4:                               ; @.str.4
	.asciz	"Can't find host %s: %s (%d)"

	.comm	_sys_numservers,8,3             ; @sys_numservers
	.comm	_sys_servers,8,3                ; @sys_servers
	.comm	_debug,8,3                      ; @debug
	.no_dead_strip	_addserver
.subsections_via_symbols
