	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function init_etherarray
_init_etherarray:                       ## @init_etherarray
	.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	%rdi, %r12
	movq	_PCAP_ETHERS_FILE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_fopen
	testq	%rax, %rax
	je	LBB0_7
## %bb.1:
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_pcap_next_etherent
	testq	%rax, %rax
	je	LBB0_6
## %bb.2:
	movq	%rax, %rbx
	leaq	L_.str.1(%rip), %r15
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	%r14, %rdi
	callq	_pcap_next_etherent
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_6
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%rbx), %rsi
	movq	%r12, %rdi
	callq	_lookup_emem
	movq	%rax, %r13
	movq	(%rbx), %rdi
	callq	_strdup
	movq	%rax, (%r13)
	testq	%rax, %rax
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	*(%r12)
	jmp	LBB0_5
LBB0_6:
	movq	%r14, %rdi
	callq	_fclose
LBB0_7:
	movq	_etherlist@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	cmpq	$0, (%rbx)
	je	LBB0_12
## %bb.8:
	addq	$16, %rbx
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_9 Depth=1
	cmpq	$0, (%rbx)
	leaq	16(%rbx), %rbx
	je	LBB0_12
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	-8(%rbx), %rsi
	movq	%r12, %rdi
	callq	_lookup_emem
	cmpq	$0, (%rax)
	jne	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	-16(%rbx), %rcx
	movq	%rcx, (%rax)
	jmp	LBB0_11
LBB0_12:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PCAP_ETHERS_FILE,4,2           ## @PCAP_ETHERS_FILE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"r"

L_.str.1:                               ## @.str.1
	.asciz	"init_etherarray: strdup(ep->addr)"

	.comm	_etherlist,8,3                  ## @etherlist
	.no_dead_strip	_init_etherarray
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function init_etherarray
_init_etherarray:                       ; @init_etherarray
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, _PCAP_ETHERS_FILE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PCAP_ETHERS_FILE@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fopen
	cbz	x0, LBB0_7
; %bb.1:
	mov	x20, x0
	bl	_pcap_next_etherent
	cbz	x0, LBB0_6
; %bb.2:
	mov	x22, x0
Lloh5:
	adrp	x21, l_.str.1@PAGE
Lloh6:
	add	x21, x21, l_.str.1@PAGEOFF
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x20
	bl	_pcap_next_etherent
	mov	x22, x0
	cbz	x0, LBB0_6
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x1, [x22, #8]
	mov	x0, x19
	bl	_lookup_emem
	mov	x23, x0
	ldr	x0, [x22]
	bl	_strdup
	str	x0, [x23]
	cbnz	x0, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x19]
	mov	x0, x19
	mov	x1, x21
	blr	x8
	b	LBB0_3
LBB0_6:
	mov	x0, x20
	bl	_fclose
LBB0_7:
Lloh7:
	adrp	x8, _etherlist@GOTPAGE
Lloh8:
	ldr	x8, [x8, _etherlist@GOTPAGEOFF]
Lloh9:
	ldr	x8, [x8]
	ldr	x9, [x8]
	cbz	x9, LBB0_12
; %bb.8:
	add	x20, x8, #16
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=1
	ldr	x8, [x20], #16
	cbz	x8, LBB0_12
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldur	x1, [x20, #-8]
	mov	x0, x19
	bl	_lookup_emem
	ldr	x8, [x0]
	cbnz	x8, LBB0_9
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	ldur	x8, [x20, #-16]
	str	x8, [x0]
	b	LBB0_9
LBB0_12:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_PCAP_ETHERS_FILE,4,2           ; @PCAP_ETHERS_FILE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"r"

l_.str.1:                               ; @.str.1
	.asciz	"init_etherarray: strdup(ep->addr)"

	.comm	_etherlist,8,3                  ; @etherlist
	.no_dead_strip	_init_etherarray
.subsections_via_symbols
