	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pcap_activate_libdlpi
_pcap_activate_libdlpi:                 ## @pcap_activate_libdlpi
	.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	%rdi, %rbx
	movq	96(%rdi), %r15
	movl	72(%rdi), %edi
	movq	_DLPI_RAW@GOTPCREL(%rip), %rax
	movq	_DLPI_PASSIVE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	leaq	-44(%rbp), %rsi
	callq	_dlpi_open
	movq	_DLPI_SUCCESS@GOTPCREL(%rip), %r12
	cmpl	(%r12), %eax
	jne	LBB0_4
## %bb.1:
	movl	-44(%rbp), %edi
	movl	%edi, (%r15)
	cmpq	$0, 88(%rbx)
	je	LBB0_11
## %bb.2:
	movq	_PCAP_ERROR_RFMON_NOTSUP@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %r14d
	jmp	LBB0_30
LBB0_4:
	movq	_DLPI_ELINKNAMEINVAL@GOTPCREL(%rip), %rdx
	movq	_PCAP_ERROR_NO_SUCH_DEVICE@GOTPCREL(%rip), %rcx
	cmpl	(%rdx), %eax
	je	LBB0_10
## %bb.5:
	movq	_DLPI_ENOLINK@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %eax
	je	LBB0_10
## %bb.6:
	movq	_DL_SYSERR@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_9
## %bb.7:
	movq	_errno@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdx
	movq	_EPERM@GOTPCREL(%rip), %rsi
	movq	_PCAP_ERROR_PERM_DENIED@GOTPCREL(%rip), %rcx
	cmpq	(%rsi), %rdx
	je	LBB0_10
## %bb.8:
	movq	_EACCES@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rdx
	je	LBB0_10
LBB0_9:
	movq	_PCAP_ERROR@GOTPCREL(%rip), %rcx
LBB0_10:
	movl	(%rcx), %r14d
	movl	68(%rbx), %ecx
	movl	72(%rbx), %edi
	leaq	L_.str(%rip), %rsi
	movl	%eax, %edx
	callq	_pcap_libdlpi_err
	jmp	LBB0_31
LBB0_11:
	movq	_DLPI_ANY_SAP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	callq	_dlpi_bind
	cmpl	(%r12), %eax
	jne	LBB0_19
## %bb.12:
	movq	(%rbx), %rcx
	movq	_MAXIMUM_SNAPLEN@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	testq	%rcx, %rcx
	jle	LBB0_14
## %bb.13:
	cmpq	%rax, %rcx
	jle	LBB0_15
LBB0_14:
	movq	%rax, (%rbx)
LBB0_15:
	cmpq	$0, 80(%rbx)
	je	LBB0_20
## %bb.16:
	movq	_DL_PROMISC_PHYS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_dlpromiscon
	testl	%eax, %eax
	jns	LBB0_21
## %bb.17:
	movl	%eax, %r14d
	movq	_PCAP_ERROR_PERM_DENIED@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r14d
	jne	LBB0_30
## %bb.18:
	movq	_PCAP_ERROR_PROMISC_PERM_DENIED@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_19:
	movq	_PCAP_ERROR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r14d
	movl	68(%rbx), %ecx
	movl	72(%rbx), %edi
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_29
LBB0_20:
	movq	_DL_PROMISC_MULTI@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_dlpromiscon
	testl	%eax, %eax
	js	LBB0_33
LBB0_21:
	movq	_DL_PROMISC_SAP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_dlpromiscon
	xorl	%r14d, %r14d
	testl	%eax, %eax
	jns	LBB0_24
## %bb.22:
	cmpq	$0, 80(%rbx)
	je	LBB0_33
## %bb.23:
	movq	_PCAP_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
LBB0_24:
	movl	(%r15), %edi
	leaq	-40(%rbp), %rsi
	xorl	%edx, %edx
	callq	_dlpi_info
	cmpl	(%r12), %eax
	jne	LBB0_28
## %bb.25:
	movl	-40(%rbp), %esi
	movq	%rbx, %rdi
	callq	_pcap_process_mactype
	testq	%rax, %rax
	jne	LBB0_27
## %bb.26:
	movl	(%r15), %edi
	callq	_dlpi_fd
	movl	%eax, 60(%rbx)
	movq	(%rbx), %rsi
	movq	%rbx, %rdi
	callq	_pcap_conf_bufmod
	testq	%rax, %rax
	je	LBB0_34
LBB0_27:
	movq	_PCAP_ERROR@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_28:
	movq	_PCAP_ERROR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r14d
	movl	68(%rbx), %ecx
	movl	72(%rbx), %edi
	leaq	L_.str.2(%rip), %rsi
LBB0_29:
	movl	%eax, %edx
	callq	_pcap_libdlpi_err
LBB0_30:
	movq	%rbx, %rdi
	callq	_pcap_cleanup_libdlpi
LBB0_31:
	movl	%r14d, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_33:
	movl	%eax, %r14d
	jmp	LBB0_30
LBB0_34:
	movl	60(%rbx), %edi
	movq	_I_FLUSH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_FLUSHR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_ioctl
	testq	%rax, %rax
	je	LBB0_36
## %bb.35:
	movq	_PCAP_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movl	68(%rbx), %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
	callq	_pcap_fmt_errmsg_for_errno
	jmp	LBB0_30
LBB0_36:
	movq	%rbx, %rdi
	callq	_pcap_alloc_databuf
	testq	%rax, %rax
	jne	LBB0_27
## %bb.37:
	movl	60(%rbx), %eax
	movl	%eax, 64(%rbx)
	movq	_pcap_read_libdlpi@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 56(%rbx)
	movq	_pcap_inject_libdlpi@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 52(%rbx)
	movq	_install_bpf_program@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 48(%rbx)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 32(%rbx)
	movq	_pcap_getnonblock_fd@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rbx)
	movq	_pcap_setnonblock_fd@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%rbx)
	movq	_pcap_stats_dlpi@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
	movq	_pcap_cleanup_libdlpi@GOTPCREL(%rip), %rax
	movq	%rax, 8(%rbx)
	jmp	LBB0_31
	.cfi_endproc
                                        ## -- End function
	.comm	_DLPI_RAW,4,2                   ## @DLPI_RAW
	.comm	_DLPI_PASSIVE,4,2               ## @DLPI_PASSIVE
	.comm	_DLPI_SUCCESS,4,2               ## @DLPI_SUCCESS
	.comm	_DLPI_ELINKNAMEINVAL,4,2        ## @DLPI_ELINKNAMEINVAL
	.comm	_DLPI_ENOLINK,4,2               ## @DLPI_ENOLINK
	.comm	_PCAP_ERROR_NO_SUCH_DEVICE,4,2  ## @PCAP_ERROR_NO_SUCH_DEVICE
	.comm	_DL_SYSERR,4,2                  ## @DL_SYSERR
	.comm	_errno,8,3                      ## @errno
	.comm	_EPERM,8,3                      ## @EPERM
	.comm	_EACCES,8,3                     ## @EACCES
	.comm	_PCAP_ERROR_PERM_DENIED,4,2     ## @PCAP_ERROR_PERM_DENIED
	.comm	_PCAP_ERROR,4,2                 ## @PCAP_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"dlpi_open"

	.comm	_PCAP_ERROR_RFMON_NOTSUP,4,2    ## @PCAP_ERROR_RFMON_NOTSUP
	.comm	_DLPI_ANY_SAP,4,2               ## @DLPI_ANY_SAP
L_.str.1:                               ## @.str.1
	.asciz	"dlpi_bind"

	.comm	_MAXIMUM_SNAPLEN,8,3            ## @MAXIMUM_SNAPLEN
	.comm	_DL_PROMISC_PHYS,4,2            ## @DL_PROMISC_PHYS
	.comm	_PCAP_ERROR_PROMISC_PERM_DENIED,4,2 ## @PCAP_ERROR_PROMISC_PERM_DENIED
	.comm	_DL_PROMISC_MULTI,4,2           ## @DL_PROMISC_MULTI
	.comm	_DL_PROMISC_SAP,4,2             ## @DL_PROMISC_SAP
	.comm	_PCAP_WARNING,4,2               ## @PCAP_WARNING
L_.str.2:                               ## @.str.2
	.asciz	"dlpi_info"

	.comm	_I_FLUSH,4,2                    ## @I_FLUSH
	.comm	_FLUSHR,4,2                     ## @FLUSHR
	.comm	_PCAP_ERRBUF_SIZE,4,2           ## @PCAP_ERRBUF_SIZE
L_.str.3:                               ## @.str.3
	.asciz	"FLUSHR"

	.comm	_pcap_read_libdlpi,4,2          ## @pcap_read_libdlpi
	.comm	_pcap_inject_libdlpi,4,2        ## @pcap_inject_libdlpi
	.comm	_install_bpf_program,4,2        ## @install_bpf_program
	.comm	_pcap_getnonblock_fd,4,2        ## @pcap_getnonblock_fd
	.comm	_pcap_setnonblock_fd,4,2        ## @pcap_setnonblock_fd
	.comm	_pcap_stats_dlpi,4,2            ## @pcap_stats_dlpi
	.no_dead_strip	_pcap_activate_libdlpi
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pcap_activate_libdlpi
_pcap_activate_libdlpi:                 ; @pcap_activate_libdlpi
	.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	x19, x0
	ldr	x21, [x0, #96]
Lloh0:
	adrp	x8, _DLPI_RAW@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DLPI_RAW@GOTPAGEOFF]
	ldr	w0, [x0, #72]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _DLPI_PASSIVE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _DLPI_PASSIVE@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w2, w9, w8
	add	x1, sp, #12
	bl	_dlpi_open
Lloh6:
	adrp	x22, _DLPI_SUCCESS@GOTPAGE
Lloh7:
	ldr	x22, [x22, _DLPI_SUCCESS@GOTPAGEOFF]
	ldr	w8, [x22]
	cmp	w0, w8
	b.ne	LBB0_4
; %bb.1:
	ldr	w0, [sp, #12]
	str	w0, [x21]
	ldr	x8, [x19, #88]
	cbz	x8, LBB0_11
; %bb.2:
Lloh8:
	adrp	x8, _PCAP_ERROR_RFMON_NOTSUP@GOTPAGE
Lloh9:
	ldr	x8, [x8, _PCAP_ERROR_RFMON_NOTSUP@GOTPAGEOFF]
LBB0_3:
	ldr	w20, [x8]
	b	LBB0_30
LBB0_4:
	mov	x2, x0
Lloh10:
	adrp	x8, _DLPI_ELINKNAMEINVAL@GOTPAGE
Lloh11:
	ldr	x8, [x8, _DLPI_ELINKNAMEINVAL@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
Lloh13:
	adrp	x9, _DLPI_ENOLINK@GOTPAGE
Lloh14:
	ldr	x9, [x9, _DLPI_ENOLINK@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	cmp	w0, w8
	ccmp	w0, w9, #4, ne
	b.ne	LBB0_6
; %bb.5:
Lloh16:
	adrp	x8, _PCAP_ERROR_NO_SUCH_DEVICE@GOTPAGE
Lloh17:
	ldr	x8, [x8, _PCAP_ERROR_NO_SUCH_DEVICE@GOTPAGEOFF]
	b	LBB0_10
LBB0_6:
Lloh18:
	adrp	x8, _DL_SYSERR@GOTPAGE
Lloh19:
	ldr	x8, [x8, _DL_SYSERR@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	cmp	w2, w8
	b.ne	LBB0_9
; %bb.7:
Lloh21:
	adrp	x8, _errno@GOTPAGE
Lloh22:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh23:
	ldr	x9, [x8]
Lloh24:
	adrp	x8, _EPERM@GOTPAGE
Lloh25:
	ldr	x8, [x8, _EPERM@GOTPAGEOFF]
Lloh26:
	ldr	x10, [x8]
Lloh27:
	adrp	x8, _PCAP_ERROR_PERM_DENIED@GOTPAGE
Lloh28:
	ldr	x8, [x8, _PCAP_ERROR_PERM_DENIED@GOTPAGEOFF]
	cmp	x9, x10
	b.eq	LBB0_10
; %bb.8:
Lloh29:
	adrp	x10, _EACCES@GOTPAGE
Lloh30:
	ldr	x10, [x10, _EACCES@GOTPAGEOFF]
Lloh31:
	ldr	x10, [x10]
	cmp	x9, x10
	b.eq	LBB0_10
LBB0_9:
Lloh32:
	adrp	x8, _PCAP_ERROR@GOTPAGE
Lloh33:
	ldr	x8, [x8, _PCAP_ERROR@GOTPAGEOFF]
LBB0_10:
	ldr	w20, [x8]
	ldp	w3, w0, [x19, #68]
Lloh34:
	adrp	x1, l_.str@PAGE
Lloh35:
	add	x1, x1, l_.str@PAGEOFF
	bl	_pcap_libdlpi_err
	b	LBB0_31
LBB0_11:
Lloh36:
	adrp	x8, _DLPI_ANY_SAP@GOTPAGE
Lloh37:
	ldr	x8, [x8, _DLPI_ANY_SAP@GOTPAGEOFF]
Lloh38:
	ldr	w1, [x8]
	mov	w2, #0
	bl	_dlpi_bind
	ldr	w8, [x22]
	cmp	w0, w8
	b.ne	LBB0_18
; %bb.12:
	ldr	x9, [x19]
Lloh39:
	adrp	x8, _MAXIMUM_SNAPLEN@GOTPAGE
Lloh40:
	ldr	x8, [x8, _MAXIMUM_SNAPLEN@GOTPAGEOFF]
Lloh41:
	ldr	x8, [x8]
	cmp	x9, #1
	b.lt	LBB0_14
; %bb.13:
	cmp	x9, x8
	b.le	LBB0_15
LBB0_14:
	str	x8, [x19]
LBB0_15:
	ldr	x8, [x19, #80]
	cbz	x8, LBB0_19
; %bb.16:
Lloh42:
	adrp	x8, _DL_PROMISC_PHYS@GOTPAGE
Lloh43:
	ldr	x8, [x8, _DL_PROMISC_PHYS@GOTPAGEOFF]
Lloh44:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_dlpromiscon
	tbz	w0, #31, LBB0_20
; %bb.17:
Lloh45:
	adrp	x8, _PCAP_ERROR_PERM_DENIED@GOTPAGE
Lloh46:
	ldr	x8, [x8, _PCAP_ERROR_PERM_DENIED@GOTPAGEOFF]
Lloh47:
	ldr	w8, [x8]
Lloh48:
	adrp	x9, _PCAP_ERROR_PROMISC_PERM_DENIED@GOTPAGE
Lloh49:
	ldr	x9, [x9, _PCAP_ERROR_PROMISC_PERM_DENIED@GOTPAGEOFF]
Lloh50:
	ldr	w9, [x9]
	cmp	w0, w8
	csel	w20, w9, w0, eq
	b	LBB0_30
LBB0_18:
	mov	x2, x0
Lloh51:
	adrp	x8, _PCAP_ERROR@GOTPAGE
Lloh52:
	ldr	x8, [x8, _PCAP_ERROR@GOTPAGEOFF]
Lloh53:
	ldr	w20, [x8]
	ldp	w3, w0, [x19, #68]
Lloh54:
	adrp	x1, l_.str.1@PAGE
Lloh55:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_pcap_libdlpi_err
	b	LBB0_30
LBB0_19:
Lloh56:
	adrp	x8, _DL_PROMISC_MULTI@GOTPAGE
Lloh57:
	ldr	x8, [x8, _DL_PROMISC_MULTI@GOTPAGEOFF]
Lloh58:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_dlpromiscon
	tbnz	w0, #31, LBB0_29
LBB0_20:
Lloh59:
	adrp	x8, _DL_PROMISC_SAP@GOTPAGE
Lloh60:
	ldr	x8, [x8, _DL_PROMISC_SAP@GOTPAGEOFF]
Lloh61:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_dlpromiscon
	tbnz	w0, #31, LBB0_22
; %bb.21:
	mov	w20, #0
	b	LBB0_24
LBB0_22:
	ldr	x8, [x19, #80]
	cbz	x8, LBB0_29
; %bb.23:
Lloh62:
	adrp	x8, _PCAP_WARNING@GOTPAGE
Lloh63:
	ldr	x8, [x8, _PCAP_WARNING@GOTPAGEOFF]
Lloh64:
	ldr	w20, [x8]
LBB0_24:
	ldr	w0, [x21]
	add	x1, sp, #8
	mov	w2, #0
	bl	_dlpi_info
	ldr	w8, [x22]
	cmp	w0, w8
	b.ne	LBB0_28
; %bb.25:
	ldr	w1, [sp, #8]
	mov	x0, x19
	bl	_pcap_process_mactype
	cbnz	x0, LBB0_27
; %bb.26:
	ldr	w0, [x21]
	bl	_dlpi_fd
	str	w0, [x19, #60]
	ldr	x1, [x19]
	mov	x0, x19
	bl	_pcap_conf_bufmod
	cbz	x0, LBB0_32
LBB0_27:
Lloh65:
	adrp	x8, _PCAP_ERROR@GOTPAGE
Lloh66:
	ldr	x8, [x8, _PCAP_ERROR@GOTPAGEOFF]
	b	LBB0_3
LBB0_28:
	mov	x2, x0
Lloh67:
	adrp	x8, _PCAP_ERROR@GOTPAGE
Lloh68:
	ldr	x8, [x8, _PCAP_ERROR@GOTPAGEOFF]
Lloh69:
	ldr	w20, [x8]
	ldp	w3, w0, [x19, #68]
Lloh70:
	adrp	x1, l_.str.2@PAGE
Lloh71:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_pcap_libdlpi_err
	b	LBB0_30
LBB0_29:
	mov	x20, x0
LBB0_30:
	mov	x0, x19
	bl	_pcap_cleanup_libdlpi
LBB0_31:
	mov	x0, x20
	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
LBB0_32:
	ldr	w0, [x19, #60]
Lloh72:
	adrp	x8, _I_FLUSH@GOTPAGE
Lloh73:
	ldr	x8, [x8, _I_FLUSH@GOTPAGEOFF]
Lloh74:
	ldr	w1, [x8]
Lloh75:
	adrp	x8, _FLUSHR@GOTPAGE
Lloh76:
	ldr	x8, [x8, _FLUSHR@GOTPAGEOFF]
Lloh77:
	ldr	w2, [x8]
	bl	_ioctl
	cbz	x0, LBB0_34
; %bb.33:
Lloh78:
	adrp	x8, _PCAP_ERROR@GOTPAGE
Lloh79:
	ldr	x8, [x8, _PCAP_ERROR@GOTPAGEOFF]
Lloh80:
	ldr	w20, [x8]
	ldr	w0, [x19, #68]
Lloh81:
	adrp	x8, _PCAP_ERRBUF_SIZE@GOTPAGE
Lloh82:
	ldr	x8, [x8, _PCAP_ERRBUF_SIZE@GOTPAGEOFF]
Lloh83:
	ldr	w1, [x8]
Lloh84:
	adrp	x8, _errno@GOTPAGE
Lloh85:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh86:
	ldr	x2, [x8]
Lloh87:
	adrp	x3, l_.str.3@PAGE
Lloh88:
	add	x3, x3, l_.str.3@PAGEOFF
	bl	_pcap_fmt_errmsg_for_errno
	b	LBB0_30
LBB0_34:
	mov	x0, x19
	bl	_pcap_alloc_databuf
	cbnz	x0, LBB0_27
; %bb.35:
	ldr	w8, [x19, #60]
	str	w8, [x19, #64]
Lloh89:
	adrp	x8, _pcap_read_libdlpi@GOTPAGE
Lloh90:
	ldr	x8, [x8, _pcap_read_libdlpi@GOTPAGEOFF]
Lloh91:
	ldr	w8, [x8]
Lloh92:
	adrp	x9, _pcap_inject_libdlpi@GOTPAGE
Lloh93:
	ldr	x9, [x9, _pcap_inject_libdlpi@GOTPAGEOFF]
	str	w8, [x19, #56]
Lloh94:
	ldr	w8, [x9]
Lloh95:
	adrp	x9, _install_bpf_program@GOTPAGE
Lloh96:
	ldr	x9, [x9, _install_bpf_program@GOTPAGEOFF]
Lloh97:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #48]
	stp	xzr, xzr, [x19, #32]
Lloh98:
	adrp	x8, _pcap_getnonblock_fd@GOTPAGE
Lloh99:
	ldr	x8, [x8, _pcap_getnonblock_fd@GOTPAGEOFF]
Lloh100:
	ldr	w8, [x8]
	str	w8, [x19, #24]
Lloh101:
	adrp	x8, _pcap_setnonblock_fd@GOTPAGE
Lloh102:
	ldr	x8, [x8, _pcap_setnonblock_fd@GOTPAGEOFF]
Lloh103:
	ldr	w8, [x8]
Lloh104:
	adrp	x9, _pcap_stats_dlpi@GOTPAGE
Lloh105:
	ldr	x9, [x9, _pcap_stats_dlpi@GOTPAGEOFF]
Lloh106:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #16]
Lloh107:
	adrp	x8, _pcap_cleanup_libdlpi@GOTPAGE
Lloh108:
	ldr	x8, [x8, _pcap_cleanup_libdlpi@GOTPAGEOFF]
	str	x8, [x19, #8]
	b	LBB0_31
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpAdd	Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.loh AdrpLdrGot	Lloh65, Lloh66
	.loh AdrpAdd	Lloh70, Lloh71
	.loh AdrpLdrGotLdr	Lloh67, Lloh68, Lloh69
	.loh AdrpLdrGotLdr	Lloh75, Lloh76, Lloh77
	.loh AdrpLdrGotLdr	Lloh72, Lloh73, Lloh74
	.loh AdrpAdd	Lloh87, Lloh88
	.loh AdrpLdrGotLdr	Lloh84, Lloh85, Lloh86
	.loh AdrpLdrGotLdr	Lloh81, Lloh82, Lloh83
	.loh AdrpLdrGotLdr	Lloh78, Lloh79, Lloh80
	.loh AdrpLdrGot	Lloh107, Lloh108
	.loh AdrpLdrGotLdr	Lloh104, Lloh105, Lloh106
	.loh AdrpLdrGotLdr	Lloh101, Lloh102, Lloh103
	.loh AdrpLdrGotLdr	Lloh98, Lloh99, Lloh100
	.loh AdrpLdrGotLdr	Lloh95, Lloh96, Lloh97
	.loh AdrpLdrGotLdr	Lloh92, Lloh93, Lloh94
	.loh AdrpLdrGotLdr	Lloh89, Lloh90, Lloh91
	.cfi_endproc
                                        ; -- End function
	.comm	_DLPI_RAW,4,2                   ; @DLPI_RAW
	.comm	_DLPI_PASSIVE,4,2               ; @DLPI_PASSIVE
	.comm	_DLPI_SUCCESS,4,2               ; @DLPI_SUCCESS
	.comm	_DLPI_ELINKNAMEINVAL,4,2        ; @DLPI_ELINKNAMEINVAL
	.comm	_DLPI_ENOLINK,4,2               ; @DLPI_ENOLINK
	.comm	_PCAP_ERROR_NO_SUCH_DEVICE,4,2  ; @PCAP_ERROR_NO_SUCH_DEVICE
	.comm	_DL_SYSERR,4,2                  ; @DL_SYSERR
	.comm	_errno,8,3                      ; @errno
	.comm	_EPERM,8,3                      ; @EPERM
	.comm	_EACCES,8,3                     ; @EACCES
	.comm	_PCAP_ERROR_PERM_DENIED,4,2     ; @PCAP_ERROR_PERM_DENIED
	.comm	_PCAP_ERROR,4,2                 ; @PCAP_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"dlpi_open"

	.comm	_PCAP_ERROR_RFMON_NOTSUP,4,2    ; @PCAP_ERROR_RFMON_NOTSUP
	.comm	_DLPI_ANY_SAP,4,2               ; @DLPI_ANY_SAP
l_.str.1:                               ; @.str.1
	.asciz	"dlpi_bind"

	.comm	_MAXIMUM_SNAPLEN,8,3            ; @MAXIMUM_SNAPLEN
	.comm	_DL_PROMISC_PHYS,4,2            ; @DL_PROMISC_PHYS
	.comm	_PCAP_ERROR_PROMISC_PERM_DENIED,4,2 ; @PCAP_ERROR_PROMISC_PERM_DENIED
	.comm	_DL_PROMISC_MULTI,4,2           ; @DL_PROMISC_MULTI
	.comm	_DL_PROMISC_SAP,4,2             ; @DL_PROMISC_SAP
	.comm	_PCAP_WARNING,4,2               ; @PCAP_WARNING
l_.str.2:                               ; @.str.2
	.asciz	"dlpi_info"

	.comm	_I_FLUSH,4,2                    ; @I_FLUSH
	.comm	_FLUSHR,4,2                     ; @FLUSHR
	.comm	_PCAP_ERRBUF_SIZE,4,2           ; @PCAP_ERRBUF_SIZE
l_.str.3:                               ; @.str.3
	.asciz	"FLUSHR"

	.comm	_pcap_read_libdlpi,4,2          ; @pcap_read_libdlpi
	.comm	_pcap_inject_libdlpi,4,2        ; @pcap_inject_libdlpi
	.comm	_install_bpf_program,4,2        ; @install_bpf_program
	.comm	_pcap_getnonblock_fd,4,2        ; @pcap_getnonblock_fd
	.comm	_pcap_setnonblock_fd,4,2        ; @pcap_setnonblock_fd
	.comm	_pcap_stats_dlpi,4,2            ; @pcap_stats_dlpi
	.no_dead_strip	_pcap_activate_libdlpi
.subsections_via_symbols
