// File: /workspace/github_cpp_makefile_star2_O1/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 0x2ff8
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, 0x30(%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
leaq 0x18(%rsp), %rbp
cmpl $0x2, %eax
jne 0x2734
leaq 0x8(%rsp), %r12
leaq 0x4(%rsp), %r13
movq %rbp, %rbx
movq %rbp, 0x8(%rsp)
movq %r15, %rdi
callq 0x2090
leaq (%rax,%r15), %rdx
movq %r12, %rdi
movq %r15, %rsi
callq 0x3522
movl 0x4(%rsp), %ebp
leaq 0x5ad8(%rip), %rdi      # 0x81a8
movq %r12, %rsi
callq 0x32da
movl %ebp, (%rax)
leaq 0x5af7(%rip), %rdi      # 0x81d8
movq %r13, %rsi
callq 0x3356
movq %rax, %rdi
movq %r12, %rsi
callq 0x20b0
incl 0x5b3e(%rip)            # 0x8238
movq 0x8(%rsp), %rdi
movq %rbx, %rbp
cmpq %rbx, %rdi
je 0x2714
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x2160
movq %r14, %rdi
leaq 0x2942(%rip), %rsi      # 0x5060
movq %r15, %rdx
movq %r13, %rcx
xorl %eax, %eax
callq 0x2260
cmpl $0x2, %eax
je 0x26a6
leaq 0x2925(%rip), %rsi      # 0x5060
leaq 0x5afe(%rip), %r14      # 0x8240
leaq 0x4(%rsp), %rcx
movq 0x30(%rsp), %rdi
movq %r14, %rdx
xorl %eax, %eax
callq 0x2260
cmpl $0x2, %eax
jne 0x2805
leaq 0x8(%rsp), %r15
leaq 0x5a9d(%rip), %r13      # 0x8208
leaq 0x4(%rsp), %rbp
leaq 0x28e9(%rip), %rbx      # 0x5060
leaq 0x18(%rsp), %rax
movq %rax, 0x8(%rsp)
movq %r14, %rdi
callq 0x2090
leaq (%rax,%r14), %rdx
movq %r15, %rdi
movq %r14, %rsi
callq 0x3522
movl 0x4(%rsp), %r12d
leaq 0x59d4(%rip), %rdi      # 0x8178
movq %r15, %rsi
callq 0x32da
movl %r12d, (%rax)
movq %r13, %rdi
movq %rbp, %rsi
callq 0x3356
movq %rax, %rdi
movq %r15, %rsi
callq 0x20b0
incl 0x5a71(%rip)            # 0x823c
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x27e7
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x2160
movq 0x30(%rsp), %rdi
movq %rbx, %rsi
movq %r14, %rdx
movq %rbp, %rcx
xorl %eax, %eax
callq 0x2260
cmpl $0x2, %eax
je 0x2777
leaq 0x2859(%rip), %rdi      # 0x5065
leaq 0x2833(%rip), %rsi      # 0x5046
callq 0x21a0
movq %rax, %r15
xorl %eax, %eax
leaq 0x40(%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 0x2807(%rip), %r13      # 0x5077
leaq 0x60(%rsp), %r12
leaq 0x80(%rsp), %rbp
leaq 0x5924(%rip), %rbx      # 0x81a8
movq %r15, %rdi
movq %r13, %rsi
movq %r14, %rdx
xorl %eax, %eax
callq 0x2260
cmpl $0x1, %eax
jne 0x2aae
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 0x3522
movq %r15, %rdi
movq %r13, %rsi
movq %r14, %rdx
xorl %eax, %eax
callq 0x2260
leaq 0x70(%rsp), %rax
movq %rax, 0x60(%rsp)
movq %r14, %rdi
callq 0x2090
leaq (%rax,%r14), %rdx
movq %r12, %rdi
movq %r14, %rsi
callq 0x3522
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 0x3522
movq %rbx, %rdi
leaq 0x8(%rsp), %rsi
callq 0x32da
movl (%rax), %eax
movl %eax, 0x28(%rsp)
movq %rbx, %rdi
movq %r12, %rsi
callq 0x32da
movl (%rax), %eax
movl %eax, 0x3c(%rsp)
leaq 0x5825(%rip), %rdi      # 0x8178
movq %rbp, %rsi
callq 0x32da
movl (%rax), %ecx
movl %ecx, 0x38(%rsp)
movl 0x2c(%rsp), %eax
incl %eax
movl %eax, 0x2c(%rsp)
cmpl 0xb8(%rsp), %ecx
jne 0x2a48
movq 0xc8(%rsp), %rsi
cmpq 0xd0(%rsp), %rsi
je 0x299a
movl %eax, (%rsi)
addq $0x4, %rsi
movq %rsi, 0xc8(%rsp)
jmp 0x29ac
leaq 0xc0(%rsp), %rdi
leaq 0x2c(%rsp), %rdx
callq 0x3ba8
movq 0x48(%rsp), %rsi
cmpq 0x50(%rsp), %rsi
je 0x29c9
movl 0x28(%rsp), %eax
movl %eax, (%rsi)
addq $0x4, %rsi
movq %rsi, 0x48(%rsp)
jmp 0x29d8
leaq 0x40(%rsp), %rdi
leaq 0x28(%rsp), %rdx
callq 0x3ba8
movq 0xa8(%rsp), %rsi
cmpq 0xb0(%rsp), %rsi
je 0x29fe
movl 0x3c(%rsp), %eax
movl %eax, (%rsi)
addq $0x4, %rsi
movq %rsi, 0xa8(%rsp)
jmp 0x2a10
leaq 0xa0(%rsp), %rdi
leaq 0x3c(%rsp), %rdx
callq 0x3ba8
movq 0xe8(%rsp), %rsi
cmpq 0xf0(%rsp), %rsi
je 0x2a36
movl 0x38(%rsp), %eax
movl %eax, (%rsi)
addq $0x4, %rsi
movq %rsi, 0xe8(%rsp)
jmp 0x2a48
leaq 0xe0(%rsp), %rdi
leaq 0x38(%rsp), %rdx
callq 0x3ba8
movq 0x80(%rsp), %rdi
leaq 0x90(%rsp), %rax
cmpq %rax, %rdi
je 0x2a6d
movq 0x90(%rsp), %rsi
incq %rsi
callq 0x2160
movq 0x60(%rsp), %rdi
leaq 0x70(%rsp), %rax
cmpq %rax, %rdi
je 0x2a89
movq 0x70(%rsp), %rsi
incq %rsi
callq 0x2160
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x2884
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x2160
jmp 0x2884
leaq 0x25c5(%rip), %rdi      # 0x507a
leaq 0x258a(%rip), %rsi      # 0x5046
callq 0x21a0
movq %rax, %rbx
movslq 0x576d(%rip), %rsi      # 0x8238
leaq 0x364ae(%rip), %rdi     # 0x38f80
callq 0x33ba
cmpl $0x0, 0x575a(%rip)      # 0x8238
jle 0x2b41
leaq 0x25ac(%rip), %r14      # 0x5093
xorl %r15d, %r15d
leaq (%r15,%r15,2), %r12
leaq (,%r12,8), %rdi
addq 0x36483(%rip), %rdi     # 0x38f80
movl $0x32, %esi
callq 0x33f6
xorl %r13d, %r13d
movq 0x3646f(%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 0x2b0a
incq %r15
movslq 0x56fc(%rip), %rax      # 0x8238
cmpq %rax, %r15
jl 0x2aea
movq 0x48(%rsp), %r14
subq 0x40(%rsp), %r14
shrq $0x2, %r14
leaq 0x2541(%rip), %rdi      # 0x5097
leaq 0x2549(%rip), %rsi      # 0x50a6
callq 0x21a0
movq %rax, %rbx
movq %r14, 0x30(%rsp)
testl %r14d, %r14d
jle 0x2c8e
movq 0x30(%rsp), %r14
andl $0x7fffffff, %r14d      # imm = 0x7FFFFFFF
xorl %r15d, %r15d
leaq 0x251f(%rip), %r12      # 0x50a8
leal 0x1(%r15), %ebp
xorl %r13d, %r13d
cmpq %r13, %r15
je 0x2c76
movq $0x0, 0x8(%rsp)
movq 0x40(%rsp), %rdx
movslq (%rdx,%r15,4), %rax
movq 0x363ce(%rip), %rsi     # 0x38f80
leaq (%rax,%rax,2), %rax
movq (%rsi,%rax,8), %rax
movq 0xa0(%rsp), %rdi
movslq (%rdi,%r15,4), %rcx
leaq (%rcx,%rcx,2), %rcx
movq (%rsi,%rcx,8), %rcx
movslq (%rdx,%r13,4), %rdx
leaq (%rdx,%rdx,2), %rdx
movq (%rsi,%rdx,8), %rdx
movslq (%rdi,%r13,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 0x2bec
movq 0x36382(%rip), %rsi     # 0x38fa0
cmpq 0x36383(%rip), %rsi     # 0x38fa8
je 0x2c3e
movsd 0x8(%rsp), %xmm0
movsd %xmm0, (%rsi)
addq $0x8, %rsi
movq %rsi, 0x36364(%rip)     # 0x38fa0
jmp 0x2c4f
leaq 0x36353(%rip), %rdi     # 0x38f98
leaq 0x8(%rsp), %rdx
callq 0x4048
movsd 0x8(%rsp), %xmm0
ucomisd 0x23ab(%rip), %xmm0     # 0x5008
ja 0x300c
leal 0x1(%r13), %ecx
movq %rbx, %rdi
movq %r12, %rsi
movl %ebp, %edx
movb $0x1, %al
callq 0x21c0
incq %r13
cmpq %r14, %r13
jne 0x2b90
incq %r15
cmpq %r14, %r15
jne 0x2b89
movq %rbx, %rdi
callq 0x2140
xorpd %xmm1, %xmm1
movq 0x30(%rsp), %r12
cmpl $0x1, %r12d
jle 0x2db6
movq 0x362e8(%rip), %rbx     # 0x38f98
movq 0x362e9(%rip), %r14     # 0x38fa0
cmpq %r14, %rbx
je 0x2ce9
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 0x4127
movq %rbx, %rdi
movq %r14, %rsi
callq 0x4220
movq 0x362a8(%rip), %rax     # 0x38f98
movsd (%rax), %xmm0
movq 0x52dd(%rip), %rdi      # 0x7fd8
callq 0x2200
leaq 0x8(%rsp), %rsi
movb $0x20, (%rsi)
movl $0x1, %edx
movq %rax, %rdi
callq 0x2190
movq 0x36284(%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 0x36253(%rip), %rcx     # 0x38f98
movsd (%rcx), %xmm0
movq 0x36250(%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 0x36202(%rip), %rax     # 0x38f98
movsd (%rax), %xmm0
movq 0x361ff(%rip), %rax     # 0x38fa0
movsd -0x8(%rax), %xmm1
subsd %xmm0, %xmm1
mulsd 0x225e(%rip), %xmm1     # 0x5010
addsd %xmm0, %xmm1
movsd %xmm1, 0xb8(%rsp)
leaq 0x22ed(%rip), %rdi      # 0x50b3
leaq 0x22d9(%rip), %rsi      # 0x50a6
callq 0x21a0
movq %rax, %rbx
testl %r12d, %r12d
jle 0x2dfe
leaq 0x22cd(%rip), %r14      # 0x50ae
movl %r12d, %ebp
movq %rbx, %rdi
movq %r14, %rsi
movsd 0xb8(%rsp), %xmm0
movb $0x1, %al
callq 0x21c0
decl %ebp
jne 0x2de4
movq %rbx, %rdi
callq 0x2140
movq 0x100(%rsp), %rax
movq 0x8(%rax), %rsi
leaq 0x80(%rsp), %rdi
leaq 0x28(%rsp), %rdx
callq 0x329c
leaq 0x2290(%rip), %rcx      # 0x50bb
leaq 0x80(%rsp), %rdi
movl $0xd, %r8d
xorl %esi, %esi
xorl %edx, %edx
callq 0x2180
leaq 0x18(%rsp), %r14
leaq 0x70(%rsp), %r15
movq %r15, 0x60(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x2e6f
movq %rdx, 0x60(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x70(%rsp)
jmp 0x2e78
movupd (%rcx), %xmm0
movupd %xmm0, (%r15)
movq 0x8(%rax), %rdx
leaq 0x60(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x21f3(%rip), %rsi      # 0x508e
callq 0x2270
movq %r14, 0x8(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x2ec3
movq %rdx, 0x8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x18(%rsp)
jmp 0x2ecc
movupd (%rcx), %xmm0
movupd %xmm0, (%r14)
movq 0x8(%rax), %rdx
movq %rdx, 0x10(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x8(%rsp), %rdi
leaq 0x21b6(%rip), %rsi      # 0x50a6
callq 0x21a0
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r14, %rdi
je 0x2f0f
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x2160
movq 0x60(%rsp), %rdi
cmpq %r15, %rdi
je 0x2f26
movq 0x70(%rsp), %rsi
incq %rsi
callq 0x2160
movq 0x80(%rsp), %rdi
leaq 0x90(%rsp), %rax
cmpq %rax, %rdi
je 0x2f4b
movq 0x90(%rsp), %rsi
incq %rsi
callq 0x2160
testl %r12d, %r12d
jle 0x2f82
andl $0x7fffffff, %r12d      # imm = 0x7FFFFFFF
leaq 0x216b(%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 0x2f61
movq %rbx, %rdi
callq 0x2140
movq 0xc0(%rsp), %rdi
testq %rdi, %rdi
je 0x2fa7
movq 0xd0(%rsp), %rsi
subq %rdi, %rsi
callq 0x2160
movq 0xe0(%rsp), %rdi
testq %rdi, %rdi
je 0x2fc4
movq 0xf0(%rsp), %rsi
subq %rdi, %rsi
callq 0x2160
movq 0xa0(%rsp), %rdi
testq %rdi, %rdi
je 0x2fe1
movq 0xb0(%rsp), %rsi
subq %rdi, %rsi
callq 0x2160
movq 0x40(%rsp), %rdi
testq %rdi, %rdi
je 0x2ff8
movq 0x50(%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 %r15d, %ebx
movq 0x40(%rsp), %rax
movslq (%rax,%rbx,4), %rax
leaq (%rax,%rax,2), %rdi
shlq $0x3, %rdi
addq 0x35f59(%rip), %rdi     # 0x38f80
callq 0x2541
movq 0xa0(%rsp), %rax
movslq (%rax,%rbx,4), %rax
leaq (%rax,%rax,2), %rdi
shlq $0x3, %rdi
addq 0x35f39(%rip), %rdi     # 0x38f80
callq 0x2541
movl %r13d, %ebx
movq 0x40(%rsp), %rax
movslq (%rax,%rbx,4), %rax
leaq (%rax,%rax,2), %rdi
shlq $0x3, %rdi
addq 0x35f19(%rip), %rdi     # 0x38f80
callq 0x2541
movq 0xa0(%rsp), %rax
movslq (%rax,%rbx,4), %rax
leaq (%rax,%rax,2), %rdi
shlq $0x3, %rdi
addq 0x35ef9(%rip), %rdi     # 0x38f80
callq 0x2541
xorl %edi, %edi
callq 0x21b0
movq %rax, %r14
movq 0x60(%rsp), %rdi
cmpq %r15, %rdi
je 0x30b2
movq 0x70(%rsp), %rsi
incq %rsi
callq 0x2160
jmp 0x30b2
movq %rax, %r14
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 0x30e9
movq %rax, %r14
jmp 0x3221
jmp 0x31b0
jmp 0x314a
jmp 0x314a
jmp 0x30fc
movq %rax, %r14
jmp 0x3172
jmp 0x3103
movq %rax, %r14
jmp 0x318e
jmp 0x31b0
jmp 0x31b0
movq %rax, %r14
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
jne 0x313d
jmp 0x3221
movq %rax, %r14
movq 0x8(%rsp), %rdi
cmpq %rbx, %rdi
je 0x3221
movq 0x18(%rsp), %rsi
incq %rsi
jmp 0x321c
movq %rax, %r14
movq 0x80(%rsp), %rdi
leaq 0x90(%rsp), %rax
cmpq %rax, %rdi
je 0x3172
movq 0x90(%rsp), %rsi
incq %rsi
callq 0x2160
movq 0x60(%rsp), %rdi
leaq 0x70(%rsp), %rax
cmpq %rax, %rdi
je 0x318e
movq 0x70(%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, %r14
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 0x40(%rsp), %rdi
testq %rdi, %rdi
je 0x3221
movq 0x50(%rsp), %rsi
subq %rdi, %rsi
callq 0x2160
movq %r14, %rdi
callq 0x2240
nop