	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_delwhiteout                    ## -- Begin function delwhiteout
	.p2align	4, 0x90
_delwhiteout:                           ## @delwhiteout
	.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
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movq	_LEAF@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_badentry
LBB0_2:
	movq	_REMOVED@GOTPCREL(%rip), %rax
	movl	8(%rbx), %ecx
	orl	(%rax), %ecx
	movq	_TMPNAME@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%ecx, %eax
	movl	%eax, 8(%rbx)
	movq	%rbx, %rdi
	callq	_myname
	movq	%rax, %rbx
	movq	_Nflag@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jne	LBB0_5
## %bb.3:
	movq	%rbx, %rdi
	callq	_undelete
	testq	%rax, %rax
	js	LBB0_4
LBB0_5:
	movq	_stdout@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_vprintf                        ## TAILCALL
LBB0_4:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_strerror
	leaq	L_.str.1(%rip), %rsi
	movl	%r14d, %edi
	movq	%rbx, %rdx
	movq	%rax, %rcx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_fprintf                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_LEAF,8,3                       ## @LEAF
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"delwhiteout: not a leaf"

	.comm	_REMOVED,4,2                    ## @REMOVED
	.comm	_TMPNAME,4,2                    ## @TMPNAME
	.comm	_Nflag,4,2                      ## @Nflag
	.comm	_stderr,4,2                     ## @stderr
L_.str.1:                               ## @.str.1
	.asciz	"warning: cannot delete whiteout %s: %s\n"

	.comm	_errno,4,2                      ## @errno
	.comm	_stdout,4,2                     ## @stdout
L_.str.2:                               ## @.str.2
	.asciz	"Delete whiteout %s\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_delwhiteout                    ; -- Begin function delwhiteout
	.p2align	2
_delwhiteout:                           ; @delwhiteout
	.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
	mov	x19, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _LEAF@GOTPAGE
Lloh1:
	ldr	x9, [x9, _LEAF@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_2
; %bb.1:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_badentry
LBB0_2:
Lloh5:
	adrp	x8, _REMOVED@GOTPAGE
Lloh6:
	ldr	x8, [x8, _REMOVED@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	ldr	w9, [x19, #8]
	orr	w8, w9, w8
Lloh8:
	adrp	x9, _TMPNAME@GOTPAGE
Lloh9:
	ldr	x9, [x9, _TMPNAME@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	bic	w8, w8, w9
	str	w8, [x19, #8]
	mov	x0, x19
	bl	_myname
	mov	x19, x0
Lloh11:
	adrp	x8, _Nflag@GOTPAGE
Lloh12:
	ldr	x8, [x8, _Nflag@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	cbnz	w8, LBB0_4
; %bb.3:
	mov	x0, x19
	bl	_undelete
	tbnz	x0, #63, LBB0_5
LBB0_4:
Lloh14:
	adrp	x8, _stdout@GOTPAGE
Lloh15:
	ldr	x8, [x8, _stdout@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
Lloh17:
	adrp	x1, l_.str.2@PAGE
Lloh18:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x2, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_vprintf
LBB0_5:
Lloh19:
	adrp	x8, _stderr@GOTPAGE
Lloh20:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh21:
	ldr	w20, [x8]
Lloh22:
	adrp	x8, _errno@GOTPAGE
Lloh23:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh24:
	ldr	w0, [x8]
	bl	_strerror
	mov	x3, x0
Lloh25:
	adrp	x1, l_.str.1@PAGE
Lloh26:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	mov	x2, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_fprintf
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_LEAF,8,3                       ; @LEAF
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"delwhiteout: not a leaf"

	.comm	_REMOVED,4,2                    ; @REMOVED
	.comm	_TMPNAME,4,2                    ; @TMPNAME
	.comm	_Nflag,4,2                      ; @Nflag
	.comm	_stderr,4,2                     ; @stderr
l_.str.1:                               ; @.str.1
	.asciz	"warning: cannot delete whiteout %s: %s\n"

	.comm	_errno,4,2                      ; @errno
	.comm	_stdout,4,2                     ; @stdout
l_.str.2:                               ; @.str.2
	.asciz	"Delete whiteout %s\n"

.subsections_via_symbols
