// File: 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
movq %rsp, %rbp
subq $0x7f0, %rsp            # imm = 0x7F0
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x7e0(%rbp)
movq %rax, %rcx
addq $0x3170, %rcx           # imm = 0x3170
movq %rcx, -0x10(%rbp)
addq $0x1f50, %rax           # imm = 0x1F50
movq %rax, -0x18(%rbp)
movq -0x18(%rbp), %rdi
addq $0x48, %rdi
movl $0x3, -0x28(%rbp)
movl $0x1, -0x24(%rbp)
movq -0x10(%rbp), %rax
movl 0x18(%rax), %eax
movl %eax, -0x20(%rbp)
movb $0x0, -0x1c(%rbp)
leaq -0x28(%rbp), %rsi
callq 0x1b0640
movq -0x18(%rbp), %rdi
addq $0x48, %rdi
movl $0x5, -0x38(%rbp)
movl $0x1, -0x34(%rbp)
movq -0x10(%rbp), %rax
movl 0x18(%rax), %eax
movl %eax, -0x30(%rbp)
movb $0x0, -0x2c(%rbp)
leaq -0x38(%rbp), %rsi
callq 0x1b0640
movq -0x18(%rbp), %rdi
addq $0x78, %rdi
movl $0x3, -0x48(%rbp)
movl $0x1, -0x44(%rbp)
movq -0x10(%rbp), %rax
movl 0x18(%rax), %eax
movl %eax, -0x40(%rbp)
movb $0x0, -0x3c(%rbp)
leaq -0x48(%rbp), %rsi
callq 0x1b0640
movq -0x18(%rbp), %rdi
addq $0x78, %rdi
movl $0x5, -0x58(%rbp)
movl $0x1, -0x54(%rbp)
movq -0x10(%rbp), %rax
movl 0x18(%rax), %eax
movl %eax, -0x50(%rbp)
movb $0x0, -0x4c(%rbp)
leaq -0x58(%rbp), %rsi
callq 0x1b0640
movq -0x18(%rbp), %rdi
addq $0x60, %rdi
movl $0x4, -0x68(%rbp)
movl $0x1, -0x64(%rbp)
movq -0x10(%rbp), %rax
movl 0x18(%rax), %eax
movl %eax, -0x60(%rbp)
movb $0x0, -0x5c(%rbp)
leaq -0x68(%rbp), %rsi
callq 0x1b0640
movq -0x18(%rbp), %rdi
addq $0x60, %rdi
movl $0x6, -0x78(%rbp)
movl $0x1, -0x74(%rbp)
movq -0x10(%rbp), %rax
movl 0x18(%rax), %eax
movl %eax, -0x70(%rbp)
movb $0x0, -0x6c(%rbp)
leaq -0x78(%rbp), %rsi
callq 0x1b0640
movq -0x18(%rbp), %rdi
addq $0x90, %rdi
movl $0x4, -0x88(%rbp)
movl $0x1, -0x84(%rbp)
movq -0x10(%rbp), %rax
movl 0x18(%rax), %eax
movl %eax, -0x80(%rbp)
movb $0x0, -0x7c(%rbp)
leaq -0x88(%rbp), %rsi
callq 0x1b0640
movq -0x18(%rbp), %rdi
addq $0x90, %rdi
movl $0x6, -0x98(%rbp)
movl $0x1, -0x94(%rbp)
movq -0x10(%rbp), %rax
movl 0x18(%rax), %eax
movl %eax, -0x90(%rbp)
movb $0x0, -0x8c(%rbp)
leaq -0x98(%rbp), %rsi
callq 0x1b0640
movq -0x7e0(%rbp), %rax
addq $0x1f50, %rax           # imm = 0x1F50
addq $0x138, %rax            # imm = 0x138
movq %rax, -0x18(%rbp)
movq -0x18(%rbp), %rdi
addq $0x48, %rdi
movl $0x3, -0xa8(%rbp)
movl $0x1, -0xa4(%rbp)
movq -0x10(%rbp), %rax
movl 0x1c(%rax), %eax
movl %eax, -0xa0(%rbp)
movb $0x0, -0x9c(%rbp)
leaq -0xa8(%rbp), %rsi
callq 0x1b0640
movq -0x18(%rbp), %rdi
addq $0x48, %rdi
movl $0x5, -0xb8(%rbp)
movl $0x1, -0xb4(%rbp)
movq -0x10(%rbp), %rax
movl 0x1c(%rax), %eax
movl %eax, -0xb0(%rbp)
movb $0x0, -0xac(%rbp)
leaq -0xb8(%rbp), %rsi
callq 0x1b0640
movq -0x18(%rbp), %rdi
addq $0x78, %rdi
movl $0x3, -0xc8(%rbp)
movl $0x1, -0xc4(%rbp)
movq -0x10(%rbp), %rax
movl 0x1c(%rax), %eax
movl %eax, -0xc0(%rbp)
movb $0x0, -0xbc(%rbp)
leaq -0xc8(%rbp), %rsi
callq 0x1b0640
movq -0x18(%rbp), %rdi
addq $0x78, %rdi
movl $0x5, -0xd8(%rbp)
movl $0x1, -0xd4(%rbp)
movq -0x10(%rbp), %rax
movl 0x1c(%rax), %eax
movl %eax, -0xd0(%rbp)
movb $0x0, -0xcc(%rbp)
leaq -0xd8(%rbp), %rsi
callq 0x1b0640
movq -0x18(%rbp), %rdi
addq $0x60, %rdi
movl $0x4, -0xe8(%rbp)
movl $0x1, -0xe4(%rbp)
movq -0x10(%rbp), %rax
movl 0x1c(%rax), %eax
movl %eax, -0xe0(%rbp)
movb $0x0, -0xdc(%rbp)
leaq -0xe8(%rbp), %rsi
callq 0x1b0640
movq -0x18(%rbp), %rdi
addq $0x60, %rdi
movl $0x6, -0xf8(%rbp)
movl $0x1, -0xf4(%rbp)
movq -0x10(%rbp), %rax
movl 0x1c(%rax), %eax
movl %eax, -0xf0(%rbp)
movb $0x0, -0xec(%rbp)
leaq -0xf8(%rbp), %rsi
callq 0x1b0640
movq -0x18(%rbp), %rdi
addq $0x90, %rdi
movl $0x4, -0x108(%rbp)
movl $0x1, -0x104(%rbp)
movq -0x10(%rbp), %rax
movl 0x1c(%rax), %eax
movl %eax, -0x100(%rbp)
movb $0x0, -0xfc(%rbp)
leaq -0x108(%rbp), %rsi
callq 0x1b0640
movq -0x18(%rbp), %rdi
addq $0x90, %rdi
movl $0x6, -0x118(%rbp)
movl $0x1, -0x114(%rbp)
movq -0x10(%rbp), %rax
movl 0x1c(%rax), %eax
movl %eax, -0x110(%rbp)
movb $0x0, -0x10c(%rbp)
leaq -0x118(%rbp), %rsi
callq 0x1b0640
movq -0x18(%rbp), %rdi
addq $0x48, %rdi
movl $0x4, -0x128(%rbp)
movl $0x1, -0x124(%rbp)
movq -0x10(%rbp), %rax
movl 0x24(%rax), %eax
movq -0x10(%rbp), %rcx
addl 0x1c(%rcx), %eax
addl $0x2, %eax
movq -0x10(%rbp), %rcx
subl 0x34(%rcx), %eax
movl %eax, -0x120(%rbp)
movb $0x0, -0x11c(%rbp)
leaq -0x128(%rbp), %rsi
callq 0x1b0640
movq -0x18(%rbp), %rdi
addq $0x48, %rdi
movl $0x6, -0x138(%rbp)
movl $0x1, -0x134(%rbp)
movq -0x10(%rbp), %rax
movl 0x24(%rax), %eax
movq -0x10(%rbp), %rcx
addl 0x1c(%rcx), %eax
addl $0x2, %eax
movq -0x10(%rbp), %rcx
subl 0x34(%rcx), %eax
movl %eax, -0x130(%rbp)
movb $0x0, -0x12c(%rbp)
leaq -0x138(%rbp), %rsi
callq 0x1b0640
movq -0x18(%rbp), %rdi
addq $0x78, %rdi
movl $0x4, -0x148(%rbp)
movl $0x1, -0x144(%rbp)
movq -0x10(%rbp), %rax
movl 0x24(%rax), %eax
movq -0x10(%rbp), %rcx
addl 0x1c(%rcx), %eax
addl $0x2, %eax
movq -0x10(%rbp), %rcx
subl 0x34(%rcx), %eax
movl %eax, -0x140(%rbp)
movb $0x0, -0x13c(%rbp)
leaq -0x148(%rbp), %rsi
callq 0x1b0640
movq -0x18(%rbp), %rdi
addq $0x78, %rdi
movl $0x6, -0x158(%rbp)
movl $0x1, -0x154(%rbp)
movq -0x10(%rbp), %rax
movl 0x24(%rax), %eax
movq -0x10(%rbp), %rcx
addl 0x1c(%rcx), %eax
addl $0x2, %eax
movq -0x10(%rbp), %rcx
subl 0x34(%rcx), %eax
movl %eax, -0x150(%rbp)
movb $0x0, -0x14c(%rbp)
leaq -0x158(%rbp), %rsi
callq 0x1b0640
movq -0x18(%rbp), %rdi
addq $0x60, %rdi
movl $0x3, -0x168(%rbp)
movl $0x1, -0x164(%rbp)
movq -0x10(%rbp), %rax
movl 0x34(%rax), %eax
movq -0x10(%rbp), %rcx
addl 0x18(%rcx), %eax
movq -0x10(%rbp), %rcx
addl 0x44(%rcx), %eax
movl %eax, -0x160(%rbp)
movb $0x0, -0x15c(%rbp)
leaq -0x168(%rbp), %rsi
callq 0x1b0640
movq -0x18(%rbp), %rdi
addq $0x60, %rdi
movl $0x5, -0x178(%rbp)
movl $0x1, -0x174(%rbp)
movq -0x10(%rbp), %rax
movl 0x34(%rax), %eax
movq -0x10(%rbp), %rcx
addl 0x18(%rcx), %eax
movq -0x10(%rbp), %rcx
addl 0x44(%rcx), %eax
movl %eax, -0x170(%rbp)
movb $0x0, -0x16c(%rbp)
leaq -0x178(%rbp), %rsi
callq 0x1b0640
movq -0x18(%rbp), %rdi
addq $0x90, %rdi
movl $0x3, -0x188(%rbp)
movl $0x1, -0x184(%rbp)
movq -0x10(%rbp), %rax
movl 0x34(%rax), %eax
movq -0x10(%rbp), %rcx
addl 0x18(%rcx), %eax
movq -0x10(%rbp), %rcx
addl 0x44(%rcx), %eax
movl %eax, -0x180(%rbp)
movb $0x0, -0x17c(%rbp)
leaq -0x188(%rbp), %rsi
callq 0x1b0640
movq -0x18(%rbp), %rdi
addq $0x90, %rdi
movl $0x5, -0x198(%rbp)
movl $0x1, -0x194(%rbp)
movq -0x10(%rbp), %rax
movl 0x34(%rax), %eax
movq -0x10(%rbp), %rcx
addl 0x18(%rcx), %eax
movq -0x10(%rbp), %rcx
addl 0x44(%rcx), %eax
movl %eax, -0x190(%rbp)
movb $0x0, -0x18c(%rbp)
leaq -0x198(%rbp), %rsi
callq 0x1b0640
movq -0x18(%rbp), %rdi
addq $0x48, %rdi
movl $0x3, -0x1a8(%rbp)
movl $0x1, -0x1a4(%rbp)
movq -0x10(%rbp), %rax
movl 0x18(%rax), %eax
movq -0x10(%rbp), %rcx
addl 0x20(%rcx), %eax
movl %eax, -0x1a0(%rbp)
movb $0x1, -0x19c(%rbp)
leaq -0x1a8(%rbp), %rsi
callq 0x1b0640
movq -0x18(%rbp), %rdi
addq $0x48, %rdi
movl $0x5, -0x1b8(%rbp)
movl $0x1, -0x1b4(%rbp)
movq -0x10(%rbp), %rax
movl 0x18(%rax), %eax
movq -0x10(%rbp), %rcx
addl 0x20(%rcx), %eax
movl %eax, -0x1b0(%rbp)
movb $0x1, -0x1ac(%rbp)
leaq -0x1b8(%rbp), %rsi
callq 0x1b0640
movq -0x18(%rbp), %rdi
addq $0x78, %rdi
movl $0x3, -0x1c8(%rbp)
movl $0x1, -0x1c4(%rbp)
movq -0x10(%rbp), %rax
movl 0x18(%rax), %eax
movq -0x10(%rbp), %rcx
addl 0x20(%rcx), %eax
movl %eax, -0x1c0(%rbp)
movb $0x1, -0x1bc(%rbp)
leaq -0x1c8(%rbp), %rsi
callq 0x1b0640
movq -0x18(%rbp), %rdi
addq $0x78, %rdi
movl $0x5, -0x1d8(%rbp)
movl $0x1, -0x1d4(%rbp)
movq -0x10(%rbp), %rax
movl 0x18(%rax), %eax
movq -0x10(%rbp), %rcx
addl 0x20(%rcx), %eax
movl %eax, -0x1d0(%rbp)
movb $0x1, -0x1cc(%rbp)
leaq -0x1d8(%rbp), %rsi
callq 0x1b0640
movq -0x18(%rbp), %rdi
addq $0x48, %rdi
movl $0x4, -0x1e8(%rbp)
movl $0x1, -0x1e4(%rbp)
movq -0x10(%rbp), %rax
movl 0x18(%rax), %eax
movq -0x10(%rbp), %rcx
addl 0x20(%rcx), %eax
movl %eax, -0x1e0(%rbp)
movb $0x1, -0x1dc(%rbp)
leaq -0x1e8(%rbp), %rsi
callq 0x1b0640
movq -0x18(%rbp), %rdi
addq $0x48, %rdi
movl $0x6, -0x1f8(%rbp)
movl $0x1, -0x1f4(%rbp)
movq -0x10(%rbp), %rax
movl 0x18(%rax), %eax
movq -0x10(%rbp), %rcx
addl 0x20(%rcx), %eax
movl %eax, -0x1f0(%rbp)
movb $0x1, -0x1ec(%rbp)
leaq -0x1f8(%rbp), %rsi
callq 0x1b0640
movq -0x18(%rbp), %rdi
addq $0x78, %rdi
movl $0x4, -0x208(%rbp)
movl $0x1, -0x204(%rbp)
movq -0x10(%rbp), %rax
movl 0x18(%rax), %eax
movq -0x10(%rbp), %rcx
addl 0x20(%rcx), %eax
movl %eax, -0x200(%rbp)
movb $0x1, -0x1fc(%rbp)
leaq -0x208(%rbp), %rsi
callq 0x1b0640
movq -0x18(%rbp), %rdi
addq $0x78, %rdi
movl $0x6, -0x218(%rbp)
movl $0x1, -0x214(%rbp)
movq -0x10(%rbp), %rax
movl 0x18(%rax), %eax
movq -0x10(%rbp), %rcx
addl 0x20(%rcx), %eax
movl %eax, -0x210(%rbp)
movb $0x1, -0x20c(%rbp)
leaq -0x218(%rbp), %rsi
callq 0x1b0640
movq -0x18(%rbp), %rdi
addq $0x48, %rdi
movl $0x4, -0x228(%rbp)
movl $0x1, -0x224(%rbp)
movq -0x10(%rbp), %rax
movl 0x24(%rax), %eax
movq -0x10(%rbp), %rcx
addl 0x18(%rcx), %eax
movq -0x10(%rbp), %rcx
addl 0x20(%rcx), %eax
movq -0x10(%rbp), %rcx
subl 0x34(%rcx), %eax
movl %eax, -0x220(%rbp)
movb $0x1, -0x21c(%rbp)
leaq -0x228(%rbp), %rsi
callq 0x1b0640
movq -0x18(%rbp), %rdi
addq $0x48, %rdi
movl $0x6, -0x238(%rbp)
movl $0x1, -0x234(%rbp)
movq -0x10(%rbp), %rax
movl 0x24(%rax), %eax
movq -0x10(%rbp), %rcx
addl 0x18(%rcx), %eax
movq -0x10(%rbp), %rcx
addl 0x20(%rcx), %eax
movq -0x10(%rbp), %rcx
subl 0x34(%rcx), %eax
movl %eax, -0x230(%rbp)
movb $0x1, -0x22c(%rbp)
leaq -0x238(%rbp), %rsi
callq 0x1b0640
movq -0x18(%rbp), %rdi
addq $0x78, %rdi
movl $0x4, -0x248(%rbp)
movl $0x1, -0x244(%rbp)
movq -0x10(%rbp), %rax
movl 0x24(%rax), %eax
movq -0x10(%rbp), %rcx
addl 0x18(%rcx), %eax
movq -0x10(%rbp), %rcx
addl 0x20(%rcx), %eax
movq -0x10(%rbp), %rcx
subl 0x34(%rcx), %eax
movl %eax, -0x240(%rbp)
movb $0x1, -0x23c(%rbp)
leaq -0x248(%rbp), %rsi
callq 0x1b0640
movq -0x18(%rbp), %rdi
addq $0x78, %rdi
movl $0x6, -0x258(%rbp)
movl $0x1, -0x254(%rbp)
movq -0x10(%rbp), %rax
movl 0x24(%rax), %eax
movq -0x10(%rbp), %rcx
addl 0x18(%rcx), %eax
movq -0x10(%rbp), %rcx
addl 0x20(%rcx), %eax
movq -0x10(%rbp), %rcx
subl 0x34(%rcx), %eax
movl %eax, -0x250(%rbp)
movb $0x1, -0x24c(%rbp)
leaq -0x258(%rbp), %rsi
callq 0x1b0640
movq -0x18(%rbp), %rdi
addq $0x60, %rdi
movl $0x3, -0x268(%rbp)
movl $0x1, -0x264(%rbp)
movq -0x10(%rbp), %rax
movl 0x34(%rax), %eax
movq -0x10(%rbp), %rcx
addl 0x18(%rcx), %eax
movq -0x10(%rbp), %rcx
addl 0x20(%rcx), %eax
movq -0x10(%rbp), %rcx
subl 0x24(%rcx), %eax
movl %eax, -0x260(%rbp)
movb $0x1, -0x25c(%rbp)
leaq -0x268(%rbp), %rsi
callq 0x1b0640
movq -0x18(%rbp), %rdi
addq $0x60, %rdi
movl $0x5, -0x278(%rbp)
movl $0x1, -0x274(%rbp)
movq -0x10(%rbp), %rax
movl 0x34(%rax), %eax
movq -0x10(%rbp), %rcx
addl 0x18(%rcx), %eax
movq -0x10(%rbp), %rcx
addl 0x20(%rcx), %eax
movq -0x10(%rbp), %rcx
subl 0x24(%rcx), %eax
movl %eax, -0x270(%rbp)
movb $0x1, -0x26c(%rbp)
leaq -0x278(%rbp), %rsi
callq 0x1b0640
movq -0x18(%rbp), %rdi
addq $0x90, %rdi
movl $0x3, -0x288(%rbp)
movl $0x1, -0x284(%rbp)
movq -0x10(%rbp), %rax
movl 0x34(%rax), %eax
movq -0x10(%rbp), %rcx
addl 0x18(%rcx), %eax
movq -0x10(%rbp), %rcx
addl 0x20(%rcx), %eax
movq -0x10(%rbp), %rcx
subl 0x24(%rcx), %eax
movl %eax, -0x280(%rbp)
movb $0x1, -0x27c(%rbp)
leaq -0x288(%rbp), %rsi
callq 0x1b0640
movq -0x18(%rbp), %rdi
addq $0x90, %rdi
movl $0x5, -0x298(%rbp)
movl $0x1, -0x294(%rbp)
movq -0x10(%rbp), %rax
movl 0x34(%rax), %eax
movq -0x10(%rbp), %rcx
addl 0x18(%rcx), %eax
movq -0x10(%rbp), %rcx
addl 0x20(%rcx), %eax
movq -0x10(%rbp), %rcx
subl 0x24(%rcx), %eax
movl %eax, -0x290(%rbp)
movb $0x1, -0x28c(%rbp)
leaq -0x298(%rbp), %rsi
callq 0x1b0640
movq -0x18(%rbp), %rdi
addq $0x48, %rdi
movl $0x2, -0x2a8(%rbp)
movl $0x1, -0x2a4(%rbp)
movq -0x10(%rbp), %rax
movl 0x40(%rax), %eax
movl %eax, -0x2a0(%rbp)
movb $0x0, -0x29c(%rbp)
leaq -0x2a8(%rbp), %rsi
callq 0x1b0640
movq -0x18(%rbp), %rdi
addq $0x60, %rdi
movl $0x2, -0x2b8(%rbp)
movl $0x1, -0x2b4(%rbp)
movq -0x10(%rbp), %rax
movl 0x34(%rax), %eax
movq -0x10(%rbp), %rcx
addl 0x18(%rcx), %eax
movq -0x10(%rbp), %rcx
addl 0x48(%rcx), %eax
movl %eax, -0x2b0(%rbp)
movb $0x0, -0x2ac(%rbp)
leaq -0x2b8(%rbp), %rsi
callq 0x1b0640
movq -0x18(%rbp), %rdi
addq $0x48, %rdi
movl $0x9, -0x2c8(%rbp)
movl $0x1, -0x2c4(%rbp)
movq -0x10(%rbp), %rax
movl 0x24(%rax), %eax
movq -0x10(%rbp), %rcx
addl 0x18(%rcx), %eax
addl $0x1, %eax
movl %eax, -0x2c0(%rbp)
movb $0x0, -0x2bc(%rbp)
leaq -0x2c8(%rbp), %rsi
callq 0x1b0640
movq -0x18(%rbp), %rdi
addq $0x78, %rdi
movl $0x9, -0x2d8(%rbp)
movl $0x1, -0x2d4(%rbp)
movq -0x10(%rbp), %rax
movl 0x24(%rax), %eax
movq -0x10(%rbp), %rcx
addl 0x18(%rcx), %eax
addl $0x1, %eax
movl %eax, -0x2d0(%rbp)
movb $0x0, -0x2cc(%rbp)
leaq -0x2d8(%rbp), %rsi
callq 0x1b0640
movq -0x18(%rbp), %rdi
addq $0x60, %rdi
movl $0x9, -0x2e8(%rbp)
movl $0x1, -0x2e4(%rbp)
movq -0x10(%rbp), %rax
movl 0x34(%rax), %eax
movq -0x10(%rbp), %rcx
addl 0x18(%rcx), %eax
movq -0x10(%rbp), %rcx
addl 0x48(%rcx), %eax
movl %eax, -0x2e0(%rbp)
movb $0x0, -0x2dc(%rbp)
leaq -0x2e8(%rbp), %rsi
callq 0x1b0640
movq -0x18(%rbp), %rdi
addq $0x90, %rdi
movl $0x9, -0x2f8(%rbp)
movl $0x1, -0x2f4(%rbp)
movq -0x10(%rbp), %rax
movl 0x34(%rax), %eax
movq -0x10(%rbp), %rcx
addl 0x18(%rcx), %eax
movq -0x10(%rbp), %rcx
addl 0x48(%rcx), %eax
addl $0x1, %eax
movl %eax, -0x2f0(%rbp)
movb $0x0, -0x2ec(%rbp)
leaq -0x2f8(%rbp), %rsi
callq 0x1b0640
movq -0x18(%rbp), %rdi
addq $0xf0, %rdi
movl $0x3, -0x308(%rbp)
movl $0x1, -0x304(%rbp)
movq -0x10(%rbp), %rax
movl 0x68(%rax), %eax
movl %eax, -0x300(%rbp)
movb $0x0, -0x2fc(%rbp)
leaq -0x308(%rbp), %rsi
callq 0x1b0640
movq -0x18(%rbp), %rdi
addq $0xf0, %rdi
movl $0x5, -0x318(%rbp)
movl $0x1, -0x314(%rbp)
movq -0x10(%rbp), %rax
movl 0x68(%rax), %eax
movl %eax, -0x310(%rbp)
movb $0x0, -0x30c(%rbp)
leaq -0x318(%rbp), %rsi
callq 0x1b0640
movq -0x18(%rbp), %rdi
addq $0xf0, %rdi
movl $0x4, -0x328(%rbp)
movl $0x1, -0x324(%rbp)
movq -0x10(%rbp), %rax
movl 0x68(%rax), %eax
movl %eax, -0x320(%rbp)
movb $0x0, -0x31c(%rbp)
leaq -0x328(%rbp), %rsi
callq 0x1b0640
movq -0x18(%rbp), %rdi
addq $0xf0, %rdi
movl $0x6, -0x338(%rbp)
movl $0x1, -0x334(%rbp)
movq -0x10(%rbp), %rax
movl 0x68(%rax), %eax
movl %eax, -0x330(%rbp)
movb $0x0, -0x32c(%rbp)
leaq -0x338(%rbp), %rsi
callq 0x1b0640
movq -0x18(%rbp), %rdi
movl $0x0, -0x348(%rbp)
movl $0x1, -0x344(%rbp)
movq -0x10(%rbp), %rax
movl 0x4c(%rax), %eax
movl %eax, -0x340(%rbp)
movb $0x0, -0x33c(%rbp)
leaq -0x348(%rbp), %rsi
callq 0x1b0640
movq -0x18(%rbp), %rdi
movl $0x0, -0x358(%rbp)
movl $0x4, -0x354(%rbp)
movq -0x10(%rbp), %rax
movl 0x50(%rax), %eax
movl %eax, -0x350(%rbp)
movb $0x0, -0x34c(%rbp)
leaq -0x358(%rbp), %rsi
callq 0x1b0640
movq -0x18(%rbp), %rdi
movl $0x2, -0x368(%rbp)
movl $0x1, -0x364(%rbp)
movq -0x10(%rbp), %rax
movl 0x38(%rax), %eax
movl %eax, -0x360(%rbp)
movb $0x0, -0x35c(%rbp)
leaq -0x368(%rbp), %rsi
callq 0x1b0640
movq -0x18(%rbp), %rdi
addq $0x30, %rdi
movl $0x0, -0x378(%rbp)
movl $0x1, -0x374(%rbp)
movq -0x10(%rbp), %rax
movl 0x30(%rax), %eax
movl %eax, -0x370(%rbp)
movb $0x0, -0x36c(%rbp)
leaq -0x378(%rbp), %rsi
callq 0x1b0640
movq -0x18(%rbp), %rdi
addq $0x18, %rdi
movl $0x7, -0x388(%rbp)
movl $0x1, -0x384(%rbp)
movq -0x10(%rbp), %rax
movl 0x2c(%rax), %eax
movl %eax, -0x380(%rbp)
movb $0x0, -0x37c(%rbp)
leaq -0x388(%rbp), %rsi
callq 0x1b0640
movq -0x18(%rbp), %rdi
addq $0x30, %rdi
movl $0x7, -0x398(%rbp)
movl $0x1, -0x394(%rbp)
movq -0x10(%rbp), %rax
movl 0x30(%rax), %eax
movl %eax, -0x390(%rbp)
movb $0x0, -0x38c(%rbp)
leaq -0x398(%rbp), %rsi
callq 0x1b0640
movq -0x18(%rbp), %rdi
addq $0xa8, %rdi
movl $0x0, -0x3a8(%rbp)
movl $0x1, -0x3a4(%rbp)
movq -0x10(%rbp), %rax
movl 0x54(%rax), %eax
movl %eax, -0x3a0(%rbp)
movb $0x0, -0x39c(%rbp)
leaq -0x3a8(%rbp), %rsi
callq 0x1b0640
movq -0x18(%rbp), %rdi
movl $0x9, -0x3b8(%rbp)
movl $0x1, -0x3b4(%rbp)
movl $0x1, -0x3b0(%rbp)
movb $0x0, -0x3ac(%rbp)
leaq -0x3b8(%rbp), %rsi
callq 0x1b0640
movq -0x18(%rbp), %rdi
addq $0xf0, %rdi
movl $0x0, -0x3c8(%rbp)
movl $0x1, -0x3c4(%rbp)
movq -0x10(%rbp), %rax
movl 0x68(%rax), %eax
movl %eax, -0x3c0(%rbp)
movb $0x0, -0x3bc(%rbp)
leaq -0x3c8(%rbp), %rsi
callq 0x1b0640
movq -0x18(%rbp), %rdi
addq $0xf0, %rdi
movl $0x1, -0x3d8(%rbp)
movl $0x1, -0x3d4(%rbp)
movq -0x10(%rbp), %rax
movl 0x68(%rax), %eax
movl %eax, -0x3d0(%rbp)
movb $0x0, -0x3cc(%rbp)
leaq -0x3d8(%rbp), %rsi
callq 0x1b0640
movq -0x18(%rbp), %rdi
addq $0xf0, %rdi
movl $0x2, -0x3e8(%rbp)
movl $0x1, -0x3e4(%rbp)
movq -0x10(%rbp), %rax
movl 0x68(%rax), %eax
movl %eax, -0x3e0(%rbp)
movb $0x0, -0x3dc(%rbp)
leaq -0x3e8(%rbp), %rsi
callq 0x1b0640
movq -0x18(%rbp), %rdi
addq $0x18, %rdi
movl $0xb, -0x3f8(%rbp)
movl $0x1, -0x3f4(%rbp)
movq -0x10(%rbp), %rax
movl 0x2c(%rax), %eax
movl %eax, -0x3f0(%rbp)
movb $0x0, -0x3ec(%rbp)
leaq -0x3f8(%rbp), %rsi
callq 0x1b0640
movq -0x18(%rbp), %rdi
addq $0x30, %rdi
movl $0xb, -0x408(%rbp)
movl $0x1, -0x404(%rbp)
movq -0x10(%rbp), %rax
movl 0x30(%rax), %eax
movl %eax, -0x400(%rbp)
movb $0x0, -0x3fc(%rbp)
leaq -0x408(%rbp), %rsi
callq 0x1b0640
movq -0x18(%rbp), %rdi
addq $0x120, %rdi            # imm = 0x120
movl $0x0, -0x418(%rbp)
movl $0x1, -0x414(%rbp)
movq -0x10(%rbp), %rax
movl 0x74(%rax), %eax
movl %eax, -0x410(%rbp)
movb $0x0, -0x40c(%rbp)
leaq -0x418(%rbp), %rsi
callq 0x1b0640
movq -0x18(%rbp), %rdi
addq $0xa8, %rdi
movl $0x7, -0x428(%rbp)
movl $0x1, -0x424(%rbp)
movq -0x10(%rbp), %rax
movl 0x54(%rax), %eax
movl %eax, -0x420(%rbp)
movb $0x0, -0x41c(%rbp)
leaq -0x428(%rbp), %rsi
callq 0x1b0640
movq -0x18(%rbp), %rdi
addq $0xa8, %rdi
movl $0x8, -0x438(%rbp)
movl $0x1, -0x434(%rbp)
movq -0x10(%rbp), %rax
movl 0x54(%rax), %eax
movl %eax, -0x430(%rbp)
movb $0x0, -0x42c(%rbp)
leaq -0x438(%rbp), %rsi
callq 0x1b0640
movq -0x18(%rbp), %rdi
addq $0xc0, %rdi
movl $0x7, -0x448(%rbp)
movl $0x1, -0x444(%rbp)
movq -0x10(%rbp), %rax
movl 0x58(%rax), %eax
movl %eax, -0x440(%rbp)
movb $0x0, -0x43c(%rbp)
leaq -0x448(%rbp), %rsi
callq 0x1b0640
movq -0x18(%rbp), %rdi
addq $0xa8, %rdi
movl $0x9, -0x458(%rbp)
movl $0x1, -0x454(%rbp)
movl $0x1, -0x450(%rbp)
movb $0x0, -0x44c(%rbp)
leaq -0x458(%rbp), %rsi
callq 0x1b0640
movq -0x18(%rbp), %rdi
addq $0xc0, %rdi
movl $0x9, -0x468(%rbp)
movl $0x1, -0x464(%rbp)
movl $0x1, -0x460(%rbp)
movb $0x0, -0x45c(%rbp)
leaq -0x468(%rbp), %rsi
callq 0x1b0640
movq -0x18(%rbp), %rdi
addq $0xf0, %rdi
movl $0x7, -0x478(%rbp)
movl $0x1, -0x474(%rbp)
movq -0x10(%rbp), %rax
movl 0x68(%rax), %eax
movl %eax, -0x470(%rbp)
movb $0x0, -0x46c(%rbp)
leaq -0x478(%rbp), %rsi
callq 0x1b0640
movq -0x18(%rbp), %rdi
addq $0xf0, %rdi
movl $0x8, -0x488(%rbp)
movl $0x1, -0x484(%rbp)
movq -0x10(%rbp), %rax
movl 0x68(%rax), %eax
movl %eax, -0x480(%rbp)
movb $0x0, -0x47c(%rbp)
leaq -0x488(%rbp), %rsi
callq 0x1b0640
movq -0x18(%rbp), %rdi
addq $0x120, %rdi            # imm = 0x120
movl $0x7, -0x498(%rbp)
movl $0x1, -0x494(%rbp)
movq -0x10(%rbp), %rax
movl 0x74(%rax), %eax
movl %eax, -0x490(%rbp)
movb $0x0, -0x48c(%rbp)
leaq -0x498(%rbp), %rsi
callq 0x1b0640
movq -0x18(%rbp), %rdi
addq $0x120, %rdi            # imm = 0x120
movl $0x8, -0x4a8(%rbp)
movl $0x1, -0x4a4(%rbp)
movq -0x10(%rbp), %rax
movl 0x74(%rax), %eax
movl %eax, -0x4a0(%rbp)
movb $0x0, -0x49c(%rbp)
leaq -0x4a8(%rbp), %rsi
callq 0x1b0640
movq -0x18(%rbp), %rdi
addq $0xd8, %rdi
movl $0xa, -0x4b8(%rbp)
movl $0x1, -0x4b4(%rbp)
movq -0x10(%rbp), %rax
movl 0x64(%rax), %eax
movl %eax, -0x4b0(%rbp)
movb $0x0, -0x4ac(%rbp)
leaq -0x4b8(%rbp), %rsi
callq 0x1b0640
movq -0x18(%rbp), %rdi
addq $0xf0, %rdi
movl $0x9, -0x4c8(%rbp)
movl $0x1, -0x4c4(%rbp)
movq -0x10(%rbp), %rax
movl 0x68(%rax), %eax
movl %eax, -0x4c0(%rbp)
movb $0x0, -0x4bc(%rbp)
leaq -0x4c8(%rbp), %rsi
callq 0x1b0640
movq -0x18(%rbp), %rdi
addq $0xf0, %rdi
movl $0xb, -0x4d8(%rbp)
movl $0x1, -0x4d4(%rbp)
movq -0x10(%rbp), %rax
movl 0x68(%rax), %eax
movl %eax, -0x4d0(%rbp)
movb $0x0, -0x4cc(%rbp)
leaq -0x4d8(%rbp), %rsi
callq 0x1b0640
movq -0x18(%rbp), %rdi
addq $0x120, %rdi            # imm = 0x120
movl $0x9, -0x4e8(%rbp)
movl $0x1, -0x4e4(%rbp)
movq -0x10(%rbp), %rax
movl 0x74(%rax), %eax
movl %eax, -0x4e0(%rbp)
movb $0x0, -0x4dc(%rbp)
leaq -0x4e8(%rbp), %rsi
callq 0x1b0640
movq -0x18(%rbp), %rdi
addq $0x108, %rdi            # imm = 0x108
movl $0xc, -0x4f8(%rbp)
movl $0x1, -0x4f4(%rbp)
movq -0x10(%rbp), %rax
movl 0x70(%rax), %eax
movl %eax, -0x4f0(%rbp)
movb $0x0, -0x4ec(%rbp)
leaq -0x4f8(%rbp), %rsi
callq 0x1b0640
movq -0x18(%rbp), %rdi
addq $0x120, %rdi            # imm = 0x120
movl $0xb, -0x508(%rbp)
movl $0x1, -0x504(%rbp)
movq -0x10(%rbp), %rax
movl 0x74(%rax), %eax
movl %eax, -0x500(%rbp)
movb $0x0, -0x4fc(%rbp)
leaq -0x508(%rbp), %rsi
callq 0x1b0640
movq -0x18(%rbp), %rdi
addq $0xc0, %rdi
movl $0x8, -0x518(%rbp)
movl $0x1, -0x514(%rbp)
movq -0x10(%rbp), %rax
movl 0x58(%rax), %eax
movl %eax, -0x510(%rbp)
movb $0x0, -0x50c(%rbp)
leaq -0x518(%rbp), %rsi
callq 0x1b0640
movq -0x7e0(%rbp), %rax
addq $0x1f50, %rax           # imm = 0x1F50
addq $0x270, %rax            # imm = 0x270
movq %rax, -0x18(%rbp)
movq -0x18(%rbp), %rdi
movl $0x3, -0x528(%rbp)
movl $0x1, -0x524(%rbp)
movq -0x10(%rbp), %rax
movl 0x28(%rax), %eax
movl %eax, -0x520(%rbp)
movb $0x0, -0x51c(%rbp)
leaq -0x528(%rbp), %rsi
callq 0x1b0640
movq -0x18(%rbp), %rdi
movl $0x5, -0x538(%rbp)
movl $0x1, -0x534(%rbp)
movq -0x10(%rbp), %rax
movl 0x28(%rax), %eax
movl %eax, -0x530(%rbp)
movb $0x0, -0x52c(%rbp)
leaq -0x538(%rbp), %rsi
callq 0x1b0640
movq -0x18(%rbp), %rdi
movl $0x4, -0x548(%rbp)
movl $0x1, -0x544(%rbp)
movq -0x10(%rbp), %rax
movl 0x28(%rax), %eax
movl %eax, -0x540(%rbp)
movb $0x0, -0x53c(%rbp)
leaq -0x548(%rbp), %rsi
callq 0x1b0640
movq -0x18(%rbp), %rdi
movl $0x6, -0x558(%rbp)
movl $0x1, -0x554(%rbp)
movq -0x10(%rbp), %rax
movl 0x28(%rax), %eax
movl %eax, -0x550(%rbp)
movb $0x0, -0x54c(%rbp)
leaq -0x558(%rbp), %rsi
callq 0x1b0640
movq -0x18(%rbp), %rdi
addq $0x48, %rdi
movl $0x1, -0x568(%rbp)
movl $0x1, -0x564(%rbp)
movq -0x10(%rbp), %rax
movl 0x40(%rax), %eax
movl %eax, -0x560(%rbp)
movb $0x0, -0x55c(%rbp)
leaq -0x568(%rbp), %rsi
callq 0x1b0640
movq -0x18(%rbp), %rdi
addq $0x60, %rdi
movl $0x1, -0x578(%rbp)
movl $0x1, -0x574(%rbp)
movq -0x10(%rbp), %rax
movl 0x34(%rax), %eax
movq -0x10(%rbp), %rcx
addl 0x18(%rcx), %eax
movq -0x10(%rbp), %rcx
addl 0x48(%rcx), %eax
movl %eax, -0x570(%rbp)
movb $0x0, -0x56c(%rbp)
leaq -0x578(%rbp), %rsi
callq 0x1b0640
movq -0x18(%rbp), %rdi
addq $0x78, %rdi
movl $0x0, -0x588(%rbp)
movl $0x1, -0x584(%rbp)
movq -0x10(%rbp), %rax
movl 0x40(%rax), %eax
movq -0x10(%rbp), %rcx
addl 0x2c(%rcx), %eax
movl %eax, -0x580(%rbp)
movb $0x0, -0x57c(%rbp)
leaq -0x588(%rbp), %rsi
callq 0x1b0640
movq -0x18(%rbp), %rdi
addq $0x90, %rdi
movl $0x0, -0x598(%rbp)
movl $0x1, -0x594(%rbp)
movq -0x10(%rbp), %rax
movl 0x34(%rax), %eax
movq -0x10(%rbp), %rcx
addl 0x18(%rcx), %eax
movq -0x10(%rbp), %rcx
addl 0x48(%rcx), %eax
movq -0x10(%rbp), %rcx
addl 0x2c(%rcx), %eax
movl %eax, -0x590(%rbp)
movb $0x0, -0x58c(%rbp)
leaq -0x598(%rbp), %rsi
callq 0x1b0640
movq -0x18(%rbp), %rdi
movl $0x0, -0x5a8(%rbp)
movl $0x1, -0x5a4(%rbp)
movq -0x10(%rbp), %rax
movl 0x3c(%rax), %eax
movl %eax, -0x5a0(%rbp)
movb $0x0, -0x59c(%rbp)
leaq -0x5a8(%rbp), %rsi
callq 0x1b0640
movq -0x18(%rbp), %rdi
movl $0x1, -0x5b8(%rbp)
movl $0x1, -0x5b4(%rbp)
movq -0x10(%rbp), %rax
movl 0x38(%rax), %eax
movl %eax, -0x5b0(%rbp)
movb $0x0, -0x5ac(%rbp)
leaq -0x5b8(%rbp), %rsi
callq 0x1b0640
movq -0x18(%rbp), %rdi
addq $0x18, %rdi
movl $0x0, -0x5c8(%rbp)
movl $0x1, -0x5c4(%rbp)
movq -0x10(%rbp), %rax
movl 0x2c(%rax), %eax
movl %eax, -0x5c0(%rbp)
movb $0x0, -0x5bc(%rbp)
leaq -0x5c8(%rbp), %rsi
callq 0x1b0640
movq -0x18(%rbp), %rdi
addq $0x18, %rdi
movl $0x8, -0x5d8(%rbp)
movl $0x1, -0x5d4(%rbp)
movq -0x10(%rbp), %rax
movl 0x2c(%rax), %eax
movl %eax, -0x5d0(%rbp)
movb $0x0, -0x5cc(%rbp)
leaq -0x5d8(%rbp), %rsi
callq 0x1b0640
movq -0x18(%rbp), %rdi
addq $0xc0, %rdi
movl $0x8, -0x5e8(%rbp)
movl $0x1, -0x5e4(%rbp)
movq -0x10(%rbp), %rax
movl 0x58(%rax), %eax
movl %eax, -0x5e0(%rbp)
movb $0x0, -0x5dc(%rbp)
leaq -0x5e8(%rbp), %rsi
callq 0x1b0640
movq -0x18(%rbp), %rdi
addq $0xc0, %rdi
movl $0x8, -0x5f8(%rbp)
movl $0x1, -0x5f4(%rbp)
movq -0x10(%rbp), %rax
movl 0x58(%rax), %eax
movl %eax, -0x5f0(%rbp)
movb $0x1, -0x5ec(%rbp)
leaq -0x5f8(%rbp), %rsi
callq 0x1b0640
movq -0x18(%rbp), %rdi
movl $0x8, -0x608(%rbp)
movl $0x1, -0x604(%rbp)
movq -0x10(%rbp), %rax
movl 0x4c(%rax), %eax
movl %eax, -0x600(%rbp)
movb $0x1, -0x5fc(%rbp)
leaq -0x608(%rbp), %rsi
callq 0x1b0640
movq -0x18(%rbp), %rdi
addq $0xc0, %rdi
movl $0x0, -0x618(%rbp)
movl $0x1, -0x614(%rbp)
movq -0x10(%rbp), %rax
movl 0x4c(%rax), %eax
movl %eax, -0x610(%rbp)
movb $0x1, -0x60c(%rbp)
leaq -0x618(%rbp), %rsi
callq 0x1b0640
movq -0x7e0(%rbp), %rax
cmpl $0x4, (%rax)
je 0x1a83fd
movq -0x7e0(%rbp), %rax
cmpl $0x3, (%rax)
je 0x1a83fd
movq -0x18(%rbp), %rdi
addq $0xc0, %rdi
movl $0x0, -0x628(%rbp)
movl $0x1, -0x624(%rbp)
movq -0x10(%rbp), %rax
movl 0x58(%rax), %eax
movl %eax, -0x620(%rbp)
movb $0x0, -0x61c(%rbp)
leaq -0x628(%rbp), %rsi
callq 0x1b0640
movq -0x18(%rbp), %rdi
addq $0xc0, %rdi
movl $0x3, -0x638(%rbp)
movl $0x1, -0x634(%rbp)
movq -0x10(%rbp), %rax
movl 0x58(%rax), %eax
movl %eax, -0x630(%rbp)
movb $0x0, -0x62c(%rbp)
leaq -0x638(%rbp), %rsi
callq 0x1b0640
movq -0x18(%rbp), %rdi
addq $0xc0, %rdi
movl $0x5, -0x648(%rbp)
movl $0x1, -0x644(%rbp)
movq -0x10(%rbp), %rax
movl 0x58(%rax), %eax
movl %eax, -0x640(%rbp)
movb $0x0, -0x63c(%rbp)
leaq -0x648(%rbp), %rsi
callq 0x1b0640
movq -0x18(%rbp), %rdi
addq $0xc0, %rdi
movl $0x4, -0x658(%rbp)
movl $0x1, -0x654(%rbp)
movq -0x10(%rbp), %rax
movl 0x58(%rax), %eax
movl %eax, -0x650(%rbp)
movb $0x0, -0x64c(%rbp)
leaq -0x658(%rbp), %rsi
callq 0x1b0640
movq -0x18(%rbp), %rdi
addq $0xc0, %rdi
movl $0x6, -0x668(%rbp)
movl $0x1, -0x664(%rbp)
movq -0x10(%rbp), %rax
movl 0x58(%rax), %eax
movl %eax, -0x660(%rbp)
movb $0x0, -0x65c(%rbp)
leaq -0x668(%rbp), %rsi
callq 0x1b0640
movq -0x18(%rbp), %rdi
addq $0xc0, %rdi
movl $0x1, -0x678(%rbp)
movl $0x1, -0x674(%rbp)
movq -0x10(%rbp), %rax
movl 0x58(%rax), %eax
movl %eax, -0x670(%rbp)
movb $0x0, -0x66c(%rbp)
leaq -0x678(%rbp), %rsi
callq 0x1b0640
movq -0x18(%rbp), %rdi
addq $0xc0, %rdi
movl $0x2, -0x688(%rbp)
movl $0x1, -0x684(%rbp)
movq -0x10(%rbp), %rax
movl 0x58(%rax), %eax
movl %eax, -0x680(%rbp)
movb $0x0, -0x67c(%rbp)
leaq -0x688(%rbp), %rsi
callq 0x1b0640
movq -0x7e0(%rbp), %rax
cmpl $0x4, (%rax)
je 0x1a8419
movq -0x7e0(%rbp), %rax
cmpl $0x3, (%rax)
jne 0x1a899f
movq -0x7e0(%rbp), %rax
movq %rax, %rcx
addq $0x1f50, %rcx           # imm = 0x1F50
addq $0x3a8, %rcx            # imm = 0x3A8
movq %rcx, -0x18(%rbp)
movq -0x18(%rbp), %rcx
movq %rcx, -0x7f0(%rbp)
movl $0x8, -0x698(%rbp)
movl $0x1, -0x694(%rbp)
movq -0x10(%rbp), %rcx
cvtsi2sdl 0x4c(%rcx), %xmm0
mulsd 0x3200(%rax), %xmm0
callq 0xc0c0
movq -0x7f0(%rbp), %rdi
cvttsd2si %xmm0, %eax
movl %eax, -0x690(%rbp)
movb $0x1, -0x68c(%rbp)
leaq -0x698(%rbp), %rsi
callq 0x1b0640
movq -0x7e0(%rbp), %rax
movq -0x18(%rbp), %rcx
addq $0xc0, %rcx
movq %rcx, -0x7e8(%rbp)
movl $0x0, -0x6a8(%rbp)
movl $0x1, -0x6a4(%rbp)
movq -0x10(%rbp), %rcx
cvtsi2sdl 0x4c(%rcx), %xmm0
mulsd 0x3200(%rax), %xmm0
callq 0xc0c0
movq -0x7e8(%rbp), %rdi
cvttsd2si %xmm0, %eax
movl %eax, -0x6a0(%rbp)
movb $0x1, -0x69c(%rbp)
leaq -0x6a8(%rbp), %rsi
callq 0x1b0640
movq -0x18(%rbp), %rdi
addq $0xa8, %rdi
movl $0x0, -0x6b8(%rbp)
movl $0x1, -0x6b4(%rbp)
movq -0x10(%rbp), %rax
movl 0x54(%rax), %eax
movl %eax, -0x6b0(%rbp)
movb $0x0, -0x6ac(%rbp)
leaq -0x6b8(%rbp), %rsi
callq 0x1b0640
movq -0x18(%rbp), %rdi
addq $0xc0, %rdi
movl $0x0, -0x6c8(%rbp)
movl $0x1, -0x6c4(%rbp)
movq -0x10(%rbp), %rax
movl 0x58(%rax), %eax
movl %eax, -0x6c0(%rbp)
movb $0x0, -0x6bc(%rbp)
leaq -0x6c8(%rbp), %rsi
callq 0x1b0640
movq -0x18(%rbp), %rdi
movl $0x3, -0x6d8(%rbp)
movl $0x1, -0x6d4(%rbp)
movq -0x10(%rbp), %rax
movl 0x28(%rax), %eax
movl %eax, -0x6d0(%rbp)
movb $0x0, -0x6cc(%rbp)
leaq -0x6d8(%rbp), %rsi
callq 0x1b0640
movq -0x18(%rbp), %rdi
movl $0x5, -0x6e8(%rbp)
movl $0x1, -0x6e4(%rbp)
movq -0x10(%rbp), %rax
movl 0x28(%rax), %eax
movl %eax, -0x6e0(%rbp)
movb $0x0, -0x6dc(%rbp)
leaq -0x6e8(%rbp), %rsi
callq 0x1b0640
movq -0x18(%rbp), %rdi
movl $0x4, -0x6f8(%rbp)
movl $0x1, -0x6f4(%rbp)
movq -0x10(%rbp), %rax
movl 0x28(%rax), %eax
movl %eax, -0x6f0(%rbp)
movb $0x0, -0x6ec(%rbp)
leaq -0x6f8(%rbp), %rsi
callq 0x1b0640
movq -0x18(%rbp), %rdi
movl $0x6, -0x708(%rbp)
movl $0x1, -0x704(%rbp)
movq -0x10(%rbp), %rax
movl 0x28(%rax), %eax
movl %eax, -0x700(%rbp)
movb $0x0, -0x6fc(%rbp)
leaq -0x708(%rbp), %rsi
callq 0x1b0640
movq -0x18(%rbp), %rdi
addq $0x48, %rdi
movl $0x1, -0x718(%rbp)
movl $0x1, -0x714(%rbp)
movq -0x10(%rbp), %rax
movl 0x40(%rax), %eax
movl %eax, -0x710(%rbp)
movb $0x0, -0x70c(%rbp)
leaq -0x718(%rbp), %rsi
callq 0x1b0640
movq -0x18(%rbp), %rdi
addq $0x60, %rdi
movl $0x1, -0x728(%rbp)
movl $0x1, -0x724(%rbp)
movq -0x10(%rbp), %rax
movl 0x34(%rax), %eax
movq -0x10(%rbp), %rcx
addl 0x18(%rcx), %eax
movq -0x10(%rbp), %rcx
addl 0x48(%rcx), %eax
movl %eax, -0x720(%rbp)
movb $0x0, -0x71c(%rbp)
leaq -0x728(%rbp), %rsi
callq 0x1b0640
movq -0x18(%rbp), %rdi
addq $0x78, %rdi
movl $0x0, -0x738(%rbp)
movl $0x1, -0x734(%rbp)
movq -0x10(%rbp), %rax
movl 0x40(%rax), %eax
movq -0x10(%rbp), %rcx
addl 0x2c(%rcx), %eax
movl %eax, -0x730(%rbp)
movb $0x0, -0x72c(%rbp)
leaq -0x738(%rbp), %rsi
callq 0x1b0640
movq -0x18(%rbp), %rdi
addq $0x90, %rdi
movl $0x0, -0x748(%rbp)
movl $0x1, -0x744(%rbp)
movq -0x10(%rbp), %rax
movl 0x34(%rax), %eax
movq -0x10(%rbp), %rcx
addl 0x18(%rcx), %eax
movq -0x10(%rbp), %rcx
addl 0x48(%rcx), %eax
movq -0x10(%rbp), %rcx
addl 0x2c(%rcx), %eax
movl %eax, -0x740(%rbp)
movb $0x0, -0x73c(%rbp)
leaq -0x748(%rbp), %rsi
callq 0x1b0640
movq -0x18(%rbp), %rdi
movl $0x0, -0x758(%rbp)
movl $0x1, -0x754(%rbp)
movq -0x10(%rbp), %rax
movl 0x3c(%rax), %eax
movl %eax, -0x750(%rbp)
movb $0x0, -0x74c(%rbp)
leaq -0x758(%rbp), %rsi
callq 0x1b0640
movq -0x18(%rbp), %rdi
movl $0x1, -0x768(%rbp)
movl $0x1, -0x764(%rbp)
movq -0x10(%rbp), %rax
movl 0x38(%rax), %eax
movl %eax, -0x760(%rbp)
movb $0x0, -0x75c(%rbp)
leaq -0x768(%rbp), %rsi
callq 0x1b0640
movq -0x18(%rbp), %rdi
addq $0x18, %rdi
movl $0x0, -0x778(%rbp)
movl $0x1, -0x774(%rbp)
movq -0x10(%rbp), %rax
movl 0x2c(%rax), %eax
movl %eax, -0x770(%rbp)
movb $0x0, -0x76c(%rbp)
leaq -0x778(%rbp), %rsi
callq 0x1b0640
movq -0x18(%rbp), %rdi
addq $0x18, %rdi
movl $0x8, -0x788(%rbp)
movl $0x1, -0x784(%rbp)
movq -0x10(%rbp), %rax
movl 0x2c(%rax), %eax
movl %eax, -0x780(%rbp)
movb $0x0, -0x77c(%rbp)
leaq -0x788(%rbp), %rsi
callq 0x1b0640
movq -0x18(%rbp), %rdi
addq $0x18, %rdi
movl $0x7, -0x798(%rbp)
movl $0x1, -0x794(%rbp)
movq -0x10(%rbp), %rax
movl 0x2c(%rax), %eax
movl %eax, -0x790(%rbp)
movb $0x0, -0x78c(%rbp)
leaq -0x798(%rbp), %rsi
callq 0x1b0640
movq -0x18(%rbp), %rdi
movl $0x0, -0x7a8(%rbp)
movl $0x1, -0x7a4(%rbp)
movq -0x10(%rbp), %rax
movl 0x3c(%rax), %eax
movl %eax, -0x7a0(%rbp)
movb $0x1, -0x79c(%rbp)
leaq -0x7a8(%rbp), %rsi
callq 0x1b0640
movq -0x18(%rbp), %rdi
addq $0x18, %rdi
movl $0x0, -0x7b8(%rbp)
movl $0x1, -0x7b4(%rbp)
movq -0x10(%rbp), %rax
movl 0x2c(%rax), %eax
movl %eax, -0x7b0(%rbp)
movb $0x1, -0x7ac(%rbp)
leaq -0x7b8(%rbp), %rsi
callq 0x1b0640
movq -0x18(%rbp), %rdi
addq $0x78, %rdi
movl $0x0, -0x7c8(%rbp)
movl $0x1, -0x7c4(%rbp)
movq -0x10(%rbp), %rax
movl 0x40(%rax), %eax
movq -0x10(%rbp), %rcx
addl 0x2c(%rcx), %eax
movl %eax, -0x7c0(%rbp)
movb $0x1, -0x7bc(%rbp)
leaq -0x7c8(%rbp), %rsi
callq 0x1b0640
movq -0x18(%rbp), %rdi
addq $0x90, %rdi
movl $0x0, -0x7d8(%rbp)
movl $0x1, -0x7d4(%rbp)
movq -0x10(%rbp), %rax
movl 0x34(%rax), %eax
movq -0x10(%rbp), %rcx
addl 0x18(%rcx), %eax
movq -0x10(%rbp), %rcx
addl 0x48(%rcx), %eax
movq -0x10(%rbp), %rcx
addl 0x2c(%rcx), %eax
movl %eax, -0x7d0(%rbp)
movb $0x1, -0x7cc(%rbp)
leaq -0x7d8(%rbp), %rsi
callq 0x1b0640
addq $0x7f0, %rsp            # imm = 0x7F0
popq %rbp
retq
nopl (%rax,%rax)