	.file	"694140.c"
	.intel_syntax noprefix
	.text
	.local	fflag
	.comm	fflag,4,4
	.local	iflag
	.comm	iflag,4,4
	.local	recur
	.comm	recur,4,4
	.local	xcode
	.comm	xcode,4,4
	.section	.rodata
.LC0:
	.string	"firR"
	.text
	.type	procopt, @function
procopt:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	DWORD PTR -20[rbp], edi
	mov	QWORD PTR -32[rbp], rsi
	jmp	.L2
.L6:
	cmp	DWORD PTR -4[rbp], 114
	je	.L3
	cmp	DWORD PTR -4[rbp], 114
	jg	.L4
	cmp	DWORD PTR -4[rbp], 105
	je	.L5
	cmp	DWORD PTR -4[rbp], 105
	jg	.L4
	cmp	DWORD PTR -4[rbp], 82
	je	.L3
	cmp	DWORD PTR -4[rbp], 102
	jne	.L4
	mov	DWORD PTR fflag[rip], 1
	jmp	.L2
.L5:
	mov	DWORD PTR iflag[rip], 1
	jmp	.L2
.L3:
	mov	DWORD PTR recur[rip], 1
	jmp	.L2
.L4:
	mov	edi, 255
	call	exit@PLT
.L2:
	mov	rcx, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR -20[rbp]
	lea	rdx, .LC0[rip]
	mov	rsi, rcx
	mov	edi, eax
	call	getopt@PLT
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 0
	jg	.L6
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	procopt, .-procopt
	.section	.rodata
.LC1:
	.string	"%s: chdir"
.LC2:
	.string	"."
.LC3:
	.string	".."
.LC4:
	.string	"%s: readdir"
.LC5:
	.string	"..: chdir"
.LC6:
	.string	"%s: rmdir"
	.text
	.type	do_rmdir, @function
do_rmdir:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	chdir@PLT
	test	eax, eax
	je	.L8
	mov	eax, DWORD PTR xcode[rip]
	test	eax, eax
	jne	.L9
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR xcode[rip], eax
.L9:
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	warn@PLT
	jmp	.L7
.L8:
	lea	rdi, .LC2[rip]
	call	opendir@PLT
	mov	QWORD PTR -16[rbp], rax
	call	__errno_location@PLT
	mov	DWORD PTR [rax], 0
	jmp	.L11
.L14:
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 19
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L12
	jmp	.L11
.L12:
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 19
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L13
	jmp	.L11
.L13:
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 19
	mov	rdi, rax
	call	do_rm
	call	__errno_location@PLT
	mov	DWORD PTR [rax], 0
.L11:
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	readdir@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L14
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	je	.L15
	mov	eax, DWORD PTR xcode[rip]
	test	eax, eax
	jne	.L16
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR xcode[rip], eax
.L16:
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	warn@PLT
.L15:
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	closedir@PLT
	lea	rdi, .LC3[rip]
	call	chdir@PLT
	test	eax, eax
	je	.L17
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	lea	rsi, .LC5[rip]
	mov	edi, eax
	mov	eax, 0
	call	err@PLT
.L17:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	rmdir@PLT
	test	eax, eax
	je	.L7
	mov	eax, DWORD PTR xcode[rip]
	test	eax, eax
	jne	.L18
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR xcode[rip], eax
.L18:
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	warn@PLT
.L7:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	do_rmdir, .-do_rmdir
	.section	.rodata
.LC7:
	.string	"%s: stat"
.LC8:
	.string	"Remove %s? "
.LC9:
	.string	"stdin"
.LC10:
	.string	"%s"
.LC11:
	.string	"%s: unlink"
	.text
	.type	do_rm, @function
do_rm:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 448
	mov	QWORD PTR -440[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	eax, DWORD PTR iflag[rip]
	mov	DWORD PTR -424[rbp], eax
	lea	rdx, -416[rbp]
	mov	rax, QWORD PTR -440[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	stat@PLT
	test	eax, eax
	je	.L20
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	cmp	eax, 2
	jne	.L21
	mov	eax, DWORD PTR fflag[rip]
	test	eax, eax
	jne	.L39
.L21:
	mov	eax, DWORD PTR xcode[rip]
	test	eax, eax
	jne	.L23
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR xcode[rip], eax
.L23:
	mov	rax, QWORD PTR -440[rbp]
	mov	rsi, rax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	warn@PLT
	jmp	.L19
.L20:
	lea	rdx, -416[rbp]
	mov	rax, QWORD PTR -440[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	stat@PLT
	test	eax, eax
	jne	.L24
	mov	eax, DWORD PTR -392[rbp]
	and	eax, 146
	test	eax, eax
	jne	.L24
	mov	DWORD PTR -424[rbp], 1
.L24:
	mov	eax, DWORD PTR fflag[rip]
	test	eax, eax
	jne	.L25
	cmp	DWORD PTR -424[rbp], 0
	je	.L25
	mov	eax, DWORD PTR -392[rbp]
	and	eax, 146
	test	eax, eax
	je	.L30
	mov	eax, DWORD PTR iflag[rip]
	test	eax, eax
	je	.L40
.L30:
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -440[rbp]
	lea	rsi, .LC8[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	lea	rax, -272[rbp]
	mov	edx, 255
	mov	rsi, rax
	mov	edi, 0
	call	read@PLT
	mov	DWORD PTR -420[rbp], eax
	cmp	DWORD PTR -420[rbp], 0
	jne	.L28
	mov	edi, 255
	call	exit@PLT
.L28:
	cmp	DWORD PTR -420[rbp], 0
	jns	.L29
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	lea	rsi, .LC9[rip]
	mov	edi, eax
	mov	eax, 0
	call	err@PLT
.L29:
	cmp	DWORD PTR -420[rbp], 2
	jne	.L30
	movzx	eax, BYTE PTR -272[rbp]
	cmp	al, 121
	jne	.L41
.L25:
	mov	eax, DWORD PTR -392[rbp]
	and	eax, 61440
	cmp	eax, 16384
	jne	.L32
	mov	eax, DWORD PTR recur[rip]
	test	eax, eax
	je	.L33
	mov	rax, QWORD PTR -440[rbp]
	mov	rdi, rax
	call	do_rmdir
	jmp	.L19
.L33:
	mov	eax, DWORD PTR xcode[rip]
	test	eax, eax
	jne	.L34
	mov	DWORD PTR xcode[rip], 21
.L34:
	call	__errno_location@PLT
	mov	DWORD PTR [rax], 21
	mov	rax, QWORD PTR -440[rbp]
	mov	rsi, rax
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	warn@PLT
	jmp	.L19
.L32:
	mov	rax, QWORD PTR -440[rbp]
	mov	rdi, rax
	call	unlink@PLT
	test	eax, eax
	je	.L19
	mov	eax, DWORD PTR xcode[rip]
	test	eax, eax
	jne	.L36
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR xcode[rip], eax
.L36:
	mov	rax, QWORD PTR -440[rbp]
	mov	rsi, rax
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	warn@PLT
	jmp	.L19
.L39:
	nop
	jmp	.L19
.L40:
	nop
	jmp	.L19
.L41:
	nop
.L19:
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L38
	call	__stack_chk_fail@PLT
.L38:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	do_rm, .-do_rm
	.section	.rodata
	.align 8
.LC12:
	.string	"\nUsage: rm [-firR] FILE...\nRemove FILE\n\n -f  force (do not ask for confirmation)\n -i  interactive mode (ask for confirmation)\n -r  process directiories recursively\n -R  same as -r\n"
	.text
	.type	usage, @function
usage:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	rdi, .LC12[rip]
	call	puts@PLT
	mov	edi, 0
	call	exit@PLT
	.cfi_endproc
.LFE9:
	.size	usage, .-usage
	.section	.rodata
.LC13:
	.string	"--help"
.LC14:
	.string	"too few arguments"
	.text
	.globl	main
	.type	main, @function
main:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	DWORD PTR -20[rbp], edi
	mov	QWORD PTR -32[rbp], rsi
	cmp	DWORD PTR -20[rbp], 2
	jne	.L44
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC13[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L44
	call	usage
.L44:
	mov	rdx, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR -20[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	procopt
	mov	eax, DWORD PTR optind[rip]
	cmp	DWORD PTR -20[rbp], eax
	jg	.L45
	mov	eax, DWORD PTR fflag[rip]
	test	eax, eax
	jne	.L45
	lea	rsi, .LC14[rip]
	mov	edi, 255
	mov	eax, 0
	call	errx@PLT
.L45:
	mov	eax, DWORD PTR optind[rip]
	mov	DWORD PTR -4[rbp], eax
	jmp	.L46
.L47:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	do_rm
	add	DWORD PTR -4[rbp], 1
.L46:
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -20[rbp]
	jl	.L47
	mov	eax, DWORD PTR xcode[rip]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"694140.c"
	.text
	.local	fflag
	.comm	fflag,4,4
	.local	iflag
	.comm	iflag,4,4
	.local	recur
	.comm	recur,4,4
	.local	xcode
	.comm	xcode,4,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"firR\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	procopt, %function
procopt:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	b	.L2
.L6:
	ldr	r3, [fp, #-8]
	cmp	r3, #114
	beq	.L3
	ldr	r3, [fp, #-8]
	cmp	r3, #114
	bgt	.L4
	ldr	r3, [fp, #-8]
	cmp	r3, #105
	beq	.L5
	ldr	r3, [fp, #-8]
	cmp	r3, #105
	bgt	.L4
	ldr	r3, [fp, #-8]
	cmp	r3, #82
	beq	.L3
	ldr	r3, [fp, #-8]
	cmp	r3, #102
	bne	.L4
	ldr	r3, .L7
	mov	r2, #1
	str	r2, [r3]
	b	.L2
.L5:
	ldr	r3, .L7+4
	mov	r2, #1
	str	r2, [r3]
	b	.L2
.L3:
	ldr	r3, .L7+8
	mov	r2, #1
	str	r2, [r3]
	b	.L2
.L4:
	mov	r0, #255
	bl	exit
.L2:
	ldr	r2, .L7+12
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-16]
	bl	getopt
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bgt	.L6
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L8:
	.align	2
.L7:
	.word	fflag
	.word	iflag
	.word	recur
	.word	.LC0
	.size	procopt, .-procopt
	.section	.rodata
	.align	2
.LC1:
	.ascii	"%s: chdir\000"
	.align	2
.LC2:
	.ascii	".\000"
	.align	2
.LC3:
	.ascii	"..\000"
	.align	2
.LC4:
	.ascii	"%s: readdir\000"
	.align	2
.LC5:
	.ascii	"..: chdir\000"
	.align	2
.LC6:
	.ascii	"%s: rmdir\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	do_rmdir, %function
do_rmdir:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	ldr	r0, [fp, #-16]
	bl	chdir
	mov	r3, r0
	cmp	r3, #0
	beq	.L10
	ldr	r3, .L21
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L11
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	ldr	r2, .L21
	str	r3, [r2]
.L11:
	ldr	r1, [fp, #-16]
	ldr	r0, .L21+4
	bl	warn
	b	.L9
.L10:
	ldr	r0, .L21+8
	bl	opendir
	str	r0, [fp, #-12]
	bl	__errno_location
	mov	r3, r0
	mov	r2, #0
	str	r2, [r3]
	b	.L13
.L16:
	ldr	r3, [fp, #-8]
	add	r3, r3, #11
	ldr	r1, .L21+8
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L14
	b	.L13
.L14:
	ldr	r3, [fp, #-8]
	add	r3, r3, #11
	ldr	r1, .L21+12
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L15
	b	.L13
.L15:
	ldr	r3, [fp, #-8]
	add	r3, r3, #11
	mov	r0, r3
	bl	do_rm
	bl	__errno_location
	mov	r3, r0
	mov	r2, #0
	str	r2, [r3]
.L13:
	ldr	r0, [fp, #-12]
	bl	readdir
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L16
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L17
	ldr	r3, .L21
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L18
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	ldr	r2, .L21
	str	r3, [r2]
.L18:
	ldr	r1, [fp, #-16]
	ldr	r0, .L21+16
	bl	warn
.L17:
	ldr	r0, [fp, #-12]
	bl	closedir
	ldr	r0, .L21+12
	bl	chdir
	mov	r3, r0
	cmp	r3, #0
	beq	.L19
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	ldr	r1, .L21+20
	mov	r0, r3
	bl	err
.L19:
	ldr	r0, [fp, #-16]
	bl	rmdir
	mov	r3, r0
	cmp	r3, #0
	beq	.L9
	ldr	r3, .L21
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L20
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	ldr	r2, .L21
	str	r3, [r2]
.L20:
	ldr	r1, [fp, #-16]
	ldr	r0, .L21+24
	bl	warn
.L9:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L22:
	.align	2
.L21:
	.word	xcode
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.size	do_rmdir, .-do_rmdir
	.section	.rodata
	.align	2
.LC7:
	.ascii	"%s: stat\000"
	.align	2
.LC8:
	.ascii	"Remove %s? \000"
	.align	2
.LC9:
	.ascii	"stdin\000"
	.align	2
.LC10:
	.ascii	"%s\000"
	.align	2
.LC11:
	.ascii	"%s: unlink\000"
	.align	2
.LC12:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	do_rm, %function
do_rm:
	@ args = 0, pretend = 0, frame = 368
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #368
	str	r0, [fp, #-368]
	ldr	r3, .L46
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L46+4
	ldr	r3, [r3]
	str	r3, [fp, #-364]
	sub	r3, fp, #356
	mov	r1, r3
	ldr	r0, [fp, #-368]
	bl	stat
	mov	r3, r0
	cmp	r3, #0
	beq	.L24
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #2
	bne	.L25
	ldr	r3, .L46+8
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L43
.L25:
	ldr	r3, .L46+12
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L27
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	ldr	r2, .L46+12
	str	r3, [r2]
.L27:
	ldr	r1, [fp, #-368]
	ldr	r0, .L46+16
	bl	warn
	b	.L23
.L24:
	sub	r3, fp, #356
	mov	r1, r3
	ldr	r0, [fp, #-368]
	bl	stat
	mov	r3, r0
	cmp	r3, #0
	bne	.L28
	ldr	r3, [fp, #-340]
	and	r3, r3, #146
	cmp	r3, #0
	bne	.L28
	mov	r3, #1
	str	r3, [fp, #-364]
.L28:
	ldr	r3, .L46+8
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L29
	ldr	r3, [fp, #-364]
	cmp	r3, #0
	beq	.L29
	ldr	r3, [fp, #-340]
	and	r3, r3, #146
	cmp	r3, #0
	beq	.L34
	ldr	r3, .L46+4
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L44
.L34:
	ldr	r3, .L46+20
	ldr	r3, [r3]
	ldr	r2, [fp, #-368]
	ldr	r1, .L46+24
	mov	r0, r3
	bl	fprintf
	sub	r3, fp, #264
	mov	r2, #255
	mov	r1, r3
	mov	r0, #0
	bl	read
	str	r0, [fp, #-360]
	ldr	r3, [fp, #-360]
	cmp	r3, #0
	bne	.L32
	mov	r0, #255
	bl	exit
.L32:
	ldr	r3, [fp, #-360]
	cmp	r3, #0
	bge	.L33
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	ldr	r1, .L46+28
	mov	r0, r3
	bl	err
.L33:
	ldr	r3, [fp, #-360]
	cmp	r3, #2
	bne	.L34
	ldrb	r3, [fp, #-264]	@ zero_extendqisi2
	cmp	r3, #121
	bne	.L45
.L29:
	ldr	r3, [fp, #-340]
	and	r3, r3, #61440
	cmp	r3, #16384
	bne	.L36
	ldr	r3, .L46+32
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L37
	ldr	r0, [fp, #-368]
	bl	do_rmdir
	b	.L23
.L37:
	ldr	r3, .L46+12
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L38
	ldr	r3, .L46+12
	mov	r2, #21
	str	r2, [r3]
.L38:
	bl	__errno_location
	mov	r3, r0
	mov	r2, #21
	str	r2, [r3]
	ldr	r1, [fp, #-368]
	ldr	r0, .L46+36
	bl	warn
	b	.L23
.L36:
	ldr	r0, [fp, #-368]
	bl	unlink
	mov	r3, r0
	cmp	r3, #0
	beq	.L23
	ldr	r3, .L46+12
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L40
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	ldr	r2, .L46+12
	str	r3, [r2]
.L40:
	ldr	r1, [fp, #-368]
	ldr	r0, .L46+40
	bl	warn
	b	.L23
.L43:
	nop
	b	.L23
.L44:
	nop
	b	.L23
.L45:
	nop
.L23:
	ldr	r3, .L46
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L42
	bl	__stack_chk_fail
.L42:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L47:
	.align	2
.L46:
	.word	.LC12
	.word	iflag
	.word	fflag
	.word	xcode
	.word	.LC7
	.word	stderr
	.word	.LC8
	.word	.LC9
	.word	recur
	.word	.LC10
	.word	.LC11
	.size	do_rm, .-do_rm
	.section	.rodata
	.align	2
.LC13:
	.ascii	"\012Usage: rm [-firR] FILE...\012Remove FILE\012\012"
	.ascii	" -f  force (do not ask for confirmation)\012 -i  in"
	.ascii	"teractive mode (ask for confirmation)\012 -r  proce"
	.ascii	"ss directiories recursively\012 -R  same as -r\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	usage, %function
usage:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r0, .L49
	bl	puts
	mov	r0, #0
	bl	exit
.L50:
	.align	2
.L49:
	.word	.LC13
	.size	usage, .-usage
	.section	.rodata
	.align	2
.LC14:
	.ascii	"--help\000"
	.align	2
.LC15:
	.ascii	"too few arguments\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	ldr	r3, [fp, #-16]
	cmp	r3, #2
	bne	.L52
	ldr	r3, [fp, #-20]
	add	r3, r3, #4
	ldr	r3, [r3]
	ldr	r1, .L57
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L52
	bl	usage
.L52:
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-16]
	bl	procopt
	ldr	r3, .L57+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	bgt	.L53
	ldr	r3, .L57+8
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L53
	ldr	r1, .L57+12
	mov	r0, #255
	bl	errx
.L53:
	ldr	r3, .L57+4
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	b	.L54
.L55:
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	do_rm
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L54:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-16]
	cmp	r2, r3
	blt	.L55
	ldr	r3, .L57+16
	ldr	r3, [r3]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L58:
	.align	2
.L57:
	.word	.LC14
	.word	optind
	.word	fflag
	.word	.LC15
	.word	xcode
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
