	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_acn_parse_hosts_file           ## -- Begin function acn_parse_hosts_file
	.p2align	4, 0x90
_acn_parse_hosts_file:                  ## @acn_parse_hosts_file
	.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	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MAX_LINE_SIZE@GOTPCREL(%rip), %r15
	movl	(%r15), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r13
	xorl	%eax, %eax
	callq	_empty_unit_table
	leaq	L_.str(%rip), %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_fopen
	testq	%rax, %rax
	je	LBB0_19
## %bb.1:
	movq	%rax, %rbx
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movl	(%r15), %esi
	decl	%esi
	movq	%r13, %rdi
	movq	%rax, %rdx
	callq	_fgets
	testq	%rax, %rax
	je	LBB0_12
## %bb.2:
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	jmp	LBB0_3
LBB0_10:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	_PCAP_ERRBUF_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	leaq	L_.str.6(%rip), %rdx
	callq	_pcap_snprintf
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	(%r15), %esi
	decl	%esi
	movq	%r13, %rdi
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdx
	callq	_fgets
	testq	%rax, %rax
	je	LBB0_12
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	leaq	L_.str.3(%rip), %rsi
	callq	_strcspn
	cltq
	movb	$0, (%r13,%rax)
	movq	%r13, %rdi
	leaq	L_.str.4(%rip), %rsi
	callq	_strspn
	movl	%eax, %ebx
	movq	%r13, %rdi
	callq	_strlen
	cmpl	%eax, %ebx
	je	LBB0_11
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movslq	%ebx, %r14
	addq	%r13, %r14
	movq	%r14, %rdi
	leaq	L_.str.5(%rip), %rsi
	callq	_strstr
	testq	%rax, %rax
	je	LBB0_11
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rax, %r12
	cmpb	$95, 4(%rax)
	jne	LBB0_11
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r14, %rdi
	leaq	L_.str.4(%rip), %rsi
	callq	_strcspn
	cltq
	movb	$0, (%r14,%rax)
	movsbl	3(%r12), %ebx
	cmpl	$49, %ebx
	jl	LBB0_10
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	leal	-48(%rbx), %ecx
	movq	_MAX_CHASSIS@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ecx
	jg	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	movsbq	5(%r12), %r12
	cmpb	$49, %r12b
	jl	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_3 Depth=1
	addq	$-48, %r12
	movq	_MAX_GEOSLOT@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r12d
	jg	LBB0_10
## %bb.15:                              ##   in Loop: Header=BB0_3 Depth=1
	movl	%ecx, -60(%rbp)                 ## 4-byte Spill
	movq	%r14, %rdi
	callq	_strlen
                                        ## kill: def $eax killed $eax def $rax
	leal	1(%rax), %edi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_16
## %bb.17:                              ##   in Loop: Header=BB0_3 Depth=1
	movslq	%ebx, %rcx
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	movq	%rax, %rdi
	movq	%r14, %rsi
	movq	%rax, %rbx
	callq	_strcpy
	movq	_units@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movq	-384(%rax,%rcx,8), %rax
	movq	%r12, %rcx
	shlq	$4, %rcx
	movq	%rbx, (%rax,%rcx)
	movl	-60(%rbp), %edx                 ## 4-byte Reload
	movl	%edx, 8(%rax,%rcx)
	movl	%r12d, 12(%rax,%rcx)
	jmp	LBB0_11
LBB0_16:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	_PCAP_ERRBUF_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	leaq	L_.str.7(%rip), %rcx
	callq	_pcap_fmt_errmsg_for_errno
	jmp	LBB0_11
LBB0_12:
	movq	%rbx, %rdi
	callq	_fclose
	xorl	%eax, %eax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	cmpb	(%rcx), %al
	sbbl	%eax, %eax
	jmp	LBB0_13
LBB0_19:
	movq	_PCAP_ERRBUF_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.2(%rip), %rdx
	movq	%r14, %rdi
	callq	_pcap_snprintf
	movl	$-1, %eax
LBB0_13:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_14
## %bb.18:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_LINE_SIZE,4,2              ## @MAX_LINE_SIZE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"/etc/hosts"

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

	.comm	_PCAP_ERRBUF_SIZE,4,2           ## @PCAP_ERRBUF_SIZE
L_.str.2:                               ## @.str.2
	.asciz	"Cannot open '/etc/hosts' for reading."

L_.str.3:                               ## @.str.3
	.asciz	"#\n\r"

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

L_.str.5:                               ## @.str.5
	.asciz	"_I_"

	.comm	_MAX_CHASSIS,4,2                ## @MAX_CHASSIS
	.comm	_MAX_GEOSLOT,4,2                ## @MAX_GEOSLOT
L_.str.6:                               ## @.str.6
	.asciz	"Invalid ACN name in '/etc/hosts'."

	.comm	_errno,4,2                      ## @errno
L_.str.7:                               ## @.str.7
	.asciz	"malloc"

	.comm	_units,8,3                      ## @units
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_acn_parse_hosts_file           ; -- Begin function acn_parse_hosts_file
	.p2align	2
_acn_parse_hosts_file:                  ; @acn_parse_hosts_file
	.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, 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	x25, _MAX_LINE_SIZE@GOTPAGE
Lloh4:
	ldr	x25, [x25, _MAX_LINE_SIZE@GOTPAGEOFF]
	ldr	w8, [x25]
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x20, x9, x8
	mov	sp, x20
	bl	_empty_unit_table
Lloh7:
	adrp	x0, l_.str@PAGE
Lloh8:
	add	x0, x0, l_.str@PAGEOFF
Lloh9:
	adrp	x1, l_.str.1@PAGE
Lloh10:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_fopen
	cbz	x0, LBB0_15
; %bb.1:
	mov	x21, x0
	ldr	w8, [x25]
	sub	w1, w8, #1
	mov	x0, x20
	mov	x2, x21
	bl	_fgets
	cbz	x0, LBB0_14
; %bb.2:
Lloh11:
	adrp	x22, l_.str.3@PAGE
Lloh12:
	add	x22, x22, l_.str.3@PAGEOFF
Lloh13:
	adrp	x23, l_.str.4@PAGE
Lloh14:
	add	x23, x23, l_.str.4@PAGEOFF
Lloh15:
	adrp	x24, l_.str.5@PAGE
Lloh16:
	add	x24, x24, l_.str.5@PAGEOFF
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
Lloh17:
	adrp	x8, _PCAP_ERRBUF_SIZE@GOTPAGE
Lloh18:
	ldr	x8, [x8, _PCAP_ERRBUF_SIZE@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	mov	x0, x19
Lloh20:
	adrp	x2, l_.str.6@PAGE
Lloh21:
	add	x2, x2, l_.str.6@PAGEOFF
	bl	_pcap_snprintf
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x25]
	sub	w1, w8, #1
	mov	x0, x20
	mov	x2, x21
	bl	_fgets
	cbz	x0, LBB0_14
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, x22
	bl	_strcspn
	strb	wzr, [x20, w0, sxtw]
	mov	x0, x20
	mov	x1, x23
	bl	_strspn
	mov	x27, x0
	mov	x0, x20
	bl	_strlen
	cmp	w27, w0
	b.eq	LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x27, x20, w27, sxtw
	mov	x0, x27
	mov	x1, x24
	bl	_strstr
	cbz	x0, LBB0_4
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x28, x0
	ldrb	w8, [x0, #4]
	cmp	w8, #95
	b.ne	LBB0_4
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x27
	mov	x1, x23
	bl	_strcspn
	strb	wzr, [x27, w0, sxtw]
	ldrsb	w8, [x28, #3]
	cmp	w8, #49
	b.lt	LBB0_3
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=1
	sub	w26, w8, #48
Lloh22:
	adrp	x8, _MAX_CHASSIS@GOTPAGE
Lloh23:
	ldr	x8, [x8, _MAX_CHASSIS@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
	cmp	w26, w8
	b.gt	LBB0_3
; %bb.10:                               ;   in Loop: Header=BB0_5 Depth=1
	ldrsb	w8, [x28, #5]
	sub	w10, w8, #48
Lloh25:
	adrp	x9, _MAX_GEOSLOT@GOTPAGE
Lloh26:
	ldr	x9, [x9, _MAX_GEOSLOT@GOTPAGEOFF]
Lloh27:
	ldr	w9, [x9]
	cmp	w8, #49
	ccmp	w10, w9, #0, ge
	b.gt	LBB0_3
; %bb.11:                               ;   in Loop: Header=BB0_5 Depth=1
	stur	w10, [x29, #-92]                ; 4-byte Folded Spill
	mov	x0, x27
	bl	_strlen
	add	w0, w0, #1
	bl	_malloc
	cbz	x0, LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	x28, x0
	mov	x1, x27
	bl	_strcpy
Lloh28:
	adrp	x8, _units@GOTPAGE
Lloh29:
	ldr	x8, [x8, _units@GOTPAGEOFF]
Lloh30:
	ldr	x8, [x8]
	ldr	x8, [x8, w26, sxtw #3]
	ldur	w9, [x29, #-92]                 ; 4-byte Folded Reload
	add	x8, x8, w9, sxtw #4
	str	x28, [x8]
	stp	w26, w9, [x8, #8]
	b	LBB0_4
LBB0_13:                                ;   in Loop: Header=BB0_5 Depth=1
Lloh31:
	adrp	x8, _PCAP_ERRBUF_SIZE@GOTPAGE
Lloh32:
	ldr	x8, [x8, _PCAP_ERRBUF_SIZE@GOTPAGEOFF]
Lloh33:
	ldr	w1, [x8]
Lloh34:
	adrp	x8, _errno@GOTPAGE
Lloh35:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh36:
	ldr	w2, [x8]
	mov	x0, x19
Lloh37:
	adrp	x3, l_.str.7@PAGE
Lloh38:
	add	x3, x3, l_.str.7@PAGEOFF
	bl	_pcap_fmt_errmsg_for_errno
	b	LBB0_4
LBB0_14:
	mov	x0, x21
	bl	_fclose
	ldrb	w8, [x19]
	cmp	w8, #0
	csetm	w0, ne
	b	LBB0_16
LBB0_15:
Lloh39:
	adrp	x8, _PCAP_ERRBUF_SIZE@GOTPAGE
Lloh40:
	ldr	x8, [x8, _PCAP_ERRBUF_SIZE@GOTPAGEOFF]
Lloh41:
	ldr	w1, [x8]
Lloh42:
	adrp	x2, l_.str.2@PAGE
Lloh43:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_pcap_snprintf
	mov	w0, #-1
LBB0_16:
	ldur	x8, [x29, #-88]
Lloh44:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh45:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh46:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_18
; %bb.17:
	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_18:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_LINE_SIZE,4,2              ; @MAX_LINE_SIZE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"/etc/hosts"

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

	.comm	_PCAP_ERRBUF_SIZE,4,2           ; @PCAP_ERRBUF_SIZE
l_.str.2:                               ; @.str.2
	.asciz	"Cannot open '/etc/hosts' for reading."

l_.str.3:                               ; @.str.3
	.asciz	"#\n\r"

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

l_.str.5:                               ; @.str.5
	.asciz	"_I_"

	.comm	_MAX_CHASSIS,4,2                ; @MAX_CHASSIS
	.comm	_MAX_GEOSLOT,4,2                ; @MAX_GEOSLOT
l_.str.6:                               ; @.str.6
	.asciz	"Invalid ACN name in '/etc/hosts'."

	.comm	_errno,4,2                      ; @errno
l_.str.7:                               ; @.str.7
	.asciz	"malloc"

	.comm	_units,8,3                      ; @units
.subsections_via_symbols
