	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function servent_unpack
_servent_unpack:                        ## @servent_unpack
	.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
	movl	$-1, %r13d
	cmpb	$35, (%rdi)
	je	LBB0_21
## %bb.1:
	movq	%r8, %r14
	movq	%rsi, %r12
	movq	%rdi, %rbx
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movq	%rsi, %rdi
	xorl	%esi, %esi
	movl	$32, %edx
	callq	_memset
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strpbrk
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movb	$0, (%rax)
LBB0_3:
	movq	%rbx, (%r12)
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strpbrk
	testq	%rax, %rax
	je	LBB0_21
## %bb.4:
	movq	%rax, %r15
	movb	$0, (%rax)
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	incq	%r15
	movzbl	(%r15), %eax
	cmpb	$32, %al
	je	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	cmpb	$9, %al
	je	LBB0_5
## %bb.7:
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	leaq	L_.str.2(%rip), %rsi
	movq	%r15, %rdi
	callq	_strpbrk
	testq	%rax, %rax
	je	LBB0_21
## %bb.8:
	movq	%rax, %r14
	movb	$0, (%rax)
	leaq	-72(%rbp), %rsi
	movq	%r15, %rdi
	movl	$10, %edx
	callq	_strtol
	movq	-72(%rbp), %rcx
	cmpq	%rcx, %r15
	je	LBB0_21
## %bb.9:
	cmpb	$0, (%rcx)
	jne	LBB0_21
## %bb.10:
	testq	%rax, %rax
	js	LBB0_21
## %bb.11:
	movq	_USHRT_MAX@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jg	LBB0_21
## %bb.12:
	incq	%r14
	movl	%eax, %edi
	callq	_htons
	movl	%eax, 24(%r12)
	movq	%r14, 8(%r12)
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, 16(%r12)
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	callq	_strpbrk
	testq	%rax, %rax
	je	LBB0_20
## %bb.13:
	movb	$0, (%rax)
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rbx,%rcx,8), %r15
	addq	$-8, %r15
	leaq	L_.str.1(%rip), %r14
	.p2align	4, 0x90
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	incq	%rax
	movzbl	(%rax), %ecx
	cmpb	$9, %cl
	je	LBB0_14
## %bb.15:                              ##   in Loop: Header=BB0_14 Depth=1
	cmpb	$32, %cl
	je	LBB0_14
## %bb.16:                              ##   in Loop: Header=BB0_14 Depth=1
	testb	%cl, %cl
	je	LBB0_20
## %bb.17:                              ##   in Loop: Header=BB0_14 Depth=1
	cmpq	%r15, %rbx
	jae	LBB0_22
## %bb.18:                              ##   in Loop: Header=BB0_14 Depth=1
	movq	%rax, (%rbx)
	addq	$8, %rbx
	movq	%rax, %rdi
	movq	%r14, %rsi
	callq	_strpbrk
	testq	%rax, %rax
	je	LBB0_20
## %bb.19:                              ##   in Loop: Header=BB0_14 Depth=1
	movb	$0, (%rax)
	jmp	LBB0_14
LBB0_20:
	movq	$0, (%rbx)
	xorl	%r13d, %r13d
LBB0_21:
	movl	%r13d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_22:
	movq	$0, (%rbx)
	movq	_ERANGE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx)
	jmp	LBB0_21
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"#\n"

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

L_.str.2:                               ## @.str.2
	.asciz	",/"

	.comm	_USHRT_MAX,8,3                  ## @USHRT_MAX
	.comm	_ERANGE,4,2                     ## @ERANGE
	.no_dead_strip	_servent_unpack
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function servent_unpack
_servent_unpack:                        ; @servent_unpack
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	ldrb	w8, [x0]
	cmp	w8, #35
	b.eq	LBB0_20
; %bb.1:
	mov	x20, x4
	mov	x21, x3
	mov	x19, x2
	mov	x22, x1
	mov	x23, x0
	mov	x0, x1
	mov	w1, #0
	mov	w2, #32
	bl	_memset
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x23
	bl	_strpbrk
	cbz	x0, LBB0_3
; %bb.2:
	strb	wzr, [x0]
LBB0_3:
	str	x23, [x22]
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x23
	bl	_strpbrk
	cbz	x0, LBB0_20
; %bb.4:
	mov	x24, x0
	strb	wzr, [x24], #1
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w8, [x24]
	cmp	w8, #32
	ccmp	w8, #9, #4, ne
	b.ne	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x24, x24, #1
	b	LBB0_5
LBB0_7:
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x24
	bl	_strpbrk
	cbz	x0, LBB0_20
; %bb.8:
	mov	x23, x0
	strb	wzr, [x23], #1
	add	x1, sp, #8
	mov	x0, x24
	mov	w2, #10
	bl	_strtol
	ldr	x9, [sp, #8]
	cmp	x24, x9
	b.eq	LBB0_20
; %bb.9:
	mov	x8, x0
	ldrb	w9, [x9]
	mov	w0, #-1
	cbnz	w9, LBB0_21
; %bb.10:
	tbnz	x8, #63, LBB0_21
; %bb.11:
Lloh6:
	adrp	x9, _USHRT_MAX@GOTPAGE
Lloh7:
	ldr	x9, [x9, _USHRT_MAX@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.gt	LBB0_21
; %bb.12:
	mov	x0, x8
	bl	_htons
	str	w0, [x22, #24]
	stp	x23, x19, [x22, #8]
Lloh9:
	adrp	x1, l_.str.1@PAGE
Lloh10:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x23
	bl	_strpbrk
	cbz	x0, LBB0_22
; %bb.13:
	strb	wzr, [x0]
	add	x8, x19, x21, lsl #3
	sub	x22, x8, #8
Lloh11:
	adrp	x21, l_.str.1@PAGE
Lloh12:
	add	x21, x21, l_.str.1@PAGEOFF
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	ldrb	w8, [x0, #1]!
	cmp	w8, #9
	b.eq	LBB0_14
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=1
	cmp	w8, #32
	b.eq	LBB0_14
; %bb.16:                               ;   in Loop: Header=BB0_14 Depth=1
	cbz	w8, LBB0_22
; %bb.17:                               ;   in Loop: Header=BB0_14 Depth=1
	cmp	x19, x22
	b.hs	LBB0_23
; %bb.18:                               ;   in Loop: Header=BB0_14 Depth=1
	str	x0, [x19], #8
	mov	x1, x21
	bl	_strpbrk
	cbz	x0, LBB0_22
; %bb.19:                               ;   in Loop: Header=BB0_14 Depth=1
	strb	wzr, [x0]
	b	LBB0_14
LBB0_20:
	mov	w0, #-1
LBB0_21:
	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
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_22:
	mov	w0, #0
	str	xzr, [x19]
	b	LBB0_21
LBB0_23:
	str	xzr, [x19]
Lloh13:
	adrp	x8, _ERANGE@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ERANGE@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	str	w8, [x20]
	mov	w0, #-1
	b	LBB0_21
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"#\n"

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

l_.str.2:                               ; @.str.2
	.asciz	",/"

	.comm	_USHRT_MAX,8,3                  ; @USHRT_MAX
	.comm	_ERANGE,4,2                     ; @ERANGE
	.no_dead_strip	_servent_unpack
.subsections_via_symbols
