	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_renamefrom                     ## -- Begin function renamefrom
	.p2align	4, 0x90
_renamefrom:                            ## @renamefrom
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	_guest@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_3
## %bb.1:
	movq	_noguestmod@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_3
## %bb.2:
	leaq	L_.str(%rip), %rsi
	movl	$550, %edi                      ## imm = 0x226
	callq	_reply
	jmp	LBB0_6
LBB0_3:
	leaq	-16(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_lstat
	testq	%rax, %rax
	js	LBB0_5
## %bb.4:
	leaq	L_.str.1(%rip), %rsi
	movl	$350, %edi                      ## imm = 0x15E
	callq	_reply
	jmp	LBB0_7
LBB0_5:
	movl	$550, %edi                      ## imm = 0x226
	movq	%rbx, %rsi
	callq	_perror_reply
LBB0_6:
	xorl	%ebx, %ebx
LBB0_7:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_guest,8,3                      ## @guest
	.comm	_noguestmod,8,3                 ## @noguestmod
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Operation not permitted."

L_.str.1:                               ## @.str.1
	.asciz	"File exists, ready for destination name."

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_renamefrom                     ; -- Begin function renamefrom
	.p2align	2
_renamefrom:                            ; @renamefrom
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
Lloh0:
	adrp	x8, _guest@GOTPAGE
Lloh1:
	ldr	x8, [x8, _guest@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _noguestmod@GOTPAGE
Lloh4:
	ldr	x9, [x9, _noguestmod@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, #0
	ccmp	x9, #0, #4, ne
	b.ne	LBB0_3
; %bb.1:
	mov	x19, x0
	add	x1, sp, #8
	bl	_lstat
	tbnz	x0, #63, LBB0_4
; %bb.2:
Lloh6:
	adrp	x1, l_.str.1@PAGE
Lloh7:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #350
	bl	_reply
	b	LBB0_6
LBB0_3:
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #550
	bl	_reply
	b	LBB0_5
LBB0_4:
	mov	w0, #550
	mov	x1, x19
	bl	_perror_reply
LBB0_5:
	mov	x19, #0
LBB0_6:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_guest,8,3                      ; @guest
	.comm	_noguestmod,8,3                 ; @noguestmod
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Operation not permitted."

l_.str.1:                               ; @.str.1
	.asciz	"File exists, ready for destination name."

.subsections_via_symbols
