	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_removedir                      ## -- Begin function removedir
	.p2align	4, 0x90
_removedir:                             ## @removedir
	.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	%rsi, %rbx
	cmpl	$1, %edi
	jg	LBB0_4
## %bb.1:
	movq	_line@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_strcat
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	movq	_stdout@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	callq	_fflush
	movq	(%rbx), %rbx
	movq	%rbx, %rdi
	callq	_strlen
	leaq	(%rbx,%rax,4), %rdi
	callq	_gets
	xorl	%eax, %eax
	callq	_makeargv
	movq	_margc@GOTPCREL(%rip), %rax
	movq	_margv@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rbx
	cmpl	$1, (%rax)
	jg	LBB0_4
## %bb.2:
	movq	(%rbx), %rsi
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	movl	(%r14), %edi
	callq	_fflush
	movq	_code@GOTPCREL(%rip), %rax
	movl	$-1, (%rax)
	jmp	LBB0_3
LBB0_4:
	movq	8(%rbx), %rsi
	leaq	L_.str.3(%rip), %rdi
	callq	_command
	movq	_ERROR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.5:
	movq	_code@GOTPCREL(%rip), %rax
	cmpl	$500, (%rax)                    ## imm = 0x1F4
	jne	LBB0_3
## %bb.6:
	movq	_verbose@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_8
## %bb.7:
	leaq	L_str(%rip), %rdi
	callq	_puts
	movq	_stdout@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_fflush
LBB0_8:
	movq	8(%rbx), %rsi
	leaq	L_.str.5(%rip), %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_command                        ## TAILCALL
LBB0_3:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_line,8,3                       ## @line
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	" "

L_.str.1:                               ## @.str.1
	.asciz	"(directory-name) "

	.comm	_stdout,4,2                     ## @stdout
	.comm	_margc,4,2                      ## @margc
	.comm	_margv,8,3                      ## @margv
L_.str.2:                               ## @.str.2
	.asciz	"usage: %s directory-name\n"

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

	.comm	_ERROR,8,3                      ## @ERROR
	.comm	_verbose,8,3                    ## @verbose
L_.str.5:                               ## @.str.5
	.asciz	"XRMD %s"

L_str:                                  ## @str
	.asciz	"RMD command not recognized, trying XRMD"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_removedir                      ; -- Begin function removedir
	.p2align	2
_removedir:                             ; @removedir
	.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
	mov	x19, x1
	cmp	w0, #1
	b.gt	LBB0_3
; %bb.1:
Lloh0:
	adrp	x19, _line@GOTPAGE
Lloh1:
	ldr	x19, [x19, _line@GOTPAGEOFF]
	ldr	x0, [x19]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_strcat
Lloh4:
	adrp	x0, l_.str.1@PAGE
Lloh5:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_printf
Lloh6:
	adrp	x20, _stdout@GOTPAGE
Lloh7:
	ldr	x20, [x20, _stdout@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_fflush
	ldr	x19, [x19]
	mov	x0, x19
	bl	_strlen
	add	x0, x19, x0, lsl #2
	bl	_gets
	bl	_makeargv
Lloh8:
	adrp	x8, _margc@GOTPAGE
Lloh9:
	ldr	x8, [x8, _margc@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
Lloh11:
	adrp	x9, _margv@GOTPAGE
Lloh12:
	ldr	x9, [x9, _margv@GOTPAGEOFF]
Lloh13:
	ldr	x19, [x9]
	cmp	w8, #1
	b.gt	LBB0_3
; %bb.2:
	ldr	x8, [x19]
	str	x8, [sp]
Lloh14:
	adrp	x0, l_.str.2@PAGE
Lloh15:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_printf
	ldr	w0, [x20]
	bl	_fflush
Lloh16:
	adrp	x8, _code@GOTPAGE
Lloh17:
	ldr	x8, [x8, _code@GOTPAGEOFF]
	mov	w9, #-1
Lloh18:
	str	w9, [x8]
	b	LBB0_8
LBB0_3:
	ldr	x1, [x19, #8]
Lloh19:
	adrp	x0, l_.str.3@PAGE
Lloh20:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_command
Lloh21:
	adrp	x8, _ERROR@GOTPAGE
Lloh22:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh23:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_8
; %bb.4:
Lloh24:
	adrp	x8, _code@GOTPAGE
Lloh25:
	ldr	x8, [x8, _code@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
	cmp	w8, #500
	b.ne	LBB0_8
; %bb.5:
Lloh27:
	adrp	x8, _verbose@GOTPAGE
Lloh28:
	ldr	x8, [x8, _verbose@GOTPAGEOFF]
Lloh29:
	ldr	x8, [x8]
	cbz	x8, LBB0_7
; %bb.6:
Lloh30:
	adrp	x0, l_str@PAGE
Lloh31:
	add	x0, x0, l_str@PAGEOFF
	bl	_puts
Lloh32:
	adrp	x8, _stdout@GOTPAGE
Lloh33:
	ldr	x8, [x8, _stdout@GOTPAGEOFF]
Lloh34:
	ldr	w0, [x8]
	bl	_fflush
LBB0_7:
	ldr	x1, [x19, #8]
Lloh35:
	adrp	x0, l_.str.5@PAGE
Lloh36:
	add	x0, x0, l_.str.5@PAGEOFF
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_command
LBB0_8:
	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	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotStr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh35, Lloh36
	.cfi_endproc
                                        ; -- End function
	.comm	_line,8,3                       ; @line
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	" "

l_.str.1:                               ; @.str.1
	.asciz	"(directory-name) "

	.comm	_stdout,4,2                     ; @stdout
	.comm	_margc,4,2                      ; @margc
	.comm	_margv,8,3                      ; @margv
l_.str.2:                               ; @.str.2
	.asciz	"usage: %s directory-name\n"

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

	.comm	_ERROR,8,3                      ; @ERROR
	.comm	_verbose,8,3                    ; @verbose
l_.str.5:                               ; @.str.5
	.asciz	"XRMD %s"

l_str:                                  ; @str
	.asciz	"RMD command not recognized, trying XRMD"

.subsections_via_symbols
