	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_getnetnum                      ## -- Begin function getnetnum
	.p2align	4, 0x90
_getnetnum:                             ## @getnetnum
	.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	$56, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	$0, -32(%rbp)
	movq	-40(%rbp), %rax
	movq	%rax, 16(%rsp)
	movups	-56(%rbp), %xmm0
	movups	%xmm0, (%rsp)
	callq	_ZERO
	movq	_AI_CANONNAME@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -36(%rbp)
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_decodenetnum
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movl	$1, %ebx
	testq	%r14, %r14
	je	LBB0_10
## %bb.2:
	movq	%r15, %rdi
	callq	_SOCKLEN
	movq	_LENHOSTNAME@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	$0, (%rsp)
	movq	%r15, %rdi
	movl	%eax, %esi
	movq	%r14, %rdx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_getnameinfo
	jmp	LBB0_10
LBB0_3:
	leaq	L_.str(%rip), %rsi
	leaq	-56(%rbp), %rdx
	leaq	-32(%rbp), %rcx
	movq	%rbx, %rdi
	callq	_getaddrinfo
	testq	%rax, %rax
	je	LBB0_4
## %bb.9:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdx
	callq	_fprintf
	xorl	%ebx, %ebx
	jmp	LBB0_10
LBB0_4:
	movq	-32(%rbp), %rax
	xorl	%edi, %edi
	cmpl	$5, (%rax)
	setb	%dil
	callq	_INSIST
	movq	-32(%rbp), %rax
	movl	(%rax), %edx
	movl	16(%rax), %esi
	movq	%r15, %rdi
	callq	_memcpy
	testq	%r14, %r14
	je	LBB0_8
## %bb.5:
	movq	-32(%rbp), %rax
	movq	8(%rax), %rsi
	testq	%rsi, %rsi
	je	LBB0_7
## %bb.6:
	movq	_LENHOSTNAME@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_strlcpy
	jmp	LBB0_8
LBB0_7:
	movq	%r15, %rdi
	callq	_SOCKLEN
	movq	_LENHOSTNAME@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	$0, (%rsp)
	movq	%r15, %rdi
	movl	%eax, %esi
	movq	%r14, %rdx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_getnameinfo
LBB0_8:
	movq	-32(%rbp), %rdi
	callq	_freeaddrinfo
	movl	$1, %ebx
LBB0_10:
	movl	%ebx, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AI_CANONNAME,4,2               ## @AI_CANONNAME
	.comm	_LENHOSTNAME,4,2                ## @LENHOSTNAME
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ntp"

	.comm	_stderr,4,2                     ## @stderr
L_.str.1:                               ## @.str.1
	.asciz	"***Can't find host %s\n"

	.comm	_AI_ADDRCONFIG,4,2              ## @AI_ADDRCONFIG
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_getnetnum                      ; -- Begin function getnetnum
	.p2align	2
_getnetnum:                             ; @getnetnum
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	str	xzr, [sp]
	add	x0, sp, #8
	bl	_ZERO
Lloh0:
	adrp	x8, _AI_CANONNAME@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AI_CANONNAME@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #28]
	mov	x0, x21
	mov	x1, x20
	bl	_decodenetnum
	cbz	x0, LBB0_3
; %bb.1:
	cbz	x19, LBB0_10
; %bb.2:
	mov	x0, x20
	bl	_SOCKLEN
	mov	x1, x0
Lloh3:
	adrp	x8, _LENHOSTNAME@GOTPAGE
Lloh4:
	ldr	x8, [x8, _LENHOSTNAME@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x8]
	mov	x0, x20
	mov	x2, x19
	mov	x4, #0
	mov	w5, #0
	mov	w6, #0
	bl	_getnameinfo
	b	LBB0_10
LBB0_3:
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	add	x2, sp, #8
	mov	x3, sp
	mov	x0, x21
	bl	_getaddrinfo
	cbz	x0, LBB0_5
; %bb.4:
Lloh8:
	adrp	x8, _stderr@GOTPAGE
Lloh9:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, x21
	bl	_fprintf
	mov	w0, #0
	b	LBB0_11
LBB0_5:
	ldr	x8, [sp]
	ldr	w8, [x8]
	cmp	w8, #5
	cset	w0, lo
	bl	_INSIST
	ldr	x8, [sp]
	ldr	w1, [x8, #16]
	ldr	w2, [x8]
	mov	x0, x20
	bl	_memcpy
	cbz	x19, LBB0_9
; %bb.6:
	ldr	x8, [sp]
	ldr	x1, [x8, #8]
	cbz	x1, LBB0_8
; %bb.7:
Lloh13:
	adrp	x8, _LENHOSTNAME@GOTPAGE
Lloh14:
	ldr	x8, [x8, _LENHOSTNAME@GOTPAGEOFF]
Lloh15:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_strlcpy
	b	LBB0_9
LBB0_8:
	mov	x0, x20
	bl	_SOCKLEN
	mov	x1, x0
Lloh16:
	adrp	x8, _LENHOSTNAME@GOTPAGE
Lloh17:
	ldr	x8, [x8, _LENHOSTNAME@GOTPAGEOFF]
Lloh18:
	ldr	w3, [x8]
	mov	x0, x20
	mov	x2, x19
	mov	x4, #0
	mov	w5, #0
	mov	w6, #0
	bl	_getnameinfo
LBB0_9:
	ldr	x0, [sp]
	bl	_freeaddrinfo
LBB0_10:
	mov	w0, #1
LBB0_11:
	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
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_AI_CANONNAME,4,2               ; @AI_CANONNAME
	.comm	_LENHOSTNAME,4,2                ; @LENHOSTNAME
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ntp"

	.comm	_stderr,4,2                     ; @stderr
l_.str.1:                               ; @.str.1
	.asciz	"***Can't find host %s\n"

	.comm	_AI_ADDRCONFIG,4,2              ; @AI_ADDRCONFIG
.subsections_via_symbols
