	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pf_load
_pf_load:                               ## @pf_load
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_pf_rules_lock@GOTPCREL(%rip), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_rm_init
	movq	_pf_ioctl_lock@GOTPCREL(%rip), %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_sx_init
	movq	_pf_end_lock@GOTPCREL(%rip), %rdi
	leaq	L_.str.2(%rip), %rsi
	callq	_sx_init
	xorl	%eax, %eax
	callq	_pf_mtag_initialize
	movq	_UID_ROOT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_GID_WHEEL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_PF_NAME@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	_pf_cdevsw@GOTPCREL(%rip), %rdi
	xorl	%esi, %esi
	movl	$384, %r8d                      ## imm = 0x180
	callq	_make_dev
	movq	_pf_dev@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	_pf_end_threads@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_pf_purge_thread@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_pf_purge_proc@GOTPCREL(%rip), %rdx
	leaq	L_.str.3(%rip), %r9
	xorl	%esi, %esi
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_kproc_create
	testl	%eax, %eax
	je	LBB0_3
## %bb.4:
	popq	%rbp
	retq
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbp
	retq
LBB0_3:
	xorl	%eax, %eax
	callq	_pfi_initialize
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_pf_rules_lock,4,2              ## @pf_rules_lock
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"pf rulesets"

	.comm	_pf_ioctl_lock,4,2              ## @pf_ioctl_lock
L_.str.1:                               ## @.str.1
	.asciz	"pf ioctl"

	.comm	_pf_end_lock,4,2                ## @pf_end_lock
L_.str.2:                               ## @.str.2
	.asciz	"pf end thread"

	.comm	_pf_cdevsw,4,2                  ## @pf_cdevsw
	.comm	_UID_ROOT,4,2                   ## @UID_ROOT
	.comm	_GID_WHEEL,4,2                  ## @GID_WHEEL
	.comm	_PF_NAME,4,2                    ## @PF_NAME
	.comm	_pf_dev,8,3                     ## @pf_dev
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_pf_end_threads,8,3             ## @pf_end_threads
	.comm	_pf_purge_thread,4,2            ## @pf_purge_thread
	.comm	_pf_purge_proc,4,2              ## @pf_purge_proc
L_.str.3:                               ## @.str.3
	.asciz	"pf purge"

	.no_dead_strip	_pf_load
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pf_load
_pf_load:                               ; @pf_load
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x0, _pf_rules_lock@GOTPAGE
Lloh1:
	ldr	x0, [x0, _pf_rules_lock@GOTPAGEOFF]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_rm_init
Lloh4:
	adrp	x0, _pf_ioctl_lock@GOTPAGE
Lloh5:
	ldr	x0, [x0, _pf_ioctl_lock@GOTPAGEOFF]
Lloh6:
	adrp	x1, l_.str.1@PAGE
Lloh7:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_sx_init
Lloh8:
	adrp	x0, _pf_end_lock@GOTPAGE
Lloh9:
	ldr	x0, [x0, _pf_end_lock@GOTPAGEOFF]
Lloh10:
	adrp	x1, l_.str.2@PAGE
Lloh11:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_sx_init
	bl	_pf_mtag_initialize
Lloh12:
	adrp	x8, _UID_ROOT@GOTPAGE
Lloh13:
	ldr	x8, [x8, _UID_ROOT@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
Lloh15:
	adrp	x8, _GID_WHEEL@GOTPAGE
Lloh16:
	ldr	x8, [x8, _GID_WHEEL@GOTPAGEOFF]
Lloh17:
	ldr	w3, [x8]
Lloh18:
	adrp	x8, _PF_NAME@GOTPAGE
Lloh19:
	ldr	x8, [x8, _PF_NAME@GOTPAGEOFF]
Lloh20:
	ldr	w5, [x8]
Lloh21:
	adrp	x0, _pf_cdevsw@GOTPAGE
Lloh22:
	ldr	x0, [x0, _pf_cdevsw@GOTPAGEOFF]
	mov	w1, #0
	mov	w4, #384
	bl	_make_dev
Lloh23:
	adrp	x8, _pf_dev@GOTPAGE
Lloh24:
	ldr	x8, [x8, _pf_dev@GOTPAGEOFF]
Lloh25:
	str	x0, [x8]
	cbz	x0, LBB0_3
; %bb.1:
Lloh26:
	adrp	x8, _pf_end_threads@GOTPAGE
Lloh27:
	ldr	x8, [x8, _pf_end_threads@GOTPAGEOFF]
Lloh28:
	str	xzr, [x8]
Lloh29:
	adrp	x8, _pf_purge_thread@GOTPAGE
Lloh30:
	ldr	x8, [x8, _pf_purge_thread@GOTPAGEOFF]
Lloh31:
	ldr	w0, [x8]
Lloh32:
	adrp	x2, _pf_purge_proc@GOTPAGE
Lloh33:
	ldr	x2, [x2, _pf_purge_proc@GOTPAGEOFF]
Lloh34:
	adrp	x5, l_.str.3@PAGE
Lloh35:
	add	x5, x5, l_.str.3@PAGEOFF
	mov	x1, #0
	mov	w3, #0
	mov	w4, #0
	bl	_kproc_create
	cbz	w0, LBB0_4
; %bb.2:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_3:
Lloh36:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh37:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh38:
	ldr	w0, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_4:
	bl	_pfi_initialize
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotStr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotStr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.cfi_endproc
                                        ; -- End function
	.comm	_pf_rules_lock,4,2              ; @pf_rules_lock
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"pf rulesets"

	.comm	_pf_ioctl_lock,4,2              ; @pf_ioctl_lock
l_.str.1:                               ; @.str.1
	.asciz	"pf ioctl"

	.comm	_pf_end_lock,4,2                ; @pf_end_lock
l_.str.2:                               ; @.str.2
	.asciz	"pf end thread"

	.comm	_pf_cdevsw,4,2                  ; @pf_cdevsw
	.comm	_UID_ROOT,4,2                   ; @UID_ROOT
	.comm	_GID_WHEEL,4,2                  ; @GID_WHEEL
	.comm	_PF_NAME,4,2                    ; @PF_NAME
	.comm	_pf_dev,8,3                     ; @pf_dev
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_pf_end_threads,8,3             ; @pf_end_threads
	.comm	_pf_purge_thread,4,2            ; @pf_purge_thread
	.comm	_pf_purge_proc,4,2              ; @pf_purge_proc
l_.str.3:                               ; @.str.3
	.asciz	"pf purge"

	.no_dead_strip	_pf_load
.subsections_via_symbols
