// File: /workspace/github_cpp_makefile_star2_O1/tanakh[P]icfpc2015/main.cpp
// Function: main
int main(int argc, char *argv[])
{
  ppw.insert("ei!");
  ppw.insert("r'lyeh");
  ppw.insert("ia! ia!");
  ppw.insert("yuggoth");
  ppw.insert("planet 10");
  ppw.insert("tsathoggua");
  ppw.insert("yogSothoth");
  ppw.insert("john bigboote");
  ppw.insert("cthulhu fhtagn!");
  ppw.insert("Ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn.");

  // srand(time(NULL));
  init_genrand(time(NULL));

  string tag;
  vector<string> files;
  int tle = -1;
  int mle = -1;
  int core = 1;

  bool anneal = false;
  double init_temp;
  double temp_decay;
  int turns;

  bool gene = false;

  bool rep = false;
  int rep_id;
  int rep_seed;
  string rep_cmds;
  string rep_file;

  bool beam = false;
  int beam_width = 1;

  vector<double> def_param {4.17089, 1.37104, 1.36987, 1.4519, 0.139807, 3.30003, 1.5467, 1.16281, 0.395305, 1.95616 };

  anneal = true;
  beam_width = 1;
  init_temp = 250;
  temp_decay = 0.992;
  turns = 250;

  for (int i = 1; i < argc; ) {
    string arg = argv[i];

    if (arg == "-f") {
      files.push_back(argv[i+1]);
      i += 2;
    }
    else if (arg == "-t") {
      tle = atoi(argv[i+1]);
      i += 2;
    }
    else if (arg == "-m") {
      mle = atoi(argv[i+1]);
      i += 2;
    }
    else if (arg == "-c") {
      core = atoi(argv[i+1]);
      i += 2;
    }
    else if (arg == "-p") {
      string w = argv[i+1];
      for (auto &c: w) c = tolower(c);
      ppw.insert(w);
      i += 2;
    }

    else if (arg == "-g") {
      tag = argv[i+1];
      i += 2;
    }
    else if (arg == "-v") {
      verbose = true;
      i++;
    }
    else if (arg == "-a") {
      anneal = true;

      istringstream iss(argv[i+1]);
      char dmy;
      iss >> init_temp >> dmy >> temp_decay >> dmy >> turns;

      i += 2;
    }
    else if (arg == "-ga") {
      gene = true;
      i++;
    }
    else if (arg == "-b") {
      beam = true;
      beam_width = atoi(argv[i+1]);
      i += 2;
    }
    else if (arg == "-r") {
      rep = true;

      istringstream iss(argv[i+1]);
      char dmy;
      iss >> rep_id >> dmy >> rep_seed >> dmy;
      getline(iss, rep_cmds);

      i+=2;
    }
    else if (arg == "-rr") {
      rep = true;

      istringstream iss(argv[i+1]);
      char dmy;
      iss >> rep_id >> dmy >> rep_seed >> dmy;
      getline(iss, rep_file);

      i+=2;
    }
  }

  if (rep) {
    ostringstream fn;
    fn << "problems/problem_" << rep_id << ".json";

    if (rep_file != "") {
      ifstream ifs(rep_file.c_str());
      value v;
      parse(v, ifs);
      string sol = v.get<picojson::array>()[0].get<object>()["solution"].get<string>();

      replay(read_problem(fn.str()), rep_seed, sol);
    }
    else {
      replay(read_problem(fn.str()), rep_seed, rep_cmds);
    }
    return 0;
  }

  vector<problem> problems;
  for (auto &file: files)
    problems.push_back(read_problem(file));

  int total_problems = 0;
  for (auto &p: problems)
    total_problems += p.source_seeds.size();

  picojson::array v;
  vector<vector<int>> scores;
  for (auto &p: problems) {
    vector<int> ss;
    cerr << "\n" << "problem: " << p.id << ": " << p.width << "x" << p.height << endl;

    int ttt = 0;
    for (auto &seed: p.source_seeds) {
      cerr << "\n" << p.id << " [" << ++ttt << "/" << p.source_seeds.size() << "]" << endl;

      auto sol =
        anneal ? annealing(p, seed, tle, mle, tag, init_temp, temp_decay, turns, beam_width):
        gene ? ga(p, seed, tle, mle, tag):
        beam ? beam_search(p, seed, tle, mle, def_param, beam_width):
        solve(p, seed, tle, mle, def_param, true);

      if (!anneal) replay(p, seed, sol.first);

      output_solution(p.id, seed, sol.second, sol.first, tag);

      cerr << "score: " << sol.second << endl;

      object o;
      o["problemId"] = value((int64_t)p.id);
      o["seed"] = value((int64_t)seed);
      if (tag != "")
        o["tag"] = value(tag);
      o["solution"] = value(sol.first);
      v.push_back(value(o));
      ss.push_back(sol.second);
    }
    scores.push_back(ss);
  }
  cout << value(v) << endl;

  double gtot = 0;

  cerr << "summary: " << endl;
  vector<pair<int,double>> vv;
  for (int i=0;i<(int)problems.size();i++) {
    double avg = 0;
    for (auto &p: scores[i]) avg += p;
    avg /= scores[i].size();
    vv.emplace_back(problems[i].id, avg);

    double avg_size = 0;
    for (auto &p: problems[i].units)
      avg_size += p.members.size();
    avg_size /= problems[i].units.size();
    double blks = problems[i].source_length * avg_size;
    double exp_line = blks / problems[i].width;
    gtot += avg / exp_line;
  }

  sort(vv.begin(), vv.end());

  for (auto &i: vv)
    cerr << i.first << ": " << i.second << endl;

  cerr << "grand total: " << gtot / problems.size() << endl;

  return 0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x568, %rsp            # imm = 0x568
movq %rsi, %r12
movl %edi, 0x10(%rsp)
leaq 0x1c0(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0xbcfa(%rip), %rsi      # 0x1560c
leaq 0xbcf6(%rip), %rdx      # 0x1560f
leaq 0x1b0(%rsp), %rdi
callq 0xf8e6
leaq 0x14d33(%rip), %rdi     # 0x1e660
leaq 0x1b0(%rsp), %rsi
callq 0x12cf0
movq 0x1b0(%rsp), %rdi
cmpq %r14, %rdi
je 0x994c
callq 0x32f0
leaq 0x1b0(%rsp), %rdi
movq %r14, (%rdi)
leaq 0xbcb2(%rip), %rsi      # 0x15610
leaq 0xbcb1(%rip), %rdx      # 0x15616
callq 0xf8e6
leaq 0x14cef(%rip), %rdi     # 0x1e660
leaq 0x1b0(%rsp), %rsi
callq 0x12cf0
movq 0x1b0(%rsp), %rdi
cmpq %r14, %rdi
je 0x9990
callq 0x32f0
leaq 0x1b0(%rsp), %rdi
movq %r14, (%rdi)
leaq 0xbc75(%rip), %rsi      # 0x15617
leaq 0xbc75(%rip), %rdx      # 0x1561e
callq 0xf8e6
leaq 0x14cab(%rip), %rdi     # 0x1e660
leaq 0x1b0(%rsp), %rsi
callq 0x12cf0
movq 0x1b0(%rsp), %rdi
cmpq %r14, %rdi
je 0x99d4
callq 0x32f0
leaq 0x1b0(%rsp), %rdi
movq %r14, (%rdi)
leaq 0xbc39(%rip), %rsi      # 0x1561f
leaq 0xbc39(%rip), %rdx      # 0x15626
callq 0xf8e6
leaq 0x14c67(%rip), %rdi     # 0x1e660
leaq 0x1b0(%rsp), %rsi
callq 0x12cf0
movq 0x1b0(%rsp), %rdi
cmpq %r14, %rdi
je 0x9a18
callq 0x32f0
leaq 0x1b0(%rsp), %rdi
movq %r14, (%rdi)
leaq 0xbbfd(%rip), %rsi      # 0x15627
leaq 0xbbff(%rip), %rdx      # 0x15630
callq 0xf8e6
leaq 0x14c23(%rip), %rdi     # 0x1e660
leaq 0x1b0(%rsp), %rsi
callq 0x12cf0
movq 0x1b0(%rsp), %rdi
cmpq %r14, %rdi
je 0x9a5c
callq 0x32f0
leaq 0x1b0(%rsp), %rdi
movq %r14, (%rdi)
leaq 0xbbc3(%rip), %rsi      # 0x15631
leaq 0xbbc6(%rip), %rdx      # 0x1563b
callq 0xf8e6
leaq 0x14bdf(%rip), %rdi     # 0x1e660
leaq 0x1b0(%rsp), %rsi
callq 0x12cf0
movq 0x1b0(%rsp), %rdi
cmpq %r14, %rdi
je 0x9aa0
callq 0x32f0
leaq 0x1b0(%rsp), %rdi
movq %r14, (%rdi)
leaq 0xbb8a(%rip), %rsi      # 0x1563c
leaq 0xbb8d(%rip), %rdx      # 0x15646
callq 0xf8e6
leaq 0x14b9b(%rip), %rdi     # 0x1e660
leaq 0x1b0(%rsp), %rsi
callq 0x12cf0
movq 0x1b0(%rsp), %rdi
cmpq %r14, %rdi
je 0x9ae4
callq 0x32f0
leaq 0x1b0(%rsp), %rdi
movq %r14, (%rdi)
leaq 0xbb51(%rip), %rsi      # 0x15647
leaq 0xbb57(%rip), %rdx      # 0x15654
callq 0xf8e6
leaq 0x14b57(%rip), %rdi     # 0x1e660
leaq 0x1b0(%rsp), %rsi
callq 0x12cf0
movq 0x1b0(%rsp), %rdi
cmpq %r14, %rdi
je 0x9b28
callq 0x32f0
leaq 0x1b0(%rsp), %rdi
movq %r14, (%rdi)
leaq 0xbb1b(%rip), %rsi      # 0x15655
leaq 0xbb23(%rip), %rdx      # 0x15664
callq 0xf8e6
leaq 0x14b13(%rip), %rdi     # 0x1e660
leaq 0x1b0(%rsp), %rsi
callq 0x12cf0
movq 0x1b0(%rsp), %rdi
cmpq %r14, %rdi
je 0x9b6c
callq 0x32f0
leaq 0x1b0(%rsp), %rdi
movq %r14, (%rdi)
leaq 0xbae7(%rip), %rsi      # 0x15665
leaq 0xbb13(%rip), %rdx      # 0x15698
callq 0xf8e6
leaq 0x14acf(%rip), %rdi     # 0x1e660
leaq 0x1b0(%rsp), %rsi
callq 0x12cf0
movq 0x1b0(%rsp), %rdi
cmpq %r14, %rdi
je 0x9bb0
callq 0x32f0
xorl %edi, %edi
callq 0x32e0
movl %eax, %eax
movq %rax, 0x13720(%rip)     # 0x1d2e0
movl $0x1, %ecx
leaq 0x13714(%rip), %rdx     # 0x1d2e0
movq %rax, %rsi
shrq $0x1e, %rsi
xorl %eax, %esi
imull $0x6c078965, %esi, %eax # imm = 0x6C078965
addl %ecx, %eax
movq %rax, (%rdx,%rcx,8)
incq %rcx
cmpq $0x270, %rcx            # imm = 0x270
jne 0x9bcc
movl $0x270, 0x136b1(%rip)   # imm = 0x270
leaq 0x120(%rsp), %rcx
movq %rcx, -0x10(%rcx)
xorl %eax, %eax
movq %rax, -0x8(%rcx)
movb %al, (%rcx)
movq %rax, 0x160(%rsp)
xorpd %xmm0, %xmm0
movapd %xmm0, 0x150(%rsp)
leaq 0x1a0(%rsp), %rcx
movq %rcx, -0x10(%rcx)
movq %rax, -0x8(%rcx)
movb %al, (%rcx)
leaq 0x180(%rsp), %rcx
movq %rcx, -0x10(%rcx)
movq %rax, -0x8(%rcx)
movb %al, (%rcx)
leaq 0xb655(%rip), %rsi      # 0x152a0
leaq 0x1b0(%rsp), %rax
movl $0xa, %ecx
movq %rax, %rdi
rep  movsq (%rsi), %es:(%rdi)
leaq 0x3b8(%rsp), %rdi
leaq 0x3d0(%rsp), %rcx
movl $0xa, %edx
movq %rax, %rsi
callq 0xc6d0
movabsq $0x406f400000000000, %rax # imm = 0x406F400000000000
movq %rax, 0x108(%rsp)
movabsq $0x3fefbe76c8b43958, %rax # imm = 0x3FEFBE76C8B43958
movq %rax, 0x100(%rsp)
movl $0xfa, 0x2c(%rsp)
cmpl $0x2, 0x10(%rsp)
jl 0xa116
movl $0x1, %eax
movq %rax, 0xd8(%rsp)
movq $0x0, 0x20(%rsp)
leaq 0x3d0(%rsp), %rbx
leaq 0x1b0(%rsp), %rdx
movl $0x1, %ebp
movq %r12, 0x58(%rsp)
movslq %ebp, %r15
movq (%r12,%r15,8), %rsi
movq %rbx, %rdi
movq %rdx, %r13
callq 0x3110
movq %rbx, %rdi
leaq 0xb99b(%rip), %rsi      # 0x15699
callq 0x30c0
testl %eax, %eax
je 0x9e8b
movq %rbx, %rdi
leaq 0xb987(%rip), %rsi      # 0x1569c
callq 0x30c0
testl %eax, %eax
je 0x9ec2
movq %rbx, %rdi
leaq 0xb973(%rip), %rsi      # 0x1569f
callq 0x30c0
testl %eax, %eax
je 0x9ec2
movq %rbx, %rdi
leaq 0xb95f(%rip), %rsi      # 0x156a2
callq 0x30c0
testl %eax, %eax
je 0x9ec2
movq %rbx, %rdi
leaq 0xb94b(%rip), %rsi      # 0x156a5
callq 0x30c0
testl %eax, %eax
je 0x9ef9
movq %rbx, %rdi
leaq 0xb937(%rip), %rsi      # 0x156a8
callq 0x30c0
testl %eax, %eax
je 0x9f69
movq %rbx, %rdi
leaq 0xb923(%rip), %rsi      # 0x156ab
callq 0x30c0
testl %eax, %eax
je 0x9fa3
movq %rbx, %rdi
leaq 0xb90f(%rip), %rsi      # 0x156ae
callq 0x30c0
testl %eax, %eax
je 0x9fb1
movq %rbx, %rdi
leaq 0xb8fb(%rip), %rsi      # 0x156b1
callq 0x30c0
testl %eax, %eax
je 0x9faa
movq %rbx, %rdi
leaq 0xb8e8(%rip), %rsi      # 0x156b5
callq 0x30c0
testl %eax, %eax
je 0xa056
movq %rbx, %rdi
leaq 0xb8d4(%rip), %rsi      # 0x156b8
callq 0x30c0
testl %eax, %eax
je 0xa06d
movq %rbx, %rdi
leaq 0xb8c0(%rip), %rsi      # 0x156bb
callq 0x30c0
testl %eax, %eax
jne 0x9ec5
movq 0x8(%r12,%r15,8), %rsi
leaq 0x78(%rsp), %rbx
movq %rbx, %rdi
leaq 0x30(%rsp), %rdx
callq 0x3110
movq %r13, %rdi
movq %rbx, %rsi
movl $0x8, %edx
callq 0x3480
movq 0x78(%rsp), %rdi
leaq 0x88(%rsp), %rax
cmpq %rax, %rdi
je 0x9e46
callq 0x32f0
movq %r13, %rdi
leaq 0x28(%rsp), %rsi
callq 0x31a0
movq %rax, %rdi
movq %rbx, %rsi
callq 0x3380
movq %rax, %rdi
leaq 0x1c(%rsp), %rsi
callq 0x31a0
movq %rax, %rdi
movq %rbx, %rsi
callq 0x3380
movq %r13, %rdi
leaq 0x170(%rsp), %rsi
callq 0x3080
jmp 0xa0eb
movq 0x8(%r12,%r15,8), %rsi
movq %r13, %r15
movq %r13, %rdi
leaq 0x78(%rsp), %rdx
callq 0x3110
leaq 0x150(%rsp), %rdi
movq %r15, %rsi
callq 0x12f0c
movq 0x1b0(%rsp), %rdi
cmpq %r14, %rdi
je 0x9ec2
callq 0x32f0
addl $0x2, %ebp
movq 0x3d0(%rsp), %rdi
leaq 0x3e0(%rsp), %rax
cmpq %rax, %rdi
je 0x9edf
callq 0x32f0
cmpl 0x10(%rsp), %ebp
movq %r13, %rdx
leaq 0x3d0(%rsp), %rbx
jl 0x9ce2
jmp 0xa127
movq %r14, %rbx
movq 0x8(%r12,%r15,8), %rsi
movq %r13, %rdi
leaq 0x78(%rsp), %rdx
callq 0x3110
movq 0x1b8(%rsp), %r15
testq %r15, %r15
je 0x9f3c
movq 0x1b0(%rsp), %r12
xorl %r14d, %r14d
movsbl (%r12,%r14), %edi
callq 0x33d0
movb %al, (%r12,%r14)
incq %r14
cmpq %r14, %r15
jne 0x9f26
leaq 0x1471d(%rip), %rdi     # 0x1e660
movq %r13, %rsi
callq 0x1310e
movq 0x1b0(%rsp), %rdi
movq %rbx, %r14
cmpq %rbx, %rdi
movq 0x58(%rsp), %r12
je 0x9ec2
jmp 0x9ebd
movq 0x8(%r12,%r15,8), %r12
movq 0x118(%rsp), %r15
movq %r12, %rdi
callq 0x3130
leaq 0x110(%rsp), %rdi
xorl %esi, %esi
movq %r15, %rdx
movq %r12, %rcx
movq %rax, %r8
callq 0x3410
addl $0x2, %ebp
movq 0x58(%rsp), %r12
jmp 0x9ec5
movb $0x1, 0x146e6(%rip)     # 0x1e690
incl %ebp
jmp 0x9ec5
movq 0x8(%r12,%r15,8), %rsi
leaq 0x78(%rsp), %rbx
movq %rbx, %rdi
leaq 0x30(%rsp), %rdx
callq 0x3110
movq %r13, %rdi
movq %rbx, %rsi
movl $0x8, %edx
callq 0x3480
movq 0x78(%rsp), %rdi
leaq 0x88(%rsp), %rax
cmpq %rax, %rdi
je 0x9fef
callq 0x32f0
movq %r13, %rdi
leaq 0x108(%rsp), %rsi
callq 0x31e0
movq %rax, %rdi
movq %rbx, %rsi
callq 0x3380
movq %rax, %rdi
leaq 0x100(%rsp), %rsi
callq 0x31e0
movq %rax, %rdi
movq %rbx, %rsi
callq 0x3380
movq %rax, %rdi
leaq 0x2c(%rsp), %rsi
callq 0x31a0
addl $0x2, %ebp
movq %r13, %rdi
movq 0x12f71(%rip), %rsi     # 0x1cfb0
callq 0x33c0
leaq 0x228(%rsp), %rdi
callq 0x30e0
jmp 0x9ec5
movq 0x8(%r12,%r15,8), %rdi
callq 0x3420
movq %rax, 0xd8(%rsp)
jmp 0x9ec2
movq 0x8(%r12,%r15,8), %rsi
leaq 0x78(%rsp), %rbx
movq %rbx, %rdi
leaq 0x30(%rsp), %rdx
callq 0x3110
movq %r13, %rdi
movq %rbx, %rsi
movl $0x8, %edx
callq 0x3480
movq 0x78(%rsp), %rdi
leaq 0x88(%rsp), %rax
cmpq %rax, %rdi
je 0xa0ab
callq 0x32f0
movq %r13, %rdi
leaq 0x28(%rsp), %rsi
callq 0x31a0
movq %rax, %rdi
movq %rbx, %rsi
callq 0x3380
movq %rax, %rdi
leaq 0x1c(%rsp), %rsi
callq 0x31a0
movq %rax, %rdi
movq %rbx, %rsi
callq 0x3380
movq %r13, %rdi
leaq 0x190(%rsp), %rsi
callq 0x3080
addl $0x2, %ebp
movq %r13, %rdi
movq 0x12eb8(%rip), %rsi     # 0x1cfb0
callq 0x33c0
leaq 0x228(%rsp), %rdi
callq 0x30e0
movb $0x1, %al
movq %rax, 0x20(%rsp)
jmp 0x9ec5
movl $0x1, %eax
movq %rax, 0xd8(%rsp)
xorl %eax, %eax
jmp 0xa12c
movq 0x20(%rsp), %rax
testb $0x1, %al
je 0xa34c
leaq 0x3d0(%rsp), %rdi
callq 0x3390
leaq 0xb577(%rip), %rsi      # 0x156bf
leaq 0x3d0(%rsp), %rdi
movl $0x11, %edx
callq 0x3350
movl 0x28(%rsp), %esi
leaq 0x3d0(%rsp), %rdi
callq 0x34a0
leaq 0xb395(%rip), %rsi      # 0x15507
movl $0x5, %edx
movq %rax, %rdi
callq 0x3350
leaq 0xb54c(%rip), %rsi      # 0x156d2
leaq 0x170(%rsp), %rdi
callq 0x30c0
testl %eax, %eax
je 0xabf3
movq 0x170(%rsp), %rsi
leaq 0x1b0(%rsp), %rdi
movl $0x8, %edx
callq 0x3500
leaq 0x60(%rsp), %rsi
movl $0x0, (%rsi)
leaq 0x548(%rsp), %rdi
leaq 0x1b0(%rsp), %rdx
callq 0xb941
leaq 0x558(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xa1eb
callq 0x32f0
cmpl $0x4, 0x60(%rsp)
jne 0xb165
movq 0x68(%rsp), %rax
movq (%rax), %rax
cmpl $0x5, (%rax)
jne 0xb183
movq 0x8(%rax), %rbx
leaq 0x88(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0xb302(%rip), %rsi      # 0x15520
leaq 0xb303(%rip), %rdx      # 0x15528
leaq 0x78(%rsp), %rdi
callq 0xf8e6
leaq 0x78(%rsp), %rsi
movq %rbx, %rdi
callq 0xb898
cmpl $0x3, (%rax)
jne 0xb1b5
movq 0x8(%rax), %rax
leaq 0x40(%rsp), %r14
movq %r14, -0x10(%r14)
movq (%rax), %rsi
movq 0x8(%rax), %rdx
addq %rsi, %rdx
leaq 0x30(%rsp), %rdi
callq 0xeda4
movq 0x78(%rsp), %rdi
cmpq %r15, %rdi
je 0xa275
callq 0x32f0
leaq 0x3d8(%rsp), %rsi
leaq 0x130(%rsp), %rdi
callq 0x3430
leaq 0x78(%rsp), %rdi
leaq 0x130(%rsp), %rsi
callq 0x4aac
movl 0x1c(%rsp), %esi
leaq 0x78(%rsp), %rdi
leaq 0x30(%rsp), %rdx
callq 0x9057
movq 0xc0(%rsp), %rdi
testq %rdi, %rdi
je 0xa2c1
callq 0x32f0
movq 0xa0(%rsp), %rdi
testq %rdi, %rdi
je 0xa2d3
callq 0x32f0
leaq 0x80(%rsp), %rdi
callq 0xcec4
leaq 0x140(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xa2f6
callq 0x32f0
movq 0x30(%rsp), %rdi
cmpq %r14, %rdi
je 0xa305
callq 0x32f0
movl 0x60(%rsp), %eax
cmpl $0x5, %eax
je 0xb09c
cmpl $0x4, %eax
je 0xb088
cmpl $0x3, %eax
jne 0xb0b6
movq 0x68(%rsp), %rbx
testq %rbx, %rbx
je 0xb0b6
movq (%rbx), %rdi
leaq 0x10(%rbx), %rax
cmpq %rax, %rdi
je 0xb0ae
callq 0x32f0
jmp 0xb0ae
xorpd %xmm0, %xmm0
movapd %xmm0, 0x30(%rsp)
movq $0x0, 0x40(%rsp)
movq 0x150(%rsp), %rbx
movq 0x158(%rsp), %r13
cmpq %r13, %rbx
je 0xa3d4
leaq 0x1b8(%rsp), %r14
leaq 0x1b0(%rsp), %r15
leaq 0x30(%rsp), %r12
movq %r15, %rdi
movq %rbx, %rsi
callq 0x4aac
movq %r12, %rdi
movq %r15, %rsi
callq 0x13266
movq 0x1f8(%rsp), %rdi
testq %rdi, %rdi
je 0xa3b1
callq 0x32f0
movq 0x1d8(%rsp), %rdi
testq %rdi, %rdi
je 0xa3c3
callq 0x32f0
movq %r14, %rdi
callq 0xcec4
addq $0x20, %rbx
cmpq %r13, %rbx
jne 0xa389
movq 0x30(%rsp), %r14
movq 0x38(%rsp), %rcx
xorl %eax, %eax
movq %rax, 0x140(%rsp)
xorpd %xmm0, %xmm0
movapd %xmm0, 0x130(%rsp)
movq %rax, 0x70(%rsp)
movapd %xmm0, 0x60(%rsp)
movq %rcx, 0x20(%rsp)
cmpq %rcx, %r14
je 0xab23
leaq 0x88(%rsp), %r12
xorpd %xmm0, %xmm0
movapd %xmm0, 0xe0(%rsp)
movq $0x0, 0xf0(%rsp)
movl $0x1, %edx
movq 0x12bad(%rip), %rdi     # 0x1cfe8
leaq 0xb28f(%rip), %rsi      # 0x156d1
callq 0x3350
movl $0x9, %edx
movq 0x12b95(%rip), %rdi     # 0x1cfe8
leaq 0xb279(%rip), %rsi      # 0x156d3
callq 0x3350
movl (%r14), %esi
movq 0x12b7f(%rip), %rdi     # 0x1cfe8
callq 0x34a0
movq %rax, %r15
movl $0x2, %edx
movq %rax, %rdi
leaq 0xb100(%rip), %rsi      # 0x15580
callq 0x3350
movl 0x20(%r14), %esi
movq %r15, %rdi
callq 0x34a0
movq %rax, %r15
movl $0x1, %edx
movq %rax, %rdi
leaq 0xb363(%rip), %rsi      # 0x15806
callq 0x3350
movl 0x24(%r14), %esi
movq %r15, %rdi
callq 0x34a0
movq %rax, %r15
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x3300
movsbl %al, %esi
movq %r15, %rdi
callq 0x3030
movq %rax, %rdi
callq 0x3200
movq 0x48(%r14), %r15
movq 0x50(%r14), %rax
movq %rax, 0x58(%rsp)
cmpq %rax, %r15
je 0xaaf0
movl $0x1, %ebx
movl $0x1, %edx
movq 0x12ae3(%rip), %rdi     # 0x1cfe8
leaq 0xb1c5(%rip), %rsi      # 0x156d1
callq 0x3350
movl (%r14), %esi
movq 0x12acd(%rip), %rdi     # 0x1cfe8
callq 0x34a0
movq %rax, %rbp
movl $0x2, %edx
movq %rax, %rdi
leaq 0xae1a(%rip), %rsi      # 0x1534c
callq 0x3350
movq %rbp, %rdi
movl %ebx, %esi
callq 0x34a0
movq %rax, %rbp
movl $0x1, %edx
movq %rax, %rdi
leaq 0xb29d(%rip), %rsi      # 0x157f0
callq 0x3350
movq 0x50(%r14), %rsi
subq 0x48(%r14), %rsi
sarq $0x2, %rsi
movq %rbp, %rdi
callq 0x31f0
movq %rax, %rbp
movl $0x1, %edx
movq %rax, %rdi
leaq 0xafab(%rip), %rsi      # 0x15529
callq 0x3350
movq (%rbp), %rax
movq -0x18(%rax), %rdi
addq %rbp, %rdi
movl $0xa, %esi
callq 0x3300
movsbl %al, %esi
movq %rbp, %rdi
callq 0x3030
movq %rax, %rdi
callq 0x3200
movl %ebx, 0x10(%rsp)
movq %r15, %rbx
movq %r14, %r15
movq %r12, %r13
movl (%rbx), %edx
movsd 0x108(%rsp), %xmm0
movsd 0x100(%rsp), %xmm1
movl 0x2c(%rsp), %eax
leaq 0x3d0(%rsp), %rbp
movq %rbp, %rdi
movq %r14, %rsi
leaq 0x110(%rsp), %r12
movq %r12, %r9
pushq 0xd8(%rsp)
pushq %rax
callq 0x81de
addq $0x10, %rsp
movq %r15, %r14
movl (%r15), %edi
movl (%rbx), %esi
movl 0x3f0(%rsp), %edx
movq %rbp, %rcx
movq %r12, %r8
callq 0x69f2
movq %rbx, %r15
movl $0x7, %edx
movq 0x129c5(%rip), %rdi     # 0x1cfe8
leaq 0xafa5(%rip), %rsi      # 0x155cf
callq 0x3350
movl 0x3f0(%rsp), %esi
movq 0x129ab(%rip), %rdi     # 0x1cfe8
callq 0x34a0
movq %rax, %rbp
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbp, %rdi
movl $0xa, %esi
callq 0x3300
movsbl %al, %esi
movq %rbp, %rdi
callq 0x3030
movq %rax, %rdi
callq 0x3200
movl $0x0, 0x1b8(%rsp)
xorl %ecx, %ecx
movq %rcx, 0x1c0(%rsp)
leaq 0x1b8(%rsp), %rax
movq %rax, 0x1c8(%rsp)
movq %rax, 0x1d0(%rsp)
movq %rcx, 0x1d8(%rsp)
movslq (%r14), %rax
movl $0x6, (%rsp)
movq %rax, 0x8(%rsp)
movq %r13, %r12
movq %r13, 0x78(%rsp)
leaq 0x78(%rsp), %r13
movq %r13, %rdi
leaq 0xae46(%rip), %rsi      # 0x1550d
leaq 0xae48(%rip), %rdx      # 0x15516
callq 0xf8e6
leaq 0x1b0(%rsp), %rbx
movq %rbx, %rdi
movq %r13, %rsi
callq 0xb898
movq %rax, %rdi
movq %rsp, %rsi
callq 0xc1be
movq 0x78(%rsp), %rdi
cmpq %r12, %rdi
je 0xa700
callq 0x32f0
movl (%rsp), %eax
cmpl $0x5, %eax
je 0xa744
cmpl $0x4, %eax
je 0xa730
cmpl $0x3, %eax
jne 0xa75e
movq 0x8(%rsp), %rbp
testq %rbp, %rbp
je 0xa75e
movq (%rbp), %rdi
leaq 0x10(%rbp), %rax
cmpq %rax, %rdi
je 0xa756
callq 0x32f0
jmp 0xa756
movq 0x8(%rsp), %rbp
testq %rbp, %rbp
je 0xa75e
movq %rbp, %rdi
callq 0xc764
jmp 0xa756
movq 0x8(%rsp), %rbp
testq %rbp, %rbp
je 0xa75e
movq %rbp, %rdi
callq 0xceb0
movq %rbp, %rdi
callq 0x32f0
movslq (%r15), %rax
movl $0x6, (%rsp)
movq %rax, 0x8(%rsp)
movq %r12, 0x78(%rsp)
movq %r13, %rdi
leaq 0xad9b(%rip), %rsi      # 0x15517
leaq 0xad98(%rip), %rdx      # 0x1551b
callq 0xf8e6
movq %rbx, %rdi
movq %r13, %rsi
callq 0xb898
movq %rax, %rdi
movq %rsp, %rsi
callq 0xc1be
movq 0x78(%rsp), %rdi
cmpq %r12, %rdi
je 0xa7ad
callq 0x32f0
movl (%rsp), %eax
cmpl $0x5, %eax
je 0xa7f1
cmpl $0x4, %eax
je 0xa7dd
cmpl $0x3, %eax
jne 0xa80b
movq 0x8(%rsp), %rbp
testq %rbp, %rbp
je 0xa80b
movq (%rbp), %rdi
leaq 0x10(%rbp), %rax
cmpq %rax, %rdi
je 0xa803
callq 0x32f0
jmp 0xa803
movq 0x8(%rsp), %rbp
testq %rbp, %rbp
je 0xa80b
movq %rbp, %rdi
callq 0xc764
jmp 0xa803
movq 0x8(%rsp), %rbp
testq %rbp, %rbp
je 0xa80b
movq %rbp, %rdi
callq 0xceb0
movq %rbp, %rdi
callq 0x32f0
leaq 0x110(%rsp), %rdi
leaq 0xaeb8(%rip), %rsi      # 0x156d2
callq 0x30c0
testl %eax, %eax
je 0xa901
movl $0x3, (%rsp)
movl $0x20, %edi
callq 0x3310
movq %rax, %rbp
addq $0x10, %rax
movq %rax, (%rbp)
movq 0x110(%rsp), %rsi
movq 0x118(%rsp), %rdx
addq %rsi, %rdx
movq %rbp, %rdi
callq 0xeda4
movq %rbp, 0x8(%rsp)
movq %r12, 0x78(%rsp)
movq %r13, %rdi
leaq 0xacaa(%rip), %rsi      # 0x1551c
leaq 0xaca6(%rip), %rdx      # 0x1551f
callq 0xf8e6
movq %rbx, %rdi
movq %r13, %rsi
callq 0xb898
movq %rax, %rdi
movq %rsp, %rsi
callq 0xc1be
movq 0x78(%rsp), %rdi
cmpq %r12, %rdi
je 0xa8a3
callq 0x32f0
movl (%rsp), %eax
cmpl $0x5, %eax
je 0xa8e7
cmpl $0x4, %eax
je 0xa8d3
cmpl $0x3, %eax
jne 0xa901
movq 0x8(%rsp), %rbp
testq %rbp, %rbp
je 0xa901
movq (%rbp), %rdi
leaq 0x10(%rbp), %rax
cmpq %rax, %rdi
je 0xa8f9
callq 0x32f0
jmp 0xa8f9
movq 0x8(%rsp), %rbp
testq %rbp, %rbp
je 0xa901
movq %rbp, %rdi
callq 0xc764
jmp 0xa8f9
movq 0x8(%rsp), %rbp
testq %rbp, %rbp
je 0xa901
movq %rbp, %rdi
callq 0xceb0
movq %rbp, %rdi
callq 0x32f0
movl $0x3, (%rsp)
movl $0x20, %edi
callq 0x3310
movq %rax, %rbp
addq $0x10, %rax
movq %rax, (%rbp)
movq 0x3d0(%rsp), %rsi
movq 0x3d8(%rsp), %rdx
addq %rsi, %rdx
movq %rbp, %rdi
callq 0xeda4
movq %rbp, 0x8(%rsp)
movq %r12, 0x78(%rsp)
movq %r13, %rdi
leaq 0xabd4(%rip), %rsi      # 0x15520
leaq 0xabd5(%rip), %rdx      # 0x15528
callq 0xf8e6
movq %rbx, %rdi
movq %r13, %rsi
callq 0xb898
movq %rax, %rdi
movq %rsp, %rsi
callq 0xc1be
movq 0x78(%rsp), %rdi
cmpq %r12, %rdi
je 0xa97d
callq 0x32f0
movl (%rsp), %eax
cmpl $0x5, %eax
je 0xa9c1
cmpl $0x4, %eax
je 0xa9ad
cmpl $0x3, %eax
jne 0xa9db
movq 0x8(%rsp), %rbp
testq %rbp, %rbp
je 0xa9db
movq (%rbp), %rdi
leaq 0x10(%rbp), %rax
cmpq %rax, %rdi
je 0xa9d3
callq 0x32f0
jmp 0xa9d3
movq 0x8(%rsp), %rbp
testq %rbp, %rbp
je 0xa9db
movq %rbp, %rdi
callq 0xc764
jmp 0xa9d3
movq 0x8(%rsp), %rbp
testq %rbp, %rbp
je 0xa9db
movq %rbp, %rdi
callq 0xceb0
movq %rbp, %rdi
callq 0x32f0
movl $0x5, 0x78(%rsp)
movl $0x30, %edi
callq 0x3310
movq %rax, %rbp
movq %rax, %rdi
movq %rbx, %rsi
callq 0xc96a
movq %rbp, 0x80(%rsp)
leaq 0x130(%rsp), %rdi
movq %r13, %rsi
callq 0x134c8
movl 0x78(%rsp), %eax
cmpl $0x5, %eax
je 0xaa5e
cmpl $0x4, %eax
je 0xaa47
cmpl $0x3, %eax
jne 0xaa7b
movq 0x80(%rsp), %rbp
testq %rbp, %rbp
je 0xaa7b
movq (%rbp), %rdi
leaq 0x10(%rbp), %rax
cmpq %rax, %rdi
je 0xaa73
callq 0x32f0
jmp 0xaa73
movq 0x80(%rsp), %rbp
testq %rbp, %rbp
je 0xaa7b
movq %rbp, %rdi
callq 0xc764
jmp 0xaa73
movq 0x80(%rsp), %rbp
testq %rbp, %rbp
je 0xaa7b
movq %rbp, %rdi
callq 0xceb0
movq %rbp, %rdi
callq 0x32f0
movq 0xe8(%rsp), %rsi
cmpq 0xf0(%rsp), %rsi
je 0xaaa4
movl 0x3f0(%rsp), %eax
movl %eax, (%rsi)
addq $0x4, %rsi
movq %rsi, 0xe8(%rsp)
jmp 0xaab9
leaq 0xe0(%rsp), %rdi
leaq 0x3f0(%rsp), %rdx
callq 0x1098a
movq %rbx, %rdi
callq 0xceb0
movq 0x3d0(%rsp), %rdi
leaq 0x3e0(%rsp), %rax
cmpq %rax, %rdi
je 0xaadb
callq 0x32f0
addq $0x4, %r15
movl 0x10(%rsp), %ebx
incl %ebx
cmpq 0x58(%rsp), %r15
jne 0xa4f9
leaq 0x60(%rsp), %rdi
leaq 0xe0(%rsp), %rsi
callq 0xc70e
movq 0xe0(%rsp), %rdi
testq %rdi, %rdi
je 0xab14
callq 0x32f0
addq $0x60, %r14
cmpq 0x20(%rsp), %r14
jne 0xa416
movl $0x4, 0x3d0(%rsp)
movl $0x18, %edi
callq 0x3310
movq %rax, %r14
leaq 0x130(%rsp), %rsi
movq %rax, %rdi
callq 0xcca4
leaq 0x3d0(%rsp), %rdi
movq %r14, 0x8(%rdi)
movq 0x1246a(%rip), %rbx     # 0x1cfc8
leaq 0x1b0(%rsp), %rsi
movq %rbx, (%rsi)
movq $0x0, 0x8(%rsi)
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0xe286
movq (%rbx), %rax
addq -0x18(%rax), %rbx
movq %rbx, %rdi
movl $0xa, %esi
callq 0x3300
movsbl %al, %esi
movq 0x1242f(%rip), %rdi     # 0x1cfc8
callq 0x3030
movq %rax, %rdi
callq 0x3200
movl 0x3d0(%rsp), %eax
cmpl $0x5, %eax
je 0xac97
cmpl $0x4, %eax
je 0xac80
cmpl $0x3, %eax
jne 0xacb4
movq 0x3d8(%rsp), %rbx
testq %rbx, %rbx
je 0xacb4
movq (%rbx), %rdi
leaq 0x10(%rbx), %rax
cmpq %rax, %rdi
je 0xacac
callq 0x32f0
jmp 0xacac
leaq 0x3d8(%rsp), %rsi
leaq 0x78(%rsp), %rdi
callq 0x3430
leaq 0x1b0(%rsp), %rdi
leaq 0x78(%rsp), %rsi
callq 0x4aac
movl 0x1c(%rsp), %esi
leaq 0x1b0(%rsp), %rdi
leaq 0x190(%rsp), %rdx
callq 0x9057
movq 0x1f8(%rsp), %rdi
testq %rdi, %rdi
je 0xac42
callq 0x32f0
movq 0x1d8(%rsp), %rdi
testq %rdi, %rdi
je 0xac54
callq 0x32f0
leaq 0x1b8(%rsp), %rdi
callq 0xcec4
leaq 0x88(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xb0c3
callq 0x32f0
jmp 0xb0c3
movq 0x3d8(%rsp), %rbx
testq %rbx, %rbx
je 0xacb4
movq %rbx, %rdi
callq 0xc764
jmp 0xacac
movq 0x3d8(%rsp), %rbx
testq %rbx, %rbx
je 0xacb4
movq %rbx, %rdi
callq 0xceb0
movq %rbx, %rdi
callq 0x32f0
movq 0x1232d(%rip), %rbx     # 0x1cfe8
leaq 0xaa1b(%rip), %rsi      # 0x156dd
movl $0x9, %edx
movq %rbx, %rdi
callq 0x3350
movq (%rbx), %rax
addq -0x18(%rax), %rbx
movq %rbx, %rdi
movl $0xa, %esi
callq 0x3300
movsbl %al, %esi
movq 0x122fb(%rip), %rdi     # 0x1cfe8
callq 0x3030
movq %rax, %rdi
callq 0x3200
xorpd %xmm0, %xmm0
movapd %xmm0, 0x1b0(%rsp)
movq $0x0, 0x1c0(%rsp)
movq 0x30(%rsp), %rsi
movq 0x38(%rsp), %rax
subq %rsi, %rax
shrq $0x5, %rax
imull $0xaaaaaaab, %eax, %eax # imm = 0xAAAAAAAB
xorpd %xmm0, %xmm0
testl %eax, %eax
jle 0xaef2
movsd %xmm0, 0x10(%rsp)
xorl %r15d, %r15d
movq 0xa2c9(%rip), %xmm3     # 0x15010
movapd 0xa2d1(%rip), %xmm4     # 0x15020
leaq 0x1b0(%rsp), %rbx
leaq 0x3d0(%rsp), %r14
movabsq $-0x3333333333333333, %r12 # imm = 0xCCCCCCCCCCCCCCCD
movq $0x0, 0x3d0(%rsp)
movq 0x60(%rsp), %rax
leaq (%r15,%r15,2), %r13
movq (%rax,%r13,8), %rcx
movq 0x8(%rax,%r13,8), %rax
cmpq %rax, %rcx
je 0xadb5
movsd 0x3d0(%rsp), %xmm0
movq %rcx, %rdx
xorps %xmm1, %xmm1
cvtsi2sdl (%rdx), %xmm1
addsd %xmm1, %xmm0
addq $0x4, %rdx
cmpq %rax, %rdx
jne 0xad98
movsd %xmm0, 0x3d0(%rsp)
subq %rcx, %rax
sarq $0x2, %rax
movq %rax, %xmm0
punpckldq %xmm3, %xmm0    # xmm0 = xmm0[0],xmm3[0],xmm0[1],xmm3[1]
subpd %xmm4, %xmm0
movapd %xmm0, %xmm1
unpckhpd %xmm0, %xmm1            # xmm1 = xmm1[1],xmm0[1]
addsd %xmm0, %xmm1
movsd 0x3d0(%rsp), %xmm0
divsd %xmm1, %xmm0
movsd %xmm0, 0x3d0(%rsp)
shlq $0x5, %r13
addq %r13, %rsi
movq %rbx, %rdi
movq %r14, %rdx
callq 0xc73a
movq 0x30(%rsp), %rax
movq 0x8(%rax,%r13), %rdx
movq 0x10(%rax,%r13), %rcx
xorpd %xmm0, %xmm0
cmpq %rcx, %rdx
je 0xae5b
movq %rdx, %rsi
movq 0xa1f0(%rip), %xmm3     # 0x15010
movapd 0xa1f8(%rip), %xmm4     # 0x15020
movq 0x8(%rsi), %rdi
subq (%rsi), %rdi
sarq $0x3, %rdi
movq %rdi, %xmm1
punpckldq %xmm3, %xmm1    # xmm1 = xmm1[0],xmm3[0],xmm1[1],xmm3[1]
subpd %xmm4, %xmm1
movapd %xmm1, %xmm2
unpckhpd %xmm1, %xmm2            # xmm2 = xmm2[1],xmm1[1]
addsd %xmm1, %xmm2
addsd %xmm2, %xmm0
addq $0x28, %rsi
cmpq %rcx, %rsi
jne 0xae28
jmp 0xae6b
movq 0xa1ad(%rip), %xmm3     # 0x15010
movapd 0xa1b5(%rip), %xmm4     # 0x15020
addq %r13, %rax
subq %rdx, %rcx
sarq $0x3, %rcx
imulq %r12, %rcx
movq %rcx, %xmm1
punpckldq %xmm3, %xmm1    # xmm1 = xmm1[0],xmm3[0],xmm1[1],xmm3[1]
subpd %xmm4, %xmm1
movapd %xmm1, %xmm2
unpckhpd %xmm1, %xmm2            # xmm2 = xmm2[1],xmm1[1]
addsd %xmm1, %xmm2
xorps %xmm1, %xmm1
cvtsi2sdl 0x40(%rax), %xmm1
divsd %xmm2, %xmm0
mulsd %xmm0, %xmm1
xorps %xmm0, %xmm0
cvtsi2sdl 0x20(%rax), %xmm0
divsd %xmm0, %xmm1
movsd 0x3d0(%rsp), %xmm0
divsd %xmm1, %xmm0
movsd 0x10(%rsp), %xmm1
addsd %xmm0, %xmm1
movsd %xmm1, 0x10(%rsp)
incq %r15
movq 0x30(%rsp), %rsi
movq 0x38(%rsp), %rax
subq %rsi, %rax
shrq $0x5, %rax
imull $0xaaaaaaab, %eax, %eax # imm = 0xAAAAAAAB
cltq
cmpq %rax, %r15
jl 0xad69
jmp 0xaef8
movsd %xmm0, 0x10(%rsp)
movq 0x1b0(%rsp), %rbx
movq 0x1b8(%rsp), %r14
cmpq %r14, %rbx
je 0xaf3a
movq %r14, %rax
subq %rbx, %rax
sarq $0x4, %rax
bsrq %rax, %rdx
xorl $0x3f, %edx
addl %edx, %edx
xorq $0x7e, %rdx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x13ab7
movq %rbx, %rdi
movq %r14, %rsi
callq 0x13b6a
movq 0x1b0(%rsp), %r12
movq 0x1b8(%rsp), %r13
cmpq %r13, %r12
je 0xafbe
movq 0x12092(%rip), %rbx     # 0x1cfe8
leaq 0xa623(%rip), %r14      # 0x15580
movl (%r12), %esi
movq %rbx, %rdi
callq 0x34a0
movq %rax, %r15
movl $0x2, %edx
movq %rax, %rdi
movq %r14, %rsi
callq 0x3350
movsd 0x8(%r12), %xmm0
movq %r15, %rdi
callq 0x3450
movq %rax, %r15
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x3300
movsbl %al, %esi
movq %r15, %rdi
callq 0x3030
movq %rax, %rdi
callq 0x3200
addq $0x10, %r12
cmpq %r13, %r12
jne 0xaf5d
movq 0x12023(%rip), %rdi     # 0x1cfe8
leaq 0xa71b(%rip), %rsi      # 0x156e7
movl $0xd, %edx
callq 0x3350
movq 0x38(%rsp), %rax
subq 0x30(%rsp), %rax
sarq $0x5, %rax
movabsq $-0x5555555555555555, %rcx # imm = 0xAAAAAAAAAAAAAAAB
imulq %rax, %rcx
movq %rcx, %xmm0
punpckldq 0xa011(%rip), %xmm0 # xmm0 = xmm0[0],mem[0],xmm0[1],mem[1]
subpd 0xa019(%rip), %xmm0     # 0x15020
movapd %xmm0, %xmm1
unpckhpd %xmm0, %xmm1            # xmm1 = xmm1[1],xmm0[1]
addsd %xmm0, %xmm1
movsd 0x10(%rsp), %xmm0
divsd %xmm1, %xmm0
movq 0x11fc4(%rip), %rdi     # 0x1cfe8
callq 0x3450
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x3300
movsbl %al, %esi
movq %rbx, %rdi
callq 0x3030
movq %rax, %rdi
callq 0x3200
movq 0x1b0(%rsp), %rdi
testq %rdi, %rdi
je 0xb065
callq 0x32f0
leaq 0x60(%rsp), %rdi
callq 0xbbf8
leaq 0x130(%rsp), %rdi
callq 0xc764
leaq 0x30(%rsp), %rdi
callq 0xc7fc
jmp 0xb0e4
movq 0x68(%rsp), %rbx
testq %rbx, %rbx
je 0xb0b6
movq %rbx, %rdi
callq 0xc764
jmp 0xb0ae
movq 0x68(%rsp), %rbx
testq %rbx, %rbx
je 0xb0b6
movq %rbx, %rdi
callq 0xceb0
movq %rbx, %rdi
callq 0x32f0
leaq 0x1b0(%rsp), %rdi
callq 0x3090
movq 0x11ef6(%rip), %rsi     # 0x1cfc0
leaq 0x3d0(%rsp), %rdi
callq 0x3170
leaq 0x440(%rsp), %rdi
callq 0x30e0
movq 0x3b8(%rsp), %rdi
testq %rdi, %rdi
je 0xb0f6
callq 0x32f0
movq 0x170(%rsp), %rdi
leaq 0x180(%rsp), %rax
cmpq %rax, %rdi
je 0xb110
callq 0x32f0
movq 0x190(%rsp), %rdi
leaq 0x1a0(%rsp), %rax
cmpq %rax, %rdi
je 0xb12a
callq 0x32f0
leaq 0x150(%rsp), %rdi
callq 0xc17a
movq 0x110(%rsp), %rdi
leaq 0x120(%rsp), %rax
cmpq %rax, %rdi
je 0xb151
callq 0x32f0
xorl %eax, %eax
addq $0x568, %rsp            # imm = 0x568
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl $0x10, %edi
callq 0x3150
movq %rax, %r14
leaq 0xa605(%rip), %rsi      # 0x1577e
movq %rax, %rdi
callq 0x3100
jmp 0xb19f
movl $0x10, %edi
callq 0x3150
movq %rax, %r14
leaq 0xa55e(%rip), %rsi      # 0x156f5
movq %rax, %rdi
callq 0x3100
movq 0x11e4a(%rip), %rsi     # 0x1cff0
movq 0x11e0b(%rip), %rdx     # 0x1cfb8
movq %r14, %rdi
callq 0x3490
movl $0x10, %edi
callq 0x3150
movq %rax, %r14
leaq 0xa694(%rip), %rsi      # 0x1585d
movq %rax, %rdi
callq 0x3100
movq 0x11e18(%rip), %rsi     # 0x1cff0
movq 0x11dd9(%rip), %rdx     # 0x1cfb8
movq %r14, %rdi
callq 0x3490
movq %rax, %r13
movq 0x78(%rsp), %rdi
leaq 0x88(%rsp), %rax
cmpq %rax, %rdi
je 0xb515
jmp 0xb510
jmp 0xb4fb
movq %rax, %r13
movq 0x78(%rsp), %rdi
leaq 0x88(%rsp), %rax
cmpq %rax, %rdi
je 0xb515
jmp 0xb510
jmp 0xb4fb
movq %rax, %r13
movq %r14, %rdi
callq 0x3250
jmp 0xb319
jmp 0xb23f
movq %rax, %r13
movq %r14, %rdi
callq 0x3250
jmp 0xb328
jmp 0xb48d
movq %rax, %r13
leaq 0x1b0(%rsp), %rdi
callq 0xb914
jmp 0xb269
movq %rax, %r13
leaq 0x88(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xb4b6
callq 0x32f0
jmp 0xb4b6
jmp 0xb4b3
movq %rax, %r13
movq 0x78(%rsp), %rdi
leaq 0x88(%rsp), %rax
cmpq %rax, %rdi
je 0xb515
jmp 0xb510
jmp 0xb4fb
jmp 0xb48d
movq %rax, %r13
leaq 0x78(%rsp), %rdi
callq 0xb914
jmp 0xb2c7
movq %rax, %r13
leaq 0x140(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xb2e2
callq 0x32f0
jmp 0xb2e2
movq %rax, %r13
movq 0x30(%rsp), %rdi
cmpq %r14, %rdi
je 0xb328
jmp 0xb323
jmp 0xb2f2
jmp 0xb2f2
movq %rax, %r13
jmp 0xb328
jmp 0xb4b3
movq %rax, %r13
movq %r14, %rdi
jmp 0xb64f
jmp 0xb4dc
jmp 0xb55c
jmp 0xb4fb
movq %rax, %r13
movq 0x78(%rsp), %rdi
cmpq %r15, %rdi
je 0xb328
callq 0x32f0
leaq 0x60(%rsp), %rdi
callq 0xba3a
leaq 0x1b0(%rsp), %rdi
callq 0x3090
jmp 0xb4b6
movq %rax, %r13
movq 0x1b0(%rsp), %rdi
cmpq %rbx, %rdi
je 0xb515
jmp 0xb510
jmp 0xb4fb
movq %rax, %r13
jmp 0xb687
movq %rax, %r13
movq 0x1b0(%rsp), %rdi
cmpq %r14, %rdi
je 0xb6e2
jmp 0xb6dd
jmp 0xb485
movq %rax, %r13
movq 0x1b0(%rsp), %rdi
cmpq %r14, %rdi
je 0xb6e2
jmp 0xb6dd
jmp 0xb485
movq %rax, %r13
movq 0x1b0(%rsp), %rdi
cmpq %r14, %rdi
je 0xb6e2
jmp 0xb6dd
jmp 0xb485
movq %rax, %r13
movq 0x1b0(%rsp), %rdi
cmpq %r14, %rdi
je 0xb6e2
jmp 0xb6dd
jmp 0xb485
movq %rax, %r13
movq 0x1b0(%rsp), %rdi
cmpq %r14, %rdi
je 0xb6e2
jmp 0xb6dd
jmp 0xb485
movq %rax, %r13
movq 0x1b0(%rsp), %rdi
cmpq %r14, %rdi
je 0xb6e2
jmp 0xb6dd
jmp 0xb485
movq %rax, %r13
movq 0x1b0(%rsp), %rdi
cmpq %r14, %rdi
je 0xb6e2
jmp 0xb6dd
jmp 0xb485
movq %rax, %r13
movq 0x1b0(%rsp), %rdi
cmpq %r14, %rdi
je 0xb6e2
jmp 0xb6dd
jmp 0xb485
movq %rax, %r13
movq 0x1b0(%rsp), %rdi
cmpq %r14, %rdi
je 0xb6e2
jmp 0xb6dd
jmp 0xb485
movq %rax, %r13
movq 0x1b0(%rsp), %rdi
cmpq %r14, %rdi
je 0xb6e2
jmp 0xb6dd
movq %rax, %r13
jmp 0xb6e2
movq %rax, %r13
movq 0x11b19(%rip), %rsi     # 0x1cfb0
leaq 0x1b0(%rsp), %rdi
callq 0x33c0
leaq 0x228(%rsp), %rdi
callq 0x30e0
jmp 0xb515
movq %rax, %r13
movq 0x11b03(%rip), %rsi     # 0x1cfc0
leaq 0x3d0(%rsp), %rdi
callq 0x3170
leaq 0x440(%rsp), %rdi
callq 0x30e0
jmp 0xb675
movq %rax, %r13
jmp 0xb654
movq %rax, %r13
leaq 0x3d0(%rsp), %rdi
callq 0xba3a
jmp 0xb654
jmp 0xb564
movq %rax, %r13
jmp 0xb515
movq %rax, %r13
movq 0x1b0(%rsp), %rdi
cmpq %r14, %rdi
je 0xb515
callq 0x32f0
movq 0x3d0(%rsp), %rdi
leaq 0x3e0(%rsp), %rax
cmpq %rax, %rdi
je 0xb675
callq 0x32f0
jmp 0xb675
jmp 0xb63f
jmp 0xb564
movq %rax, %r13
jmp 0xb66b
movq %rax, %r13
leaq 0x1b0(%rsp), %rdi
callq 0xb914
jmp 0xb66b
movq %rax, %r13
jmp 0xb675
movq %rax, %r13
movq 0x1b0(%rsp), %rdi
testq %rdi, %rdi
je 0xb654
jmp 0xb64f
jmp 0xb5a7
jmp 0xb63f
jmp 0xb5a7
jmp 0xb58c
jmp 0xb5ac
jmp 0xb58c
movq %rax, %r13
movq %rbp, %rdi
callq 0x32f0
jmp 0xb611
jmp 0xb5ac
movq %rax, %r13
leaq 0x78(%rsp), %rdi
jmp 0xb60c
jmp 0xb5a7
movq %rax, %r13
jmp 0xb611
movq %rax, %r13
jmp 0xb609
movq %rax, %r13
jmp 0xb609
jmp 0xb63f
movq %rax, %r13
movq 0x78(%rsp), %rdi
cmpq %r12, %rdi
je 0xb5cd
callq 0x32f0
jmp 0xb609
movq %rax, %r13
movq 0x78(%rsp), %rdi
cmpq %r12, %rdi
je 0xb5e1
callq 0x32f0
jmp 0xb609
movq %rax, %r13
movq 0x78(%rsp), %rdi
cmpq %r12, %rdi
je 0xb5f5
callq 0x32f0
jmp 0xb609
movq %rax, %r13
movq 0x78(%rsp), %rdi
cmpq %r12, %rdi
je 0xb609
callq 0x32f0
movq %rsp, %rdi
callq 0xba3a
leaq 0x1b0(%rsp), %rdi
callq 0xceb0
jmp 0xb623
movq %rax, %r13
movq 0x3d0(%rsp), %rdi
leaq 0x3e0(%rsp), %rax
cmpq %rax, %rdi
je 0xb642
callq 0x32f0
jmp 0xb642
movq %rax, %r13
movq 0xe0(%rsp), %rdi
testq %rdi, %rdi
je 0xb654
callq 0x32f0
leaq 0x60(%rsp), %rdi
callq 0xbbf8
leaq 0x130(%rsp), %rdi
callq 0xc764
leaq 0x30(%rsp), %rdi
callq 0xc7fc
movq 0x3b8(%rsp), %rdi
testq %rdi, %rdi
je 0xb687
callq 0x32f0
movq 0x170(%rsp), %rdi
leaq 0x180(%rsp), %rax
cmpq %rax, %rdi
je 0xb6a1
callq 0x32f0
movq 0x190(%rsp), %rdi
leaq 0x1a0(%rsp), %rax
cmpq %rax, %rdi
je 0xb6bb
callq 0x32f0
leaq 0x150(%rsp), %rdi
callq 0xc17a
movq 0x110(%rsp), %rdi
leaq 0x120(%rsp), %rax
cmpq %rax, %rdi
je 0xb6e2
callq 0x32f0
movq %r13, %rdi
callq 0x34b0