	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_renamefile                     ## -- Begin function renamefile
	.p2align	4, 0x90
_renamefile:                            ## @renamefile
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	movl	%edi, -4(%rbp)
	movq	%rsi, -16(%rbp)
	cmpl	$1, %edi
	jg	LBB0_3
## %bb.1:
	leaq	L_.str(%rip), %rdx
	leaq	-4(%rbp), %rdi
	leaq	-16(%rbp), %rsi
	callq	_another
	testl	%eax, %eax
	je	LBB0_5
## %bb.2:
	movl	-4(%rbp), %edi
LBB0_3:
	cmpl	$2, %edi
	jg	LBB0_6
## %bb.4:
	leaq	L_.str.1(%rip), %rdx
	leaq	-4(%rbp), %rdi
	leaq	-16(%rbp), %rsi
	callq	_another
	testl	%eax, %eax
	je	LBB0_5
LBB0_6:
	movq	-16(%rbp), %rax
	movq	8(%rax), %rsi
	leaq	L_.str.3(%rip), %rdi
	callq	_command
	movq	_CONTINUE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_8
## %bb.7:
	movq	-16(%rbp), %rax
	movq	16(%rax), %rsi
	leaq	L_.str.4(%rip), %rdi
	callq	_command
	jmp	LBB0_8
LBB0_5:
	movq	-16(%rbp), %rax
	movq	(%rax), %rsi
	leaq	L_.str.2(%rip), %rdi
	callq	_printf
	movq	_code@GOTPCREL(%rip), %rax
	movl	$-1, (%rax)
LBB0_8:
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"from-name"

L_.str.1:                               ## @.str.1
	.asciz	"to-name"

L_.str.2:                               ## @.str.2
	.asciz	"%s from-name to-name\n"

	.comm	_code,4,2                       ## @code
L_.str.3:                               ## @.str.3
	.asciz	"RNFR %s"

	.comm	_CONTINUE,8,3                   ## @CONTINUE
L_.str.4:                               ## @.str.4
	.asciz	"RNTO %s"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_renamefile                     ; -- Begin function renamefile
	.p2align	2
_renamefile:                            ; @renamefile
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.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
	stur	w0, [x29, #-4]
	str	x1, [sp]
	cmp	w0, #2
	b.ge	LBB0_3
; %bb.1:
Lloh0:
	adrp	x2, l_.str@PAGE
Lloh1:
	add	x2, x2, l_.str@PAGEOFF
	sub	x0, x29, #4
	mov	x1, sp
	bl	_another
	cbz	w0, LBB0_7
; %bb.2:
	ldur	w0, [x29, #-4]
LBB0_3:
	cmp	w0, #2
	b.gt	LBB0_5
; %bb.4:
Lloh2:
	adrp	x2, l_.str.1@PAGE
Lloh3:
	add	x2, x2, l_.str.1@PAGEOFF
	sub	x0, x29, #4
	mov	x1, sp
	bl	_another
	cbz	w0, LBB0_7
LBB0_5:
	ldr	x8, [sp]
	ldr	x1, [x8, #8]
Lloh4:
	adrp	x0, l_.str.3@PAGE
Lloh5:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_command
Lloh6:
	adrp	x8, _CONTINUE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _CONTINUE@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_8
; %bb.6:
	ldr	x8, [sp]
	ldr	x1, [x8, #16]
Lloh9:
	adrp	x0, l_.str.4@PAGE
Lloh10:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_command
	b	LBB0_8
LBB0_7:
	ldr	x8, [sp]
	ldr	x1, [x8]
Lloh11:
	adrp	x0, l_.str.2@PAGE
Lloh12:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_printf
Lloh13:
	adrp	x8, _code@GOTPAGE
Lloh14:
	ldr	x8, [x8, _code@GOTPAGEOFF]
	mov	w9, #-1
Lloh15:
	str	w9, [x8]
LBB0_8:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotStr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"from-name"

l_.str.1:                               ; @.str.1
	.asciz	"to-name"

l_.str.2:                               ; @.str.2
	.asciz	"%s from-name to-name\n"

	.comm	_code,4,2                       ; @code
l_.str.3:                               ; @.str.3
	.asciz	"RNFR %s"

	.comm	_CONTINUE,8,3                   ; @CONTINUE
l_.str.4:                               ; @.str.4
	.asciz	"RNTO %s"

.subsections_via_symbols
