	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pcap_activate_pf
_pcap_activate_pf:                      ## @pcap_activate_pf
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	136(%rdi), %rbx
	movl	$-1, -36(%rbp)
	movl	104(%rdi), %edi
	movq	_O_RDWR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_pfopen
	movl	%eax, (%r15)
	cmpl	$-1, %eax
	je	LBB0_15
## %bb.1:
	testl	%eax, %eax
	js	LBB0_17
LBB0_2:
	leaq	8(%r15), %r14
	movq	8(%r15), %rdx
	movq	_MAXIMUM_SNAPLEN@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	testq	%rdx, %rdx
	jle	LBB0_4
## %bb.3:
	cmpq	%rcx, %rdx
	jle	LBB0_5
LBB0_4:
	movq	%rcx, (%r14)
LBB0_5:
	movl	$-1, (%rbx)
	movq	_ENTSTAMP@GOTPCREL(%rip), %rdx
	movq	_ENNONEXCL@GOTPCREL(%rip), %rcx
	movzwl	(%rcx), %ecx
	orw	(%rdx), %cx
	movw	%cx, -26(%rbp)
	cmpl	$0, 120(%r15)
	jne	LBB0_7
## %bb.6:
	movq	_ENBATCH@GOTPCREL(%rip), %rdx
	orw	(%rdx), %cx
	movw	%cx, -26(%rbp)
LBB0_7:
	cmpq	$0, 112(%r15)
	je	LBB0_9
## %bb.8:
	movq	_ENPROMISC@GOTPCREL(%rip), %rdx
	orw	(%rdx), %cx
	movw	%cx, -26(%rbp)
LBB0_9:
	movq	_EIOCMBIS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	leaq	-26(%rbp), %rdx
	movl	%eax, %edi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_ioctl
	testq	%rax, %rax
	js	LBB0_20
## %bb.10:
	movl	(%r15), %edi
	movq	_EIOCSETW@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-36(%rbp), %rdx
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_ioctl
	testq	%rax, %rax
	js	LBB0_21
## %bb.11:
	movl	(%r15), %edi
	movq	_EIOCDEVP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-32(%rbp), %rdx
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_ioctl
	testq	%rax, %rax
	js	LBB0_22
## %bb.12:
	movl	-32(%rbp), %ecx
	leal	-128(%rcx), %eax
	cmpl	$5, %eax
	ja	LBB0_23
## %bb.13:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_14:
	movq	_DLT_IEEE802@GOTPCREL(%rip), %rax
	jmp	LBB0_28
LBB0_15:
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_EACCES@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_17
## %bb.16:
	movl	104(%r15), %edi
	movq	_O_RDONLY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_pfopen
	movl	%eax, (%r15)
	testl	%eax, %eax
	jns	LBB0_2
LBB0_17:
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	_EACCES@GOTPCREL(%rip), %rax
	movl	92(%r15), %edi
	movl	104(%r15), %r8d
	movq	_PCAP_ERRBUF_SIZE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	cmpq	(%rax), %rdx
	jne	LBB0_19
## %bb.18:
	leaq	L_.str(%rip), %rdx
	movl	%r8d, %ecx
	callq	_pcap_snprintf
	movq	_PCAP_ERROR_PERM_DENIED@GOTPCREL(%rip), %rax
	jmp	LBB0_46
LBB0_19:
	leaq	L_.str.1(%rip), %rcx
	xorl	%eax, %eax
	callq	_pcap_fmt_errmsg_for_errno
	jmp	LBB0_45
LBB0_20:
	movl	92(%r15), %edi
	movq	_PCAP_ERRBUF_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	leaq	L_.str.2(%rip), %rcx
	jmp	LBB0_44
LBB0_21:
	movl	92(%r15), %edi
	movq	_PCAP_ERRBUF_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	leaq	L_.str.3(%rip), %rcx
	jmp	LBB0_44
LBB0_22:
	movl	92(%r15), %edi
	movq	_PCAP_ERRBUF_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	leaq	L_.str.4(%rip), %rcx
	jmp	LBB0_44
LBB0_23:
	movl	92(%r15), %edi
	movq	_PCAP_ERRBUF_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.5(%rip), %rdx
                                        ## kill: def $ecx killed $ecx killed $rcx
	callq	_pcap_snprintf
	jmp	LBB0_45
LBB0_24:
	movq	_DLT_SLIP@GOTPCREL(%rip), %rax
	jmp	LBB0_28
LBB0_25:
	movq	_DLT_PPP@GOTPCREL(%rip), %rax
	jmp	LBB0_28
LBB0_26:
	movq	_DLT_EN10MB@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 16(%r15)
	movl	$2, 24(%r15)
	jmp	LBB0_29
LBB0_27:
	movq	_DLT_FDDI@GOTPCREL(%rip), %rax
LBB0_28:
	movq	(%rax), %rax
	movq	%rax, 16(%r15)
LBB0_29:
	movq	16(%r15), %rax
	movq	_DLT_FDDI@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_31
## %bb.30:
	movq	_PCAP_FDDIPAD@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	addq	%rax, (%r14)
	jmp	LBB0_32
LBB0_31:
	xorl	%eax, %eax
LBB0_32:
	movq	%rax, 32(%r15)
	movl	(%r15), %edi
	movq	_EIOCTRUNCATE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r14d, %edx
	callq	_ioctl
	testq	%rax, %rax
	js	LBB0_38
## %bb.33:
	leaq	-64(%rbp), %rbx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$16, %edx
	callq	_memset
	movl	$37, -64(%rbp)
	movq	$0, -56(%rbp)
	movl	(%r15), %edi
	movq	_EIOCSETF@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edx
	callq	_ioctl
	testq	%rax, %rax
	js	LBB0_39
## %bb.34:
	movl	108(%r15), %eax
	testl	%eax, %eax
	je	LBB0_36
## %bb.35:
	movslq	%eax, %rcx
	imulq	$274877907, %rcx, %rcx          ## imm = 0x10624DD3
	movq	%rcx, %rdx
	shrq	$63, %rdx
	sarq	$38, %rcx
	addl	%edx, %ecx
	movl	%ecx, -48(%rbp)
	imull	$1000, %eax, %eax               ## imm = 0x3E8
	cltq
	imulq	$1125899907, %rax, %rcx         ## imm = 0x431BDE83
	movq	%rcx, %rdx
	shrq	$63, %rdx
	sarq	$50, %rcx
	addl	%edx, %ecx
	imull	$1000000, %ecx, %ecx            ## imm = 0xF4240
	subl	%ecx, %eax
	movl	%eax, -44(%rbp)
	movl	(%r15), %edi
	movq	_EIOCSRTIMEOUT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-48(%rbp), %rdx
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_ioctl
	testq	%rax, %rax
	js	LBB0_43
LBB0_36:
	movq	_BUFSPACE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%edi, 40(%r15)
	addl	24(%r15), %edi
	callq	_malloc
	movq	%rax, 96(%r15)
	testq	%rax, %rax
	je	LBB0_42
## %bb.37:
	movl	(%r15), %eax
	movl	%eax, 44(%r15)
	movq	_pcap_read_pf@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 88(%r15)
	movq	_pcap_inject_pf@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 84(%r15)
	movq	_pcap_setfilter_pf@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 80(%r15)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 64(%r15)
	movq	_pcap_getnonblock_fd@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 56(%r15)
	movq	_pcap_setnonblock_fd@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 52(%r15)
	movq	_pcap_stats_pf@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 48(%r15)
	xorl	%ebx, %ebx
	jmp	LBB0_47
LBB0_38:
	movl	92(%r15), %edi
	movq	_PCAP_ERRBUF_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	leaq	L_.str.6(%rip), %rcx
	jmp	LBB0_44
LBB0_39:
	movl	92(%r15), %edi
	movq	_PCAP_ERRBUF_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	leaq	L_.str.7(%rip), %rcx
	jmp	LBB0_44
LBB0_40:
	movq	_DLT_EN10MB@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	movq	%rax, 16(%r15)
	movl	$2, 24(%r15)
	movl	$16, %edi
	callq	_malloc
	movq	%rax, 128(%r15)
	testq	%rax, %rax
	je	LBB0_29
## %bb.41:
	movq	(%rbx), %rcx
	movq	%rcx, (%rax)
	movq	_DLT_DOCSIS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	128(%r15), %rcx
	movq	%rax, 8(%rcx)
	movl	$2, 28(%r15)
	jmp	LBB0_29
LBB0_42:
	movl	92(%r15), %edi
	movq	_PCAP_ERRBUF_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	leaq	L_.str.9(%rip), %rcx
	jmp	LBB0_44
LBB0_43:
	movl	92(%r15), %edi
	movq	_PCAP_ERRBUF_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	leaq	L_.str.8(%rip), %rcx
LBB0_44:
	xorl	%eax, %eax
	callq	_pcap_fmt_errmsg_for_errno
LBB0_45:
	movq	_PCAP_ERROR@GOTPCREL(%rip), %rax
LBB0_46:
	movl	(%rax), %ebx
	movq	%r15, %rdi
	callq	_pcap_cleanup_live_common
LBB0_47:
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_24, LBB0_24-LJTI0_0
.set L0_0_set_25, LBB0_25-LJTI0_0
.set L0_0_set_26, LBB0_26-LJTI0_0
.set L0_0_set_27, LBB0_27-LJTI0_0
.set L0_0_set_40, LBB0_40-LJTI0_0
LJTI0_0:
	.long	L0_0_set_14
	.long	L0_0_set_24
	.long	L0_0_set_25
	.long	L0_0_set_26
	.long	L0_0_set_27
	.long	L0_0_set_40
	.end_data_region
                                        ## -- End function
	.comm	_O_RDWR,4,2                     ## @O_RDWR
	.comm	_errno,8,3                      ## @errno
	.comm	_EACCES,8,3                     ## @EACCES
	.comm	_O_RDONLY,4,2                   ## @O_RDONLY
	.comm	_PCAP_ERRBUF_SIZE,4,2           ## @PCAP_ERRBUF_SIZE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"pf open: %s: Permission denied\nyour system may not be properly configured; see the packetfilter(4) man page"

	.comm	_PCAP_ERROR_PERM_DENIED,4,2     ## @PCAP_ERROR_PERM_DENIED
L_.str.1:                               ## @.str.1
	.asciz	"pf open: %s"

	.comm	_PCAP_ERROR,4,2                 ## @PCAP_ERROR
	.comm	_MAXIMUM_SNAPLEN,8,3            ## @MAXIMUM_SNAPLEN
	.comm	_ENTSTAMP,2,1                   ## @ENTSTAMP
	.comm	_ENNONEXCL,2,1                  ## @ENNONEXCL
	.comm	_ENBATCH,2,1                    ## @ENBATCH
	.comm	_ENPROMISC,2,1                  ## @ENPROMISC
	.comm	_EIOCMBIS,4,2                   ## @EIOCMBIS
L_.str.2:                               ## @.str.2
	.asciz	"EIOCMBIS"

	.comm	_EIOCSETW,4,2                   ## @EIOCSETW
L_.str.3:                               ## @.str.3
	.asciz	"EIOCSETW"

	.comm	_EIOCDEVP,4,2                   ## @EIOCDEVP
L_.str.4:                               ## @.str.4
	.asciz	"EIOCDEVP"

	.comm	_DLT_EN10MB,8,3                 ## @DLT_EN10MB
	.comm	_DLT_DOCSIS,8,3                 ## @DLT_DOCSIS
	.comm	_DLT_FDDI,8,3                   ## @DLT_FDDI
	.comm	_DLT_SLIP,8,3                   ## @DLT_SLIP
	.comm	_DLT_PPP,8,3                    ## @DLT_PPP
	.comm	_DLT_IEEE802,8,3                ## @DLT_IEEE802
L_.str.5:                               ## @.str.5
	.asciz	"unknown data-link type %u"

	.comm	_PCAP_FDDIPAD,8,3               ## @PCAP_FDDIPAD
	.comm	_EIOCTRUNCATE,4,2               ## @EIOCTRUNCATE
L_.str.6:                               ## @.str.6
	.asciz	"EIOCTRUNCATE"

	.comm	_EIOCSETF,4,2                   ## @EIOCSETF
L_.str.7:                               ## @.str.7
	.asciz	"EIOCSETF"

	.comm	_EIOCSRTIMEOUT,4,2              ## @EIOCSRTIMEOUT
L_.str.8:                               ## @.str.8
	.asciz	"EIOCSRTIMEOUT"

	.comm	_BUFSPACE,4,2                   ## @BUFSPACE
L_.str.9:                               ## @.str.9
	.asciz	"malloc"

	.comm	_pcap_read_pf,4,2               ## @pcap_read_pf
	.comm	_pcap_inject_pf,4,2             ## @pcap_inject_pf
	.comm	_pcap_setfilter_pf,4,2          ## @pcap_setfilter_pf
	.comm	_pcap_getnonblock_fd,4,2        ## @pcap_getnonblock_fd
	.comm	_pcap_setnonblock_fd,4,2        ## @pcap_setnonblock_fd
	.comm	_pcap_stats_pf,4,2              ## @pcap_stats_pf
	.comm	_ENCOPYALL,2,1                  ## @ENCOPYALL
	.no_dead_strip	_pcap_activate_pf
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pcap_activate_pf
_pcap_activate_pf:                      ; @pcap_activate_pf
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	ldr	x21, [x0, #136]
	mov	w8, #-1
	str	w8, [sp, #40]
	ldr	w0, [x0, #104]
Lloh0:
	adrp	x8, _O_RDWR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _O_RDWR@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_pfopen
	str	w0, [x19]
	cmn	w0, #1
	b.eq	LBB0_14
; %bb.1:
	tbnz	w0, #31, LBB0_16
LBB0_2:
	mov	x20, x19
	ldr	x9, [x20, #8]!
Lloh3:
	adrp	x8, _MAXIMUM_SNAPLEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAXIMUM_SNAPLEN@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x9, #1
	ccmp	x9, x8, #0, ge
	b.le	LBB0_4
; %bb.3:
	str	x8, [x20]
LBB0_4:
	mov	w8, #-1
	str	w8, [x21]
Lloh6:
	adrp	x8, _ENTSTAMP@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ENTSTAMP@GOTPAGEOFF]
	ldrh	w8, [x8]
Lloh8:
	adrp	x9, _ENNONEXCL@GOTPAGE
Lloh9:
	ldr	x9, [x9, _ENNONEXCL@GOTPAGEOFF]
	ldrh	w9, [x9]
	orr	w8, w9, w8
	strh	w8, [sp, #46]
	ldr	w9, [x19, #120]
	cbnz	w9, LBB0_6
; %bb.5:
Lloh10:
	adrp	x9, _ENBATCH@GOTPAGE
Lloh11:
	ldr	x9, [x9, _ENBATCH@GOTPAGEOFF]
	ldrh	w9, [x9]
	orr	w8, w9, w8
	strh	w8, [sp, #46]
LBB0_6:
	ldr	x9, [x19, #112]
	cbz	x9, LBB0_8
; %bb.7:
Lloh12:
	adrp	x9, _ENPROMISC@GOTPAGE
Lloh13:
	ldr	x9, [x9, _ENPROMISC@GOTPAGEOFF]
	ldrh	w9, [x9]
	orr	w8, w8, w9
	strh	w8, [sp, #46]
LBB0_8:
Lloh14:
	adrp	x8, _EIOCMBIS@GOTPAGE
Lloh15:
	ldr	x8, [x8, _EIOCMBIS@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	add	x2, sp, #46
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_ioctl
	tbnz	x0, #63, LBB0_19
; %bb.9:
	ldr	w0, [x19]
Lloh17:
	adrp	x8, _EIOCSETW@GOTPAGE
Lloh18:
	ldr	x8, [x8, _EIOCSETW@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	add	x2, sp, #40
	bl	_ioctl
	tbnz	x0, #63, LBB0_20
; %bb.10:
	ldr	w0, [x19]
Lloh20:
	adrp	x8, _EIOCDEVP@GOTPAGE
Lloh21:
	ldr	x8, [x8, _EIOCDEVP@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
	add	x2, sp, #16
	bl	_ioctl
	tbnz	x0, #63, LBB0_21
; %bb.11:
	ldr	w3, [sp, #16]
	sub	w8, w3, #128
	cmp	w8, #5
	b.hi	LBB0_22
; %bb.12:
Lloh23:
	adrp	x9, lJTI0_0@PAGE
Lloh24:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_13
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
Lloh25:
	adrp	x21, _DLT_FDDI@GOTPAGE
Lloh26:
	ldr	x21, [x21, _DLT_FDDI@GOTPAGEOFF]
	br	x10
LBB0_13:
Lloh27:
	adrp	x8, _DLT_IEEE802@GOTPAGE
Lloh28:
	ldr	x8, [x8, _DLT_IEEE802@GOTPAGEOFF]
Lloh29:
	ldr	x8, [x8]
	b	LBB0_27
LBB0_14:
Lloh30:
	adrp	x8, _errno@GOTPAGE
Lloh31:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh32:
	ldr	x8, [x8]
Lloh33:
	adrp	x9, _EACCES@GOTPAGE
Lloh34:
	ldr	x9, [x9, _EACCES@GOTPAGEOFF]
Lloh35:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_16
; %bb.15:
	ldr	w0, [x19, #104]
Lloh36:
	adrp	x8, _O_RDONLY@GOTPAGE
Lloh37:
	ldr	x8, [x8, _O_RDONLY@GOTPAGEOFF]
Lloh38:
	ldr	w1, [x8]
	bl	_pfopen
	str	w0, [x19]
                                        ; kill: def $w0 killed $w0 killed $x0 def $x0
	tbz	w0, #31, LBB0_2
LBB0_16:
Lloh39:
	adrp	x8, _errno@GOTPAGE
Lloh40:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh41:
	ldr	x2, [x8]
Lloh42:
	adrp	x8, _EACCES@GOTPAGE
Lloh43:
	ldr	x8, [x8, _EACCES@GOTPAGEOFF]
Lloh44:
	ldr	x8, [x8]
	ldr	w0, [x19, #92]
Lloh45:
	adrp	x9, _PCAP_ERRBUF_SIZE@GOTPAGE
Lloh46:
	ldr	x9, [x9, _PCAP_ERRBUF_SIZE@GOTPAGEOFF]
Lloh47:
	ldr	w1, [x9]
	ldr	w3, [x19, #104]
	cmp	x2, x8
	b.ne	LBB0_18
; %bb.17:
Lloh48:
	adrp	x2, l_.str@PAGE
Lloh49:
	add	x2, x2, l_.str@PAGEOFF
                                        ; kill: def $w3 killed $w3 killed $x3
	bl	_pcap_snprintf
Lloh50:
	adrp	x8, _PCAP_ERROR_PERM_DENIED@GOTPAGE
Lloh51:
	ldr	x8, [x8, _PCAP_ERROR_PERM_DENIED@GOTPAGEOFF]
	b	LBB0_45
LBB0_18:
	str	x3, [sp]
Lloh52:
	adrp	x3, l_.str.1@PAGE
Lloh53:
	add	x3, x3, l_.str.1@PAGEOFF
	b	LBB0_43
LBB0_19:
	ldr	w0, [x19, #92]
Lloh54:
	adrp	x8, _PCAP_ERRBUF_SIZE@GOTPAGE
Lloh55:
	ldr	x8, [x8, _PCAP_ERRBUF_SIZE@GOTPAGEOFF]
Lloh56:
	ldr	w1, [x8]
Lloh57:
	adrp	x8, _errno@GOTPAGE
Lloh58:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh59:
	ldr	x2, [x8]
Lloh60:
	adrp	x3, l_.str.2@PAGE
Lloh61:
	add	x3, x3, l_.str.2@PAGEOFF
	b	LBB0_43
LBB0_20:
	ldr	w0, [x19, #92]
Lloh62:
	adrp	x8, _PCAP_ERRBUF_SIZE@GOTPAGE
Lloh63:
	ldr	x8, [x8, _PCAP_ERRBUF_SIZE@GOTPAGEOFF]
Lloh64:
	ldr	w1, [x8]
Lloh65:
	adrp	x8, _errno@GOTPAGE
Lloh66:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh67:
	ldr	x2, [x8]
Lloh68:
	adrp	x3, l_.str.3@PAGE
Lloh69:
	add	x3, x3, l_.str.3@PAGEOFF
	b	LBB0_43
LBB0_21:
	ldr	w0, [x19, #92]
Lloh70:
	adrp	x8, _PCAP_ERRBUF_SIZE@GOTPAGE
Lloh71:
	ldr	x8, [x8, _PCAP_ERRBUF_SIZE@GOTPAGEOFF]
Lloh72:
	ldr	w1, [x8]
Lloh73:
	adrp	x8, _errno@GOTPAGE
Lloh74:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh75:
	ldr	x2, [x8]
Lloh76:
	adrp	x3, l_.str.4@PAGE
Lloh77:
	add	x3, x3, l_.str.4@PAGEOFF
	b	LBB0_43
LBB0_22:
	ldr	w0, [x19, #92]
Lloh78:
	adrp	x8, _PCAP_ERRBUF_SIZE@GOTPAGE
Lloh79:
	ldr	x8, [x8, _PCAP_ERRBUF_SIZE@GOTPAGEOFF]
Lloh80:
	ldr	w1, [x8]
Lloh81:
	adrp	x2, l_.str.5@PAGE
Lloh82:
	add	x2, x2, l_.str.5@PAGEOFF
	bl	_pcap_snprintf
	b	LBB0_44
LBB0_23:
Lloh83:
	adrp	x8, _DLT_SLIP@GOTPAGE
Lloh84:
	ldr	x8, [x8, _DLT_SLIP@GOTPAGEOFF]
Lloh85:
	ldr	x8, [x8]
	b	LBB0_27
LBB0_24:
Lloh86:
	adrp	x8, _DLT_PPP@GOTPAGE
Lloh87:
	ldr	x8, [x8, _DLT_PPP@GOTPAGEOFF]
Lloh88:
	ldr	x8, [x8]
	b	LBB0_27
LBB0_25:
Lloh89:
	adrp	x8, _DLT_EN10MB@GOTPAGE
Lloh90:
	ldr	x8, [x8, _DLT_EN10MB@GOTPAGEOFF]
Lloh91:
	ldr	x8, [x8]
	str	x8, [x19, #16]
	mov	w8, #2
	str	w8, [x19, #24]
	b	LBB0_28
LBB0_26:
	ldr	x8, [x21]
LBB0_27:
	str	x8, [x19, #16]
LBB0_28:
	ldr	x8, [x19, #16]
	ldr	x9, [x21]
	cmp	x8, x9
	b.ne	LBB0_30
; %bb.29:
Lloh92:
	adrp	x8, _PCAP_FDDIPAD@GOTPAGE
Lloh93:
	ldr	x8, [x8, _PCAP_FDDIPAD@GOTPAGEOFF]
Lloh94:
	ldr	x8, [x8]
	ldr	x9, [x20]
	add	x9, x9, x8
	str	x9, [x20]
	b	LBB0_31
LBB0_30:
	mov	x8, #0
LBB0_31:
	str	x8, [x19, #32]
	ldr	w0, [x19]
Lloh95:
	adrp	x8, _EIOCTRUNCATE@GOTPAGE
Lloh96:
	ldr	x8, [x8, _EIOCTRUNCATE@GOTPAGEOFF]
Lloh97:
	ldr	w1, [x8]
	mov	x2, x20
	bl	_ioctl
	tbnz	x0, #63, LBB0_37
; %bb.32:
	add	x0, sp, #24
	mov	w1, #0
	mov	w2, #16
	bl	_memset
	mov	w8, #37
	str	w8, [sp, #24]
	str	xzr, [sp, #32]
	ldr	w0, [x19]
Lloh98:
	adrp	x8, _EIOCSETF@GOTPAGE
Lloh99:
	ldr	x8, [x8, _EIOCSETF@GOTPAGEOFF]
Lloh100:
	ldr	w1, [x8]
	add	x2, sp, #24
	bl	_ioctl
	tbnz	x0, #63, LBB0_38
; %bb.33:
	ldr	w8, [x19, #108]
	cbz	w8, LBB0_35
; %bb.34:
	mov	w9, #1000
	mul	w9, w8, w9
	mov	w10, #56963
	movk	w10, #17179, lsl #16
	smull	x10, w9, w10
	lsr	x11, x10, #63
	asr	x10, x10, #50
	add	w10, w10, w11
	mov	w11, #16960
	movk	w11, #15, lsl #16
	msub	w9, w10, w11, w9
	mov	w10, #19923
	movk	w10, #4194, lsl #16
	smull	x8, w8, w10
	lsr	x10, x8, #63
	asr	x8, x8, #38
	add	w8, w8, w10
	stp	w8, w9, [sp, #8]
	ldr	w0, [x19]
Lloh101:
	adrp	x8, _EIOCSRTIMEOUT@GOTPAGE
Lloh102:
	ldr	x8, [x8, _EIOCSRTIMEOUT@GOTPAGEOFF]
Lloh103:
	ldr	w1, [x8]
	add	x2, sp, #8
	bl	_ioctl
	tbnz	x0, #63, LBB0_42
LBB0_35:
Lloh104:
	adrp	x8, _BUFSPACE@GOTPAGE
Lloh105:
	ldr	x8, [x8, _BUFSPACE@GOTPAGEOFF]
Lloh106:
	ldr	w8, [x8]
	str	w8, [x19, #40]
	ldr	w9, [x19, #24]
	add	w0, w9, w8
	bl	_malloc
	str	x0, [x19, #96]
	cbz	x0, LBB0_41
; %bb.36:
	mov	w20, #0
Lloh107:
	adrp	x8, _pcap_read_pf@GOTPAGE
Lloh108:
	ldr	x8, [x8, _pcap_read_pf@GOTPAGEOFF]
Lloh109:
	ldr	w8, [x8]
	str	w8, [x19, #88]
Lloh110:
	adrp	x8, _pcap_inject_pf@GOTPAGE
Lloh111:
	ldr	x8, [x8, _pcap_inject_pf@GOTPAGEOFF]
Lloh112:
	ldr	w8, [x8]
Lloh113:
	adrp	x9, _pcap_setfilter_pf@GOTPAGE
Lloh114:
	ldr	x9, [x9, _pcap_setfilter_pf@GOTPAGEOFF]
Lloh115:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #80]
Lloh116:
	adrp	x8, _pcap_getnonblock_fd@GOTPAGE
Lloh117:
	ldr	x8, [x8, _pcap_getnonblock_fd@GOTPAGEOFF]
Lloh118:
	adrp	x9, _pcap_setnonblock_fd@GOTPAGE
Lloh119:
	ldr	x9, [x9, _pcap_setnonblock_fd@GOTPAGEOFF]
Lloh120:
	ldr	w8, [x8]
Lloh121:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #52]
Lloh122:
	adrp	x8, _pcap_stats_pf@GOTPAGE
Lloh123:
	ldr	x8, [x8, _pcap_stats_pf@GOTPAGEOFF]
	ldr	w9, [x19]
Lloh124:
	ldr	w8, [x8]
	stp	w9, w8, [x19, #44]
	stp	xzr, xzr, [x19, #64]
	b	LBB0_46
LBB0_37:
	ldr	w0, [x19, #92]
Lloh125:
	adrp	x8, _PCAP_ERRBUF_SIZE@GOTPAGE
Lloh126:
	ldr	x8, [x8, _PCAP_ERRBUF_SIZE@GOTPAGEOFF]
Lloh127:
	ldr	w1, [x8]
Lloh128:
	adrp	x8, _errno@GOTPAGE
Lloh129:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh130:
	ldr	x2, [x8]
Lloh131:
	adrp	x3, l_.str.6@PAGE
Lloh132:
	add	x3, x3, l_.str.6@PAGEOFF
	b	LBB0_43
LBB0_38:
	ldr	w0, [x19, #92]
Lloh133:
	adrp	x8, _PCAP_ERRBUF_SIZE@GOTPAGE
Lloh134:
	ldr	x8, [x8, _PCAP_ERRBUF_SIZE@GOTPAGEOFF]
Lloh135:
	ldr	w1, [x8]
Lloh136:
	adrp	x8, _errno@GOTPAGE
Lloh137:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh138:
	ldr	x2, [x8]
Lloh139:
	adrp	x3, l_.str.7@PAGE
Lloh140:
	add	x3, x3, l_.str.7@PAGEOFF
	b	LBB0_43
LBB0_39:
Lloh141:
	adrp	x23, _DLT_EN10MB@GOTPAGE
Lloh142:
	ldr	x23, [x23, _DLT_EN10MB@GOTPAGEOFF]
	ldr	x8, [x23]
	str	x8, [x19, #16]
	mov	w22, #2
	str	w22, [x19, #24]
	mov	w0, #16
	bl	_malloc
	str	x0, [x19, #128]
	cbz	x0, LBB0_28
; %bb.40:
	ldr	x8, [x23]
	str	x8, [x0]
Lloh143:
	adrp	x8, _DLT_DOCSIS@GOTPAGE
Lloh144:
	ldr	x8, [x8, _DLT_DOCSIS@GOTPAGEOFF]
Lloh145:
	ldr	x8, [x8]
	ldr	x9, [x19, #128]
	str	x8, [x9, #8]
	str	w22, [x19, #28]
	b	LBB0_28
LBB0_41:
	ldr	w0, [x19, #92]
Lloh146:
	adrp	x8, _PCAP_ERRBUF_SIZE@GOTPAGE
Lloh147:
	ldr	x8, [x8, _PCAP_ERRBUF_SIZE@GOTPAGEOFF]
Lloh148:
	ldr	w1, [x8]
Lloh149:
	adrp	x8, _errno@GOTPAGE
Lloh150:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh151:
	ldr	x2, [x8]
Lloh152:
	adrp	x3, l_.str.9@PAGE
Lloh153:
	add	x3, x3, l_.str.9@PAGEOFF
	b	LBB0_43
LBB0_42:
	ldr	w0, [x19, #92]
Lloh154:
	adrp	x8, _PCAP_ERRBUF_SIZE@GOTPAGE
Lloh155:
	ldr	x8, [x8, _PCAP_ERRBUF_SIZE@GOTPAGEOFF]
Lloh156:
	ldr	w1, [x8]
Lloh157:
	adrp	x8, _errno@GOTPAGE
Lloh158:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh159:
	ldr	x2, [x8]
Lloh160:
	adrp	x3, l_.str.8@PAGE
Lloh161:
	add	x3, x3, l_.str.8@PAGEOFF
LBB0_43:
	bl	_pcap_fmt_errmsg_for_errno
LBB0_44:
Lloh162:
	adrp	x8, _PCAP_ERROR@GOTPAGE
Lloh163:
	ldr	x8, [x8, _PCAP_ERROR@GOTPAGEOFF]
LBB0_45:
	ldr	w20, [x8]
	mov	x0, x19
	bl	_pcap_cleanup_live_common
LBB0_46:
	mov	x0, x20
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGot	Lloh50, Lloh51
	.loh AdrpAdd	Lloh48, Lloh49
	.loh AdrpAdd	Lloh52, Lloh53
	.loh AdrpAdd	Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpAdd	Lloh68, Lloh69
	.loh AdrpLdrGotLdr	Lloh65, Lloh66, Lloh67
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.loh AdrpAdd	Lloh76, Lloh77
	.loh AdrpLdrGotLdr	Lloh73, Lloh74, Lloh75
	.loh AdrpLdrGotLdr	Lloh70, Lloh71, Lloh72
	.loh AdrpAdd	Lloh81, Lloh82
	.loh AdrpLdrGotLdr	Lloh78, Lloh79, Lloh80
	.loh AdrpLdrGotLdr	Lloh83, Lloh84, Lloh85
	.loh AdrpLdrGotLdr	Lloh86, Lloh87, Lloh88
	.loh AdrpLdrGotLdr	Lloh89, Lloh90, Lloh91
	.loh AdrpLdrGotLdr	Lloh92, Lloh93, Lloh94
	.loh AdrpLdrGotLdr	Lloh95, Lloh96, Lloh97
	.loh AdrpLdrGotLdr	Lloh98, Lloh99, Lloh100
	.loh AdrpLdrGotLdr	Lloh101, Lloh102, Lloh103
	.loh AdrpLdrGotLdr	Lloh104, Lloh105, Lloh106
	.loh AdrpLdrGotLdr	Lloh122, Lloh123, Lloh124
	.loh AdrpLdrGotLdr	Lloh118, Lloh119, Lloh121
	.loh AdrpLdrGotLdr	Lloh116, Lloh117, Lloh120
	.loh AdrpLdrGotLdr	Lloh113, Lloh114, Lloh115
	.loh AdrpLdrGotLdr	Lloh110, Lloh111, Lloh112
	.loh AdrpLdrGotLdr	Lloh107, Lloh108, Lloh109
	.loh AdrpAdd	Lloh131, Lloh132
	.loh AdrpLdrGotLdr	Lloh128, Lloh129, Lloh130
	.loh AdrpLdrGotLdr	Lloh125, Lloh126, Lloh127
	.loh AdrpAdd	Lloh139, Lloh140
	.loh AdrpLdrGotLdr	Lloh136, Lloh137, Lloh138
	.loh AdrpLdrGotLdr	Lloh133, Lloh134, Lloh135
	.loh AdrpLdrGot	Lloh141, Lloh142
	.loh AdrpLdrGotLdr	Lloh143, Lloh144, Lloh145
	.loh AdrpAdd	Lloh152, Lloh153
	.loh AdrpLdrGotLdr	Lloh149, Lloh150, Lloh151
	.loh AdrpLdrGotLdr	Lloh146, Lloh147, Lloh148
	.loh AdrpAdd	Lloh160, Lloh161
	.loh AdrpLdrGotLdr	Lloh157, Lloh158, Lloh159
	.loh AdrpLdrGotLdr	Lloh154, Lloh155, Lloh156
	.loh AdrpLdrGot	Lloh162, Lloh163
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_13-LBB0_13)>>2
	.byte	(LBB0_23-LBB0_13)>>2
	.byte	(LBB0_24-LBB0_13)>>2
	.byte	(LBB0_25-LBB0_13)>>2
	.byte	(LBB0_26-LBB0_13)>>2
	.byte	(LBB0_39-LBB0_13)>>2
                                        ; -- End function
	.comm	_O_RDWR,4,2                     ; @O_RDWR
	.comm	_errno,8,3                      ; @errno
	.comm	_EACCES,8,3                     ; @EACCES
	.comm	_O_RDONLY,4,2                   ; @O_RDONLY
	.comm	_PCAP_ERRBUF_SIZE,4,2           ; @PCAP_ERRBUF_SIZE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"pf open: %s: Permission denied\nyour system may not be properly configured; see the packetfilter(4) man page"

	.comm	_PCAP_ERROR_PERM_DENIED,4,2     ; @PCAP_ERROR_PERM_DENIED
l_.str.1:                               ; @.str.1
	.asciz	"pf open: %s"

	.comm	_PCAP_ERROR,4,2                 ; @PCAP_ERROR
	.comm	_MAXIMUM_SNAPLEN,8,3            ; @MAXIMUM_SNAPLEN
	.comm	_ENTSTAMP,2,1                   ; @ENTSTAMP
	.comm	_ENNONEXCL,2,1                  ; @ENNONEXCL
	.comm	_ENBATCH,2,1                    ; @ENBATCH
	.comm	_ENPROMISC,2,1                  ; @ENPROMISC
	.comm	_EIOCMBIS,4,2                   ; @EIOCMBIS
l_.str.2:                               ; @.str.2
	.asciz	"EIOCMBIS"

	.comm	_EIOCSETW,4,2                   ; @EIOCSETW
l_.str.3:                               ; @.str.3
	.asciz	"EIOCSETW"

	.comm	_EIOCDEVP,4,2                   ; @EIOCDEVP
l_.str.4:                               ; @.str.4
	.asciz	"EIOCDEVP"

	.comm	_DLT_EN10MB,8,3                 ; @DLT_EN10MB
	.comm	_DLT_DOCSIS,8,3                 ; @DLT_DOCSIS
	.comm	_DLT_FDDI,8,3                   ; @DLT_FDDI
	.comm	_DLT_SLIP,8,3                   ; @DLT_SLIP
	.comm	_DLT_PPP,8,3                    ; @DLT_PPP
	.comm	_DLT_IEEE802,8,3                ; @DLT_IEEE802
l_.str.5:                               ; @.str.5
	.asciz	"unknown data-link type %u"

	.comm	_PCAP_FDDIPAD,8,3               ; @PCAP_FDDIPAD
	.comm	_EIOCTRUNCATE,4,2               ; @EIOCTRUNCATE
l_.str.6:                               ; @.str.6
	.asciz	"EIOCTRUNCATE"

	.comm	_EIOCSETF,4,2                   ; @EIOCSETF
l_.str.7:                               ; @.str.7
	.asciz	"EIOCSETF"

	.comm	_EIOCSRTIMEOUT,4,2              ; @EIOCSRTIMEOUT
l_.str.8:                               ; @.str.8
	.asciz	"EIOCSRTIMEOUT"

	.comm	_BUFSPACE,4,2                   ; @BUFSPACE
l_.str.9:                               ; @.str.9
	.asciz	"malloc"

	.comm	_pcap_read_pf,4,2               ; @pcap_read_pf
	.comm	_pcap_inject_pf,4,2             ; @pcap_inject_pf
	.comm	_pcap_setfilter_pf,4,2          ; @pcap_setfilter_pf
	.comm	_pcap_getnonblock_fd,4,2        ; @pcap_getnonblock_fd
	.comm	_pcap_setnonblock_fd,4,2        ; @pcap_setnonblock_fd
	.comm	_pcap_stats_pf,4,2              ; @pcap_stats_pf
	.comm	_ENCOPYALL,2,1                  ; @ENCOPYALL
	.no_dead_strip	_pcap_activate_pf
.subsections_via_symbols
