	.file	"359994.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"Unknown file type, FIXME\n"
	.text
	.globl	rm_funct
	.type	rm_funct, @function
rm_funct:
.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, 48
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	DWORD PTR -36[rbp], edx
	mov	QWORD PTR -48[rbp], rcx
	cmp	DWORD PTR -36[rbp], 0
	je	.L2
	cmp	DWORD PTR -36[rbp], 5
	jne	.L3
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	rmdir@PLT
	mov	DWORD PTR -4[rbp], eax
	jmp	.L4
.L2:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	unlink@PLT
	mov	DWORD PTR -4[rbp], eax
	jmp	.L4
.L3:
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 25
	mov	esi, 1
	lea	rdi, .LC0[rip]
	call	fwrite@PLT
	mov	eax, 1
	jmp	.L5
.L4:
	cmp	DWORD PTR -4[rbp], 0
	je	.L6
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	perror@PLT
	mov	eax, 1
	jmp	.L5
.L6:
	mov	eax, 0
.L5:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	rm_funct, .-rm_funct
	.section	.rodata
	.align 8
.LC1:
	.string	"Error: Argc(%d) != 2, run 'wipe [dirs...]'\n"
	.text
	.globl	main
	.type	main, @function
main:
.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	DWORD PTR -20[rbp], edi
	mov	QWORD PTR -32[rbp], rsi
	mov	DWORD PTR -16[rbp], 0
	cmp	DWORD PTR -20[rbp], 1
	jg	.L8
	mov	rax, QWORD PTR stderr[rip]
	mov	edx, DWORD PTR -20[rbp]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, 1
	jmp	.L9
.L8:
	mov	DWORD PTR -12[rbp], 1
	jmp	.L10
.L14:
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	ecx, 24
	mov	edx, 30
	lea	rsi, rm_funct[rip]
	mov	rdi, rax
	call	nftw@PLT
	mov	DWORD PTR -8[rbp], eax
	mov	eax, DWORD PTR -12[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	strlen@PLT
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 0
	je	.L11
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	sub	rax, 1
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 47
	jne	.L11
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	esi, 493
	mov	rdi, rax
	call	mkdir@PLT
	test	eax, eax
	je	.L11
	mov	eax, DWORD PTR -12[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	perror@PLT
	or	DWORD PTR -16[rbp], 4
.L11:
	cmp	DWORD PTR -8[rbp], 1
	jne	.L12
	or	DWORD PTR -16[rbp], 2
	jmp	.L13
.L12:
	cmp	DWORD PTR -8[rbp], 0
	je	.L13
	mov	eax, DWORD PTR -12[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	perror@PLT
	or	DWORD PTR -16[rbp], 1
.L13:
	add	DWORD PTR -12[rbp], 1
.L10:
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, DWORD PTR -20[rbp]
	jl	.L14
	mov	eax, DWORD PTR -16[rbp]
.L9:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.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	"359994.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Unknown file type, FIXME\012\000"
	.text
	.align	2
	.global	rm_funct
	.syntax unified
	.arm
	.fpu softvfp
	.type	rm_funct, %function
rm_funct:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	beq	.L2
	ldr	r3, [fp, #-24]
	cmp	r3, #5
	bne	.L3
	ldr	r0, [fp, #-16]
	bl	rmdir
	str	r0, [fp, #-8]
	b	.L4
.L2:
	ldr	r0, [fp, #-16]
	bl	unlink
	str	r0, [fp, #-8]
	b	.L4
.L3:
	ldr	r3, .L7
	ldr	r3, [r3]
	mov	r2, #25
	mov	r1, #1
	ldr	r0, .L7+4
	bl	fwrite
	mov	r3, #1
	b	.L5
.L4:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L6
	ldr	r0, [fp, #-16]
	bl	perror
	mov	r3, #1
	b	.L5
.L6:
	mov	r3, #0
.L5:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L8:
	.align	2
.L7:
	.word	stderr
	.word	.LC0
	.size	rm_funct, .-rm_funct
	.section	.rodata
	.align	2
.LC1:
	.ascii	"Error: Argc(%d) != 2, run 'wipe [dirs...]'\012\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-24]
	cmp	r3, #1
	bgt	.L10
	ldr	r3, .L17
	ldr	r3, [r3]
	ldr	r2, [fp, #-24]
	ldr	r1, .L17+4
	mov	r0, r3
	bl	fprintf
	mov	r3, #1
	b	.L11
.L10:
	mov	r3, #1
	str	r3, [fp, #-16]
	b	.L12
.L16:
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldr	r0, [r3]
	mov	r3, #24
	mov	r2, #30
	ldr	r1, .L17+8
	bl	nftw
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L13
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	sub	r3, r3, #1
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #47
	bne	.L13
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r1, .L17+12
	mov	r0, r3
	bl	mkdir
	mov	r3, r0
	cmp	r3, #0
	beq	.L13
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	perror
	ldr	r3, [fp, #-20]
	orr	r3, r3, #4
	str	r3, [fp, #-20]
.L13:
	ldr	r3, [fp, #-12]
	cmp	r3, #1
	bne	.L14
	ldr	r3, [fp, #-20]
	orr	r3, r3, #2
	str	r3, [fp, #-20]
	b	.L15
.L14:
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	beq	.L15
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	perror
	ldr	r3, [fp, #-20]
	orr	r3, r3, #1
	str	r3, [fp, #-20]
.L15:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L12:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-24]
	cmp	r2, r3
	blt	.L16
	ldr	r3, [fp, #-20]
.L11:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L18:
	.align	2
.L17:
	.word	stderr
	.word	.LC1
	.word	rm_funct
	.word	493
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
