// File: /workspace/github_cpp_makefile_star2_O3/fjamour[P]icentral/src/experiments.cc
// Function: insertion_test_qube_hash(graph_t&, int, std::vector<std::pair<unsigned int, unsigned int>, std::allocator<std::pair<unsigned int, unsigned int>>>, bool, int)
void insertion_test_qube_hash(graph_t& graph,
        int num_edges_to_insert,
        vector<edge_t> rand_edge_vec,
        bool use_incremental_algo,
        int max_iter)
{
    //1. prepare structures to store the results for each edge 
    //2. generate random edges
    //3. run Brandes and find time
    //4. run update after each edge insertion and record results
    //5. print the results progressively
    //int num_edges_to_insert = 2;
    
    printf("==========================================================\n");
    printf("Graph: \t\t\t%s\n", graph.graph_name.c_str());
    printf("Graph # nodes: \t\t%d\n", graph.size());
    printf("Graph # edges: \t\t%d\n", graph.edge_set.size());
    graph_hash_t g;
    g.fill_graph(graph);
    
    double brandes_time, muc_find_time;
    timer tm;
    
    printf("Brandes runtime: \t");
    tr1_map_t(double) bc_vec;
    tm.start();
    bc_vec = brandes_bc_hash_out(graph, max_iter);
    tm.stop();
    if(max_iter == -1)
        brandes_time = tm.interval();
    else
        brandes_time = (tm.interval()/max_iter)*graph.size();
    printf("%f\n", brandes_time);
    printf("Brandes avg iter time: \t%f\n", brandes_time/graph.size());
    
    printf("# MUCs: \t\t");
    tm.start();
    graph.find_mucs();
    tm.stop();
    muc_find_time = tm.interval();
    printf("%d\n", graph.get_num_mucs());
    printf("Time to find MUCs: \t%f\n", muc_find_time);
    
    //vector<edge_t> rand_edge_vec;
    if(rand_edge_vec.size() == 0) {
        printf("Generating edges...\n");
        gen_rand_edges(num_edges_to_insert, graph, rand_edge_vec);
    }
    vector<edge_stat_t> edge_stat_vec;
    
    double tot_speedup = 0;
    double tot_ideal_speedup = 0;
    
    vector<double> speedup_vec;
    for(int i = 0; i < rand_edge_vec.size(); ++i) {
        edge_t rand_edge = rand_edge_vec[i];
        edge_stat_t edge_stat;
        printf("Adding edge (%d, %d)\n", rand_edge.first, rand_edge.second);
        tm.start();
        graph.insert_edge_update_muc(rand_edge.first, rand_edge.second);
        tm.stop();
        edge_stat.edge_ins_time = tm.interval();

        muc_id_t muc_id = graph.node_to_muc_vec[rand_edge.first];
        edge_stat.muc_num_edges = graph.muc_vec[muc_id].muc_subgraph.edge_set.size();
        edge_stat.muc_num_nodes = graph.muc_vec[muc_id].muc_subgraph.nodes_map.size();
        tr1::unordered_map<node_id_t, double> bc_map;
        tm.start();
        if(!use_incremental_algo) {
            graph.muc_vec[muc_id].compute_bc(bc_map, max_iter);
        } else {
            graph.muc_vec[muc_id].compute_bc_inc(bc_map, rand_edge.first, rand_edge.second);
        }
        tm.stop();
        if(max_iter == -1)
            edge_stat.muc_bc_update_time = tm.interval();
        else
            edge_stat.muc_bc_update_time = (tm.interval()/max_iter)*edge_stat.muc_num_nodes;
        //TMP CODE XXX FIX THIS SHIT
        edge_stat.muc_bc_update_time += edge_stat.edge_ins_time;
        ////
        
        double speedup = brandes_time/edge_stat.muc_bc_update_time;
        tot_speedup += speedup;
        speedup_vec.push_back(speedup);
        //estimating ideal speedup using the node and edge proportions
        double ideal_speedup;
        double V  = graph.size(); double E = graph.edge_set.size();
        double Vm = edge_stat.muc_num_nodes; double Em = edge_stat.muc_num_edges;
        ideal_speedup = ((V+E)/(Vm+Em))*(V/Vm);
        tot_ideal_speedup += ideal_speedup;
        ////
        
        printf("\tMUC # nodes: \t\t%d (%f G_n)\n",
                edge_stat.muc_num_nodes,
                edge_stat.muc_num_nodes/(double)graph.size());
        printf("\tMUC # edges: \t\t%d (%f G_M)\n",
                edge_stat.muc_num_edges,
                edge_stat.muc_num_edges/(double)graph.edge_set.size());
        printf("\n");
        printf("\tTime to update BC: \t%f\n", edge_stat.muc_bc_update_time);
        printf("\tSpeedup: \t\t%f (Ideal: %f)\n", speedup, ideal_speedup);
        printf("\n");
        printf("\tQUBE avg iter time: \t%f\n",
                edge_stat.muc_bc_update_time/edge_stat.muc_num_nodes);
        printf("\tTime to update MUCs: \t%f\n", edge_stat.edge_ins_time);

        edge_stat_vec.push_back(edge_stat);
    }
    
    double avg_speedup = tot_speedup/num_edges_to_insert;
    double avg_ideal_speedup = tot_ideal_speedup/num_edges_to_insert;
    printf("[[Average speedup: %f (Ideal: %f)]]\n",
        avg_speedup,
        avg_ideal_speedup);
    
    //calculating 95% confidence interval
    double s_mean, s_median, s_stddev, s_min, s_max;
    simple_stats(speedup_vec, s_mean, s_stddev, s_median, s_min, s_max);
    double diff = 1.96*s_stddev/sqrt(num_edges_to_insert);
    double v1 = s_mean - diff;
    double v2 = s_mean + diff;
    printf("[[Speedup 95 CI: %f - %f]]\n", v1, v2);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x418, %rsp            # imm = 0x418
movl %r8d, %r14d
movl %ecx, 0x9c(%rsp)
movq %rdx, 0x68(%rsp)
movl %esi, %ebp
movq %rdi, %r12
leaq 0x193ec(%rip), %rdi     # 0x30b40
callq 0x2350
movq 0x108(%r12), %rsi
leaq 0x18ae8(%rip), %rdi     # 0x30250
xorl %eax, %eax
callq 0x2030
movq %r12, %rdi
callq 0x1dfcc
leaq 0x18ae0(%rip), %rdi     # 0x3025e
movq %rax, %rsi
xorl %eax, %eax
callq 0x2030
movq 0x58(%r12), %rsi
leaq 0x18adf(%rip), %rdi     # 0x30273
xorl %eax, %eax
callq 0x2030
leaq 0x170(%rsp), %rbx
movq %rbx, %rdi
callq 0x152ae
movq %rbx, %rdi
movq %r12, %rsi
callq 0x1cf40
leaq 0x18acb(%rip), %rdi     # 0x30288
xorl %eax, %eax
callq 0x2030
leaq 0xc0(%rsp), %rax
leaq 0x80(%rsp), %r10
leaq 0x140(%rsp), %rdi
leaq 0x30(%rsp), %rdx
leaq 0x100(%rsp), %rcx
leaq 0xa0(%rsp), %r8
leaq 0x8(%rsp), %r9
movl $0xa, %esi
pushq %rax
pushq %r10
callq 0xddfc
addq $0x10, %rsp
leaq 0x10(%rsp), %rdi
xorl %esi, %esi
callq 0x2360
leaq 0x100(%rsp), %rdi
movq %r12, %rsi
movl %r14d, %edx
callq 0xb162
leaq 0x140(%rsp), %rdi
leaq 0x100(%rsp), %rsi
callq 0x1b390
leaq 0x100(%rsp), %rdi
callq 0xd912
leaq 0x20(%rsp), %rbx
movq %rbx, %rdi
xorl %esi, %esi
callq 0x2360
movq -0x10(%rbx), %rbx
cvtsi2sd %r14d, %xmm0
movsd %xmm0, 0xb8(%rsp)
movl %r14d, 0x4c(%rsp)
cmpl $-0x1, %r14d
je 0x178f9
movq 0x18(%rsp), %r14
movq 0x20(%rsp), %r15
movq 0x28(%rsp), %r13
movq %r12, %rdi
callq 0x1dfcc
xorps %xmm0, %xmm0
cvtsi2sd %r13, %xmm0
movsd 0x18901(%rip), %xmm1    # 0x301a0
divsd %xmm1, %xmm0
cvtsi2sd %r15, %xmm2
cvtsi2sd %r14, %xmm3
addsd %xmm0, %xmm2
divsd %xmm1, %xmm3
xorps %xmm0, %xmm0
cvtsi2sd %rbx, %xmm0
addsd %xmm3, %xmm0
subsd %xmm0, %xmm2
divsd 0xb8(%rsp), %xmm2
movq %rax, %xmm0
punpckldq 0x18945(%rip), %xmm0 # xmm0 = xmm0[0],mem[0],xmm0[1],mem[1]
subpd 0x1894d(%rip), %xmm0    # 0x30230
movapd %xmm0, %xmm1
unpckhpd %xmm0, %xmm1            # xmm1 = xmm1[1],xmm0[1]
addsd %xmm0, %xmm1
movapd %xmm1, %xmm0
mulsd %xmm2, %xmm0
jmp 0x17936
xorps %xmm0, %xmm0
cvtsi2sd %rbx, %xmm0
cvtsi2sdq 0x18(%rsp), %xmm1
movsd 0x18890(%rip), %xmm2    # 0x301a0
divsd %xmm2, %xmm1
cvtsi2sdq 0x20(%rsp), %xmm3
cvtsi2sdq 0x28(%rsp), %xmm4
addsd %xmm0, %xmm1
movapd %xmm4, %xmm0
divsd %xmm2, %xmm0
addsd %xmm3, %xmm0
subsd %xmm1, %xmm0
leaq 0x18b1d(%rip), %rdi     # 0x3045a
movapd %xmm0, 0xf0(%rsp)
movb $0x1, %al
callq 0x2030
movq %r12, %rdi
callq 0x1dfcc
movq %rax, %xmm0
punpckldq 0x188be(%rip), %xmm0 # xmm0 = xmm0[0],mem[0],xmm0[1],mem[1]
subpd 0x188c6(%rip), %xmm0    # 0x30230
movapd %xmm0, %xmm1
unpckhpd %xmm0, %xmm1            # xmm1 = xmm1[1],xmm0[1]
addsd %xmm0, %xmm1
movapd 0xf0(%rsp), %xmm0
divsd %xmm1, %xmm0
leaq 0x189cf(%rip), %rdi     # 0x30359
movb $0x1, %al
callq 0x2030
leaq 0x18903(%rip), %rdi     # 0x3029b
xorl %eax, %eax
callq 0x2030
leaq 0x10(%rsp), %rdi
xorl %esi, %esi
callq 0x2360
movq %r12, %rdi
callq 0x28006
leaq 0x20(%rsp), %rdi
xorl %esi, %esi
callq 0x2360
movq 0x10(%rsp), %rbx
movq 0x18(%rsp), %r14
movq 0x20(%rsp), %r15
movq 0x28(%rsp), %r13
movq %r12, %rdi
callq 0x2872a
xorps %xmm0, %xmm0
cvtsi2sd %r13, %xmm0
movsd 0x187b5(%rip), %xmm1    # 0x301a0
divsd %xmm1, %xmm0
xorps %xmm2, %xmm2
cvtsi2sd %r15, %xmm2
addsd %xmm0, %xmm2
xorps %xmm0, %xmm0
cvtsi2sd %r14, %xmm0
divsd %xmm1, %xmm0
xorps %xmm1, %xmm1
cvtsi2sd %rbx, %xmm1
addsd %xmm0, %xmm1
subsd %xmm1, %xmm2
movsd %xmm2, 0x50(%rsp)
leaq 0x18904(%rip), %rdi     # 0x30328
movq %rax, %rsi
xorl %eax, %eax
callq 0x2030
leaq 0x18871(%rip), %rdi     # 0x302a6
movsd 0x50(%rsp), %xmm0
movb $0x1, %al
callq 0x2030
movq 0x68(%rsp), %rcx
movq (%rcx), %rax
movq 0x8(%rcx), %rcx
cmpq %rax, %rcx
jne 0x17a7a
leaq 0x190d2(%rip), %rdi     # 0x30b2c
callq 0x2350
movl %ebp, %edi
movq %r12, %rsi
movq 0x68(%rsp), %rdx
callq 0x16ecd
movq 0x68(%rsp), %rcx
movq (%rcx), %rax
movq 0x8(%rcx), %rcx
movl %ebp, 0x98(%rsp)
xorpd %xmm0, %xmm0
movapd %xmm0, 0xa0(%rsp)
xorl %edx, %edx
movq %rdx, 0xb0(%rsp)
movq %rdx, 0x90(%rsp)
movapd %xmm0, 0x80(%rsp)
xorpd %xmm0, %xmm0
cmpq %rax, %rcx
je 0x17ee2
movsd %xmm0, 0x78(%rsp)
leaq 0x100(%rsp), %r14
movsd %xmm0, 0x70(%rsp)
xorl %r15d, %r15d
movl (%rax,%r15,8), %r13d
movl 0x4(%rax,%r15,8), %ebp
leaq 0x187e1(%rip), %rdi     # 0x302be
movl %r13d, %esi
movl %ebp, %edx
xorl %eax, %eax
callq 0x2030
leaq 0x10(%rsp), %rdi
xorl %esi, %esi
callq 0x2360
movq %r12, %rdi
movl %r13d, %esi
movl %ebp, %edx
callq 0x2851e
leaq 0x20(%rsp), %rdi
xorl %esi, %esi
callq 0x2360
xorps %xmm0, %xmm0
cvtsi2sdq 0x10(%rsp), %xmm0
xorps %xmm1, %xmm1
cvtsi2sdq 0x18(%rsp), %xmm1
movsd 0x18676(%rip), %xmm3    # 0x301a0
divsd %xmm3, %xmm1
addsd %xmm0, %xmm1
xorps %xmm0, %xmm0
cvtsi2sdq 0x20(%rsp), %xmm0
xorps %xmm2, %xmm2
cvtsi2sdq 0x28(%rsp), %xmm2
divsd %xmm3, %xmm2
addsd %xmm0, %xmm2
subsd %xmm1, %xmm2
movsd %xmm2, 0x30(%rsp)
movq 0x18(%r12), %rax
movq 0x60(%r12), %rcx
movl (%rax,%r13,4), %eax
imulq $0x568, %rax, %rbx      # imm = 0x568
movl 0xb8(%rcx,%rbx), %eax
movl %eax, 0x44(%rsp)
movl 0x78(%rcx,%rbx), %eax
movl %eax, 0x40(%rsp)
movl $0xa, %esi
movq %r14, %rdi
leaq 0x7(%rsp), %rdx
leaq 0x8(%rsp), %rcx
leaq 0xc0(%rsp), %r8
leaq 0x6(%rsp), %r9
leaq 0x5(%rsp), %rax
pushq %rax
leaq 0xf0(%rsp), %rax
pushq %rax
callq 0xddfc
addq $0x10, %rsp
leaq 0x10(%rsp), %rdi
xorl %esi, %esi
callq 0x2360
addq 0x60(%r12), %rbx
cmpb $0x0, 0x9c(%rsp)
je 0x17bee
movq %rbx, %rdi
movq %r14, %rsi
movl %r13d, %edx
movl %ebp, %ecx
movl $0xffffffff, %r8d       # imm = 0xFFFFFFFF
callq 0x296d2
movl 0x4c(%rsp), %ebx
jmp 0x17bff
movq %rbx, %rdi
movq %r14, %rsi
movl 0x4c(%rsp), %ebx
movl %ebx, %edx
callq 0x28770
leaq 0x20(%rsp), %rdi
xorl %esi, %esi
callq 0x2360
xorps %xmm0, %xmm0
cvtsi2sdq 0x10(%rsp), %xmm0
xorps %xmm1, %xmm1
cvtsi2sdq 0x18(%rsp), %xmm1
movsd 0x18579(%rip), %xmm3    # 0x301a0
divsd %xmm3, %xmm1
addsd %xmm0, %xmm1
xorps %xmm2, %xmm2
cvtsi2sdq 0x20(%rsp), %xmm2
xorps %xmm0, %xmm0
cvtsi2sdq 0x28(%rsp), %xmm0
divsd %xmm3, %xmm0
addsd %xmm2, %xmm0
subsd %xmm1, %xmm0
cmpl $-0x1, %ebx
je 0x17c6a
divsd 0xb8(%rsp), %xmm0
xorps %xmm1, %xmm1
cvtsi2sdl 0x40(%rsp), %xmm1
mulsd %xmm1, %xmm0
addsd 0x30(%rsp), %xmm0
movsd %xmm0, 0x38(%rsp)
movapd 0xf0(%rsp), %xmm1
divsd %xmm0, %xmm1
movsd %xmm1, 0x8(%rsp)
movq 0x88(%rsp), %rsi
cmpq 0x90(%rsp), %rsi
movsd %xmm1, 0xc8(%rsp)
je 0x17cb6
movsd %xmm1, (%rsi)
addq $0x8, %rsi
movq %rsi, 0x88(%rsp)
jmp 0x17cc8
leaq 0x80(%rsp), %rdi
leaq 0x8(%rsp), %rdx
callq 0x1b766
movq %r12, %rdi
callq 0x1dfcc
movq %rax, %rbx
movsd 0x58(%r12), %xmm0
movaps %xmm0, 0x130(%rsp)
movl 0x40(%rsp), %ebp
xorps %xmm0, %xmm0
cvtsi2sdl 0x44(%rsp), %xmm0
movsd %xmm0, 0x50(%rsp)
movq %r12, %rdi
callq 0x1dfcc
movq %rbx, %xmm0
movq 0x18516(%rip), %xmm3    # 0x30220
punpckldq %xmm3, %xmm0    # xmm0 = xmm0[0],xmm3[0],xmm0[1],xmm3[1]
movapd 0x1851a(%rip), %xmm1    # 0x30230
subpd %xmm1, %xmm0
movapd %xmm0, %xmm2
unpckhpd %xmm0, %xmm2            # xmm2 = xmm2[1],xmm0[1]
addsd %xmm0, %xmm2
movdqa 0x130(%rsp), %xmm0
punpckldq %xmm3, %xmm0    # xmm0 = xmm0[0],xmm3[0],xmm0[1],xmm3[1]
subpd %xmm1, %xmm0
movapd %xmm1, %xmm4
movapd %xmm0, %xmm1
unpckhpd %xmm0, %xmm1            # xmm1 = xmm1[1],xmm0[1]
addsd %xmm0, %xmm1
xorps %xmm0, %xmm0
cvtsi2sd %ebp, %xmm0
addsd %xmm2, %xmm1
movsd 0x50(%rsp), %xmm5
addsd %xmm0, %xmm5
divsd %xmm5, %xmm1
divsd %xmm0, %xmm2
mulsd %xmm1, %xmm2
movapd %xmm2, 0x50(%rsp)
movq %rax, %xmm1
punpckldq %xmm3, %xmm1    # xmm1 = xmm1[0],xmm3[0],xmm1[1],xmm3[1]
subpd %xmm4, %xmm1
movapd %xmm1, %xmm2
unpckhpd %xmm1, %xmm2            # xmm2 = xmm2[1],xmm1[1]
addsd %xmm1, %xmm2
divsd %xmm2, %xmm0
leaq 0x185e3(%rip), %rdi     # 0x30375
movl %ebp, %esi
movb $0x1, %al
callq 0x2030
movl 0x44(%rsp), %esi
xorps %xmm0, %xmm0
cvtsi2sd %esi, %xmm0
movsd 0x58(%r12), %xmm1
unpcklps 0x1846c(%rip), %xmm1    # xmm1 = xmm1[0],mem[0],xmm1[1],mem[1]
subpd 0x18474(%rip), %xmm1    # 0x30230
movapd %xmm1, %xmm2
unpckhpd %xmm1, %xmm2            # xmm2 = xmm2[1],xmm1[1]
addsd %xmm1, %xmm2
divsd %xmm2, %xmm0
leaq 0x185bf(%rip), %rdi     # 0x30392
movb $0x1, %al
callq 0x2030
movl $0xa, %edi
callq 0x22f0
movsd 0x38(%rsp), %xmm0
leaq 0x184fe(%rip), %rdi     # 0x302ef
movb $0x1, %al
callq 0x2030
movsd 0x8(%rsp), %xmm0
leaq 0x185aa(%rip), %rdi     # 0x303af
movaps 0x50(%rsp), %xmm1
movb $0x2, %al
callq 0x2030
movl $0xa, %edi
callq 0x22f0
movsd 0x38(%rsp), %xmm0
xorps %xmm1, %xmm1
cvtsi2sdl 0x40(%rsp), %xmm1
divsd %xmm1, %xmm0
leaq 0x18596(%rip), %rdi     # 0x303cb
movb $0x1, %al
callq 0x2030
movsd 0x30(%rsp), %xmm0
leaq 0x1848b(%rip), %rdi     # 0x302d4
movb $0x1, %al
callq 0x2030
movq 0xa8(%rsp), %rsi
cmpq 0xb0(%rsp), %rsi
je 0x17e80
movq 0x40(%rsp), %rax
movq %rax, 0x10(%rsi)
movupd 0x30(%rsp), %xmm0
movupd %xmm0, (%rsi)
addq $0x18, 0xa8(%rsp)
jmp 0x17e92
leaq 0xa0(%rsp), %rdi
leaq 0x30(%rsp), %rdx
callq 0x1b5ee
movsd 0x78(%rsp), %xmm0
addsd 0xc8(%rsp), %xmm0
movsd %xmm0, 0x78(%rsp)
movsd 0x70(%rsp), %xmm0
addsd 0x50(%rsp), %xmm0
movsd %xmm0, 0x70(%rsp)
movq %r14, %rdi
callq 0xd912
incq %r15
movq 0x68(%rsp), %rcx
movq (%rcx), %rax
movq 0x8(%rcx), %rcx
subq %rax, %rcx
sarq $0x3, %rcx
cmpq %r15, %rcx
ja 0x17acd
jmp 0x17eee
movsd %xmm0, 0x70(%rsp)
movsd %xmm0, 0x78(%rsp)
xorps %xmm2, %xmm2
cvtsi2sdl 0x98(%rsp), %xmm2
movsd 0x78(%rsp), %xmm0
divsd %xmm2, %xmm0
movsd 0x70(%rsp), %xmm1
movsd %xmm2, 0x50(%rsp)
divsd %xmm2, %xmm1
leaq 0x184ca(%rip), %rdi     # 0x303e5
movb $0x2, %al
callq 0x2030
leaq 0xd0(%rsp), %rdi
leaq 0x80(%rsp), %rsi
callq 0x1b2b8
leaq 0xd0(%rsp), %rdi
leaq 0x100(%rsp), %rsi
leaq 0x8(%rsp), %rdx
leaq 0x30(%rsp), %rcx
leaq 0xc0(%rsp), %r8
leaq 0xe8(%rsp), %r9
callq 0x2f758
movq 0xd0(%rsp), %rdi
testq %rdi, %rdi
je 0x17f83
movq 0xe0(%rsp), %rsi
subq %rdi, %rsi
callq 0x2250
movsd 0x8(%rsp), %xmm1
mulsd 0x1825f(%rip), %xmm1    # 0x301f0
xorpd %xmm0, %xmm0
movsd 0x50(%rsp), %xmm2
ucomisd %xmm0, %xmm2
movapd %xmm2, %xmm0
jb 0x17fab
sqrtsd %xmm0, %xmm0
jmp 0x17fbc
movsd %xmm1, 0x50(%rsp)
callq 0x21d0
movsd 0x50(%rsp), %xmm1
divsd %xmm0, %xmm1
movsd 0x100(%rsp), %xmm2
movapd %xmm2, %xmm0
subsd %xmm1, %xmm0
addsd %xmm2, %xmm1
leaq 0x1842e(%rip), %rdi     # 0x3040a
movb $0x2, %al
callq 0x2030
movq 0x80(%rsp), %rdi
testq %rdi, %rdi
je 0x18000
movq 0x90(%rsp), %rsi
subq %rdi, %rsi
callq 0x2250
movq 0xa0(%rsp), %rdi
testq %rdi, %rdi
je 0x1801d
movq 0xb0(%rsp), %rsi
subq %rdi, %rsi
callq 0x2250
leaq 0x140(%rsp), %rdi
callq 0xd912
leaq 0x170(%rsp), %rdi
callq 0x15650
addq $0x418, %rsp            # imm = 0x418
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq 0xd0(%rsp), %rdi
testq %rdi, %rdi
je 0x180aa
movq 0xe0(%rsp), %rsi
subq %rdi, %rsi
callq 0x2250
jmp 0x180aa
jmp 0x18091
movq %rax, %rbx
leaq 0x100(%rsp), %rdi
callq 0xd912
jmp 0x180e4
jmp 0x18088
jmp 0x18083
movq %rax, %rbx
jmp 0x180f1
movq %rax, %rbx
jmp 0x180e4
jmp 0x1809a
jmp 0x18091
movq %rax, %rbx
jmp 0x180aa
jmp 0x1809a
jmp 0x1809a
movq %rax, %rbx
leaq 0x100(%rsp), %rdi
callq 0xd912
movq 0x80(%rsp), %rdi
testq %rdi, %rdi
je 0x180c7
movq 0x90(%rsp), %rsi
subq %rdi, %rsi
callq 0x2250
movq 0xa0(%rsp), %rdi
testq %rdi, %rdi
je 0x180e4
movq 0xb0(%rsp), %rsi
subq %rdi, %rsi
callq 0x2250
leaq 0x140(%rsp), %rdi
callq 0xd912
leaq 0x170(%rsp), %rdi
callq 0x15650
movq %rbx, %rdi
callq 0x23b0