// File: /workspace/github_cpp_makefile_star2_O1/luooofan[P]hblzbd_compiler/src/arm.cpp
// Function: ZN3arm5ShiftcvNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEv
Shift::operator std::string() {
  std::string opcode = "";
  switch (opcode_) {
    case OpCode::ASR:
      opcode = "asr";
      break;
    case OpCode::LSL:
      opcode = "lsl";
      break;
    case OpCode::LSR:
      opcode = "lsr";
      break;
    case OpCode::ROR:
      opcode = "ror";
      break;
    case OpCode::RRX:
      return "rrx";
    default:
      MyAssert(0);
      break;
  }
  if (is_imm_) {
    return opcode + " #" + std::to_string(shift_imm_);
  } else {
    return opcode + " " + std::string(*shift_reg_);
  }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x68, %rsp
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x58(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x65378(%rip), %rdx     # 0x6f1c9
leaq 0x48(%rsp), %rdi
movq %rdx, %rsi
callq 0xcaa0
movl (%r14), %eax
cmpq $0x4, %rax
ja 0xa1bf
leaq 0x651b2(%rip), %rcx     # 0x6f024
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
leaq 0x652fb(%rip), %rcx     # 0x6f17d
jmp 0x9ebf
leaq 0x10(%rbx), %rax
movq %rax, (%rbx)
leaq 0x652f7(%rip), %rsi     # 0x6f189
leaq 0x652f3(%rip), %rdx     # 0x6f18c
movq %rbx, %rdi
callq 0xcaa0
jmp 0xa196
leaq 0x652d8(%rip), %rcx     # 0x6f185
jmp 0x9ebf
leaq 0x6718f(%rip), %rcx     # 0x71045
jmp 0x9ebf
leaq 0x652c2(%rip), %rcx     # 0x6f181
leaq 0x48(%rsp), %rdi
movq 0x8(%rdi), %rdx
movl $0x3, %r8d
xorl %esi, %esi
callq 0x8490
cmpb $0x1, 0x4(%r14)
jne 0x9f7c
leaq 0x18(%rsp), %r13
movq %r13, -0x10(%r13)
movq 0x48(%rsp), %rsi
movq 0x50(%rsp), %rdx
addq %rsi, %rdx
leaq 0x8(%rsp), %rdi
callq 0xca10
leaq 0x652ea(%rip), %rsi     # 0x6f1f1
leaq 0x8(%rsp), %rdi
callq 0x8590
movl 0x8(%r14), %r14d
movl %r14d, %ebp
negl %ebp
cmovsl %r14d, %ebp
movl $0x1, %r15d
cmpl $0xa, %ebp
jb 0xa093
movl $0x4, %r15d
movl $0xd1b71759, %eax       # imm = 0xD1B71759
movl %ebp, %ecx
cmpl $0x63, %ecx
jbe 0xa08a
cmpl $0x3e7, %ecx            # imm = 0x3E7
jbe 0xa090
cmpl $0x2710, %ecx           # imm = 0x2710
jb 0xa093
movl %ecx, %edx
imulq %rax, %rdx
shrq $0x2d, %rdx
addl $0x4, %r15d
cmpl $0x1869f, %ecx          # imm = 0x1869F
movl %edx, %ecx
ja 0x9f3a
addl $-0x3, %r15d
jmp 0xa093
leaq 0x18(%rsp), %r15
movq %r15, -0x10(%r15)
movq 0x48(%rsp), %rsi
movq 0x50(%rsp), %rdx
addq %rsi, %rdx
leaq 0x8(%rsp), %rdi
callq 0xca10
leaq 0x6540f(%rip), %rsi     # 0x6f3b2
leaq 0x8(%rsp), %rdi
callq 0x8590
movq 0x10(%r14), %rsi
leaq 0x28(%rsp), %rdi
callq 0xc3f6
movq 0x8(%rsp), %rcx
movq 0x10(%rsp), %r8
movq 0x30(%rsp), %rdx
leaq (%rdx,%r8), %rax
movl $0xf, %esi
cmpq %r15, %rcx
je 0x9fdd
movq 0x18(%rsp), %rsi
cmpq %rsi, %rax
jbe 0x9ffc
leaq 0x38(%rsp), %rdi
movl $0xf, %esi
cmpq %rdi, -0x10(%rdi)
je 0x9ff7
movq 0x38(%rsp), %rsi
cmpq %rsi, %rax
jbe 0xa00d
movq 0x28(%rsp), %rsi
leaq 0x8(%rsp), %rdi
callq 0x8120
jmp 0xa01b
leaq 0x28(%rsp), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x8310
leaq 0x10(%rbx), %rdx
movq %rdx, (%rbx)
movq (%rax), %rsi
leaq 0x10(%rax), %rcx
cmpq %rcx, %rsi
je 0xa03a
movq %rsi, (%rbx)
movq (%rcx), %rdx
movq %rdx, 0x10(%rbx)
jmp 0xa040
movups (%rcx), %xmm0
movups %xmm0, (%rdx)
movq %rax, %rdx
addq $0x8, %rdx
movq 0x8(%rax), %rsi
movq %rsi, 0x8(%rbx)
movq %rcx, (%rax)
movq $0x0, (%rdx)
movb $0x0, (%rcx)
leaq 0x38(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xa077
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x82a0
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
jne 0xa189
jmp 0xa196
addl $-0x2, %r15d
jmp 0xa093
decl %r15d
shrl $0x1f, %r14d
leal (%r15,%r14), %esi
leaq 0x38(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x28(%rsp), %rdi
movl $0x2d, %edx
callq 0x8350
addq 0x28(%rsp), %r14
movq %r14, %rdi
movl %r15d, %esi
movl %ebp, %edx
callq 0xc65b
movq 0x8(%rsp), %rcx
movq 0x10(%rsp), %r8
movq 0x30(%rsp), %rdx
leaq (%rdx,%r8), %rax
movl $0xf, %esi
cmpq %r13, %rcx
je 0xa0e8
movq 0x18(%rsp), %rsi
cmpq %rsi, %rax
jbe 0xa103
movl $0xf, %esi
cmpq %r12, 0x28(%rsp)
je 0xa0fe
movq 0x38(%rsp), %rsi
cmpq %rsi, %rax
jbe 0xa114
movq 0x28(%rsp), %rsi
leaq 0x8(%rsp), %rdi
callq 0x8120
jmp 0xa122
leaq 0x28(%rsp), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x8310
leaq 0x10(%rbx), %rdx
movq %rdx, (%rbx)
movq (%rax), %rsi
leaq 0x10(%rax), %rcx
cmpq %rcx, %rsi
je 0xa141
movq %rsi, (%rbx)
movq (%rcx), %rdx
movq %rdx, 0x10(%rbx)
jmp 0xa147
movups (%rcx), %xmm0
movups %xmm0, (%rdx)
movq %rax, %rdx
addq $0x8, %rdx
movq 0x8(%rax), %rsi
movq %rsi, 0x8(%rbx)
movq %rcx, (%rax)
movq $0x0, (%rdx)
movb $0x0, (%rcx)
movq 0x28(%rsp), %rdi
cmpq %r12, %rdi
je 0xa17a
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x82a0
movq 0x8(%rsp), %rdi
cmpq %r13, %rdi
leaq 0x58(%rsp), %r12
je 0xa196
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x82a0
movq 0x48(%rsp), %rdi
cmpq %r12, %rdi
je 0xa1ad
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x82a0
movq %rbx, %rax
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x85e2a(%rip), %rdi     # 0x8fff0
leaq 0x64f9b(%rip), %rsi     # 0x6f168
movl $0x8, %edx
callq 0x8330
movq 0x85e12(%rip), %rdi     # 0x8fff0
leaq 0x64f8c(%rip), %rsi     # 0x6f171
movl $0xb, %edx
callq 0x8330
movq 0x85dfa(%rip), %rdi     # 0x8fff0
leaq 0x661c3(%rip), %rsi     # 0x703c0
movl $0x1, %edx
callq 0x8330
movq 0x85de2(%rip), %rdi     # 0x8fff0
movl $0x4b, %esi
callq 0x8520
movq %rax, %rdi
callq 0x8180
movl $0xff, %edi
callq 0x8380
jmp 0xa29b
movq %rax, %rbx
movq 0x28(%rsp), %rdi
cmpq %r12, %rdi
je 0xa27e
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x82a0
jmp 0xa27e
movq %rax, %rbx
leaq 0x38(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xa26f
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x82a0
jmp 0xa26f
jmp 0xa27b
jmp 0xa26c
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
jne 0xa288
jmp 0xa29e
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r13, %rdi
je 0xa29e
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x82a0
jmp 0xa29e
jmp 0xa29b
jmp 0xa29b
movq %rax, %rbx
movq 0x48(%rsp), %rdi
leaq 0x58(%rsp), %rax
cmpq %rax, %rdi
je 0xa2ba
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x82a0
movq %rbx, %rdi
callq 0x8540