	.file	"923050.c"
	.intel_syntax noprefix
	.text
	.globl	errorinfo
	.bss
	.align 32
	.type	errorinfo, @object
	.size	errorinfo, 100
errorinfo:
	.zero	100
	.globl	crc32_table
	.align 32
	.type	crc32_table, @object
	.size	crc32_table, 1024
crc32_table:
	.zero	1024
	.text
	.globl	make_crc32_table
	.type	make_crc32_table, @function
make_crc32_table:
.LFB6:
	.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 -8[rbp], 0
	mov	DWORD PTR -4[rbp], 0
	mov	DWORD PTR -8[rbp], 0
	jmp	.L2
.L7:
	mov	eax, DWORD PTR -8[rbp]
	mov	DWORD PTR -12[rbp], eax
	mov	DWORD PTR -4[rbp], 0
	jmp	.L3
.L6:
	mov	eax, DWORD PTR -12[rbp]
	and	eax, 1
	test	eax, eax
	je	.L4
	mov	eax, DWORD PTR -12[rbp]
	shr	eax
	xor	eax, -306674912
	mov	DWORD PTR -12[rbp], eax
	jmp	.L5
.L4:
	shr	DWORD PTR -12[rbp]
.L5:
	add	DWORD PTR -4[rbp], 1
.L3:
	cmp	DWORD PTR -4[rbp], 7
	jle	.L6
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rcx, 0[0+rax*4]
	lea	rdx, crc32_table[rip]
	mov	eax, DWORD PTR -12[rbp]
	mov	DWORD PTR [rcx+rdx], eax
	add	DWORD PTR -8[rbp], 1
.L2:
	cmp	DWORD PTR -8[rbp], 255
	jle	.L7
	mov	eax, 1
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	make_crc32_table, .-make_crc32_table
	.globl	make_crc
	.type	make_crc, @function
make_crc:
.LFB7:
	.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
	mov	QWORD PTR -16[rbp], rsi
	mov	DWORD PTR -8[rbp], edx
	jmp	.L10
.L11:
	mov	eax, DWORD PTR -4[rbp]
	shr	eax, 8
	mov	ecx, eax
	mov	rax, QWORD PTR -16[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -16[rbp], rdx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	xor	eax, DWORD PTR -4[rbp]
	movzx	eax, al
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	lea	rax, crc32_table[rip]
	mov	eax, DWORD PTR [rdx+rax]
	xor	eax, ecx
	mov	DWORD PTR -4[rbp], eax
.L10:
	mov	eax, DWORD PTR -8[rbp]
	lea	edx, -1[rax]
	mov	DWORD PTR -8[rbp], edx
	test	eax, eax
	jne	.L11
	mov	eax, DWORD PTR -4[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	make_crc, .-make_crc
	.section	.rodata
.LC0:
	.string	"r"
.LC1:
	.string	"popen failed!"
.LC2:
	.string	"error:%s\n"
.LC3:
	.string	"return values:%s,%d\n"
.LC4:
	.string	"0"
.LC5:
	.string	"failed at here--------------"
	.text
	.globl	pipe_execution
	.type	pipe_execution, @function
pipe_execution:
.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, 672
	mov	QWORD PTR -664[rbp], rdi
	mov	eax, esi
	mov	BYTE PTR -668[rbp], al
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -640[rbp], 0
	mov	QWORD PTR -632[rbp], 0
	mov	QWORD PTR -624[rbp], 0
	mov	QWORD PTR -616[rbp], 0
	mov	QWORD PTR -608[rbp], 0
	mov	QWORD PTR -600[rbp], 0
	mov	QWORD PTR -592[rbp], 0
	mov	QWORD PTR -584[rbp], 0
	mov	QWORD PTR -576[rbp], 0
	mov	QWORD PTR -568[rbp], 0
	mov	QWORD PTR -560[rbp], 0
	mov	QWORD PTR -552[rbp], 0
	mov	DWORD PTR -544[rbp], 0
	mov	rax, QWORD PTR -664[rbp]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	call	popen@PLT
	mov	QWORD PTR -648[rbp], rax
	cmp	QWORD PTR -648[rbp], 0
	jne	.L14
	lea	rdi, .LC1[rip]
	call	puts@PLT
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rdx, rax
	lea	rax, -640[rbp]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	mov	eax, 0
	jmp	.L20
.L14:
	movzx	eax, BYTE PTR -668[rbp]
	xor	eax, 1
	test	al, al
	je	.L16
	mov	rax, QWORD PTR -648[rbp]
	mov	rdi, rax
	call	pclose@PLT
	mov	eax, 1
	jmp	.L20
.L16:
	mov	QWORD PTR -528[rbp], 0
	mov	QWORD PTR -520[rbp], 0
	lea	rdx, -512[rbp]
	mov	eax, 0
	mov	ecx, 62
	mov	rdi, rdx
	rep stosq
	jmp	.L17
.L19:
	lea	rax, -528[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	edx, eax
	lea	rax, -528[rbp]
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -528[rbp]
	mov	rdi, rax
	call	strlen@PLT
	cmp	rax, 2
	jne	.L18
	movzx	eax, BYTE PTR -528[rbp]
	movzx	edx, BYTE PTR .LC4[rip]
	movzx	eax, al
	movzx	edx, dl
	sub	eax, edx
	test	eax, eax
	jne	.L18
	mov	rax, QWORD PTR -648[rbp]
	mov	rdi, rax
	call	pclose@PLT
	mov	eax, 1
	jmp	.L20
.L18:
	lea	rax, -528[rbp]
	mov	edx, 512
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
.L17:
	mov	rdx, QWORD PTR -648[rbp]
	lea	rax, -528[rbp]
	mov	esi, 512
	mov	rdi, rax
	call	fgets@PLT
	test	rax, rax
	jne	.L19
	lea	rdi, .LC5[rip]
	call	puts@PLT
	mov	rax, QWORD PTR -648[rbp]
	mov	rdi, rax
	call	pclose@PLT
	mov	eax, 0
.L20:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L21
	call	__stack_chk_fail@PLT
.L21:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	pipe_execution, .-pipe_execution
	.section	.rodata
.LC6:
	.string	"wget -O /config/update/"
.LC7:
	.string	"%s%s %s 2>&1;echo $?"
.LC8:
	.string	"cmd:%s\n"
	.text
	.globl	pipe_cmd_wget
	.type	pipe_cmd_wget, @function
pipe_cmd_wget:
.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, 288
	mov	QWORD PTR -280[rbp], rdi
	mov	QWORD PTR -288[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -272[rbp], 0
	mov	QWORD PTR -264[rbp], 0
	lea	rdx, -256[rbp]
	mov	eax, 0
	mov	ecx, 29
	mov	rdi, rdx
	rep stosq
	mov	rdx, rdi
	mov	WORD PTR [rdx], ax
	add	rdx, 2
	mov	rcx, QWORD PTR -288[rbp]
	mov	rdx, QWORD PTR -280[rbp]
	lea	rax, -272[rbp]
	mov	r8, rcx
	mov	rcx, rdx
	lea	rdx, .LC6[rip]
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	lea	rax, -272[rbp]
	mov	rsi, rax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -272[rbp]
	mov	esi, 1
	mov	rdi, rax
	call	pipe_execution
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L24
	call	__stack_chk_fail@PLT
.L24:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	pipe_cmd_wget, .-pipe_cmd_wget
	.section	.rodata
.LC9:
	.string	"/config/update/"
.LC10:
	.string	"`%supdate.sh %s &`"
	.text
	.globl	pipe_cmd_start
	.type	pipe_cmd_start, @function
pipe_cmd_start:
.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, 144
	mov	QWORD PTR -136[rbp], rdi
	mov	QWORD PTR -144[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -112[rbp], 0
	mov	QWORD PTR -104[rbp], 0
	mov	QWORD PTR -96[rbp], 0
	mov	QWORD PTR -88[rbp], 0
	mov	QWORD PTR -80[rbp], 0
	mov	QWORD PTR -72[rbp], 0
	mov	QWORD PTR -64[rbp], 0
	mov	QWORD PTR -56[rbp], 0
	mov	QWORD PTR -48[rbp], 0
	mov	QWORD PTR -40[rbp], 0
	mov	QWORD PTR -32[rbp], 0
	mov	QWORD PTR -24[rbp], 0
	mov	DWORD PTR -16[rbp], 0
	mov	rax, QWORD PTR -136[rbp]
	mov	esi, 47
	mov	rdi, rax
	call	strrchr@PLT
	mov	QWORD PTR -120[rbp], rax
	add	QWORD PTR -120[rbp], 1
	mov	rdx, QWORD PTR -120[rbp]
	lea	rax, -112[rbp]
	mov	rcx, rdx
	lea	rdx, .LC9[rip]
	lea	rsi, .LC10[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	lea	rax, -112[rbp]
	mov	rsi, rax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -112[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	pipe_execution
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L27
	call	__stack_chk_fail@PLT
.L27:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	pipe_cmd_start, .-pipe_cmd_start
	.globl	pipe_cmd_all_restart
	.type	pipe_cmd_all_restart, @function
pipe_cmd_all_restart:
.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, 112
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -112[rbp], 0
	mov	QWORD PTR -104[rbp], 0
	mov	QWORD PTR -96[rbp], 0
	mov	QWORD PTR -88[rbp], 0
	mov	QWORD PTR -80[rbp], 0
	mov	QWORD PTR -72[rbp], 0
	mov	QWORD PTR -64[rbp], 0
	mov	QWORD PTR -56[rbp], 0
	mov	QWORD PTR -48[rbp], 0
	mov	QWORD PTR -40[rbp], 0
	mov	QWORD PTR -32[rbp], 0
	mov	QWORD PTR -24[rbp], 0
	mov	DWORD PTR -16[rbp], 0
	lea	rax, -112[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	lea	rax, -112[rbp]
	add	rax, rdx
	mov	WORD PTR [rax], 96
	lea	rax, -112[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	lea	rax, -112[rbp]
	add	rax, rdx
	movabs	rsi, 3415814731044184879
	movabs	rdi, 13340874429984885
	mov	QWORD PTR [rax], rsi
	mov	QWORD PTR 8[rax], rdi
	lea	rax, -112[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	lea	rax, -112[rbp]
	add	rax, rdx
	movabs	rcx, 8299682713814986869
	mov	QWORD PTR [rax], rcx
	mov	WORD PTR 8[rax], 104
	lea	rax, -112[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	lea	rax, -112[rbp]
	add	rax, rdx
	mov	DWORD PTR [rax], 6301216
	lea	rax, -112[rbp]
	mov	rsi, rax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -112[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	pipe_execution
	movzx	eax, al
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L30
	call	__stack_chk_fail@PLT
.L30:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	pipe_cmd_all_restart, .-pipe_cmd_all_restart
	.section	.rodata
.LC11:
	.string	"00"
.LC12:
	.string	"03"
	.text
	.globl	Execution
	.type	Execution, @function
Execution:
.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, 48
	mov	QWORD PTR -40[rbp], rdi
	mov	DWORD PTR -28[rbp], 0
	mov	DWORD PTR -24[rbp], 0
	mov	DWORD PTR -20[rbp], 0
	mov	edx, 100
	mov	esi, 0
	lea	rdi, errorinfo[rip]
	call	memset@PLT
	mov	rax, QWORD PTR -40[rbp]
	mov	edx, 2
	mov	rsi, rax
	lea	rdi, .LC11[rip]
	call	strncmp@PLT
	test	eax, eax
	jne	.L32
	mov	rax, QWORD PTR -40[rbp]
	add	rax, 2
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	mov	esi, 35
	mov	rdi, rax
	call	strchr@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L33
	mov	eax, 0
	jmp	.L34
.L33:
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -8[rbp], rdx
	mov	BYTE PTR [rax], 0
	mov	rdx, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR -16[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	pipe_cmd_wget
	movzx	eax, al
	mov	DWORD PTR -24[rbp], eax
	cmp	DWORD PTR -24[rbp], 0
	je	.L35
	mov	rdx, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR -16[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	pipe_cmd_start
	movzx	eax, al
	mov	DWORD PTR -20[rbp], eax
	cmp	DWORD PTR -20[rbp], 0
	je	.L35
	movabs	rax, 2406159587056252275
	mov	QWORD PTR errorinfo[rip], rax
	mov	BYTE PTR errorinfo[rip+8], 0
	mov	eax, 1
	jmp	.L34
.L35:
	cmp	DWORD PTR -24[rbp], 0
	je	.L36
	movabs	rax, 7018332753810781299
	mov	QWORD PTR errorinfo[rip], rax
	mov	DWORD PTR errorinfo[rip+8], 1684368489
	mov	WORD PTR errorinfo[rip+12], 33
	jmp	.L37
.L36:
	movabs	rax, 7593462736301156215
	mov	QWORD PTR errorinfo[rip], rax
	mov	DWORD PTR errorinfo[rip+8], 560227692
	mov	BYTE PTR errorinfo[rip+12], 0
.L37:
	mov	eax, 0
	jmp	.L34
.L32:
	mov	rax, QWORD PTR -40[rbp]
	mov	edx, 2
	mov	rsi, rax
	lea	rdi, .LC12[rip]
	call	strncmp@PLT
	test	eax, eax
	jne	.L38
	mov	eax, 0
	call	pipe_cmd_all_restart
	test	eax, eax
	jne	.L39
	movabs	rax, 8391162071566019681
	movabs	rdx, 7811882119909896801
	mov	QWORD PTR errorinfo[rip], rax
	mov	QWORD PTR errorinfo[rip+8], rdx
	mov	DWORD PTR errorinfo[rip+16], 169960549
	mov	BYTE PTR errorinfo[rip+20], 0
	jmp	.L38
.L39:
	movabs	rax, 8391162071566019681
	movabs	rdx, 7161696969775411809
	mov	QWORD PTR errorinfo[rip], rax
	mov	QWORD PTR errorinfo[rip+8], rdx
	mov	DWORD PTR errorinfo[rip+16], 560227685
	mov	WORD PTR errorinfo[rip+20], 10
	mov	eax, 1
	jmp	.L34
.L38:
	mov	eax, 0
.L34:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	Execution, .-Execution
	.globl	CommandParser
	.type	CommandParser, @function
CommandParser:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	BYTE PTR -9[rbp], 1
	jmp	.L41
.L42:
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -8[rbp], rdx
	mov	BYTE PTR [rax], 0
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	Execution
	xor	eax, 1
	test	al, al
	je	.L41
	mov	BYTE PTR -9[rbp], 0
.L41:
	mov	rax, QWORD PTR -24[rbp]
	mov	esi, 124
	mov	rdi, rax
	call	strrchr@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L42
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	Execution
	xor	eax, 1
	test	al, al
	je	.L43
	mov	BYTE PTR -9[rbp], 0
.L43:
	movzx	eax, BYTE PTR -9[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	CommandParser, .-CommandParser
	.section	.rodata
.LC13:
	.string	"Accepting connections ..."
.LC14:
	.string	"cmd0:%s\n"
.LC15:
	.string	"buf:%s\n"
.LC16:
	.string	"n:%d\n"
.LC17:
	.string	"cmd_n:%d\n"
.LC18:
	.string	"cmd1:%s\n"
.LC19:
	.string	"cmd2:%s\n"
.LC20:
	.string	"||"
.LC21:
	.string	"cmd_all:%s\n"
.LC22:
	.string	"str_crc:%s\n"
.LC23:
	.string	"0x%x"
.LC24:
	.string	"crc:%x\n"
.LC25:
	.string	"temp_crc:%s\n"
	.align 8
.LC26:
	.string	"Bad package!======================!"
.LC27:
	.string	"all succeed!"
	.align 8
.LC28:
	.string	"all succeed!\nAccepting connections ..."
.LC29:
	.string	"some failed!"
	.align 8
.LC30:
	.string	"some failed\nAccepting connections ..."
	.text
	.globl	main
	.type	main, @function
main:
.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, 112
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -92[rbp], -1
	mov	eax, 0
	call	make_crc32_table
	mov	DWORD PTR -96[rbp], 0
	mov	edi, 200
	call	malloc@PLT
	mov	QWORD PTR -64[rbp], rax
	mov	edx, 0
	mov	esi, 1
	mov	edi, 2
	call	socket@PLT
	mov	DWORD PTR -88[rbp], eax
	lea	rax, -48[rbp]
	mov	QWORD PTR [rax], 0
	mov	QWORD PTR 8[rax], 0
	mov	WORD PTR -48[rbp], 2
	mov	edi, 0
	call	htonl@PLT
	mov	DWORD PTR -44[rbp], eax
	mov	edi, 8000
	call	htons@PLT
	mov	WORD PTR -46[rbp], ax
	lea	rcx, -48[rbp]
	mov	eax, DWORD PTR -88[rbp]
	mov	edx, 16
	mov	rsi, rcx
	mov	edi, eax
	call	bind@PLT
	mov	eax, DWORD PTR -88[rbp]
	mov	esi, 20
	mov	edi, eax
	call	listen@PLT
	lea	rdi, .LC13[rip]
	call	puts@PLT
.L53:
	mov	DWORD PTR -96[rbp], 0
	mov	DWORD PTR -84[rbp], -1
	mov	edi, 1
	call	malloc@PLT
	mov	QWORD PTR -72[rbp], rax
	mov	rax, QWORD PTR -72[rbp]
	mov	BYTE PTR [rax], 0
	mov	DWORD PTR -100[rbp], 16
	lea	rdx, -100[rbp]
	lea	rcx, -32[rbp]
	mov	eax, DWORD PTR -88[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	accept@PLT
	mov	DWORD PTR -80[rbp], eax
	mov	rax, QWORD PTR -64[rbp]
	mov	edx, 200
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	rax, QWORD PTR -72[rbp]
	mov	rsi, rax
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L46
.L48:
	mov	eax, DWORD PTR -76[rbp]
	movsx	rdx, eax
	mov	rcx, QWORD PTR -64[rbp]
	mov	eax, DWORD PTR -80[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	mov	rax, QWORD PTR -64[rbp]
	mov	rsi, rax
	lea	rdi, .LC15[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -76[rbp]
	mov	esi, eax
	lea	rdi, .LC16[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -76[rbp]
	add	DWORD PTR -96[rbp], eax
	mov	eax, DWORD PTR -96[rbp]
	mov	esi, eax
	lea	rdi, .LC17[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -96[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -72[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	realloc@PLT
	mov	QWORD PTR -72[rbp], rax
	mov	rax, QWORD PTR -72[rbp]
	mov	rsi, rax
	lea	rdi, .LC18[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rdx, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR -72[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcat@PLT
	mov	rax, QWORD PTR -72[rbp]
	mov	rsi, rax
	lea	rdi, .LC19[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -64[rbp]
	mov	edx, 200
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	rax, QWORD PTR -72[rbp]
	lea	rsi, .LC20[rip]
	mov	rdi, rax
	call	strstr@PLT
	test	rax, rax
	jne	.L55
.L46:
	mov	rcx, QWORD PTR -64[rbp]
	mov	eax, DWORD PTR -80[rbp]
	mov	edx, 199
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	mov	DWORD PTR -76[rbp], eax
	cmp	DWORD PTR -76[rbp], 0
	jne	.L48
	jmp	.L47
.L55:
	nop
.L47:
	mov	rax, QWORD PTR -72[rbp]
	mov	rsi, rax
	lea	rdi, .LC21[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -72[rbp]
	mov	QWORD PTR -56[rbp], rax
	mov	rax, QWORD PTR -56[rbp]
	mov	esi, 124
	mov	rdi, rax
	call	strchr@PLT
	mov	QWORD PTR -72[rbp], rax
	mov	rax, QWORD PTR -72[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -72[rbp], rdx
	mov	BYTE PTR [rax], 0
	mov	rax, QWORD PTR -72[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	DWORD PTR -96[rbp], eax
	mov	eax, DWORD PTR -96[rbp]
	cdqe
	lea	rdx, -2[rax]
	mov	rax, QWORD PTR -72[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	mov	rax, QWORD PTR -56[rbp]
	mov	rsi, rax
	lea	rdi, .LC22[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -72[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	edx, eax
	mov	rcx, QWORD PTR -72[rbp]
	mov	eax, DWORD PTR -84[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	make_crc
	mov	DWORD PTR -84[rbp], eax
	mov	QWORD PTR -16[rbp], 0
	mov	edx, DWORD PTR -84[rbp]
	lea	rax, -16[rbp]
	lea	rsi, .LC23[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	mov	eax, DWORD PTR -84[rbp]
	mov	esi, eax
	lea	rdi, .LC24[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -16[rbp]
	mov	rsi, rax
	lea	rdi, .LC25[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rdx, QWORD PTR -56[rbp]
	lea	rax, -16[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L49
	lea	rdi, .LC26[rip]
	call	puts@PLT
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	eax, DWORD PTR -80[rbp]
	mov	edi, eax
	call	close@PLT
	jmp	.L53
.L49:
	mov	rax, QWORD PTR -72[rbp]
	mov	rsi, rax
	lea	rdi, .LC21[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -72[rbp]
	mov	rdi, rax
	call	CommandParser
	test	al, al
	je	.L51
	mov	eax, DWORD PTR -80[rbp]
	mov	edx, 12
	lea	rsi, .LC27[rip]
	mov	edi, eax
	call	write@PLT
	lea	rdi, .LC28[rip]
	call	puts@PLT
	jmp	.L52
.L51:
	mov	eax, DWORD PTR -80[rbp]
	mov	edx, 12
	lea	rsi, .LC29[rip]
	mov	edi, eax
	call	write@PLT
	lea	rdi, .LC30[rip]
	call	puts@PLT
.L52:
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	eax, DWORD PTR -80[rbp]
	mov	edi, eax
	call	close@PLT
	jmp	.L53
	.cfi_endproc
.LFE14:
	.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	"923050.c"
	.text
	.global	errorinfo
	.bss
	.align	2
	.type	errorinfo, %object
	.size	errorinfo, 100
errorinfo:
	.space	100
	.comm	crc32_table,1024,4
	.text
	.align	2
	.global	make_crc32_table
	.syntax unified
	.arm
	.fpu softvfp
	.type	make_crc32_table, %function
make_crc32_table:
	@ 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
	mov	r3, #0
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L2
.L7:
	ldr	r3, [fp, #-12]
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L3
.L6:
	ldr	r3, [fp, #-16]
	and	r3, r3, #1
	cmp	r3, #0
	beq	.L4
	ldr	r3, [fp, #-16]
	lsr	r2, r3, #1
	ldr	r3, .L9
	eor	r3, r3, r2
	str	r3, [fp, #-16]
	b	.L5
.L4:
	ldr	r3, [fp, #-16]
	lsr	r3, r3, #1
	str	r3, [fp, #-16]
.L5:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L3:
	ldr	r3, [fp, #-8]
	cmp	r3, #7
	ble	.L6
	ldr	r1, .L9+4
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-16]
	str	r2, [r1, r3, lsl #2]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L2:
	ldr	r3, [fp, #-12]
	cmp	r3, #255
	ble	.L7
	mov	r3, #1
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L10:
	.align	2
.L9:
	.word	-306674912
	.word	crc32_table
	.size	make_crc32_table, .-make_crc32_table
	.align	2
	.global	make_crc
	.syntax unified
	.arm
	.fpu softvfp
	.type	make_crc, %function
make_crc:
	@ 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, #-8]
	str	r1, [fp, #-12]
	str	r2, [fp, #-16]
	b	.L12
.L13:
	ldr	r3, [fp, #-8]
	lsr	r2, r3, #8
	ldr	r3, [fp, #-12]
	add	r1, r3, #1
	str	r1, [fp, #-12]
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r3, [fp, #-8]
	eor	r3, r3, r1
	and	r3, r3, #255
	ldr	r1, .L15
	ldr	r3, [r1, r3, lsl #2]
	eor	r3, r3, r2
	str	r3, [fp, #-8]
.L12:
	ldr	r3, [fp, #-16]
	sub	r2, r3, #1
	str	r2, [fp, #-16]
	cmp	r3, #0
	bne	.L13
	ldr	r3, [fp, #-8]
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L16:
	.align	2
.L15:
	.word	crc32_table
	.size	make_crc, .-make_crc
	.section	.rodata
	.align	2
.LC0:
	.ascii	"r\000"
	.align	2
.LC1:
	.ascii	"popen failed!\000"
	.align	2
.LC2:
	.ascii	"error:%s\012\000"
	.align	2
.LC3:
	.ascii	"return values:%s,%d\012\000"
	.align	2
.LC4:
	.ascii	"0\000"
	.align	2
.LC5:
	.ascii	"failed at here--------------\000"
	.align	2
.LC6:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	pipe_execution
	.syntax unified
	.arm
	.fpu softvfp
	.type	pipe_execution, %function
pipe_execution:
	@ args = 0, pretend = 0, frame = 632
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #632
	str	r0, [fp, #-632]
	mov	r3, r1
	strb	r3, [fp, #-633]
	ldr	r3, .L26
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-620]
	sub	r3, fp, #616
	mov	r2, #96
	mov	r1, #0
	mov	r0, r3
	bl	memset
	ldr	r1, .L26+4
	ldr	r0, [fp, #-632]
	bl	popen
	str	r0, [fp, #-624]
	ldr	r3, [fp, #-624]
	cmp	r3, #0
	bne	.L18
	ldr	r0, .L26+8
	bl	puts
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r2, r0
	sub	r3, fp, #620
	ldr	r1, .L26+12
	mov	r0, r3
	bl	sprintf
	mov	r3, #0
	b	.L24
.L18:
	ldrb	r3, [fp, #-633]
	eor	r3, r3, #1
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L20
	ldr	r0, [fp, #-624]
	bl	pclose
	mov	r3, #1
	b	.L24
.L20:
	mov	r3, #0
	str	r3, [fp, #-520]
	sub	r3, fp, #516
	mov	r2, #508
	mov	r1, #0
	mov	r0, r3
	bl	memset
	b	.L21
.L23:
	sub	r3, fp, #520
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	sub	r3, fp, #520
	mov	r1, r3
	ldr	r0, .L26+16
	bl	printf
	sub	r3, fp, #520
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	cmp	r3, #2
	bne	.L22
	ldrb	r2, [fp, #-520]	@ zero_extendqisi2
	ldr	r3, .L26+20
	ldrb	r3, [r3]	@ zero_extendqisi2
	sub	r3, r2, r3
	cmp	r3, #0
	bne	.L22
	ldr	r0, [fp, #-624]
	bl	pclose
	mov	r3, #1
	b	.L24
.L22:
	sub	r3, fp, #520
	mov	r2, #512
	mov	r1, #0
	mov	r0, r3
	bl	memset
.L21:
	sub	r3, fp, #520
	ldr	r2, [fp, #-624]
	mov	r1, #512
	mov	r0, r3
	bl	fgets
	mov	r3, r0
	cmp	r3, #0
	bne	.L23
	ldr	r0, .L26+24
	bl	puts
	ldr	r0, [fp, #-624]
	bl	pclose
	mov	r3, #0
.L24:
	ldr	r2, .L26
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L25
	bl	__stack_chk_fail
.L25:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L27:
	.align	2
.L26:
	.word	.LC6
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.size	pipe_execution, .-pipe_execution
	.section	.rodata
	.align	2
.LC7:
	.ascii	"wget -O /config/update/\000"
	.align	2
.LC8:
	.ascii	"%s%s %s 2>&1;echo $?\000"
	.align	2
.LC9:
	.ascii	"cmd:%s\012\000"
	.align	2
.LC10:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	pipe_cmd_wget
	.syntax unified
	.arm
	.fpu softvfp
	.type	pipe_cmd_wget, %function
pipe_cmd_wget:
	@ args = 0, pretend = 0, frame = 264
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #272
	str	r0, [fp, #-264]
	str	r1, [fp, #-268]
	ldr	r3, .L31
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-260]
	sub	r3, fp, #256
	mov	r2, #246
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r0, fp, #260
	ldr	r3, [fp, #-268]
	str	r3, [sp]
	ldr	r3, [fp, #-264]
	ldr	r2, .L31+4
	ldr	r1, .L31+8
	bl	sprintf
	sub	r3, fp, #260
	mov	r1, r3
	ldr	r0, .L31+12
	bl	printf
	sub	r3, fp, #260
	mov	r1, #1
	mov	r0, r3
	bl	pipe_execution
	mov	r3, r0
	ldr	r2, .L31
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L30
	bl	__stack_chk_fail
.L30:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L32:
	.align	2
.L31:
	.word	.LC10
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.size	pipe_cmd_wget, .-pipe_cmd_wget
	.section	.rodata
	.align	2
.LC11:
	.ascii	"/config/update/\000"
	.align	2
.LC12:
	.ascii	"`%supdate.sh %s &`\000"
	.align	2
.LC13:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	pipe_cmd_start
	.syntax unified
	.arm
	.fpu softvfp
	.type	pipe_cmd_start, %function
pipe_cmd_start:
	@ args = 0, pretend = 0, frame = 120
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #120
	str	r0, [fp, #-120]
	str	r1, [fp, #-124]
	ldr	r3, .L36
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-108]
	sub	r3, fp, #104
	mov	r2, #96
	mov	r1, #0
	mov	r0, r3
	bl	memset
	mov	r1, #47
	ldr	r0, [fp, #-120]
	bl	strrchr
	str	r0, [fp, #-112]
	ldr	r3, [fp, #-112]
	add	r3, r3, #1
	str	r3, [fp, #-112]
	sub	r0, fp, #108
	ldr	r3, [fp, #-112]
	ldr	r2, .L36+4
	ldr	r1, .L36+8
	bl	sprintf
	sub	r3, fp, #108
	mov	r1, r3
	ldr	r0, .L36+12
	bl	printf
	sub	r3, fp, #108
	mov	r1, #0
	mov	r0, r3
	bl	pipe_execution
	mov	r3, r0
	ldr	r2, .L36
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L35
	bl	__stack_chk_fail
.L35:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L37:
	.align	2
.L36:
	.word	.LC13
	.word	.LC11
	.word	.LC12
	.word	.LC9
	.size	pipe_cmd_start, .-pipe_cmd_start
	.section	.rodata
	.align	2
.LC14:
	.ascii	"`\000"
	.align	2
.LC15:
	.ascii	"update.sh\000"
	.align	2
.LC16:
	.ascii	" &`\000"
	.align	2
.LC17:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	pipe_cmd_all_restart
	.syntax unified
	.arm
	.fpu softvfp
	.type	pipe_cmd_all_restart, %function
pipe_cmd_all_restart:
	@ args = 0, pretend = 0, frame = 104
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #104
	ldr	r3, .L41
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-108]
	sub	r3, fp, #104
	mov	r2, #96
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #108
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	sub	r3, fp, #108
	add	r3, r3, r2
	ldr	r2, .L41+4
	mov	r0, r3
	mov	r1, r2
	mov	r3, #2
	mov	r2, r3
	bl	memcpy
	sub	r3, fp, #108
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	sub	r3, fp, #108
	add	r3, r3, r2
	ldr	r2, .L41+8
	mov	r0, r3
	mov	r1, r2
	mov	r3, #16
	mov	r2, r3
	bl	memcpy
	sub	r3, fp, #108
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	sub	r3, fp, #108
	add	r3, r3, r2
	ldr	r2, .L41+12
	mov	r0, r3
	mov	r1, r2
	mov	r3, #10
	mov	r2, r3
	bl	memcpy
	sub	r3, fp, #108
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	sub	r3, fp, #108
	add	r3, r3, r2
	ldr	r2, .L41+16
	mov	r0, r3
	mov	r1, r2
	mov	r3, #4
	mov	r2, r3
	bl	memcpy
	sub	r3, fp, #108
	mov	r1, r3
	ldr	r0, .L41+20
	bl	printf
	sub	r3, fp, #108
	mov	r1, #0
	mov	r0, r3
	bl	pipe_execution
	mov	r3, r0
	ldr	r2, .L41
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L40
	bl	__stack_chk_fail
.L40:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L42:
	.align	2
.L41:
	.word	.LC17
	.word	.LC14
	.word	.LC11
	.word	.LC15
	.word	.LC16
	.word	.LC9
	.size	pipe_cmd_all_restart, .-pipe_cmd_all_restart
	.section	.rodata
	.align	2
.LC18:
	.ascii	"00\000"
	.align	2
.LC19:
	.ascii	"succeed!\000"
	.align	2
.LC20:
	.ascii	"start failed!\000"
	.align	2
.LC21:
	.ascii	"wget failed!\000"
	.align	2
.LC22:
	.ascii	"03\000"
	.align	2
.LC23:
	.ascii	"all restart failed!\012\000"
	.align	2
.LC24:
	.ascii	"all restart succeed!\012\000"
	.text
	.align	2
	.global	Execution
	.syntax unified
	.arm
	.fpu softvfp
	.type	Execution, %function
Execution:
	@ 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, #-32]
	mov	r3, #0
	str	r3, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-16]
	mov	r2, #100
	mov	r1, #0
	ldr	r0, .L52
	bl	memset
	mov	r2, #2
	ldr	r1, [fp, #-32]
	ldr	r0, .L52+4
	bl	strncmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L44
	ldr	r3, [fp, #-32]
	add	r3, r3, #2
	str	r3, [fp, #-12]
	mov	r1, #35
	ldr	r0, [fp, #-12]
	bl	strchr
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L45
	mov	r3, #0
	b	.L46
.L45:
	ldr	r3, [fp, #-8]
	add	r2, r3, #1
	str	r2, [fp, #-8]
	mov	r2, #0
	strb	r2, [r3]
	ldr	r1, [fp, #-8]
	ldr	r0, [fp, #-12]
	bl	pipe_cmd_wget
	mov	r3, r0
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	beq	.L47
	ldr	r1, [fp, #-8]
	ldr	r0, [fp, #-12]
	bl	pipe_cmd_start
	mov	r3, r0
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	beq	.L47
	ldr	r3, .L52
	ldr	r2, .L52+8
	ldm	r2, {r0, r1, r2}
	stmia	r3!, {r0, r1}
	strb	r2, [r3]
	mov	r3, #1
	b	.L46
.L47:
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	beq	.L48
	ldr	r2, .L52
	ldr	r3, .L52+12
	mov	ip, r2
	ldm	r3, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2}
	strh	r3, [ip]	@ movhi
	b	.L49
.L48:
	ldr	r2, .L52
	ldr	r3, .L52+16
	mov	ip, r2
	ldm	r3, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2}
	strb	r3, [ip]
.L49:
	mov	r3, #0
	b	.L46
.L44:
	mov	r2, #2
	ldr	r1, [fp, #-32]
	ldr	r0, .L52+20
	bl	strncmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L50
	bl	pipe_cmd_all_restart
	mov	r3, r0
	cmp	r3, #0
	bne	.L51
	ldr	r2, .L52
	ldr	r3, .L52+24
	mov	ip, r2
	mov	lr, r3
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1}
	str	r0, [ip]
	add	ip, ip, #4
	strb	r1, [ip]
	b	.L50
.L51:
	ldr	r2, .L52
	ldr	r3, .L52+28
	mov	ip, r2
	mov	lr, r3
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1}
	str	r0, [ip]
	add	ip, ip, #4
	strh	r1, [ip]	@ movhi
	mov	r3, #1
	b	.L46
.L50:
	mov	r3, #0
.L46:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L53:
	.align	2
.L52:
	.word	errorinfo
	.word	.LC18
	.word	.LC19
	.word	.LC20
	.word	.LC21
	.word	.LC22
	.word	.LC23
	.word	.LC24
	.size	Execution, .-Execution
	.align	2
	.global	CommandParser
	.syntax unified
	.arm
	.fpu softvfp
	.type	CommandParser, %function
CommandParser:
	@ 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]
	mov	r3, #1
	strb	r3, [fp, #-9]
	b	.L55
.L56:
	ldr	r3, [fp, #-8]
	add	r2, r3, #1
	str	r2, [fp, #-8]
	mov	r2, #0
	strb	r2, [r3]
	ldr	r0, [fp, #-8]
	bl	Execution
	mov	r3, r0
	eor	r3, r3, #1
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L55
	mov	r3, #0
	strb	r3, [fp, #-9]
.L55:
	mov	r1, #124
	ldr	r0, [fp, #-16]
	bl	strrchr
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L56
	ldr	r0, [fp, #-16]
	bl	Execution
	mov	r3, r0
	eor	r3, r3, #1
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L57
	mov	r3, #0
	strb	r3, [fp, #-9]
.L57:
	ldrb	r3, [fp, #-9]	@ zero_extendqisi2
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	CommandParser, .-CommandParser
	.section	.rodata
	.align	2
.LC25:
	.ascii	"Accepting connections ...\000"
	.align	2
.LC26:
	.ascii	"cmd0:%s\012\000"
	.align	2
.LC27:
	.ascii	"buf:%s\012\000"
	.align	2
.LC28:
	.ascii	"n:%d\012\000"
	.align	2
.LC29:
	.ascii	"cmd_n:%d\012\000"
	.align	2
.LC30:
	.ascii	"cmd1:%s\012\000"
	.align	2
.LC31:
	.ascii	"cmd2:%s\012\000"
	.align	2
.LC32:
	.ascii	"||\000"
	.align	2
.LC33:
	.ascii	"cmd_all:%s\012\000"
	.align	2
.LC34:
	.ascii	"str_crc:%s\012\000"
	.align	2
.LC35:
	.ascii	"0x%x\000"
	.align	2
.LC36:
	.ascii	"crc:%x\012\000"
	.align	2
.LC37:
	.ascii	"temp_crc:%s\012\000"
	.align	2
.LC38:
	.ascii	"Bad package!======================!\000"
	.align	2
.LC39:
	.ascii	"all succeed!\000"
	.align	2
.LC40:
	.ascii	"all succeed!\012Accepting connections ...\000"
	.align	2
.LC41:
	.ascii	"some failed!\000"
	.align	2
.LC42:
	.ascii	"some failed\012Accepting connections ...\000"
	.align	2
.LC43:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 88
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #88
	ldr	r3, .L70
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mvn	r3, #0
	str	r3, [fp, #-76]
	bl	make_crc32_table
	mov	r3, #0
	str	r3, [fp, #-84]
	mov	r0, #200
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-72]
	mov	r2, #0
	mov	r1, #1
	mov	r0, #2
	bl	socket
	str	r0, [fp, #-68]
	sub	r3, fp, #48
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2]
	str	r3, [r2, #4]
	str	r3, [r2, #8]
	str	r3, [r2, #12]
	mov	r3, #2
	strh	r3, [fp, #-48]	@ movhi
	mov	r0, #0
	bl	htonl
	mov	r3, r0
	str	r3, [fp, #-44]
	mov	r0, #8000
	bl	htons
	mov	r3, r0
	strh	r3, [fp, #-46]	@ movhi
	sub	r3, fp, #48
	mov	r2, #16
	mov	r1, r3
	ldr	r0, [fp, #-68]
	bl	bind
	mov	r1, #20
	ldr	r0, [fp, #-68]
	bl	listen
	ldr	r0, .L70+4
	bl	puts
.L67:
	mov	r3, #0
	str	r3, [fp, #-84]
	mvn	r3, #0
	str	r3, [fp, #-64]
	mov	r0, #1
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-80]
	ldr	r3, [fp, #-80]
	mov	r2, #0
	strb	r2, [r3]
	mov	r3, #16
	str	r3, [fp, #-88]
	sub	r2, fp, #88
	sub	r3, fp, #32
	mov	r1, r3
	ldr	r0, [fp, #-68]
	bl	accept
	str	r0, [fp, #-60]
	mov	r2, #200
	mov	r1, #0
	ldr	r0, [fp, #-72]
	bl	memset
	ldr	r1, [fp, #-80]
	ldr	r0, .L70+8
	bl	printf
	b	.L60
.L62:
	ldr	r3, [fp, #-56]
	mov	r2, r3
	ldr	r1, [fp, #-72]
	ldr	r0, [fp, #-60]
	bl	write
	ldr	r1, [fp, #-72]
	ldr	r0, .L70+12
	bl	printf
	ldr	r1, [fp, #-56]
	ldr	r0, .L70+16
	bl	printf
	ldr	r2, [fp, #-84]
	ldr	r3, [fp, #-56]
	add	r3, r2, r3
	str	r3, [fp, #-84]
	ldr	r1, [fp, #-84]
	ldr	r0, .L70+20
	bl	printf
	ldr	r3, [fp, #-84]
	mov	r1, r3
	ldr	r0, [fp, #-80]
	bl	realloc
	str	r0, [fp, #-80]
	ldr	r1, [fp, #-80]
	ldr	r0, .L70+24
	bl	printf
	ldr	r1, [fp, #-72]
	ldr	r0, [fp, #-80]
	bl	strcat
	ldr	r1, [fp, #-80]
	ldr	r0, .L70+28
	bl	printf
	mov	r2, #200
	mov	r1, #0
	ldr	r0, [fp, #-72]
	bl	memset
	ldr	r1, .L70+32
	ldr	r0, [fp, #-80]
	bl	strstr
	mov	r3, r0
	cmp	r3, #0
	bne	.L69
.L60:
	mov	r2, #199
	ldr	r1, [fp, #-72]
	ldr	r0, [fp, #-60]
	bl	read
	str	r0, [fp, #-56]
	ldr	r3, [fp, #-56]
	cmp	r3, #0
	bne	.L62
	b	.L61
.L69:
	nop
.L61:
	ldr	r1, [fp, #-80]
	ldr	r0, .L70+36
	bl	printf
	ldr	r3, [fp, #-80]
	str	r3, [fp, #-52]
	mov	r1, #124
	ldr	r0, [fp, #-52]
	bl	strchr
	str	r0, [fp, #-80]
	ldr	r3, [fp, #-80]
	add	r2, r3, #1
	str	r2, [fp, #-80]
	mov	r2, #0
	strb	r2, [r3]
	ldr	r0, [fp, #-80]
	bl	strlen
	mov	r3, r0
	str	r3, [fp, #-84]
	ldr	r3, [fp, #-84]
	sub	r3, r3, #2
	ldr	r2, [fp, #-80]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	ldr	r1, [fp, #-52]
	ldr	r0, .L70+40
	bl	printf
	ldr	r0, [fp, #-80]
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	ldr	r1, [fp, #-80]
	ldr	r0, [fp, #-64]
	bl	make_crc
	str	r0, [fp, #-64]
	mov	r3, #0
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-12]
	sub	r3, fp, #16
	ldr	r2, [fp, #-64]
	ldr	r1, .L70+44
	mov	r0, r3
	bl	sprintf
	ldr	r1, [fp, #-64]
	ldr	r0, .L70+48
	bl	printf
	sub	r3, fp, #16
	mov	r1, r3
	ldr	r0, .L70+52
	bl	printf
	sub	r3, fp, #16
	ldr	r1, [fp, #-52]
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L63
	ldr	r0, .L70+56
	bl	puts
	ldr	r0, [fp, #-52]
	bl	free
	ldr	r0, [fp, #-60]
	bl	close
	b	.L67
.L63:
	ldr	r1, [fp, #-80]
	ldr	r0, .L70+36
	bl	printf
	ldr	r0, [fp, #-80]
	bl	CommandParser
	mov	r3, r0
	cmp	r3, #0
	beq	.L65
	mov	r2, #12
	ldr	r1, .L70+60
	ldr	r0, [fp, #-60]
	bl	write
	ldr	r0, .L70+64
	bl	puts
	b	.L66
.L65:
	mov	r2, #12
	ldr	r1, .L70+68
	ldr	r0, [fp, #-60]
	bl	write
	ldr	r0, .L70+72
	bl	puts
.L66:
	ldr	r0, [fp, #-52]
	bl	free
	ldr	r0, [fp, #-60]
	bl	close
	b	.L67
.L71:
	.align	2
.L70:
	.word	.LC43
	.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	.LC41
	.word	.LC42
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
