	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pf_unload
_pf_unload:                             ## @pf_unload
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_pf_end_lock@GOTPCREL(%rip), %r14
	movq	%r14, %rdi
	callq	_sx_xlock
	movq	_pf_end_threads@GOTPCREL(%rip), %r15
	movl	$1, (%r15)
	movq	_pf_purge_thread@GOTPCREL(%rip), %r12
	movq	_pf_purge_proc@GOTPCREL(%rip), %r13
	leaq	L_.str(%rip), %rbx
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r12), %edi
	callq	_wakeup_one
	movl	(%r13), %edi
	movq	%r14, %rsi
	xorl	%edx, %edx
	movq	%rbx, %rcx
	xorl	%r8d, %r8d
	callq	_sx_sleep
	cmpl	$2, (%r15)
	jl	LBB0_1
## %bb.2:
	movq	_pf_end_lock@GOTPCREL(%rip), %rdi
	callq	_sx_xunlock
	movq	_pf_dev@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.3:
	callq	_destroy_dev
LBB0_4:
	xorl	%eax, %eax
	callq	_pfi_cleanup
	movq	_pf_rules_lock@GOTPCREL(%rip), %rdi
	callq	_rm_destroy
	movq	_pf_ioctl_lock@GOTPCREL(%rip), %rdi
	callq	_sx_destroy
	movq	_pf_end_lock@GOTPCREL(%rip), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_sx_destroy                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_pf_end_lock,4,2                ## @pf_end_lock
	.comm	_pf_end_threads,4,2             ## @pf_end_threads
	.comm	_pf_purge_thread,4,2            ## @pf_purge_thread
	.comm	_pf_purge_proc,4,2              ## @pf_purge_proc
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"pftmo"

	.comm	_pf_dev,8,3                     ## @pf_dev
	.comm	_pf_rules_lock,4,2              ## @pf_rules_lock
	.comm	_pf_ioctl_lock,4,2              ## @pf_ioctl_lock
	.no_dead_strip	_pf_unload
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pf_unload
_pf_unload:                             ; @pf_unload
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
Lloh0:
	adrp	x19, _pf_end_lock@GOTPAGE
Lloh1:
	ldr	x19, [x19, _pf_end_lock@GOTPAGEOFF]
	mov	x0, x19
	bl	_sx_xlock
Lloh2:
	adrp	x21, _pf_end_threads@GOTPAGE
Lloh3:
	ldr	x21, [x21, _pf_end_threads@GOTPAGEOFF]
	mov	w8, #1
	str	w8, [x21]
Lloh4:
	adrp	x22, _pf_purge_thread@GOTPAGE
Lloh5:
	ldr	x22, [x22, _pf_purge_thread@GOTPAGEOFF]
Lloh6:
	adrp	x23, _pf_purge_proc@GOTPAGE
Lloh7:
	ldr	x23, [x23, _pf_purge_proc@GOTPAGEOFF]
Lloh8:
	adrp	x20, l_.str@PAGE
Lloh9:
	add	x20, x20, l_.str@PAGEOFF
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x22]
	bl	_wakeup_one
	ldr	w0, [x23]
	mov	x1, x19
	mov	w2, #0
	mov	x3, x20
	mov	w4, #0
	bl	_sx_sleep
	ldr	w8, [x21]
	cmp	w8, #2
	b.lt	LBB0_1
; %bb.2:
Lloh10:
	adrp	x0, _pf_end_lock@GOTPAGE
Lloh11:
	ldr	x0, [x0, _pf_end_lock@GOTPAGEOFF]
	bl	_sx_xunlock
Lloh12:
	adrp	x8, _pf_dev@GOTPAGE
Lloh13:
	ldr	x8, [x8, _pf_dev@GOTPAGEOFF]
Lloh14:
	ldr	x0, [x8]
	cbz	x0, LBB0_4
; %bb.3:
	bl	_destroy_dev
LBB0_4:
	bl	_pfi_cleanup
Lloh15:
	adrp	x0, _pf_rules_lock@GOTPAGE
Lloh16:
	ldr	x0, [x0, _pf_rules_lock@GOTPAGEOFF]
	bl	_rm_destroy
Lloh17:
	adrp	x0, _pf_ioctl_lock@GOTPAGE
Lloh18:
	ldr	x0, [x0, _pf_ioctl_lock@GOTPAGEOFF]
	bl	_sx_destroy
Lloh19:
	adrp	x0, _pf_end_lock@GOTPAGE
Lloh20:
	ldr	x0, [x0, _pf_end_lock@GOTPAGEOFF]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_sx_destroy
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_pf_end_lock,4,2                ; @pf_end_lock
	.comm	_pf_end_threads,4,2             ; @pf_end_threads
	.comm	_pf_purge_thread,4,2            ; @pf_purge_thread
	.comm	_pf_purge_proc,4,2              ; @pf_purge_proc
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"pftmo"

	.comm	_pf_dev,8,3                     ; @pf_dev
	.comm	_pf_rules_lock,4,2              ; @pf_rules_lock
	.comm	_pf_ioctl_lock,4,2              ; @pf_ioctl_lock
	.no_dead_strip	_pf_unload
.subsections_via_symbols
