	.file	"158573.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"%s: must be run as root\n"
	.align 8
.LC1:
	.string	"%s: only one user should be specified\n"
	.align 8
.LC2:
	.string	"%s: unrecognized command-line switch `-%c'\n"
.LC3:
	.string	"--remove-home"
.LC4:
	.string	"--kick"
	.align 8
.LC5:
	.string	"%s: unrecognized command-line option `%s'\n"
	.align 8
.LC6:
	.string	"USAGE:\t%s [-r|--remove-home] [-k|--kick] <username>\n"
	.align 8
.LC7:
	.string	"\tDelete the user with the given username.\n\n"
.LC8:
	.string	"\t-r, --remove-home\n"
	.align 8
.LC9:
	.string	"\t\tDelete the user's home directory. If not passed, then\n"
	.align 8
.LC10:
	.string	"\t\tby default the directory's owner and group are set to root.\n\n"
.LC11:
	.string	"\t-k, --kick\n"
	.align 8
.LC12:
	.string	"\t\tKill all processes running for this user.\n"
	.align 8
.LC13:
	.string	"Removing user account `%s'...\n"
.LC14:
	.string	"User account not found.\n"
.LC15:
	.string	"pipe"
.LC16:
	.string	"fork"
.LC17:
	.string	"rmuser"
.LC18:
	.string	"/usr/bin/userctl"
.LC19:
	.string	"exec userctl"
.LC20:
	.string	"w"
.LC21:
	.string	"rmuser %s\n"
.LC22:
	.string	"save\n"
	.align 8
.LC23:
	.string	"Deleting home directory `%s'...\n"
.LC24:
	.string	"-r"
.LC25:
	.string	"rm"
.LC26:
	.string	"/usr/bin/rm"
	.align 8
.LC27:
	.string	"Delegating home directory `%s' to root...\n"
.LC28:
	.string	"Kicking the user...\n"
.LC29:
	.string	"/proc"
.LC30:
	.string	"opendir /proc"
.LC31:
	.string	"/proc/%s"
.LC32:
	.string	"User deleted.\n"
	.text
	.globl	main
	.type	main, @function
main:
.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, 528
	mov	DWORD PTR -516[rbp], edi
	mov	QWORD PTR -528[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	call	geteuid@PLT
	test	eax, eax
	je	.L2
	mov	rax, QWORD PTR -528[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, 1
	jmp	.L34
.L2:
	mov	DWORD PTR -504[rbp], 0
	mov	DWORD PTR -500[rbp], 0
	mov	QWORD PTR -472[rbp], 0
	mov	DWORD PTR -496[rbp], 1
	jmp	.L4
.L16:
	mov	eax, DWORD PTR -496[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -528[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 45
	je	.L5
	cmp	QWORD PTR -472[rbp], 0
	je	.L6
	mov	rax, QWORD PTR -528[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, 1
	jmp	.L34
.L6:
	mov	eax, DWORD PTR -496[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -528[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -472[rbp], rax
	jmp	.L7
.L5:
	mov	eax, DWORD PTR -496[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -528[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	add	rax, 1
	movzx	eax, BYTE PTR [rax]
	cmp	al, 45
	je	.L8
	mov	eax, DWORD PTR -496[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -528[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	add	rax, 1
	mov	QWORD PTR -464[rbp], rax
	jmp	.L9
.L13:
	mov	rax, QWORD PTR -464[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	cmp	eax, 107
	je	.L10
	cmp	eax, 114
	jne	.L11
	mov	DWORD PTR -504[rbp], 1
	jmp	.L12
.L10:
	mov	DWORD PTR -500[rbp], 1
	jmp	.L12
.L11:
	mov	rax, QWORD PTR -464[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	ecx, al
	mov	rax, QWORD PTR -528[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, 1
	jmp	.L34
.L12:
	add	QWORD PTR -464[rbp], 1
.L9:
	mov	rax, QWORD PTR -464[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L13
	jmp	.L7
.L8:
	mov	eax, DWORD PTR -496[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -528[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L14
	mov	DWORD PTR -504[rbp], 1
	jmp	.L7
.L14:
	mov	eax, DWORD PTR -496[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -528[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L15
	mov	DWORD PTR -500[rbp], 1
	jmp	.L7
.L15:
	mov	eax, DWORD PTR -496[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -528[rbp]
	add	rax, rdx
	mov	rcx, QWORD PTR [rax]
	mov	rax, QWORD PTR -528[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, 1
	jmp	.L34
.L7:
	add	DWORD PTR -496[rbp], 1
.L4:
	mov	eax, DWORD PTR -496[rbp]
	cmp	eax, DWORD PTR -516[rbp]
	jl	.L16
	cmp	QWORD PTR -472[rbp], 0
	jne	.L17
	mov	rax, QWORD PTR -528[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 43
	mov	esi, 1
	lea	rdi, .LC7[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 19
	mov	esi, 1
	lea	rdi, .LC8[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 56
	mov	esi, 1
	lea	rdi, .LC9[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 63
	mov	esi, 1
	lea	rdi, .LC10[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 12
	mov	esi, 1
	lea	rdi, .LC11[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 44
	mov	esi, 1
	lea	rdi, .LC12[rip]
	call	fwrite@PLT
	mov	eax, 1
	jmp	.L34
.L17:
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -472[rbp]
	lea	rsi, .LC13[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR -472[rbp]
	mov	rdi, rax
	call	getpwnam@PLT
	mov	QWORD PTR -456[rbp], rax
	cmp	QWORD PTR -456[rbp], 0
	jne	.L18
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 24
	mov	esi, 1
	lea	rdi, .LC14[rip]
	call	fwrite@PLT
	mov	eax, 1
	jmp	.L34
.L18:
	lea	rax, -424[rbp]
	mov	rdi, rax
	call	pipe@PLT
	test	eax, eax
	je	.L19
	lea	rdi, .LC15[rip]
	call	perror@PLT
	mov	eax, 1
	jmp	.L34
.L19:
	call	fork@PLT
	mov	DWORD PTR -488[rbp], eax
	cmp	DWORD PTR -488[rbp], -1
	jne	.L20
	lea	rdi, .LC16[rip]
	call	perror@PLT
	mov	eax, 1
	jmp	.L34
.L20:
	cmp	DWORD PTR -488[rbp], 0
	jne	.L21
	mov	edi, 0
	call	close@PLT
	mov	eax, DWORD PTR -424[rbp]
	mov	edi, eax
	call	dup@PLT
	mov	eax, DWORD PTR -424[rbp]
	mov	edi, eax
	call	close@PLT
	mov	eax, DWORD PTR -420[rbp]
	mov	edi, eax
	call	close@PLT
	mov	edx, 0
	lea	rsi, .LC17[rip]
	lea	rdi, .LC18[rip]
	mov	eax, 0
	call	execl@PLT
	lea	rdi, .LC19[rip]
	call	perror@PLT
	mov	edi, 1
	call	_exit@PLT
.L21:
	mov	eax, DWORD PTR -420[rbp]
	lea	rsi, .LC20[rip]
	mov	edi, eax
	call	fdopen@PLT
	mov	QWORD PTR -448[rbp], rax
	mov	eax, DWORD PTR -424[rbp]
	mov	edi, eax
	call	close@PLT
	mov	rdx, QWORD PTR -472[rbp]
	mov	rax, QWORD PTR -448[rbp]
	lea	rsi, .LC21[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR -448[rbp]
	mov	rcx, rax
	mov	edx, 5
	mov	esi, 1
	lea	rdi, .LC22[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR -448[rbp]
	mov	rdi, rax
	call	fclose@PLT
	lea	rcx, -480[rbp]
	mov	eax, DWORD PTR -488[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	edi, eax
	call	waitpid@PLT
	mov	eax, DWORD PTR -480[rbp]
	test	eax, eax
	je	.L22
	mov	eax, 1
	jmp	.L34
.L22:
	cmp	DWORD PTR -504[rbp], 0
	je	.L23
	mov	rax, QWORD PTR -456[rbp]
	mov	rdx, QWORD PTR 32[rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC23[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	call	fork@PLT
	mov	DWORD PTR -488[rbp], eax
	cmp	DWORD PTR -488[rbp], -1
	jne	.L24
	lea	rdi, .LC16[rip]
	call	perror@PLT
	mov	eax, 1
	jmp	.L34
.L24:
	cmp	DWORD PTR -488[rbp], 0
	jne	.L25
	mov	rax, QWORD PTR -456[rbp]
	mov	rax, QWORD PTR 32[rax]
	mov	r8d, 0
	mov	rcx, rax
	lea	rdx, .LC24[rip]
	lea	rsi, .LC25[rip]
	lea	rdi, .LC26[rip]
	mov	eax, 0
	call	execl@PLT
	mov	edi, 1
	call	_exit@PLT
.L25:
	mov	eax, DWORD PTR -488[rbp]
	mov	edx, 0
	mov	esi, 0
	mov	edi, eax
	call	waitpid@PLT
	jmp	.L26
.L23:
	mov	rax, QWORD PTR -456[rbp]
	mov	rdx, QWORD PTR 32[rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC27[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR -456[rbp]
	mov	rax, QWORD PTR 32[rax]
	mov	edx, 0
	mov	esi, 0
	mov	rdi, rax
	call	chown@PLT
.L26:
	cmp	DWORD PTR -500[rbp], 0
	je	.L27
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 20
	mov	esi, 1
	lea	rdi, .LC28[rip]
	call	fwrite@PLT
.L33:
	mov	DWORD PTR -492[rbp], 0
	lea	rdi, .LC29[rip]
	call	opendir@PLT
	mov	QWORD PTR -440[rbp], rax
	cmp	QWORD PTR -440[rbp], 0
	jne	.L29
	lea	rdi, .LC30[rip]
	call	perror@PLT
	mov	eax, 1
	jmp	.L34
.L32:
	mov	rax, QWORD PTR -432[rbp]
	lea	rcx, 19[rax]
	lea	rax, -480[rbp]
	mov	edx, 10
	mov	rsi, rax
	mov	rdi, rcx
	call	strtoul@PLT
	mov	DWORD PTR -484[rbp], eax
	mov	rax, QWORD PTR -480[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L29
	mov	rax, QWORD PTR -432[rbp]
	lea	rdx, 19[rax]
	lea	rax, -272[rbp]
	lea	rsi, .LC31[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	lea	rdx, -416[rbp]
	lea	rax, -272[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	stat@PLT
	test	eax, eax
	jne	.L29
	mov	edx, DWORD PTR -388[rbp]
	mov	rax, QWORD PTR -456[rbp]
	mov	eax, DWORD PTR 16[rax]
	cmp	edx, eax
	jne	.L29
	mov	eax, DWORD PTR -484[rbp]
	mov	esi, 9
	mov	edi, eax
	call	kill@PLT
	mov	DWORD PTR -492[rbp], 1
.L29:
	mov	rax, QWORD PTR -440[rbp]
	mov	rdi, rax
	call	readdir@PLT
	mov	QWORD PTR -432[rbp], rax
	cmp	QWORD PTR -432[rbp], 0
	jne	.L32
	mov	rax, QWORD PTR -440[rbp]
	mov	rdi, rax
	call	closedir@PLT
	mov	edi, 1
	call	sleep@PLT
	cmp	DWORD PTR -492[rbp], 0
	jne	.L33
.L27:
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 14
	mov	esi, 1
	lea	rdi, .LC32[rip]
	call	fwrite@PLT
	mov	eax, 0
.L34:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L35
	call	__stack_chk_fail@PLT
.L35:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.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	"158573.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%s: must be run as root\012\000"
	.align	2
.LC1:
	.ascii	"%s: only one user should be specified\012\000"
	.align	2
.LC2:
	.ascii	"%s: unrecognized command-line switch `-%c'\012\000"
	.align	2
.LC3:
	.ascii	"--remove-home\000"
	.align	2
.LC4:
	.ascii	"--kick\000"
	.align	2
.LC5:
	.ascii	"%s: unrecognized command-line option `%s'\012\000"
	.align	2
.LC6:
	.ascii	"USAGE:\011%s [-r|--remove-home] [-k|--kick] <userna"
	.ascii	"me>\012\000"
	.align	2
.LC7:
	.ascii	"\011Delete the user with the given username.\012\012"
	.ascii	"\000"
	.align	2
.LC8:
	.ascii	"\011-r, --remove-home\012\000"
	.align	2
.LC9:
	.ascii	"\011\011Delete the user's home directory. If not pa"
	.ascii	"ssed, then\012\000"
	.align	2
.LC10:
	.ascii	"\011\011by default the directory's owner and group "
	.ascii	"are set to root.\012\012\000"
	.align	2
.LC11:
	.ascii	"\011-k, --kick\012\000"
	.align	2
.LC12:
	.ascii	"\011\011Kill all processes running for this user.\012"
	.ascii	"\000"
	.align	2
.LC13:
	.ascii	"Removing user account `%s'...\012\000"
	.align	2
.LC14:
	.ascii	"User account not found.\012\000"
	.align	2
.LC15:
	.ascii	"pipe\000"
	.align	2
.LC16:
	.ascii	"fork\000"
	.align	2
.LC17:
	.ascii	"rmuser\000"
	.align	2
.LC18:
	.ascii	"/usr/bin/userctl\000"
	.align	2
.LC19:
	.ascii	"exec userctl\000"
	.align	2
.LC20:
	.ascii	"w\000"
	.align	2
.LC21:
	.ascii	"rmuser %s\012\000"
	.align	2
.LC22:
	.ascii	"save\012\000"
	.align	2
.LC23:
	.ascii	"Deleting home directory `%s'...\012\000"
	.align	2
.LC24:
	.ascii	"-r\000"
	.align	2
.LC25:
	.ascii	"rm\000"
	.align	2
.LC26:
	.ascii	"/usr/bin/rm\000"
	.align	2
.LC27:
	.ascii	"Delegating home directory `%s' to root...\012\000"
	.align	2
.LC28:
	.ascii	"Kicking the user...\012\000"
	.align	2
.LC29:
	.ascii	"/proc\000"
	.align	2
.LC30:
	.ascii	"opendir /proc\000"
	.align	2
.LC31:
	.ascii	"/proc/%s\000"
	.align	2
.LC32:
	.ascii	"User deleted.\012\000"
	.align	2
.LC33:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 424
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #432
	str	r0, [fp, #-424]
	str	r1, [fp, #-428]
	ldr	r3, .L36
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	bl	geteuid
	mov	r3, r0
	cmp	r3, #0
	beq	.L2
	ldr	r3, .L36+4
	ldr	r0, [r3]
	ldr	r3, [fp, #-428]
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L36+8
	bl	fprintf
	mov	r3, #1
	b	.L34
.L2:
	mov	r3, #0
	str	r3, [fp, #-412]
	mov	r3, #0
	str	r3, [fp, #-408]
	mov	r3, #0
	str	r3, [fp, #-404]
	mov	r3, #1
	str	r3, [fp, #-400]
	b	.L4
.L16:
	ldr	r3, [fp, #-400]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-428]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #45
	beq	.L5
	ldr	r3, [fp, #-404]
	cmp	r3, #0
	beq	.L6
	ldr	r3, .L36+4
	ldr	r0, [r3]
	ldr	r3, [fp, #-428]
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L36+12
	bl	fprintf
	mov	r3, #1
	b	.L34
.L6:
	ldr	r3, [fp, #-400]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-428]
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-404]
	b	.L7
.L5:
	ldr	r3, [fp, #-400]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-428]
	add	r3, r2, r3
	ldr	r3, [r3]
	add	r3, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #45
	beq	.L8
	ldr	r3, [fp, #-400]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-428]
	add	r3, r2, r3
	ldr	r3, [r3]
	add	r3, r3, #1
	str	r3, [fp, #-396]
	b	.L9
.L13:
	ldr	r3, [fp, #-396]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #107
	beq	.L10
	cmp	r3, #114
	bne	.L11
	mov	r3, #1
	str	r3, [fp, #-412]
	b	.L12
.L10:
	mov	r3, #1
	str	r3, [fp, #-408]
	b	.L12
.L11:
	ldr	r3, .L36+4
	ldr	r0, [r3]
	ldr	r3, [fp, #-428]
	ldr	r2, [r3]
	ldr	r3, [fp, #-396]
	ldrb	r3, [r3]	@ zero_extendqisi2
	ldr	r1, .L36+16
	bl	fprintf
	mov	r3, #1
	b	.L34
.L12:
	ldr	r3, [fp, #-396]
	add	r3, r3, #1
	str	r3, [fp, #-396]
.L9:
	ldr	r3, [fp, #-396]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L13
	b	.L7
.L8:
	ldr	r3, [fp, #-400]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-428]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r1, .L36+20
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L14
	mov	r3, #1
	str	r3, [fp, #-412]
	b	.L7
.L14:
	ldr	r3, [fp, #-400]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-428]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r1, .L36+24
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L15
	mov	r3, #1
	str	r3, [fp, #-408]
	b	.L7
.L15:
	ldr	r3, .L36+4
	ldr	r0, [r3]
	ldr	r3, [fp, #-428]
	ldr	r1, [r3]
	ldr	r3, [fp, #-400]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-428]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r2, r1
	ldr	r1, .L36+28
	bl	fprintf
	mov	r3, #1
	b	.L34
.L7:
	ldr	r3, [fp, #-400]
	add	r3, r3, #1
	str	r3, [fp, #-400]
.L4:
	ldr	r2, [fp, #-400]
	ldr	r3, [fp, #-424]
	cmp	r2, r3
	blt	.L16
	ldr	r3, [fp, #-404]
	cmp	r3, #0
	bne	.L17
	ldr	r3, .L36+4
	ldr	r0, [r3]
	ldr	r3, [fp, #-428]
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L36+32
	bl	fprintf
	ldr	r3, .L36+4
	ldr	r3, [r3]
	mov	r2, #43
	mov	r1, #1
	ldr	r0, .L36+36
	bl	fwrite
	ldr	r3, .L36+4
	ldr	r3, [r3]
	mov	r2, #19
	mov	r1, #1
	ldr	r0, .L36+40
	bl	fwrite
	ldr	r3, .L36+4
	ldr	r3, [r3]
	mov	r2, #56
	mov	r1, #1
	ldr	r0, .L36+44
	bl	fwrite
	ldr	r3, .L36+4
	ldr	r3, [r3]
	mov	r2, #63
	mov	r1, #1
	ldr	r0, .L36+48
	bl	fwrite
	ldr	r3, .L36+4
	ldr	r3, [r3]
	mov	r2, #12
	mov	r1, #1
	ldr	r0, .L36+52
	bl	fwrite
	ldr	r3, .L36+4
	ldr	r3, [r3]
	mov	r2, #44
	mov	r1, #1
	ldr	r0, .L36+56
	bl	fwrite
	mov	r3, #1
	b	.L34
.L17:
	ldr	r3, .L36+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-404]
	ldr	r1, .L36+60
	mov	r0, r3
	bl	fprintf
	ldr	r0, [fp, #-404]
	bl	getpwnam
	str	r0, [fp, #-388]
	ldr	r3, [fp, #-388]
	cmp	r3, #0
	bne	.L18
	ldr	r3, .L36+4
	ldr	r3, [r3]
	mov	r2, #24
	mov	r1, #1
	ldr	r0, .L36+64
	bl	fwrite
	mov	r3, #1
	b	.L34
.L18:
	sub	r3, fp, #272
	mov	r0, r3
	bl	pipe
	mov	r3, r0
	cmp	r3, #0
	beq	.L19
	ldr	r0, .L36+68
	bl	perror
	mov	r3, #1
	b	.L34
.L19:
	bl	fork
	mov	r3, r0
	str	r3, [fp, #-384]
	ldr	r3, [fp, #-384]
	cmn	r3, #1
	bne	.L20
	ldr	r0, .L36+72
	bl	perror
	mov	r3, #1
	b	.L34
.L20:
	ldr	r3, [fp, #-384]
	cmp	r3, #0
	bne	.L21
	mov	r0, #0
	bl	close
	ldr	r3, [fp, #-272]
	mov	r0, r3
	bl	dup
	ldr	r3, [fp, #-272]
	mov	r0, r3
	bl	close
	ldr	r3, [fp, #-268]
	mov	r0, r3
	bl	close
	mov	r2, #0
	ldr	r1, .L36+76
	ldr	r0, .L36+80
	bl	execl
	ldr	r0, .L36+84
	bl	perror
	mov	r0, #1
	bl	_exit
.L21:
	ldr	r3, [fp, #-268]
	ldr	r1, .L36+88
	mov	r0, r3
	bl	fdopen
	str	r0, [fp, #-380]
	ldr	r3, [fp, #-272]
	mov	r0, r3
	bl	close
	ldr	r2, [fp, #-404]
	ldr	r1, .L36+92
	ldr	r0, [fp, #-380]
	bl	fprintf
	ldr	r3, [fp, #-380]
	mov	r2, #5
	mov	r1, #1
	ldr	r0, .L36+96
	bl	fwrite
	ldr	r0, [fp, #-380]
	bl	fclose
	sub	r3, fp, #364
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-384]
	bl	waitpid
	ldr	r3, [fp, #-364]
	cmp	r3, #0
	beq	.L22
	mov	r3, #1
	b	.L34
.L22:
	ldr	r3, [fp, #-412]
	cmp	r3, #0
	beq	.L23
	ldr	r3, .L36+4
	ldr	r0, [r3]
	ldr	r3, [fp, #-388]
	ldr	r3, [r3, #20]
	mov	r2, r3
	ldr	r1, .L36+100
	bl	fprintf
	bl	fork
	mov	r3, r0
	str	r3, [fp, #-384]
	ldr	r3, [fp, #-384]
	cmn	r3, #1
	bne	.L24
	ldr	r0, .L36+72
	bl	perror
	mov	r3, #1
	b	.L34
.L24:
	ldr	r3, [fp, #-384]
	cmp	r3, #0
	bne	.L25
	ldr	r3, [fp, #-388]
	ldr	r3, [r3, #20]
	mov	r2, #0
	str	r2, [sp]
	ldr	r2, .L36+104
	ldr	r1, .L36+108
	ldr	r0, .L36+112
	bl	execl
	mov	r0, #1
	bl	_exit
.L25:
	mov	r2, #0
	mov	r1, #0
	ldr	r0, [fp, #-384]
	bl	waitpid
	b	.L26
.L23:
	ldr	r3, .L36+4
	ldr	r0, [r3]
	ldr	r3, [fp, #-388]
	ldr	r3, [r3, #20]
	mov	r2, r3
	ldr	r1, .L36+116
	bl	fprintf
	ldr	r3, [fp, #-388]
	ldr	r3, [r3, #20]
	mov	r2, #0
	mov	r1, #0
	mov	r0, r3
	bl	chown
.L26:
	ldr	r3, [fp, #-408]
	cmp	r3, #0
	beq	.L27
	ldr	r3, .L36+4
	ldr	r3, [r3]
	mov	r2, #20
	mov	r1, #1
	ldr	r0, .L36+120
	bl	fwrite
.L33:
	mov	r3, #0
	str	r3, [fp, #-392]
	ldr	r0, .L36+124
	bl	opendir
	str	r0, [fp, #-376]
	ldr	r3, [fp, #-376]
	cmp	r3, #0
	bne	.L29
	ldr	r0, .L36+128
	bl	perror
	mov	r3, #1
	b	.L34
.L32:
	ldr	r3, [fp, #-372]
	add	r3, r3, #11
	sub	r1, fp, #416
	mov	r2, #10
	mov	r0, r3
	bl	strtoul
	mov	r3, r0
	str	r3, [fp, #-368]
	ldr	r3, [fp, #-416]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L29
	ldr	r3, [fp, #-372]
	add	r2, r3, #11
	sub	r3, fp, #264
	ldr	r1, .L36+132
	mov	r0, r3
	bl	sprintf
	sub	r2, fp, #364
	sub	r3, fp, #264
	mov	r1, r2
	mov	r0, r3
	bl	stat
	mov	r3, r0
	cmp	r3, #0
	bne	.L29
	ldr	r2, [fp, #-340]
	ldr	r3, [fp, #-388]
	ldr	r3, [r3, #8]
	cmp	r2, r3
	bne	.L29
	mov	r1, #9
	ldr	r0, [fp, #-368]
	bl	kill
	mov	r3, #1
	str	r3, [fp, #-392]
.L29:
	ldr	r0, [fp, #-376]
	bl	readdir
	str	r0, [fp, #-372]
	ldr	r3, [fp, #-372]
	cmp	r3, #0
	bne	.L32
	ldr	r0, [fp, #-376]
	bl	closedir
	mov	r0, #1
	bl	sleep
	ldr	r3, [fp, #-392]
	cmp	r3, #0
	bne	.L33
.L27:
	ldr	r3, .L36+4
	ldr	r3, [r3]
	mov	r2, #14
	mov	r1, #1
	ldr	r0, .L36+136
	bl	fwrite
	mov	r3, #0
.L34:
	ldr	r2, .L36
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L35
	bl	__stack_chk_fail
.L35:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L37:
	.align	2
.L36:
	.word	.LC33
	.word	stderr
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.word	.LC18
	.word	.LC19
	.word	.LC20
	.word	.LC21
	.word	.LC22
	.word	.LC23
	.word	.LC24
	.word	.LC25
	.word	.LC26
	.word	.LC27
	.word	.LC28
	.word	.LC29
	.word	.LC30
	.word	.LC31
	.word	.LC32
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
