// File: /workspace/github_cpp_makefile_star2_O3/luooofan[P]hblzbd_compiler/src/Pass/constant_propagation.cpp
// Function: ConstantPropagation::Run()
void ConstantPropagation::Run() {
  auto m = dynamic_cast<IRModule *>(*m_);

  MyAssert(nullptr != m);

  bool changed = true;

  while (changed) {
    ReachDefine reachdefine = ReachDefine(m_);
    reachdefine.Run();
    changed = false;
    for (auto func : m->func_list_) {
      for (auto bb : func->bb_list_) {
        for (int i = 0; i < bb->ir_list_.size(); ++i) {
          auto ir = bb->ir_list_[i];
          auto map_this_ir = bb->use_def_chains_[i];

          auto process_opn = [&bb, &ir, &map_this_ir, &changed](ir::Opn *opn, int opn_num) {
            if (opn->type_ == ir::Opn::Type::Var) {
              auto opn_set = map_this_ir[opn];
              if (opn_set.size() == 1) {
                auto ir_opn = *opn_set.begin();
                if (ir_opn->op_ == ir::IR::OpKind::ASSIGN && ir_opn->opn1_.type_ == ir::Opn::Type::Imm) {
#ifdef PRINT_DEBUG
                  std::cout << "将变量: " << opn->name_ + "_#" + std::to_string(opn->scope_id_) << " 变为常数"
                            << ir_opn->opn1_.imm_num_ << std::endl;
#endif
                  changed = true;
                  if (opn_num == 1) {
                    ir->opn1_ = ir_opn->opn1_;
                  } else if (opn_num == 2) {
                    ir->opn2_ = ir_opn->opn1_;
                  }
                }
              }
            }
          };

          process_opn(&(ir->opn1_), 1);

          process_opn(&(ir->opn2_), 2);

          if (ir::IR::OpKind::ADD == ir->op_) {
            if (ir->opn1_.type_ == ir::Opn::Type::Imm && ir->opn2_.type_ == ir::Opn::Type::Imm) {
              int res = ir->opn1_.imm_num_ + ir->opn2_.imm_num_;
              ir::Opn opn1 = ir::Opn(ir::Opn::Type::Imm, res);
              ir::Opn res_opn = ir->res_;
              bb->ir_list_[i] = new ir::IR(ir::IR::OpKind::ASSIGN, opn1, res_opn);
              changed = true;
              // if(changed) printf("/*******\n");
            }
          } else if (ir::IR::OpKind::SUB == ir->op_) {
            if (ir->opn1_.type_ == ir::Opn::Type::Imm && ir->opn2_.type_ == ir::Opn::Type::Imm) {
              int res = ir->opn1_.imm_num_ - ir->opn2_.imm_num_;
              ir::Opn opn1 = ir::Opn(ir::Opn::Type::Imm, res);
              ir::Opn res_opn = ir->res_;
              bb->ir_list_[i] = new ir::IR(ir::IR::OpKind::ASSIGN, opn1, res_opn);
              changed = true;
            }
          } else if (ir::IR::OpKind::MUL == ir->op_) {
            if (ir->opn1_.type_ == ir::Opn::Type::Imm && ir->opn2_.type_ == ir::Opn::Type::Imm) {
              int res = ir->opn1_.imm_num_ * ir->opn2_.imm_num_;
              ir::Opn opn1 = ir::Opn(ir::Opn::Type::Imm, res);
              ir::Opn res_opn = ir->res_;
              bb->ir_list_[i] = new ir::IR(ir::IR::OpKind::ASSIGN, opn1, res_opn);
              changed = true;
            }
          } else if (ir::IR::OpKind::DIV == ir->op_) {
            if (ir->opn1_.type_ == ir::Opn::Type::Imm && ir->opn2_.type_ == ir::Opn::Type::Imm) {
              // 没有加对除0的限制，应该没有必要
              int res = ir->opn1_.imm_num_ / ir->opn2_.imm_num_;
              ir::Opn opn1 = ir::Opn(ir::Opn::Type::Imm, res);
              ir::Opn res_opn = ir->res_;
              bb->ir_list_[i] = new ir::IR(ir::IR::OpKind::ASSIGN, opn1, res_opn);
              changed = true;
            }
          } else if (ir::IR::OpKind::MOD == ir->op_) {
            if (ir->opn1_.type_ == ir::Opn::Type::Imm && ir->opn2_.type_ == ir::Opn::Type::Imm) {
              int res = ir->opn1_.imm_num_ % ir->opn2_.imm_num_;
              ir::Opn opn1 = ir::Opn(ir::Opn::Type::Imm, res);
              ir::Opn res_opn = ir->res_;
              bb->ir_list_[i] = new ir::IR(ir::IR::OpKind::ASSIGN, opn1, res_opn);
              changed = true;
            }
          } else if (ir::IR::OpKind::NOT == ir->op_) {
            if (ir->opn1_.type_ == ir::Opn::Type::Imm) {
              int res = !ir->opn1_.imm_num_;
              ir::Opn opn1 = ir::Opn(ir::Opn::Type::Imm, res);
              ir::Opn res_opn = ir->res_;
              bb->ir_list_[i] = new ir::IR(ir::IR::OpKind::ASSIGN, opn1, res_opn);
              changed = true;
            }
          } else if (ir::IR::OpKind::NEG == ir->op_) {
            if (ir->opn1_.type_ == ir::Opn::Type::Imm) {
              int res = -ir->opn1_.imm_num_;
              ir::Opn opn1 = ir::Opn(ir::Opn::Type::Imm, res);
              ir::Opn res_opn = ir->res_;
              bb->ir_list_[i] = new ir::IR(ir::IR::OpKind::ASSIGN, opn1, res_opn);
              changed = true;
            }
          }
        }
      }
    }
    // if(changed) printf("/*******\n");
  }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x4b8, %rsp            # imm = 0x4B8
movq %rdi, 0x110(%rsp)
movq 0x8(%rdi), %rax
movq (%rax), %rdi
testq %rdi, %rdi
je 0x3eb21
leaq 0x4f534(%rip), %rsi     # 0x8d648
leaq 0x4ff55(%rip), %rdx     # 0x8e070
xorl %ecx, %ecx
callq 0x8320
movq %rax, 0x100(%rsp)
testq %rax, %rax
je 0x3eb21
leaq 0x50b66(%rip), %rax     # 0x8eca0
addq $0x10, %rax
movq %rax, 0x108(%rsp)
leaq 0x90(%rsp), %rbp
movq 0x110(%rsp), %rax
movq 0x8(%rax), %rax
movq %rax, 0xd0(%rsp)
leaq 0xe8(%rsp), %rax
movq %rax, 0xd8(%rsp)
movq $0x0, 0xe0(%rsp)
xorl %eax, %eax
movb %al, 0xe8(%rsp)
movb %al, 0xf8(%rsp)
movq 0x108(%rsp), %rax
movq %rax, 0xc8(%rsp)
leaq 0xc8(%rsp), %rdi
callq 0x69196
movq 0x100(%rsp), %rax
movq 0x28(%rax), %rcx
movq 0x30(%rax), %rax
movq %rax, 0x118(%rsp)
cmpq %rax, %rcx
je 0x3eac8
movl $0x0, 0x4(%rsp)
movq %rcx, 0x120(%rsp)
movq (%rcx), %rax
movq 0x30(%rax), %rcx
movq 0x38(%rax), %rax
movq %rax, 0x128(%rsp)
cmpq %rax, %rcx
je 0x3eaac
movq %rcx, 0x130(%rsp)
movq (%rcx), %r12
movq 0x8(%r12), %rax
cmpq %rax, 0x10(%r12)
je 0x3ea92
xorl %r13d, %r13d
xorl %r15d, %r15d
movq (%rax,%r15,8), %rbx
movq 0x218(%r12), %rax
leaq (%rax,%r13), %rsi
xorl %edx, %edx
movq %rdx, 0x90(%rsp)
movq 0x8(%rax,%r13), %rcx
movq %rcx, 0x98(%rsp)
movq %rdx, 0xa0(%rsp)
movq 0x18(%rax,%r13), %rcx
movq %rcx, 0xa8(%rsp)
movups 0x20(%rax,%r13), %xmm0
leaq 0xb0(%rsp), %rax
movups %xmm0, (%rax)
movq %rdx, 0xc0(%rsp)
movq %rbp, 0x8(%rsp)
movq %rbp, %rdi
leaq 0x8(%rsp), %rdx
callq 0x3eee8
leaq 0x8(%rbx), %r14
movq %r14, 0x88(%rsp)
cmpl $0x0, 0x8(%rbx)
jne 0x3e324
movq %rbp, %rdi
leaq 0x88(%rsp), %rsi
callq 0x3f1fa
xorl %edx, %edx
movq %rdx, 0x8(%rsp)
movq 0x8(%rax), %rcx
movq %rcx, 0x10(%rsp)
movq %rdx, 0x18(%rsp)
movq 0x18(%rax), %rcx
movq %rcx, 0x20(%rsp)
movups 0x20(%rax), %xmm0
leaq 0x28(%rsp), %rcx
movups %xmm0, (%rcx)
movq %rdx, 0x38(%rsp)
leaq 0x8(%rsp), %rdi
movq %rdi, 0x48(%rsp)
movq %rax, %rsi
leaq 0x48(%rsp), %rdx
callq 0x3f0b8
cmpq $0x1, 0x20(%rsp)
jne 0x3e31a
movq 0x18(%rsp), %rax
movq 0x8(%rax), %rsi
cmpl $0xc, (%rsi)
jne 0x3e31a
cmpl $0x1, 0x8(%rsi)
jne 0x3e31a
addq $0x8, %rsi
movb $0x1, %al
movl %eax, 0x4(%rsp)
movq %r14, %rdi
callq 0x288be
leaq 0x8(%rsp), %rdi
callq 0x2c012
leaq 0x48(%rbx), %rbp
movq %rbp, 0x88(%rsp)
cmpl $0x0, 0x48(%rbx)
jne 0x3e3cd
leaq 0x90(%rsp), %rdi
leaq 0x88(%rsp), %rsi
callq 0x3f1fa
xorl %edx, %edx
movq %rdx, 0x8(%rsp)
movq 0x8(%rax), %rcx
movq %rcx, 0x10(%rsp)
movq %rdx, 0x18(%rsp)
movq 0x18(%rax), %rcx
movq %rcx, 0x20(%rsp)
movups 0x20(%rax), %xmm0
leaq 0x28(%rsp), %rcx
movups %xmm0, (%rcx)
movq %rdx, 0x38(%rsp)
leaq 0x8(%rsp), %rdi
movq %rdi, 0x48(%rsp)
movq %rax, %rsi
leaq 0x48(%rsp), %rdx
callq 0x3f0b8
cmpq $0x1, 0x20(%rsp)
jne 0x3e3c3
movq 0x18(%rsp), %rax
movq 0x8(%rax), %rsi
cmpl $0xc, (%rsi)
jne 0x3e3c3
cmpl $0x1, 0x8(%rsi)
jne 0x3e3c3
addq $0x8, %rsi
movb $0x1, %al
movl %eax, 0x4(%rsp)
movq %rbp, %rdi
callq 0x288be
leaq 0x8(%rsp), %rdi
callq 0x2c012
movl (%rbx), %eax
cmpq $0x6, %rax
ja 0x3e867
leaq 0x332b8(%rip), %rcx     # 0x71698
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
cmpl $0x1, (%r14)
jne 0x3e867
cmpl $0x1, (%rbp)
leaq 0x90(%rsp), %rbp
jne 0x3ea69
movl 0x4c(%rbx), %edx
addl 0xc(%rbx), %edx
leaq 0x8(%rsp), %rdi
movl $0x1, %esi
callq 0x1279c
addq $0x88, %rbx
leaq 0x48(%rsp), %rdi
movq %rbx, %rsi
callq 0x28816
movl $0xe0, %edi
callq 0x8290
movq %rax, %r14
leaq 0x2b8(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0x28816
leaq 0x478(%rsp), %rbx
movq %rbx, %rdi
leaq 0x48(%rsp), %rsi
callq 0x28816
movq %r14, %rdi
movl $0xc, %esi
leaq 0x2b8(%rsp), %rdx
movq %rbx, %rcx
callq 0x25560
movq 0x8(%r12), %rax
movq %r14, (%rax,%r15,8)
movq 0x480(%rsp), %rdi
leaq 0x490(%rsp), %rax
cmpq %rax, %rdi
je 0x3e4a8
movq 0x490(%rsp), %rsi
incq %rsi
callq 0x82a0
movq 0x2c0(%rsp), %rdi
leaq 0x2d0(%rsp), %rax
cmpq %rax, %rdi
je 0x3ea2b
movq 0x2d0(%rsp), %rsi
jmp 0x3ea23
cmpl $0x1, (%r14)
jne 0x3e867
cmpl $0x1, (%rbp)
leaq 0x90(%rsp), %rbp
jne 0x3ea69
movl 0xc(%rbx), %eax
cltd
idivl 0x4c(%rbx)
leaq 0x8(%rsp), %rdi
movl $0x1, %esi
callq 0x1279c
addq $0x88, %rbx
leaq 0x48(%rsp), %rdi
movq %rbx, %rsi
callq 0x28816
movl $0xe0, %edi
callq 0x8290
movq %rax, %r14
leaq 0x1b8(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0x28816
leaq 0x378(%rsp), %rbx
movq %rbx, %rdi
leaq 0x48(%rsp), %rsi
callq 0x28816
movq %r14, %rdi
movl $0xc, %esi
leaq 0x1b8(%rsp), %rdx
movq %rbx, %rcx
callq 0x25560
movq 0x8(%r12), %rax
movq %r14, (%rax,%r15,8)
movq 0x380(%rsp), %rdi
leaq 0x390(%rsp), %rax
cmpq %rax, %rdi
je 0x3e58e
movq 0x390(%rsp), %rsi
incq %rsi
callq 0x82a0
movq 0x1c0(%rsp), %rdi
leaq 0x1d0(%rsp), %rax
cmpq %rax, %rdi
je 0x3ea2b
movq 0x1d0(%rsp), %rsi
jmp 0x3ea23
cmpl $0x1, (%r14)
jne 0x3e867
cmpl $0x1, (%rbp)
leaq 0x90(%rsp), %rbp
jne 0x3ea69
movl 0x4c(%rbx), %edx
imull 0xc(%rbx), %edx
leaq 0x8(%rsp), %rdi
movl $0x1, %esi
callq 0x1279c
addq $0x88, %rbx
leaq 0x48(%rsp), %rdi
movq %rbx, %rsi
callq 0x28816
movl $0xe0, %edi
callq 0x8290
movq %rax, %r14
leaq 0x238(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0x28816
leaq 0x3f8(%rsp), %rbx
movq %rbx, %rdi
leaq 0x48(%rsp), %rsi
callq 0x28816
movq %r14, %rdi
movl $0xc, %esi
leaq 0x238(%rsp), %rdx
movq %rbx, %rcx
callq 0x25560
movq 0x8(%r12), %rax
movq %r14, (%rax,%r15,8)
movq 0x400(%rsp), %rdi
leaq 0x410(%rsp), %rax
cmpq %rax, %rdi
je 0x3e674
movq 0x410(%rsp), %rsi
incq %rsi
callq 0x82a0
movq 0x240(%rsp), %rdi
leaq 0x250(%rsp), %rax
cmpq %rax, %rdi
je 0x3ea2b
movq 0x250(%rsp), %rsi
jmp 0x3ea23
cmpl $0x1, (%r14)
jne 0x3e867
cmpl $0x1, (%rbp)
leaq 0x90(%rsp), %rbp
jne 0x3ea69
movl 0xc(%rbx), %eax
cltd
idivl 0x4c(%rbx)
leaq 0x8(%rsp), %rdi
movl $0x1, %esi
movl %eax, %edx
callq 0x1279c
addq $0x88, %rbx
leaq 0x48(%rsp), %rdi
movq %rbx, %rsi
callq 0x28816
movl $0xe0, %edi
callq 0x8290
movq %rax, %r14
leaq 0x1f8(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0x28816
leaq 0x3b8(%rsp), %rbx
movq %rbx, %rdi
leaq 0x48(%rsp), %rsi
callq 0x28816
movq %r14, %rdi
movl $0xc, %esi
leaq 0x1f8(%rsp), %rdx
movq %rbx, %rcx
callq 0x25560
movq 0x8(%r12), %rax
movq %r14, (%rax,%r15,8)
movq 0x3c0(%rsp), %rdi
leaq 0x3d0(%rsp), %rax
cmpq %rax, %rdi
je 0x3e75c
movq 0x3d0(%rsp), %rsi
incq %rsi
callq 0x82a0
movq 0x200(%rsp), %rdi
leaq 0x210(%rsp), %rax
cmpq %rax, %rdi
je 0x3ea2b
movq 0x210(%rsp), %rsi
jmp 0x3ea23
cmpl $0x1, (%r14)
jne 0x3e867
cmpl $0x1, (%rbp)
leaq 0x90(%rsp), %rbp
jne 0x3ea69
movl 0xc(%rbx), %edx
subl 0x4c(%rbx), %edx
leaq 0x8(%rsp), %rdi
movl $0x1, %esi
callq 0x1279c
addq $0x88, %rbx
leaq 0x48(%rsp), %rdi
movq %rbx, %rsi
callq 0x28816
movl $0xe0, %edi
callq 0x8290
movq %rax, %r14
leaq 0x278(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0x28816
leaq 0x438(%rsp), %rbx
movq %rbx, %rdi
leaq 0x48(%rsp), %rsi
callq 0x28816
movq %r14, %rdi
movl $0xc, %esi
leaq 0x278(%rsp), %rdx
movq %rbx, %rcx
callq 0x25560
movq 0x8(%r12), %rax
movq %r14, (%rax,%r15,8)
movq 0x440(%rsp), %rdi
leaq 0x450(%rsp), %rax
cmpq %rax, %rdi
je 0x3e841
movq 0x450(%rsp), %rsi
incq %rsi
callq 0x82a0
movq 0x280(%rsp), %rdi
leaq 0x290(%rsp), %rax
cmpq %rax, %rdi
je 0x3ea2b
movq 0x290(%rsp), %rsi
jmp 0x3ea23
leaq 0x90(%rsp), %rbp
jmp 0x3ea69
cmpl $0x1, (%r14)
leaq 0x90(%rsp), %rbp
jne 0x3ea69
xorl %edx, %edx
cmpl $0x0, 0xc(%rbx)
sete %dl
leaq 0x8(%rsp), %rdi
movl $0x1, %esi
callq 0x1279c
addq $0x88, %rbx
leaq 0x48(%rsp), %rdi
movq %rbx, %rsi
callq 0x28816
movl $0xe0, %edi
callq 0x8290
movq %rax, %r14
leaq 0x178(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0x28816
leaq 0x338(%rsp), %rbx
movq %rbx, %rdi
leaq 0x48(%rsp), %rsi
callq 0x28816
movq %r14, %rdi
movl $0xc, %esi
leaq 0x178(%rsp), %rdx
movq %rbx, %rcx
callq 0x25560
movq 0x8(%r12), %rax
movq %r14, (%rax,%r15,8)
movq 0x340(%rsp), %rdi
leaq 0x350(%rsp), %rax
cmpq %rax, %rdi
je 0x3e92c
movq 0x350(%rsp), %rsi
incq %rsi
callq 0x82a0
movq 0x180(%rsp), %rdi
leaq 0x190(%rsp), %rax
cmpq %rax, %rdi
je 0x3ea2b
movq 0x190(%rsp), %rsi
jmp 0x3ea23
cmpl $0x1, (%r14)
leaq 0x90(%rsp), %rbp
jne 0x3ea69
xorl %edx, %edx
subl 0xc(%rbx), %edx
leaq 0x8(%rsp), %rdi
movl $0x1, %esi
callq 0x1279c
addq $0x88, %rbx
leaq 0x48(%rsp), %rdi
movq %rbx, %rsi
callq 0x28816
movl $0xe0, %edi
callq 0x8290
movq %rax, %r14
leaq 0x138(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0x28816
leaq 0x2f8(%rsp), %rbx
movq %rbx, %rdi
leaq 0x48(%rsp), %rsi
callq 0x28816
movq %r14, %rdi
movl $0xc, %esi
leaq 0x138(%rsp), %rdx
movq %rbx, %rcx
callq 0x25560
movq 0x8(%r12), %rax
movq %r14, (%rax,%r15,8)
movq 0x300(%rsp), %rdi
leaq 0x310(%rsp), %rax
cmpq %rax, %rdi
je 0x3ea06
movq 0x310(%rsp), %rsi
incq %rsi
callq 0x82a0
movq 0x140(%rsp), %rdi
leaq 0x150(%rsp), %rax
cmpq %rax, %rdi
je 0x3ea2b
movq 0x150(%rsp), %rsi
incq %rsi
callq 0x82a0
movq 0x50(%rsp), %rdi
leaq 0x60(%rsp), %rax
cmpq %rax, %rdi
je 0x3ea47
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x82a0
movq 0x10(%rsp), %rdi
leaq 0x20(%rsp), %rax
cmpq %rax, %rdi
je 0x3ea63
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x82a0
movb $0x1, %al
movl %eax, 0x4(%rsp)
movq %rbp, %rdi
callq 0x2c082
incq %r15
movq 0x8(%r12), %rax
movq 0x10(%r12), %rcx
subq %rax, %rcx
sarq $0x3, %rcx
addq $0x38, %r13
cmpq %r15, %rcx
ja 0x3e219
movq 0x130(%rsp), %rcx
addq $0x8, %rcx
cmpq 0x128(%rsp), %rcx
jne 0x3e1f8
movq 0x120(%rsp), %rcx
addq $0x8, %rcx
cmpq 0x118(%rsp), %rcx
jne 0x3e1d4
jmp 0x3ead0
movl $0x0, 0x4(%rsp)
leaq 0x4ff81(%rip), %rax     # 0x8ea58
movq %rax, 0xc8(%rsp)
movq 0xd8(%rsp), %rdi
leaq 0xe8(%rsp), %rax
cmpq %rax, %rdi
je 0x3eb04
movq 0xe8(%rsp), %rsi
incq %rsi
callq 0x82a0
testb $0x1, 0x4(%rsp)
jne 0x3e14e
addq $0x4b8, %rsp            # imm = 0x4B8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x504c0(%rip), %rdi     # 0x8efe8
leaq 0x2f639(%rip), %rsi     # 0x6e168
callq 0x8280
leaq 0x32b8f(%rip), %rsi     # 0x716ca
movq %rax, %rdi
callq 0x8280
leaq 0x30876(%rip), %rsi     # 0x6f3c0
movq %rax, %rdi
callq 0x8280
movq %rax, %rdi
movl $0xb, %esi
callq 0x8520
movq %rax, %rdi
callq 0x8180
movl $0xff, %edi
callq 0x8380
jmp 0x3ee97
jmp 0x3ee76
jmp 0x3ee55
movq %rax, %rbx
jmp 0x3ebb2
jmp 0x3ee43
movq %rax, %rbx
movq 0x440(%rsp), %rdi
leaq 0x450(%rsp), %rax
cmpq %rax, %rdi
je 0x3ebb2
movq 0x450(%rsp), %rsi
incq %rsi
callq 0x82a0
movq 0x280(%rsp), %rdi
leaq 0x290(%rsp), %rax
cmpq %rax, %rdi
je 0x3ee46
movq 0x290(%rsp), %rsi
jmp 0x3ee37
movq %rax, %rbx
jmp 0x3ec0a
jmp 0x3ee9c
movq %rax, %rbx
movq 0x480(%rsp), %rdi
leaq 0x490(%rsp), %rax
cmpq %rax, %rdi
je 0x3ec0a
movq 0x490(%rsp), %rsi
incq %rsi
callq 0x82a0
movq 0x2c0(%rsp), %rdi
leaq 0x2d0(%rsp), %rax
cmpq %rax, %rdi
je 0x3ee46
movq 0x2d0(%rsp), %rsi
jmp 0x3ee37
jmp 0x3ee55
jmp 0x3ee76
movq %rax, %rbx
jmp 0x3ec7b
jmp 0x3ee43
jmp 0x3ee43
jmp 0x3ee9c
jmp 0x3ee55
movq %rax, %rbx
movq 0x400(%rsp), %rdi
leaq 0x410(%rsp), %rax
cmpq %rax, %rdi
je 0x3ec7b
movq 0x410(%rsp), %rsi
incq %rsi
callq 0x82a0
movq 0x240(%rsp), %rdi
leaq 0x250(%rsp), %rax
cmpq %rax, %rdi
je 0x3ee46
movq 0x250(%rsp), %rsi
jmp 0x3ee37
jmp 0x3ee76
movq %rax, %rbx
jmp 0x3ecec
jmp 0x3ee9c
jmp 0x3ee55
jmp 0x3ee43
jmp 0x3ee9c
jmp 0x3ee76
movq %rax, %rbx
movq 0x380(%rsp), %rdi
leaq 0x390(%rsp), %rax
cmpq %rax, %rdi
je 0x3ecec
movq 0x390(%rsp), %rsi
incq %rsi
callq 0x82a0
movq 0x1c0(%rsp), %rdi
leaq 0x1d0(%rsp), %rax
cmpq %rax, %rdi
je 0x3ee46
movq 0x1d0(%rsp), %rsi
jmp 0x3ee37
jmp 0x3ee76
movq %rax, %rbx
jmp 0x3ed53
jmp 0x3ee9c
jmp 0x3ee43
jmp 0x3ee55
movq %rax, %rbx
movq 0x3c0(%rsp), %rdi
leaq 0x3d0(%rsp), %rax
cmpq %rax, %rdi
je 0x3ed53
movq 0x3d0(%rsp), %rsi
incq %rsi
callq 0x82a0
movq 0x200(%rsp), %rdi
leaq 0x210(%rsp), %rax
cmpq %rax, %rdi
je 0x3ee46
movq 0x210(%rsp), %rsi
jmp 0x3ee37
jmp 0x3ed7b
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0x2c012
jmp 0x3ee9f
jmp 0x3ee43
jmp 0x3ee55
jmp 0x3ee76
jmp 0x3ee9c
movq %rax, %rbx
movq 0x300(%rsp), %rdi
leaq 0x310(%rsp), %rax
cmpq %rax, %rdi
je 0x3edce
movq 0x310(%rsp), %rsi
incq %rsi
callq 0x82a0
jmp 0x3edce
movq %rax, %rbx
movq 0x140(%rsp), %rdi
leaq 0x150(%rsp), %rax
cmpq %rax, %rdi
je 0x3ee46
movq 0x150(%rsp), %rsi
jmp 0x3ee37
movq %rax, %rbx
movq 0x340(%rsp), %rdi
leaq 0x350(%rsp), %rax
cmpq %rax, %rdi
je 0x3ee1a
movq 0x350(%rsp), %rsi
incq %rsi
callq 0x82a0
jmp 0x3ee1a
movq %rax, %rbx
movq 0x180(%rsp), %rdi
leaq 0x190(%rsp), %rax
cmpq %rax, %rdi
je 0x3ee46
movq 0x190(%rsp), %rsi
incq %rsi
callq 0x82a0
jmp 0x3ee46
jmp 0x3ee9c
movq %rax, %rbx
movl $0xe0, %esi
movq %r14, %rdi
callq 0x82a0
jmp 0x3ee58
movq %rax, %rbx
movq 0x50(%rsp), %rdi
leaq 0x60(%rsp), %rax
cmpq %rax, %rdi
je 0x3ee79
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x82a0
jmp 0x3ee79
movq %rax, %rbx
movq 0x10(%rsp), %rdi
leaq 0x20(%rsp), %rax
cmpq %rax, %rdi
je 0x3ee9f
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x82a0
jmp 0x3ee9f
movq %rax, %rbx
jmp 0x3eeac
movq %rax, %rbx
leaq 0x90(%rsp), %rdi
callq 0x2c082
leaq 0x4fba5(%rip), %rax     # 0x8ea58
movq %rax, 0xc8(%rsp)
movq 0xd8(%rsp), %rdi
leaq 0xe8(%rsp), %rax
cmpq %rax, %rdi
je 0x3eee0
movq 0xe8(%rsp), %rsi
incq %rsi
callq 0x82a0
movq %rbx, %rdi
callq 0x8540