	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function getnetnum
_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	%r12
	pushq	%rbx
	subq	$64, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r12
	movq	%rdi, %rbx
	movq	$0, -40(%rbp)
	movq	-48(%rbp), %rax
	movq	%rax, 16(%rsp)
	movups	-64(%rbp), %xmm0
	movups	%xmm0, (%rsp)
	callq	_ZERO
	movq	_AI_CANONNAME@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_decodenetnum
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movl	$1, %r15d
	testq	%r14, %r14
	je	LBB0_8
LBB0_2:
	movq	%r12, %rdi
	callq	_SOCKLEN
	movq	_LENHOSTNAME@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	$0, (%rsp)
	movq	%r12, %rdi
	movl	%eax, %esi
	movq	%r14, %rdx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_getnameinfo
	jmp	LBB0_8
LBB0_3:
	leaq	L_.str(%rip), %rsi
	leaq	-64(%rbp), %rdx
	leaq	-40(%rbp), %rcx
	movq	%rbx, %rdi
	callq	_getaddrinfo
	testq	%rax, %rax
	je	LBB0_4
## %bb.7:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdx
	callq	_fprintf
	xorl	%r15d, %r15d
	jmp	LBB0_8
LBB0_4:
	movq	-40(%rbp), %rax
	xorl	%edi, %edi
	cmpl	$5, (%rax)
	setb	%dil
	callq	_INSIST
	movq	-40(%rbp), %rax
	movl	(%rax), %edx
	movl	16(%rax), %esi
	movq	%r12, %rdi
	callq	_memcpy
	movl	$1, %r15d
	testq	%r14, %r14
	je	LBB0_8
## %bb.5:
	movq	-40(%rbp), %rax
	movq	8(%rax), %rsi
	testq	%rsi, %rsi
	je	LBB0_2
## %bb.6:
	movq	_LENHOSTNAME@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_strlcpy
LBB0_8:
	movl	%r15d, %eax
	addq	$64, %rsp
	popq	%rbx
	popq	%r12
	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
	.no_dead_strip	_getnetnum
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function getnetnum
_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_4
; %bb.1:
	cbz	x19, LBB0_3
LBB0_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
LBB0_3:
	mov	w0, #1
	b	LBB0_6
LBB0_4:
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_7
; %bb.5:
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
LBB0_6:
	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
LBB0_7:
	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_3
; %bb.8:
	ldr	x8, [sp]
	ldr	x1, [x8, #8]
	cbz	x1, LBB0_2
; %bb.9:
Lloh13:
	adrp	x8, _LENHOSTNAME@GOTPAGE
Lloh14:
	ldr	x8, [x8, _LENHOSTNAME@GOTPAGEOFF]
Lloh15:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_strlcpy
	b	LBB0_3
	.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
	.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
	.no_dead_strip	_getnetnum
.subsections_via_symbols
