// File: /workspace/github_cpp_makefile_star2_O3/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 0x645d8(%rip), %rdx     # 0x6e1c9
leaq 0x48(%rsp), %rdi
movq %rdx, %rsi
callq 0xc772
movl (%r14), %eax
cmpq $0x4, %rax
ja 0x9f5c
leaq 0x64412(%rip), %rcx     # 0x6e024
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
leaq 0x6455b(%rip), %rcx     # 0x6e17d
jmp 0x9c5f
leaq 0x10(%rbx), %rax
movq %rax, (%rbx)
leaq 0x64557(%rip), %rsi     # 0x6e189
leaq 0x64553(%rip), %rdx     # 0x6e18c
movq %rbx, %rdi
callq 0xc772
jmp 0x9f33
leaq 0x64538(%rip), %rcx     # 0x6e185
jmp 0x9c5f
leaq 0x663e9(%rip), %rcx     # 0x7003f
jmp 0x9c5f
leaq 0x64522(%rip), %rcx     # 0x6e181
leaq 0x48(%rsp), %rdi
movq 0x8(%rdi), %rdx
movl $0x3, %r8d
xorl %esi, %esi
callq 0x8490
cmpb $0x1, 0x4(%r14)
jne 0x9d1c
leaq 0x18(%rsp), %r13
movq %r13, -0x10(%r13)
movq 0x48(%rsp), %rsi
movq 0x50(%rsp), %rdx
addq %rsi, %rdx
leaq 0x8(%rsp), %rdi
callq 0xc6dc
leaq 0x6454a(%rip), %rsi     # 0x6e1f1
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 0x9e32
movl $0x4, %r15d
movl $0xd1b71759, %eax       # imm = 0xD1B71759
movl %ebp, %ecx
cmpl $0x63, %ecx
jbe 0x9e29
cmpl $0x3e7, %ecx            # imm = 0x3E7
jbe 0x9e2f
cmpl $0x2710, %ecx           # imm = 0x2710
jb 0x9e32
movl %ecx, %edx
imulq %rax, %rdx
shrq $0x2d, %rdx
addl $0x4, %r15d
cmpl $0x1869f, %ecx          # imm = 0x1869F
movl %edx, %ecx
ja 0x9cda
addl $-0x3, %r15d
jmp 0x9e32
leaq 0x18(%rsp), %r15
movq %r15, -0x10(%r15)
movq 0x48(%rsp), %rsi
movq 0x50(%rsp), %rdx
addq %rsi, %rdx
leaq 0x8(%rsp), %rdi
callq 0xc6dc
leaq 0x6466f(%rip), %rsi     # 0x6e3b2
leaq 0x8(%rsp), %rdi
callq 0x8590
movq 0x10(%r14), %rsi
leaq 0x28(%rsp), %rdi
callq 0xc0f8
movq 0x8(%rsp), %rcx
movq 0x10(%rsp), %r8
movq 0x30(%rsp), %rdx
leaq (%rdx,%r8), %rax
movl $0xf, %edi
cmpq %r15, %rcx
je 0x9d7d
movq 0x18(%rsp), %rdi
movq 0x28(%rsp), %rsi
cmpq %rdi, %rax
jbe 0x9da0
leaq 0x38(%rsp), %r9
movl $0xf, %edi
cmpq %r9, %rsi
je 0x9d9b
movq 0x38(%rsp), %rdi
cmpq %rdi, %rax
jbe 0x9dac
leaq 0x8(%rsp), %rdi
callq 0x8120
jmp 0x9dba
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 0x9dd9
movq %rsi, (%rbx)
movq (%rcx), %rdx
movq %rdx, 0x10(%rbx)
jmp 0x9ddf
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 0x9e16
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x82a0
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
jne 0x9f26
jmp 0x9f33
addl $-0x2, %r15d
jmp 0x9e32
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 0xc35d
movq 0x8(%rsp), %rcx
movq 0x10(%rsp), %r8
movq 0x30(%rsp), %rdx
leaq (%rdx,%r8), %rax
movl $0xf, %edi
cmpq %r13, %rcx
je 0x9e87
movq 0x18(%rsp), %rdi
movq 0x28(%rsp), %rsi
cmpq %rdi, %rax
jbe 0x9ea5
movl $0xf, %edi
cmpq %r12, %rsi
je 0x9ea0
movq 0x38(%rsp), %rdi
cmpq %rdi, %rax
jbe 0x9eb1
leaq 0x8(%rsp), %rdi
callq 0x8120
jmp 0x9ebf
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 0x9ede
movq %rsi, (%rbx)
movq (%rcx), %rdx
movq %rdx, 0x10(%rbx)
jmp 0x9ee4
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 0x9f17
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x82a0
movq 0x8(%rsp), %rdi
cmpq %r13, %rdi
leaq 0x58(%rsp), %r12
je 0x9f33
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x82a0
movq 0x48(%rsp), %rdi
cmpq %r12, %rdi
je 0x9f4a
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 0x85085(%rip), %rdi     # 0x8efe8
leaq 0x641fe(%rip), %rsi     # 0x6e168
movl $0x8, %edx
callq 0x8330
movq 0x8506d(%rip), %rdi     # 0x8efe8
leaq 0x641ef(%rip), %rsi     # 0x6e171
movl $0xb, %edx
callq 0x8330
movq 0x85055(%rip), %rdi     # 0x8efe8
leaq 0x65426(%rip), %rsi     # 0x6f3c0
movl $0x1, %edx
callq 0x8330
movq 0x8503d(%rip), %rdi     # 0x8efe8
movl $0x4b, %esi
callq 0x8520
movq %rax, %rdi
callq 0x8180
movl $0xff, %edi
callq 0x8380
jmp 0xa038
movq %rax, %rbx
movq 0x28(%rsp), %rdi
cmpq %r12, %rdi
je 0xa01b
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x82a0
jmp 0xa01b
movq %rax, %rbx
leaq 0x38(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xa00c
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x82a0
jmp 0xa00c
jmp 0xa018
jmp 0xa009
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
jne 0xa025
jmp 0xa03b
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r13, %rdi
je 0xa03b
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x82a0
jmp 0xa03b
jmp 0xa038
jmp 0xa038
movq %rax, %rbx
movq 0x48(%rsp), %rdi
leaq 0x58(%rsp), %rax
cmpq %rax, %rdi
je 0xa057
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x82a0
movq %rbx, %rdi
callq 0x8540
nop