// File: /workspace/github_cpp_makefile_star2_O2/luooofan[P]hblzbd_compiler/src/ir.cpp
// Function: ZN2ir3OpncvNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEv
Opn::operator std::string() {
  switch (type_) {
    case Type::Var: {
      if (scope_id_ == 0) return name_;
      auto ret = scope_id_ == -1 ? name_ : name_ + "." + std::to_string(scope_id_);
      return ssa_id_ == -1 ? ret : ret + "." + std::to_string(ssa_id_);
    }
    case Type::Array: {
      auto ret = scope_id_ == -1 ? name_ : name_ + "." + std::to_string(scope_id_);
      ret += (ssa_id_ == -1 ? "" : "." + std::to_string(ssa_id_));
      if (scope_id_ == 0) ret = name_;
      return nullptr == offset_ ? ret : ret + "[" + std::string(*offset_) + "]";
    }
    default: {
      return name_;
    }
  }
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
subq $0xa0, %rsp
movq %rsi, %r14
movq %rdi, %rbx
movl (%rsi), %eax
cmpl $0x5, %eax
je 0x1de55
testl %eax, %eax
jne 0x1de41
movl 0x28(%r14), %eax
testl %eax, %eax
je 0x1de41
leaq 0x8(%r14), %rsi
cmpl $-0x1, %eax
je 0x1dfa9
leaq 0x3b92a(%rip), %rdx     # 0x5972c
movq %rsp, %rdi
callq 0xa334
movl 0x28(%r14), %esi
leaq 0x20(%rsp), %rdi
callq 0xa36c
leaq 0x40(%rsp), %rdi
movq %rsp, %rsi
leaq 0x20(%rsp), %rdx
callq 0xa2cd
leaq 0x20(%rsp), %rdi
callq 0x8578
movq %rsp, %rdi
callq 0x8578
jmp 0x1dfb3
addq $0x8, %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0x8390
jmp 0x1e008
cmpl $-0x1, 0x28(%r14)
je 0x1dea3
leaq 0x8(%r14), %rsi
leaq 0x3b8c5(%rip), %rdx     # 0x5972c
movq %rsp, %rdi
callq 0xa334
movl 0x28(%r14), %esi
leaq 0x20(%rsp), %rdi
callq 0xa36c
leaq 0x40(%rsp), %rdi
movq %rsp, %rsi
leaq 0x20(%rsp), %rdx
callq 0xa2cd
leaq 0x20(%rsp), %rdi
callq 0x8578
movq %rsp, %rdi
callq 0x8578
jmp 0x1deb1
leaq 0x8(%r14), %rsi
leaq 0x40(%rsp), %rdi
callq 0x8390
movl 0x38(%r14), %ebp
cmpl $-0x1, %ebp
je 0x1dedc
leaq 0x20(%rsp), %rdi
movl %ebp, %esi
callq 0xa36c
leaq 0x3b85f(%rip), %rsi     # 0x5972c
movq %rsp, %rdi
leaq 0x20(%rsp), %rdx
callq 0xa41c
jmp 0x1def0
leaq 0x38266(%rip), %rsi     # 0x56149
movq %rsp, %rdi
leaq 0x20(%rsp), %rdx
callq 0xa292
leaq 0x40(%rsp), %rdi
movq %rsp, %rsi
callq 0x8550
movq %rsp, %rdi
callq 0x8578
cmpl $-0x1, %ebp
je 0x1df14
leaq 0x20(%rsp), %rdi
callq 0x8578
cmpl $0x0, 0x28(%r14)
jne 0x1df29
leaq 0x8(%r14), %rsi
leaq 0x40(%rsp), %rdi
callq 0x81a0
cmpq $0x0, 0x30(%r14)
je 0x1df9a
leaq 0x38222(%rip), %rdx     # 0x56159
leaq 0x80(%rsp), %rdi
leaq 0x40(%rsp), %rsi
callq 0xa334
movq 0x30(%r14), %rsi
leaq 0x60(%rsp), %rdi
callq 0x1ddca
movq %rsp, %rdi
leaq 0x80(%rsp), %rsi
leaq 0x60(%rsp), %rdx
callq 0xa2cd
leaq 0x392b5(%rip), %rdx     # 0x57228
movq %rsp, %rsi
movq %rbx, %rdi
callq 0xa440
movq %rsp, %rdi
callq 0x8578
leaq 0x60(%rsp), %rdi
callq 0x8578
leaq 0x80(%rsp), %rdi
jmp 0x1dff9
leaq 0x40(%rsp), %rsi
movq %rbx, %rdi
callq 0x8390
jmp 0x1dffe
leaq 0x40(%rsp), %rdi
callq 0x8390
cmpl $-0x1, 0x38(%r14)
je 0x1e017
leaq 0x3b76b(%rip), %rdx     # 0x5972c
movq %rsp, %rdi
leaq 0x40(%rsp), %rsi
callq 0xa334
movl 0x38(%r14), %esi
leaq 0x20(%rsp), %rdi
callq 0xa36c
movq %rsp, %rsi
leaq 0x20(%rsp), %rdx
movq %rbx, %rdi
callq 0xa2cd
leaq 0x20(%rsp), %rdi
callq 0x8578
movq %rsp, %rdi
callq 0x8578
leaq 0x40(%rsp), %rdi
callq 0x8578
movq %rbx, %rax
addq $0xa0, %rsp
popq %rbx
popq %r14
popq %rbp
retq
leaq 0x40(%rsp), %rsi
movq %rbx, %rdi
callq 0x8390
jmp 0x1dffe
jmp 0x1e090
jmp 0x1e090
movq %rax, %rbx
leaq 0x20(%rsp), %rdi
callq 0x8578
jmp 0x1e03c
movq %rax, %rbx
movq %rsp, %rdi
jmp 0x1e0aa
jmp 0x1e090
jmp 0x1e079
jmp 0x1e088
movq %rax, %rbx
movq %rsp, %rdi
callq 0x8578
jmp 0x1e057
movq %rax, %rbx
leaq 0x60(%rsp), %rdi
callq 0x8578
jmp 0x1e066
movq %rax, %rbx
leaq 0x80(%rsp), %rdi
jmp 0x1e0aa
jmp 0x1e090
movq %rax, %rbx
jmp 0x1e0a5
jmp 0x1e090
movq %rax, %rbx
leaq 0x20(%rsp), %rdi
callq 0x8578
jmp 0x1e08b
movq %rax, %rbx
movq %rsp, %rdi
jmp 0x1e0b4
movq %rax, %rbx
jmp 0x1e0af
movq %rax, %rbx
movq %rsp, %rdi
callq 0x8578
cmpl $-0x1, %ebp
je 0x1e0af
leaq 0x20(%rsp), %rdi
callq 0x8578
leaq 0x40(%rsp), %rdi
callq 0x8578
movq %rbx, %rdi
callq 0x84d0
nop