	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function getnetent_p
_getnetent_p:                           ## @getnetent_p
	.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	%rsi, %r15
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_BUFSIZ@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	incl	%r13d
	movq	%r13, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rbx
	movq	16(%r15), %rdx
	testq	%rdx, %rdx
	jne	LBB0_2
## %bb.1:
	movq	__PATH_NETWORKS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_fopen
	movq	%rax, %rdx
	movq	%rax, 16(%r15)
	testq	%rax, %rax
	je	LBB0_12
LBB0_2:
	movq	%rbx, %rdi
	movl	%r13d, %esi
	callq	_fgets
	movq	%rax, %r14
	movl	$-1, %eax
	testq	%r14, %r14
	je	LBB0_34
## %bb.3:
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_6 Depth=1
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %r12
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%r12, (%rax)
	movq	%r14, %rdi
	leaq	L_.str.2(%rip), %rsi
	callq	_strpbrk
	testq	%rax, %rax
	jne	LBB0_10
LBB0_5:                                 ##   in Loop: Header=BB0_6 Depth=1
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	movq	16(%r15), %rdx
	movq	%rbx, %rdi
	movl	%r13d, %esi
	callq	_fgets
	movq	%rax, %r14
	testq	%rax, %rax
	je	LBB0_12
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	cmpb	$35, (%r14)
	je	LBB0_5
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	%r14, %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_strpbrk
	testq	%rax, %rax
	je	LBB0_4
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	movb	$0, (%rax)
	jmp	LBB0_4
LBB0_10:
	movq	%rax, %r15
	movq	%r12, -72(%rbp)                 ## 8-byte Spill
	movb	$0, (%rax)
	movq	%r14, %rdi
	callq	_strlen
	cmpl	$8, %eax
	jl	LBB0_13
## %bb.11:
	xorl	%eax, %eax
	callq	___res_state
	movq	_NO_RECOVERY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	callq	_RES_SET_H_ERRNO
LBB0_12:
	movl	$-1, %eax
LBB0_34:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_36
## %bb.35:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	movl	%eax, %r13d
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	leaq	8(%rdi), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	incl	%r13d
	movq	%r14, %rsi
	movl	$8, %edx
	callq	_strlcpy
	.p2align	4, 0x90
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	incq	%r15
	movzbl	(%r15), %eax
	cmpb	$32, %al
	je	LBB0_14
## %bb.15:                              ##   in Loop: Header=BB0_14 Depth=1
	cmpb	$9, %al
	je	LBB0_14
## %bb.16:
	leaq	L_.str.2(%rip), %rsi
	movq	%r15, %rdi
	callq	_strpbrk
	testq	%rax, %rax
	je	LBB0_18
## %bb.17:
	movq	%rax, %r12
	incq	%r12
	movb	$0, (%rax)
	jmp	LBB0_19
LBB0_18:
	xorl	%r12d, %r12d
LBB0_19:
	movq	%r15, %rdi
	callq	_inet_network
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movl	%eax, 20(%rdx)
	movq	_AF_INET@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rdx)
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	8(%rcx), %rdi
	movq	%rdi, 8(%rdx)
	testq	%r12, %r12
	je	LBB0_33
## %bb.20:
	movslq	%r13d, %rax
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	addq	%rax, %r14
	movq	__MAXALIASES@GOTPCREL(%rip), %rdx
	leaq	L_.str.2(%rip), %rsi
LBB0_21:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_23 Depth 2
	movq	%r12, %r13
	jmp	LBB0_23
	.p2align	4, 0x90
LBB0_22:                                ##   in Loop: Header=BB0_23 Depth=2
	incq	%r13
LBB0_23:                                ##   Parent Loop BB0_21 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movzbl	(%r13), %eax
	cmpb	$9, %al
	je	LBB0_22
## %bb.24:                              ##   in Loop: Header=BB0_23 Depth=2
	cmpb	$32, %al
	je	LBB0_22
## %bb.25:                              ##   in Loop: Header=BB0_21 Depth=1
	testb	%al, %al
	je	LBB0_33
## %bb.26:                              ##   in Loop: Header=BB0_21 Depth=1
	movq	8(%rcx), %rax
	movslq	(%rdx), %rcx
	leaq	(%rax,%rcx,8), %rax
	addq	$-8, %rax
	cmpq	%rax, %rdi
	jae	LBB0_33
## %bb.27:                              ##   in Loop: Header=BB0_21 Depth=1
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movq	%r13, %rdi
	callq	_strpbrk
	testq	%rax, %rax
	je	LBB0_29
## %bb.28:                              ##   in Loop: Header=BB0_21 Depth=1
	movq	%rax, %r12
	incq	%r12
	movb	$0, (%rax)
	jmp	LBB0_30
LBB0_29:                                ##   in Loop: Header=BB0_21 Depth=1
	xorl	%r12d, %r12d
LBB0_30:                                ##   in Loop: Header=BB0_21 Depth=1
	movq	%r13, %rdi
	callq	_strlen
	incl	%eax
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	subq	%r14, %rdx
	movslq	%eax, %r15
	cmpq	%r15, %rdx
	jl	LBB0_32
## %bb.31:                              ##   in Loop: Header=BB0_21 Depth=1
	movq	%r14, %rdi
	movq	%r13, %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_strlcpy
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, (%rdi)
	addq	$8, %rdi
	addq	%r15, %r14
	testq	%r12, %r12
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	__MAXALIASES@GOTPCREL(%rip), %rdx
	leaq	L_.str.2(%rip), %rsi
	jne	LBB0_21
	jmp	LBB0_33
LBB0_32:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
LBB0_33:
	movq	$0, (%rdi)
	xorl	%eax, %eax
	jmp	LBB0_34
LBB0_36:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_BUFSIZ,4,2                     ## @BUFSIZ
	.comm	__PATH_NETWORKS,4,2             ## @_PATH_NETWORKS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"re"

L_.str.1:                               ## @.str.1
	.asciz	"#\n"

L_.str.2:                               ## @.str.2
	.asciz	" \t"

	.comm	_NO_RECOVERY,4,2                ## @NO_RECOVERY
	.comm	_AF_INET,4,2                    ## @AF_INET
	.comm	__MAXALIASES,4,2                ## @_MAXALIASES
	.no_dead_strip	_getnetent_p
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function getnetent_p
_getnetent_p:                           ; @getnetent_p
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #16
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x8, _BUFSIZ@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BUFSIZ@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	add	w21, w8, #1
	mov	x9, x21
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x21, #15
	and	x9, x9, #0x1fffffff0
	sub	x23, x8, x9
	mov	sp, x23
	ldr	x2, [x1, #16]
	cbnz	x2, LBB0_2
; %bb.1:
Lloh8:
	adrp	x8, __PATH_NETWORKS@GOTPAGE
Lloh9:
	ldr	x8, [x8, __PATH_NETWORKS@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
Lloh11:
	adrp	x1, l_.str@PAGE
Lloh12:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fopen
	mov	x2, x0
	str	x0, [x19, #16]
	cbz	x0, LBB0_11
LBB0_2:
	mov	x0, x23
	mov	x1, x21
	bl	_fgets
	cbz	x0, LBB0_11
; %bb.3:
	mov	x24, x0
Lloh13:
	adrp	x25, l_.str.1@PAGE
Lloh14:
	add	x25, x25, l_.str.1@PAGEOFF
Lloh15:
	adrp	x26, l_.str.2@PAGE
Lloh16:
	add	x26, x26, l_.str.2@PAGEOFF
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	x22, [x19]
	str	x22, [x20]
	mov	x0, x24
	mov	x1, x26
	bl	_strpbrk
	cbnz	x0, LBB0_9
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	x2, [x19, #16]
	mov	x0, x23
	mov	x1, x21
	bl	_fgets
	mov	x24, x0
	cbz	x0, LBB0_11
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w8, [x24]
	cmp	w8, #35
	b.eq	LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x24
	mov	x1, x25
	bl	_strpbrk
	cbz	x0, LBB0_4
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	strb	wzr, [x0]
	b	LBB0_4
LBB0_9:
	mov	x27, x0
	strb	wzr, [x0]
	mov	x0, x24
	bl	_strlen
	cmp	w0, #8
	b.lt	LBB0_14
; %bb.10:
	bl	___res_state
Lloh17:
	adrp	x8, _NO_RECOVERY@GOTPAGE
Lloh18:
	ldr	x8, [x8, _NO_RECOVERY@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	bl	_RES_SET_H_ERRNO
LBB0_11:
	mov	w0, #-1
LBB0_12:
	ldur	x8, [x29, #-88]
Lloh20:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh21:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh22:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_32
; %bb.13:
	sub	sp, x29, #80
	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
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_14:
	add	x25, x22, #8
	add	w26, w0, #1
	mov	x0, x22
	mov	x1, x24
	mov	w2, #8
	bl	_strlcpy
	add	x21, x27, #1
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	ldrb	w8, [x21]
	cmp	w8, #32
	ccmp	w8, #9, #4, ne
	b.ne	LBB0_17
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=1
	add	x21, x21, #1
	b	LBB0_15
LBB0_17:
Lloh23:
	adrp	x1, l_.str.2@PAGE
Lloh24:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x21
	bl	_strpbrk
	mov	x23, x0
	cbz	x0, LBB0_19
; %bb.18:
	strb	wzr, [x23], #1
LBB0_19:
	mov	x0, x21
	bl	_inet_network
Lloh25:
	adrp	x8, _AF_INET@GOTPAGE
Lloh26:
	ldr	x8, [x8, _AF_INET@GOTPAGEOFF]
Lloh27:
	ldr	w8, [x8]
	stp	w8, w0, [x20, #16]
	ldr	x24, [x19, #8]
	str	x24, [x20, #8]
	cbz	x23, LBB0_31
; %bb.20:
	add	x20, x22, w26, sxtw
Lloh28:
	adrp	x26, __MAXALIASES@GOTPAGE
Lloh29:
	ldr	x26, [x26, __MAXALIASES@GOTPAGEOFF]
Lloh30:
	adrp	x21, l_.str.2@PAGE
Lloh31:
	add	x21, x21, l_.str.2@PAGEOFF
LBB0_21:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_23 Depth 2
	mov	x22, x23
	b	LBB0_23
LBB0_22:                                ;   in Loop: Header=BB0_23 Depth=2
	add	x22, x22, #1
LBB0_23:                                ;   Parent Loop BB0_21 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrb	w8, [x22]
	cmp	w8, #9
	b.eq	LBB0_22
; %bb.24:                               ;   in Loop: Header=BB0_23 Depth=2
	cmp	w8, #32
	b.eq	LBB0_22
; %bb.25:                               ;   in Loop: Header=BB0_21 Depth=1
	cbz	w8, LBB0_31
; %bb.26:                               ;   in Loop: Header=BB0_21 Depth=1
	ldr	x8, [x19, #8]
	ldrsw	x9, [x26]
	add	x8, x8, x9, lsl #3
	sub	x8, x8, #8
	cmp	x24, x8
	b.hs	LBB0_31
; %bb.27:                               ;   in Loop: Header=BB0_21 Depth=1
	mov	x0, x22
	mov	x1, x21
	bl	_strpbrk
	mov	x23, x0
	cbz	x0, LBB0_29
; %bb.28:                               ;   in Loop: Header=BB0_21 Depth=1
	strb	wzr, [x23], #1
LBB0_29:                                ;   in Loop: Header=BB0_21 Depth=1
	mov	x0, x22
	bl	_strlen
	add	w8, w0, #1
	sxtw	x27, w8
	sub	x2, x25, x20
	cmp	x2, x27
	b.lt	LBB0_31
; %bb.30:                               ;   in Loop: Header=BB0_21 Depth=1
	mov	x0, x20
	mov	x1, x22
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_strlcpy
	str	x20, [x24], #8
	add	x20, x20, x27
	cbnz	x23, LBB0_21
LBB0_31:
	mov	w0, #0
	str	xzr, [x24]
	b	LBB0_12
LBB0_32:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.comm	_BUFSIZ,4,2                     ; @BUFSIZ
	.comm	__PATH_NETWORKS,4,2             ; @_PATH_NETWORKS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"re"

l_.str.1:                               ; @.str.1
	.asciz	"#\n"

l_.str.2:                               ; @.str.2
	.asciz	" \t"

	.comm	_NO_RECOVERY,4,2                ; @NO_RECOVERY
	.comm	_AF_INET,4,2                    ; @AF_INET
	.comm	__MAXALIASES,4,2                ; @_MAXALIASES
	.no_dead_strip	_getnetent_p
.subsections_via_symbols
