// File: /workspace/github_c_makefile_star2_O0/buptlxb[P]xRay/disasm/instr_set/opcodes_Grp2.c
// Function: G2_EvIb
void __bea_callspec__ G2_EvIb(PDISASM pMyDisasm)
{
    GV.REGOPCODE = ((*((UInt8*)(UIntPtr) (GV.EIP_+1))) >> 3) & 0x7;
    EvIb(pMyDisasm);
    if (GV.REGOPCODE == 0) {
        (*pMyDisasm).Instruction.Category = GENERAL_PURPOSE_INSTRUCTION+SHIFT_ROTATE;
        #ifndef BEA_LIGHT_DISASSEMBLY
           (void) strcpy ((*pMyDisasm).Instruction.Mnemonic, "rol ");
        #endif
        FillFlags(pMyDisasm, 88);
    }
    else if (GV.REGOPCODE == 1) {
        (*pMyDisasm).Instruction.Category = GENERAL_PURPOSE_INSTRUCTION+SHIFT_ROTATE;
        #ifndef BEA_LIGHT_DISASSEMBLY
           (void) strcpy ((*pMyDisasm).Instruction.Mnemonic, "ror ");
        #endif
        FillFlags(pMyDisasm, 88);
    }
    else if (GV.REGOPCODE == 2) {
        (*pMyDisasm).Instruction.Category = GENERAL_PURPOSE_INSTRUCTION+SHIFT_ROTATE;
        #ifndef BEA_LIGHT_DISASSEMBLY
           (void) strcpy ((*pMyDisasm).Instruction.Mnemonic, "rcl ");
        #endif
        FillFlags(pMyDisasm, 81);
    }
    else if (GV.REGOPCODE == 3) {
        (*pMyDisasm).Instruction.Category = GENERAL_PURPOSE_INSTRUCTION+SHIFT_ROTATE;
        #ifndef BEA_LIGHT_DISASSEMBLY
           (void) strcpy ((*pMyDisasm).Instruction.Mnemonic, "rcr ");
        #endif
        FillFlags(pMyDisasm, 81);
    }
    else if (GV.REGOPCODE == 4) {
        (*pMyDisasm).Instruction.Category = GENERAL_PURPOSE_INSTRUCTION+SHIFT_ROTATE;
        #ifndef BEA_LIGHT_DISASSEMBLY
           (void) strcpy ((*pMyDisasm).Instruction.Mnemonic, "shl ");
        #endif
        FillFlags(pMyDisasm, 92);
    }
    else if (GV.REGOPCODE == 5) {
        (*pMyDisasm).Instruction.Category = GENERAL_PURPOSE_INSTRUCTION+SHIFT_ROTATE;
        #ifndef BEA_LIGHT_DISASSEMBLY
           (void) strcpy ((*pMyDisasm).Instruction.Mnemonic, "shr ");
        #endif
        FillFlags(pMyDisasm, 92);
    }
    else if (GV.REGOPCODE == 6) {
        (*pMyDisasm).Instruction.Category = GENERAL_PURPOSE_INSTRUCTION+SHIFT_ROTATE;
        #ifndef BEA_LIGHT_DISASSEMBLY
           (void) strcpy ((*pMyDisasm).Instruction.Mnemonic, "sal ");
        #endif
        FillFlags(pMyDisasm, 92);
    }
    else if (GV.REGOPCODE == 7) {
        (*pMyDisasm).Instruction.Category = GENERAL_PURPOSE_INSTRUCTION+SHIFT_ROTATE;
        #ifndef BEA_LIGHT_DISASSEMBLY
           (void) strcpy ((*pMyDisasm).Instruction.Mnemonic, "sar ");
        #endif
        FillFlags(pMyDisasm, 92);
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq 0x1f0(%rax), %rax
movzbl 0x1(%rax), %ecx
sarl $0x3, %ecx
andl $0x7, %ecx
movq -0x8(%rbp), %rax
movl %ecx, 0x240(%rax)
movq -0x8(%rbp), %rdi
callq 0x4e7d0
movq -0x8(%rbp), %rax
cmpl $0x0, 0x240(%rax)
jne 0x255c7
movq -0x8(%rbp), %rax
movl $0x10004, 0x60(%rax)    # imm = 0x10004
movq -0x8(%rbp), %rdi
addq $0x60, %rdi
addq $0x8, %rdi
leaq 0x2c31e(%rip), %rsi     # 0x518cd
callq 0x81c0
movq -0x8(%rbp), %rdi
movl $0x58, %esi
callq 0x4d560
jmp 0x257a2
movq -0x8(%rbp), %rax
cmpl $0x1, 0x240(%rax)
jne 0x2560a
movq -0x8(%rbp), %rax
movl $0x10004, 0x60(%rax)    # imm = 0x10004
movq -0x8(%rbp), %rdi
addq $0x60, %rdi
addq $0x8, %rdi
leaq 0x2c2e0(%rip), %rsi     # 0x518d2
callq 0x81c0
movq -0x8(%rbp), %rdi
movl $0x58, %esi
callq 0x4d560
jmp 0x257a0
movq -0x8(%rbp), %rax
cmpl $0x2, 0x240(%rax)
jne 0x2564d
movq -0x8(%rbp), %rax
movl $0x10004, 0x60(%rax)    # imm = 0x10004
movq -0x8(%rbp), %rdi
addq $0x60, %rdi
addq $0x8, %rdi
leaq 0x2c2a2(%rip), %rsi     # 0x518d7
callq 0x81c0
movq -0x8(%rbp), %rdi
movl $0x51, %esi
callq 0x4d560
jmp 0x2579e
movq -0x8(%rbp), %rax
cmpl $0x3, 0x240(%rax)
jne 0x25690
movq -0x8(%rbp), %rax
movl $0x10004, 0x60(%rax)    # imm = 0x10004
movq -0x8(%rbp), %rdi
addq $0x60, %rdi
addq $0x8, %rdi
leaq 0x2c264(%rip), %rsi     # 0x518dc
callq 0x81c0
movq -0x8(%rbp), %rdi
movl $0x51, %esi
callq 0x4d560
jmp 0x2579c
movq -0x8(%rbp), %rax
cmpl $0x4, 0x240(%rax)
jne 0x256d3
movq -0x8(%rbp), %rax
movl $0x10004, 0x60(%rax)    # imm = 0x10004
movq -0x8(%rbp), %rdi
addq $0x60, %rdi
addq $0x8, %rdi
leaq 0x2c226(%rip), %rsi     # 0x518e1
callq 0x81c0
movq -0x8(%rbp), %rdi
movl $0x5c, %esi
callq 0x4d560
jmp 0x2579a
movq -0x8(%rbp), %rax
cmpl $0x5, 0x240(%rax)
jne 0x25716
movq -0x8(%rbp), %rax
movl $0x10004, 0x60(%rax)    # imm = 0x10004
movq -0x8(%rbp), %rdi
addq $0x60, %rdi
addq $0x8, %rdi
leaq 0x2c1e8(%rip), %rsi     # 0x518e6
callq 0x81c0
movq -0x8(%rbp), %rdi
movl $0x5c, %esi
callq 0x4d560
jmp 0x25798
movq -0x8(%rbp), %rax
cmpl $0x6, 0x240(%rax)
jne 0x25756
movq -0x8(%rbp), %rax
movl $0x10004, 0x60(%rax)    # imm = 0x10004
movq -0x8(%rbp), %rdi
addq $0x60, %rdi
addq $0x8, %rdi
leaq 0x2c1aa(%rip), %rsi     # 0x518eb
callq 0x81c0
movq -0x8(%rbp), %rdi
movl $0x5c, %esi
callq 0x4d560
jmp 0x25796
movq -0x8(%rbp), %rax
cmpl $0x7, 0x240(%rax)
jne 0x25794
movq -0x8(%rbp), %rax
movl $0x10004, 0x60(%rax)    # imm = 0x10004
movq -0x8(%rbp), %rdi
addq $0x60, %rdi
addq $0x8, %rdi
leaq 0x2c16f(%rip), %rsi     # 0x518f0
callq 0x81c0
movq -0x8(%rbp), %rdi
movl $0x5c, %esi
callq 0x4d560
jmp 0x25796
jmp 0x25798
jmp 0x2579a
jmp 0x2579c
jmp 0x2579e
jmp 0x257a0
jmp 0x257a2
addq $0x10, %rsp
popq %rbp
retq
nopl (%rax,%rax)