	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pcap_stats_snoop
_pcap_stats_snoop:                      ## @pcap_stats_snoop
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	8(%rdi), %r13
	leaq	-72(%rbp), %r12
	xorl	%r15d, %r15d
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	$32, %edx
	callq	_memset
	movl	4(%rbx), %edi
	movq	_SIOCRAWSTATS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdx
	callq	_ioctl
	testq	%rax, %rax
	js	LBB0_1
## %bb.2:
	movq	-56(%rbp), %rax
	addq	-48(%rbp), %rax
	addq	-64(%rbp), %rax
	addq	-72(%rbp), %rax
	movq	%rax, (%r13)
	movq	%rax, (%r14)
	jmp	LBB0_3
LBB0_1:
	movl	(%rbx), %edi
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rcx
	movl	$4, %esi
	callq	_pcap_fmt_errmsg_for_errno
	movl	$-1, %r15d
LBB0_3:
	movl	%r15d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SIOCRAWSTATS,4,2               ## @SIOCRAWSTATS
	.comm	_errno,4,2                      ## @errno
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"SIOCRAWSTATS"

	.no_dead_strip	_pcap_stats_snoop
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pcap_stats_snoop
_pcap_stats_snoop:                      ; @pcap_stats_snoop
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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, x1
	mov	x20, x0
	ldr	x21, [x0, #8]
	mov	x0, sp
	mov	w1, #0
	mov	w2, #32
	bl	_memset
	ldr	w0, [x20, #4]
Lloh0:
	adrp	x8, _SIOCRAWSTATS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SIOCRAWSTATS@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x2, sp
	bl	_ioctl
	tbnz	x0, #63, LBB0_2
; %bb.1:
	mov	w0, #0
	ldp	x9, x8, [sp, #16]
	ldp	x11, x10, [sp]
	add	x8, x9, x8
	add	x8, x8, x10
	add	x8, x8, x11
	str	x8, [x21]
	str	x8, [x19]
	b	LBB0_3
LBB0_2:
	ldr	w0, [x20]
Lloh3:
	adrp	x8, _errno@GOTPAGE
Lloh4:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
Lloh6:
	adrp	x3, l_.str@PAGE
Lloh7:
	add	x3, x3, l_.str@PAGEOFF
	mov	w1, #4
	bl	_pcap_fmt_errmsg_for_errno
	mov	w0, #-1
LBB0_3:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_SIOCRAWSTATS,4,2               ; @SIOCRAWSTATS
	.comm	_errno,4,2                      ; @errno
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"SIOCRAWSTATS"

	.no_dead_strip	_pcap_stats_snoop
.subsections_via_symbols
