	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pf_anchor_remove               ## -- Begin function pf_anchor_remove
	.p2align	4, 0x90
_pf_anchor_remove:                      ## @pf_anchor_remove
	.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
	movq	%rdi, %rbx
	movq	(%rdi), %rdi
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.1:
	movq	(%rdi), %rax
	testq	%rax, %rax
	jle	LBB0_2
## %bb.3:
	decq	%rax
	movq	%rax, (%rdi)
	jne	LBB0_5
## %bb.4:
	addq	$8, %rdi
	callq	_pf_remove_if_empty_ruleset
	jmp	LBB0_5
LBB0_2:
	leaq	L_str(%rip), %rdi
	callq	_puts
LBB0_5:
	movq	$0, (%rbx)
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_str:                                  ## @str
	.asciz	"pf_anchor_remove: broken refcount"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pf_anchor_remove               ; -- Begin function pf_anchor_remove
	.p2align	2
_pf_anchor_remove:                      ; @pf_anchor_remove
	.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]
	cbz	x8, LBB0_6
; %bb.1:
	mov	x19, x0
	ldr	x9, [x8]
	cmp	x9, #0
	b.le	LBB0_4
; %bb.2:
	subs	x9, x9, #1
	str	x9, [x8]
	b.ne	LBB0_5
; %bb.3:
	add	x0, x8, #8
	bl	_pf_remove_if_empty_ruleset
	b	LBB0_5
LBB0_4:
Lloh0:
	adrp	x0, l_str@PAGE
Lloh1:
	add	x0, x0, l_str@PAGEOFF
	bl	_puts
LBB0_5:
	str	xzr, [x19]
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_str:                                  ; @str
	.asciz	"pf_anchor_remove: broken refcount"

.subsections_via_symbols
