// File: /workspace/github_cpp_makefile_star2_O1/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 $0x298, %rsp            # imm = 0x298
movq %rdi, %r14
leaq 0x47ed(%rip), %rsi      # 0x8144
leaq 0x882a(%rip), %rdx      # 0xc188
leaq 0xd0(%rsp), %rbx
movq %rbx, %rdi
callq 0x5268
movq (%rbx), %rdi
leaq 0x473a(%rip), %rsi      # 0x80b2
callq 0x21c0
movq %rax, %r15
movq (%rbx), %rdi
leaq 0xe0(%rsp), %r12
cmpq %r12, %rdi
je 0x39a0
movq 0xe0(%rsp), %rsi
incq %rsi
callq 0x2190
movq %r15, 0x50(%rsp)
leaq 0x47a6(%rip), %rsi      # 0x8152
leaq 0x87d5(%rip), %rdx      # 0xc188
leaq 0xd0(%rsp), %rbx
movq %rbx, %rdi
callq 0x5268
movq (%rbx), %rdi
leaq 0x46e5(%rip), %rsi      # 0x80b2
callq 0x21c0
movq %rax, 0x48(%rsp)
movq (%rbx), %rdi
cmpq %r12, %rdi
je 0x39ef
movq 0xe0(%rsp), %rsi
incq %rsi
callq 0x2190
movl 0x89b3(%rip), %esi      # 0xc3a8
movq 0x85dc(%rip), %rdi      # 0xbfd8
callq 0x2240
leaq 0xd0(%rsp), %rsi
movb $0x20, (%rsi)
movl $0x1, %edx
movq %rax, %rdi
callq 0x21b0
movl 0x898d(%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 0x8950(%rip), %rbx      # 0xc3a8
movq %r14, %rdi
movq %rbx, %rsi
callq 0x52f0
movq %rbx, 0x28(%rsp)
testq %rbx, %rbx
jle 0x3ae9
leaq 0x46ea(%rip), %r13      # 0x815e
xorl %eax, %eax
movq 0x50(%rsp), %rbx
movq %rax, 0x30(%rsp)
leaq (%rax,%rax,2), %rbp
leaq (,%rbp,8), %rdi
addq (%r14), %rdi
movslq 0x86c6(%rip), %rsi      # 0xc15c
callq 0x532c
cmpl $0x0, 0x86ba(%rip)      # 0xc15c
movq %r14, %r15
jle 0x3ad7
xorl %r12d, %r12d
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 0x868e(%rip), %rax      # 0xc15c
addq $0x8, %r12
cmpq %rax, %r14
jl 0x3aad
movq 0x30(%rsp), %rax
incq %rax
cmpq 0x28(%rsp), %rax
movq %r15, %r14
jne 0x3a7b
leaq 0x18(%r14), %r12
movslq 0x88b8(%rip), %rsi      # 0xc3ac
movq %r12, %rdi
callq 0x52f0
cmpl $0x0, 0x88a9(%rip)      # 0xc3ac
movq %r14, 0x8(%rsp)
movq 0x48(%rsp), %r15
jle 0x3d4f
leaq 0x4644(%rip), %r13      # 0x815e
xorl %ebp, %ebp
movq %rbp, 0x28(%rsp)
leaq (,%rbp,2), %rbx
addq %rbp, %rbx
leaq (,%rbx,8), %rax
movq (%r12), %rdi
movq %rax, 0x30(%rsp)
addq %rax, %rdi
movslq 0x8615(%rip), %rsi      # 0xc15c
callq 0x532c
cmpl $0x0, 0x8609(%rip)      # 0xc15c
jle 0x3b85
xorl %ebp, %ebp
xorl %r14d, %r14d
movq (%r12), %rax
movq (%rax,%rbx,8), %rdx
addq %rbp, %rdx
movq %r15, %rdi
movq %r13, %rsi
xorl %eax, %eax
callq 0x2280
incq %r14
movslq 0x85e0(%rip), %rax      # 0xc15c
addq $0x8, %rbp
cmpq %rax, %r14
jl 0x3b5a
movq (%r12), %rsi
addq 0x30(%rsp), %rsi
leaq 0x100(%rsp), %rdi
callq 0x535e
movq 0x100(%rsp), %rax
movq 0x108(%rsp), %rcx
subq %rax, %rcx
je 0x3bd9
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 0x3bc2
jmp 0x3bdd
xorpd %xmm0, %xmm0
ucomisd 0x4493(%rip), %xmm0     # 0x8078
jb 0x3bed
sqrtsd %xmm0, %xmm0
jmp 0x3bf2
callq 0x2130
movq 0x8(%rsp), %r14
movq 0x28(%rsp), %rbp
addsd 0x4464(%rip), %xmm0     # 0x8068
movq 0x100(%rsp), %rdi
testq %rdi, %rdi
je 0x3c2d
movq 0x110(%rsp), %rsi
subq %rdi, %rsi
movsd %xmm0, 0x28(%rsp)
callq 0x2190
movsd 0x28(%rsp), %xmm0
ucomisd 0x443b(%rip), %xmm0     # 0x8070
jbe 0x3d3c
movl $0xc, %edx
movq 0x8391(%rip), %rbx      # 0xbfd8
movq %rbx, %rdi
leaq 0x4511(%rip), %rsi      # 0x8162
callq 0x21b0
movq %rbx, %rdi
movl %ebp, %esi
callq 0x2240
movb $0x20, 0xd0(%rsp)
movl $0x1, %edx
movq %rax, %rdi
leaq 0xd0(%rsp), %rsi
callq 0x21b0
movq %rax, %rbx
movq 0x30(%rsp), %rsi
addq (%r12), %rsi
leaq 0xb0(%rsp), %rdi
callq 0x535e
movq 0xb0(%rsp), %rax
movq 0xb8(%rsp), %rcx
subq %rax, %rcx
je 0x3cd4
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 0x3cbd
jmp 0x3cd8
xorpd %xmm0, %xmm0
ucomisd 0x4398(%rip), %xmm0     # 0x8078
jb 0x3ce8
sqrtsd %xmm0, %xmm0
jmp 0x3ced
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 0xb0(%rsp), %rdi
testq %rdi, %rdi
je 0x3d3c
movq 0xc0(%rsp), %rsi
subq %rdi, %rsi
callq 0x2190
incq %rbp
movslq 0x8666(%rip), %rax      # 0xc3ac
cmpq %rax, %rbp
jl 0x3b1c
movq 0x50(%rsp), %rdi
callq 0x2170
movq %r15, %rdi
callq 0x2170
leaq 0xd8(%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 0x270(%rsp), %rcx
movl %eax, (%rcx)
movq %rax, 0x8(%rcx)
movq %rcx, 0x10(%rcx)
movq %rcx, 0x18(%rcx)
movq %rax, 0x20(%rcx)
leaq 0x240(%rsp), %rcx
movl %eax, (%rcx)
movq %rax, 0x8(%rcx)
movq %rcx, 0x10(%rcx)
movq %rcx, 0x18(%rcx)
movq %rax, 0x20(%rcx)
leaq 0x210(%rsp), %rcx
movl %eax, (%rcx)
movq %rax, 0x8(%rcx)
movq %rcx, 0x10(%rcx)
movq %rcx, 0x18(%rcx)
movq %rax, 0x20(%rcx)
leaq 0x1e0(%rsp), %rcx
movl %eax, (%rcx)
movq %rax, 0x8(%rcx)
movq %rcx, 0x10(%rcx)
movq %rcx, 0x18(%rcx)
movq %rax, 0x20(%rcx)
leaq 0x1b0(%rsp), %rcx
movl %eax, (%rcx)
movq %rax, 0x8(%rcx)
movq %rcx, 0x10(%rcx)
movq %rcx, 0x18(%rcx)
movq %rax, 0x20(%rcx)
leaq 0x180(%rsp), %rcx
movl %eax, (%rcx)
movq %rax, 0x8(%rcx)
movq %rcx, 0x10(%rcx)
movq %rcx, 0x18(%rcx)
movq %rax, 0x20(%rcx)
leaq 0x150(%rsp), %rcx
movl %eax, (%rcx)
movq %rax, 0x8(%rcx)
movq %rcx, 0x10(%rcx)
movq %rcx, 0x18(%rcx)
movq %rax, 0x20(%rcx)
leaq 0x120(%rsp), %rcx
movl %eax, (%rcx)
movq %rax, 0x8(%rcx)
movq %rcx, 0x10(%rcx)
movq %rcx, 0x18(%rcx)
movq %rax, 0x20(%rcx)
movq 0x90(%r14), %rax
cmpq %rax, 0x98(%r14)
je 0x44dd
leaq 0xc0(%r14), %r15
xorpd %xmm0, %xmm0
movsd %xmm0, 0x70(%rsp)
xorl %ebx, %ebx
xorpd %xmm0, %xmm0
movsd %xmm0, 0x78(%rsp)
movsd %xmm0, 0x80(%rsp)
movsd %xmm0, 0x88(%rsp)
movsd %xmm0, 0x90(%rsp)
movsd %xmm0, 0x98(%rsp)
movq %r15, 0x28(%rsp)
movq 0x78(%r14), %rcx
movl (%rcx,%rbx,4), %esi
movl (%rax,%rbx,4), %r12d
movq 0xa8(%r14), %rax
movq %rbx, 0x48(%rsp)
movl (%rax,%rbx,4), %ecx
movl %ecx, 0x4(%rsp)
movq %r14, %rdi
movq %rsi, 0x30(%rsp)
movl %r12d, %edx
callq 0x53de
leaq 0x118(%rsp), %rdi
leaq 0x4(%rsp), %rsi
callq 0x38d8
incl (%rax)
xorpd %xmm0, %xmm0
movapd %xmm0, 0x10(%rsp)
movq $0x0, 0x20(%rsp)
cmpl $0x0, 0x84a9(%rip)      # 0xc3ac
leaq 0x60(%rsp), %r15
jle 0x3f61
xorl %r13d, %r13d
movl 0x4(%rsp), %ecx
movq %r14, %rdi
movl %r13d, %esi
movl %r12d, %edx
callq 0x53de
movl %r13d, 0x60(%rsp)
movsd %xmm0, 0x68(%rsp)
movq 0x18(%rsp), %rsi
cmpq 0x20(%rsp), %rsi
je 0x3f48
movupd 0x60(%rsp), %xmm0
movupd %xmm0, (%rsi)
addq $0x10, 0x18(%rsp)
jmp 0x3f55
leaq 0x10(%rsp), %rdi
movq %r15, %rdx
callq 0x58b4
incl %r13d
cmpl 0x844d(%rip), %r13d     # 0xc3ac
jl 0x3f0d
movq 0x10(%rsp), %r13
movq 0x18(%rsp), %rbx
cmpq %rbx, %r13
je 0x3fab
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 -0x16c8(%rip), %rcx     # 0x28cc
callq 0x59f3
movq %r13, %rdi
movq %rbx, %rsi
leaq -0x16da(%rip), %rdx     # 0x28cc
callq 0x5abe
movq 0x18(%rsp), %rax
subq 0x10(%rsp), %rax
shrq $0x4, %rax
movl %eax, %r13d
xorl %ebx, %ebx
decq %r13
testl %r13d, %r13d
js 0x41dd
movq %rbx, 0x50(%rsp)
movl %r13d, %r14d
andl $0x7fffffff, %r14d      # imm = 0x7FFFFFFF
movq 0x10(%rsp), %rax
movq %r14, %rbp
shlq $0x4, %rbp
movl (%rax,%rbp), %eax
movl 0x4(%rsp), %ecx
shlq $0x20, %rcx
orq %rax, %rcx
movq %rcx, 0x60(%rsp)
movq 0x28(%rsp), %rbx
movq %rbx, %rdi
movq %r15, %rsi
callq 0x4dd2
movq 0x10(%rsp), %rax
movl (%rax,%rbp), %eax
movl 0x4(%rsp), %ecx
shlq $0x20, %rcx
orq %rax, %rcx
movq %rcx, 0x60(%rsp)
movq %rbx, %rdi
movq %r15, %rsi
callq 0x4dd2
movq 0x10(%rax), %rdx
addq $0x8, %rax
movq %rax, %rcx
testq %rdx, %rdx
je 0x4056
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 0x403e
movq %rax, %rdx
cmpq %rax, %rcx
movq 0x50(%rsp), %rbx
je 0x406e
cmpl 0x20(%rcx), %r12d
cmovlq %rax, %rcx
movq %rcx, %rdx
xorl %ecx, %ecx
cmpq %rax, %rdx
sete %cl
addl %ecx, %ebx
movq 0x10(%rsp), %rax
movq 0x30(%rsp), %rcx
cmpl %ecx, (%rax,%rbp)
jne 0x3fbe
movq 0x18(%rsp), %rcx
subq %rax, %rcx
sarq $0x4, %rcx
subq %r14, %rcx
movq %rcx, %xmm0
punpckldq 0x3f79(%rip), %xmm0 # xmm0 = xmm0[0],mem[0],xmm0[1],mem[1]
subpd 0x3f81(%rip), %xmm0     # 0x8030
movapd %xmm0, 0x50(%rsp)
leaq 0xd0(%rsp), %rdi
leaq 0x4(%rsp), %rsi
callq 0x54ec
movapd 0x50(%rsp), %xmm0
movapd %xmm0, %xmm1
unpckhpd %xmm0, %xmm1            # xmm1 = xmm1[1],xmm0[1]
addsd %xmm0, %xmm1
movsd (%rax), %xmm0
movapd %xmm1, 0x50(%rsp)
addsd %xmm1, %xmm0
movsd %xmm0, (%rax)
leaq 0x268(%rsp), %rdi
leaq 0x4(%rsp), %rsi
callq 0x54ec
leal 0x1(%rbx), %ecx
xorps %xmm1, %xmm1
cvtsi2sd %ecx, %xmm1
movsd (%rax), %xmm0
movsd %xmm1, 0xc8(%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 0x4169
leaq 0x1d8(%rsp), %rdi
leaq 0x4(%rsp), %rsi
callq 0x54ec
movsd 0x78(%rsp), %xmm0
movsd 0x3f0d(%rip), %xmm1     # 0x8060
addsd %xmm1, %xmm0
movsd %xmm0, 0x78(%rsp)
movsd (%rax), %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, (%rax)
movsd 0x98(%rsp), %xmm0
addsd 0x50(%rsp), %xmm0
movsd %xmm0, 0x98(%rsp)
movsd 0x90(%rsp), %xmm0
addsd 0xc8(%rsp), %xmm0
movsd %xmm0, 0x90(%rsp)
cmpl $0x9, %ebx
ja 0x41dd
leaq 0x1a8(%rsp), %rdi
leaq 0x4(%rsp), %rsi
callq 0x54ec
movsd 0xa8(%rsp), %xmm0
movsd 0x3e9c(%rip), %xmm1     # 0x8060
addsd %xmm1, %xmm0
movsd %xmm0, 0xa8(%rsp)
movsd (%rax), %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, (%rax)
movq 0x8(%rsp), %rbx
movq 0x10(%rsp), %rax
cmpq %rax, 0x18(%rsp)
je 0x41f3
movq %rax, 0x18(%rsp)
cmpl $0x0, 0x81b2(%rip)      # 0xc3ac
jle 0x4255
xorl %r13d, %r13d
movl 0x4(%rsp), %ecx
movq %rbx, %rdi
movq 0x30(%rsp), %rsi
movl %r13d, %edx
callq 0x53de
movl %r13d, 0x60(%rsp)
movsd %xmm0, 0x68(%rsp)
movq 0x18(%rsp), %rsi
cmpq 0x20(%rsp), %rsi
je 0x423c
movupd 0x60(%rsp), %xmm0
movupd %xmm0, (%rsi)
addq $0x10, 0x18(%rsp)
jmp 0x4249
leaq 0x10(%rsp), %rdi
movq %r15, %rdx
callq 0x58b4
incl %r13d
cmpl 0x8159(%rip), %r13d     # 0xc3ac
jl 0x41ff
movq 0x10(%rsp), %rbx
movq 0x18(%rsp), %r13
cmpq %r13, %rbx
je 0x429f
movq %r13, %rax
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 -0x19bc(%rip), %rcx     # 0x28cc
callq 0x59f3
movq %rbx, %rdi
movq %r13, %rsi
leaq -0x19ce(%rip), %rdx     # 0x28cc
callq 0x5abe
movq 0x18(%rsp), %rax
subq 0x10(%rsp), %rax
shrq $0x4, %rax
movl %eax, %r14d
decq %r14
xorl %ebx, %ebx
testl %r14d, %r14d
js 0x4499
movl 0x4(%rsp), %eax
shlq $0x20, %rax
addq 0x30(%rsp), %rax
movq %rax, 0x60(%rsp)
movq 0x28(%rsp), %rdi
movq %r15, %rsi
callq 0x4dd2
movl %r14d, %r13d
andl $0x7fffffff, %r13d      # imm = 0x7FFFFFFF
movq %r13, %rbp
shlq $0x4, %rbp
movq 0x10(%rsp), %rsi
addq %rbp, %rsi
movq %rax, %rdi
callq 0x54a2
movl 0x4(%rsp), %eax
shlq $0x20, %rax
addq 0x30(%rsp), %rax
movq %rax, 0x60(%rsp)
movq 0x28(%rsp), %rdi
movq %r15, %rsi
callq 0x4dd2
movq 0x10(%rsp), %rsi
addq %rbp, %rsi
movq %rax, %rdi
callq 0x54a2
cmpq $0x1, %rax
adcl $0x0, %ebx
movq 0x10(%rsp), %rax
decq %r14
cmpl %r12d, (%rax,%rbp)
jne 0x42b5
movq 0x18(%rsp), %rcx
subq %rax, %rcx
sarq $0x4, %rcx
subq %r13, %rcx
movq %rcx, %xmm0
punpckldq 0x3cbe(%rip), %xmm0 # xmm0 = xmm0[0],mem[0],xmm0[1],mem[1]
subpd 0x3cc6(%rip), %xmm0     # 0x8030
movapd %xmm0, 0x30(%rsp)
leaq 0x238(%rsp), %rdi
leaq 0x4(%rsp), %rsi
callq 0x54ec
movq 0x8(%rsp), %r14
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 0x208(%rsp), %rdi
leaq 0x4(%rsp), %rsi
callq 0x54ec
leal 0x1(%rbx), %ecx
xorps %xmm1, %xmm1
cvtsi2sd %ecx, %xmm1
movsd (%rax), %xmm0
movsd %xmm1, 0x50(%rsp)
addsd %xmm1, %xmm0
movsd %xmm0, (%rax)
movq 0x18(%rsp), %rax
subq 0x10(%rsp), %rax
sarq $0x4, %rax
subq %r13, %rax
cmpq $0xa, %rax
ja 0x4426
leaq 0x178(%rsp), %rdi
leaq 0x4(%rsp), %rsi
callq 0x54ec
movsd 0x70(%rsp), %xmm0
movsd 0x3c50(%rip), %xmm1     # 0x8060
addsd %xmm1, %xmm0
movsd %xmm0, 0x70(%rsp)
movsd (%rax), %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, (%rax)
movsd 0x88(%rsp), %xmm0
addsd 0x30(%rsp), %xmm0
movsd %xmm0, 0x88(%rsp)
movsd 0x80(%rsp), %xmm0
addsd 0x50(%rsp), %xmm0
movsd %xmm0, 0x80(%rsp)
cmpl $0x9, %ebx
ja 0x449e
leaq 0x148(%rsp), %rdi
leaq 0x4(%rsp), %rsi
callq 0x54ec
movsd 0xa0(%rsp), %xmm0
movsd 0x3be2(%rip), %xmm1     # 0x8060
addsd %xmm1, %xmm0
movsd %xmm0, 0xa0(%rsp)
movsd (%rax), %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, (%rax)
jmp 0x449e
movq 0x8(%rsp), %r14
movq 0x48(%rsp), %rbx
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0x44ba
movq 0x20(%rsp), %rsi
subq %rdi, %rsi
callq 0x2190
incq %rbx
movq 0x90(%r14), %rax
movq 0x98(%r14), %rcx
subq %rax, %rcx
sarq $0x2, %rcx
cmpq %rbx, %rcx
ja 0x3ea7
jmp 0x4514
xorpd %xmm0, %xmm0
movsd %xmm0, 0x98(%rsp)
movsd %xmm0, 0x90(%rsp)
movsd %xmm0, 0x88(%rsp)
movsd %xmm0, 0x80(%rsp)
movsd %xmm0, 0x78(%rsp)
xorps %xmm0, %xmm0
movsd %xmm0, 0x70(%rsp)
movq 0x7abd(%rip), %rdi      # 0xbfd8
leaq 0x3c4d(%rip), %rsi      # 0x816f
movl $0x5, %edx
callq 0x21b0
movq 0x8(%rsp), %rcx
movq 0x98(%rcx), %rax
subq 0x90(%rcx), %rax
sarq $0x2, %rax
movq %rax, %xmm0
punpckldq 0x3ad0(%rip), %xmm0 # xmm0 = xmm0[0],mem[0],xmm0[1],mem[1]
subpd 0x3ad8(%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 0x7a60(%rip), %rdi      # 0xbfd8
callq 0x2210
leaq 0x10(%rsp), %rsi
movb $0x9, (%rsi)
movl $0x1, %edx
movq %rax, %rdi
callq 0x21b0
movq 0x8(%rsp), %rdx
movq 0x98(%rdx), %rcx
subq 0x90(%rdx), %rcx
sarq $0x2, %rcx
movq %rcx, %xmm0
punpckldq 0x3a6a(%rip), %xmm0 # xmm0 = xmm0[0],mem[0],xmm0[1],mem[1]
subpd 0x3a72(%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
movq %rax, %r14
leaq 0x3a9a(%rip), %rsi      # 0x8080
movl $0x1, %edx
movq %rax, %rdi
callq 0x21b0
movq 0x8(%rsp), %rcx
movq 0x98(%rcx), %rax
subq 0x90(%rcx), %rax
sarq $0x2, %rax
movq %rax, %xmm0
punpckldq 0x3a09(%rip), %xmm0 # xmm0 = xmm0[0],mem[0],xmm0[1],mem[1]
subpd 0x3a11(%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 %r14, %rdi
callq 0x2210
leaq 0x10(%rsp), %rsi
movb $0x9, (%rsi)
movl $0x1, %edx
movq %rax, %rdi
callq 0x21b0
movq 0x8(%rsp), %rdx
movq 0x98(%rdx), %rcx
subq 0x90(%rdx), %rcx
sarq $0x2, %rcx
movq %rcx, %xmm0
punpckldq 0x39a7(%rip), %xmm0 # xmm0 = xmm0[0],mem[0],xmm0[1],mem[1]
subpd 0x39af(%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
movq 0x7905(%rip), %rdi      # 0xbfd8
leaq 0x3a9b(%rip), %rsi      # 0x8175
movl $0x6, %edx
callq 0x21b0
movq 0x8(%rsp), %rcx
movq 0xb0(%rcx), %rax
subq 0xa8(%rcx), %rax
sarq $0x2, %rax
movq %rax, %xmm0
punpckldq 0x3918(%rip), %xmm0 # xmm0 = xmm0[0],mem[0],xmm0[1],mem[1]
subpd 0x3920(%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 0x78a8(%rip), %rdi      # 0xbfd8
callq 0x2210
leaq 0x10(%rsp), %rsi
movb $0x9, (%rsi)
movl $0x1, %edx
movq %rax, %rdi
callq 0x21b0
movq 0x8(%rsp), %rdx
movq 0xb0(%rdx), %rcx
subq 0xa8(%rdx), %rcx
sarq $0x2, %rcx
movq %rcx, %xmm0
punpckldq 0x38b2(%rip), %xmm0 # xmm0 = xmm0[0],mem[0],xmm0[1],mem[1]
subpd 0x38ba(%rip), %xmm0     # 0x8030
movapd %xmm0, %xmm1
unpckhpd %xmm0, %xmm1            # xmm1 = xmm1[1],xmm0[1]
addsd %xmm0, %xmm1
movsd 0x70(%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 0x8(%rsp), %rdx
movq 0xb0(%rdx), %rcx
subq 0xa8(%rdx), %rcx
sarq $0x2, %rcx
movq %rcx, %xmm0
punpckldq 0x3853(%rip), %xmm0 # xmm0 = xmm0[0],mem[0],xmm0[1],mem[1]
subpd 0x385b(%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
leaq 0x10(%rsp), %rsi
movb $0x9, (%rsi)
movl $0x1, %edx
movq %rax, %rdi
callq 0x21b0
movq 0x8(%rsp), %rdx
movq 0xb0(%rdx), %rcx
subq 0xa8(%rdx), %rcx
sarq $0x2, %rcx
movq %rcx, %xmm0
punpckldq 0x37f1(%rip), %xmm0 # xmm0 = xmm0[0],mem[0],xmm0[1],mem[1]
subpd 0x37f9(%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 %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 0x118(%rsp), %rdi
callq 0x4bc8
leaq 0x148(%rsp), %rdi
callq 0x6308
leaq 0x178(%rsp), %rdi
callq 0x6308
leaq 0x1a8(%rsp), %rdi
callq 0x6308
leaq 0x1d8(%rsp), %rdi
callq 0x6308
leaq 0x208(%rsp), %rdi
callq 0x6308
leaq 0x238(%rsp), %rdi
callq 0x6308
leaq 0x268(%rsp), %rdi
callq 0x6308
leaq 0xd0(%rsp), %rdi
callq 0x6308
addq $0x298, %rsp            # imm = 0x298
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x490b
movq %rax, %rbx
jmp 0x4965
jmp 0x494b
jmp 0x494b
jmp 0x494b
jmp 0x494b
movq %rax, %rbx
movq 0xb0(%rsp), %rdi
testq %rdi, %rdi
je 0x49da
movq 0xc0(%rsp), %rsi
subq %rdi, %rsi
callq 0x2190
jmp 0x49da
jmp 0x494b
jmp 0x494b
jmp 0x494b
jmp 0x494b
jmp 0x494b
movq %rax, %rbx
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0x4965
movq 0x20(%rsp), %rsi
subq %rdi, %rsi
callq 0x2190
leaq 0x118(%rsp), %rdi
callq 0x4bc8
leaq 0x148(%rsp), %rdi
callq 0x6308
leaq 0x178(%rsp), %rdi
callq 0x6308
leaq 0x1a8(%rsp), %rdi
callq 0x6308
leaq 0x1d8(%rsp), %rdi
callq 0x6308
leaq 0x208(%rsp), %rdi
callq 0x6308
leaq 0x238(%rsp), %rdi
callq 0x6308
leaq 0x268(%rsp), %rdi
callq 0x6308
leaq 0xd0(%rsp), %rdi
callq 0x6308
movq %rbx, %rdi
callq 0x2250