	.file	"345314.c"
	.intel_syntax noprefix
	.text
	.globl	version
	.section	.rodata
.LC0:
	.string	"1.2.0"
	.section	.data.rel.local,"aw"
	.align 8
	.type	version, @object
	.size	version, 8
version:
	.quad	.LC0
	.globl	root_uid
	.section	.rodata
	.align 4
	.type	root_uid, @object
	.size	root_uid, 4
root_uid:
	.zero	4
	.globl	root_gid
	.align 4
	.type	root_gid, @object
	.size	root_gid, 4
root_gid:
	.zero	4
	.globl	long_options
.LC1:
	.string	"user"
.LC2:
	.string	"group"
.LC3:
	.string	"shell"
.LC4:
	.string	"cwd"
.LC5:
	.string	"env"
.LC6:
	.string	"no-create-home"
.LC7:
	.string	"help"
.LC8:
	.string	"version"
	.section	.data.rel.ro.local,"aw"
	.align 32
	.type	long_options, @object
	.size	long_options, 288
long_options:
	.quad	.LC1
	.long	1
	.zero	4
	.quad	0
	.long	117
	.zero	4
	.quad	.LC2
	.long	1
	.zero	4
	.quad	0
	.long	103
	.zero	4
	.quad	.LC3
	.long	1
	.zero	4
	.quad	0
	.long	115
	.zero	4
	.quad	.LC4
	.long	1
	.zero	4
	.quad	0
	.long	67
	.zero	4
	.quad	.LC5
	.long	1
	.zero	4
	.quad	0
	.long	101
	.zero	4
	.quad	.LC6
	.long	0
	.zero	4
	.quad	0
	.long	77
	.zero	4
	.quad	.LC7
	.long	0
	.zero	4
	.quad	0
	.long	104
	.zero	4
	.quad	.LC8
	.long	0
	.zero	4
	.quad	0
	.long	118
	.zero	4
	.quad	0
	.long	0
	.zero	4
	.quad	0
	.long	0
	.zero	4
	.section	.rodata
.LC9:
	.string	"exec"
.LC10:
	.string	"fork"
.LC11:
	.string	"waitpid"
.LC12:
	.string	"%s failed"
	.text
	.globl	run
	.type	run, @function
run:
.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	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	call	fork@PLT
	mov	DWORD PTR -12[rbp], eax
	cmp	DWORD PTR -12[rbp], 0
	jne	.L2
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdx, QWORD PTR -24[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	execv@PLT
	lea	rsi, .LC9[rip]
	mov	edi, 1
	mov	eax, 0
	call	err@PLT
.L2:
	cmp	DWORD PTR -12[rbp], -1
	jne	.L3
	lea	rsi, .LC10[rip]
	mov	edi, 1
	mov	eax, 0
	call	err@PLT
.L3:
	lea	rcx, -16[rbp]
	mov	eax, DWORD PTR -12[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	edi, eax
	call	waitpid@PLT
	cmp	eax, -1
	jne	.L4
	lea	rsi, .LC11[rip]
	mov	edi, 1
	mov	eax, 0
	call	err@PLT
.L4:
	mov	eax, DWORD PTR -16[rbp]
	and	eax, 127
	test	eax, eax
	jne	.L5
	mov	eax, DWORD PTR -16[rbp]
	sar	eax, 8
	movzx	eax, al
	test	eax, eax
	je	.L8
.L5:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdx, rax
	lea	rsi, .LC12[rip]
	mov	edi, 1
	mov	eax, 0
	call	errx@PLT
.L8:
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L7
	call	__stack_chk_fail@PLT
.L7:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	run, .-run
	.section	.rodata
.LC13:
	.string	"%d"
.LC14:
	.string	"asprintf"
	.text
	.globl	itoa
	.type	itoa, @function
itoa:
.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	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	edx, DWORD PTR -20[rbp]
	lea	rax, -16[rbp]
	lea	rsi, .LC13[rip]
	mov	rdi, rax
	mov	eax, 0
	call	asprintf@PLT
	cmp	eax, -1
	jne	.L10
	lea	rsi, .LC14[rip]
	mov	edi, 1
	mov	eax, 0
	call	err@PLT
.L10:
	mov	rax, QWORD PTR -16[rbp]
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L12
	call	__stack_chk_fail@PLT
.L12:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	itoa, .-itoa
	.section	.rodata
	.align 8
.LC15:
	.ascii	"synopsis: autouseradd [-u NAME] [-g NAME] [COMMAND [ARGS]]\n"
	.ascii	"\nautouseradd adds a user and group named after that user to"
	.ascii	" the system,\nthen invokes a command as that user.\n\nOption"
	.ascii	"s:\n  -u, --user NAME       use NAME as the username for the"
	.ascii	" created user\n  -g, --group NAME      use NAME as the group"
	.ascii	" name for the created user\n  -s, --shell PATH      use PATH"
	.ascii	" as the user's login shell\n  -c, --cwd PATH        set the "
	.ascii	"working directory to PATH\n  -e, --env NAME=VALUE  set the e"
	.ascii	"nvironm"
	.string	"ent variable NAME to VALUE\n  --no-create-home      do not attempt to create a home directory for the user\n  --help                print this help and exit\n  --version             print the version and exit\n\nSee the man page for a more complete description."
	.text
	.globl	usage
	.type	usage, @function
usage:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	rdi, .LC15[rip]
	call	puts@PLT
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	usage, .-usage
	.section	.rodata
.LC16:
	.string	"auto"
.LC17:
	.string	"/bin/bash"
.LC18:
	.string	"autouseradd %s\n"
.LC19:
	.string	"option parsing failed"
.LC20:
	.string	"+u:g:s:C:e:hv"
.LC21:
	.string	"getresuid"
.LC22:
	.string	"getresgid"
	.align 8
.LC23:
	.string	"running as root is not permitted"
.LC24:
	.string	"setuid bit not set: %d"
.LC25:
	.string	"/usr/sbin/groupadd"
.LC26:
	.string	"--gid"
.LC27:
	.string	"/usr/sbin/useradd"
.LC28:
	.string	"--no-user-group"
.LC29:
	.string	"--create-home"
.LC30:
	.string	"--no-create-home"
.LC31:
	.string	"--uid"
.LC32:
	.string	"--shell"
.LC33:
	.string	"getpwuid"
	.align 8
.LC34:
	.string	"user created without home directory"
.LC35:
	.string	"HOME"
.LC36:
	.string	"setresuid"
.LC37:
	.string	"setresgid"
.LC38:
	.string	"chdir"
	.text
	.globl	main
	.type	main, @function
main:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 280
	.cfi_offset 3, -24
	mov	DWORD PTR -276[rbp], edi
	mov	QWORD PTR -288[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	lea	rax, .LC16[rip]
	mov	QWORD PTR -216[rbp], rax
	mov	QWORD PTR -224[rbp], 0
	lea	rax, .LC17[rip]
	mov	QWORD PTR -232[rbp], rax
	mov	DWORD PTR -244[rbp], 0
	mov	eax, DWORD PTR -276[rbp]
	movsx	rdx, eax
	sub	rdx, 1
	mov	QWORD PTR -200[rbp], rdx
	movsx	rdx, eax
	mov	r8, rdx
	mov	r9d, 0
	movsx	rdx, eax
	mov	rcx, rdx
	mov	ebx, 0
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	ebx, 16
	mov	edx, 0
	div	rbx
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L15:
	cmp	rsp, rdx
	je	.L16
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L15
.L16:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L17
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L17:
	mov	rax, rsp
	add	rax, 7
	shr	rax, 3
	sal	rax, 3
	mov	QWORD PTR -192[rbp], rax
	mov	QWORD PTR -208[rbp], 0
	mov	BYTE PTR -269[rbp], 1
	jmp	.L18
.L30:
	mov	eax, DWORD PTR -236[rbp]
	sub	eax, 63
	cmp	eax, 55
	ja	.L19
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	lea	rax, .L21[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L21[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L21:
	.long	.L29-.L21
	.long	.L19-.L21
	.long	.L19-.L21
	.long	.L19-.L21
	.long	.L28-.L21
	.long	.L19-.L21
	.long	.L19-.L21
	.long	.L19-.L21
	.long	.L19-.L21
	.long	.L19-.L21
	.long	.L19-.L21
	.long	.L19-.L21
	.long	.L19-.L21
	.long	.L19-.L21
	.long	.L27-.L21
	.long	.L19-.L21
	.long	.L19-.L21
	.long	.L19-.L21
	.long	.L19-.L21
	.long	.L19-.L21
	.long	.L19-.L21
	.long	.L19-.L21
	.long	.L19-.L21
	.long	.L19-.L21
	.long	.L19-.L21
	.long	.L19-.L21
	.long	.L19-.L21
	.long	.L19-.L21
	.long	.L19-.L21
	.long	.L19-.L21
	.long	.L19-.L21
	.long	.L19-.L21
	.long	.L19-.L21
	.long	.L19-.L21
	.long	.L19-.L21
	.long	.L19-.L21
	.long	.L19-.L21
	.long	.L19-.L21
	.long	.L26-.L21
	.long	.L19-.L21
	.long	.L25-.L21
	.long	.L24-.L21
	.long	.L19-.L21
	.long	.L19-.L21
	.long	.L19-.L21
	.long	.L19-.L21
	.long	.L19-.L21
	.long	.L19-.L21
	.long	.L19-.L21
	.long	.L19-.L21
	.long	.L19-.L21
	.long	.L19-.L21
	.long	.L23-.L21
	.long	.L19-.L21
	.long	.L22-.L21
	.long	.L20-.L21
	.text
.L22:
	mov	rax, QWORD PTR optarg[rip]
	mov	QWORD PTR -216[rbp], rax
	jmp	.L18
.L25:
	mov	rax, QWORD PTR optarg[rip]
	mov	QWORD PTR -224[rbp], rax
	jmp	.L18
.L23:
	mov	rax, QWORD PTR optarg[rip]
	mov	QWORD PTR -232[rbp], rax
	jmp	.L18
.L28:
	mov	rax, QWORD PTR optarg[rip]
	mov	QWORD PTR -208[rbp], rax
	jmp	.L18
.L26:
	mov	eax, DWORD PTR -244[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -244[rbp], edx
	mov	rcx, QWORD PTR optarg[rip]
	mov	rdx, QWORD PTR -192[rbp]
	cdqe
	mov	QWORD PTR [rdx+rax*8], rcx
	jmp	.L18
.L27:
	mov	BYTE PTR -269[rbp], 0
	jmp	.L18
.L24:
	call	usage
	mov	edi, 0
	call	exit@PLT
.L20:
	mov	rax, QWORD PTR version[rip]
	mov	rsi, rax
	lea	rdi, .LC18[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 0
	call	exit@PLT
.L29:
	mov	edi, 1
	call	exit@PLT
.L19:
	lea	rsi, .LC19[rip]
	mov	edi, 1
	mov	eax, 0
	call	errx@PLT
.L18:
	mov	rsi, QWORD PTR -288[rbp]
	mov	eax, DWORD PTR -276[rbp]
	mov	r8d, 0
	lea	rcx, long_options[rip]
	lea	rdx, .LC20[rip]
	mov	edi, eax
	call	getopt_long@PLT
	mov	DWORD PTR -236[rbp], eax
	cmp	DWORD PTR -236[rbp], -1
	jne	.L30
	cmp	QWORD PTR -224[rbp], 0
	jne	.L31
	mov	rax, QWORD PTR -216[rbp]
	mov	QWORD PTR -224[rbp], rax
.L31:
	lea	rdx, -260[rbp]
	lea	rcx, -264[rbp]
	lea	rax, -268[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	getresuid@PLT
	test	eax, eax
	je	.L32
	lea	rsi, .LC21[rip]
	mov	edi, 1
	mov	eax, 0
	call	err@PLT
.L32:
	lea	rdx, -248[rbp]
	lea	rcx, -252[rbp]
	lea	rax, -256[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	getresgid@PLT
	test	eax, eax
	je	.L33
	lea	rsi, .LC22[rip]
	mov	edi, 1
	mov	eax, 0
	call	err@PLT
.L33:
	mov	eax, DWORD PTR -268[rbp]
	mov	edx, 0
	cmp	eax, edx
	je	.L34
	mov	eax, DWORD PTR -256[rbp]
	mov	edx, 0
	cmp	eax, edx
	jne	.L35
.L34:
	lea	rsi, .LC23[rip]
	mov	edi, 1
	mov	eax, 0
	call	errx@PLT
.L35:
	mov	eax, DWORD PTR -264[rbp]
	mov	edx, 0
	cmp	eax, edx
	je	.L36
	mov	eax, DWORD PTR -264[rbp]
	mov	edx, eax
	lea	rsi, .LC24[rip]
	mov	edi, 1
	mov	eax, 0
	call	errx@PLT
.L36:
	mov	eax, DWORD PTR -268[rbp]
	mov	edi, eax
	call	itoa
	mov	QWORD PTR -184[rbp], rax
	mov	eax, DWORD PTR -256[rbp]
	mov	edi, eax
	call	itoa
	mov	QWORD PTR -176[rbp], rax
	lea	rax, .LC25[rip]
	mov	QWORD PTR -160[rbp], rax
	lea	rax, .LC26[rip]
	mov	QWORD PTR -152[rbp], rax
	mov	rax, QWORD PTR -176[rbp]
	mov	QWORD PTR -144[rbp], rax
	mov	rax, QWORD PTR -224[rbp]
	mov	QWORD PTR -136[rbp], rax
	mov	QWORD PTR -128[rbp], 0
	lea	rax, -160[rbp]
	mov	rdi, rax
	call	run
	lea	rax, .LC27[rip]
	mov	QWORD PTR -112[rbp], rax
	lea	rax, .LC28[rip]
	mov	QWORD PTR -104[rbp], rax
	cmp	BYTE PTR -269[rbp], 0
	je	.L37
	lea	rax, .LC29[rip]
	jmp	.L38
.L37:
	lea	rax, .LC30[rip]
.L38:
	mov	QWORD PTR -96[rbp], rax
	lea	rax, .LC31[rip]
	mov	QWORD PTR -88[rbp], rax
	mov	rax, QWORD PTR -184[rbp]
	mov	QWORD PTR -80[rbp], rax
	lea	rax, .LC26[rip]
	mov	QWORD PTR -72[rbp], rax
	mov	rax, QWORD PTR -176[rbp]
	mov	QWORD PTR -64[rbp], rax
	lea	rax, .LC32[rip]
	mov	QWORD PTR -56[rbp], rax
	mov	rax, QWORD PTR -232[rbp]
	mov	QWORD PTR -48[rbp], rax
	mov	rax, QWORD PTR -216[rbp]
	mov	QWORD PTR -40[rbp], rax
	mov	QWORD PTR -32[rbp], 0
	lea	rax, -112[rbp]
	mov	rdi, rax
	call	run
	mov	rax, QWORD PTR -184[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -176[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	eax, DWORD PTR -268[rbp]
	mov	edi, eax
	call	getpwuid@PLT
	mov	QWORD PTR -168[rbp], rax
	cmp	QWORD PTR -168[rbp], 0
	jne	.L39
	lea	rsi, .LC33[rip]
	mov	edi, 1
	mov	eax, 0
	call	err@PLT
.L39:
	mov	rax, QWORD PTR -168[rbp]
	mov	rax, QWORD PTR 32[rax]
	test	rax, rax
	je	.L40
	mov	rax, QWORD PTR -168[rbp]
	mov	rax, QWORD PTR 32[rax]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L41
.L40:
	lea	rsi, .LC34[rip]
	mov	edi, 1
	mov	eax, 0
	call	errx@PLT
.L41:
	mov	rax, QWORD PTR -168[rbp]
	mov	rax, QWORD PTR 32[rax]
	mov	edx, 1
	mov	rsi, rax
	lea	rdi, .LC35[rip]
	call	setenv@PLT
	mov	edx, DWORD PTR -268[rbp]
	mov	ecx, DWORD PTR -268[rbp]
	mov	eax, DWORD PTR -268[rbp]
	mov	esi, ecx
	mov	edi, eax
	call	setresuid@PLT
	cmp	eax, -1
	jne	.L42
	lea	rsi, .LC36[rip]
	mov	edi, 1
	mov	eax, 0
	call	err@PLT
.L42:
	mov	edx, DWORD PTR -256[rbp]
	mov	ecx, DWORD PTR -256[rbp]
	mov	eax, DWORD PTR -256[rbp]
	mov	esi, ecx
	mov	edi, eax
	call	setresgid@PLT
	cmp	eax, -1
	jne	.L43
	lea	rsi, .LC37[rip]
	mov	edi, 1
	mov	eax, 0
	call	err@PLT
.L43:
	cmp	QWORD PTR -208[rbp], 0
	je	.L44
	mov	rax, QWORD PTR -208[rbp]
	mov	rdi, rax
	call	chdir@PLT
	cmp	eax, -1
	jne	.L44
	lea	rsi, .LC38[rip]
	mov	edi, 1
	mov	eax, 0
	call	err@PLT
.L44:
	mov	DWORD PTR -240[rbp], 0
	jmp	.L45
.L46:
	mov	rax, QWORD PTR -192[rbp]
	mov	edx, DWORD PTR -240[rbp]
	movsx	rdx, edx
	mov	rax, QWORD PTR [rax+rdx*8]
	mov	rdi, rax
	call	putenv@PLT
	add	DWORD PTR -240[rbp], 1
.L45:
	mov	eax, DWORD PTR -240[rbp]
	cmp	eax, DWORD PTR -244[rbp]
	jl	.L46
	mov	eax, DWORD PTR optind[rip]
	cmp	DWORD PTR -276[rbp], eax
	jne	.L47
	mov	rcx, QWORD PTR -232[rbp]
	mov	rax, QWORD PTR -232[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	rdi, rax
	mov	eax, 0
	call	execl@PLT
	jmp	.L48
.L47:
	mov	eax, DWORD PTR optind[rip]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -288[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR optind[rip]
	cdqe
	lea	rcx, 0[0+rax*8]
	mov	rax, QWORD PTR -288[rbp]
	add	rax, rcx
	mov	rax, QWORD PTR [rax]
	mov	rsi, rdx
	mov	rdi, rax
	call	execvp@PLT
.L48:
	lea	rsi, .LC9[rip]
	mov	edi, 1
	mov	eax, 0
	call	err@PLT
	.cfi_endproc
.LFE9:
	.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	"345314.c"
	.text
	.global	version
	.section	.rodata
	.align	2
.LC0:
	.ascii	"1.2.0\000"
	.data
	.align	2
	.type	version, %object
	.size	version, 4
version:
	.word	.LC0
	.global	root_uid
	.section	.rodata
	.align	2
	.type	root_uid, %object
	.size	root_uid, 4
root_uid:
	.space	4
	.global	root_gid
	.align	2
	.type	root_gid, %object
	.size	root_gid, 4
root_gid:
	.space	4
	.global	long_options
	.align	2
.LC1:
	.ascii	"user\000"
	.align	2
.LC2:
	.ascii	"group\000"
	.align	2
.LC3:
	.ascii	"shell\000"
	.align	2
.LC4:
	.ascii	"cwd\000"
	.align	2
.LC5:
	.ascii	"env\000"
	.align	2
.LC6:
	.ascii	"no-create-home\000"
	.align	2
.LC7:
	.ascii	"help\000"
	.align	2
.LC8:
	.ascii	"version\000"
	.align	2
	.type	long_options, %object
	.size	long_options, 144
long_options:
	.word	.LC1
	.word	1
	.word	0
	.word	117
	.word	.LC2
	.word	1
	.word	0
	.word	103
	.word	.LC3
	.word	1
	.word	0
	.word	115
	.word	.LC4
	.word	1
	.word	0
	.word	67
	.word	.LC5
	.word	1
	.word	0
	.word	101
	.word	.LC6
	.word	0
	.word	0
	.word	77
	.word	.LC7
	.word	0
	.word	0
	.word	104
	.word	.LC8
	.word	0
	.word	0
	.word	118
	.word	0
	.word	0
	.word	0
	.word	0
	.align	2
.LC9:
	.ascii	"exec\000"
	.align	2
.LC10:
	.ascii	"fork\000"
	.align	2
.LC11:
	.ascii	"waitpid\000"
	.align	2
.LC12:
	.ascii	"%s failed\000"
	.align	2
.LC13:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	run
	.syntax unified
	.arm
	.fpu softvfp
	.type	run, %function
run:
	@ 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]
	ldr	r3, .L9
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	bl	fork
	mov	r3, r0
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L2
	ldr	r3, [fp, #-24]
	ldr	r3, [r3]
	ldr	r1, [fp, #-24]
	mov	r0, r3
	bl	execv
	ldr	r1, .L9+4
	mov	r0, #1
	bl	err
.L2:
	ldr	r3, [fp, #-12]
	cmn	r3, #1
	bne	.L3
	ldr	r1, .L9+8
	mov	r0, #1
	bl	err
.L3:
	sub	r3, fp, #16
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-12]
	bl	waitpid
	mov	r3, r0
	cmn	r3, #1
	bne	.L4
	ldr	r1, .L9+12
	mov	r0, #1
	bl	err
.L4:
	ldr	r3, [fp, #-16]
	and	r3, r3, #127
	cmp	r3, #0
	bne	.L5
	ldr	r3, [fp, #-16]
	asr	r3, r3, #8
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L8
.L5:
	ldr	r3, [fp, #-24]
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L9+16
	mov	r0, #1
	bl	errx
.L8:
	nop
	ldr	r3, .L9
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L7
	bl	__stack_chk_fail
.L7:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L10:
	.align	2
.L9:
	.word	.LC13
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.size	run, .-run
	.section	.rodata
	.align	2
.LC14:
	.ascii	"%d\000"
	.align	2
.LC15:
	.ascii	"asprintf\000"
	.align	2
.LC16:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	itoa
	.syntax unified
	.arm
	.fpu softvfp
	.type	itoa, %function
itoa:
	@ 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	r3, .L15
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #12
	ldr	r2, [fp, #-16]
	ldr	r1, .L15+4
	mov	r0, r3
	bl	asprintf
	mov	r3, r0
	cmn	r3, #1
	bne	.L12
	ldr	r1, .L15+8
	mov	r0, #1
	bl	err
.L12:
	ldr	r3, [fp, #-12]
	ldr	r2, .L15
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L14
	bl	__stack_chk_fail
.L14:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L16:
	.align	2
.L15:
	.word	.LC16
	.word	.LC14
	.word	.LC15
	.size	itoa, .-itoa
	.section	.rodata
	.align	2
.LC17:
	.ascii	"synopsis: autouseradd [-u NAME] [-g NAME] [COMMAND "
	.ascii	"[ARGS]]\012\012autouseradd adds a user and group na"
	.ascii	"med after that user to the system,\012then invokes "
	.ascii	"a command as that user.\012\012Options:\012  -u, --"
	.ascii	"user NAME       use NAME as the username for the cr"
	.ascii	"eated user\012  -g, --group NAME      use NAME as t"
	.ascii	"he group name for the created user\012  -s, --shell"
	.ascii	" PATH      use PATH as the user's login shell\012  "
	.ascii	"-c, --cwd PATH        set the working directory to "
	.ascii	"PATH\012  -e, --env NAME=VALUE  set the environment"
	.ascii	" variable NAME to VALUE\012  --no-create-home      "
	.ascii	"do not attempt to create a home directory for the u"
	.ascii	"ser\012  --help                print this help and "
	.ascii	"exit\012  --version             print the version a"
	.ascii	"nd exit\012\012See the man page for a more complete"
	.ascii	" description.\000"
	.text
	.align	2
	.global	usage
	.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, .L18
	bl	puts
	nop
	pop	{fp, pc}
.L19:
	.align	2
.L18:
	.word	.LC17
	.size	usage, .-usage
	.section	.rodata
	.align	2
.LC18:
	.ascii	"auto\000"
	.align	2
.LC19:
	.ascii	"/bin/bash\000"
	.align	2
.LC20:
	.ascii	"autouseradd %s\012\000"
	.align	2
.LC21:
	.ascii	"option parsing failed\000"
	.align	2
.LC22:
	.ascii	"+u:g:s:C:e:hv\000"
	.align	2
.LC23:
	.ascii	"getresuid\000"
	.align	2
.LC24:
	.ascii	"getresgid\000"
	.align	2
.LC25:
	.ascii	"running as root is not permitted\000"
	.align	2
.LC26:
	.ascii	"setuid bit not set: %d\000"
	.align	2
.LC27:
	.ascii	"/usr/sbin/groupadd\000"
	.align	2
.LC28:
	.ascii	"--gid\000"
	.align	2
.LC29:
	.ascii	"/usr/sbin/useradd\000"
	.align	2
.LC30:
	.ascii	"--no-user-group\000"
	.align	2
.LC31:
	.ascii	"--create-home\000"
	.align	2
.LC32:
	.ascii	"--no-create-home\000"
	.align	2
.LC33:
	.ascii	"--uid\000"
	.align	2
.LC34:
	.ascii	"--shell\000"
	.align	2
.LC35:
	.ascii	"getpwuid\000"
	.align	2
.LC36:
	.ascii	"user created without home directory\000"
	.align	2
.LC37:
	.ascii	"HOME\000"
	.align	2
.LC38:
	.ascii	"setresuid\000"
	.align	2
.LC39:
	.ascii	"setresgid\000"
	.align	2
.LC40:
	.ascii	"chdir\000"
	.align	2
.LC41:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 152
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #160
	str	r0, [fp, #-152]
	str	r1, [fp, #-156]
	ldr	r3, .L53
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L53+4
	str	r3, [fp, #-108]
	mov	r3, #0
	str	r3, [fp, #-112]
	ldr	r3, .L53+8
	str	r3, [fp, #-116]
	mov	r3, #0
	str	r3, [fp, #-120]
	ldr	ip, [fp, #-152]
	sub	r3, ip, #1
	str	r3, [fp, #-96]
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #5
	orr	r3, r3, r0, lsr #27
	lsl	r2, r0, #5
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #5
	orr	r3, r3, r0, lsr #27
	lsl	r2, r0, #5
	mov	r3, ip
	lsl	r3, r3, #2
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	add	r3, sp, #8
	add	r3, r3, #3
	lsr	r3, r3, #2
	lsl	r3, r3, #2
	str	r3, [fp, #-92]
	mov	r3, #0
	str	r3, [fp, #-104]
	mov	r3, #1
	strb	r3, [fp, #-145]
	b	.L21
.L33:
	ldr	r3, [fp, #-88]
	sub	r3, r3, #63
	cmp	r3, #55
	ldrls	pc, [pc, r3, asl #2]
	b	.L22
.L24:
	.word	.L32
	.word	.L22
	.word	.L22
	.word	.L22
	.word	.L31
	.word	.L22
	.word	.L22
	.word	.L22
	.word	.L22
	.word	.L22
	.word	.L22
	.word	.L22
	.word	.L22
	.word	.L22
	.word	.L30
	.word	.L22
	.word	.L22
	.word	.L22
	.word	.L22
	.word	.L22
	.word	.L22
	.word	.L22
	.word	.L22
	.word	.L22
	.word	.L22
	.word	.L22
	.word	.L22
	.word	.L22
	.word	.L22
	.word	.L22
	.word	.L22
	.word	.L22
	.word	.L22
	.word	.L22
	.word	.L22
	.word	.L22
	.word	.L22
	.word	.L22
	.word	.L29
	.word	.L22
	.word	.L28
	.word	.L27
	.word	.L22
	.word	.L22
	.word	.L22
	.word	.L22
	.word	.L22
	.word	.L22
	.word	.L22
	.word	.L22
	.word	.L22
	.word	.L22
	.word	.L26
	.word	.L22
	.word	.L25
	.word	.L23
.L25:
	ldr	r3, .L53+12
	ldr	r3, [r3]
	str	r3, [fp, #-108]
	b	.L21
.L28:
	ldr	r3, .L53+12
	ldr	r3, [r3]
	str	r3, [fp, #-112]
	b	.L21
.L26:
	ldr	r3, .L53+12
	ldr	r3, [r3]
	str	r3, [fp, #-116]
	b	.L21
.L31:
	ldr	r3, .L53+12
	ldr	r3, [r3]
	str	r3, [fp, #-104]
	b	.L21
.L29:
	ldr	r3, [fp, #-120]
	add	r2, r3, #1
	str	r2, [fp, #-120]
	ldr	r2, .L53+12
	ldr	r1, [r2]
	ldr	r2, [fp, #-92]
	str	r1, [r2, r3, lsl #2]
	b	.L21
.L30:
	mov	r3, #0
	strb	r3, [fp, #-145]
	b	.L21
.L27:
	bl	usage
	mov	r0, #0
	bl	exit
.L23:
	ldr	r3, .L53+16
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L53+20
	bl	printf
	mov	r0, #0
	bl	exit
.L32:
	mov	r0, #1
	bl	exit
.L22:
	ldr	r1, .L53+24
	mov	r0, #1
	bl	errx
.L21:
	mov	r3, #0
	str	r3, [sp]
	ldr	r3, .L53+28
	ldr	r2, .L53+32
	ldr	r1, [fp, #-156]
	ldr	r0, [fp, #-152]
	bl	getopt_long
	str	r0, [fp, #-88]
	ldr	r3, [fp, #-88]
	cmn	r3, #1
	bne	.L33
	ldr	r3, [fp, #-112]
	cmp	r3, #0
	bne	.L34
	ldr	r3, [fp, #-108]
	str	r3, [fp, #-112]
.L34:
	sub	r2, fp, #136
	sub	r1, fp, #140
	sub	r3, fp, #144
	mov	r0, r3
	bl	getresuid
	mov	r3, r0
	cmp	r3, #0
	beq	.L35
	ldr	r1, .L53+36
	mov	r0, #1
	bl	err
.L35:
	sub	r2, fp, #124
	sub	r1, fp, #128
	sub	r3, fp, #132
	mov	r0, r3
	bl	getresgid
	mov	r3, r0
	cmp	r3, #0
	beq	.L36
	ldr	r1, .L53+40
	mov	r0, #1
	bl	err
.L36:
	ldr	r3, [fp, #-144]
	mov	r2, #0
	cmp	r3, r2
	beq	.L37
	ldr	r3, [fp, #-132]
	mov	r2, #0
	cmp	r3, r2
	bne	.L38
.L37:
	ldr	r1, .L53+44
	mov	r0, #1
	bl	errx
.L38:
	ldr	r3, [fp, #-140]
	mov	r2, #0
	cmp	r3, r2
	beq	.L39
	ldr	r3, [fp, #-140]
	mov	r2, r3
	ldr	r1, .L53+48
	mov	r0, #1
	bl	errx
.L39:
	ldr	r3, [fp, #-144]
	mov	r0, r3
	bl	itoa
	str	r0, [fp, #-84]
	ldr	r3, [fp, #-132]
	mov	r0, r3
	bl	itoa
	str	r0, [fp, #-80]
	ldr	r3, .L53+52
	str	r3, [fp, #-72]
	ldr	r3, .L53+56
	str	r3, [fp, #-68]
	ldr	r3, [fp, #-80]
	str	r3, [fp, #-64]
	ldr	r3, [fp, #-112]
	str	r3, [fp, #-60]
	mov	r3, #0
	str	r3, [fp, #-56]
	sub	r3, fp, #72
	mov	r0, r3
	bl	run
	ldr	r3, .L53+60
	str	r3, [fp, #-52]
	ldr	r3, .L53+64
	str	r3, [fp, #-48]
	ldrb	r3, [fp, #-145]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L40
	ldr	r3, .L53+68
	b	.L41
.L40:
	ldr	r3, .L53+72
.L41:
	str	r3, [fp, #-44]
	ldr	r3, .L53+76
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-84]
	str	r3, [fp, #-36]
	ldr	r3, .L53+56
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-80]
	str	r3, [fp, #-28]
	ldr	r3, .L53+80
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-116]
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-108]
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-12]
	sub	r3, fp, #52
	mov	r0, r3
	bl	run
	ldr	r0, [fp, #-84]
	bl	free
	ldr	r0, [fp, #-80]
	bl	free
	ldr	r3, [fp, #-144]
	mov	r0, r3
	bl	getpwuid
	str	r0, [fp, #-76]
	ldr	r3, [fp, #-76]
	cmp	r3, #0
	bne	.L42
	ldr	r1, .L53+84
	mov	r0, #1
	bl	err
.L42:
	ldr	r3, [fp, #-76]
	ldr	r3, [r3, #20]
	cmp	r3, #0
	beq	.L43
	ldr	r3, [fp, #-76]
	ldr	r3, [r3, #20]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L44
.L43:
	ldr	r1, .L53+88
	mov	r0, #1
	bl	errx
.L44:
	ldr	r3, [fp, #-76]
	ldr	r3, [r3, #20]
	mov	r2, #1
	mov	r1, r3
	ldr	r0, .L53+92
	bl	setenv
	ldr	r3, [fp, #-144]
	ldr	r1, [fp, #-144]
	ldr	r2, [fp, #-144]
	mov	r0, r3
	bl	setresuid
	mov	r3, r0
	cmn	r3, #1
	bne	.L45
	ldr	r1, .L53+96
	mov	r0, #1
	bl	err
.L45:
	ldr	r3, [fp, #-132]
	ldr	r1, [fp, #-132]
	ldr	r2, [fp, #-132]
	mov	r0, r3
	bl	setresgid
	mov	r3, r0
	cmn	r3, #1
	bne	.L46
	ldr	r1, .L53+100
	mov	r0, #1
	bl	err
.L46:
	ldr	r3, [fp, #-104]
	cmp	r3, #0
	beq	.L47
	ldr	r0, [fp, #-104]
	bl	chdir
	mov	r3, r0
	cmn	r3, #1
	bne	.L47
	ldr	r1, .L53+104
	mov	r0, #1
	bl	err
.L47:
	mov	r3, #0
	str	r3, [fp, #-100]
	b	.L48
.L49:
	ldr	r3, [fp, #-92]
	ldr	r2, [fp, #-100]
	ldr	r3, [r3, r2, lsl #2]
	mov	r0, r3
	bl	putenv
	ldr	r3, [fp, #-100]
	add	r3, r3, #1
	str	r3, [fp, #-100]
.L48:
	ldr	r2, [fp, #-100]
	ldr	r3, [fp, #-120]
	cmp	r2, r3
	blt	.L49
	ldr	r3, .L53+108
	ldr	r3, [r3]
	ldr	r2, [fp, #-152]
	cmp	r2, r3
	bne	.L50
	mov	r2, #0
	ldr	r1, [fp, #-116]
	ldr	r0, [fp, #-116]
	bl	execl
	b	.L51
.L50:
	ldr	r3, .L53+108
	ldr	r3, [r3]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-156]
	add	r3, r2, r3
	ldr	r0, [r3]
	ldr	r3, .L53+108
	ldr	r3, [r3]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-156]
	add	r3, r2, r3
	mov	r1, r3
	bl	execvp
.L51:
	ldr	r1, .L53+112
	mov	r0, #1
	bl	err
.L54:
	.align	2
.L53:
	.word	.LC41
	.word	.LC18
	.word	.LC19
	.word	optarg
	.word	version
	.word	.LC20
	.word	.LC21
	.word	long_options
	.word	.LC22
	.word	.LC23
	.word	.LC24
	.word	.LC25
	.word	.LC26
	.word	.LC27
	.word	.LC28
	.word	.LC29
	.word	.LC30
	.word	.LC31
	.word	.LC32
	.word	.LC33
	.word	.LC34
	.word	.LC35
	.word	.LC36
	.word	.LC37
	.word	.LC38
	.word	.LC39
	.word	.LC40
	.word	optind
	.word	.LC9
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
