	.file	"155539.c"
	.intel_syntax noprefix
	.text
	.globl	get_dbm
	.type	get_dbm, @function
get_dbm:
.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, 112
	mov	DWORD PTR -100[rbp], edi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	eax, DWORD PTR -100[rbp]
	sub	eax, 1
	mov	DWORD PTR -96[rbp], eax
	mov	DWORD PTR -92[rbp], 0
	mov	DWORD PTR -88[rbp], 0
	jmp	.L2
.L3:
	mov	eax, 15
	sub	eax, DWORD PTR -88[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -96[rbp]
	mov	ecx, eax
	sar	ecx, 31
	shr	ecx, 31
	add	eax, ecx
	and	eax, 1
	sub	eax, ecx
	mov	ecx, eax
	movsx	rax, edx
	mov	DWORD PTR -80[rbp+rax*4], ecx
	mov	eax, DWORD PTR -96[rbp]
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	mov	DWORD PTR -96[rbp], eax
	add	DWORD PTR -88[rbp], 1
.L2:
	cmp	DWORD PTR -88[rbp], 16
	jne	.L3
	mov	DWORD PTR -88[rbp], 15
	jmp	.L4
.L5:
	mov	eax, DWORD PTR -88[rbp]
	cdqe
	mov	eax, DWORD PTR -80[rbp+rax*4]
	test	eax, eax
	sete	al
	movzx	edx, al
	mov	eax, DWORD PTR -88[rbp]
	cdqe
	mov	DWORD PTR -80[rbp+rax*4], edx
	sub	DWORD PTR -88[rbp], 1
.L4:
	cmp	DWORD PTR -88[rbp], 0
	jne	.L5
	mov	DWORD PTR -88[rbp], 15
	mov	DWORD PTR -84[rbp], 0
	jmp	.L6
.L7:
	mov	eax, DWORD PTR -88[rbp]
	cdqe
	mov	eax, DWORD PTR -80[rbp+rax*4]
	pxor	xmm2, xmm2
	cvtsi2sd	xmm2, eax
	movsd	QWORD PTR -112[rbp], xmm2
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, DWORD PTR -84[rbp]
	mov	rax, QWORD PTR .LC0[rip]
	movapd	xmm1, xmm0
	movq	xmm0, rax
	call	pow@PLT
	movsd	xmm1, QWORD PTR -112[rbp]
	mulsd	xmm1, xmm0
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, DWORD PTR -92[rbp]
	addsd	xmm0, xmm1
	cvttsd2si	eax, xmm0
	mov	DWORD PTR -92[rbp], eax
	sub	DWORD PTR -88[rbp], 1
	add	DWORD PTR -84[rbp], 1
.L6:
	cmp	DWORD PTR -88[rbp], 0
	jne	.L7
	mov	eax, DWORD PTR -92[rbp]
	neg	eax
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L9
	call	__stack_chk_fail@PLT
.L9:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	get_dbm, .-get_dbm
	.section	.rodata
.LC1:
	.string	"w"
	.align 8
.LC2:
	.string	"/ailvgo/system/traffic/wifi_mac"
	.text
	.globl	mac_log
	.type	mac_log, @function
mac_log:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	lea	rsi, .LC1[rip]
	lea	rdi, .LC2[rip]
	call	fopen@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	rdx, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	fputs@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	fclose@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	mac_log, .-mac_log
	.section	.rodata
.LC3:
	.string	"a"
.LC4:
	.string	"/ailvgo/system/log/sys_log"
.LC5:
	.string	"%s ----- %s\n"
	.text
	.globl	sys_log
	.type	sys_log, @function
sys_log:
.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, 160
	mov	QWORD PTR -152[rbp], rdi
	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	QWORD PTR -136[rbp], 0
	lea	rax, -136[rbp]
	mov	rdi, rax
	call	time@PLT
	lea	rax, -136[rbp]
	mov	rdi, rax
	call	localtime@PLT
	mov	QWORD PTR -128[rbp], rax
	lea	rsi, .LC3[rip]
	lea	rdi, .LC4[rip]
	call	fopen@PLT
	mov	QWORD PTR -120[rbp], rax
	mov	rax, QWORD PTR -128[rbp]
	mov	rdi, rax
	call	asctime@PLT
	mov	rsi, rax
	mov	rdx, QWORD PTR -152[rbp]
	lea	rax, -112[rbp]
	mov	rcx, rdx
	mov	rdx, rsi
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	mov	rdx, QWORD PTR -120[rbp]
	lea	rax, -112[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	fputs@PLT
	mov	rax, QWORD PTR -120[rbp]
	mov	rdi, rax
	call	fclose@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L12
	call	__stack_chk_fail@PLT
.L12:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	sys_log, .-sys_log
	.section	.rodata
	.align 8
.LC6:
	.string	"----------traffic.db : check------------------"
	.align 8
.LC7:
	.string	"--------traffic_total.db : check------------"
	.align 8
.LC8:
	.string	"--------traffic_saved.db : check------------"
.LC9:
	.string	"udp_get over!"
.LC10:
	.string	"udp_get error"
	.text
	.globl	main
	.type	main, @function
main:
.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, 16
	mov	DWORD PTR -16[rbp], 0
	mov	QWORD PTR -8[rbp], 0
	mov	DWORD PTR -12[rbp], 0
	lea	rdi, .LC6[rip]
	call	puts@PLT
	mov	eax, 0
	call	traffic_check
	lea	rdi, .LC7[rip]
	call	puts@PLT
	mov	eax, 0
	call	traffic_total_check
	lea	rdi, .LC8[rip]
	call	puts@PLT
	mov	eax, 0
	call	traffic_saved_check
	mov	eax, 0
	call	ap_socket
	lea	rdi, .LC9[rip]
	call	puts@PLT
	lea	rdi, .LC10[rip]
	call	sys_log
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC11:
	.string	"select time from traffic_total where mobile='%s'"
	.align 8
.LC12:
	.string	"insert into traffic_total (mobile,time) values('%s','%ld')"
	.align 8
.LC13:
	.string	"insert traffic_total.db error : %s\n"
	.align 8
.LC14:
	.string	"update traffic_total set time='%ld' where mobile='%s'"
	.align 8
.LC15:
	.string	"update traffic_total.db error : %s\n"
	.text
	.globl	traffic_total_collect
	.type	traffic_total_collect, @function
traffic_total_collect:
.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, 336
	mov	QWORD PTR -312[rbp], rdi
	mov	DWORD PTR -316[rbp], esi
	mov	QWORD PTR -328[rbp], rdx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -292[rbp], 0
	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	QWORD PTR -280[rbp], 0
	lea	rax, -272[rbp]
	mov	edx, 250
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	rdx, QWORD PTR -312[rbp]
	lea	rax, -272[rbp]
	lea	rsi, .LC11[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	lea	rdx, -280[rbp]
	lea	rsi, -272[rbp]
	mov	rax, QWORD PTR -328[rbp]
	mov	r8d, 0
	mov	rcx, rdx
	mov	edx, -1
	mov	rdi, rax
	call	sqlite3_prepare@PLT
	mov	rax, QWORD PTR -280[rbp]
	mov	rdi, rax
	call	sqlite3_step@PLT
	mov	DWORD PTR -292[rbp], eax
	cmp	DWORD PTR -292[rbp], 100
	je	.L16
	mov	rax, QWORD PTR -280[rbp]
	mov	rdi, rax
	call	sqlite3_finalize@PLT
	lea	rax, -272[rbp]
	mov	edx, 250
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	ecx, DWORD PTR -316[rbp]
	mov	rdx, QWORD PTR -312[rbp]
	lea	rax, -272[rbp]
	lea	rsi, .LC12[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	lea	rdx, -288[rbp]
	lea	rsi, -272[rbp]
	mov	rax, QWORD PTR -328[rbp]
	mov	r8, rdx
	mov	ecx, 0
	mov	edx, 0
	mov	rdi, rax
	call	sqlite3_exec@PLT
	mov	DWORD PTR -292[rbp], eax
	cmp	DWORD PTR -292[rbp], 0
	je	.L17
	mov	rax, QWORD PTR -288[rbp]
	mov	rsi, rax
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 1
	jmp	.L20
.L17:
	mov	eax, 0
	jmp	.L20
.L16:
	mov	rax, QWORD PTR -280[rbp]
	mov	rdi, rax
	call	sqlite3_finalize@PLT
	lea	rax, -272[rbp]
	mov	edx, 250
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	rcx, QWORD PTR -312[rbp]
	mov	edx, DWORD PTR -316[rbp]
	lea	rax, -272[rbp]
	lea	rsi, .LC14[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	lea	rdx, -288[rbp]
	lea	rsi, -272[rbp]
	mov	rax, QWORD PTR -328[rbp]
	mov	r8, rdx
	mov	ecx, 0
	mov	edx, 0
	mov	rdi, rax
	call	sqlite3_exec@PLT
	mov	DWORD PTR -292[rbp], eax
	cmp	DWORD PTR -292[rbp], 0
	je	.L19
	mov	rax, QWORD PTR -288[rbp]
	mov	rsi, rax
	lea	rdi, .LC15[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 2
	jmp	.L20
.L19:
	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
.LFE12:
	.size	traffic_total_collect, .-traffic_total_collect
	.section	.rodata
	.align 8
.LC16:
	.string	"select time from traffic_info where mobile='%s' order by time desc limit 1"
	.align 8
.LC17:
	.string	"insert into traffic_info (mobile,time) values('%s','%ld')"
.LC18:
	.string	"insert traffic.db error : %s\n"
	.text
	.globl	traffic_collect
	.type	traffic_collect, @function
traffic_collect:
.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, 336
	mov	QWORD PTR -312[rbp], rdi
	mov	DWORD PTR -316[rbp], esi
	mov	QWORD PTR -328[rbp], rdx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -296[rbp], 0
	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	DWORD PTR -292[rbp], 0
	mov	QWORD PTR -280[rbp], 0
	lea	rax, -272[rbp]
	mov	edx, 250
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	rdx, QWORD PTR -312[rbp]
	lea	rax, -272[rbp]
	lea	rsi, .LC16[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	lea	rdx, -280[rbp]
	lea	rsi, -272[rbp]
	mov	rax, QWORD PTR -328[rbp]
	mov	r8d, 0
	mov	rcx, rdx
	mov	edx, -1
	mov	rdi, rax
	call	sqlite3_prepare@PLT
	mov	rax, QWORD PTR -280[rbp]
	mov	rdi, rax
	call	sqlite3_step@PLT
	mov	DWORD PTR -296[rbp], eax
	cmp	DWORD PTR -296[rbp], 100
	je	.L23
	mov	rax, QWORD PTR -280[rbp]
	mov	rdi, rax
	call	sqlite3_finalize@PLT
	lea	rax, -272[rbp]
	mov	edx, 250
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	ecx, DWORD PTR -316[rbp]
	mov	rdx, QWORD PTR -312[rbp]
	lea	rax, -272[rbp]
	lea	rsi, .LC17[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	lea	rdx, -288[rbp]
	lea	rsi, -272[rbp]
	mov	rax, QWORD PTR -328[rbp]
	mov	r8, rdx
	mov	ecx, 0
	mov	edx, 0
	mov	rdi, rax
	call	sqlite3_exec@PLT
	mov	DWORD PTR -296[rbp], eax
	cmp	DWORD PTR -296[rbp], 0
	je	.L24
	mov	rax, QWORD PTR -288[rbp]
	mov	rsi, rax
	lea	rdi, .LC18[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 1
	jmp	.L28
.L24:
	mov	eax, 0
	jmp	.L28
.L23:
	mov	rax, QWORD PTR -280[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	sqlite3_column_int@PLT
	mov	DWORD PTR -292[rbp], eax
	mov	eax, DWORD PTR -316[rbp]
	sub	eax, DWORD PTR -292[rbp]
	cmp	eax, 43200
	jle	.L26
	mov	rax, QWORD PTR -280[rbp]
	mov	rdi, rax
	call	sqlite3_finalize@PLT
	lea	rax, -272[rbp]
	mov	edx, 250
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	ecx, DWORD PTR -316[rbp]
	mov	rdx, QWORD PTR -312[rbp]
	lea	rax, -272[rbp]
	lea	rsi, .LC17[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	lea	rdx, -288[rbp]
	lea	rsi, -272[rbp]
	mov	rax, QWORD PTR -328[rbp]
	mov	r8, rdx
	mov	ecx, 0
	mov	edx, 0
	mov	rdi, rax
	call	sqlite3_exec@PLT
	mov	DWORD PTR -296[rbp], eax
	cmp	DWORD PTR -296[rbp], 0
	je	.L27
	mov	rax, QWORD PTR -288[rbp]
	mov	rsi, rax
	lea	rdi, .LC18[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 2
	jmp	.L28
.L27:
	mov	eax, 0
	jmp	.L28
.L26:
	mov	rax, QWORD PTR -280[rbp]
	mov	rdi, rax
	call	sqlite3_finalize@PLT
	mov	eax, 0
.L28:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L29
	call	__stack_chk_fail@PLT
.L29:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	traffic_collect, .-traffic_collect
	.section	.rodata
	.align 8
.LC19:
	.string	"----------create boxid_date.db------------"
	.align 8
.LC20:
	.string	"--------------check wifi_dbm------------"
	.align 8
.LC21:
	.string	"/ailvgo/system/traffic/wifi_dbm"
.LC22:
	.string	"r"
.LC23:
	.string	"wifi_dbm open error!\n"
.LC24:
	.string	"%d"
.LC25:
	.string	"wifi_dbm : %d\n"
.LC26:
	.string	"wifi_dbm not found!"
	.align 8
.LC27:
	.string	"----------check staff_mac on/off---------"
	.align 8
.LC28:
	.string	"/ailvgo/system/traffic/staff_ctl"
.LC29:
	.string	"staff_ctl open error!\n"
.LC30:
	.string	"staff_ctl : %d\n"
.LC31:
	.string	"staff_ctrl not found!"
.LC32:
	.string	"staff mac control : on"
	.align 8
.LC33:
	.string	"/ailvgo/system/traffic/staff.db"
.LC34:
	.string	"open staff.db error!!!"
	.align 8
.LC35:
	.string	"select mobile from staff_info order by time desc limit 100"
.LC36:
	.string	"SQL error:%s \n"
.LC37:
	.string	"staff mac control : off"
.LC38:
	.string	"setup socket failure : "
.LC39:
	.string	"bind failure : "
	.align 8
.LC40:
	.string	"------------------udp_get : start-----------------"
	.align 8
.LC41:
	.string	"**********loop_cnt : %d | loop_t1 : %d ************\n"
.LC42:
	.string	"%02x:%02x:%02x:%02x:%02x:%02x"
.LC43:
	.string	"%02x%02x"
	.align 8
.LC44:
	.string	"mac : %s  || signal : %s || dbm : %d || time : %d\n"
	.align 8
.LC45:
	.string	"mac : invalid, signal less than %ddbm, skip!\n"
	.align 8
.LC46:
	.string	"mac : valid, signal greater that %ddbm!\n"
.LC47:
	.string	"mac : staff, skip!"
.LC48:
	.string	"buffer search stop @ %d\n"
.LC49:
	.string	"mac : exist in buffer!"
	.align 8
.LC50:
	.string	"mac : new | save in buffer_mac[%d], loop_mac[%d]\n"
.LC51:
	.string	"mac : buffer time update!"
	.align 8
.LC52:
	.string	"mac : loop time update | save in loop_mac[%d]\n"
.LC53:
	.string	"receive heartbeat!"
.LC54:
	.string	"wifi_mac record**************"
.LC55:
	.string	"e\202%c%c%c%c%c%c\001\001\261"
	.string	""
	.string	"\004"
	.string	""
	.string	""
	.string	""
	.string	""
.LC56:
	.string	"response heartbeat failure : "
	.align 8
.LC57:
	.string	"~~~~~~~~~~~~~~~loop_mac full~~~~~~~~~~~~~~~"
	.align 8
.LC58:
	.string	"~~~~~~~~~~~~~~~~60s timeup~~~~~~~~~~~~~~~~~~"
.LC59:
	.string	"loop_mac is null!"
	.align 8
.LC60:
	.string	"saved loop_mac into traffic.db | %d\n"
	.align 8
.LC61:
	.string	"/ailvgo/system/traffic/traffic.db"
.LC62:
	.string	"open traffic.db error!!!!!!"
	.align 8
.LC63:
	.string	"collect in traffic.db failure!"
	.align 8
.LC64:
	.string	"saved loop_mac into traffic_total.db | %d\n"
	.align 8
.LC65:
	.string	"/ailvgo/system/traffic/traffic_total.db"
	.align 8
.LC66:
	.string	"open traffic_total.db error!!!!!!"
	.align 8
.LC67:
	.string	"collect in traffic_total.db failure!"
	.align 8
.LC68:
	.string	"------------move traffic_total.db to boxid_date.db---------"
	.align 8
.LC69:
	.string	"/ailvgo/system/traffic/udp_move %s &"
	.text
	.globl	ap_socket
	.type	ap_socket, @function
ap_socket:
.LFB14:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	r11, -352256[rsp]
.LPSRL0:
	sub	rsp, 4096
	or	DWORD PTR [rsp], 0
	cmp	rsp, r11
	jne	.LPSRL0
	sub	rsp, 2720
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -354908[rbp], 0
	mov	DWORD PTR -354904[rbp], 0
	mov	DWORD PTR -354972[rbp], 16
	mov	QWORD PTR -944[rbp], 0
	mov	QWORD PTR -936[rbp], 0
	mov	QWORD PTR -928[rbp], 0
	mov	QWORD PTR -920[rbp], 0
	mov	QWORD PTR -912[rbp], 0
	mov	QWORD PTR -904[rbp], 0
	mov	QWORD PTR -896[rbp], 0
	mov	QWORD PTR -888[rbp], 0
	mov	QWORD PTR -880[rbp], 0
	mov	QWORD PTR -872[rbp], 0
	mov	QWORD PTR -864[rbp], 0
	mov	QWORD PTR -856[rbp], 0
	mov	QWORD PTR -848[rbp], 0
	mov	QWORD PTR -840[rbp], 0
	mov	QWORD PTR -832[rbp], 0
	mov	QWORD PTR -824[rbp], 0
	mov	QWORD PTR -1008[rbp], 0
	mov	QWORD PTR -1000[rbp], 0
	mov	WORD PTR -992[rbp], 0
	mov	QWORD PTR -976[rbp], 0
	mov	QWORD PTR -968[rbp], 0
	mov	WORD PTR -960[rbp], 0
	mov	QWORD PTR -816[rbp], 0
	mov	QWORD PTR -808[rbp], 0
	mov	QWORD PTR -800[rbp], 0
	mov	QWORD PTR -792[rbp], 0
	mov	QWORD PTR -784[rbp], 0
	mov	QWORD PTR -776[rbp], 0
	mov	QWORD PTR -768[rbp], 0
	mov	QWORD PTR -760[rbp], 0
	mov	QWORD PTR -752[rbp], 0
	mov	QWORD PTR -744[rbp], 0
	mov	QWORD PTR -736[rbp], 0
	mov	QWORD PTR -728[rbp], 0
	mov	QWORD PTR -720[rbp], 0
	mov	QWORD PTR -712[rbp], 0
	mov	QWORD PTR -704[rbp], 0
	mov	QWORD PTR -696[rbp], 0
	mov	DWORD PTR -354956[rbp], 0
	mov	DWORD PTR -354952[rbp], 0
	lea	rax, -271024[rbp]
	mov	edx, 270000
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	DWORD PTR -354900[rbp], 0
	lea	rax, -349024[rbp]
	mov	edx, 18000
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	DWORD PTR -1013[rbp], 0
	mov	BYTE PTR -1009[rbp], 0
	mov	DWORD PTR -354896[rbp], 0
	mov	DWORD PTR -354892[rbp], 0
	mov	DWORD PTR -354932[rbp], 0
	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
	lea	rdx, -354832[rbp]
	mov	eax, 0
	mov	ecx, 225
	mov	rdi, rdx
	rep stosq
	mov	QWORD PTR -354872[rbp], 0
	mov	DWORD PTR -354928[rbp], 0
	mov	DWORD PTR -354924[rbp], 0
	mov	DWORD PTR -354920[rbp], 0
	mov	QWORD PTR -354888[rbp], 0
	mov	QWORD PTR -354880[rbp], 0
	mov	DWORD PTR -354912[rbp], 0
	mov	QWORD PTR -688[rbp], 0
	mov	QWORD PTR -680[rbp], 0
	mov	QWORD PTR -672[rbp], 0
	mov	QWORD PTR -664[rbp], 0
	mov	QWORD PTR -656[rbp], 0
	mov	QWORD PTR -648[rbp], 0
	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	QWORD PTR -544[rbp], 0
	mov	QWORD PTR -536[rbp], 0
	mov	QWORD PTR -528[rbp], 0
	mov	QWORD PTR -520[rbp], 0
	mov	QWORD PTR -512[rbp], 0
	mov	QWORD PTR -504[rbp], 0
	mov	QWORD PTR -496[rbp], 0
	mov	QWORD PTR -480[rbp], 0
	mov	QWORD PTR -472[rbp], 0
	mov	QWORD PTR -464[rbp], 0
	mov	QWORD PTR -456[rbp], 0
	mov	QWORD PTR -448[rbp], 0
	mov	QWORD PTR -440[rbp], 0
	mov	QWORD PTR -432[rbp], 0
	mov	QWORD PTR -424[rbp], 0
	mov	QWORD PTR -416[rbp], 0
	mov	QWORD PTR -408[rbp], 0
	mov	QWORD PTR -400[rbp], 0
	mov	QWORD PTR -392[rbp], 0
	mov	QWORD PTR -384[rbp], 0
	mov	QWORD PTR -376[rbp], 0
	mov	QWORD PTR -368[rbp], 0
	mov	QWORD PTR -360[rbp], 0
	mov	QWORD PTR -352[rbp], 0
	mov	QWORD PTR -344[rbp], 0
	mov	QWORD PTR -336[rbp], 0
	mov	QWORD PTR -328[rbp], 0
	mov	QWORD PTR -320[rbp], 0
	mov	QWORD PTR -312[rbp], 0
	mov	QWORD PTR -304[rbp], 0
	mov	QWORD PTR -296[rbp], 0
	mov	QWORD PTR -288[rbp], 0
	lea	rdi, .LC19[rip]
	call	puts@PLT
	mov	eax, 0
	call	traffic_upload_create
	mov	QWORD PTR -354864[rbp], rax
	mov	rdx, QWORD PTR -354864[rbp]
	lea	rax, -688[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	mov	rax, QWORD PTR -354864[rbp]
	mov	rdi, rax
	call	free@PLT
	lea	rdi, .LC20[rip]
	call	puts@PLT
	mov	DWORD PTR -354968[rbp], -95
	mov	esi, 2
	lea	rdi, .LC21[rip]
	call	access@PLT
	test	eax, eax
	jne	.L31
	lea	rsi, .LC22[rip]
	lea	rdi, .LC21[rip]
	call	fopen@PLT
	mov	QWORD PTR -354856[rbp], rax
	cmp	QWORD PTR -354856[rbp], 0
	jne	.L32
	lea	rdi, .LC23[rip]
	call	perror@PLT
.L32:
	lea	rdx, -354968[rbp]
	mov	rax, QWORD PTR -354856[rbp]
	lea	rsi, .LC24[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	mov	rax, QWORD PTR -354856[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, DWORD PTR -354968[rbp]
	mov	esi, eax
	lea	rdi, .LC25[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L33
.L31:
	lea	rdi, .LC26[rip]
	call	puts@PLT
.L33:
	lea	rdi, .LC27[rip]
	call	puts@PLT
	mov	DWORD PTR -354964[rbp], 0
	mov	esi, 2
	lea	rdi, .LC28[rip]
	call	access@PLT
	test	eax, eax
	jne	.L34
	lea	rsi, .LC22[rip]
	lea	rdi, .LC28[rip]
	call	fopen@PLT
	mov	QWORD PTR -354856[rbp], rax
	cmp	QWORD PTR -354856[rbp], 0
	jne	.L35
	lea	rdi, .LC29[rip]
	call	perror@PLT
.L35:
	lea	rdx, -354964[rbp]
	mov	rax, QWORD PTR -354856[rbp]
	lea	rsi, .LC24[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	mov	rax, QWORD PTR -354856[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, DWORD PTR -354964[rbp]
	mov	esi, eax
	lea	rdi, .LC30[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L36
.L34:
	lea	rdi, .LC31[rip]
	call	puts@PLT
.L36:
	mov	eax, DWORD PTR -354964[rbp]
	cmp	eax, 1
	jne	.L37
	lea	rdi, .LC32[rip]
	call	puts@PLT
	lea	rax, -354888[rbp]
	mov	rsi, rax
	lea	rdi, .LC33[rip]
	call	sqlite3_open@PLT
	mov	DWORD PTR -354932[rbp], eax
	cmp	DWORD PTR -354932[rbp], 0
	je	.L38
	lea	rdi, .LC34[rip]
	call	puts@PLT
.L38:
	lea	rax, -272[rbp]
	mov	edx, 250
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	lea	rax, -272[rbp]
	lea	rsi, .LC35[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	mov	rax, QWORD PTR -354888[rbp]
	lea	rdx, -354880[rbp]
	lea	rsi, -272[rbp]
	mov	r8d, 0
	mov	rcx, rdx
	mov	edx, -1
	mov	rdi, rax
	call	sqlite3_prepare@PLT
	mov	DWORD PTR -354932[rbp], eax
	cmp	DWORD PTR -354932[rbp], 0
	je	.L39
	mov	rax, QWORD PTR -354888[rbp]
	mov	rdi, rax
	call	sqlite3_errmsg@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC36[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L39:
	mov	rax, QWORD PTR -354880[rbp]
	mov	rdi, rax
	call	sqlite3_step@PLT
	mov	DWORD PTR -354932[rbp], eax
	jmp	.L40
.L41:
	mov	rax, QWORD PTR -354880[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	sqlite3_column_text@PLT
	mov	QWORD PTR -354872[rbp], rax
	lea	rcx, -354832[rbp]
	mov	eax, DWORD PTR -354928[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	add	rax, rdx
	add	rax, rax
	lea	rdx, [rcx+rax]
	mov	rax, QWORD PTR -354872[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	call	strcpy@PLT
	add	DWORD PTR -354928[rbp], 1
	mov	rax, QWORD PTR -354880[rbp]
	mov	rdi, rax
	call	sqlite3_step@PLT
	mov	DWORD PTR -354932[rbp], eax
.L40:
	cmp	DWORD PTR -354932[rbp], 100
	je	.L41
	mov	rax, QWORD PTR -354880[rbp]
	mov	rdi, rax
	call	sqlite3_finalize@PLT
	mov	rax, QWORD PTR -354888[rbp]
	mov	rdi, rax
	call	sqlite3_close@PLT
	jmp	.L42
.L37:
	lea	rdi, .LC37[rip]
	call	puts@PLT
.L42:
	mov	edx, 0
	mov	esi, 2
	mov	edi, 2
	call	socket@PLT
	mov	DWORD PTR -354908[rbp], eax
	cmp	DWORD PTR -354908[rbp], 0
	jns	.L43
	lea	rdi, .LC38[rip]
	call	perror@PLT
	jmp	.L30
.L43:
	lea	rax, -354848[rbp]
	mov	QWORD PTR [rax], 0
	mov	QWORD PTR 8[rax], 0
	mov	WORD PTR -354848[rbp], 2
	mov	edi, 0
	call	htonl@PLT
	mov	DWORD PTR -354844[rbp], eax
	mov	edi, 10608
	call	htons@PLT
	mov	WORD PTR -354846[rbp], ax
	lea	rcx, -354848[rbp]
	mov	eax, DWORD PTR -354908[rbp]
	mov	edx, 16
	mov	rsi, rcx
	mov	edi, eax
	call	bind@PLT
	test	eax, eax
	jns	.L45
	lea	rdi, .LC39[rip]
	call	perror@PLT
	jmp	.L30
.L45:
	lea	rax, -271024[rbp]
	mov	edx, 270000
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	lea	rax, -331024[rbp]
	mov	edx, 60000
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	lea	rdi, .LC40[rip]
	call	puts@PLT
.L83:
	mov	edi, 0
	call	time@PLT
	add	eax, 28800
	mov	DWORD PTR -354900[rbp], eax
	mov	edx, DWORD PTR -354900[rbp]
	mov	eax, DWORD PTR -354912[rbp]
	mov	esi, eax
	lea	rdi, .LC41[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -354940[rbp], 0
.L66:
	lea	rax, -1008[rbp]
	mov	edx, 18
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	lea	rax, -1013[rbp]
	mov	edx, 5
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	lea	rax, -976[rbp]
	mov	edx, 18
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	lea	rax, -944[rbp]
	mov	edx, 128
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	DWORD PTR -354948[rbp], 0
	mov	DWORD PTR -354944[rbp], 0
	lea	rcx, -354972[rbp]
	lea	rdx, -354848[rbp]
	lea	rsi, -944[rbp]
	mov	eax, DWORD PTR -354908[rbp]
	mov	r9, rcx
	mov	r8, rdx
	mov	ecx, 0
	mov	edx, 128
	mov	edi, eax
	call	recvfrom@PLT
	mov	DWORD PTR -354904[rbp], eax
	cmp	DWORD PTR -354904[rbp], 49
	jle	.L46
	mov	DWORD PTR -354924[rbp], 0
	movzx	eax, BYTE PTR -924[rbp]
	movsx	eax, al
	movzx	edi, al
	movzx	eax, BYTE PTR -925[rbp]
	movsx	eax, al
	movzx	esi, al
	movzx	eax, BYTE PTR -926[rbp]
	movsx	eax, al
	movzx	r9d, al
	movzx	eax, BYTE PTR -927[rbp]
	movsx	eax, al
	movzx	r8d, al
	movzx	eax, BYTE PTR -928[rbp]
	movsx	eax, al
	movzx	ecx, al
	movzx	eax, BYTE PTR -929[rbp]
	movsx	eax, al
	movzx	edx, al
	lea	rax, -1008[rbp]
	push	rdi
	push	rsi
	lea	rsi, .LC42[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	add	rsp, 16
	movzx	eax, BYTE PTR -917[rbp]
	movsx	eax, al
	movzx	ecx, al
	movzx	eax, BYTE PTR -918[rbp]
	movsx	eax, al
	movzx	edx, al
	lea	rax, -1013[rbp]
	lea	rsi, .LC43[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	movzx	eax, BYTE PTR -918[rbp]
	movsx	eax, al
	movzx	eax, al
	sal	eax, 8
	mov	edx, eax
	movzx	eax, BYTE PTR -917[rbp]
	movsx	eax, al
	movzx	eax, al
	add	eax, edx
	mov	DWORD PTR -354896[rbp], eax
	mov	eax, DWORD PTR -354896[rbp]
	mov	edi, eax
	call	get_dbm
	mov	DWORD PTR -354892[rbp], eax
	mov	edi, 0
	call	time@PLT
	add	eax, 28800
	mov	DWORD PTR -354960[rbp], eax
	mov	esi, DWORD PTR -354960[rbp]
	mov	ecx, DWORD PTR -354892[rbp]
	lea	rdx, -1013[rbp]
	lea	rax, -1008[rbp]
	mov	r8d, esi
	mov	rsi, rax
	lea	rdi, .LC44[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -354968[rbp]
	cmp	DWORD PTR -354892[rbp], eax
	jge	.L47
	cmp	DWORD PTR -354892[rbp], -99
	jl	.L47
	mov	eax, DWORD PTR -354968[rbp]
	mov	esi, eax
	lea	rdi, .LC45[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L48
.L47:
	mov	eax, DWORD PTR -354968[rbp]
	mov	esi, eax
	lea	rdi, .LC46[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -354964[rbp]
	cmp	eax, 1
	jne	.L49
	mov	DWORD PTR -354928[rbp], 0
	jmp	.L50
.L53:
	lea	rcx, -354832[rbp]
	mov	eax, DWORD PTR -354928[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	add	rax, rdx
	add	rax, rax
	add	rax, rcx
	mov	rdi, rax
	call	strlen@PLT
	cmp	rax, 3
	jbe	.L86
	lea	rcx, -354832[rbp]
	mov	eax, DWORD PTR -354928[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	add	rax, rdx
	add	rax, rax
	lea	rdx, [rcx+rax]
	lea	rax, -1008[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	call	strcmp@PLT
	test	eax, eax
	jne	.L52
	mov	DWORD PTR -354924[rbp], 1
	jmp	.L49
.L52:
	add	DWORD PTR -354928[rbp], 1
.L50:
	cmp	DWORD PTR -354928[rbp], 99
	jle	.L53
	jmp	.L49
.L86:
	nop
.L49:
	cmp	DWORD PTR -354924[rbp], 1
	jne	.L54
	lea	rdi, .LC47[rip]
	call	puts@PLT
	jmp	.L48
.L54:
	mov	DWORD PTR -354952[rbp], 0
	jmp	.L55
.L60:
	lea	rcx, -271024[rbp]
	mov	eax, DWORD PTR -354952[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	add	rax, rdx
	add	rax, rax
	add	rax, rcx
	mov	rdi, rax
	call	strlen@PLT
	cmp	rax, 3
	ja	.L56
	mov	eax, DWORD PTR -354952[rbp]
	mov	esi, eax
	lea	rdi, .LC48[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L57
.L56:
	lea	rcx, -271024[rbp]
	mov	eax, DWORD PTR -354952[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	add	rax, rdx
	add	rax, rax
	lea	rdx, [rcx+rax]
	lea	rax, -1008[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	call	strcmp@PLT
	test	eax, eax
	jne	.L58
	mov	DWORD PTR -354948[rbp], 1
	lea	rdi, .LC49[rip]
	call	puts@PLT
	mov	eax, DWORD PTR -354952[rbp]
	cdqe
	mov	edx, DWORD PTR -331024[rbp+rax*4]
	mov	eax, DWORD PTR -354960[rbp]
	sub	eax, edx
	cmp	eax, 179
	jle	.L87
	mov	DWORD PTR -354944[rbp], 1
	jmp	.L87
.L58:
	add	DWORD PTR -354952[rbp], 1
.L55:
	cmp	DWORD PTR -354952[rbp], 14999
	jle	.L60
	jmp	.L57
.L87:
	nop
.L57:
	cmp	DWORD PTR -354948[rbp], 0
	jne	.L61
	lea	rcx, -271024[rbp]
	mov	eax, DWORD PTR -354956[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	add	rax, rdx
	add	rax, rax
	lea	rdx, [rcx+rax]
	lea	rax, -1008[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	call	strcpy@PLT
	mov	eax, DWORD PTR -354956[rbp]
	cdqe
	mov	edx, DWORD PTR -354960[rbp]
	mov	DWORD PTR -331024[rbp+rax*4], edx
	lea	rcx, -349024[rbp]
	mov	eax, DWORD PTR -354940[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	add	rax, rdx
	add	rax, rax
	lea	rdx, [rcx+rax]
	lea	rax, -1008[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	call	strcpy@PLT
	mov	eax, DWORD PTR -354940[rbp]
	cdqe
	mov	edx, DWORD PTR -354960[rbp]
	mov	DWORD PTR -353024[rbp+rax*4], edx
	mov	edx, DWORD PTR -354940[rbp]
	mov	eax, DWORD PTR -354956[rbp]
	mov	esi, eax
	lea	rdi, .LC50[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -354956[rbp], 1
	add	DWORD PTR -354940[rbp], 1
	cmp	DWORD PTR -354956[rbp], 15000
	jne	.L61
	mov	DWORD PTR -354956[rbp], 0
.L61:
	cmp	DWORD PTR -354944[rbp], 1
	jne	.L46
	lea	rdi, .LC51[rip]
	call	puts@PLT
	mov	eax, DWORD PTR -354952[rbp]
	cdqe
	mov	edx, DWORD PTR -354960[rbp]
	mov	DWORD PTR -331024[rbp+rax*4], edx
	mov	eax, DWORD PTR -354940[rbp]
	mov	esi, eax
	lea	rdi, .LC52[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rcx, -349024[rbp]
	mov	eax, DWORD PTR -354940[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	add	rax, rdx
	add	rax, rax
	lea	rdx, [rcx+rax]
	lea	rax, -1008[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	call	strcpy@PLT
	mov	eax, DWORD PTR -354940[rbp]
	cdqe
	mov	edx, DWORD PTR -354960[rbp]
	mov	DWORD PTR -353024[rbp+rax*4], edx
	add	DWORD PTR -354940[rbp], 1
.L46:
	cmp	DWORD PTR -354904[rbp], 20
	jle	.L62
	cmp	DWORD PTR -354904[rbp], 29
	jg	.L62
	lea	rdi, .LC53[rip]
	call	puts@PLT
	movzx	eax, BYTE PTR -937[rbp]
	movsx	eax, al
	movzx	edi, al
	movzx	eax, BYTE PTR -938[rbp]
	movsx	eax, al
	movzx	esi, al
	movzx	eax, BYTE PTR -939[rbp]
	movsx	eax, al
	movzx	r9d, al
	movzx	eax, BYTE PTR -940[rbp]
	movsx	eax, al
	movzx	r8d, al
	movzx	eax, BYTE PTR -941[rbp]
	movsx	eax, al
	movzx	ecx, al
	movzx	eax, BYTE PTR -942[rbp]
	movsx	eax, al
	movzx	edx, al
	lea	rax, -976[rbp]
	push	rdi
	push	rsi
	lea	rsi, .LC42[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	add	rsp, 16
	cmp	DWORD PTR -354920[rbp], 0
	jne	.L63
	lea	rdi, .LC54[rip]
	call	puts@PLT
	lea	rax, -976[rbp]
	mov	rdi, rax
	call	mac_log
	mov	DWORD PTR -354920[rbp], 1
.L63:
	movzx	eax, BYTE PTR -937[rbp]
	movsx	edi, al
	movzx	eax, BYTE PTR -938[rbp]
	movsx	esi, al
	movzx	eax, BYTE PTR -939[rbp]
	movsx	r9d, al
	movzx	eax, BYTE PTR -940[rbp]
	movsx	r8d, al
	movzx	eax, BYTE PTR -941[rbp]
	movsx	ecx, al
	movzx	eax, BYTE PTR -942[rbp]
	movsx	edx, al
	lea	rax, -816[rbp]
	push	rdi
	push	rsi
	lea	rsi, .LC55[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	add	rsp, 16
	mov	eax, DWORD PTR -354972[rbp]
	mov	ecx, eax
	lea	rdx, -354848[rbp]
	lea	rsi, -816[rbp]
	mov	eax, DWORD PTR -354908[rbp]
	mov	r9d, ecx
	mov	r8, rdx
	mov	ecx, 0
	mov	edx, 18
	mov	edi, eax
	call	sendto@PLT
	cmp	rax, -1
	jne	.L62
	lea	rdi, .LC56[rip]
	call	perror@PLT
.L62:
	cmp	DWORD PTR -354940[rbp], 1000
	jne	.L64
	lea	rdi, .LC57[rip]
	call	puts@PLT
	jmp	.L65
.L64:
	mov	eax, DWORD PTR -354960[rbp]
	sub	eax, DWORD PTR -354900[rbp]
	cmp	eax, 60
	jle	.L66
	lea	rdi, .LC58[rip]
	call	puts@PLT
	jmp	.L65
.L48:
	jmp	.L66
.L65:
	cmp	DWORD PTR -354940[rbp], 0
	jne	.L67
	lea	rdi, .LC59[rip]
	call	puts@PLT
	jmp	.L68
.L67:
	mov	eax, DWORD PTR -354940[rbp]
	mov	esi, eax
	lea	rdi, .LC60[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -354888[rbp]
	mov	rsi, rax
	lea	rdi, .LC61[rip]
	call	sqlite3_open@PLT
	mov	DWORD PTR -354932[rbp], eax
	cmp	DWORD PTR -354932[rbp], 0
	je	.L69
	lea	rdi, .LC62[rip]
	call	puts@PLT
	jmp	.L68
.L69:
	mov	DWORD PTR -354936[rbp], 0
	jmp	.L70
.L75:
	mov	DWORD PTR -354916[rbp], 0
	jmp	.L71
.L74:
	mov	rdx, QWORD PTR -354888[rbp]
	mov	eax, DWORD PTR -354936[rbp]
	cdqe
	mov	ecx, DWORD PTR -353024[rbp+rax*4]
	lea	rdi, -349024[rbp]
	mov	eax, DWORD PTR -354936[rbp]
	movsx	rsi, eax
	mov	rax, rsi
	sal	rax, 3
	add	rax, rsi
	add	rax, rax
	add	rax, rdi
	mov	esi, ecx
	mov	rdi, rax
	call	traffic_collect
	test	eax, eax
	je	.L88
	lea	rdi, .LC63[rip]
	call	puts@PLT
	mov	edi, 200
	call	usleep@PLT
	add	DWORD PTR -354916[rbp], 1
.L71:
	cmp	DWORD PTR -354916[rbp], 19
	jle	.L74
	jmp	.L73
.L88:
	nop
.L73:
	add	DWORD PTR -354936[rbp], 1
.L70:
	mov	eax, DWORD PTR -354936[rbp]
	cmp	eax, DWORD PTR -354940[rbp]
	jl	.L75
	mov	rax, QWORD PTR -354888[rbp]
	mov	rdi, rax
	call	sqlite3_close@PLT
	mov	eax, DWORD PTR -354940[rbp]
	mov	esi, eax
	lea	rdi, .LC64[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -354888[rbp]
	mov	rsi, rax
	lea	rdi, .LC65[rip]
	call	sqlite3_open@PLT
	mov	DWORD PTR -354932[rbp], eax
	cmp	DWORD PTR -354932[rbp], 0
	je	.L76
	lea	rdi, .LC66[rip]
	call	puts@PLT
	jmp	.L68
.L76:
	mov	DWORD PTR -354936[rbp], 0
	jmp	.L77
.L82:
	mov	DWORD PTR -354916[rbp], 0
	jmp	.L78
.L81:
	mov	rdx, QWORD PTR -354888[rbp]
	mov	eax, DWORD PTR -354936[rbp]
	cdqe
	mov	ecx, DWORD PTR -353024[rbp+rax*4]
	lea	rdi, -349024[rbp]
	mov	eax, DWORD PTR -354936[rbp]
	movsx	rsi, eax
	mov	rax, rsi
	sal	rax, 3
	add	rax, rsi
	add	rax, rax
	add	rax, rdi
	mov	esi, ecx
	mov	rdi, rax
	call	traffic_total_collect
	test	eax, eax
	je	.L89
	lea	rdi, .LC67[rip]
	call	puts@PLT
	mov	edi, 200
	call	usleep@PLT
	add	DWORD PTR -354916[rbp], 1
.L78:
	cmp	DWORD PTR -354916[rbp], 19
	jle	.L81
	jmp	.L80
.L89:
	nop
.L80:
	add	DWORD PTR -354936[rbp], 1
.L77:
	mov	eax, DWORD PTR -354936[rbp]
	cmp	eax, DWORD PTR -354940[rbp]
	jl	.L82
	mov	rax, QWORD PTR -354888[rbp]
	mov	rdi, rax
	call	sqlite3_close@PLT
	add	DWORD PTR -354912[rbp], 1
	mov	ecx, DWORD PTR -354912[rbp]
	movsx	rax, ecx
	imul	rax, rax, 1717986919
	shr	rax, 32
	sar	eax, 2
	mov	esi, ecx
	sar	esi, 31
	sub	eax, esi
	mov	edx, eax
	mov	eax, edx
	sal	eax, 2
	add	eax, edx
	add	eax, eax
	sub	ecx, eax
	mov	edx, ecx
	test	edx, edx
	jne	.L83
	lea	rdi, .LC68[rip]
	call	puts@PLT
	lea	rdx, -688[rbp]
	lea	rax, -480[rbp]
	lea	rsi, .LC69[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	lea	rax, -480[rbp]
	mov	rdi, rax
	call	system@PLT
.L68:
	jmp	.L83
.L30:
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L85
	call	__stack_chk_fail@PLT
.L85:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	ap_socket, .-ap_socket
	.globl	get_time
	.type	get_time, @function
get_time:
.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, 48
	mov	DWORD PTR -36[rbp], edi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -24[rbp]
	mov	rdi, rax
	call	time@PLT
	lea	rax, -24[rbp]
	mov	rdi, rax
	call	localtime@PLT
	mov	QWORD PTR -16[rbp], rax
	cmp	DWORD PTR -36[rbp], 5
	ja	.L91
	mov	eax, DWORD PTR -36[rbp]
	lea	rdx, 0[0+rax*4]
	lea	rax, .L93[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L93[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L93:
	.long	.L91-.L93
	.long	.L97-.L93
	.long	.L96-.L93
	.long	.L95-.L93
	.long	.L94-.L93
	.long	.L92-.L93
	.text
.L97:
	mov	rax, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR 20[rax]
	add	eax, 1900
	jmp	.L99
.L96:
	mov	rax, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR 16[rax]
	add	eax, 1
	jmp	.L99
.L95:
	mov	rax, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR 12[rax]
	jmp	.L99
.L94:
	mov	rax, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR 8[rax]
	jmp	.L99
.L92:
	mov	rax, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR 4[rax]
	jmp	.L99
.L91:
	mov	eax, 1
.L99:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L100
	call	__stack_chk_fail@PLT
.L100:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE15:
	.size	get_time, .-get_time
	.section	.rodata
.LC70:
	.string	"open traffic.db error!"
.LC71:
	.string	"open staff.db erro!"
	.align 8
.LC72:
	.string	"select distinct mobile from traffic_info where mobile in (select mobile from traffic_info group by mobile having count(mobile) > 4)"
.LC73:
	.string	"SQL error:%s\n"
	.align 8
.LC74:
	.string	"no staff mac found in traffic.db!"
.LC75:
	.string	"staff_mac : %s\n"
	.align 8
.LC76:
	.string	"select * from staff_info where mobile ='%s'"
	.align 8
.LC77:
	.string	"staff_mac : exist in staff.db, update time"
	.align 8
.LC78:
	.string	"update staff_info set time='%d' where mobile='%s'"
	.align 8
.LC79:
	.string	"staff_mac : new, insert into staff.db!"
	.align 8
.LC80:
	.string	"insert into staff_info (mobile, time) values('%s', %d)"
	.align 8
.LC81:
	.string	"insert/update staff.db error:%s\n"
	.text
	.globl	record_staff
	.type	record_staff, @function
record_staff:
.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, 336
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -328[rbp], 0
	mov	DWORD PTR -324[rbp], 0
	mov	QWORD PTR -280[rbp], 0
	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	QWORD PTR -296[rbp], 0
	mov	QWORD PTR -288[rbp], 0
	lea	rax, -312[rbp]
	mov	rsi, rax
	lea	rdi, .LC61[rip]
	call	sqlite3_open@PLT
	mov	DWORD PTR -328[rbp], eax
	cmp	DWORD PTR -328[rbp], 0
	je	.L102
	lea	rdi, .LC70[rip]
	call	puts@PLT
	mov	rax, QWORD PTR -312[rbp]
	mov	rdi, rax
	call	sqlite3_close@PLT
	jmp	.L101
.L102:
	lea	rax, -304[rbp]
	mov	rsi, rax
	lea	rdi, .LC33[rip]
	call	sqlite3_open@PLT
	mov	DWORD PTR -324[rbp], eax
	cmp	DWORD PTR -324[rbp], 0
	je	.L104
	lea	rdi, .LC71[rip]
	call	puts@PLT
	mov	rax, QWORD PTR -304[rbp]
	mov	rdi, rax
	call	sqlite3_close@PLT
	jmp	.L101
.L104:
	lea	rax, -272[rbp]
	mov	edx, 250
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	lea	rax, -272[rbp]
	lea	rsi, .LC72[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	mov	rax, QWORD PTR -312[rbp]
	lea	rdx, -296[rbp]
	lea	rsi, -272[rbp]
	mov	r8d, 0
	mov	rcx, rdx
	mov	edx, -1
	mov	rdi, rax
	call	sqlite3_prepare@PLT
	mov	DWORD PTR -328[rbp], eax
	cmp	DWORD PTR -328[rbp], 0
	je	.L105
	mov	rax, QWORD PTR -312[rbp]
	mov	rdi, rax
	call	sqlite3_errmsg@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC73[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L101
.L105:
	mov	rax, QWORD PTR -296[rbp]
	mov	rdi, rax
	call	sqlite3_step@PLT
	mov	DWORD PTR -328[rbp], eax
	cmp	DWORD PTR -328[rbp], 100
	je	.L107
	lea	rdi, .LC74[rip]
	call	puts@PLT
	mov	rax, QWORD PTR -296[rbp]
	mov	rdi, rax
	call	sqlite3_finalize@PLT
	mov	rax, QWORD PTR -312[rbp]
	mov	rdi, rax
	call	sqlite3_close@PLT
	mov	rax, QWORD PTR -304[rbp]
	mov	rdi, rax
	call	sqlite3_close@PLT
	jmp	.L101
.L112:
	mov	rax, QWORD PTR -296[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	sqlite3_column_text@PLT
	mov	QWORD PTR -280[rbp], rax
	mov	rax, QWORD PTR -280[rbp]
	mov	rsi, rax
	lea	rdi, .LC75[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -272[rbp]
	mov	edx, 250
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	rdx, QWORD PTR -280[rbp]
	lea	rax, -272[rbp]
	lea	rsi, .LC76[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	mov	rax, QWORD PTR -304[rbp]
	lea	rdx, -288[rbp]
	lea	rsi, -272[rbp]
	mov	r8d, 0
	mov	rcx, rdx
	mov	edx, -1
	mov	rdi, rax
	call	sqlite3_prepare@PLT
	mov	DWORD PTR -324[rbp], eax
	cmp	DWORD PTR -324[rbp], 0
	je	.L108
	mov	rax, QWORD PTR -304[rbp]
	mov	rdi, rax
	call	sqlite3_errmsg@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC73[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L108:
	mov	rax, QWORD PTR -288[rbp]
	mov	rdi, rax
	call	sqlite3_step@PLT
	mov	DWORD PTR -324[rbp], eax
	cmp	DWORD PTR -324[rbp], 100
	jne	.L109
	lea	rdi, .LC77[rip]
	call	puts@PLT
	lea	rax, -272[rbp]
	mov	edx, 250
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	edi, 0
	call	time@PLT
	mov	rsi, rax
	mov	rdx, QWORD PTR -280[rbp]
	lea	rax, -272[rbp]
	mov	rcx, rdx
	mov	rdx, rsi
	lea	rsi, .LC78[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	jmp	.L110
.L109:
	lea	rdi, .LC79[rip]
	call	puts@PLT
	lea	rax, -272[rbp]
	mov	edx, 250
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	edi, 0
	call	time@PLT
	mov	rcx, rax
	mov	rdx, QWORD PTR -280[rbp]
	lea	rax, -272[rbp]
	lea	rsi, .LC80[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
.L110:
	mov	rax, QWORD PTR -304[rbp]
	lea	rdx, -320[rbp]
	lea	rsi, -272[rbp]
	mov	r8, rdx
	mov	ecx, 0
	mov	edx, 0
	mov	rdi, rax
	call	sqlite3_exec@PLT
	mov	DWORD PTR -324[rbp], eax
	cmp	DWORD PTR -324[rbp], 0
	je	.L111
	mov	rax, QWORD PTR -320[rbp]
	mov	rsi, rax
	lea	rdi, .LC81[rip]
	mov	eax, 0
	call	printf@PLT
.L111:
	mov	rax, QWORD PTR -296[rbp]
	mov	rdi, rax
	call	sqlite3_step@PLT
	mov	DWORD PTR -328[rbp], eax
.L107:
	cmp	DWORD PTR -328[rbp], 100
	je	.L112
	mov	rax, QWORD PTR -296[rbp]
	mov	rdi, rax
	call	sqlite3_finalize@PLT
	mov	rax, QWORD PTR -288[rbp]
	mov	rdi, rax
	call	sqlite3_finalize@PLT
	mov	rax, QWORD PTR -312[rbp]
	mov	rdi, rax
	call	sqlite3_close@PLT
	mov	rax, QWORD PTR -304[rbp]
	mov	rdi, rax
	call	sqlite3_close@PLT
.L101:
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L114
	call	__stack_chk_fail@PLT
.L114:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE16:
	.size	record_staff, .-record_staff
	.section	.rodata
.LC82:
	.string	"/ailvgo/www/database/box.db"
.LC83:
	.string	"open box.db failed"
.LC84:
	.string	"box_id : %s\n"
.LC85:
	.string	"select box_id failure!"
.LC86:
	.string	"get box_id failure!"
.LC87:
	.string	"null"
.LC88:
	.string	"%s_%4d%02d%02d.db"
.LC89:
	.string	"db_filename for upload : %s\n"
.LC90:
	.string	"/ailvgo/system/traffic/%s"
	.align 8
.LC91:
	.string	"db_filename_full for upload : %s\n"
.LC92:
	.string	"creating %s for upload\n"
	.align 8
.LC93:
	.string	"cp -f /ailvgo/system/traffic/traffic.db %s"
.LC94:
	.string	"shell_cmd : %s\n"
.LC95:
	.string	"Cannot open boxid_date.db:%s\n"
.LC96:
	.string	"delete from traffic_info"
.LC97:
	.string	"delete boxid_date.db success!"
	.align 8
.LC98:
	.string	"delete boxid_date.db error:%s\n"
.LC99:
	.string	"vacuum traffic_info"
.LC100:
	.string	"vacuum boxid_date.db success!"
	.align 8
.LC101:
	.string	"vacuum boxid_date.db error:%s\n"
	.align 8
.LC102:
	.string	"%s : exist, don't need create!\n"
	.text
	.globl	traffic_upload_create
	.type	traffic_upload_create, @function
traffic_upload_create:
.LFB17:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r12
	push	rbx
	sub	rsp, 416
	.cfi_offset 12, -24
	.cfi_offset 3, -32
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -428[rbp], 0
	mov	QWORD PTR -424[rbp], 0
	mov	QWORD PTR -416[rbp], 0
	mov	QWORD PTR -336[rbp], 0
	mov	QWORD PTR -328[rbp], 0
	mov	QWORD PTR -320[rbp], 0
	mov	QWORD PTR -312[rbp], 0
	mov	QWORD PTR -304[rbp], 0
	mov	QWORD PTR -296[rbp], 0
	mov	QWORD PTR -288[rbp], 0
	mov	QWORD PTR -280[rbp], 0
	mov	QWORD PTR -272[rbp], 0
	mov	QWORD PTR -264[rbp], 0
	mov	QWORD PTR -256[rbp], 0
	mov	QWORD PTR -248[rbp], 0
	mov	DWORD PTR -240[rbp], 0
	mov	QWORD PTR -408[rbp], 0
	mov	QWORD PTR -400[rbp], 0
	mov	QWORD PTR -378[rbp], 0
	mov	WORD PTR -370[rbp], 0
	mov	QWORD PTR -368[rbp], 0
	mov	QWORD PTR -360[rbp], 0
	mov	DWORD PTR -352[rbp], 0
	mov	edi, 200
	call	malloc@PLT
	mov	QWORD PTR -392[rbp], rax
	mov	QWORD PTR -224[rbp], 0
	mov	QWORD PTR -216[rbp], 0
	mov	QWORD PTR -208[rbp], 0
	mov	QWORD PTR -200[rbp], 0
	mov	QWORD PTR -192[rbp], 0
	mov	QWORD PTR -184[rbp], 0
	mov	QWORD PTR -176[rbp], 0
	mov	QWORD PTR -168[rbp], 0
	mov	QWORD PTR -160[rbp], 0
	mov	QWORD PTR -152[rbp], 0
	mov	QWORD PTR -144[rbp], 0
	mov	QWORD PTR -136[rbp], 0
	mov	QWORD PTR -128[rbp], 0
	mov	QWORD PTR -120[rbp], 0
	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	DWORD PTR -432[rbp], 0
	jmp	.L116
.L120:
	lea	rax, -424[rbp]
	mov	rsi, rax
	lea	rdi, .LC82[rip]
	call	sqlite3_open@PLT
	mov	DWORD PTR -428[rbp], eax
	cmp	DWORD PTR -428[rbp], 1
	jne	.L117
	lea	rdi, .LC83[rip]
	mov	eax, 0
	call	printf@PLT
.L117:
	mov	QWORD PTR -416[rbp], 0
	lea	rax, -336[rbp]
	mov	edx, 100
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	lea	rax, -336[rbp]
	movabs	rbx, 7070779385223865715
	movabs	rsi, 8243311783584954479
	mov	QWORD PTR [rax], rbx
	mov	QWORD PTR 8[rax], rsi
	movabs	rbx, 7592919916552940911
	mov	QWORD PTR 16[rax], rbx
	mov	DWORD PTR 24[rax], 7300718
	mov	rax, QWORD PTR -424[rbp]
	lea	rdx, -416[rbp]
	lea	rsi, -336[rbp]
	mov	r8d, 0
	mov	rcx, rdx
	mov	edx, -1
	mov	rdi, rax
	call	sqlite3_prepare@PLT
	mov	rax, QWORD PTR -416[rbp]
	mov	rdi, rax
	call	sqlite3_step@PLT
	mov	DWORD PTR -428[rbp], eax
	cmp	DWORD PTR -428[rbp], 100
	jne	.L118
	mov	rax, QWORD PTR -416[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	sqlite3_column_text@PLT
	mov	QWORD PTR -400[rbp], rax
	mov	rdx, QWORD PTR -400[rbp]
	lea	rax, -378[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	lea	rax, -378[rbp]
	mov	rsi, rax
	lea	rdi, .LC84[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -416[rbp]
	mov	rdi, rax
	call	sqlite3_finalize@PLT
	mov	rax, QWORD PTR -424[rbp]
	mov	rdi, rax
	call	sqlite3_close@PLT
	jmp	.L119
.L118:
	lea	rdi, .LC85[rip]
	call	puts@PLT
	mov	rax, QWORD PTR -416[rbp]
	mov	rdi, rax
	call	sqlite3_finalize@PLT
	mov	rax, QWORD PTR -424[rbp]
	mov	rdi, rax
	call	sqlite3_close@PLT
	mov	edi, 3
	call	sleep@PLT
	add	DWORD PTR -432[rbp], 1
.L116:
	cmp	DWORD PTR -432[rbp], 19
	jle	.L120
.L119:
	lea	rax, -378[rbp]
	mov	rdi, rax
	call	strlen@PLT
	cmp	rax, 3
	ja	.L121
	lea	rdi, .LC86[rip]
	call	puts@PLT
	mov	rax, QWORD PTR -392[rbp]
	mov	rdi, rax
	call	free@PLT
	lea	rax, .LC87[rip]
	jmp	.L135
.L121:
	mov	edi, 3
	call	get_time
	mov	r12d, eax
	mov	edi, 2
	call	get_time
	mov	ebx, eax
	mov	edi, 1
	call	get_time
	mov	ecx, eax
	lea	rdx, -378[rbp]
	lea	rax, -368[rbp]
	mov	r9d, r12d
	mov	r8d, ebx
	lea	rsi, .LC88[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	lea	rax, -368[rbp]
	mov	rsi, rax
	lea	rdi, .LC89[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdx, -368[rbp]
	mov	rax, QWORD PTR -392[rbp]
	lea	rsi, .LC90[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	mov	rax, QWORD PTR -392[rbp]
	mov	rsi, rax
	lea	rdi, .LC91[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -392[rbp]
	mov	esi, 2
	mov	rdi, rax
	call	access@PLT
	cmp	eax, -1
	jne	.L123
	lea	rax, -368[rbp]
	mov	rsi, rax
	lea	rdi, .LC92[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rdx, QWORD PTR -392[rbp]
	lea	rax, -224[rbp]
	lea	rsi, .LC93[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	lea	rax, -224[rbp]
	mov	rsi, rax
	lea	rdi, .LC94[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -224[rbp]
	mov	rdi, rax
	call	system@PLT
	mov	edi, 1
	call	sleep@PLT
	mov	DWORD PTR -432[rbp], 0
	jmp	.L124
.L128:
	lea	rdx, -424[rbp]
	mov	rax, QWORD PTR -392[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	sqlite3_open@PLT
	mov	DWORD PTR -428[rbp], eax
	cmp	DWORD PTR -428[rbp], 0
	je	.L125
	mov	rax, QWORD PTR -424[rbp]
	mov	rdi, rax
	call	sqlite3_errmsg@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC95[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L125:
	mov	rax, QWORD PTR -424[rbp]
	lea	rdx, -408[rbp]
	mov	r8, rdx
	mov	ecx, 0
	mov	edx, 0
	lea	rsi, .LC96[rip]
	mov	rdi, rax
	call	sqlite3_exec@PLT
	mov	DWORD PTR -428[rbp], eax
	cmp	DWORD PTR -428[rbp], 0
	jne	.L126
	lea	rdi, .LC97[rip]
	call	puts@PLT
	mov	rax, QWORD PTR -424[rbp]
	mov	rdi, rax
	call	sqlite3_close@PLT
	jmp	.L127
.L126:
	mov	rax, QWORD PTR -408[rbp]
	mov	rsi, rax
	lea	rdi, .LC98[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -424[rbp]
	mov	rdi, rax
	call	sqlite3_close@PLT
	mov	edi, 2
	call	sleep@PLT
	add	DWORD PTR -432[rbp], 1
.L124:
	cmp	DWORD PTR -432[rbp], 19
	jle	.L128
.L127:
	mov	DWORD PTR -432[rbp], 0
	jmp	.L129
.L133:
	lea	rdx, -424[rbp]
	mov	rax, QWORD PTR -392[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	sqlite3_open@PLT
	mov	DWORD PTR -428[rbp], eax
	cmp	DWORD PTR -428[rbp], 0
	je	.L130
	mov	rax, QWORD PTR -424[rbp]
	mov	rdi, rax
	call	sqlite3_errmsg@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC95[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L130:
	mov	rax, QWORD PTR -424[rbp]
	lea	rdx, -408[rbp]
	mov	r8, rdx
	mov	ecx, 0
	mov	edx, 0
	lea	rsi, .LC99[rip]
	mov	rdi, rax
	call	sqlite3_exec@PLT
	mov	DWORD PTR -428[rbp], eax
	cmp	DWORD PTR -428[rbp], 0
	jne	.L131
	lea	rdi, .LC100[rip]
	call	puts@PLT
	mov	rax, QWORD PTR -424[rbp]
	mov	rdi, rax
	call	sqlite3_close@PLT
	jmp	.L134
.L131:
	mov	rax, QWORD PTR -408[rbp]
	mov	rsi, rax
	lea	rdi, .LC101[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -424[rbp]
	mov	rdi, rax
	call	sqlite3_close@PLT
	mov	edi, 2
	call	sleep@PLT
	add	DWORD PTR -432[rbp], 1
.L129:
	cmp	DWORD PTR -432[rbp], 19
	jle	.L133
	jmp	.L134
.L123:
	lea	rax, -368[rbp]
	mov	rsi, rax
	lea	rdi, .LC102[rip]
	mov	eax, 0
	call	printf@PLT
.L134:
	mov	rax, QWORD PTR -392[rbp]
.L135:
	mov	rcx, QWORD PTR -24[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L136
	call	__stack_chk_fail@PLT
.L136:
	add	rsp, 416
	pop	rbx
	pop	r12
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE17:
	.size	traffic_upload_create, .-traffic_upload_create
	.section	.rodata
.LC103:
	.string	"traffic_total.db : not exist!"
.LC104:
	.string	"traffic_total.db : exist!"
	.align 8
.LC105:
	.string	"creat traffic_total.db using traffic.db"
	.align 8
.LC106:
	.string	"cp -f /ailvgo/system/traffic/traffic.db /ailvgo/system/traffic/traffic_total.db"
.LC107:
	.string	"Cannot open traffic_total.db!"
.LC108:
	.string	"DROP TABLE traffic_info"
	.align 8
.LC109:
	.string	"drop table in traffic_total.db success!"
	.align 8
.LC110:
	.string	"drop table in traffic_total.db failure!"
	.align 8
.LC111:
	.string	"CREATE TABLE traffic_total (mobile TEXT, time INTEGER)"
	.align 8
.LC112:
	.string	"create table in traffic_total.db success!"
	.align 8
.LC113:
	.string	"create table in traffic_total.db failure!"
.LC114:
	.string	"delete from traffic_total"
	.align 8
.LC115:
	.string	"delete traffic_total.db success!"
	.align 8
.LC116:
	.string	"delete traffic_total.db failure!"
.LC117:
	.string	"vacuum traffic_total"
	.align 8
.LC118:
	.string	"vacuum traffic_total.db success!"
	.align 8
.LC119:
	.string	"vacuum traffic_total.db failure!"
	.text
	.globl	traffic_total_check
	.type	traffic_total_check, @function
traffic_total_check:
.LFB18:
	.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	DWORD PTR -36[rbp], 0
	mov	DWORD PTR -28[rbp], 0
	mov	QWORD PTR -24[rbp], 0
	mov	QWORD PTR -16[rbp], 0
	mov	DWORD PTR -32[rbp], 0
	mov	esi, 2
	lea	rdi, .LC65[rip]
	call	access@PLT
	cmp	eax, -1
	jne	.L138
	lea	rdi, .LC103[rip]
	call	puts@PLT
	lea	rdi, .LC103[rip]
	call	sys_log
	mov	DWORD PTR -36[rbp], 0
	jmp	.L139
.L138:
	lea	rdi, .LC104[rip]
	call	puts@PLT
	mov	DWORD PTR -36[rbp], 1
.L139:
	cmp	DWORD PTR -36[rbp], 0
	jne	.L140
	lea	rdi, .LC105[rip]
	call	puts@PLT
	lea	rdi, .LC106[rip]
	call	puts@PLT
	lea	rdi, .LC106[rip]
	call	system@PLT
	mov	edi, 1
	call	sleep@PLT
	mov	DWORD PTR -32[rbp], 0
	jmp	.L141
.L145:
	lea	rax, -24[rbp]
	mov	rsi, rax
	lea	rdi, .LC65[rip]
	call	sqlite3_open@PLT
	mov	DWORD PTR -28[rbp], eax
	cmp	DWORD PTR -28[rbp], 0
	je	.L142
	lea	rdi, .LC107[rip]
	call	puts@PLT
.L142:
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, -16[rbp]
	mov	r8, rdx
	mov	ecx, 0
	mov	edx, 0
	lea	rsi, .LC108[rip]
	mov	rdi, rax
	call	sqlite3_exec@PLT
	mov	DWORD PTR -28[rbp], eax
	cmp	DWORD PTR -28[rbp], 0
	jne	.L143
	lea	rdi, .LC109[rip]
	call	puts@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	sqlite3_close@PLT
	jmp	.L144
.L143:
	lea	rdi, .LC110[rip]
	call	puts@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	sqlite3_close@PLT
	mov	edi, 1
	call	sleep@PLT
	add	DWORD PTR -32[rbp], 1
.L141:
	cmp	DWORD PTR -32[rbp], 19
	jle	.L145
.L144:
	mov	DWORD PTR -32[rbp], 0
	jmp	.L146
.L150:
	lea	rax, -24[rbp]
	mov	rsi, rax
	lea	rdi, .LC65[rip]
	call	sqlite3_open@PLT
	mov	DWORD PTR -28[rbp], eax
	cmp	DWORD PTR -28[rbp], 0
	je	.L147
	lea	rdi, .LC107[rip]
	call	puts@PLT
.L147:
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, -16[rbp]
	mov	r8, rdx
	mov	ecx, 0
	mov	edx, 0
	lea	rsi, .LC111[rip]
	mov	rdi, rax
	call	sqlite3_exec@PLT
	mov	DWORD PTR -28[rbp], eax
	cmp	DWORD PTR -28[rbp], 0
	jne	.L148
	lea	rdi, .LC112[rip]
	call	puts@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	sqlite3_close@PLT
	jmp	.L151
.L148:
	lea	rdi, .LC113[rip]
	call	puts@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	sqlite3_close@PLT
	mov	edi, 1
	call	sleep@PLT
	add	DWORD PTR -32[rbp], 1
.L146:
	cmp	DWORD PTR -32[rbp], 19
	jle	.L150
	jmp	.L162
.L140:
	mov	DWORD PTR -32[rbp], 0
	jmp	.L152
.L156:
	lea	rax, -24[rbp]
	mov	rsi, rax
	lea	rdi, .LC65[rip]
	call	sqlite3_open@PLT
	mov	DWORD PTR -28[rbp], eax
	cmp	DWORD PTR -28[rbp], 0
	je	.L153
	lea	rdi, .LC107[rip]
	call	puts@PLT
.L153:
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, -16[rbp]
	mov	r8, rdx
	mov	ecx, 0
	mov	edx, 0
	lea	rsi, .LC114[rip]
	mov	rdi, rax
	call	sqlite3_exec@PLT
	mov	DWORD PTR -28[rbp], eax
	cmp	DWORD PTR -28[rbp], 0
	jne	.L154
	lea	rdi, .LC115[rip]
	call	puts@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	sqlite3_close@PLT
	jmp	.L155
.L154:
	lea	rdi, .LC116[rip]
	call	puts@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	sqlite3_close@PLT
	mov	edi, 1
	call	sleep@PLT
	add	DWORD PTR -32[rbp], 1
.L152:
	cmp	DWORD PTR -32[rbp], 19
	jle	.L156
.L155:
	mov	DWORD PTR -32[rbp], 0
	jmp	.L157
.L160:
	lea	rax, -24[rbp]
	mov	rsi, rax
	lea	rdi, .LC65[rip]
	call	sqlite3_open@PLT
	mov	DWORD PTR -28[rbp], eax
	cmp	DWORD PTR -28[rbp], 0
	je	.L158
	lea	rdi, .LC107[rip]
	call	puts@PLT
.L158:
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, -16[rbp]
	mov	r8, rdx
	mov	ecx, 0
	mov	edx, 0
	lea	rsi, .LC117[rip]
	mov	rdi, rax
	call	sqlite3_exec@PLT
	mov	DWORD PTR -28[rbp], eax
	cmp	DWORD PTR -28[rbp], 0
	jne	.L159
	lea	rdi, .LC118[rip]
	call	puts@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	sqlite3_close@PLT
	jmp	.L151
.L159:
	lea	rdi, .LC119[rip]
	call	puts@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	sqlite3_close@PLT
	mov	edi, 1
	call	sleep@PLT
	add	DWORD PTR -32[rbp], 1
.L157:
	cmp	DWORD PTR -32[rbp], 19
	jle	.L160
	jmp	.L162
.L151:
.L162:
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L161
	call	__stack_chk_fail@PLT
.L161:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE18:
	.size	traffic_total_check, .-traffic_total_check
	.section	.rodata
	.align 8
.LC120:
	.string	"/ailvgo/system/traffic/traffic_saved.db"
.LC121:
	.string	"traffic_saved.db : not exist!"
.LC122:
	.string	"traffic_saved.db : exist!"
	.align 8
.LC123:
	.string	"creat traffic_saved.db using traffic.db"
	.align 8
.LC124:
	.string	"cp -f /ailvgo/system/traffic/traffic.db /ailvgo/system/traffic/traffic_saved.db"
.LC125:
	.string	"Cannot open traffic_saved.db!"
	.align 8
.LC126:
	.string	"drop table in traffic_saved.db success!"
	.align 8
.LC127:
	.string	"drop table in traffic_saved.db failure!"
	.align 8
.LC128:
	.string	"CREATE TABLE traffic_saved (traffic TEXT, time INTEGER)"
	.align 8
.LC129:
	.string	"create table in traffic_saved.db success!"
	.align 8
.LC130:
	.string	"create table in traffic_saved.db failure!"
.LC131:
	.string	"vacuum traffic_saved"
	.align 8
.LC132:
	.string	"vacumm traffic_saved.db success!"
	.align 8
.LC133:
	.string	"vacuum traffic_saved.db failure!"
	.text
	.globl	traffic_saved_check
	.type	traffic_saved_check, @function
traffic_saved_check:
.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, 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -36[rbp], 0
	mov	DWORD PTR -28[rbp], 0
	mov	QWORD PTR -24[rbp], 0
	mov	QWORD PTR -16[rbp], 0
	mov	DWORD PTR -32[rbp], 0
	mov	esi, 2
	lea	rdi, .LC120[rip]
	call	access@PLT
	cmp	eax, -1
	jne	.L164
	lea	rdi, .LC121[rip]
	call	puts@PLT
	lea	rdi, .LC121[rip]
	call	sys_log
	mov	DWORD PTR -36[rbp], 0
	jmp	.L165
.L164:
	lea	rdi, .LC122[rip]
	call	puts@PLT
	mov	DWORD PTR -36[rbp], 1
.L165:
	cmp	DWORD PTR -36[rbp], 0
	jne	.L166
	lea	rdi, .LC123[rip]
	call	puts@PLT
	lea	rdi, .LC124[rip]
	call	puts@PLT
	lea	rdi, .LC124[rip]
	call	system@PLT
	mov	edi, 1
	call	sleep@PLT
	mov	DWORD PTR -32[rbp], 0
	jmp	.L167
.L171:
	lea	rax, -24[rbp]
	mov	rsi, rax
	lea	rdi, .LC120[rip]
	call	sqlite3_open@PLT
	mov	DWORD PTR -28[rbp], eax
	cmp	DWORD PTR -28[rbp], 0
	je	.L168
	lea	rdi, .LC125[rip]
	call	puts@PLT
.L168:
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, -16[rbp]
	mov	r8, rdx
	mov	ecx, 0
	mov	edx, 0
	lea	rsi, .LC108[rip]
	mov	rdi, rax
	call	sqlite3_exec@PLT
	mov	DWORD PTR -28[rbp], eax
	cmp	DWORD PTR -28[rbp], 0
	jne	.L169
	lea	rdi, .LC126[rip]
	call	puts@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	sqlite3_close@PLT
	jmp	.L170
.L169:
	lea	rdi, .LC127[rip]
	call	puts@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	sqlite3_close@PLT
	mov	edi, 1
	call	sleep@PLT
	add	DWORD PTR -32[rbp], 1
.L167:
	cmp	DWORD PTR -32[rbp], 19
	jle	.L171
.L170:
	mov	DWORD PTR -32[rbp], 0
	jmp	.L172
.L176:
	lea	rax, -24[rbp]
	mov	rsi, rax
	lea	rdi, .LC120[rip]
	call	sqlite3_open@PLT
	mov	DWORD PTR -28[rbp], eax
	cmp	DWORD PTR -28[rbp], 0
	je	.L173
	lea	rdi, .LC125[rip]
	call	puts@PLT
.L173:
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, -16[rbp]
	mov	r8, rdx
	mov	ecx, 0
	mov	edx, 0
	lea	rsi, .LC128[rip]
	mov	rdi, rax
	call	sqlite3_exec@PLT
	mov	DWORD PTR -28[rbp], eax
	cmp	DWORD PTR -28[rbp], 0
	jne	.L174
	lea	rdi, .LC129[rip]
	call	puts@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	sqlite3_close@PLT
	jmp	.L177
.L174:
	lea	rdi, .LC130[rip]
	call	puts@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	sqlite3_close@PLT
	mov	edi, 1
	call	sleep@PLT
	add	DWORD PTR -32[rbp], 1
.L172:
	cmp	DWORD PTR -32[rbp], 19
	jle	.L176
	jmp	.L183
.L166:
	mov	DWORD PTR -32[rbp], 0
	jmp	.L178
.L181:
	lea	rax, -24[rbp]
	mov	rsi, rax
	lea	rdi, .LC120[rip]
	call	sqlite3_open@PLT
	mov	DWORD PTR -28[rbp], eax
	cmp	DWORD PTR -28[rbp], 0
	je	.L179
	lea	rdi, .LC125[rip]
	call	puts@PLT
.L179:
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, -16[rbp]
	mov	r8, rdx
	mov	ecx, 0
	mov	edx, 0
	lea	rsi, .LC131[rip]
	mov	rdi, rax
	call	sqlite3_exec@PLT
	mov	DWORD PTR -28[rbp], eax
	cmp	DWORD PTR -28[rbp], 0
	jne	.L180
	lea	rdi, .LC132[rip]
	call	puts@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	sqlite3_close@PLT
	jmp	.L177
.L180:
	lea	rdi, .LC133[rip]
	call	puts@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	sqlite3_close@PLT
	mov	edi, 1
	call	sleep@PLT
	add	DWORD PTR -32[rbp], 1
.L178:
	cmp	DWORD PTR -32[rbp], 19
	jle	.L181
	jmp	.L183
.L177:
.L183:
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L182
	call	__stack_chk_fail@PLT
.L182:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE19:
	.size	traffic_saved_check, .-traffic_saved_check
	.section	.rodata
.LC134:
	.string	"traffic.db not exist!"
.LC135:
	.string	"open traffic.db failure!"
	.align 8
.LC136:
	.string	"select count(*) from traffic_info"
.LC137:
	.string	"number in traffic.db : %ld\n"
	.align 8
.LC138:
	.string	"select count(*) in traffic.db failure!"
	.align 8
.LC139:
	.string	"traffic.db : undelete records!"
	.align 8
.LC140:
	.string	"traffic.db : record staff mac!"
	.align 8
.LC141:
	.string	"delete from traffic_info where time in (select time from traffic_info order by time asc limit 0, %ld)"
.LC142:
	.string	"delete traffic.db success!"
.LC143:
	.string	"delete traffic.db failure!"
.LC144:
	.string	"vacuum traffic.db success!"
.LC145:
	.string	"vacuum traffic.db failure!"
	.text
	.globl	traffic_check
	.type	traffic_check, @function
traffic_check:
.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, 256
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -252[rbp], 0
	mov	QWORD PTR -224[rbp], 0
	mov	QWORD PTR -216[rbp], 0
	mov	QWORD PTR -232[rbp], 0
	mov	DWORD PTR -256[rbp], 0
	mov	QWORD PTR -208[rbp], 0
	mov	QWORD PTR -200[rbp], 0
	mov	QWORD PTR -192[rbp], 0
	mov	QWORD PTR -184[rbp], 0
	mov	QWORD PTR -176[rbp], 0
	mov	QWORD PTR -168[rbp], 0
	mov	QWORD PTR -160[rbp], 0
	mov	QWORD PTR -152[rbp], 0
	mov	QWORD PTR -144[rbp], 0
	mov	QWORD PTR -136[rbp], 0
	mov	QWORD PTR -128[rbp], 0
	mov	QWORD PTR -120[rbp], 0
	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	QWORD PTR -16[rbp], 0
	mov	esi, 2
	lea	rdi, .LC61[rip]
	call	access@PLT
	cmp	eax, -1
	jne	.L185
	lea	rdi, .LC134[rip]
	call	puts@PLT
	lea	rdi, .LC134[rip]
	call	sys_log
.L185:
	mov	DWORD PTR -256[rbp], 0
	jmp	.L186
.L190:
	lea	rax, -248[rbp]
	mov	rsi, rax
	lea	rdi, .LC61[rip]
	call	sqlite3_open@PLT
	mov	DWORD PTR -252[rbp], eax
	cmp	DWORD PTR -252[rbp], 0
	je	.L187
	lea	rdi, .LC135[rip]
	call	puts@PLT
.L187:
	mov	rax, QWORD PTR -248[rbp]
	lea	rdx, -232[rbp]
	mov	r8d, 0
	mov	rcx, rdx
	mov	edx, -1
	lea	rsi, .LC136[rip]
	mov	rdi, rax
	call	sqlite3_prepare@PLT
	mov	rax, QWORD PTR -232[rbp]
	mov	rdi, rax
	call	sqlite3_step@PLT
	mov	DWORD PTR -252[rbp], eax
	cmp	DWORD PTR -252[rbp], 100
	jne	.L188
	mov	rax, QWORD PTR -232[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	sqlite3_column_int@PLT
	cdqe
	mov	QWORD PTR -224[rbp], rax
	mov	rax, QWORD PTR -224[rbp]
	mov	rsi, rax
	lea	rdi, .LC137[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -232[rbp]
	mov	rdi, rax
	call	sqlite3_finalize@PLT
	mov	rax, QWORD PTR -248[rbp]
	mov	rdi, rax
	call	sqlite3_close@PLT
	jmp	.L189
.L188:
	lea	rdi, .LC138[rip]
	call	puts@PLT
	mov	rax, QWORD PTR -232[rbp]
	mov	rdi, rax
	call	sqlite3_finalize@PLT
	mov	rax, QWORD PTR -248[rbp]
	mov	rdi, rax
	call	sqlite3_close@PLT
	mov	edi, 1
	call	sleep@PLT
	add	DWORD PTR -256[rbp], 1
.L186:
	cmp	DWORD PTR -256[rbp], 19
	jle	.L190
.L189:
	cmp	QWORD PTR -224[rbp], 9999
	jg	.L191
	lea	rdi, .LC139[rip]
	call	puts@PLT
	jmp	.L203
.L191:
	lea	rdi, .LC140[rip]
	call	puts@PLT
	mov	rax, QWORD PTR -224[rbp]
	sub	rax, 500
	mov	QWORD PTR -216[rbp], rax
	mov	DWORD PTR -256[rbp], 0
	jmp	.L193
.L197:
	lea	rax, -248[rbp]
	mov	rsi, rax
	lea	rdi, .LC61[rip]
	call	sqlite3_open@PLT
	mov	DWORD PTR -252[rbp], eax
	cmp	DWORD PTR -252[rbp], 0
	je	.L194
	lea	rdi, .LC135[rip]
	call	puts@PLT
.L194:
	mov	rdx, QWORD PTR -216[rbp]
	lea	rax, -208[rbp]
	lea	rsi, .LC141[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	mov	rax, QWORD PTR -248[rbp]
	lea	rdx, -240[rbp]
	lea	rsi, -208[rbp]
	mov	r8, rdx
	mov	ecx, 0
	mov	edx, 0
	mov	rdi, rax
	call	sqlite3_exec@PLT
	mov	DWORD PTR -252[rbp], eax
	cmp	DWORD PTR -252[rbp], 0
	jne	.L195
	lea	rdi, .LC142[rip]
	call	puts@PLT
	mov	rax, QWORD PTR -248[rbp]
	mov	rdi, rax
	call	sqlite3_close@PLT
	jmp	.L196
.L195:
	lea	rdi, .LC143[rip]
	call	puts@PLT
	mov	rax, QWORD PTR -248[rbp]
	mov	rdi, rax
	call	sqlite3_close@PLT
	mov	edi, 1
	call	sleep@PLT
	add	DWORD PTR -256[rbp], 1
.L193:
	cmp	DWORD PTR -256[rbp], 19
	jle	.L197
.L196:
	mov	DWORD PTR -256[rbp], 0
	jmp	.L198
.L201:
	lea	rax, -248[rbp]
	mov	rsi, rax
	lea	rdi, .LC61[rip]
	call	sqlite3_open@PLT
	mov	DWORD PTR -252[rbp], eax
	cmp	DWORD PTR -252[rbp], 0
	je	.L199
	lea	rdi, .LC135[rip]
	call	puts@PLT
.L199:
	lea	rax, -208[rbp]
	mov	edx, 200
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	lea	rax, -208[rbp]
	lea	rsi, .LC99[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	mov	rax, QWORD PTR -248[rbp]
	lea	rdx, -240[rbp]
	lea	rsi, -208[rbp]
	mov	r8, rdx
	mov	ecx, 0
	mov	edx, 0
	mov	rdi, rax
	call	sqlite3_exec@PLT
	mov	DWORD PTR -252[rbp], eax
	cmp	DWORD PTR -252[rbp], 0
	jne	.L200
	lea	rdi, .LC144[rip]
	call	puts@PLT
	mov	rax, QWORD PTR -248[rbp]
	mov	rdi, rax
	call	sqlite3_close@PLT
	nop
	jmp	.L203
.L200:
	lea	rdi, .LC145[rip]
	call	puts@PLT
	mov	rax, QWORD PTR -248[rbp]
	mov	rdi, rax
	call	sqlite3_close@PLT
	mov	edi, 1
	call	sleep@PLT
	add	DWORD PTR -256[rbp], 1
.L198:
	cmp	DWORD PTR -256[rbp], 19
	jle	.L201
.L203:
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L202
	call	__stack_chk_fail@PLT
.L202:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE20:
	.size	traffic_check, .-traffic_check
	.section	.rodata
	.align 8
.LC0:
	.long	0
	.long	1073741824
	.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	"155539.c"
	.text
	.global	__aeabi_i2d
	.global	__aeabi_dmul
	.global	__aeabi_dadd
	.global	__aeabi_d2iz
	.section	.rodata
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	get_dbm
	.syntax unified
	.arm
	.fpu softvfp
	.type	get_dbm, %function
get_dbm:
	@ args = 0, pretend = 0, frame = 96
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #96
	str	r0, [fp, #-104]
	ldr	r3, .L10
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r3, [fp, #-104]
	sub	r3, r3, #1
	str	r3, [fp, #-96]
	mov	r3, #0
	str	r3, [fp, #-92]
	mov	r3, #0
	str	r3, [fp, #-88]
	b	.L2
.L3:
	ldr	r3, [fp, #-88]
	rsb	r1, r3, #15
	ldr	r3, [fp, #-96]
	cmp	r3, #0
	and	r3, r3, #1
	rsblt	r3, r3, #0
	mov	r2, r3
	lsl	r3, r1, #2
	sub	r1, fp, #12
	add	r3, r1, r3
	str	r2, [r3, #-68]
	ldr	r3, [fp, #-96]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	str	r3, [fp, #-96]
	ldr	r3, [fp, #-88]
	add	r3, r3, #1
	str	r3, [fp, #-88]
.L2:
	ldr	r3, [fp, #-88]
	cmp	r3, #16
	bne	.L3
	mov	r3, #15
	str	r3, [fp, #-88]
	b	.L4
.L5:
	ldr	r3, [fp, #-88]
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r3, [r3, #-68]
	cmp	r3, #0
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	mov	r2, r3
	ldr	r3, [fp, #-88]
	lsl	r3, r3, #2
	sub	r1, fp, #12
	add	r3, r1, r3
	str	r2, [r3, #-68]
	ldr	r3, [fp, #-88]
	sub	r3, r3, #1
	str	r3, [fp, #-88]
.L4:
	ldr	r3, [fp, #-88]
	cmp	r3, #0
	bne	.L5
	mov	r3, #15
	str	r3, [fp, #-88]
	mov	r3, #0
	str	r3, [fp, #-84]
	b	.L6
.L7:
	ldr	r3, [fp, #-88]
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r3, [r3, #-68]
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r4, r0
	mov	r5, r1
	ldr	r0, [fp, #-84]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, #0
	mov	r1, #1073741824
	bl	pow
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r0, [fp, #-92]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	str	r3, [fp, #-92]
	ldr	r3, [fp, #-88]
	sub	r3, r3, #1
	str	r3, [fp, #-88]
	ldr	r3, [fp, #-84]
	add	r3, r3, #1
	str	r3, [fp, #-84]
.L6:
	ldr	r3, [fp, #-88]
	cmp	r3, #0
	bne	.L7
	ldr	r3, [fp, #-92]
	rsb	r3, r3, #0
	ldr	r2, .L10
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L9
	bl	__stack_chk_fail
.L9:
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L11:
	.align	2
.L10:
	.word	.LC0
	.size	get_dbm, .-get_dbm
	.section	.rodata
	.align	2
.LC1:
	.ascii	"w\000"
	.align	2
.LC2:
	.ascii	"/ailvgo/system/traffic/wifi_mac\000"
	.text
	.align	2
	.global	mac_log
	.syntax unified
	.arm
	.fpu softvfp
	.type	mac_log, %function
mac_log:
	@ 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	r1, .L13
	ldr	r0, .L13+4
	bl	fopen
	str	r0, [fp, #-8]
	ldr	r1, [fp, #-8]
	ldr	r0, [fp, #-16]
	bl	fputs
	ldr	r0, [fp, #-8]
	bl	fclose
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L14:
	.align	2
.L13:
	.word	.LC1
	.word	.LC2
	.size	mac_log, .-mac_log
	.section	.rodata
	.align	2
.LC3:
	.ascii	"a\000"
	.align	2
.LC4:
	.ascii	"/ailvgo/system/log/sys_log\000"
	.align	2
.LC5:
	.ascii	"%s ----- %s\012\000"
	.align	2
.LC6:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	sys_log
	.syntax unified
	.arm
	.fpu softvfp
	.type	sys_log, %function
sys_log:
	@ args = 0, pretend = 0, frame = 128
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #128
	str	r0, [fp, #-128]
	ldr	r3, .L17
	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	r3, #0
	str	r3, [fp, #-120]
	sub	r3, fp, #120
	mov	r0, r3
	bl	time
	sub	r3, fp, #120
	mov	r0, r3
	bl	localtime
	str	r0, [fp, #-116]
	ldr	r1, .L17+4
	ldr	r0, .L17+8
	bl	fopen
	str	r0, [fp, #-112]
	ldr	r0, [fp, #-116]
	bl	asctime
	mov	r2, r0
	sub	r0, fp, #108
	ldr	r3, [fp, #-128]
	ldr	r1, .L17+12
	bl	sprintf
	sub	r3, fp, #108
	ldr	r1, [fp, #-112]
	mov	r0, r3
	bl	fputs
	ldr	r0, [fp, #-112]
	bl	fclose
	nop
	ldr	r3, .L17
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L16
	bl	__stack_chk_fail
.L16:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L18:
	.align	2
.L17:
	.word	.LC6
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.size	sys_log, .-sys_log
	.section	.rodata
	.align	2
.LC7:
	.ascii	"----------traffic.db : check------------------\000"
	.align	2
.LC8:
	.ascii	"--------traffic_total.db : check------------\000"
	.align	2
.LC9:
	.ascii	"--------traffic_saved.db : check------------\000"
	.align	2
.LC10:
	.ascii	"udp_get over!\000"
	.align	2
.LC11:
	.ascii	"udp_get error\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	mov	r3, #0
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-8]
	ldr	r0, .L21
	bl	puts
	bl	traffic_check
	ldr	r0, .L21+4
	bl	puts
	bl	traffic_total_check
	ldr	r0, .L21+8
	bl	puts
	bl	traffic_saved_check
	bl	ap_socket
	ldr	r0, .L21+12
	bl	puts
	ldr	r0, .L21+16
	bl	sys_log
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L22:
	.align	2
.L21:
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.size	main, .-main
	.section	.rodata
	.align	2
.LC12:
	.ascii	"select time from traffic_total where mobile='%s'\000"
	.align	2
.LC13:
	.ascii	"insert into traffic_total (mobile,time) values('%s'"
	.ascii	",'%ld')\000"
	.align	2
.LC14:
	.ascii	"insert traffic_total.db error : %s\012\000"
	.align	2
.LC15:
	.ascii	"update traffic_total set time='%ld' where mobile='%"
	.ascii	"s'\000"
	.align	2
.LC16:
	.ascii	"update traffic_total.db error : %s\012\000"
	.align	2
.LC17:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	traffic_total_collect
	.syntax unified
	.arm
	.fpu softvfp
	.type	traffic_total_collect, %function
traffic_total_collect:
	@ args = 0, pretend = 0, frame = 288
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #296
	str	r0, [fp, #-280]
	str	r1, [fp, #-284]
	str	r2, [fp, #-288]
	ldr	r3, .L30
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-264]
	mov	r3, #0
	str	r3, [fp, #-260]
	sub	r3, fp, #256
	mov	r2, #246
	mov	r1, #0
	mov	r0, r3
	bl	memset
	mov	r3, #0
	str	r3, [fp, #-268]
	sub	r3, fp, #260
	mov	r2, #250
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #260
	ldr	r2, [fp, #-280]
	ldr	r1, .L30+4
	mov	r0, r3
	bl	sprintf
	sub	r3, fp, #268
	sub	r1, fp, #260
	mov	r2, #0
	str	r2, [sp]
	mvn	r2, #0
	ldr	r0, [fp, #-288]
	bl	sqlite3_prepare
	ldr	r3, [fp, #-268]
	mov	r0, r3
	bl	sqlite3_step
	str	r0, [fp, #-264]
	ldr	r3, [fp, #-264]
	cmp	r3, #100
	beq	.L24
	ldr	r3, [fp, #-268]
	mov	r0, r3
	bl	sqlite3_finalize
	sub	r3, fp, #260
	mov	r2, #250
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r0, fp, #260
	ldr	r3, [fp, #-284]
	ldr	r2, [fp, #-280]
	ldr	r1, .L30+8
	bl	sprintf
	sub	r1, fp, #260
	sub	r3, fp, #272
	str	r3, [sp]
	mov	r3, #0
	mov	r2, #0
	ldr	r0, [fp, #-288]
	bl	sqlite3_exec
	str	r0, [fp, #-264]
	ldr	r3, [fp, #-264]
	cmp	r3, #0
	beq	.L25
	ldr	r3, [fp, #-272]
	mov	r1, r3
	ldr	r0, .L30+12
	bl	printf
	mov	r3, #1
	b	.L28
.L25:
	mov	r3, #0
	b	.L28
.L24:
	ldr	r3, [fp, #-268]
	mov	r0, r3
	bl	sqlite3_finalize
	sub	r3, fp, #260
	mov	r2, #250
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r0, fp, #260
	ldr	r3, [fp, #-280]
	ldr	r2, [fp, #-284]
	ldr	r1, .L30+16
	bl	sprintf
	sub	r1, fp, #260
	sub	r3, fp, #272
	str	r3, [sp]
	mov	r3, #0
	mov	r2, #0
	ldr	r0, [fp, #-288]
	bl	sqlite3_exec
	str	r0, [fp, #-264]
	ldr	r3, [fp, #-264]
	cmp	r3, #0
	beq	.L27
	ldr	r3, [fp, #-272]
	mov	r1, r3
	ldr	r0, .L30+20
	bl	printf
	mov	r3, #2
	b	.L28
.L27:
	mov	r3, #0
.L28:
	ldr	r2, .L30
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L29
	bl	__stack_chk_fail
.L29:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L31:
	.align	2
.L30:
	.word	.LC17
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.size	traffic_total_collect, .-traffic_total_collect
	.section	.rodata
	.align	2
.LC18:
	.ascii	"select time from traffic_info where mobile='%s' ord"
	.ascii	"er by time desc limit 1\000"
	.align	2
.LC19:
	.ascii	"insert into traffic_info (mobile,time) values('%s',"
	.ascii	"'%ld')\000"
	.align	2
.LC20:
	.ascii	"insert traffic.db error : %s\012\000"
	.align	2
.LC21:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	traffic_collect
	.syntax unified
	.arm
	.fpu softvfp
	.type	traffic_collect, %function
traffic_collect:
	@ args = 0, pretend = 0, frame = 288
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #296
	str	r0, [fp, #-280]
	str	r1, [fp, #-284]
	str	r2, [fp, #-288]
	ldr	r3, .L40
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-268]
	mov	r3, #0
	str	r3, [fp, #-260]
	sub	r3, fp, #256
	mov	r2, #246
	mov	r1, #0
	mov	r0, r3
	bl	memset
	mov	r3, #0
	str	r3, [fp, #-264]
	mov	r3, #0
	str	r3, [fp, #-272]
	sub	r3, fp, #260
	mov	r2, #250
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #260
	ldr	r2, [fp, #-280]
	ldr	r1, .L40+4
	mov	r0, r3
	bl	sprintf
	sub	r3, fp, #272
	sub	r1, fp, #260
	mov	r2, #0
	str	r2, [sp]
	mvn	r2, #0
	ldr	r0, [fp, #-288]
	bl	sqlite3_prepare
	ldr	r3, [fp, #-272]
	mov	r0, r3
	bl	sqlite3_step
	str	r0, [fp, #-268]
	ldr	r3, [fp, #-268]
	cmp	r3, #100
	beq	.L33
	ldr	r3, [fp, #-272]
	mov	r0, r3
	bl	sqlite3_finalize
	sub	r3, fp, #260
	mov	r2, #250
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r0, fp, #260
	ldr	r3, [fp, #-284]
	ldr	r2, [fp, #-280]
	ldr	r1, .L40+8
	bl	sprintf
	sub	r1, fp, #260
	sub	r3, fp, #276
	str	r3, [sp]
	mov	r3, #0
	mov	r2, #0
	ldr	r0, [fp, #-288]
	bl	sqlite3_exec
	str	r0, [fp, #-268]
	ldr	r3, [fp, #-268]
	cmp	r3, #0
	beq	.L34
	ldr	r3, [fp, #-276]
	mov	r1, r3
	ldr	r0, .L40+12
	bl	printf
	mov	r3, #1
	b	.L38
.L34:
	mov	r3, #0
	b	.L38
.L33:
	ldr	r3, [fp, #-272]
	mov	r1, #0
	mov	r0, r3
	bl	sqlite3_column_int
	str	r0, [fp, #-264]
	ldr	r2, [fp, #-284]
	ldr	r3, [fp, #-264]
	sub	r3, r2, r3
	ldr	r2, .L40+16
	cmp	r3, r2
	ble	.L36
	ldr	r3, [fp, #-272]
	mov	r0, r3
	bl	sqlite3_finalize
	sub	r3, fp, #260
	mov	r2, #250
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r0, fp, #260
	ldr	r3, [fp, #-284]
	ldr	r2, [fp, #-280]
	ldr	r1, .L40+8
	bl	sprintf
	sub	r1, fp, #260
	sub	r3, fp, #276
	str	r3, [sp]
	mov	r3, #0
	mov	r2, #0
	ldr	r0, [fp, #-288]
	bl	sqlite3_exec
	str	r0, [fp, #-268]
	ldr	r3, [fp, #-268]
	cmp	r3, #0
	beq	.L37
	ldr	r3, [fp, #-276]
	mov	r1, r3
	ldr	r0, .L40+12
	bl	printf
	mov	r3, #2
	b	.L38
.L37:
	mov	r3, #0
	b	.L38
.L36:
	ldr	r3, [fp, #-272]
	mov	r0, r3
	bl	sqlite3_finalize
	mov	r3, #0
.L38:
	ldr	r2, .L40
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L39
	bl	__stack_chk_fail
.L39:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L41:
	.align	2
.L40:
	.word	.LC21
	.word	.LC18
	.word	.LC19
	.word	.LC20
	.word	43200
	.size	traffic_collect, .-traffic_collect
	.section	.rodata
	.align	2
.LC22:
	.ascii	"----------create boxid_date.db------------\000"
	.align	2
.LC23:
	.ascii	"--------------check wifi_dbm------------\000"
	.align	2
.LC24:
	.ascii	"/ailvgo/system/traffic/wifi_dbm\000"
	.align	2
.LC25:
	.ascii	"r\000"
	.align	2
.LC26:
	.ascii	"wifi_dbm open error!\012\000"
	.align	2
.LC27:
	.ascii	"%d\000"
	.align	2
.LC28:
	.ascii	"wifi_dbm : %d\012\000"
	.align	2
.LC29:
	.ascii	"wifi_dbm not found!\000"
	.align	2
.LC30:
	.ascii	"----------check staff_mac on/off---------\000"
	.align	2
.LC31:
	.ascii	"/ailvgo/system/traffic/staff_ctl\000"
	.align	2
.LC32:
	.ascii	"staff_ctl open error!\012\000"
	.align	2
.LC33:
	.ascii	"staff_ctl : %d\012\000"
	.align	2
.LC34:
	.ascii	"staff_ctrl not found!\000"
	.align	2
.LC35:
	.ascii	"staff mac control : on\000"
	.align	2
.LC36:
	.ascii	"/ailvgo/system/traffic/staff.db\000"
	.align	2
.LC37:
	.ascii	"open staff.db error!!!\000"
	.align	2
.LC38:
	.ascii	"select mobile from staff_info order by time desc li"
	.ascii	"mit 100\000"
	.align	2
.LC39:
	.ascii	"SQL error:%s \012\000"
	.align	2
.LC40:
	.ascii	"staff mac control : off\000"
	.align	2
.LC41:
	.ascii	"setup socket failure : \000"
	.align	2
.LC42:
	.ascii	"bind failure : \000"
	.align	2
.LC43:
	.ascii	"------------------udp_get : start-----------------\000"
	.align	2
.LC44:
	.ascii	"**********loop_cnt : %d | loop_t1 : %d ************"
	.ascii	"\012\000"
	.align	2
.LC45:
	.ascii	"%02x:%02x:%02x:%02x:%02x:%02x\000"
	.align	2
.LC46:
	.ascii	"%02x%02x\000"
	.align	2
.LC47:
	.ascii	"mac : %s  || signal : %s || dbm : %d || time : %d\012"
	.ascii	"\000"
	.align	2
.LC48:
	.ascii	"mac : invalid, signal less than %ddbm, skip!\012\000"
	.align	2
.LC49:
	.ascii	"mac : valid, signal greater that %ddbm!\012\000"
	.align	2
.LC50:
	.ascii	"mac : staff, skip!\000"
	.align	2
.LC51:
	.ascii	"buffer search stop @ %d\012\000"
	.align	2
.LC52:
	.ascii	"mac : exist in buffer!\000"
	.align	2
.LC53:
	.ascii	"mac : new | save in buffer_mac[%d], loop_mac[%d]\012"
	.ascii	"\000"
	.align	2
.LC54:
	.ascii	"mac : buffer time update!\000"
	.align	2
.LC55:
	.ascii	"mac : loop time update | save in loop_mac[%d]\012\000"
	.align	2
.LC56:
	.ascii	"receive heartbeat!\000"
	.align	2
.LC57:
	.ascii	"wifi_mac record**************\000"
	.align	2
.LC58:
	.ascii	"e\202%c%c%c%c%c%c\001\001\261\000\000\004\000\000\000"
	.ascii	"\000\000"
	.align	2
.LC59:
	.ascii	"response heartbeat failure : \000"
	.align	2
.LC60:
	.ascii	"~~~~~~~~~~~~~~~loop_mac full~~~~~~~~~~~~~~~\000"
	.align	2
.LC61:
	.ascii	"~~~~~~~~~~~~~~~~60s timeup~~~~~~~~~~~~~~~~~~\000"
	.align	2
.LC62:
	.ascii	"loop_mac is null!\000"
	.align	2
.LC63:
	.ascii	"saved loop_mac into traffic.db | %d\012\000"
	.align	2
.LC64:
	.ascii	"/ailvgo/system/traffic/traffic.db\000"
	.align	2
.LC65:
	.ascii	"open traffic.db error!!!!!!\000"
	.align	2
.LC66:
	.ascii	"collect in traffic.db failure!\000"
	.align	2
.LC67:
	.ascii	"saved loop_mac into traffic_total.db | %d\012\000"
	.align	2
.LC68:
	.ascii	"/ailvgo/system/traffic/traffic_total.db\000"
	.align	2
.LC69:
	.ascii	"open traffic_total.db error!!!!!!\000"
	.align	2
.LC70:
	.ascii	"collect in traffic_total.db failure!\000"
	.align	2
.LC71:
	.ascii	"------------move traffic_total.db to boxid_date.db-"
	.ascii	"--------\000"
	.align	2
.LC72:
	.ascii	"/ailvgo/system/traffic/udp_move %s &\000"
	.align	2
.LC73:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	ap_socket
	.syntax unified
	.arm
	.fpu softvfp
	.type	ap_socket, %function
ap_socket:
	@ args = 0, pretend = 0, frame = 354880
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #352256
	sub	sp, sp, #2640
	sub	sp, sp, #4
	ldr	r3, .L102+260
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #352256
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-2552]
	sub	r3, fp, #352256
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-2548]
	sub	r3, fp, #352256
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #16
	str	r3, [r2, #-2624]
	mov	r3, #0
	str	r3, [fp, #-924]
	sub	r3, fp, #920
	mov	r2, #124
	mov	r1, #0
	mov	r0, r3
	bl	memset
	mov	r3, #0
	str	r3, [fp, #-964]
	sub	r3, fp, #960
	mov	r2, #0
	str	r2, [r3]
	str	r2, [r3, #4]
	str	r2, [r3, #8]
	strh	r2, [r3, #12]	@ movhi
	mov	r3, #0
	str	r3, [fp, #-944]
	sub	r3, fp, #940
	mov	r2, #0
	str	r2, [r3]
	str	r2, [r3, #4]
	str	r2, [r3, #8]
	strh	r2, [r3, #12]	@ movhi
	mov	r3, #0
	str	r3, [fp, #-796]
	sub	r3, fp, #792
	mov	r2, #124
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #352256
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-2600]
	sub	r3, fp, #352256
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-2596]
	sub	r3, fp, #270336
	sub	r3, r3, #12
	sub	r3, r3, #624
	ldr	r2, .L102
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #352256
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-2544]
	sub	r3, fp, #348160
	sub	r3, r3, #12
	sub	r3, r3, #800
	ldr	r2, .L102+4
	mov	r1, #0
	mov	r0, r3
	bl	memset
	mov	r3, #0
	str	r3, [fp, #-972]
	mov	r3, #0
	strb	r3, [fp, #-968]
	sub	r3, fp, #352256
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-2540]
	sub	r3, fp, #352256
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-2536]
	sub	r3, fp, #352256
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-2576]
	mov	r3, #0
	str	r3, [fp, #-268]
	sub	r3, fp, #264
	mov	r2, #246
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #352256
	sub	r3, r3, #12
	sub	r3, r3, #2496
	sub	r3, r3, #8
	ldr	r2, .L102+8
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #352256
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-2532]
	sub	r3, fp, #352256
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-2572]
	sub	r3, fp, #352256
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-2568]
	sub	r3, fp, #352256
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-2564]
	sub	r3, fp, #352256
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-2620]
	sub	r3, fp, #352256
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-2616]
	sub	r3, fp, #352256
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-2556]
	mov	r3, #0
	str	r3, [fp, #-668]
	sub	r3, fp, #664
	mov	r2, #196
	mov	r1, #0
	mov	r0, r3
	bl	memset
	mov	r3, #0
	str	r3, [fp, #-468]
	sub	r3, fp, #464
	mov	r2, #196
	mov	r1, #0
	mov	r0, r3
	bl	memset
	ldr	r0, .L102+12
	bl	puts
	sub	r3, fp, #352256
	sub	r3, r3, #12
	mov	r4, r3
	bl	traffic_upload_create
	str	r0, [r4, #-2528]
	sub	r3, fp, #352256
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #668
	ldr	r1, [r2, #-2528]
	mov	r0, r3
	bl	strcpy
	sub	r3, fp, #352256
	sub	r3, r3, #12
	ldr	r0, [r3, #-2528]
	bl	free
	ldr	r0, .L102+16
	bl	puts
	sub	r3, fp, #352256
	sub	r3, r3, #12
	mov	r2, r3
	mvn	r3, #94
	str	r3, [r2, #-2612]
	mov	r1, #2
	ldr	r0, .L102+20
	bl	access
	mov	r3, r0
	cmp	r3, #0
	bne	.L43
	sub	r3, fp, #352256
	sub	r3, r3, #12
	mov	r4, r3
	ldr	r1, .L102+24
	ldr	r0, .L102+20
	bl	fopen
	str	r0, [r4, #-2524]
	sub	r3, fp, #352256
	sub	r3, r3, #12
	ldr	r3, [r3, #-2524]
	cmp	r3, #0
	bne	.L44
	ldr	r0, .L102+28
	bl	perror
.L44:
	ldr	r3, .L102+32
	sub	r2, fp, #12
	add	r3, r2, r3
	sub	r2, fp, #352256
	sub	r2, r2, #12
	mov	r0, r2
	mov	r2, r3
	ldr	r1, .L102+36
	ldr	r0, [r0, #-2524]
	bl	__isoc99_fscanf
	sub	r3, fp, #352256
	sub	r3, r3, #12
	ldr	r0, [r3, #-2524]
	bl	fclose
	sub	r3, fp, #352256
	sub	r3, r3, #12
	ldr	r3, [r3, #-2612]
	mov	r1, r3
	ldr	r0, .L102+40
	bl	printf
	b	.L45
.L43:
	ldr	r0, .L102+44
	bl	puts
.L45:
	ldr	r0, .L102+48
	bl	puts
	sub	r3, fp, #352256
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-2608]
	mov	r1, #2
	ldr	r0, .L102+52
	bl	access
	mov	r3, r0
	cmp	r3, #0
	bne	.L46
	sub	r3, fp, #352256
	sub	r3, r3, #12
	mov	r4, r3
	ldr	r1, .L102+24
	ldr	r0, .L102+52
	bl	fopen
	str	r0, [r4, #-2524]
	sub	r3, fp, #352256
	sub	r3, r3, #12
	ldr	r3, [r3, #-2524]
	cmp	r3, #0
	bne	.L47
	ldr	r0, .L102+56
	bl	perror
.L47:
	sub	r3, fp, #352256
	sub	r3, r3, #12
	sub	r3, r3, #2608
	sub	r2, fp, #352256
	sub	r2, r2, #12
	mov	r0, r2
	mov	r2, r3
	ldr	r1, .L102+36
	ldr	r0, [r0, #-2524]
	bl	__isoc99_fscanf
	sub	r3, fp, #352256
	sub	r3, r3, #12
	ldr	r0, [r3, #-2524]
	bl	fclose
	sub	r3, fp, #352256
	sub	r3, r3, #12
	ldr	r3, [r3, #-2608]
	mov	r1, r3
	ldr	r0, .L102+60
	bl	printf
	b	.L48
.L46:
	ldr	r0, .L102+64
	bl	puts
.L48:
	sub	r3, fp, #352256
	sub	r3, r3, #12
	ldr	r3, [r3, #-2608]
	cmp	r3, #1
	bne	.L49
	ldr	r0, .L102+68
	bl	puts
	sub	r3, fp, #352256
	sub	r3, r3, #12
	mov	r4, r3
	ldr	r3, .L102+232
	sub	r2, fp, #12
	add	r3, r2, r3
	mov	r1, r3
	ldr	r0, .L102+72
	bl	sqlite3_open
	str	r0, [r4, #-2576]
	sub	r3, fp, #352256
	sub	r3, r3, #12
	ldr	r3, [r3, #-2576]
	cmp	r3, #0
	beq	.L50
	ldr	r0, .L102+76
	bl	puts
.L50:
	sub	r3, fp, #268
	mov	r2, #250
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #268
	ldr	r1, .L102+80
	mov	r0, r3
	bl	sprintf
	sub	r3, fp, #352256
	sub	r3, r3, #12
	ldr	r0, [r3, #-2620]
	sub	r3, fp, #352256
	sub	r3, r3, #12
	mov	r4, r3
	ldr	r3, .L102+84
	sub	r2, fp, #12
	add	r3, r2, r3
	sub	r1, fp, #268
	mov	r2, #0
	str	r2, [sp]
	mvn	r2, #0
	bl	sqlite3_prepare
	str	r0, [r4, #-2576]
	sub	r3, fp, #352256
	sub	r3, r3, #12
	ldr	r3, [r3, #-2576]
	cmp	r3, #0
	beq	.L51
	ldr	r3, .L102+88
	ldr	r4, [r3]
	sub	r3, fp, #352256
	sub	r3, r3, #12
	ldr	r3, [r3, #-2620]
	mov	r0, r3
	bl	sqlite3_errmsg
	mov	r3, r0
	mov	r2, r3
	ldr	r1, .L102+92
	mov	r0, r4
	bl	fprintf
.L51:
	sub	r3, fp, #352256
	sub	r3, r3, #12
	ldr	r3, [r3, #-2616]
	sub	r2, fp, #352256
	sub	r2, r2, #12
	mov	r4, r2
	mov	r0, r3
	bl	sqlite3_step
	str	r0, [r4, #-2576]
	b	.L52
.L53:
	sub	r3, fp, #352256
	sub	r3, r3, #12
	ldr	r3, [r3, #-2616]
	sub	r2, fp, #352256
	sub	r2, r2, #12
	mov	r4, r2
	mov	r1, #0
	mov	r0, r3
	bl	sqlite3_column_text
	str	r0, [r4, #-2532]
	ldr	r2, .L102+96
	sub	r3, fp, #12
	add	r2, r3, r2
	sub	r3, fp, #352256
	sub	r3, r3, #12
	ldr	r1, [r3, #-2572]
	mov	r3, r1
	lsl	r3, r3, #3
	add	r3, r3, r1
	lsl	r3, r3, #1
	add	r3, r2, r3
	sub	r2, fp, #352256
	sub	r2, r2, #12
	ldr	r1, [r2, #-2532]
	mov	r0, r3
	bl	strcpy
	sub	r3, fp, #352256
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #352256
	sub	r3, r3, #12
	ldr	r3, [r3, #-2572]
	add	r3, r3, #1
	str	r3, [r2, #-2572]
	sub	r3, fp, #352256
	sub	r3, r3, #12
	ldr	r3, [r3, #-2616]
	sub	r2, fp, #352256
	sub	r2, r2, #12
	mov	r4, r2
	mov	r0, r3
	bl	sqlite3_step
	str	r0, [r4, #-2576]
.L52:
	sub	r3, fp, #352256
	sub	r3, r3, #12
	ldr	r3, [r3, #-2576]
	cmp	r3, #100
	beq	.L53
	sub	r3, fp, #352256
	sub	r3, r3, #12
	ldr	r3, [r3, #-2616]
	mov	r0, r3
	bl	sqlite3_finalize
	sub	r3, fp, #352256
	sub	r3, r3, #12
	ldr	r3, [r3, #-2620]
	mov	r0, r3
	bl	sqlite3_close
	b	.L54
.L49:
	ldr	r0, .L102+100
	bl	puts
.L54:
	sub	r3, fp, #352256
	sub	r3, r3, #12
	mov	r4, r3
	mov	r2, #0
	mov	r1, #2
	mov	r0, #2
	bl	socket
	str	r0, [r4, #-2552]
	sub	r3, fp, #352256
	sub	r3, r3, #12
	ldr	r3, [r3, #-2552]
	cmp	r3, #0
	bge	.L55
	ldr	r0, .L102+104
	bl	perror
	b	.L42
.L55:
	ldr	r3, .L102+192
	sub	r2, fp, #12
	add	r3, r2, r3
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2]
	str	r3, [r2, #4]
	str	r3, [r2, #8]
	str	r3, [r2, #12]
	sub	r3, fp, #352256
	sub	r3, r3, #12
	sub	r3, r3, #2512
	sub	r3, r3, #8
	mov	r2, #2
	strh	r2, [r3]	@ movhi
	mov	r0, #0
	bl	htonl
	mov	r3, r0
	sub	r2, fp, #352256
	sub	r2, r2, #12
	str	r3, [r2, #-2516]
	ldr	r0, .L102+108
	bl	htons
	mov	r3, r0
	mov	r2, r3
	sub	r3, fp, #352256
	sub	r3, r3, #12
	sub	r3, r3, #2512
	sub	r3, r3, #8
	strh	r2, [r3, #2]	@ movhi
	ldr	r3, .L102+192
	sub	r2, fp, #12
	add	r3, r2, r3
	sub	r2, fp, #352256
	sub	r2, r2, #12
	mov	r0, r2
	mov	r2, #16
	mov	r1, r3
	ldr	r0, [r0, #-2552]
	bl	bind
	mov	r3, r0
	cmp	r3, #0
	bge	.L57
	ldr	r0, .L102+112
	bl	perror
	b	.L42
.L57:
	sub	r3, fp, #270336
	sub	r3, r3, #12
	sub	r3, r3, #624
	ldr	r2, .L102
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #327680
	sub	r3, r3, #12
	sub	r3, r3, #3280
	ldr	r2, .L102+116
	mov	r1, #0
	mov	r0, r3
	bl	memset
	ldr	r0, .L102+120
	bl	puts
.L95:
	mov	r0, #0
	bl	time
	mov	r3, r0
	sub	r2, fp, #352256
	sub	r2, r2, #12
	add	r3, r3, #28672
	add	r3, r3, #128
	str	r3, [r2, #-2544]
	sub	r3, fp, #352256
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #352256
	sub	r3, r3, #12
	ldr	r2, [r2, #-2544]
	ldr	r1, [r3, #-2556]
	ldr	r0, .L102+124
	bl	printf
	sub	r3, fp, #352256
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-2584]
.L78:
	sub	r3, fp, #964
	mov	r2, #18
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #972
	mov	r2, #5
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #944
	mov	r2, #18
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #924
	mov	r2, #128
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #352256
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-2592]
	sub	r3, fp, #352256
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-2588]
	sub	r3, fp, #352256
	sub	r3, r3, #12
	mov	r4, r3
	sub	r1, fp, #924
	sub	r3, fp, #352256
	sub	r3, r3, #12
	mov	r0, r3
	sub	r3, fp, #352256
	sub	r3, r3, #12
	sub	r3, r3, #2624
	str	r3, [sp, #4]
	ldr	r3, .L102+192
	sub	r2, fp, #12
	add	r3, r2, r3
	str	r3, [sp]
	mov	r3, #0
	mov	r2, #128
	ldr	r0, [r0, #-2552]
	bl	recvfrom
	str	r0, [r4, #-2548]
	sub	r3, fp, #352256
	sub	r3, r3, #12
	ldr	r3, [r3, #-2548]
	cmp	r3, #49
	ble	.L58
	sub	r3, fp, #352256
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-2568]
	ldrb	r3, [fp, #-909]	@ zero_extendqisi2
	mov	lr, r3
	ldrb	r3, [fp, #-908]	@ zero_extendqisi2
	mov	r4, r3
	ldrb	r3, [fp, #-907]	@ zero_extendqisi2
	ldrb	r2, [fp, #-906]	@ zero_extendqisi2
	ldrb	r1, [fp, #-905]	@ zero_extendqisi2
	ldrb	r0, [fp, #-904]	@ zero_extendqisi2
	mov	ip, r0
	sub	r0, fp, #964
	str	ip, [sp, #12]
	str	r1, [sp, #8]
	str	r2, [sp, #4]
	str	r3, [sp]
	mov	r3, r4
	mov	r2, lr
	ldr	r1, .L102+180
	bl	sprintf
	ldrb	r3, [fp, #-898]	@ zero_extendqisi2
	mov	r2, r3
	ldrb	r3, [fp, #-897]	@ zero_extendqisi2
	sub	r0, fp, #972
	ldr	r1, .L102+128
	bl	sprintf
	ldrb	r3, [fp, #-898]	@ zero_extendqisi2
	lsl	r3, r3, #8
	ldrb	r2, [fp, #-897]	@ zero_extendqisi2
	mov	r1, r2
	sub	r2, fp, #352256
	sub	r2, r2, #12
	add	r3, r3, r1
	str	r3, [r2, #-2540]
	sub	r3, fp, #352256
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #352256
	sub	r3, r3, #12
	ldr	r0, [r3, #-2540]
	bl	get_dbm
	str	r0, [r4, #-2536]
	mov	r0, #0
	bl	time
	mov	r3, r0
	sub	r2, fp, #352256
	sub	r2, r2, #12
	add	r3, r3, #28672
	add	r3, r3, #128
	str	r3, [r2, #-2604]
	sub	r3, fp, #352256
	sub	r3, r3, #12
	mov	r0, r3
	sub	r2, fp, #972
	sub	r1, fp, #964
	sub	r3, fp, #352256
	sub	r3, r3, #12
	ldr	r3, [r3, #-2604]
	str	r3, [sp]
	ldr	r3, [r0, #-2536]
	ldr	r0, .L102+132
	bl	printf
	sub	r3, fp, #352256
	sub	r3, r3, #12
	ldr	r3, [r3, #-2612]
	sub	r2, fp, #352256
	sub	r2, r2, #12
	ldr	r2, [r2, #-2536]
	cmp	r2, r3
	bge	.L59
	sub	r3, fp, #352256
	sub	r3, r3, #12
	ldr	r3, [r3, #-2536]
	cmn	r3, #99
	blt	.L59
	sub	r3, fp, #352256
	sub	r3, r3, #12
	ldr	r3, [r3, #-2612]
	mov	r1, r3
	ldr	r0, .L102+136
	bl	printf
	b	.L60
.L59:
	sub	r3, fp, #352256
	sub	r3, r3, #12
	ldr	r3, [r3, #-2612]
	mov	r1, r3
	ldr	r0, .L102+140
	bl	printf
	sub	r3, fp, #352256
	sub	r3, r3, #12
	ldr	r3, [r3, #-2608]
	cmp	r3, #1
	bne	.L61
	sub	r3, fp, #352256
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-2572]
	b	.L62
.L65:
	ldr	r2, .L102+96
	sub	r3, fp, #12
	add	r2, r3, r2
	sub	r3, fp, #352256
	sub	r3, r3, #12
	ldr	r1, [r3, #-2572]
	mov	r3, r1
	lsl	r3, r3, #3
	add	r3, r3, r1
	lsl	r3, r3, #1
	add	r3, r2, r3
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	cmp	r3, #3
	bls	.L98
	ldr	r2, .L102+96
	sub	r3, fp, #12
	add	r2, r3, r2
	sub	r3, fp, #352256
	sub	r3, r3, #12
	ldr	r1, [r3, #-2572]
	mov	r3, r1
	lsl	r3, r3, #3
	add	r3, r3, r1
	lsl	r3, r3, #1
	add	r3, r2, r3
	sub	r2, fp, #964
	mov	r1, r2
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L64
	sub	r3, fp, #352256
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #1
	str	r3, [r2, #-2568]
	b	.L61
.L64:
	sub	r3, fp, #352256
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #352256
	sub	r3, r3, #12
	ldr	r3, [r3, #-2572]
	add	r3, r3, #1
	str	r3, [r2, #-2572]
.L62:
	sub	r3, fp, #352256
	sub	r3, r3, #12
	ldr	r3, [r3, #-2572]
	cmp	r3, #99
	ble	.L65
	b	.L61
.L98:
	nop
.L61:
	sub	r3, fp, #352256
	sub	r3, r3, #12
	ldr	r3, [r3, #-2568]
	cmp	r3, #1
	bne	.L66
	ldr	r0, .L102+144
	bl	puts
	b	.L60
.L66:
	sub	r3, fp, #352256
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-2596]
	b	.L67
.L72:
	sub	r2, fp, #270336
	sub	r2, r2, #12
	sub	r2, r2, #624
	sub	r3, fp, #352256
	sub	r3, r3, #12
	ldr	r1, [r3, #-2596]
	mov	r3, r1
	lsl	r3, r3, #3
	add	r3, r3, r1
	lsl	r3, r3, #1
	add	r3, r2, r3
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	cmp	r3, #3
	bhi	.L68
	sub	r3, fp, #352256
	sub	r3, r3, #12
	ldr	r1, [r3, #-2596]
	ldr	r0, .L102+148
	bl	printf
	b	.L69
.L68:
	sub	r2, fp, #270336
	sub	r2, r2, #12
	sub	r2, r2, #624
	sub	r3, fp, #352256
	sub	r3, r3, #12
	ldr	r1, [r3, #-2596]
	mov	r3, r1
	lsl	r3, r3, #3
	add	r3, r3, r1
	lsl	r3, r3, #1
	add	r3, r2, r3
	sub	r2, fp, #964
	mov	r1, r2
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L70
	sub	r3, fp, #352256
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #1
	str	r3, [r2, #-2592]
	ldr	r0, .L102+152
	bl	puts
	sub	r3, fp, #327680
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #352256
	sub	r3, r3, #12
	ldr	r3, [r3, #-2596]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3, #-3280]
	sub	r2, fp, #352256
	sub	r2, r2, #12
	ldr	r2, [r2, #-2604]
	sub	r3, r2, r3
	cmp	r3, #179
	ble	.L99
	sub	r3, fp, #352256
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #1
	str	r3, [r2, #-2588]
	b	.L99
.L70:
	sub	r3, fp, #352256
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #352256
	sub	r3, r3, #12
	ldr	r3, [r3, #-2596]
	add	r3, r3, #1
	str	r3, [r2, #-2596]
.L67:
	sub	r3, fp, #352256
	sub	r3, r3, #12
	ldr	r3, [r3, #-2596]
	ldr	r2, .L102+156
	cmp	r3, r2
	ble	.L72
	b	.L69
.L103:
	.align	2
.L102:
	.word	270000
	.word	18000
	.word	1800
	.word	.LC22
	.word	.LC23
	.word	.LC24
	.word	.LC25
	.word	.LC26
	.word	-354868
	.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	-354872
	.word	stderr
	.word	.LC39
	.word	-354760
	.word	.LC40
	.word	.LC41
	.word	10608
	.word	.LC42
	.word	60000
	.word	.LC43
	.word	.LC44
	.word	.LC46
	.word	.LC47
	.word	.LC48
	.word	.LC49
	.word	.LC50
	.word	.LC51
	.word	.LC52
	.word	14999
	.word	.LC53
	.word	15000
	.word	.LC54
	.word	.LC55
	.word	.LC56
	.word	.LC45
	.word	.LC57
	.word	.LC58
	.word	-354776
	.word	.LC59
	.word	.LC60
	.word	.LC61
	.word	.LC62
	.word	.LC63
	.word	.LC64
	.word	.LC65
	.word	.LC66
	.word	.LC67
	.word	-354876
	.word	.LC68
	.word	.LC69
	.word	.LC70
	.word	1717986919
	.word	.LC71
	.word	.LC72
	.word	.LC73
.L99:
	nop
.L69:
	sub	r3, fp, #352256
	sub	r3, r3, #12
	ldr	r3, [r3, #-2592]
	cmp	r3, #0
	bne	.L73
	sub	r2, fp, #270336
	sub	r2, r2, #12
	sub	r2, r2, #624
	sub	r3, fp, #352256
	sub	r3, r3, #12
	ldr	r1, [r3, #-2600]
	mov	r3, r1
	lsl	r3, r3, #3
	add	r3, r3, r1
	lsl	r3, r3, #1
	add	r3, r2, r3
	sub	r2, fp, #964
	mov	r1, r2
	mov	r0, r3
	bl	strcpy
	sub	r3, fp, #327680
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #352256
	sub	r3, r3, #12
	ldr	r3, [r3, #-2600]
	lsl	r3, r3, #2
	add	r3, r2, r3
	sub	r2, fp, #352256
	sub	r2, r2, #12
	ldr	r2, [r2, #-2604]
	str	r2, [r3, #-3280]
	sub	r2, fp, #348160
	sub	r2, r2, #12
	sub	r2, r2, #800
	sub	r3, fp, #352256
	sub	r3, r3, #12
	ldr	r1, [r3, #-2584]
	mov	r3, r1
	lsl	r3, r3, #3
	add	r3, r3, r1
	lsl	r3, r3, #1
	add	r3, r2, r3
	sub	r2, fp, #964
	mov	r1, r2
	mov	r0, r3
	bl	strcpy
	sub	r3, fp, #352256
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #352256
	sub	r3, r3, #12
	ldr	r3, [r3, #-2584]
	lsl	r3, r3, #2
	add	r3, r2, r3
	sub	r2, fp, #352256
	sub	r2, r2, #12
	ldr	r2, [r2, #-2604]
	str	r2, [r3, #-704]
	sub	r3, fp, #352256
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #352256
	sub	r3, r3, #12
	ldr	r2, [r2, #-2584]
	ldr	r1, [r3, #-2600]
	ldr	r0, .L102+160
	bl	printf
	sub	r3, fp, #352256
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #352256
	sub	r3, r3, #12
	ldr	r3, [r3, #-2600]
	add	r3, r3, #1
	str	r3, [r2, #-2600]
	sub	r3, fp, #352256
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #352256
	sub	r3, r3, #12
	ldr	r3, [r3, #-2584]
	add	r3, r3, #1
	str	r3, [r2, #-2584]
	sub	r3, fp, #352256
	sub	r3, r3, #12
	ldr	r3, [r3, #-2600]
	ldr	r2, .L102+164
	cmp	r3, r2
	bne	.L73
	sub	r3, fp, #352256
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-2600]
.L73:
	sub	r3, fp, #352256
	sub	r3, r3, #12
	ldr	r3, [r3, #-2588]
	cmp	r3, #1
	bne	.L58
	ldr	r0, .L102+168
	bl	puts
	sub	r3, fp, #327680
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #352256
	sub	r3, r3, #12
	ldr	r3, [r3, #-2596]
	lsl	r3, r3, #2
	add	r3, r2, r3
	sub	r2, fp, #352256
	sub	r2, r2, #12
	ldr	r2, [r2, #-2604]
	str	r2, [r3, #-3280]
	sub	r3, fp, #352256
	sub	r3, r3, #12
	ldr	r1, [r3, #-2584]
	ldr	r0, .L102+172
	bl	printf
	sub	r2, fp, #348160
	sub	r2, r2, #12
	sub	r2, r2, #800
	sub	r3, fp, #352256
	sub	r3, r3, #12
	ldr	r1, [r3, #-2584]
	mov	r3, r1
	lsl	r3, r3, #3
	add	r3, r3, r1
	lsl	r3, r3, #1
	add	r3, r2, r3
	sub	r2, fp, #964
	mov	r1, r2
	mov	r0, r3
	bl	strcpy
	sub	r3, fp, #352256
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #352256
	sub	r3, r3, #12
	ldr	r3, [r3, #-2584]
	lsl	r3, r3, #2
	add	r3, r2, r3
	sub	r2, fp, #352256
	sub	r2, r2, #12
	ldr	r2, [r2, #-2604]
	str	r2, [r3, #-704]
	sub	r3, fp, #352256
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #352256
	sub	r3, r3, #12
	ldr	r3, [r3, #-2584]
	add	r3, r3, #1
	str	r3, [r2, #-2584]
.L58:
	sub	r3, fp, #352256
	sub	r3, r3, #12
	ldr	r3, [r3, #-2548]
	cmp	r3, #20
	ble	.L74
	sub	r3, fp, #352256
	sub	r3, r3, #12
	ldr	r3, [r3, #-2548]
	cmp	r3, #29
	bgt	.L74
	ldr	r0, .L102+176
	bl	puts
	ldrb	r3, [fp, #-922]	@ zero_extendqisi2
	mov	lr, r3
	ldrb	r3, [fp, #-921]	@ zero_extendqisi2
	mov	r4, r3
	ldrb	r3, [fp, #-920]	@ zero_extendqisi2
	ldrb	r2, [fp, #-919]	@ zero_extendqisi2
	ldrb	r1, [fp, #-918]	@ zero_extendqisi2
	ldrb	r0, [fp, #-917]	@ zero_extendqisi2
	mov	ip, r0
	sub	r0, fp, #944
	str	ip, [sp, #12]
	str	r1, [sp, #8]
	str	r2, [sp, #4]
	str	r3, [sp]
	mov	r3, r4
	mov	r2, lr
	ldr	r1, .L102+180
	bl	sprintf
	sub	r3, fp, #352256
	sub	r3, r3, #12
	ldr	r3, [r3, #-2564]
	cmp	r3, #0
	bne	.L75
	ldr	r0, .L102+184
	bl	puts
	sub	r3, fp, #944
	mov	r0, r3
	bl	mac_log
	sub	r3, fp, #352256
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #1
	str	r3, [r2, #-2564]
.L75:
	ldrb	r3, [fp, #-922]	@ zero_extendqisi2
	mov	lr, r3
	ldrb	r3, [fp, #-921]	@ zero_extendqisi2
	mov	r4, r3
	ldrb	r3, [fp, #-920]	@ zero_extendqisi2
	ldrb	r2, [fp, #-919]	@ zero_extendqisi2
	ldrb	r1, [fp, #-918]	@ zero_extendqisi2
	ldrb	r0, [fp, #-917]	@ zero_extendqisi2
	mov	ip, r0
	sub	r0, fp, #796
	str	ip, [sp, #12]
	str	r1, [sp, #8]
	str	r2, [sp, #4]
	str	r3, [sp]
	mov	r3, r4
	mov	r2, lr
	ldr	r1, .L102+188
	bl	sprintf
	sub	r3, fp, #352256
	sub	r3, r3, #12
	ldr	r3, [r3, #-2624]
	sub	r1, fp, #796
	sub	r2, fp, #352256
	sub	r2, r2, #12
	mov	r0, r2
	str	r3, [sp, #4]
	ldr	r3, .L102+192
	sub	r2, fp, #12
	add	r3, r2, r3
	str	r3, [sp]
	mov	r3, #0
	mov	r2, #18
	ldr	r0, [r0, #-2552]
	bl	sendto
	mov	r3, r0
	cmn	r3, #1
	bne	.L74
	ldr	r0, .L102+196
	bl	perror
.L74:
	sub	r3, fp, #352256
	sub	r3, r3, #12
	ldr	r3, [r3, #-2584]
	cmp	r3, #1000
	bne	.L76
	ldr	r0, .L102+200
	bl	puts
	b	.L77
.L76:
	sub	r3, fp, #352256
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #352256
	sub	r3, r3, #12
	ldr	r2, [r2, #-2604]
	ldr	r3, [r3, #-2544]
	sub	r3, r2, r3
	cmp	r3, #60
	ble	.L78
	ldr	r0, .L102+204
	bl	puts
	b	.L77
.L60:
	b	.L78
.L77:
	sub	r3, fp, #352256
	sub	r3, r3, #12
	ldr	r3, [r3, #-2584]
	cmp	r3, #0
	bne	.L79
	ldr	r0, .L102+208
	bl	puts
	b	.L80
.L79:
	sub	r3, fp, #352256
	sub	r3, r3, #12
	ldr	r1, [r3, #-2584]
	ldr	r0, .L102+212
	bl	printf
	sub	r3, fp, #352256
	sub	r3, r3, #12
	mov	r4, r3
	ldr	r3, .L102+232
	sub	r2, fp, #12
	add	r3, r2, r3
	mov	r1, r3
	ldr	r0, .L102+216
	bl	sqlite3_open
	str	r0, [r4, #-2576]
	sub	r3, fp, #352256
	sub	r3, r3, #12
	ldr	r3, [r3, #-2576]
	cmp	r3, #0
	beq	.L81
	ldr	r0, .L102+220
	bl	puts
	b	.L80
.L81:
	sub	r3, fp, #352256
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-2580]
	b	.L82
.L87:
	sub	r3, fp, #352256
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-2560]
	b	.L83
.L86:
	sub	r2, fp, #348160
	sub	r2, r2, #12
	sub	r2, r2, #800
	sub	r3, fp, #352256
	sub	r3, r3, #12
	ldr	r1, [r3, #-2580]
	mov	r3, r1
	lsl	r3, r3, #3
	add	r3, r3, r1
	lsl	r3, r3, #1
	add	r0, r2, r3
	sub	r3, fp, #352256
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #352256
	sub	r3, r3, #12
	ldr	r3, [r3, #-2580]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3, #-704]
	sub	r2, fp, #352256
	sub	r2, r2, #12
	ldr	r2, [r2, #-2620]
	mov	r1, r3
	bl	traffic_collect
	mov	r3, r0
	cmp	r3, #0
	beq	.L100
	ldr	r0, .L102+224
	bl	puts
	mov	r0, #200
	bl	usleep
	sub	r3, fp, #352256
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #352256
	sub	r3, r3, #12
	ldr	r3, [r3, #-2560]
	add	r3, r3, #1
	str	r3, [r2, #-2560]
.L83:
	sub	r3, fp, #352256
	sub	r3, r3, #12
	ldr	r3, [r3, #-2560]
	cmp	r3, #19
	ble	.L86
	b	.L85
.L100:
	nop
.L85:
	sub	r3, fp, #352256
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #352256
	sub	r3, r3, #12
	ldr	r3, [r3, #-2580]
	add	r3, r3, #1
	str	r3, [r2, #-2580]
.L82:
	sub	r3, fp, #352256
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #352256
	sub	r3, r3, #12
	ldr	r2, [r2, #-2580]
	ldr	r3, [r3, #-2584]
	cmp	r2, r3
	blt	.L87
	sub	r3, fp, #352256
	sub	r3, r3, #12
	ldr	r3, [r3, #-2620]
	mov	r0, r3
	bl	sqlite3_close
	sub	r3, fp, #352256
	sub	r3, r3, #12
	ldr	r1, [r3, #-2584]
	ldr	r0, .L102+228
	bl	printf
	sub	r3, fp, #352256
	sub	r3, r3, #12
	mov	r4, r3
	ldr	r3, .L102+232
	sub	r2, fp, #12
	add	r3, r2, r3
	mov	r1, r3
	ldr	r0, .L102+236
	bl	sqlite3_open
	str	r0, [r4, #-2576]
	sub	r3, fp, #352256
	sub	r3, r3, #12
	ldr	r3, [r3, #-2576]
	cmp	r3, #0
	beq	.L88
	ldr	r0, .L102+240
	bl	puts
	b	.L80
.L88:
	sub	r3, fp, #352256
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-2580]
	b	.L89
.L94:
	sub	r3, fp, #352256
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-2560]
	b	.L90
.L93:
	sub	r2, fp, #348160
	sub	r2, r2, #12
	sub	r2, r2, #800
	sub	r3, fp, #352256
	sub	r3, r3, #12
	ldr	r1, [r3, #-2580]
	mov	r3, r1
	lsl	r3, r3, #3
	add	r3, r3, r1
	lsl	r3, r3, #1
	add	r0, r2, r3
	sub	r3, fp, #352256
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #352256
	sub	r3, r3, #12
	ldr	r3, [r3, #-2580]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3, #-704]
	sub	r2, fp, #352256
	sub	r2, r2, #12
	ldr	r2, [r2, #-2620]
	mov	r1, r3
	bl	traffic_total_collect
	mov	r3, r0
	cmp	r3, #0
	beq	.L101
	ldr	r0, .L102+244
	bl	puts
	mov	r0, #200
	bl	usleep
	sub	r3, fp, #352256
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #352256
	sub	r3, r3, #12
	ldr	r3, [r3, #-2560]
	add	r3, r3, #1
	str	r3, [r2, #-2560]
.L90:
	sub	r3, fp, #352256
	sub	r3, r3, #12
	ldr	r3, [r3, #-2560]
	cmp	r3, #19
	ble	.L93
	b	.L92
.L101:
	nop
.L92:
	sub	r3, fp, #352256
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #352256
	sub	r3, r3, #12
	ldr	r3, [r3, #-2580]
	add	r3, r3, #1
	str	r3, [r2, #-2580]
.L89:
	sub	r3, fp, #352256
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #352256
	sub	r3, r3, #12
	ldr	r2, [r2, #-2580]
	ldr	r3, [r3, #-2584]
	cmp	r2, r3
	blt	.L94
	sub	r3, fp, #352256
	sub	r3, r3, #12
	ldr	r3, [r3, #-2620]
	mov	r0, r3
	bl	sqlite3_close
	sub	r3, fp, #352256
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #352256
	sub	r3, r3, #12
	ldr	r3, [r3, #-2556]
	add	r3, r3, #1
	str	r3, [r2, #-2556]
	sub	r3, fp, #352256
	sub	r3, r3, #12
	ldr	r1, [r3, #-2556]
	ldr	r3, .L102+248
	smull	r2, r3, r1, r3
	asr	r2, r3, #2
	asr	r3, r1, #31
	sub	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	sub	r2, r1, r3
	cmp	r2, #0
	bne	.L95
	ldr	r0, .L102+252
	bl	puts
	sub	r2, fp, #668
	sub	r3, fp, #468
	ldr	r1, .L102+256
	mov	r0, r3
	bl	sprintf
	sub	r3, fp, #468
	mov	r0, r3
	bl	system
.L80:
	b	.L95
.L42:
	ldr	r3, .L102+260
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L97
	bl	__stack_chk_fail
.L97:
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
	.size	ap_socket, .-ap_socket
	.section	.rodata
	.align	2
.LC74:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	get_time
	.syntax unified
	.arm
	.fpu softvfp
	.type	get_time, %function
get_time:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-24]
	ldr	r3, .L115
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #16
	mov	r0, r3
	bl	time
	sub	r3, fp, #16
	mov	r0, r3
	bl	localtime
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-24]
	sub	r3, r3, #1
	cmp	r3, #4
	ldrls	pc, [pc, r3, asl #2]
	b	.L105
.L107:
	.word	.L111
	.word	.L110
	.word	.L109
	.word	.L108
	.word	.L106
.L111:
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #20]
	add	r3, r3, #1888
	add	r3, r3, #12
	b	.L113
.L110:
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #16]
	add	r3, r3, #1
	b	.L113
.L109:
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #12]
	b	.L113
.L108:
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #8]
	b	.L113
.L106:
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #4]
	b	.L113
.L105:
	mov	r3, #1
.L113:
	ldr	r2, .L115
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L114
	bl	__stack_chk_fail
.L114:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L116:
	.align	2
.L115:
	.word	.LC74
	.size	get_time, .-get_time
	.section	.rodata
	.align	2
.LC75:
	.ascii	"open traffic.db error!\000"
	.align	2
.LC76:
	.ascii	"open staff.db erro!\000"
	.align	2
.LC77:
	.ascii	"select distinct mobile from traffic_info where mobi"
	.ascii	"le in (select mobile from traffic_info group by mob"
	.ascii	"ile having count(mobile) > 4)\000"
	.align	2
.LC78:
	.ascii	"SQL error:%s\012\000"
	.align	2
.LC79:
	.ascii	"no staff mac found in traffic.db!\000"
	.align	2
.LC80:
	.ascii	"staff_mac : %s\012\000"
	.align	2
.LC81:
	.ascii	"select * from staff_info where mobile ='%s'\000"
	.align	2
.LC82:
	.ascii	"staff_mac : exist in staff.db, update time\000"
	.align	2
.LC83:
	.ascii	"update staff_info set time='%d' where mobile='%s'\000"
	.align	2
.LC84:
	.ascii	"staff_mac : new, insert into staff.db!\000"
	.align	2
.LC85:
	.ascii	"insert into staff_info (mobile, time) values('%s', "
	.ascii	"%d)\000"
	.align	2
.LC86:
	.ascii	"insert/update staff.db error:%s\012\000"
	.align	2
.LC87:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	record_staff
	.syntax unified
	.arm
	.fpu softvfp
	.type	record_staff, %function
record_staff:
	@ args = 0, pretend = 0, frame = 288
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #300
	ldr	r3, .L131
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-280]
	mov	r3, #0
	str	r3, [fp, #-276]
	mov	r3, #0
	str	r3, [fp, #-272]
	mov	r3, #0
	str	r3, [fp, #-268]
	sub	r3, fp, #264
	mov	r2, #246
	mov	r1, #0
	mov	r0, r3
	bl	memset
	mov	r3, #0
	str	r3, [fp, #-288]
	mov	r3, #0
	str	r3, [fp, #-284]
	sub	r3, fp, #296
	mov	r1, r3
	ldr	r0, .L131+4
	bl	sqlite3_open
	str	r0, [fp, #-280]
	ldr	r3, [fp, #-280]
	cmp	r3, #0
	beq	.L118
	ldr	r0, .L131+8
	bl	puts
	ldr	r3, [fp, #-296]
	mov	r0, r3
	bl	sqlite3_close
	b	.L117
.L118:
	sub	r3, fp, #292
	mov	r1, r3
	ldr	r0, .L131+12
	bl	sqlite3_open
	str	r0, [fp, #-276]
	ldr	r3, [fp, #-276]
	cmp	r3, #0
	beq	.L120
	ldr	r0, .L131+16
	bl	puts
	ldr	r3, [fp, #-292]
	mov	r0, r3
	bl	sqlite3_close
	b	.L117
.L120:
	sub	r3, fp, #268
	mov	r2, #250
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #268
	ldr	r1, .L131+20
	mov	r0, r3
	bl	sprintf
	ldr	r0, [fp, #-296]
	sub	r3, fp, #288
	sub	r1, fp, #268
	mov	r2, #0
	str	r2, [sp]
	mvn	r2, #0
	bl	sqlite3_prepare
	str	r0, [fp, #-280]
	ldr	r3, [fp, #-280]
	cmp	r3, #0
	beq	.L121
	ldr	r3, .L131+24
	ldr	r4, [r3]
	ldr	r3, [fp, #-296]
	mov	r0, r3
	bl	sqlite3_errmsg
	mov	r3, r0
	mov	r2, r3
	ldr	r1, .L131+28
	mov	r0, r4
	bl	fprintf
	b	.L117
.L121:
	ldr	r3, [fp, #-288]
	mov	r0, r3
	bl	sqlite3_step
	str	r0, [fp, #-280]
	ldr	r3, [fp, #-280]
	cmp	r3, #100
	beq	.L123
	ldr	r0, .L131+32
	bl	puts
	ldr	r3, [fp, #-288]
	mov	r0, r3
	bl	sqlite3_finalize
	ldr	r3, [fp, #-296]
	mov	r0, r3
	bl	sqlite3_close
	ldr	r3, [fp, #-292]
	mov	r0, r3
	bl	sqlite3_close
	b	.L117
.L128:
	ldr	r3, [fp, #-288]
	mov	r1, #0
	mov	r0, r3
	bl	sqlite3_column_text
	str	r0, [fp, #-272]
	ldr	r1, [fp, #-272]
	ldr	r0, .L131+36
	bl	printf
	sub	r3, fp, #268
	mov	r2, #250
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #268
	ldr	r2, [fp, #-272]
	ldr	r1, .L131+40
	mov	r0, r3
	bl	sprintf
	ldr	r0, [fp, #-292]
	sub	r3, fp, #284
	sub	r1, fp, #268
	mov	r2, #0
	str	r2, [sp]
	mvn	r2, #0
	bl	sqlite3_prepare
	str	r0, [fp, #-276]
	ldr	r3, [fp, #-276]
	cmp	r3, #0
	beq	.L124
	ldr	r3, .L131+24
	ldr	r4, [r3]
	ldr	r3, [fp, #-292]
	mov	r0, r3
	bl	sqlite3_errmsg
	mov	r3, r0
	mov	r2, r3
	ldr	r1, .L131+28
	mov	r0, r4
	bl	fprintf
.L124:
	ldr	r3, [fp, #-284]
	mov	r0, r3
	bl	sqlite3_step
	str	r0, [fp, #-276]
	ldr	r3, [fp, #-276]
	cmp	r3, #100
	bne	.L125
	ldr	r0, .L131+44
	bl	puts
	sub	r3, fp, #268
	mov	r2, #250
	mov	r1, #0
	mov	r0, r3
	bl	memset
	mov	r0, #0
	bl	time
	mov	r2, r0
	sub	r0, fp, #268
	ldr	r3, [fp, #-272]
	ldr	r1, .L131+48
	bl	sprintf
	b	.L126
.L125:
	ldr	r0, .L131+52
	bl	puts
	sub	r3, fp, #268
	mov	r2, #250
	mov	r1, #0
	mov	r0, r3
	bl	memset
	mov	r0, #0
	bl	time
	mov	r3, r0
	sub	r0, fp, #268
	ldr	r2, [fp, #-272]
	ldr	r1, .L131+56
	bl	sprintf
.L126:
	ldr	r0, [fp, #-292]
	sub	r1, fp, #268
	sub	r3, fp, #300
	str	r3, [sp]
	mov	r3, #0
	mov	r2, #0
	bl	sqlite3_exec
	str	r0, [fp, #-276]
	ldr	r3, [fp, #-276]
	cmp	r3, #0
	beq	.L127
	ldr	r3, [fp, #-300]
	mov	r1, r3
	ldr	r0, .L131+60
	bl	printf
.L127:
	ldr	r3, [fp, #-288]
	mov	r0, r3
	bl	sqlite3_step
	str	r0, [fp, #-280]
.L123:
	ldr	r3, [fp, #-280]
	cmp	r3, #100
	beq	.L128
	ldr	r3, [fp, #-288]
	mov	r0, r3
	bl	sqlite3_finalize
	ldr	r3, [fp, #-284]
	mov	r0, r3
	bl	sqlite3_finalize
	ldr	r3, [fp, #-296]
	mov	r0, r3
	bl	sqlite3_close
	ldr	r3, [fp, #-292]
	mov	r0, r3
	bl	sqlite3_close
.L117:
	ldr	r3, .L131
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L130
	bl	__stack_chk_fail
.L130:
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L132:
	.align	2
.L131:
	.word	.LC87
	.word	.LC64
	.word	.LC75
	.word	.LC36
	.word	.LC76
	.word	.LC77
	.word	stderr
	.word	.LC78
	.word	.LC79
	.word	.LC80
	.word	.LC81
	.word	.LC82
	.word	.LC83
	.word	.LC84
	.word	.LC85
	.word	.LC86
	.size	record_staff, .-record_staff
	.section	.rodata
	.align	2
.LC88:
	.ascii	"/ailvgo/www/database/box.db\000"
	.align	2
.LC89:
	.ascii	"open box.db failed\000"
	.align	2
.LC90:
	.ascii	"select box_id from box_info\000"
	.align	2
.LC91:
	.ascii	"box_id : %s\012\000"
	.align	2
.LC92:
	.ascii	"select box_id failure!\000"
	.align	2
.LC93:
	.ascii	"get box_id failure!\000"
	.align	2
.LC94:
	.ascii	"null\000"
	.align	2
.LC95:
	.ascii	"%s_%4d%02d%02d.db\000"
	.align	2
.LC96:
	.ascii	"db_filename for upload : %s\012\000"
	.align	2
.LC97:
	.ascii	"/ailvgo/system/traffic/%s\000"
	.align	2
.LC98:
	.ascii	"db_filename_full for upload : %s\012\000"
	.align	2
.LC99:
	.ascii	"creating %s for upload\012\000"
	.align	2
.LC100:
	.ascii	"cp -f /ailvgo/system/traffic/traffic.db %s\000"
	.align	2
.LC101:
	.ascii	"shell_cmd : %s\012\000"
	.align	2
.LC102:
	.ascii	"Cannot open boxid_date.db:%s\012\000"
	.align	2
.LC103:
	.ascii	"delete from traffic_info\000"
	.align	2
.LC104:
	.ascii	"delete boxid_date.db success!\000"
	.align	2
.LC105:
	.ascii	"delete boxid_date.db error:%s\012\000"
	.align	2
.LC106:
	.ascii	"vacuum traffic_info\000"
	.align	2
.LC107:
	.ascii	"vacuum boxid_date.db success!\000"
	.align	2
.LC108:
	.ascii	"vacuum boxid_date.db error:%s\012\000"
	.align	2
.LC109:
	.ascii	"%s : exist, don't need create!\012\000"
	.align	2
.LC110:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	traffic_upload_create
	.syntax unified
	.arm
	.fpu softvfp
	.type	traffic_upload_create, %function
traffic_upload_create:
	@ args = 0, pretend = 0, frame = 368
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #376
	ldr	r3, .L155
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-360]
	mov	r3, #0
	str	r3, [fp, #-376]
	mov	r3, #0
	str	r3, [fp, #-372]
	mov	r3, #0
	str	r3, [fp, #-316]
	sub	r3, fp, #312
	mov	r2, #96
	mov	r1, #0
	mov	r0, r3
	bl	memset
	mov	r3, #0
	str	r3, [fp, #-368]
	mov	r3, #0
	str	r3, [fp, #-356]
	mov	r3, #0
	str	r3, [fp, #-348]
	sub	r3, fp, #344
	mov	r2, #0
	str	r2, [r3]
	strh	r2, [r3, #4]	@ movhi
	mov	r3, #0
	str	r3, [fp, #-336]
	sub	r3, fp, #332
	mov	r2, #0
	str	r2, [r3]
	str	r2, [r3, #4]
	str	r2, [r3, #8]
	str	r2, [r3, #12]
	mov	r0, #200
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-352]
	mov	r3, #0
	str	r3, [fp, #-216]
	sub	r3, fp, #212
	mov	r2, #196
	mov	r1, #0
	mov	r0, r3
	bl	memset
	mov	r3, #0
	str	r3, [fp, #-364]
	b	.L134
.L138:
	sub	r3, fp, #376
	mov	r1, r3
	ldr	r0, .L155+4
	bl	sqlite3_open
	str	r0, [fp, #-360]
	ldr	r3, [fp, #-360]
	cmp	r3, #1
	bne	.L135
	ldr	r0, .L155+8
	bl	printf
.L135:
	mov	r3, #0
	str	r3, [fp, #-372]
	sub	r3, fp, #316
	mov	r2, #100
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #316
	ldr	r2, .L155+12
	mov	ip, r3
	mov	lr, r2
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1, r2}
	stm	ip, {r0, r1, r2}
	ldr	r0, [fp, #-376]
	sub	r3, fp, #372
	sub	r1, fp, #316
	mov	r2, #0
	str	r2, [sp]
	mvn	r2, #0
	bl	sqlite3_prepare
	ldr	r3, [fp, #-372]
	mov	r0, r3
	bl	sqlite3_step
	str	r0, [fp, #-360]
	ldr	r3, [fp, #-360]
	cmp	r3, #100
	bne	.L136
	ldr	r3, [fp, #-372]
	mov	r1, #0
	mov	r0, r3
	bl	sqlite3_column_text
	str	r0, [fp, #-356]
	sub	r3, fp, #348
	ldr	r1, [fp, #-356]
	mov	r0, r3
	bl	strcpy
	sub	r3, fp, #348
	mov	r1, r3
	ldr	r0, .L155+16
	bl	printf
	ldr	r3, [fp, #-372]
	mov	r0, r3
	bl	sqlite3_finalize
	ldr	r3, [fp, #-376]
	mov	r0, r3
	bl	sqlite3_close
	b	.L137
.L136:
	ldr	r0, .L155+20
	bl	puts
	ldr	r3, [fp, #-372]
	mov	r0, r3
	bl	sqlite3_finalize
	ldr	r3, [fp, #-376]
	mov	r0, r3
	bl	sqlite3_close
	mov	r0, #3
	bl	sleep
	ldr	r3, [fp, #-364]
	add	r3, r3, #1
	str	r3, [fp, #-364]
.L134:
	ldr	r3, [fp, #-364]
	cmp	r3, #19
	ble	.L138
.L137:
	sub	r3, fp, #348
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	cmp	r3, #3
	bhi	.L139
	ldr	r0, .L155+24
	bl	puts
	ldr	r0, [fp, #-352]
	bl	free
	ldr	r3, .L155+28
	b	.L153
.L139:
	mov	r0, #1
	bl	get_time
	mov	r5, r0
	mov	r0, #2
	bl	get_time
	mov	r4, r0
	mov	r0, #3
	bl	get_time
	mov	r3, r0
	sub	r2, fp, #348
	sub	r0, fp, #336
	str	r3, [sp, #4]
	str	r4, [sp]
	mov	r3, r5
	ldr	r1, .L155+32
	bl	sprintf
	sub	r3, fp, #336
	mov	r1, r3
	ldr	r0, .L155+36
	bl	printf
	sub	r3, fp, #336
	mov	r2, r3
	ldr	r1, .L155+40
	ldr	r0, [fp, #-352]
	bl	sprintf
	ldr	r1, [fp, #-352]
	ldr	r0, .L155+44
	bl	printf
	mov	r1, #2
	ldr	r0, [fp, #-352]
	bl	access
	mov	r3, r0
	cmn	r3, #1
	bne	.L141
	sub	r3, fp, #336
	mov	r1, r3
	ldr	r0, .L155+48
	bl	printf
	sub	r3, fp, #216
	ldr	r2, [fp, #-352]
	ldr	r1, .L155+52
	mov	r0, r3
	bl	sprintf
	sub	r3, fp, #216
	mov	r1, r3
	ldr	r0, .L155+56
	bl	printf
	sub	r3, fp, #216
	mov	r0, r3
	bl	system
	mov	r0, #1
	bl	sleep
	mov	r3, #0
	str	r3, [fp, #-364]
	b	.L142
.L146:
	sub	r3, fp, #376
	mov	r1, r3
	ldr	r0, [fp, #-352]
	bl	sqlite3_open
	str	r0, [fp, #-360]
	ldr	r3, [fp, #-360]
	cmp	r3, #0
	beq	.L143
	ldr	r3, .L155+60
	ldr	r4, [r3]
	ldr	r3, [fp, #-376]
	mov	r0, r3
	bl	sqlite3_errmsg
	mov	r3, r0
	mov	r2, r3
	ldr	r1, .L155+64
	mov	r0, r4
	bl	fprintf
.L143:
	ldr	r0, [fp, #-376]
	sub	r3, fp, #368
	str	r3, [sp]
	mov	r3, #0
	mov	r2, #0
	ldr	r1, .L155+68
	bl	sqlite3_exec
	str	r0, [fp, #-360]
	ldr	r3, [fp, #-360]
	cmp	r3, #0
	bne	.L144
	ldr	r0, .L155+72
	bl	puts
	ldr	r3, [fp, #-376]
	mov	r0, r3
	bl	sqlite3_close
	b	.L145
.L144:
	ldr	r3, [fp, #-368]
	mov	r1, r3
	ldr	r0, .L155+76
	bl	printf
	ldr	r3, [fp, #-376]
	mov	r0, r3
	bl	sqlite3_close
	mov	r0, #2
	bl	sleep
	ldr	r3, [fp, #-364]
	add	r3, r3, #1
	str	r3, [fp, #-364]
.L142:
	ldr	r3, [fp, #-364]
	cmp	r3, #19
	ble	.L146
.L145:
	mov	r3, #0
	str	r3, [fp, #-364]
	b	.L147
.L151:
	sub	r3, fp, #376
	mov	r1, r3
	ldr	r0, [fp, #-352]
	bl	sqlite3_open
	str	r0, [fp, #-360]
	ldr	r3, [fp, #-360]
	cmp	r3, #0
	beq	.L148
	ldr	r3, .L155+60
	ldr	r4, [r3]
	ldr	r3, [fp, #-376]
	mov	r0, r3
	bl	sqlite3_errmsg
	mov	r3, r0
	mov	r2, r3
	ldr	r1, .L155+64
	mov	r0, r4
	bl	fprintf
.L148:
	ldr	r0, [fp, #-376]
	sub	r3, fp, #368
	str	r3, [sp]
	mov	r3, #0
	mov	r2, #0
	ldr	r1, .L155+80
	bl	sqlite3_exec
	str	r0, [fp, #-360]
	ldr	r3, [fp, #-360]
	cmp	r3, #0
	bne	.L149
	ldr	r0, .L155+84
	bl	puts
	ldr	r3, [fp, #-376]
	mov	r0, r3
	bl	sqlite3_close
	b	.L152
.L149:
	ldr	r3, [fp, #-368]
	mov	r1, r3
	ldr	r0, .L155+88
	bl	printf
	ldr	r3, [fp, #-376]
	mov	r0, r3
	bl	sqlite3_close
	mov	r0, #2
	bl	sleep
	ldr	r3, [fp, #-364]
	add	r3, r3, #1
	str	r3, [fp, #-364]
.L147:
	ldr	r3, [fp, #-364]
	cmp	r3, #19
	ble	.L151
	b	.L152
.L141:
	sub	r3, fp, #336
	mov	r1, r3
	ldr	r0, .L155+92
	bl	printf
.L152:
	ldr	r3, [fp, #-352]
.L153:
	ldr	r2, .L155
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L154
	bl	__stack_chk_fail
.L154:
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L156:
	.align	2
.L155:
	.word	.LC110
	.word	.LC88
	.word	.LC89
	.word	.LC90
	.word	.LC91
	.word	.LC92
	.word	.LC93
	.word	.LC94
	.word	.LC95
	.word	.LC96
	.word	.LC97
	.word	.LC98
	.word	.LC99
	.word	.LC100
	.word	.LC101
	.word	stderr
	.word	.LC102
	.word	.LC103
	.word	.LC104
	.word	.LC105
	.word	.LC106
	.word	.LC107
	.word	.LC108
	.word	.LC109
	.size	traffic_upload_create, .-traffic_upload_create
	.section	.rodata
	.align	2
.LC111:
	.ascii	"traffic_total.db : not exist!\000"
	.align	2
.LC112:
	.ascii	"traffic_total.db : exist!\000"
	.align	2
.LC113:
	.ascii	"creat traffic_total.db using traffic.db\000"
	.align	2
.LC114:
	.ascii	"cp -f /ailvgo/system/traffic/traffic.db /ailvgo/sys"
	.ascii	"tem/traffic/traffic_total.db\000"
	.align	2
.LC115:
	.ascii	"Cannot open traffic_total.db!\000"
	.align	2
.LC116:
	.ascii	"DROP TABLE traffic_info\000"
	.align	2
.LC117:
	.ascii	"drop table in traffic_total.db success!\000"
	.align	2
.LC118:
	.ascii	"drop table in traffic_total.db failure!\000"
	.align	2
.LC119:
	.ascii	"CREATE TABLE traffic_total (mobile TEXT, time INTEG"
	.ascii	"ER)\000"
	.align	2
.LC120:
	.ascii	"create table in traffic_total.db success!\000"
	.align	2
.LC121:
	.ascii	"create table in traffic_total.db failure!\000"
	.align	2
.LC122:
	.ascii	"delete from traffic_total\000"
	.align	2
.LC123:
	.ascii	"delete traffic_total.db success!\000"
	.align	2
.LC124:
	.ascii	"delete traffic_total.db failure!\000"
	.align	2
.LC125:
	.ascii	"vacuum traffic_total\000"
	.align	2
.LC126:
	.ascii	"vacuum traffic_total.db success!\000"
	.align	2
.LC127:
	.ascii	"vacuum traffic_total.db failure!\000"
	.align	2
.LC128:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	traffic_total_check
	.syntax unified
	.arm
	.fpu softvfp
	.type	traffic_total_check, %function
traffic_total_check:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	ldr	r3, .L183
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-16]
	mov	r1, #2
	ldr	r0, .L183+4
	bl	access
	mov	r3, r0
	cmn	r3, #1
	bne	.L158
	ldr	r0, .L183+8
	bl	puts
	ldr	r0, .L183+8
	bl	sys_log
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L159
.L158:
	ldr	r0, .L183+12
	bl	puts
	mov	r3, #1
	str	r3, [fp, #-20]
.L159:
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bne	.L160
	ldr	r0, .L183+16
	bl	puts
	ldr	r0, .L183+20
	bl	puts
	ldr	r0, .L183+20
	bl	system
	mov	r0, #1
	bl	sleep
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L161
.L165:
	sub	r3, fp, #28
	mov	r1, r3
	ldr	r0, .L183+4
	bl	sqlite3_open
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	beq	.L162
	ldr	r0, .L183+24
	bl	puts
.L162:
	ldr	r0, [fp, #-28]
	sub	r3, fp, #24
	str	r3, [sp]
	mov	r3, #0
	mov	r2, #0
	ldr	r1, .L183+28
	bl	sqlite3_exec
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L163
	ldr	r0, .L183+32
	bl	puts
	ldr	r3, [fp, #-28]
	mov	r0, r3
	bl	sqlite3_close
	b	.L164
.L163:
	ldr	r0, .L183+36
	bl	puts
	ldr	r3, [fp, #-28]
	mov	r0, r3
	bl	sqlite3_close
	mov	r0, #1
	bl	sleep
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L161:
	ldr	r3, [fp, #-16]
	cmp	r3, #19
	ble	.L165
.L164:
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L166
.L170:
	sub	r3, fp, #28
	mov	r1, r3
	ldr	r0, .L183+4
	bl	sqlite3_open
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	beq	.L167
	ldr	r0, .L183+24
	bl	puts
.L167:
	ldr	r0, [fp, #-28]
	sub	r3, fp, #24
	str	r3, [sp]
	mov	r3, #0
	mov	r2, #0
	ldr	r1, .L183+40
	bl	sqlite3_exec
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L168
	ldr	r0, .L183+44
	bl	puts
	ldr	r3, [fp, #-28]
	mov	r0, r3
	bl	sqlite3_close
	b	.L171
.L168:
	ldr	r0, .L183+48
	bl	puts
	ldr	r3, [fp, #-28]
	mov	r0, r3
	bl	sqlite3_close
	mov	r0, #1
	bl	sleep
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L166:
	ldr	r3, [fp, #-16]
	cmp	r3, #19
	ble	.L170
	b	.L182
.L160:
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L172
.L176:
	sub	r3, fp, #28
	mov	r1, r3
	ldr	r0, .L183+4
	bl	sqlite3_open
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	beq	.L173
	ldr	r0, .L183+24
	bl	puts
.L173:
	ldr	r0, [fp, #-28]
	sub	r3, fp, #24
	str	r3, [sp]
	mov	r3, #0
	mov	r2, #0
	ldr	r1, .L183+52
	bl	sqlite3_exec
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L174
	ldr	r0, .L183+56
	bl	puts
	ldr	r3, [fp, #-28]
	mov	r0, r3
	bl	sqlite3_close
	b	.L175
.L174:
	ldr	r0, .L183+60
	bl	puts
	ldr	r3, [fp, #-28]
	mov	r0, r3
	bl	sqlite3_close
	mov	r0, #1
	bl	sleep
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L172:
	ldr	r3, [fp, #-16]
	cmp	r3, #19
	ble	.L176
.L175:
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L177
.L180:
	sub	r3, fp, #28
	mov	r1, r3
	ldr	r0, .L183+4
	bl	sqlite3_open
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	beq	.L178
	ldr	r0, .L183+24
	bl	puts
.L178:
	ldr	r0, [fp, #-28]
	sub	r3, fp, #24
	str	r3, [sp]
	mov	r3, #0
	mov	r2, #0
	ldr	r1, .L183+64
	bl	sqlite3_exec
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L179
	ldr	r0, .L183+68
	bl	puts
	ldr	r3, [fp, #-28]
	mov	r0, r3
	bl	sqlite3_close
	b	.L171
.L179:
	ldr	r0, .L183+72
	bl	puts
	ldr	r3, [fp, #-28]
	mov	r0, r3
	bl	sqlite3_close
	mov	r0, #1
	bl	sleep
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L177:
	ldr	r3, [fp, #-16]
	cmp	r3, #19
	ble	.L180
	b	.L182
.L171:
.L182:
	nop
	ldr	r3, .L183
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L181
	bl	__stack_chk_fail
.L181:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L184:
	.align	2
.L183:
	.word	.LC128
	.word	.LC68
	.word	.LC111
	.word	.LC112
	.word	.LC113
	.word	.LC114
	.word	.LC115
	.word	.LC116
	.word	.LC117
	.word	.LC118
	.word	.LC119
	.word	.LC120
	.word	.LC121
	.word	.LC122
	.word	.LC123
	.word	.LC124
	.word	.LC125
	.word	.LC126
	.word	.LC127
	.size	traffic_total_check, .-traffic_total_check
	.section	.rodata
	.align	2
.LC129:
	.ascii	"/ailvgo/system/traffic/traffic_saved.db\000"
	.align	2
.LC130:
	.ascii	"traffic_saved.db : not exist!\000"
	.align	2
.LC131:
	.ascii	"traffic_saved.db : exist!\000"
	.align	2
.LC132:
	.ascii	"creat traffic_saved.db using traffic.db\000"
	.align	2
.LC133:
	.ascii	"cp -f /ailvgo/system/traffic/traffic.db /ailvgo/sys"
	.ascii	"tem/traffic/traffic_saved.db\000"
	.align	2
.LC134:
	.ascii	"Cannot open traffic_saved.db!\000"
	.align	2
.LC135:
	.ascii	"drop table in traffic_saved.db success!\000"
	.align	2
.LC136:
	.ascii	"drop table in traffic_saved.db failure!\000"
	.align	2
.LC137:
	.ascii	"CREATE TABLE traffic_saved (traffic TEXT, time INTE"
	.ascii	"GER)\000"
	.align	2
.LC138:
	.ascii	"create table in traffic_saved.db success!\000"
	.align	2
.LC139:
	.ascii	"create table in traffic_saved.db failure!\000"
	.align	2
.LC140:
	.ascii	"vacuum traffic_saved\000"
	.align	2
.LC141:
	.ascii	"vacumm traffic_saved.db success!\000"
	.align	2
.LC142:
	.ascii	"vacuum traffic_saved.db failure!\000"
	.align	2
.LC143:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	traffic_saved_check
	.syntax unified
	.arm
	.fpu softvfp
	.type	traffic_saved_check, %function
traffic_saved_check:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	ldr	r3, .L206
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-16]
	mov	r1, #2
	ldr	r0, .L206+4
	bl	access
	mov	r3, r0
	cmn	r3, #1
	bne	.L186
	ldr	r0, .L206+8
	bl	puts
	ldr	r0, .L206+8
	bl	sys_log
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L187
.L186:
	ldr	r0, .L206+12
	bl	puts
	mov	r3, #1
	str	r3, [fp, #-20]
.L187:
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bne	.L188
	ldr	r0, .L206+16
	bl	puts
	ldr	r0, .L206+20
	bl	puts
	ldr	r0, .L206+20
	bl	system
	mov	r0, #1
	bl	sleep
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L189
.L193:
	sub	r3, fp, #28
	mov	r1, r3
	ldr	r0, .L206+4
	bl	sqlite3_open
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	beq	.L190
	ldr	r0, .L206+24
	bl	puts
.L190:
	ldr	r0, [fp, #-28]
	sub	r3, fp, #24
	str	r3, [sp]
	mov	r3, #0
	mov	r2, #0
	ldr	r1, .L206+28
	bl	sqlite3_exec
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L191
	ldr	r0, .L206+32
	bl	puts
	ldr	r3, [fp, #-28]
	mov	r0, r3
	bl	sqlite3_close
	b	.L192
.L191:
	ldr	r0, .L206+36
	bl	puts
	ldr	r3, [fp, #-28]
	mov	r0, r3
	bl	sqlite3_close
	mov	r0, #1
	bl	sleep
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L189:
	ldr	r3, [fp, #-16]
	cmp	r3, #19
	ble	.L193
.L192:
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L194
.L198:
	sub	r3, fp, #28
	mov	r1, r3
	ldr	r0, .L206+4
	bl	sqlite3_open
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	beq	.L195
	ldr	r0, .L206+24
	bl	puts
.L195:
	ldr	r0, [fp, #-28]
	sub	r3, fp, #24
	str	r3, [sp]
	mov	r3, #0
	mov	r2, #0
	ldr	r1, .L206+40
	bl	sqlite3_exec
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L196
	ldr	r0, .L206+44
	bl	puts
	ldr	r3, [fp, #-28]
	mov	r0, r3
	bl	sqlite3_close
	b	.L199
.L196:
	ldr	r0, .L206+48
	bl	puts
	ldr	r3, [fp, #-28]
	mov	r0, r3
	bl	sqlite3_close
	mov	r0, #1
	bl	sleep
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L194:
	ldr	r3, [fp, #-16]
	cmp	r3, #19
	ble	.L198
	b	.L205
.L188:
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L200
.L203:
	sub	r3, fp, #28
	mov	r1, r3
	ldr	r0, .L206+4
	bl	sqlite3_open
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	beq	.L201
	ldr	r0, .L206+24
	bl	puts
.L201:
	ldr	r0, [fp, #-28]
	sub	r3, fp, #24
	str	r3, [sp]
	mov	r3, #0
	mov	r2, #0
	ldr	r1, .L206+52
	bl	sqlite3_exec
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L202
	ldr	r0, .L206+56
	bl	puts
	ldr	r3, [fp, #-28]
	mov	r0, r3
	bl	sqlite3_close
	b	.L199
.L202:
	ldr	r0, .L206+60
	bl	puts
	ldr	r3, [fp, #-28]
	mov	r0, r3
	bl	sqlite3_close
	mov	r0, #1
	bl	sleep
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L200:
	ldr	r3, [fp, #-16]
	cmp	r3, #19
	ble	.L203
	b	.L205
.L199:
.L205:
	nop
	ldr	r3, .L206
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L204
	bl	__stack_chk_fail
.L204:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L207:
	.align	2
.L206:
	.word	.LC143
	.word	.LC129
	.word	.LC130
	.word	.LC131
	.word	.LC132
	.word	.LC133
	.word	.LC134
	.word	.LC116
	.word	.LC135
	.word	.LC136
	.word	.LC137
	.word	.LC138
	.word	.LC139
	.word	.LC140
	.word	.LC141
	.word	.LC142
	.size	traffic_saved_check, .-traffic_saved_check
	.section	.rodata
	.align	2
.LC144:
	.ascii	"traffic.db not exist!\000"
	.align	2
.LC145:
	.ascii	"open traffic.db failure!\000"
	.align	2
.LC146:
	.ascii	"select count(*) from traffic_info\000"
	.align	2
.LC147:
	.ascii	"number in traffic.db : %ld\012\000"
	.align	2
.LC148:
	.ascii	"select count(*) in traffic.db failure!\000"
	.align	2
.LC149:
	.ascii	"traffic.db : undelete records!\000"
	.align	2
.LC150:
	.ascii	"traffic.db : record staff mac!\000"
	.align	2
.LC151:
	.ascii	"delete from traffic_info where time in (select time"
	.ascii	" from traffic_info order by time asc limit 0, %ld)\000"
	.align	2
.LC152:
	.ascii	"delete traffic.db success!\000"
	.align	2
.LC153:
	.ascii	"delete traffic.db failure!\000"
	.align	2
.LC154:
	.ascii	"vacuum traffic.db success!\000"
	.align	2
.LC155:
	.ascii	"vacuum traffic.db failure!\000"
	.align	2
.LC156:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	traffic_check
	.syntax unified
	.arm
	.fpu softvfp
	.type	traffic_check, %function
traffic_check:
	@ args = 0, pretend = 0, frame = 232
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #240
	ldr	r3, .L228
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-216]
	mov	r3, #0
	str	r3, [fp, #-224]
	mov	r3, #0
	str	r3, [fp, #-212]
	mov	r3, #0
	str	r3, [fp, #-228]
	mov	r3, #0
	str	r3, [fp, #-220]
	mov	r3, #0
	str	r3, [fp, #-208]
	sub	r3, fp, #204
	mov	r2, #196
	mov	r1, #0
	mov	r0, r3
	bl	memset
	mov	r1, #2
	ldr	r0, .L228+4
	bl	access
	mov	r3, r0
	cmn	r3, #1
	bne	.L209
	ldr	r0, .L228+8
	bl	puts
	ldr	r0, .L228+8
	bl	sys_log
.L209:
	mov	r3, #0
	str	r3, [fp, #-220]
	b	.L210
.L214:
	sub	r3, fp, #236
	mov	r1, r3
	ldr	r0, .L228+4
	bl	sqlite3_open
	str	r0, [fp, #-216]
	ldr	r3, [fp, #-216]
	cmp	r3, #0
	beq	.L211
	ldr	r0, .L228+12
	bl	puts
.L211:
	ldr	r0, [fp, #-236]
	sub	r3, fp, #228
	mov	r2, #0
	str	r2, [sp]
	mvn	r2, #0
	ldr	r1, .L228+16
	bl	sqlite3_prepare
	ldr	r3, [fp, #-228]
	mov	r0, r3
	bl	sqlite3_step
	str	r0, [fp, #-216]
	ldr	r3, [fp, #-216]
	cmp	r3, #100
	bne	.L212
	ldr	r3, [fp, #-228]
	mov	r1, #0
	mov	r0, r3
	bl	sqlite3_column_int
	str	r0, [fp, #-224]
	ldr	r1, [fp, #-224]
	ldr	r0, .L228+20
	bl	printf
	ldr	r3, [fp, #-228]
	mov	r0, r3
	bl	sqlite3_finalize
	ldr	r3, [fp, #-236]
	mov	r0, r3
	bl	sqlite3_close
	b	.L213
.L212:
	ldr	r0, .L228+24
	bl	puts
	ldr	r3, [fp, #-228]
	mov	r0, r3
	bl	sqlite3_finalize
	ldr	r3, [fp, #-236]
	mov	r0, r3
	bl	sqlite3_close
	mov	r0, #1
	bl	sleep
	ldr	r3, [fp, #-220]
	add	r3, r3, #1
	str	r3, [fp, #-220]
.L210:
	ldr	r3, [fp, #-220]
	cmp	r3, #19
	ble	.L214
.L213:
	ldr	r3, [fp, #-224]
	ldr	r2, .L228+28
	cmp	r3, r2
	bgt	.L215
	ldr	r0, .L228+32
	bl	puts
	b	.L227
.L215:
	ldr	r0, .L228+36
	bl	puts
	ldr	r3, [fp, #-224]
	sub	r3, r3, #500
	str	r3, [fp, #-212]
	mov	r3, #0
	str	r3, [fp, #-220]
	b	.L217
.L221:
	sub	r3, fp, #236
	mov	r1, r3
	ldr	r0, .L228+4
	bl	sqlite3_open
	str	r0, [fp, #-216]
	ldr	r3, [fp, #-216]
	cmp	r3, #0
	beq	.L218
	ldr	r0, .L228+12
	bl	puts
.L218:
	sub	r3, fp, #208
	ldr	r2, [fp, #-212]
	ldr	r1, .L228+40
	mov	r0, r3
	bl	sprintf
	ldr	r0, [fp, #-236]
	sub	r1, fp, #208
	sub	r3, fp, #232
	str	r3, [sp]
	mov	r3, #0
	mov	r2, #0
	bl	sqlite3_exec
	str	r0, [fp, #-216]
	ldr	r3, [fp, #-216]
	cmp	r3, #0
	bne	.L219
	ldr	r0, .L228+44
	bl	puts
	ldr	r3, [fp, #-236]
	mov	r0, r3
	bl	sqlite3_close
	b	.L220
.L219:
	ldr	r0, .L228+48
	bl	puts
	ldr	r3, [fp, #-236]
	mov	r0, r3
	bl	sqlite3_close
	mov	r0, #1
	bl	sleep
	ldr	r3, [fp, #-220]
	add	r3, r3, #1
	str	r3, [fp, #-220]
.L217:
	ldr	r3, [fp, #-220]
	cmp	r3, #19
	ble	.L221
.L220:
	mov	r3, #0
	str	r3, [fp, #-220]
	b	.L222
.L225:
	sub	r3, fp, #236
	mov	r1, r3
	ldr	r0, .L228+4
	bl	sqlite3_open
	str	r0, [fp, #-216]
	ldr	r3, [fp, #-216]
	cmp	r3, #0
	beq	.L223
	ldr	r0, .L228+12
	bl	puts
.L223:
	sub	r3, fp, #208
	mov	r2, #200
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #208
	ldr	r1, .L228+52
	mov	r0, r3
	bl	sprintf
	ldr	r0, [fp, #-236]
	sub	r1, fp, #208
	sub	r3, fp, #232
	str	r3, [sp]
	mov	r3, #0
	mov	r2, #0
	bl	sqlite3_exec
	str	r0, [fp, #-216]
	ldr	r3, [fp, #-216]
	cmp	r3, #0
	bne	.L224
	ldr	r0, .L228+56
	bl	puts
	ldr	r3, [fp, #-236]
	mov	r0, r3
	bl	sqlite3_close
	nop
	b	.L227
.L224:
	ldr	r0, .L228+60
	bl	puts
	ldr	r3, [fp, #-236]
	mov	r0, r3
	bl	sqlite3_close
	mov	r0, #1
	bl	sleep
	ldr	r3, [fp, #-220]
	add	r3, r3, #1
	str	r3, [fp, #-220]
.L222:
	ldr	r3, [fp, #-220]
	cmp	r3, #19
	ble	.L225
.L227:
	nop
	ldr	r3, .L228
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L226
	bl	__stack_chk_fail
.L226:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L229:
	.align	2
.L228:
	.word	.LC156
	.word	.LC64
	.word	.LC144
	.word	.LC145
	.word	.LC146
	.word	.LC147
	.word	.LC148
	.word	9999
	.word	.LC149
	.word	.LC150
	.word	.LC151
	.word	.LC152
	.word	.LC153
	.word	.LC106
	.word	.LC154
	.word	.LC155
	.size	traffic_check, .-traffic_check
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
