	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pcap_process_pkts              ## -- Begin function pcap_process_pkts
	.p2align	4, 0x90
_pcap_process_pkts:                     ## @pcap_process_pkts
	.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
	movl	%r9d, %r15d
	movq	%r8, %r12
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r14
	movq	40(%rdi), %rbx
	movq	16(%rdi), %rdi
	movl	%r9d, %esi
	callq	_min
	movl	%eax, %r13d
	incl	(%rbx)
	movl	24(%r14), %edi
	movq	%r12, %rsi
	movl	%r15d, %edx
	movl	%eax, %ecx
	callq	_bpf_filter
	testq	%rax, %rax
	je	LBB0_1
## %bb.3:
	leaq	-72(%rbp), %rdi
	xorl	%esi, %esi
	callq	_gettimeofday
	movl	%r15d, -80(%rbp)
	movl	16(%r14), %eax
	cmpl	%eax, %r13d
	cmovll	%r13d, %eax
	movl	%eax, -76(%rbp)
	leaq	-80(%rbp), %rsi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rbx
	movq	%r12, %rdx
	callq	*-64(%rbp)                      ## 8-byte Folded Reload
	movl	$1, %r12d
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	cmpl	$1, %edi
	jg	LBB0_2
## %bb.4:
	callq	_PACKET_COUNT_IS_UNLIMITED
	testl	%eax, %eax
	jne	LBB0_2
## %bb.5:
	movslq	%r15d, %rax
	leaq	(%rbx,%rax,4), %rax
	movslq	%r13d, %rcx
	leaq	(%rbx,%rcx,4), %rcx
	subq	%rcx, %rax
	shrq	$2, %rax
	movl	%eax, (%r14)
	movq	%rcx, 8(%r14)
	movl	$1, %r12d
	jmp	LBB0_6
LBB0_1:
	xorl	%r12d, %r12d
LBB0_2:
	movl	$0, (%r14)
LBB0_6:
	movl	%r12d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pcap_process_pkts              ; -- Begin function pcap_process_pkts
	.p2align	2
_pcap_process_pkts:                     ; @pcap_process_pkts
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x21, x5
	mov	x20, x4
	mov	x22, x3
	mov	x25, x2
	mov	x24, x1
	mov	x19, x0
	ldr	x26, [x0, #40]
	ldr	x0, [x0, #16]
	mov	x1, x5
	bl	_min
	mov	x23, x0
	ldr	w8, [x26]
	add	w8, w8, #1
	str	w8, [x26]
	ldr	w0, [x19, #24]
	mov	x1, x20
	mov	x2, x21
	mov	x3, x23
	bl	_bpf_filter
	cbz	x0, LBB0_4
; %bb.1:
	mov	x8, sp
	add	x0, x8, #8
	mov	x1, #0
	bl	_gettimeofday
	ldr	w8, [x19, #16]
	cmp	w23, w8
	csel	w8, w23, w8, lt
	stp	w21, w8, [sp]
	mov	x1, sp
	mov	x0, x25
	mov	x2, x20
	blr	x24
	cmp	w22, #1
	b.gt	LBB0_3
; %bb.2:
	mov	x0, x22
	bl	_PACKET_COUNT_IS_UNLIMITED
	cbz	w0, LBB0_6
LBB0_3:
	mov	w0, #1
LBB0_4:
	str	wzr, [x19]
LBB0_5:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_6:
	add	x8, x20, w21, sxtw #2
	add	x9, x20, w23, sxtw #2
	sub	x8, x8, x9
	lsr	x8, x8, #2
	str	w8, [x19]
	str	x9, [x19, #8]
	mov	w0, #1
	b	LBB0_5
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
