	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pfr_add_addrs                  ## -- Begin function pfr_add_addrs
	.p2align	4, 0x90
_pfr_add_addrs:                         ## @pfr_add_addrs
	.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	%r8d, %r13d
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
	movl	%edx, %r14d
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	_time_second@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	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	%r13d, %edi
	callq	_ACCEPT_FLAGS
	movq	_PFR_FLAG_USERIOCTL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	andl	%r13d, %edx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_pfr_validate_table
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_2:
	movl	%r14d, -68(%rbp)                ## 4-byte Spill
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_pfr_lookup_table
	testq	%rax, %rax
	je	LBB0_6
## %bb.3:
	movq	%rax, %r14
	movl	(%rax), %eax
	movq	_PFR_TFLAG_ACTIVE@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_6
## %bb.4:
	movq	_PFR_TFLAG_CONST@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_9
## %bb.5:
	movq	_EPERM@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_6:
	movq	_ESRCH@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %ebx
LBB0_8:
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movq	_V_pfr_nulltable@GOTPCREL(%rip), %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_pfr_create_ktable
	testq	%rax, %rax
	je	LBB0_32
## %bb.10:
	movq	%rax, %r12
	movl	$0, -60(%rbp)                   ## 4-byte Folded Spill
	leaq	-48(%rbp), %rdi
	callq	_SLIST_INIT
	movl	-68(%rbp), %eax                 ## 4-byte Reload
	testl	%eax, %eax
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movl	%r13d, -64(%rbp)                ## 4-byte Spill
	jle	LBB0_30
## %bb.11:
	movl	%eax, %r13d
	movl	$0, -60(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_15 Depth=1
	movq	_PFR_FB_DUPLICATE@GOTPCREL(%rip), %rax
LBB0_13:                                ##   in Loop: Header=BB0_15 Depth=1
	movq	(%rax), %rax
	movq	%rax, 8(%r15)
LBB0_14:                                ##   in Loop: Header=BB0_15 Depth=1
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	addq	$16, %r15
	decl	%r13d
	je	LBB0_30
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	callq	_pfr_validate_addr
	testq	%rax, %rax
	je	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_15 Depth=1
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_senderr
LBB0_17:                                ##   in Loop: Header=BB0_15 Depth=1
	movq	%r14, %rdi
	movq	%r15, %rsi
	movl	$1, %edx
	callq	_pfr_lookup_addr
	movq	%rax, %rbx
	movq	%r12, %rdi
	movq	%r15, %rsi
	movl	$1, %edx
	callq	_pfr_lookup_addr
	movq	_PFR_FLAG_FEEDBACK@GOTPCREL(%rip), %rcx
	movl	-64(%rbp), %edx                 ## 4-byte Reload
	testl	%edx, (%rcx)
	je	LBB0_23
## %bb.18:                              ##   in Loop: Header=BB0_15 Depth=1
	testq	%rax, %rax
	jne	LBB0_12
## %bb.19:                              ##   in Loop: Header=BB0_15 Depth=1
	testq	%rbx, %rbx
	je	LBB0_22
## %bb.20:                              ##   in Loop: Header=BB0_15 Depth=1
	movq	(%rbx), %rax
	cmpq	(%r15), %rax
	je	LBB0_28
## %bb.21:                              ##   in Loop: Header=BB0_15 Depth=1
	movq	_PFR_FB_CONFLICT@GOTPCREL(%rip), %rax
	jmp	LBB0_13
LBB0_22:                                ##   in Loop: Header=BB0_15 Depth=1
	movq	_PFR_FB_ADDED@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, 8(%r15)
	.p2align	4, 0x90
LBB0_23:                                ##   in Loop: Header=BB0_15 Depth=1
	orq	%rax, %rbx
	jne	LBB0_14
## %bb.24:                              ##   in Loop: Header=BB0_15 Depth=1
	movq	%r15, %rdi
	callq	_pfr_create_kentry
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_26
## %bb.25:                              ##   in Loop: Header=BB0_15 Depth=1
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_senderr
LBB0_26:                                ##   in Loop: Header=BB0_15 Depth=1
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_pfr_route_kentry
	testq	%rax, %rax
	je	LBB0_29
## %bb.27:                              ##   in Loop: Header=BB0_15 Depth=1
	movq	%rbx, %rdi
	callq	_pfr_destroy_kentry
LBB0_28:                                ##   in Loop: Header=BB0_15 Depth=1
	movq	_PFR_FB_NONE@GOTPCREL(%rip), %rax
	jmp	LBB0_13
LBB0_29:                                ##   in Loop: Header=BB0_15 Depth=1
	movq	_pfrke_workq@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-48(%rbp), %rdi
	movq	%rbx, %rsi
	callq	_SLIST_INSERT_HEAD
	incl	-60(%rbp)                       ## 4-byte Folded Spill
	jmp	LBB0_14
LBB0_30:
	leaq	-48(%rbp), %rsi
	movq	%r12, %rdi
	callq	_pfr_clean_node_mask
	movq	_PFR_FLAG_DUMMY@GOTPCREL(%rip), %rax
	movl	-64(%rbp), %ecx                 ## 4-byte Reload
	testl	%ecx, (%rax)
	je	LBB0_33
## %bb.31:
	leaq	-48(%rbp), %rdi
	callq	_pfr_destroy_kentries
	jmp	LBB0_34
LBB0_32:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_33:
	leaq	-48(%rbp), %rsi
	movq	%r14, %rdi
	movq	%rbx, %rdx
	callq	_pfr_insert_kentries
LBB0_34:
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	testq	%rax, %rax
	movl	-60(%rbp), %ecx                 ## 4-byte Reload
	je	LBB0_36
## %bb.35:
	movl	%ecx, (%rax)
LBB0_36:
	xorl	%ebx, %ebx
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_pfr_destroy_ktable
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_time_second,8,3                ## @time_second
	.comm	_PFR_FLAG_DUMMY,4,2             ## @PFR_FLAG_DUMMY
	.comm	_PFR_FLAG_FEEDBACK,4,2          ## @PFR_FLAG_FEEDBACK
	.comm	_PFR_FLAG_USERIOCTL,4,2         ## @PFR_FLAG_USERIOCTL
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_PFR_TFLAG_ACTIVE,4,2           ## @PFR_TFLAG_ACTIVE
	.comm	_ESRCH,4,2                      ## @ESRCH
	.comm	_PFR_TFLAG_CONST,4,2            ## @PFR_TFLAG_CONST
	.comm	_EPERM,4,2                      ## @EPERM
	.comm	_V_pfr_nulltable,4,2            ## @V_pfr_nulltable
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_PFR_FB_DUPLICATE,8,3           ## @PFR_FB_DUPLICATE
	.comm	_PFR_FB_ADDED,8,3               ## @PFR_FB_ADDED
	.comm	_PFR_FB_CONFLICT,8,3            ## @PFR_FB_CONFLICT
	.comm	_PFR_FB_NONE,8,3                ## @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_add_addrs                  ; -- Begin function pfr_add_addrs
	.p2align	2
_pfr_add_addrs:                         ; @pfr_add_addrs
	.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	x21, x4
	mov	x19, x3
	mov	x22, x2
	mov	x23, x1
	mov	x24, x0
Lloh0:
	adrp	x8, _time_second@GOTPAGE
Lloh1:
	ldr	x8, [x8, _time_second@GOTPAGEOFF]
Lloh2:
	ldr	x20, [x8]
	bl	_PF_RULES_WASSERT
Lloh3:
	adrp	x27, _PFR_FLAG_DUMMY@GOTPAGE
Lloh4:
	ldr	x27, [x27, _PFR_FLAG_DUMMY@GOTPAGEOFF]
	ldr	w8, [x27]
Lloh5:
	adrp	x28, _PFR_FLAG_FEEDBACK@GOTPAGE
Lloh6:
	ldr	x28, [x28, _PFR_FLAG_FEEDBACK@GOTPAGEOFF]
	ldr	w9, [x28]
	orr	w1, w9, w8
	mov	x0, x21
	bl	_ACCEPT_FLAGS
Lloh7:
	adrp	x8, _PFR_FLAG_USERIOCTL@GOTPAGE
Lloh8:
	ldr	x8, [x8, _PFR_FLAG_USERIOCTL@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	and	w2, w8, w21
	mov	x0, x24
	mov	w1, #0
	bl	_pfr_validate_table
	cbz	x0, LBB0_2
; %bb.1:
Lloh10:
	adrp	x8, _EINVAL@GOTPAGE
Lloh11:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_7
LBB0_2:
	mov	x0, x24
	bl	_pfr_lookup_table
	cbz	x0, LBB0_6
; %bb.3:
	mov	x24, x0
	ldr	w8, [x0]
Lloh12:
	adrp	x9, _PFR_TFLAG_ACTIVE@GOTPAGE
Lloh13:
	ldr	x9, [x9, _PFR_TFLAG_ACTIVE@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_6
; %bb.4:
Lloh15:
	adrp	x9, _PFR_TFLAG_CONST@GOTPAGE
Lloh16:
	ldr	x9, [x9, _PFR_TFLAG_CONST@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_9
; %bb.5:
Lloh18:
	adrp	x8, _EPERM@GOTPAGE
Lloh19:
	ldr	x8, [x8, _EPERM@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:
Lloh20:
	adrp	x8, _ESRCH@GOTPAGE
Lloh21:
	ldr	x8, [x8, _ESRCH@GOTPAGEOFF]
LBB0_7:
	ldr	w0, [x8]
LBB0_8:
	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
LBB0_9:
Lloh22:
	adrp	x0, _V_pfr_nulltable@GOTPAGE
Lloh23:
	ldr	x0, [x0, _V_pfr_nulltable@GOTPAGEOFF]
	mov	w1, #0
	mov	w2, #0
	bl	_pfr_create_ktable
	cbz	x0, LBB0_30
; %bb.10:
	mov	x25, x0
	add	x0, sp, #8
	bl	_SLIST_INIT
	cmp	w22, #1
	b.lt	LBB0_31
; %bb.11:
	str	wzr, [sp, #4]                   ; 4-byte Folded Spill
	b	LBB0_15
LBB0_12:                                ;   in Loop: Header=BB0_15 Depth=1
Lloh24:
	adrp	x8, _PFR_FB_DUPLICATE@GOTPAGE
Lloh25:
	ldr	x8, [x8, _PFR_FB_DUPLICATE@GOTPAGEOFF]
LBB0_13:                                ;   in Loop: Header=BB0_15 Depth=1
	ldr	x8, [x8]
	str	x8, [x23, #8]
LBB0_14:                                ;   in Loop: Header=BB0_15 Depth=1
	add	x23, x23, #16
	subs	w22, w22, #1
	b.eq	LBB0_32
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x23
	bl	_pfr_validate_addr
	cbz	x0, LBB0_17
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=1
Lloh26:
	adrp	x8, _EINVAL@GOTPAGE
Lloh27:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh28:
	ldr	w0, [x8]
	bl	_senderr
LBB0_17:                                ;   in Loop: Header=BB0_15 Depth=1
	mov	x0, x24
	mov	x1, x23
	mov	w2, #1
	bl	_pfr_lookup_addr
	mov	x26, x0
	mov	x0, x25
	mov	x1, x23
	mov	w2, #1
	bl	_pfr_lookup_addr
	ldr	w8, [x28]
	tst	w8, w21
	b.eq	LBB0_23
; %bb.18:                               ;   in Loop: Header=BB0_15 Depth=1
	cbnz	x0, LBB0_12
; %bb.19:                               ;   in Loop: Header=BB0_15 Depth=1
	cbz	x26, LBB0_22
; %bb.20:                               ;   in Loop: Header=BB0_15 Depth=1
	ldr	x8, [x26]
	ldr	x9, [x23]
	cmp	x8, x9
	b.eq	LBB0_28
; %bb.21:                               ;   in Loop: Header=BB0_15 Depth=1
Lloh29:
	adrp	x8, _PFR_FB_CONFLICT@GOTPAGE
Lloh30:
	ldr	x8, [x8, _PFR_FB_CONFLICT@GOTPAGEOFF]
	b	LBB0_13
LBB0_22:                                ;   in Loop: Header=BB0_15 Depth=1
Lloh31:
	adrp	x8, _PFR_FB_ADDED@GOTPAGE
Lloh32:
	ldr	x8, [x8, _PFR_FB_ADDED@GOTPAGEOFF]
Lloh33:
	ldr	x8, [x8]
	str	x8, [x23, #8]
LBB0_23:                                ;   in Loop: Header=BB0_15 Depth=1
	orr	x8, x26, x0
	cbnz	x8, LBB0_14
; %bb.24:                               ;   in Loop: Header=BB0_15 Depth=1
	mov	x0, x23
	bl	_pfr_create_kentry
	mov	x26, x0
	cbnz	x0, LBB0_26
; %bb.25:                               ;   in Loop: Header=BB0_15 Depth=1
Lloh34:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh35:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh36:
	ldr	w0, [x8]
	bl	_senderr
LBB0_26:                                ;   in Loop: Header=BB0_15 Depth=1
	mov	x0, x25
	mov	x1, x26
	bl	_pfr_route_kentry
	cbz	x0, LBB0_29
; %bb.27:                               ;   in Loop: Header=BB0_15 Depth=1
	mov	x0, x26
	bl	_pfr_destroy_kentry
LBB0_28:                                ;   in Loop: Header=BB0_15 Depth=1
Lloh37:
	adrp	x8, _PFR_FB_NONE@GOTPAGE
Lloh38:
	ldr	x8, [x8, _PFR_FB_NONE@GOTPAGEOFF]
	b	LBB0_13
LBB0_29:                                ;   in Loop: Header=BB0_15 Depth=1
Lloh39:
	adrp	x8, _pfrke_workq@GOTPAGE
Lloh40:
	ldr	x8, [x8, _pfrke_workq@GOTPAGEOFF]
Lloh41:
	ldr	w2, [x8]
	add	x0, sp, #8
	mov	x1, x26
	bl	_SLIST_INSERT_HEAD
	ldr	w8, [sp, #4]                    ; 4-byte Folded Reload
	add	w8, w8, #1
	str	w8, [sp, #4]                    ; 4-byte Folded Spill
	b	LBB0_14
LBB0_30:
Lloh42:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh43:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_7
LBB0_31:
	str	wzr, [sp, #4]                   ; 4-byte Folded Spill
LBB0_32:
	add	x1, sp, #8
	mov	x0, x25
	bl	_pfr_clean_node_mask
	ldr	w8, [x27]
	tst	w8, w21
	b.eq	LBB0_34
; %bb.33:
	add	x0, sp, #8
	bl	_pfr_destroy_kentries
	b	LBB0_35
LBB0_34:
	add	x1, sp, #8
	mov	x0, x24
	mov	x2, x20
	bl	_pfr_insert_kentries
LBB0_35:
	cbz	x19, LBB0_37
; %bb.36:
	ldr	w8, [sp, #4]                    ; 4-byte Folded Reload
	str	w8, [x19]
LBB0_37:
	mov	x0, x25
	mov	w1, #0
	bl	_pfr_destroy_ktable
	mov	w0, #0
	b	LBB0_8
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGot	Lloh42, Lloh43
	.cfi_endproc
                                        ; -- End function
	.comm	_time_second,8,3                ; @time_second
	.comm	_PFR_FLAG_DUMMY,4,2             ; @PFR_FLAG_DUMMY
	.comm	_PFR_FLAG_FEEDBACK,4,2          ; @PFR_FLAG_FEEDBACK
	.comm	_PFR_FLAG_USERIOCTL,4,2         ; @PFR_FLAG_USERIOCTL
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_PFR_TFLAG_ACTIVE,4,2           ; @PFR_TFLAG_ACTIVE
	.comm	_ESRCH,4,2                      ; @ESRCH
	.comm	_PFR_TFLAG_CONST,4,2            ; @PFR_TFLAG_CONST
	.comm	_EPERM,4,2                      ; @EPERM
	.comm	_V_pfr_nulltable,4,2            ; @V_pfr_nulltable
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_PFR_FB_DUPLICATE,8,3           ; @PFR_FB_DUPLICATE
	.comm	_PFR_FB_ADDED,8,3               ; @PFR_FB_ADDED
	.comm	_PFR_FB_CONFLICT,8,3            ; @PFR_FB_CONFLICT
	.comm	_PFR_FB_NONE,8,3                ; @PFR_FB_NONE
	.comm	_pfrke_workq,4,2                ; @pfrke_workq
.subsections_via_symbols
