	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pfr_insert_ktable
_pfr_insert_ktable:                     ## @pfr_insert_ktable
	.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
	xorl	%eax, %eax
	callq	_PF_RULES_WASSERT
	movq	_pfr_ktablehead@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_V_pfr_ktables@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdx
	callq	_RB_INSERT
	movq	_V_pfr_ktable_cnt@GOTPCREL(%rip), %rax
	incl	(%rax)
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	movq	8(%rdi), %rax
	movq	_PFR_REFCNT_ANCHOR@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %edx
	leal	1(%rdx), %esi
	movl	%esi, (%rax,%rcx,4)
	testl	%edx, %edx
	je	LBB0_3
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_3:
	movq	_PFR_TFLAG_REFDANCHOR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	orl	(%rdi), %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_pfr_setflags_ktable            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_pfr_ktablehead,4,2             ## @pfr_ktablehead
	.comm	_V_pfr_ktables,4,2              ## @V_pfr_ktables
	.comm	_V_pfr_ktable_cnt,4,2           ## @V_pfr_ktable_cnt
	.comm	_PFR_REFCNT_ANCHOR,8,3          ## @PFR_REFCNT_ANCHOR
	.comm	_PFR_TFLAG_REFDANCHOR,4,2       ## @PFR_TFLAG_REFDANCHOR
	.no_dead_strip	_pfr_insert_ktable
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pfr_insert_ktable
_pfr_insert_ktable:                     ; @pfr_insert_ktable
	.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
	mov	x19, x0
	bl	_PF_RULES_WASSERT
Lloh0:
	adrp	x8, _pfr_ktablehead@GOTPAGE
Lloh1:
	ldr	x8, [x8, _pfr_ktablehead@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x1, _V_pfr_ktables@GOTPAGE
Lloh4:
	ldr	x1, [x1, _V_pfr_ktables@GOTPAGEOFF]
	mov	x2, x19
	bl	_RB_INSERT
Lloh5:
	adrp	x8, _V_pfr_ktable_cnt@GOTPAGE
Lloh6:
	ldr	x8, [x8, _V_pfr_ktable_cnt@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
	ldr	x0, [x19]
	cbz	x0, LBB0_2
; %bb.1:
	ldr	x8, [x0, #8]
Lloh7:
	adrp	x9, _PFR_REFCNT_ANCHOR@GOTPAGE
Lloh8:
	ldr	x9, [x9, _PFR_REFCNT_ANCHOR@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	lsl	x9, x9, #2
	ldr	w10, [x8, x9]
	add	w11, w10, #1
	str	w11, [x8, x9]
	cbz	w10, LBB0_3
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_3:
	ldr	w8, [x0]
Lloh10:
	adrp	x9, _PFR_TFLAG_REFDANCHOR@GOTPAGE
Lloh11:
	ldr	x9, [x9, _PFR_TFLAG_REFDANCHOR@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
	orr	w1, w9, w8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_pfr_setflags_ktable
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_pfr_ktablehead,4,2             ; @pfr_ktablehead
	.comm	_V_pfr_ktables,4,2              ; @V_pfr_ktables
	.comm	_V_pfr_ktable_cnt,4,2           ; @V_pfr_ktable_cnt
	.comm	_PFR_REFCNT_ANCHOR,8,3          ; @PFR_REFCNT_ANCHOR
	.comm	_PFR_TFLAG_REFDANCHOR,4,2       ; @PFR_TFLAG_REFDANCHOR
	.no_dead_strip	_pfr_insert_ktable
.subsections_via_symbols
