	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pcap_activate_sita
_pcap_activate_sita:                    ## @pcap_activate_sita
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	cmpq	$0, 56(%rdi)
	je	LBB0_2
## %bb.1:
	movq	_PCAP_ERROR_RFMON_NOTSUP@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_2:
	movq	%rdi, %rbx
	movq	_pcap_inject_acn@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 104(%rdi)
	movq	_pcap_setfilter_acn@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 100(%rdi)
	movq	_pcap_setdirection_acn@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 96(%rdi)
	movq	$0, 88(%rdi)
	movq	_pcap_getnonblock_fd@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 84(%rdi)
	movq	_pcap_setnonblock_fd@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 80(%rdi)
	movq	_pcap_cleanup_acn@GOTPCREL(%rip), %rax
	movq	%rax, 72(%rdi)
	movq	_pcap_read_acn@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 68(%rdi)
	movq	_pcap_stats_acn@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 64(%rdi)
	movl	36(%rdi), %esi
	movl	48(%rdi), %edi
	leaq	44(%rbx), %rdx
	callq	_acn_open_live
	cmpl	$-1, %eax
	je	LBB0_9
## %bb.3:
	movq	(%rbx), %rdi
	movq	_MAXIMUM_SNAPLEN@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	testq	%rdi, %rdi
	jle	LBB0_5
## %bb.4:
	cmpq	%rcx, %rdi
	jle	LBB0_6
LBB0_5:
	movq	%rcx, (%rbx)
	movq	%rcx, %rdi
LBB0_6:
	movl	%eax, 8(%rbx)
	movq	%rdi, 16(%rbx)
	addq	24(%rbx), %rdi
	callq	_malloc
	movl	%eax, 40(%rbx)
	testl	%eax, %eax
	je	LBB0_8
## %bb.7:
	movl	8(%rbx), %eax
	movl	%eax, 32(%rbx)
	xorl	%eax, %eax
	jmp	LBB0_11
LBB0_8:
	movl	36(%rbx), %edi
	movq	_PCAP_ERRBUF_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rcx
	callq	_pcap_fmt_errmsg_for_errno
	movq	%rbx, %rdi
	callq	_pcap_cleanup_acn
LBB0_9:
	movq	_PCAP_ERROR@GOTPCREL(%rip), %rax
LBB0_10:
	movl	(%rax), %eax
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PCAP_ERROR_RFMON_NOTSUP,4,2    ## @PCAP_ERROR_RFMON_NOTSUP
	.comm	_pcap_inject_acn,4,2            ## @pcap_inject_acn
	.comm	_pcap_setfilter_acn,4,2         ## @pcap_setfilter_acn
	.comm	_pcap_setdirection_acn,4,2      ## @pcap_setdirection_acn
	.comm	_pcap_getnonblock_fd,4,2        ## @pcap_getnonblock_fd
	.comm	_pcap_setnonblock_fd,4,2        ## @pcap_setnonblock_fd
	.comm	_pcap_read_acn,4,2              ## @pcap_read_acn
	.comm	_pcap_stats_acn,4,2             ## @pcap_stats_acn
	.comm	_PCAP_ERROR,4,2                 ## @PCAP_ERROR
	.comm	_MAXIMUM_SNAPLEN,8,3            ## @MAXIMUM_SNAPLEN
	.comm	_PCAP_ERRBUF_SIZE,4,2           ## @PCAP_ERRBUF_SIZE
	.comm	_errno,4,2                      ## @errno
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"malloc"

	.no_dead_strip	_pcap_activate_sita
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pcap_activate_sita
_pcap_activate_sita:                    ; @pcap_activate_sita
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	x8, [x0, #56]
	cbz	x8, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _PCAP_ERROR_RFMON_NOTSUP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PCAP_ERROR_RFMON_NOTSUP@GOTPAGEOFF]
	b	LBB0_10
LBB0_2:
	mov	x19, x0
Lloh2:
	adrp	x8, _pcap_inject_acn@GOTPAGE
Lloh3:
	ldr	x8, [x8, _pcap_inject_acn@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x9, _pcap_setfilter_acn@GOTPAGE
Lloh6:
	ldr	x9, [x9, _pcap_setfilter_acn@GOTPAGEOFF]
	str	w8, [x0, #104]
Lloh7:
	ldr	w8, [x9]
Lloh8:
	adrp	x9, _pcap_setdirection_acn@GOTPAGE
Lloh9:
	ldr	x9, [x9, _pcap_setdirection_acn@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	stp	w9, w8, [x0, #96]
	str	xzr, [x0, #88]
Lloh11:
	adrp	x8, _pcap_getnonblock_fd@GOTPAGE
Lloh12:
	ldr	x8, [x8, _pcap_getnonblock_fd@GOTPAGEOFF]
Lloh13:
	adrp	x9, _pcap_setnonblock_fd@GOTPAGE
Lloh14:
	ldr	x9, [x9, _pcap_setnonblock_fd@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
Lloh16:
	ldr	w9, [x9]
	stp	w9, w8, [x0, #80]
Lloh17:
	adrp	x8, _pcap_cleanup_acn@GOTPAGE
Lloh18:
	ldr	x8, [x8, _pcap_cleanup_acn@GOTPAGEOFF]
	str	x8, [x0, #72]
Lloh19:
	adrp	x8, _pcap_read_acn@GOTPAGE
Lloh20:
	ldr	x8, [x8, _pcap_read_acn@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
Lloh22:
	adrp	x9, _pcap_stats_acn@GOTPAGE
Lloh23:
	ldr	x9, [x9, _pcap_stats_acn@GOTPAGEOFF]
Lloh24:
	ldr	w9, [x9]
	stp	w9, w8, [x0, #64]
	ldr	w0, [x0, #48]
	add	x2, x19, #44
	ldr	w1, [x19, #36]
	bl	_acn_open_live
	cmn	w0, #1
	b.eq	LBB0_9
; %bb.3:
	ldr	x8, [x19]
Lloh25:
	adrp	x9, _MAXIMUM_SNAPLEN@GOTPAGE
Lloh26:
	ldr	x9, [x9, _MAXIMUM_SNAPLEN@GOTPAGEOFF]
Lloh27:
	ldr	x9, [x9]
	cmp	x8, #1
	b.lt	LBB0_5
; %bb.4:
	cmp	x8, x9
	b.le	LBB0_6
LBB0_5:
	str	x9, [x19]
	mov	x8, x9
LBB0_6:
	str	w0, [x19, #8]
	str	x8, [x19, #16]
	ldr	x9, [x19, #24]
	add	x0, x9, x8
	bl	_malloc
	str	w0, [x19, #40]
	cbz	w0, LBB0_8
; %bb.7:
	mov	w0, #0
	ldr	w8, [x19, #8]
	str	w8, [x19, #32]
	b	LBB0_11
LBB0_8:
	ldr	w0, [x19, #36]
Lloh28:
	adrp	x8, _PCAP_ERRBUF_SIZE@GOTPAGE
Lloh29:
	ldr	x8, [x8, _PCAP_ERRBUF_SIZE@GOTPAGEOFF]
Lloh30:
	ldr	w1, [x8]
Lloh31:
	adrp	x8, _errno@GOTPAGE
Lloh32:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh33:
	ldr	w2, [x8]
Lloh34:
	adrp	x3, l_.str@PAGE
Lloh35:
	add	x3, x3, l_.str@PAGEOFF
	bl	_pcap_fmt_errmsg_for_errno
	mov	x0, x19
	bl	_pcap_cleanup_acn
LBB0_9:
Lloh36:
	adrp	x8, _PCAP_ERROR@GOTPAGE
Lloh37:
	ldr	x8, [x8, _PCAP_ERROR@GOTPAGEOFF]
LBB0_10:
	ldr	w0, [x8]
LBB0_11:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh15
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh36, Lloh37
	.cfi_endproc
                                        ; -- End function
	.comm	_PCAP_ERROR_RFMON_NOTSUP,4,2    ; @PCAP_ERROR_RFMON_NOTSUP
	.comm	_pcap_inject_acn,4,2            ; @pcap_inject_acn
	.comm	_pcap_setfilter_acn,4,2         ; @pcap_setfilter_acn
	.comm	_pcap_setdirection_acn,4,2      ; @pcap_setdirection_acn
	.comm	_pcap_getnonblock_fd,4,2        ; @pcap_getnonblock_fd
	.comm	_pcap_setnonblock_fd,4,2        ; @pcap_setnonblock_fd
	.comm	_pcap_read_acn,4,2              ; @pcap_read_acn
	.comm	_pcap_stats_acn,4,2             ; @pcap_stats_acn
	.comm	_PCAP_ERROR,4,2                 ; @PCAP_ERROR
	.comm	_MAXIMUM_SNAPLEN,8,3            ; @MAXIMUM_SNAPLEN
	.comm	_PCAP_ERRBUF_SIZE,4,2           ; @PCAP_ERRBUF_SIZE
	.comm	_errno,4,2                      ; @errno
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"malloc"

	.no_dead_strip	_pcap_activate_sita
.subsections_via_symbols
