	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pcap_inject_bpf
_pcap_inject_bpf:                       ## @pcap_inject_bpf
	.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	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movl	4(%rdi), %edi
	callq	_write
	cmpl	$-1, %eax
	jne	LBB0_8
## %bb.1:
	movq	_errno@GOTPCREL(%rip), %r12
	movq	(%r12), %rdx
	movq	_EAFNOSUPPORT@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdx
	jne	LBB0_6
## %bb.2:
	movl	$0, -36(%rbp)
	movl	4(%rbx), %edi
	movq	_BIOCSHDRCMPLT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-36(%rbp), %rdx
	callq	_ioctl
	cmpl	$-1, %eax
	je	LBB0_3
## %bb.4:
	movl	4(%rbx), %edi
	movq	%r15, %rsi
	movq	%r14, %rdx
	callq	_write
	cmpl	$-1, %eax
	jne	LBB0_8
## %bb.5:
	movq	(%r12), %rdx
LBB0_6:
	movl	(%rbx), %edi
	movq	_PCAP_ERRBUF_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rcx
	jmp	LBB0_7
LBB0_3:
	movl	(%rbx), %edi
	movq	_PCAP_ERRBUF_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	(%r12), %rdx
	leaq	L_.str(%rip), %rcx
LBB0_7:
	callq	_pcap_fmt_errmsg_for_errno
	movq	_PCAP_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_8:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_errno,8,3                      ## @errno
	.comm	_EAFNOSUPPORT,8,3               ## @EAFNOSUPPORT
	.comm	_BIOCSHDRCMPLT,4,2              ## @BIOCSHDRCMPLT
	.comm	_PCAP_ERRBUF_SIZE,4,2           ## @PCAP_ERRBUF_SIZE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"send: can't turn off BIOCSHDRCMPLT"

	.comm	_PCAP_ERROR,4,2                 ## @PCAP_ERROR
L_.str.1:                               ## @.str.1
	.asciz	"send"

	.no_dead_strip	_pcap_inject_bpf
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pcap_inject_bpf
_pcap_inject_bpf:                       ; @pcap_inject_bpf
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	ldr	w0, [x0, #4]
	bl	_write
	cmn	w0, #1
	b.ne	LBB0_8
; %bb.1:
Lloh0:
	adrp	x22, _errno@GOTPAGE
Lloh1:
	ldr	x22, [x22, _errno@GOTPAGEOFF]
	ldr	x2, [x22]
Lloh2:
	adrp	x8, _EAFNOSUPPORT@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EAFNOSUPPORT@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	cmp	x2, x8
	b.ne	LBB0_5
; %bb.2:
	str	wzr, [sp, #12]
	ldr	w0, [x19, #4]
Lloh5:
	adrp	x8, _BIOCSHDRCMPLT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _BIOCSHDRCMPLT@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	add	x2, sp, #12
	bl	_ioctl
	cmn	w0, #1
	b.eq	LBB0_6
; %bb.3:
	ldr	w0, [x19, #4]
	mov	x1, x21
	mov	x2, x20
	bl	_write
	cmn	w0, #1
	b.ne	LBB0_8
; %bb.4:
	ldr	x2, [x22]
LBB0_5:
	ldr	w0, [x19]
Lloh8:
	adrp	x8, _PCAP_ERRBUF_SIZE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _PCAP_ERRBUF_SIZE@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
Lloh11:
	adrp	x3, l_.str.1@PAGE
Lloh12:
	add	x3, x3, l_.str.1@PAGEOFF
	b	LBB0_7
LBB0_6:
	ldr	w0, [x19]
Lloh13:
	adrp	x8, _PCAP_ERRBUF_SIZE@GOTPAGE
Lloh14:
	ldr	x8, [x8, _PCAP_ERRBUF_SIZE@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	ldr	x2, [x22]
Lloh16:
	adrp	x3, l_.str@PAGE
Lloh17:
	add	x3, x3, l_.str@PAGEOFF
LBB0_7:
	bl	_pcap_fmt_errmsg_for_errno
Lloh18:
	adrp	x8, _PCAP_ERROR@GOTPAGE
Lloh19:
	ldr	x8, [x8, _PCAP_ERROR@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
LBB0_8:
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_errno,8,3                      ; @errno
	.comm	_EAFNOSUPPORT,8,3               ; @EAFNOSUPPORT
	.comm	_BIOCSHDRCMPLT,4,2              ; @BIOCSHDRCMPLT
	.comm	_PCAP_ERRBUF_SIZE,4,2           ; @PCAP_ERRBUF_SIZE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"send: can't turn off BIOCSHDRCMPLT"

	.comm	_PCAP_ERROR,4,2                 ; @PCAP_ERROR
l_.str.1:                               ; @.str.1
	.asciz	"send"

	.no_dead_strip	_pcap_inject_bpf
.subsections_via_symbols
