	.file	"154829127.c"
	.intel_syntax noprefix
	.text
	.data
	.align 8
	.type	PATH_SHELL, @object
	.size	PATH_SHELL, 8
PATH_SHELL:
	.string	"/bin/sh"
	.section	.rodata
.LC0:
	.string	"--noprofile"
	.section	.data.rel.local,"aw"
	.align 16
	.type	SHELL_ARGS, @object
	.size	SHELL_ARGS, 16
SHELL_ARGS:
	.quad	.LC0
	.quad	0
	.data
	.type	SHELL_PROMPT, @object
	.size	SHELL_PROMPT, 4
SHELL_PROMPT:
	.string	"PS1"
	.align 8
	.type	PROMPT_STRING, @object
	.size	PROMPT_STRING, 13
PROMPT_STRING:
	.string	"cleansh ! $ "
	.globl	env_vars
	.section	.rodata
.LC1:
	.string	"USER"
.LC2:
	.string	"LOGNAME"
.LC3:
	.string	"HOME"
.LC4:
	.string	"TERM"
.LC5:
	.string	"LANG"
.LC6:
	.string	"DISPLAY"
	.section	.data.rel.local
	.align 32
	.type	env_vars, @object
	.size	env_vars, 56
env_vars:
	.quad	.LC1
	.quad	.LC2
	.quad	.LC3
	.quad	.LC4
	.quad	.LC5
	.quad	.LC6
	.quad	0
	.text
	.type	strvec_carray, @function
strvec_carray:
.LFB6:
	.cfi_startproc
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 16[rax]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	strvec_carray, .-strvec_carray
	.type	strvec_size, @function
strvec_size:
.LFB7:
	.cfi_startproc
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	strvec_size, .-strvec_size
	.type	strvec_used, @function
strvec_used:
.LFB8:
	.cfi_startproc
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 8[rax]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	strvec_used, .-strvec_used
	.globl	strvec_grow
	.type	strvec_grow, @function
strvec_grow:
.LFB9:
	.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 -40[rbp], rdi
	mov	DWORD PTR -20[rbp], -1
	cmp	QWORD PTR -40[rbp], 0
	je	.L8
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	strvec_size
	add	rax, rax
	mov	QWORD PTR -16[rbp], rax
	mov	QWORD PTR -8[rbp], 0
	cmp	QWORD PTR -16[rbp], 0
	je	.L9
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	strvec_carray
	mov	rdx, rax
	mov	rax, QWORD PTR -16[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	call	realloc@PLT
	mov	QWORD PTR -8[rbp], rax
	jmp	.L10
.L9:
	mov	QWORD PTR -16[rbp], 1024
	mov	rax, QWORD PTR -16[rbp]
	mov	esi, 1
	mov	rdi, rax
	call	calloc@PLT
	mov	QWORD PTR -8[rbp], rax
.L10:
	cmp	QWORD PTR -8[rbp], 0
	je	.L8
	mov	rax, QWORD PTR -40[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR 16[rax], rdx
	mov	rax, QWORD PTR -40[rbp]
	mov	rdx, QWORD PTR -16[rbp]
	mov	QWORD PTR [rax], rdx
	mov	DWORD PTR -20[rbp], 0
.L8:
	mov	eax, DWORD PTR -20[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	strvec_grow, .-strvec_grow
	.globl	strvec_Create
	.type	strvec_Create, @function
strvec_Create:
.LFB10:
	.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	DWORD PTR -12[rbp], -1
	mov	esi, 1
	mov	edi, 24
	call	calloc@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	je	.L13
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR [rax], 0
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 8[rax], 0
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 16[rax], 0
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR [rax], rdx
	mov	DWORD PTR -12[rbp], 0
.L13:
	mov	eax, DWORD PTR -12[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	strvec_Create, .-strvec_Create
	.globl	strvec_locate
	.type	strvec_locate, @function
strvec_locate:
.LFB11:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 64
	mov	QWORD PTR -40[rbp], rdi
	mov	QWORD PTR -48[rbp], rsi
	mov	QWORD PTR -56[rbp], rdx
	mov	DWORD PTR -20[rbp], -1
	mov	DWORD PTR -16[rbp], 0
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	strvec_used
	mov	DWORD PTR -12[rbp], eax
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	strvec_carray
	mov	QWORD PTR -8[rbp], rax
	jmp	.L16
.L18:
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -56[rbp]
	mov	rcx, QWORD PTR -48[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	rcx
	test	eax, eax
	jne	.L17
	mov	eax, DWORD PTR -16[rbp]
	mov	DWORD PTR -12[rbp], eax
	mov	eax, DWORD PTR -16[rbp]
	mov	DWORD PTR -20[rbp], eax
	jmp	.L16
.L17:
	add	DWORD PTR -16[rbp], 1
.L16:
	mov	eax, DWORD PTR -16[rbp]
	cmp	eax, DWORD PTR -12[rbp]
	jne	.L18
	mov	eax, DWORD PTR -20[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	strvec_locate, .-strvec_locate
	.globl	strvec_replace
	.type	strvec_replace, @function
strvec_replace:
.LFB12:
	.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, 72
	.cfi_offset 3, -24
	mov	QWORD PTR -56[rbp], rdi
	mov	QWORD PTR -64[rbp], rsi
	mov	QWORD PTR -72[rbp], rdx
	mov	DWORD PTR -44[rbp], -1
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	strvec_used
	cmp	QWORD PTR -64[rbp], rax
	jnb	.L21
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	strvec_carray
	mov	QWORD PTR -40[rbp], rax
	mov	rax, QWORD PTR -64[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -32[rbp], rax
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rbx, rax
	mov	rax, QWORD PTR -72[rbp]
	mov	rdi, rax
	call	strlen@PLT
	cmp	rbx, rax
	jnb	.L22
	mov	rax, QWORD PTR -72[rbp]
	mov	rdi, rax
	call	strlen@PLT
	lea	rdx, 1[rax]
	mov	rax, QWORD PTR -32[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	realloc@PLT
	mov	QWORD PTR -24[rbp], rax
	cmp	QWORD PTR -24[rbp], 0
	je	.L21
	mov	rdx, QWORD PTR -72[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	mov	rax, QWORD PTR -64[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -40[rbp]
	add	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR [rdx], rax
	mov	DWORD PTR -44[rbp], 0
	jmp	.L21
.L22:
	mov	rdx, QWORD PTR -72[rbp]
	mov	rax, QWORD PTR -32[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	mov	DWORD PTR -44[rbp], 0
.L21:
	mov	eax, DWORD PTR -44[rbp]
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	strvec_replace, .-strvec_replace
	.globl	strvec_append
	.type	strvec_append, @function
strvec_append:
.LFB13:
	.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, 56
	.cfi_offset 3, -24
	mov	QWORD PTR -56[rbp], rdi
	mov	QWORD PTR -64[rbp], rsi
	mov	DWORD PTR -36[rbp], -1
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	strvec_used
	mov	rbx, rax
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	strvec_size
	cmp	rbx, rax
	jb	.L25
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	strvec_grow
	mov	DWORD PTR -36[rbp], eax
	cmp	DWORD PTR -36[rbp], 0
	jne	.L26
	mov	rdx, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR -56[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strvec_append
	mov	DWORD PTR -36[rbp], eax
	jmp	.L26
.L25:
	cmp	QWORD PTR -64[rbp], 0
	je	.L27
	mov	rax, QWORD PTR -64[rbp]
	mov	rdi, rax
	call	strdup@PLT
	mov	QWORD PTR -32[rbp], rax
	cmp	QWORD PTR -32[rbp], 0
	je	.L26
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	strvec_carray
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR 8[rax]
	lea	rcx, 1[rax]
	mov	rdx, QWORD PTR -56[rbp]
	mov	QWORD PTR 8[rdx], rcx
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rdx, rax
	mov	rax, QWORD PTR -32[rbp]
	mov	QWORD PTR [rdx], rax
	mov	DWORD PTR -36[rbp], 0
	jmp	.L26
.L27:
	mov	rax, QWORD PTR -56[rbp]
	mov	rsi, QWORD PTR 16[rax]
	mov	rax, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR 8[rax]
	lea	rcx, 1[rax]
	mov	rdx, QWORD PTR -56[rbp]
	mov	QWORD PTR 8[rdx], rcx
	sal	rax, 3
	lea	rdx, [rsi+rax]
	mov	rax, QWORD PTR -64[rbp]
	mov	QWORD PTR [rdx], rax
	mov	DWORD PTR -36[rbp], 0
.L26:
	mov	eax, DWORD PTR -36[rbp]
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	strvec_append, .-strvec_append
	.type	keycmp, @function
keycmp:
.LFB14:
	.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	QWORD PTR -32[rbp], rsi
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	rdx, QWORD PTR -8[rbp]
	mov	rcx, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	strncmp@PLT
	mov	DWORD PTR -12[rbp], eax
	cmp	DWORD PTR -12[rbp], 0
	jne	.L30
	mov	rdx, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movsx	edx, al
	mov	eax, 61
	sub	eax, edx
	jmp	.L32
.L30:
	mov	eax, DWORD PTR -12[rbp]
.L32:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	keycmp, .-keycmp
	.globl	env_setenv
	.type	env_setenv, @function
env_setenv:
.LFB15:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r15
	push	r14
	push	r13
	push	r12
	push	rbx
	sub	rsp, 88
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	mov	QWORD PTR -104[rbp], rdi
	mov	QWORD PTR -112[rbp], rsi
	mov	QWORD PTR -120[rbp], rdx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rax
	xor	eax, eax
	mov	rax, rsp
	mov	rbx, rax
	mov	DWORD PTR -96[rbp], -1
	mov	rdx, QWORD PTR -112[rbp]
	mov	rax, QWORD PTR -104[rbp]
	lea	rsi, keycmp[rip]
	mov	rdi, rax
	call	strvec_locate
	mov	DWORD PTR -92[rbp], eax
	mov	rax, QWORD PTR -112[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	QWORD PTR -88[rbp], rax
	mov	rax, QWORD PTR -120[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	QWORD PTR -80[rbp], rax
	mov	rdx, QWORD PTR -88[rbp]
	mov	rax, QWORD PTR -80[rbp]
	add	rax, rdx
	add	rax, 2
	mov	rdx, rax
	sub	rdx, 1
	mov	QWORD PTR -72[rbp], rdx
	mov	r14, rax
	mov	r15d, 0
	mov	r12, rax
	mov	r13d, 0
	mov	edx, 16
	sub	rdx, 1
	add	rax, rdx
	mov	esi, 16
	mov	edx, 0
	div	rsi
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L34:
	cmp	rsp, rdx
	je	.L35
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L34
.L35:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L36
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L36:
	mov	rax, rsp
	add	rax, 0
	mov	QWORD PTR -64[rbp], rax
	mov	rdx, QWORD PTR -112[rbp]
	mov	rax, QWORD PTR -64[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	mov	rdx, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR -88[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 61
	mov	rax, QWORD PTR -88[rbp]
	lea	rdx, 1[rax]
	mov	rax, QWORD PTR -64[rbp]
	add	rdx, rax
	mov	rax, QWORD PTR -120[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	call	strcpy@PLT
	cmp	DWORD PTR -92[rbp], 0
	jns	.L37
	mov	rdx, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR -104[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strvec_append
	mov	DWORD PTR -96[rbp], eax
	jmp	.L38
.L37:
	mov	eax, DWORD PTR -92[rbp]
	movsx	rcx, eax
	mov	rdx, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR -104[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	strvec_replace
	mov	DWORD PTR -96[rbp], eax
.L38:
	mov	eax, DWORD PTR -96[rbp]
	mov	rsp, rbx
	mov	rbx, QWORD PTR -56[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L40
	call	__stack_chk_fail@PLT
.L40:
	lea	rsp, -40[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE15:
	.size	env_setenv, .-env_setenv
	.globl	env_copy
	.type	env_copy, @function
env_copy:
.LFB16:
	.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 -40[rbp], rdi
	mov	QWORD PTR -48[rbp], rsi
	mov	DWORD PTR -28[rbp], 0
	mov	QWORD PTR -24[rbp], 0
	mov	QWORD PTR -16[rbp], 0
	jmp	.L42
.L45:
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	getenv@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	je	.L43
	mov	rdx, QWORD PTR -8[rbp]
	mov	rcx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -40[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	env_setenv
	mov	DWORD PTR -28[rbp], eax
	cmp	DWORD PTR -28[rbp], 0
	je	.L43
	mov	eax, DWORD PTR -28[rbp]
	jmp	.L44
.L43:
	add	QWORD PTR -24[rbp], 1
.L42:
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -16[rbp], rax
	cmp	QWORD PTR -16[rbp], 0
	jne	.L45
	mov	eax, DWORD PTR -28[rbp]
.L44:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE16:
	.size	env_copy, .-env_copy
	.type	basename, @function
basename:
.LFB17:
	.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 -24[rbp]
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	esi, 47
	mov	rdi, rax
	call	strrchr@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	je	.L47
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 1
	mov	QWORD PTR -16[rbp], rax
.L47:
	mov	rax, QWORD PTR -16[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE17:
	.size	basename, .-basename
	.section	.rodata
.LC7:
	.string	"FATAL: %s(%d) %s\n"
	.text
	.type	_FAIL, @function
_FAIL:
.LFB18:
	.cfi_startproc
	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 -4[rbp], edi
	mov	QWORD PTR -16[rbp], rsi
	mov	DWORD PTR -8[rbp], edx
	mov	QWORD PTR -24[rbp], rcx
	cmp	DWORD PTR -4[rbp], 0
	je	.L51
	mov	rax, QWORD PTR stderr[rip]
	mov	rsi, QWORD PTR -24[rbp]
	mov	ecx, DWORD PTR -8[rbp]
	mov	rdx, QWORD PTR -16[rbp]
	mov	r8, rsi
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L51:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE18:
	.size	_FAIL, .-_FAIL
	.section	.rodata
.LC8:
	.string	"strvec_Create (&newenv)"
.LC9:
	.string	"the_stack_data/154829127.c"
.LC10:
	.string	"strvec_Create (&newargv)"
.LC11:
	.string	"env_copy (newenv, env_vars)"
.LC12:
	.string	"SHELL"
	.align 8
.LC13:
	.string	"env_setenv (newenv, \"SHELL\", shell)"
.LC14:
	.string	"/sbin:/bin:/usr/sbin:/usr/bin"
.LC15:
	.string	"PATH"
	.align 8
.LC16:
	.string	"env_setenv (newenv, \"PATH\", \"/sbin:/bin:/usr/sbin:/usr/bin\")"
.LC17:
	.string	"C"
.LC18:
	.string	"LC_COLLATE"
	.align 8
.LC19:
	.string	"env_setenv (newenv, \"LC_COLLATE\", \"C\")"
	.align 8
.LC20:
	.string	"env_setenv (newenv, prompt, prompt_string)"
.LC21:
	.string	"strvec_append (newenv, 0)"
	.align 8
.LC22:
	.string	"strvec_append (newargv, basename (shell))"
	.align 8
.LC23:
	.string	"strvec_append (newargv, shell_args[i])"
	.align 8
.LC24:
	.string	"strvec_append (newargv, argv[i])"
.LC25:
	.string	"strvec_append (newargv, 0)"
	.text
	.globl	main
	.type	main, @function
main:
.LFB19:
	.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, 104
	.cfi_offset 3, -24
	mov	DWORD PTR -84[rbp], edi
	mov	QWORD PTR -96[rbp], rsi
	mov	QWORD PTR -104[rbp], rdx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -76[rbp], 0
	lea	rax, PATH_SHELL[rip]
	mov	QWORD PTR -56[rbp], rax
	lea	rax, SHELL_ARGS[rip]
	mov	QWORD PTR -48[rbp], rax
	lea	rax, SHELL_PROMPT[rip]
	mov	QWORD PTR -40[rbp], rax
	lea	rax, PROMPT_STRING[rip]
	mov	QWORD PTR -32[rbp], rax
	mov	QWORD PTR -72[rbp], 0
	mov	QWORD PTR -64[rbp], 0
	lea	rax, -72[rbp]
	mov	rdi, rax
	call	strvec_Create
	lea	rcx, .LC8[rip]
	mov	edx, 240
	lea	rsi, .LC9[rip]
	mov	edi, eax
	call	_FAIL
	lea	rax, -64[rbp]
	mov	rdi, rax
	call	strvec_Create
	lea	rcx, .LC10[rip]
	mov	edx, 243
	lea	rsi, .LC9[rip]
	mov	edi, eax
	call	_FAIL
	mov	rax, QWORD PTR -72[rbp]
	lea	rsi, env_vars[rip]
	mov	rdi, rax
	call	env_copy
	lea	rcx, .LC11[rip]
	mov	edx, 248
	lea	rsi, .LC9[rip]
	mov	edi, eax
	call	_FAIL
	mov	rax, QWORD PTR -72[rbp]
	mov	rdx, QWORD PTR -56[rbp]
	lea	rsi, .LC12[rip]
	mov	rdi, rax
	call	env_setenv
	lea	rcx, .LC13[rip]
	mov	edx, 251
	lea	rsi, .LC9[rip]
	mov	edi, eax
	call	_FAIL
	mov	rax, QWORD PTR -72[rbp]
	lea	rdx, .LC14[rip]
	lea	rsi, .LC15[rip]
	mov	rdi, rax
	call	env_setenv
	lea	rcx, .LC16[rip]
	mov	edx, 254
	lea	rsi, .LC9[rip]
	mov	edi, eax
	call	_FAIL
	mov	rax, QWORD PTR -72[rbp]
	lea	rdx, .LC17[rip]
	lea	rsi, .LC18[rip]
	mov	rdi, rax
	call	env_setenv
	lea	rcx, .LC19[rip]
	mov	edx, 257
	lea	rsi, .LC9[rip]
	mov	edi, eax
	call	_FAIL
	mov	rax, QWORD PTR -72[rbp]
	mov	rdx, QWORD PTR -32[rbp]
	mov	rcx, QWORD PTR -40[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	env_setenv
	lea	rcx, .LC20[rip]
	mov	edx, 260
	lea	rsi, .LC9[rip]
	mov	edi, eax
	call	_FAIL
	mov	rax, QWORD PTR -72[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	strvec_append
	lea	rcx, .LC21[rip]
	mov	edx, 264
	lea	rsi, .LC9[rip]
	mov	edi, eax
	call	_FAIL
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	basename
	mov	rdx, rax
	mov	rax, QWORD PTR -64[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strvec_append
	lea	rcx, .LC22[rip]
	mov	edx, 269
	lea	rsi, .LC9[rip]
	mov	edi, eax
	call	_FAIL
	mov	DWORD PTR -76[rbp], 0
	jmp	.L53
.L54:
	mov	eax, DWORD PTR -76[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -64[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strvec_append
	lea	rcx, .LC23[rip]
	mov	edx, 273
	lea	rsi, .LC9[rip]
	mov	edi, eax
	call	_FAIL
	add	DWORD PTR -76[rbp], 1
.L53:
	mov	eax, DWORD PTR -76[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	jne	.L54
	mov	DWORD PTR -76[rbp], 1
	jmp	.L55
.L56:
	mov	eax, DWORD PTR -76[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -96[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -64[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strvec_append
	lea	rcx, .LC24[rip]
	mov	edx, 279
	lea	rsi, .LC9[rip]
	mov	edi, eax
	call	_FAIL
	add	DWORD PTR -76[rbp], 1
.L55:
	mov	eax, DWORD PTR -76[rbp]
	cmp	eax, DWORD PTR -84[rbp]
	jl	.L56
	mov	rax, QWORD PTR -64[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	strvec_append
	lea	rcx, .LC25[rip]
	mov	edx, 283
	lea	rsi, .LC9[rip]
	mov	edi, eax
	call	_FAIL
	mov	rax, QWORD PTR -72[rbp]
	mov	rdi, rax
	call	strvec_carray
	mov	rbx, rax
	mov	rax, QWORD PTR -64[rbp]
	mov	rdi, rax
	call	strvec_carray
	mov	rcx, rax
	mov	rax, QWORD PTR -56[rbp]
	mov	rdx, rbx
	mov	rsi, rcx
	mov	rdi, rax
	call	execve@PLT
	mov	edi, 1
	call	exit@PLT
	.cfi_endproc
.LFE19:
	.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	"154829127.c"
	.text
	.data
	.align	2
	.type	PATH_SHELL, %object
	.size	PATH_SHELL, 8
PATH_SHELL:
	.ascii	"/bin/sh\000"
	.section	.rodata
	.align	2
.LC0:
	.ascii	"--noprofile\000"
	.data
	.align	2
	.type	SHELL_ARGS, %object
	.size	SHELL_ARGS, 8
SHELL_ARGS:
	.word	.LC0
	.word	0
	.align	2
	.type	SHELL_PROMPT, %object
	.size	SHELL_PROMPT, 4
SHELL_PROMPT:
	.ascii	"PS1\000"
	.align	2
	.type	PROMPT_STRING, %object
	.size	PROMPT_STRING, 13
PROMPT_STRING:
	.ascii	"cleansh ! $ \000"
	.global	env_vars
	.section	.rodata
	.align	2
.LC1:
	.ascii	"USER\000"
	.align	2
.LC2:
	.ascii	"LOGNAME\000"
	.align	2
.LC3:
	.ascii	"HOME\000"
	.align	2
.LC4:
	.ascii	"TERM\000"
	.align	2
.LC5:
	.ascii	"LANG\000"
	.align	2
.LC6:
	.ascii	"DISPLAY\000"
	.data
	.align	2
	.type	env_vars, %object
	.size	env_vars, 28
env_vars:
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	0
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	strvec_carray, %function
strvec_carray:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #8]
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	strvec_carray, .-strvec_carray
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	strvec_size, %function
strvec_size:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	strvec_size, .-strvec_size
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	strvec_used, %function
strvec_used:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	strvec_used, .-strvec_used
	.align	2
	.global	strvec_grow
	.syntax unified
	.arm
	.fpu softvfp
	.type	strvec_grow, %function
strvec_grow:
	@ 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]
	mvn	r3, #0
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	beq	.L8
	ldr	r0, [fp, #-24]
	bl	strvec_size
	mov	r3, r0
	lsl	r3, r3, #1
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	beq	.L9
	ldr	r0, [fp, #-24]
	bl	strvec_carray
	mov	r3, r0
	ldr	r1, [fp, #-12]
	mov	r0, r3
	bl	realloc
	str	r0, [fp, #-8]
	b	.L10
.L9:
	mov	r3, #1024
	str	r3, [fp, #-12]
	mov	r1, #1
	ldr	r0, [fp, #-12]
	bl	calloc
	mov	r3, r0
	str	r3, [fp, #-8]
.L10:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L8
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-8]
	str	r2, [r3, #8]
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-12]
	str	r2, [r3]
	mov	r3, #0
	str	r3, [fp, #-16]
.L8:
	ldr	r3, [fp, #-16]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	strvec_grow, .-strvec_grow
	.align	2
	.global	strvec_Create
	.syntax unified
	.arm
	.fpu softvfp
	.type	strvec_Create, %function
strvec_Create:
	@ 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]
	mvn	r3, #0
	str	r3, [fp, #-12]
	mov	r1, #1
	mov	r0, #12
	bl	calloc
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L13
	ldr	r3, [fp, #-8]
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	mov	r2, #0
	str	r2, [r3, #4]
	ldr	r3, [fp, #-8]
	mov	r2, #0
	str	r2, [r3, #8]
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-8]
	str	r2, [r3]
	mov	r3, #0
	str	r3, [fp, #-12]
.L13:
	ldr	r3, [fp, #-12]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	strvec_Create, .-strvec_Create
	.align	2
	.global	strvec_locate
	.syntax unified
	.arm
	.fpu softvfp
	.type	strvec_locate, %function
strvec_locate:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	str	r2, [fp, #-32]
	mvn	r3, #0
	str	r3, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-16]
	ldr	r0, [fp, #-24]
	bl	strvec_used
	mov	r3, r0
	str	r3, [fp, #-12]
	ldr	r0, [fp, #-24]
	bl	strvec_carray
	str	r0, [fp, #-8]
	b	.L16
.L18:
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-8]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-28]
	mov	r1, r2
	ldr	r0, [fp, #-32]
	blx	r3
	mov	r3, r0
	cmp	r3, #0
	bne	.L17
	ldr	r3, [fp, #-16]
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-16]
	str	r3, [fp, #-20]
	b	.L16
.L17:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L16:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-12]
	cmp	r2, r3
	bne	.L18
	ldr	r3, [fp, #-20]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	strvec_locate, .-strvec_locate
	.align	2
	.global	strvec_replace
	.syntax unified
	.arm
	.fpu softvfp
	.type	strvec_replace, %function
strvec_replace:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #36
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	str	r2, [fp, #-40]
	mvn	r3, #0
	str	r3, [fp, #-28]
	ldr	r0, [fp, #-32]
	bl	strvec_used
	mov	r2, r0
	ldr	r3, [fp, #-36]
	cmp	r3, r2
	bcs	.L21
	ldr	r0, [fp, #-32]
	bl	strvec_carray
	str	r0, [fp, #-24]
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-20]
	ldr	r0, [fp, #-20]
	bl	strlen
	mov	r4, r0
	ldr	r0, [fp, #-40]
	bl	strlen
	mov	r3, r0
	cmp	r4, r3
	bcs	.L22
	ldr	r0, [fp, #-40]
	bl	strlen
	mov	r3, r0
	add	r3, r3, #1
	mov	r1, r3
	ldr	r0, [fp, #-20]
	bl	realloc
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	beq	.L21
	ldr	r1, [fp, #-40]
	ldr	r0, [fp, #-16]
	bl	strcpy
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldr	r2, [fp, #-16]
	str	r2, [r3]
	mov	r3, #0
	str	r3, [fp, #-28]
	b	.L21
.L22:
	ldr	r1, [fp, #-40]
	ldr	r0, [fp, #-20]
	bl	strcpy
	mov	r3, #0
	str	r3, [fp, #-28]
.L21:
	ldr	r3, [fp, #-28]
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
	.size	strvec_replace, .-strvec_replace
	.align	2
	.global	strvec_append
	.syntax unified
	.arm
	.fpu softvfp
	.type	strvec_append, %function
strvec_append:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #28
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	mvn	r3, #0
	str	r3, [fp, #-24]
	ldr	r0, [fp, #-32]
	bl	strvec_used
	mov	r4, r0
	ldr	r0, [fp, #-32]
	bl	strvec_size
	mov	r3, r0
	cmp	r4, r3
	bcc	.L25
	ldr	r0, [fp, #-32]
	bl	strvec_grow
	str	r0, [fp, #-24]
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bne	.L26
	ldr	r1, [fp, #-36]
	ldr	r0, [fp, #-32]
	bl	strvec_append
	str	r0, [fp, #-24]
	b	.L26
.L25:
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	beq	.L27
	ldr	r0, [fp, #-36]
	bl	strdup
	mov	r3, r0
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	beq	.L26
	ldr	r0, [fp, #-32]
	bl	strvec_carray
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-32]
	ldr	r3, [r3, #4]
	add	r1, r3, #1
	ldr	r2, [fp, #-32]
	str	r1, [r2, #4]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r2, [fp, #-20]
	str	r2, [r3]
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L26
.L27:
	ldr	r3, [fp, #-32]
	ldr	r2, [r3, #8]
	ldr	r3, [fp, #-32]
	ldr	r3, [r3, #4]
	add	r0, r3, #1
	ldr	r1, [fp, #-32]
	str	r0, [r1, #4]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [fp, #-36]
	str	r2, [r3]
	mov	r3, #0
	str	r3, [fp, #-24]
.L26:
	ldr	r3, [fp, #-24]
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
	.size	strvec_append, .-strvec_append
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	keycmp, %function
keycmp:
	@ 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]
	str	r1, [fp, #-20]
	ldr	r0, [fp, #-16]
	bl	strlen
	str	r0, [fp, #-12]
	ldr	r2, [fp, #-12]
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-16]
	bl	strncmp
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L30
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	rsb	r3, r3, #61
	b	.L32
.L30:
	ldr	r3, [fp, #-8]
.L32:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	keycmp, .-keycmp
	.section	.rodata
	.align	2
.LC7:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	env_setenv
	.syntax unified
	.arm
	.fpu softvfp
	.type	env_setenv, %function
env_setenv:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #52
	str	r0, [fp, #-48]
	str	r1, [fp, #-52]
	str	r2, [fp, #-56]
	ldr	r3, .L38
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, sp
	mov	r4, r3
	mvn	r3, #0
	str	r3, [fp, #-40]
	ldr	r2, [fp, #-52]
	ldr	r1, .L38+4
	ldr	r0, [fp, #-48]
	bl	strvec_locate
	str	r0, [fp, #-36]
	ldr	r0, [fp, #-52]
	bl	strlen
	str	r0, [fp, #-32]
	ldr	r0, [fp, #-56]
	bl	strlen
	str	r0, [fp, #-28]
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-28]
	add	r3, r2, r3
	add	ip, r3, #2
	mov	r3, ip
	sub	r3, r3, #1
	str	r3, [fp, #-24]
	mov	r0, ip
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #3
	orr	r3, r3, r0, lsr #29
	lsl	r2, r0, #3
	mov	r0, ip
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #3
	orr	r3, r3, r0, lsr #29
	lsl	r2, r0, #3
	add	r3, ip, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	mov	r3, sp
	add	r3, r3, #0
	str	r3, [fp, #-20]
	ldr	r1, [fp, #-52]
	ldr	r0, [fp, #-20]
	bl	strcpy
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-32]
	add	r3, r2, r3
	mov	r2, #61
	strb	r2, [r3]
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldr	r1, [fp, #-56]
	mov	r0, r3
	bl	strcpy
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	bge	.L34
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-48]
	bl	strvec_append
	str	r0, [fp, #-40]
	b	.L35
.L34:
	ldr	r3, [fp, #-36]
	ldr	r2, [fp, #-20]
	mov	r1, r3
	ldr	r0, [fp, #-48]
	bl	strvec_replace
	str	r0, [fp, #-40]
.L35:
	ldr	r3, [fp, #-40]
	mov	sp, r4
	ldr	r2, .L38
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L37
	bl	__stack_chk_fail
.L37:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L39:
	.align	2
.L38:
	.word	.LC7
	.word	keycmp
	.size	env_setenv, .-env_setenv
	.align	2
	.global	env_copy
	.syntax unified
	.arm
	.fpu softvfp
	.type	env_copy, %function
env_copy:
	@ 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]
	mov	r3, #0
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L41
.L44:
	ldr	r0, [fp, #-12]
	bl	getenv
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L42
	ldr	r2, [fp, #-8]
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-24]
	bl	env_setenv
	str	r0, [fp, #-20]
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	beq	.L42
	ldr	r3, [fp, #-20]
	b	.L43
.L42:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L41:
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L44
	ldr	r3, [fp, #-20]
.L43:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	env_copy, .-env_copy
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	basename, %function
basename:
	@ 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, [fp, #-16]
	str	r3, [fp, #-12]
	mov	r1, #47
	ldr	r0, [fp, #-16]
	bl	strrchr
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L46
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L46:
	ldr	r3, [fp, #-12]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	basename, .-basename
	.section	.rodata
	.align	2
.LC8:
	.ascii	"FATAL: %s(%d) %s\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	_FAIL, %function
_FAIL:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	str	r2, [fp, #-16]
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L50
	ldr	r3, .L51
	ldr	r0, [r3]
	ldr	r3, [fp, #-20]
	str	r3, [sp]
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-12]
	ldr	r1, .L51+4
	bl	fprintf
	mov	r0, #1
	bl	exit
.L50:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L52:
	.align	2
.L51:
	.word	stderr
	.word	.LC8
	.size	_FAIL, .-_FAIL
	.section	.rodata
	.align	2
.LC9:
	.ascii	"strvec_Create (&newenv)\000"
	.align	2
.LC10:
	.ascii	"the_stack_data/154829127.c\000"
	.align	2
.LC11:
	.ascii	"strvec_Create (&newargv)\000"
	.align	2
.LC12:
	.ascii	"env_copy (newenv, env_vars)\000"
	.align	2
.LC13:
	.ascii	"SHELL\000"
	.align	2
.LC14:
	.ascii	"env_setenv (newenv, \"SHELL\", shell)\000"
	.align	2
.LC15:
	.ascii	"/sbin:/bin:/usr/sbin:/usr/bin\000"
	.align	2
.LC16:
	.ascii	"PATH\000"
	.align	2
.LC17:
	.ascii	"env_setenv (newenv, \"PATH\", \"/sbin:/bin:/usr/sbi"
	.ascii	"n:/usr/bin\")\000"
	.align	2
.LC18:
	.ascii	"C\000"
	.align	2
.LC19:
	.ascii	"LC_COLLATE\000"
	.align	2
.LC20:
	.ascii	"env_setenv (newenv, \"LC_COLLATE\", \"C\")\000"
	.align	2
.LC21:
	.ascii	"env_setenv (newenv, prompt, prompt_string)\000"
	.align	2
.LC22:
	.ascii	"strvec_append (newenv, 0)\000"
	.align	2
.LC23:
	.ascii	"strvec_append (newargv, basename (shell))\000"
	.align	2
.LC24:
	.ascii	"strvec_append (newargv, shell_args[i])\000"
	.align	2
.LC25:
	.ascii	"strvec_append (newargv, argv[i])\000"
	.align	2
.LC26:
	.ascii	"strvec_append (newargv, 0)\000"
	.align	2
.LC27:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #52
	str	r0, [fp, #-48]
	str	r1, [fp, #-52]
	str	r2, [fp, #-56]
	ldr	r3, .L59
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-36]
	ldr	r3, .L59+4
	str	r3, [fp, #-32]
	ldr	r3, .L59+8
	str	r3, [fp, #-28]
	ldr	r3, .L59+12
	str	r3, [fp, #-24]
	ldr	r3, .L59+16
	str	r3, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-44]
	mov	r3, #0
	str	r3, [fp, #-40]
	sub	r3, fp, #44
	mov	r0, r3
	bl	strvec_Create
	ldr	r3, .L59+20
	mov	r2, #240
	ldr	r1, .L59+24
	bl	_FAIL
	sub	r3, fp, #40
	mov	r0, r3
	bl	strvec_Create
	ldr	r3, .L59+28
	mov	r2, #243
	ldr	r1, .L59+24
	bl	_FAIL
	ldr	r3, [fp, #-44]
	ldr	r1, .L59+32
	mov	r0, r3
	bl	env_copy
	ldr	r3, .L59+36
	mov	r2, #248
	ldr	r1, .L59+24
	bl	_FAIL
	ldr	r3, [fp, #-44]
	ldr	r2, [fp, #-32]
	ldr	r1, .L59+40
	mov	r0, r3
	bl	env_setenv
	ldr	r3, .L59+44
	mov	r2, #251
	ldr	r1, .L59+24
	bl	_FAIL
	ldr	r3, [fp, #-44]
	ldr	r2, .L59+48
	ldr	r1, .L59+52
	mov	r0, r3
	bl	env_setenv
	ldr	r3, .L59+56
	mov	r2, #254
	ldr	r1, .L59+24
	bl	_FAIL
	ldr	r3, [fp, #-44]
	ldr	r2, .L59+60
	ldr	r1, .L59+64
	mov	r0, r3
	bl	env_setenv
	ldr	r3, .L59+68
	ldr	r2, .L59+72
	ldr	r1, .L59+24
	bl	_FAIL
	ldr	r3, [fp, #-44]
	ldr	r2, [fp, #-20]
	ldr	r1, [fp, #-24]
	mov	r0, r3
	bl	env_setenv
	ldr	r3, .L59+76
	mov	r2, #260
	ldr	r1, .L59+24
	bl	_FAIL
	ldr	r3, [fp, #-44]
	mov	r1, #0
	mov	r0, r3
	bl	strvec_append
	ldr	r3, .L59+80
	mov	r2, #264
	ldr	r1, .L59+24
	bl	_FAIL
	ldr	r4, [fp, #-40]
	ldr	r0, [fp, #-32]
	bl	basename
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	strvec_append
	ldr	r3, .L59+84
	ldr	r2, .L59+88
	ldr	r1, .L59+24
	bl	_FAIL
	mov	r3, #0
	str	r3, [fp, #-36]
	b	.L54
.L55:
	ldr	r0, [fp, #-40]
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r1, r3
	bl	strvec_append
	ldr	r3, .L59+92
	ldr	r2, .L59+96
	ldr	r1, .L59+24
	bl	_FAIL
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
.L54:
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L55
	mov	r3, #1
	str	r3, [fp, #-36]
	b	.L56
.L57:
	ldr	r0, [fp, #-40]
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-52]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r1, r3
	bl	strvec_append
	ldr	r3, .L59+100
	ldr	r2, .L59+104
	ldr	r1, .L59+24
	bl	_FAIL
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
.L56:
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-48]
	cmp	r2, r3
	blt	.L57
	ldr	r3, [fp, #-40]
	mov	r1, #0
	mov	r0, r3
	bl	strvec_append
	ldr	r3, .L59+108
	ldr	r2, .L59+112
	ldr	r1, .L59+24
	bl	_FAIL
	ldr	r3, [fp, #-40]
	mov	r0, r3
	bl	strvec_carray
	mov	r4, r0
	ldr	r3, [fp, #-44]
	mov	r0, r3
	bl	strvec_carray
	mov	r3, r0
	mov	r2, r3
	mov	r1, r4
	ldr	r0, [fp, #-32]
	bl	execve
	mov	r0, #1
	bl	exit
.L60:
	.align	2
.L59:
	.word	.LC27
	.word	PATH_SHELL
	.word	SHELL_ARGS
	.word	SHELL_PROMPT
	.word	PROMPT_STRING
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	env_vars
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.word	.LC18
	.word	.LC19
	.word	.LC20
	.word	257
	.word	.LC21
	.word	.LC22
	.word	.LC23
	.word	269
	.word	.LC24
	.word	273
	.word	.LC25
	.word	279
	.word	.LC26
	.word	283
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
