	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___getprotoent_p                ## -- Begin function __getprotoent_p
	.p2align	4, 0x90
___getprotoent_p:                       ## @__getprotoent_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r13
	movq	%rdi, %r14
	movq	8(%rsi), %rdx
	testq	%rdx, %rdx
	jne	LBB0_2
## %bb.1:
	movq	__PATH_PROTOCOLS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_fopen
	movq	%rax, %rdx
	movq	%rax, 8(%r13)
	testq	%rax, %rax
	je	LBB0_29
LBB0_2:
	movl	16(%r13), %edi
	movl	$4, %esi
	callq	_fgets
	movq	%rax, %rbx
	movl	$-1, %eax
	testq	%rbx, %rbx
	jne	LBB0_4
	jmp	LBB0_31
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_4 Depth=1
	movl	16(%r13), %edi
	movq	8(%r13), %rdx
	movl	$4, %esi
	callq	_fgets
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_29
LBB0_4:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_9 Depth 2
	cmpb	$35, (%rbx)
	je	LBB0_3
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%rbx, %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_strpbrk
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movb	$0, (%rax)
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	%rbx, (%r14)
	movq	%rbx, %rdi
	leaq	L_.str.2(%rip), %rsi
	callq	_strpbrk
	testq	%rax, %rax
	je	LBB0_3
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%rax, %r12
	movb	$0, (%rax)
	.p2align	4, 0x90
LBB0_9:                                 ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	incq	%r12
	movzbl	(%r12), %eax
	cmpb	$32, %al
	je	LBB0_9
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=2
	cmpb	$9, %al
	je	LBB0_9
## %bb.11:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	%r12, %rdi
	leaq	L_.str.2(%rip), %rsi
	callq	_strpbrk
	testq	%rax, %rax
	je	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	%rax, %r15
	incq	%r15
	movb	$0, (%rax)
	jmp	LBB0_14
LBB0_13:                                ##   in Loop: Header=BB0_4 Depth=1
	xorl	%r15d, %r15d
LBB0_14:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	%r12, %rdi
	leaq	-48(%rbp), %rsi
	movl	$10, %edx
	callq	_strtol
	movq	-48(%rbp), %rcx
	cmpq	%rcx, %r12
	je	LBB0_3
## %bb.15:                              ##   in Loop: Header=BB0_4 Depth=1
	cmpb	$0, (%rcx)
	jne	LBB0_3
## %bb.16:                              ##   in Loop: Header=BB0_4 Depth=1
	testq	%rax, %rax
	js	LBB0_3
## %bb.17:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	_USHRT_MAX@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jg	LBB0_3
## %bb.18:
	movq	%rax, 8(%r14)
	movq	(%r13), %rbx
	movq	%rbx, 16(%r14)
	testq	%r15, %r15
	je	LBB0_30
## %bb.19:
	movq	__MAXALIASES@GOTPCREL(%rip), %r12
	leaq	L_.str.2(%rip), %r14
	jmp	LBB0_21
	.p2align	4, 0x90
LBB0_20:                                ##   in Loop: Header=BB0_21 Depth=1
	incq	%r15
LBB0_21:                                ## =>This Inner Loop Header: Depth=1
	movzbl	(%r15), %eax
	cmpb	$9, %al
	je	LBB0_20
## %bb.22:                              ##   in Loop: Header=BB0_21 Depth=1
	cmpb	$32, %al
	je	LBB0_20
## %bb.23:                              ##   in Loop: Header=BB0_21 Depth=1
	testb	%al, %al
	je	LBB0_30
## %bb.24:                              ##   in Loop: Header=BB0_21 Depth=1
	movq	(%r13), %rax
	movslq	(%r12), %rcx
	leaq	(%rax,%rcx,8), %rax
	addq	$-8, %rax
	cmpq	%rax, %rbx
	jae	LBB0_26
## %bb.25:                              ##   in Loop: Header=BB0_21 Depth=1
	movq	%r15, (%rbx)
	addq	$8, %rbx
LBB0_26:                                ##   in Loop: Header=BB0_21 Depth=1
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_strpbrk
	testq	%rax, %rax
	je	LBB0_30
## %bb.27:                              ##   in Loop: Header=BB0_21 Depth=1
	movq	%rax, %r15
	incq	%r15
	movb	$0, (%rax)
	jmp	LBB0_21
LBB0_29:
	movl	$-1, %eax
LBB0_31:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_30:
	movq	$0, (%rbx)
	xorl	%eax, %eax
	jmp	LBB0_31
	.cfi_endproc
                                        ## -- End function
	.comm	__PATH_PROTOCOLS,4,2            ## @_PATH_PROTOCOLS
	.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	_USHRT_MAX,8,3                  ## @USHRT_MAX
	.comm	__MAXALIASES,4,2                ## @_MAXALIASES
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___getprotoent_p                ; -- Begin function __getprotoent_p
	.p2align	2
___getprotoent_p:                       ; @__getprotoent_p
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.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
	mov	x19, x1
	mov	x20, x0
	ldr	x2, [x1, #8]
	cbnz	x2, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, __PATH_PROTOCOLS@GOTPAGE
Lloh1:
	ldr	x8, [x8, __PATH_PROTOCOLS@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fopen
	mov	x2, x0
	str	x0, [x19, #8]
	cbz	x0, LBB0_28
LBB0_2:
	ldr	w0, [x19, #16]
	mov	w1, #4
	bl	_fgets
	cbz	x0, LBB0_28
; %bb.3:
	mov	x23, x0
Lloh5:
	adrp	x21, l_.str.1@PAGE
Lloh6:
	add	x21, x21, l_.str.1@PAGEOFF
Lloh7:
	adrp	x25, _USHRT_MAX@GOTPAGE
Lloh8:
	ldr	x25, [x25, _USHRT_MAX@GOTPAGEOFF]
Lloh9:
	adrp	x22, l_.str.2@PAGE
Lloh10:
	add	x22, x22, l_.str.2@PAGEOFF
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	w0, [x19, #16]
	ldr	x2, [x19, #8]
	mov	w1, #4
	bl	_fgets
	mov	x23, x0
	cbz	x0, LBB0_28
LBB0_5:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_10 Depth 2
	ldrb	w8, [x23]
	cmp	w8, #35
	b.eq	LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x23
	mov	x1, x21
	bl	_strpbrk
	cbz	x0, LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	strb	wzr, [x0]
LBB0_8:                                 ;   in Loop: Header=BB0_5 Depth=1
	str	x23, [x20]
	mov	x0, x23
	mov	x1, x22
	bl	_strpbrk
	cbz	x0, LBB0_4
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x24, x0
	strb	wzr, [x24], #1
LBB0_10:                                ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrb	w8, [x24]
	cmp	w8, #32
	ccmp	w8, #9, #4, ne
	b.ne	LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=2
	add	x24, x24, #1
	b	LBB0_10
LBB0_12:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x24
	mov	x1, x22
	bl	_strpbrk
	mov	x23, x0
	cbz	x0, LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_5 Depth=1
	strb	wzr, [x23], #1
LBB0_14:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x1, sp, #8
	mov	x0, x24
	mov	w2, #10
	bl	_strtol
	ldr	x8, [sp, #8]
	cmp	x24, x8
	b.eq	LBB0_4
; %bb.15:                               ;   in Loop: Header=BB0_5 Depth=1
	ldrb	w8, [x8]
	cbnz	w8, LBB0_4
; %bb.16:                               ;   in Loop: Header=BB0_5 Depth=1
	tbnz	x0, #63, LBB0_4
; %bb.17:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x25]
	cmp	x0, x8
	b.gt	LBB0_4
; %bb.18:
	ldr	x21, [x19]
	stp	x0, x21, [x20, #8]
	cbz	x23, LBB0_30
; %bb.19:
Lloh11:
	adrp	x22, __MAXALIASES@GOTPAGE
Lloh12:
	ldr	x22, [x22, __MAXALIASES@GOTPAGEOFF]
Lloh13:
	adrp	x20, l_.str.2@PAGE
Lloh14:
	add	x20, x20, l_.str.2@PAGEOFF
	b	LBB0_21
LBB0_20:                                ;   in Loop: Header=BB0_21 Depth=1
	add	x23, x23, #1
LBB0_21:                                ; =>This Inner Loop Header: Depth=1
	ldrb	w8, [x23]
	cmp	w8, #9
	b.eq	LBB0_20
; %bb.22:                               ;   in Loop: Header=BB0_21 Depth=1
	cmp	w8, #32
	b.eq	LBB0_20
; %bb.23:                               ;   in Loop: Header=BB0_21 Depth=1
	cbz	w8, LBB0_30
; %bb.24:                               ;   in Loop: Header=BB0_21 Depth=1
	ldr	x8, [x19]
	ldrsw	x9, [x22]
	add	x8, x8, x9, lsl #3
	sub	x8, x8, #8
	cmp	x21, x8
	b.hs	LBB0_26
; %bb.25:                               ;   in Loop: Header=BB0_21 Depth=1
	str	x23, [x21], #8
LBB0_26:                                ;   in Loop: Header=BB0_21 Depth=1
	mov	x0, x23
	mov	x1, x20
	bl	_strpbrk
	cbz	x0, LBB0_30
; %bb.27:                               ;   in Loop: Header=BB0_21 Depth=1
	mov	x23, x0
	strb	wzr, [x23], #1
	b	LBB0_21
LBB0_28:
	mov	w0, #-1
LBB0_29:
	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
	add	sp, sp, #96
	ret
LBB0_30:
	mov	w0, #0
	str	xzr, [x21]
	b	LBB0_29
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	__PATH_PROTOCOLS,4,2            ; @_PATH_PROTOCOLS
	.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	_USHRT_MAX,8,3                  ; @USHRT_MAX
	.comm	__MAXALIASES,4,2                ; @_MAXALIASES
.subsections_via_symbols
