	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ntpq_get_assoc_clocktype       ## -- Begin function ntpq_get_assoc_clocktype
	.p2align	4, 0x90
_ntpq_get_assoc_clocktype:              ## @ntpq_get_assoc_clocktype
	.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
	movl	%edi, %ebx
	movq	%rsp, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_LENHOSTNAME@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	%r12, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -64(%rbp)                 ## 8-byte Spill
	movq	_NTPQ_BUFLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	%r14, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r13
	movl	$-1, %eax
	testl	%ebx, %ebx
	js	LBB0_10
## %bb.1:
	movq	_numassoc@GOTPCREL(%rip), %rcx
	cmpl	%ebx, (%rcx)
	jle	LBB0_10
## %bb.2:
	movq	_assoc_cache@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	%ebx, %ecx
	movq	(%rax,%rcx,8), %rdi
	movq	_peervar_assoc@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdi
	jne	LBB0_6
## %bb.3:
	leaq	L_.str(%rip), %rdi
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rsi
	movl	%r12d, %edx
	callq	_ntpq_get_peervar
	testl	%eax, %eax
	jne	LBB0_4
	jmp	LBB0_9
LBB0_6:
	movq	%r13, %rsi
	movl	%r14d, %edx
	callq	_ntpq_read_assoc_peervars
	testl	%eax, %eax
	jle	LBB0_9
## %bb.7:
	leaq	L_.str(%rip), %rdx
	movq	%r13, %rdi
	movl	%eax, %esi
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rcx
	movl	%r12d, %r8d
	callq	_ntpq_getvar
	testl	%eax, %eax
	je	LBB0_9
LBB0_4:
	leaq	-52(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_decodenetnum
	testq	%rax, %rax
	movl	$-1, %eax
	je	LBB0_10
## %bb.5:
	leaq	-52(%rbp), %rdi
	callq	_ntpq_decodeaddrtype
	jmp	LBB0_10
LBB0_9:
	movl	$-1, %eax
LBB0_10:
	movq	%r15, %rsp
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_12
## %bb.11:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_LENHOSTNAME,4,2                ## @LENHOSTNAME
	.comm	_NTPQ_BUFLEN,4,2                ## @NTPQ_BUFLEN
	.comm	_numassoc,4,2                   ## @numassoc
	.comm	_assoc_cache,8,3                ## @assoc_cache
	.comm	_peervar_assoc,8,3              ## @peervar_assoc
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"dstadr"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ntpq_get_assoc_clocktype       ; -- Begin function ntpq_get_assoc_clocktype
	.p2align	2
_ntpq_get_assoc_clocktype:              ; @ntpq_get_assoc_clocktype
	.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
	sub	sp, sp, #16
	mov	x22, sp
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
Lloh3:
	adrp	x8, _LENHOSTNAME@GOTPAGE
Lloh4:
	ldr	x8, [x8, _LENHOSTNAME@GOTPAGEOFF]
Lloh5:
	ldr	w20, [x8]
	mov	x9, x20
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x20, #15
	and	x9, x9, #0x1fffffff0
	sub	x19, x8, x9
	mov	sp, x19
Lloh8:
	adrp	x8, _NTPQ_BUFLEN@GOTPAGE
Lloh9:
	ldr	x8, [x8, _NTPQ_BUFLEN@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	mov	x9, x2
Lloh11:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh12:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x2, #15
	and	x9, x9, #0x1fffffff0
	sub	x21, x8, x9
	mov	sp, x21
	mov	w8, #-1
	tbnz	w0, #31, LBB0_9
; %bb.1:
Lloh13:
	adrp	x9, _numassoc@GOTPAGE
Lloh14:
	ldr	x9, [x9, _numassoc@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	cmp	w9, w0
	b.le	LBB0_9
; %bb.2:
Lloh16:
	adrp	x8, _assoc_cache@GOTPAGE
Lloh17:
	ldr	x8, [x8, _assoc_cache@GOTPAGEOFF]
Lloh18:
	ldr	x8, [x8]
	ldr	x0, [x8, w0, uxtw #3]
Lloh19:
	adrp	x8, _peervar_assoc@GOTPAGE
Lloh20:
	ldr	x8, [x8, _peervar_assoc@GOTPAGEOFF]
Lloh21:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_4
; %bb.3:
Lloh22:
	adrp	x0, l_.str@PAGE
Lloh23:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	mov	x2, x20
	bl	_ntpq_get_peervar
	cbnz	w0, LBB0_6
	b	LBB0_8
LBB0_4:
	mov	x1, x21
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_ntpq_read_assoc_peervars
	cmp	w0, #1
	b.lt	LBB0_8
; %bb.5:
	mov	x1, x0
Lloh24:
	adrp	x2, l_.str@PAGE
Lloh25:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x21
	mov	x3, x19
	mov	x4, x20
	bl	_ntpq_getvar
	cbz	w0, LBB0_8
LBB0_6:
	sub	x1, x29, #44
	mov	x0, x19
	bl	_decodenetnum
	cbz	x0, LBB0_8
; %bb.7:
	sub	x0, x29, #44
	bl	_ntpq_decodeaddrtype
	mov	x8, x0
	b	LBB0_9
LBB0_8:
	mov	w8, #-1
LBB0_9:
	mov	sp, x22
	ldur	x9, [x29, #-40]
Lloh26:
	adrp	x10, ___stack_chk_guard@GOTPAGE
Lloh27:
	ldr	x10, [x10, ___stack_chk_guard@GOTPAGEOFF]
Lloh28:
	ldr	x10, [x10]
	cmp	x10, x9
	b.ne	LBB0_11
; %bb.10:
	mov	x0, x8
	sub	sp, x29, #32
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_11:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.comm	_LENHOSTNAME,4,2                ; @LENHOSTNAME
	.comm	_NTPQ_BUFLEN,4,2                ; @NTPQ_BUFLEN
	.comm	_numassoc,4,2                   ; @numassoc
	.comm	_assoc_cache,8,3                ; @assoc_cache
	.comm	_peervar_assoc,8,3              ; @peervar_assoc
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"dstadr"

.subsections_via_symbols
