	.file	"extr_rmdir.c_main.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"pv"
.LC1:
	.string	"%s"
.LC2:
	.string	"%s\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	lea	r12, .LC0[rip]
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	ebp, edi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rsi
	.p2align 4,,10
	.p2align 3
.L2:
	mov	rdx, r12
	mov	rsi, rbx
	mov	edi, ebp
	call	getopt@PLT
	cmp	eax, -1
	je	.L19
	cmp	eax, 112
	je	.L3
	cmp	eax, 118
	je	.L4
	xor	eax, eax
	call	usage@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L3:
	mov	DWORD PTR pflag[rip], 1
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L4:
	mov	DWORD PTR vflag[rip], 1
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L19:
	mov	rax, QWORD PTR optind[rip]
	lea	rbx, [rbx+rax*8]
	cmp	ebp, eax
	je	.L20
.L8:
	mov	rdi, QWORD PTR [rbx]
	xor	ebp, ebp
	test	rdi, rdi
	je	.L9
	lea	r12, .LC2[rip]
	jmp	.L13
	.p2align 4,,10
	.p2align 3
.L10:
	mov	edx, DWORD PTR vflag[rip]
	test	edx, edx
	jne	.L21
.L12:
	mov	eax, DWORD PTR pflag[rip]
	test	eax, eax
	jne	.L22
.L11:
	mov	rdi, QWORD PTR 8[rbx]
	add	rbx, 8
	test	rdi, rdi
	je	.L9
.L13:
	call	rmdir@PLT
	test	rax, rax
	jns	.L10
	mov	rsi, QWORD PTR [rbx]
	lea	rdi, .LC1[rip]
	add	rbx, 8
	mov	ebp, 1
	call	warn@PLT
	mov	rdi, QWORD PTR [rbx]
	test	rdi, rdi
	jne	.L13
.L9:
	mov	edi, ebp
	call	exit@PLT
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L22:
	.cfi_restore_state
	mov	rdi, QWORD PTR [rbx]
	call	rm_path@PLT
	or	ebp, eax
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L21:
	mov	rsi, QWORD PTR [rbx]
	mov	rdi, r12
	call	printf@PLT
	jmp	.L12
.L20:
	xor	eax, eax
	call	usage@PLT
	jmp	.L8
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.comm	vflag,4,4
	.comm	pflag,4,4
	.comm	optind,8,8
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.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, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_rmdir.c_main.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"pv\000"
	.align	2
.LC1:
	.ascii	"%s\000"
	.align	2
.LC2:
	.ascii	"%s\012\000"
	.section	.text.startup,"ax",%progbits
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r4, r0
	mov	r5, r1
	ldr	r6, .L29
	ldr	r8, .L29+4
	ldr	r7, .L29+8
.L2:
	mov	r2, r6
	mov	r1, r5
	mov	r0, r4
	bl	getopt
	cmn	r0, #1
	beq	.L25
	cmp	r0, #112
	beq	.L3
	cmp	r0, #118
	moveq	r3, #1
	streq	r3, [r7]
	beq	.L2
	bl	usage
	b	.L2
.L3:
	mov	r3, #1
	str	r3, [r8]
	b	.L2
.L25:
	ldr	r3, .L29+12
	ldr	r6, [r3]
	cmp	r6, r4
	add	r4, r5, r6, lsl #2
	beq	.L26
.L8:
	ldr	r0, [r5, r6, lsl #2]
	cmp	r0, #0
	beq	.L14
	mov	r5, #0
	ldr	r7, .L29+8
	ldr	r6, .L29+4
	ldr	r9, .L29+16
	ldr	r8, .L29+20
	b	.L13
.L10:
	ldr	r3, [r7]
	cmp	r3, #0
	bne	.L27
.L12:
	ldr	r3, [r6]
	cmp	r3, #0
	bne	.L28
.L11:
	ldr	r0, [r4, #4]!
	cmp	r0, #0
	beq	.L9
.L13:
	bl	rmdir
	cmp	r0, #0
	bge	.L10
	ldr	r1, [r4]
	mov	r0, r8
	bl	warn
	ldr	r0, [r4, #4]!
	mov	r5, #1
	cmp	r0, #0
	bne	.L13
.L9:
	mov	r0, r5
	bl	exit
	mov	r0, #0
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L28:
	ldr	r0, [r4]
	bl	rm_path
	orr	r5, r5, r0
	b	.L11
.L27:
	mov	r0, r9
	ldr	r1, [r4]
	bl	printf
	b	.L12
.L26:
	bl	usage
	b	.L8
.L14:
	mov	r5, r0
	b	.L9
.L30:
	.align	2
.L29:
	.word	.LC0
	.word	pflag
	.word	vflag
	.word	optind
	.word	.LC2
	.word	.LC1
	.size	main, .-main
	.comm	vflag,4,4
	.comm	pflag,4,4
	.comm	optind,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
