	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pfil_unlink
_pfil_unlink:                           ## @pfil_unlink
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r12
	movq	%rdi, %rbx
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	callq	_PFIL_LOCK_ASSERT
	movq	_PFIL_IN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_4
## %bb.1:
	leaq	12(%r12), %rdi
	movq	%r14, %rsi
	callq	_pfil_link_remove
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	%rax, %r15
	decl	8(%r12)
	decl	(%r14)
	jmp	LBB0_4
LBB0_3:
	xorl	%r15d, %r15d
LBB0_4:
	movq	_PFIL_OUT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_8
## %bb.5:
	leaq	4(%r12), %rdi
	movq	%r14, %rsi
	callq	_pfil_link_remove
	testq	%rax, %rax
	je	LBB0_8
## %bb.6:
	movq	%rax, %rbx
	decl	(%r12)
	decl	(%r14)
	jmp	LBB0_9
LBB0_8:
	xorl	%ebx, %ebx
LBB0_9:
	xorl	%eax, %eax
	callq	_PFIL_UNLOCK
	testq	%r15, %r15
	je	LBB0_11
## %bb.10:
	movq	_PFIL_EPOCH@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_pfil_link_free@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rsi
	callq	_epoch_call
LBB0_11:
	testq	%rbx, %rbx
	je	LBB0_13
## %bb.12:
	movq	_PFIL_EPOCH@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_pfil_link_free@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rsi
	callq	_epoch_call
LBB0_13:
	xorl	%eax, %eax
	orq	%rbx, %r15
	jne	LBB0_15
## %bb.14:
	movq	_ENOENT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_15:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PFIL_IN,4,2                    ## @PFIL_IN
	.comm	_PFIL_OUT,4,2                   ## @PFIL_OUT
	.comm	_PFIL_EPOCH,4,2                 ## @PFIL_EPOCH
	.comm	_pfil_link_free,4,2             ## @pfil_link_free
	.comm	_ENOENT,4,2                     ## @ENOENT
	.no_dead_strip	_pfil_unlink
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pfil_unlink
_pfil_unlink:                           ; @pfil_unlink
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
	bl	_PFIL_LOCK_ASSERT
	ldr	w8, [x22]
Lloh0:
	adrp	x9, _PFIL_IN@GOTPAGE
Lloh1:
	ldr	x9, [x9, _PFIL_IN@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.1:
	add	x0, x21, #12
	mov	x1, x20
	bl	_pfil_link_remove
	mov	x19, x0
	cbz	x0, LBB0_4
; %bb.2:
	ldr	w8, [x21, #8]
	sub	w8, w8, #1
	str	w8, [x21, #8]
	ldr	w8, [x20]
	sub	w8, w8, #1
	str	w8, [x20]
	b	LBB0_4
LBB0_3:
	mov	x19, #0
LBB0_4:
	ldr	w8, [x22]
Lloh3:
	adrp	x9, _PFIL_OUT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _PFIL_OUT@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_7
; %bb.5:
	add	x0, x21, #4
	mov	x1, x20
	bl	_pfil_link_remove
	mov	x22, x0
	cbz	x0, LBB0_8
; %bb.6:
	ldr	w8, [x21]
	sub	w8, w8, #1
	str	w8, [x21]
	ldr	w8, [x20]
	sub	w8, w8, #1
	str	w8, [x20]
	b	LBB0_8
LBB0_7:
	mov	x22, #0
LBB0_8:
	bl	_PFIL_UNLOCK
Lloh6:
	adrp	x20, _PFIL_EPOCH@GOTPAGE
Lloh7:
	ldr	x20, [x20, _PFIL_EPOCH@GOTPAGEOFF]
Lloh8:
	adrp	x21, _pfil_link_free@GOTPAGE
Lloh9:
	ldr	x21, [x21, _pfil_link_free@GOTPAGEOFF]
	cbz	x19, LBB0_10
; %bb.9:
	ldr	w0, [x20]
	ldr	w2, [x21]
	mov	x1, x19
	bl	_epoch_call
LBB0_10:
	cbz	x22, LBB0_12
; %bb.11:
	ldr	w0, [x20]
	ldr	w2, [x21]
	mov	x1, x22
	bl	_epoch_call
LBB0_12:
	orr	x8, x19, x22
Lloh10:
	adrp	x9, _ENOENT@GOTPAGE
Lloh11:
	ldr	x9, [x9, _ENOENT@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
	cmp	x8, #0
	csel	w0, w9, wzr, eq
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_PFIL_IN,4,2                    ; @PFIL_IN
	.comm	_PFIL_OUT,4,2                   ; @PFIL_OUT
	.comm	_PFIL_EPOCH,4,2                 ; @PFIL_EPOCH
	.comm	_pfil_link_free,4,2             ; @pfil_link_free
	.comm	_ENOENT,4,2                     ; @ENOENT
	.no_dead_strip	_pfil_unlink
.subsections_via_symbols
