	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function linkit
_linkit:                                ## @linkit
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movq	%rsi, %r14
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	movq	%rsp, -72(%rbp)                 ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_PATH_MAX@GOTPCREL(%rip), %rbx
	movl	(%rbx), %r12d
	movq	%r12, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -88(%rbp)                 ## 8-byte Spill
	movl	(%rbx), %ebx
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -96(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -80(%rbp)                 ## 8-byte Spill
	movq	_sflag@GOTPCREL(%rip), %r13
	cmpq	$0, (%r13)
	je	LBB0_8
LBB0_1:
	movq	_Fflag@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_10
## %bb.2:
	movq	-64(%rbp), %r15                 ## 8-byte Reload
LBB0_3:
	cmpq	$0, (%r13)
	je	LBB0_25
## %bb.4:
	movq	_wflag@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_25
## %bb.5:
	cmpb	$47, (%r15)
	jne	LBB0_21
## %bb.6:
	leaq	-56(%rbp), %rsi
	movq	%r15, %rdi
	callq	_stat
	testq	%rax, %rax
	je	LBB0_25
## %bb.7:
	leaq	L_.str.2(%rip), %rdi
	jmp	LBB0_24
LBB0_8:
	movq	_Pflag@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jne	LBB0_15
## %bb.9:
	movq	%r14, %r13
	movq	_stat@GOTPCREL(%rip), %rcx
	jmp	LBB0_16
LBB0_10:
	testl	%r15d, %r15d
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	je	LBB0_44
LBB0_11:
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rsi
	movl	%ebx, %edx
	callq	_strlcpy
	cltq
	cmpq	%rbx, %rax
	jae	LBB0_14
## %bb.12:
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	callq	_basename
	testq	%rax, %rax
	je	LBB0_14
## %bb.13:
	leaq	L_.str.1(%rip), %rdx
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	movl	%r12d, %esi
	movq	%r14, %rcx
	movq	%rax, %r8
	callq	_snprintf
	movq	-88(%rbp), %r14                 ## 8-byte Reload
	cmpq	%r12, %rax
	jl	LBB0_3
LBB0_14:
	movq	_ENAMETOOLONG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_errno@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	leaq	L_.str(%rip), %rdi
	movq	%r15, %rsi
	jmp	LBB0_20
LBB0_15:
	movq	%r14, %r13
	movq	_lstat@GOTPCREL(%rip), %rcx
LBB0_16:
	leaq	-56(%rbp), %rsi
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	callq	*%rcx
	testq	%rax, %rax
	je	LBB0_18
## %bb.17:
	leaq	L_.str(%rip), %rdi
	movq	%r14, %rsi
	jmp	LBB0_20
LBB0_18:
	movl	-56(%rbp), %edi
	callq	_S_ISDIR
	testq	%rax, %rax
	movq	%r13, %r14
	movq	_sflag@GOTPCREL(%rip), %r13
	je	LBB0_1
## %bb.19:
	movq	_EISDIR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_errno@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	leaq	L_.str(%rip), %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
LBB0_20:
	callq	_warn
	movl	$1, %ebx
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	jmp	LBB0_56
LBB0_21:
	movq	-80(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rdi
	movq	%r14, %rsi
	movl	%ebx, %edx
	callq	_strlcpy
	movq	%r12, %rdi
	callq	_dirname
	testq	%rax, %rax
	je	LBB0_25
## %bb.22:
	leaq	L_.str.1(%rip), %rdx
	movq	-96(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rdi
	movl	%ebx, %esi
	movq	%rax, %rcx
	movq	%r15, %r8
	callq	_snprintf
	leaq	-56(%rbp), %rsi
	movq	%r12, %rdi
	callq	_stat
	testq	%rax, %rax
	je	LBB0_25
## %bb.23:
	leaq	L_.str.3(%rip), %rdi
LBB0_24:
	movq	%r15, %rsi
	callq	_warn
LBB0_25:
	leaq	-56(%rbp), %rsi
	movq	%r14, %rdi
	callq	_lstat
	movq	%rax, %rbx
	movq	(%r13), %rax
	orq	%rbx, %rax
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	jne	LBB0_28
## %bb.26:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_samedirent
	testq	%rax, %rax
	je	LBB0_28
## %bb.27:
	leaq	L_.str.4(%rip), %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	callq	_warnx
	jmp	LBB0_55
LBB0_28:
	testq	%rbx, %rbx
	jne	LBB0_33
## %bb.29:
	movq	_fflag@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_33
## %bb.30:
	movq	_Fflag@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_43
## %bb.31:
	movl	-56(%rbp), %edi
	callq	_S_ISDIR
	testq	%rax, %rax
	je	LBB0_43
## %bb.32:
	movq	%r14, %rdi
	callq	_rmdir
	testq	%rax, %rax
	jne	LBB0_54
	jmp	LBB0_52
LBB0_33:
	testq	%rbx, %rbx
	jne	LBB0_52
## %bb.34:
	movq	_iflag@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_52
## %bb.35:
	movq	_stdout@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_fflush
	movq	%r14, %rdx
	movq	_stderr@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	leaq	L_.str.5(%rip), %rsi
	movq	%rdx, %r13
	xorl	%eax, %eax
	callq	_fprintf
	xorl	%eax, %eax
	callq	_getchar
	movl	%eax, %r15d
	cmpl	$10, %eax
	je	LBB0_39
## %bb.36:
	movq	_EOF@GOTPCREL(%rip), %rbx
	cmpl	(%rbx), %r15d
	je	LBB0_39
	.p2align	4, 0x90
LBB0_37:                                ## =>This Inner Loop Header: Depth=1
	xorl	%eax, %eax
	callq	_getchar
	cmpl	$10, %eax
	je	LBB0_39
## %bb.38:                              ##   in Loop: Header=BB0_37 Depth=1
	cmpl	(%rbx), %eax
	jne	LBB0_37
LBB0_39:
	andl	$-33, %r15d
	cmpl	$89, %r15d
	jne	LBB0_48
## %bb.40:
	movq	_Fflag@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_50
## %bb.41:
	movl	-56(%rbp), %edi
	callq	_S_ISDIR
	testq	%rax, %rax
	je	LBB0_50
## %bb.42:
	movq	%r13, %r14
	movq	%r13, %rdi
	callq	_rmdir
	jmp	LBB0_51
LBB0_43:
	movq	%r14, %rdi
	callq	_unlink
	testq	%rax, %rax
	jne	LBB0_54
	jmp	LBB0_52
LBB0_44:
	leaq	-56(%rbp), %rsi
	movq	%r14, %rdi
	callq	_lstat
	testq	%rax, %rax
	je	LBB0_49
LBB0_45:
	movq	_hflag@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jne	LBB0_3
## %bb.46:
	leaq	-56(%rbp), %rsi
	movq	%r14, %rdi
	callq	_stat
	testq	%rax, %rax
	jne	LBB0_3
## %bb.47:
	movl	-56(%rbp), %edi
	callq	_S_ISDIR
	testq	%rax, %rax
	jne	LBB0_11
	jmp	LBB0_3
LBB0_48:
	movl	(%r14), %edi
	leaq	L_.str.6(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	jmp	LBB0_55
LBB0_49:
	movl	-56(%rbp), %edi
	callq	_S_ISDIR
	testq	%rax, %rax
	jne	LBB0_11
	jmp	LBB0_45
LBB0_50:
	movq	%r13, %r14
	movq	%r13, %rdi
	callq	_unlink
LBB0_51:
	testq	%rax, %rax
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	movq	_sflag@GOTPCREL(%rip), %r13
	jne	LBB0_54
LBB0_52:
	cmpq	$0, (%r13)
	je	LBB0_58
## %bb.53:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_symlink
	testq	%rax, %rax
	je	LBB0_61
LBB0_54:
	leaq	L_.str(%rip), %rdi
	movq	%r14, %rsi
	callq	_warn
LBB0_55:
	movl	$1, %ebx
LBB0_56:
	movq	%r12, %rsp
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_63
## %bb.57:
	movl	%ebx, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_58:
	movq	_AT_FDCWD@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_Pflag@GOTPCREL(%rip), %rax
	xorl	%r8d, %r8d
	cmpq	$0, (%rax)
	jne	LBB0_60
## %bb.59:
	movq	_AT_SYMLINK_FOLLOW@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
LBB0_60:
	movq	%r15, %rsi
	movl	%edi, %edx
	movq	%r14, %rcx
	callq	_linkat
	testq	%rax, %rax
	jne	LBB0_54
LBB0_61:
	movq	_vflag@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	cmpq	$0, (%rax)
	je	LBB0_56
## %bb.62:
	movq	_linkch@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.7(%rip), %rdi
	movq	%r14, %rsi
	movq	%r15, %rcx
	callq	_printf
	jmp	LBB0_56
LBB0_63:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_PATH_MAX,4,2                   ## @PATH_MAX
	.comm	_sflag,8,3                      ## @sflag
	.comm	_Pflag,8,3                      ## @Pflag
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s"

	.comm	_EISDIR,4,2                     ## @EISDIR
	.comm	_errno,4,2                      ## @errno
	.comm	_Fflag,8,3                      ## @Fflag
	.comm	_hflag,4,2                      ## @hflag
L_.str.1:                               ## @.str.1
	.asciz	"%s/%s"

	.comm	_ENAMETOOLONG,4,2               ## @ENAMETOOLONG
	.comm	_wflag,8,3                      ## @wflag
L_.str.2:                               ## @.str.2
	.asciz	"warning: %s inaccessible"

L_.str.3:                               ## @.str.3
	.asciz	"warning: %s"

L_.str.4:                               ## @.str.4
	.asciz	"%s and %s are the same directory entry"

	.comm	_fflag,8,3                      ## @fflag
	.comm	_iflag,8,3                      ## @iflag
	.comm	_stdout,4,2                     ## @stdout
	.comm	_stderr,4,2                     ## @stderr
L_.str.5:                               ## @.str.5
	.asciz	"replace %s? "

	.comm	_EOF,4,2                        ## @EOF
L_.str.6:                               ## @.str.6
	.asciz	"not replaced\n"

	.comm	_AT_FDCWD,4,2                   ## @AT_FDCWD
	.comm	_AT_SYMLINK_FOLLOW,4,2          ## @AT_SYMLINK_FOLLOW
	.comm	_vflag,8,3                      ## @vflag
L_.str.7:                               ## @.str.7
	.asciz	"%s %c> %s\n"

	.comm	_linkch,4,2                     ## @linkch
	.no_dead_strip	_linkit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function linkit
_linkit:                                ; @linkit
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #16
	mov	x26, x2
	mov	x20, x1
	mov	x19, x0
	mov	x27, sp
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x8, _PATH_MAX@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PATH_MAX@GOTPAGEOFF]
	ldr	w24, [x8]
	mov	x9, x24
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x10, x24, #15
	and	x10, x10, #0x1fffffff0
	sub	x25, x9, x10
	mov	sp, x25
	ldr	w22, [x8]
	mov	x9, x22
Lloh7:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh8:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x22, #15
	and	x12, x9, #0x1fffffff0
	sub	x21, x8, x12
	mov	sp, x21
	mov	x9, x22
Lloh9:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh10:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	sub	x23, x8, x12
	mov	sp, x23
Lloh11:
	adrp	x28, _sflag@GOTPAGE
Lloh12:
	ldr	x28, [x28, _sflag@GOTPAGEOFF]
	ldr	x8, [x28]
	cbz	x8, LBB0_6
LBB0_1:
Lloh13:
	adrp	x8, _Fflag@GOTPAGE
Lloh14:
	ldr	x8, [x8, _Fflag@GOTPAGEOFF]
Lloh15:
	ldr	x8, [x8]
	cbz	x8, LBB0_9
LBB0_2:
	ldr	x8, [x28]
Lloh16:
	adrp	x9, _wflag@GOTPAGE
Lloh17:
	ldr	x9, [x9, _wflag@GOTPAGEOFF]
Lloh18:
	ldr	x9, [x9]
	cmp	x8, #0
	ccmp	x9, #0, #4, ne
	b.eq	LBB0_20
; %bb.3:
	ldrb	w8, [x19]
	cmp	w8, #47
	b.ne	LBB0_16
; %bb.4:
	sub	x1, x29, #96
	mov	x0, x19
	bl	_stat
	cbz	x0, LBB0_20
; %bb.5:
Lloh19:
	adrp	x0, l_.str.2@PAGE
Lloh20:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_19
LBB0_6:
Lloh21:
	adrp	x8, _Pflag@GOTPAGE
Lloh22:
	ldr	x8, [x8, _Pflag@GOTPAGEOFF]
Lloh23:
	ldr	x8, [x8]
Lloh24:
	adrp	x9, _lstat@GOTPAGE
Lloh25:
	ldr	x9, [x9, _lstat@GOTPAGEOFF]
Lloh26:
	adrp	x10, _stat@GOTPAGE
Lloh27:
	ldr	x10, [x10, _stat@GOTPAGEOFF]
	cmp	x8, #0
	csel	x8, x10, x9, eq
	sub	x1, x29, #96
	mov	x0, x19
	blr	x8
	cbnz	x0, LBB0_15
; %bb.7:
	ldur	w0, [x29, #-96]
	bl	_S_ISDIR
	cbz	x0, LBB0_1
; %bb.8:
Lloh28:
	adrp	x8, _EISDIR@GOTPAGE
Lloh29:
	ldr	x8, [x8, _EISDIR@GOTPAGEOFF]
	b	LBB0_14
LBB0_9:
	cbz	w26, LBB0_44
LBB0_10:
	mov	x0, x23
	mov	x1, x19
	mov	x2, x22
	bl	_strlcpy
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x8, w0
	cmp	x8, x22
	b.hs	LBB0_13
; %bb.11:
	mov	x0, x23
	bl	_basename
	cbz	x0, LBB0_13
; %bb.12:
	mov	x4, x0
Lloh30:
	adrp	x2, l_.str.1@PAGE
Lloh31:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x25
	mov	x1, x24
	mov	x3, x20
	bl	_snprintf
	mov	x20, x25
	cmp	x0, x24
	b.lt	LBB0_2
LBB0_13:
Lloh32:
	adrp	x8, _ENAMETOOLONG@GOTPAGE
Lloh33:
	ldr	x8, [x8, _ENAMETOOLONG@GOTPAGEOFF]
LBB0_14:
	ldr	w8, [x8]
Lloh34:
	adrp	x9, _errno@GOTPAGE
Lloh35:
	ldr	x9, [x9, _errno@GOTPAGEOFF]
Lloh36:
	str	w8, [x9]
LBB0_15:
Lloh37:
	adrp	x0, l_.str@PAGE
Lloh38:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	b	LBB0_40
LBB0_16:
	mov	x0, x23
	mov	x1, x20
	mov	x2, x22
	bl	_strlcpy
	mov	x0, x23
	bl	_dirname
	cbz	x0, LBB0_20
; %bb.17:
	mov	x3, x0
Lloh39:
	adrp	x2, l_.str.1@PAGE
Lloh40:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x21
	mov	x1, x22
	mov	x4, x19
	bl	_snprintf
	sub	x1, x29, #96
	mov	x0, x21
	bl	_stat
	cbz	x0, LBB0_20
; %bb.18:
Lloh41:
	adrp	x0, l_.str.3@PAGE
Lloh42:
	add	x0, x0, l_.str.3@PAGEOFF
LBB0_19:
	mov	x1, x19
	bl	_warn
LBB0_20:
	sub	x1, x29, #96
	mov	x0, x20
	bl	_lstat
	mov	x21, x0
	ldr	x8, [x28]
	orr	x8, x0, x8
	cbnz	x8, LBB0_23
; %bb.21:
	mov	x0, x19
	mov	x1, x20
	bl	_samedirent
	cbz	x0, LBB0_23
; %bb.22:
Lloh43:
	adrp	x0, l_.str.4@PAGE
Lloh44:
	add	x0, x0, l_.str.4@PAGEOFF
	mov	x1, x19
	mov	x2, x20
	bl	_warnx
	b	LBB0_41
LBB0_23:
	cbnz	x21, LBB0_28
; %bb.24:
Lloh45:
	adrp	x8, _fflag@GOTPAGE
Lloh46:
	ldr	x8, [x8, _fflag@GOTPAGEOFF]
Lloh47:
	ldr	x8, [x8]
	cbz	x8, LBB0_28
LBB0_25:
Lloh48:
	adrp	x8, _Fflag@GOTPAGE
Lloh49:
	ldr	x8, [x8, _Fflag@GOTPAGEOFF]
Lloh50:
	ldr	x8, [x8]
	cbz	x8, LBB0_36
; %bb.26:
	ldur	w0, [x29, #-96]
	bl	_S_ISDIR
	cbz	x0, LBB0_36
; %bb.27:
	mov	x0, x20
	bl	_rmdir
	cbnz	x0, LBB0_39
	b	LBB0_37
LBB0_28:
	cbnz	x21, LBB0_37
; %bb.29:
Lloh51:
	adrp	x8, _iflag@GOTPAGE
Lloh52:
	ldr	x8, [x8, _iflag@GOTPAGEOFF]
Lloh53:
	ldr	x8, [x8]
	cbz	x8, LBB0_37
; %bb.30:
Lloh54:
	adrp	x8, _stdout@GOTPAGE
Lloh55:
	ldr	x8, [x8, _stdout@GOTPAGEOFF]
Lloh56:
	ldr	w0, [x8]
	bl	_fflush
Lloh57:
	adrp	x22, _stderr@GOTPAGE
Lloh58:
	ldr	x22, [x22, _stderr@GOTPAGEOFF]
	ldr	w0, [x22]
	str	x20, [sp, #-16]!
Lloh59:
	adrp	x1, l_.str.5@PAGE
Lloh60:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_fprintf
	add	sp, sp, #16
	bl	_getchar
	mov	x21, x0
	cmp	w0, #10
	b.eq	LBB0_34
; %bb.31:
Lloh61:
	adrp	x23, _EOF@GOTPAGE
Lloh62:
	ldr	x23, [x23, _EOF@GOTPAGEOFF]
	ldr	w8, [x23]
	cmp	w21, w8
	b.eq	LBB0_34
LBB0_32:                                ; =>This Inner Loop Header: Depth=1
	bl	_getchar
	cmp	w0, #10
	b.eq	LBB0_34
; %bb.33:                               ;   in Loop: Header=BB0_32 Depth=1
	ldr	w8, [x23]
	cmp	w0, w8
	b.ne	LBB0_32
LBB0_34:
	and	w8, w21, #0xffffffdf
	cmp	w8, #89
	b.eq	LBB0_25
; %bb.35:
	ldr	w0, [x22]
Lloh63:
	adrp	x1, l_.str.6@PAGE
Lloh64:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_fprintf
	b	LBB0_41
LBB0_36:
	mov	x0, x20
	bl	_unlink
	cbnz	x0, LBB0_39
LBB0_37:
	ldr	x8, [x28]
	cbz	x8, LBB0_48
; %bb.38:
	mov	x0, x19
	mov	x1, x20
	bl	_symlink
	cbz	x0, LBB0_49
LBB0_39:
Lloh65:
	adrp	x0, l_.str@PAGE
Lloh66:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x20
LBB0_40:
	bl	_warn
LBB0_41:
	mov	w0, #1
LBB0_42:
	mov	sp, x27
	ldur	x8, [x29, #-88]
Lloh67:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh68:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh69:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_53
; %bb.43:
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_44:
	sub	x1, x29, #96
	mov	x0, x20
	bl	_lstat
	cbz	x0, LBB0_52
LBB0_45:
Lloh70:
	adrp	x8, _hflag@GOTPAGE
Lloh71:
	ldr	x8, [x8, _hflag@GOTPAGEOFF]
Lloh72:
	ldr	w8, [x8]
	cbnz	w8, LBB0_2
; %bb.46:
	sub	x1, x29, #96
	mov	x0, x20
	bl	_stat
	cbnz	x0, LBB0_2
; %bb.47:
	ldur	w0, [x29, #-96]
	bl	_S_ISDIR
	cbnz	x0, LBB0_10
	b	LBB0_2
LBB0_48:
Lloh73:
	adrp	x8, _AT_FDCWD@GOTPAGE
Lloh74:
	ldr	x8, [x8, _AT_FDCWD@GOTPAGEOFF]
Lloh75:
	ldr	w0, [x8]
Lloh76:
	adrp	x8, _Pflag@GOTPAGE
Lloh77:
	ldr	x8, [x8, _Pflag@GOTPAGEOFF]
Lloh78:
	ldr	x8, [x8]
Lloh79:
	adrp	x9, _AT_SYMLINK_FOLLOW@GOTPAGE
Lloh80:
	ldr	x9, [x9, _AT_SYMLINK_FOLLOW@GOTPAGEOFF]
Lloh81:
	ldr	w9, [x9]
	cmp	x8, #0
	csel	w4, w9, wzr, eq
	mov	x1, x19
	mov	x2, x0
	mov	x3, x20
	bl	_linkat
	cbnz	x0, LBB0_39
LBB0_49:
Lloh82:
	adrp	x8, _vflag@GOTPAGE
Lloh83:
	ldr	x8, [x8, _vflag@GOTPAGEOFF]
Lloh84:
	ldr	x8, [x8]
	cbz	x8, LBB0_51
; %bb.50:
Lloh85:
	adrp	x8, _linkch@GOTPAGE
Lloh86:
	ldr	x8, [x8, _linkch@GOTPAGEOFF]
Lloh87:
	ldr	w2, [x8]
Lloh88:
	adrp	x0, l_.str.7@PAGE
Lloh89:
	add	x0, x0, l_.str.7@PAGEOFF
	mov	x1, x20
	mov	x3, x19
	bl	_printf
LBB0_51:
	mov	w0, #0
	b	LBB0_42
LBB0_52:
	ldur	w0, [x29, #-96]
	bl	_S_ISDIR
	cbnz	x0, LBB0_10
	b	LBB0_45
LBB0_53:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGotStr	Lloh34, Lloh35, Lloh36
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpAdd	Lloh59, Lloh60
	.loh AdrpLdrGot	Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGot	Lloh61, Lloh62
	.loh AdrpAdd	Lloh63, Lloh64
	.loh AdrpAdd	Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh67, Lloh68, Lloh69
	.loh AdrpLdrGotLdr	Lloh70, Lloh71, Lloh72
	.loh AdrpLdrGotLdr	Lloh79, Lloh80, Lloh81
	.loh AdrpLdrGotLdr	Lloh76, Lloh77, Lloh78
	.loh AdrpLdrGotLdr	Lloh73, Lloh74, Lloh75
	.loh AdrpLdrGotLdr	Lloh82, Lloh83, Lloh84
	.loh AdrpAdd	Lloh88, Lloh89
	.loh AdrpLdrGotLdr	Lloh85, Lloh86, Lloh87
	.cfi_endproc
                                        ; -- End function
	.comm	_PATH_MAX,4,2                   ; @PATH_MAX
	.comm	_sflag,8,3                      ; @sflag
	.comm	_Pflag,8,3                      ; @Pflag
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s"

	.comm	_EISDIR,4,2                     ; @EISDIR
	.comm	_errno,4,2                      ; @errno
	.comm	_Fflag,8,3                      ; @Fflag
	.comm	_hflag,4,2                      ; @hflag
l_.str.1:                               ; @.str.1
	.asciz	"%s/%s"

	.comm	_ENAMETOOLONG,4,2               ; @ENAMETOOLONG
	.comm	_wflag,8,3                      ; @wflag
l_.str.2:                               ; @.str.2
	.asciz	"warning: %s inaccessible"

l_.str.3:                               ; @.str.3
	.asciz	"warning: %s"

l_.str.4:                               ; @.str.4
	.asciz	"%s and %s are the same directory entry"

	.comm	_fflag,8,3                      ; @fflag
	.comm	_iflag,8,3                      ; @iflag
	.comm	_stdout,4,2                     ; @stdout
	.comm	_stderr,4,2                     ; @stderr
l_.str.5:                               ; @.str.5
	.asciz	"replace %s? "

	.comm	_EOF,4,2                        ; @EOF
l_.str.6:                               ; @.str.6
	.asciz	"not replaced\n"

	.comm	_AT_FDCWD,4,2                   ; @AT_FDCWD
	.comm	_AT_SYMLINK_FOLLOW,4,2          ; @AT_SYMLINK_FOLLOW
	.comm	_vflag,8,3                      ; @vflag
l_.str.7:                               ; @.str.7
	.asciz	"%s %c> %s\n"

	.comm	_linkch,4,2                     ; @linkch
	.no_dead_strip	_linkit
.subsections_via_symbols
