// File: /workspace/github_cpp_makefile_star2_O2/CMU-SAFARI[P]ramulator/src/ALDRAM.cpp
// Function: ramulator::ALDRAM::init_timing(ramulator::ALDRAM::SpeedEntry)
void ALDRAM::init_timing(SpeedEntry speed_entry)
{
    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.nCCD});
    t[int(Command::RD)].push_back({Command::RDA, 1, s.nCCD});
    t[int(Command::RDA)].push_back({Command::RD, 1, s.nCCD});
    t[int(Command::RDA)].push_back({Command::RDA, 1, s.nCCD});
    t[int(Command::WR)].push_back({Command::WR, 1, s.nCCD});
    t[int(Command::WR)].push_back({Command::WRA, 1, s.nCCD});
    t[int(Command::WRA)].push_back({Command::WR, 1, s.nCCD});
    t[int(Command::WRA)].push_back({Command::WRA, 1, s.nCCD});
    t[int(Command::RD)].push_back({Command::WR, 1, s.nCL + s.nCCD + 2 - s.nCWL});
    t[int(Command::RD)].push_back({Command::WRA, 1, s.nCL + s.nCCD + 2 - s.nCWL});
    t[int(Command::RDA)].push_back({Command::WR, 1, s.nCL + s.nCCD + 2 - s.nCWL});
    t[int(Command::RDA)].push_back({Command::WRA, 1, s.nCL + s.nCCD + 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});

    // CAS <-> CAS (between sibling ranks)
    t[int(Command::RD)].push_back({Command::RD, 1, s.nBL + s.nRTRS, true});
    t[int(Command::RD)].push_back({Command::RDA, 1, s.nBL + s.nRTRS, true});
    t[int(Command::RDA)].push_back({Command::RD, 1, s.nBL + s.nRTRS, true});
    t[int(Command::RDA)].push_back({Command::RDA, 1, s.nBL + s.nRTRS, true});
    t[int(Command::RD)].push_back({Command::WR, 1, s.nBL + s.nRTRS, true});
    t[int(Command::RD)].push_back({Command::WRA, 1, s.nBL + s.nRTRS, true});
    t[int(Command::RDA)].push_back({Command::WR, 1, s.nBL + s.nRTRS, true});
    t[int(Command::RDA)].push_back({Command::WRA, 1, s.nBL + s.nRTRS, true});
    t[int(Command::RD)].push_back({Command::WR, 1, s.nCL + s.nBL + s.nRTRS - s.nCWL, true});
    t[int(Command::RD)].push_back({Command::WRA, 1, s.nCL + s.nBL + s.nRTRS - s.nCWL, true});
    t[int(Command::RDA)].push_back({Command::WR, 1, s.nCL + s.nBL + s.nRTRS - s.nCWL, true});
    t[int(Command::RDA)].push_back({Command::WRA, 1, s.nCL + s.nBL + s.nRTRS - s.nCWL, true});
    t[int(Command::WR)].push_back({Command::RD, 1, s.nCWL + s.nBL + s.nRTRS - s.nCL, true});
    t[int(Command::WR)].push_back({Command::RDA, 1, s.nCWL + s.nBL + s.nRTRS - s.nCL, true});
    t[int(Command::WRA)].push_back({Command::RD, 1, s.nCWL + s.nBL + s.nRTRS - s.nCL, true});
    t[int(Command::WRA)].push_back({Command::RDA, 1, s.nCWL + s.nBL + s.nRTRS - s.nCL, true});

    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.nXP});
    t[int(Command::PDX)].push_back({Command::RDA, 1, s.nXP});
    t[int(Command::PDX)].push_back({Command::WR, 1, s.nXP});
    t[int(Command::PDX)].push_back({Command::WRA, 1, s.nXP});

    // 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::PREA, 1, s.nRAS});
    t[int(Command::PREA)].push_back({Command::ACT, 1, s.nRP});

    // 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.nXP});
    t[int(Command::PDX)].push_back({Command::PRE, 1, s.nXP});
    t[int(Command::PDX)].push_back({Command::PREA, 1, s.nXP});

    // 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.nXP});

    // 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.nXP});

    // PD <-> SR
    t[int(Command::PDX)].push_back({Command::SRE, 1, s.nXP});
    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 ***/
    t = timing[int(Level::Bank)];

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

    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 $0x48, %rsp
movq %rdi, %r13
leaq 0x18a8(%rdi), %r14
movabsq $0x100000003, %rax      # imm = 0x100000003
leaq 0x8(%rsp), %r15
movq %rax, (%r15)
movq %rax, %rbp
movl 0x98(%rsp), %eax
movl %eax, 0x8(%r15)
xorl %ebx, %ebx
movb %bl, 0xc(%r15)
movq %r14, %rdi
movq %r15, %rsi
callq 0x9a02a
movabsq $0x100000005, %rax      # imm = 0x100000005
movq %rax, (%r15)
movq %rax, %r12
movl 0x98(%rsp), %eax
movl %eax, 0x8(%r15)
movb %bl, 0xc(%r15)
leaq 0x8(%rsp), %r15
movq %r14, %rdi
movq %r15, %rsi
callq 0x9a02a
leaq 0x18d8(%r13), %r14
movq %rbp, (%r15)
movl 0x98(%rsp), %eax
movl %eax, 0x8(%r15)
movb %bl, 0xc(%r15)
leaq 0x8(%rsp), %r15
movq %r14, %rdi
movq %r15, %rsi
callq 0x9a02a
movq %r12, (%r15)
movl 0x98(%rsp), %eax
movl %eax, 0x8(%r15)
movb %bl, 0xc(%r15)
leaq 0x8(%rsp), %r15
movq %r14, %rdi
movq %r15, %rsi
callq 0x9a02a
leaq 0x18c0(%r13), %r14
movabsq $0x100000004, %rbp      # imm = 0x100000004
movq %rbp, (%r15)
movl 0x98(%rsp), %eax
movl %eax, 0x8(%r15)
movb %bl, 0xc(%r15)
leaq 0x8(%rsp), %r15
movq %r14, %rdi
movq %r15, %rsi
callq 0x9a02a
movabsq $0x100000006, %rax      # imm = 0x100000006
movq %rax, (%r15)
movq %rax, %r12
movl 0x98(%rsp), %eax
movl %eax, 0x8(%r15)
movb %bl, 0xc(%r15)
leaq 0x8(%rsp), %r15
movq %r14, %rdi
movq %r15, %rsi
callq 0x9a02a
leaq 0x18f0(%r13), %r14
movq %rbp, (%r15)
movl 0x98(%rsp), %eax
movl %eax, 0x8(%r15)
movb %bl, 0xc(%r15)
leaq 0x8(%rsp), %r15
movq %r14, %rdi
movq %r15, %rsi
callq 0x9a02a
movq %r12, (%r15)
movl 0x98(%rsp), %eax
movl %eax, 0x8(%r15)
movb %bl, 0xc(%r15)
leaq 0x8(%rsp), %r12
movq %r14, %rdi
movq %r12, %rsi
callq 0x9a02a
movq %r13, %r14
leaq 0x1980(%r13), %rax
movq %rax, 0x40(%rsp)
leaq 0x19c8(%r13), %rbx
movabsq $0x100000003, %r15      # imm = 0x100000003
movq %r15, (%r12)
movl 0x9c(%rsp), %eax
movl %eax, 0x8(%r12)
xorl %r13d, %r13d
movb %r13b, 0xc(%r12)
leaq 0x8(%rsp), %r12
movq %rbx, %rdi
movq %rbx, 0x20(%rsp)
movq %r12, %rsi
callq 0x9a02a
movabsq $0x100000005, %rbp      # imm = 0x100000005
movq %rbp, (%r12)
movl 0x9c(%rsp), %eax
movl %eax, 0x8(%r12)
movb %r13b, 0xc(%r12)
leaq 0x8(%rsp), %r13
movq %rbx, %rdi
movq %r13, %rsi
callq 0x9a02a
leaq 0x19f8(%r14), %r12
movq %r12, 0x18(%rsp)
movq %r15, (%r13)
movl 0x9c(%rsp), %eax
movl %eax, 0x8(%r13)
xorl %ebx, %ebx
movb %bl, 0xc(%r13)
leaq 0x8(%rsp), %r13
movq %r12, %rdi
movq %r13, %rsi
callq 0x9a02a
movq %rbp, (%r13)
movl 0x9c(%rsp), %eax
movl %eax, 0x8(%r13)
movb %bl, 0xc(%r13)
xorl %ebx, %ebx
leaq 0x8(%rsp), %rbp
movq %r12, %rdi
movq %rbp, %rsi
callq 0x9a02a
movq %r14, 0x30(%rsp)
leaq 0x19e0(%r14), %r15
movq %r15, 0x38(%rsp)
movabsq $0x100000004, %r13      # imm = 0x100000004
movq %r13, (%rbp)
movl 0x9c(%rsp), %eax
movl %eax, 0x8(%rbp)
movb %bl, 0xc(%rbp)
leaq 0x8(%rsp), %rbp
movq %r15, %rdi
movq %rbp, %rsi
callq 0x9a02a
movabsq $0x100000006, %r12      # imm = 0x100000006
movq %r12, (%rbp)
movl 0x9c(%rsp), %eax
movl %eax, 0x8(%rbp)
movb %bl, 0xc(%rbp)
leaq 0x8(%rsp), %rbp
movq %r15, %rdi
movq %rbp, %rsi
callq 0x9a02a
leaq 0x1a10(%r14), %r15
movq %r15, 0x28(%rsp)
movq %r13, (%rbp)
movl 0x9c(%rsp), %eax
movl %eax, 0x8(%rbp)
movb %bl, 0xc(%rbp)
leaq 0x8(%rsp), %r14
movq %r15, %rdi
movq %r14, %rsi
callq 0x9a02a
movq %r12, (%r14)
movl 0x9c(%rsp), %eax
movl %eax, 0x8(%r14)
movb %bl, 0xc(%r14)
leaq 0x8(%rsp), %r14
movq %r15, %rdi
movq %r14, %rsi
callq 0x9a02a
movq %r13, (%r14)
movq %r13, %r15
movl 0xa4(%rsp), %eax
addl 0x9c(%rsp), %eax
subl 0xb0(%rsp), %eax
pushq $0x2
popq %rcx
addl %ecx, %eax
movl %ecx, %ebp
movl %eax, 0x8(%r14)
movb %bl, 0xc(%r14)
leaq 0x8(%rsp), %r14
movq 0x20(%rsp), %r13
movq %r13, %rdi
movq %r14, %rsi
callq 0x9a02a
movl 0xa4(%rsp), %eax
addl 0x9c(%rsp), %eax
subl 0xb0(%rsp), %eax
movq %r12, (%r14)
addl %ebp, %eax
movl %eax, 0x8(%r14)
movb %bl, 0xc(%r14)
leaq 0x8(%rsp), %r14
movq %r13, %rdi
movq %r14, %rsi
callq 0x9a02a
movl 0xa4(%rsp), %eax
addl 0x9c(%rsp), %eax
subl 0xb0(%rsp), %eax
movq %r15, (%r14)
addl %ebp, %eax
movl %eax, 0x8(%r14)
movb %bl, 0xc(%r14)
leaq 0x8(%rsp), %r14
movq 0x18(%rsp), %r15
movq %r15, %rdi
movq %r14, %rsi
callq 0x9a02a
movl 0xa4(%rsp), %eax
addl 0x9c(%rsp), %eax
subl 0xb0(%rsp), %eax
movq %r12, (%r14)
addl %ebp, %eax
movl %eax, 0x8(%r14)
movb %bl, 0xc(%r14)
leaq 0x8(%rsp), %r14
movq %r15, %rdi
movq %r14, %rsi
callq 0x9a02a
movabsq $0x100000003, %r13      # imm = 0x100000003
movq %r13, (%r14)
movl 0x98(%rsp), %eax
addl 0xb0(%rsp), %eax
addl 0xc0(%rsp), %eax
movl %eax, 0x8(%r14)
movb %bl, 0xc(%r14)
leaq 0x8(%rsp), %r14
movq 0x38(%rsp), %r15
movq %r15, %rdi
movq %r14, %rsi
callq 0x9a02a
movabsq $0x100000005, %r12      # imm = 0x100000005
movq %r12, (%r14)
movl 0x98(%rsp), %eax
addl 0xb0(%rsp), %eax
addl 0xc0(%rsp), %eax
movl %eax, 0x8(%r14)
movb %bl, 0xc(%r14)
leaq 0x8(%rsp), %r14
movq %r15, %rdi
movq %r14, %rsi
callq 0x9a02a
movq %r13, (%r14)
movl 0x98(%rsp), %eax
addl 0xb0(%rsp), %eax
addl 0xc0(%rsp), %eax
movl %eax, 0x8(%r14)
movb %bl, 0xc(%r14)
leaq 0x8(%rsp), %r14
movq 0x28(%rsp), %r15
movq %r15, %rdi
movq %r14, %rsi
callq 0x9a02a
movq %r12, (%r14)
movl 0x98(%rsp), %eax
addl 0xb0(%rsp), %eax
addl 0xc0(%rsp), %eax
movl %eax, 0x8(%r14)
movb %bl, 0xc(%r14)
leaq 0x8(%rsp), %r14
movq %r15, %rdi
movq %r14, %rsi
callq 0x9a02a
movl 0xa0(%rsp), %eax
addl 0x98(%rsp), %eax
movq %r13, (%r14)
movl %eax, 0x8(%r14)
movb $0x1, %bpl
movb %bpl, 0xc(%r14)
leaq 0x8(%rsp), %r14
movq 0x20(%rsp), %rbx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x9a02a
movq %r12, (%r14)
movl 0xa0(%rsp), %eax
addl 0x98(%rsp), %eax
movl %eax, 0x8(%r14)
movb %bpl, 0xc(%r14)
leaq 0x8(%rsp), %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0x9a02a
movq %r13, (%r14)
movl 0xa0(%rsp), %eax
addl 0x98(%rsp), %eax
movl %eax, 0x8(%r14)
movb %bpl, 0xc(%r14)
leaq 0x8(%rsp), %r14
movq 0x18(%rsp), %r15
movq %r15, %rdi
movq %r14, %rsi
callq 0x9a02a
movq %r12, (%r14)
movl 0xa0(%rsp), %eax
addl 0x98(%rsp), %eax
movl %eax, 0x8(%r14)
movb %bpl, 0xc(%r14)
leaq 0x8(%rsp), %r14
movq %r15, %rdi
movq %r15, %r12
movq %r14, %rsi
callq 0x9a02a
movabsq $0x100000004, %r13      # imm = 0x100000004
movq %r13, (%r14)
movl 0xa0(%rsp), %eax
addl 0x98(%rsp), %eax
movl %eax, 0x8(%r14)
movb %bpl, 0xc(%r14)
leaq 0x8(%rsp), %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0x9a02a
movabsq $0x100000006, %r15      # imm = 0x100000006
movq %r15, (%r14)
movl 0xa0(%rsp), %eax
addl 0x98(%rsp), %eax
movl %eax, 0x8(%r14)
movb %bpl, 0xc(%r14)
leaq 0x8(%rsp), %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0x9a02a
movq %r13, (%r14)
movl 0xa0(%rsp), %eax
addl 0x98(%rsp), %eax
movl %eax, 0x8(%r14)
movb %bpl, 0xc(%r14)
leaq 0x8(%rsp), %r14
movq %r12, %rdi
movq %r14, %rsi
callq 0x9a02a
movq %r15, (%r14)
movl 0xa0(%rsp), %eax
addl 0x98(%rsp), %eax
movl %eax, 0x8(%r14)
movb %bpl, 0xc(%r14)
leaq 0x8(%rsp), %r14
movq %r12, %rdi
movq %r14, %rsi
callq 0x9a02a
movq %r13, (%r14)
movl 0x98(%rsp), %eax
addl 0xa4(%rsp), %eax
addl 0xa0(%rsp), %eax
subl 0xb0(%rsp), %eax
movl %eax, 0x8(%r14)
movb %bpl, 0xc(%r14)
leaq 0x8(%rsp), %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0x9a02a
movq %r15, (%r14)
movl 0x98(%rsp), %eax
addl 0xa4(%rsp), %eax
addl 0xa0(%rsp), %eax
subl 0xb0(%rsp), %eax
movl %eax, 0x8(%r14)
movb %bpl, 0xc(%r14)
leaq 0x8(%rsp), %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0x9a02a
movq %r13, (%r14)
movl 0x98(%rsp), %eax
addl 0xa4(%rsp), %eax
addl 0xa0(%rsp), %eax
subl 0xb0(%rsp), %eax
movl %eax, 0x8(%r14)
movb %bpl, 0xc(%r14)
leaq 0x8(%rsp), %r14
movq %r12, %rdi
movq %r14, %rsi
callq 0x9a02a
movq %r15, (%r14)
movl 0x98(%rsp), %eax
addl 0xa4(%rsp), %eax
addl 0xa0(%rsp), %eax
subl 0xb0(%rsp), %eax
movl %eax, 0x8(%r14)
movb %bpl, 0xc(%r14)
leaq 0x8(%rsp), %r14
movq %r12, %rdi
movq %r14, %rsi
callq 0x9a02a
movabsq $0x100000003, %r12      # imm = 0x100000003
movq %r12, (%r14)
movl 0x98(%rsp), %eax
addl 0xb0(%rsp), %eax
addl 0xa0(%rsp), %eax
subl 0xa4(%rsp), %eax
movl %eax, 0x8(%r14)
movb %bpl, 0xc(%r14)
leaq 0x8(%rsp), %r14
movq 0x38(%rsp), %r15
movq %r15, %rdi
movq %r14, %rsi
callq 0x9a02a
movabsq $0x100000005, %rbx      # imm = 0x100000005
movq %rbx, (%r14)
movl 0x98(%rsp), %eax
addl 0xb0(%rsp), %eax
addl 0xa0(%rsp), %eax
subl 0xa4(%rsp), %eax
movl %eax, 0x8(%r14)
movb %bpl, 0xc(%r14)
leaq 0x8(%rsp), %r14
movq %r15, %rdi
movq %r14, %rsi
callq 0x9a02a
movq %r12, (%r14)
movl 0x98(%rsp), %eax
addl 0xb0(%rsp), %eax
addl 0xa0(%rsp), %eax
subl 0xa4(%rsp), %eax
movl %eax, 0x8(%r14)
movb %bpl, 0xc(%r14)
leaq 0x8(%rsp), %r14
movq 0x28(%rsp), %r13
movq %r13, %rdi
movq %r14, %rsi
callq 0x9a02a
movq %rbx, (%r14)
movl 0x98(%rsp), %eax
addl 0xb0(%rsp), %eax
addl 0xa0(%rsp), %eax
subl 0xa4(%rsp), %eax
movl %eax, 0x8(%r14)
movb %bpl, 0xc(%r14)
leaq 0x8(%rsp), %r14
movq %r13, %rdi
movq %r14, %rsi
callq 0x9a02a
movabsq $0x100000002, %rbp      # imm = 0x100000002
movq %rbp, (%r14)
movl 0xbc(%rsp), %eax
movl %eax, 0x8(%r14)
xorl %ebx, %ebx
movb %bl, 0xc(%r14)
leaq 0x8(%rsp), %r14
movq 0x20(%rsp), %r12
movq %r12, %rdi
movq %r14, %rsi
callq 0x9a02a
movq %rbp, (%r14)
movl 0x98(%rsp), %eax
addl 0xb0(%rsp), %eax
addl 0xc4(%rsp), %eax
movl %eax, 0x8(%r14)
movb %bl, 0xc(%r14)
xorl %ebx, %ebx
leaq 0x8(%rsp), %r14
movq %r15, %rdi
movq %r14, %rsi
callq 0x9a02a
movabsq $0x100000008, %rbp      # imm = 0x100000008
movq %rbp, (%r14)
movl 0x98(%rsp), %eax
movl 0xa4(%rsp), %ecx
leal 0x1(%rcx,%rax), %eax
movl %eax, 0x8(%r14)
movb %bl, 0xc(%r14)
leaq 0x8(%rsp), %r14
movq %r12, %rdi
movq %r14, %rsi
callq 0x9a02a
movq %rbp, (%r14)
movl 0x98(%rsp), %eax
movl 0xa4(%rsp), %ecx
addl %ecx, %eax
incl %eax
movl %eax, 0x8(%r14)
movb %bl, 0xc(%r14)
leaq 0x8(%rsp), %r14
movq 0x18(%rsp), %rdi
movq %r14, %rsi
callq 0x9a02a
movq %rbp, (%r14)
movl 0x98(%rsp), %eax
addl 0xb0(%rsp), %eax
addl 0xc4(%rsp), %eax
movl %eax, 0x8(%r14)
movb %bl, 0xc(%r14)
leaq 0x8(%rsp), %r14
movq %r15, %rdi
movq %r14, %rsi
callq 0x9a02a
movq %rbp, (%r14)
movl 0xb0(%rsp), %eax
addl 0x98(%rsp), %eax
movl 0xc4(%rsp), %ecx
addl %ecx, %eax
incl %eax
movl %eax, 0x8(%r14)
movb %bl, 0xc(%r14)
leaq 0x8(%rsp), %r14
movq %r13, %rdi
movq %r14, %rsi
callq 0x9a02a
movq 0x30(%rsp), %rbp
leaq 0x1a58(%rbp), %r15
movq %r15, 0x18(%rsp)
movabsq $0x100000003, %rax      # imm = 0x100000003
movq %rax, (%r14)
movl 0xdc(%rsp), %eax
movl %eax, 0x8(%r14)
movb %bl, 0xc(%r14)
leaq 0x8(%rsp), %r14
movq %r15, %rdi
movq %r14, %rsi
callq 0x9a02a
movabsq $0x100000005, %rax      # imm = 0x100000005
movq %rax, (%r14)
movl 0xdc(%rsp), %eax
movl %eax, 0x8(%r14)
movb %bl, 0xc(%r14)
leaq 0x8(%rsp), %r14
movq %r15, %rdi
movq %r14, %rsi
callq 0x9a02a
movabsq $0x100000004, %rax      # imm = 0x100000004
movq %rax, (%r14)
movl 0xdc(%rsp), %eax
movl %eax, 0x8(%r14)
movb %bl, 0xc(%r14)
leaq 0x8(%rsp), %r14
movq %r15, %rdi
movq %r14, %rsi
callq 0x9a02a
movabsq $0x100000006, %rax      # imm = 0x100000006
movq %rax, (%r14)
movl 0xdc(%rsp), %eax
movl %eax, 0x8(%r14)
movb %bl, 0xc(%r14)
leaq 0x8(%rsp), %r14
movq %r15, %rdi
movq %r14, %rsi
callq 0x9a02a
andl $0x0, (%r14)
pushq $0x1
popq %r13
movl %r13d, 0x4(%r14)
movl 0xc8(%rsp), %eax
movl %eax, 0x8(%r14)
movb %bl, 0xc(%r14)
leaq 0x8(%rsp), %r14
movq 0x40(%rsp), %r12
movq %r12, %rdi
movq %r14, %rsi
callq 0x9a02a
andl $0x0, (%r14)
pushq $0x4
popq %rax
movl %eax, 0x4(%r14)
movl 0xcc(%rsp), %eax
movl %eax, 0x8(%r14)
movb %bl, 0xc(%r14)
leaq 0x8(%rsp), %r14
movq %r12, %rdi
movq %r14, %rsi
callq 0x9a02a
pushq $0x2
popq %rax
movl %eax, (%r14)
movl %r13d, 0x4(%r14)
movl 0xb4(%rsp), %eax
movl %eax, 0x8(%r14)
movb %bl, 0xc(%r14)
leaq 0x8(%rsp), %r14
movq %r12, %rdi
movq %r14, %rsi
callq 0x9a02a
leaq 0x19b0(%rbp), %r12
andl $0x0, (%r14)
movl %r13d, 0x4(%r14)
movl 0xac(%rsp), %eax
movl %eax, 0x8(%r14)
movb %bl, 0xc(%r14)
leaq 0x8(%rsp), %r14
movq %r12, %rdi
movq %r14, %rsi
callq 0x9a02a
leaq 0x1998(%rbp), %rdi
movq %rdi, 0x28(%rsp)
pushq $0x7
popq %r15
movl %r15d, (%r14)
movl %r13d, 0x4(%r14)
movl 0xac(%rsp), %eax
movl %eax, 0x8(%r14)
xorl %ebx, %ebx
movb %bl, 0xc(%r14)
leaq 0x8(%rsp), %r14
movq %r14, %rsi
callq 0x9a02a
movl %r15d, (%r14)
movl %r13d, 0x4(%r14)
movl 0xac(%rsp), %eax
movl %eax, 0x8(%r14)
movb %bl, 0xc(%r14)
xorl %ebx, %ebx
leaq 0x8(%rsp), %r14
movq %r12, %rdi
movq %r14, %rsi
callq 0x9a02a
leaq 0x1a28(%rbp), %rdi
movq %rdi, 0x20(%rsp)
andl $0x0, (%r14)
movl %r13d, 0x4(%r14)
movl 0xd0(%rsp), %eax
movl %eax, 0x8(%r14)
movb %bl, 0xc(%r14)
leaq 0x8(%rsp), %r14
movq %r14, %rsi
callq 0x9a02a
pushq $0x8
popq %rax
movl %eax, (%r14)
movl %r13d, 0x4(%r14)
movl %r13d, 0x8(%r14)
movb %bl, 0xc(%r14)
leaq 0x8(%rsp), %r14
movq 0x40(%rsp), %rdi
movq %r14, %rsi
callq 0x9a02a
andl $0x0, (%r14)
movl %r13d, 0x4(%r14)
movl 0xdc(%rsp), %eax
movl %eax, 0x8(%r14)
movb %bl, 0xc(%r14)
leaq 0x8(%rsp), %r14
movq 0x18(%rsp), %r15
movq %r15, %rdi
movq %r14, %rsi
callq 0x9a02a
movl %r13d, (%r14)
movl %r13d, 0x4(%r14)
movl 0xdc(%rsp), %eax
movl %eax, 0x8(%r14)
movb %bl, 0xc(%r14)
leaq 0x8(%rsp), %r14
movq %r15, %rdi
movq %r14, %rsi
callq 0x9a02a
pushq $0x2
popq %rax
movl %eax, (%r14)
movl %r13d, 0x4(%r14)
movl 0xdc(%rsp), %eax
movl %eax, 0x8(%r14)
movb %bl, 0xc(%r14)
leaq 0x8(%rsp), %r14
movq %r15, %rdi
movq %r14, %rsi
callq 0x9a02a
pushq $0xa
popq %rax
movl %eax, (%r14)
movl %eax, %ebp
movl %r13d, 0x4(%r14)
movl 0xac(%rsp), %eax
movl %eax, 0x8(%r14)
movb %bl, 0xc(%r14)
leaq 0x8(%rsp), %r14
movq 0x28(%rsp), %rdi
movq %r14, %rsi
callq 0x9a02a
movl %ebp, (%r14)
movl %r13d, 0x4(%r14)
movl 0xac(%rsp), %eax
movl %eax, 0x8(%r14)
movb %bl, 0xc(%r14)
leaq 0x8(%rsp), %rbp
movq %r12, %rdi
movq %rbp, %rsi
callq 0x9a02a
movq 0x30(%rsp), %rax
leaq 0x1a88(%rax), %r14
andl $0x0, (%rbp)
movl %r13d, 0x4(%rbp)
movl 0xe8(%rsp), %eax
movl %eax, 0x8(%rbp)
movb %bl, 0xc(%rbp)
leaq 0x8(%rsp), %r12
movq %r14, %rdi
movq %r12, %rsi
callq 0x9a02a
pushq $0x7
popq %rbp
movl %ebp, (%r12)
movl %r13d, 0x4(%r12)
movl 0xd0(%rsp), %eax
movl %eax, 0x8(%r12)
movb %bl, 0xc(%r12)
leaq 0x8(%rsp), %r12
movq 0x20(%rsp), %r15
movq %r15, %rdi
movq %r12, %rsi
callq 0x9a02a
pushq $0x8
popq %rax
movl %eax, (%r12)
movl %r13d, 0x4(%r12)
movl %r13d, 0x8(%r12)
movb %bl, 0xc(%r12)
leaq 0x8(%rsp), %r12
movq %r15, %rdi
movq %r12, %rsi
callq 0x9a02a
movl %ebp, (%r12)
movl %r13d, 0x4(%r12)
movl 0xdc(%rsp), %eax
movl %eax, 0x8(%r12)
movb %bl, 0xc(%r12)
leaq 0x8(%rsp), %r12
movq 0x18(%rsp), %r15
movq %r15, %rdi
movq %r12, %rsi
callq 0x9a02a
movl %ebp, (%r12)
movl %r13d, 0x4(%r12)
movl 0xe8(%rsp), %eax
movl %eax, 0x8(%r12)
movb %bl, 0xc(%r12)
leaq 0x8(%rsp), %r12
movq %r14, %rdi
movq %r12, %rsi
callq 0x9a02a
movq 0x30(%rsp), %rbp
leaq 0x1a40(%rbp), %rdi
movl $0x9, (%r12)
movl %r13d, 0x4(%r12)
movl 0xd8(%rsp), %eax
movl %eax, 0x8(%r12)
movb %bl, 0xc(%r12)
leaq 0x8(%rsp), %r12
movq %r12, %rsi
callq 0x9a02a
pushq $0x8
popq %rax
movl %eax, (%r12)
movl %r13d, 0x4(%r12)
movl 0xdc(%rsp), %eax
movl %eax, 0x8(%r12)
movb %bl, 0xc(%r12)
leaq 0x8(%rsp), %r12
movq %r15, %rdi
movq %r12, %rsi
callq 0x9a02a
pushq $0xa
popq %rax
movl %eax, (%r12)
movl %r13d, 0x4(%r12)
movl 0xdc(%rsp), %eax
movl %eax, 0x8(%r12)
movb %bl, 0xc(%r12)
leaq 0x8(%rsp), %r12
movq %r15, %rdi
movq %r12, %rsi
callq 0x9a02a
pushq $0x8
popq %rax
movl %eax, (%r12)
movl %r13d, 0x4(%r12)
movl 0xe8(%rsp), %eax
movl %eax, 0x8(%r12)
movb %bl, 0xc(%r12)
leaq 0x8(%rsp), %r15
movq %r14, %rdi
movq %r15, %rsi
callq 0x9a02a
leaq 0x1a70(%rbp), %rdi
movl $0xb, (%r15)
movl %r13d, 0x4(%r15)
movl 0xe4(%rsp), %eax
movl %eax, 0x8(%r15)
movb %bl, 0xc(%r15)
leaq 0x8(%rsp), %r15
movq %r15, %rsi
callq 0x9a02a
pushq $0xa
popq %rax
movl %eax, (%r15)
movl %r13d, 0x4(%r15)
movl 0xe8(%rsp), %eax
movl %eax, 0x8(%r15)
movb %bl, 0xc(%r15)
leaq 0x8(%rsp), %r15
movq %r14, %rdi
movq %r15, %rsi
callq 0x9a02a
leaq 0x1aa0(%rbp), %r14
movl $0x3, (%r15)
movl %r13d, 0x4(%r15)
movl 0xa8(%rsp), %eax
movl %eax, 0x8(%r15)
movb %bl, 0xc(%r15)
leaq 0x8(%rsp), %r15
movq %r14, %rdi
movq %r15, %rsi
callq 0x9a02a
movl $0x5, (%r15)
movl %r13d, 0x4(%r15)
movl 0xa8(%rsp), %eax
movl %eax, 0x8(%r15)
movb %bl, 0xc(%r15)
leaq 0x8(%rsp), %r15
movq %r14, %rdi
movq %r15, %rsi
callq 0x9a02a
pushq $0x4
popq %rax
movl %eax, (%r15)
movl %r13d, 0x4(%r15)
movl 0xa8(%rsp), %eax
movl %eax, 0x8(%r15)
movb %bl, 0xc(%r15)
leaq 0x8(%rsp), %r15
movq %r14, %rdi
movq %r15, %rsi
callq 0x9a02a
movl $0x6, (%r15)
movl %r13d, 0x4(%r15)
movl 0xa8(%rsp), %eax
movl %eax, 0x8(%r15)
movb %bl, 0xc(%r15)
leaq 0x8(%rsp), %r15
movq %r14, %rdi
movq %r15, %rsi
callq 0x9a02a
leaq 0x1ae8(%rbp), %rdi
movl %r13d, (%r15)
movl %r13d, 0x4(%r15)
movl 0xbc(%rsp), %eax
movl %eax, 0x8(%r15)
movb %bl, 0xc(%r15)
leaq 0x8(%rsp), %r15
movq %r15, %rsi
callq 0x9a02a
leaq 0x1b00(%rbp), %rdi
movl %r13d, (%r15)
movl %r13d, 0x4(%r15)
movl 0x98(%rsp), %eax
addl 0xb0(%rsp), %eax
addl 0xc4(%rsp), %eax
movl %eax, 0x8(%r15)
movb %bl, 0xc(%r15)
leaq 0x8(%rsp), %r15
movq %r15, %rsi
callq 0x9a02a
andl $0x0, (%r15)
leaq 0x1b18(%rbp), %rdi
movl %r13d, 0x4(%r15)
movl 0xac(%rsp), %eax
addl 0xbc(%rsp), %eax
movl %eax, 0x8(%r15)
movb %bl, 0xc(%r15)
leaq 0x8(%rsp), %r15
movq %r15, %rsi
callq 0x9a02a
andl $0x0, (%r15)
leaq 0x1b30(%rbp), %rdi
movl %r13d, 0x4(%r15)
movl 0x98(%rsp), %eax
addl 0xb0(%rsp), %eax
addl 0xc4(%rsp), %eax
addl 0xac(%rsp), %eax
movl %eax, 0x8(%r15)
movb %bl, 0xc(%r15)
leaq 0x8(%rsp), %r15
movq %r15, %rsi
callq 0x9a02a
andl $0x0, (%r15)
movl %r13d, 0x4(%r15)
movl 0xb8(%rsp), %eax
movl %eax, 0x8(%r15)
movb %bl, 0xc(%r15)
leaq 0x8(%rsp), %r15
movq %r14, %rdi
movq %r15, %rsi
callq 0x9a02a
movl %r13d, (%r15)
movl %r13d, 0x4(%r15)
movl 0xb4(%rsp), %eax
movl %eax, 0x8(%r15)
movb %bl, 0xc(%r15)
leaq 0x8(%rsp), %r15
movq %r14, %rdi
movq %r15, %rsi
callq 0x9a02a
movq %rbp, %rdi
addq $0x1ab8, %rdi           # imm = 0x1AB8
andl $0x0, (%r15)
movl %r13d, 0x4(%r15)
movl 0xac(%rsp), %eax
movl %eax, 0x8(%r15)
movb %bl, 0xc(%r15)
leaq 0x8(%rsp), %rsi
callq 0x9a02a
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq