// File: /workspace/github_cpp_makefile_star2_O1/DoubleString[P]RtConverter/src/Rnxobs/RnxobsFile_sat.cpp
// Function: bamboo::RnxobsFile_sat::v_readEpoch(int&, double&)
void RnxobsFile_sat::v_readEpoch(int& mjd, double& sod) {
	int lfind, nprn, iflag, i, j, k, nline, ntemp;
	int iy, im, id, ih, imi, isat, isys, iobs;
	double sec, ds;
	streampos pos;
	char cline[1024], code[4];
	string line, varstr;
	double obt[MAXOBSTYP];
	if (!(this->in)){
		memset(obs, 0, sizeof(double) * MAXSAT * 2 * MAXFREQ);
		this->mjd = mjd;
		this->sod = sod;
		return;
	}
	Deploy* dly = RtRinexStream::m_getCurConfigures();
	// Read Rnx
	memset(obs, 0, sizeof(double) * MAXSAT * 2 * MAXFREQ);
	memset(dop,0,sizeof(double) * MAXSAT * 2 * MAXFREQ);
	memset(snr,0,sizeof(double) * MAXSAT * MAXFREQ);
	lfind = false;
	while (!lfind && !in.eof()) {
		pos = in.tellg();
		getline(in, line);
		if(!len_trim(line.c_str()))
			continue;
		if (ver < 3.0) {
			nprn = atoi(line.substr(29, 3).c_str());
			iflag = atoi(line.substr(26, 3).c_str());
		} else {
			nprn = atoi(line.substr(32, 3).c_str());
			iflag = atoi(line.substr(29, 3).c_str());
		}
		if (nprn > MAXSAT) {
			printf("nprn = %d,MAXSAT = %d,staname = %s,station's satellite number is bigger than MAXSAT,possible is the readEpoch iflag!",
					nprn,MAXSAT,staname.c_str());
			in.close();
			memset(obs, 0, sizeof(double) * MAXSAT * 2 * MAXFREQ);
			this->mjd = mjd;
			this->sod = sod;
			return;
		}
		// station moved
		if (iflag > 1) {
			for (i = 0; i < nprn; i++) { // nprn indicate the nline
				getline(in, line);
				if (strstr(line.c_str(), "ANTENNA: DELTA H/E/N")) {
					cout << "***INFO(readEpoch):Changing the ENU of the station"
							<< staname << endl;
					sscanf(line.c_str(), "%lf%lf%lf", &h, &e, &n);
				}
			}
			continue;
		}
		// check if the format is correct
		if (ver >= 3.0)
			sscanf(line.c_str(), "%*s%d%d%d%d%d%lf", &iy, &im, &id, &ih, &imi,
					&sec);
		else
			sscanf(line.c_str(), "%d%d%d%d%d%lf", &iy, &im, &id, &ih, &imi,
					&sec);
		yr2year(iy);
		if(iy < 2000 || iy > 3500){
			printf("iy = %d,staname = %s,reading time error,possible is the readEpoch iflag!",iy,staname.c_str());
			in.close();
			memset(obs, 0, sizeof(double) * MAXSAT * 2 * MAXFREQ);
			this->mjd = mjd;
			this->sod = sod;
			return;
		}
		this->mjd = md_julday(iy, im, id);
		this->sod = ih * 3600.0 + imi * 60 + sec;//NINT(ih * 3600.0 + imi * 60 + sec);
		if (ver < 3.0) {
			if (nprn % 12 != 0)
				nline = (int) (nprn / 12.0) + 1;
			else
				nline = nprn / 12;
			if (nprn == 0)
				nline = 1;
		}
		ds = timdif(mjd, sod, this->mjd, this->sod);
		if (ds < -MAXWND) {
			// the requested time is before the current time in the obsfile
			in.seekg(pos);
			this->mjd = mjd;
			this->sod = sod;
			return;
		} else if (ds > MAXWND) {
			// keep tracing until find the corresponding observation
			if (ver < 3.0) {
				for (i = 0; i < nline - 1; i++)
					getline(in, line);
				if (nobstype[0] % 5 != 0)
					ntemp = nprn * ((int) (nobstype[0] / 5) + 1);
				else
					ntemp = nprn * (nobstype[0] / 5);
				for (i = 0; i < ntemp; i++)
					getline(in, line);
			} else {
				for (i = 0; i < nprn; i++)
					getline(in, line);
			}
		} else {
			lfind = true;
			mjd = this->mjd;
			sod = ih * 3600.0 + imi * 60.0 + sec;
			this->sod = sod;
		}
	}
	if(in.eof()){
		this->mjd = mjd;
		this->sod = sod;
		return;
	}
	if (ver < 3.0) {
		// get rinex 2.x version observation data
		in.seekg(pos);
		for (i = 0; i < nline; i++) {
			getline(in, line);
			for (j = 0; j < MIN(nprn - 12 * i, 12); j++) {
				cprn_ob[j + i * 12] = line.substr(32 + j * 3, 3);
				if (cprn_ob[j + i * 12][0] == ' ')
					cprn_ob[j + i * 12][0] = 'G';
				if (cprn_ob[j + i * 12][1] == ' ')
					cprn_ob[j + i * 12][1] = '0';
			}
		}
		if (nobstype[0] % 5 != 0)
			nline = (int) (nobstype[0] / 5.0) + 1;
		else
			nline = nobstype[0] / 5;
		for (i = 0; i < nprn; i++) {
			for (j = 0; j < nline; j++) {
				getline(in, line);
				strcpy(cline, line.c_str());
				fillobs(cline, MIN(nobstype[0] - j * 5, 5), 16,ver);
				varstr = string(cline);
				for (k = 0; k < MIN(nobstype[0] - j * 5, 5); k++) {
					obt[k + j * 5] = 0.0;
					obt[k + j * 5] = atof(varstr.substr(16 * k, 14).c_str());
				}
			}
			isat = pointer_string(dly->nprn, dly->cprn, this->cprn_ob[i]);
			if (isat != -1) {
				//isys = SYS.find_first_of(this->cprn_ob[i][0]);
				isys = index_string(SYS,this->cprn_ob[i][0]);
				for (j = 0; j < dly->nfreq[isys]; j++) {
					code[0] = 'P';
					code[1] = dly->freq[isys][j][1];
					code[2] = '\0';
					k = pointer_string(nobstype[isys], obstype[isys],
							string(code));
					if (k != -1) {
						this->obs[isat][MAXFREQ + j] = obt[k];
						code[0] = 'C';
						code[1] = dly->freq[isys][j][1];
						code[2] = 'P';
						code[3] = '\0';
						memcpy(this->fob[isat][MAXFREQ + j],code,sizeof(char) * 4);
					}
					if (this->obs[isat][MAXFREQ + j] == 0) {
						code[0] = 'C';
						code[1] = dly->freq[isys][j][1];
						code[2] = '\0';

						k = pointer_string(nobstype[isys], obstype[isys],
								string(code));
						if (k != -1) {
							this->obs[isat][MAXFREQ + j] = obt[k];
							code[0] = 'C';
							code[1] = dly->freq[isys][j][1];
							code[2] = 'C';
							code[3] = '\0';
							memcpy(this->fob[isat][MAXFREQ + j],code,sizeof(char) * 4);
						}
					}
					code[0] = 'L';
					code[1] = dly->freq[isys][j][1];
					code[2] = '\0';
					k = pointer_string(nobstype[isys], obstype[isys],
							string(code));
					if (k != -1) {
						this->obs[isat][j] = obt[k];
						code[0] = 'L';
						code[1] = dly->freq[isys][j][1];
						code[2] = 'P';
						code[3] = '\0';
						memcpy(this->fob[isat][j],code,sizeof(char) * 4);
					}
					/////////////////////// dop observations//////////////
					code[0] = 'D';
					code[1] = dly->freq[isys][j][1];
					code[2] = '\0';
					k = pointer_string(nobstype[isys], obstype[isys],
							string(code));
					if (k != -1) {
						this->dop[isat][MAXFREQ + j] = obt[k];
					}
				}
				m_checkObs(isat,obs[isat],dop[isat],snr[isat]);
			}
		}
	} else {
		// get rinex 3.x version observation data
		for (i = 0; i < nprn; i++) {
			getline(in, line);
			//isys = SYS.find_first_of(line[0]);
			isys = index_string(SYS,line[0]);
			if (isys == -1)
				continue;
			if (line[1] == ' ')
				line[1] = '0';
			isat = pointer_string(dly->nprn, dly->cprn, line.substr(0, 3));
			if (isat == -1)
				continue;
			strcpy(cline, line.substr(3, line.size() - 3).c_str());
			fillobs(cline, nobstype[isys], 16,ver);
			varstr = line.substr(0,3) + string(cline);
			for (j = 0; j < nobstype[isys]; j++) {
				obt[j] = atof(varstr.substr(3 + j * 16, 14).c_str());
			}
			for (j = 0; j < dly->nfreq[isys]; j++) {
				if (!(this->tstore[isat][j])) {
					for (iobs = 0; iobs < strlen(OBSTYPE); iobs++) {
						code[0] = 'C';
						code[1] = dly->freq[isys][j][1];
						code[2] = OBSTYPE[iobs];
						code[3] = '\0';
						k = pointer_string(nobstype[isys], obstype[isys],
								string(code));
						if (k != -1) {
							obs[isat][MAXFREQ + j] = obt[k];
							memcpy(this->fob[isat][MAXFREQ + j],code,sizeof(char) * 4);
						}
						code[0] = 'L';
						code[1] = dly->freq[isys][j][1];
						code[2] = OBSTYPE[iobs];
						code[3] = '\0';
						k = pointer_string(nobstype[isys], obstype[isys],
								string(code));
						if (k != -1) {
							obs[isat][j] = obt[k];
							memcpy(this->fob[isat][j],code,sizeof(char) * 4);
						}

						code[0] = 'S';
						code[1] = dly->freq[isys][j][1];
						code[2] = OBSTYPE[iobs];
						code[3] = '\0';
						k = pointer_string(nobstype[isys], obstype[isys],
								string(code));
						if (k != -1) {
							snr[isat][j] = obt[k];
						}

						code[0] = 'D';
						code[1] = dly->freq[isys][j][1];
						code[2] = OBSTYPE[iobs];
						code[3] = '\0';

						k = pointer_string(nobstype[isys], obstype[isys],
								string(code));
						if (k != -1) {
							dop[isat][MAXFREQ + j] = obt[k];
						}
						//// must according the uobs to decide
						if (obs[isat][j] != 0 && obs[isat][MAXFREQ + j] != 0)
							break;
					}
					if (iobs < strlen(OBSTYPE)) {
						usetype[isat][j] = OBSTYPE[iobs];
						tstore[isat][j] = 1;
					}
				} else {
					code[0] = 'C';
					code[1] = dly->freq[isys][j][1];
					code[2] = this->usetype[isat][j];
					code[3] = '\0';
					k = pointer_string(nobstype[isys], obstype[isys],
							string(code));
					if (k != -1) {
						obs[isat][MAXFREQ + j] = obt[k];
						memcpy(this->fob[isat][MAXFREQ + j],code,sizeof(char) * 4);
					}
					code[0] = 'L';
					code[1] = dly->freq[isys][j][1];
					code[2] = this->usetype[isat][j];
					code[3] = '\0';
					k = pointer_string(nobstype[isys], obstype[isys],
							string(code));
					if (k != -1) {
						obs[isat][j] = obt[k];
						memcpy(this->fob[isat][j],code,sizeof(char) * 4);
					}

					code[0] = 'S';
					code[1] = dly->freq[isys][j][1];
					code[2] = this->usetype[isat][j];
					code[3] = '\0';

					k = pointer_string(nobstype[isys], obstype[isys],
							string(code));
					if (k != -1) {
						snr[isat][j] = obt[k];
					}

					code[0] = 'D';
					code[1] = dly->freq[isys][j][1];
					code[2] = this->usetype[isat][j];
					code[3] = '\0';

					k = pointer_string(nobstype[isys], obstype[isys],
							string(code));
					if (k != -1) {
						dop[isat][MAXFREQ + j] = obt[k];
					}
				}
			}
			m_checkObs(isat,obs[isat],dop[isat],snr[isat]);
		}
	}
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x8d8, %rsp            # imm = 0x8D8
movq %rdx, %r15
movq %rsi, %r12
movq %rdi, %rbx
leaq -0xd8(%rbp), %rcx
movq %rcx, -0x10(%rcx)
xorl %eax, %eax
movq %rax, -0x8(%rcx)
movb %al, (%rcx)
leaq -0x180(%rbp), %rcx
movq %rcx, -0x10(%rcx)
movq %rax, -0x8(%rcx)
movb %al, (%rcx)
movq 0xb820(%rdi), %rax
movq -0x18(%rax), %rax
leaq 0x8(%rdi), %r14
testb $0x5, 0xb840(%rdi,%rax)
je 0x24a63
movl $0x1fe0, %edx           # imm = 0x1FE0
movq %r14, %rdi
xorl %esi, %esi
callq 0x8390
movl (%r12), %eax
movl %eax, 0x6010(%rbx)
movsd (%r15), %xmm0
movsd %xmm0, 0x3fc8(%rbx)
jmp 0x26351
movq %r12, -0x78(%rbp)
movq %r15, -0x60(%rbp)
leaq 0xb820(%rbx), %rax
movq %rax, -0x58(%rbp)
leaq 0x4fc0(%rbx), %rdi
xorl %r12d, %r12d
movl $0xff0, %edx            # imm = 0xFF0
movq %rdi, -0xf8(%rbp)
xorl %esi, %esi
callq 0x8390
movl $0x3fc0, %edx           # imm = 0x3FC0
movq %r14, -0xa8(%rbp)
movq %r14, %rdi
xorl %esi, %esi
callq 0x8390
movq 0xb820(%rbx), %rax
movq -0x18(%rax), %rax
testb $0x2, 0xb840(%rbx,%rax)
movq %rbx, -0x38(%rbp)
jne 0x25029
leaq 0x6cb8(%rbx), %rax
movq %rax, -0x48(%rbp)
leaq 0x6ca8(%rbx), %rax
movq %rax, -0x50(%rbp)
leaq 0x6cb0(%rbx), %rax
movq %rax, -0x68(%rbp)
leaq -0xe8(%rbp), %r14
movq %rax, -0x70(%rbp)
movq -0x58(%rbp), %rbx
movq %rbx, %rdi
callq 0x8b20
movq %rax, %r13
movq %rdx, %r12
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x8600
movsbl %al, %edx
movq -0x58(%rbp), %rdi
movq %r14, %rsi
callq 0x8be0
movq -0xe8(%rbp), %rdi
callq 0x1d95b
testl %eax, %eax
jne 0x24b55
movq -0x38(%rbp), %rcx
movq 0xb820(%rcx), %rax
movq -0x18(%rax), %rax
testb $0x2, 0xb840(%rcx,%rax)
je 0x24af2
jmp 0x25030
movq -0x38(%rbp), %rax
movsd 0x45d87(%rip), %xmm0    # 0x6a8e8
ucomisd 0x6c20(%rax), %xmm0
jbe 0x24be2
movl $0x1d, %edx
movl $0x3, %ecx
leaq -0x98(%rbp), %rdi
movq %r14, %rsi
callq 0x8660
movq -0x98(%rbp), %r15
movq %r15, %rdi
callq 0x89b0
movl %eax, -0x3c(%rbp)
leaq -0x88(%rbp), %rax
cmpq %rax, %r15
je 0x24baa
movq %r15, %rdi
callq 0x85d0
movl $0x1a, %edx
movl $0x3, %ecx
leaq -0x98(%rbp), %rdi
movq %r14, %rsi
callq 0x8660
movq -0x98(%rbp), %r15
movq %r15, %rdi
callq 0x89b0
movl %eax, %ebx
leaq -0x88(%rbp), %rax
cmpq %rax, %r15
je 0x24c5f
jmp 0x24c57
movl $0x20, %edx
movl $0x3, %ecx
leaq -0x98(%rbp), %rdi
movq %r14, %rsi
callq 0x8660
movq -0x98(%rbp), %r15
movq %r15, %rdi
callq 0x89b0
movl %eax, -0x3c(%rbp)
leaq -0x88(%rbp), %rax
cmpq %rax, %r15
je 0x24c21
movq %r15, %rdi
callq 0x85d0
movl $0x1d, %edx
movl $0x3, %ecx
leaq -0x98(%rbp), %rdi
movq %r14, %rsi
callq 0x8660
movq -0x98(%rbp), %r15
movq %r15, %rdi
callq 0x89b0
movl %eax, %ebx
leaq -0x88(%rbp), %rax
cmpq %rax, %r15
je 0x24c5f
movq %r15, %rdi
callq 0x85d0
cmpl $0xab, -0x3c(%rbp)
jge 0x262f4
cmpl $0x2, %ebx
jl 0x24d53
cmpl $0x0, -0x3c(%rbp)
jle 0x24b37
movl -0x3c(%rbp), %ebx
movq -0x58(%rbp), %rcx
movq (%rcx), %rax
movq -0x18(%rax), %rdi
addq %rcx, %rdi
movl $0xa, %esi
callq 0x8600
movsbl %al, %edx
movq -0x58(%rbp), %rdi
movq %r14, %rsi
callq 0x8be0
movq -0xe8(%rbp), %rdi
leaq 0x46bd2(%rip), %rsi     # 0x6b889
callq 0x8160
testq %rax, %rax
je 0x24d46
movl $0x32, %edx
movq 0x692f7(%rip), %rdi     # 0x8dfc8
leaq 0x46bc6(%rip), %rsi     # 0x6b89e
callq 0x8730
movq -0x38(%rbp), %rax
movq 0x5fb0(%rax), %rsi
movq 0x5fb8(%rax), %rdx
movq 0x692d2(%rip), %rdi     # 0x8dfc8
callq 0x8730
movq %rax, %r15
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x8600
movsbl %al, %esi
movq %r15, %rdi
callq 0x8050
movq %rax, %rdi
callq 0x8450
movq -0xe8(%rbp), %rdi
leaq 0x548d2(%rip), %rsi     # 0x79605
movq -0x48(%rbp), %rdx
movq -0x50(%rbp), %rcx
movq -0x68(%rbp), %r8
xorl %eax, %eax
callq 0x8610
decl %ebx
jne 0x24c82
jmp 0x24b37
movq -0x38(%rbp), %rax
movsd 0x6c20(%rax), %xmm0
ucomisd 0x45b81(%rip), %xmm0    # 0x6a8e8
movq -0xe8(%rbp), %rdi
leaq 0x46b5c(%rip), %rsi     # 0x6b8d1
leaq 0x46b58(%rip), %rax     # 0x6b8d4
cmovbq %rax, %rsi
leaq -0x11c(%rbp), %rbx
movq %rbx, %rdx
leaq -0x118(%rbp), %rcx
leaq -0x114(%rbp), %r8
leaq -0xc8(%rbp), %r9
xorl %eax, %eax
leaq -0x130(%rbp), %r10
pushq %r10
leaq -0xc4(%rbp), %r10
pushq %r10
callq 0x8610
addq $0x10, %rsp
movq %rbx, %rdi
callq 0x1d581
movl -0x11c(%rbp), %eax
leal -0xdad(%rax), %ecx
cmpl $0xfffffa22, %ecx       # imm = 0xFFFFFA22
jbe 0x26393
movl -0x118(%rbp), %esi
movl -0x114(%rbp), %edx
movl %eax, %edi
callq 0x1cf58
movq -0x38(%rbp), %rdx
movl %eax, 0x6010(%rdx)
cvtsi2sdl -0xc8(%rbp), %xmm1
imull $0x3c, -0xc4(%rbp), %ecx
xorps %xmm0, %xmm0
cvtsi2sd %ecx, %xmm0
mulsd 0x45aa9(%rip), %xmm1    # 0x6a8c0
addsd %xmm0, %xmm1
addsd -0x130(%rbp), %xmm1
movsd %xmm1, 0x3fc8(%rdx)
movsd 0x45ab5(%rip), %xmm0    # 0x6a8e8
ucomisd 0x6c20(%rdx), %xmm0
jbe 0x24e92
movl -0x3c(%rbp), %edi
movslq %edi, %rcx
imulq $0x2aaaaaab, %rcx, %rcx # imm = 0x2AAAAAAB
movq %rcx, %rdx
shrq $0x3f, %rdx
sarq $0x21, %rcx
imull $0xaaaaaaab, %edi, %esi # imm = 0xAAAAAAAB
addl $0x2aaaaaa8, %esi       # imm = 0x2AAAAAA8
rorl $0x2, %esi
xorps %xmm0, %xmm0
cvtsi2sd %edi, %xmm0
addl %edx, %ecx
divsd 0x4693b(%rip), %xmm0    # 0x6b7b0
cvttsd2si %xmm0, %edx
incl %edx
cmpl $0x15555555, %esi       # imm = 0x15555555
cmovbl %ecx, %edx
testl %edi, %edi
movl $0x1, %ecx
cmovel %ecx, %edx
movq %rdx, -0x70(%rbp)
movq -0x78(%rbp), %rcx
movl (%rcx), %edi
movq -0x60(%rbp), %rcx
movsd (%rcx), %xmm0
movl %eax, %esi
callq 0x1d565
movapd %xmm0, %xmm1
movsd 0x46905(%rip), %xmm0    # 0x6b7b8
ucomisd %xmm1, %xmm0
ja 0x263bc
ucomisd 0x468fb(%rip), %xmm1    # 0x6b7c0
movsd %xmm1, -0xb8(%rbp)
jbe 0x24f8a
movq -0x38(%rbp), %rax
movsd 0x45a09(%rip), %xmm0    # 0x6a8e8
ucomisd 0x6c20(%rax), %xmm0
jbe 0x24fde
cmpl $0x2, -0x70(%rbp)
jl 0x24f24
movq -0x70(%rbp), %rax
leal -0x1(%rax), %ebx
movq -0x58(%rbp), %r15
movq (%r15), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x8600
movsbl %al, %edx
movq %r15, %rdi
movq %r14, %rsi
callq 0x8be0
decl %ebx
jne 0x24efa
movq -0x38(%rbp), %rax
movslq 0x6cd4(%rax), %rax
imulq $0x66666667, %rax, %rcx # imm = 0x66666667
movq %rcx, %rdx
shrq $0x3f, %rdx
sarq $0x21, %rcx
addl %edx, %ecx
leal (%rcx,%rcx,4), %edx
xorl %ebx, %ebx
cmpl %edx, %eax
setne %bl
addl %ecx, %ebx
imull -0x3c(%rbp), %ebx
testl %ebx, %ebx
jle 0x25011
movq -0x58(%rbp), %r15
movq (%r15), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x8600
movsbl %al, %edx
movq %r15, %rdi
movq %r14, %rsi
callq 0x8be0
decl %ebx
jne 0x24f5b
jmp 0x25011
movq -0x38(%rbp), %rcx
movl 0x6010(%rcx), %eax
movq -0x78(%rbp), %rdx
movl %eax, (%rdx)
xorps %xmm0, %xmm0
cvtsi2sdl -0xc8(%rbp), %xmm0
xorps %xmm1, %xmm1
cvtsi2sdl -0xc4(%rbp), %xmm1
mulsd 0x45900(%rip), %xmm1    # 0x6a8b8
mulsd 0x45900(%rip), %xmm0    # 0x6a8c0
addsd %xmm1, %xmm0
addsd -0x130(%rbp), %xmm0
movq -0x60(%rbp), %rax
movsd %xmm0, (%rax)
movsd %xmm0, 0x3fc8(%rcx)
jmp 0x25011
movl -0x3c(%rbp), %eax
movl %eax, %ebx
testl %eax, %eax
jle 0x25011
movq -0x58(%rbp), %r15
movq (%r15), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x8600
movsbl %al, %edx
movq %r15, %rdi
movq %r14, %rsi
callq 0x8be0
decl %ebx
jne 0x24fe7
movsd -0xb8(%rbp), %xmm0
ucomisd 0x4679f(%rip), %xmm0    # 0x6b7c0
ja 0x24b37
jmp 0x25030
movq %rax, -0x70(%rbp)
xorl %r13d, %r13d
movq -0x58(%rbp), %rcx
movq (%rcx), %rax
movq -0x18(%rax), %rax
testb $0x2, 0x20(%rcx,%rax)
jne 0x26331
movq -0x38(%rbp), %rax
leaq 0x1fe8(%rax), %rcx
movq %rcx, -0xf0(%rbp)
movsd 0x45888(%rip), %xmm0    # 0x6a8e8
ucomisd 0x6c20(%rax), %xmm0
jbe 0x2580a
movq -0x58(%rbp), %rdi
movq %r13, %rsi
movq %r12, %rdx
callq 0x8810
movq -0x70(%rbp), %rcx
testl %ecx, %ecx
jle 0x25186
movq -0x38(%rbp), %rax
addq $0x98b0, %rax           # imm = 0x98B0
movq %rax, -0x50(%rbp)
movl %ecx, %eax
movq %rax, -0x68(%rbp)
movq $0x0, -0x48(%rbp)
leaq -0x98(%rbp), %r15
movq -0x58(%rbp), %rbx
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x8600
movsbl %al, %edx
movq %rbx, %rdi
leaq -0xe8(%rbp), %rsi
callq 0x8be0
movq -0x48(%rbp), %rax
leal (,%rax,4), %eax
leal (%rax,%rax,2), %eax
movl -0x3c(%rbp), %ecx
movl %ecx, %ebx
subl %eax, %ebx
jle 0x25169
cmpl $0xc, %ebx
movl $0xc, %eax
cmovgel %eax, %ebx
movl $0x20, %r12d
movq -0x50(%rbp), %r13
xorl %r14d, %r14d
movl $0x3, %ecx
movq %r15, %rdi
leaq -0xe8(%rbp), %rsi
movq %r12, %rdx
callq 0x8660
movq %r13, %rdi
movq %r15, %rsi
callq 0x87d0
movq -0x98(%rbp), %rdi
leaq -0x88(%rbp), %rax
cmpq %rax, %rdi
je 0x2513f
callq 0x85d0
movq (%r13), %rax
cmpb $0x20, (%rax)
jne 0x2514b
movb $0x47, (%rax)
movq (%r13), %rax
cmpb $0x20, 0x1(%rax)
jne 0x25159
movb $0x30, 0x1(%rax)
incq %r14
addq $0x20, %r13
addq $0x3, %r12
cmpq %rbx, %r14
jb 0x25105
movq -0x48(%rbp), %rcx
incq %rcx
addq $0x180, -0x50(%rbp)     # imm = 0x180
movq %rcx, -0x48(%rbp)
cmpq -0x68(%rbp), %rcx
jne 0x250ac
movq -0x38(%rbp), %rax
movslq 0x6cd4(%rax), %rax
imulq $0x66666667, %rax, %rcx # imm = 0x66666667
movq %rcx, %rdx
shrq $0x3f, %rdx
sarq $0x21, %rcx
addl %edx, %ecx
imull $0xcccccccd, %eax, %edx # imm = 0xCCCCCCCD
xorps %xmm0, %xmm0
cvtsi2sd %eax, %xmm0
divsd 0x4660e(%rip), %xmm0    # 0x6b7c8
addl $0x19999999, %edx       # imm = 0x19999999
cvttsd2si %xmm0, %eax
incl %eax
cmpl $0x33333333, %edx       # imm = 0x33333333
cmovbl %ecx, %eax
movl %eax, -0xa0(%rbp)
cmpl $0x0, -0x3c(%rbp)
jle 0x26351
movq -0x38(%rbp), %rax
leaq 0x98b0(%rax), %rcx
movq %rcx, -0xb8(%rbp)
leaq 0x6cf0(%rax), %rcx
movq %rcx, -0x100(%rbp)
movl -0x3c(%rbp), %ecx
movq %rcx, -0xc0(%rbp)
movl -0xa0(%rbp), %ecx
movq %rcx, -0x78(%rbp)
addq $0x3fdc, %rax           # imm = 0x3FDC
movq %rax, -0x110(%rbp)
movq $0x0, -0x70(%rbp)
movl $0x6b0, %eax            # imm = 0x6B0
addq 0x68d6c(%rip), %rax     # 0x8dfa0
movq %rax, -0xb0(%rbp)
cmpl $0x0, -0xa0(%rbp)
jle 0x253bc
leaq -0x500(%rbp), %rbx
xorl %r15d, %r15d
movq -0x58(%rbp), %rcx
movq (%rcx), %rax
movq -0x18(%rax), %rdi
addq %rcx, %rdi
movl $0xa, %esi
callq 0x8600
movsbl %al, %edx
movq -0x58(%rbp), %rdi
leaq -0xe8(%rbp), %rsi
callq 0x8be0
movq -0xe8(%rbp), %rsi
leaq -0x900(%rbp), %r14
movq %r14, %rdi
callq 0x85c0
movq -0x38(%rbp), %rax
movl 0x6cd4(%rax), %esi
leaq (%r15,%r15,4), %r13
subl %r13d, %esi
cmpl $0x5, %esi
movl $0x5, %ecx
cmovgel %ecx, %esi
movsd 0x6c20(%rax), %xmm0
movq %r14, %rdi
movl $0x10, %edx
callq 0x1d893
movq %r15, -0x48(%rbp)
leaq -0x88(%rbp), %r14
movq %r14, -0x98(%rbp)
leaq -0x900(%rbp), %r15
movq %r15, %rdi
callq 0x8290
leaq (%rax,%rbp), %rdx
addq $-0x900, %rdx           # imm = 0xF700
leaq -0x98(%rbp), %r12
movq %r12, %rdi
movq %r15, %rsi
callq 0x1126a
leaq -0x190(%rbp), %rdi
movq %r12, %rsi
callq 0x87d0
movq -0x98(%rbp), %rdi
cmpq %r14, %rdi
je 0x25322
callq 0x85d0
movq -0x38(%rbp), %rax
cmpl %r13d, 0x6cd4(%rax)
jle 0x253a7
xorl %r12d, %r12d
xorl %r14d, %r14d
movq $0x0, (%rbx,%r14,8)
movl $0xe, %ecx
leaq -0x98(%rbp), %rdi
leaq -0x190(%rbp), %rsi
movq %r12, %rdx
callq 0x8660
movq -0x98(%rbp), %r15
movq %r15, %rdi
callq 0x87e0
movsd %xmm0, (%rbx,%r14,8)
leaq -0x88(%rbp), %rax
cmpq %rax, %r15
je 0x25381
movq %r15, %rdi
callq 0x85d0
incq %r14
movq -0x38(%rbp), %rax
movl 0x6cd4(%rax), %eax
subl %r13d, %eax
cmpl $0x5, %eax
movl $0x5, %ecx
cmovgel %ecx, %eax
cltq
addq $0x10, %r12
cmpq %rax, %r14
jl 0x25335
movq -0x48(%rbp), %r15
incq %r15
addq $0x28, %rbx
cmpq -0x78(%rbp), %r15
jne 0x25252
leaq 0x6ab95(%rip), %rax     # 0x8ff58
movl 0x4c(%rax), %r12d
movq -0x70(%rbp), %rbx
shlq $0x5, %rbx
leaq -0x340(%rbp), %r14
movq %r14, -0x350(%rbp)
movq -0xb8(%rbp), %rax
movq (%rax,%rbx), %rsi
movq 0x8(%rax,%rbx), %rdx
addq %rsi, %rdx
leaq -0x350(%rbp), %rdi
callq 0x1143c
movl %r12d, %edi
movq -0xb0(%rbp), %rsi
leaq -0x350(%rbp), %rdx
callq 0x1dac0
movl %eax, %r15d
movq -0x350(%rbp), %rdi
cmpq %r14, %rdi
je 0x25426
callq 0x85d0
cmpl $-0x1, %r15d
je 0x257ed
addq -0xb8(%rbp), %rbx
movq (%rbx), %rax
movsbl (%rax), %esi
leaq 0x465c6(%rip), %rdi     # 0x6ba0a
callq 0x1db90
movslq %eax, %rcx
leaq 0x6ab05(%rip), %rbx     # 0x8ff58
cmpl $0x0, 0x30(%rbx,%rcx,4)
movslq %r15d, %rax
movq %rax, -0x108(%rbp)
jle 0x257af
imulq $0x640, %rcx, %rax      # imm = 0x640
addq -0x100(%rbp), %rax
movq %rax, -0x48(%rbp)
movq -0x108(%rbp), %rax
leaq (%rax,%rax,2), %rsi
movq -0x110(%rbp), %rax
leaq (%rax,%rsi,8), %rax
movq %rax, -0x60(%rbp)
shlq $0x4, %rsi
addq -0xa8(%rbp), %rsi
leaq (%rcx,%rcx,2), %rax
leaq 0x6aaae(%rip), %rdx     # 0x8ff58
leaq (%rdx,%rax,4), %rax
addq $0x5d, %rax
xorl %r12d, %r12d
movq %rsi, -0x68(%rbp)
movq %rax, -0x50(%rbp)
movb $0x50, -0x2c(%rbp)
movb (%rax,%r12,4), %al
movb %al, -0x2b(%rbp)
movb $0x0, -0x2a(%rbp)
movq -0x38(%rbp), %rax
movq %rcx, %r13
movl 0x6cd4(%rax,%rcx,4), %r15d
leaq -0x300(%rbp), %rax
movq %rax, -0x310(%rbp)
leaq -0x2c(%rbp), %r14
movq %r14, %rdi
callq 0x8290
leaq (%rax,%rbp), %rdx
addq $-0x2c, %rdx
leaq -0x310(%rbp), %rbx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1126a
movl %r15d, %edi
movq -0x48(%rbp), %rsi
movq %rbx, %rdx
callq 0x1dac0
movl %eax, %r15d
movq -0x310(%rbp), %rdi
leaq -0x300(%rbp), %rax
cmpq %rax, %rdi
je 0x25539
callq 0x85d0
cmpl $-0x1, %r15d
movq -0x68(%rbp), %rcx
movq -0x50(%rbp), %rsi
je 0x25576
movslq %r15d, %rax
movsd -0x500(%rbp,%rax,8), %xmm0
movsd %xmm0, 0x18(%rcx,%r12,8)
movb $0x43, -0x2c(%rbp)
movb (%rsi,%r12,4), %al
movb %al, -0x2b(%rbp)
movw $0x50, -0x2a(%rbp)
movl -0x2c(%rbp), %eax
movq -0x60(%rbp), %rdx
movl %eax, (%rdx,%r12,4)
movsd 0x18(%rcx,%r12,8), %xmm0
ucomisd 0x45383(%rip), %xmm0    # 0x6a908
movq %r13, %rcx
jne 0x25649
jp 0x25649
movb $0x43, -0x2c(%rbp)
movb (%rsi,%r12,4), %al
movb %al, -0x2b(%rbp)
movb $0x0, -0x2a(%rbp)
movq -0x38(%rbp), %rax
movl 0x6cd4(%rax,%rcx,4), %r15d
leaq -0x2e0(%rbp), %rax
movq %rax, -0x2f0(%rbp)
movq %r14, %rdi
callq 0x8290
leaq (%rax,%rbp), %rdx
addq $-0x2c, %rdx
leaq -0x2f0(%rbp), %rbx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1126a
movl %r15d, %edi
movq -0x48(%rbp), %rsi
movq %rbx, %rdx
callq 0x1dac0
movl %eax, %r15d
movq -0x2f0(%rbp), %rdi
leaq -0x2e0(%rbp), %rax
cmpq %rax, %rdi
je 0x25609
callq 0x85d0
cmpl $-0x1, %r15d
movq %r13, %rcx
movq -0x50(%rbp), %rsi
je 0x25649
movslq %r15d, %rax
movsd -0x500(%rbp,%rax,8), %xmm0
movq -0x68(%rbp), %rax
movsd %xmm0, 0x18(%rax,%r12,8)
movb $0x43, -0x2c(%rbp)
movb (%rsi,%r12,4), %al
movb %al, -0x2b(%rbp)
movw $0x43, -0x2a(%rbp)
movl -0x2c(%rbp), %eax
movq -0x60(%rbp), %rdx
movl %eax, (%rdx,%r12,4)
movb $0x4c, -0x2c(%rbp)
movb (%rsi,%r12,4), %al
movb %al, -0x2b(%rbp)
movb $0x0, -0x2a(%rbp)
movq -0x38(%rbp), %rax
movl 0x6cd4(%rax,%rcx,4), %r15d
leaq -0x2c0(%rbp), %rax
movq %rax, -0x2d0(%rbp)
movq %r14, %rdi
callq 0x8290
leaq (%rax,%rbp), %rdx
addq $-0x2c, %rdx
leaq -0x2d0(%rbp), %rbx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1126a
movl %r15d, %edi
movq -0x48(%rbp), %rsi
movq %rbx, %rdx
callq 0x1dac0
movl %eax, %r15d
movq -0x2d0(%rbp), %rdi
leaq -0x2c0(%rbp), %rax
cmpq %rax, %rdi
je 0x256be
callq 0x85d0
cmpl $-0x1, %r15d
movq -0x50(%rbp), %rdx
je 0x256fb
movslq %r15d, %rax
movsd -0x500(%rbp,%rax,8), %xmm0
movq -0x68(%rbp), %rax
movsd %xmm0, (%rax,%r12,8)
movb $0x4c, -0x2c(%rbp)
movb (%rdx,%r12,4), %al
movb %al, -0x2b(%rbp)
movw $0x50, -0x2a(%rbp)
movl -0x2c(%rbp), %eax
movq -0x60(%rbp), %rcx
movl %eax, -0xc(%rcx,%r12,4)
movb $0x44, -0x2c(%rbp)
movb (%rdx,%r12,4), %al
movb %al, -0x2b(%rbp)
movb $0x0, -0x2a(%rbp)
movq -0x38(%rbp), %rax
movl 0x6cd4(%rax,%r13,4), %r15d
leaq -0x2a0(%rbp), %rax
movq %rax, -0x2b0(%rbp)
movq %r14, %rdi
callq 0x8290
leaq (%rax,%rbp), %rdx
addq $-0x2c, %rdx
leaq -0x2b0(%rbp), %rbx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1126a
movl %r15d, %edi
movq -0x48(%rbp), %rsi
movq %rbx, %rdx
callq 0x1dac0
movl %eax, %r15d
movq -0x2b0(%rbp), %rdi
leaq -0x2a0(%rbp), %rax
cmpq %rax, %rdi
je 0x25770
callq 0x85d0
cmpl $-0x1, %r15d
movq -0x68(%rbp), %rsi
je 0x25790
movslq %r15d, %rax
movsd -0x500(%rbp,%rax,8), %xmm0
movsd %xmm0, 0x1ff8(%rsi,%r12,8)
incq %r12
movq %r13, %rcx
leaq 0x6a7bb(%rip), %rax     # 0x8ff58
movslq 0x30(%rax,%r13,4), %rax
cmpq %rax, %r12
movq -0x50(%rbp), %rax
jl 0x254bd
movq -0x108(%rbp), %r9
leaq (%r9,%r9,2), %rax
movq %r9, %rcx
shlq $0x4, %rcx
leaq (%rcx,%rcx,2), %rcx
movq -0xa8(%rbp), %rdx
addq %rcx, %rdx
addq -0xf0(%rbp), %rcx
movq -0xf8(%rbp), %rsi
leaq (%rsi,%rax,8), %r8
movq -0x38(%rbp), %rdi
movl %r9d, %esi
callq 0x23580
movq -0x70(%rbp), %rcx
incq %rcx
movq %rcx, -0x70(%rbp)
cmpq -0xc0(%rbp), %rcx
jne 0x2523b
jmp 0x26351
cmpl $0x0, -0x3c(%rbp)
jle 0x26351
leaq -0x140(%rbp), %r12
leaq -0x160(%rbp), %rbx
movq -0x38(%rbp), %rax
leaq 0xb024(%rax), %rcx
movq %rcx, -0x1b0(%rbp)
leaq 0xae24(%rax), %rcx
movq %rcx, -0x128(%rbp)
leaq 0x6cf0(%rax), %rcx
movq %rcx, -0x198(%rbp)
addq $0x3fd0, %rax           # imm = 0x3FD0
movq %rax, -0xc0(%rbp)
movl $0x6b0, %eax            # imm = 0x6B0
addq 0x68737(%rip), %rax     # 0x8dfa0
movq %rax, -0x1a0(%rbp)
xorl %r13d, %r13d
movq -0x58(%rbp), %rcx
movq (%rcx), %rax
movq -0x18(%rax), %rdi
addq %rcx, %rdi
movl $0xa, %esi
callq 0x8600
movsbl %al, %edx
movq -0x58(%rbp), %rdi
leaq -0xe8(%rbp), %rsi
callq 0x8be0
movq -0xe8(%rbp), %rax
movsbl (%rax), %esi
leaq 0x4615b(%rip), %rdi     # 0x6ba0a
callq 0x1db90
movl %eax, %r14d
cmpl $-0x1, %eax
je 0x262e5
movq -0xe8(%rbp), %rax
cmpb $0x20, 0x1(%rax)
jne 0x258d1
movb $0x30, 0x1(%rax)
leaq 0x6a680(%rip), %rax     # 0x8ff58
movl 0x4c(%rax), %r15d
movl $0x3, %ecx
leaq -0x330(%rbp), %rdi
leaq -0xe8(%rbp), %rsi
xorl %edx, %edx
callq 0x8660
movl %r15d, %edi
movq -0x1a0(%rbp), %rsi
leaq -0x330(%rbp), %rdx
callq 0x1dac0
movl %eax, -0x50(%rbp)
movq -0x330(%rbp), %rdi
leaq -0x320(%rbp), %rax
cmpq %rax, %rdi
je 0x25927
callq 0x85d0
cmpl $-0x1, -0x50(%rbp)
je 0x262e5
movq -0xe0(%rbp), %rcx
addq $-0x3, %rcx
movl $0x3, %edx
leaq -0x98(%rbp), %rdi
leaq -0xe8(%rbp), %rsi
callq 0x8660
movq -0x98(%rbp), %r15
leaq -0x900(%rbp), %rdi
movq %r15, %rsi
callq 0x85c0
leaq -0x88(%rbp), %rax
cmpq %rax, %r15
je 0x2597e
movq %r15, %rdi
callq 0x85d0
movslq %r14d, %r15
movq -0x38(%rbp), %rax
movl 0x6cd4(%rax,%r15,4), %esi
movsd 0x6c20(%rax), %xmm0
leaq -0x900(%rbp), %rdi
movl $0x10, %edx
callq 0x1d893
movl $0x3, %ecx
leaq -0x170(%rbp), %rdi
leaq -0xe8(%rbp), %rsi
xorl %edx, %edx
callq 0x8660
movq %r12, -0x150(%rbp)
leaq -0x900(%rbp), %r14
movq %r14, %rdi
callq 0x8290
leaq (%rax,%rbp), %rdx
addq $-0x900, %rdx           # imm = 0xF700
leaq -0x150(%rbp), %rdi
movq %r14, %rsi
callq 0x1126a
movq -0x170(%rbp), %rcx
movl $0xf, %esi
cmpq %rbx, %rcx
je 0x25a08
movq -0x160(%rbp), %rsi
movq -0x168(%rbp), %r8
movq -0x148(%rbp), %rdx
leaq (%rdx,%r8), %rax
cmpq %rsi, %rax
jbe 0x25a39
movl $0xf, %esi
cmpq %r12, -0x150(%rbp)
je 0x25a34
movq -0x140(%rbp), %rsi
cmpq %rsi, %rax
jbe 0x25a4e
movq -0x150(%rbp), %rsi
leaq -0x170(%rbp), %rdi
callq 0x81f0
jmp 0x25a5e
leaq -0x150(%rbp), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x8700
leaq -0x88(%rbp), %rsi
movq %rsi, -0x98(%rbp)
movq (%rax), %rdx
leaq 0x10(%rax), %rcx
cmpq %rcx, %rdx
je 0x25a8b
movq %rdx, -0x98(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x88(%rbp)
jmp 0x25a93
movupd (%rcx), %xmm0
movupd %xmm0, (%rsi)
movq %rax, %rdx
addq $0x8, %rdx
movq 0x8(%rax), %rsi
movq %rsi, -0x90(%rbp)
movq %rcx, (%rax)
movq $0x0, (%rdx)
movb $0x0, (%rcx)
leaq -0x190(%rbp), %rdi
leaq -0x98(%rbp), %rsi
callq 0x87d0
movq -0x98(%rbp), %rdi
leaq -0x88(%rbp), %rax
cmpq %rax, %rdi
je 0x25add
callq 0x85d0
movq -0x150(%rbp), %rdi
cmpq %r12, %rdi
je 0x25aee
callq 0x85d0
movq -0x170(%rbp), %rdi
cmpq %rbx, %rdi
leaq -0x98(%rbp), %r12
je 0x25b06
callq 0x85d0
movq -0x38(%rbp), %rax
cmpl $0x0, 0x6cd4(%rax,%r15,4)
movq %r15, -0x48(%rbp)
jle 0x25b80
movl $0x3, %r14d
xorl %ebx, %ebx
movl $0xe, %ecx
movq %r12, %rdi
leaq -0x190(%rbp), %rsi
movq %r14, %rdx
callq 0x8660
movq -0x98(%rbp), %r15
movq %r15, %rdi
callq 0x87e0
movsd %xmm0, -0x500(%rbp,%rbx,8)
leaq -0x88(%rbp), %rax
cmpq %rax, %r15
je 0x25b64
movq %r15, %rdi
callq 0x85d0
incq %rbx
movq -0x38(%rbp), %rax
movq -0x48(%rbp), %r15
movslq 0x6cd4(%rax,%r15,4), %rax
addq $0x10, %r14
cmpq %rax, %rbx
jl 0x25b21
leaq 0x6a3d1(%rip), %rax     # 0x8ff58
cmpl $0x0, 0x30(%rax,%r15,4)
movslq -0x50(%rbp), %rax
movq %rax, -0x100(%rbp)
jle 0x26299
imulq $0x640, %r15, %rax      # imm = 0x640
addq -0x198(%rbp), %rax
movq %rax, -0x50(%rbp)
xorl %edi, %edi
movq %r13, -0x110(%rbp)
movq -0x100(%rbp), %rdx
leaq (%rdx,%rdx,2), %rcx
movq -0x1b0(%rbp), %rax
leaq (%rax,%rcx,4), %rax
cmpl $0x0, (%rax,%rdi,4)
leaq (%r15,%r15,2), %r12
movq %rdi, -0xa0(%rbp)
movq %rcx, -0xb0(%rbp)
je 0x25ef7
movb $0x43, -0x2c(%rbp)
shlq $0x2, %r12
addq 0x683a6(%rip), %r12     # 0x8dfa0
movb 0x5d(%r12,%rdi,4), %al
movb %al, -0x2b(%rbp)
movq -0x128(%rbp), %rax
leaq (%rax,%rcx), %rbx
movb (%rdi,%rbx), %al
movb %al, -0x2a(%rbp)
movb $0x0, -0x29(%rbp)
movq -0x38(%rbp), %rax
movl 0x6cd4(%rax,%r15,4), %r15d
leaq -0x200(%rbp), %rax
movq %rax, -0x210(%rbp)
leaq -0x2c(%rbp), %r14
movq %r14, %rdi
callq 0x8290
leaq (%rax,%rbp), %rdx
addq $-0x2c, %rdx
leaq -0x210(%rbp), %r13
movq %r13, %rdi
movq %r14, %rsi
callq 0x1126a
movl %r15d, %edi
movq -0x50(%rbp), %rsi
movq %r13, %rdx
callq 0x1dac0
movl %eax, %r15d
movq -0x210(%rbp), %rdi
leaq -0x200(%rbp), %rax
cmpq %rax, %rdi
je 0x25c81
callq 0x85d0
cmpl $-0x1, %r15d
movq -0xa0(%rbp), %rdx
je 0x25cc7
movslq %r15d, %rax
movsd -0x500(%rbp,%rax,8), %xmm0
movq -0xb0(%rbp), %rcx
movq %rcx, %rax
shlq $0x4, %rax
addq -0xa8(%rbp), %rax
movsd %xmm0, 0x18(%rax,%rdx,8)
movq -0xc0(%rbp), %rax
leaq (%rax,%rcx,8), %rax
movl -0x2c(%rbp), %ecx
movl %ecx, 0xc(%rax,%rdx,4)
leaq (%r12,%rdx,4), %r12
addq $0x5d, %r12
addq %rdx, %rbx
movb $0x4c, -0x2c(%rbp)
movb (%r12), %al
movb %al, -0x2b(%rbp)
movb (%rbx), %al
movb %al, -0x2a(%rbp)
movb $0x0, -0x29(%rbp)
movq -0x38(%rbp), %rax
movq -0x48(%rbp), %rcx
movl 0x6cd4(%rax,%rcx,4), %r15d
leaq -0x1e0(%rbp), %rax
movq %rax, -0x1f0(%rbp)
movq %r14, %rdi
callq 0x8290
leaq (%rax,%rbp), %rdx
addq $-0x2c, %rdx
leaq -0x1f0(%rbp), %r13
movq %r13, %rdi
movq %r14, %rsi
callq 0x1126a
movl %r15d, %edi
movq -0x50(%rbp), %rsi
movq %r13, %rdx
callq 0x1dac0
movl %eax, %r15d
movq -0x1f0(%rbp), %rdi
leaq -0x1e0(%rbp), %rax
cmpq %rax, %rdi
je 0x25d50
callq 0x85d0
cmpl $-0x1, %r15d
je 0x25d94
movslq %r15d, %rax
movsd -0x500(%rbp,%rax,8), %xmm0
movq -0xb0(%rbp), %rcx
movq %rcx, %rax
shlq $0x4, %rax
addq -0xa8(%rbp), %rax
movq -0xa0(%rbp), %rdx
movsd %xmm0, (%rax,%rdx,8)
movq -0xc0(%rbp), %rax
leaq (%rax,%rcx,8), %rax
movl -0x2c(%rbp), %ecx
movl %ecx, (%rax,%rdx,4)
movb $0x53, -0x2c(%rbp)
movb (%r12), %al
movb %al, -0x2b(%rbp)
movb (%rbx), %al
movb %al, -0x2a(%rbp)
movb $0x0, -0x29(%rbp)
movq -0x38(%rbp), %rax
movq -0x48(%rbp), %rcx
movl 0x6cd4(%rax,%rcx,4), %r15d
leaq -0x1c0(%rbp), %rax
movq %rax, -0x1d0(%rbp)
movq %r14, %rdi
callq 0x8290
leaq (%rax,%rbp), %rdx
addq $-0x2c, %rdx
leaq -0x1d0(%rbp), %r13
movq %r13, %rdi
movq %r14, %rsi
callq 0x1126a
movl %r15d, %edi
movq -0x50(%rbp), %rsi
movq %r13, %rdx
callq 0x1dac0
movl %eax, %r15d
movq -0x1d0(%rbp), %rdi
leaq -0x1c0(%rbp), %rax
cmpq %rax, %rdi
je 0x25e12
callq 0x85d0
cmpl $-0x1, %r15d
je 0x25e42
movslq %r15d, %rax
movsd -0x500(%rbp,%rax,8), %xmm0
movq -0xf8(%rbp), %rax
movq -0xb0(%rbp), %rcx
leaq (%rax,%rcx,8), %rax
movq -0xa0(%rbp), %rcx
movsd %xmm0, (%rax,%rcx,8)
movb $0x44, -0x2c(%rbp)
movb (%r12), %al
movb %al, -0x2b(%rbp)
movb (%rbx), %al
movb %al, -0x2a(%rbp)
movb $0x0, -0x29(%rbp)
movq -0x38(%rbp), %rax
movq -0x48(%rbp), %rcx
movl 0x6cd4(%rax,%rcx,4), %r15d
leaq -0x360(%rbp), %r12
movq %r12, -0x370(%rbp)
leaq -0x2c(%rbp), %rbx
movq %rbx, %rdi
callq 0x8290
leaq (%rax,%rbp), %rdx
addq $-0x2c, %rdx
leaq -0x370(%rbp), %r14
movq %r14, %rdi
movq %rbx, %rsi
callq 0x1126a
movl %r15d, %edi
movq -0x50(%rbp), %rsi
movq %r14, %rdx
callq 0x1dac0
movl %eax, %r15d
movq -0x370(%rbp), %rdi
cmpq %r12, %rdi
je 0x25ebd
callq 0x85d0
cmpl $-0x1, %r15d
je 0x2626f
movslq %r15d, %rax
movsd -0x500(%rbp,%rax,8), %xmm0
movq -0xb0(%rbp), %rcx
shlq $0x4, %rcx
addq -0xf0(%rbp), %rcx
movq -0xa0(%rbp), %rax
movsd %xmm0, 0x18(%rcx,%rax,8)
jmp 0x2626f
leaq (%rax,%rdi,4), %rax
movq %rax, -0x1a8(%rbp)
shlq $0x2, %r12
addq 0x68093(%rip), %r12     # 0x8dfa0
leaq (%r12,%rdi,4), %rax
addq $0x5d, %rax
movq %rax, -0x68(%rbp)
movq %rdx, %rax
shlq $0x4, %rax
leaq (%rax,%rax,2), %rax
movq -0xa8(%rbp), %rcx
addq %rax, %rcx
leaq 0x18(%rcx,%rdi,8), %rsi
movq %rsi, -0x70(%rbp)
leaq (,%rdx,8), %rdx
leaq (%rdx,%rdx,2), %rdx
movq -0xc0(%rbp), %rsi
addq %rdx, %rsi
leaq 0xc(%rsi,%rdi,4), %rsi
movq %rsi, -0x78(%rbp)
leaq (%rcx,%rdi,8), %rcx
movq %rcx, -0x60(%rbp)
addq -0xf8(%rbp), %rdx
leaq (%rdx,%rdi,8), %rcx
movq %rcx, -0xb8(%rbp)
addq -0xf0(%rbp), %rax
leaq (%rax,%rdi,8), %rax
addq $0x18, %rax
movq %rax, -0x108(%rbp)
xorl %r13d, %r13d
movb $0x43, -0x2c(%rbp)
movq -0x68(%rbp), %rax
movb (%rax), %al
movb %al, -0x2b(%rbp)
leaq 0x45a93(%rip), %rax     # 0x6ba30
movb (%r13,%rax), %r12b
movb %r12b, -0x2a(%rbp)
movb $0x0, -0x29(%rbp)
movq -0x38(%rbp), %rax
movq -0x48(%rbp), %rcx
movl 0x6cd4(%rax,%rcx,4), %r15d
leaq -0x280(%rbp), %rax
movq %rax, -0x290(%rbp)
leaq -0x2c(%rbp), %r14
movq %r14, %rdi
callq 0x8290
leaq (%rax,%rbp), %rdx
addq $-0x2c, %rdx
leaq -0x290(%rbp), %rbx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1126a
movl %r15d, %edi
movq -0x50(%rbp), %rsi
movq %rbx, %rdx
callq 0x1dac0
movl %eax, %r15d
movq -0x290(%rbp), %rdi
leaq -0x280(%rbp), %rax
cmpq %rax, %rdi
je 0x26018
callq 0x85d0
cmpl $-0x1, %r15d
je 0x2603b
movslq %r15d, %rax
movsd -0x500(%rbp,%rax,8), %xmm0
movq -0x70(%rbp), %rax
movsd %xmm0, (%rax)
movl -0x2c(%rbp), %eax
movq -0x78(%rbp), %rcx
movl %eax, (%rcx)
movb $0x4c, -0x2c(%rbp)
movq -0x68(%rbp), %rax
movb (%rax), %al
movb %al, -0x2b(%rbp)
movb %r12b, -0x2a(%rbp)
movb $0x0, -0x29(%rbp)
movq -0x38(%rbp), %rax
movq -0x48(%rbp), %rcx
movl 0x6cd4(%rax,%rcx,4), %r15d
leaq -0x260(%rbp), %rax
movq %rax, -0x270(%rbp)
movq %r14, %rdi
callq 0x8290
leaq (%rax,%rbp), %rdx
addq $-0x2c, %rdx
leaq -0x270(%rbp), %rbx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1126a
movl %r15d, %edi
movq -0x50(%rbp), %rsi
movq %rbx, %rdx
callq 0x1dac0
movl %eax, %r15d
movq -0x270(%rbp), %rdi
leaq -0x260(%rbp), %rax
cmpq %rax, %rdi
je 0x260ba
callq 0x85d0
cmpl $-0x1, %r15d
je 0x260de
movslq %r15d, %rax
movsd -0x500(%rbp,%rax,8), %xmm0
movq -0x60(%rbp), %rax
movsd %xmm0, (%rax)
movl -0x2c(%rbp), %eax
movq -0x78(%rbp), %rcx
movl %eax, -0xc(%rcx)
movb $0x53, -0x2c(%rbp)
movq -0x68(%rbp), %rax
movb (%rax), %al
movb %al, -0x2b(%rbp)
movb %r12b, -0x2a(%rbp)
movb $0x0, -0x29(%rbp)
movq -0x38(%rbp), %rax
movq -0x48(%rbp), %rcx
movl 0x6cd4(%rax,%rcx,4), %r15d
leaq -0x240(%rbp), %rax
movq %rax, -0x250(%rbp)
movq %r14, %rdi
callq 0x8290
leaq (%rax,%rbp), %rdx
addq $-0x2c, %rdx
leaq -0x250(%rbp), %rbx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1126a
movl %r15d, %edi
movq -0x50(%rbp), %rsi
movq %rbx, %rdx
callq 0x1dac0
movl %eax, %r15d
movq -0x250(%rbp), %rdi
leaq -0x240(%rbp), %rax
cmpq %rax, %rdi
je 0x2615d
callq 0x85d0
cmpl $-0x1, %r15d
je 0x2617a
movslq %r15d, %rax
movsd -0x500(%rbp,%rax,8), %xmm0
movq -0xb8(%rbp), %rax
movsd %xmm0, (%rax)
movb $0x44, -0x2c(%rbp)
movq -0x68(%rbp), %rax
movb (%rax), %al
movb %al, -0x2b(%rbp)
movb %r12b, -0x2a(%rbp)
movb $0x0, -0x29(%rbp)
movq -0x38(%rbp), %rax
movq -0x48(%rbp), %rcx
movl 0x6cd4(%rax,%rcx,4), %r15d
leaq -0x220(%rbp), %rax
movq %rax, -0x230(%rbp)
movq %r14, %rdi
callq 0x8290
leaq (%rax,%rbp), %rdx
addq $-0x2c, %rdx
leaq -0x230(%rbp), %rbx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1126a
movl %r15d, %edi
movq -0x50(%rbp), %rsi
movq %rbx, %rdx
callq 0x1dac0
movl %eax, %r15d
movq -0x230(%rbp), %rdi
leaq -0x220(%rbp), %rax
cmpq %rax, %rdi
je 0x261f9
callq 0x85d0
cmpl $-0x1, %r15d
je 0x26216
movslq %r15d, %rax
movsd -0x500(%rbp,%rax,8), %xmm0
movq -0x108(%rbp), %rax
movsd %xmm0, (%rax)
movq -0x60(%rbp), %rax
movsd (%rax), %xmm0
xorpd %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jne 0x2622a
jnp 0x2623a
movq -0x70(%rbp), %rax
movsd (%rax), %xmm0
ucomisd %xmm1, %xmm0
jne 0x26249
jp 0x26249
incq %r13
cmpq $0x10, %r13
jne 0x25f89
jmp 0x2626f
movq -0xb0(%rbp), %rcx
addq -0x128(%rbp), %rcx
movq -0xa0(%rbp), %rax
movb %r12b, (%rax,%rcx)
movq -0x1a8(%rbp), %rax
movl $0x1, (%rax)
movq -0xa0(%rbp), %rdi
incq %rdi
leaq 0x69cd8(%rip), %rax     # 0x8ff58
movq -0x48(%rbp), %r15
movslq 0x30(%rax,%r15,4), %rax
cmpq %rax, %rdi
movq -0x110(%rbp), %r13
jl 0x25bb9
movq -0x100(%rbp), %r9
leaq (%r9,%r9,2), %rax
movq %r9, %rcx
shlq $0x4, %rcx
leaq (%rcx,%rcx,2), %rcx
movq -0xa8(%rbp), %rdx
addq %rcx, %rdx
addq -0xf0(%rbp), %rcx
movq -0xf8(%rbp), %rsi
leaq (%rsi,%rax,8), %r8
movq -0x38(%rbp), %rdi
movl %r9d, %esi
callq 0x23580
leaq -0x160(%rbp), %rbx
leaq -0x140(%rbp), %r12
incl %r13d
cmpl -0x3c(%rbp), %r13d
jne 0x25873
jmp 0x26351
movq -0x38(%rbp), %rax
movq 0x5fb0(%rax), %rcx
leaq 0x4550e(%rip), %rdi     # 0x6b814
movl -0x3c(%rbp), %esi
movl $0xaa, %edx
xorl %eax, %eax
callq 0x8080
movq -0x58(%rbp), %rdi
callq 0x8130
movl $0x1fe0, %edx           # imm = 0x1FE0
movq -0xa8(%rbp), %rdi
xorl %esi, %esi
callq 0x8390
movq -0x78(%rbp), %rax
movl (%rax), %eax
movq -0x38(%rbp), %rcx
movl %eax, 0x6010(%rcx)
movq -0x60(%rbp), %rax
movsd (%rax), %xmm0
movsd %xmm0, 0x3fc8(%rcx)
movq -0x190(%rbp), %rdi
leaq -0x180(%rbp), %rax
cmpq %rax, %rdi
je 0x26369
callq 0x85d0
movq -0xe8(%rbp), %rdi
leaq -0xd8(%rbp), %rax
cmpq %rax, %rdi
je 0x26381
callq 0x85d0
addq $0x8d8, %rsp            # imm = 0x8D8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq -0x38(%rbp), %rcx
movq 0x5fb0(%rcx), %rdx
leaq 0x4553d(%rip), %rdi     # 0x6b8e2
movl %eax, %esi
xorl %eax, %eax
callq 0x8080
movq -0x58(%rbp), %rdi
callq 0x8130
jmp 0x2631e
movq -0x58(%rbp), %rdi
movq %r13, %rsi
movq %r12, %rdx
callq 0x8810
jmp 0x26331
jmp 0x2661b
jmp 0x2661b
jmp 0x2661b
jmp 0x2661b
jmp 0x2661b
jmp 0x2661b
jmp 0x2661b
jmp 0x2661b
jmp 0x2661b
jmp 0x2661b
jmp 0x2661b
movq %rax, %rbx
movq -0x150(%rbp), %rdi
cmpq %r12, %rdi
je 0x26420
callq 0x85d0
jmp 0x26420
movq %rax, %rbx
movq -0x170(%rbp), %rdi
leaq -0x160(%rbp), %rax
cmpq %rax, %rdi
je 0x2661e
jmp 0x2660e
movq %rax, %rbx
movq -0x330(%rbp), %rdi
leaq -0x320(%rbp), %rax
cmpq %rax, %rdi
je 0x2661e
jmp 0x2660e
movq %rax, %rbx
movq -0x350(%rbp), %rdi
cmpq %r14, %rdi
je 0x2661e
jmp 0x2660e
jmp 0x2661b
jmp 0x2661b
jmp 0x2661b
jmp 0x2661b
movq %rax, %rbx
movq -0x210(%rbp), %rdi
leaq -0x200(%rbp), %rax
cmpq %rax, %rdi
je 0x2661e
jmp 0x2660e
jmp 0x2661b
movq %rax, %rbx
movq -0x1f0(%rbp), %rdi
leaq -0x1e0(%rbp), %rax
cmpq %rax, %rdi
je 0x2661e
jmp 0x2660e
jmp 0x2661b
movq %rax, %rbx
movq -0x370(%rbp), %rdi
cmpq %r12, %rdi
je 0x2661e
jmp 0x2660e
jmp 0x2661b
jmp 0x2661b
movq %rax, %rbx
movq -0x1d0(%rbp), %rdi
leaq -0x1c0(%rbp), %rax
cmpq %rax, %rdi
je 0x2661e
jmp 0x2660e
jmp 0x2661b
movq %rax, %rbx
movq -0x2f0(%rbp), %rdi
leaq -0x2e0(%rbp), %rax
cmpq %rax, %rdi
je 0x2661e
jmp 0x2660e
jmp 0x2661b
jmp 0x2661b
jmp 0x2661b
movq %rax, %rbx
movq -0x2d0(%rbp), %rdi
leaq -0x2c0(%rbp), %rax
cmpq %rax, %rdi
je 0x2661e
jmp 0x2660e
movq %rax, %rbx
movq -0x2b0(%rbp), %rdi
leaq -0x2a0(%rbp), %rax
cmpq %rax, %rdi
je 0x2661e
jmp 0x2660e
jmp 0x2661b
jmp 0x2661b
jmp 0x2661b
movq %rax, %rbx
movq -0x310(%rbp), %rdi
leaq -0x300(%rbp), %rax
cmpq %rax, %rdi
je 0x2661e
jmp 0x2660e
jmp 0x2661b
jmp 0x2661b
movq %rax, %rbx
movq -0x250(%rbp), %rdi
leaq -0x240(%rbp), %rax
cmpq %rax, %rdi
je 0x2661e
jmp 0x2660e
movq %rax, %rbx
movq -0x290(%rbp), %rdi
leaq -0x280(%rbp), %rax
cmpq %rax, %rdi
je 0x2661e
jmp 0x2660e
jmp 0x2661b
jmp 0x2661b
movq %rax, %rbx
movq -0x230(%rbp), %rdi
leaq -0x220(%rbp), %rax
cmpq %rax, %rdi
je 0x2661e
jmp 0x2660e
movq %rax, %rbx
movq -0x270(%rbp), %rdi
leaq -0x260(%rbp), %rax
cmpq %rax, %rdi
je 0x2661e
callq 0x85d0
jmp 0x2661e
jmp 0x2661b
jmp 0x2661b
jmp 0x2661b
movq %rax, %rbx
movq -0x190(%rbp), %rdi
leaq -0x180(%rbp), %rax
cmpq %rax, %rdi
je 0x26636
callq 0x85d0
movq -0xe8(%rbp), %rdi
leaq -0xd8(%rbp), %rax
cmpq %rax, %rdi
je 0x2664e
callq 0x85d0
movq %rbx, %rdi
callq 0x8b40