	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_StorePacketFilterByTrafficLimiter ## -- Begin function StorePacketFilterByTrafficLimiter
	.p2align	4, 0x90
_StorePacketFilterByTrafficLimiter:     ## @StorePacketFilterByTrafficLimiter
	.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
	xorl	%r14d, %r14d
	testq	%rdi, %rdi
	je	LBB0_5
## %bb.1:
	movq	%rsi, %r15
	testq	%rsi, %rsi
	je	LBB0_5
## %bb.2:
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movl	$1, %r14d
	cmpl	$0, (%rax)
	je	LBB0_5
## %bb.3:
	movq	8(%rbx), %rax
	movq	(%rax), %r12
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_IsMostHighestPriorityPacket
	testq	%rax, %rax
	jne	LBB0_5
## %bb.4:
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_IntoTrafficLimiter
	imull	$1000, (%r12), %eax             ## imm = 0x3E8
	movq	_LIMITER_SAMPLING_SPAN@GOTPCREL(%rip), %rcx
	cltd
	idivl	(%rcx)
	movq	(%rbx), %rcx
	xorl	%r14d, %r14d
	cmpl	(%rcx), %eax
	setle	%r14b
LBB0_5:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LIMITER_SAMPLING_SPAN,8,3      ## @LIMITER_SAMPLING_SPAN
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_StorePacketFilterByTrafficLimiter ; -- Begin function StorePacketFilterByTrafficLimiter
	.p2align	2
_StorePacketFilterByTrafficLimiter:     ; @StorePacketFilterByTrafficLimiter
	.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
	mov	w0, #0
	cbz	x19, LBB0_6
; %bb.1:
	mov	x20, x1
	cbz	x1, LBB0_6
; %bb.2:
	ldr	x8, [x19]
	ldr	w8, [x8]
	cbz	w8, LBB0_4
; %bb.3:
	ldr	x8, [x19, #8]
	ldr	x21, [x8]
	mov	x0, x19
	mov	x1, x20
	bl	_IsMostHighestPriorityPacket
	cbz	x0, LBB0_5
LBB0_4:
	mov	w0, #1
	b	LBB0_6
LBB0_5:
	mov	x0, x21
	mov	x1, x20
	bl	_IntoTrafficLimiter
	ldr	w8, [x21]
	mov	w9, #1000
	mul	w8, w8, w9
Lloh0:
	adrp	x9, _LIMITER_SAMPLING_SPAN@GOTPAGE
Lloh1:
	ldr	x9, [x9, _LIMITER_SAMPLING_SPAN@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	sdiv	w8, w8, w9
	ldr	x9, [x19]
	ldr	w9, [x9]
	cmp	w8, w9
	cset	w0, le
LBB0_6:
	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
	.cfi_endproc
                                        ; -- End function
	.comm	_LIMITER_SAMPLING_SPAN,8,3      ; @LIMITER_SAMPLING_SPAN
.subsections_via_symbols
