	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pfr_clr_astats                 ## -- Begin function pfr_clr_astats
	.p2align	4, 0x90
_pfr_clr_astats:                        ## @pfr_clr_astats
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, %r15d
	movq	%rcx, %r13
	movl	%edx, %r12d
	movq	%rsi, %rbx
	movq	%rdi, %r14
	xorl	%eax, %eax
	callq	_PF_RULES_WASSERT
	movq	_PFR_FLAG_DUMMY@GOTPCREL(%rip), %rax
	movq	_PFR_FLAG_FEEDBACK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	movl	%r15d, %edi
	callq	_ACCEPT_FLAGS
	movq	%r14, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_pfr_validate_table
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_20
LBB0_2:
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	callq	_pfr_lookup_table
	testq	%rax, %rax
	je	LBB0_19
## %bb.3:
	movq	%rax, %r13
	movq	_PFR_TFLAG_ACTIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r13)
	je	LBB0_19
## %bb.4:
	leaq	-48(%rbp), %rdi
	callq	_SLIST_INIT
	xorl	%r14d, %r14d
	testl	%r12d, %r12d
	jg	LBB0_11
## %bb.5:
	movq	_PFR_FLAG_DUMMY@GOTPCREL(%rip), %rax
LBB0_6:
	testl	%r15d, (%rax)
	jne	LBB0_8
## %bb.7:
	leaq	-48(%rbp), %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_pfr_clstats_kentries
LBB0_8:
	xorl	%eax, %eax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	testq	%rcx, %rcx
	je	LBB0_21
## %bb.9:
	movl	%r14d, (%rcx)
	jmp	LBB0_21
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_11 Depth=1
	movq	_PFR_FLAG_DUMMY@GOTPCREL(%rip), %rax
	addq	$4, %rbx
	decl	%r12d
	je	LBB0_6
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_pfr_validate_addr
	testq	%rax, %rax
	je	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_senderr
LBB0_13:                                ##   in Loop: Header=BB0_11 Depth=1
	movq	%r13, %rdi
	movq	%rbx, %rsi
	movl	$1, %edx
	callq	_pfr_lookup_addr
	movq	_PFR_FLAG_FEEDBACK@GOTPCREL(%rip), %rcx
	testl	%r15d, (%rcx)
	je	LBB0_17
## %bb.14:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	_PFR_FB_CLEARED@GOTPCREL(%rip), %rcx
	testq	%rax, %rax
	jne	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	_PFR_FB_NONE@GOTPCREL(%rip), %rcx
LBB0_16:                                ##   in Loop: Header=BB0_11 Depth=1
	movl	(%rcx), %ecx
	movl	%ecx, (%rbx)
LBB0_17:                                ##   in Loop: Header=BB0_11 Depth=1
	testq	%rax, %rax
	je	LBB0_10
## %bb.18:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	_pfrke_workq@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	leaq	-48(%rbp), %rdi
	movq	%rax, %rsi
	callq	_SLIST_INSERT_HEAD
	incl	%r14d
	jmp	LBB0_10
LBB0_19:
	movq	_ESRCH@GOTPCREL(%rip), %rax
LBB0_20:
	movl	(%rax), %eax
LBB0_21:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PFR_FLAG_DUMMY,4,2             ## @PFR_FLAG_DUMMY
	.comm	_PFR_FLAG_FEEDBACK,4,2          ## @PFR_FLAG_FEEDBACK
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_PFR_TFLAG_ACTIVE,4,2           ## @PFR_TFLAG_ACTIVE
	.comm	_ESRCH,4,2                      ## @ESRCH
	.comm	_PFR_FB_CLEARED,4,2             ## @PFR_FB_CLEARED
	.comm	_PFR_FB_NONE,4,2                ## @PFR_FB_NONE
	.comm	_pfrke_workq,4,2                ## @pfrke_workq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pfr_clr_astats                 ; -- Begin function pfr_clr_astats
	.p2align	2
_pfr_clr_astats:                        ; @pfr_clr_astats
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x4
	mov	x19, x3
	mov	x21, x2
	mov	x22, x1
	mov	x23, x0
	bl	_PF_RULES_WASSERT
Lloh0:
	adrp	x8, _PFR_FLAG_DUMMY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PFR_FLAG_DUMMY@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x25, _PFR_FLAG_FEEDBACK@GOTPAGE
Lloh4:
	ldr	x25, [x25, _PFR_FLAG_FEEDBACK@GOTPAGEOFF]
	ldr	w9, [x25]
	orr	w1, w9, w8
	mov	x0, x20
	bl	_ACCEPT_FLAGS
	mov	x0, x23
	mov	w1, #0
	mov	w2, #0
	bl	_pfr_validate_table
	cbz	x0, LBB0_2
; %bb.1:
Lloh5:
	adrp	x8, _EINVAL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	b	LBB0_20
LBB0_2:
	mov	x0, x23
	bl	_pfr_lookup_table
	cbz	x0, LBB0_13
; %bb.3:
	mov	x23, x0
	ldr	w8, [x0]
Lloh8:
	adrp	x9, _PFR_TFLAG_ACTIVE@GOTPAGE
Lloh9:
	ldr	x9, [x9, _PFR_TFLAG_ACTIVE@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_13
; %bb.4:
	str	x19, [sp]                       ; 8-byte Folded Spill
	add	x0, sp, #8
	bl	_SLIST_INIT
	cmp	w21, #1
	b.lt	LBB0_14
; %bb.5:
	mov	w26, #0
Lloh11:
	adrp	x27, _pfrke_workq@GOTPAGE
Lloh12:
	ldr	x27, [x27, _pfrke_workq@GOTPAGEOFF]
Lloh13:
	adrp	x28, _PFR_FB_CLEARED@GOTPAGE
Lloh14:
	ldr	x28, [x28, _PFR_FB_CLEARED@GOTPAGEOFF]
Lloh15:
	adrp	x24, _PFR_FB_NONE@GOTPAGE
Lloh16:
	ldr	x24, [x24, _PFR_FB_NONE@GOTPAGEOFF]
Lloh17:
	adrp	x19, _EINVAL@GOTPAGE
Lloh18:
	ldr	x19, [x19, _EINVAL@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	add	x22, x22, #4
	subs	w21, w21, #1
	b.eq	LBB0_15
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x22
	bl	_pfr_validate_addr
	cbz	x0, LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w0, [x19]
	bl	_senderr
LBB0_9:                                 ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x23
	mov	x1, x22
	mov	w2, #1
	bl	_pfr_lookup_addr
	mov	x1, x0
	ldr	w8, [x25]
	tst	w8, w20
	b.eq	LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_7 Depth=1
	cmp	x1, #0
	csel	x8, x24, x28, eq
	ldr	w8, [x8]
	str	w8, [x22]
LBB0_11:                                ;   in Loop: Header=BB0_7 Depth=1
	cbz	x1, LBB0_6
; %bb.12:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	w2, [x27]
	add	x0, sp, #8
	bl	_SLIST_INSERT_HEAD
	add	w26, w26, #1
	b	LBB0_6
LBB0_13:
Lloh19:
	adrp	x8, _ESRCH@GOTPAGE
Lloh20:
	ldr	x8, [x8, _ESRCH@GOTPAGEOFF]
Lloh21:
	ldr	w0, [x8]
	b	LBB0_20
LBB0_14:
	mov	w26, #0
LBB0_15:
Lloh22:
	adrp	x8, _PFR_FLAG_DUMMY@GOTPAGE
Lloh23:
	ldr	x8, [x8, _PFR_FLAG_DUMMY@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_18
; %bb.16:
	ldr	x8, [sp]                        ; 8-byte Folded Reload
	cbz	x8, LBB0_19
LBB0_17:
	mov	w0, #0
	str	w26, [x8]
	b	LBB0_20
LBB0_18:
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #0
	bl	_pfr_clstats_kentries
	ldr	x8, [sp]                        ; 8-byte Folded Reload
	cbnz	x8, LBB0_17
LBB0_19:
	mov	w0, #0
LBB0_20:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_PFR_FLAG_DUMMY,4,2             ; @PFR_FLAG_DUMMY
	.comm	_PFR_FLAG_FEEDBACK,4,2          ; @PFR_FLAG_FEEDBACK
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_PFR_TFLAG_ACTIVE,4,2           ; @PFR_TFLAG_ACTIVE
	.comm	_ESRCH,4,2                      ; @ESRCH
	.comm	_PFR_FB_CLEARED,4,2             ; @PFR_FB_CLEARED
	.comm	_PFR_FB_NONE,4,2                ; @PFR_FB_NONE
	.comm	_pfrke_workq,4,2                ; @pfrke_workq
.subsections_via_symbols
