// File: /workspace/github_c_makefile_star2_O0/buptlxb[P]xRay/disasm/instr_set/opcodes_Grp2.c
// Function: G2_Ev1
void __bea_callspec__ G2_Ev1(PDISASM pMyDisasm)
{
    GV.REGOPCODE = ((*((UInt8*)(UIntPtr) (GV.EIP_+1))) >> 3) & 0x7;
    if (GV.OperandSize == 64) {
        GV.MemDecoration = Arg1qword;
    }
    else if (GV.OperandSize == 32) {
        GV.MemDecoration = Arg1dword;
    }
    else {
        GV.MemDecoration = Arg1word;
    }
    MOD_RM(&(*pMyDisasm).Argument1, pMyDisasm);
    #ifndef BEA_LIGHT_DISASSEMBLY
       (void) strcpy ((*pMyDisasm).Argument2.ArgMnemonic, "1 ");
    #endif
    (*pMyDisasm).Argument2.ArgType = CONSTANT_TYPE+ABSOLUTE_;
    (*pMyDisasm).Argument2.ArgSize = 8;
    (*pMyDisasm).Instruction.Immediat = 1;
    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, 87);
    }
    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, 87);
    }
    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, 80);
    }
    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, 80);
    }
    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, 91);
    }
    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, 91);
    }
    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, 91);
    }
    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, 91);
    }
    GV.EIP_ += GV.DECALAGE_EIP+2;
}

// 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), %rax
cmpl $0x40, 0x20c(%rax)
jne 0x265e8
movq -0x8(%rbp), %rax
movl $0x4, 0x210(%rax)
jmp 0x26615
movq -0x8(%rbp), %rax
cmpl $0x20, 0x20c(%rax)
jne 0x26605
movq -0x8(%rbp), %rax
movl $0x3, 0x210(%rax)
jmp 0x26613
movq -0x8(%rbp), %rax
movl $0x2, 0x210(%rax)
jmp 0x26615
movq -0x8(%rbp), %rdi
addq $0x9c, %rdi
movq -0x8(%rbp), %rsi
callq 0x4dbc0
movq -0x8(%rbp), %rdi
addq $0x104, %rdi            # imm = 0x104
leaq 0x2b48a(%rip), %rsi     # 0x51ac5
callq 0x81c0
movq -0x8(%rbp), %rax
movl $0x88000000, 0x144(%rax) # imm = 0x88000000
movq -0x8(%rbp), %rax
movl $0x8, 0x148(%rax)
movq -0x8(%rbp), %rax
movq $0x1, 0x90(%rax)
movq -0x8(%rbp), %rax
cmpl $0x0, 0x240(%rax)
jne 0x266ae
movq -0x8(%rbp), %rax
movl $0x10004, 0x60(%rax)    # imm = 0x10004
movq -0x8(%rbp), %rdi
addq $0x60, %rdi
addq $0x8, %rdi
leaq 0x2b237(%rip), %rsi     # 0x518cd
callq 0x81c0
movq -0x8(%rbp), %rdi
movl $0x57, %esi
callq 0x4d560
jmp 0x26889
movq -0x8(%rbp), %rax
cmpl $0x1, 0x240(%rax)
jne 0x266f1
movq -0x8(%rbp), %rax
movl $0x10004, 0x60(%rax)    # imm = 0x10004
movq -0x8(%rbp), %rdi
addq $0x60, %rdi
addq $0x8, %rdi
leaq 0x2b1f9(%rip), %rsi     # 0x518d2
callq 0x81c0
movq -0x8(%rbp), %rdi
movl $0x57, %esi
callq 0x4d560
jmp 0x26887
movq -0x8(%rbp), %rax
cmpl $0x2, 0x240(%rax)
jne 0x26734
movq -0x8(%rbp), %rax
movl $0x10004, 0x60(%rax)    # imm = 0x10004
movq -0x8(%rbp), %rdi
addq $0x60, %rdi
addq $0x8, %rdi
leaq 0x2b1bb(%rip), %rsi     # 0x518d7
callq 0x81c0
movq -0x8(%rbp), %rdi
movl $0x50, %esi
callq 0x4d560
jmp 0x26885
movq -0x8(%rbp), %rax
cmpl $0x3, 0x240(%rax)
jne 0x26777
movq -0x8(%rbp), %rax
movl $0x10004, 0x60(%rax)    # imm = 0x10004
movq -0x8(%rbp), %rdi
addq $0x60, %rdi
addq $0x8, %rdi
leaq 0x2b17d(%rip), %rsi     # 0x518dc
callq 0x81c0
movq -0x8(%rbp), %rdi
movl $0x50, %esi
callq 0x4d560
jmp 0x26883
movq -0x8(%rbp), %rax
cmpl $0x4, 0x240(%rax)
jne 0x267ba
movq -0x8(%rbp), %rax
movl $0x10004, 0x60(%rax)    # imm = 0x10004
movq -0x8(%rbp), %rdi
addq $0x60, %rdi
addq $0x8, %rdi
leaq 0x2b13f(%rip), %rsi     # 0x518e1
callq 0x81c0
movq -0x8(%rbp), %rdi
movl $0x5b, %esi
callq 0x4d560
jmp 0x26881
movq -0x8(%rbp), %rax
cmpl $0x5, 0x240(%rax)
jne 0x267fd
movq -0x8(%rbp), %rax
movl $0x10004, 0x60(%rax)    # imm = 0x10004
movq -0x8(%rbp), %rdi
addq $0x60, %rdi
addq $0x8, %rdi
leaq 0x2b101(%rip), %rsi     # 0x518e6
callq 0x81c0
movq -0x8(%rbp), %rdi
movl $0x5b, %esi
callq 0x4d560
jmp 0x2687f
movq -0x8(%rbp), %rax
cmpl $0x6, 0x240(%rax)
jne 0x2683d
movq -0x8(%rbp), %rax
movl $0x10004, 0x60(%rax)    # imm = 0x10004
movq -0x8(%rbp), %rdi
addq $0x60, %rdi
addq $0x8, %rdi
leaq 0x2b0c3(%rip), %rsi     # 0x518eb
callq 0x81c0
movq -0x8(%rbp), %rdi
movl $0x5b, %esi
callq 0x4d560
jmp 0x2687d
movq -0x8(%rbp), %rax
cmpl $0x7, 0x240(%rax)
jne 0x2687b
movq -0x8(%rbp), %rax
movl $0x10004, 0x60(%rax)    # imm = 0x10004
movq -0x8(%rbp), %rdi
addq $0x60, %rdi
addq $0x8, %rdi
leaq 0x2b088(%rip), %rsi     # 0x518f0
callq 0x81c0
movq -0x8(%rbp), %rdi
movl $0x5b, %esi
callq 0x4d560
jmp 0x2687d
jmp 0x2687f
jmp 0x26881
jmp 0x26883
jmp 0x26885
jmp 0x26887
jmp 0x26889
movq -0x8(%rbp), %rax
movl 0x244(%rax), %eax
addl $0x2, %eax
movl %eax, %eax
movl %eax, %ecx
movq -0x8(%rbp), %rax
addq 0x1f0(%rax), %rcx
movq %rcx, 0x1f0(%rax)
addq $0x10, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)