	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pcap_activate                  ## -- Begin function pcap_activate
	.p2align	4, 0x90
_pcap_activate:                         ## @pcap_activate
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	callq	_pcap_check_activated
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_PCAP_ERROR_ACTIVATED@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	jmp	LBB0_10
LBB0_2:
	movq	%rbx, %rdi
	callq	*(%rbx)
	movl	%eax, %r14d
	testl	%eax, %eax
	js	LBB0_7
## %bb.3:
	cmpq	$0, 40(%rbx)
	je	LBB0_6
## %bb.4:
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	*8(%rbx)
	movl	%eax, %r14d
	testl	%eax, %eax
	js	LBB0_5
LBB0_6:
	movl	$1, 16(%rbx)
	jmp	LBB0_10
LBB0_7:
	movq	24(%rbx), %r15
	cmpb	$0, (%r15)
	jne	LBB0_9
## %bb.8:
	movq	_PCAP_ERRBUF_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movl	%r14d, %edi
	callq	_pcap_statustostr
	leaq	L_.str(%rip), %rdx
	movq	%r15, %rdi
	movl	%r12d, %esi
	movl	%eax, %ecx
	callq	_pcap_snprintf
	jmp	LBB0_9
LBB0_5:
	movq	%rbx, %rdi
	callq	*32(%rbx)
LBB0_9:
	movq	%rbx, %rdi
	callq	_initialize_ops
LBB0_10:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PCAP_ERROR_ACTIVATED,4,2       ## @PCAP_ERROR_ACTIVATED
	.comm	_PCAP_ERRBUF_SIZE,4,2           ## @PCAP_ERRBUF_SIZE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pcap_activate                  ; -- Begin function pcap_activate
	.p2align	2
_pcap_activate:                         ; @pcap_activate
	.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
	bl	_pcap_check_activated
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _PCAP_ERROR_ACTIVATED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PCAP_ERROR_ACTIVATED@GOTPAGEOFF]
Lloh2:
	ldr	w20, [x8]
	b	LBB0_10
LBB0_2:
	ldr	x8, [x19]
	mov	x0, x19
	blr	x8
	mov	x20, x0
	tbnz	w0, #31, LBB0_6
; %bb.3:
	ldr	x8, [x19, #40]
	cbz	x8, LBB0_5
; %bb.4:
	ldr	x8, [x19, #8]
	mov	x0, x19
	mov	w1, #1
	blr	x8
	mov	x20, x0
	tbnz	w0, #31, LBB0_8
LBB0_5:
	mov	w8, #1
	str	w8, [x19, #16]
	b	LBB0_10
LBB0_6:
	ldr	x21, [x19, #24]
	ldrb	w8, [x21]
	cbnz	w8, LBB0_9
; %bb.7:
Lloh3:
	adrp	x8, _PCAP_ERRBUF_SIZE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PCAP_ERRBUF_SIZE@GOTPAGEOFF]
Lloh5:
	ldr	w22, [x8]
	mov	x0, x20
	bl	_pcap_statustostr
	mov	x3, x0
Lloh6:
	adrp	x2, l_.str@PAGE
Lloh7:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x21
	mov	x1, x22
	bl	_pcap_snprintf
	b	LBB0_9
LBB0_8:
	ldr	x8, [x19, #32]
	mov	x0, x19
	blr	x8
LBB0_9:
	mov	x0, x19
	bl	_initialize_ops
LBB0_10:
	mov	x0, x20
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_PCAP_ERROR_ACTIVATED,4,2       ; @PCAP_ERROR_ACTIVATED
	.comm	_PCAP_ERRBUF_SIZE,4,2           ; @PCAP_ERRBUF_SIZE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s"

.subsections_via_symbols
