	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_deletefile                     ## -- Begin function deletefile
	.p2align	4, 0x90
_deletefile:                            ## @deletefile
	.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
	movl	%esi, %eax
	movq	%rdi, %r14
	movq	_hflag@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r15
	movq	_GOOD@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rbx
	movq	_FAIL@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r12
	movq	_dumpmap@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	callq	_TSTINO
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	%r14, %rdi
	callq	_lookupname
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	movq	_NEW@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	notl	%ecx
	andl	8(%rax), %ecx
	movq	_REMOVED@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	movl	%ecx, 8(%rax)
	movq	(%rax), %rcx
	movq	_NODE@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	je	LBB0_4
## %bb.3:
	movq	%rax, %rdi
	callq	_freeentry
LBB0_4:
	testq	%r15, %r15
	cmoveq	%r12, %rbx
	movq	%rbx, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_hflag,8,3                      ## @hflag
	.comm	_GOOD,8,3                       ## @GOOD
	.comm	_FAIL,8,3                       ## @FAIL
	.comm	_dumpmap,4,2                    ## @dumpmap
	.comm	_NEW,4,2                        ## @NEW
	.comm	_REMOVED,4,2                    ## @REMOVED
	.comm	_NODE,8,3                       ## @NODE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_deletefile                     ; -- Begin function deletefile
	.p2align	2
_deletefile:                            ; @deletefile
	.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	x8, x1
	mov	x19, x0
Lloh0:
	adrp	x9, _hflag@GOTPAGE
Lloh1:
	ldr	x9, [x9, _hflag@GOTPAGEOFF]
Lloh2:
	ldr	x20, [x9]
Lloh3:
	adrp	x9, _GOOD@GOTPAGE
Lloh4:
	ldr	x9, [x9, _GOOD@GOTPAGEOFF]
Lloh5:
	ldr	x21, [x9]
Lloh6:
	adrp	x9, _FAIL@GOTPAGE
Lloh7:
	ldr	x9, [x9, _FAIL@GOTPAGEOFF]
Lloh8:
	ldr	x22, [x9]
Lloh9:
	adrp	x9, _dumpmap@GOTPAGE
Lloh10:
	ldr	x9, [x9, _dumpmap@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x9]
	mov	x0, x8
	bl	_TSTINO
	cbz	x0, LBB0_4
; %bb.1:
	mov	x0, x19
	bl	_lookupname
	cbz	x0, LBB0_4
; %bb.2:
Lloh12:
	adrp	x8, _NEW@GOTPAGE
Lloh13:
	ldr	x8, [x8, _NEW@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	ldr	w9, [x0, #8]
	bic	w8, w9, w8
Lloh15:
	adrp	x9, _REMOVED@GOTPAGE
Lloh16:
	ldr	x9, [x9, _REMOVED@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	orr	w8, w9, w8
	str	w8, [x0, #8]
	ldr	x8, [x0]
Lloh18:
	adrp	x9, _NODE@GOTPAGE
Lloh19:
	ldr	x9, [x9, _NODE@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_4
; %bb.3:
	bl	_freeentry
LBB0_4:
	cmp	x20, #0
	csel	x0, x22, x21, 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	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_hflag,8,3                      ; @hflag
	.comm	_GOOD,8,3                       ; @GOOD
	.comm	_FAIL,8,3                       ; @FAIL
	.comm	_dumpmap,4,2                    ; @dumpmap
	.comm	_NEW,4,2                        ; @NEW
	.comm	_REMOVED,4,2                    ; @REMOVED
	.comm	_NODE,8,3                       ; @NODE
.subsections_via_symbols
