	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_securityfs_remove              ## -- Begin function securityfs_remove
	.p2align	4, 0x90
_securityfs_remove:                     ## @securityfs_remove
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	testq	%rdi, %rdi
	je	LBB0_11
## %bb.1:
	movq	%rdi, %rbx
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_2
LBB0_11:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_2:
	movq	8(%rbx), %r14
	testq	%r14, %r14
	je	LBB0_11
## %bb.3:
	movq	(%r14), %rdi
	testq	%rdi, %rdi
	je	LBB0_11
## %bb.4:
	callq	_mutex_lock
	movq	%rbx, %rdi
	callq	_positive
	testq	%rax, %rax
	je	LBB0_10
## %bb.5:
	movq	(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_10
## %bb.6:
	movl	4(%rax), %edi
	callq	_S_ISDIR
	movq	(%r14), %rdi
	movq	%rbx, %rsi
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	callq	_simple_rmdir
	jmp	LBB0_9
LBB0_8:
	callq	_simple_unlink
LBB0_9:
	movq	%rbx, %rdi
	callq	_dput
LBB0_10:
	movq	(%r14), %rdi
	callq	_mutex_unlock
	movq	_mount@GOTPCREL(%rip), %rdi
	movq	_mount_count@GOTPCREL(%rip), %rsi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_simple_release_fs              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_mount,4,2                      ## @mount
	.comm	_mount_count,4,2                ## @mount_count
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_securityfs_remove              ; -- Begin function securityfs_remove
	.p2align	2
_securityfs_remove:                     ; @securityfs_remove
	.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
	cbz	x0, LBB0_2
; %bb.1:
	mov	x19, x0
	bl	_IS_ERR
	cbz	x0, 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	x20, [x19, #8]
	cbz	x20, LBB0_2
; %bb.4:
	ldr	x0, [x20]
	cbz	x0, LBB0_2
; %bb.5:
	bl	_mutex_lock
	mov	x0, x19
	bl	_positive
	cbz	x0, LBB0_11
; %bb.6:
	ldr	x8, [x19]
	cbz	x8, LBB0_11
; %bb.7:
	ldr	w0, [x8, #4]
	bl	_S_ISDIR
	mov	x8, x0
	ldr	x0, [x20]
	mov	x1, x19
	cbz	x8, LBB0_9
; %bb.8:
	bl	_simple_rmdir
	b	LBB0_10
LBB0_9:
	bl	_simple_unlink
LBB0_10:
	mov	x0, x19
	bl	_dput
LBB0_11:
	ldr	x0, [x20]
	bl	_mutex_unlock
Lloh0:
	adrp	x0, _mount@GOTPAGE
Lloh1:
	ldr	x0, [x0, _mount@GOTPAGEOFF]
Lloh2:
	adrp	x1, _mount_count@GOTPAGE
Lloh3:
	ldr	x1, [x1, _mount_count@GOTPAGEOFF]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_simple_release_fs
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_mount,4,2                      ; @mount
	.comm	_mount_count,4,2                ; @mount_count
.subsections_via_symbols
