// File: /workspace/github_cpp_makefile_star2_O3/thunlp[P]KB2E/TransE/Test_TransE.cpp
// Function: Test::run()
void run()
    {
        FILE* f1 = fopen(("relation2vec."+version).c_str(),"r");
        FILE* f3 = fopen(("entity2vec."+version).c_str(),"r");
        cout<<relation_num<<' '<<entity_num<<endl;
        int relation_num_fb=relation_num;
        relation_vec.resize(relation_num_fb);
        for (int i=0; i<relation_num_fb;i++)
        {
            relation_vec[i].resize(n);
            for (int ii=0; ii<n; ii++)
                fscanf(f1,"%lf",&relation_vec[i][ii]);
        }
        entity_vec.resize(entity_num);
        for (int i=0; i<entity_num;i++)
        {
            entity_vec[i].resize(n);
            for (int ii=0; ii<n; ii++)
                fscanf(f3,"%lf",&entity_vec[i][ii]);
            if (vec_len(entity_vec[i])-1>1e-3)
            	cout<<"wrong_entity"<<i<<' '<<vec_len(entity_vec[i])<<endl;
        }
        fclose(f1);
        fclose(f3);
		double lsum=0 ,lsum_filter= 0;
		double rsum = 0,rsum_filter=0;
		double lp_n=0,lp_n_filter;
		double rp_n=0,rp_n_filter;
		map<int,double> lsum_r,lsum_filter_r;
		map<int,double> rsum_r,rsum_filter_r;
		map<int,double> lp_n_r,lp_n_filter_r;
		map<int,double> rp_n_r,rp_n_filter_r;
		map<int,int> rel_num;

        for (int testid = 0; testid<fb_l.size(); testid+=1)
		{
			int h = fb_h[testid];
			int l = fb_l[testid];
			int rel = fb_r[testid];
			double tmp = calc_sum(h,l,rel);
			rel_num[rel]+=1;
			vector<pair<int,double> > a;
			for (int i=0; i<entity_num; i++)
			{
				double sum = calc_sum(i,l,rel);
				a.push_back(make_pair(i,sum));
			}
			sort(a.begin(),a.end(),cmp);
			double ttt=0;
			int filter = 0;
			for (int i=a.size()-1; i>=0; i--)
			{
				if (ok[make_pair(a[i].first,rel)].count(l)>0)
					ttt++;
			    if (ok[make_pair(a[i].first,rel)].count(l)==0)
			    	filter+=1;
				if (a[i].first ==h)
				{
					lsum+=a.size()-i;
					lsum_filter+=filter+1;
					lsum_r[rel]+=a.size()-i;
					lsum_filter_r[rel]+=filter+1;
					if (a.size()-i<=10)
					{
						lp_n+=1;
						lp_n_r[rel]+=1;
					}
					if (filter<10)
					{
						lp_n_filter+=1;
						lp_n_filter_r[rel]+=1;
					}
					break;
				}
			}
			a.clear();
			for (int i=0; i<entity_num; i++)
			{
				double sum = calc_sum(h,i,rel);
				a.push_back(make_pair(i,sum));
			}
			sort(a.begin(),a.end(),cmp);
			ttt=0;
			filter=0;
			for (int i=a.size()-1; i>=0; i--)
			{
				if (ok[make_pair(h,rel)].count(a[i].first)>0)
					ttt++;
			    if (ok[make_pair(h,rel)].count(a[i].first)==0)
			    	filter+=1;
				if (a[i].first==l)
				{
					rsum+=a.size()-i;
					rsum_filter+=filter+1;
					rsum_r[rel]+=a.size()-i;
					rsum_filter_r[rel]+=filter+1;
					if (a.size()-i<=10)
					{
						rp_n+=1;
						rp_n_r[rel]+=1;
					}
					if (filter<10)
					{
						rp_n_filter+=1;
						rp_n_filter_r[rel]+=1;
					}
					break;
				}
			}
        }
		cout<<"left:"<<lsum/fb_l.size()<<'\t'<<lp_n/fb_l.size()<<"\t"<<lsum_filter/fb_l.size()<<'\t'<<lp_n_filter/fb_l.size()<<endl;
		cout<<"right:"<<rsum/fb_r.size()<<'\t'<<rp_n/fb_r.size()<<'\t'<<rsum_filter/fb_r.size()<<'\t'<<rp_n_filter/fb_r.size()<<endl;
    }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x2b8, %rsp            # imm = 0x2B8
movq %rdi, %r15
leaq 0x47e7(%rip), %rsi      # 0x8144
leaq 0x8824(%rip), %rdx      # 0xc188
leaq 0xf0(%rsp), %rbx
movq %rbx, %rdi
callq 0x5274
movq (%rbx), %rdi
leaq 0x4734(%rip), %rsi      # 0x80b2
callq 0x21c0
movq %rax, 0x70(%rsp)
movq (%rbx), %rdi
leaq 0x100(%rsp), %r12
cmpq %r12, %rdi
je 0x39a8
movq 0x100(%rsp), %rsi
incq %rsi
callq 0x2190
leaq 0x47a3(%rip), %rsi      # 0x8152
leaq 0x87d2(%rip), %rdx      # 0xc188
leaq 0xf0(%rsp), %rbx
movq %rbx, %rdi
callq 0x5274
movq (%rbx), %rdi
leaq 0x46e2(%rip), %rsi      # 0x80b2
callq 0x21c0
movq %rax, 0x68(%rsp)
movq (%rbx), %rdi
cmpq %r12, %rdi
je 0x39f2
movq 0x100(%rsp), %rsi
incq %rsi
callq 0x2190
movl 0x89b0(%rip), %esi      # 0xc3a8
movq 0x85d9(%rip), %rdi      # 0xbfd8
callq 0x2240
leaq 0xf0(%rsp), %rsi
movb $0x20, (%rsi)
movl $0x1, %edx
movq %rax, %rdi
callq 0x21b0
movl 0x898a(%rip), %esi      # 0xc3ac
movq %rax, %rdi
callq 0x2240
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x2160
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x20f0
movslq 0x894d(%rip), %rbx      # 0xc3a8
movq %r15, %rdi
movq %rbx, %rsi
callq 0x52fc
movq %rbx, 0x48(%rsp)
testq %rbx, %rbx
jle 0x3ae9
movl 0x86e6(%rip), %eax      # 0xc15c
leaq 0x46e1(%rip), %r13      # 0x815e
xorl %ebx, %ebx
leaq (%rbx,%rbx,2), %rbp
leaq (,%rbp,8), %rdi
addq (%r15), %rdi
movslq %eax, %rsi
callq 0x5338
movl 0x86c0(%rip), %eax      # 0xc15c
testl %eax, %eax
jle 0x3adf
movq %rbx, 0x30(%rsp)
xorl %r12d, %r12d
movq 0x70(%rsp), %rbx
xorl %r14d, %r14d
movq (%r15), %rax
movq (%rax,%rbp,8), %rdx
addq %r12, %rdx
movq %rbx, %rdi
movq %r13, %rsi
xorl %eax, %eax
callq 0x2280
incq %r14
movslq 0x868b(%rip), %rax      # 0xc15c
addq $0x8, %r12
cmpq %rax, %r14
jl 0x3ab0
movq 0x30(%rsp), %rbx
incq %rbx
cmpq 0x48(%rsp), %rbx
jne 0x3a7f
movq %r15, 0x60(%rsp)
leaq 0x18(%r15), %r12
movslq 0x88b3(%rip), %rsi      # 0xc3ac
movq %r12, %rdi
callq 0x52fc
cmpl $0x0, 0x88a4(%rip)      # 0xc3ac
jle 0x3d4b
leaq 0x4649(%rip), %r14      # 0x815e
xorl %r15d, %r15d
movq %r15, 0x30(%rsp)
leaq (%r15,%r15,2), %rbx
leaq (,%rbx,8), %rax
movq (%r12), %rdi
movq %rax, 0x48(%rsp)
addq %rax, %rdi
movslq 0x8620(%rip), %rsi      # 0xc15c
callq 0x5338
cmpl $0x0, 0x8614(%rip)      # 0xc15c
movq 0x68(%rsp), %r15
jle 0x3b7f
xorl %ebp, %ebp
xorl %r13d, %r13d
movq (%r12), %rax
movq (%rax,%rbx,8), %rdx
addq %rbp, %rdx
movq %r15, %rdi
movq %r14, %rsi
xorl %eax, %eax
callq 0x2280
incq %r13
movslq 0x85e6(%rip), %rax      # 0xc15c
addq $0x8, %rbp
cmpq %rax, %r13
jl 0x3b54
movq (%r12), %rsi
movq 0x48(%rsp), %r13
addq %r13, %rsi
leaq 0x120(%rsp), %rdi
callq 0x536a
movq 0x120(%rsp), %rax
movq 0x128(%rsp), %rcx
subq %rax, %rcx
je 0x3bdb
sarq $0x3, %rcx
cmpq $0x1, %rcx
adcq $0x0, %rcx
xorpd %xmm0, %xmm0
xorl %edx, %edx
movq 0x30(%rsp), %r15
movsd (%rax,%rdx,8), %xmm1
mulsd %xmm1, %xmm1
addsd %xmm1, %xmm0
incq %rdx
cmpq %rdx, %rcx
jne 0x3bc4
jmp 0x3be4
xorpd %xmm0, %xmm0
movq 0x30(%rsp), %r15
ucomisd 0x448c(%rip), %xmm0     # 0x8078
jb 0x3bf4
sqrtsd %xmm0, %xmm0
jmp 0x3bf9
callq 0x2130
addsd 0x4467(%rip), %xmm0     # 0x8068
movq 0x120(%rsp), %rdi
testq %rdi, %rdi
je 0x3c2a
movq 0x130(%rsp), %rsi
subq %rdi, %rsi
movsd %xmm0, 0x30(%rsp)
callq 0x2190
movsd 0x30(%rsp), %xmm0
ucomisd 0x443e(%rip), %xmm0     # 0x8070
jbe 0x3d38
movl $0xc, %edx
movq 0x8394(%rip), %rbx      # 0xbfd8
movq %rbx, %rdi
leaq 0x4514(%rip), %rsi      # 0x8162
callq 0x21b0
movq %rbx, %rdi
movl %r15d, %esi
callq 0x2240
movb $0x20, 0xf0(%rsp)
movl $0x1, %edx
movq %rax, %rdi
leaq 0xf0(%rsp), %rsi
callq 0x21b0
movq %rax, %rbx
addq (%r12), %r13
leaq 0xb8(%rsp), %rdi
movq %r13, %rsi
callq 0x536a
movq 0xb8(%rsp), %rax
movq 0xc0(%rsp), %rcx
subq %rax, %rcx
je 0x3cd0
sarq $0x3, %rcx
cmpq $0x1, %rcx
adcq $0x0, %rcx
xorpd %xmm0, %xmm0
xorl %edx, %edx
movsd (%rax,%rdx,8), %xmm1
mulsd %xmm1, %xmm1
addsd %xmm1, %xmm0
incq %rdx
cmpq %rdx, %rcx
jne 0x3cb9
jmp 0x3cd4
xorpd %xmm0, %xmm0
ucomisd 0x439c(%rip), %xmm0     # 0x8078
jb 0x3ce4
sqrtsd %xmm0, %xmm0
jmp 0x3ce9
callq 0x2130
movq %rbx, %rdi
callq 0x2210
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x2160
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x20f0
movq 0xb8(%rsp), %rdi
testq %rdi, %rdi
je 0x3d38
movq 0xc8(%rsp), %rsi
subq %rdi, %rsi
callq 0x2190
incq %r15
movslq 0x866a(%rip), %rax      # 0xc3ac
cmpq %rax, %r15
jl 0x3b18
movq 0x70(%rsp), %rdi
callq 0x2170
movq 0x68(%rsp), %rdi
callq 0x2170
leaq 0xf8(%rsp), %rcx
xorl %eax, %eax
movl %eax, (%rcx)
movq %rax, 0x8(%rcx)
movq %rcx, 0x10(%rcx)
movq %rcx, 0x18(%rcx)
movq %rax, 0x20(%rcx)
leaq 0x290(%rsp), %rcx
movl %eax, (%rcx)
movq %rax, 0x8(%rcx)
movq %rcx, 0x10(%rcx)
movq %rcx, 0x18(%rcx)
movq %rax, 0x20(%rcx)
leaq 0x260(%rsp), %rcx
movl %eax, (%rcx)
movq %rax, 0x8(%rcx)
movq %rcx, 0x10(%rcx)
movq %rcx, 0x18(%rcx)
movq %rax, 0x20(%rcx)
leaq 0x230(%rsp), %rcx
movl %eax, (%rcx)
movq %rax, 0x8(%rcx)
movq %rcx, 0x10(%rcx)
movq %rcx, 0x18(%rcx)
movq %rax, 0x20(%rcx)
leaq 0x200(%rsp), %rcx
movl %eax, (%rcx)
movq %rax, 0x8(%rcx)
movq %rcx, 0x10(%rcx)
movq %rcx, 0x18(%rcx)
movq %rax, 0x20(%rcx)
leaq 0x1d0(%rsp), %rcx
movl %eax, (%rcx)
movq %rax, 0x8(%rcx)
movq %rcx, 0x10(%rcx)
movq %rcx, 0x18(%rcx)
movq %rax, 0x20(%rcx)
leaq 0x1a0(%rsp), %rcx
movl %eax, (%rcx)
movq %rax, 0x8(%rcx)
movq %rcx, 0x10(%rcx)
movq %rcx, 0x18(%rcx)
movq %rax, 0x20(%rcx)
leaq 0x170(%rsp), %rcx
movl %eax, (%rcx)
movq %rax, 0x8(%rcx)
movq %rcx, 0x10(%rcx)
movq %rcx, 0x18(%rcx)
movq %rax, 0x20(%rcx)
leaq 0x140(%rsp), %rcx
movl %eax, (%rcx)
movq %rax, 0x8(%rcx)
movq %rcx, 0x10(%rcx)
movq %rcx, 0x18(%rcx)
movq %rax, 0x20(%rcx)
movq 0x60(%rsp), %r14
movq 0x90(%r14), %rax
cmpq %rax, 0x98(%r14)
je 0x452c
leaq 0xc0(%r14), %rcx
movq %rcx, 0x48(%rsp)
xorpd %xmm0, %xmm0
movsd %xmm0, 0x78(%rsp)
xorl %r15d, %r15d
leaq 0xc(%rsp), %r13
xorpd %xmm0, %xmm0
movsd %xmm0, 0x80(%rsp)
movsd %xmm0, 0x88(%rsp)
movsd %xmm0, 0x90(%rsp)
movsd %xmm0, 0x98(%rsp)
movsd %xmm0, 0xa0(%rsp)
movq 0x78(%r14), %rcx
movl (%rcx,%r15,4), %esi
movl (%rax,%r15,4), %r12d
movq 0xa8(%r14), %rax
movl (%rax,%r15,4), %ecx
movl %ecx, 0xc(%rsp)
movq %r14, %rdi
movq %rsi, 0x30(%rsp)
movl %r12d, %edx
callq 0x53ea
leaq 0x138(%rsp), %rdi
movq %r13, %rsi
callq 0x38dc
incl (%rax)
xorpd %xmm0, %xmm0
movapd %xmm0, 0x10(%rsp)
movq $0x0, 0x20(%rsp)
cmpl $0x0, 0x84a2(%rip)      # 0xc3ac
leaq 0x10(%rsp), %r13
movq %r15, 0x70(%rsp)
jle 0x3fc1
xorl %ebx, %ebx
movl 0xc(%rsp), %ecx
movq %r14, %rdi
movl %ebx, %esi
movl %r12d, %edx
callq 0x53ea
movl %ebx, 0x50(%rsp)
movsd %xmm0, 0x58(%rsp)
movq 0x18(%rsp), %rsi
cmpq 0x20(%rsp), %rsi
je 0x3f55
movupd 0x50(%rsp), %xmm0
movupd %xmm0, (%rsi)
addq $0x10, 0x18(%rsp)
jmp 0x3f62
movq %r13, %rdi
leaq 0x50(%rsp), %rdx
callq 0x58c6
incl %ebx
cmpl 0x8442(%rip), %ebx      # 0xc3ac
jl 0x3f1c
movq 0x10(%rsp), %r13
movq 0x18(%rsp), %rbx
cmpq %rbx, %r13
je 0x3fc6
movq %rbx, %rax
subq %r13, %rax
sarq $0x4, %rax
bsrq %rax, %rdx
xorl $0x3f, %edx
addl %edx, %edx
xorq $0x7e, %rdx
movq %r13, %rdi
movq %rbx, %rsi
leaq -0x16d3(%rip), %r14     # 0x28cc
movq %r14, %rcx
callq 0x5a05
movq %r13, %rdi
movq %rbx, %rsi
movq %r14, %rdx
callq 0x5ad0
movq 0x10(%rsp), %r13
movq 0x18(%rsp), %rbx
jmp 0x3fc6
xorl %r13d, %r13d
xorl %ebx, %ebx
subq %r13, %rbx
shrq $0x4, %rbx
movl %ebx, %ebp
xorl %ebx, %ebx
movl %r12d, 0x68(%rsp)
decq %rbp
testl %ebp, %ebp
js 0x4215
movq %rbx, %r12
movl %ebp, %r15d
andl $0x7fffffff, %r15d      # imm = 0x7FFFFFFF
movq %r15, %r14
shlq $0x4, %r14
movl (%r13,%r14), %eax
movl 0xc(%rsp), %ecx
shlq $0x20, %rcx
orq %rax, %rcx
movq %rcx, 0x50(%rsp)
movq 0x48(%rsp), %r13
movq %r13, %rdi
leaq 0x50(%rsp), %rbx
movq %rbx, %rsi
callq 0x4e04
movq 0x10(%rsp), %rax
movl (%rax,%r14), %eax
movl 0xc(%rsp), %ecx
shlq $0x20, %rcx
orq %rax, %rcx
movq %rcx, 0x50(%rsp)
movq %r13, %rdi
movq %rbx, %rsi
callq 0x4e04
movq 0x10(%rax), %rdx
addq $0x8, %rax
movq %rax, %rsi
testq %rdx, %rdx
movq %r12, %rbx
movl 0x68(%rsp), %r12d
je 0x4089
movq %rax, %rcx
xorl %esi, %esi
cmpl %r12d, 0x20(%rdx)
setl %sil
cmovgeq %rdx, %rcx
movq 0x10(%rdx,%rsi,8), %rdx
testq %rdx, %rdx
jne 0x405e
movq %rax, %rsi
cmpq %rax, %rcx
je 0x4089
cmpl 0x20(%rcx), %r12d
cmovlq %rax, %rcx
movq %rcx, %rsi
xorl %ecx, %ecx
cmpq %rax, %rsi
sete %cl
addl %ecx, %ebx
movq 0x10(%rsp), %r13
movq 0x30(%rsp), %rax
cmpl %eax, (%r13,%r14)
jne 0x3fd6
movq 0x18(%rsp), %rax
subq %r13, %rax
sarq $0x4, %rax
subq %r15, %rax
movq %rax, %xmm0
punpckldq 0x3f5c(%rip), %xmm0 # xmm0 = xmm0[0],mem[0],xmm0[1],mem[1]
subpd 0x3f64(%rip), %xmm0     # 0x8030
movapd %xmm0, 0xd0(%rsp)
leaq 0xf0(%rsp), %rdi
leaq 0xc(%rsp), %r13
movq %r13, %rsi
callq 0x54f6
movq 0x60(%rsp), %r14
movq 0x48(%rsp), %rbp
movapd 0xd0(%rsp), %xmm0
movapd %xmm0, %xmm1
unpckhpd %xmm0, %xmm1            # xmm1 = xmm1[1],xmm0[1]
addsd %xmm0, %xmm1
movsd (%rax), %xmm0
movapd %xmm1, 0xd0(%rsp)
addsd %xmm1, %xmm0
movsd %xmm0, (%rax)
leaq 0x288(%rsp), %rdi
movq %r13, %rsi
callq 0x54f6
leal 0x1(%rbx), %ecx
xorps %xmm1, %xmm1
cvtsi2sd %ecx, %xmm1
movsd (%rax), %xmm0
movsd %xmm1, 0xe8(%rsp)
addsd %xmm1, %xmm0
movsd %xmm0, (%rax)
movq 0x18(%rsp), %rax
subq 0x10(%rsp), %rax
sarq $0x4, %rax
subq %r15, %rax
cmpq $0xa, %rax
ja 0x419e
leaq 0x1f8(%rsp), %rdi
movq %r13, %rsi
callq 0x54f6
movsd 0x80(%rsp), %xmm0
movsd 0x3edb(%rip), %xmm1     # 0x8060
addsd %xmm1, %xmm0
movsd %xmm0, 0x80(%rsp)
movsd (%rax), %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, (%rax)
movsd 0xa0(%rsp), %xmm0
addsd 0xd0(%rsp), %xmm0
movsd %xmm0, 0xa0(%rsp)
movsd 0x98(%rsp), %xmm0
addsd 0xe8(%rsp), %xmm0
movsd %xmm0, 0x98(%rsp)
cmpl $0x9, %ebx
ja 0x421f
leaq 0x1c8(%rsp), %rdi
movq %r13, %rsi
callq 0x54f6
movsd 0xb0(%rsp), %xmm0
movsd 0x3e66(%rip), %xmm1     # 0x8060
addsd %xmm1, %xmm0
movsd %xmm0, 0xb0(%rsp)
movsd (%rax), %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, (%rax)
jmp 0x421f
movq 0x60(%rsp), %r14
movq 0x48(%rsp), %rbp
movq 0x10(%rsp), %rbx
movq 0x18(%rsp), %r13
cmpq %rbx, %r13
je 0x4236
movq %rbx, 0x18(%rsp)
movq %rbx, %r13
cmpl $0x0, 0x816f(%rip)      # 0xc3ac
jle 0x42a5
xorl %ebx, %ebx
leaq 0x10(%rsp), %r15
leaq 0x50(%rsp), %r13
movl 0xc(%rsp), %ecx
movq %r14, %rdi
movq 0x30(%rsp), %rsi
movl %ebx, %edx
callq 0x53ea
movl %ebx, 0x50(%rsp)
movsd %xmm0, 0x58(%rsp)
movq 0x18(%rsp), %rsi
cmpq 0x20(%rsp), %rsi
je 0x4286
movupd 0x50(%rsp), %xmm0
movupd %xmm0, (%rsi)
addq $0x10, 0x18(%rsp)
jmp 0x4291
movq %r15, %rdi
movq %r13, %rdx
callq 0x58c6
incl %ebx
cmpl 0x8113(%rip), %ebx      # 0xc3ac
jl 0x424b
movq 0x10(%rsp), %rbx
movq 0x18(%rsp), %r13
movq %r13, %rax
cmpq %r13, %rbx
je 0x42ee
subq %rbx, %rax
sarq $0x4, %rax
bsrq %rax, %rdx
xorl $0x3f, %edx
addl %edx, %edx
xorq $0x7e, %rdx
movq %rbx, %rdi
movq %r13, %rsi
leaq -0x1a02(%rip), %r14     # 0x28cc
movq %r14, %rcx
callq 0x5a05
movq %rbx, %rdi
movq %r13, %rsi
movq %r14, %rdx
callq 0x5ad0
movq 0x10(%rsp), %r13
movq 0x18(%rsp), %rax
subq %r13, %rax
shrq $0x4, %rax
movl %eax, %r13d
decq %r13
xorl %ebx, %ebx
testl %r13d, %r13d
js 0x44e3
movl 0xc(%rsp), %eax
shlq $0x20, %rax
addq 0x30(%rsp), %rax
movq %rax, 0x50(%rsp)
movq %rbp, %rdi
leaq 0x50(%rsp), %rsi
callq 0x4e04
movl %r13d, %r14d
andl $0x7fffffff, %r14d      # imm = 0x7FFFFFFF
movq %r14, %r15
shlq $0x4, %r15
movq 0x10(%rsp), %rsi
addq %r15, %rsi
movq %rax, %rdi
callq 0x54ae
movl 0xc(%rsp), %eax
shlq $0x20, %rax
addq 0x30(%rsp), %rax
movq %rax, 0x50(%rsp)
movq %rbp, %rdi
leaq 0x50(%rsp), %rsi
callq 0x4e04
movq 0x10(%rsp), %rsi
addq %r15, %rsi
movq %rax, %rdi
callq 0x54ae
cmpq $0x1, %rax
adcl $0x0, %ebx
movq 0x10(%rsp), %rax
decq %r13
cmpl %r12d, (%rax,%r15)
jne 0x42fd
movq 0x18(%rsp), %rcx
subq %rax, %rcx
sarq $0x4, %rcx
subq %r14, %rcx
movq %rcx, %xmm0
punpckldq 0x3c76(%rip), %xmm0 # xmm0 = xmm0[0],mem[0],xmm0[1],mem[1]
subpd 0x3c7e(%rip), %xmm0     # 0x8030
movapd %xmm0, 0x30(%rsp)
leaq 0x258(%rsp), %rdi
leaq 0xc(%rsp), %r13
movq %r13, %rsi
callq 0x54f6
movq 0x70(%rsp), %r15
movapd 0x30(%rsp), %xmm0
movapd %xmm0, %xmm1
unpckhpd %xmm0, %xmm1            # xmm1 = xmm1[1],xmm0[1]
addsd %xmm0, %xmm1
movsd (%rax), %xmm0
movapd %xmm1, 0x30(%rsp)
addsd %xmm1, %xmm0
movsd %xmm0, (%rax)
leaq 0x228(%rsp), %rdi
movq %r13, %rsi
callq 0x54f6
leal 0x1(%rbx), %ecx
xorps %xmm1, %xmm1
cvtsi2sd %ecx, %xmm1
movsd (%rax), %xmm0
movsd %xmm1, 0x68(%rsp)
addsd %xmm1, %xmm0
movsd %xmm0, (%rax)
movq 0x18(%rsp), %rax
subq 0x10(%rsp), %rax
sarq $0x4, %rax
subq %r14, %rax
cmpq $0xa, %rax
ja 0x446d
leaq 0x198(%rsp), %rdi
movq %r13, %rsi
callq 0x54f6
movsd 0x78(%rsp), %xmm0
movsd 0x3c09(%rip), %xmm1     # 0x8060
addsd %xmm1, %xmm0
movsd %xmm0, 0x78(%rsp)
movsd (%rax), %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, (%rax)
movsd 0x90(%rsp), %xmm0
addsd 0x30(%rsp), %xmm0
movsd %xmm0, 0x90(%rsp)
movsd 0x88(%rsp), %xmm0
addsd 0x68(%rsp), %xmm0
movsd %xmm0, 0x88(%rsp)
cmpl $0x9, %ebx
ja 0x44dc
leaq 0x168(%rsp), %rdi
movq %r13, %rsi
callq 0x54f6
movsd 0xa8(%rsp), %xmm0
movsd 0x3b9d(%rip), %xmm1     # 0x8060
addsd %xmm1, %xmm0
movsd %xmm0, 0xa8(%rsp)
movsd (%rax), %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, (%rax)
movq 0x60(%rsp), %r14
jmp 0x44f2
movq 0x60(%rsp), %r14
movq 0x70(%rsp), %r15
leaq 0xc(%rsp), %r13
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0x4509
movq 0x20(%rsp), %rsi
subq %rdi, %rsi
callq 0x2190
incq %r15
movq 0x90(%r14), %rax
movq 0x98(%r14), %rcx
subq %rax, %rcx
sarq $0x2, %rcx
cmpq %r15, %rcx
ja 0x3eb3
jmp 0x4566
xorpd %xmm0, %xmm0
movsd %xmm0, 0xa0(%rsp)
movsd %xmm0, 0x98(%rsp)
movsd %xmm0, 0x90(%rsp)
movsd %xmm0, 0x88(%rsp)
movsd %xmm0, 0x80(%rsp)
xorps %xmm0, %xmm0
movsd %xmm0, 0x78(%rsp)
movq 0x7a6b(%rip), %rdi      # 0xbfd8
leaq 0x3bfb(%rip), %rsi      # 0x816f
movl $0x5, %edx
callq 0x21b0
movq 0x98(%r14), %rax
subq 0x90(%r14), %rax
sarq $0x2, %rax
movq %rax, %xmm0
punpckldq 0x3a83(%rip), %xmm0 # xmm0 = xmm0[0],mem[0],xmm0[1],mem[1]
subpd 0x3a8b(%rip), %xmm0     # 0x8030
movapd %xmm0, %xmm1
unpckhpd %xmm0, %xmm1            # xmm1 = xmm1[1],xmm0[1]
addsd %xmm0, %xmm1
movsd 0xa0(%rsp), %xmm0
divsd %xmm1, %xmm0
movq 0x7a13(%rip), %rdi      # 0xbfd8
callq 0x2210
leaq 0x10(%rsp), %rsi
movb $0x9, (%rsi)
movl $0x1, %edx
movq %rax, %rdi
callq 0x21b0
movq 0x98(%r14), %rcx
subq 0x90(%r14), %rcx
sarq $0x2, %rcx
movq %rcx, %xmm0
punpckldq 0x3a22(%rip), %xmm0 # xmm0 = xmm0[0],mem[0],xmm0[1],mem[1]
subpd 0x3a2a(%rip), %xmm0     # 0x8030
movapd %xmm0, %xmm1
unpckhpd %xmm0, %xmm1            # xmm1 = xmm1[1],xmm0[1]
addsd %xmm0, %xmm1
movsd 0x80(%rsp), %xmm0
divsd %xmm1, %xmm0
movq %rax, %rdi
callq 0x2210
movq %rax, %rbx
leaq 0x3a4f(%rip), %rsi      # 0x8080
movl $0x1, %edx
movq %rax, %rdi
callq 0x21b0
movq 0x98(%r14), %rax
subq 0x90(%r14), %rax
sarq $0x2, %rax
movq %rax, %xmm0
punpckldq 0x39c3(%rip), %xmm0 # xmm0 = xmm0[0],mem[0],xmm0[1],mem[1]
subpd 0x39cb(%rip), %xmm0     # 0x8030
movapd %xmm0, %xmm1
unpckhpd %xmm0, %xmm1            # xmm1 = xmm1[1],xmm0[1]
addsd %xmm0, %xmm1
movsd 0x98(%rsp), %xmm0
divsd %xmm1, %xmm0
movq %rbx, %rdi
callq 0x2210
leaq 0x10(%rsp), %rsi
movb $0x9, (%rsi)
movl $0x1, %edx
movq %rax, %rdi
callq 0x21b0
movq 0x98(%r14), %rcx
subq 0x90(%r14), %rcx
sarq $0x2, %rcx
movq %rcx, %xmm0
punpckldq 0x3966(%rip), %xmm0 # xmm0 = xmm0[0],mem[0],xmm0[1],mem[1]
subpd 0x396e(%rip), %xmm0     # 0x8030
movapd %xmm0, %xmm1
unpckhpd %xmm0, %xmm1            # xmm1 = xmm1[1],xmm0[1]
addsd %xmm0, %xmm1
movsd 0xb0(%rsp), %xmm0
divsd %xmm1, %xmm0
movq %rax, %rdi
callq 0x2210
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x2160
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x20f0
movq 0x78c4(%rip), %rdi      # 0xbfd8
leaq 0x3a5a(%rip), %rsi      # 0x8175
movl $0x6, %edx
callq 0x21b0
movq 0xb0(%r14), %rax
subq 0xa8(%r14), %rax
sarq $0x2, %rax
movq %rax, %xmm0
punpckldq 0x38dc(%rip), %xmm0 # xmm0 = xmm0[0],mem[0],xmm0[1],mem[1]
subpd 0x38e4(%rip), %xmm0     # 0x8030
movapd %xmm0, %xmm1
unpckhpd %xmm0, %xmm1            # xmm1 = xmm1[1],xmm0[1]
addsd %xmm0, %xmm1
movsd 0x90(%rsp), %xmm0
divsd %xmm1, %xmm0
movq 0x786c(%rip), %rdi      # 0xbfd8
callq 0x2210
leaq 0x10(%rsp), %rsi
movb $0x9, (%rsi)
movl $0x1, %edx
movq %rax, %rdi
callq 0x21b0
movq 0xb0(%r14), %rcx
subq 0xa8(%r14), %rcx
sarq $0x2, %rcx
movq %rcx, %xmm0
punpckldq 0x387b(%rip), %xmm0 # xmm0 = xmm0[0],mem[0],xmm0[1],mem[1]
subpd 0x3883(%rip), %xmm0     # 0x8030
movapd %xmm0, %xmm1
unpckhpd %xmm0, %xmm1            # xmm1 = xmm1[1],xmm0[1]
addsd %xmm0, %xmm1
movsd 0x78(%rsp), %xmm0
divsd %xmm1, %xmm0
movq %rax, %rdi
callq 0x2210
leaq 0x10(%rsp), %rsi
movb $0x9, (%rsi)
movl $0x1, %edx
movq %rax, %rdi
callq 0x21b0
movq 0xb0(%r14), %rcx
subq 0xa8(%r14), %rcx
sarq $0x2, %rcx
movq %rcx, %xmm0
punpckldq 0x3821(%rip), %xmm0 # xmm0 = xmm0[0],mem[0],xmm0[1],mem[1]
subpd 0x3829(%rip), %xmm0     # 0x8030
movapd %xmm0, %xmm1
unpckhpd %xmm0, %xmm1            # xmm1 = xmm1[1],xmm0[1]
addsd %xmm0, %xmm1
movsd 0x88(%rsp), %xmm0
divsd %xmm1, %xmm0
movq %rax, %rdi
callq 0x2210
leaq 0x10(%rsp), %rsi
movb $0x9, (%rsi)
movl $0x1, %edx
movq %rax, %rdi
callq 0x21b0
movq 0xb0(%r14), %rcx
subq 0xa8(%r14), %rcx
sarq $0x2, %rcx
movq %rcx, %xmm0
punpckldq 0x37c4(%rip), %xmm0 # xmm0 = xmm0[0],mem[0],xmm0[1],mem[1]
subpd 0x37cc(%rip), %xmm0     # 0x8030
movapd %xmm0, %xmm1
unpckhpd %xmm0, %xmm1            # xmm1 = xmm1[1],xmm0[1]
addsd %xmm0, %xmm1
movsd 0xa8(%rsp), %xmm0
divsd %xmm1, %xmm0
movq %rax, %rdi
callq 0x2210
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x2160
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x20f0
leaq 0x138(%rsp), %rdi
callq 0x4bf4
leaq 0x168(%rsp), %rdi
callq 0x6302
leaq 0x198(%rsp), %rdi
callq 0x6302
leaq 0x1c8(%rsp), %rdi
callq 0x6302
leaq 0x1f8(%rsp), %rdi
callq 0x6302
leaq 0x228(%rsp), %rdi
callq 0x6302
leaq 0x258(%rsp), %rdi
callq 0x6302
leaq 0x288(%rsp), %rdi
callq 0x6302
leaq 0xf0(%rsp), %rdi
callq 0x6302
addq $0x2b8, %rsp            # imm = 0x2B8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x4978
jmp 0x493a
movq %rax, %rbx
jmp 0x4992
jmp 0x4978
jmp 0x4978
jmp 0x4978
movq %rax, %rbx
movq 0xb8(%rsp), %rdi
testq %rdi, %rdi
je 0x4a07
movq 0xc8(%rsp), %rsi
subq %rdi, %rsi
callq 0x2190
jmp 0x4a07
jmp 0x4978
jmp 0x4978
jmp 0x4978
jmp 0x4978
jmp 0x4978
movq %rax, %rbx
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0x4992
movq 0x20(%rsp), %rsi
subq %rdi, %rsi
callq 0x2190
leaq 0x138(%rsp), %rdi
callq 0x4bf4
leaq 0x168(%rsp), %rdi
callq 0x6302
leaq 0x198(%rsp), %rdi
callq 0x6302
leaq 0x1c8(%rsp), %rdi
callq 0x6302
leaq 0x1f8(%rsp), %rdi
callq 0x6302
leaq 0x228(%rsp), %rdi
callq 0x6302
leaq 0x258(%rsp), %rdi
callq 0x6302
leaq 0x288(%rsp), %rdi
callq 0x6302
leaq 0xf0(%rsp), %rdi
callq 0x6302
movq %rbx, %rdi
callq 0x2250