// File: /workspace/github_cpp_makefile_star2_O2/CMU-SAFARI[P]ramulator/src/DSARP.cpp
// Function: ramulator::DSARP::init_timing()
void DSARP::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.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});

  // READ to WRITE
  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});

  // WRITE to READ
  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});

  // CAS <-> PREA
  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});

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

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

  // 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.nRPpb});
  t[int(Command::PREA)].push_back({Command::SRE, 1, s.nRPab});
  t[int(Command::SRX)].push_back({Command::ACT, 1, s.nXS});

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

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

  // REF <-> SR
  t[int(Command::SRX)].push_back({Command::REF, 1, s.nXS});
  t[int(Command::SRX)].push_back({Command::REFPB, 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});

  // REFPB
  t[int(Command::REFPB)].push_back( { Command::REFPB, 1, s.nRFCpb });

  /*** 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.nRPpb});
  t[int(Command::WRA)].push_back({Command::ACT, 1, s.nCWL + s.nBL + s.nWR + s.nRPpb});

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

  // Cannot overlap REFPB
  t[int(Command::REFPB)].push_back( { Command::REFPB, 1, s.nRFCpb });

  // B/w banks
  t[int(Command::REFPB)].push_back( { Command::REFPB, 1, s.nRFCpb, true});
  t[int(Command::ACT)].push_back({Command::REFPB, 1, s.nRRD, true});
  t[int(Command::REFPB)].push_back({Command::ACT, 1, s.nRRD, true});

  // REFPB -- these are used when SARP is not enabled
  if (!(type == Type::DSARP || type == Type::SARP)) {
    t[int(Command::REFPB)].push_back( { Command::ACT, 1, s.nRFCpb });
    t[int(Command::REFPB)].push_back( { Command::RD, 1, s.nRFCpb });
    t[int(Command::REFPB)].push_back( { Command::RDA, 1, s.nRFCpb });
    t[int(Command::REFPB)].push_back( { Command::WR, 1, s.nRFCpb });
    t[int(Command::REFPB)].push_back( { Command::WRA, 1, s.nRFCpb });
    t[int(Command::REFPB)].push_back( { Command::PRE, 1, s.nRFCpb });
    t[int(Command::REFPB)].push_back( { Command::PREA, 1, s.nRFCpb });
  }

  /*** SubArray ***/
  if (type == Type::DSARP || type == Type::SARP) {
    t = timing[int(Level::SubArray)];

    // between different subarrays -> Increase RRD
    t[int(Command::ACT)].push_back({Command::REFPB, 1,
        (int)ceil(((double)s.nRRD)*nRRD_factor), true});
    t[int(Command::REFPB)].push_back({Command::ACT, 1,
        (int)ceil(((double)s.nRRD)*nRRD_factor), true});

    // Same subarray
    t[int(Command::REF)].push_back( { Command::ACT, 1, s.nRFCab });
    t[int(Command::REFPB)].push_back( { Command::ACT, 1, s.nRFCpb });

    // 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.nRPpb });
    t[int(Command::WRA)].push_back(
        { Command::ACT, 1, s.nCWL + s.nBL + s.nWR + s.nRPpb });

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

    // Enforcing timings such that there's no subarray parallelism
    // between sibling subarrays for demand requests
    t[int(Command::ACT)].push_back( { Command::ACT, 1, s.nRC, true });
    t[int(Command::PRE)].push_back( { Command::ACT, 1, s.nRPpb, true });
    t[int(Command::RDA)].push_back( { Command::ACT, 1, s.nRTP + s.nRPpb,
        true });
    t[int(Command::WRA)].push_back(
        { Command::ACT, 1, s.nCWL + s.nBL + s.nWR + s.nRPpb, true });
  }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %rdi, %rbx
leaq 0x1f98(%rdi), %r14
movabsq $0x100000003, %rax      # imm = 0x100000003
movq %rsp, %r15
movq %rax, (%r15)
movq %rax, %r13
movl 0x3188(%rdi), %eax
movl %eax, 0x8(%r15)
xorl %ebp, %ebp
movb %bpl, 0xc(%r15)
movq %r14, %rdi
movq %r15, %rsi
callq 0xa9168
movabsq $0x100000005, %rax      # imm = 0x100000005
movq %rax, (%r15)
movq %rax, %r12
movl 0x3188(%rbx), %eax
movl %eax, 0x8(%r15)
movb %bpl, 0xc(%r15)
xorl %ebp, %ebp
movq %rsp, %r15
movq %r14, %rdi
movq %r15, %rsi
callq 0xa9168
leaq 0x1fc8(%rbx), %r14
movq %r13, (%r15)
movl 0x3188(%rbx), %eax
movl %eax, 0x8(%r15)
movb %bpl, 0xc(%r15)
movq %rsp, %r15
movq %r14, %rdi
movq %r15, %rsi
callq 0xa9168
movq %r12, (%r15)
movl 0x3188(%rbx), %eax
movl %eax, 0x8(%r15)
movb %bpl, 0xc(%r15)
movq %rsp, %r15
movq %r14, %rdi
movq %r15, %rsi
callq 0xa9168
leaq 0x1fb0(%rbx), %r14
movabsq $0x100000004, %rax      # imm = 0x100000004
movq %rax, (%r15)
movq %rax, %r12
movl 0x3188(%rbx), %eax
movl %eax, 0x8(%r15)
movb %bpl, 0xc(%r15)
movq %rsp, %r15
movq %r14, %rdi
movq %r15, %rsi
callq 0xa9168
movabsq $0x100000006, %rax      # imm = 0x100000006
movq %rax, (%r15)
movq %rax, %r13
movl 0x3188(%rbx), %eax
movl %eax, 0x8(%r15)
movb %bpl, 0xc(%r15)
movq %rsp, %r15
movq %r14, %rdi
movq %r15, %rsi
callq 0xa9168
leaq 0x1fe0(%rbx), %r14
movq %r12, (%r15)
movl 0x3188(%rbx), %eax
movl %eax, 0x8(%r15)
movb %bpl, 0xc(%r15)
movq %rsp, %r15
movq %r14, %rdi
movq %r15, %rsi
callq 0xa9168
movq %r13, (%r15)
movl 0x3188(%rbx), %eax
movl %eax, 0x8(%r15)
movb %bpl, 0xc(%r15)
xorl %r13d, %r13d
movq %rsp, %r12
movq %r14, %rdi
movq %r12, %rsi
callq 0xa9168
leaq 0x2088(%rbx), %rax
movq %rax, 0x30(%rsp)
leaq 0x20d0(%rbx), %r15
movabsq $0x100000003, %r14      # imm = 0x100000003
movq %r14, (%r12)
movl 0x318c(%rbx), %eax
movl %eax, 0x8(%r12)
movb %r13b, 0xc(%r12)
movq %rsp, %r12
movq %r15, %rdi
movq %r15, 0x18(%rsp)
movq %r12, %rsi
callq 0xa9168
movabsq $0x100000005, %rbp      # imm = 0x100000005
movq %rbp, (%r12)
movl 0x318c(%rbx), %eax
movl %eax, 0x8(%r12)
movb %r13b, 0xc(%r12)
movq %rsp, %r13
movq %r15, %rdi
movq %r13, %rsi
callq 0xa9168
leaq 0x2100(%rbx), %r12
movq %r12, 0x10(%rsp)
movq %r14, (%r13)
movl 0x318c(%rbx), %eax
movl %eax, 0x8(%r13)
xorl %r15d, %r15d
movb %r15b, 0xc(%r13)
movq %rsp, %r13
movq %r12, %rdi
movq %r13, %rsi
callq 0xa9168
movq %rbp, (%r13)
movl 0x318c(%rbx), %eax
movl %eax, 0x8(%r13)
movb %r15b, 0xc(%r13)
movq %rsp, %rbp
movq %r12, %rdi
movq %rbp, %rsi
callq 0xa9168
leaq 0x20e8(%rbx), %r13
movq %r13, 0x20(%rsp)
movabsq $0x100000004, %rax      # imm = 0x100000004
movq %rax, (%rbp)
movl 0x318c(%rbx), %eax
movl %eax, 0x8(%rbp)
movb %r15b, 0xc(%rbp)
movq %rsp, %rbp
movq %r13, %rdi
movq %rbp, %rsi
callq 0xa9168
movabsq $0x100000006, %r12      # imm = 0x100000006
movq %r12, (%rbp)
movl 0x318c(%rbx), %eax
movl %eax, 0x8(%rbp)
movb %r15b, 0xc(%rbp)
movq %rsp, %r14
movq %r13, %rdi
movq %r14, %rsi
callq 0xa9168
leaq 0x2118(%rbx), %r13
movq %r13, 0x28(%rsp)
movabsq $0x100000004, %rbp      # imm = 0x100000004
movq %rbp, (%r14)
movl 0x318c(%rbx), %eax
movl %eax, 0x8(%r14)
movb %r15b, 0xc(%r14)
movq %rsp, %r14
movq %r13, %rdi
movq %r14, %rsi
callq 0xa9168
movq %r12, (%r14)
movl 0x318c(%rbx), %eax
movl %eax, 0x8(%r14)
movb %r15b, 0xc(%r14)
movq %rsp, %r14
movq %r13, %rdi
movq %r14, %rsi
callq 0xa9168
movq %rbp, (%r14)
movl 0x3194(%rbx), %eax
addl 0x318c(%rbx), %eax
subl 0x31a4(%rbx), %eax
pushq $0x2
popq %rcx
addl %ecx, %eax
movl %ecx, %ebp
movl %eax, 0x8(%r14)
movb %r15b, 0xc(%r14)
movq %rsp, %r14
movq 0x18(%rsp), %r12
movq %r12, %rdi
movq %r14, %rsi
callq 0xa9168
movabsq $0x100000006, %r13      # imm = 0x100000006
movq %r13, (%r14)
movl 0x3194(%rbx), %eax
addl 0x318c(%rbx), %eax
subl 0x31a4(%rbx), %eax
addl %ebp, %eax
movl %eax, 0x8(%r14)
movb %r15b, 0xc(%r14)
movq %rsp, %r14
movq %r12, %rdi
movq %r14, %rsi
callq 0xa9168
movabsq $0x100000004, %rax      # imm = 0x100000004
movq %rax, (%r14)
movl 0x3194(%rbx), %eax
addl 0x318c(%rbx), %eax
subl 0x31a4(%rbx), %eax
addl %ebp, %eax
movl %eax, 0x8(%r14)
movb %r15b, 0xc(%r14)
xorl %r15d, %r15d
movq %rsp, %r14
movq 0x10(%rsp), %r12
movq %r12, %rdi
movq %r14, %rsi
callq 0xa9168
movq %r13, (%r14)
movl 0x3194(%rbx), %eax
addl 0x318c(%rbx), %eax
subl 0x31a4(%rbx), %eax
addl %ebp, %eax
movl %eax, 0x8(%r14)
movb %r15b, 0xc(%r14)
movq %rsp, %r14
movq %r12, %rdi
movq %r14, %rsi
callq 0xa9168
movabsq $0x100000003, %rbp      # imm = 0x100000003
movq %rbp, (%r14)
movl 0x3188(%rbx), %eax
addl 0x31a4(%rbx), %eax
addl 0x31b4(%rbx), %eax
movl %eax, 0x8(%r14)
movb %r15b, 0xc(%r14)
movq %rsp, %r14
movq 0x20(%rsp), %r12
movq %r12, %rdi
movq %r14, %rsi
callq 0xa9168
movabsq $0x100000005, %r13      # imm = 0x100000005
movq %r13, (%r14)
movl 0x3188(%rbx), %eax
addl 0x31a4(%rbx), %eax
addl 0x31b4(%rbx), %eax
movl %eax, 0x8(%r14)
movb %r15b, 0xc(%r14)
movq %rsp, %r14
movq %r12, %rdi
movq %r14, %rsi
callq 0xa9168
movq %rbp, (%r14)
movl 0x3188(%rbx), %eax
addl 0x31a4(%rbx), %eax
addl 0x31b4(%rbx), %eax
movl %eax, 0x8(%r14)
movb %r15b, 0xc(%r14)
movq %rsp, %r14
movq 0x28(%rsp), %r12
movq %r12, %rdi
movq %r14, %rsi
callq 0xa9168
movq %r13, (%r14)
movl 0x3188(%rbx), %eax
addl 0x31a4(%rbx), %eax
addl 0x31b4(%rbx), %eax
movl %eax, 0x8(%r14)
movb %r15b, 0xc(%r14)
movq %rsp, %r14
movq %r12, %rdi
movq %r14, %rsi
callq 0xa9168
movq %rbp, (%r14)
movq %rbp, %r12
movl 0x3190(%rbx), %eax
addl 0x3188(%rbx), %eax
movl %eax, 0x8(%r14)
movb $0x1, %al
movb %al, 0xc(%r14)
movb $0x1, %bpl
movq %rsp, %r14
movq 0x18(%rsp), %r15
movq %r15, %rdi
movq %r14, %rsi
callq 0xa9168
movabsq $0x100000005, %rax      # imm = 0x100000005
movq %rax, (%r14)
movl 0x3190(%rbx), %eax
addl 0x3188(%rbx), %eax
movl %eax, 0x8(%r14)
movb %bpl, 0xc(%r14)
movq %rsp, %r14
movq %r15, %rdi
movq %r14, %rsi
callq 0xa9168
movq %r12, (%r14)
movl 0x3190(%rbx), %eax
addl 0x3188(%rbx), %eax
movl %eax, 0x8(%r14)
movb %bpl, 0xc(%r14)
movq %rsp, %r14
movq 0x10(%rsp), %r12
movq %r12, %rdi
movq %r14, %rsi
callq 0xa9168
movabsq $0x100000005, %rax      # imm = 0x100000005
movq %rax, (%r14)
movl 0x3190(%rbx), %eax
addl 0x3188(%rbx), %eax
movl %eax, 0x8(%r14)
movb %bpl, 0xc(%r14)
movq %rsp, %r14
movq %r12, %rdi
movq %r14, %rsi
callq 0xa9168
movabsq $0x100000004, %r13      # imm = 0x100000004
movq %r13, (%r14)
movl 0x3190(%rbx), %eax
addl 0x3188(%rbx), %eax
movl %eax, 0x8(%r14)
movb %bpl, 0xc(%r14)
movq %rsp, %r14
movq %r15, %rdi
movq %r14, %rsi
callq 0xa9168
movabsq $0x100000006, %r12      # imm = 0x100000006
movq %r12, (%r14)
movl 0x3190(%rbx), %eax
addl 0x3188(%rbx), %eax
movl %eax, 0x8(%r14)
movb %bpl, 0xc(%r14)
movq %rsp, %r14
movq %r15, %rdi
movq %r14, %rsi
callq 0xa9168
movq %r13, (%r14)
movl 0x3190(%rbx), %eax
addl 0x3188(%rbx), %eax
movl %eax, 0x8(%r14)
movb %bpl, 0xc(%r14)
movq %rsp, %r14
movq 0x10(%rsp), %r15
movq %r15, %rdi
movq %r14, %rsi
callq 0xa9168
movq %r12, (%r14)
movl 0x3190(%rbx), %eax
addl 0x3188(%rbx), %eax
movl %eax, 0x8(%r14)
movb %bpl, 0xc(%r14)
movq %rsp, %r14
movq %r15, %rdi
movq %r14, %rsi
callq 0xa9168
movq %r13, (%r14)
movl 0x3188(%rbx), %eax
addl 0x3194(%rbx), %eax
addl 0x3190(%rbx), %eax
subl 0x31a4(%rbx), %eax
movl %eax, 0x8(%r14)
movb %bpl, 0xc(%r14)
movq %rsp, %r14
movq 0x18(%rsp), %r15
movq %r15, %rdi
movq %r14, %rsi
callq 0xa9168
movq %r12, (%r14)
movl 0x3188(%rbx), %eax
addl 0x3194(%rbx), %eax
addl 0x3190(%rbx), %eax
subl 0x31a4(%rbx), %eax
movl %eax, 0x8(%r14)
movb %bpl, 0xc(%r14)
movq %rsp, %r14
movq %r15, %rdi
movq %r14, %rsi
callq 0xa9168
movq %r13, (%r14)
movl 0x3188(%rbx), %eax
addl 0x3194(%rbx), %eax
addl 0x3190(%rbx), %eax
subl 0x31a4(%rbx), %eax
movl %eax, 0x8(%r14)
movb %bpl, 0xc(%r14)
movq %rsp, %r14
movq 0x10(%rsp), %r12
movq %r12, %rdi
movq %r14, %rsi
callq 0xa9168
movabsq $0x100000006, %rax      # imm = 0x100000006
movq %rax, (%r14)
movl 0x3188(%rbx), %eax
addl 0x3194(%rbx), %eax
addl 0x3190(%rbx), %eax
subl 0x31a4(%rbx), %eax
movl %eax, 0x8(%r14)
movb %bpl, 0xc(%r14)
movq %rsp, %r14
movq %r12, %rdi
movq %r14, %rsi
callq 0xa9168
movabsq $0x100000003, %r15      # imm = 0x100000003
movq %r15, (%r14)
movl 0x3188(%rbx), %eax
addl 0x31a4(%rbx), %eax
addl 0x3190(%rbx), %eax
subl 0x3194(%rbx), %eax
movl %eax, 0x8(%r14)
movb %bpl, 0xc(%r14)
movq %rsp, %r14
movq 0x20(%rsp), %r13
movq %r13, %rdi
movq %r14, %rsi
callq 0xa9168
movabsq $0x100000005, %r12      # imm = 0x100000005
movq %r12, (%r14)
movl 0x3188(%rbx), %eax
addl 0x31a4(%rbx), %eax
addl 0x3190(%rbx), %eax
subl 0x3194(%rbx), %eax
movl %eax, 0x8(%r14)
movb %bpl, 0xc(%r14)
movq %rsp, %r14
movq %r13, %rdi
movq %r14, %rsi
callq 0xa9168
movq %r15, (%r14)
movl 0x3188(%rbx), %eax
addl 0x31a4(%rbx), %eax
addl 0x3190(%rbx), %eax
subl 0x3194(%rbx), %eax
movl %eax, 0x8(%r14)
movb %bpl, 0xc(%r14)
movq %rsp, %r14
movq 0x28(%rsp), %r15
movq %r15, %rdi
movq %r14, %rsi
callq 0xa9168
movq %r12, (%r14)
movl 0x3188(%rbx), %eax
addl 0x31a4(%rbx), %eax
addl 0x3190(%rbx), %eax
subl 0x3194(%rbx), %eax
movl %eax, 0x8(%r14)
movb %bpl, 0xc(%r14)
movq %rsp, %r14
movq %r15, %rdi
movq %r14, %rsi
callq 0xa9168
movabsq $0x100000002, %r15      # imm = 0x100000002
movq %r15, (%r14)
movl 0x31b0(%rbx), %eax
movl %eax, 0x8(%r14)
xorl %ebp, %ebp
movb %bpl, 0xc(%r14)
movq %rsp, %r14
movq 0x18(%rsp), %r13
movq %r13, %rdi
movq %r14, %rsi
callq 0xa9168
movq %r15, (%r14)
movl 0x3188(%rbx), %eax
addl 0x31a4(%rbx), %eax
addl 0x31b8(%rbx), %eax
movl %eax, 0x8(%r14)
movb %bpl, 0xc(%r14)
xorl %r15d, %r15d
movq %rsp, %r14
movq 0x20(%rsp), %r12
movq %r12, %rdi
movq %r14, %rsi
callq 0xa9168
movabsq $0x100000009, %rbp      # imm = 0x100000009
movq %rbp, (%r14)
movl 0x3188(%rbx), %eax
movl 0x3194(%rbx), %ecx
leal 0x1(%rcx,%rax), %eax
movl %eax, 0x8(%r14)
movb %r15b, 0xc(%r14)
movq %rsp, %r14
movq %r13, %rdi
movq %r14, %rsi
callq 0xa9168
movq %rbp, (%r14)
movl 0x3188(%rbx), %eax
movl 0x3194(%rbx), %ecx
addl %ecx, %eax
incl %eax
movl %eax, 0x8(%r14)
movb %r15b, 0xc(%r14)
movq %rsp, %r14
movq 0x10(%rsp), %rdi
movq %r14, %rsi
callq 0xa9168
movq %rbp, (%r14)
movl 0x3188(%rbx), %eax
addl 0x31a4(%rbx), %eax
addl 0x31b8(%rbx), %eax
movl %eax, 0x8(%r14)
movb %r15b, 0xc(%r14)
movq %rsp, %r14
movq %r12, %rdi
movq %r14, %rsi
callq 0xa9168
movq %rbp, (%r14)
movl 0x31a4(%rbx), %eax
addl 0x3188(%rbx), %eax
movl 0x31b8(%rbx), %ecx
addl %ecx, %eax
incl %eax
movl %eax, 0x8(%r14)
movb %r15b, 0xc(%r14)
movq %rsp, %r14
movq 0x28(%rsp), %rdi
movq %r14, %rsi
callq 0xa9168
leaq 0x2178(%rbx), %r12
movabsq $0x100000003, %rax      # imm = 0x100000003
movq %rax, (%r14)
movl 0x31d8(%rbx), %eax
movl %eax, 0x8(%r14)
movb %r15b, 0xc(%r14)
movq %rsp, %r14
movq %r12, %rdi
movq %r14, %rsi
callq 0xa9168
movabsq $0x100000005, %rax      # imm = 0x100000005
movq %rax, (%r14)
movl 0x31d8(%rbx), %eax
movl %eax, 0x8(%r14)
movb %r15b, 0xc(%r14)
movq %rsp, %r14
movq %r12, %rdi
movq %r12, 0x10(%rsp)
movq %r14, %rsi
callq 0xa9168
pushq $0x4
popq %rax
movl %eax, (%r14)
pushq $0x1
popq %r13
movl %r13d, 0x4(%r14)
movl 0x31d8(%rbx), %eax
movl %eax, 0x8(%r14)
movb %r15b, 0xc(%r14)
movq %rsp, %r14
movq %r12, %rdi
movq %r14, %rsi
callq 0xa9168
pushq $0x6
popq %rax
movl %eax, (%r14)
movl %r13d, 0x4(%r14)
movl 0x31d8(%rbx), %eax
movl %eax, 0x8(%r14)
movb %r15b, 0xc(%r14)
movq %rsp, %r14
movq %r12, %rdi
movq %r14, %rsi
callq 0xa9168
andl $0x0, (%r14)
movl %r13d, 0x4(%r14)
movl 0x31bc(%rbx), %eax
movl %eax, 0x8(%r14)
movb %r15b, 0xc(%r14)
movq %rsp, %r14
movq 0x30(%rsp), %rbp
movq %rbp, %rdi
movq %r14, %rsi
callq 0xa9168
andl $0x0, (%r14)
pushq $0x4
popq %rax
movl %eax, 0x4(%r14)
movl 0x31c0(%rbx), %eax
movl %eax, 0x8(%r14)
movb %r15b, 0xc(%r14)
movq %rsp, %r14
movq %rbp, %rdi
movq %rbp, %r15
movq %r14, %rsi
callq 0xa9168
pushq $0x2
popq %rax
movl %eax, (%r14)
movl %r13d, 0x4(%r14)
movl 0x31a8(%rbx), %eax
movl %eax, 0x8(%r14)
xorl %ebp, %ebp
movb %bpl, 0xc(%r14)
movq %rsp, %r14
movq %r15, %rdi
movq %r14, %rsi
callq 0xa9168
leaq 0x20b8(%rbx), %r12
andl $0x0, (%r14)
movl %r13d, 0x4(%r14)
movl 0x31a0(%rbx), %eax
movl %eax, 0x8(%r14)
movb %bpl, 0xc(%r14)
xorl %r15d, %r15d
movq %rsp, %r14
movq %r12, %rdi
movq %r12, 0x18(%rsp)
movq %r14, %rsi
callq 0xa9168
leaq 0x20a0(%rbx), %rdi
movq %rdi, 0x20(%rsp)
pushq $0x7
popq %rbp
movl %ebp, (%r14)
movl %r13d, 0x4(%r14)
movl 0x319c(%rbx), %eax
movl %eax, 0x8(%r14)
movb %r15b, 0xc(%r14)
movq %rsp, %r14
movq %r14, %rsi
callq 0xa9168
movl %ebp, (%r14)
movl %r13d, 0x4(%r14)
movl 0x31a0(%rbx), %eax
movl %eax, 0x8(%r14)
movb %r15b, 0xc(%r14)
movq %rsp, %r14
movq %r12, %rdi
movq %r14, %rsi
callq 0xa9168
leaq 0x2130(%rbx), %rdi
movq %rdi, 0x28(%rsp)
andl $0x0, (%r14)
movl %r13d, 0x4(%r14)
movl 0x31c4(%rbx), %eax
movl %eax, 0x8(%r14)
movb %r15b, 0xc(%r14)
movq %rsp, %r14
movq %r14, %rsi
callq 0xa9168
pushq $0x9
popq %rax
movl %eax, (%r14)
movl %r13d, 0x4(%r14)
movl %r13d, 0x8(%r14)
movb %r15b, 0xc(%r14)
movq %rsp, %r14
movq 0x30(%rsp), %rdi
movq %r14, %rsi
callq 0xa9168
andl $0x0, (%r14)
movl %r13d, 0x4(%r14)
movl 0x31d8(%rbx), %eax
movl %eax, 0x8(%r14)
movb %r15b, 0xc(%r14)
movq %rsp, %r14
movq 0x10(%rsp), %r12
movq %r12, %rdi
movq %r14, %rsi
callq 0xa9168
movl %r13d, (%r14)
movl %r13d, 0x4(%r14)
movl 0x31d8(%rbx), %eax
movl %eax, 0x8(%r14)
movb %r15b, 0xc(%r14)
movq %rsp, %r14
movq %r12, %rdi
movq %r14, %rsi
callq 0xa9168
pushq $0x2
popq %rax
movl %eax, (%r14)
movl %r13d, 0x4(%r14)
movl 0x31d8(%rbx), %eax
movl %eax, 0x8(%r14)
movb %r15b, 0xc(%r14)
movq %rsp, %r14
movq %r12, %rdi
movq %r14, %rsi
callq 0xa9168
pushq $0xb
popq %rax
movl %eax, (%r14)
movl %eax, %ebp
movl %r13d, 0x4(%r14)
movl 0x319c(%rbx), %eax
movl %eax, 0x8(%r14)
movb %r15b, 0xc(%r14)
movq %rsp, %r14
movq 0x20(%rsp), %rdi
movq %r14, %rsi
callq 0xa9168
movl %ebp, (%r14)
movl %r13d, 0x4(%r14)
movl 0x31a0(%rbx), %eax
movl %eax, 0x8(%r14)
movb %r15b, 0xc(%r14)
movq %rsp, %rbp
movq 0x18(%rsp), %rdi
movq %rbp, %rsi
callq 0xa9168
leaq 0x21a8(%rbx), %rdi
movq %rdi, 0x20(%rsp)
andl $0x0, (%rbp)
movl %r13d, 0x4(%rbp)
movl 0x31e4(%rbx), %eax
movl %eax, 0x8(%rbp)
movb %r15b, 0xc(%rbp)
movq %rsp, %r12
movq %r12, %rsi
callq 0xa9168
pushq $0x7
popq %rax
movl %eax, (%r12)
movl %r13d, 0x4(%r12)
movl 0x31c4(%rbx), %eax
movl %eax, 0x8(%r12)
movb %r15b, 0xc(%r12)
movq %rsp, %r12
movq 0x28(%rsp), %r14
movq %r14, %rdi
movq %r12, %rsi
callq 0xa9168
pushq $0x8
popq %rax
movl %eax, (%r12)
movl %r13d, 0x4(%r12)
movl 0x31c4(%rbx), %eax
movl %eax, 0x8(%r12)
movb %r15b, 0xc(%r12)
xorl %r12d, %r12d
movq %rsp, %rbp
movq %r14, %rdi
movq %r14, %r15
movq %rbp, %rsi
callq 0xa9168
leaq 0x2148(%rbx), %r14
pushq $0x7
popq %rax
movl %eax, (%rbp)
movl %r13d, 0x4(%rbp)
movl 0x31c8(%rbx), %eax
movl %eax, 0x8(%rbp)
movb %r12b, 0xc(%rbp)
movq %rsp, %rbp
movq %r14, %rdi
movq %r14, 0x18(%rsp)
movq %rbp, %rsi
callq 0xa9168
pushq $0x9
popq %r12
movl %r12d, (%rbp)
movl %r13d, 0x4(%rbp)
movl %r13d, 0x8(%rbp)
xorl %eax, %eax
movb %al, 0xc(%rbp)
movq %rsp, %rbp
movq %r15, %rdi
movq %rbp, %rsi
callq 0xa9168
movl %r12d, (%rbp)
movl %r13d, 0x4(%rbp)
movl %r13d, 0x8(%rbp)
movl %r13d, %r12d
xorl %eax, %eax
movb %al, 0xc(%rbp)
xorl %r15d, %r15d
movq %rsp, %r13
movq %r14, %rdi
movq %r13, %rsi
callq 0xa9168
pushq $0x7
popq %rax
movl %eax, (%r13)
movl %r12d, 0x4(%r13)
movl 0x31d8(%rbx), %eax
movl %eax, 0x8(%r13)
movb %r15b, 0xc(%r13)
movq %rsp, %r13
movq 0x10(%rsp), %r14
movq %r14, %rdi
movq %r13, %rsi
callq 0xa9168
pushq $0x8
popq %rbp
movl %ebp, (%r13)
movl %r12d, 0x4(%r13)
movl 0x31d8(%rbx), %eax
movl %eax, 0x8(%r13)
movb %r15b, 0xc(%r13)
movq %rsp, %r13
movq %r14, %rdi
movq %r13, %rsi
callq 0xa9168
pushq $0x7
popq %rax
movl %eax, (%r13)
movl %r12d, 0x4(%r13)
movl 0x31e4(%rbx), %eax
movl %eax, 0x8(%r13)
movb %r15b, 0xc(%r13)
movq %rsp, %r13
movq 0x20(%rsp), %r14
movq %r14, %rdi
movq %r13, %rsi
callq 0xa9168
movl %ebp, (%r13)
movl %r12d, 0x4(%r13)
movl 0x31e4(%rbx), %eax
movl %eax, 0x8(%r13)
movb %r15b, 0xc(%r13)
movq %rsp, %r13
movq %r14, %rdi
movq %r13, %rsi
callq 0xa9168
leaq 0x2160(%rbx), %rdi
movl $0xa, (%r13)
movl %r12d, 0x4(%r13)
movl 0x31d4(%rbx), %eax
movl %eax, 0x8(%r13)
xorl %ebp, %ebp
movb %bpl, 0xc(%r13)
movq %rsp, %r13
movq %r13, %rsi
callq 0xa9168
pushq $0x9
popq %rax
movl %eax, (%r13)
movl %r12d, 0x4(%r13)
movl 0x31d8(%rbx), %eax
movl %eax, 0x8(%r13)
movb %bpl, 0xc(%r13)
xorl %ebp, %ebp
movq %rsp, %r13
movq 0x10(%rsp), %r15
movq %r15, %rdi
movq %r13, %rsi
callq 0xa9168
pushq $0xb
popq %rax
movl %eax, (%r13)
movl %r12d, 0x4(%r13)
movl 0x31d8(%rbx), %eax
movl %eax, 0x8(%r13)
movb %bpl, 0xc(%r13)
movq %rsp, %r13
movq %r15, %rdi
movq %r13, %rsi
callq 0xa9168
pushq $0x9
popq %rax
movl %eax, (%r13)
movl %r12d, 0x4(%r13)
movl 0x31e4(%rbx), %eax
movl %eax, 0x8(%r13)
movb %bpl, 0xc(%r13)
movq %rsp, %r15
movq %r14, %rdi
movq %r15, %rsi
callq 0xa9168
leaq 0x2190(%rbx), %rdi
movl $0xc, (%r15)
movl %r12d, 0x4(%r15)
movl 0x31e0(%rbx), %eax
movl %eax, 0x8(%r15)
xorl %ebp, %ebp
movb %bpl, 0xc(%r15)
movq %rsp, %r15
movq %r15, %rsi
callq 0xa9168
pushq $0xb
popq %rax
movl %eax, (%r15)
movl %r12d, 0x4(%r15)
movl 0x31e4(%rbx), %eax
movl %eax, 0x8(%r15)
movb %bpl, 0xc(%r15)
movq %rsp, %r15
movq %r14, %rdi
movq %r15, %rsi
callq 0xa9168
pushq $0x8
popq %rax
movl %eax, (%r15)
movl %r12d, 0x4(%r15)
movl 0x31c8(%rbx), %eax
movl %eax, 0x8(%r15)
movb %bpl, 0xc(%r15)
movq %rsp, %r15
movq 0x18(%rsp), %rdi
movq %r15, %rsi
callq 0xa9168
leaq 0x21c0(%rbx), %r14
movl $0x3, (%r15)
movl %r12d, 0x4(%r15)
movl 0x3198(%rbx), %eax
movl %eax, 0x8(%r15)
movb %bpl, 0xc(%r15)
movq %rsp, %r15
movq %r14, %rdi
movq %r15, %rsi
callq 0xa9168
movl $0x5, (%r15)
movl %r12d, 0x4(%r15)
movl 0x3198(%rbx), %eax
movl %eax, 0x8(%r15)
movb %bpl, 0xc(%r15)
movq %rsp, %r15
movq %r14, %rdi
movq %r15, %rsi
callq 0xa9168
pushq $0x4
popq %rax
movl %eax, (%r15)
movl %r12d, 0x4(%r15)
movl 0x3198(%rbx), %eax
movl %eax, 0x8(%r15)
movb %bpl, 0xc(%r15)
movq %rsp, %r15
movq %r14, %rdi
movq %r15, %rsi
callq 0xa9168
pushq $0x6
popq %rax
movl %eax, (%r15)
movl %r12d, 0x4(%r15)
movl 0x3198(%rbx), %eax
movl %eax, 0x8(%r15)
movb %bpl, 0xc(%r15)
movq %rsp, %r15
movq %r14, %rdi
movq %r15, %rsi
callq 0xa9168
leaq 0x2208(%rbx), %rdi
movl %r12d, %r13d
movl %r12d, (%r15)
movl %r12d, 0x4(%r15)
movl 0x31b0(%rbx), %eax
movl %eax, 0x8(%r15)
movb %bpl, 0xc(%r15)
movq %rsp, %r15
movq %r15, %rsi
callq 0xa9168
leaq 0x2220(%rbx), %rdi
movl %r12d, (%r15)
movl %r12d, 0x4(%r15)
movl 0x3188(%rbx), %eax
addl 0x31a4(%rbx), %eax
addl 0x31b8(%rbx), %eax
movl %eax, 0x8(%r15)
movb %bpl, 0xc(%r15)
xorl %ebp, %ebp
movq %rsp, %r15
movq %r15, %rsi
callq 0xa9168
andl $0x0, (%r15)
leaq 0x2238(%rbx), %rdi
movl %r12d, 0x4(%r15)
movl 0x319c(%rbx), %eax
addl 0x31b0(%rbx), %eax
movl %eax, 0x8(%r15)
movb %bpl, 0xc(%r15)
movq %rsp, %r15
movq %r15, %rsi
callq 0xa9168
andl $0x0, (%r15)
leaq 0x2250(%rbx), %rdi
movl %r12d, 0x4(%r15)
movl 0x3188(%rbx), %eax
addl 0x31a4(%rbx), %eax
addl 0x31b8(%rbx), %eax
addl 0x319c(%rbx), %eax
movl %eax, 0x8(%r15)
movb %bpl, 0xc(%r15)
movq %rsp, %r15
movq %r15, %rsi
callq 0xa9168
andl $0x0, (%r15)
movl %r12d, 0x4(%r15)
movl 0x31ac(%rbx), %eax
movl %eax, 0x8(%r15)
movb %bpl, 0xc(%r15)
movq %rsp, %r15
movq %r14, 0x10(%rsp)
movq %r14, %rdi
movq %r15, %rsi
callq 0xa9168
movl %r12d, (%r15)
movl %r12d, 0x4(%r15)
movl 0x31a8(%rbx), %eax
movl %eax, 0x8(%r15)
movb %bpl, 0xc(%r15)
movq %rsp, %r15
movq %r14, %rdi
movq %r15, %rsi
callq 0xa9168
leaq 0x21d8(%rbx), %r12
andl $0x0, (%r15)
movl %r13d, 0x4(%r15)
movl 0x319c(%rbx), %eax
movl %eax, 0x8(%r15)
movb %bpl, 0xc(%r15)
movq %rsp, %r15
movq %r12, %rdi
movq %r15, %rsi
callq 0xa9168
pushq $0x8
popq %rbp
movl %ebp, (%r15)
movl %r13d, 0x4(%r15)
movl 0x319c(%rbx), %eax
movl %eax, 0x8(%r15)
xorl %eax, %eax
movb %al, 0xc(%r15)
xorl %r14d, %r14d
movq %rsp, %r13
movq %r12, %rdi
movq %r13, %rsi
callq 0xa9168
leaq 0x2280(%rbx), %r15
movl %ebp, (%r13)
pushq $0x1
popq %rbp
movl %ebp, 0x4(%r13)
movl 0x31c8(%rbx), %eax
movl %eax, 0x8(%r13)
movb %r14b, 0xc(%r13)
movq %rsp, %r12
movq %r15, %rdi
movq %r12, %rsi
callq 0xa9168
pushq $0x8
popq %r13
movl %r13d, (%r12)
movl %ebp, 0x4(%r12)
movl 0x31c8(%rbx), %eax
movl %eax, 0x8(%r12)
movb $0x1, %r14b
movb %r14b, 0xc(%r12)
movq %rsp, %r12
movq %r15, %rdi
movq %r12, %rsi
callq 0xa9168
movl %r13d, (%r12)
movl %ebp, 0x4(%r12)
movl %ebp, %r13d
movl 0x31bc(%rbx), %eax
movl %eax, 0x8(%r12)
movb %r14b, 0xc(%r12)
movb $0x1, %bpl
movq %rsp, %r12
movq 0x10(%rsp), %rdi
movq %r12, %rsi
callq 0xa9168
andl $0x0, (%r12)
movl %r13d, 0x4(%r12)
movl 0x31bc(%rbx), %eax
movl %eax, 0x8(%r12)
movb %bpl, 0xc(%r12)
movq %rsp, %rsi
movq %r15, %rdi
callq 0xa9168
movl (%rbx), %eax
addl $-0x3, %eax
movabsq $0x100000000, %r13      # imm = 0x100000000
pushq $0x2
popq %rcx
cmpl %ecx, %eax
jb 0xa74c0
movq %rsp, %r14
movq %r13, (%r14)
movl 0x31c8(%rbx), %eax
movl %eax, 0x8(%r14)
xorl %r12d, %r12d
movb %r12b, 0xc(%r14)
movq %r15, %rdi
movq %r14, %rsi
callq 0xa9168
movabsq $0x100000003, %rax      # imm = 0x100000003
movq %rax, (%r14)
movl 0x31c8(%rbx), %eax
movl %eax, 0x8(%r14)
movb %r12b, 0xc(%r14)
movq %rsp, %r14
movq %r15, %rdi
movq %r14, %rsi
callq 0xa9168
movabsq $0x100000005, %rax      # imm = 0x100000005
movq %rax, (%r14)
movl 0x31c8(%rbx), %eax
movl %eax, 0x8(%r14)
movb %r12b, 0xc(%r14)
movq %rsp, %r14
movq %r15, %rdi
movq %r14, %rsi
callq 0xa9168
movabsq $0x100000004, %rax      # imm = 0x100000004
movq %rax, (%r14)
movl 0x31c8(%rbx), %eax
movl %eax, 0x8(%r14)
movb %r12b, 0xc(%r14)
movq %rsp, %r14
movq %r15, %rdi
movq %r14, %rsi
callq 0xa9168
movabsq $0x100000006, %rax      # imm = 0x100000006
movq %rax, (%r14)
movl 0x31c8(%rbx), %eax
movl %eax, 0x8(%r14)
movb %r12b, 0xc(%r14)
movq %rsp, %r14
movq %r15, %rdi
movq %r14, %rsi
callq 0xa9168
movabsq $0x100000001, %rax      # imm = 0x100000001
movq %rax, (%r14)
movl 0x31c8(%rbx), %eax
movl %eax, 0x8(%r14)
movb %r12b, 0xc(%r14)
movq %rsp, %r14
movq %r15, %rdi
movq %r14, %rsi
callq 0xa9168
movabsq $0x100000002, %rax      # imm = 0x100000002
movq %rax, (%r14)
movl 0x31c8(%rbx), %eax
movl %eax, 0x8(%r14)
movb %r12b, 0xc(%r14)
movq %rsp, %rsi
movq %r15, %rdi
callq 0xa9168
movl (%rbx), %eax
addl $-0x3, %eax
cmpl $0x1, %eax
ja 0xa7864
leaq 0x22f8(%rbx), %rbp
movabsq $0x100000008, %rax      # imm = 0x100000008
movq %rsp, %r12
movq %rax, (%r12)
cvtsi2sdl 0x31bc(%rbx), %xmm0
mulsd 0x3200(%rbx), %xmm0
callq 0xb0a0
cvttsd2si %xmm0, %eax
movl %eax, 0x8(%r12)
movb $0x1, %al
movb %al, 0xc(%r12)
movb $0x1, %r14b
movq %rbp, %rdi
movq %r12, %rsi
callq 0xa9168
leaq 0x23b8(%rbx), %r15
movq %r13, (%r12)
cvtsi2sdl 0x31bc(%rbx), %xmm0
mulsd 0x3200(%rbx), %xmm0
callq 0xb0a0
cvttsd2si %xmm0, %eax
movl %eax, 0x8(%r12)
movb %r14b, 0xc(%r12)
movq %rsp, %r12
movq %r15, %rdi
movq %r12, %rsi
callq 0xa9168
leaq 0x23a0(%rbx), %rdi
movq %r13, (%r12)
movl 0x31c4(%rbx), %eax
movl %eax, 0x8(%r12)
xorl %r14d, %r14d
movb %r14b, 0xc(%r12)
movq %rsp, %r12
movq %r12, %rsi
callq 0xa9168
movq %r13, (%r12)
movl 0x31c8(%rbx), %eax
movl %eax, 0x8(%r12)
movb %r14b, 0xc(%r12)
movq %rsp, %r12
movq %r15, %rdi
movq %r12, %rsi
callq 0xa9168
movabsq $0x100000003, %rax      # imm = 0x100000003
movq %rax, (%r12)
movl 0x3198(%rbx), %eax
movl %eax, 0x8(%r12)
movb %r14b, 0xc(%r12)
movq %rsp, %r15
movq %rbp, %rdi
movq %r15, %rsi
callq 0xa9168
movabsq $0x100000005, %rax      # imm = 0x100000005
movq %rax, (%r15)
movl 0x3198(%rbx), %eax
movl %eax, 0x8(%r15)
movb %r14b, 0xc(%r15)
movq %rsp, %r15
movq %rbp, %rdi
movq %r15, %rsi
callq 0xa9168
movabsq $0x100000004, %rax      # imm = 0x100000004
movq %rax, (%r15)
movl 0x3198(%rbx), %eax
movl %eax, 0x8(%r15)
movb %r14b, 0xc(%r15)
movq %rsp, %r15
movq %rbp, %rdi
movq %r15, %rsi
callq 0xa9168
movabsq $0x100000006, %rax      # imm = 0x100000006
movq %rax, (%r15)
movl 0x3198(%rbx), %eax
movl %eax, 0x8(%r15)
movb %r14b, 0xc(%r15)
movq %rsp, %r15
movq %rbp, %rdi
movq %rbp, %r12
movq %r15, %rsi
callq 0xa9168
leaq 0x2340(%rbx), %rdi
movabsq $0x100000001, %rbp      # imm = 0x100000001
movq %rbp, (%r15)
movl 0x31b0(%rbx), %eax
movl %eax, 0x8(%r15)
movb %r14b, 0xc(%r15)
movq %rsp, %r15
movq %r15, %rsi
callq 0xa9168
leaq 0x2358(%rbx), %rdi
movq %rbp, (%r15)
movl 0x3188(%rbx), %eax
addl 0x31a4(%rbx), %eax
addl 0x31b8(%rbx), %eax
movl %eax, 0x8(%r15)
movb %r14b, 0xc(%r15)
movq %rsp, %r15
movq %r15, %rsi
callq 0xa9168
leaq 0x2370(%rbx), %rdi
movq %rdi, 0x10(%rsp)
movq %r13, %rbp
movq %r13, (%r15)
movl 0x319c(%rbx), %eax
addl 0x31b0(%rbx), %eax
movl %eax, 0x8(%r15)
movb %r14b, 0xc(%r15)
movq %rsp, %r13
movq %r13, %rsi
callq 0xa9168
leaq 0x2388(%rbx), %rdi
movq %rdi, 0x18(%rsp)
movq %rbp, (%r13)
movq %rbp, %r15
movl 0x3188(%rbx), %eax
addl 0x31a4(%rbx), %eax
addl 0x31b8(%rbx), %eax
addl 0x319c(%rbx), %eax
movl %eax, 0x8(%r13)
movb %r14b, 0xc(%r13)
movq %rsp, %r13
movq %r13, %rsi
callq 0xa9168
movq %rbp, (%r13)
movl 0x31ac(%rbx), %eax
movl %eax, 0x8(%r13)
movb %r14b, 0xc(%r13)
movq %rsp, %r13
movq %r12, %rdi
movq %r13, %rsi
callq 0xa9168
movabsq $0x100000001, %rax      # imm = 0x100000001
movq %rax, (%r13)
movl 0x31a8(%rbx), %eax
movl %eax, 0x8(%r13)
movb %r14b, 0xc(%r13)
movq %rsp, %rbp
movq %r12, %rdi
movq %rbp, %rsi
callq 0xa9168
leaq 0x2310(%rbx), %r13
movq %r15, (%rbp)
movl 0x319c(%rbx), %eax
movl %eax, 0x8(%rbp)
movb %r14b, 0xc(%rbp)
movq %rsp, %rbp
movq %r13, %rdi
movq %rbp, %rsi
callq 0xa9168
movabsq $0x100000008, %rax      # imm = 0x100000008
movq %rax, (%rbp)
movl 0x319c(%rbx), %eax
movl %eax, 0x8(%rbp)
movb %r14b, 0xc(%rbp)
movq %rsp, %rbp
movq %r13, %rdi
movq %rbp, %rsi
callq 0xa9168
movabsq $0x100000007, %rax      # imm = 0x100000007
movq %rax, (%rbp)
movl 0x319c(%rbx), %eax
movl %eax, 0x8(%rbp)
movb %r14b, 0xc(%rbp)
movq %rsp, %rbp
movq %r13, %rdi
movq %rbp, %rsi
callq 0xa9168
movq %r15, (%rbp)
movl 0x31ac(%rbx), %eax
movl %eax, 0x8(%rbp)
movb $0x1, %r14b
movb %r14b, 0xc(%rbp)
movq %rsp, %rbp
movq %r12, %rdi
movq %rbp, %rsi
callq 0xa9168
movq %r15, (%rbp)
movl 0x319c(%rbx), %eax
movl %eax, 0x8(%rbp)
movb %r14b, 0xc(%rbp)
movb $0x1, %bpl
movq %rsp, %r14
movq %r13, %rdi
movq %r14, %rsi
callq 0xa9168
movq %r15, (%r14)
movl 0x319c(%rbx), %eax
addl 0x31b0(%rbx), %eax
movl %eax, 0x8(%r14)
movb %bpl, 0xc(%r14)
movq %rsp, %r14
movq 0x10(%rsp), %rdi
movq %r14, %rsi
callq 0xa9168
movq %r15, (%r14)
movl 0x3188(%rbx), %eax
addl 0x31a4(%rbx), %eax
addl 0x31b8(%rbx), %eax
addl 0x319c(%rbx), %eax
movl %eax, 0x8(%r14)
movb %bpl, 0xc(%r14)
movq %rsp, %rsi
movq 0x18(%rsp), %rdi
callq 0xa9168
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop