	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_nodes
_get_nodes:                             ## @get_nodes
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r12
	movq	$0, -56(%rbp)
	leaq	-56(%rbp), %rax
	movq	%rax, -64(%rbp)
	movq	_PF_UNSPEC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	$0, -44(%rbp)
	movq	_EAI_NONAME@GOTPCREL(%rip), %rbx
	movl	(%rbx), %r13d
	testq	%rsi, %rsi
	je	LBB0_1
## %bb.2:
	movl	(%rsi), %ebx
	movl	4(%rsi), %esi
	movl	%esi, -44(%rbp)
	movq	_PF_INET@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	cmpl	%esi, %ebx
	je	LBB0_4
## %bb.3:
	cmpl	%eax, %ebx
	jne	LBB0_6
	jmp	LBB0_4
LBB0_1:
	movq	_PF_INET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
LBB0_4:
	movl	%edx, %r15d
	movl	%ecx, %ebx
	movl	%r8d, -48(%rbp)                 ## 4-byte Spill
	leaq	-68(%rbp), %rcx
	xorl	%edx, %edx
	callq	_getipnodebyname
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	%rax, %r14
	movq	_const_v4@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	leaq	-44(%rbp), %rax
	movq	%rax, (%rsp)
	leaq	-64(%rbp), %rcx
	movl	%r15d, %edi
	movl	%ebx, %esi
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	movq	%r14, %r9
	callq	_add_hostent
	movl	%eax, %r13d
	movq	%r14, %rdi
	callq	_freehostent
LBB0_6:
	movq	-56(%rbp), %rax
	movq	%rax, (%r12)
	movl	%r13d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PF_UNSPEC,4,2                  ## @PF_UNSPEC
	.comm	_EAI_NONAME,4,2                 ## @EAI_NONAME
	.comm	_PF_INET,4,2                    ## @PF_INET
	.comm	_const_v4,4,2                   ## @const_v4
	.comm	_PF_INET6,4,2                   ## @PF_INET6
	.comm	_const_v6,4,2                   ## @const_v6
	.no_dead_strip	_get_nodes
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_nodes
_get_nodes:                             ; @get_nodes
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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, x5
	mov	x20, x4
	mov	x21, x3
	mov	x22, x2
	str	xzr, [sp, #24]
	add	x8, sp, #24
Lloh0:
	adrp	x9, _PF_UNSPEC@GOTPAGE
Lloh1:
	ldr	x9, [x9, _PF_UNSPEC@GOTPAGEOFF]
	str	x8, [sp, #16]
Lloh2:
	ldr	w8, [x9]
	str	wzr, [sp, #12]
Lloh3:
	adrp	x9, _EAI_NONAME@GOTPAGE
Lloh4:
	ldr	x9, [x9, _EAI_NONAME@GOTPAGEOFF]
Lloh5:
	ldr	w23, [x9]
	cbz	x1, LBB0_2
; %bb.1:
	ldp	w9, w10, [x1]
	str	w10, [sp, #12]
Lloh6:
	adrp	x10, _PF_INET@GOTPAGE
Lloh7:
	ldr	x10, [x10, _PF_INET@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x10]
	cmp	w9, w1
	ccmp	w9, w8, #4, ne
	b.eq	LBB0_3
	b	LBB0_5
LBB0_2:
Lloh9:
	adrp	x8, _PF_INET@GOTPAGE
Lloh10:
	ldr	x8, [x8, _PF_INET@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
LBB0_3:
	add	x3, sp, #8
	mov	w2, #0
	bl	_getipnodebyname
	cbz	x0, LBB0_5
; %bb.4:
	mov	x24, x0
Lloh12:
	adrp	x8, _const_v4@GOTPAGE
Lloh13:
	ldr	x8, [x8, _const_v4@GOTPAGEOFF]
Lloh14:
	ldr	w4, [x8]
	add	x3, sp, #16
	add	x6, sp, #12
	mov	x0, x22
	mov	x1, x21
	mov	x2, x20
	mov	x5, x24
	bl	_add_hostent
	mov	x23, x0
	mov	x0, x24
	bl	_freehostent
LBB0_5:
	ldr	x8, [sp, #24]
	str	x8, [x19]
	mov	x0, x23
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_PF_UNSPEC,4,2                  ; @PF_UNSPEC
	.comm	_EAI_NONAME,4,2                 ; @EAI_NONAME
	.comm	_PF_INET,4,2                    ; @PF_INET
	.comm	_const_v4,4,2                   ; @const_v4
	.comm	_PF_INET6,4,2                   ; @PF_INET6
	.comm	_const_v6,4,2                   ; @const_v6
	.no_dead_strip	_get_nodes
.subsections_via_symbols
