	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function servent_read_snapshot_func
_servent_read_snapshot_func:            ## @servent_read_snapshot_func
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r15
	leaq	L_.str(%rip), %rdi
	callq	_printf
	movq	%rbx, -56(%rbp)
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	$32, %edx
	callq	_memset
	leaq	L_.str.1(%rip), %rsi
	leaq	-56(%rbp), %rdi
	callq	_strsep
	testq	%rax, %rax
	je	LBB0_17
## %bb.1:
	movq	%rax, %r12
	movl	$-1, %r14d
	leaq	L_.str.1(%rip), %rbx
	xorl	%r13d, %r13d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %rdi
	callq	_strdup
	movq	%rax, 16(%r15)
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	xorl	%edi, %edi
	testq	%rax, %rax
	setne	%dil
	callq	_ATF_REQUIRE
LBB0_15:                                ##   in Loop: Header=BB0_2 Depth=1
	leaq	-56(%rbp), %rdi
	movq	%rbx, %rsi
	callq	_strsep
	movq	%rax, %r12
	testq	%rax, %rax
	je	LBB0_16
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	incl	%r14d
	cmpl	$2, %r14d
	je	LBB0_9
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$1, %r14d
	je	LBB0_7
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	testl	%r14d, %r14d
	je	LBB0_5
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	testq	%r13, %r13
	jne	LBB0_14
## %bb.11:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %rdi
	leaq	L_.str.2(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_12
## %bb.13:                              ##   in Loop: Header=BB0_2 Depth=1
	xorl	%eax, %eax
	callq	_sl_init
	movq	%rax, %r13
	xorl	%edi, %edi
	testq	%rax, %rax
	setne	%dil
	callq	_ATF_REQUIRE
	movq	%r12, %rdi
	leaq	L_.str.3(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_15
LBB0_14:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %rdi
	callq	_strdup
	movq	%rax, %rbx
	movq	%rax, -48(%rbp)
	xorl	%edi, %edi
	testq	%rax, %rax
	setne	%dil
	callq	_ATF_REQUIRE
	movq	%r13, %rdi
	movq	%rbx, %rsi
	leaq	L_.str.1(%rip), %rbx
	callq	_sl_add
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %rdi
	callq	_strdup
	movq	%rax, 8(%r15)
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %rdi
	leaq	-48(%rbp), %rsi
	movl	$10, %edx
	callq	_strtol
	movl	%eax, %edi
	callq	_htons
	movl	%eax, 24(%r15)
	movq	-48(%rbp), %rax
	cmpb	$0, (%rax)
	je	LBB0_15
## %bb.8:
	movq	16(%r15), %rdi
	callq	_free
	movl	$-1, %r14d
	jmp	LBB0_19
LBB0_16:
	cmpl	$1, %r14d
	ja	LBB0_18
LBB0_17:
	movq	16(%r15), %rdi
	callq	_free
	movq	8(%r15), %rdi
	callq	_free
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	$32, %edx
	callq	_memset
	movl	$-1, %r14d
	jmp	LBB0_19
LBB0_18:
	xorl	%r14d, %r14d
	movq	%r13, %rdi
	xorl	%esi, %esi
	callq	_sl_add
	movl	(%r13), %eax
	movl	%eax, (%r15)
	movq	%r13, %rdi
	callq	_free
LBB0_19:
	movl	%r14d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	xorl	%r14d, %r14d
	jmp	LBB0_19
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"1 line read from snapshot:\n%s\n"

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

L_.str.2:                               ## @.str.2
	.asciz	"(null)"

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

	.no_dead_strip	_servent_read_snapshot_func
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function servent_read_snapshot_func
_servent_read_snapshot_func:            ; @servent_read_snapshot_func
	.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	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_printf
	str	x20, [sp, #8]
	mov	x0, x19
	mov	w1, #0
	mov	w2, #32
	bl	_memset
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x0, sp, #8
	bl	_strsep
	cbz	x0, LBB0_15
; %bb.1:
	mov	x24, x0
	mov	x20, #0
	mov	w25, #-1
Lloh4:
	adrp	x21, l_.str.1@PAGE
Lloh5:
	add	x21, x21, l_.str.1@PAGEOFF
Lloh6:
	adrp	x22, l_.str.2@PAGE
Lloh7:
	add	x22, x22, l_.str.2@PAGEOFF
Lloh8:
	adrp	x23, l_.str.3@PAGE
Lloh9:
	add	x23, x23, l_.str.3@PAGEOFF
	b	LBB0_5
LBB0_2:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x24
	bl	_strdup
	str	x0, [x19, #16]
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	cmp	x0, #0
	cset	w0, ne
	bl	_ATF_REQUIRE
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x0, sp, #8
	mov	x1, x21
	bl	_strsep
	mov	x24, x0
	add	w25, w25, #1
	cbz	x0, LBB0_14
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	add	w8, w25, #1
	cmp	w8, #2
	b.eq	LBB0_13
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	cmp	w8, #1
	b.eq	LBB0_12
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	cbz	w8, LBB0_2
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	cbnz	x20, LBB0_11
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x24
	mov	x1, x22
	bl	_strcmp
	cbz	w0, LBB0_18
; %bb.10:                               ;   in Loop: Header=BB0_5 Depth=1
	bl	_sl_init
	mov	x20, x0
	cmp	x0, #0
	cset	w0, ne
	bl	_ATF_REQUIRE
	mov	x0, x24
	mov	x1, x23
	bl	_strcmp
	cbz	w0, LBB0_4
LBB0_11:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x24
	bl	_strdup
	mov	x24, x0
	str	x0, [sp]
	cmp	x0, #0
	cset	w0, ne
	bl	_ATF_REQUIRE
	mov	x0, x20
	mov	x1, x24
	bl	_sl_add
	b	LBB0_4
LBB0_12:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x1, sp
	mov	x0, x24
	mov	w2, #10
	bl	_strtol
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_htons
	str	w0, [x19, #24]
	ldr	x8, [sp]
	ldrb	w8, [x8]
	cbz	w8, LBB0_4
	b	LBB0_19
LBB0_13:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x24
	bl	_strdup
	str	x0, [x19, #8]
	b	LBB0_3
LBB0_14:
	cmp	w25, #1
	b.hi	LBB0_17
LBB0_15:
	ldr	x0, [x19, #16]
	bl	_free
	ldr	x0, [x19, #8]
	bl	_free
	mov	x0, x19
	mov	w1, #0
	mov	w2, #32
	bl	_memset
LBB0_16:
	mov	w0, #-1
	b	LBB0_18
LBB0_17:
	mov	x0, x20
	mov	x1, #0
	bl	_sl_add
	ldr	w8, [x20]
	str	w8, [x19]
	mov	x0, x20
	bl	_free
	mov	w0, #0
LBB0_18:
	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_19:
	ldr	x0, [x19, #16]
	bl	_free
	b	LBB0_16
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"1 line read from snapshot:\n%s\n"

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

l_.str.2:                               ; @.str.2
	.asciz	"(null)"

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

	.no_dead_strip	_servent_read_snapshot_func
.subsections_via_symbols
