	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parseservices
_parseservices:                         ## @parseservices
	.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	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, -120(%rbp)                ## 8-byte Spill
	leaq	L_.str(%rip), %rsi
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	callq	_fopen
	movq	%rax, %r13
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	leaq	L_.str.1(%rip), %rsi
	movl	$1, %edi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_err
LBB0_2:
	movq	$0, -104(%rbp)
	movq	_PMASK@GOTPCREL(%rip), %rax
	movslq	(%rax), %rbx
	incq	%rbx
	movl	%ebx, %edi
	movl	$8, %esi
	callq	_calloc
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	testq	%rax, %rax
	jne	LBB0_4
## %bb.3:
	leaq	L_.str.2(%rip), %rsi
	movl	$1, %edi
	movq	%rbx, %rdx
	xorl	%eax, %eax
	callq	_err
LBB0_4:
	movq	$0, -80(%rbp)
	leaq	-80(%rbp), %rdi
	leaq	-104(%rbp), %rsi
	movq	%r13, %rdx
	callq	_getline
	cmpl	$-1, %eax
	je	LBB0_53
## %bb.5:
	leaq	-80(%rbp), %rbx
	leaq	-104(%rbp), %r14
	xorl	%r12d, %r12d
	jmp	LBB0_6
LBB0_26:                                ##   in Loop: Header=BB0_6 Depth=1
	leaq	L_.str.5(%rip), %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	%r12, %rdx
	xorl	%eax, %eax
	callq	_warnx
	.p2align	4, 0x90
LBB0_52:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movq	%r13, %rdx
	callq	_getline
	cmpl	$-1, %eax
	je	LBB0_53
LBB0_6:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_11 Depth 2
                                        ##     Child Loop BB0_19 Depth 2
                                        ##     Child Loop BB0_46 Depth 2
	incq	%r12
	testl	%eax, %eax
	je	LBB0_52
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	-80(%rbp), %rcx
	cltq
	cmpb	$10, -1(%rax,%rcx)
	jne	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	movb	$0, -1(%rcx,%rax)
	movq	-80(%rbp), %rcx
LBB0_9:                                 ##   in Loop: Header=BB0_6 Depth=1
	movq	%rcx, -64(%rbp)
	movb	(%rcx), %al
	testb	%al, %al
	je	LBB0_52
	.p2align	4, 0x90
LBB0_11:                                ##   Parent Loop BB0_6 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movzbl	%al, %edi
	callq	_isspace
	movq	-64(%rbp), %rcx
	testq	%rax, %rax
	je	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=2
	leaq	1(%rcx), %rax
	movq	%rax, -64(%rbp)
	movzbl	1(%rcx), %eax
	testb	%al, %al
	jne	LBB0_11
	jmp	LBB0_52
LBB0_13:                                ##   in Loop: Header=BB0_6 Depth=1
	movb	(%rcx), %al
	testb	%al, %al
	je	LBB0_52
## %bb.14:                              ##   in Loop: Header=BB0_6 Depth=1
	cmpb	$35, %al
	je	LBB0_52
## %bb.15:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	leaq	-64(%rbp), %rdx
	leaq	L_.str.3(%rip), %rcx
	callq	_getstring
	movq	%rax, -128(%rbp)                ## 8-byte Spill
	testq	%rax, %rax
	je	LBB0_52
## %bb.16:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	leaq	-64(%rbp), %rdx
	leaq	L_.str.4(%rip), %rcx
	callq	_getstring
	testq	%rax, %rax
	je	LBB0_52
## %bb.17:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	%rax, %r15
	movq	-64(%rbp), %rax
	testq	%rax, %rax
	je	LBB0_23
## %bb.18:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	%rax, -72(%rbp)
	.p2align	4, 0x90
LBB0_19:                                ##   Parent Loop BB0_6 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	incq	%rax
	movzbl	-1(%rax), %ecx
	testb	%cl, %cl
	je	LBB0_24
## %bb.20:                              ##   in Loop: Header=BB0_19 Depth=2
	cmpb	$35, %cl
	je	LBB0_22
## %bb.21:                              ##   in Loop: Header=BB0_19 Depth=2
	movq	%rax, -64(%rbp)
	jmp	LBB0_19
LBB0_23:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	$0, -72(%rbp)
	jmp	LBB0_24
LBB0_22:                                ##   in Loop: Header=BB0_6 Depth=1
	movb	$0, -1(%rax)
LBB0_24:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	%r15, %rdi
	movl	$47, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_26
## %bb.25:                              ##   in Loop: Header=BB0_6 Depth=1
	cmpb	$0, 1(%rax)
	je	LBB0_26
## %bb.27:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movb	$0, (%rax)
	movq	_errno@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	%r15, %rdi
	leaq	-136(%rbp), %rsi
	xorl	%edx, %edx
	callq	_strtoul
	cmpb	$0, (%r15)
	je	LBB0_29
## %bb.28:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	%rax, %rdx
	movq	-136(%rbp), %rax
	cmpb	$0, (%rax)
	je	LBB0_31
LBB0_29:                                ##   in Loop: Header=BB0_6 Depth=1
	leaq	L_.str.6(%rip), %rdi
LBB0_30:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	%r12, %rdx
	movq	%r15, %rcx
	xorl	%eax, %eax
	callq	_warnx
	jmp	LBB0_52
LBB0_31:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_ERANGE@GOTPCREL(%rip), %rcx
	xorq	(%rcx), %rax
	movq	_ULONG_MAX@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	xorq	%rdx, %rcx
	orq	%rax, %rcx
	je	LBB0_33
## %bb.32:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	_PMASK@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	cmpq	%rax, %rdx
	ja	LBB0_33
## %bb.34:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	incq	%rsi
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax,%rdx,8), %r15
	testq	%r15, %r15
	jne	LBB0_37
## %bb.35:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	_PROTOMAX@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%edi, -92(%rbp)                 ## 4-byte Spill
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movl	$8, %esi
	movq	%rdx, -112(%rbp)                ## 8-byte Spill
	callq	_calloc
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movq	%rax, %r15
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movq	-112(%rbp), %rcx                ## 8-byte Reload
	movq	%r15, (%rax,%rcx,8)
	testq	%r15, %r15
	jne	LBB0_37
## %bb.36:                              ##   in Loop: Header=BB0_6 Depth=1
	movslq	-92(%rbp), %rdx                 ## 4-byte Folded Reload
	movl	$1, %edi
	leaq	L_.str.2(%rip), %rsi
	xorl	%eax, %eax
	callq	_err
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
LBB0_37:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	-120(%rbp), %rdi                ## 8-byte Reload
	callq	_getprotoindex
	movq	%rax, %rcx
	movq	(%r15,%rax,8), %rax
	testq	%rax, %rax
	jne	LBB0_39
## %bb.38:                              ##   in Loop: Header=BB0_6 Depth=1
	xorl	%eax, %eax
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	callq	_sl_init
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%r15,%rcx,8)
LBB0_39:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%rax, %rdi
	movq	-128(%rbp), %r15                ## 8-byte Reload
	movq	%r15, %rsi
	callq	_sl_find
	testq	%rax, %rax
	jne	LBB0_43
## %bb.40:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	%r15, %rdi
	callq	_strdup
	movq	%rax, %r15
	testq	%rax, %rax
	jne	LBB0_42
## %bb.41:                              ##   in Loop: Header=BB0_6 Depth=1
	movl	$1, %edi
	leaq	L_.str.8(%rip), %rsi
	xorl	%eax, %eax
	callq	_err
LBB0_42:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rsi
	callq	_sl_add
LBB0_43:                                ##   in Loop: Header=BB0_6 Depth=1
	cmpq	$0, -72(%rbp)
	je	LBB0_52
## %bb.44:                              ##   in Loop: Header=BB0_6 Depth=1
	leaq	-72(%rbp), %rdi
	leaq	L_.str.9(%rip), %rsi
	callq	_strsep
	testq	%rax, %rax
	je	LBB0_52
## %bb.45:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	%rax, %r15
	jmp	LBB0_46
LBB0_50:                                ##   in Loop: Header=BB0_46 Depth=2
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rsi
	callq	_sl_add
LBB0_51:                                ##   in Loop: Header=BB0_46 Depth=2
	leaq	-72(%rbp), %rdi
	leaq	L_.str.9(%rip), %rsi
	callq	_strsep
	movq	%rax, %r15
	testq	%rax, %rax
	je	LBB0_52
LBB0_46:                                ##   Parent Loop BB0_6 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpb	$0, (%r15)
	je	LBB0_51
## %bb.47:                              ##   in Loop: Header=BB0_46 Depth=2
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rsi
	callq	_sl_find
	testq	%rax, %rax
	jne	LBB0_51
## %bb.48:                              ##   in Loop: Header=BB0_46 Depth=2
	movq	%r15, %rdi
	callq	_strdup
	movq	%rax, %r15
	testq	%rax, %rax
	jne	LBB0_50
## %bb.49:                              ##   in Loop: Header=BB0_46 Depth=2
	movl	$1, %edi
	leaq	L_.str.8(%rip), %rsi
	xorl	%eax, %eax
	callq	_err
	jmp	LBB0_50
LBB0_33:                                ##   in Loop: Header=BB0_6 Depth=1
	leaq	L_.str.7(%rip), %rdi
	jmp	LBB0_30
LBB0_53:
	movq	%r13, %rdi
	callq	_fclose
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"r"

L_.str.1:                               ## @.str.1
	.asciz	"Cannot open `%s'"

	.comm	_PMASK,4,2                      ## @PMASK
L_.str.2:                               ## @.str.2
	.asciz	"Cannot allocate %zu bytes"

L_.str.3:                               ## @.str.3
	.asciz	"name"

L_.str.4:                               ## @.str.4
	.asciz	"port"

L_.str.5:                               ## @.str.5
	.asciz	"%s, %zu: no protocol found"

	.comm	_errno,8,3                      ## @errno
L_.str.6:                               ## @.str.6
	.asciz	"%s, %zu: invalid port `%s'"

	.comm	_ERANGE,8,3                     ## @ERANGE
	.comm	_ULONG_MAX,8,3                  ## @ULONG_MAX
L_.str.7:                               ## @.str.7
	.asciz	"%s, %zu: port too big `%s'"

	.comm	_PROTOMAX,4,2                   ## @PROTOMAX
L_.str.8:                               ## @.str.8
	.asciz	"Cannot copy string"

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

	.no_dead_strip	_parseservices
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parseservices
_parseservices:                         ; @parseservices
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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
	str	x1, [sp, #16]                   ; 8-byte Folded Spill
	mov	x20, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fopen
	mov	x21, x0
	cbnz	x0, LBB0_2
; %bb.1:
	str	x20, [sp]
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_2:
	str	xzr, [sp, #56]
Lloh4:
	adrp	x8, _PMASK@GOTPAGE
Lloh5:
	ldr	x8, [x8, _PMASK@GOTPAGEOFF]
Lloh6:
	ldrsw	x8, [x8]
	add	x23, x8, #1
	mov	x0, x23
	mov	w1, #8
	bl	_calloc
	mov	x22, x0
	cbnz	x0, LBB0_4
; %bb.3:
	str	x23, [sp]
Lloh7:
	adrp	x1, l_.str.2@PAGE
Lloh8:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_4:
	str	xzr, [sp, #48]
	add	x0, sp, #48
	add	x1, sp, #56
	mov	x2, x21
	bl	_getline
                                        ; kill: def $w0 killed $w0 def $x0
	cmn	w0, #1
	b.eq	LBB0_51
; %bb.5:
	mov	x23, #0
Lloh9:
	adrp	x24, l_.str.3@PAGE
Lloh10:
	add	x24, x24, l_.str.3@PAGEOFF
Lloh11:
	adrp	x19, l_.str.4@PAGE
Lloh12:
	add	x19, x19, l_.str.4@PAGEOFF
	b	LBB0_9
LBB0_6:                                 ;   in Loop: Header=BB0_9 Depth=1
Lloh13:
	adrp	x0, l_.str.5@PAGE
Lloh14:
	add	x0, x0, l_.str.5@PAGEOFF
LBB0_7:                                 ;   in Loop: Header=BB0_9 Depth=1
	mov	x1, x20
	mov	x2, x23
	bl	_warnx
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	add	x0, sp, #48
	add	x1, sp, #56
	mov	x2, x21
	bl	_getline
                                        ; kill: def $w0 killed $w0 def $x0
	cmn	w0, #1
	b.eq	LBB0_51
LBB0_9:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_13 Depth 2
                                        ;     Child Loop BB0_21 Depth 2
                                        ;     Child Loop BB0_47 Depth 2
	add	x23, x23, #1
	cbz	w0, LBB0_8
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	x8, [sp, #48]
	sxtw	x9, w0
	sub	x9, x9, #1
	ldrb	w10, [x8, x9]
	cmp	w10, #10
	b.ne	LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_9 Depth=1
	strb	wzr, [x8, x9]
	ldr	x8, [sp, #48]
LBB0_12:                                ;   in Loop: Header=BB0_9 Depth=1
	str	x8, [sp, #24]
	ldrb	w8, [x8]
	cbz	w8, LBB0_8
LBB0_13:                                ;   Parent Loop BB0_9 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	and	w0, w8, #0xff
	bl	_isspace
	ldr	x8, [sp, #24]
	cbz	x0, LBB0_15
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=2
	add	x9, x8, #1
	str	x9, [sp, #24]
	ldrb	w8, [x8, #1]
	cbnz	w8, LBB0_13
	b	LBB0_8
LBB0_15:                                ;   in Loop: Header=BB0_9 Depth=1
	ldrb	w8, [x8]
	cbz	w8, LBB0_8
; %bb.16:                               ;   in Loop: Header=BB0_9 Depth=1
	cmp	w8, #35
	b.eq	LBB0_8
; %bb.17:                               ;   in Loop: Header=BB0_9 Depth=1
	add	x2, sp, #24
	mov	x0, x20
	mov	x1, x23
	mov	x3, x24
	bl	_getstring
	cbz	x0, LBB0_8
; %bb.18:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	x27, x0
	add	x2, sp, #24
	mov	x0, x20
	mov	x1, x23
	mov	x3, x19
	bl	_getstring
	cbz	x0, LBB0_8
; %bb.19:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	x26, x0
	ldr	x8, [sp, #24]
	cbz	x8, LBB0_24
; %bb.20:                               ;   in Loop: Header=BB0_9 Depth=1
	str	x8, [sp, #32]
LBB0_21:                                ;   Parent Loop BB0_9 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	x8, x8, #1
	ldurb	w9, [x8, #-1]
	cbz	w9, LBB0_26
; %bb.22:                               ;   in Loop: Header=BB0_21 Depth=2
	cmp	w9, #35
	b.eq	LBB0_25
; %bb.23:                               ;   in Loop: Header=BB0_21 Depth=2
	str	x8, [sp, #24]
	b	LBB0_21
LBB0_24:                                ;   in Loop: Header=BB0_9 Depth=1
	str	xzr, [sp, #32]
	b	LBB0_26
LBB0_25:                                ;   in Loop: Header=BB0_9 Depth=1
	sturb	wzr, [x8, #-1]
LBB0_26:                                ;   in Loop: Header=BB0_9 Depth=1
	mov	x0, x26
	mov	w1, #47
	bl	_strchr
	cbz	x0, LBB0_6
; %bb.27:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	x28, x0
	ldrb	w8, [x28, #1]!
	cbz	w8, LBB0_6
; %bb.28:                               ;   in Loop: Header=BB0_9 Depth=1
	strb	wzr, [x0]
Lloh15:
	adrp	x8, _errno@GOTPAGE
Lloh16:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh17:
	str	xzr, [x8]
	add	x1, sp, #40
	mov	x0, x26
	mov	w2, #0
	bl	_strtoul
	ldrb	w8, [x26]
	cbz	w8, LBB0_30
; %bb.29:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	x8, [sp, #40]
	ldrb	w8, [x8]
	cbz	w8, LBB0_31
LBB0_30:                                ;   in Loop: Header=BB0_9 Depth=1
	str	x26, [sp]
Lloh18:
	adrp	x0, l_.str.6@PAGE
Lloh19:
	add	x0, x0, l_.str.6@PAGEOFF
	b	LBB0_7
LBB0_31:                                ;   in Loop: Header=BB0_9 Depth=1
	mov	x25, x0
Lloh20:
	adrp	x8, _errno@GOTPAGE
Lloh21:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh22:
	ldr	x8, [x8]
Lloh23:
	adrp	x9, _ERANGE@GOTPAGE
Lloh24:
	ldr	x9, [x9, _ERANGE@GOTPAGEOFF]
Lloh25:
	ldr	x9, [x9]
Lloh26:
	adrp	x10, _ULONG_MAX@GOTPAGE
Lloh27:
	ldr	x10, [x10, _ULONG_MAX@GOTPAGEOFF]
Lloh28:
	ldr	x10, [x10]
	cmp	x0, x10
	ccmp	x8, x9, #0, eq
Lloh29:
	adrp	x8, _PMASK@GOTPAGE
Lloh30:
	ldr	x8, [x8, _PMASK@GOTPAGEOFF]
Lloh31:
	ldrsw	x8, [x8]
	ccmp	x0, x8, #2, ne
	b.ls	LBB0_33
; %bb.32:                               ;   in Loop: Header=BB0_9 Depth=1
	str	x26, [sp]
Lloh32:
	adrp	x0, l_.str.7@PAGE
Lloh33:
	add	x0, x0, l_.str.7@PAGEOFF
	b	LBB0_7
LBB0_33:                                ;   in Loop: Header=BB0_9 Depth=1
	ldr	x0, [x22, x25, lsl #3]
	cbnz	x0, LBB0_36
; %bb.34:                               ;   in Loop: Header=BB0_9 Depth=1
Lloh34:
	adrp	x8, _PROTOMAX@GOTPAGE
Lloh35:
	ldr	x8, [x8, _PROTOMAX@GOTPAGEOFF]
Lloh36:
	ldr	w26, [x8]
	mov	x0, x26
	mov	w1, #8
	bl	_calloc
	str	x0, [x22, x25, lsl #3]
	cbnz	x0, LBB0_36
; %bb.35:                               ;   in Loop: Header=BB0_9 Depth=1
	sxtw	x8, w26
	str	x8, [sp]
	mov	x25, x0
	mov	w0, #1
Lloh37:
	adrp	x1, l_.str.2@PAGE
Lloh38:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_err
	mov	x0, x25
LBB0_36:                                ;   in Loop: Header=BB0_9 Depth=1
	mov	x25, x0
	ldr	x0, [sp, #16]                   ; 8-byte Folded Reload
	mov	x1, x28
	bl	_getprotoindex
	ldr	x26, [x25, x0, lsl #3]
	cbnz	x26, LBB0_38
; %bb.37:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	x28, x0
	bl	_sl_init
	mov	x26, x0
	str	x0, [x25, x28, lsl #3]
LBB0_38:                                ;   in Loop: Header=BB0_9 Depth=1
	mov	x0, x26
	mov	x1, x27
	bl	_sl_find
	cbnz	x0, LBB0_42
; %bb.39:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	x0, x27
	bl	_strdup
	mov	x25, x0
	cbnz	x0, LBB0_41
; %bb.40:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	w0, #1
Lloh39:
	adrp	x1, l_.str.8@PAGE
Lloh40:
	add	x1, x1, l_.str.8@PAGEOFF
	bl	_err
LBB0_41:                                ;   in Loop: Header=BB0_9 Depth=1
	mov	x0, x26
	mov	x1, x25
	bl	_sl_add
LBB0_42:                                ;   in Loop: Header=BB0_9 Depth=1
	ldr	x8, [sp, #32]
	cbz	x8, LBB0_8
; %bb.43:                               ;   in Loop: Header=BB0_9 Depth=1
	add	x0, sp, #32
Lloh41:
	adrp	x1, l_.str.9@PAGE
Lloh42:
	add	x1, x1, l_.str.9@PAGEOFF
	bl	_strsep
	cbz	x0, LBB0_8
; %bb.44:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	x25, x0
	b	LBB0_47
LBB0_45:                                ;   in Loop: Header=BB0_47 Depth=2
	mov	x0, x26
	mov	x1, x25
	bl	_sl_add
LBB0_46:                                ;   in Loop: Header=BB0_47 Depth=2
	add	x0, sp, #32
Lloh43:
	adrp	x1, l_.str.9@PAGE
Lloh44:
	add	x1, x1, l_.str.9@PAGEOFF
	bl	_strsep
	mov	x25, x0
	cbz	x0, LBB0_8
LBB0_47:                                ;   Parent Loop BB0_9 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrb	w8, [x25]
	cbz	w8, LBB0_46
; %bb.48:                               ;   in Loop: Header=BB0_47 Depth=2
	mov	x0, x26
	mov	x1, x25
	bl	_sl_find
	cbnz	x0, LBB0_46
; %bb.49:                               ;   in Loop: Header=BB0_47 Depth=2
	mov	x0, x25
	bl	_strdup
	mov	x25, x0
	cbnz	x0, LBB0_45
; %bb.50:                               ;   in Loop: Header=BB0_47 Depth=2
	mov	w0, #1
Lloh45:
	adrp	x1, l_.str.8@PAGE
Lloh46:
	add	x1, x1, l_.str.8@PAGEOFF
	bl	_err
	b	LBB0_45
LBB0_51:
	mov	x0, x21
	bl	_fclose
	mov	x0, x22
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotStr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpAdd	Lloh45, Lloh46
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"r"

l_.str.1:                               ; @.str.1
	.asciz	"Cannot open `%s'"

	.comm	_PMASK,4,2                      ; @PMASK
l_.str.2:                               ; @.str.2
	.asciz	"Cannot allocate %zu bytes"

l_.str.3:                               ; @.str.3
	.asciz	"name"

l_.str.4:                               ; @.str.4
	.asciz	"port"

l_.str.5:                               ; @.str.5
	.asciz	"%s, %zu: no protocol found"

	.comm	_errno,8,3                      ; @errno
l_.str.6:                               ; @.str.6
	.asciz	"%s, %zu: invalid port `%s'"

	.comm	_ERANGE,8,3                     ; @ERANGE
	.comm	_ULONG_MAX,8,3                  ; @ULONG_MAX
l_.str.7:                               ; @.str.7
	.asciz	"%s, %zu: port too big `%s'"

	.comm	_PROTOMAX,4,2                   ; @PROTOMAX
l_.str.8:                               ; @.str.8
	.asciz	"Cannot copy string"

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

	.no_dead_strip	_parseservices
.subsections_via_symbols
