	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function io_unlink
_io_unlink:                             ## @io_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	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	_opt_force@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_2
## %bb.1:
	leaq	-32(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_stat
	testl	%eax, %eax
	jne	LBB0_8
	jmp	LBB0_4
LBB0_2:
	leaq	-32(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_lstat
	testl	%eax, %eax
	jne	LBB0_8
LBB0_4:
	movq	-24(%rbp), %rax
	cmpq	8(%r14), %rax
	jne	LBB0_8
## %bb.5:
	movq	-32(%rbp), %rax
	cmpq	(%r14), %rax
	jne	LBB0_8
## %bb.6:
	movq	%rbx, %rdi
	callq	_unlink
	testq	%rax, %rax
	je	LBB0_7
## %bb.9:
	leaq	L_.str.1(%rip), %rdi
	callq	__
	movl	%eax, %r14d
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_strerror
	movl	%r14d, %edi
	movq	%rbx, %rsi
	movl	%eax, %edx
	xorl	%eax, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_message_error                  ## TAILCALL
LBB0_8:
	leaq	L_.str(%rip), %rdi
	callq	__
	movl	%eax, %edi
	movq	%rbx, %rsi
	xorl	%eax, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_message_error                  ## TAILCALL
LBB0_7:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_opt_force,8,3                  ## @opt_force
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: File seems to have been moved, not removing"

L_.str.1:                               ## @.str.1
	.asciz	"%s: Cannot remove: %s"

	.comm	_errno,4,2                      ## @errno
	.no_dead_strip	_io_unlink
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function io_unlink
_io_unlink:                             ; @io_unlink
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	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
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _opt_force@GOTPAGE
Lloh1:
	ldr	x8, [x8, _opt_force@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_2
; %bb.1:
	add	x1, sp, #16
	mov	x0, x19
	bl	_stat
	cbnz	w0, LBB0_8
	b	LBB0_3
LBB0_2:
	add	x1, sp, #16
	mov	x0, x19
	bl	_lstat
	cbnz	w0, LBB0_8
LBB0_3:
	ldr	x8, [sp, #24]
	ldr	x9, [x20, #8]
	cmp	x8, x9
	b.ne	LBB0_8
; %bb.4:
	ldr	x8, [sp, #16]
	ldr	x9, [x20]
	cmp	x8, x9
	b.ne	LBB0_8
; %bb.5:
	mov	x0, x19
	bl	_unlink
	cbz	x0, LBB0_7
; %bb.6:
Lloh3:
	adrp	x0, l_.str.1@PAGE
Lloh4:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	__
	mov	x20, x0
Lloh5:
	adrp	x8, _errno@GOTPAGE
Lloh6:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	bl	_strerror
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
	mov	x0, x20
	mov	x1, x19
	bl	_message_error
LBB0_7:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_8:
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
	mov	x1, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	b	_message_error
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_opt_force,8,3                  ; @opt_force
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: File seems to have been moved, not removing"

l_.str.1:                               ; @.str.1
	.asciz	"%s: Cannot remove: %s"

	.comm	_errno,4,2                      ; @errno
	.no_dead_strip	_io_unlink
.subsections_via_symbols
