	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ntpq_read_sysvars              ## -- Begin function ntpq_read_sysvars
	.p2align	4, 0x90
_ntpq_read_sysvars:                     ## @ntpq_read_sysvars
	.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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	_CTL_OP_READVAR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-40(%rbp), %rax
	leaq	-32(%rbp), %r10
	xorl	%ebx, %ebx
	leaq	-44(%rbp), %r9
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	pushq	%rax
	pushq	%r10
	callq	_doquery
	addq	$16, %rsp
	testl	%eax, %eax
	jne	LBB0_6
## %bb.1:
	movq	-32(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.5:
	movq	%r15, %rsi
	callq	_min
	movq	%rax, -32(%rbp)
	movq	-40(%rbp), %rsi
	movq	%r14, %rdi
	movq	%rax, %rdx
	callq	_memcpy
	movq	-32(%rbp), %rbx
	jmp	LBB0_6
LBB0_2:
	movq	_numhosts@GOTPCREL(%rip), %rax
	cmpl	$2, (%rax)
	jl	LBB0_4
## %bb.3:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_currenthost@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
LBB0_4:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_fprintf
LBB0_6:
	movq	%rbx, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CTL_OP_READVAR,4,2             ## @CTL_OP_READVAR
	.comm	_numhosts,4,2                   ## @numhosts
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"server=%s "

	.comm	_currenthost,8,3                ## @currenthost
L_.str.1:                               ## @.str.1
	.asciz	"***No sysvar information returned\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ntpq_read_sysvars              ; -- Begin function ntpq_read_sysvars
	.p2align	2
_ntpq_read_sysvars:                     ; @ntpq_read_sysvars
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	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
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _CTL_OP_READVAR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CTL_OP_READVAR@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	add	x5, sp, #12
	add	x6, sp, #16
	add	x7, sp, #24
	mov	w1, #0
	mov	w2, #0
	mov	w3, #0
	mov	x4, #0
	bl	_doquery
	mov	x8, x0
	mov	x0, #0
	cbnz	w8, LBB0_6
; %bb.1:
	ldr	x0, [sp, #16]
	cbz	x0, LBB0_3
; %bb.2:
	mov	x1, x20
	bl	_min
	mov	x2, x0
	str	x0, [sp, #16]
	ldr	x1, [sp, #24]
	mov	x0, x19
	bl	_memcpy
	ldr	x0, [sp, #16]
	b	LBB0_6
LBB0_3:
Lloh3:
	adrp	x8, _numhosts@GOTPAGE
Lloh4:
	ldr	x8, [x8, _numhosts@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x19, _stderr@GOTPAGE
Lloh7:
	ldr	x19, [x19, _stderr@GOTPAGEOFF]
	cmp	w8, #2
	b.lt	LBB0_5
; %bb.4:
	ldr	w0, [x19]
Lloh8:
	adrp	x8, _currenthost@GOTPAGE
Lloh9:
	ldr	x8, [x8, _currenthost@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	str	x8, [sp]
Lloh11:
	adrp	x1, l_.str@PAGE
Lloh12:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fprintf
LBB0_5:
	ldr	w0, [x19]
Lloh13:
	adrp	x1, l_.str.1@PAGE
Lloh14:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_fprintf
	mov	x0, #0
LBB0_6:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_CTL_OP_READVAR,4,2             ; @CTL_OP_READVAR
	.comm	_numhosts,4,2                   ; @numhosts
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"server=%s "

	.comm	_currenthost,8,3                ; @currenthost
l_.str.1:                               ; @.str.1
	.asciz	"***No sysvar information returned\n"

.subsections_via_symbols
