	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function unlink_or_rmdir
_unlink_or_rmdir:                       ## @unlink_or_rmdir
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	addq	$4, %rdi
	movq	_VLOOK_DELETE@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	leaq	-28(%rbp), %rsi
	callq	_fh_to_mp3
	testq	%rax, %rax
	je	LBB0_6
## %bb.1:
	movq	%rax, %rbx
	movq	16(%rax), %rax
	movq	_NFDIR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_8
## %bb.2:
	movq	_D_TRACE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_amuDebug
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	_XLOG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	8(%rbx), %edx
	movl	(%r14), %ecx
	leaq	L_.str(%rip), %rsi
	callq	_plog
LBB0_4:
	movq	(%rbx), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	movl	(%r14), %esi
	movl	(%r15), %ecx
	leaq	-28(%rbp), %rdx
	movq	%rbx, %rdi
	callq	*(%rax)
	testq	%rax, %rax
	je	LBB0_9
## %bb.5:
	movq	%rax, %rdi
	callq	_forcibly_timeout_mp
	movq	_NFS_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_13
LBB0_6:
	movl	-28(%rbp), %edi
	testl	%edi, %edi
	jns	LBB0_12
## %bb.7:
	movq	_amd_stats@GOTPCREL(%rip), %rax
	incl	(%rax)
	xorl	%eax, %eax
	jmp	LBB0_14
LBB0_8:
	movq	_ENOTDIR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	jmp	LBB0_12
LBB0_9:
	movl	-28(%rbp), %edi
	testl	%edi, %edi
	js	LBB0_11
## %bb.10:
	movq	_ENOENT@GOTPCREL(%rip), %rax
	cmpl	(%rax), %edi
	jne	LBB0_12
LBB0_11:
	movl	$0, -28(%rbp)
	xorl	%edi, %edi
LBB0_12:
	callq	_nfs_error
LBB0_13:
	movl	%eax, _unlink_or_rmdir.res(%rip)
	leaq	_unlink_or_rmdir.res(%rip), %rax
LBB0_14:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_unlink_or_rmdir.res,4,2 ## @unlink_or_rmdir.res
	.comm	_VLOOK_DELETE,4,2               ## @VLOOK_DELETE
	.comm	_amd_stats,4,2                  ## @amd_stats
	.comm	_NFDIR,8,3                      ## @NFDIR
	.comm	_ENOTDIR,4,2                    ## @ENOTDIR
	.comm	_D_TRACE,4,2                    ## @D_TRACE
	.comm	_XLOG_DEBUG,4,2                 ## @XLOG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\tremove(%s, %s)"

	.comm	_ENOENT,4,2                     ## @ENOENT
	.comm	_NFS_OK,4,2                     ## @NFS_OK
	.no_dead_strip	_unlink_or_rmdir
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function unlink_or_rmdir
_unlink_or_rmdir:                       ; @unlink_or_rmdir
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x0
	add	x0, x0, #4
Lloh0:
	adrp	x21, _VLOOK_DELETE@GOTPAGE
Lloh1:
	ldr	x21, [x21, _VLOOK_DELETE@GOTPAGEOFF]
	ldr	w2, [x21]
	add	x1, sp, #12
	bl	_fh_to_mp3
	cbz	x0, LBB0_6
; %bb.1:
	mov	x20, x0
	ldr	x8, [x0, #16]
Lloh2:
	adrp	x9, _NFDIR@GOTPAGE
Lloh3:
	ldr	x9, [x9, _NFDIR@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_8
; %bb.2:
Lloh5:
	adrp	x8, _D_TRACE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _D_TRACE@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	bl	_amuDebug
	cbz	x0, LBB0_4
; %bb.3:
Lloh8:
	adrp	x8, _XLOG_DEBUG@GOTPAGE
Lloh9:
	ldr	x8, [x8, _XLOG_DEBUG@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	ldr	w2, [x20, #8]
	ldr	w3, [x19]
Lloh11:
	adrp	x1, l_.str@PAGE
Lloh12:
	add	x1, x1, l_.str@PAGEOFF
	bl	_plog
LBB0_4:
	ldr	x8, [x20]
	ldr	x8, [x8]
	ldr	x8, [x8]
	ldr	x8, [x8]
	ldr	w1, [x19]
	ldr	w3, [x21]
	add	x2, sp, #12
	mov	x0, x20
	blr	x8
	cbz	x0, LBB0_9
; %bb.5:
	bl	_forcibly_timeout_mp
Lloh13:
	adrp	x8, _NFS_OK@GOTPAGE
Lloh14:
	ldr	x8, [x8, _NFS_OK@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	b	LBB0_13
LBB0_6:
	ldr	w0, [sp, #12]
	tbz	w0, #31, LBB0_12
; %bb.7:
	mov	x0, #0
Lloh16:
	adrp	x8, _amd_stats@GOTPAGE
Lloh17:
	ldr	x8, [x8, _amd_stats@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
	b	LBB0_14
LBB0_8:
Lloh18:
	adrp	x8, _ENOTDIR@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ENOTDIR@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
	b	LBB0_12
LBB0_9:
	ldr	w0, [sp, #12]
	tbnz	w0, #31, LBB0_11
; %bb.10:
Lloh21:
	adrp	x8, _ENOENT@GOTPAGE
Lloh22:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_12
LBB0_11:
	mov	w0, #0
	str	wzr, [sp, #12]
LBB0_12:
	bl	_nfs_error
	mov	x8, x0
LBB0_13:
Lloh24:
	adrp	x0, _unlink_or_rmdir.res@PAGE
Lloh25:
	add	x0, x0, _unlink_or_rmdir.res@PAGEOFF
	str	w8, [x0]
LBB0_14:
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_unlink_or_rmdir.res,4,2 ; @unlink_or_rmdir.res
	.comm	_VLOOK_DELETE,4,2               ; @VLOOK_DELETE
	.comm	_amd_stats,4,2                  ; @amd_stats
	.comm	_NFDIR,8,3                      ; @NFDIR
	.comm	_ENOTDIR,4,2                    ; @ENOTDIR
	.comm	_D_TRACE,4,2                    ; @D_TRACE
	.comm	_XLOG_DEBUG,4,2                 ; @XLOG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\tremove(%s, %s)"

	.comm	_ENOENT,4,2                     ; @ENOENT
	.comm	_NFS_OK,4,2                     ; @NFS_OK
	.no_dead_strip	_unlink_or_rmdir
.subsections_via_symbols
