// File: /workspace/github_cpp_makefile_star2_O3/luooofan[P]hblzbd_compiler/src/Pass/loop_unroll.cpp
// Function: find_loop(std::pair<IRBasicBlock*, IRBasicBlock*>)
vector<IRBasicBlock*> find_loop(pair<IRBasicBlock*, IRBasicBlock*> edge) {
  auto &u = edge.first, v = edge.second;
  vector<IRBasicBlock*> res;
  res.push_back(v);
  if (u == v) return res;
  queue<IRBasicBlock*> q;
  q.push(u);
  while (!q.empty()) {
    auto x = q.front();
    q.pop();
    if (have(x, res)) continue;
    res.push_back(x);
    for (auto& pre : x->pred_) q.push(pre);
  }
  return res;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x98, %rsp
movq %rdi, %rbx
movq %rsi, 0x10(%rsp)
movq %rdx, 0x18(%rsp)
leaq 0x78(%rsp), %rax
movq %rdx, (%rax)
xorps %xmm0, %xmm0
movups %xmm0, (%rdi)
movq $0x0, 0x10(%rdi)
xorl %esi, %esi
movq %rax, %rdx
callq 0x117de
movq 0x10(%rsp), %rax
cmpq 0x78(%rsp), %rax
je 0x63eda
xorps %xmm0, %xmm0
leaq 0x20(%rsp), %rdi
movaps %xmm0, 0x40(%rdi)
movaps %xmm0, 0x30(%rdi)
movaps %xmm0, 0x20(%rdi)
movaps %xmm0, 0x10(%rdi)
movaps %xmm0, (%rdi)
xorl %esi, %esi
callq 0x45a7c
movq 0x50(%rsp), %rax
movq 0x60(%rsp), %rcx
addq $-0x8, %rcx
cmpq %rcx, %rax
je 0x63d71
movq 0x10(%rsp), %rcx
movq %rcx, (%rax)
movq 0x50(%rsp), %rcx
addq $0x8, %rcx
movq %rcx, 0x50(%rsp)
jmp 0x63d85
leaq 0x20(%rsp), %rdi
leaq 0x10(%rsp), %rsi
callq 0x46eb4
movq 0x50(%rsp), %rcx
movq 0x30(%rsp), %rax
cmpq %rax, %rcx
je 0x63ed0
leaq 0x80(%rsp), %r14
leaq 0x8(%rsp), %r15
leaq 0x20(%rsp), %r12
movq (%rax), %r13
movq %r13, 0x8(%rsp)
movq 0x40(%rsp), %rcx
addq $-0x8, %rcx
cmpq %rcx, %rax
je 0x63dc1
addq $0x8, %rax
jmp 0x63df8
movq 0x38(%rsp), %rdi
movl $0x200, %esi            # imm = 0x200
callq 0x82a0
movq 0x48(%rsp), %rax
leaq 0x8(%rax), %rcx
movq %rcx, 0x48(%rsp)
movq 0x8(%rax), %rax
movq %rax, 0x38(%rsp)
leaq 0x200(%rax), %rcx
movq %rcx, 0x40(%rsp)
movq 0x8(%rsp), %r13
movq %rax, 0x30(%rsp)
movq %r14, %rdi
movq %rbx, %rsi
callq 0x67e6a
movq 0x80(%rsp), %rdi
movq 0x88(%rsp), %rax
cmpq %rax, %rdi
je 0x63e39
leaq 0x8(%rdi), %rcx
cmpq %r13, -0x8(%rcx)
sete %bpl
je 0x63e3b
leaq 0x8(%rcx), %rdx
cmpq %rax, %rcx
movq %rdx, %rcx
jne 0x63e21
jmp 0x63e3b
xorl %ebp, %ebp
testq %rdi, %rdi
je 0x63e50
movq 0x90(%rsp), %rsi
subq %rdi, %rsi
callq 0x82a0
testb %bpl, %bpl
je 0x63e67
movq 0x30(%rsp), %rax
cmpq %rax, 0x50(%rsp)
jne 0x63da5
jmp 0x63ed0
movq 0x8(%rbx), %rsi
cmpq 0x10(%rbx), %rsi
je 0x63e80
movq 0x8(%rsp), %rax
movq %rax, (%rsi)
addq $0x8, 0x8(%rbx)
jmp 0x63e90
movq %rbx, %rdi
movq %r15, %rdx
callq 0x117de
movq 0x8(%rsp), %rax
movq 0x28(%rax), %r13
movq 0x30(%rax), %rbp
cmpq %rbp, %r13
je 0x63e55
movq 0x50(%rsp), %rax
movq 0x60(%rsp), %rcx
addq $-0x8, %rcx
cmpq %rcx, %rax
je 0x63ebf
movq (%r13), %rcx
movq %rcx, (%rax)
addq $0x8, 0x50(%rsp)
jmp 0x63eca
movq %r12, %rdi
movq %r13, %rsi
callq 0x46eb4
addq $0x8, %r13
jmp 0x63e98
leaq 0x20(%rsp), %rdi
callq 0x46e5c
movq %rbx, %rax
addq $0x98, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x63efa
jmp 0x63ef3
movq %rax, %r14
jmp 0x63f07
jmp 0x63efa
movq %rax, %r14
leaq 0x20(%rsp), %rdi
callq 0x46e5c
movq (%rbx), %rdi
testq %rdi, %rdi
je 0x63f1b
movq 0x10(%rbx), %rsi
subq %rdi, %rsi
callq 0x82a0
movq %r14, %rdi
callq 0x8540