// File: /workspace/github_cpp_makefile_star2_O2/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 $0x8f8, %rsp            # imm = 0x8F8
movq %rdx, %r15
movq %rsi, %r12
movq %rdi, %rbx
leaq -0xf8(%rbp), %rax
movq %rax, -0x10(%rax)
andq $0x0, -0x8(%rax)
leaq -0x180(%rbp), %rcx
movq %rcx, -0x10(%rcx)
andq $0x0, -0x8(%rcx)
xorl %edx, %edx
movb %dl, (%rax)
movb %dl, (%rcx)
movq 0xb820(%rdi), %rax
movq -0x18(%rax), %rax
leaq 0x8(%rdi), %r14
testb $0x5, 0xb840(%rdi,%rax)
je 0x20619
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 0x20bc7
movq %r12, -0x78(%rbp)
movq %r15, -0x80(%rbp)
leaq 0xb820(%rbx), %rax
movq %rax, -0x58(%rbp)
leaq 0x1fe8(%rbx), %rax
movq %rax, -0xc0(%rbp)
leaq 0x4fc0(%rbx), %rdi
movl $0xff0, %edx            # imm = 0xFF0
movq %rdi, -0xe8(%rbp)
xorl %esi, %esi
callq 0x8390
leaq 0x5fb0(%rbx), %rax
movq %rax, -0x60(%rbp)
leaq 0x6cb8(%rbx), %rax
movq %rax, -0x40(%rbp)
leaq 0x6ca8(%rbx), %rax
movq %rax, -0x48(%rbp)
movq %rbx, -0x38(%rbp)
leaq 0x6cb0(%rbx), %rax
movq %rax, -0x68(%rbp)
movl $0x3fc0, %edx           # imm = 0x3FC0
movq %r14, -0xb8(%rbp)
movq %r14, %rdi
xorl %esi, %esi
callq 0x8390
movb $0x1, %r13b
leaq -0x108(%rbp), %r15
xorl %r12d, %r12d
xorl %r14d, %r14d
movq %rax, -0x70(%rbp)
movq %rax, -0x50(%rbp)
movq -0x58(%rbp), %rax
movq (%rax), %rax
movq -0x18(%rax), %rax
testb $0x1, %r13b
je 0x20aa0
movq -0x38(%rbp), %rcx
testb $0x2, 0xb840(%rcx,%rax)
jne 0x20aa0
movq -0x58(%rbp), %rbx
movq %rbx, %rdi
callq 0x8b10
movq %rax, %r12
movq %rdx, %r14
movq %rbx, %rdi
movq %r15, %rsi
callq 0x8120
movq -0x108(%rbp), %rdi
callq 0x1a3ea
movb $0x1, %r13b
testl %eax, %eax
je 0x206b2
movq -0x38(%rbp), %rax
movsd 0x401c3(%rip), %xmm0    # 0x608d8
ucomisd 0x6c20(%rax), %xmm0
jbe 0x20765
leaq -0x128(%rbp), %r13
movq %r13, %rdi
movq %r15, %rsi
pushq $0x1d
popq %rdx
pushq $0x3
popq %rbx
movq %rbx, %rcx
callq 0x8650
movq -0x128(%rbp), %rdi
callq 0x8990
movq %rax, -0x50(%rbp)
movq %r13, %rdi
callq 0x82c0
movq %r13, %rdi
movq %r15, %rsi
pushq $0x1a
popq %rdx
movq %rbx, %rcx
callq 0x8650
jmp 0x207a9
leaq -0x128(%rbp), %r13
movq %r13, %rdi
movq %r15, %rsi
pushq $0x20
popq %rdx
pushq $0x3
popq %rbx
movq %rbx, %rcx
callq 0x8650
movq -0x128(%rbp), %rdi
callq 0x8990
movq %rax, -0x50(%rbp)
movq %r13, %rdi
callq 0x82c0
movq %r13, %rdi
movq %r15, %rsi
pushq $0x1d
popq %rdx
movq %rbx, %rcx
callq 0x8650
movq %r13, %rbx
movq -0x128(%rbp), %rdi
callq 0x8990
movl %eax, %r13d
movq %rbx, %rdi
callq 0x82c0
cmpl $0xab, -0x50(%rbp)
jge 0x21967
cmpl $0x2, %r13d
jl 0x20866
movq -0x50(%rbp), %rax
testl %eax, %eax
movl $0x0, %ebx
cmovgl %eax, %ebx
movq -0x60(%rbp), %r13
subl $0x1, %ebx
jb 0x2085e
movq -0x58(%rbp), %rdi
movq %r15, %rsi
callq 0x8120
movq -0x108(%rbp), %rdi
leaq 0x4106e(%rip), %rsi     # 0x61879
callq 0x8170
testq %rax, %rax
je 0x207ec
movq 0x657ac(%rip), %rdi     # 0x85fc8
leaq 0x4106b(%rip), %rsi     # 0x6188e
callq 0x8610
movq %rax, %rdi
movq %r13, %rsi
callq 0x8560
movq %rax, %rdi
callq 0x8310
movq -0x108(%rbp), %rdi
leaq 0x4ed84(%rip), %rsi     # 0x6f5cd
movq -0x40(%rbp), %rdx
movq -0x48(%rbp), %rcx
movq -0x68(%rbp), %r8
xorl %eax, %eax
callq 0x8600
jmp 0x207ec
movb $0x1, %r13b
jmp 0x206b2
movq -0x38(%rbp), %rax
movsd 0x6c20(%rax), %xmm0
ucomisd 0x4005e(%rip), %xmm0    # 0x608d8
movq -0x108(%rbp), %rdi
leaq 0x41039(%rip), %rsi     # 0x618c1
leaq 0x41035(%rip), %rax     # 0x618c4
cmovbq %rax, %rsi
leaq -0x14c(%rbp), %rbx
movq %rbx, %rdx
leaq -0x148(%rbp), %rcx
leaq -0x144(%rbp), %r8
leaq -0xcc(%rbp), %r9
xorl %eax, %eax
leaq -0x158(%rbp), %r10
pushq %r10
leaq -0xc8(%rbp), %r10
pushq %r10
callq 0x8600
popq %rcx
popq %rdx
movq %rbx, %rdi
callq 0x1a0a1
movq -0x80(%rbp), %rbx
movq -0x78(%rbp), %r13
movl -0x14c(%rbp), %eax
leal -0xdad(%rax), %ecx
cmpl $0xfffffa22, %ecx       # imm = 0xFFFFFA22
jbe 0x219bf
movl -0x148(%rbp), %esi
movl -0x144(%rbp), %edx
movl %eax, %edi
callq 0x19b34
movl %eax, %esi
movq -0x38(%rbp), %rcx
movl %eax, 0x6010(%rcx)
cvtsi2sdl -0xcc(%rbp), %xmm1
imull $0x3c, -0xc8(%rbp), %eax
cvtsi2sd %eax, %xmm0
mulsd 0x3ff81(%rip), %xmm1    # 0x608b0
addsd %xmm0, %xmm1
addsd -0x158(%rbp), %xmm1
movsd %xmm1, 0x3fc8(%rcx)
movsd 0x3ff8d(%rip), %xmm0    # 0x608d8
ucomisd 0x6c20(%rcx), %xmm0
jbe 0x20984
movq -0x50(%rbp), %rcx
movl %ecx, %eax
cltd
pushq $0xc
popq %rdi
idivl %edi
cvtsi2sd %ecx, %xmm0
divsd 0x40e3b(%rip), %xmm0    # 0x617a8
cvttsd2si %xmm0, %edi
incl %edi
testl %edx, %edx
cmovel %eax, %edi
testl %ecx, %ecx
pushq $0x1
popq %rax
cmovel %eax, %edi
movq %rdi, -0x70(%rbp)
movl (%r13), %edi
movsd (%rbx), %xmm0
callq 0x1a085
movsd 0x40e17(%rip), %xmm1    # 0x617b0
ucomisd %xmm0, %xmm1
ja 0x219f4
ucomisd 0x40e0d(%rip), %xmm0    # 0x617b8
seta %r13b
jbe 0x209ed
movq -0x38(%rbp), %rax
movsd 0x3ff1b(%rip), %xmm0    # 0x608d8
ucomisd 0x6c20(%rax), %xmm0
jbe 0x20a3e
movq -0x70(%rbp), %rax
cmpl $0x2, %eax
pushq $0x1
popq %rbx
cmovgel %eax, %ebx
decl %ebx
subl $0x1, %ebx
jb 0x20a63
movq -0x58(%rbp), %rdi
movq %r15, %rsi
callq 0x8120
jmp 0x209d6
movq -0x38(%rbp), %rcx
movl 0x6010(%rcx), %eax
movq -0x78(%rbp), %rdx
movl %eax, (%rdx)
cvtsi2sdl -0xcc(%rbp), %xmm0
cvtsi2sdl -0xc8(%rbp), %xmm1
mulsd 0x3fe93(%rip), %xmm1    # 0x608a8
mulsd 0x3fe93(%rip), %xmm0    # 0x608b0
addsd %xmm1, %xmm0
addsd -0x158(%rbp), %xmm0
movq -0x80(%rbp), %rax
movsd %xmm0, (%rax)
movsd %xmm0, 0x3fc8(%rcx)
jmp 0x206b2
movq -0x50(%rbp), %rax
testl %eax, %eax
movl $0x0, %ebx
cmovgl %eax, %ebx
subl $0x1, %ebx
jb 0x206b2
movq -0x58(%rbp), %rdi
movq %r15, %rsi
callq 0x8120
jmp 0x20a4c
movq -0x38(%rbp), %rax
movl 0x6cd4(%rax), %eax
cltd
pushq $0x5
popq %rcx
idivl %ecx
movl %eax, %ebx
cmpl $0x1, %edx
sbbl $-0x1, %ebx
imull -0x50(%rbp), %ebx
testl %ebx, %ebx
movl $0x0, %eax
cmovlel %eax, %ebx
subl $0x1, %ebx
jb 0x206b2
movq -0x58(%rbp), %rdi
movq %r15, %rsi
callq 0x8120
jmp 0x20a89
movq -0x58(%rbp), %rdi
testb $0x2, 0x20(%rdi,%rax)
movq -0x80(%rbp), %rdx
movq -0x78(%rbp), %rax
jne 0x20baf
movq -0x38(%rbp), %rax
movsd 0x3fe15(%rip), %xmm0    # 0x608d8
ucomisd 0x6c20(%rax), %xmm0
jbe 0x20bf1
movq %r12, %rsi
movq %r14, %rdx
callq 0x87e0
movq -0x38(%rbp), %rax
leaq 0x98b0(%rax), %rcx
xorl %edx, %edx
movq -0x70(%rbp), %rax
testl %eax, %eax
cmovlel %edx, %eax
movq %rax, -0x70(%rbp)
leaq -0x128(%rbp), %r15
movq %rcx, -0x138(%rbp)
movq %rcx, -0x48(%rbp)
movq %rdx, -0x40(%rbp)
cmpq -0x70(%rbp), %rdx
je 0x21414
movq -0x58(%rbp), %rdi
leaq -0x108(%rbp), %rsi
callq 0x8120
imull $0xc, -0x40(%rbp), %eax
movq -0x50(%rbp), %rcx
subl %eax, %ecx
cmpl $0xc, %ecx
pushq $0xc
popq %rax
cmovgel %eax, %ecx
movslq %ecx, %rbx
movq -0x48(%rbp), %r13
pushq $0x20
popq %r12
xorl %r14d, %r14d
cmpq %rbx, %r14
jge 0x20b9b
movq %r15, %rdi
leaq -0x108(%rbp), %rsi
movq %r12, %rdx
pushq $0x3
popq %rcx
callq 0x8650
movq %r13, %rdi
movq %r15, %rsi
callq 0x87a0
movq %r15, %rdi
callq 0x82c0
movq (%r13), %rax
cmpb $0x20, (%rax)
jne 0x20b84
movb $0x47, (%rax)
movq (%r13), %rax
cmpb $0x20, 0x1(%rax)
jne 0x20b8e
movb $0x30, 0x1(%rax)
incq %r14
addq $0x3, %r12
addq $0x20, %r13
jmp 0x20b47
movq -0x40(%rbp), %rdx
incq %rdx
addq $0x180, -0x48(%rbp)     # imm = 0x180
jmp 0x20b08
movl (%rax), %eax
movq -0x38(%rbp), %rcx
movl %eax, 0x6010(%rcx)
movsd (%rdx), %xmm0
movsd %xmm0, 0x3fc8(%rcx)
leaq -0x190(%rbp), %rdi
callq 0x82c0
leaq -0x108(%rbp), %rdi
callq 0x82c0
addq $0x8f8, %rsp            # imm = 0x8F8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0xb024(%rax), %rcx
movq %rcx, -0x168(%rbp)
leaq 0xae24(%rax), %rcx
movq %rcx, -0xd8(%rbp)
leaq 0x6cf0(%rax), %rcx
movq %rcx, -0x160(%rbp)
addq $0x3fd0, %rax           # imm = 0x3FD0
movq %rax, -0xb0(%rbp)
xorl %r14d, %r14d
movq -0x50(%rbp), %rax
testl %eax, %eax
cmovlel %r14d, %eax
movq %rax, -0x50(%rbp)
leaq 0x67328(%rip), %r15     # 0x87f68
movl $0x6b0, %eax            # imm = 0x6B0
addq 0x6535c(%rip), %rax     # 0x85fa8
movq %rax, -0x170(%rbp)
leaq -0x128(%rbp), %r13
cmpl -0x50(%rbp), %r14d
je 0x20bc7
movq -0x58(%rbp), %rdi
leaq -0x108(%rbp), %rsi
callq 0x8120
movq -0x108(%rbp), %rax
movsbl (%rax), %esi
leaq 0x40d75(%rip), %rdi     # 0x619fa
callq 0x1a5f7
movl %eax, -0x40(%rbp)
cmpl $-0x1, -0x40(%rbp)
je 0x2140c
movq -0x108(%rbp), %rax
cmpb $0x20, 0x1(%rax)
jne 0x20ca8
movb $0x30, 0x1(%rax)
movl 0x4c(%r15), %r12d
leaq -0x1f0(%rbp), %rdi
leaq -0x108(%rbp), %rsi
xorl %edx, %edx
pushq $0x3
popq %rcx
callq 0x8650
movl %r12d, %edi
movq -0x170(%rbp), %rsi
leaq -0x1f0(%rbp), %rbx
movq %rbx, %rdx
callq 0x1a53f
movl %eax, %r12d
movq %rbx, %rdi
callq 0x82c0
movl %r12d, -0xc4(%rbp)
cmpl $-0x1, %r12d
je 0x2140c
movq -0x100(%rbp), %rcx
addq $-0x3, %rcx
movq %r13, %rdi
leaq -0x108(%rbp), %rsi
pushq $0x3
popq %rdx
callq 0x8650
movq -0x128(%rbp), %rsi
leaq -0x920(%rbp), %rbx
movq %rbx, %rdi
callq 0x85c0
movq %r13, %rdi
callq 0x82c0
movslq -0x40(%rbp), %rcx
movq -0x38(%rbp), %rax
movq %rcx, -0x40(%rbp)
movl 0x6cd4(%rax,%rcx,4), %esi
movsd 0x6c20(%rax), %xmm0
movq %rbx, %rdi
pushq $0x10
popq %rdx
callq 0x1a32d
leaq -0x1b0(%rbp), %rdi
leaq -0x108(%rbp), %rsi
xorl %edx, %edx
pushq $0x3
popq %rcx
callq 0x8650
leaq -0x350(%rbp), %rbx
movq %rbx, %rdi
leaq -0x920(%rbp), %rsi
leaq -0x91(%rbp), %rdx
callq 0x8260
movq %r13, %rdi
leaq -0x1b0(%rbp), %r12
movq %r12, %rsi
movq %rbx, %rdx
callq 0x21cbd
leaq -0x190(%rbp), %rdi
movq %r13, %rsi
callq 0x87a0
movq %r13, %rdi
callq 0x82c0
movq %rbx, %rdi
callq 0x82c0
movq %r12, %rdi
callq 0x82c0
pushq $0x3
popq %r12
xorl %ebx, %ebx
movq -0x38(%rbp), %rax
movq -0x40(%rbp), %rcx
movslq 0x6cd4(%rax,%rcx,4), %rax
cmpq %rax, %rbx
jge 0x20e21
movq %r13, %rdi
leaq -0x190(%rbp), %rsi
movq %r12, %rdx
pushq $0xe
popq %rcx
callq 0x8650
movq -0x128(%rbp), %rdi
callq 0x87b0
movsd %xmm0, -0x520(%rbp,%rbx,8)
movq %r13, %rdi
callq 0x82c0
incq %rbx
addq $0x10, %r12
jmp 0x20dd1
movslq -0xc4(%rbp), %rdx
movq -0x40(%rbp), %rax
imulq $0x640, %rax, %rcx      # imm = 0x640
addq -0x160(%rbp), %rcx
movq %rcx, -0x48(%rbp)
imulq $0xc, %rdx, %rsi
addq -0x168(%rbp), %rsi
imulq $0xc, %rax, %rax
movq %rax, -0xa8(%rbp)
imulq $0x30, %rdx, %rcx
movq -0xb8(%rbp), %rax
movq %rcx, -0xa0(%rbp)
addq %rcx, %rax
movq %rax, -0x88(%rbp)
movq %rdx, -0xe0(%rbp)
imulq $0x18, %rdx, %rax
movq %rax, -0x90(%rbp)
xorl %ecx, %ecx
movq %r14, -0x140(%rbp)
movq %rsi, -0x138(%rbp)
movq -0x40(%rbp), %rax
movslq 0x30(%r15,%rax,4), %rax
cmpq %rax, %rcx
jge 0x213da
cmpl $0x0, (%rsi,%rcx,4)
movq %rcx, -0x60(%rbp)
je 0x210ff
movb $0x43, -0x2c(%rbp)
movq -0xa8(%rbp), %rax
leaq (%rax,%r15), %r14
movb 0x5d(%r14,%rcx,4), %al
movb %al, -0x2b(%rbp)
movq -0xe0(%rbp), %rax
leaq (%rax,%rax,2), %rbx
addq -0xd8(%rbp), %rbx
movb (%rcx,%rbx), %al
movb %al, -0x2a(%rbp)
movb $0x0, -0x29(%rbp)
movq -0x38(%rbp), %rax
movq -0x40(%rbp), %rcx
movl 0x6cd4(%rax,%rcx,4), %r15d
leaq -0x2b0(%rbp), %r12
movq %r12, %rdi
leaq -0x2c(%rbp), %rsi
movq %r13, %rdx
callq 0x8260
movl %r15d, %edi
movq -0x48(%rbp), %rsi
movq %r12, %rdx
callq 0x1a53f
movl %eax, %r15d
movq %r12, %rdi
callq 0x82c0
cmpl $-0x1, %r15d
movq -0x60(%rbp), %rdx
je 0x20f60
movslq %r15d, %rax
movsd -0x520(%rbp,%rax,8), %xmm0
movq -0x88(%rbp), %rax
movsd %xmm0, 0x18(%rax,%rdx,8)
movq -0xb0(%rbp), %rax
movq -0x90(%rbp), %rcx
addq %rcx, %rax
movl -0x2c(%rbp), %ecx
movl %ecx, 0xc(%rax,%rdx,4)
leaq (%r14,%rdx,4), %r14
addq $0x5d, %r14
addq %rdx, %rbx
movb $0x4c, -0x2c(%rbp)
movb (%r14), %al
movb %al, -0x2b(%rbp)
movb (%rbx), %al
movb %al, -0x2a(%rbp)
movb $0x0, -0x29(%rbp)
movq -0x38(%rbp), %rax
movq -0x40(%rbp), %rcx
movl 0x6cd4(%rax,%rcx,4), %r15d
leaq -0x290(%rbp), %r12
movq %r12, %rdi
leaq -0x2c(%rbp), %rsi
movq %r13, %rdx
callq 0x8260
movl %r15d, %edi
movq -0x48(%rbp), %rsi
movq %r12, %rdx
callq 0x1a53f
movl %eax, %r15d
movq %r12, %rdi
callq 0x82c0
cmpl $-0x1, %r15d
je 0x20ff7
movslq %r15d, %rax
movsd -0x520(%rbp,%rax,8), %xmm0
movq -0x88(%rbp), %rax
movq -0x60(%rbp), %rdx
movsd %xmm0, (%rax,%rdx,8)
movq -0xb0(%rbp), %rax
movq -0x90(%rbp), %rcx
addq %rcx, %rax
movl -0x2c(%rbp), %ecx
movl %ecx, (%rax,%rdx,4)
movb $0x53, -0x2c(%rbp)
movb (%r14), %al
movb %al, -0x2b(%rbp)
movb (%rbx), %al
movb %al, -0x2a(%rbp)
movb $0x0, -0x29(%rbp)
movq -0x38(%rbp), %rax
movq -0x40(%rbp), %rcx
movl 0x6cd4(%rax,%rcx,4), %r15d
leaq -0x270(%rbp), %r12
movq %r12, %rdi
leaq -0x2c(%rbp), %rsi
movq %r13, %rdx
callq 0x8260
movl %r15d, %edi
movq -0x48(%rbp), %rsi
movq %r12, %rdx
callq 0x1a53f
movl %eax, %r15d
movq %r12, %rdi
callq 0x82c0
cmpl $-0x1, %r15d
je 0x21076
movslq %r15d, %rax
movsd -0x520(%rbp,%rax,8), %xmm0
movq -0xe8(%rbp), %rax
movq -0x90(%rbp), %rcx
addq %rcx, %rax
movq -0x60(%rbp), %rcx
movsd %xmm0, (%rax,%rcx,8)
movb $0x44, -0x2c(%rbp)
movb (%r14), %al
movb %al, -0x2b(%rbp)
movb (%rbx), %al
movb %al, -0x2a(%rbp)
movb $0x0, -0x29(%rbp)
movq -0x38(%rbp), %rax
movq -0x40(%rbp), %rcx
movl 0x6cd4(%rax,%rcx,4), %r15d
leaq -0x250(%rbp), %rbx
movq %rbx, %rdi
leaq -0x2c(%rbp), %rsi
movq %r13, %rdx
callq 0x8260
movl %r15d, %edi
movq -0x48(%rbp), %rsi
movq %rbx, %rdx
callq 0x1a53f
movl %eax, %r15d
movq %rbx, %rdi
callq 0x82c0
cmpl $-0x1, %r15d
je 0x213b2
movslq %r15d, %rax
movsd -0x520(%rbp,%rax,8), %xmm0
movq -0xc0(%rbp), %rax
movq -0xa0(%rbp), %rcx
addq %rcx, %rax
movq -0x60(%rbp), %rcx
movsd %xmm0, 0x18(%rax,%rcx,8)
jmp 0x213b2
leaq (%rsi,%rcx,4), %rax
movq %rax, -0x130(%rbp)
movq -0xa8(%rbp), %rax
addq %r15, %rax
movq %rcx, %rdx
leaq 0x5d(%rax,%rcx,4), %rax
movq %rax, -0x68(%rbp)
movq -0x88(%rbp), %rax
leaq 0x18(%rax,%rcx,8), %rbx
movq -0xb0(%rbp), %rax
movq -0x90(%rbp), %rcx
leaq (%rax,%rcx), %rax
leaq 0xc(%rax,%rdx,4), %rax
movq %rax, -0x70(%rbp)
movq -0xe8(%rbp), %rax
addq %rcx, %rax
leaq (%rax,%rdx,8), %rax
movq %rax, -0x80(%rbp)
movq -0xc0(%rbp), %rax
movq -0xa0(%rbp), %rcx
addq %rcx, %rax
leaq (%rax,%rdx,8), %rax
addq $0x18, %rax
movq %rax, -0x78(%rbp)
xorl %r14d, %r14d
cmpq $0x10, %r14
je 0x213b2
movb $0x43, -0x2c(%rbp)
movq -0x68(%rbp), %rax
movb (%rax), %al
movb %al, -0x2b(%rbp)
leaq 0x40889(%rip), %rax     # 0x61a20
movb (%r14,%rax), %r12b
movb %r12b, -0x2a(%rbp)
movb $0x0, -0x29(%rbp)
movq -0x38(%rbp), %rax
movq -0x40(%rbp), %rcx
movl 0x6cd4(%rax,%rcx,4), %r15d
leaq -0x330(%rbp), %r13
movq %r13, %rdi
leaq -0x2c(%rbp), %rsi
leaq -0x128(%rbp), %rdx
callq 0x8260
movl %r15d, %edi
movq -0x48(%rbp), %rsi
movq %r13, %rdx
callq 0x1a53f
movl %eax, %r15d
movq %r13, %rdi
callq 0x82c0
cmpl $-0x1, %r15d
je 0x21206
movslq %r15d, %rax
movsd -0x520(%rbp,%rax,8), %xmm0
movsd %xmm0, (%rbx)
movl -0x2c(%rbp), %eax
movq -0x70(%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 -0x40(%rbp), %rcx
movl 0x6cd4(%rax,%rcx,4), %r15d
leaq -0x310(%rbp), %r13
movq %r13, %rdi
leaq -0x2c(%rbp), %rsi
leaq -0x128(%rbp), %rdx
callq 0x8260
movl %r15d, %edi
movq -0x48(%rbp), %rsi
movq %r13, %rdx
callq 0x1a53f
movl %eax, %r15d
movq %r13, %rdi
callq 0x82c0
cmpl $-0x1, %r15d
je 0x21280
movslq %r15d, %rax
movsd -0x520(%rbp,%rax,8), %xmm0
movsd %xmm0, -0x18(%rbx)
movl -0x2c(%rbp), %eax
movq -0x70(%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 -0x40(%rbp), %rcx
movl 0x6cd4(%rax,%rcx,4), %r15d
leaq -0x2f0(%rbp), %r13
movq %r13, %rdi
leaq -0x2c(%rbp), %rsi
leaq -0x128(%rbp), %rdx
callq 0x8260
movl %r15d, %edi
movq -0x48(%rbp), %rsi
movq %r13, %rdx
callq 0x1a53f
movl %eax, %r15d
movq %r13, %rdi
callq 0x82c0
cmpl $-0x1, %r15d
je 0x212f3
movslq %r15d, %rax
movsd -0x520(%rbp,%rax,8), %xmm0
movq -0x80(%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 -0x40(%rbp), %rcx
movl 0x6cd4(%rax,%rcx,4), %r15d
leaq -0x2d0(%rbp), %r13
movq %r13, %rdi
leaq -0x2c(%rbp), %rsi
leaq -0x128(%rbp), %rdx
callq 0x8260
movl %r15d, %edi
movq -0x48(%rbp), %rsi
movq %r13, %rdx
callq 0x1a53f
movl %eax, %r15d
movq %r13, %rdi
callq 0x82c0
cmpl $-0x1, %r15d
je 0x21366
movslq %r15d, %rax
movsd -0x520(%rbp,%rax,8), %xmm0
movq -0x78(%rbp), %rax
movsd %xmm0, (%rax)
movsd -0x18(%rbx), %xmm0
xorpd %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jne 0x21377
jnp 0x21383
movsd (%rbx), %xmm0
ucomisd %xmm1, %xmm0
jne 0x2138b
jp 0x2138b
incq %r14
jmp 0x21179
movq -0xe0(%rbp), %rax
leaq (%rax,%rax,2), %rax
addq -0xd8(%rbp), %rax
movq -0x60(%rbp), %rcx
movb %r12b, (%rcx,%rax)
movq -0x130(%rbp), %rax
movl $0x1, (%rax)
movq -0x60(%rbp), %rcx
incq %rcx
movq -0x140(%rbp), %r14
leaq 0x66ba1(%rip), %r15     # 0x87f68
leaq -0x128(%rbp), %r13
movq -0x138(%rbp), %rsi
jmp 0x20e92
movq -0xa0(%rbp), %rcx
addq -0xc0(%rbp), %rcx
movq -0x90(%rbp), %r8
addq -0xe8(%rbp), %r8
movq -0x38(%rbp), %rdi
movl -0xc4(%rbp), %esi
movq -0x88(%rbp), %rdx
callq 0x1f4cc
incl %r14d
jmp 0x20c5a
movq -0x38(%rbp), %rsi
movl 0x6cd4(%rsi), %ecx
movl %ecx, %eax
cltd
pushq $0x5
popq %rdi
idivl %edi
cvtsi2sd %ecx, %xmm0
divsd 0x4036e(%rip), %xmm0    # 0x617a0
cvttsd2si %xmm0, %ecx
incl %ecx
testl %edx, %edx
cmovel %eax, %ecx
leaq 0x6cf0(%rsi), %rax
movq %rax, -0xe0(%rbp)
leaq 0x3fd0(%rsi), %rax
movq %rax, -0xb0(%rbp)
xorl %edx, %edx
testl %ecx, %ecx
cmovlel %edx, %ecx
movq %rcx, -0x80(%rbp)
movq -0x50(%rbp), %rax
testl %eax, %eax
cmovlel %edx, %eax
movq %rax, -0x50(%rbp)
leaq 0x20(%rsi), %rax
movq %rax, -0xd8(%rbp)
leaq 0x3fdc(%rsi), %rax
movq %rax, -0x130(%rbp)
movl $0x6b0, %eax            # imm = 0x6B0
addq 0x64b12(%rip), %rax     # 0x85fa8
movq %rax, -0xa0(%rbp)
leaq -0x128(%rbp), %r15
movq %rdx, -0xa8(%rbp)
cmpq -0x50(%rbp), %rdx
je 0x20bc7
leaq -0x520(%rbp), %rbx
xorl %eax, %eax
movq %rax, -0x40(%rbp)
cmpq -0x80(%rbp), %rax
je 0x215b7
movq -0x58(%rbp), %rdi
leaq -0x108(%rbp), %rsi
callq 0x8120
leaq -0x920(%rbp), %r14
movq -0x108(%rbp), %rsi
movq %r14, %rdi
callq 0x85c0
movq -0x38(%rbp), %rax
movl 0x6cd4(%rax), %esi
movq -0x40(%rbp), %rcx
leal (%rcx,%rcx,4), %r12d
subl %r12d, %esi
cmpl $0x5, %esi
pushq $0x5
popq %rcx
cmovgel %ecx, %esi
movsd 0x6c20(%rax), %xmm0
movq %r14, %rdi
pushq $0x10
popq %rdx
callq 0x1a32d
movq %r15, %rdi
movq %r14, %rsi
leaq -0x1b0(%rbp), %rdx
callq 0x8260
leaq -0x190(%rbp), %rdi
movq %r15, %rsi
callq 0x87a0
movq %r15, %rdi
callq 0x82c0
xorl %r14d, %r14d
xorl %r13d, %r13d
movq -0x38(%rbp), %rax
movl 0x6cd4(%rax), %eax
subl %r12d, %eax
cmpl $0x5, %eax
pushq $0x5
popq %rcx
cmovgel %ecx, %eax
cltq
cmpq %rax, %r13
jge 0x215a7
movq %r15, %rdi
leaq -0x190(%rbp), %rsi
movq %r14, %rdx
pushq $0xe
popq %rcx
callq 0x8650
movq -0x128(%rbp), %rdi
callq 0x87b0
movsd %xmm0, (%rbx,%r13,8)
movq %r15, %rdi
callq 0x82c0
incq %r13
addq $0x10, %r14
jmp 0x21552
movq -0x40(%rbp), %rax
incq %rax
addq $0x28, %rbx
jmp 0x214be
leaq 0x669aa(%rip), %rax     # 0x87f68
movl 0x4c(%rax), %ebx
movq -0xa8(%rbp), %r14
shlq $0x5, %r14
addq -0x138(%rbp), %r14
leaq -0x230(%rbp), %rdi
movq %r14, %rsi
callq 0x8870
movl %ebx, %edi
movq -0xa0(%rbp), %rsi
leaq -0x230(%rbp), %rbx
movq %rbx, %rdx
callq 0x1a53f
movl %eax, %r12d
movq %rbx, %rdi
callq 0x82c0
cmpl $-0x1, %r12d
je 0x21958
movq (%r14), %rax
movsbl (%rax), %esi
leaq 0x403de(%rip), %rdi     # 0x619fa
callq 0x1a5f7
movslq %eax, %rsi
imulq $0x640, %rsi, %rax      # imm = 0x640
addq -0xe0(%rbp), %rax
movq %rax, -0x40(%rbp)
movl %r12d, -0x140(%rbp)
movslq %r12d, %rax
imulq $0xc, %rsi, %rcx
leaq 0x6691d(%rip), %rdx     # 0x87f68
addq %rcx, %rdx
addq $0x5d, %rdx
imulq $0x30, %rax, %r13
movq -0xd8(%rbp), %rcx
addq %r13, %rcx
movq %rcx, -0x78(%rbp)
imulq $0x18, %rax, %rcx
movq -0x130(%rbp), %rax
movq %rcx, -0x88(%rbp)
addq %rcx, %rax
movq %rax, -0x60(%rbp)
xorl %ebx, %ebx
leaq -0x210(%rbp), %rdi
movq %rsi, -0x48(%rbp)
movq %rdx, -0x68(%rbp)
leaq 0x668d3(%rip), %rax     # 0x87f68
movslq 0x30(%rax,%rsi,4), %rax
cmpq %rax, %rbx
jge 0x21926
movb $0x50, -0x2c(%rbp)
movb (%rdx,%rbx,4), %al
movb %al, -0x2b(%rbp)
movb $0x0, -0x2a(%rbp)
movq -0x38(%rbp), %rax
movl 0x6cd4(%rax,%rsi,4), %r14d
leaq -0x2c(%rbp), %rsi
movq %rdi, %r12
movq %r15, %rdx
callq 0x8260
movl %r14d, %edi
movq -0x40(%rbp), %rsi
movq %r12, %rdx
callq 0x1a53f
movl %eax, %r14d
movq %r12, %rdi
callq 0x82c0
cmpl $-0x1, %r14d
je 0x21730
movslq %r14d, %rax
movsd -0x520(%rbp,%rax,8), %xmm0
leaq 0x3(%rbx), %r8
movq -0x78(%rbp), %rax
movsd %xmm0, (%rax,%rbx,8)
movb $0x43, -0x2c(%rbp)
movq -0x68(%rbp), %rsi
movb (%rsi,%rbx,4), %al
movb %al, -0x2b(%rbp)
movw $0x50, -0x2a(%rbp)
movl -0x2c(%rbp), %eax
movq -0x60(%rbp), %rcx
movl %eax, (%rcx,%rbx,4)
leaq -0x1d0(%rbp), %rdi
movq -0x48(%rbp), %rdx
jmp 0x21743
leaq 0x3(%rbx), %r8
leaq -0x1d0(%rbp), %rdi
movq -0x48(%rbp), %rdx
movq -0x68(%rbp), %rsi
movq -0xb8(%rbp), %rax
addq %r13, %rax
movq %r8, -0x70(%rbp)
movsd (%rax,%r8,8), %xmm0
ucomisd 0x3f199(%rip), %xmm0    # 0x608f8
jne 0x2181e
jp 0x2181e
movq %rax, -0x90(%rbp)
movq %r13, %r12
movb $0x43, -0x2c(%rbp)
movb (%rsi,%rbx,4), %al
movb %al, -0x2b(%rbp)
movb $0x0, -0x2a(%rbp)
movq -0x38(%rbp), %rax
movl 0x6cd4(%rax,%rdx,4), %r14d
leaq -0x390(%rbp), %r13
movq %r13, %rdi
leaq -0x2c(%rbp), %rsi
movq %r15, %rdx
callq 0x8260
movl %r14d, %edi
movq -0x40(%rbp), %rsi
movq %r13, %rdx
callq 0x1a53f
movl %eax, %r14d
movq %r13, %rdi
callq 0x82c0
cmpl $-0x1, %r14d
leaq -0x1d0(%rbp), %rdi
movq %r12, %r13
movq -0x48(%rbp), %rdx
movq -0x68(%rbp), %rsi
movq -0x90(%rbp), %rax
je 0x2181e
movq -0x70(%rbp), %r8
leaq (%rax,%r8,8), %rax
movslq %r14d, %rcx
movsd -0x520(%rbp,%rcx,8), %xmm0
movsd %xmm0, (%rax)
movb $0x43, -0x2c(%rbp)
movb (%rsi,%rbx,4), %al
movb %al, -0x2b(%rbp)
movw $0x43, -0x2a(%rbp)
movq -0xb0(%rbp), %rax
movq -0x88(%rbp), %rcx
addq %rcx, %rax
movl -0x2c(%rbp), %ecx
movl %ecx, (%rax,%r8,4)
movb $0x4c, -0x2c(%rbp)
movb (%rsi,%rbx,4), %al
movb %al, -0x2b(%rbp)
movb $0x0, -0x2a(%rbp)
movq -0x38(%rbp), %rax
movl 0x6cd4(%rax,%rdx,4), %r14d
leaq -0x2c(%rbp), %rsi
movq %rdi, %r12
movq %r15, %rdx
callq 0x8260
movl %r14d, %edi
movq -0x40(%rbp), %rsi
movq %r12, %rdx
callq 0x1a53f
movl %eax, %r14d
movq %r12, %rdi
callq 0x82c0
cmpl $-0x1, %r14d
movq -0x68(%rbp), %rcx
je 0x2189c
movslq %r14d, %rax
movsd -0x520(%rbp,%rax,8), %xmm0
movq -0x78(%rbp), %rax
movsd %xmm0, -0x18(%rax,%rbx,8)
movb $0x4c, -0x2c(%rbp)
movb (%rcx,%rbx,4), %al
movb %al, -0x2b(%rbp)
movw $0x50, -0x2a(%rbp)
movl -0x2c(%rbp), %eax
movq -0x60(%rbp), %rdx
movl %eax, -0xc(%rdx,%rbx,4)
movb $0x44, -0x2c(%rbp)
movb (%rcx,%rbx,4), %al
movb %al, -0x2b(%rbp)
movb $0x0, -0x2a(%rbp)
movq -0x38(%rbp), %rax
movq -0x48(%rbp), %rcx
movl 0x6cd4(%rax,%rcx,4), %r14d
leaq -0x370(%rbp), %r12
movq %r12, %rdi
leaq -0x2c(%rbp), %rsi
movq %r15, %rdx
callq 0x8260
movl %r14d, %edi
movq -0x40(%rbp), %rsi
movq %r12, %rdx
callq 0x1a53f
movl %eax, %r14d
movq %r12, %rdi
callq 0x82c0
cmpl $-0x1, %r14d
je 0x2190f
movslq %r14d, %rax
movsd -0x520(%rbp,%rax,8), %xmm0
movq -0xc0(%rbp), %rax
addq %r13, %rax
movq -0x70(%rbp), %rcx
movsd %xmm0, (%rax,%rcx,8)
incq %rbx
leaq -0x210(%rbp), %rdi
movq -0x48(%rbp), %rsi
movq -0x68(%rbp), %rdx
jmp 0x2168e
movq -0xb8(%rbp), %rax
leaq (%rax,%r13), %rdx
addq -0xc0(%rbp), %r13
movq -0x88(%rbp), %r8
addq -0xe8(%rbp), %r8
movq -0x38(%rbp), %rdi
movl -0x140(%rbp), %esi
movq %r13, %rcx
callq 0x1f4cc
movq -0xa8(%rbp), %rdx
incq %rdx
jmp 0x214a4
movq -0x60(%rbp), %rax
movq (%rax), %rcx
leaq 0x3fe8f(%rip), %rdi     # 0x61804
movq -0x50(%rbp), %rsi
movl $0xaa, %edx
xorl %eax, %eax
callq 0x8070
movq -0x58(%rbp), %rdi
callq 0x8130
movq -0x80(%rbp), %rbx
movq -0x78(%rbp), %r14
movl $0x1fe0, %edx           # imm = 0x1FE0
movq -0xb8(%rbp), %rdi
xorl %esi, %esi
callq 0x8390
movl (%r14), %eax
movq -0x38(%rbp), %rcx
movl %eax, 0x6010(%rcx)
movsd (%rbx), %xmm0
jmp 0x20bbf
movq -0x60(%rbp), %rcx
movq (%rcx), %rdx
leaq 0x3ff05(%rip), %rdi     # 0x618d2
movl %eax, %esi
xorl %eax, %eax
callq 0x8070
movq -0x58(%rbp), %rdi
callq 0x8130
movl $0x1fe0, %edx           # imm = 0x1FE0
movq -0xb8(%rbp), %rdi
xorl %esi, %esi
callq 0x8390
jmp 0x21a03
movq -0x58(%rbp), %rdi
movq %r12, %rsi
movq %r14, %rdx
callq 0x87e0
movl (%r13), %eax
jmp 0x219ac
jmp 0x21b63
jmp 0x21b63
jmp 0x21b63
jmp 0x21b63
jmp 0x21b63
jmp 0x21b63
jmp 0x21b63
jmp 0x21b63
jmp 0x21b63
movq %rax, %rbx
jmp 0x21a54
jmp 0x21b63
jmp 0x21b63
movq %rax, %rbx
leaq -0x350(%rbp), %rdi
callq 0x82c0
leaq -0x1b0(%rbp), %rdi
jmp 0x21b5a
movq %rax, %rbx
leaq -0x1f0(%rbp), %rdi
jmp 0x21b5a
movq %rax, %rbx
leaq -0x230(%rbp), %rdi
jmp 0x21b5a
jmp 0x21b63
jmp 0x21b63
jmp 0x21b63
jmp 0x21b63
jmp 0x21b63
jmp 0x21b63
movq %rax, %rbx
leaq -0x250(%rbp), %rdi
jmp 0x21b5a
movq %rax, %rbx
leaq -0x270(%rbp), %rdi
jmp 0x21b5a
movq %rax, %rbx
leaq -0x2b0(%rbp), %rdi
jmp 0x21b5a
movq %rax, %rbx
leaq -0x290(%rbp), %rdi
jmp 0x21b5a
jmp 0x21b63
jmp 0x21b63
jmp 0x21b63
jmp 0x21b63
movq %rax, %rbx
leaq -0x390(%rbp), %rdi
jmp 0x21b5a
jmp 0x21b63
jmp 0x21b63
jmp 0x21b63
movq %rax, %rbx
leaq -0x1d0(%rbp), %rdi
jmp 0x21b5a
jmp 0x21b63
jmp 0x21b63
movq %rax, %rbx
leaq -0x210(%rbp), %rdi
jmp 0x21b5a
movq %rax, %rbx
leaq -0x370(%rbp), %rdi
jmp 0x21b5a
jmp 0x21b63
jmp 0x21b63
jmp 0x21b63
jmp 0x21b63
movq %rax, %rbx
leaq -0x310(%rbp), %rdi
jmp 0x21b5a
movq %rax, %rbx
leaq -0x2d0(%rbp), %rdi
jmp 0x21b5a
jmp 0x21b63
jmp 0x21b63
movq %rax, %rbx
leaq -0x330(%rbp), %rdi
jmp 0x21b5a
movq %rax, %rbx
leaq -0x2f0(%rbp), %rdi
callq 0x82c0
jmp 0x21b66
jmp 0x21b63
movq %rax, %rbx
leaq -0x190(%rbp), %rdi
callq 0x82c0
leaq -0x108(%rbp), %rdi
callq 0x82c0
movq %rbx, %rdi
callq 0x8b30