// File: /workspace/github_cpp_makefile_star2_O1/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, 0xd79f(%rip)      # 0x1ede4
leaq 0xd798(%rip), %rbx      # 0x1ede4
leaq 0xa64d(%rip), %r14      # 0x1bca0
movq %rbx, %rdi
callq 0x9fdf
movq %rbx, %rdi
callq 0xa03d
movq %r14, %rdi
callq 0x967e
testb %al, %al
je 0x11653
movq %r14, %rdi
callq 0x9692
testb %al, %al
je 0x11653
leaq 0x9c0e(%rip), %rdi      # 0x1b290
callq 0x3380
leaq 0xd732(%rip), %rax      # 0x1edc0
movq (%rax), %r12
movq 0x8(%rax), %r13
cmpq %r13, %r12
je 0x11734
leaq -0x268(%rbp), %rbx
movq 0x9924(%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 0x7168
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 0x11727
callq 0x3230
addq $0x28, %r12
cmpq %r13, %r12
jne 0x116ac
movq 0x9895(%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 0x4232(%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 %ebx, %ebx
leaq -0x280(%rbp), %r15
movl $0xd1b71759, %r13d      # imm = 0xD1B71759
movq %r15, %rdi
callq 0x31b0
leal (%rbx,%rbx), %eax
movl %eax, -0x2c(%rbp)
movl $0x1, %r12d
cmpl $0x5, %ebx
jb 0x11807
movl $0x4, %r12d
movl -0x2c(%rbp), %eax
cmpl $0x63, %eax
jbe 0x117fe
cmpl $0x3e7, %eax            # imm = 0x3E7
jbe 0x11804
cmpl $0x2710, %eax           # imm = 0x2710
jb 0x11807
movl %eax, %ecx
imulq %r13, %rcx
shrq $0x2d, %rcx
addl $0x4, %r12d
cmpl $0x1869f, %eax          # imm = 0x1869F
movl %ecx, %eax
ja 0x117ce
addl $-0x3, %r12d
jmp 0x11807
addl $-0x2, %r12d
jmp 0x11807
decl %r12d
leaq 0xa48a(%rip), %rax      # 0x1bc98
movq (%rax), %r15
movl %r12d, %esi
leaq -0x40(%rbp), %rax
movq %rax, -0x50(%rbp)
leaq -0x50(%rbp), %r14
movq %r14, %rdi
movl $0x2d, %edx
callq 0x32b0
movq -0x50(%rbp), %rdi
movl %r12d, %esi
movl -0x2c(%rbp), %edx
callq 0x703e
movl $0x1, %r8d
movq %r14, %rdi
xorl %esi, %esi
xorl %edx, %edx
leaq 0x4161(%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 0x9759(%rip), %r12      # 0x1afd0
leaq -0x78(%rbp), %r14
je 0x11890
movq %rdx, -0xb8(%rbp)
movq (%rcx), %rdx
movq %rdx, -0xa8(%rbp)
jmp 0x11896
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 0x13584
movq -0xb8(%rbp), %rdi
leaq -0xa8(%rbp), %rax
cmpq %rax, %rdi
je 0x118db
callq 0x3230
movq -0x50(%rbp), %rdi
leaq -0x40(%rbp), %rax
cmpq %rax, %rdi
je 0x118ed
callq 0x3230
movq (%r12), %rax
movq -0x18(%rax), %rax
movq $0x3, 0x10(%r12,%rax)
movl $0x1, %r12d
cmpl $0x5, %ebx
jb 0x1194b
movl $0x4, %r12d
movl -0x2c(%rbp), %eax
cmpl $0x63, %eax
jbe 0x11942
cmpl $0x3e7, %eax            # imm = 0x3E7
jbe 0x11948
cmpl $0x2710, %eax           # imm = 0x2710
jb 0x1194b
movl %eax, %ecx
imulq %r13, %rcx
shrq $0x2d, %rcx
addl $0x4, %r12d
cmpl $0x1869f, %eax          # imm = 0x1869F
movl %ecx, %eax
ja 0x11912
addl $-0x3, %r12d
jmp 0x1194b
addl $-0x2, %r12d
jmp 0x1194b
decl %r12d
movl %r12d, %esi
leaq -0x68(%rbp), %rax
movq %rax, -0x78(%rbp)
movq %r14, %rdi
movl $0x2d, %edx
callq 0x32b0
movq -0x78(%rbp), %rdi
movl %r12d, %esi
movl -0x2c(%rbp), %edx
callq 0x703e
movl $0x1, %r8d
movq %r14, %rdi
xorl %esi, %esi
xorl %edx, %edx
leaq 0x402b(%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 0x9629(%rip), %rdi      # 0x1afd0
je 0x119b6
movq %rdx, -0x50(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x40(%rbp)
jmp 0x119be
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 0x3fc7(%rip), %rsi      # 0x159bb
callq 0x32a0
movl -0x30(%rbp), %esi
movq %r15, %rdi
callq 0x3430
xorl %edx, %edx
cmpl $0x2710, -0x30(%rbp)    # imm = 0x2710
leaq 0x3f84(%rip), %rsi      # 0x15998
leaq 0x3f7e(%rip), %rcx      # 0x15999
cmovgeq %rcx, %rsi
setl %dl
incq %rdx
movq %rax, %rdi
callq 0x32a0
movq -0x50(%rbp), %rdi
cmpq %r12, %rdi
je 0x11a3b
callq 0x3230
movq -0x78(%rbp), %rdi
leaq -0x68(%rbp), %rax
cmpq %rax, %rdi
je 0x11a4d
callq 0x3230
movl -0x2c(%rbp), %eax
orl $0x1, %eax
movl %eax, -0x54(%rbp)
leaq 0xa23b(%rip), %rax      # 0x1bc98
movq (%rax), %r12
movl $0x1, %r15d
cmpl $0x5, %ebx
jb 0x11aad
movl $0x4, %r15d
movl -0x54(%rbp), %eax
cmpl $0x63, %eax
jbe 0x11aa4
cmpl $0x3e7, %eax            # imm = 0x3E7
jbe 0x11aaa
cmpl $0x2710, %eax           # imm = 0x2710
jb 0x11aad
movl %eax, %ecx
imulq %r13, %rcx
shrq $0x2d, %rcx
addl $0x4, %r15d
cmpl $0x1869f, %eax          # imm = 0x1869F
movl %ecx, %eax
ja 0x11a74
addl $-0x3, %r15d
jmp 0x11aad
addl $-0x2, %r15d
jmp 0x11aad
decl %r15d
movl %r15d, %esi
leaq -0x40(%rbp), %rax
movq %rax, -0x50(%rbp)
leaq -0x50(%rbp), %r14
movq %r14, %rdi
movl $0x2d, %edx
callq 0x32b0
movq -0x50(%rbp), %rdi
movl %r15d, %esi
movl -0x54(%rbp), %edx
callq 0x703e
movl $0x1, %r8d
movq %r14, %rdi
xorl %esi, %esi
xorl %edx, %edx
leaq 0x3ec5(%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), %r14
je 0x11b25
movq %rdx, -0x98(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x88(%rbp)
jmp 0x11b2b
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 0x13584
movq -0x98(%rbp), %rdi
leaq -0x88(%rbp), %rax
cmpq %rax, %rdi
movq 0x9460(%rip), %r12      # 0x1afd0
je 0x11b77
callq 0x3230
movq -0x50(%rbp), %rdi
leaq -0x40(%rbp), %rax
cmpq %rax, %rdi
je 0x11b89
callq 0x3230
movq (%r12), %rax
movq -0x18(%rax), %rax
movq $0x3, 0x10(%r12,%rax)
movl $0x1, %r15d
cmpl $0x5, %ebx
jb 0x11be7
movl $0x4, %r15d
movl -0x54(%rbp), %eax
cmpl $0x63, %eax
jbe 0x11bde
cmpl $0x3e7, %eax            # imm = 0x3E7
jbe 0x11be4
cmpl $0x2710, %eax           # imm = 0x2710
jb 0x11be7
movl %eax, %ecx
imulq %r13, %rcx
shrq $0x2d, %rcx
addl $0x4, %r15d
cmpl $0x1869f, %eax          # imm = 0x1869F
movl %ecx, %eax
ja 0x11bae
addl $-0x3, %r15d
jmp 0x11be7
addl $-0x2, %r15d
jmp 0x11be7
decl %r15d
movl %r15d, %esi
leaq -0x68(%rbp), %rax
movq %rax, -0x78(%rbp)
movq %r14, %rdi
movl $0x2d, %edx
callq 0x32b0
movq -0x78(%rbp), %rdi
movl %r15d, %esi
movl -0x54(%rbp), %edx
callq 0x703e
movl $0x1, %r8d
movq %r14, %rdi
xorl %esi, %esi
xorl %edx, %edx
leaq 0x3d8f(%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 0x11c4b
movq %rdx, -0x50(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x40(%rbp)
jmp 0x11c51
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 0x3d31(%rip), %rsi      # 0x159bb
callq 0x32a0
movl -0x30(%rbp), %esi
movq %r15, %rdi
callq 0x3430
xorl %edx, %edx
cmpl $0x2710, -0x30(%rbp)    # imm = 0x2710
leaq 0x3cee(%rip), %rsi      # 0x15998
leaq 0x3ce8(%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 0x11cd5
callq 0x3230
movq -0x78(%rbp), %rdi
leaq -0x68(%rbp), %rax
cmpq %rax, %rdi
je 0x11ce7
callq 0x3230
leaq 0x9faa(%rip), %rax      # 0x1bc98
movq (%rax), %r12
movl $0x1, %r15d
cmpl $0x5, %ebx
jb 0x11d3e
movl $0x4, %r15d
movl -0x2c(%rbp), %eax
cmpl $0x63, %eax
jbe 0x11d35
cmpl $0x3e7, %eax            # imm = 0x3E7
jbe 0x11d3b
cmpl $0x2710, %eax           # imm = 0x2710
jb 0x11d3e
movl %eax, %ecx
imulq %r13, %rcx
shrq $0x2d, %rcx
addl $0x4, %r15d
cmpl $0x1869f, %eax          # imm = 0x1869F
movl %ecx, %eax
ja 0x11d05
addl $-0x3, %r15d
jmp 0x11d3e
addl $-0x2, %r15d
jmp 0x11d3e
decl %r15d
movl %r15d, %esi
leaq -0x40(%rbp), %rax
movq %rax, -0x50(%rbp)
leaq -0x50(%rbp), %r14
movq %r14, %rdi
movl $0x2d, %edx
callq 0x32b0
movq -0x50(%rbp), %rdi
movl %r15d, %esi
movl -0x2c(%rbp), %edx
callq 0x703e
movl $0x1, %r8d
movq %r14, %rdi
xorl %esi, %esi
xorl %edx, %edx
leaq 0x3c36(%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), %r14
je 0x11db6
movq %rdx, -0xf8(%rbp)
movq (%rcx), %rdx
movq %rdx, -0xe8(%rbp)
jmp 0x11dbd
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 0x13584
movq -0xf8(%rbp), %rdi
cmpq %r15, %rdi
movq 0x91d5(%rip), %r12      # 0x1afd0
je 0x11e02
callq 0x3230
movq -0x50(%rbp), %rdi
leaq -0x40(%rbp), %rax
cmpq %rax, %rdi
je 0x11e14
callq 0x3230
movl $0x1, %edx
movq %r12, %rdi
leaq 0x3b76(%rip), %rsi      # 0x15999
callq 0x32a0
movq (%r12), %rax
movq -0x18(%rax), %rax
movq $0x3, 0x10(%r12,%rax)
movl $0x1, %r15d
cmpl $0x5, %ebx
jb 0x11e86
movl $0x4, %r15d
movl -0x2c(%rbp), %eax
cmpl $0x63, %eax
jbe 0x11e7d
cmpl $0x3e7, %eax            # imm = 0x3E7
jbe 0x11e83
cmpl $0x2710, %eax           # imm = 0x2710
jb 0x11e86
movl %eax, %ecx
imulq %r13, %rcx
shrq $0x2d, %rcx
addl $0x4, %r15d
cmpl $0x1869f, %eax          # imm = 0x1869F
movl %ecx, %eax
ja 0x11e4d
addl $-0x3, %r15d
jmp 0x11e86
addl $-0x2, %r15d
jmp 0x11e86
decl %r15d
movl %r15d, %esi
leaq -0x68(%rbp), %rax
movq %rax, -0x78(%rbp)
movq %r14, %rdi
movl $0x2d, %edx
callq 0x32b0
movq -0x78(%rbp), %rdi
movl %r15d, %esi
movl -0x2c(%rbp), %edx
callq 0x703e
movl $0x1, %r8d
movq %r14, %rdi
xorl %esi, %esi
xorl %edx, %edx
leaq 0x3af2(%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 0x11eea
movq %rdx, -0x50(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x40(%rbp)
jmp 0x11ef0
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, %r14
movl $0x1, %edx
movq %rax, %rdi
leaq 0x3a92(%rip), %rsi      # 0x159bb
callq 0x32a0
movq (%r14), %rax
movq -0x18(%rax), %rcx
movl 0x18(%r14,%rcx), %edx
movl $0xfffffefb, %esi       # imm = 0xFFFFFEFB
andl %esi, %edx
orl $0x4, %edx
movl %edx, 0x18(%r14,%rcx)
movq -0x18(%rax), %rax
movq $0x2, 0x8(%r14,%rax)
xorps %xmm0, %xmm0
cvtss2sd -0x30(%rbp), %xmm0
movq %r14, %rdi
callq 0x33d0
movl $0x1, %edx
movq %rax, %rdi
leaq 0x3a24(%rip), %rsi      # 0x15999
callq 0x32a0
movq -0x50(%rbp), %rdi
leaq -0x40(%rbp), %rax
cmpq %rax, %rdi
je 0x11f8c
callq 0x3230
movq -0x78(%rbp), %rdi
leaq -0x68(%rbp), %rax
cmpq %rax, %rdi
je 0x11f9e
callq 0x3230
leaq 0x9cf3(%rip), %rax      # 0x1bc98
movq (%rax), %r14
movl $0x1, %r15d
cmpl $0x5, %ebx
jb 0x11ff5
movl $0x4, %r15d
movl -0x54(%rbp), %eax
cmpl $0x63, %eax
jbe 0x11fec
cmpl $0x3e7, %eax            # imm = 0x3E7
jbe 0x11ff2
cmpl $0x2710, %eax           # imm = 0x2710
jb 0x11ff5
movl %eax, %ecx
imulq %r13, %rcx
shrq $0x2d, %rcx
addl $0x4, %r15d
cmpl $0x1869f, %eax          # imm = 0x1869F
movl %ecx, %eax
ja 0x11fbc
addl $-0x3, %r15d
jmp 0x11ff5
addl $-0x2, %r15d
jmp 0x11ff5
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 0x703e
movl $0x1, %r8d
movq %r12, %rdi
xorl %esi, %esi
xorl %edx, %edx
leaq 0x3979(%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 0x8f6f(%rip), %r12      # 0x1afd0
je 0x12076
movq %rdx, -0xd8(%rbp)
movq (%rcx), %rdx
movq %rdx, -0xc8(%rbp)
jmp 0x1207d
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 %r14, %rdi
leaq -0xd8(%rbp), %rsi
leaq -0x30(%rbp), %rdx
callq 0x13584
movq -0xd8(%rbp), %rdi
cmpq %r15, %rdi
je 0x120bb
callq 0x3230
movq -0x50(%rbp), %rdi
leaq -0x40(%rbp), %rax
cmpq %rax, %rdi
leaq -0x280(%rbp), %r15
je 0x120d4
callq 0x3230
movq (%r12), %rax
movq -0x18(%rax), %rax
movq $0x3, 0x10(%r12,%rax)
movl $0x1, %r14d
cmpl $0x5, %ebx
jb 0x12132
movl $0x4, %r14d
movl -0x54(%rbp), %eax
cmpl $0x63, %eax
jbe 0x12129
cmpl $0x3e7, %eax            # imm = 0x3E7
jbe 0x1212f
cmpl $0x2710, %eax           # imm = 0x2710
jb 0x12132
movl %eax, %ecx
imulq %r13, %rcx
shrq $0x2d, %rcx
addl $0x4, %r14d
cmpl $0x1869f, %eax          # imm = 0x1869F
movl %ecx, %eax
ja 0x120f9
addl $-0x3, %r14d
jmp 0x12132
addl $-0x2, %r14d
jmp 0x12132
decl %r14d
movl %r14d, %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 %r14d, %esi
movl -0x54(%rbp), %edx
callq 0x703e
movl $0x1, %r8d
movq %r12, %rdi
xorl %esi, %esi
xorl %edx, %edx
leaq 0x3842(%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 0x8e3e(%rip), %r12      # 0x1afd0
je 0x121a1
movq %rdx, -0x50(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x40(%rbp)
jmp 0x121a7
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, %r14
movl $0x1, %edx
movq %rax, %rdi
leaq 0x37d5(%rip), %rsi      # 0x159bb
callq 0x32a0
movq (%r14), %rax
movq -0x18(%rax), %rcx
movl 0x18(%r14,%rcx), %edx
movl $0xfffffefb, %esi       # imm = 0xFFFFFEFB
andl %esi, %edx
orl $0x4, %edx
movl %edx, 0x18(%r14,%rcx)
movq -0x18(%rax), %rax
movq $0x2, 0x8(%r14,%rax)
xorps %xmm0, %xmm0
cvtss2sd -0x30(%rbp), %xmm0
movq %r14, %rdi
callq 0x33d0
movl $0x1, %edx
movq %rax, %rdi
leaq 0x3767(%rip), %rsi      # 0x15999
callq 0x32a0
movq -0x50(%rbp), %rdi
leaq -0x40(%rbp), %rax
cmpq %rax, %rdi
je 0x12249
callq 0x3230
movq -0x78(%rbp), %rdi
leaq -0x68(%rbp), %rax
cmpq %rax, %rdi
je 0x1225b
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 0x8d13(%rip), %rsi      # 0x1afa0
callq 0x31d0
leaq -0x200(%rbp), %rdi
callq 0x30e0
incl %ebx
cmpl $0x10, %ebx
jne 0x117ac
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 %r14d, %r14d
leaq 0x9a4d(%rip), %r15      # 0x1bd28
movl $0xfffffefb, %ebx       # imm = 0xFFFFFEFB
leaq 0x3044(%rip), %r12      # 0x1532b
movq %r15, %rdi
movl %r14d, %esi
callq 0xf97c
andl $0x7fffffff, %eax       # imm = 0x7FFFFFFF
movd %eax, %xmm0
cvtss2sd %xmm0, %xmm0
ucomisd 0x3689(%rip), %xmm0     # 0x15990
jbe 0x12399
movl $0x4, %edx
movq 0x8cb7(%rip), %r13      # 0x1afd0
movq %r13, %rdi
leaq 0x3692(%rip), %rsi      # 0x159b5
callq 0x32a0
movq %r13, %rdi
movl %r14d, %esi
callq 0x3430
movq %rax, %r13
movl $0x2, %edx
movq %rax, %rdi
leaq 0x3675(%rip), %rsi      # 0x159ba
callq 0x32a0
movq (%r13), %rax
movq -0x18(%rax), %rcx
movl 0x18(%r13,%rcx), %edx
andl %ebx, %edx
orl $0x4, %edx
movl %edx, 0x18(%r13,%rcx)
movq -0x18(%rax), %rax
movq $0x2, 0x8(%r13,%rax)
movq %r15, %rdi
movl %r14d, %esi
callq 0xf97c
movd %eax, %xmm0
cvtss2sd %xmm0, %xmm0
movq %r13, %rdi
callq 0x33d0
movl $0x2, %edx
movq %rax, %rdi
movq %r12, %rsi
callq 0x32a0
incl %r14d
cmpl $0x100, %r14d           # imm = 0x100
jne 0x122e7
movq 0x8c20(%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 0x8e88(%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 0x124ba
jmp 0x12471
movq %rax, %r14
movq -0xf8(%rbp), %rdi
jmp 0x12449
jmp 0x124ba
jmp 0x1249d
jmp 0x124ba
jmp 0x12471
movq %rax, %r14
movq -0xd8(%rbp), %rdi
cmpq %r15, %rdi
jne 0x1248c
jmp 0x12491
jmp 0x124ba
jmp 0x1249d
jmp 0x124ba
jmp 0x12471
movq %rax, %r14
movq -0xb8(%rbp), %rdi
leaq -0xa8(%rbp), %rax
jmp 0x12487
jmp 0x124ba
jmp 0x1249d
jmp 0x124ba
movq %rax, %r14
jmp 0x12491
movq %rax, %r14
movq -0x98(%rbp), %rdi
leaq -0x88(%rbp), %rax
cmpq %rax, %rdi
je 0x12491
callq 0x3230
movq -0x50(%rbp), %rdi
leaq -0x40(%rbp), %rax
jmp 0x124de
jmp 0x124ba
movq %rax, %r14
jmp 0x124d6
movq %rax, %r14
movq -0x278(%rbp), %rdi
cmpq %rbx, %rdi
je 0x12507
callq 0x3230
jmp 0x12507
jmp 0x124c1
movq %rax, %r14
jmp 0x124e8
jmp 0x124c1
movq %rax, %r14
movq -0x50(%rbp), %rdi
leaq -0x40(%rbp), %rax
cmpq %rax, %rdi
je 0x124d6
callq 0x3230
movq -0x78(%rbp), %rdi
leaq -0x68(%rbp), %rax
cmpq %rax, %rdi
je 0x124e8
callq 0x3230
movq 0x8ab1(%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 0x124d1
jmp 0x124d6