	.file	"100141683.c"
	.intel_syntax noprefix
	.text
	.globl	utils_device_open
	.type	utils_device_open, @function
utils_device_open:
.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	DWORD PTR -28[rbp], esi
	mov	eax, DWORD PTR -28[rbp]
	or	ah, 8
	mov	DWORD PTR -4[rbp], eax
	mov	DWORD PTR -12[rbp], 0
	jmp	.L2
.L5:
	mov	ecx, DWORD PTR -4[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, 384
	mov	esi, ecx
	mov	rdi, rax
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -8[rbp], eax
	cmp	DWORD PTR -8[rbp], 0
	jns	.L9
	add	DWORD PTR -12[rbp], 1
.L2:
	cmp	DWORD PTR -12[rbp], 4
	jle	.L5
	jmp	.L4
.L9:
	nop
.L4:
	cmp	DWORD PTR -8[rbp], 0
	jns	.L6
	mov	eax, DWORD PTR -8[rbp]
	jmp	.L7
.L6:
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -28[rbp]
	je	.L8
	mov	edx, DWORD PTR -28[rbp]
	mov	eax, DWORD PTR -8[rbp]
	mov	esi, 4
	mov	edi, eax
	mov	eax, 0
	call	fcntl@PLT
.L8:
	mov	eax, DWORD PTR -8[rbp]
.L7:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	utils_device_open, .-utils_device_open
	.globl	utils_parse_args
	.type	utils_parse_args, @function
utils_parse_args:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	QWORD PTR -40[rbp], rdx
	mov	DWORD PTR -12[rbp], 0
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR -8[rbp], rax
	jmp	.L11
.L13:
	mov	rax, QWORD PTR -8[rbp]
	mov	BYTE PTR [rax], 0
	add	QWORD PTR -8[rbp], 1
.L12:
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 32
	je	.L13
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 9
	je	.L13
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L21
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -40[rbp]
	add	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR [rdx], rax
	add	DWORD PTR -12[rbp], 1
	add	QWORD PTR -8[rbp], 1
	jmp	.L16
.L17:
	add	QWORD PTR -8[rbp], 1
.L16:
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 32
	je	.L11
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 9
	je	.L11
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L17
.L11:
	cmp	DWORD PTR -12[rbp], 14
	jg	.L15
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L12
	jmp	.L15
.L21:
	nop
.L15:
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L19
	mov	eax, -1
	jmp	.L20
.L19:
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	QWORD PTR [rax], 0
	mov	eax, DWORD PTR -12[rbp]
.L20:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	utils_parse_args, .-utils_parse_args
	.globl	utils_safe_read
	.type	utils_safe_read, @function
utils_safe_read:
.LFB8:
	.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	DWORD PTR -20[rbp], edi
	mov	QWORD PTR -32[rbp], rsi
	mov	QWORD PTR -40[rbp], rdx
.L24:
	mov	rdx, QWORD PTR -40[rbp]
	mov	rcx, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR -20[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jns	.L23
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	cmp	eax, 4
	je	.L24
.L23:
	mov	rax, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	utils_safe_read, .-utils_safe_read
	.globl	utils_safe_write
	.type	utils_safe_write, @function
utils_safe_write:
.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	DWORD PTR -20[rbp], edi
	mov	QWORD PTR -32[rbp], rsi
	mov	QWORD PTR -40[rbp], rdx
.L28:
	mov	rdx, QWORD PTR -40[rbp]
	mov	rcx, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR -20[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jns	.L27
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	cmp	eax, 4
	je	.L28
.L27:
	mov	rax, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	utils_safe_write, .-utils_safe_write
	.globl	utils_full_write
	.type	utils_full_write, @function
utils_full_write:
.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, 48
	mov	DWORD PTR -20[rbp], edi
	mov	QWORD PTR -32[rbp], rsi
	mov	QWORD PTR -40[rbp], rdx
	mov	QWORD PTR -16[rbp], 0
	jmp	.L31
.L35:
	mov	rdx, QWORD PTR -40[rbp]
	mov	rcx, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR -20[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	utils_safe_write
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jns	.L32
	cmp	QWORD PTR -16[rbp], 0
	je	.L33
	mov	rax, QWORD PTR -16[rbp]
	jmp	.L34
.L33:
	mov	rax, QWORD PTR -8[rbp]
	jmp	.L34
.L32:
	mov	rax, QWORD PTR -8[rbp]
	add	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	add	QWORD PTR -32[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	sub	QWORD PTR -40[rbp], rax
.L31:
	cmp	QWORD PTR -40[rbp], 0
	jne	.L35
	mov	rax, QWORD PTR -16[rbp]
.L34:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	utils_full_write, .-utils_full_write
	.section	.rodata
.LC0:
	.string	"/dev/tts/0"
.LC1:
	.string	"/bin/sh"
.LC2:
	.string	"/dev/ttyS0"
.LC3:
	.string	"/dev/ttyS1"
.LC4:
	.string	"/dev/tty1"
.LC5:
	.string	"/dev/tty2"
.LC6:
	.string	"/dev/tty3"
.LC7:
	.string	"/dev/tty4"
.LC8:
	.string	"/dev/tty5"
.LC9:
	.string	"/dev/tty6"
	.section	.data.rel.local,"aw"
	.align 32
	.type	shell_actions, @object
	.size	shell_actions, 320
shell_actions:
	.long	0
	.zero	4
	.quad	.LC0
	.byte	97
	.zero	7
	.quad	.LC1
	.long	0
	.zero	4
	.quad	.LC2
	.byte	97
	.zero	7
	.quad	.LC1
	.long	0
	.zero	4
	.quad	.LC3
	.byte	97
	.zero	7
	.quad	.LC1
	.long	0
	.zero	4
	.quad	.LC4
	.byte	97
	.zero	7
	.quad	.LC1
	.long	0
	.zero	4
	.quad	.LC5
	.byte	97
	.zero	7
	.quad	.LC1
	.long	0
	.zero	4
	.quad	.LC6
	.byte	97
	.zero	7
	.quad	.LC1
	.long	0
	.zero	4
	.quad	.LC7
	.byte	97
	.zero	7
	.quad	.LC1
	.long	0
	.zero	4
	.quad	.LC8
	.byte	97
	.zero	7
	.quad	.LC1
	.long	0
	.zero	4
	.quad	.LC9
	.byte	97
	.zero	7
	.quad	.LC1
	.long	0
	.zero	4
	.quad	0
	.byte	0
	.zero	7
	.quad	0
	.text
	.type	set_term, @function
set_term:
.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, 96
	mov	DWORD PTR -84[rbp], edi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdx, -80[rbp]
	mov	eax, DWORD PTR -84[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	tcgetattr@PLT
	mov	BYTE PTR -63[rbp], 3
	mov	BYTE PTR -62[rbp], 28
	mov	BYTE PTR -61[rbp], 127
	mov	BYTE PTR -60[rbp], 21
	mov	BYTE PTR -59[rbp], 4
	mov	BYTE PTR -55[rbp], 17
	mov	BYTE PTR -54[rbp], 19
	mov	BYTE PTR -53[rbp], 26
	mov	BYTE PTR -64[rbp], 0
	mov	eax, DWORD PTR -72[rbp]
	and	eax, 4991
	mov	DWORD PTR -72[rbp], eax
	mov	eax, DWORD PTR -72[rbp]
	or	eax, 3200
	mov	DWORD PTR -72[rbp], eax
	mov	DWORD PTR -80[rbp], 5376
	mov	DWORD PTR -76[rbp], 5
	mov	DWORD PTR -68[rbp], 35387
	lea	rdx, -80[rbp]
	mov	eax, DWORD PTR -84[rbp]
	mov	esi, 0
	mov	edi, eax
	call	tcsetattr@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L37
	call	__stack_chk_fail@PLT
.L37:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	set_term, .-set_term
	.type	open_stdio_to_tty, @function
open_stdio_to_tty:
.LFB12:
	.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]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L39
	mov	edi, 0
	call	close@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	esi, 2
	mov	rdi, rax
	call	utils_device_open
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 0
	je	.L40
	mov	eax, 0
	jmp	.L41
.L40:
	mov	esi, 1
	mov	edi, 0
	call	dup2@PLT
	mov	esi, 2
	mov	edi, 0
	call	dup2@PLT
.L39:
	mov	edi, 0
	call	set_term
	mov	eax, 1
.L41:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	open_stdio_to_tty, .-open_stdio_to_tty
	.section	.rodata
.LC10:
	.string	"%s"
	.text
	.type	do_command, @function
do_command:
.LFB13:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 560
	mov	QWORD PTR -552[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -400[rbp]
	mov	rdi, rax
	call	sigfillset@PLT
	lea	rax, -400[rbp]
	mov	edx, 0
	mov	rsi, rax
	mov	edi, 0
	call	sigprocmask@PLT
	call	fork@PLT
	mov	DWORD PTR -532[rbp], eax
	cmp	DWORD PTR -532[rbp], 0
	je	.L43
	lea	rax, -400[rbp]
	mov	rdi, rax
	call	sigfillset@PLT
	lea	rax, -400[rbp]
	mov	edx, 0
	mov	rsi, rax
	mov	edi, 1
	call	sigprocmask@PLT
	mov	eax, DWORD PTR -532[rbp]
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L51
	jmp	.L52
.L43:
	mov	esi, 0
	mov	edi, 17
	call	signal@PLT
	mov	esi, 0
	mov	edi, 14
	call	signal@PLT
	mov	esi, 0
	mov	edi, 10
	call	signal@PLT
	lea	rax, -400[rbp]
	mov	rdi, rax
	call	sigfillset@PLT
	lea	rax, -400[rbp]
	mov	edx, 0
	mov	rsi, rax
	mov	edi, 1
	call	sigprocmask@PLT
	call	setsid@PLT
	mov	rax, QWORD PTR -552[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rdi, rax
	call	open_stdio_to_tty
	test	eax, eax
	jne	.L45
	mov	edi, 1
	call	_exit@PLT
.L45:
	mov	rax, QWORD PTR -552[rbp]
	movzx	eax, BYTE PTR 16[rax]
	cmp	al, 97
	jne	.L46
	mov	edx, 47
	lea	rsi, press_enter.0[rip]
	mov	edi, 1
	call	utils_full_write
	jmp	.L47
.L49:
	nop
.L47:
	lea	rax, -533[rbp]
	mov	edx, 1
	mov	rsi, rax
	mov	edi, 0
	call	utils_safe_read
	cmp	rax, 1
	jne	.L46
	movzx	eax, BYTE PTR -533[rbp]
	cmp	al, 10
	jne	.L49
.L46:
	mov	rax, QWORD PTR -552[rbp]
	mov	rdx, QWORD PTR 24[rax]
	lea	rax, -272[rbp]
	mov	rcx, rdx
	lea	rdx, .LC10[rip]
	mov	esi, 256
	mov	rdi, rax
	mov	eax, 0
	call	snprintf@PLT
	lea	rax, -272[rbp]
	mov	rdi, rax
	call	strlen@PLT
	lea	rcx, 1[rax]
	lea	rdx, -528[rbp]
	lea	rax, -272[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	utils_parse_args
	test	eax, eax
	jle	.L50
	mov	rax, QWORD PTR -528[rbp]
	lea	rdx, -528[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	execvp@PLT
.L50:
	mov	edi, -1
	call	_exit@PLT
.L52:
	call	__stack_chk_fail@PLT
.L51:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	do_command, .-do_command
	.type	run_shell, @function
run_shell:
.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	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR -8[rbp], rax
	jmp	.L54
.L57:
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	je	.L55
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	jle	.L56
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	mov	esi, 0
	mov	edi, eax
	call	kill@PLT
	test	eax, eax
	je	.L56
.L55:
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	do_command
	mov	rdx, QWORD PTR -8[rbp]
	mov	DWORD PTR [rdx], eax
.L56:
	add	QWORD PTR -8[rbp], 32
.L54:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 24[rax]
	test	rax, rax
	jne	.L57
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	run_shell, .-run_shell
	.type	check_first_run, @function
check_first_run:
.LFB15:
	.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 -8[rbp], rax
	jmp	.L59
.L63:
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	jle	.L60
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	mov	esi, 0
	mov	edi, eax
	call	kill@PLT
	test	eax, eax
	je	.L60
	mov	rax, QWORD PTR -8[rbp]
	mov	DWORD PTR [rax], -1
.L60:
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	jne	.L61
	mov	eax, 0
	jmp	.L62
.L61:
	add	QWORD PTR -8[rbp], 32
.L59:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 24[rax]
	test	rax, rax
	jne	.L63
	mov	eax, 1
.L62:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE15:
	.size	check_first_run, .-check_first_run
	.type	shelld_reap, @function
shelld_reap:
.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, 32
	mov	DWORD PTR -20[rbp], edi
	nop
.L65:
	mov	edx, 1
	mov	esi, 0
	mov	edi, -1
	call	waitpid@PLT
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 0
	jg	.L65
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE16:
	.size	shelld_reap, .-shelld_reap
	.type	shelld_alarm, @function
shelld_alarm:
.LFB17:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -4[rbp], edi
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE17:
	.size	shelld_alarm, .-shelld_alarm
	.type	shelld_cleanup, @function
shelld_cleanup:
.LFB18:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -20[rbp], edi
	lea	rax, shell_actions[rip]
	mov	QWORD PTR -8[rbp], rax
	jmp	.L68
.L70:
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	jns	.L69
	mov	rax, QWORD PTR -8[rbp]
	mov	DWORD PTR [rax], 0
.L69:
	add	QWORD PTR -8[rbp], 32
.L68:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 24[rax]
	test	rax, rax
	jne	.L70
	nop
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE18:
	.size	shelld_cleanup, .-shelld_cleanup
	.globl	shelld_main
	.type	shelld_main, @function
shelld_main:
.LFB19:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 176
	mov	DWORD PTR -164[rbp], edi
	mov	QWORD PTR -176[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	call	fork@PLT
	mov	DWORD PTR -148[rbp], eax
	cmp	DWORD PTR -148[rbp], 0
	jns	.L72
	mov	eax, 1
	jmp	.L78
.L72:
	cmp	DWORD PTR -148[rbp], 0
	jle	.L74
	mov	eax, 0
	jmp	.L78
.L74:
	mov	edi, 0
	call	umask@PLT
	lea	rsi, shelld_reap[rip]
	mov	edi, 17
	call	signal@PLT
	lea	rsi, shelld_alarm[rip]
	mov	edi, 14
	call	signal@PLT
	lea	rsi, shelld_cleanup[rip]
	mov	edi, 10
	call	signal@PLT
	lea	rax, -144[rbp]
	mov	rdi, rax
	call	sigemptyset@PLT
.L77:
	mov	DWORD PTR -152[rbp], 0
	lea	rdi, shell_actions[rip]
	call	run_shell
	jmp	.L75
.L76:
	mov	edi, 1
	call	alarm@PLT
	lea	rax, -144[rbp]
	mov	rdi, rax
	call	sigsuspend@PLT
	lea	rdi, shell_actions[rip]
	call	check_first_run
	mov	DWORD PTR -152[rbp], eax
.L75:
	cmp	DWORD PTR -152[rbp], 0
	je	.L76
	lea	rax, -144[rbp]
	mov	rdi, rax
	call	sigsuspend@PLT
	mov	edi, 1
	call	sleep@PLT
	jmp	.L77
.L78:
	mov	rdx, QWORD PTR -8[rbp]
	sub	rdx, QWORD PTR fs:40
	je	.L79
	call	__stack_chk_fail@PLT
.L79:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE19:
	.size	shelld_main, .-shelld_main
	.type	init_reap, @function
init_reap:
.LFB20:
	.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
	nop
.L81:
	mov	edx, 1
	mov	esi, 0
	mov	edi, -1
	call	waitpid@PLT
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 0
	jg	.L81
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE20:
	.size	init_reap, .-init_reap
	.section	.rodata
.LC11:
	.string	"halt"
.LC12:
	.string	"reboot"
.LC13:
	.string	"poweroff"
	.text
	.type	init_halt_reboot_poweroff, @function
init_halt_reboot_poweroff:
.LFB21:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 176
	mov	DWORD PTR -164[rbp], edi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	esi, 0
	mov	edi, 10
	call	signal@PLT
	mov	esi, 0
	mov	edi, 15
	call	signal@PLT
	mov	esi, 0
	mov	edi, 12
	call	signal@PLT
	lea	rax, -144[rbp]
	mov	rdi, rax
	call	sigfillset@PLT
	lea	rax, -144[rbp]
	mov	edx, 0
	mov	rsi, rax
	mov	edi, 1
	call	sigprocmask@PLT
	mov	esi, 15
	mov	edi, -1
	call	kill@PLT
	call	sync@PLT
	mov	edi, 1
	call	sleep@PLT
	mov	esi, 9
	mov	edi, -1
	call	kill@PLT
	call	sync@PLT
	mov	edi, 1
	call	sleep@PLT
	lea	rax, .LC11[rip]
	mov	QWORD PTR -152[rbp], rax
	mov	DWORD PTR -160[rbp], -839974621
	cmp	DWORD PTR -164[rbp], 15
	jne	.L83
	lea	rax, .LC12[rip]
	mov	QWORD PTR -152[rbp], rax
	mov	DWORD PTR -160[rbp], 19088743
	jmp	.L84
.L83:
	cmp	DWORD PTR -164[rbp], 12
	jne	.L84
	lea	rax, .LC13[rip]
	mov	QWORD PTR -152[rbp], rax
	mov	DWORD PTR -160[rbp], 1126301404
.L84:
	call	vfork@PLT
	endbr64
	mov	DWORD PTR -156[rbp], eax
	cmp	DWORD PTR -156[rbp], 0
	je	.L85
	jmp	.L86
.L85:
	mov	eax, DWORD PTR -160[rbp]
	mov	edi, eax
	mov	eax, 0
	call	reboot@PLT
	mov	edi, 0
	call	_exit@PLT
.L86:
	mov	edi, 1
	call	sleep@PLT
	jmp	.L86
	.cfi_endproc
.LFE21:
	.size	init_halt_reboot_poweroff, .-init_halt_reboot_poweroff
	.section	.rodata
.LC14:
	.string	"init"
	.text
	.globl	init_main
	.type	init_main, @function
init_main:
.LFB22:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 160
	mov	DWORD PTR -148[rbp], edi
	mov	QWORD PTR -160[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	edi, 0
	call	umask@PLT
	mov	rax, QWORD PTR -160[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -160[rbp]
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC14[rip]
	mov	rdi, rax
	call	strncpy@PLT
	jmp	.L89
.L90:
	mov	rax, QWORD PTR -160[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -160[rbp]
	mov	rax, QWORD PTR [rax]
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
.L89:
	add	QWORD PTR -160[rbp], 8
	mov	rax, QWORD PTR -160[rbp]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	jne	.L90
	lea	rsi, init_reap[rip]
	mov	edi, 17
	call	signal@PLT
	lea	rsi, init_halt_reboot_poweroff[rip]
	mov	edi, 10
	call	signal@PLT
	lea	rsi, init_halt_reboot_poweroff[rip]
	mov	edi, 15
	call	signal@PLT
	lea	rsi, init_halt_reboot_poweroff[rip]
	mov	edi, 12
	call	signal@PLT
	lea	rax, -144[rbp]
	mov	rdi, rax
	call	sigemptyset@PLT
.L91:
	lea	rax, -144[rbp]
	mov	rdi, rax
	call	sigsuspend@PLT
	jmp	.L91
	.cfi_endproc
.LFE22:
	.size	init_main, .-init_main
	.section	.rodata
.LC15:
	.string	"/proc"
.LC16:
	.string	"proc"
.LC17:
	.string	"/sys"
.LC18:
	.string	"sysfs"
.LC19:
	.string	"/dev"
.LC20:
	.string	"tmpfs"
.LC21:
	.string	"devfs"
.LC22:
	.string	"/dev/shm"
.LC23:
	.string	"/dev/pts"
.LC24:
	.string	"devpts"
.LC25:
	.string	"/dev/console"
.LC26:
	.string	"/dev/null"
.LC27:
	.string	"/dev/kmsg"
.LC28:
	.string	"/dev/tty0"
.LC29:
	.string	"/etc"
.LC30:
	.string	"/boot"
.LC31:
	.string	"/data"
.LC32:
	.string	"/var"
.LC33:
	.string	"/var/lock"
.LC34:
	.string	"/var/log"
.LC35:
	.string	"/var/run"
.LC36:
	.string	"/var/tmp"
.LC37:
	.string	"/var/lib"
.LC38:
	.string	"/var/lib/misc"
.LC39:
	.string	"/home"
.LC40:
	.string	"/root"
	.text
	.globl	utils_make_preboot_dirs
	.type	utils_make_preboot_dirs, @function
utils_make_preboot_dirs:
.LFB23:
	.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	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	esi, 365
	lea	rdi, .LC15[rip]
	call	mkdir@PLT
	mov	r8d, 0
	mov	ecx, 3236757504
	lea	rdx, .LC16[rip]
	lea	rsi, .LC15[rip]
	lea	rdi, .LC16[rip]
	call	mount@PLT
	mov	esi, 493
	lea	rdi, .LC17[rip]
	call	mkdir@PLT
	mov	r8d, 0
	mov	ecx, 3236757504
	lea	rdx, .LC18[rip]
	lea	rsi, .LC17[rip]
	lea	rdi, .LC18[rip]
	call	mount@PLT
	mov	esi, 493
	lea	rdi, .LC19[rip]
	call	mkdir@PLT
	mov	r8d, 0
	mov	ecx, 3236757504
	lea	rdx, .LC20[rip]
	lea	rsi, .LC19[rip]
	lea	rdi, .LC21[rip]
	call	mount@PLT
	mov	esi, 511
	lea	rdi, .LC22[rip]
	call	mkdir@PLT
	mov	esi, 511
	lea	rdi, .LC23[rip]
	call	mkdir@PLT
	mov	r8d, 0
	mov	ecx, 3236757504
	lea	rdx, .LC24[rip]
	lea	rsi, .LC23[rip]
	lea	rdi, .LC24[rip]
	call	mount@PLT
	mov	esi, 1
	mov	edi, 5
	mov	eax, 0
	call	makedev@PLT
	cdqe
	mov	rdx, rax
	mov	esi, 8576
	lea	rdi, .LC25[rip]
	call	mknod@PLT
	mov	esi, 3
	mov	edi, 1
	mov	eax, 0
	call	makedev@PLT
	cdqe
	mov	rdx, rax
	mov	esi, 8630
	lea	rdi, .LC26[rip]
	call	mknod@PLT
	mov	esi, 11
	mov	edi, 1
	mov	eax, 0
	call	makedev@PLT
	cdqe
	mov	rdx, rax
	mov	esi, 8576
	lea	rdi, .LC27[rip]
	call	mknod@PLT
	mov	esi, 0
	mov	edi, 4
	mov	eax, 0
	call	makedev@PLT
	cdqe
	mov	rdx, rax
	mov	esi, 8630
	lea	rdi, .LC28[rip]
	call	mknod@PLT
	mov	esi, 1
	mov	edi, 4
	mov	eax, 0
	call	makedev@PLT
	cdqe
	mov	rdx, rax
	mov	esi, 8630
	lea	rdi, .LC4[rip]
	call	mknod@PLT
	mov	esi, 2
	mov	edi, 4
	mov	eax, 0
	call	makedev@PLT
	cdqe
	mov	rdx, rax
	mov	esi, 8630
	lea	rdi, .LC5[rip]
	call	mknod@PLT
	mov	esi, 3
	mov	edi, 4
	mov	eax, 0
	call	makedev@PLT
	cdqe
	mov	rdx, rax
	mov	esi, 8630
	lea	rdi, .LC6[rip]
	call	mknod@PLT
	mov	esi, 4
	mov	edi, 4
	mov	eax, 0
	call	makedev@PLT
	cdqe
	mov	rdx, rax
	mov	esi, 8630
	lea	rdi, .LC7[rip]
	call	mknod@PLT
	mov	esi, 5
	mov	edi, 4
	mov	eax, 0
	call	makedev@PLT
	cdqe
	mov	rdx, rax
	mov	esi, 8630
	lea	rdi, .LC8[rip]
	call	mknod@PLT
	mov	esi, 6
	mov	edi, 4
	mov	eax, 0
	call	makedev@PLT
	cdqe
	mov	rdx, rax
	mov	esi, 8630
	lea	rdi, .LC9[rip]
	call	mknod@PLT
	mov	esi, 64
	mov	edi, 4
	mov	eax, 0
	call	makedev@PLT
	cdqe
	mov	rdx, rax
	mov	esi, 8630
	lea	rdi, .LC2[rip]
	call	mknod@PLT
	mov	esi, 65
	mov	edi, 4
	mov	eax, 0
	call	makedev@PLT
	cdqe
	mov	rdx, rax
	mov	esi, 8630
	lea	rdi, .LC3[rip]
	call	mknod@PLT
	mov	esi, 493
	lea	rdi, .LC29[rip]
	call	mkdir@PLT
	mov	r8d, 0
	mov	ecx, 3236757504
	lea	rdx, .LC20[rip]
	lea	rsi, .LC29[rip]
	lea	rdi, .LC20[rip]
	call	mount@PLT
	mov	esi, 511
	lea	rdi, .LC30[rip]
	call	mkdir@PLT
	mov	esi, 511
	lea	rdi, .LC31[rip]
	call	mkdir@PLT
	mov	esi, 511
	lea	rdi, .LC32[rip]
	call	mkdir@PLT
	mov	esi, 511
	lea	rdi, .LC33[rip]
	call	mkdir@PLT
	mov	esi, 511
	lea	rdi, .LC34[rip]
	call	mkdir@PLT
	mov	esi, 511
	lea	rdi, .LC35[rip]
	call	mkdir@PLT
	mov	esi, 511
	lea	rdi, .LC36[rip]
	call	mkdir@PLT
	mov	esi, 511
	lea	rdi, .LC37[rip]
	call	mkdir@PLT
	mov	esi, 511
	lea	rdi, .LC38[rip]
	call	mkdir@PLT
	mov	esi, 493
	lea	rdi, .LC39[rip]
	call	mkdir@PLT
	mov	esi, 493
	lea	rdi, .LC40[rip]
	call	mkdir@PLT
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L95
	call	__stack_chk_fail@PLT
.L95:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE23:
	.size	utils_make_preboot_dirs, .-utils_make_preboot_dirs
	.globl	main
	.type	main, @function
main:
.LFB24:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	DWORD PTR -4[rbp], edi
	mov	QWORD PTR -16[rbp], rsi
	call	utils_make_preboot_dirs
	mov	rdx, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR -4[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	shelld_main
	cmp	eax, 1
	jne	.L97
	mov	eax, 1
	jmp	.L98
.L97:
	mov	rdx, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR -4[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	init_main
	mov	eax, 1
.L98:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE24:
	.size	main, .-main
	.section	.rodata
	.align 32
	.type	press_enter.0, @object
	.size	press_enter.0, 48
press_enter.0:
	.string	"\nPlease press Enter to activate this console. \n"
	.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	"100141683.c"
	.text
	.align	2
	.global	utils_device_open
	.syntax unified
	.arm
	.fpu softvfp
	.type	utils_device_open, %function
utils_device_open:
	@ 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]
	ldr	r3, [fp, #-28]
	orr	r3, r3, #2048
	str	r3, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L2
.L5:
	mov	r2, #384
	ldr	r1, [fp, #-8]
	ldr	r0, [fp, #-24]
	bl	open
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bge	.L9
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L2:
	ldr	r3, [fp, #-16]
	cmp	r3, #4
	ble	.L5
	b	.L4
.L9:
	nop
.L4:
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bge	.L6
	ldr	r3, [fp, #-12]
	b	.L7
.L6:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-28]
	cmp	r2, r3
	beq	.L8
	ldr	r2, [fp, #-28]
	mov	r1, #4
	ldr	r0, [fp, #-12]
	bl	fcntl
.L8:
	ldr	r3, [fp, #-12]
.L7:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	utils_device_open, .-utils_device_open
	.align	2
	.global	utils_parse_args
	.syntax unified
	.arm
	.fpu softvfp
	.type	utils_parse_args, %function
utils_parse_args:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #28
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-16]
	str	r3, [fp, #-12]
	b	.L11
.L13:
	ldr	r3, [fp, #-12]
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L12:
	ldr	r3, [fp, #-12]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #32
	beq	.L13
	ldr	r3, [fp, #-12]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #9
	beq	.L13
	ldr	r3, [fp, #-12]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L21
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldr	r2, [fp, #-12]
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
	b	.L16
.L17:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L16:
	ldr	r3, [fp, #-12]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #32
	beq	.L11
	ldr	r3, [fp, #-12]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #9
	beq	.L11
	ldr	r3, [fp, #-12]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L17
.L11:
	ldr	r3, [fp, #-8]
	cmp	r3, #14
	bgt	.L15
	ldr	r3, [fp, #-12]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L12
	b	.L15
.L21:
	nop
.L15:
	ldr	r3, [fp, #-12]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L19
	mvn	r3, #0
	b	.L20
.L19:
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, [fp, #-8]
.L20:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	utils_parse_args, .-utils_parse_args
	.align	2
	.global	utils_safe_read
	.syntax unified
	.arm
	.fpu softvfp
	.type	utils_safe_read, %function
utils_safe_read:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
.L24:
	ldr	r2, [fp, #-24]
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-16]
	bl	read
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bge	.L23
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #4
	beq	.L24
.L23:
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	utils_safe_read, .-utils_safe_read
	.align	2
	.global	utils_safe_write
	.syntax unified
	.arm
	.fpu softvfp
	.type	utils_safe_write, %function
utils_safe_write:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
.L28:
	ldr	r2, [fp, #-24]
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-16]
	bl	write
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bge	.L27
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #4
	beq	.L28
.L27:
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	utils_safe_write, .-utils_safe_write
	.align	2
	.global	utils_full_write
	.syntax unified
	.arm
	.fpu softvfp
	.type	utils_full_write, %function
utils_full_write:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L31
.L35:
	ldr	r2, [fp, #-24]
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-16]
	bl	utils_safe_write
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bge	.L32
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	beq	.L33
	ldr	r3, [fp, #-12]
	b	.L34
.L33:
	ldr	r3, [fp, #-8]
	b	.L34
.L32:
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-24]
	sub	r3, r2, r3
	str	r3, [fp, #-24]
.L31:
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bne	.L35
	ldr	r3, [fp, #-12]
.L34:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	utils_full_write, .-utils_full_write
	.section	.rodata
	.align	2
.LC0:
	.ascii	"/dev/tts/0\000"
	.align	2
.LC1:
	.ascii	"/bin/sh\000"
	.align	2
.LC2:
	.ascii	"/dev/ttyS0\000"
	.align	2
.LC3:
	.ascii	"/dev/ttyS1\000"
	.align	2
.LC4:
	.ascii	"/dev/tty1\000"
	.align	2
.LC5:
	.ascii	"/dev/tty2\000"
	.align	2
.LC6:
	.ascii	"/dev/tty3\000"
	.align	2
.LC7:
	.ascii	"/dev/tty4\000"
	.align	2
.LC8:
	.ascii	"/dev/tty5\000"
	.align	2
.LC9:
	.ascii	"/dev/tty6\000"
	.data
	.align	2
	.type	shell_actions, %object
	.size	shell_actions, 160
shell_actions:
	.word	0
	.word	.LC0
	.byte	97
	.space	3
	.word	.LC1
	.word	0
	.word	.LC2
	.byte	97
	.space	3
	.word	.LC1
	.word	0
	.word	.LC3
	.byte	97
	.space	3
	.word	.LC1
	.word	0
	.word	.LC4
	.byte	97
	.space	3
	.word	.LC1
	.word	0
	.word	.LC5
	.byte	97
	.space	3
	.word	.LC1
	.word	0
	.word	.LC6
	.byte	97
	.space	3
	.word	.LC1
	.word	0
	.word	.LC7
	.byte	97
	.space	3
	.word	.LC1
	.word	0
	.word	.LC8
	.byte	97
	.space	3
	.word	.LC1
	.word	0
	.word	.LC9
	.byte	97
	.space	3
	.word	.LC1
	.word	0
	.word	0
	.byte	0
	.space	3
	.word	0
	.section	.rodata
	.align	2
.LC10:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	set_term, %function
set_term:
	@ args = 0, pretend = 0, frame = 72
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #72
	str	r0, [fp, #-72]
	ldr	r3, .L38
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #68
	mov	r1, r3
	ldr	r0, [fp, #-72]
	bl	tcgetattr
	mov	r3, #3
	strb	r3, [fp, #-51]
	mov	r3, #28
	strb	r3, [fp, #-50]
	mov	r3, #127
	strb	r3, [fp, #-49]
	mov	r3, #21
	strb	r3, [fp, #-48]
	mov	r3, #4
	strb	r3, [fp, #-47]
	mov	r3, #17
	strb	r3, [fp, #-43]
	mov	r3, #19
	strb	r3, [fp, #-42]
	mov	r3, #26
	strb	r3, [fp, #-41]
	mov	r3, #0
	strb	r3, [fp, #-52]
	ldr	r2, [fp, #-60]
	ldr	r3, .L38+4
	and	r3, r3, r2
	str	r3, [fp, #-60]
	ldr	r3, [fp, #-60]
	orr	r3, r3, #3200
	str	r3, [fp, #-60]
	mov	r3, #5376
	str	r3, [fp, #-68]
	mov	r3, #5
	str	r3, [fp, #-64]
	ldr	r3, .L38+8
	str	r3, [fp, #-56]
	sub	r3, fp, #68
	mov	r2, r3
	mov	r1, #0
	ldr	r0, [fp, #-72]
	bl	tcsetattr
	nop
	ldr	r3, .L38
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L37
	bl	__stack_chk_fail
.L37:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L39:
	.align	2
.L38:
	.word	.LC10
	.word	4991
	.word	35387
	.size	set_term, .-set_term
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	open_stdio_to_tty, %function
open_stdio_to_tty:
	@ 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]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L41
	mov	r0, #0
	bl	close
	mov	r1, #2
	ldr	r0, [fp, #-16]
	bl	utils_device_open
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L42
	mov	r3, #0
	b	.L43
.L42:
	mov	r1, #1
	mov	r0, #0
	bl	dup2
	mov	r1, #2
	mov	r0, #0
	bl	dup2
.L41:
	mov	r0, #0
	bl	set_term
	mov	r3, #1
.L43:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	open_stdio_to_tty, .-open_stdio_to_tty
	.section	.rodata
	.align	2
.LC11:
	.ascii	"%s\000"
	.align	2
.LC12:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	do_command, %function
do_command:
	@ args = 0, pretend = 0, frame = 472
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #472
	str	r0, [fp, #-472]
	ldr	r3, .L55
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #392
	mov	r0, r3
	bl	sigfillset
	sub	r3, fp, #392
	mov	r2, #0
	mov	r1, r3
	mov	r0, #0
	bl	sigprocmask
	bl	fork
	mov	r3, r0
	str	r3, [fp, #-460]
	ldr	r3, [fp, #-460]
	cmp	r3, #0
	beq	.L45
	sub	r3, fp, #392
	mov	r0, r3
	bl	sigfillset
	sub	r3, fp, #392
	mov	r2, #0
	mov	r1, r3
	mov	r0, #1
	bl	sigprocmask
	ldr	r3, [fp, #-460]
	ldr	r2, .L55
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L53
	b	.L54
.L45:
	mov	r1, #0
	mov	r0, #17
	bl	signal
	mov	r1, #0
	mov	r0, #14
	bl	signal
	mov	r1, #0
	mov	r0, #10
	bl	signal
	sub	r3, fp, #392
	mov	r0, r3
	bl	sigfillset
	sub	r3, fp, #392
	mov	r2, #0
	mov	r1, r3
	mov	r0, #1
	bl	sigprocmask
	bl	setsid
	ldr	r3, [fp, #-472]
	ldr	r3, [r3, #4]
	mov	r0, r3
	bl	open_stdio_to_tty
	mov	r3, r0
	cmp	r3, #0
	bne	.L47
	mov	r0, #1
	bl	_exit
.L47:
	ldr	r3, [fp, #-472]
	ldrb	r3, [r3, #8]	@ zero_extendqisi2
	cmp	r3, #97
	bne	.L48
	mov	r2, #47
	ldr	r1, .L55+4
	mov	r0, #1
	bl	utils_full_write
	b	.L49
.L51:
	nop
.L49:
	sub	r3, fp, #460
	sub	r3, r3, #1
	mov	r2, #1
	mov	r1, r3
	mov	r0, #0
	bl	utils_safe_read
	mov	r3, r0
	cmp	r3, #1
	bne	.L48
	ldrb	r3, [fp, #-461]	@ zero_extendqisi2
	cmp	r3, #10
	bne	.L51
.L48:
	ldr	r3, [fp, #-472]
	ldr	r3, [r3, #12]
	sub	r0, fp, #264
	ldr	r2, .L55+8
	mov	r1, #256
	bl	snprintf
	sub	r3, fp, #264
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	add	r1, r3, #1
	sub	r2, fp, #456
	sub	r3, fp, #264
	mov	r0, r3
	bl	utils_parse_args
	mov	r3, r0
	cmp	r3, #0
	ble	.L52
	ldr	r3, [fp, #-456]
	sub	r2, fp, #456
	mov	r1, r2
	mov	r0, r3
	bl	execvp
.L52:
	mvn	r0, #0
	bl	_exit
.L54:
	bl	__stack_chk_fail
.L53:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L56:
	.align	2
.L55:
	.word	.LC12
	.word	press_enter.7679
	.word	.LC11
	.size	do_command, .-do_command
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	run_shell, %function
run_shell:
	@ 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, #-8]
	b	.L58
.L61:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L59
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	cmp	r3, #0
	ble	.L60
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	mov	r1, #0
	mov	r0, r3
	bl	kill
	mov	r3, r0
	cmp	r3, #0
	beq	.L60
.L59:
	ldr	r0, [fp, #-8]
	bl	do_command
	mov	r2, r0
	ldr	r3, [fp, #-8]
	str	r2, [r3]
.L60:
	ldr	r3, [fp, #-8]
	add	r3, r3, #16
	str	r3, [fp, #-8]
.L58:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #12]
	cmp	r3, #0
	bne	.L61
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	run_shell, .-run_shell
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	check_first_run, %function
check_first_run:
	@ 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, #-8]
	b	.L63
.L67:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	cmp	r3, #0
	ble	.L64
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	mov	r1, #0
	mov	r0, r3
	bl	kill
	mov	r3, r0
	cmp	r3, #0
	beq	.L64
	ldr	r3, [fp, #-8]
	mvn	r2, #0
	str	r2, [r3]
.L64:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L65
	mov	r3, #0
	b	.L66
.L65:
	ldr	r3, [fp, #-8]
	add	r3, r3, #16
	str	r3, [fp, #-8]
.L63:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #12]
	cmp	r3, #0
	bne	.L67
	mov	r3, #1
.L66:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	check_first_run, .-check_first_run
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	shelld_reap, %function
shelld_reap:
	@ 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]
	nop
.L69:
	mov	r2, #1
	mov	r1, #0
	mvn	r0, #0
	bl	waitpid
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bgt	.L69
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	shelld_reap, .-shelld_reap
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	shelld_alarm, %function
shelld_alarm:
	@ 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]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	shelld_alarm, .-shelld_alarm
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	shelld_cleanup, %function
shelld_cleanup:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-16]
	ldr	r3, .L75
	str	r3, [fp, #-8]
	b	.L72
.L74:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	cmp	r3, #0
	bge	.L73
	ldr	r3, [fp, #-8]
	mov	r2, #0
	str	r2, [r3]
.L73:
	ldr	r3, [fp, #-8]
	add	r3, r3, #16
	str	r3, [fp, #-8]
.L72:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #12]
	cmp	r3, #0
	bne	.L74
	nop
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L76:
	.align	2
.L75:
	.word	shell_actions
	.size	shelld_cleanup, .-shelld_cleanup
	.section	.rodata
	.align	2
.LC13:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	shelld_main
	.syntax unified
	.arm
	.fpu softvfp
	.type	shelld_main, %function
shelld_main:
	@ args = 0, pretend = 0, frame = 152
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #152
	str	r0, [fp, #-152]
	str	r1, [fp, #-156]
	ldr	r3, .L86
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	bl	fork
	mov	r3, r0
	str	r3, [fp, #-140]
	ldr	r3, [fp, #-140]
	cmp	r3, #0
	bge	.L78
	mov	r3, #1
	b	.L84
.L78:
	ldr	r3, [fp, #-140]
	cmp	r3, #0
	ble	.L80
	mov	r3, #0
	b	.L84
.L80:
	mov	r0, #0
	bl	umask
	ldr	r1, .L86+4
	mov	r0, #17
	bl	signal
	ldr	r1, .L86+8
	mov	r0, #14
	bl	signal
	ldr	r1, .L86+12
	mov	r0, #10
	bl	signal
	sub	r3, fp, #136
	mov	r0, r3
	bl	sigemptyset
.L83:
	mov	r3, #0
	str	r3, [fp, #-144]
	ldr	r0, .L86+16
	bl	run_shell
	b	.L81
.L82:
	mov	r0, #1
	bl	alarm
	sub	r3, fp, #136
	mov	r0, r3
	bl	sigsuspend
	ldr	r0, .L86+16
	bl	check_first_run
	str	r0, [fp, #-144]
.L81:
	ldr	r3, [fp, #-144]
	cmp	r3, #0
	beq	.L82
	sub	r3, fp, #136
	mov	r0, r3
	bl	sigsuspend
	mov	r0, #1
	bl	sleep
	b	.L83
.L84:
	ldr	r2, .L86
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L85
	bl	__stack_chk_fail
.L85:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L87:
	.align	2
.L86:
	.word	.LC13
	.word	shelld_reap
	.word	shelld_alarm
	.word	shelld_cleanup
	.word	shell_actions
	.size	shelld_main, .-shelld_main
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	init_reap, %function
init_reap:
	@ 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]
	nop
.L89:
	mov	r2, #1
	mov	r1, #0
	mvn	r0, #0
	bl	waitpid
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bgt	.L89
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	init_reap, .-init_reap
	.section	.rodata
	.align	2
.LC14:
	.ascii	"halt\000"
	.align	2
.LC15:
	.ascii	"reboot\000"
	.align	2
.LC16:
	.ascii	"poweroff\000"
	.align	2
.LC17:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	init_halt_reboot_poweroff, %function
init_halt_reboot_poweroff:
	@ args = 0, pretend = 0, frame = 152
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #152
	str	r0, [fp, #-152]
	ldr	r3, .L96
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r1, #0
	mov	r0, #10
	bl	signal
	mov	r1, #0
	mov	r0, #15
	bl	signal
	mov	r1, #0
	mov	r0, #12
	bl	signal
	sub	r3, fp, #136
	mov	r0, r3
	bl	sigfillset
	sub	r3, fp, #136
	mov	r2, #0
	mov	r1, r3
	mov	r0, #1
	bl	sigprocmask
	mov	r1, #15
	mvn	r0, #0
	bl	kill
	bl	sync
	mov	r0, #1
	bl	sleep
	mov	r1, #9
	mvn	r0, #0
	bl	kill
	bl	sync
	mov	r0, #1
	bl	sleep
	ldr	r3, .L96+4
	str	r3, [fp, #-144]
	ldr	r3, .L96+8
	str	r3, [fp, #-148]
	ldr	r3, [fp, #-152]
	cmp	r3, #15
	bne	.L91
	ldr	r3, .L96+12
	str	r3, [fp, #-144]
	ldr	r3, .L96+16
	str	r3, [fp, #-148]
	b	.L92
.L91:
	ldr	r3, [fp, #-152]
	cmp	r3, #12
	bne	.L92
	ldr	r3, .L96+20
	str	r3, [fp, #-144]
	ldr	r3, .L96+24
	str	r3, [fp, #-148]
.L92:
	bl	vfork
	str	r0, [fp, #-140]
	ldr	r3, [fp, #-140]
	cmp	r3, #0
	beq	.L93
	b	.L94
.L93:
	ldr	r0, [fp, #-148]
	bl	reboot
	mov	r0, #0
	bl	_exit
.L94:
	mov	r0, #1
	bl	sleep
	b	.L94
.L97:
	.align	2
.L96:
	.word	.LC17
	.word	.LC14
	.word	-839974621
	.word	.LC15
	.word	19088743
	.word	.LC16
	.word	1126301404
	.size	init_halt_reboot_poweroff, .-init_halt_reboot_poweroff
	.section	.rodata
	.align	2
.LC18:
	.ascii	"init\000"
	.align	2
.LC19:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	init_main
	.syntax unified
	.arm
	.fpu softvfp
	.type	init_main, %function
init_main:
	@ args = 0, pretend = 0, frame = 144
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #148
	str	r0, [fp, #-152]
	str	r1, [fp, #-156]
	ldr	r3, .L103
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r0, #0
	bl	umask
	ldr	r3, [fp, #-156]
	ldr	r4, [r3]
	ldr	r3, [fp, #-156]
	ldr	r3, [r3]
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	ldr	r1, .L103+4
	mov	r0, r4
	bl	strncpy
	b	.L99
.L100:
	ldr	r3, [fp, #-156]
	ldr	r4, [r3]
	ldr	r3, [fp, #-156]
	ldr	r3, [r3]
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	mov	r1, #0
	mov	r0, r4
	bl	memset
.L99:
	ldr	r3, [fp, #-156]
	add	r3, r3, #4
	str	r3, [fp, #-156]
	ldr	r3, [fp, #-156]
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L100
	ldr	r1, .L103+8
	mov	r0, #17
	bl	signal
	ldr	r1, .L103+12
	mov	r0, #10
	bl	signal
	ldr	r1, .L103+12
	mov	r0, #15
	bl	signal
	ldr	r1, .L103+12
	mov	r0, #12
	bl	signal
	sub	r3, fp, #144
	mov	r0, r3
	bl	sigemptyset
.L101:
	sub	r3, fp, #144
	mov	r0, r3
	bl	sigsuspend
	b	.L101
.L104:
	.align	2
.L103:
	.word	.LC19
	.word	.LC18
	.word	init_reap
	.word	init_halt_reboot_poweroff
	.size	init_main, .-init_main
	.section	.rodata
	.align	2
.LC20:
	.ascii	"/proc\000"
	.align	2
.LC21:
	.ascii	"proc\000"
	.align	2
.LC22:
	.ascii	"/sys\000"
	.align	2
.LC23:
	.ascii	"sysfs\000"
	.align	2
.LC24:
	.ascii	"/dev\000"
	.align	2
.LC25:
	.ascii	"tmpfs\000"
	.align	2
.LC26:
	.ascii	"devfs\000"
	.align	2
.LC27:
	.ascii	"/dev/shm\000"
	.align	2
.LC28:
	.ascii	"/dev/pts\000"
	.align	2
.LC29:
	.ascii	"devpts\000"
	.align	2
.LC30:
	.ascii	"/dev/console\000"
	.align	2
.LC31:
	.ascii	"/dev/null\000"
	.align	2
.LC32:
	.ascii	"/dev/kmsg\000"
	.align	2
.LC33:
	.ascii	"/dev/tty0\000"
	.align	2
.LC34:
	.ascii	"/etc\000"
	.align	2
.LC35:
	.ascii	"/boot\000"
	.align	2
.LC36:
	.ascii	"/data\000"
	.align	2
.LC37:
	.ascii	"/var\000"
	.align	2
.LC38:
	.ascii	"/var/lock\000"
	.align	2
.LC39:
	.ascii	"/var/log\000"
	.align	2
.LC40:
	.ascii	"/var/run\000"
	.align	2
.LC41:
	.ascii	"/var/tmp\000"
	.align	2
.LC42:
	.ascii	"/var/lib\000"
	.align	2
.LC43:
	.ascii	"/var/lib/misc\000"
	.align	2
.LC44:
	.ascii	"/home\000"
	.align	2
.LC45:
	.ascii	"/root\000"
	.align	2
.LC46:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	utils_make_preboot_dirs
	.syntax unified
	.arm
	.fpu softvfp
	.type	utils_make_preboot_dirs, %function
utils_make_preboot_dirs:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #48
	ldr	r3, .L108
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r1, .L108+4
	ldr	r0, .L108+8
	bl	mkdir
	mov	r3, #0
	str	r3, [sp]
	ldr	r3, .L108+12
	ldr	r2, .L108+16
	ldr	r1, .L108+8
	ldr	r0, .L108+16
	bl	mount
	ldr	r1, .L108+20
	ldr	r0, .L108+24
	bl	mkdir
	mov	r3, #0
	str	r3, [sp]
	ldr	r3, .L108+12
	ldr	r2, .L108+28
	ldr	r1, .L108+24
	ldr	r0, .L108+28
	bl	mount
	ldr	r1, .L108+20
	ldr	r0, .L108+32
	bl	mkdir
	mov	r3, #0
	str	r3, [sp]
	ldr	r3, .L108+12
	ldr	r2, .L108+36
	ldr	r1, .L108+32
	ldr	r0, .L108+40
	bl	mount
	ldr	r1, .L108+44
	ldr	r0, .L108+48
	bl	mkdir
	ldr	r1, .L108+44
	ldr	r0, .L108+52
	bl	mkdir
	mov	r3, #0
	str	r3, [sp]
	ldr	r3, .L108+12
	ldr	r2, .L108+56
	ldr	r1, .L108+52
	ldr	r0, .L108+56
	bl	mount
	mov	r1, #1
	mov	r0, #5
	bl	makedev
	mov	r3, r0
	mov	r2, r3
	asr	r3, r2, #31
	mov	r1, #8576
	ldr	r0, .L108+60
	bl	mknod
	mov	r1, #3
	mov	r0, #1
	bl	makedev
	mov	r3, r0
	mov	r2, r3
	asr	r3, r2, #31
	ldr	r1, .L108+64
	ldr	r0, .L108+68
	bl	mknod
	mov	r1, #11
	mov	r0, #1
	bl	makedev
	mov	r3, r0
	mov	r2, r3
	asr	r3, r2, #31
	mov	r1, #8576
	ldr	r0, .L108+72
	bl	mknod
	mov	r1, #0
	mov	r0, #4
	bl	makedev
	mov	r3, r0
	mov	r2, r3
	asr	r3, r2, #31
	ldr	r1, .L108+64
	ldr	r0, .L108+76
	bl	mknod
	mov	r1, #1
	mov	r0, #4
	bl	makedev
	mov	r3, r0
	mov	r2, r3
	asr	r3, r2, #31
	ldr	r1, .L108+64
	ldr	r0, .L108+80
	bl	mknod
	mov	r1, #2
	mov	r0, #4
	bl	makedev
	mov	r3, r0
	mov	r2, r3
	asr	r3, r2, #31
	ldr	r1, .L108+64
	ldr	r0, .L108+84
	bl	mknod
	mov	r1, #3
	mov	r0, #4
	bl	makedev
	mov	r3, r0
	mov	r2, r3
	asr	r3, r2, #31
	ldr	r1, .L108+64
	ldr	r0, .L108+88
	bl	mknod
	mov	r1, #4
	mov	r0, #4
	bl	makedev
	mov	r3, r0
	mov	r2, r3
	asr	r3, r2, #31
	ldr	r1, .L108+64
	ldr	r0, .L108+92
	bl	mknod
	mov	r1, #5
	mov	r0, #4
	bl	makedev
	mov	r3, r0
	mov	r2, r3
	asr	r3, r2, #31
	ldr	r1, .L108+64
	ldr	r0, .L108+96
	bl	mknod
	mov	r1, #6
	mov	r0, #4
	bl	makedev
	mov	r3, r0
	mov	r2, r3
	asr	r3, r2, #31
	ldr	r1, .L108+64
	ldr	r0, .L108+100
	bl	mknod
	mov	r1, #64
	mov	r0, #4
	bl	makedev
	mov	r3, r0
	mov	r2, r3
	asr	r3, r2, #31
	ldr	r1, .L108+64
	ldr	r0, .L108+104
	bl	mknod
	mov	r1, #65
	mov	r0, #4
	bl	makedev
	mov	r3, r0
	mov	r2, r3
	asr	r3, r2, #31
	ldr	r1, .L108+64
	ldr	r0, .L108+108
	bl	mknod
	ldr	r1, .L108+20
	ldr	r0, .L108+112
	bl	mkdir
	mov	r3, #0
	str	r3, [sp]
	ldr	r3, .L108+12
	ldr	r2, .L108+36
	ldr	r1, .L108+112
	ldr	r0, .L108+36
	bl	mount
	ldr	r1, .L108+44
	ldr	r0, .L108+116
	bl	mkdir
	ldr	r1, .L108+44
	ldr	r0, .L108+120
	bl	mkdir
	ldr	r1, .L108+44
	ldr	r0, .L108+124
	bl	mkdir
	ldr	r1, .L108+44
	ldr	r0, .L108+128
	bl	mkdir
	ldr	r1, .L108+44
	ldr	r0, .L108+132
	bl	mkdir
	ldr	r1, .L108+44
	ldr	r0, .L108+136
	bl	mkdir
	ldr	r1, .L108+44
	ldr	r0, .L108+140
	bl	mkdir
	ldr	r1, .L108+44
	ldr	r0, .L108+144
	bl	mkdir
	ldr	r1, .L108+44
	ldr	r0, .L108+148
	bl	mkdir
	ldr	r1, .L108+20
	ldr	r0, .L108+152
	bl	mkdir
	ldr	r1, .L108+20
	ldr	r0, .L108+156
	bl	mkdir
	mov	r3, #0
	ldr	r2, .L108
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L107
	bl	__stack_chk_fail
.L107:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L109:
	.align	2
.L108:
	.word	.LC46
	.word	365
	.word	.LC20
	.word	-1058209792
	.word	.LC21
	.word	493
	.word	.LC22
	.word	.LC23
	.word	.LC24
	.word	.LC25
	.word	.LC26
	.word	511
	.word	.LC27
	.word	.LC28
	.word	.LC29
	.word	.LC30
	.word	8630
	.word	.LC31
	.word	.LC32
	.word	.LC33
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC2
	.word	.LC3
	.word	.LC34
	.word	.LC35
	.word	.LC36
	.word	.LC37
	.word	.LC38
	.word	.LC39
	.word	.LC40
	.word	.LC41
	.word	.LC42
	.word	.LC43
	.word	.LC44
	.word	.LC45
	.size	utils_make_preboot_dirs, .-utils_make_preboot_dirs
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	bl	utils_make_preboot_dirs
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-8]
	bl	shelld_main
	mov	r3, r0
	cmp	r3, #1
	bne	.L111
	mov	r3, #1
	b	.L112
.L111:
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-8]
	bl	init_main
	mov	r3, #1
.L112:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	main, .-main
	.section	.rodata
	.align	2
	.type	press_enter.7679, %object
	.size	press_enter.7679, 48
press_enter.7679:
	.ascii	"\012Please press Enter to activate this console. \012"
	.ascii	"\000"
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
