// File: /workspace/github_cpp_makefile_star2_O3/SneachChea[P]Wolf-Monte-Carlo-Cpp/main.cpp
// Function: main
int main(int argc, const char * argv[]) {
    const parameters params = get_params();
    model mod(params.L, params.Ntrials);
    std::random_device rd;
    std::mt19937 gen(rd());
    std::uniform_int_distribution<> dis(0, mod.get_N()-1);
    std::uniform_real_distribution<> dis_real(0, 1);

    d_vector magnetization(mod.get_Ntrials());
    d_vector tNum = linspace(params.Tmin, params.Tmax, params.nT, true);
    d_vector meanMag(tNum.size());
    i_vector pocket, cluster;
    i_vector S(mod.get_N());
    double beta;
    double p;
    int k, s;
    std::ofstream txt;
    txt.open("magnetization_L"+std::to_string(mod.get_L())+"_Ntrials"+std::to_string(mod.get_Ntrials())+".dat");

    for(size_t i = 0; i<tNum.size();i++)
    {
        std::cout<<"Temperature ="<<tNum[i]<<std::endl;
        beta = 1./tNum[i];
        p = 1.- std::exp(-2*beta);
        initLattice(S);
        for(size_t j = 0; j<mod.get_Ntrials();j++)
        {
            k = dis(gen);
            pocket.push_back(k);
            cluster.push_back(k);
            while(pocket.size()!=0)
            {
                s = randomChoice(pocket);
                for(int k =0; k<4;k++)
                {
                    if(S[mod.get_nbr(s, k)]==S[s])
                    {
                        if(!isInVector(cluster,mod.get_nbr(s, k)))
                        {
                            if(dis_real(gen)<p)
                            {
                                pocket.push_back(mod.get_nbr(s, k));
                                cluster.push_back(mod.get_nbr(s, k));
                            }
                        }
                    }
                }
                pocket.erase(std::remove(pocket.begin(), pocket.end(), s), pocket.end());
            }
            for(size_t l=0; l<cluster.size();l++)
            {
                S[cluster[l]] = -S[cluster[l]];
            }
            cluster.resize(0);
            magnetization[j] = std::abs(std::accumulate(S.begin(), S.end(), 0.0));
        } 
        meanMag[i] = std::accumulate(magnetization.begin(), magnetization.end(), 0)/(1.*mod.get_Ntrials()*mod.get_N());
    }
     // */
    for(size_t i =0; i<tNum.size();i++)
    {
        txt<<tNum[i]<<"\t"<<meanMag[i]<<std::endl;
    }
    txt.close();
    std::cout<<"Done !"<<std::endl;

    return 0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x2b68, %rsp           # imm = 0x2B68
leaq 0x238(%rsp), %rbx
movq %rbx, %rdi
callq 0x4b0c
movl (%rbx), %esi
movl 0x4(%rbx), %edx
leaq 0x1b0(%rsp), %rdi
callq 0x329a
leaq 0x17e0(%rsp), %rdi
callq 0x333e
leaq 0x17e0(%rsp), %rdi
callq 0x22a0
movl $0x1, %ecx
movl %eax, %eax
movq %rax, 0x458(%rsp)
movq %rax, %rdx
shrq $0x1e, %rdx
xorl %eax, %edx
imull $0x6c078965, %edx, %eax # imm = 0x6C078965
addl %ecx, %eax
movq %rax, 0x458(%rsp,%rcx,8)
incq %rcx
cmpq $0x270, %rcx            # imm = 0x270
jne 0x25e8
movl 0x1b4(%rsp), %eax
movslq 0x1b8(%rsp), %rsi
movq $0x270, 0x17d8(%rsp) # imm = 0x270
movl $0x0, 0x88(%rsp)
decl %eax
movl %eax, 0x8c(%rsp)
leaq 0x160(%rsp), %rdi
leaq 0x258(%rsp), %rdx
callq 0x33a8
vmovsd 0x248(%rsp), %xmm0
vmovsd 0x250(%rsp), %xmm1
movl 0x240(%rsp), %esi
leaq 0x58(%rsp), %rdi
movl $0x1, %edx
callq 0x4630
movq 0x60(%rsp), %rsi
subq 0x58(%rsp), %rsi
sarq $0x3, %rsi
leaq 0x178(%rsp), %rdi
leaq 0x258(%rsp), %rdx
callq 0x33a8
movslq 0x1b4(%rsp), %rsi
vxorpd %xmm0, %xmm0, %xmm0
xorl %eax, %eax
movq %rax, 0x20(%rsp)
movq %rax, 0x40(%rsp)
vmovapd %xmm0, 0x10(%rsp)
vmovapd %xmm0, 0x30(%rsp)
leaq 0xb0(%rsp), %rdi
leaq 0x258(%rsp), %rdx
callq 0x3438
leaq 0x258(%rsp), %rdi
callq 0x2340
movl 0x1b0(%rsp), %ebx
movl $0x1, %r14d
movl %ebx, %ebp
negl %ebp
cmovsl %ebx, %ebp
cmpl $0xa, %ebp
jb 0x2744
movl $0x4, %r14d
movl $0xd1b71759, %eax       # imm = 0xD1B71759
movl %ebp, %ecx
cmpl $0x63, %ecx
jbe 0x273b
cmpl $0x3e7, %ecx            # imm = 0x3E7
jbe 0x2741
cmpl $0x2710, %ecx           # imm = 0x2710
jb 0x2744
movl %ecx, %edx
imulq %rax, %rdx
addl $0x4, %r14d
shrq $0x2d, %rdx
cmpl $0x1869f, %ecx          # imm = 0x1869F
movl %edx, %ecx
ja 0x2708
addl $-0x3, %r14d
jmp 0x2744
addl $-0x2, %r14d
jmp 0x2744
decl %r14d
shrl $0x1f, %ebx
leaq 0x1a0(%rsp), %r12
leal (%r14,%rbx), %esi
movq %r12, -0x10(%r12)
leaq 0x190(%rsp), %rdi
movl $0x2d, %edx
callq 0x2270
leaq 0x190(%rsp), %r15
movl %r14d, %esi
movl %ebp, %edx
addq (%r15), %rbx
movq %rbx, %rdi
callq 0x38d1
leaq 0x3943(%rip), %rcx      # 0x60cc
movl $0xf, %r8d
movq %r15, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x2240
leaq 0x150(%rsp), %rsi
movq %rax, %rcx
addq $0x10, %rcx
movq %rsi, -0x10(%rsi)
movq (%rax), %rdx
cmpq %rcx, %rdx
je 0x27cb
movq %rdx, 0x140(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x150(%rsp)
jmp 0x27d3
vmovupd (%rcx), %xmm0
vmovupd %xmm0, (%rsi)
movq 0x8(%rax), %rdx
leaq 0x140(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x38e3(%rip), %rsi      # 0x60dc
callq 0x2380
leaq 0xd8(%rsp), %r13
movq %rax, %rcx
addq $0x10, %rcx
movq %r13, -0x10(%r13)
movq (%rax), %rdx
cmpq %rcx, %rdx
je 0x282e
movq %rdx, 0xc8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0xd8(%rsp)
jmp 0x2838
vmovupd (%rcx), %xmm0
vmovupd %xmm0, (%r13)
movq 0x8(%rax), %rdx
movl $0x1, %r14d
movq %rdx, 0xd0(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movl 0x1b8(%rsp), %ebx
movl %ebx, %ebp
negl %ebp
cmovsl %ebx, %ebp
cmpl $0xa, %ebp
jb 0x28b5
movl $0x4, %r14d
movl $0xd1b71759, %eax       # imm = 0xD1B71759
movl %ebp, %ecx
cmpl $0x63, %ecx
jbe 0x28ac
cmpl $0x3e7, %ecx            # imm = 0x3E7
jbe 0x28b2
cmpl $0x2710, %ecx           # imm = 0x2710
jb 0x28b5
movl %ecx, %edx
imulq %rax, %rdx
addl $0x4, %r14d
shrq $0x2d, %rdx
cmpl $0x1869f, %ecx          # imm = 0x1869F
movl %edx, %ecx
ja 0x2879
addl $-0x3, %r14d
jmp 0x28b5
addl $-0x2, %r14d
jmp 0x28b5
decl %r14d
movq %r12, %r15
shrl $0x1f, %ebx
leaq 0x118(%rsp), %r12
leal (%r14,%rbx), %esi
movq %r12, -0x10(%r12)
leaq 0x108(%rsp), %rdi
movl $0x2d, %edx
callq 0x2270
addq 0x108(%rsp), %rbx
movl %r14d, %esi
movl %ebp, %edx
movq %rbx, %rdi
callq 0x38d1
movq 0xd0(%rsp), %r8
movq 0x110(%rsp), %rdx
movq 0xc8(%rsp), %rcx
movl $0xf, %edi
leaq (%rdx,%r8), %rax
cmpq %r13, %rcx
je 0x2921
movq 0xd8(%rsp), %rdi
movq 0x108(%rsp), %rsi
cmpq %rdi, %rax
jbe 0x2945
movl $0xf, %edi
cmpq %r12, %rsi
je 0x2940
movq 0x118(%rsp), %rdi
cmpq %rdi, %rax
jbe 0x2954
leaq 0xc8(%rsp), %rdi
callq 0x20a0
jmp 0x2965
leaq 0x108(%rsp), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x2240
leaq 0xa0(%rsp), %rdx
leaq 0x10(%rax), %rcx
movq %rdx, -0x10(%rdx)
movq (%rax), %rsi
cmpq %rcx, %rsi
je 0x2992
movq %rsi, 0x90(%rsp)
movq (%rcx), %rdx
movq %rdx, 0xa0(%rsp)
jmp 0x299a
vmovupd (%rcx), %xmm0
vmovupd %xmm0, (%rdx)
movq 0x8(%rax), %rsi
movq %rax, %rdx
addq $0x8, %rdx
movq %rsi, 0x98(%rsp)
movq %rcx, (%rax)
movq $0x0, (%rdx)
movb $0x0, (%rcx)
leaq 0x3984(%rip), %rsi      # 0x6345
leaq 0x90(%rsp), %rdi
callq 0x2380
leaq 0xf8(%rsp), %r14
movq %rax, %rcx
addq $0x10, %rcx
movq %r14, -0x10(%r14)
movq (%rax), %rdx
cmpq %rcx, %rdx
je 0x29fe
movq %rdx, 0xe8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0xf8(%rsp)
jmp 0x2a07
vmovupd (%rcx), %xmm0
vmovupd %xmm0, (%r14)
movq 0x8(%rax), %rdx
leaq 0xe8(%rsp), %rsi
movq %rdx, 0x8(%rsi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x258(%rsp), %rdi
movl $0x10, %edx
callq 0x20e0
movq 0xe8(%rsp), %rdi
cmpq %r14, %rdi
je 0x2a4a
callq 0x2200
leaq 0xa0(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x2a60
callq 0x2200
movq 0x108(%rsp), %rdi
cmpq %r12, %rdi
je 0x2a72
callq 0x2200
movq 0xc8(%rsp), %rdi
cmpq %r13, %rdi
je 0x2a84
callq 0x2200
movq 0x140(%rsp), %rdi
leaq 0x150(%rsp), %rax
cmpq %rax, %rdi
je 0x2a9e
callq 0x2200
movq 0x190(%rsp), %rdi
cmpq %r15, %rdi
je 0x2ab0
callq 0x2200
movq 0x58(%rsp), %rax
movq 0x60(%rsp), %rcx
cmpq %rax, %rcx
je 0x2ed8
leaq 0x220(%rsp), %r15
leaq 0x1b0(%rsp), %r14
leaq 0xe8(%rsp), %rbx
movq $0x0, 0x50(%rsp)
movq 0x64ed(%rip), %rdi      # 0x8fd8
movl $0xd, %edx
leaq 0x35ee(%rip), %rsi      # 0x60e5
callq 0x2260
movq 0x58(%rsp), %rax
movq 0x50(%rsp), %rcx
vmovsd (%rax,%rcx,8), %xmm0
movq 0x64c6(%rip), %rdi      # 0x8fd8
callq 0x2300
movq %rax, %rbp
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbp, %rdi
movl $0xa, %esi
callq 0x2210
movsbl %al, %esi
movq %rbp, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x2160
movq 0x58(%rsp), %rax
movq 0x50(%rsp), %rcx
vmovsd 0x34b5(%rip), %xmm0     # 0x6008
vdivsd (%rax,%rcx,8), %xmm0, %xmm0
vmulsd 0x34b0(%rip), %xmm0, %xmm0 # 0x6010
callq 0x2360
vmovsd %xmm0, 0x70(%rsp)
leaq 0xb0(%rsp), %rdi
callq 0x47b0
cmpl $0x0, 0x1b8(%rsp)
vxorpd %xmm0, %xmm0, %xmm0
vmovsd %xmm0, 0x78(%rsp)
je 0x2e54
vmovsd 0x3470(%rip), %xmm0     # 0x6008
movq $0x0, 0x80(%rsp)
vsubsd 0x70(%rsp), %xmm0, %xmm0
vmovsd %xmm0, 0x70(%rsp)
leaq 0x88(%rsp), %rdi
leaq 0x458(%rsp), %rsi
movq %rdi, %rdx
callq 0x3976
movq 0x18(%rsp), %rsi
movl %eax, 0xc(%rsp)
cmpq 0x20(%rsp), %rsi
je 0x2be5
movl %eax, (%rsi)
addq $0x4, %rsi
movq %rsi, 0x18(%rsp)
jmp 0x2bf4
leaq 0x10(%rsp), %rdi
leaq 0xc(%rsp), %rdx
callq 0x3c44
movq 0x38(%rsp), %rsi
cmpq 0x40(%rsp), %rsi
je 0x2c11
movl 0xc(%rsp), %eax
movl %eax, (%rsi)
addq $0x4, %rsi
movq %rsi, 0x38(%rsp)
jmp 0x2c20
leaq 0x30(%rsp), %rdi
leaq 0xc(%rsp), %rdx
callq 0x3c44
movq 0x18(%rsp), %rax
cmpq 0x10(%rsp), %rax
je 0x2dae
leaq 0x10(%rsp), %rsi
movq %r15, %rdi
callq 0x35be
movq %r15, %rdi
callq 0x34c7
movq 0x220(%rsp), %rdi
movl %eax, 0x8(%rsp)
testq %rdi, %rdi
je 0x2c5b
callq 0x2200
xorl %ebp, %ebp
movl 0x8(%rsp), %esi
movq %r14, %rdi
movl %ebp, %edx
callq 0x42ee
movq 0xb0(%rsp), %rcx
movslq 0x8(%rsp), %rdx
cltq
movl (%rcx,%rax,4), %eax
cmpl (%rcx,%rdx,4), %eax
jne 0x2d7a
leaq 0x128(%rsp), %rdi
leaq 0x30(%rsp), %rsi
callq 0x35be
movl 0x8(%rsp), %esi
movq %r14, %rdi
movl %ebp, %edx
callq 0x42ee
movq 0x128(%rsp), %rdi
movq 0x130(%rsp), %rsi
movl %eax, 0xe8(%rsp)
movq %rbx, %rdx
callq 0x3d53
movq 0x128(%rsp), %rdi
movq 0x130(%rsp), %r13
movq %rax, %r12
testq %rdi, %rdi
je 0x2ce2
callq 0x2200
cmpq %r13, %r12
jne 0x2d7a
leaq 0x458(%rsp), %rdi
callq 0x3df8
vmovsd 0x70(%rsp), %xmm1
vucomisd %xmm0, %xmm1
jbe 0x2d7a
movl 0x8(%rsp), %esi
movq %r14, %rdi
movl %ebp, %edx
callq 0x42ee
movq 0x18(%rsp), %rsi
movl %eax, 0xe8(%rsp)
cmpq 0x20(%rsp), %rsi
je 0x2d32
movl %eax, (%rsi)
addq $0x4, %rsi
movq %rsi, 0x18(%rsp)
jmp 0x2d3f
leaq 0x10(%rsp), %rdi
movq %rbx, %rdx
callq 0x3ef0
movl 0x8(%rsp), %esi
movq %r14, %rdi
movl %ebp, %edx
callq 0x42ee
movq 0x38(%rsp), %rsi
movl %eax, 0xe8(%rsp)
cmpq 0x40(%rsp), %rsi
je 0x2d6d
movl %eax, (%rsi)
addq $0x4, %rsi
movq %rsi, 0x38(%rsp)
jmp 0x2d7a
leaq 0x30(%rsp), %rdi
movq %rbx, %rdx
callq 0x3ef0
incl %ebp
cmpl $0x4, %ebp
jne 0x2c5d
movq 0x10(%rsp), %rdi
movq 0x18(%rsp), %rsi
leaq 0x8(%rsp), %rdx
callq 0x3fbc
cmpq 0x18(%rsp), %rax
je 0x2c25
movq %rax, 0x18(%rsp)
jmp 0x2c25
movq 0x30(%rsp), %rax
movq 0x38(%rsp), %rcx
subq %rax, %rcx
je 0x2de2
movq 0xb0(%rsp), %rdx
sarq $0x2, %rcx
cmpq $0x1, %rcx
adcq $0x0, %rcx
xorl %esi, %esi
movslq (%rax,%rsi,4), %rdi
incq %rsi
negl (%rdx,%rdi,4)
cmpq %rsi, %rcx
jne 0x2dd3
leaq 0x30(%rsp), %rdi
xorl %esi, %esi
callq 0x3640
movq 0xb0(%rsp), %rax
movq 0xb8(%rsp), %rcx
vxorpd %xmm0, %xmm0, %xmm0
cmpq %rcx, %rax
je 0x2e15
vcvtsi2sdl (%rax), %xmm3, %xmm1
addq $0x4, %rax
vaddsd %xmm1, %xmm0, %xmm0
jmp 0x2e02
vandpd 0x31f9(%rip){1to2}, %xmm0, %xmm0 # 0x6018
movq 0x160(%rsp), %rax
movq 0x80(%rsp), %rcx
vmovlpd %xmm0, (%rax,%rcx,8)
incq %rcx
movslq 0x1b8(%rsp), %rax
movq %rcx, 0x80(%rsp)
cmpq %rax, %rcx
jb 0x2bb0
vcvtsi2sd %eax, %xmm3, %xmm0
movq 0x160(%rsp), %rax
movq 0x168(%rsp), %rcx
cmpq %rcx, %rax
je 0x2e8a
xorl %edx, %edx
vcvtsi2sd %edx, %xmm3, %xmm1
vaddsd (%rax), %xmm1, %xmm1
addq $0x8, %rax
vcvttsd2si %xmm1, %edx
cmpq %rcx, %rax
jne 0x2e6b
vcvtsi2sd %edx, %xmm3, %xmm1
vmovsd %xmm1, 0x78(%rsp)
vcvtsi2sdl 0x1b4(%rsp), %xmm3, %xmm1
vmovsd 0x78(%rsp), %xmm2
movq 0x178(%rsp), %rax
movq 0x50(%rsp), %rsi
vmulsd %xmm1, %xmm0, %xmm0
vdivsd %xmm0, %xmm2, %xmm0
vmovsd %xmm0, (%rax,%rsi,8)
incq %rsi
movq 0x60(%rsp), %rcx
movq 0x58(%rsp), %rax
movq %rsi, 0x50(%rsp)
movq %rcx, %rdx
subq %rax, %rdx
sarq $0x3, %rdx
cmpq %rdx, %rsi
jb 0x2ae4
cmpq %rax, %rcx
je 0x2f6d
leaq 0x258(%rsp), %rbx
leaq 0x3203(%rip), %r14      # 0x60f3
xorl %r12d, %r12d
vmovsd (%rax,%r12,8), %xmm0
movq %rbx, %rdi
callq 0x2300
movl $0x1, %edx
movq %rax, %r15
movq %rax, %rdi
movq %r14, %rsi
callq 0x2260
movq 0x178(%rsp), %rax
vmovsd (%rax,%r12,8), %xmm0
movq %r15, %rdi
callq 0x2300
movq %rax, %r15
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x2210
movsbl %al, %esi
movq %r15, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x2160
movq 0x58(%rsp), %rax
movq 0x60(%rsp), %rcx
incq %r12
subq %rax, %rcx
sarq $0x3, %rcx
cmpq %rcx, %r12
jb 0x2ef3
leaq 0x258(%rsp), %rdi
callq 0x22c0
movq 0x6057(%rip), %rbx      # 0x8fd8
leaq 0x316d(%rip), %rsi      # 0x60f5
movl $0x6, %edx
movq %rbx, %rdi
callq 0x2260
movq (%rbx), %rax
addq -0x18(%rax), %rbx
movl $0xa, %esi
movq %rbx, %rdi
callq 0x2210
movq 0x6028(%rip), %rdi      # 0x8fd8
movsbl %al, %esi
callq 0x2030
movq %rax, %rdi
callq 0x2160
movq 0x6009(%rip), %rax      # 0x8fd0
leaq 0x260(%rsp), %rdi
movq (%rax), %rcx
movq 0x18(%rax), %rax
movq %rcx, -0x8(%rdi)
movq -0x18(%rcx), %rcx
movq %rax, 0x258(%rsp,%rcx)
callq 0x21d0
leaq 0x350(%rsp), %rdi
callq 0x20b0
movq 0xb0(%rsp), %rdi
testq %rdi, %rdi
je 0x300a
callq 0x2200
movq 0x30(%rsp), %rdi
testq %rdi, %rdi
je 0x3019
callq 0x2200
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0x3028
callq 0x2200
movq 0x178(%rsp), %rdi
testq %rdi, %rdi
je 0x303a
callq 0x2200
movq 0x58(%rsp), %rdi
testq %rdi, %rdi
je 0x3049
callq 0x2200
movq 0x160(%rsp), %rdi
testq %rdi, %rdi
je 0x305b
callq 0x2200
leaq 0x17e0(%rsp), %rdi
callq 0x21f0
movq 0x208(%rsp), %rdi
testq %rdi, %rdi
je 0x307a
callq 0x2200
movq 0x1f0(%rsp), %rdi
testq %rdi, %rdi
je 0x308c
callq 0x2200
leaq 0x1c0(%rsp), %rdi
callq 0x37f2
xorl %eax, %eax
addq $0x2b68, %rsp           # imm = 0x2B68
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x3292
movq 0xe8(%rsp), %rdi
movq %rax, %rbx
cmpq %r14, %rdi
je 0x30cc
callq 0x2200
jmp 0x30cc
movq %rax, %rbx
leaq 0xa0(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x30e7
callq 0x2200
jmp 0x30e7
movq %rax, %rbx
movq 0x108(%rsp), %rdi
cmpq %r12, %rdi
je 0x30fe
callq 0x2200
jmp 0x30fe
movq %rax, %rbx
movq 0xc8(%rsp), %rdi
cmpq %r13, %rdi
je 0x3118
callq 0x2200
jmp 0x3118
movq %r12, %r15
movq %rax, %rbx
movq 0x140(%rsp), %rdi
leaq 0x150(%rsp), %rax
cmpq %rax, %rdi
je 0x313a
callq 0x2200
jmp 0x313a
movq %r12, %r15
movq %rax, %rbx
movq 0x190(%rsp), %rdi
cmpq %r15, %rdi
jne 0x31a7
jmp 0x31b1
jmp 0x31ae
movq %rax, %rbx
jmp 0x31e9
movq %rax, %rbx
jmp 0x31fb
movq %rax, %rbx
jmp 0x322b
movq %rax, %rbx
jmp 0x323a
jmp 0x316d
movq %rax, %rbx
jmp 0x324c
movq %rax, %rbx
jmp 0x3259
jmp 0x31ae
jmp 0x31ae
jmp 0x31ae
jmp 0x31ae
jmp 0x31ae
jmp 0x31ae
movq 0x220(%rsp), %rdi
jmp 0x319f
jmp 0x31ae
jmp 0x31ae
movq 0x128(%rsp), %rdi
movq %rax, %rbx
testq %rdi, %rdi
je 0x31b1
callq 0x2200
jmp 0x31b1
movq %rax, %rbx
movq 0x5e18(%rip), %rax      # 0x8fd0
leaq 0x260(%rsp), %rdi
movq (%rax), %rcx
movq 0x18(%rax), %rax
movq %rcx, -0x8(%rdi)
movq -0x18(%rcx), %rcx
movq %rax, 0x258(%rsp,%rcx)
callq 0x21d0
leaq 0x350(%rsp), %rdi
callq 0x20b0
movq 0xb0(%rsp), %rdi
testq %rdi, %rdi
je 0x31fb
callq 0x2200
movq 0x30(%rsp), %rdi
testq %rdi, %rdi
je 0x320a
callq 0x2200
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0x3219
callq 0x2200
movq 0x178(%rsp), %rdi
testq %rdi, %rdi
je 0x322b
callq 0x2200
movq 0x58(%rsp), %rdi
testq %rdi, %rdi
je 0x323a
callq 0x2200
movq 0x160(%rsp), %rdi
testq %rdi, %rdi
je 0x324c
callq 0x2200
leaq 0x17e0(%rsp), %rdi
callq 0x21f0
movq 0x208(%rsp), %rdi
testq %rdi, %rdi
je 0x326b
callq 0x2200
movq 0x1f0(%rsp), %rdi
testq %rdi, %rdi
je 0x327d
callq 0x2200
leaq 0x1c0(%rsp), %rdi
callq 0x37f2
movq %rbx, %rdi
callq 0x2350
movq %rax, %rdi
callq 0x37ae