	.file	"243894036.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"USAGE:\tadduser <username>\n"
.LC1:
	.string	"\tCreate a new user account.\n"
.LC2:
	.string	"User name too long.\n"
.LC3:
	.string	"%s: must be run as root\n"
	.align 8
.LC4:
	.string	"Creating user account `%s'...\n"
.LC5:
	.string	"Password for new user: "
.LC6:
	.string	"Re-type password: "
.LC7:
	.string	"Passwords do not match.\n"
.LC8:
	.string	"Full name (optional): "
.LC9:
	.string	"Creating the account...\n"
.LC10:
	.string	"pipe"
.LC11:
	.string	"/dev/urandom"
.LC12:
	.string	"open"
.LC13:
	.string	"fork"
.LC14:
	.string	"adduser"
.LC15:
	.string	"/usr/bin/userctl"
.LC16:
	.string	"exec userctl"
.LC17:
	.string	"w"
	.align 8
.LC18:
	.string	"adduser %s %s /home/%s /bin/sh %s\n"
.LC19:
	.string	"save\n"
.LC20:
	.string	"/home/%s"
.LC21:
	.string	"Creating home directory `%s'\n"
.LC22:
	.string	"mkdir"
.LC23:
	.string	"%s:%s"
.LC24:
	.string	"chown"
.LC25:
	.string	"/usr/bin/chown"
.LC26:
	.string	"exec chown"
.LC27:
	.string	"Account created.\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, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 656
	mov	DWORD PTR -4740[rbp], edi
	mov	QWORD PTR -4752[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	cmp	DWORD PTR -4740[rbp], 2
	je	.L2
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 26
	mov	esi, 1
	lea	rdi, .LC0[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 28
	mov	esi, 1
	lea	rdi, .LC1[rip]
	call	fwrite@PLT
	mov	eax, 1
	jmp	.L22
.L2:
	mov	rax, QWORD PTR -4752[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	strlen@PLT
	cmp	rax, 127
	jbe	.L4
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 20
	mov	esi, 1
	lea	rdi, .LC2[rip]
	call	fwrite@PLT
	mov	eax, 1
	jmp	.L22
.L4:
	call	geteuid@PLT
	test	eax, eax
	je	.L5
	mov	rax, QWORD PTR -4752[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, 1
	jmp	.L22
.L5:
	lea	rax, -4688[rbp]
	mov	rsi, rax
	mov	edi, 0
	call	tcgetattr@PLT
	mov	eax, DWORD PTR -4676[rbp]
	and	eax, -9
	mov	DWORD PTR -4676[rbp], eax
	lea	rax, -4688[rbp]
	mov	rdx, rax
	mov	esi, 0
	mov	edi, 0
	call	tcsetattr@PLT
	mov	rax, QWORD PTR -4752[rbp]
	add	rax, 8
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 23
	mov	esi, 1
	lea	rdi, .LC5[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rdi, rax
	call	fflush@PLT
	mov	rdx, QWORD PTR stdin[rip]
	lea	rax, -4112[rbp]
	mov	esi, 1024
	mov	rdi, rax
	call	fgets@PLT
	test	rax, rax
	jne	.L6
	mov	eax, DWORD PTR -4676[rbp]
	or	eax, 8
	mov	DWORD PTR -4676[rbp], eax
	lea	rax, -4688[rbp]
	mov	rdx, rax
	mov	esi, 0
	mov	edi, 0
	call	tcsetattr@PLT
	mov	eax, 1
	jmp	.L22
.L6:
	lea	rax, -4112[rbp]
	mov	esi, 10
	mov	rdi, rax
	call	strchr@PLT
	mov	QWORD PTR -4720[rbp], rax
	cmp	QWORD PTR -4720[rbp], 0
	je	.L7
	mov	rax, QWORD PTR -4720[rbp]
	mov	BYTE PTR [rax], 0
.L7:
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 18
	mov	esi, 1
	lea	rdi, .LC6[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rdi, rax
	call	fflush@PLT
	mov	rdx, QWORD PTR stdin[rip]
	lea	rax, -3088[rbp]
	mov	esi, 1024
	mov	rdi, rax
	call	fgets@PLT
	test	rax, rax
	jne	.L8
	mov	eax, DWORD PTR -4676[rbp]
	or	eax, 8
	mov	DWORD PTR -4676[rbp], eax
	lea	rax, -4688[rbp]
	mov	rdx, rax
	mov	esi, 0
	mov	edi, 0
	call	tcsetattr@PLT
	mov	eax, 1
	jmp	.L22
.L8:
	lea	rax, -3088[rbp]
	mov	esi, 10
	mov	rdi, rax
	call	strchr@PLT
	mov	QWORD PTR -4720[rbp], rax
	cmp	QWORD PTR -4720[rbp], 0
	je	.L9
	mov	rax, QWORD PTR -4720[rbp]
	mov	BYTE PTR [rax], 0
.L9:
	lea	rdx, -3088[rbp]
	lea	rax, -4112[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L10
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 24
	mov	esi, 1
	lea	rdi, .LC7[rip]
	call	fwrite@PLT
	mov	eax, DWORD PTR -4676[rbp]
	or	eax, 8
	mov	DWORD PTR -4676[rbp], eax
	lea	rax, -4688[rbp]
	mov	rdx, rax
	mov	esi, 0
	mov	edi, 0
	call	tcsetattr@PLT
	mov	eax, 1
	jmp	.L22
.L10:
	mov	eax, DWORD PTR -4676[rbp]
	or	eax, 8
	mov	DWORD PTR -4676[rbp], eax
	lea	rax, -4688[rbp]
	mov	rdx, rax
	mov	esi, 0
	mov	edi, 0
	call	tcsetattr@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 22
	mov	esi, 1
	lea	rdi, .LC8[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rdi, rax
	call	fflush@PLT
	mov	rdx, QWORD PTR stdin[rip]
	lea	rax, -2064[rbp]
	mov	esi, 1024
	mov	rdi, rax
	call	fgets@PLT
	test	rax, rax
	jne	.L11
	mov	BYTE PTR -2064[rbp], 0
.L11:
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 24
	mov	esi, 1
	lea	rdi, .LC9[rip]
	call	fwrite@PLT
	lea	rax, -4696[rbp]
	mov	rdi, rax
	call	pipe@PLT
	test	eax, eax
	je	.L12
	lea	rdi, .LC10[rip]
	call	perror@PLT
	mov	eax, 1
	jmp	.L22
.L12:
	mov	esi, 0
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -4728[rbp], eax
	cmp	DWORD PTR -4728[rbp], -1
	jne	.L13
	lea	rdi, .LC12[rip]
	call	perror@PLT
	mov	eax, 1
	jmp	.L22
.L13:
	lea	rcx, -4626[rbp]
	mov	eax, DWORD PTR -4728[rbp]
	mov	edx, 2
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	mov	eax, DWORD PTR -4728[rbp]
	mov	edi, eax
	call	close@PLT
	lea	rdx, -4626[rbp]
	lea	rax, -4112[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	crypt@PLT
	mov	QWORD PTR -4712[rbp], rax
	call	fork@PLT
	mov	DWORD PTR -4724[rbp], eax
	cmp	DWORD PTR -4724[rbp], -1
	jne	.L14
	lea	rdi, .LC13[rip]
	call	perror@PLT
	mov	eax, 1
	jmp	.L22
.L14:
	cmp	DWORD PTR -4724[rbp], 0
	jne	.L15
	mov	eax, DWORD PTR -4692[rbp]
	mov	edi, eax
	call	close@PLT
	mov	edi, 0
	call	close@PLT
	mov	eax, DWORD PTR -4696[rbp]
	mov	edi, eax
	call	dup@PLT
	mov	eax, DWORD PTR -4696[rbp]
	mov	edi, eax
	call	close@PLT
	mov	edx, 0
	lea	rsi, .LC14[rip]
	lea	rdi, .LC15[rip]
	mov	eax, 0
	call	execl@PLT
	lea	rdi, .LC16[rip]
	call	perror@PLT
	mov	edi, 1
	call	_exit@PLT
.L15:
	mov	eax, DWORD PTR -4696[rbp]
	mov	edi, eax
	call	close@PLT
	mov	eax, DWORD PTR -4692[rbp]
	lea	rsi, .LC17[rip]
	mov	edi, eax
	call	fdopen@PLT
	mov	QWORD PTR -4704[rbp], rax
	mov	rax, QWORD PTR -4752[rbp]
	add	rax, 8
	mov	rsi, QWORD PTR [rax]
	mov	rax, QWORD PTR -4752[rbp]
	add	rax, 8
	mov	rdx, QWORD PTR [rax]
	lea	rdi, -2064[rbp]
	mov	rcx, QWORD PTR -4712[rbp]
	mov	rax, QWORD PTR -4704[rbp]
	mov	r9, rdi
	mov	r8, rsi
	lea	rsi, .LC18[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR -4704[rbp]
	mov	rcx, rax
	mov	edx, 5
	mov	esi, 1
	lea	rdi, .LC19[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR -4704[rbp]
	mov	rdi, rax
	call	fclose@PLT
	lea	rcx, -4732[rbp]
	mov	eax, DWORD PTR -4724[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	edi, eax
	call	waitpid@PLT
	mov	eax, DWORD PTR -4732[rbp]
	test	eax, eax
	je	.L16
	mov	eax, 1
	jmp	.L22
.L16:
	mov	rax, QWORD PTR -4752[rbp]
	add	rax, 8
	mov	rdx, QWORD PTR [rax]
	lea	rax, -1040[rbp]
	lea	rsi, .LC20[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	mov	rax, QWORD PTR stderr[rip]
	lea	rdx, -1040[rbp]
	lea	rsi, .LC21[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	lea	rax, -1040[rbp]
	mov	esi, 448
	mov	rdi, rax
	mov	eax, 0
	call	mkdir@PLT
	test	eax, eax
	je	.L18
	lea	rdi, .LC22[rip]
	call	perror@PLT
	mov	eax, 1
	jmp	.L22
.L18:
	call	fork@PLT
	mov	DWORD PTR -4724[rbp], eax
	cmp	DWORD PTR -4724[rbp], -1
	jne	.L19
	lea	rdi, .LC13[rip]
	call	perror@PLT
	mov	eax, 1
	jmp	.L22
.L19:
	cmp	DWORD PTR -4724[rbp], 0
	jne	.L20
	mov	rax, QWORD PTR -4752[rbp]
	add	rax, 8
	mov	rcx, QWORD PTR [rax]
	mov	rax, QWORD PTR -4752[rbp]
	add	rax, 8
	mov	rdx, QWORD PTR [rax]
	lea	rax, -4624[rbp]
	lea	rsi, .LC23[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	lea	rdx, -1040[rbp]
	lea	rax, -4624[rbp]
	mov	r8d, 0
	mov	rcx, rdx
	mov	rdx, rax
	lea	rsi, .LC24[rip]
	lea	rdi, .LC25[rip]
	mov	eax, 0
	call	execl@PLT
	lea	rdi, .LC26[rip]
	call	perror@PLT
	mov	edi, 1
	call	_exit@PLT
.L20:
	lea	rcx, -4732[rbp]
	mov	eax, DWORD PTR -4724[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	edi, eax
	call	waitpid@PLT
	mov	eax, DWORD PTR -4732[rbp]
	test	eax, eax
	je	.L21
	mov	eax, 1
	jmp	.L22
.L21:
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 17
	mov	esi, 1
	lea	rdi, .LC27[rip]
	call	fwrite@PLT
	mov	eax, 0
.L22:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L23
	call	__stack_chk_fail@PLT
.L23:
	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	"243894036.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"USAGE:\011adduser <username>\012\000"
	.align	2
.LC1:
	.ascii	"\011Create a new user account.\012\000"
	.align	2
.LC2:
	.ascii	"User name too long.\012\000"
	.align	2
.LC3:
	.ascii	"%s: must be run as root\012\000"
	.align	2
.LC4:
	.ascii	"Creating user account `%s'...\012\000"
	.align	2
.LC5:
	.ascii	"Password for new user: \000"
	.align	2
.LC6:
	.ascii	"Re-type password: \000"
	.align	2
.LC7:
	.ascii	"Passwords do not match.\012\000"
	.align	2
.LC8:
	.ascii	"Full name (optional): \000"
	.align	2
.LC9:
	.ascii	"Creating the account...\012\000"
	.align	2
.LC10:
	.ascii	"pipe\000"
	.align	2
.LC11:
	.ascii	"/dev/urandom\000"
	.align	2
.LC12:
	.ascii	"open\000"
	.align	2
.LC13:
	.ascii	"fork\000"
	.align	2
.LC14:
	.ascii	"adduser\000"
	.align	2
.LC15:
	.ascii	"/usr/bin/userctl\000"
	.align	2
.LC16:
	.ascii	"exec userctl\000"
	.align	2
.LC17:
	.ascii	"w\000"
	.align	2
.LC18:
	.ascii	"adduser %s %s /home/%s /bin/sh %s\012\000"
	.align	2
.LC19:
	.ascii	"save\012\000"
	.align	2
.LC20:
	.ascii	"/home/%s\000"
	.align	2
.LC21:
	.ascii	"Creating home directory `%s'\012\000"
	.align	2
.LC22:
	.ascii	"mkdir\000"
	.align	2
.LC23:
	.ascii	"%s:%s\000"
	.align	2
.LC24:
	.ascii	"chown\000"
	.align	2
.LC25:
	.ascii	"/usr/bin/chown\000"
	.align	2
.LC26:
	.ascii	"exec chown\000"
	.align	2
.LC27:
	.ascii	"Account created.\012\000"
	.align	2
.LC28:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 4720
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #4672
	sub	sp, sp, #60
	sub	r3, fp, #4096
	sub	r3, r3, #12
	str	r0, [r3, #-620]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	str	r1, [r3, #-624]
	ldr	r3, .L24
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-620]
	cmp	r3, #2
	beq	.L2
	ldr	r3, .L24+4
	ldr	r3, [r3]
	mov	r2, #26
	mov	r1, #1
	ldr	r0, .L24+8
	bl	fwrite
	ldr	r3, .L24+4
	ldr	r3, [r3]
	mov	r2, #28
	mov	r1, #1
	ldr	r0, .L24+12
	bl	fwrite
	mov	r3, #1
	b	.L22
.L2:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-624]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	cmp	r3, #127
	bls	.L4
	ldr	r3, .L24+4
	ldr	r3, [r3]
	mov	r2, #20
	mov	r1, #1
	ldr	r0, .L24+16
	bl	fwrite
	mov	r3, #1
	b	.L22
.L4:
	bl	geteuid
	mov	r3, r0
	cmp	r3, #0
	beq	.L5
	ldr	r3, .L24+4
	ldr	r0, [r3]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-624]
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L24+20
	bl	fprintf
	mov	r3, #1
	b	.L22
.L5:
	sub	r3, fp, #4672
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r1, r3
	mov	r0, #0
	bl	tcgetattr
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-568]
	bic	r3, r3, #8
	sub	r2, fp, #4096
	sub	r2, r2, #12
	str	r3, [r2, #-568]
	sub	r3, fp, #4672
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r2, r3
	mov	r1, #0
	mov	r0, #0
	bl	tcsetattr
	ldr	r3, .L24+4
	ldr	r0, [r3]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-624]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L24+24
	bl	fprintf
	ldr	r3, .L24+4
	ldr	r3, [r3]
	mov	r2, #23
	mov	r1, #1
	ldr	r0, .L24+28
	bl	fwrite
	ldr	r3, .L24+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	ldr	r3, .L24+32
	ldr	r2, [r3]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r1, #1024
	mov	r0, r3
	bl	fgets
	mov	r3, r0
	cmp	r3, #0
	bne	.L6
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-568]
	orr	r3, r3, #8
	sub	r2, fp, #4096
	sub	r2, r2, #12
	str	r3, [r2, #-568]
	sub	r3, fp, #4672
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r2, r3
	mov	r1, #0
	mov	r0, #0
	bl	tcsetattr
	mov	r3, #1
	b	.L22
.L6:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r1, #10
	mov	r0, r3
	bl	strchr
	str	r0, [r4, #-608]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-608]
	cmp	r3, #0
	beq	.L7
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-608]
	mov	r2, #0
	strb	r2, [r3]
.L7:
	ldr	r3, .L24+4
	ldr	r3, [r3]
	mov	r2, #18
	mov	r1, #1
	ldr	r0, .L24+36
	bl	fwrite
	ldr	r3, .L24+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	ldr	r3, .L24+32
	ldr	r2, [r3]
	sub	r3, fp, #3072
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r1, #1024
	mov	r0, r3
	bl	fgets
	mov	r3, r0
	cmp	r3, #0
	bne	.L8
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-568]
	orr	r3, r3, #8
	sub	r2, fp, #4096
	sub	r2, r2, #12
	str	r3, [r2, #-568]
	sub	r3, fp, #4672
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r2, r3
	mov	r1, #0
	mov	r0, #0
	bl	tcsetattr
	mov	r3, #1
	b	.L22
.L8:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #3072
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r1, #10
	mov	r0, r3
	bl	strchr
	str	r0, [r4, #-608]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-608]
	cmp	r3, #0
	beq	.L9
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-608]
	mov	r2, #0
	strb	r2, [r3]
.L9:
	sub	r2, fp, #3072
	sub	r2, r2, #12
	sub	r2, r2, #4
	sub	r3, fp, #4096
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r1, r2
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L10
	ldr	r3, .L24+4
	ldr	r3, [r3]
	mov	r2, #24
	mov	r1, #1
	ldr	r0, .L24+40
	bl	fwrite
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-568]
	orr	r3, r3, #8
	sub	r2, fp, #4096
	sub	r2, r2, #12
	str	r3, [r2, #-568]
	sub	r3, fp, #4672
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r2, r3
	mov	r1, #0
	mov	r0, #0
	bl	tcsetattr
	mov	r3, #1
	b	.L22
.L10:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-568]
	orr	r3, r3, #8
	sub	r2, fp, #4096
	sub	r2, r2, #12
	str	r3, [r2, #-568]
	sub	r3, fp, #4672
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r2, r3
	mov	r1, #0
	mov	r0, #0
	bl	tcsetattr
	ldr	r3, .L24+4
	ldr	r3, [r3]
	mov	r2, #22
	mov	r1, #1
	ldr	r0, .L24+44
	bl	fwrite
	ldr	r3, .L24+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	ldr	r3, .L24+32
	ldr	r2, [r3]
	sub	r3, fp, #2048
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r1, #1024
	mov	r0, r3
	bl	fgets
	mov	r3, r0
	cmp	r3, #0
	bne	.L11
	mov	r3, #0
	strb	r3, [fp, #-2064]
.L11:
	ldr	r3, .L24+4
	ldr	r3, [r3]
	mov	r2, #24
	mov	r1, #1
	ldr	r0, .L24+48
	bl	fwrite
	sub	r3, fp, #4672
	sub	r3, r3, #12
	sub	r3, r3, #12
	mov	r0, r3
	bl	pipe
	mov	r3, r0
	cmp	r3, #0
	beq	.L12
	ldr	r0, .L24+52
	bl	perror
	mov	r3, #1
	b	.L22
.L12:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r4, r3
	mov	r1, #0
	ldr	r0, .L24+56
	bl	open
	str	r0, [r4, #-604]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-604]
	cmn	r3, #1
	bne	.L13
	ldr	r0, .L24+60
	bl	perror
	mov	r3, #1
	b	.L22
.L13:
	sub	r3, fp, #4608
	sub	r3, r3, #12
	sub	r3, r3, #8
	sub	r2, fp, #4096
	sub	r2, r2, #12
	mov	r0, r2
	mov	r2, #2
	mov	r1, r3
	ldr	r0, [r0, #-604]
	bl	read
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r0, [r3, #-604]
	bl	close
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r4, r3
	sub	r2, fp, #4608
	sub	r2, r2, #12
	sub	r2, r2, #8
	sub	r3, fp, #4096
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r1, r2
	mov	r0, r3
	bl	crypt
	str	r0, [r4, #-600]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r4, r3
	bl	fork
	mov	r3, r0
	str	r3, [r4, #-596]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-596]
	cmn	r3, #1
	bne	.L14
	ldr	r0, .L24+64
	bl	perror
	mov	r3, #1
	b	.L22
.L14:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-596]
	cmp	r3, #0
	bne	.L15
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-584]
	mov	r0, r3
	bl	close
	mov	r0, #0
	bl	close
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-588]
	mov	r0, r3
	bl	dup
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-588]
	mov	r0, r3
	bl	close
	mov	r2, #0
	ldr	r1, .L24+68
	ldr	r0, .L24+72
	bl	execl
	ldr	r0, .L24+76
	bl	perror
	mov	r0, #1
	bl	_exit
.L15:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-588]
	mov	r0, r3
	bl	close
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-584]
	sub	r2, fp, #4096
	sub	r2, r2, #12
	mov	r4, r2
	ldr	r1, .L24+80
	mov	r0, r3
	bl	fdopen
	str	r0, [r4, #-592]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-624]
	add	r3, r3, #4
	ldr	r1, [r3]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-624]
	add	r3, r3, #4
	ldr	r2, [r3]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	ip, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r0, r3
	sub	r3, fp, #2048
	sub	r3, r3, #12
	sub	r3, r3, #4
	str	r3, [sp, #4]
	str	r2, [sp]
	ldr	r3, [ip, #-600]
	mov	r2, r1
	ldr	r1, .L24+84
	ldr	r0, [r0, #-592]
	bl	fprintf
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-592]
	mov	r2, #5
	mov	r1, #1
	ldr	r0, .L24+88
	bl	fwrite
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r0, [r3, #-592]
	bl	fclose
	sub	r3, fp, #4672
	sub	r3, r3, #12
	sub	r3, r3, #36
	sub	r2, fp, #4096
	sub	r2, r2, #12
	mov	r0, r2
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [r0, #-596]
	bl	waitpid
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-612]
	cmp	r3, #0
	beq	.L16
	mov	r3, #1
	b	.L22
.L16:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-624]
	add	r3, r3, #4
	ldr	r2, [r3]
	sub	r3, fp, #1024
	sub	r3, r3, #12
	sub	r3, r3, #4
	ldr	r1, .L24+92
	mov	r0, r3
	bl	sprintf
	ldr	r3, .L24+4
	ldr	r0, [r3]
	sub	r3, fp, #1024
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r2, r3
	ldr	r1, .L24+96
	bl	fprintf
	sub	r3, fp, #1024
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r1, #448
	mov	r0, r3
	bl	mkdir
	mov	r3, r0
	cmp	r3, #0
	beq	.L18
	ldr	r0, .L24+100
	bl	perror
	mov	r3, #1
	b	.L22
.L18:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r4, r3
	bl	fork
	mov	r3, r0
	str	r3, [r4, #-596]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-596]
	cmn	r3, #1
	bne	.L19
	ldr	r0, .L24+64
	bl	perror
	mov	r3, #1
	b	.L22
.L19:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-596]
	cmp	r3, #0
	bne	.L20
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-624]
	add	r3, r3, #4
	ldr	r2, [r3]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-624]
	add	r3, r3, #4
	ldr	r3, [r3]
	sub	r0, fp, #4608
	sub	r0, r0, #12
	sub	r0, r0, #4
	ldr	r1, .L24+104
	bl	sprintf
	sub	r3, fp, #1024
	sub	r3, r3, #12
	sub	r3, r3, #4
	sub	r2, fp, #4608
	sub	r2, r2, #12
	sub	r2, r2, #4
	mov	r1, #0
	str	r1, [sp]
	ldr	r1, .L24+108
	ldr	r0, .L24+112
	bl	execl
	ldr	r0, .L24+116
	bl	perror
	mov	r0, #1
	bl	_exit
.L20:
	sub	r3, fp, #4672
	sub	r3, r3, #12
	sub	r3, r3, #36
	sub	r2, fp, #4096
	sub	r2, r2, #12
	mov	r0, r2
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [r0, #-596]
	bl	waitpid
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-612]
	cmp	r3, #0
	beq	.L21
	mov	r3, #1
	b	.L22
.L21:
	ldr	r3, .L24+4
	ldr	r3, [r3]
	mov	r2, #17
	mov	r1, #1
	ldr	r0, .L24+120
	bl	fwrite
	mov	r3, #0
.L22:
	ldr	r2, .L24
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L23
	bl	__stack_chk_fail
.L23:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L25:
	.align	2
.L24:
	.word	.LC28
	.word	stderr
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	stdin
	.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
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
