// File: /workspace/github_cpp_makefile_star2_O2/DoubleString[P]RtConverter/src/RtConverter/Deploy.cpp
// Function: bamboo::Deploy::m_readConfiguresJson(bool)
void Deploy::m_readConfiguresJson(bool lexit) {
	fstream f;
	struct stat st;
	int iy, im, id, ih, imin, i, isys, j, ivrs, nsys, result,isat;
	double dsec, seslen;
	string item;
	char value[1024] = { 0 }, freq[MAXSYS][LEN_STRING] = { 0 }, cmd[1024] = { 0 };

	Json::CharReaderBuilder rbuilder;
	rbuilder["collectComments"] = false;
	Json::Value root;
	JSONCPP_STRING errs;
	f.open(f_jsonConfigures, ios::in);
	if (!f.is_open()) {
		printf("file = %s,failed to open file", f_jsonConfigures);
		if (lexit) exit(1); else return;
	}
	bool parse_ok = Json::parseFromStream(rbuilder, f, &root, &errs);
	f.close();
	if (!parse_ok) {
		printf("file = %s,failed to parse file", f_jsonConfigures);
		if (lexit) exit(1); else return;
	}
	post_stalist.clear();
	rt_mounts.clear();
	try {
		item = "post-configures";
		bamboo::excludeAnnoValue(value, root[item]["time"].asCString());
		sscanf(value, "%d%d%d%d%d%lf", &iy, &im, &id, &ih, &imin, &dsec);
		yr2year(iy);
		bamboo::excludeAnnoValue(value, root[item]["seslen"].asCString());
		sscanf(value, "%lf", &seslen);
		this->mjd0 = md_julday(iy, im, id);
		this->sod0 = ih * 3600 + imin * 60 + dsec;
		this->mjd1 = (int)(this->mjd0 + (this->sod0 + seslen) / 86400);
		this->sod1 = this->sod0 + seslen
			- (this->mjd1 - this->mjd0) * 86400.0;
		bamboo::excludeAnnoValue(value, root[item]["interval"].asCString());
		sscanf(value, "%lf", &dintv);

		bamboo::excludeAnnoValue(value, root[item]["speed"].asCString());
		sscanf(value, "%d", &speed);

		bamboo::excludeAnnoValue(value, root[item]["freqused"].asCString());
		split_string(true, value, ' ', ' ', ' ', &nsys, (char*)freq,
			LEN_STRING);
		for (i = 0; i < nsys; i++) {
			isys = -1;
			j = index_string(freq[i], ':');
			if (strstr(freq[i], "GPS") != NULL)
				isys = index_string(SYS, 'G');
			else if (strstr(freq[i], "GLS") != NULL)
				isys = index_string(SYS, 'R');
			else if (strstr(freq[i], "GAL") != NULL)
				isys = index_string(SYS, 'E');
			else if (strstr(freq[i], "BDS") != NULL
				|| strstr(freq[i], "CPS") != NULL
				|| strstr(freq[i], "CMS") != NULL)
				isys = index_string(SYS, 'C');
			else if (strstr(freq[i], "QZS") != NULL)
				isys = index_string(SYS, 'J');
			else {
				printf("freq = %s: unknown GNSS system", freq[i]);
				exit(1);
			}
			if (isys != -1) {
				split_string(true, freq[i] + j + 1, ' ', ' ', '_',
					this->nfreq + isys, (char*)(this->freq[isys]),
					LEN_FREQ);
				for (j = 0; j < this->nfreq[isys]; j++) {
					if (strstr(this->freq[isys][j], "L1") != NULL
						|| strstr(this->freq[isys][j], "G1") != NULL
						|| strstr(this->freq[isys][j], "E1") != NULL)
						strcpy(this->freq[isys][j], "L1");
					else if (strstr(this->freq[isys][j], "L2") != NULL
						|| strstr(this->freq[isys][j], "G2") != NULL
						|| strstr(this->freq[isys][j], "E2") != NULL
						|| strstr(this->freq[isys][j], "B1") != NULL) {
						strcpy(this->freq[isys][j], "L2");
					}
					else if (strstr(this->freq[isys][j], "L5") != NULL
						|| strstr(this->freq[isys][j], "E5a") != NULL)
						strcpy(this->freq[isys][j], "L5");
					else if (strstr(this->freq[isys][j], "E6") != NULL
						|| strstr(this->freq[isys][j], "B3") != NULL
						|| strstr(this->freq[isys][j], "LEX") != NULL)
						strcpy(this->freq[isys][j], "L6");
					else if (strstr(this->freq[isys][j], "E5b") != NULL
						|| strstr(this->freq[isys][j], "B2") != NULL)
						strcpy(this->freq[isys][j], "L7");
					else if (strstr(this->freq[isys][j], "E5") != NULL)
						strcpy(this->freq[isys][j], "L8");
				}
			}
		}
		
		bamboo::excludeAnnoValue(obsdir, root[item]["obsdir"].asCString());
		bamboo::excludeAnnoValue(outdir, root[item]["outdir"].asCString());
		bamboo::excludeAnnoValue(ephdir, root[item]["brdmdir"].asCString());
		for (i = 0; i < root[item]["sta-list"].size(); i++) {
			bamboo::excludeAnnoValue(value, root[item]["sta-list"][i].asCString());
			if (!m_checkStation(value)) {
				cout << "Existing same station,will continue for " << value << endl;
				continue;
			}
			post_stalist.push_back(value);
		}
		item = "satellites";
		const char* system[] = { "GPS","BDS","GAL","GLO" };
		nprn = 0;
		cprn->clear();
		for (isys = 0; isys < sizeof(system) / sizeof(char*); isys++) {
			for (isat = 0; isat < root[item][system[isys]].size(); isat++) {
				cprn[nprn++] = string(root[item][system[isys]][isat].asCString());
			}
		}
		item = "rt-configures";
		for (i = 0; i < root[item]["vrs-list"].size(); i++) {
			string svr = root[item]["vrs-list"][i]["server"].asCString();
			list<VrsStaItem> list_items;
			bamboo::excludeAnnoValue(value, root[item]["vrs-list"][i]["type"].asCString());
			int type = VrsStaItem::stream_type::stream;
			if (strstr(value, "vrs"))  
				type = VrsStaItem::stream_type::vrs;
			for (ivrs = 0; ivrs < root[item]["vrs-list"][i]["sta-list"].size(); ivrs++) {
				VrsStaItem vrsitem;
				bamboo::excludeAnnoValue(value, root[item]["vrs-list"][i]["sta-list"][ivrs]["name"].asCString());
				vrsitem.staname = value;
				vrsitem.type = type;
				if (vrsitem.type == VrsStaItem::stream_type::vrs) {
					bamboo::excludeAnnoValue(value, root[item]["vrs-list"][i]["sta-list"][ivrs]["xyz"].asCString());
					sscanf(value, "%lf%lf%lf", vrsitem.x, vrsitem.x + 1, vrsitem.x + 2);
				}
				if (!m_checkStation(vrsitem.staname)) {
					cout << "Existing same station,will continue for " << vrsitem.staname << endl;
					continue;
				}
				memset(cmd, 0, sizeof(cmd));
				if (vrsitem.type == VrsStaItem::stream_type::stream) {
					if ('/' == svr.back())
						sprintf(cmd, "%s%s", svr.c_str(), vrsitem.staname.c_str());
					else
						sprintf(cmd, "%s/%s", svr.c_str(), vrsitem.staname.c_str());
				}
				else {
					sprintf(cmd, "%s", svr.c_str());
				}
				vrsitem.strpath = string(cmd);
				list_items.push_back(vrsitem);
			}
			rt_mounts[svr] = list_items;
		}
		bamboo::excludeAnnoValue(value, root[item]["nrtk-port"].asCString());
		sscanf(value, "%d", &nrtkport);

		bamboo::excludeAnnoValue(value, root[item]["rtk-port"].asCString());
		sscanf(value, "%d", &rtkport);

		bamboo::excludeAnnoValue(value, root[item]["eph-port"].asCString());
		sscanf(value, "%d", &ephport);
		
		result = stat(f_jsonConfigures, &st);
		lastAct = st.st_mtime;
	}
	catch (...) {
		printf("file = %s,failed to parse database item", f_jsonConfigures);
		if (lexit) exit(1); else return;
	}
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28e8, %rsp           # imm = 0x28E8
movl %esi, -0x3c(%rbp)
movq %rdi, -0x30(%rbp)
leaq -0x880(%rbp), %rdi
callq 0x8760
leaq -0x50(%rbp), %rax
movq %rax, -0x10(%rax)
andq $0x0, -0x8(%rax)
movb $0x0, (%rax)
leaq -0x670(%rbp), %rdi
movl $0x400, %edx            # imm = 0x400
xorl %esi, %esi
callq 0x8390
leaq -0x2910(%rbp), %rbx
movl $0x1c00, %edx           # imm = 0x1C00
movq %rbx, %rdi
xorl %esi, %esi
callq 0x8390
leaq -0xd10(%rbp), %rdi
movl $0x400, %edx            # imm = 0x400
xorl %esi, %esi
callq 0x8390
leaq -0x1e0(%rbp), %rdi
callq 0xdc78
leaq -0x208(%rbp), %rdi
xorl %esi, %esi
callq 0x11ac6
leaq 0x3a794(%rip), %rsi     # 0x5f5d8
leaq -0x1b0(%rbp), %rdi
leaq -0x140(%rbp), %rdx
callq 0x8260
leaq -0x1e0(%rbp), %rdi
leaq -0x1b0(%rbp), %rsi
callq 0xe440
leaq -0x208(%rbp), %rsi
movq %rax, %rdi
callq 0x11da4
leaq -0x1b0(%rbp), %rdi
callq 0x82c0
leaq -0x208(%rbp), %rdi
callq 0x11cce
leaq -0x90(%rbp), %rdi
xorl %esi, %esi
callq 0x116f6
leaq -0x180(%rbp), %rax
movq %rax, -0x10(%rax)
andq $0x0, -0x8(%rax)
movb $0x0, (%rax)
movq -0x30(%rbp), %rax
leaq 0x1c40(%rax), %rsi
leaq -0x880(%rbp), %rdi
pushq $0x8
popq %rdx
movq %rsi, -0x68(%rbp)
callq 0x8590
leaq -0x800(%rbp), %rdi
callq 0x8190
testb %al, %al
je 0x25490
leaq -0x1e0(%rbp), %rdi
leaq -0x880(%rbp), %rsi
leaq -0x90(%rbp), %rdx
leaq -0x190(%rbp), %rcx
callq 0xe695
movl %eax, %r14d
leaq -0x880(%rbp), %rdi
callq 0x8090
testb %r14b, %r14b
je 0x254ae
movq -0x30(%rbp), %r14
leaq 0x1bf8(%r14), %rdi
movq %rdi, -0x98(%rbp)
callq 0x26192
leaq 0x1c10(%r14), %rdi
movq %rdi, -0xd8(%rbp)
callq 0x2627c
leaq 0x3cbd3(%rip), %rsi     # 0x61b21
leaq -0x60(%rbp), %rdi
callq 0x8c30
leaq -0x90(%rbp), %rdi
leaq -0x60(%rbp), %rsi
callq 0x139a8
leaq 0x3cbc3(%rip), %rsi     # 0x61b31
movq %rax, %rdi
callq 0x13980
movq %rax, %rdi
callq 0x12156
leaq -0x670(%rbp), %rdi
movq %rax, %rsi
callq 0x1d13c
leaq -0x170(%rbp), %r10
leaq -0xa8(%rbp), %r11
leaq 0x3c922(%rip), %rsi     # 0x618c4
leaq -0x670(%rbp), %rdi
leaq -0xb8(%rbp), %r14
leaq -0xb4(%rbp), %rcx
leaq -0xb0(%rbp), %r8
leaq -0xac(%rbp), %r9
movq %r14, %rdx
xorl %eax, %eax
pushq %r10
pushq %r11
callq 0x8600
popq %rcx
popq %rdx
movq %r14, %rdi
callq 0x1a0a1
leaq -0x90(%rbp), %rdi
leaq -0x60(%rbp), %rsi
callq 0x139a8
leaq 0x3cb42(%rip), %rsi     # 0x61b36
movq %rax, %rdi
callq 0x13980
movq %rax, %rdi
callq 0x12156
leaq -0x670(%rbp), %rdi
movq %rax, %rsi
callq 0x1d13c
leaq 0x4648f(%rip), %rsi     # 0x6b4a9
leaq -0x670(%rbp), %rdi
leaq -0x168(%rbp), %rdx
xorl %eax, %eax
callq 0x8600
movl -0xb8(%rbp), %edi
movl -0xb4(%rbp), %esi
movl -0xb0(%rbp), %edx
callq 0x19b34
movq -0x30(%rbp), %rsi
movl %eax, (%rsi)
imull $0xe10, -0xac(%rbp), %ecx # imm = 0xE10
imull $0x3c, -0xa8(%rbp), %edx
addl %ecx, %edx
cvtsi2sd %edx, %xmm0
addsd -0x170(%rbp), %xmm0
movsd %xmm0, 0x10(%rsi)
cvtsi2sd %eax, %xmm1
addsd -0x168(%rbp), %xmm0
movsd 0x3b83c(%rip), %xmm2    # 0x608c0
movapd %xmm0, %xmm3
divsd %xmm2, %xmm3
addsd %xmm1, %xmm3
cvttsd2si %xmm3, %ecx
movl %ecx, 0x4(%rsi)
subl %eax, %ecx
cvtsi2sd %ecx, %xmm1
mulsd %xmm2, %xmm1
subsd %xmm1, %xmm0
movsd %xmm0, 0x18(%rsi)
leaq -0x90(%rbp), %rdi
leaq -0x60(%rbp), %rsi
callq 0x139a8
leaq 0x3ca7c(%rip), %rsi     # 0x61b3d
movq %rax, %rdi
callq 0x13980
movq %rax, %rdi
callq 0x12156
leaq -0x670(%rbp), %rdi
movq %rax, %rsi
callq 0x1d13c
movq -0x30(%rbp), %rax
leaq 0x28(%rax), %rdx
leaq 0x463ba(%rip), %rsi     # 0x6b4a9
leaq -0x670(%rbp), %rdi
xorl %eax, %eax
callq 0x8600
leaq -0x90(%rbp), %rdi
leaq -0x60(%rbp), %rsi
callq 0x139a8
leaq 0x3ca32(%rip), %rsi     # 0x61b46
movq %rax, %rdi
callq 0x13980
movq %rax, %rdi
callq 0x12156
leaq -0x670(%rbp), %rdi
movq %rax, %rsi
callq 0x1d13c
movq -0x30(%rbp), %rax
leaq 0x8(%rax), %rdx
leaq 0x47029(%rip), %rsi     # 0x6c16b
leaq -0x670(%rbp), %rdi
xorl %eax, %eax
callq 0x8600
leaq -0x90(%rbp), %rdi
leaq -0x60(%rbp), %rsi
callq 0x139a8
leaq 0x3c9e5(%rip), %rsi     # 0x61b4c
movq %rax, %rdi
callq 0x13980
movq %rax, %rdi
callq 0x12156
leaq -0x670(%rbp), %rdi
movq %rax, %rsi
callq 0x1d13c
pushq $0x1
popq %rdi
leaq -0x670(%rbp), %rsi
pushq $0x20
popq %rcx
leaq -0xa4(%rbp), %r9
movl %ecx, %edx
movl %ecx, %r8d
pushq $0x400                  # imm = 0x400
pushq %rbx
callq 0x1a986
popq %rax
popq %rcx
movq -0x30(%rbp), %rax
leaq 0x30(%rax), %rcx
movq %rcx, -0x38(%rbp)
addq $0x5c, %rax
movq %rax, -0xa0(%rbp)
xorl %r14d, %r14d
leaq 0x3c13b(%rip), %r13     # 0x61308
movslq -0xa4(%rbp), %rax
cmpq %rax, %r14
jge 0x254d2
movq %r14, %rax
shlq $0xa, %rax
leaq (%rax,%rbp), %r15
addq $-0x2910, %r15          # imm = 0xD6F0
movq %r15, %rdi
pushq $0x3a
popq %rsi
callq 0x1a5f7
movl %eax, %r12d
movq %r15, %rdi
leaq 0x3c129(%rip), %rsi     # 0x61330
callq 0x8170
movb $0x47, %bl
testq %rax, %rax
jne 0x2529b
movq %r15, %rdi
leaq 0x3c934(%rip), %rsi     # 0x61b55
callq 0x8170
movb $0x52, %bl
testq %rax, %rax
jne 0x2529b
movq %r15, %rdi
leaq 0x3c922(%rip), %rsi     # 0x61b59
callq 0x8170
movb $0x45, %bl
testq %rax, %rax
jne 0x2529b
movq %r15, %rdi
leaq 0x3c15d(%rip), %rsi     # 0x613aa
callq 0x8170
movb $0x43, %bl
testq %rax, %rax
jne 0x2529b
movq %r15, %rdi
leaq 0x3c8fa(%rip), %rsi     # 0x61b5d
callq 0x8170
testq %rax, %rax
jne 0x2529b
movq %r15, %rdi
leaq 0x3c8ea(%rip), %rsi     # 0x61b61
callq 0x8170
testq %rax, %rax
jne 0x2529b
movq %r15, %rdi
leaq 0x3c8da(%rip), %rsi     # 0x61b65
callq 0x8170
movb $0x4a, %bl
testq %rax, %rax
je 0x25d26
movzbl %bl, %esi
leaq 0x3c9ca(%rip), %rdi     # 0x61c6f
callq 0x1a5f7
cmpl $-0x1, %eax
je 0x25488
movslq %r12d, %rcx
leaq (%r15,%rcx), %rsi
incq %rsi
cltq
movq -0x38(%rbp), %rcx
leaq (%rcx,%rax,4), %r12
imulq $0xc, %rax, %r15
addq -0xa0(%rbp), %r15
pushq $0x1
popq %rdi
pushq $0x20
popq %rcx
movl %ecx, %edx
pushq $0x5f
popq %r8
movq %r12, %r9
pushq $0x4
pushq %r15
callq 0x1a986
popq %rax
popq %rcx
xorl %ebx, %ebx
movslq (%r12), %rax
cmpq %rax, %rbx
jge 0x25488
movq %r15, %rdi
movq %r13, %rsi
callq 0x8170
testq %rax, %rax
jne 0x25333
movq %r15, %rdi
leaq 0x3c873(%rip), %rsi     # 0x61b88
callq 0x8170
testq %rax, %rax
jne 0x25333
movq %r15, %rdi
leaq 0x3c862(%rip), %rsi     # 0x61b8b
callq 0x8170
testq %rax, %rax
je 0x25347
movb $0x0, 0x2(%r15)
movw $0x314c, (%r15)         # imm = 0x314C
incq %rbx
addq $0x4, %r15
jmp 0x252ee
movq %r15, %rdi
leaq 0x3bfba(%rip), %rsi     # 0x6130b
callq 0x8170
testq %rax, %rax
jne 0x25397
movq %r15, %rdi
leaq 0x3c829(%rip), %rsi     # 0x61b8e
callq 0x8170
testq %rax, %rax
jne 0x25397
movq %r15, %rdi
leaq 0x49723(%rip), %rsi     # 0x6ea9c
callq 0x8170
testq %rax, %rax
jne 0x25397
movq %r15, %rdi
leaq 0x3c804(%rip), %rsi     # 0x61b91
callq 0x8170
testq %rax, %rax
je 0x253a4
movb $0x0, 0x2(%r15)
movw $0x324c, (%r15)         # imm = 0x324C
jmp 0x2533e
movq %r15, %rdi
leaq 0x3bf60(%rip), %rsi     # 0x6130e
callq 0x8170
testq %rax, %rax
jne 0x253cc
movq %r15, %rdi
leaq 0x3c7d2(%rip), %rsi     # 0x61b94
callq 0x8170
testq %rax, %rax
je 0x253dc
movb $0x0, 0x2(%r15)
movw $0x354c, (%r15)         # imm = 0x354C
jmp 0x2533e
movq %r15, %rdi
leaq 0x3c7b2(%rip), %rsi     # 0x61b98
callq 0x8170
testq %rax, %rax
jne 0x25418
movq %r15, %rdi
leaq 0x3c7a1(%rip), %rsi     # 0x61b9b
callq 0x8170
testq %rax, %rax
jne 0x25418
movq %r15, %rdi
leaq 0x3c790(%rip), %rsi     # 0x61b9e
callq 0x8170
testq %rax, %rax
je 0x25428
movb $0x0, 0x2(%r15)
movw $0x364c, (%r15)         # imm = 0x364C
jmp 0x2533e
movq %r15, %rdi
leaq 0x3c770(%rip), %rsi     # 0x61ba2
callq 0x8170
testq %rax, %rax
jne 0x25450
movq %r15, %rdi
leaq 0x3c760(%rip), %rsi     # 0x61ba6
callq 0x8170
testq %rax, %rax
je 0x25460
movb $0x0, 0x2(%r15)
movw $0x374c, (%r15)         # imm = 0x374C
jmp 0x2533e
movq %r15, %rdi
leaq 0x3c73f(%rip), %rsi     # 0x61ba9
callq 0x8170
testq %rax, %rax
je 0x2533e
movb $0x0, 0x2(%r15)
movw $0x384c, (%r15)         # imm = 0x384C
jmp 0x2533e
incq %r14
jmp 0x251cd
leaq 0x3c64d(%rip), %rdi     # 0x61ae4
movq -0x68(%rbp), %rsi
xorl %eax, %eax
callq 0x8070
cmpb $0x0, -0x3c(%rbp)
je 0x25cdb
jmp 0x254ca
leaq 0x3c64d(%rip), %rdi     # 0x61b02
movq -0x68(%rbp), %rsi
xorl %eax, %eax
callq 0x8070
cmpb $0x0, -0x3c(%rbp)
je 0x25cdb
pushq $0x1
popq %rdi
callq 0x8790
leaq -0x90(%rbp), %rdi
leaq -0x60(%rbp), %rsi
callq 0x139a8
leaq 0x3c6c3(%rip), %rsi     # 0x61bac
movq %rax, %rdi
callq 0x13980
movq %rax, %rdi
callq 0x12156
movq -0x30(%rbp), %rcx
leaq 0xb0(%rcx), %rdi
movq %rax, %rsi
callq 0x1d13c
leaq -0x90(%rbp), %rdi
leaq -0x60(%rbp), %rsi
callq 0x139a8
leaq 0x3c690(%rip), %rsi     # 0x61bb3
movq %rax, %rdi
callq 0x13980
movq %rax, %rdi
callq 0x12156
movq -0x30(%rbp), %rcx
leaq 0x1b0(%rcx), %rdi
movq %rax, %rsi
callq 0x1d13c
leaq -0x90(%rbp), %rdi
leaq -0x60(%rbp), %rsi
callq 0x139a8
leaq 0x3c65d(%rip), %rsi     # 0x61bba
movq %rax, %rdi
callq 0x13980
movq %rax, %rdi
callq 0x12156
movq -0x30(%rbp), %rcx
leaq 0x2b0(%rcx), %rdi
movq %rax, %rsi
callq 0x1d13c
xorl %ebx, %ebx
leaq -0x670(%rbp), %r13
leaq -0x248(%rbp), %r14
leaq -0x140(%rbp), %r15
leaq -0x90(%rbp), %rdi
leaq -0x60(%rbp), %rsi
callq 0x139a8
movq %rax, %rdi
leaq 0x3c611(%rip), %rsi     # 0x61bc2
callq 0x13980
movq %rax, %rdi
callq 0x12ede
cmpl %eax, %ebx
jae 0x25684
leaq -0x90(%rbp), %rdi
leaq -0x60(%rbp), %rsi
callq 0x139a8
movq %rax, %rdi
leaq 0x3c5e2(%rip), %rsi     # 0x61bc2
callq 0x13980
movq %rax, %rdi
movl %ebx, %esi
callq 0x1332c
movq %rax, %rdi
callq 0x12156
movq %r13, %rdi
movq %rax, %rsi
callq 0x1d13c
movq %r14, %rdi
movq %r13, %rsi
movq %r15, %rdx
callq 0x8260
movq -0x30(%rbp), %rdi
movq %r14, %rsi
callq 0x26022
movl %eax, %r12d
movq %r14, %rdi
callq 0x82c0
testb %r12b, %r12b
je 0x25657
movq %r15, %rdi
movq %r13, %rsi
leaq -0x160(%rbp), %rdx
callq 0x8260
movq -0x98(%rbp), %rdi
movq %r15, %rsi
callq 0x261b4
movq %r15, %rdi
callq 0x82c0
jmp 0x2567d
movq 0x6096a(%rip), %rdi     # 0x85fc8
leaq 0x3c566(%rip), %rsi     # 0x61bcb
callq 0x8610
movq %rax, %rdi
movq %r13, %rsi
callq 0x8610
movq %rax, %rdi
callq 0x8310
incl %ebx
jmp 0x25597
leaq 0x3c569(%rip), %rsi     # 0x61bf4
leaq -0x60(%rbp), %rdi
callq 0x8c30
movq -0x30(%rbp), %rax
andl $0x0, 0x4c(%rax)
leaq 0x6b0(%rax), %rcx
movq %rcx, -0x38(%rbp)
andq $0x0, 0x6b8(%rax)
movq 0x6b0(%rax), %rax
movb $0x0, (%rax)
xorl %ebx, %ebx
leaq -0x60(%rbp), %r14
leaq -0x140(%rbp), %r15
cmpq $0x4, %rbx
je 0x2577a
xorl %r13d, %r13d
leaq -0x90(%rbp), %rdi
movq %r14, %rsi
callq 0x139a8
leaq 0x5ff97(%rip), %rcx     # 0x85680
movq (%rcx,%rbx,8), %r12
movq %rax, %rdi
movq %r12, %rsi
callq 0x13980
movq %rax, %rdi
callq 0x12ede
cmpl %eax, %r13d
jae 0x25772
leaq -0x90(%rbp), %rdi
movq %r14, %rsi
callq 0x139a8
movq %rax, %rdi
movq %r12, %rsi
callq 0x13980
movq %rax, %rdi
movl %r13d, %esi
callq 0x1332c
movq %rax, %rdi
callq 0x12156
movq %r15, %rdi
movq %rax, %rsi
leaq -0x160(%rbp), %rdx
callq 0x8260
movq -0x30(%rbp), %rcx
movslq 0x4c(%rcx), %rdi
leal 0x1(%rdi), %eax
movl %eax, 0x4c(%rcx)
shlq $0x5, %rdi
addq -0x38(%rbp), %rdi
movq %r15, %rsi
callq 0x87a0
movq %r15, %rdi
callq 0x82c0
incl %r13d
jmp 0x256d3
incq %rbx
jmp 0x256c6
leaq 0x3c482(%rip), %rsi     # 0x61c03
leaq -0x60(%rbp), %rdi
callq 0x8c30
leaq -0x160(%rbp), %rbx
leaq -0xd0(%rbp), %r12
leaq -0x228(%rbp), %r13
leaq -0x268(%rbp), %r14
movl $0x0, -0x38(%rbp)
leaq -0x90(%rbp), %rdi
leaq -0x60(%rbp), %rsi
callq 0x139a8
movq %rax, %rdi
leaq 0x3c44a(%rip), %rsi     # 0x61c11
callq 0x13980
movq %rax, %rdi
callq 0x12ede
cmpl %eax, -0x38(%rbp)
jae 0x25bc4
leaq -0x90(%rbp), %rdi
leaq -0x60(%rbp), %rsi
callq 0x139a8
movq %rax, %rdi
leaq 0x3c41a(%rip), %rsi     # 0x61c11
callq 0x13980
movq %rax, %rdi
movl -0x38(%rbp), %esi
callq 0x1332c
movq %rax, %rdi
leaq 0x3c409(%rip), %rsi     # 0x61c1a
callq 0x13980
movq %rax, %rdi
callq 0x12156
movq %rbx, %rdi
movq %rax, %rsi
leaq -0x140(%rbp), %rdx
callq 0x8260
movq %r12, -0xc8(%rbp)
movq %r12, -0xd0(%rbp)
andq $0x0, -0xc0(%rbp)
leaq -0x90(%rbp), %rdi
leaq -0x60(%rbp), %rsi
callq 0x139a8
movq %rax, %rdi
leaq 0x3c3b1(%rip), %rsi     # 0x61c11
callq 0x13980
movq %rax, %rdi
movl -0x38(%rbp), %esi
callq 0x1332c
movq %rax, %rdi
leaq 0x3c3a7(%rip), %rsi     # 0x61c21
callq 0x13980
movq %rax, %rdi
callq 0x12156
leaq -0x670(%rbp), %rdi
movq %rax, %rsi
callq 0x1d13c
leaq -0x670(%rbp), %rdi
leaq 0x3c382(%rip), %rsi     # 0x61c26
callq 0x8170
xorl %ecx, %ecx
movq %rax, -0xa0(%rbp)
testq %rax, %rax
sete %cl
movl %ecx, -0x98(%rbp)
xorl %ebx, %ebx
leaq -0x90(%rbp), %rdi
leaq -0x60(%rbp), %rsi
callq 0x139a8
movq %rax, %rdi
leaq 0x3c337(%rip), %rsi     # 0x61c11
callq 0x13980
movq %rax, %rdi
movl -0x38(%rbp), %esi
callq 0x1332c
movq %rax, %rdi
leaq 0x3c2ce(%rip), %rsi     # 0x61bc2
callq 0x13980
movq %rax, %rdi
callq 0x12ede
cmpl %eax, %ebx
jae 0x25b84
leaq -0x110(%rbp), %rax
movq %rax, -0x120(%rbp)
andq $0x0, -0x118(%rbp)
xorl %ecx, %ecx
movb %cl, -0x110(%rbp)
leaq -0xf0(%rbp), %rax
movq %rax, -0x100(%rbp)
andq $0x0, -0xf8(%rbp)
movb %cl, -0xf0(%rbp)
leaq -0x90(%rbp), %rdi
leaq -0x60(%rbp), %rsi
callq 0x139a8
movq %rax, %rdi
leaq 0x3c2b4(%rip), %rsi     # 0x61c11
callq 0x13980
movq %rax, %rdi
movl -0x38(%rbp), %esi
callq 0x1332c
movq %rax, %rdi
leaq 0x3c24b(%rip), %rsi     # 0x61bc2
callq 0x13980
movq %rax, %rdi
movl %ebx, %esi
callq 0x1332c
movq %rax, %rdi
leaq 0x39994(%rip), %rsi     # 0x5f324
callq 0x13980
movq %rax, %rdi
callq 0x12156
leaq -0x670(%rbp), %rdi
movq %rax, %rsi
callq 0x1d13c
leaq -0x120(%rbp), %rdi
leaq -0x670(%rbp), %rsi
callq 0x8c30
movl -0x98(%rbp), %eax
movl %eax, -0x140(%rbp)
cmpq $0x0, -0xa0(%rbp)
je 0x25a6c
leaq -0x90(%rbp), %rdi
leaq -0x60(%rbp), %rsi
callq 0x139a8
movq %rax, %rdi
leaq 0x3c21e(%rip), %rsi     # 0x61c11
callq 0x13980
movq %rax, %rdi
movl -0x38(%rbp), %esi
callq 0x1332c
movq %rax, %rdi
leaq 0x3c1b5(%rip), %rsi     # 0x61bc2
callq 0x13980
movq %rax, %rdi
movl %ebx, %esi
callq 0x1332c
movq %rax, %rdi
leaq 0x3c204(%rip), %rsi     # 0x61c2a
callq 0x13980
movq %rax, %rdi
callq 0x12156
leaq -0x670(%rbp), %rdi
movq %rax, %rsi
callq 0x1d13c
leaq -0x670(%rbp), %rdi
leaq 0x49b7d(%rip), %rsi     # 0x6f5cd
leaq -0x138(%rbp), %rdx
leaq -0x130(%rbp), %rcx
leaq -0x128(%rbp), %r8
xorl %eax, %eax
callq 0x8600
movq %r13, %rdi
leaq -0x120(%rbp), %rsi
callq 0x8870
movq -0x30(%rbp), %rdi
movq %r13, %rsi
callq 0x26022
movq %r13, %rdi
movl %eax, %r13d
movq %rdi, %r12
callq 0x82c0
testb %r13b, %r13b
je 0x25ae4
movl $0x400, %edx            # imm = 0x400
leaq -0xd10(%rbp), %r15
movq %r15, %rdi
xorl %esi, %esi
callq 0x8390
cmpl $0x1, -0x140(%rbp)
jne 0x25b13
movq -0x160(%rbp), %rdx
movq -0x158(%rbp), %rax
cmpb $0x2f, -0x1(%rdx,%rax)
movq -0x120(%rbp), %rcx
movq %r12, %r13
jne 0x25b27
movq %r15, %rdi
leaq 0x3ff8e(%rip), %rsi     # 0x65a70
jmp 0x25b31
movq 0x604dd(%rip), %rdi     # 0x85fc8
leaq 0x3c0d9(%rip), %rsi     # 0x61bcb
callq 0x8610
movq %r12, %r13
movq %rax, %rdi
leaq -0x120(%rbp), %rsi
callq 0x8560
movq %rax, %rdi
callq 0x8310
jmp 0x25b71
movq -0x160(%rbp), %rsi
movq %r15, %rdi
callq 0x85c0
movq %r12, %r13
jmp 0x25b38
movq %r15, %rdi
leaq 0x3c0fd(%rip), %rsi     # 0x61c2e
xorl %eax, %eax
callq 0x8110
movq %r14, %rdi
movq %r15, %rsi
leaq -0x3d(%rbp), %rdx
callq 0x8260
leaq -0x100(%rbp), %rdi
movq %r14, %rsi
callq 0x87a0
movq %r14, %rdi
callq 0x82c0
leaq -0xd0(%rbp), %rdi
leaq -0x140(%rbp), %rsi
callq 0x261c4
leaq -0x140(%rbp), %rdi
callq 0x23792
incl %ebx
jmp 0x258c0
movq -0xd8(%rbp), %rdi
leaq -0x160(%rbp), %rbx
movq %rbx, %rsi
callq 0x261d4
leaq -0xd0(%rbp), %r12
movq %rax, %rdi
movq %r12, %rsi
callq 0x2623e
movq %r12, %rdi
callq 0x23758
movq %rbx, %rdi
callq 0x82c0
incl -0x38(%rbp)
jmp 0x257ad
leaq -0x90(%rbp), %rdi
leaq -0x60(%rbp), %rsi
callq 0x139a8
leaq 0x3c059(%rip), %rsi     # 0x61c34
movq %rax, %rdi
callq 0x13980
movq %rax, %rdi
callq 0x12156
leaq -0x670(%rbp), %rdi
movq %rax, %rsi
callq 0x1d13c
movq -0x30(%rbp), %rax
leaq 0x54(%rax), %rdx
leaq 0x46562(%rip), %rsi     # 0x6c16b
leaq -0x670(%rbp), %rdi
xorl %eax, %eax
callq 0x8600
leaq -0x90(%rbp), %rdi
leaq -0x60(%rbp), %rsi
callq 0x139a8
leaq 0x3c007(%rip), %rsi     # 0x61c35
movq %rax, %rdi
callq 0x13980
movq %rax, %rdi
callq 0x12156
leaq -0x670(%rbp), %rdi
movq %rax, %rsi
callq 0x1d13c
movq -0x30(%rbp), %rax
leaq 0x50(%rax), %rdx
leaq 0x4650f(%rip), %rsi     # 0x6c16b
leaq -0x670(%rbp), %rdi
xorl %eax, %eax
callq 0x8600
leaq -0x90(%rbp), %rdi
leaq -0x60(%rbp), %rsi
callq 0x139a8
leaq 0x3bfbd(%rip), %rsi     # 0x61c3e
movq %rax, %rdi
callq 0x13980
movq %rax, %rdi
callq 0x12156
leaq -0x670(%rbp), %rdi
movq %rax, %rsi
callq 0x1d13c
movq -0x30(%rbp), %r14
leaq 0x58(%r14), %rdx
leaq 0x464bc(%rip), %rsi     # 0x6c16b
leaq -0x670(%rbp), %rdi
xorl %eax, %eax
callq 0x8600
leaq -0x910(%rbp), %rbx
movq -0x68(%rbp), %rdi
movq %rbx, %rsi
callq 0x8580
movq 0x58(%rbx), %rax
movq %rax, 0x1bf0(%r14)
leaq -0x190(%rbp), %rdi
callq 0x82c0
leaq -0x90(%rbp), %rdi
callq 0x11cce
leaq -0x1e0(%rbp), %rdi
callq 0xdf3e
leaq -0x60(%rbp), %rdi
callq 0x82c0
leaq -0x880(%rbp), %rdi
callq 0x8180
addq $0x28e8, %rsp           # imm = 0x28E8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x3be3c(%rip), %rdi     # 0x61b69
movq %r15, %rsi
xorl %eax, %eax
callq 0x8070
jmp 0x254ca
jmp 0x25e18
jmp 0x25d48
movq %rax, %rbx
jmp 0x25d67
movq %rax, %rbx
jmp 0x25e33
movq %rax, %rbx
jmp 0x25e3f
movq %rax, %rbx
leaq -0x1b0(%rbp), %rdi
callq 0x82c0
leaq -0x208(%rbp), %rdi
jmp 0x25e2e
jmp 0x25db8
movq %rax, %rbx
leaq -0x140(%rbp), %rdi
jmp 0x25de4
jmp 0x25db8
jmp 0x25db8
jmp 0x25db8
movq %rax, %rbx
leaq -0x248(%rbp), %rdi
jmp 0x25de4
jmp 0x25db8
jmp 0x25dbd
jmp 0x25db8
jmp 0x25db8
jmp 0x25db8
jmp 0x25dbd
jmp 0x25db8
jmp 0x25dc2
movq %rax, %rbx
leaq -0x228(%rbp), %rdi
callq 0x82c0
jmp 0x25dc5
jmp 0x25db8
jmp 0x25db8
movq %rax, %rbx
jmp 0x25de9
movq %rax, %rbx
jmp 0x25dd1
movq %rax, %rbx
leaq -0x140(%rbp), %rdi
callq 0x23792
leaq -0xd0(%rbp), %rdi
callq 0x23758
leaq -0x160(%rbp), %rdi
callq 0x82c0
movq %rbx, %rdi
callq 0x8270
leaq 0x3be4f(%rip), %rdi     # 0x61c47
movq -0x68(%rbp), %rsi
xorl %eax, %eax
callq 0x8070
cmpb $0x0, -0x3c(%rbp)
jne 0x25e13
callq 0x8a60
jmp 0x25cdb
jmp 0x254ca
movq %rax, %rbx
leaq -0x190(%rbp), %rdi
callq 0x82c0
leaq -0x90(%rbp), %rdi
callq 0x11cce
leaq -0x1e0(%rbp), %rdi
callq 0xdf3e
leaq -0x60(%rbp), %rdi
callq 0x82c0
leaq -0x880(%rbp), %rdi
callq 0x8180
movq %rbx, %rdi
callq 0x8b30