// File: /workspace/github_cpp_makefile_star2_O3/thunlp[P]KB2E/cluster/generate.cpp
// Function: main
int main(int argc, char** argv)
{
    int rel_now=-1;
    if (argc ==2)
        rel_now =  atoi(argv[1]);
    else
        return 0;
    cout<<rel_now<<endl;


    FILE* f1 = fopen("../data/entity2id.txt","r");
	FILE* f2 = fopen("../data/relation2id.txt","r");
	int x;
	while (fscanf(f1,"%s%d",buf,&x)==2)
	{
		string st=buf;
		entity2id[st]=x;
		id2entity[x]=st;
		entity_num++;
	}
	while (fscanf(f2,"%s%d",buf,&x)==2)
	{
		string st=buf;
		relation2id[st]=x;
		id2relation[x]=st;
		relation_num++;
	}
    FILE* f_kb = fopen("../data/train.txt","r");
    vector<int> train_e1,train_e2,train_rel,train_index;
    int index=-1;
	while (fscanf(f_kb,"%s",buf)==1)
    {
        string s1=buf;
        fscanf(f_kb,"%s",buf);
        string s2=buf;
        fscanf(f_kb,"%s",buf);
        string s3=buf;
        int e1 = entity2id[s1];
        int e2 = entity2id[s2];
        int rel = relation2id[s3];
        index+=1;
        if (rel!=rel_now)
            continue;
        train_index.push_back(index);
        train_e1.push_back(e1);
        train_e2.push_back(e2);
        train_rel.push_back(rel);
    }
    FILE* f_ent_vec = fopen("../TransE/entity2vec.txt","r");

   // FILE* f_ent_vec = fopen("../data/entity_vec_word2vec.txt","r");
    int vec_size=50;
    entity_vec.resize(entity_num);
    for (int i=0; i<entity_num;i++)
    {
        entity_vec[i].resize(vec_size);
        for (int ii=0; ii<vec_size; ii++)
        {
            fscanf(f_ent_vec,"%lf",&entity_vec[i][ii]);
        }
    }
    double sum = 0;
    int n=train_e1.size();
    FILE* g_sim = fopen("similarity.txt","w");
    for (int i=0; i<n; i++)
        for (int j=0; j<n; j++)
        if (i!=j)
        {
            double tmp=0;
            for (int ii=0; ii<vec_size; ii++)
                tmp-=sqr(entity_vec[train_e1[i]][ii]-entity_vec[train_e2[i]][ii]-
                          entity_vec[train_e1[j]][ii]+entity_vec[train_e2[j]][ii]);
            a.push_back(tmp);
            if (tmp>1e6)
            {
                vec_output(entity_vec[train_e1[i]]);
                vec_output(entity_vec[train_e2[i]]);
                vec_output(entity_vec[train_e1[j]]);
                vec_output(entity_vec[train_e2[j]]);
                exit(0);
            }
            fprintf(g_sim,"%d\t%d\t%lf\n",i+1,j+1,tmp);
        }
    fclose(g_sim);
    if (n>1)
    {
        sort(a.begin(),a.end());
        cout<<a[0]<<' '<<a[a.size()-1]<<' '<<a[0]-(a[a.size()-1]-a[0])<<endl;
        sum = a[0]-10*(a[a.size()-1]-a[0]);
    }
    FILE* g_pre = fopen("pre.txt","w");
    for (int i=0; i<n; i++)
        fprintf(g_pre,"%lf\n",sum);
    fclose(g_pre);
    FILE* g_env = fopen(("data/id2index"+string(argv[1])+".txt").c_str(),"w");
    for (int i=0; i<n; i++)
    {
        fprintf(g_env,"%d\n",train_index[i]);
    }
    fclose(g_env);
    return 0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x108, %rsp            # imm = 0x108
cmpl $0x2, %edi
jne 0x3001
movq %rsi, 0x100(%rsp)
movq 0x8(%rsi), %rdi
callq 0x21f0
movq 0x59cf(%rip), %rdi      # 0x7fd8
movl %eax, 0xb8(%rsp)
movl %eax, %esi
callq 0x2230
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x2130
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x20d0
leaq 0x29e8(%rip), %rdi      # 0x5030
leaq 0x29f7(%rip), %rbx      # 0x5046
movq %rbx, %rsi
callq 0x21a0
movq %rax, %r14
leaq 0x29e7(%rip), %rdi      # 0x5048
movq %rbx, %rsi
callq 0x21a0
movq %rax, 0x38(%rsp)
leaq 0x29eb(%rip), %rsi      # 0x5060
leaq 0x5bc4(%rip), %r15      # 0x8240
leaq 0x4(%rsp), %rcx
movq %r14, %rdi
movq %r15, %rdx
xorl %eax, %eax
callq 0x2260
cmpl $0x2, %eax
jne 0x272e
leaq 0x18(%rsp), %rbp
leaq 0x8(%rsp), %r12
leaq 0x4(%rsp), %r13
movq %rbp, 0x8(%rsp)
movq %r15, %rdi
callq 0x2090
leaq (%rax,%r15), %rdx
movq %r12, %rdi
movq %r15, %rsi
callq 0x352a
movl 0x4(%rsp), %ebx
leaq 0x5adb(%rip), %rdi      # 0x81a8
movq %r12, %rsi
callq 0x32e0
movl %ebx, (%rax)
leaq 0x5afa(%rip), %rdi      # 0x81d8
movq %r13, %rsi
callq 0x335c
movq %rax, %rdi
movq %r12, %rsi
callq 0x20b0
incl 0x5b41(%rip)            # 0x8238
movq 0x8(%rsp), %rdi
cmpq %rbp, %rdi
je 0x270e
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x2160
movq %r14, %rdi
leaq 0x2948(%rip), %rsi      # 0x5060
movq %r15, %rdx
movq %r13, %rcx
xorl %eax, %eax
callq 0x2260
cmpl $0x2, %eax
je 0x26a6
leaq 0x292b(%rip), %rsi      # 0x5060
leaq 0x5b04(%rip), %r14      # 0x8240
leaq 0x4(%rsp), %rcx
movq 0x38(%rsp), %rdi
movq %r14, %rdx
xorl %eax, %eax
callq 0x2260
cmpl $0x2, %eax
jne 0x27f7
leaq 0x18(%rsp), %r12
leaq 0x8(%rsp), %r15
leaq 0x4(%rsp), %rbp
leaq 0x28f1(%rip), %rbx      # 0x5060
movq %r12, 0x8(%rsp)
movq %r14, %rdi
callq 0x2090
leaq (%rax,%r14), %rdx
movq %r15, %rdi
movq %r14, %rsi
callq 0x352a
movl 0x4(%rsp), %r13d
leaq 0x59e1(%rip), %rdi      # 0x8178
movq %r15, %rsi
callq 0x32e0
movl %r13d, (%rax)
leaq 0x5a5f(%rip), %rdi      # 0x8208
movq %rbp, %rsi
callq 0x335c
movq %rax, %rdi
movq %r15, %rsi
callq 0x20b0
incl 0x5a7a(%rip)            # 0x823c
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x27d9
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x2160
movq 0x38(%rsp), %rdi
movq %rbx, %rsi
movq %r14, %rdx
movq %rbp, %rcx
xorl %eax, %eax
callq 0x2260
cmpl $0x2, %eax
je 0x276f
leaq 0x2867(%rip), %rdi      # 0x5065
leaq 0x2841(%rip), %rsi      # 0x5046
callq 0x21a0
movq %rax, %r15
xorl %eax, %eax
leaq 0x60(%rsp), %rcx
movq %rax, 0x10(%rcx)
xorpd %xmm0, %xmm0
movapd %xmm0, (%rcx)
leaq 0xa0(%rsp), %rcx
movq %rax, 0x10(%rcx)
movapd %xmm0, (%rcx)
leaq 0xe0(%rsp), %rcx
movq %rax, 0x10(%rcx)
movapd %xmm0, (%rcx)
leaq 0xc0(%rsp), %rcx
movq %rax, 0x10(%rcx)
movapd %xmm0, (%rcx)
leaq 0x2c(%rsp), %rax
movl $0xffffffff, (%rax)     # imm = 0xFFFFFFFF
leaq 0x2815(%rip), %r13      # 0x5077
leaq 0x40(%rsp), %r12
leaq 0x80(%rsp), %rbp
leaq 0x5932(%rip), %rbx      # 0x81a8
movq %r15, %rdi
movq %r13, %rsi
movq %r14, %rdx
xorl %eax, %eax
callq 0x2260
cmpl $0x1, %eax
jne 0x2aa0
leaq 0x18(%rsp), %rax
movq %rax, 0x8(%rsp)
movq %r14, %rdi
callq 0x2090
leaq (%rax,%r14), %rdx
leaq 0x8(%rsp), %rdi
movq %r14, %rsi
callq 0x352a
movq %r15, %rdi
movq %r13, %rsi
movq %r14, %rdx
xorl %eax, %eax
callq 0x2260
leaq 0x50(%rsp), %rax
movq %rax, 0x40(%rsp)
movq %r14, %rdi
callq 0x2090
leaq (%rax,%r14), %rdx
movq %r12, %rdi
movq %r14, %rsi
callq 0x352a
movq %r15, %rdi
movq %r13, %rsi
movq %r14, %rdx
xorl %eax, %eax
callq 0x2260
leaq 0x90(%rsp), %rax
movq %rax, 0x80(%rsp)
movq %r14, %rdi
callq 0x2090
leaq (%rax,%r14), %rdx
movq %rbp, %rdi
movq %r14, %rsi
callq 0x352a
movq %rbx, %rdi
leaq 0x8(%rsp), %rsi
callq 0x32e0
movl (%rax), %eax
movl %eax, 0x28(%rsp)
movq %rbx, %rdi
movq %r12, %rsi
callq 0x32e0
movl (%rax), %eax
movl %eax, 0x34(%rsp)
leaq 0x5833(%rip), %rdi      # 0x8178
movq %rbp, %rsi
callq 0x32e0
movl (%rax), %ecx
movl %ecx, 0x30(%rsp)
movl 0x2c(%rsp), %eax
incl %eax
movl %eax, 0x2c(%rsp)
cmpl 0xb8(%rsp), %ecx
jne 0x2a3a
movq 0xc8(%rsp), %rsi
cmpq 0xd0(%rsp), %rsi
je 0x298c
movl %eax, (%rsi)
addq $0x4, %rsi
movq %rsi, 0xc8(%rsp)
jmp 0x299e
leaq 0xc0(%rsp), %rdi
leaq 0x2c(%rsp), %rdx
callq 0x3bba
movq 0x68(%rsp), %rsi
cmpq 0x70(%rsp), %rsi
je 0x29bb
movl 0x28(%rsp), %eax
movl %eax, (%rsi)
addq $0x4, %rsi
movq %rsi, 0x68(%rsp)
jmp 0x29ca
leaq 0x60(%rsp), %rdi
leaq 0x28(%rsp), %rdx
callq 0x3bba
movq 0xa8(%rsp), %rsi
cmpq 0xb0(%rsp), %rsi
je 0x29f0
movl 0x34(%rsp), %eax
movl %eax, (%rsi)
addq $0x4, %rsi
movq %rsi, 0xa8(%rsp)
jmp 0x2a02
leaq 0xa0(%rsp), %rdi
leaq 0x34(%rsp), %rdx
callq 0x3bba
movq 0xe8(%rsp), %rsi
cmpq 0xf0(%rsp), %rsi
je 0x2a28
movl 0x30(%rsp), %eax
movl %eax, (%rsi)
addq $0x4, %rsi
movq %rsi, 0xe8(%rsp)
jmp 0x2a3a
leaq 0xe0(%rsp), %rdi
leaq 0x30(%rsp), %rdx
callq 0x3bba
movq 0x80(%rsp), %rdi
leaq 0x90(%rsp), %rax
cmpq %rax, %rdi
je 0x2a5f
movq 0x90(%rsp), %rsi
incq %rsi
callq 0x2160
movq 0x40(%rsp), %rdi
leaq 0x50(%rsp), %rax
cmpq %rax, %rdi
je 0x2a7b
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x2160
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x2876
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x2160
jmp 0x2876
leaq 0x25d3(%rip), %rdi      # 0x507a
leaq 0x2598(%rip), %rsi      # 0x5046
callq 0x21a0
movq %rax, %rbx
movslq 0x577b(%rip), %rsi      # 0x8238
leaq 0x364bc(%rip), %rdi     # 0x38f80
callq 0x33c2
cmpl $0x0, 0x5768(%rip)      # 0x8238
jle 0x2b33
leaq 0x25ba(%rip), %r14      # 0x5093
xorl %r15d, %r15d
leaq (%r15,%r15,2), %r12
leaq (,%r12,8), %rdi
addq 0x36491(%rip), %rdi     # 0x38f80
movl $0x32, %esi
callq 0x33fe
xorl %r13d, %r13d
movq 0x3647d(%rip), %rax     # 0x38f80
movq (%rax,%r12,8), %rdx
addq %r13, %rdx
movq %rbx, %rdi
movq %r14, %rsi
xorl %eax, %eax
callq 0x2260
addq $0x8, %r13
cmpq $0x190, %r13            # imm = 0x190
jne 0x2afc
incq %r15
movslq 0x570a(%rip), %rax      # 0x8238
cmpq %rax, %r15
jl 0x2adc
movq 0x68(%rsp), %r12
subq 0x60(%rsp), %r12
shrq $0x2, %r12
leaq 0x254f(%rip), %rdi      # 0x5097
leaq 0x2557(%rip), %rsi      # 0x50a6
callq 0x21a0
movq %rax, %r14
testl %r12d, %r12d
jle 0x2deb
movq %r12, 0x38(%rsp)
movl %r12d, %r15d
andl $0x7fffffff, %r15d      # imm = 0x7FFFFFFF
xorl %ebp, %ebp
leaq 0x2530(%rip), %r13      # 0x50a8
leaq 0x1(%rbp), %r12
xorl %ebx, %ebx
cmpq %rbx, %rbp
jne 0x2b8b
incq %rbx
jmp 0x2c64
movq $0x0, 0x8(%rsp)
movq 0x60(%rsp), %rdx
movslq (%rdx,%rbp,4), %rax
movq 0x363dc(%rip), %rsi     # 0x38f80
leaq (%rax,%rax,2), %rax
movq (%rsi,%rax,8), %rax
movq 0xa0(%rsp), %rdi
movslq (%rdi,%rbp,4), %rcx
leaq (%rcx,%rcx,2), %rcx
movq (%rsi,%rcx,8), %rcx
movslq (%rdx,%rbx,4), %rdx
leaq (%rdx,%rdx,2), %rdx
movq (%rsi,%rdx,8), %rdx
movslq (%rdi,%rbx,4), %rdi
leaq (%rdi,%rdi,2), %rdi
movq (%rsi,%rdi,8), %rsi
xorpd %xmm0, %xmm0
xorl %edi, %edi
movsd (%rax,%rdi,8), %xmm1
subsd (%rcx,%rdi,8), %xmm1
subsd (%rdx,%rdi,8), %xmm1
addsd (%rsi,%rdi,8), %xmm1
mulsd %xmm1, %xmm1
subsd %xmm1, %xmm0
movsd %xmm0, 0x8(%rsp)
incq %rdi
cmpq $0x32, %rdi
jne 0x2bde
movq 0x36390(%rip), %rsi     # 0x38fa0
cmpq 0x36391(%rip), %rsi     # 0x38fa8
je 0x2c2a
movsd %xmm0, (%rsi)
addq $0x8, %rsi
movq %rsi, 0x36378(%rip)     # 0x38fa0
jmp 0x2c3b
leaq 0x36367(%rip), %rdi     # 0x38f98
leaq 0x8(%rsp), %rdx
callq 0x4060
movsd 0x8(%rsp), %xmm0
ucomisd 0x23bf(%rip), %xmm0     # 0x5008
ja 0x3015
incq %rbx
movq %r14, %rdi
movq %r13, %rsi
movl %r12d, %edx
movl %ebx, %ecx
movb $0x1, %al
callq 0x21c0
cmpq %r15, %rbx
jne 0x2b7e
movq %r12, %rbp
cmpq %r15, %r12
jne 0x2b78
movq %r14, %rdi
callq 0x2140
xorpd %xmm1, %xmm1
movq 0x38(%rsp), %r12
cmpl $0x1, %r12d
leaq 0x50(%rsp), %r15
je 0x2da6
movq 0x362f8(%rip), %rbx     # 0x38f98
movq 0x362f9(%rip), %r14     # 0x38fa0
cmpq %r14, %rbx
je 0x2ce0
movq %r14, %rax
subq %rbx, %rax
sarq $0x3, %rax
bsrq %rax, %rdx
xorl $0x3f, %edx
addl %edx, %edx
xorq $0x7e, %rdx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x413f
movq %rbx, %rdi
movq %r14, %rsi
callq 0x4238
movq 0x362b8(%rip), %rbx     # 0x38f98
movsd (%rbx), %xmm0
movq 0x52ed(%rip), %rdi      # 0x7fd8
callq 0x2200
leaq 0x8(%rsp), %rsi
movb $0x20, (%rsi)
movl $0x1, %edx
movq %rax, %rdi
callq 0x2190
movq 0x36294(%rip), %rcx     # 0x38fa0
movsd -0x8(%rcx), %xmm0
movq %rax, %rdi
callq 0x2200
leaq 0x8(%rsp), %rsi
movb $0x20, (%rsi)
movl $0x1, %edx
movq %rax, %rdi
callq 0x2190
movq 0x36263(%rip), %rcx     # 0x38f98
movsd (%rcx), %xmm0
movq 0x36260(%rip), %rcx     # 0x38fa0
movsd -0x8(%rcx), %xmm1
subsd %xmm0, %xmm1
subsd %xmm1, %xmm0
movq %rax, %rdi
callq 0x2200
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x2130
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x20d0
movq 0x36212(%rip), %rax     # 0x38f98
movsd (%rax), %xmm0
movq 0x3620f(%rip), %rax     # 0x38fa0
movsd -0x8(%rax), %xmm1
subsd %xmm0, %xmm1
mulsd 0x226e(%rip), %xmm1     # 0x5010
addsd %xmm0, %xmm1
movsd %xmm1, 0xb8(%rsp)
leaq 0x22fd(%rip), %rdi      # 0x50b3
leaq 0x22e9(%rip), %rsi      # 0x50a6
callq 0x21a0
movq %rax, %rbx
leaq 0x22e2(%rip), %r14      # 0x50ae
movl %r12d, %ebp
movq %rbx, %rdi
movq %r14, %rsi
movsd 0xb8(%rsp), %xmm0
movb $0x1, %al
callq 0x21c0
decl %ebp
jne 0x2dcf
jmp 0x2e0e
movq %r14, %rdi
callq 0x2140
leaq 0x22b9(%rip), %rdi      # 0x50b3
leaq 0x22a5(%rip), %rsi      # 0x50a6
callq 0x21a0
movq %rax, %rbx
leaq 0x50(%rsp), %r15
movq %rbx, %rdi
callq 0x2140
movq 0x100(%rsp), %rax
movq 0x8(%rax), %rsi
leaq 0x80(%rsp), %rdi
leaq 0x28(%rsp), %rdx
callq 0x32a2
leaq 0x18(%rsp), %r14
leaq 0x227b(%rip), %rcx      # 0x50bb
leaq 0x80(%rsp), %rdi
movl $0xd, %r8d
xorl %esi, %esi
xorl %edx, %edx
callq 0x2180
movq %r15, 0x40(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x2e7a
movq %rdx, 0x40(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x50(%rsp)
jmp 0x2e83
movupd (%rcx), %xmm0
movupd %xmm0, (%r15)
movq 0x8(%rax), %rdx
leaq 0x40(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x21e8(%rip), %rsi      # 0x508e
callq 0x2270
movq %r14, 0x8(%rsp)
movq (%rax), %rdi
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdi
je 0x2ece
movq %rdi, 0x8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x18(%rsp)
jmp 0x2eda
movupd (%rcx), %xmm0
movupd %xmm0, (%r14)
movq %r14, %rdi
movq 0x8(%rax), %rdx
movq %rdx, 0x10(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x21ad(%rip), %rsi      # 0x50a6
callq 0x21a0
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r14, %rdi
je 0x2f18
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x2160
movq 0x40(%rsp), %rdi
cmpq %r15, %rdi
je 0x2f2f
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x2160
movq 0x80(%rsp), %rdi
leaq 0x90(%rsp), %rax
cmpq %rax, %rdi
je 0x2f54
movq 0x90(%rsp), %rsi
incq %rsi
callq 0x2160
testl %r12d, %r12d
jle 0x2f8b
andl $0x7fffffff, %r12d      # imm = 0x7FFFFFFF
leaq 0x2162(%rip), %r14      # 0x50c9
xorl %r15d, %r15d
movq 0xc0(%rsp), %rax
movl (%rax,%r15,4), %edx
movq %rbx, %rdi
movq %r14, %rsi
xorl %eax, %eax
callq 0x21c0
incq %r15
cmpq %r15, %r12
jne 0x2f6a
movq %rbx, %rdi
callq 0x2140
movq 0xc0(%rsp), %rdi
testq %rdi, %rdi
je 0x2fb0
movq 0xd0(%rsp), %rsi
subq %rdi, %rsi
callq 0x2160
movq 0xe0(%rsp), %rdi
testq %rdi, %rdi
je 0x2fcd
movq 0xf0(%rsp), %rsi
subq %rdi, %rsi
callq 0x2160
movq 0xa0(%rsp), %rdi
testq %rdi, %rdi
je 0x2fea
movq 0xb0(%rsp), %rsi
subq %rdi, %rsi
callq 0x2160
movq 0x60(%rsp), %rdi
testq %rdi, %rdi
je 0x3001
movq 0x70(%rsp), %rsi
subq %rdi, %rsi
callq 0x2160
xorl %eax, %eax
addq $0x108, %rsp            # imm = 0x108
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl %ebp, %r14d
movq 0x60(%rsp), %rax
movslq (%rax,%r14,4), %rax
leaq (%rax,%rax,2), %rdi
shlq $0x3, %rdi
addq 0x35f50(%rip), %rdi     # 0x38f80
callq 0x2541
movq 0xa0(%rsp), %rax
movslq (%rax,%r14,4), %rax
leaq (%rax,%rax,2), %rdi
shlq $0x3, %rdi
addq 0x35f30(%rip), %rdi     # 0x38f80
callq 0x2541
movl %ebx, %ebx
movq 0x60(%rsp), %rax
movslq (%rax,%rbx,4), %rax
leaq (%rax,%rax,2), %rdi
shlq $0x3, %rdi
addq 0x35f11(%rip), %rdi     # 0x38f80
callq 0x2541
movq 0xa0(%rsp), %rax
movslq (%rax,%rbx,4), %rax
leaq (%rax,%rax,2), %rdi
shlq $0x3, %rdi
addq 0x35ef1(%rip), %rdi     # 0x38f80
callq 0x2541
xorl %edi, %edi
callq 0x21b0
movq %rax, %rbx
movq 0x40(%rsp), %rdi
cmpq %r15, %rdi
je 0x30ba
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x2160
jmp 0x30ba
movq %rax, %rbx
movq 0x80(%rsp), %rdi
leaq 0x90(%rsp), %rax
cmpq %rax, %rdi
je 0x31b3
movq 0x90(%rsp), %rsi
jmp 0x31a2
jmp 0x31b0
jmp 0x31b0
jmp 0x31b0
jmp 0x30f1
movq %rax, %rbx
jmp 0x3221
jmp 0x31b0
jmp 0x314a
jmp 0x314a
jmp 0x3104
movq %rax, %rbx
jmp 0x3172
jmp 0x310b
movq %rax, %rbx
jmp 0x318e
jmp 0x31b0
jmp 0x31b0
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
jne 0x313d
jmp 0x3221
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %rbp, %rdi
je 0x3221
movq 0x18(%rsp), %rsi
incq %rsi
jmp 0x321c
movq %rax, %rbx
movq 0x80(%rsp), %rdi
leaq 0x90(%rsp), %rax
cmpq %rax, %rdi
je 0x3172
movq 0x90(%rsp), %rsi
incq %rsi
callq 0x2160
movq 0x40(%rsp), %rdi
leaq 0x50(%rsp), %rax
cmpq %rax, %rdi
je 0x318e
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x2160
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x31b3
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x2160
jmp 0x31b3
jmp 0x31b0
jmp 0x31b0
movq %rax, %rbx
movq 0xc0(%rsp), %rdi
testq %rdi, %rdi
je 0x31d0
movq 0xd0(%rsp), %rsi
subq %rdi, %rsi
callq 0x2160
movq 0xe0(%rsp), %rdi
testq %rdi, %rdi
je 0x31ed
movq 0xf0(%rsp), %rsi
subq %rdi, %rsi
callq 0x2160
movq 0xa0(%rsp), %rdi
testq %rdi, %rdi
je 0x320a
movq 0xb0(%rsp), %rsi
subq %rdi, %rsi
callq 0x2160
movq 0x60(%rsp), %rdi
testq %rdi, %rdi
je 0x3221
movq 0x70(%rsp), %rsi
subq %rdi, %rsi
callq 0x2160
movq %rbx, %rdi
callq 0x2240
nop