// File: /workspace/github_cpp_makefile_star2_O1/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 $0x4c8, %rsp            # imm = 0x4C8
movq %rdi, 0x120(%rsp)
movq 0x8(%rdi), %rax
movq (%rax), %rdi
testq %rdi, %rdi
je 0x3e7cb
leaq 0x4fe60(%rip), %rsi     # 0x8e618
leaq 0x508b9(%rip), %rdx     # 0x8f078
xorl %ecx, %ecx
callq 0x8320
movq %rax, %rbx
jmp 0x3e7cd
xorl %ebx, %ebx
testq %rbx, %rbx
je 0x3f208
leaq 0x514cb(%rip), %rax     # 0x8fca8
addq $0x10, %rax
movq %rax, 0x118(%rsp)
leaq 0xa0(%rsp), %rbp
movq %rbx, 0x110(%rsp)
movq 0x120(%rsp), %rax
movq 0x8(%rax), %rax
movq %rax, 0xe0(%rsp)
leaq 0xf8(%rsp), %rax
movq %rax, 0xe8(%rsp)
movq $0x0, 0xf0(%rsp)
xorl %eax, %eax
movb %al, 0xf8(%rsp)
movb %al, 0x108(%rsp)
movq 0x118(%rsp), %rax
movq %rax, 0xd8(%rsp)
leaq 0xd8(%rsp), %rdi
callq 0x69f84
movq 0x28(%rbx), %rax
movq 0x30(%rbx), %rcx
movq %rcx, 0x128(%rsp)
cmpq %rcx, %rax
je 0x3f1b5
movl $0x0, 0x8(%rsp)
movq %rax, 0x130(%rsp)
movq (%rax), %rax
movq 0x30(%rax), %rcx
movq 0x38(%rax), %rax
movq %rax, 0x138(%rsp)
cmpq %rax, %rcx
je 0x3f18c
movq %rcx, 0x140(%rsp)
movq (%rcx), %rdx
movq 0x8(%rdx), %rax
cmpq %rax, 0x10(%rdx)
je 0x3f172
xorl %r13d, %r13d
xorl %r15d, %r15d
movq %rdx, 0x50(%rsp)
movq (%rax,%r15,8), %rbx
movq 0x218(%rdx), %rax
leaq (%rax,%r13), %rsi
xorl %edx, %edx
movq %rdx, 0xa0(%rsp)
movq 0x8(%rax,%r13), %rcx
movq %rcx, 0xa8(%rsp)
movq %rdx, 0xb0(%rsp)
movq 0x18(%rax,%r13), %rcx
movq %rcx, 0xb8(%rsp)
movups 0x20(%rax,%r13), %xmm0
leaq 0xc0(%rsp), %rax
movups %xmm0, (%rax)
movq %rdx, 0xd0(%rsp)
movq %rbp, 0x10(%rsp)
movq %rbp, %rdi
leaq 0x10(%rsp), %rdx
callq 0x3f5e2
leaq 0x8(%rbx), %r14
movq %r14, 0x98(%rsp)
cmpl $0x0, 0x8(%rbx)
jne 0x3e9c9
movq %rbp, %rdi
leaq 0x98(%rsp), %rsi
callq 0x3f8f4
xorl %edx, %edx
movq %rdx, 0x10(%rsp)
movq 0x8(%rax), %rcx
movq %rcx, 0x18(%rsp)
movq %rdx, 0x20(%rsp)
movq 0x18(%rax), %rcx
movq %rcx, 0x28(%rsp)
movups 0x20(%rax), %xmm0
leaq 0x30(%rsp), %rcx
movups %xmm0, (%rcx)
movq %rdx, 0x40(%rsp)
leaq 0x10(%rsp), %rdi
movq %rdi, 0x58(%rsp)
movq %rax, %rsi
leaq 0x58(%rsp), %rdx
callq 0x3f7b2
cmpq $0x1, 0x28(%rsp)
jne 0x3e9bf
movq 0x20(%rsp), %rax
movq 0x8(%rax), %rsi
cmpl $0xc, (%rsi)
jne 0x3e9bf
cmpl $0x1, 0x8(%rsi)
jne 0x3e9bf
addq $0x8, %rsi
movb $0x1, %al
movl %eax, 0x8(%rsp)
movq %r14, %rdi
callq 0x2822e
leaq 0x10(%rsp), %rdi
callq 0x2bade
leaq 0x48(%rbx), %rbp
movq %rbp, 0x98(%rsp)
cmpl $0x0, 0x48(%rbx)
jne 0x3ea72
leaq 0xa0(%rsp), %rdi
leaq 0x98(%rsp), %rsi
callq 0x3f8f4
xorl %edx, %edx
movq %rdx, 0x10(%rsp)
movq 0x8(%rax), %rcx
movq %rcx, 0x18(%rsp)
movq %rdx, 0x20(%rsp)
movq 0x18(%rax), %rcx
movq %rcx, 0x28(%rsp)
movups 0x20(%rax), %xmm0
leaq 0x30(%rsp), %rcx
movups %xmm0, (%rcx)
movq %rdx, 0x40(%rsp)
leaq 0x10(%rsp), %rdi
movq %rdi, 0x58(%rsp)
movq %rax, %rsi
leaq 0x58(%rsp), %rdx
callq 0x3f7b2
cmpq $0x1, 0x28(%rsp)
jne 0x3ea68
movq 0x20(%rsp), %rax
movq 0x8(%rax), %rsi
cmpl $0xc, (%rsi)
jne 0x3ea68
cmpl $0x1, 0x8(%rsi)
jne 0x3ea68
addq $0x8, %rsi
movb $0x1, %al
movl %eax, 0x8(%rsp)
movq %rbp, %rdi
callq 0x2822e
leaq 0x10(%rsp), %rdi
callq 0x2bade
movl (%rbx), %eax
cmpq $0x6, %rax
ja 0x3ef39
leaq 0x33c0f(%rip), %rcx     # 0x72694
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
cmpl $0x1, (%r14)
jne 0x3ef39
cmpl $0x1, (%rbp)
leaq 0xa0(%rsp), %rbp
jne 0x3f146
movl 0x4c(%rbx), %edx
addl 0xc(%rbx), %edx
leaq 0x10(%rsp), %rdi
movl $0x1, %esi
callq 0x12ade
addq $0x88, %rbx
leaq 0x58(%rsp), %rdi
movq %rbx, %rsi
callq 0x28186
movl $0xe0, %edi
callq 0x8290
movq %rax, 0x8(%rsp)
leaq 0x488(%rsp), %r12
movq %r12, %rdi
leaq 0x10(%rsp), %rsi
callq 0x28186
leaq 0x448(%rsp), %r14
movq %r14, %rdi
leaq 0x58(%rsp), %rsi
callq 0x28186
movq 0x8(%rsp), %rbx
movq %rbx, %rdi
movl $0xc, %esi
movq %r12, %rdx
movq %r14, %rcx
callq 0x24e94
movq 0x50(%rsp), %rax
movq 0x8(%rax), %rax
movq %rbx, (%rax,%r15,8)
movq 0x450(%rsp), %rdi
leaq 0x460(%rsp), %rax
cmpq %rax, %rdi
je 0x3eb56
movq 0x460(%rsp), %rsi
incq %rsi
callq 0x82a0
movq 0x490(%rsp), %rdi
leaq 0x4a0(%rsp), %rax
cmpq %rax, %rdi
je 0x3f108
movq 0x4a0(%rsp), %rsi
jmp 0x3f100
cmpl $0x1, (%r14)
jne 0x3ef39
cmpl $0x1, (%rbp)
leaq 0xa0(%rsp), %rbp
jne 0x3f146
movl 0xc(%rbx), %eax
cltd
idivl 0x4c(%rbx)
leaq 0x10(%rsp), %rdi
movl $0x1, %esi
callq 0x12ade
addq $0x88, %rbx
leaq 0x58(%rsp), %rdi
movq %rbx, %rsi
callq 0x28186
movl $0xe0, %edi
callq 0x8290
movq %rax, 0x8(%rsp)
leaq 0x288(%rsp), %r12
movq %r12, %rdi
leaq 0x10(%rsp), %rsi
callq 0x28186
leaq 0x248(%rsp), %r14
movq %r14, %rdi
leaq 0x58(%rsp), %rsi
callq 0x28186
movq 0x8(%rsp), %rbx
movq %rbx, %rdi
movl $0xc, %esi
movq %r12, %rdx
movq %r14, %rcx
callq 0x24e94
movq 0x50(%rsp), %rax
movq 0x8(%rax), %rax
movq %rbx, (%rax,%r15,8)
movq 0x250(%rsp), %rdi
leaq 0x260(%rsp), %rax
cmpq %rax, %rdi
je 0x3ec45
movq 0x260(%rsp), %rsi
incq %rsi
callq 0x82a0
movq 0x290(%rsp), %rdi
leaq 0x2a0(%rsp), %rax
cmpq %rax, %rdi
je 0x3f108
movq 0x2a0(%rsp), %rsi
jmp 0x3f100
cmpl $0x1, (%r14)
jne 0x3ef39
cmpl $0x1, (%rbp)
leaq 0xa0(%rsp), %rbp
jne 0x3f146
movl 0x4c(%rbx), %edx
imull 0xc(%rbx), %edx
leaq 0x10(%rsp), %rdi
movl $0x1, %esi
callq 0x12ade
addq $0x88, %rbx
leaq 0x58(%rsp), %rdi
movq %rbx, %rsi
callq 0x28186
movl $0xe0, %edi
callq 0x8290
movq %rax, 0x8(%rsp)
leaq 0x388(%rsp), %r12
movq %r12, %rdi
leaq 0x10(%rsp), %rsi
callq 0x28186
leaq 0x348(%rsp), %r14
movq %r14, %rdi
leaq 0x58(%rsp), %rsi
callq 0x28186
movq 0x8(%rsp), %rbx
movq %rbx, %rdi
movl $0xc, %esi
movq %r12, %rdx
movq %r14, %rcx
callq 0x24e94
movq 0x50(%rsp), %rax
movq 0x8(%rax), %rax
movq %rbx, (%rax,%r15,8)
movq 0x350(%rsp), %rdi
leaq 0x360(%rsp), %rax
cmpq %rax, %rdi
je 0x3ed34
movq 0x360(%rsp), %rsi
incq %rsi
callq 0x82a0
movq 0x390(%rsp), %rdi
leaq 0x3a0(%rsp), %rax
cmpq %rax, %rdi
je 0x3f108
movq 0x3a0(%rsp), %rsi
jmp 0x3f100
cmpl $0x1, (%r14)
jne 0x3ef39
cmpl $0x1, (%rbp)
leaq 0xa0(%rsp), %rbp
jne 0x3f146
movl 0xc(%rbx), %eax
cltd
idivl 0x4c(%rbx)
leaq 0x10(%rsp), %rdi
movl $0x1, %esi
movl %eax, %edx
callq 0x12ade
addq $0x88, %rbx
leaq 0x58(%rsp), %rdi
movq %rbx, %rsi
callq 0x28186
movl $0xe0, %edi
callq 0x8290
movq %rax, 0x8(%rsp)
leaq 0x308(%rsp), %r12
movq %r12, %rdi
leaq 0x10(%rsp), %rsi
callq 0x28186
leaq 0x2c8(%rsp), %r14
movq %r14, %rdi
leaq 0x58(%rsp), %rsi
callq 0x28186
movq 0x8(%rsp), %rbx
movq %rbx, %rdi
movl $0xc, %esi
movq %r12, %rdx
movq %r14, %rcx
callq 0x24e94
movq 0x50(%rsp), %rax
movq 0x8(%rax), %rax
movq %rbx, (%rax,%r15,8)
movq 0x2d0(%rsp), %rdi
leaq 0x2e0(%rsp), %rax
cmpq %rax, %rdi
je 0x3ee25
movq 0x2e0(%rsp), %rsi
incq %rsi
callq 0x82a0
movq 0x310(%rsp), %rdi
leaq 0x320(%rsp), %rax
cmpq %rax, %rdi
je 0x3f108
movq 0x320(%rsp), %rsi
jmp 0x3f100
cmpl $0x1, (%r14)
jne 0x3ef39
cmpl $0x1, (%rbp)
leaq 0xa0(%rsp), %rbp
jne 0x3f146
movl 0xc(%rbx), %edx
subl 0x4c(%rbx), %edx
leaq 0x10(%rsp), %rdi
movl $0x1, %esi
callq 0x12ade
addq $0x88, %rbx
leaq 0x58(%rsp), %rdi
movq %rbx, %rsi
callq 0x28186
movl $0xe0, %edi
callq 0x8290
movq %rax, 0x8(%rsp)
leaq 0x408(%rsp), %r12
movq %r12, %rdi
leaq 0x10(%rsp), %rsi
callq 0x28186
leaq 0x3c8(%rsp), %r14
movq %r14, %rdi
leaq 0x58(%rsp), %rsi
callq 0x28186
movq 0x8(%rsp), %rbx
movq %rbx, %rdi
movl $0xc, %esi
movq %r12, %rdx
movq %r14, %rcx
callq 0x24e94
movq 0x50(%rsp), %rax
movq 0x8(%rax), %rax
movq %rbx, (%rax,%r15,8)
movq 0x3d0(%rsp), %rdi
leaq 0x3e0(%rsp), %rax
cmpq %rax, %rdi
je 0x3ef13
movq 0x3e0(%rsp), %rsi
incq %rsi
callq 0x82a0
movq 0x410(%rsp), %rdi
leaq 0x420(%rsp), %rax
cmpq %rax, %rdi
je 0x3f108
movq 0x420(%rsp), %rsi
jmp 0x3f100
leaq 0xa0(%rsp), %rbp
jmp 0x3f146
cmpl $0x1, (%r14)
leaq 0xa0(%rsp), %rbp
jne 0x3f146
xorl %edx, %edx
cmpl $0x0, 0xc(%rbx)
sete %dl
leaq 0x10(%rsp), %rdi
movl $0x1, %esi
callq 0x12ade
addq $0x88, %rbx
leaq 0x58(%rsp), %rdi
movq %rbx, %rsi
callq 0x28186
movl $0xe0, %edi
callq 0x8290
movq %rax, 0x8(%rsp)
leaq 0x208(%rsp), %rbx
movq %rbx, %rdi
leaq 0x10(%rsp), %rsi
callq 0x28186
leaq 0x1c8(%rsp), %r14
movq %r14, %rdi
leaq 0x58(%rsp), %rsi
callq 0x28186
movq 0x8(%rsp), %r12
movq %r12, %rdi
movl $0xc, %esi
movq %rbx, %rdx
movq %r14, %rcx
callq 0x24e94
movq 0x50(%rsp), %rax
movq 0x8(%rax), %rax
movq %r12, (%rax,%r15,8)
movq 0x1d0(%rsp), %rdi
leaq 0x1e0(%rsp), %rax
cmpq %rax, %rdi
je 0x3f007
movq 0x1e0(%rsp), %rsi
incq %rsi
callq 0x82a0
movq 0x210(%rsp), %rdi
leaq 0x220(%rsp), %rax
cmpq %rax, %rdi
je 0x3f108
movq 0x220(%rsp), %rsi
jmp 0x3f100
cmpl $0x1, (%r14)
leaq 0xa0(%rsp), %rbp
jne 0x3f146
xorl %edx, %edx
subl 0xc(%rbx), %edx
leaq 0x10(%rsp), %rdi
movl $0x1, %esi
callq 0x12ade
addq $0x88, %rbx
leaq 0x58(%rsp), %rdi
movq %rbx, %rsi
callq 0x28186
movl $0xe0, %edi
callq 0x8290
movq %rax, %r12
leaq 0x188(%rsp), %rbx
movq %rbx, %rdi
leaq 0x10(%rsp), %rsi
callq 0x28186
leaq 0x148(%rsp), %r14
movq %r14, %rdi
leaq 0x58(%rsp), %rsi
callq 0x28186
movq %r12, %rdi
movl $0xc, %esi
movq %rbx, %rdx
movq %r14, %rcx
callq 0x24e94
movq 0x50(%rsp), %rax
movq 0x8(%rax), %rax
movq %r12, (%rax,%r15,8)
movq 0x150(%rsp), %rdi
leaq 0x160(%rsp), %rax
cmpq %rax, %rdi
je 0x3f0e3
movq 0x160(%rsp), %rsi
incq %rsi
callq 0x82a0
movq 0x190(%rsp), %rdi
leaq 0x1a0(%rsp), %rax
cmpq %rax, %rdi
je 0x3f108
movq 0x1a0(%rsp), %rsi
incq %rsi
callq 0x82a0
movq 0x60(%rsp), %rdi
leaq 0x70(%rsp), %rax
cmpq %rax, %rdi
je 0x3f124
movq 0x70(%rsp), %rsi
incq %rsi
callq 0x82a0
movq 0x18(%rsp), %rdi
leaq 0x28(%rsp), %rax
cmpq %rax, %rdi
je 0x3f140
movq 0x28(%rsp), %rsi
incq %rsi
callq 0x82a0
movb $0x1, %al
movl %eax, 0x8(%rsp)
movq %rbp, %rdi
callq 0x2bb4e
incq %r15
movq 0x50(%rsp), %rdx
movq 0x8(%rdx), %rax
movq 0x10(%rdx), %rcx
subq %rax, %rcx
sarq $0x3, %rcx
addq $0x38, %r13
cmpq %r15, %rcx
ja 0x3e8bf
movq 0x140(%rsp), %rcx
addq $0x8, %rcx
cmpq 0x138(%rsp), %rcx
jne 0x3e89b
movq 0x130(%rsp), %rax
addq $0x8, %rax
cmpq 0x128(%rsp), %rax
jne 0x3e877
movq 0x110(%rsp), %rbx
movl 0x8(%rsp), %r14d
jmp 0x3f1b8
xorl %r14d, %r14d
leaq 0x4ff11(%rip), %rax     # 0x8f0d0
movq %rax, 0xd8(%rsp)
movq 0xe8(%rsp), %rdi
leaq 0xf8(%rsp), %rax
cmpq %rax, %rdi
je 0x3f1ec
movq 0xf8(%rsp), %rsi
incq %rsi
callq 0x82a0
testb $0x1, %r14b
jne 0x3e7f9
addq $0x4c8, %rsp            # imm = 0x4C8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x50de1(%rip), %rdi     # 0x8fff0
leaq 0x2ff52(%rip), %rsi     # 0x6f168
callq 0x8280
leaq 0x334a4(%rip), %rsi     # 0x726c6
movq %rax, %rdi
callq 0x8280
leaq 0x3118f(%rip), %rsi     # 0x703c0
movq %rax, %rdi
callq 0x8280
movq %rax, %rdi
movl $0xb, %esi
callq 0x8520
movq %rax, %rdi
callq 0x8180
movl $0xff, %edi
callq 0x8380
jmp 0x3f590
jmp 0x3f56f
jmp 0x3f54e
movq %rax, %rbx
jmp 0x3f299
jmp 0x3f471
movq %rax, %rbx
movq 0x3d0(%rsp), %rdi
leaq 0x3e0(%rsp), %rax
cmpq %rax, %rdi
je 0x3f299
movq 0x3e0(%rsp), %rsi
incq %rsi
callq 0x82a0
movq 0x410(%rsp), %rdi
leaq 0x420(%rsp), %rax
cmpq %rax, %rdi
je 0x3f52e
movq 0x420(%rsp), %rsi
jmp 0x3f526
movq %rax, %rbx
jmp 0x3f2f1
jmp 0x3f595
movq %rax, %rbx
movq 0x450(%rsp), %rdi
leaq 0x460(%rsp), %rax
cmpq %rax, %rdi
je 0x3f2f1
movq 0x460(%rsp), %rsi
incq %rsi
callq 0x82a0
movq 0x490(%rsp), %rdi
leaq 0x4a0(%rsp), %rax
cmpq %rax, %rdi
je 0x3f52e
movq 0x4a0(%rsp), %rsi
jmp 0x3f526
jmp 0x3f54e
jmp 0x3f56f
movq %rax, %rbx
jmp 0x3f362
jmp 0x3f471
jmp 0x3f471
jmp 0x3f595
jmp 0x3f54e
movq %rax, %rbx
movq 0x350(%rsp), %rdi
leaq 0x360(%rsp), %rax
cmpq %rax, %rdi
je 0x3f362
movq 0x360(%rsp), %rsi
incq %rsi
callq 0x82a0
movq 0x390(%rsp), %rdi
leaq 0x3a0(%rsp), %rax
cmpq %rax, %rdi
je 0x3f52e
movq 0x3a0(%rsp), %rsi
jmp 0x3f526
jmp 0x3f56f
movq %rax, %rbx
jmp 0x3f3d3
jmp 0x3f595
jmp 0x3f54e
jmp 0x3f471
jmp 0x3f595
jmp 0x3f56f
movq %rax, %rbx
movq 0x250(%rsp), %rdi
leaq 0x260(%rsp), %rax
cmpq %rax, %rdi
je 0x3f3d3
movq 0x260(%rsp), %rsi
incq %rsi
callq 0x82a0
movq 0x290(%rsp), %rdi
leaq 0x2a0(%rsp), %rax
cmpq %rax, %rdi
je 0x3f52e
movq 0x2a0(%rsp), %rsi
jmp 0x3f526
jmp 0x3f56f
movq %rax, %rbx
jmp 0x3f437
jmp 0x3f595
jmp 0x3f471
jmp 0x3f54e
movq %rax, %rbx
movq 0x2d0(%rsp), %rdi
leaq 0x2e0(%rsp), %rax
cmpq %rax, %rdi
je 0x3f437
movq 0x2e0(%rsp), %rsi
incq %rsi
callq 0x82a0
movq 0x310(%rsp), %rdi
leaq 0x320(%rsp), %rax
cmpq %rax, %rdi
je 0x3f52e
movq 0x320(%rsp), %rsi
jmp 0x3f526
jmp 0x3f45f
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0x2bade
jmp 0x3f598
movq %rax, %rbx
jmp 0x3f52e
jmp 0x3f54e
jmp 0x3f56f
jmp 0x3f595
movq %rax, %rbx
movq 0x150(%rsp), %rdi
leaq 0x160(%rsp), %rax
cmpq %rax, %rdi
je 0x3f4b5
movq 0x160(%rsp), %rsi
incq %rsi
callq 0x82a0
jmp 0x3f4b5
movq %rax, %rbx
movq 0x190(%rsp), %rdi
leaq 0x1a0(%rsp), %rax
cmpq %rax, %rdi
je 0x3f53f
movq 0x1a0(%rsp), %rsi
incq %rsi
callq 0x82a0
jmp 0x3f53f
movq %rax, %rbx
movq 0x1d0(%rsp), %rdi
leaq 0x1e0(%rsp), %rax
cmpq %rax, %rdi
je 0x3f509
movq 0x1e0(%rsp), %rsi
incq %rsi
callq 0x82a0
jmp 0x3f509
movq %rax, %rbx
movq 0x210(%rsp), %rdi
leaq 0x220(%rsp), %rax
cmpq %rax, %rdi
je 0x3f52e
movq 0x220(%rsp), %rsi
incq %rsi
callq 0x82a0
movl $0xe0, %esi
movq 0x8(%rsp), %rdi
jmp 0x3f547
jmp 0x3f595
movq %rax, %rbx
movl $0xe0, %esi
movq %r12, %rdi
callq 0x82a0
jmp 0x3f551
movq %rax, %rbx
movq 0x60(%rsp), %rdi
leaq 0x70(%rsp), %rax
cmpq %rax, %rdi
je 0x3f572
movq 0x70(%rsp), %rsi
incq %rsi
callq 0x82a0
jmp 0x3f572
movq %rax, %rbx
movq 0x18(%rsp), %rdi
leaq 0x28(%rsp), %rax
cmpq %rax, %rdi
je 0x3f598
movq 0x28(%rsp), %rsi
incq %rsi
callq 0x82a0
jmp 0x3f598
movq %rax, %rbx
jmp 0x3f5a5
movq %rax, %rbx
leaq 0xa0(%rsp), %rdi
callq 0x2bb4e
leaq 0x4fb24(%rip), %rax     # 0x8f0d0
movq %rax, 0xd8(%rsp)
movq 0xe8(%rsp), %rdi
leaq 0xf8(%rsp), %rax
cmpq %rax, %rdi
je 0x3f5d9
movq 0xf8(%rsp), %rsi
incq %rsi
callq 0x82a0
movq %rbx, %rdi
callq 0x8540
nop