// File: /workspace/github_cpp_makefile_star2_O2/CMU-SAFARI[P]ramulator/src/GDDR5.cpp
// Function: ramulator::GDDR5::init_timing()
void GDDR5::init_timing()
{
    SpeedEntry& s = speed_entry;
    vector<TimingEntry> *t;

    /*** Channel ***/ 
    t = timing[int(Level::Channel)];

    // CAS <-> CAS
    t[int(Command::RD)].push_back({Command::RD, 1, s.nBL});
    t[int(Command::RD)].push_back({Command::RDA, 1, s.nBL});
    t[int(Command::RDA)].push_back({Command::RD, 1, s.nBL});
    t[int(Command::RDA)].push_back({Command::RDA, 1, s.nBL});
    t[int(Command::WR)].push_back({Command::WR, 1, s.nBL});
    t[int(Command::WR)].push_back({Command::WRA, 1, s.nBL});
    t[int(Command::WRA)].push_back({Command::WR, 1, s.nBL});
    t[int(Command::WRA)].push_back({Command::WRA, 1, s.nBL});


    /*** Rank ***/ 
    t = timing[int(Level::Rank)];

    // CAS <-> CAS
    t[int(Command::RD)].push_back({Command::RD, 1, s.nCCDS});
    t[int(Command::RD)].push_back({Command::RDA, 1, s.nCCDS});
    t[int(Command::RDA)].push_back({Command::RD, 1, s.nCCDS});
    t[int(Command::RDA)].push_back({Command::RDA, 1, s.nCCDS});
    t[int(Command::WR)].push_back({Command::WR, 1, s.nCCDS});
    t[int(Command::WR)].push_back({Command::WRA, 1, s.nCCDS});
    t[int(Command::WRA)].push_back({Command::WR, 1, s.nCCDS});
    t[int(Command::WRA)].push_back({Command::WRA, 1, s.nCCDS});
    t[int(Command::RD)].push_back({Command::WR, 1, s.nCL + s.nCCDS + 2 - s.nCWL});
    t[int(Command::RD)].push_back({Command::WRA, 1, s.nCL + s.nCCDS + 2 - s.nCWL});
    t[int(Command::RDA)].push_back({Command::WR, 1, s.nCL + s.nCCDS + 2 - s.nCWL});
    t[int(Command::RDA)].push_back({Command::WRA, 1, s.nCL + s.nCCDS + 2 - s.nCWL});
    t[int(Command::WR)].push_back({Command::RD, 1, s.nCWL + s.nBL + s.nWTR});
    t[int(Command::WR)].push_back({Command::RDA, 1, s.nCWL + s.nBL + s.nWTR});
    t[int(Command::WRA)].push_back({Command::RD, 1, s.nCWL + s.nBL + s.nWTR});
    t[int(Command::WRA)].push_back({Command::RDA, 1, s.nCWL + s.nBL + s.nWTR});

    t[int(Command::RD)].push_back({Command::PREA, 1, s.nRTP});
    t[int(Command::WR)].push_back({Command::PREA, 1, s.nCWL + s.nBL + s.nWR});

    // CAS <-> PD
    t[int(Command::RD)].push_back({Command::PDE, 1, s.nCL + s.nBL + 1});
    t[int(Command::RDA)].push_back({Command::PDE, 1, s.nCL + s.nBL + 1});
    t[int(Command::WR)].push_back({Command::PDE, 1, s.nCWL + s.nBL + s.nWR});
    t[int(Command::WRA)].push_back({Command::PDE, 1, s.nCWL + s.nBL + s.nWR + 1}); // +1 for pre
    t[int(Command::PDX)].push_back({Command::RD, 1, s.nXPN});
    t[int(Command::PDX)].push_back({Command::RDA, 1, s.nXPN});
    t[int(Command::PDX)].push_back({Command::WR, 1, s.nXPN});
    t[int(Command::PDX)].push_back({Command::WRA, 1, s.nXPN});
    
    // CAS <-> SR: none (all banks have to be precharged)

    // RAS <-> RAS
    t[int(Command::ACT)].push_back({Command::ACT, 1, s.nRRD});
    t[int(Command::ACT)].push_back({Command::ACT, 4, s.nFAW});
    t[int(Command::ACT)].push_back({Command::ACT, 32, s.n32AW});
    t[int(Command::ACT)].push_back({Command::PREA, 1, s.nRAS});
    t[int(Command::PREA)].push_back({Command::ACT, 1, s.nRP});
    t[int(Command::PRE)].push_back({Command::PRE, 1, s.nPPD});

    // RAS <-> REF
    t[int(Command::PRE)].push_back({Command::REF, 1, s.nRP});
    t[int(Command::PREA)].push_back({Command::REF, 1, s.nRP});
    t[int(Command::REF)].push_back({Command::ACT, 1, s.nRFC});

    // RAS <-> PD
    t[int(Command::ACT)].push_back({Command::PDE, 1, 1});
    t[int(Command::PDX)].push_back({Command::ACT, 1, s.nXPN});
    t[int(Command::PDX)].push_back({Command::PRE, 1, s.nXPN});
    t[int(Command::PDX)].push_back({Command::PREA, 1, s.nXPN});

    // RAS <-> SR
    t[int(Command::PRE)].push_back({Command::SRE, 1, s.nRP});
    t[int(Command::PREA)].push_back({Command::SRE, 1, s.nRP});
    t[int(Command::SRX)].push_back({Command::ACT, 1, s.nXS});

    // REF <-> REF
    t[int(Command::REF)].push_back({Command::REF, 1, s.nRFC});

    // REF <-> PD
    t[int(Command::REF)].push_back({Command::PDE, 1, 1});
    t[int(Command::PDX)].push_back({Command::REF, 1, s.nXPN});

    // REF <-> SR
    t[int(Command::SRX)].push_back({Command::REF, 1, s.nXS});
    
    // PD <-> PD
    t[int(Command::PDE)].push_back({Command::PDX, 1, s.nPD});
    t[int(Command::PDX)].push_back({Command::PDE, 1, s.nXPN});

    // PD <-> SR
    t[int(Command::PDX)].push_back({Command::SRE, 1, s.nXPN});
    t[int(Command::SRX)].push_back({Command::PDE, 1, s.nXS});
    
    // SR <-> SR
    t[int(Command::SRE)].push_back({Command::SRX, 1, s.nCKESR});
    t[int(Command::SRX)].push_back({Command::SRE, 1, s.nXS});


    // Bank group level
    t = timing[int(Level::BankGroup)];
    // CAS <-> CAS
    t[int(Command::RD)].push_back({Command::RD, 1, s.nCCDL});
    t[int(Command::RD)].push_back({Command::RDA, 1, s.nCCDL});
    t[int(Command::RDA)].push_back({Command::RD, 1, s.nCCDL});
    t[int(Command::RDA)].push_back({Command::RDA, 1, s.nCCDL});
    t[int(Command::WR)].push_back({Command::WR, 1, s.nCCDL});
    t[int(Command::WR)].push_back({Command::WRA, 1, s.nCCDL});
    t[int(Command::WRA)].push_back({Command::WR, 1, s.nCCDL});
    t[int(Command::WRA)].push_back({Command::WRA, 1, s.nCCDL});
    t[int(Command::WR)].push_back({Command::WR, 1, s.nCCDL});
    t[int(Command::WR)].push_back({Command::WRA, 1, s.nCCDL});
    t[int(Command::WRA)].push_back({Command::WR, 1, s.nCCDL});
    t[int(Command::WRA)].push_back({Command::WRA, 1, s.nCCDL});

    /*** Bank ***/ 
    t = timing[int(Level::Bank)];

    // CAS <-> RAS
    t[int(Command::ACT)].push_back({Command::RD, 1, s.nRCDR});
    t[int(Command::ACT)].push_back({Command::RDA, 1, s.nRCDR});
    t[int(Command::ACT)].push_back({Command::WR, 1, s.nRCDW});
    t[int(Command::ACT)].push_back({Command::WRA, 1, s.nRCDW});

    t[int(Command::RD)].push_back({Command::PRE, 1, s.nRTP});
    t[int(Command::WR)].push_back({Command::PRE, 1, s.nCWL + s.nBL + s.nWR});

    t[int(Command::RDA)].push_back({Command::ACT, 1, s.nRTP + s.nRP});
    t[int(Command::WRA)].push_back({Command::ACT, 1, s.nCWL + s.nBL + s.nWR + s.nRP});

    // RAS <-> RAS
    t[int(Command::ACT)].push_back({Command::ACT, 1, s.nRC});
    t[int(Command::ACT)].push_back({Command::PRE, 1, s.nRAS});
    t[int(Command::PRE)].push_back({Command::ACT, 1, s.nRP});
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %rdi, %rbx
leaq 0x1d28(%rdi), %r14
movabsq $0x100000003, %rax      # imm = 0x100000003
movq %rsp, %r15
movq %rax, (%r15)
movl 0x31a0(%rdi), %eax
movl %eax, 0x8(%r15)
xorl %ebp, %ebp
movb %bpl, 0xc(%r15)
movq %r14, %rdi
movq %r15, %rsi
callq 0xac28e
movabsq $0x100000005, %r12      # imm = 0x100000005
movq %r12, (%r15)
movl 0x31a0(%rbx), %eax
movl %eax, 0x8(%r15)
movb %bpl, 0xc(%r15)
xorl %r13d, %r13d
movq %rsp, %r15
movq %r14, %rdi
movq %r15, %rsi
callq 0xac28e
leaq 0x1d58(%rbx), %r14
movabsq $0x100000003, %rax      # imm = 0x100000003
movq %rax, (%r15)
movl 0x31a0(%rbx), %eax
movl %eax, 0x8(%r15)
movb %r13b, 0xc(%r15)
movq %rsp, %r15
movq %r14, %rdi
movq %r15, %rsi
callq 0xac28e
movq %r12, (%r15)
movl 0x31a0(%rbx), %eax
movl %eax, 0x8(%r15)
movb %r13b, 0xc(%r15)
movq %rsp, %r15
movq %r14, %rdi
movq %r15, %rsi
callq 0xac28e
leaq 0x1d40(%rbx), %r14
movabsq $0x100000004, %rax      # imm = 0x100000004
movq %rax, (%r15)
movq %rax, %rbp
movl 0x31a0(%rbx), %eax
movl %eax, 0x8(%r15)
movb %r13b, 0xc(%r15)
movq %rsp, %r15
movq %r14, %rdi
movq %r15, %rsi
callq 0xac28e
movabsq $0x100000006, %rax      # imm = 0x100000006
movq %rax, (%r15)
movq %rax, %r12
movl 0x31a0(%rbx), %eax
movl %eax, 0x8(%r15)
movb %r13b, 0xc(%r15)
movq %rsp, %r15
movq %r14, %rdi
movq %r15, %rsi
callq 0xac28e
leaq 0x1d70(%rbx), %r14
movq %rbp, (%r15)
movl 0x31a0(%rbx), %eax
movl %eax, 0x8(%r15)
movb %r13b, 0xc(%r15)
movq %rsp, %r15
movq %r14, %rdi
movq %r15, %rsi
callq 0xac28e
movq %r12, (%r15)
movl 0x31a0(%rbx), %eax
movl %eax, 0x8(%r15)
movb %r13b, 0xc(%r15)
movq %rsp, %r12
movq %r14, %rdi
movq %r12, %rsi
callq 0xac28e
leaq 0x1e00(%rbx), %rax
movq %rax, 0x28(%rsp)
leaq 0x1e48(%rbx), %rbp
movabsq $0x100000003, %r15      # imm = 0x100000003
movq %r15, (%r12)
movl 0x31a4(%rbx), %eax
movl %eax, 0x8(%r12)
movb %r13b, 0xc(%r12)
movq %rsp, %r12
movq %rbp, %rdi
movq %rbp, 0x10(%rsp)
movq %r12, %rsi
callq 0xac28e
movabsq $0x100000005, %r14      # imm = 0x100000005
movq %r14, (%r12)
movl 0x31a4(%rbx), %eax
movl %eax, 0x8(%r12)
movb %r13b, 0xc(%r12)
movq %rsp, %r13
movq %rbp, %rdi
movq %r13, %rsi
callq 0xac28e
leaq 0x1e78(%rbx), %r12
movq %r12, 0x20(%rsp)
movq %r15, (%r13)
movl 0x31a4(%rbx), %eax
movl %eax, 0x8(%r13)
xorl %ebp, %ebp
movb %bpl, 0xc(%r13)
movq %rsp, %r13
movq %r12, %rdi
movq %r13, %rsi
callq 0xac28e
movq %r14, (%r13)
movl 0x31a4(%rbx), %eax
movl %eax, 0x8(%r13)
movb %bpl, 0xc(%r13)
xorl %r14d, %r14d
movq %rsp, %rbp
movq %r12, %rdi
movq %rbp, %rsi
callq 0xac28e
leaq 0x1e60(%rbx), %r13
movabsq $0x100000004, %r15      # imm = 0x100000004
movq %r15, (%rbp)
movl 0x31a4(%rbx), %eax
movl %eax, 0x8(%rbp)
movb %r14b, 0xc(%rbp)
movq %rsp, %rbp
movq %r13, %rdi
movq %r13, 0x30(%rsp)
movq %rbp, %rsi
callq 0xac28e
movabsq $0x100000006, %r12      # imm = 0x100000006
movq %r12, (%rbp)
movl 0x31a4(%rbx), %eax
movl %eax, 0x8(%rbp)
movb %r14b, 0xc(%rbp)
movq %rsp, %r14
movq %r13, %rdi
movq %r14, %rsi
callq 0xac28e
leaq 0x1e90(%rbx), %rbp
movq %rbp, 0x18(%rsp)
movq %r15, (%r14)
movl 0x31a4(%rbx), %eax
movl %eax, 0x8(%r14)
xorl %r13d, %r13d
movb %r13b, 0xc(%r14)
movq %rsp, %r14
movq %rbp, %rdi
movq %r14, %rsi
callq 0xac28e
movq %r12, (%r14)
movl 0x31a4(%rbx), %eax
movl %eax, 0x8(%r14)
movb %r13b, 0xc(%r14)
xorl %r13d, %r13d
movq %rsp, %r14
movq %rbp, %rdi
movq %r14, %rsi
callq 0xac28e
movq %r15, (%r14)
movq %r15, %rbp
movl 0x31ac(%rbx), %eax
addl 0x31a4(%rbx), %eax
subl 0x31bc(%rbx), %eax
addl $0x2, %eax
movl %eax, 0x8(%r14)
movb %r13b, 0xc(%r14)
movq %rsp, %r14
movq 0x10(%rsp), %r15
movq %r15, %rdi
movq %r14, %rsi
callq 0xac28e
movq %r12, (%r14)
movl 0x31ac(%rbx), %eax
addl 0x31a4(%rbx), %eax
subl 0x31bc(%rbx), %eax
addl $0x2, %eax
movl %eax, 0x8(%r14)
movb %r13b, 0xc(%r14)
movq %rsp, %r14
movq %r15, %rdi
movq %r14, %rsi
callq 0xac28e
movq %rbp, (%r14)
movl 0x31ac(%rbx), %eax
addl 0x31a4(%rbx), %eax
subl 0x31bc(%rbx), %eax
addl $0x2, %eax
movl %eax, 0x8(%r14)
movb %r13b, 0xc(%r14)
movq %rsp, %r14
movq 0x20(%rsp), %r15
movq %r15, %rdi
movq %r14, %rsi
callq 0xac28e
movq %r12, (%r14)
movl 0x31ac(%rbx), %eax
addl 0x31a4(%rbx), %eax
subl 0x31bc(%rbx), %eax
addl $0x2, %eax
movl %eax, 0x8(%r14)
movb %r13b, 0xc(%r14)
movq %rsp, %r14
movq %r15, %rdi
movq %r14, %rsi
callq 0xac28e
movabsq $0x100000003, %r12      # imm = 0x100000003
movq %r12, (%r14)
movl 0x31a0(%rbx), %eax
addl 0x31bc(%rbx), %eax
addl 0x31d0(%rbx), %eax
movl %eax, 0x8(%r14)
movb %r13b, 0xc(%r14)
movq %rsp, %r14
movq 0x30(%rsp), %rbp
movq %rbp, %rdi
movq %r14, %rsi
callq 0xac28e
movabsq $0x100000005, %r15      # imm = 0x100000005
movq %r15, (%r14)
movl 0x31a0(%rbx), %eax
addl 0x31bc(%rbx), %eax
addl 0x31d0(%rbx), %eax
movl %eax, 0x8(%r14)
movb %r13b, 0xc(%r14)
movq %rsp, %r14
movq %rbp, %rdi
movq %r14, %rsi
callq 0xac28e
movq %r12, (%r14)
movl 0x31a0(%rbx), %eax
addl 0x31bc(%rbx), %eax
addl 0x31d0(%rbx), %eax
movl %eax, 0x8(%r14)
movb %r13b, 0xc(%r14)
movq %rsp, %r14
movq 0x18(%rsp), %r12
movq %r12, %rdi
movq %r14, %rsi
callq 0xac28e
movq %r15, (%r14)
movl 0x31a0(%rbx), %eax
addl 0x31bc(%rbx), %eax
addl 0x31d0(%rbx), %eax
movl %eax, 0x8(%r14)
movb %r13b, 0xc(%r14)
movq %rsp, %r14
movq %r12, %rdi
movq %r14, %rsi
callq 0xac28e
movabsq $0x100000002, %rax      # imm = 0x100000002
movq %rax, (%r14)
movq %rax, %r15
movl 0x31cc(%rbx), %eax
movl %eax, 0x8(%r14)
movb %r13b, 0xc(%r14)
movq %rsp, %r14
movq 0x10(%rsp), %r12
movq %r12, %rdi
movq %r14, %rsi
callq 0xac28e
movq %r15, (%r14)
movl 0x31a0(%rbx), %eax
addl 0x31bc(%rbx), %eax
addl 0x31d4(%rbx), %eax
movl %eax, 0x8(%r14)
movb %r13b, 0xc(%r14)
movq %rsp, %r14
movq %rbp, %rdi
movq %r14, %rsi
callq 0xac28e
movabsq $0x100000008, %rax      # imm = 0x100000008
movq %rax, (%r14)
movq %rax, %r15
movl 0x31a0(%rbx), %eax
movl 0x31ac(%rbx), %ecx
leal 0x1(%rcx,%rax), %eax
movl %eax, 0x8(%r14)
movb %r13b, 0xc(%r14)
movq %rsp, %r14
movq %r12, %rdi
movq %r14, %rsi
callq 0xac28e
movq %r15, (%r14)
movl 0x31a0(%rbx), %eax
movl 0x31ac(%rbx), %ecx
addl %ecx, %eax
incl %eax
movl %eax, 0x8(%r14)
movb %r13b, 0xc(%r14)
movq %rsp, %r14
movq 0x20(%rsp), %rdi
movq %r14, %rsi
callq 0xac28e
movq %r15, (%r14)
movl 0x31a0(%rbx), %eax
addl 0x31bc(%rbx), %eax
addl 0x31d4(%rbx), %eax
movl %eax, 0x8(%r14)
movb %r13b, 0xc(%r14)
movq %rsp, %r14
movq %rbp, %rdi
movq %r14, %rsi
callq 0xac28e
movq %r15, (%r14)
movl 0x31bc(%rbx), %eax
addl 0x31a0(%rbx), %eax
movl 0x31d4(%rbx), %ecx
addl %ecx, %eax
incl %eax
movl %eax, 0x8(%r14)
movb %r13b, 0xc(%r14)
movq %rsp, %r14
movq 0x18(%rsp), %rdi
movq %r14, %rsi
callq 0xac28e
leaq 0x1ed8(%rbx), %r15
movq %r15, 0x20(%rsp)
movabsq $0x100000003, %rax      # imm = 0x100000003
movq %rax, (%r14)
movl 0x31f0(%rbx), %eax
movl %eax, 0x8(%r14)
movb %r13b, 0xc(%r14)
movq %rsp, %r14
movq %r15, %rdi
movq %r14, %rsi
callq 0xac28e
movabsq $0x100000005, %rax      # imm = 0x100000005
movq %rax, (%r14)
movl 0x31f0(%rbx), %eax
movl %eax, 0x8(%r14)
movb %r13b, 0xc(%r14)
movq %rsp, %r14
movq %r15, %rdi
movq %r14, %rsi
callq 0xac28e
movabsq $0x100000004, %rax      # imm = 0x100000004
movq %rax, (%r14)
movl 0x31f0(%rbx), %eax
movl %eax, 0x8(%r14)
movb %r13b, 0xc(%r14)
movq %rsp, %r14
movq %r15, %rdi
movq %r14, %rsi
callq 0xac28e
movabsq $0x100000006, %rax      # imm = 0x100000006
movq %rax, (%r14)
movl 0x31f0(%rbx), %eax
movl %eax, 0x8(%r14)
movb %r13b, 0xc(%r14)
movq %rsp, %r14
movq %r15, %rdi
movq %r14, %rsi
callq 0xac28e
movabsq $0x100000000, %rax      # imm = 0x100000000
movq %rax, (%r14)
movq %rax, %r15
movl 0x31d8(%rbx), %eax
movl %eax, 0x8(%r14)
movb %r13b, 0xc(%r14)
movq %rsp, %r14
movq 0x28(%rsp), %r12
movq %r12, %rdi
movq %r14, %rsi
callq 0xac28e
movabsq $0x400000000, %rax      # imm = 0x400000000
movq %rax, (%r14)
movl 0x31dc(%rbx), %eax
movl %eax, 0x8(%r14)
movb %r13b, 0xc(%r14)
movq %rsp, %r14
movq %r12, %rdi
movq %r14, %rsi
callq 0xac28e
movabsq $0x2000000000, %rax     # imm = 0x2000000000
movq %rax, (%r14)
movl 0x31e0(%rbx), %eax
movl %eax, 0x8(%r14)
movb %r13b, 0xc(%r14)
movq %rsp, %r14
movq %r12, %rdi
movq %r14, %rsi
callq 0xac28e
movabsq $0x100000002, %rax      # imm = 0x100000002
movq %rax, (%r14)
movl 0x31c0(%rbx), %eax
movl %eax, 0x8(%r14)
movb %r13b, 0xc(%r14)
movq %rsp, %r14
movq %r12, %rdi
movq %r14, %rsi
callq 0xac28e
leaq 0x1e30(%rbx), %rbp
movq %r15, (%r14)
movl 0x31b8(%rbx), %eax
movl %eax, 0x8(%r14)
movb %r13b, 0xc(%r14)
movq %rsp, %r14
movq %rbp, %rdi
movq %rbp, 0x10(%rsp)
movq %r14, %rsi
callq 0xac28e
leaq 0x1e18(%rbx), %r12
movabsq $0x100000001, %rax      # imm = 0x100000001
movq %rax, (%r14)
movl 0x31c8(%rbx), %eax
movl %eax, 0x8(%r14)
movb %r13b, 0xc(%r14)
movq %rsp, %r14
movq %r12, %rdi
movq %r12, 0x30(%rsp)
movq %r14, %rsi
callq 0xac28e
movabsq $0x100000007, %r15      # imm = 0x100000007
movq %r15, (%r14)
movl 0x31b8(%rbx), %eax
movl %eax, 0x8(%r14)
movb %r13b, 0xc(%r14)
movq %rsp, %r14
movq %r12, %rdi
movq %r14, %rsi
callq 0xac28e
movq %r15, (%r14)
movl 0x31b8(%rbx), %eax
movl %eax, 0x8(%r14)
movb %r13b, 0xc(%r14)
movq %rsp, %r14
movq %rbp, %rdi
movq %r14, %rsi
callq 0xac28e
leaq 0x1ea8(%rbx), %rdi
movq %rdi, 0x18(%rsp)
movabsq $0x100000000, %r15      # imm = 0x100000000
movq %r15, (%r14)
movl 0x31e4(%rbx), %eax
movl %eax, 0x8(%r14)
movb %r13b, 0xc(%r14)
movq %rsp, %r14
movq %r14, %rsi
callq 0xac28e
movabsq $0x100000008, %rax      # imm = 0x100000008
movq %rax, (%r14)
pushq $0x1
popq %rax
movl %eax, 0x8(%r14)
movb %r13b, 0xc(%r14)
movq %rsp, %r14
movq 0x28(%rsp), %rdi
movq %r14, %rsi
callq 0xac28e
movq %r15, (%r14)
movl 0x31f0(%rbx), %eax
movl %eax, 0x8(%r14)
movb %r13b, 0xc(%r14)
movq %rsp, %r14
movq 0x20(%rsp), %r15
movq %r15, %rdi
movq %r14, %rsi
callq 0xac28e
movabsq $0x100000001, %rax      # imm = 0x100000001
movq %rax, (%r14)
movl 0x31f0(%rbx), %eax
movl %eax, 0x8(%r14)
movb %r13b, 0xc(%r14)
movq %rsp, %r14
movq %r15, %rdi
movq %r14, %rsi
callq 0xac28e
movabsq $0x100000002, %rax      # imm = 0x100000002
movq %rax, (%r14)
movl 0x31f0(%rbx), %eax
movl %eax, 0x8(%r14)
movb %r13b, 0xc(%r14)
movq %rsp, %r14
movq %r15, %rdi
movq %r14, %rsi
callq 0xac28e
movabsq $0x10000000a, %r12      # imm = 0x10000000A
movq %r12, (%r14)
movl 0x31b8(%rbx), %eax
movl %eax, 0x8(%r14)
movb %r13b, 0xc(%r14)
movq %rsp, %r14
movq 0x30(%rsp), %rdi
movq %r14, %rsi
callq 0xac28e
movq %r12, (%r14)
movl 0x31b8(%rbx), %eax
movl %eax, 0x8(%r14)
movb %r13b, 0xc(%r14)
movq %rsp, %rbp
movq 0x10(%rsp), %rdi
movq %rbp, %rsi
callq 0xac28e
leaq 0x1f08(%rbx), %rdi
movq %rdi, 0x28(%rsp)
movabsq $0x100000000, %rax      # imm = 0x100000000
movq %rax, (%rbp)
movl 0x31fc(%rbx), %eax
movl %eax, 0x8(%rbp)
movb %r13b, 0xc(%rbp)
movq %rsp, %r12
movq %r12, %rsi
callq 0xac28e
movabsq $0x100000007, %rax      # imm = 0x100000007
movq %rax, (%r12)
movl 0x31e4(%rbx), %eax
movl %eax, 0x8(%r12)
movb %r13b, 0xc(%r12)
movq %rsp, %r12
movq 0x18(%rsp), %r14
movq %r14, %rdi
movq %r12, %rsi
callq 0xac28e
pushq $0x8
popq %rax
movl %eax, (%r12)
pushq $0x1
popq %rbp
movl %ebp, 0x4(%r12)
movl %ebp, 0x8(%r12)
movb %r13b, 0xc(%r12)
movq %rsp, %r12
movq %r14, %rdi
movq %r12, %rsi
callq 0xac28e
pushq $0x7
popq %r14
movl %r14d, (%r12)
movl %ebp, 0x4(%r12)
movl 0x31f0(%rbx), %eax
movl %eax, 0x8(%r12)
movb %r13b, 0xc(%r12)
movq %rsp, %r12
movq %r15, %rdi
movq %r12, %rsi
callq 0xac28e
movl %r14d, (%r12)
movl %ebp, 0x4(%r12)
movl 0x31fc(%rbx), %eax
movl %eax, 0x8(%r12)
movb %r13b, 0xc(%r12)
movq %rsp, %r12
movq 0x28(%rsp), %r14
movq %r14, %rdi
movq %r12, %rsi
callq 0xac28e
leaq 0x1ec0(%rbx), %rdi
movl $0x9, (%r12)
movl %ebp, 0x4(%r12)
movl 0x31ec(%rbx), %eax
movl %eax, 0x8(%r12)
movb %r13b, 0xc(%r12)
movq %rsp, %r12
movq %r12, %rsi
callq 0xac28e
pushq $0x8
popq %rax
movl %eax, (%r12)
movl %ebp, 0x4(%r12)
movl 0x31f0(%rbx), %eax
movl %eax, 0x8(%r12)
movb %r13b, 0xc(%r12)
movq %rsp, %r12
movq %r15, %rdi
movq %r12, %rsi
callq 0xac28e
pushq $0xa
popq %rax
movl %eax, (%r12)
movl %ebp, 0x4(%r12)
movl 0x31f0(%rbx), %eax
movl %eax, 0x8(%r12)
movb %r13b, 0xc(%r12)
movq %rsp, %r12
movq %r15, %rdi
movq %r12, %rsi
callq 0xac28e
pushq $0x8
popq %rax
movl %eax, (%r12)
movl %ebp, 0x4(%r12)
movl 0x31fc(%rbx), %eax
movl %eax, 0x8(%r12)
movb %r13b, 0xc(%r12)
movq %rsp, %r15
movq %r14, %rdi
movq %r15, %rsi
callq 0xac28e
leaq 0x1ef0(%rbx), %rdi
movl $0xb, (%r15)
movl %ebp, 0x4(%r15)
movl 0x31f8(%rbx), %eax
movl %eax, 0x8(%r15)
movb %r13b, 0xc(%r15)
movq %rsp, %r15
movq %r15, %rsi
callq 0xac28e
pushq $0xa
popq %rax
movl %eax, (%r15)
movl %ebp, 0x4(%r15)
movl 0x31fc(%rbx), %eax
movl %eax, 0x8(%r15)
movb %r13b, 0xc(%r15)
movq %rsp, %r15
movq %r14, %rdi
movq %r15, %rsi
callq 0xac28e
leaq 0x1f68(%rbx), %r14
pushq $0x3
popq %rax
movl %eax, (%r15)
movl %ebp, 0x4(%r15)
movl 0x31a8(%rbx), %eax
movl %eax, 0x8(%r15)
movb %r13b, 0xc(%r15)
movq %rsp, %r15
movq %r14, %rdi
movq %r15, %rsi
callq 0xac28e
pushq $0x5
popq %r12
movl %r12d, (%r15)
movl %ebp, 0x4(%r15)
movl 0x31a8(%rbx), %eax
movl %eax, 0x8(%r15)
movb %r13b, 0xc(%r15)
movq %rsp, %r15
movq %r14, %rdi
movq %r15, %rsi
callq 0xac28e
leaq 0x1f98(%rbx), %r14
pushq $0x3
popq %rax
movl %eax, (%r15)
movl %ebp, 0x4(%r15)
movl 0x31a8(%rbx), %eax
movl %eax, 0x8(%r15)
movb %r13b, 0xc(%r15)
movq %rsp, %r15
movq %r14, %rdi
movq %r15, %rsi
callq 0xac28e
movl %r12d, (%r15)
movl %ebp, 0x4(%r15)
movl 0x31a8(%rbx), %eax
movl %eax, 0x8(%r15)
movb %r13b, 0xc(%r15)
movq %rsp, %r15
movq %r14, %rdi
movq %r15, %rsi
callq 0xac28e
leaq 0x1f80(%rbx), %r14
pushq $0x4
popq %rax
movl %eax, (%r15)
movl %ebp, 0x4(%r15)
movl 0x31a8(%rbx), %eax
movl %eax, 0x8(%r15)
movb %r13b, 0xc(%r15)
movq %rsp, %r15
movq %r14, %rdi
movq %r15, %rsi
callq 0xac28e
pushq $0x6
popq %rax
movl %eax, (%r15)
movl %ebp, 0x4(%r15)
movl 0x31a8(%rbx), %eax
movl %eax, 0x8(%r15)
movb %r13b, 0xc(%r15)
xorl %r13d, %r13d
movq %rsp, %r12
movq %r14, %rdi
movq %r12, %rsi
callq 0xac28e
leaq 0x1fb0(%rbx), %r15
pushq $0x4
popq %rax
movl %eax, (%r12)
movl %ebp, 0x4(%r12)
movl 0x31a8(%rbx), %eax
movl %eax, 0x8(%r12)
movb %r13b, 0xc(%r12)
movq %rsp, %r12
movq %r15, %rdi
movq %r12, %rsi
callq 0xac28e
pushq $0x6
popq %rax
movl %eax, (%r12)
movl %ebp, 0x4(%r12)
movl 0x31a8(%rbx), %eax
movl %eax, 0x8(%r12)
xorl %r13d, %r13d
movb %r13b, 0xc(%r12)
movq %rsp, %r12
movq %r15, %rdi
movq %r12, %rsi
callq 0xac28e
pushq $0x4
popq %rax
movl %eax, (%r12)
movl %ebp, 0x4(%r12)
movl 0x31a8(%rbx), %eax
movl %eax, 0x8(%r12)
movb %r13b, 0xc(%r12)
movq %rsp, %r12
movq %r14, %rdi
movq %r12, %rsi
callq 0xac28e
pushq $0x6
popq %rax
movl %eax, (%r12)
movl %ebp, 0x4(%r12)
movl 0x31a8(%rbx), %eax
movl %eax, 0x8(%r12)
movb %r13b, 0xc(%r12)
movq %rsp, %r12
movq %r14, %rdi
movq %r12, %rsi
callq 0xac28e
pushq $0x4
popq %rax
movl %eax, (%r12)
movl %ebp, 0x4(%r12)
movl 0x31a8(%rbx), %eax
movl %eax, 0x8(%r12)
movb %r13b, 0xc(%r12)
xorl %r12d, %r12d
movq %rsp, %r14
movq %r15, %rdi
movq %r14, %rsi
callq 0xac28e
pushq $0x6
popq %rax
movl %eax, (%r14)
movl %ebp, 0x4(%r14)
movl 0x31a8(%rbx), %eax
movl %eax, 0x8(%r14)
movb %r12b, 0xc(%r14)
xorl %r13d, %r13d
movq %rsp, %r12
movq %r15, %rdi
movq %r12, %rsi
callq 0xac28e
leaq 0x2040(%rbx), %r14
pushq $0x3
popq %rax
movl %eax, (%r12)
movl %ebp, 0x4(%r12)
movl 0x31b0(%rbx), %eax
movl %eax, 0x8(%r12)
movb %r13b, 0xc(%r12)
movq %rsp, %r15
movq %r14, %rdi
movq %r15, %rsi
callq 0xac28e
pushq $0x5
popq %rax
movl %eax, (%r15)
movl %ebp, 0x4(%r15)
movl 0x31b0(%rbx), %eax
movl %eax, 0x8(%r15)
xorl %r12d, %r12d
movb %r12b, 0xc(%r15)
movq %rsp, %r15
movq %r14, %rdi
movq %r15, %rsi
callq 0xac28e
pushq $0x4
popq %rax
movl %eax, (%r15)
movl %ebp, 0x4(%r15)
movl 0x31b4(%rbx), %eax
movl %eax, 0x8(%r15)
movb %r12b, 0xc(%r15)
movq %rsp, %r15
movq %r14, %rdi
movq %r15, %rsi
callq 0xac28e
pushq $0x6
popq %rax
movl %eax, (%r15)
movl %ebp, 0x4(%r15)
movl 0x31b4(%rbx), %eax
movl %eax, 0x8(%r15)
movb %r12b, 0xc(%r15)
movq %rsp, %r15
movq %r14, %rdi
movq %r15, %rsi
callq 0xac28e
leaq 0x2088(%rbx), %rdi
movl %ebp, (%r15)
movl %ebp, 0x4(%r15)
movl 0x31cc(%rbx), %eax
movl %eax, 0x8(%r15)
movb %r12b, 0xc(%r15)
movq %rsp, %r15
movq %r15, %rsi
callq 0xac28e
leaq 0x20a0(%rbx), %rdi
movl %ebp, (%r15)
movl %ebp, 0x4(%r15)
movl 0x31a0(%rbx), %eax
addl 0x31bc(%rbx), %eax
addl 0x31d4(%rbx), %eax
movl %eax, 0x8(%r15)
movb %r12b, 0xc(%r15)
movq %rsp, %r15
movq %r15, %rsi
callq 0xac28e
andl $0x0, (%r15)
leaq 0x20b8(%rbx), %rdi
movl %ebp, 0x4(%r15)
movl 0x31b8(%rbx), %eax
addl 0x31cc(%rbx), %eax
movl %eax, 0x8(%r15)
movb %r12b, 0xc(%r15)
xorl %r12d, %r12d
movq %rsp, %r15
movq %r15, %rsi
callq 0xac28e
andl $0x0, (%r15)
leaq 0x20d0(%rbx), %rdi
movl %ebp, 0x4(%r15)
movl 0x31a0(%rbx), %eax
addl 0x31bc(%rbx), %eax
addl 0x31d4(%rbx), %eax
addl 0x31b8(%rbx), %eax
movl %eax, 0x8(%r15)
movb %r12b, 0xc(%r15)
movq %rsp, %r15
movq %r15, %rsi
callq 0xac28e
andl $0x0, (%r15)
movl %ebp, 0x4(%r15)
movl 0x31c4(%rbx), %eax
movl %eax, 0x8(%r15)
movb %r12b, 0xc(%r15)
movq %rsp, %r15
movq %r14, %rdi
movq %r15, %rsi
callq 0xac28e
movl %ebp, (%r15)
movl %ebp, 0x4(%r15)
movl 0x31c0(%rbx), %eax
movl %eax, 0x8(%r15)
movb %r12b, 0xc(%r15)
movq %rsp, %r15
movq %r14, %rdi
movq %r15, %rsi
callq 0xac28e
andl $0x0, (%r15)
movl %ebp, 0x4(%r15)
movl 0x31b8(%rbx), %eax
addq $0x2058, %rbx           # imm = 0x2058
movl %eax, 0x8(%r15)
movb %r12b, 0xc(%r15)
movq %rsp, %rsi
movq %rbx, %rdi
callq 0xac28e
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop