	.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
	subq	$16, %rsp
	movl	%edi, -12(%rbp)
	movq	%rsi, -8(%rbp)
	testl	%edi, %edi
	je	LBB0_4
## %bb.1:
	cmpl	$2, %edi
	jg	LBB0_4
## %bb.2:
	cmpl	$1, %edi
	jne	LBB0_5
## %bb.3:
	leaq	L_.str(%rip), %rdx
	leaq	-12(%rbp), %rdi
	leaq	-8(%rbp), %rsi
	callq	_another
	movq	-8(%rbp), %rsi
	testl	%eax, %eax
	je	LBB0_4
LBB0_5:
	movq	8(%rsi), %rsi
	leaq	L_.str.2(%rip), %rdi
	callq	_command
	movq	_ERROR@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_10
## %bb.6:
	movq	_code@GOTPCREL(%rip), %rcx
	cmpl	$500, (%rcx)                    ## imm = 0x1F4
	jne	LBB0_10
## %bb.7:
	movq	_verbose@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_9
## %bb.8:
	movq	_ttyout@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.3(%rip), %rdi
	callq	_fputs
LBB0_9:
	movq	-8(%rbp), %rax
	movq	8(%rax), %rsi
	leaq	L_.str.4(%rip), %rdi
	callq	_command
LBB0_10:
	movq	_COMPLETE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_12
## %bb.11:
	movq	_dirchange@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	jmp	LBB0_12
LBB0_4:
	movq	(%rsi), %rsi
	leaq	L_.str.1(%rip), %rdi
	callq	_UPRINTF
	movq	_code@GOTPCREL(%rip), %rax
	movl	$-1, (%rax)
LBB0_12:
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"directory-name"

L_.str.1:                               ## @.str.1
	.asciz	"usage: %s directory-name\n"

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

	.comm	_ERROR,4,2                      ## @ERROR
	.comm	_verbose,8,3                    ## @verbose
L_.str.3:                               ## @.str.3
	.asciz	"RMD command not recognized, trying XRMD.\n"

	.comm	_ttyout,4,2                     ## @ttyout
L_.str.4:                               ## @.str.4
	.asciz	"XRMD %s"

	.comm	_COMPLETE,4,2                   ## @COMPLETE
	.comm	_dirchange,4,2                  ## @dirchange
.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, #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]
	cbz	w0, LBB0_11
; %bb.1:
	cmp	w0, #2
	b.gt	LBB0_11
; %bb.2:
	cmp	w0, #1
	b.ne	LBB0_4
; %bb.3:
Lloh0:
	adrp	x2, l_.str@PAGE
Lloh1:
	add	x2, x2, l_.str@PAGEOFF
	sub	x0, x29, #4
	mov	x1, sp
	bl	_another
	ldr	x1, [sp]
	cbz	w0, LBB0_11
LBB0_4:
	ldr	x1, [x1, #8]
Lloh2:
	adrp	x0, l_.str.2@PAGE
Lloh3:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_command
Lloh4:
	adrp	x8, _ERROR@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_9
; %bb.5:
Lloh7:
	adrp	x8, _code@GOTPAGE
Lloh8:
	ldr	x8, [x8, _code@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	cmp	w8, #500
	b.ne	LBB0_9
; %bb.6:
Lloh10:
	adrp	x8, _verbose@GOTPAGE
Lloh11:
	ldr	x8, [x8, _verbose@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
	cbz	x8, LBB0_8
; %bb.7:
Lloh13:
	adrp	x8, _ttyout@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ttyout@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
Lloh16:
	adrp	x0, l_.str.3@PAGE
Lloh17:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_fputs
LBB0_8:
	ldr	x8, [sp]
	ldr	x1, [x8, #8]
Lloh18:
	adrp	x0, l_.str.4@PAGE
Lloh19:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_command
LBB0_9:
Lloh20:
	adrp	x8, _COMPLETE@GOTPAGE
Lloh21:
	ldr	x8, [x8, _COMPLETE@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_13
; %bb.10:
Lloh23:
	adrp	x8, _dirchange@GOTPAGE
Lloh24:
	ldr	x8, [x8, _dirchange@GOTPAGEOFF]
	mov	w9, #1
	b	LBB0_12
LBB0_11:
	ldr	x1, [x1]
Lloh25:
	adrp	x0, l_.str.1@PAGE
Lloh26:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_UPRINTF
Lloh27:
	adrp	x8, _code@GOTPAGE
Lloh28:
	ldr	x8, [x8, _code@GOTPAGEOFF]
	mov	w9, #-1
LBB0_12:
	str	w9, [x8]
LBB0_13:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpAdd	Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"directory-name"

l_.str.1:                               ; @.str.1
	.asciz	"usage: %s directory-name\n"

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

	.comm	_ERROR,4,2                      ; @ERROR
	.comm	_verbose,8,3                    ; @verbose
l_.str.3:                               ; @.str.3
	.asciz	"RMD command not recognized, trying XRMD.\n"

	.comm	_ttyout,4,2                     ; @ttyout
l_.str.4:                               ; @.str.4
	.asciz	"XRMD %s"

	.comm	_COMPLETE,4,2                   ; @COMPLETE
	.comm	_dirchange,4,2                  ; @dirchange
.subsections_via_symbols
