	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pcap_setfilter_pf
_pcap_setfilter_pf:                     ## @pcap_setfilter_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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	16(%rdi), %r12
	movl	12(%rdi), %edi
	movq	_BIOCVERSION@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-48(%rbp), %rdx
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_ioctl
	testq	%rax, %rax
	js	LBB0_7
## %bb.1:
	movq	-48(%rbp), %r8
	movq	_BPF_MAJOR_VERSION@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	cmpq	%rdx, %r8
	jne	LBB0_5
## %bb.2:
	movq	-40(%rbp), %r9
	movq	_BPF_MINOR_VERSION@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	cmpq	%rcx, %r9
	jl	LBB0_6
## %bb.3:
	movl	12(%r15), %edi
	movq	_BIOCSETF@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r14d, %edx
	callq	_ioctl
	testq	%rax, %rax
	js	LBB0_11
## %bb.4:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_fprintf
	movl	$1, (%r12)
	movq	$0, (%r15)
	jmp	LBB0_10
LBB0_5:
	movq	_BPF_MINOR_VERSION@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	-40(%rbp), %r9
LBB0_6:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
LBB0_7:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_install_bpf_program
	testq	%rax, %rax
	js	LBB0_9
## %bb.8:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_fprintf
	movl	$0, (%r12)
	jmp	LBB0_10
LBB0_11:
	movl	8(%r15), %edi
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rcx
	movl	$4, %esi
	callq	_pcap_fmt_errmsg_for_errno
LBB0_9:
	movl	$-1, %ebx
LBB0_10:
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BIOCVERSION,4,2                ## @BIOCVERSION
	.comm	_BPF_MAJOR_VERSION,8,3          ## @BPF_MAJOR_VERSION
	.comm	_BPF_MINOR_VERSION,8,3          ## @BPF_MINOR_VERSION
	.comm	_BIOCSETF,4,2                   ## @BIOCSETF
	.comm	_errno,4,2                      ## @errno
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"BIOCSETF"

	.comm	_stderr,4,2                     ## @stderr
L_.str.1:                               ## @.str.1
	.asciz	"tcpdump: Using kernel BPF filter\n"

L_.str.2:                               ## @.str.2
	.asciz	"tcpdump: Requires BPF language %d.%d or higher; kernel is %d.%d\n"

L_.str.3:                               ## @.str.3
	.asciz	"tcpdump: Filtering in user process\n"

	.no_dead_strip	_pcap_setfilter_pf
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pcap_setfilter_pf
_pcap_setfilter_pf:                     ; @pcap_setfilter_pf
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	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
	mov	x20, x1
	mov	x19, x0
	ldr	x21, [x0, #16]
	ldr	w0, [x0, #12]
Lloh0:
	adrp	x8, _BIOCVERSION@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BIOCVERSION@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	add	x2, sp, #32
	bl	_ioctl
	tbnz	x0, #63, LBB0_7
; %bb.1:
	ldr	x8, [sp, #32]
Lloh3:
	adrp	x9, _BPF_MAJOR_VERSION@GOTPAGE
Lloh4:
	ldr	x9, [x9, _BPF_MAJOR_VERSION@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.2:
	ldr	x11, [sp, #40]
Lloh6:
	adrp	x10, _BPF_MINOR_VERSION@GOTPAGE
Lloh7:
	ldr	x10, [x10, _BPF_MINOR_VERSION@GOTPAGEOFF]
Lloh8:
	ldr	x10, [x10]
	cmp	x11, x10
	b.lt	LBB0_6
; %bb.3:
	ldr	w0, [x19, #12]
Lloh9:
	adrp	x8, _BIOCSETF@GOTPAGE
Lloh10:
	ldr	x8, [x8, _BIOCSETF@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x2, x20
	bl	_ioctl
	tbnz	x0, #63, LBB0_9
; %bb.4:
Lloh12:
	adrp	x8, _stderr@GOTPAGE
Lloh13:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
Lloh15:
	adrp	x1, l_.str.1@PAGE
Lloh16:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_fprintf
	mov	w0, #0
	mov	w8, #1
	str	w8, [x21]
	str	xzr, [x19]
	b	LBB0_11
LBB0_5:
Lloh17:
	adrp	x10, _BPF_MINOR_VERSION@GOTPAGE
Lloh18:
	ldr	x10, [x10, _BPF_MINOR_VERSION@GOTPAGEOFF]
Lloh19:
	ldr	x10, [x10]
	ldr	x11, [sp, #40]
LBB0_6:
Lloh20:
	adrp	x12, _stderr@GOTPAGE
Lloh21:
	ldr	x12, [x12, _stderr@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x12]
	stp	x8, x11, [sp, #16]
	stp	x9, x10, [sp]
Lloh23:
	adrp	x1, l_.str.2@PAGE
Lloh24:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_fprintf
LBB0_7:
	mov	x0, x19
	mov	x1, x20
	bl	_install_bpf_program
	tbnz	x0, #63, LBB0_10
; %bb.8:
Lloh25:
	adrp	x8, _stderr@GOTPAGE
Lloh26:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh27:
	ldr	w0, [x8]
Lloh28:
	adrp	x1, l_.str.3@PAGE
Lloh29:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_fprintf
	mov	w0, #0
	str	wzr, [x21]
	b	LBB0_11
LBB0_9:
	ldr	w0, [x19, #8]
Lloh30:
	adrp	x8, _errno@GOTPAGE
Lloh31:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh32:
	ldr	w2, [x8]
Lloh33:
	adrp	x3, l_.str@PAGE
Lloh34:
	add	x3, x3, l_.str@PAGEOFF
	mov	w1, #4
	bl	_pcap_fmt_errmsg_for_errno
LBB0_10:
	mov	w0, #-1
LBB0_11:
	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
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.cfi_endproc
                                        ; -- End function
	.comm	_BIOCVERSION,4,2                ; @BIOCVERSION
	.comm	_BPF_MAJOR_VERSION,8,3          ; @BPF_MAJOR_VERSION
	.comm	_BPF_MINOR_VERSION,8,3          ; @BPF_MINOR_VERSION
	.comm	_BIOCSETF,4,2                   ; @BIOCSETF
	.comm	_errno,4,2                      ; @errno
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"BIOCSETF"

	.comm	_stderr,4,2                     ; @stderr
l_.str.1:                               ; @.str.1
	.asciz	"tcpdump: Using kernel BPF filter\n"

l_.str.2:                               ; @.str.2
	.asciz	"tcpdump: Requires BPF language %d.%d or higher; kernel is %d.%d\n"

l_.str.3:                               ; @.str.3
	.asciz	"tcpdump: Filtering in user process\n"

	.no_dead_strip	_pcap_setfilter_pf
.subsections_via_symbols
