// File: /workspace/github_cpp_makefile_star2_O3/Ziang95[P]Tomasulo_simulator/output.cpp
// Function: output_automat(void*)
void* output_automat(void *args)
{
    next_vdd = 0;
    while (true)
    {
        at_rising_edge(next_vdd);
        at_falling_edge(next_vdd);
        if (sys_clk.is_instr_ended() && sys_clk.is_mem_ended())
        {
            pthread_mutex_lock(&cout_lock);
            for (auto s : CPU_output_Q)
                cout<<s.name<<endl;
            cout<<endl;
            memCell m;
            cout<<"\tINT_REG:\t\t\t\tFLP_REG:"<<endl;
            for (int i = 0; i<REG_NUM/2; i++)
            {
                stringstream tmp;
                reg->get("R"+to_string(2*i), m);
                cout<<setw(3)<<"R"+to_string(2*i)<<"="<<m.i<<(m.i>9999?"\t":"\t\t");
                if (2*i + 1 < REG_NUM)
                {
                    reg->get("R"+to_string(2*i+1), m);
                    cout<<setw(3)<<"R"+to_string(i*2+1)<<"="<<m.i<<(m.i>9999?"\t":"\t\t");
                }
                reg->get("F"+to_string(2*i), m);
                cout<<"\t"<<setw(3)<<"F"+to_string(2*i)<<"="<<fixed<<setprecision(2)<<m.f<<"\t";
                if (2*i + 1 < REG_NUM)
                {
                    reg->get("F"+to_string(2*i+1), m);
                    cout<<setw(3)<<"F"+to_string(2*i+1)<<"="<<fixed<<setprecision(2)<<m.f<<"\t";
                }
                cout<<endl;
            }
            cout<<endl;
            for (int i = 0; i<MEM_LEN; i++)
            {
                if (abs(main_mem.getMem(i).f) > 0.001)
                    cout<<"Mem["<<i<<"]="<<fixed<<setprecision(2)<<main_mem.getMem(i).f<<", ";
            }
            cout<<endl<<endl;
            pthread_mutex_unlock(&cout_lock);
            return nullptr;
        }
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x258, %rsp            # imm = 0x258
movl $0x0, 0xd73f(%rip)      # 0x1ede4
leaq 0xd738(%rip), %rbx      # 0x1ede4
leaq 0xa5ed(%rip), %r14      # 0x1bca0
movq %rbx, %rdi
callq 0x9feb
movq %rbx, %rdi
callq 0xa049
movq %r14, %rdi
callq 0x96da
testb %al, %al
je 0x116b3
movq %r14, %rdi
callq 0x96ee
testb %al, %al
je 0x116b3
leaq 0x9bae(%rip), %rdi      # 0x1b290
callq 0x3380
leaq 0xd6d2(%rip), %rax      # 0x1edc0
movq (%rax), %r12
movq 0x8(%rax), %r13
cmpq %r13, %r12
je 0x11794
leaq -0x268(%rbp), %rbx
movq 0x98c4(%rip), %r14      # 0x1afd0
movl (%r12), %eax
movl %eax, -0x280(%rbp)
movq %rbx, -0x278(%rbp)
movq 0x8(%r12), %rsi
movq 0x10(%r12), %rdx
addq %rsi, %rdx
leaq -0x278(%rbp), %rdi
callq 0x7180
movq -0x278(%rbp), %rsi
movq -0x270(%rbp), %rdx
movq %r14, %rdi
callq 0x32a0
movq %rax, %r15
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x3240
movsbl %al, %esi
movq %r15, %rdi
callq 0x3040
movq %rax, %rdi
callq 0x31a0
movq -0x278(%rbp), %rdi
cmpq %rbx, %rdi
je 0x11787
callq 0x3230
addq $0x28, %r12
cmpq %r13, %r12
jne 0x1170c
movq 0x9835(%rip), %rbx      # 0x1afd0
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x3240
movsbl %al, %esi
movq %rbx, %rdi
callq 0x3040
movq %rax, %rdi
callq 0x31a0
leaq 0x41d2(%rip), %rsi      # 0x1599b
movl $0x15, %edx
movq %rbx, %rdi
callq 0x32a0
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x3240
movsbl %al, %esi
movq %rbx, %rdi
callq 0x3040
movq %rax, %rdi
callq 0x31a0
xorl %r14d, %r14d
leaq -0x280(%rbp), %r15
movl $0xd1b71759, %r13d      # imm = 0xD1B71759
movq %r15, %rdi
callq 0x31b0
leal (%r14,%r14), %eax
movl %eax, -0x2c(%rbp)
movl $0x1, %r12d
cmpl $0x5, %r14d
jb 0x1186a
movl $0x4, %r12d
movl -0x2c(%rbp), %eax
cmpl $0x63, %eax
jbe 0x11861
cmpl $0x3e7, %eax            # imm = 0x3E7
jbe 0x11867
cmpl $0x2710, %eax           # imm = 0x2710
jb 0x1186a
movl %eax, %ecx
imulq %r13, %rcx
shrq $0x2d, %rcx
addl $0x4, %r12d
cmpl $0x1869f, %eax          # imm = 0x1869F
movl %ecx, %eax
ja 0x11831
addl $-0x3, %r12d
jmp 0x1186a
addl $-0x2, %r12d
jmp 0x1186a
decl %r12d
leaq 0xa427(%rip), %rax      # 0x1bc98
movq (%rax), %r15
movl %r12d, %esi
leaq -0x40(%rbp), %rax
movq %rax, -0x50(%rbp)
leaq -0x50(%rbp), %rbx
movq %rbx, %rdi
movl $0x2d, %edx
callq 0x32b0
movq -0x50(%rbp), %rdi
movl %r12d, %esi
movl -0x2c(%rbp), %edx
callq 0x7056
movl $0x1, %r8d
movq %rbx, %rdi
xorl %esi, %esi
xorl %edx, %edx
leaq 0x40fe(%rip), %rcx      # 0x159b1
callq 0x3280
leaq -0xa8(%rbp), %rsi
movq %rsi, -0xb8(%rbp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
movq 0x96f6(%rip), %r12      # 0x1afd0
leaq -0x78(%rbp), %rbx
je 0x118f3
movq %rdx, -0xb8(%rbp)
movq (%rcx), %rdx
movq %rdx, -0xa8(%rbp)
jmp 0x118f9
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq 0x8(%rax), %rdx
movq %rdx, -0xb0(%rbp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq %r15, %rdi
leaq -0xb8(%rbp), %rsi
leaq -0x30(%rbp), %rdx
callq 0x135aa
movq -0xb8(%rbp), %rdi
leaq -0xa8(%rbp), %rax
cmpq %rax, %rdi
je 0x1193e
callq 0x3230
movq -0x50(%rbp), %rdi
leaq -0x40(%rbp), %rax
cmpq %rax, %rdi
je 0x11950
callq 0x3230
movq (%r12), %rax
movq -0x18(%rax), %rax
movq $0x3, 0x10(%r12,%rax)
movl $0x1, %r12d
cmpl $0x5, %r14d
jb 0x119af
movl $0x4, %r12d
movl -0x2c(%rbp), %eax
cmpl $0x63, %eax
jbe 0x119a6
cmpl $0x3e7, %eax            # imm = 0x3E7
jbe 0x119ac
cmpl $0x2710, %eax           # imm = 0x2710
jb 0x119af
movl %eax, %ecx
imulq %r13, %rcx
shrq $0x2d, %rcx
addl $0x4, %r12d
cmpl $0x1869f, %eax          # imm = 0x1869F
movl %ecx, %eax
ja 0x11976
addl $-0x3, %r12d
jmp 0x119af
addl $-0x2, %r12d
jmp 0x119af
decl %r12d
movl %r12d, %esi
leaq -0x68(%rbp), %rax
movq %rax, -0x78(%rbp)
movq %rbx, %rdi
movl $0x2d, %edx
callq 0x32b0
movq -0x78(%rbp), %rdi
movl %r12d, %esi
movl -0x2c(%rbp), %edx
callq 0x7056
movl $0x1, %r8d
movq %rbx, %rdi
xorl %esi, %esi
xorl %edx, %edx
leaq 0x3fc7(%rip), %rcx      # 0x159b1
callq 0x3280
leaq -0x40(%rbp), %r12
movq %r12, -0x50(%rbp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
movq 0x95c5(%rip), %rdi      # 0x1afd0
je 0x11a1a
movq %rdx, -0x50(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x40(%rbp)
jmp 0x11a22
movups (%rcx), %xmm0
movups %xmm0, (%r12)
movq 0x8(%rax), %rdx
movq %rdx, -0x48(%rbp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq -0x50(%rbp), %rsi
movq -0x48(%rbp), %rdx
callq 0x32a0
movq %rax, %r15
movl $0x1, %edx
movq %rax, %rdi
leaq 0x3f63(%rip), %rsi      # 0x159bb
callq 0x32a0
movl -0x30(%rbp), %esi
movq %r15, %rdi
callq 0x3430
xorl %edx, %edx
cmpl $0x2710, -0x30(%rbp)    # imm = 0x2710
leaq 0x3f20(%rip), %rsi      # 0x15998
leaq 0x3f1a(%rip), %rcx      # 0x15999
cmovgeq %rcx, %rsi
setl %dl
incq %rdx
movq %rax, %rdi
callq 0x32a0
movq -0x50(%rbp), %rdi
cmpq %r12, %rdi
je 0x11a9f
callq 0x3230
movq -0x78(%rbp), %rdi
leaq -0x68(%rbp), %rax
cmpq %rax, %rdi
je 0x11ab1
callq 0x3230
movl -0x2c(%rbp), %eax
orl $0x1, %eax
movl %eax, -0x54(%rbp)
leaq 0xa1d7(%rip), %rax      # 0x1bc98
movq (%rax), %r12
movl $0x1, %r15d
cmpl $0x5, %r14d
jb 0x11b12
movl $0x4, %r15d
movl -0x54(%rbp), %eax
cmpl $0x63, %eax
jbe 0x11b09
cmpl $0x3e7, %eax            # imm = 0x3E7
jbe 0x11b0f
cmpl $0x2710, %eax           # imm = 0x2710
jb 0x11b12
movl %eax, %ecx
imulq %r13, %rcx
shrq $0x2d, %rcx
addl $0x4, %r15d
cmpl $0x1869f, %eax          # imm = 0x1869F
movl %ecx, %eax
ja 0x11ad9
addl $-0x3, %r15d
jmp 0x11b12
addl $-0x2, %r15d
jmp 0x11b12
decl %r15d
movl %r15d, %esi
leaq -0x40(%rbp), %rax
movq %rax, -0x50(%rbp)
leaq -0x50(%rbp), %rbx
movq %rbx, %rdi
movl $0x2d, %edx
callq 0x32b0
movq -0x50(%rbp), %rdi
movl %r15d, %esi
movl -0x54(%rbp), %edx
callq 0x7056
movl $0x1, %r8d
movq %rbx, %rdi
xorl %esi, %esi
xorl %edx, %edx
leaq 0x3e60(%rip), %rcx      # 0x159b1
callq 0x3280
leaq -0x88(%rbp), %rsi
movq %rsi, -0x98(%rbp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
leaq -0x78(%rbp), %rbx
je 0x11b8a
movq %rdx, -0x98(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x88(%rbp)
jmp 0x11b90
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq 0x8(%rax), %rdx
movq %rdx, -0x90(%rbp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq %r12, %rdi
leaq -0x98(%rbp), %rsi
leaq -0x30(%rbp), %rdx
callq 0x135aa
movq -0x98(%rbp), %rdi
leaq -0x88(%rbp), %rax
cmpq %rax, %rdi
movq 0x93fb(%rip), %r12      # 0x1afd0
je 0x11bdc
callq 0x3230
movq -0x50(%rbp), %rdi
leaq -0x40(%rbp), %rax
cmpq %rax, %rdi
je 0x11bee
callq 0x3230
movq (%r12), %rax
movq -0x18(%rax), %rax
movq $0x3, 0x10(%r12,%rax)
movl $0x1, %r15d
cmpl $0x5, %r14d
jb 0x11c4d
movl $0x4, %r15d
movl -0x54(%rbp), %eax
cmpl $0x63, %eax
jbe 0x11c44
cmpl $0x3e7, %eax            # imm = 0x3E7
jbe 0x11c4a
cmpl $0x2710, %eax           # imm = 0x2710
jb 0x11c4d
movl %eax, %ecx
imulq %r13, %rcx
shrq $0x2d, %rcx
addl $0x4, %r15d
cmpl $0x1869f, %eax          # imm = 0x1869F
movl %ecx, %eax
ja 0x11c14
addl $-0x3, %r15d
jmp 0x11c4d
addl $-0x2, %r15d
jmp 0x11c4d
decl %r15d
movl %r15d, %esi
leaq -0x68(%rbp), %rax
movq %rax, -0x78(%rbp)
movq %rbx, %rdi
movl $0x2d, %edx
callq 0x32b0
movq -0x78(%rbp), %rdi
movl %r15d, %esi
movl -0x54(%rbp), %edx
callq 0x7056
movl $0x1, %r8d
movq %rbx, %rdi
xorl %esi, %esi
xorl %edx, %edx
leaq 0x3d29(%rip), %rcx      # 0x159b1
callq 0x3280
leaq -0x40(%rbp), %rsi
movq %rsi, -0x50(%rbp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x11cb1
movq %rdx, -0x50(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x40(%rbp)
jmp 0x11cb7
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq 0x8(%rax), %rdx
movq %rdx, -0x48(%rbp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq -0x50(%rbp), %rsi
movq -0x48(%rbp), %rdx
movq %r12, %rdi
callq 0x32a0
movq %rax, %r15
movl $0x1, %edx
movq %rax, %rdi
leaq 0x3ccb(%rip), %rsi      # 0x159bb
callq 0x32a0
movl -0x30(%rbp), %esi
movq %r15, %rdi
callq 0x3430
xorl %edx, %edx
cmpl $0x2710, -0x30(%rbp)    # imm = 0x2710
leaq 0x3c88(%rip), %rsi      # 0x15998
leaq 0x3c82(%rip), %rcx      # 0x15999
cmovgeq %rcx, %rsi
setl %dl
incq %rdx
movq %rax, %rdi
callq 0x32a0
movq -0x50(%rbp), %rdi
leaq -0x40(%rbp), %rax
cmpq %rax, %rdi
je 0x11d3b
callq 0x3230
movq -0x78(%rbp), %rdi
leaq -0x68(%rbp), %rax
cmpq %rax, %rdi
je 0x11d4d
callq 0x3230
leaq 0x9f44(%rip), %rax      # 0x1bc98
movq (%rax), %r12
movl $0x1, %r15d
cmpl $0x5, %r14d
jb 0x11da5
movl $0x4, %r15d
movl -0x2c(%rbp), %eax
cmpl $0x63, %eax
jbe 0x11d9c
cmpl $0x3e7, %eax            # imm = 0x3E7
jbe 0x11da2
cmpl $0x2710, %eax           # imm = 0x2710
jb 0x11da5
movl %eax, %ecx
imulq %r13, %rcx
shrq $0x2d, %rcx
addl $0x4, %r15d
cmpl $0x1869f, %eax          # imm = 0x1869F
movl %ecx, %eax
ja 0x11d6c
addl $-0x3, %r15d
jmp 0x11da5
addl $-0x2, %r15d
jmp 0x11da5
decl %r15d
movl %r15d, %esi
leaq -0x40(%rbp), %rax
movq %rax, -0x50(%rbp)
leaq -0x50(%rbp), %rbx
movq %rbx, %rdi
movl $0x2d, %edx
callq 0x32b0
movq -0x50(%rbp), %rdi
movl %r15d, %esi
movl -0x2c(%rbp), %edx
callq 0x7056
movl $0x1, %r8d
movq %rbx, %rdi
xorl %esi, %esi
xorl %edx, %edx
leaq 0x3bcf(%rip), %rcx      # 0x159b3
callq 0x3280
leaq -0xe8(%rbp), %r15
movq %r15, -0xf8(%rbp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
leaq -0x78(%rbp), %rbx
je 0x11e1d
movq %rdx, -0xf8(%rbp)
movq (%rcx), %rdx
movq %rdx, -0xe8(%rbp)
jmp 0x11e24
movups (%rcx), %xmm0
movups %xmm0, (%r15)
movq 0x8(%rax), %rdx
movq %rdx, -0xf0(%rbp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq %r12, %rdi
leaq -0xf8(%rbp), %rsi
leaq -0x30(%rbp), %rdx
callq 0x135aa
movq -0xf8(%rbp), %rdi
cmpq %r15, %rdi
movq 0x916e(%rip), %r12      # 0x1afd0
je 0x11e69
callq 0x3230
movq -0x50(%rbp), %rdi
leaq -0x40(%rbp), %rax
cmpq %rax, %rdi
je 0x11e7b
callq 0x3230
movl $0x1, %edx
movq %r12, %rdi
leaq 0x3b0f(%rip), %rsi      # 0x15999
callq 0x32a0
movq (%r12), %rax
movq -0x18(%rax), %rax
movq $0x3, 0x10(%r12,%rax)
movl $0x1, %r15d
cmpl $0x5, %r14d
jb 0x11eee
movl $0x4, %r15d
movl -0x2c(%rbp), %eax
cmpl $0x63, %eax
jbe 0x11ee5
cmpl $0x3e7, %eax            # imm = 0x3E7
jbe 0x11eeb
cmpl $0x2710, %eax           # imm = 0x2710
jb 0x11eee
movl %eax, %ecx
imulq %r13, %rcx
shrq $0x2d, %rcx
addl $0x4, %r15d
cmpl $0x1869f, %eax          # imm = 0x1869F
movl %ecx, %eax
ja 0x11eb5
addl $-0x3, %r15d
jmp 0x11eee
addl $-0x2, %r15d
jmp 0x11eee
decl %r15d
movl %r15d, %esi
leaq -0x68(%rbp), %rax
movq %rax, -0x78(%rbp)
movq %rbx, %rdi
movl $0x2d, %edx
callq 0x32b0
movq -0x78(%rbp), %rdi
movl %r15d, %esi
movl -0x2c(%rbp), %edx
callq 0x7056
movl $0x1, %r8d
movq %rbx, %rdi
xorl %esi, %esi
xorl %edx, %edx
leaq 0x3a8a(%rip), %rcx      # 0x159b3
callq 0x3280
leaq -0x40(%rbp), %rsi
movq %rsi, -0x50(%rbp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x11f52
movq %rdx, -0x50(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x40(%rbp)
jmp 0x11f58
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq 0x8(%rax), %rdx
movq %rdx, -0x48(%rbp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq -0x50(%rbp), %rsi
movq -0x48(%rbp), %rdx
movq %r12, %rdi
callq 0x32a0
movq %rax, %rbx
movl $0x1, %edx
movq %rax, %rdi
leaq 0x3a2a(%rip), %rsi      # 0x159bb
callq 0x32a0
movq (%rbx), %rax
movq -0x18(%rax), %rcx
movl 0x18(%rbx,%rcx), %edx
movl $0xfffffefb, %esi       # imm = 0xFFFFFEFB
andl %esi, %edx
orl $0x4, %edx
movl %edx, 0x18(%rbx,%rcx)
movq -0x18(%rax), %rax
movq $0x2, 0x8(%rbx,%rax)
xorps %xmm0, %xmm0
cvtss2sd -0x30(%rbp), %xmm0
movq %rbx, %rdi
callq 0x33d0
movl $0x1, %edx
movq %rax, %rdi
leaq 0x39be(%rip), %rsi      # 0x15999
callq 0x32a0
movq -0x50(%rbp), %rdi
leaq -0x40(%rbp), %rax
cmpq %rax, %rdi
je 0x11ff2
callq 0x3230
movq -0x78(%rbp), %rdi
leaq -0x68(%rbp), %rax
cmpq %rax, %rdi
je 0x12004
callq 0x3230
leaq 0x9c8d(%rip), %rax      # 0x1bc98
movq (%rax), %rbx
movl $0x1, %r15d
cmpl $0x5, %r14d
jb 0x1205c
movl $0x4, %r15d
movl -0x54(%rbp), %eax
cmpl $0x63, %eax
jbe 0x12053
cmpl $0x3e7, %eax            # imm = 0x3E7
jbe 0x12059
cmpl $0x2710, %eax           # imm = 0x2710
jb 0x1205c
movl %eax, %ecx
imulq %r13, %rcx
shrq $0x2d, %rcx
addl $0x4, %r15d
cmpl $0x1869f, %eax          # imm = 0x1869F
movl %ecx, %eax
ja 0x12023
addl $-0x3, %r15d
jmp 0x1205c
addl $-0x2, %r15d
jmp 0x1205c
decl %r15d
movl $0xd1b71759, %r13d      # imm = 0xD1B71759
movl %r15d, %esi
leaq -0x40(%rbp), %rax
movq %rax, -0x50(%rbp)
leaq -0x50(%rbp), %r12
movq %r12, %rdi
movl $0x2d, %edx
callq 0x32b0
movq -0x50(%rbp), %rdi
movl %r15d, %esi
movl -0x54(%rbp), %edx
callq 0x7056
movl $0x1, %r8d
movq %r12, %rdi
xorl %esi, %esi
xorl %edx, %edx
leaq 0x3912(%rip), %rcx      # 0x159b3
callq 0x3280
leaq -0xc8(%rbp), %r15
movq %r15, -0xd8(%rbp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
movq 0x8f08(%rip), %r12      # 0x1afd0
je 0x120dd
movq %rdx, -0xd8(%rbp)
movq (%rcx), %rdx
movq %rdx, -0xc8(%rbp)
jmp 0x120e4
movups (%rcx), %xmm0
movups %xmm0, (%r15)
movq 0x8(%rax), %rdx
movq %rdx, -0xd0(%rbp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq %rbx, %rdi
leaq -0xd8(%rbp), %rsi
leaq -0x30(%rbp), %rdx
callq 0x135aa
movq -0xd8(%rbp), %rdi
cmpq %r15, %rdi
je 0x12122
callq 0x3230
movq -0x50(%rbp), %rdi
leaq -0x40(%rbp), %rax
cmpq %rax, %rdi
leaq -0x280(%rbp), %r15
je 0x1213b
callq 0x3230
movq (%r12), %rax
movq -0x18(%rax), %rax
movq $0x3, 0x10(%r12,%rax)
movl $0x1, %ebx
cmpl $0x5, %r14d
jb 0x12194
movl $0x4, %ebx
movl -0x54(%rbp), %eax
cmpl $0x63, %eax
jbe 0x1218d
cmpl $0x3e7, %eax            # imm = 0x3E7
jbe 0x12192
cmpl $0x2710, %eax           # imm = 0x2710
jb 0x12194
movl %eax, %ecx
imulq %r13, %rcx
shrq $0x2d, %rcx
addl $0x4, %ebx
cmpl $0x1869f, %eax          # imm = 0x1869F
movl %ecx, %eax
ja 0x1215f
addl $-0x3, %ebx
jmp 0x12194
addl $-0x2, %ebx
jmp 0x12194
decl %ebx
movl %ebx, %esi
leaq -0x68(%rbp), %rax
movq %rax, -0x78(%rbp)
leaq -0x78(%rbp), %r12
movq %r12, %rdi
movl $0x2d, %edx
callq 0x32b0
movq -0x78(%rbp), %rdi
movl %ebx, %esi
movl -0x54(%rbp), %edx
callq 0x7056
movl $0x1, %r8d
movq %r12, %rdi
xorl %esi, %esi
xorl %edx, %edx
leaq 0x37e2(%rip), %rcx      # 0x159b3
callq 0x3280
leaq -0x40(%rbp), %rsi
movq %rsi, -0x50(%rbp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
movq 0x8dde(%rip), %r12      # 0x1afd0
je 0x12201
movq %rdx, -0x50(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x40(%rbp)
jmp 0x12207
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movl $0xd1b71759, %r13d      # imm = 0xD1B71759
movq 0x8(%rax), %rdx
movq %rdx, -0x48(%rbp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq -0x50(%rbp), %rsi
movq -0x48(%rbp), %rdx
movq %r12, %rdi
callq 0x32a0
movq %rax, %rbx
movl $0x1, %edx
movq %rax, %rdi
leaq 0x3775(%rip), %rsi      # 0x159bb
callq 0x32a0
movq (%rbx), %rax
movq -0x18(%rax), %rcx
movl 0x18(%rbx,%rcx), %edx
movl $0xfffffefb, %esi       # imm = 0xFFFFFEFB
andl %esi, %edx
orl $0x4, %edx
movl %edx, 0x18(%rbx,%rcx)
movq -0x18(%rax), %rax
movq $0x2, 0x8(%rbx,%rax)
xorps %xmm0, %xmm0
cvtss2sd -0x30(%rbp), %xmm0
movq %rbx, %rdi
callq 0x33d0
movl $0x1, %edx
movq %rax, %rdi
leaq 0x3709(%rip), %rsi      # 0x15999
callq 0x32a0
movq -0x50(%rbp), %rdi
leaq -0x40(%rbp), %rax
cmpq %rax, %rdi
je 0x122a7
callq 0x3230
movq -0x78(%rbp), %rdi
leaq -0x68(%rbp), %rax
cmpq %rax, %rdi
je 0x122b9
callq 0x3230
movq (%r12), %rax
movq -0x18(%rax), %rdi
addq %r12, %rdi
movl $0xa, %esi
callq 0x3240
movsbl %al, %esi
movq %r12, %rdi
callq 0x3040
movq %rax, %rdi
callq 0x31a0
movq %r15, %rdi
movq 0x8cb5(%rip), %rsi      # 0x1afa0
callq 0x31d0
leaq -0x200(%rbp), %rdi
callq 0x30e0
incl %r14d
cmpl $0x10, %r14d
jne 0x1180d
movq (%r12), %rax
movq -0x18(%rax), %rdi
addq %r12, %rdi
movl $0xa, %esi
callq 0x3240
movsbl %al, %esi
movq %r12, %rdi
callq 0x3040
movq %rax, %rdi
callq 0x31a0
xorl %ebx, %ebx
leaq 0x99ee(%rip), %r15      # 0x1bd28
movl $0xfffffefb, %r14d      # imm = 0xFFFFFEFB
leaq 0x2fe4(%rip), %r12      # 0x1532b
movq %r15, %rdi
movl %ebx, %esi
callq 0xf9f2
andl $0x7fffffff, %eax       # imm = 0x7FFFFFFF
movd %eax, %xmm0
cvtss2sd %xmm0, %xmm0
ucomisd 0x362a(%rip), %xmm0     # 0x15990
jbe 0x123f7
movl $0x4, %edx
movq 0x8c58(%rip), %r13      # 0x1afd0
movq %r13, %rdi
leaq 0x3633(%rip), %rsi      # 0x159b5
callq 0x32a0
movq %r13, %rdi
movl %ebx, %esi
callq 0x3430
movq %rax, %r13
movl $0x2, %edx
movq %rax, %rdi
leaq 0x3617(%rip), %rsi      # 0x159ba
callq 0x32a0
movq (%r13), %rax
movq -0x18(%rax), %rcx
movl 0x18(%r13,%rcx), %edx
andl %r14d, %edx
orl $0x4, %edx
movl %edx, 0x18(%r13,%rcx)
movq -0x18(%rax), %rax
movq $0x2, 0x8(%r13,%rax)
movq %r15, %rdi
movl %ebx, %esi
callq 0xf9f2
movd %eax, %xmm0
cvtss2sd %xmm0, %xmm0
movq %r13, %rdi
callq 0x33d0
movl $0x2, %edx
movq %rax, %rdi
movq %r12, %rsi
callq 0x32a0
incl %ebx
cmpl $0x100, %ebx            # imm = 0x100
jne 0x12347
movq 0x8bc4(%rip), %rbx      # 0x1afd0
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x3240
movsbl %al, %esi
movq %rbx, %rdi
callq 0x3040
movq %rax, %rdi
callq 0x31a0
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x3240
movsbl %al, %esi
movq %rbx, %rdi
callq 0x3040
movq %rax, %rdi
callq 0x31a0
leaq 0x8e2c(%rip), %rdi      # 0x1b290
callq 0x31e0
xorl %eax, %eax
addq $0x258, %rsp            # imm = 0x258
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x12516
jmp 0x124cd
movq %rax, %r14
movq -0xf8(%rbp), %rdi
jmp 0x124a5
jmp 0x12516
jmp 0x124f9
jmp 0x12516
jmp 0x124cd
movq %rax, %r14
movq -0xd8(%rbp), %rdi
cmpq %r15, %rdi
jne 0x124e8
jmp 0x124ed
jmp 0x12516
jmp 0x124f9
jmp 0x12516
jmp 0x124cd
movq %rax, %r14
movq -0xb8(%rbp), %rdi
leaq -0xa8(%rbp), %rax
jmp 0x124e3
jmp 0x12516
jmp 0x124f9
jmp 0x12516
movq %rax, %r14
jmp 0x124ed
movq %rax, %r14
movq -0x98(%rbp), %rdi
leaq -0x88(%rbp), %rax
cmpq %rax, %rdi
je 0x124ed
callq 0x3230
movq -0x50(%rbp), %rdi
leaq -0x40(%rbp), %rax
jmp 0x1253a
jmp 0x12516
movq %rax, %r14
jmp 0x12532
movq %rax, %r14
movq -0x278(%rbp), %rdi
cmpq %rbx, %rdi
je 0x12563
callq 0x3230
jmp 0x12563
jmp 0x1251d
movq %rax, %r14
jmp 0x12544
jmp 0x1251d
movq %rax, %r14
movq -0x50(%rbp), %rdi
leaq -0x40(%rbp), %rax
cmpq %rax, %rdi
je 0x12532
callq 0x3230
movq -0x78(%rbp), %rdi
leaq -0x68(%rbp), %rax
cmpq %rax, %rdi
je 0x12544
callq 0x3230
movq 0x8a55(%rip), %rsi      # 0x1afa0
leaq -0x280(%rbp), %rdi
callq 0x31d0
leaq -0x200(%rbp), %rdi
callq 0x30e0
movq %r14, %rdi
callq 0x3440
movq %rax, %r14
movq -0x50(%rbp), %rdi
cmpq %r12, %rdi
jne 0x1252d
jmp 0x12532