	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pcap_ether_hostton             ## -- Begin function pcap_ether_hostton
	.p2align	4, 0x90
_pcap_ether_hostton:                    ## @pcap_ether_hostton
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	cmpl	$0, _pcap_ether_hostton.init(%rip)
	je	LBB0_3
## %bb.1:
	movq	_pcap_ether_hostton.fp(%rip), %rdi
	testq	%rdi, %rdi
	je	LBB0_11
## %bb.2:
	callq	_rewind
	jmp	LBB0_4
LBB0_3:
	movq	_PCAP_ETHERS_FILE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_fopen
	movq	%rax, _pcap_ether_hostton.fp(%rip)
	incl	_pcap_ether_hostton.init(%rip)
	testq	%rax, %rax
	je	LBB0_11
LBB0_4:
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	_pcap_ether_hostton.fp(%rip), %rdi
	callq	_pcap_next_etherent
	testq	%rax, %rax
	je	LBB0_12
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	%rax, %rbx
	movl	4(%rax), %edi
	movq	%r15, %rsi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_5
## %bb.7:
	movl	$6, %edi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_11
## %bb.8:
	movq	%rax, %r14
	movl	(%rbx), %esi
	movq	%rax, %rdi
	movl	$6, %edx
	callq	_memcpy
	jmp	LBB0_12
LBB0_11:
	xorl	%r14d, %r14d
LBB0_12:
	movq	%r14, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_pcap_ether_hostton.fp,8,3 ## @pcap_ether_hostton.fp
.zerofill __DATA,__bss,_pcap_ether_hostton.init,4,2 ## @pcap_ether_hostton.init
	.comm	_PCAP_ETHERS_FILE,4,2           ## @PCAP_ETHERS_FILE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"r"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pcap_ether_hostton             ; -- Begin function pcap_ether_hostton
	.p2align	2
_pcap_ether_hostton:                    ; @pcap_ether_hostton
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
	adrp	x20, _pcap_ether_hostton.init@PAGE
	ldr	w8, [x20, _pcap_ether_hostton.init@PAGEOFF]
	adrp	x21, _pcap_ether_hostton.fp@PAGE
	cbz	w8, LBB0_3
; %bb.1:
	ldr	x0, [x21, _pcap_ether_hostton.fp@PAGEOFF]
	cbz	x0, LBB0_8
; %bb.2:
	bl	_rewind
	b	LBB0_4
LBB0_3:
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
	str	x0, [x21, _pcap_ether_hostton.fp@PAGEOFF]
	ldr	w8, [x20, _pcap_ether_hostton.init@PAGEOFF]
	add	w8, w8, #1
	str	w8, [x20, _pcap_ether_hostton.init@PAGEOFF]
	cbz	x0, LBB0_8
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x21, _pcap_ether_hostton.fp@PAGEOFF]
	bl	_pcap_next_etherent
	cbz	x0, LBB0_8
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x20, x0
	ldr	w0, [x0, #4]
	mov	x1, x19
	bl	_strcmp
	cbnz	x0, LBB0_4
; %bb.6:
	mov	w0, #6
	bl	_malloc
	mov	x19, x0
	cbz	x0, LBB0_9
; %bb.7:
	ldr	w1, [x20]
	mov	x0, x19
	mov	w2, #6
	bl	_memcpy
	b	LBB0_9
LBB0_8:
	mov	x19, #0
LBB0_9:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_pcap_ether_hostton.fp,8,3 ; @pcap_ether_hostton.fp
.zerofill __DATA,__bss,_pcap_ether_hostton.init,4,2 ; @pcap_ether_hostton.init
	.comm	_PCAP_ETHERS_FILE,4,2           ; @PCAP_ETHERS_FILE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"r"

.subsections_via_symbols
