// File: /workspace/github_c_makefile_star2_O0/buptlxb[P]xRay/disasm/instr_set/opcodes_Grp13.c
// Function: G13_
void __bea_callspec__ G13_(PDISASM pMyDisasm)
{
    long MyNumber;

    GV.REGOPCODE = ((*((UInt8*)(UIntPtr) (GV.EIP_+1))) >> 3) & 0x7;
    if (GV.REGOPCODE == 2) {
        if (GV.OperandSize == 16) {
            (*pMyDisasm).Instruction.Category = SSE_INSTRUCTION+SHIFT_ROTATE;
            GV.MemDecoration = Arg1dqword;
            GV.ImmediatSize = 8;
            GV.SSE_ = 1;
            MOD_RM(&(*pMyDisasm).Argument1, pMyDisasm);
            GV.SSE_ = 0;
            if (GV.MOD_== 0x3) {
                #ifndef BEA_LIGHT_DISASSEMBLY
                   (void) strcpy ((*pMyDisasm).Instruction.Mnemonic, "psrld ");
                #endif
            }
            else {
                FailDecode(pMyDisasm);
            }
            GV.EIP_ += GV.DECALAGE_EIP+3;
            if (!Security(0, pMyDisasm)) return;

            MyNumber = *((UInt8*)(UIntPtr) (GV.EIP_-1));
            #ifndef BEA_LIGHT_DISASSEMBLY
               (void) CopyFormattedNumber(pMyDisasm, (char*) &(*pMyDisasm).Argument2.ArgMnemonic,"%.2X",(Int64) MyNumber);
            #endif
            (*pMyDisasm).Instruction.Immediat = MyNumber;
            (*pMyDisasm).Argument2.ArgType = CONSTANT_TYPE+ABSOLUTE_;
            (*pMyDisasm).Argument2.ArgSize = 8;
        }
        else {
            (*pMyDisasm).Instruction.Category = MMX_INSTRUCTION+SHIFT_ROTATE;
            GV.MemDecoration = Arg1qword;
            GV.ImmediatSize = 8;
            GV.MMX_ = 1;
            MOD_RM(&(*pMyDisasm).Argument1, pMyDisasm);
            GV.MMX_ = 0;
            if (GV.MOD_== 0x3) {
                #ifndef BEA_LIGHT_DISASSEMBLY
                   (void) strcpy ((*pMyDisasm).Instruction.Mnemonic, "psrld ");
                #endif
            }
            else {
                FailDecode(pMyDisasm);
            }
            GV.EIP_ += GV.DECALAGE_EIP+3;
            if (!Security(0, pMyDisasm)) return;

            MyNumber = *((UInt8*)(UIntPtr) (GV.EIP_-1));
            #ifndef BEA_LIGHT_DISASSEMBLY
               (void) CopyFormattedNumber(pMyDisasm, (char*) &(*pMyDisasm).Argument2.ArgMnemonic,"%.2X",(Int64) MyNumber);
            #endif
            (*pMyDisasm).Instruction.Immediat = MyNumber;
            (*pMyDisasm).Argument2.ArgType = CONSTANT_TYPE+ABSOLUTE_;
            (*pMyDisasm).Argument2.ArgSize = 8;
        }
    }
    else if (GV.REGOPCODE == 4) {
        if (GV.OperandSize == 16) {
            (*pMyDisasm).Instruction.Category = SSE_INSTRUCTION+SHIFT_ROTATE;
            GV.MemDecoration = Arg1dqword;
            GV.ImmediatSize = 8;
            GV.SSE_ = 1;
            MOD_RM(&(*pMyDisasm).Argument1, pMyDisasm);
            GV.SSE_ = 0;
            if (GV.MOD_== 0x3) {
                #ifndef BEA_LIGHT_DISASSEMBLY
                   (void) strcpy ((*pMyDisasm).Instruction.Mnemonic, "psrad ");
                #endif
            }
            else {
                FailDecode(pMyDisasm);
            }
            GV.EIP_ += GV.DECALAGE_EIP+3;
            if (!Security(0, pMyDisasm)) return;
            MyNumber = *((UInt8*)(UIntPtr) (GV.EIP_-1));
            #ifndef BEA_LIGHT_DISASSEMBLY
               (void) CopyFormattedNumber(pMyDisasm, (char*) &(*pMyDisasm).Argument2.ArgMnemonic,"%.2X",(Int64) MyNumber);
            #endif
            (*pMyDisasm).Instruction.Immediat = MyNumber;
            (*pMyDisasm).Argument2.ArgType = CONSTANT_TYPE+ABSOLUTE_;
            (*pMyDisasm).Argument2.ArgSize = 8;
        }
        else {
            (*pMyDisasm).Instruction.Category = MMX_INSTRUCTION+SHIFT_ROTATE;
            GV.MemDecoration = Arg1qword;
            GV.ImmediatSize = 8;
            GV.MMX_ = 1;
            MOD_RM(&(*pMyDisasm).Argument1, pMyDisasm);
            GV.MMX_ = 0;
            if (GV.MOD_== 0x3) {
                #ifndef BEA_LIGHT_DISASSEMBLY
                   (void) strcpy ((*pMyDisasm).Instruction.Mnemonic, "psrad ");
                #endif
            }
            else {
                FailDecode(pMyDisasm);
            }
            GV.EIP_ += GV.DECALAGE_EIP+3;
            if (!Security(0, pMyDisasm)) return;

            MyNumber = *((UInt8*)(UIntPtr) (GV.EIP_-1));
            #ifndef BEA_LIGHT_DISASSEMBLY
               (void) CopyFormattedNumber(pMyDisasm, (char*) &(*pMyDisasm).Argument2.ArgMnemonic,"%.2X",(Int64) MyNumber);
            #endif
            (*pMyDisasm).Instruction.Immediat = MyNumber;
            (*pMyDisasm).Argument2.ArgType = CONSTANT_TYPE+ABSOLUTE_;
            (*pMyDisasm).Argument2.ArgSize = 8;
        }

    }
    else if (GV.REGOPCODE == 6) {
        if (GV.OperandSize == 16) {
            (*pMyDisasm).Instruction.Category = SSE_INSTRUCTION+SHIFT_ROTATE;
            GV.MemDecoration = Arg1dqword;
            GV.ImmediatSize = 8;
            GV.SSE_ = 1;
            MOD_RM(&(*pMyDisasm).Argument1, pMyDisasm);
            GV.SSE_ = 0;
            if (GV.MOD_== 0x3) {
                #ifndef BEA_LIGHT_DISASSEMBLY
                   (void) strcpy ((*pMyDisasm).Instruction.Mnemonic, "pslld ");
                #endif
            }
            else {
                FailDecode(pMyDisasm);
            }
            GV.EIP_ += GV.DECALAGE_EIP+3;
            if (!Security(0, pMyDisasm)) return;

            MyNumber = *((UInt8*)(UIntPtr) (GV.EIP_-1));
            #ifndef BEA_LIGHT_DISASSEMBLY
               (void) CopyFormattedNumber(pMyDisasm, (char*) &(*pMyDisasm).Argument2.ArgMnemonic,"%.2X",(Int64) MyNumber);
            #endif
            (*pMyDisasm).Instruction.Immediat = MyNumber;
            (*pMyDisasm).Argument2.ArgType = CONSTANT_TYPE+ABSOLUTE_;
            (*pMyDisasm).Argument2.ArgSize = 8;
        }
        else {
            (*pMyDisasm).Instruction.Category = MMX_INSTRUCTION+SHIFT_ROTATE;
            GV.MemDecoration = Arg1qword;
            GV.ImmediatSize = 8;
            GV.MMX_ = 1;
            MOD_RM(&(*pMyDisasm).Argument1, pMyDisasm);
            GV.MMX_ = 0;
            if (GV.MOD_== 0x3) {
                #ifndef BEA_LIGHT_DISASSEMBLY
                   (void) strcpy ((*pMyDisasm).Instruction.Mnemonic, "pslld ");
                #endif
            }
            else {
                FailDecode(pMyDisasm);
            }
            GV.EIP_ += GV.DECALAGE_EIP+3;
            if (!Security(0, pMyDisasm)) return;

            MyNumber = *((UInt8*)(UIntPtr) (GV.EIP_-1));
            #ifndef BEA_LIGHT_DISASSEMBLY
               (void) CopyFormattedNumber(pMyDisasm, (char*) &(*pMyDisasm).Argument2.ArgMnemonic,"%.2X",(Int64) MyNumber);
            #endif
            (*pMyDisasm).Instruction.Immediat = MyNumber;
            (*pMyDisasm).Argument2.ArgType = CONSTANT_TYPE+ABSOLUTE_;
            (*pMyDisasm).Argument2.ArgSize = 8;
        }
    }

    else {
        FailDecode(pMyDisasm);
    }

}

// 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 $0x2, 0x240(%rax)
jne 0x36755
movq -0x8(%rbp), %rax
cmpl $0x10, 0x20c(%rax)
jne 0x36631
movq -0x8(%rbp), %rax
movl $0x80004, 0x60(%rax)    # imm = 0x80004
movq -0x8(%rbp), %rax
movl $0x8, 0x210(%rax)
movq -0x8(%rbp), %rax
movl $0x8, 0x260(%rax)
movq -0x8(%rbp), %rax
movl $0x1, 0x230(%rax)
movq -0x8(%rbp), %rdi
addq $0x9c, %rdi
movq -0x8(%rbp), %rsi
callq 0x4dbc0
movq -0x8(%rbp), %rax
movl $0x0, 0x230(%rax)
movq -0x8(%rbp), %rax
cmpl $0x3, 0x218(%rax)
jne 0x3658b
movq -0x8(%rbp), %rdi
addq $0x60, %rdi
addq $0x8, %rdi
leaq 0x1b4a8(%rip), %rsi     # 0x51a2c
callq 0x81c0
jmp 0x36594
movq -0x8(%rbp), %rdi
callq 0x30050
movq -0x8(%rbp), %rax
movl 0x244(%rax), %eax
addl $0x3, %eax
movl %eax, %eax
movl %eax, %ecx
movq -0x8(%rbp), %rax
addq 0x1f0(%rax), %rcx
movq %rcx, 0x1f0(%rax)
movq -0x8(%rbp), %rsi
xorl %edi, %edi
callq 0x4d340
cmpl $0x0, %eax
jne 0x365cc
jmp 0x36c30
movq -0x8(%rbp), %rax
movq 0x1f0(%rax), %rax
subq $0x1, %rax
movzbl (%rax), %eax
movq %rax, -0x10(%rbp)
movq -0x8(%rbp), %rdi
movq -0x8(%rbp), %rsi
addq $0x104, %rsi            # imm = 0x104
movq -0x10(%rbp), %rcx
leaq 0x1ae5f(%rip), %rdx     # 0x5145b
callq 0x4d3a0
movq -0x10(%rbp), %rcx
movq -0x8(%rbp), %rax
movq %rcx, 0x90(%rax)
movq -0x8(%rbp), %rax
movl $0x88000000, 0x144(%rax) # imm = 0x88000000
movq -0x8(%rbp), %rax
movl $0x8, 0x148(%rax)
jmp 0x36750
movq -0x8(%rbp), %rax
movl $0x40004, 0x60(%rax)    # imm = 0x40004
movq -0x8(%rbp), %rax
movl $0x4, 0x210(%rax)
movq -0x8(%rbp), %rax
movl $0x8, 0x260(%rax)
movq -0x8(%rbp), %rax
movl $0x1, 0x22c(%rax)
movq -0x8(%rbp), %rdi
addq $0x9c, %rdi
movq -0x8(%rbp), %rsi
callq 0x4dbc0
movq -0x8(%rbp), %rax
movl $0x0, 0x22c(%rax)
movq -0x8(%rbp), %rax
cmpl $0x3, 0x218(%rax)
jne 0x366af
movq -0x8(%rbp), %rdi
addq $0x60, %rdi
addq $0x8, %rdi
leaq 0x1b384(%rip), %rsi     # 0x51a2c
callq 0x81c0
jmp 0x366b8
movq -0x8(%rbp), %rdi
callq 0x30050
movq -0x8(%rbp), %rax
movl 0x244(%rax), %eax
addl $0x3, %eax
movl %eax, %eax
movl %eax, %ecx
movq -0x8(%rbp), %rax
addq 0x1f0(%rax), %rcx
movq %rcx, 0x1f0(%rax)
movq -0x8(%rbp), %rsi
xorl %edi, %edi
callq 0x4d340
cmpl $0x0, %eax
jne 0x366f0
jmp 0x36c30
movq -0x8(%rbp), %rax
movq 0x1f0(%rax), %rax
subq $0x1, %rax
movzbl (%rax), %eax
movq %rax, -0x10(%rbp)
movq -0x8(%rbp), %rdi
movq -0x8(%rbp), %rsi
addq $0x104, %rsi            # imm = 0x104
movq -0x10(%rbp), %rcx
leaq 0x1ad3b(%rip), %rdx     # 0x5145b
callq 0x4d3a0
movq -0x10(%rbp), %rcx
movq -0x8(%rbp), %rax
movq %rcx, 0x90(%rax)
movq -0x8(%rbp), %rax
movl $0x88000000, 0x144(%rax) # imm = 0x88000000
movq -0x8(%rbp), %rax
movl $0x8, 0x148(%rax)
jmp 0x36c30
movq -0x8(%rbp), %rax
cmpl $0x4, 0x240(%rax)
jne 0x369bf
movq -0x8(%rbp), %rax
cmpl $0x10, 0x20c(%rax)
jne 0x3689b
movq -0x8(%rbp), %rax
movl $0x80004, 0x60(%rax)    # imm = 0x80004
movq -0x8(%rbp), %rax
movl $0x8, 0x210(%rax)
movq -0x8(%rbp), %rax
movl $0x8, 0x260(%rax)
movq -0x8(%rbp), %rax
movl $0x1, 0x230(%rax)
movq -0x8(%rbp), %rdi
addq $0x9c, %rdi
movq -0x8(%rbp), %rsi
callq 0x4dbc0
movq -0x8(%rbp), %rax
movl $0x0, 0x230(%rax)
movq -0x8(%rbp), %rax
cmpl $0x3, 0x218(%rax)
jne 0x367f5
movq -0x8(%rbp), %rdi
addq $0x60, %rdi
addq $0x8, %rdi
leaq 0x1b245(%rip), %rsi     # 0x51a33
callq 0x81c0
jmp 0x367fe
movq -0x8(%rbp), %rdi
callq 0x30050
movq -0x8(%rbp), %rax
movl 0x244(%rax), %eax
addl $0x3, %eax
movl %eax, %eax
movl %eax, %ecx
movq -0x8(%rbp), %rax
addq 0x1f0(%rax), %rcx
movq %rcx, 0x1f0(%rax)
movq -0x8(%rbp), %rsi
xorl %edi, %edi
callq 0x4d340
cmpl $0x0, %eax
jne 0x36836
jmp 0x36c30
movq -0x8(%rbp), %rax
movq 0x1f0(%rax), %rax
subq $0x1, %rax
movzbl (%rax), %eax
movq %rax, -0x10(%rbp)
movq -0x8(%rbp), %rdi
movq -0x8(%rbp), %rsi
addq $0x104, %rsi            # imm = 0x104
movq -0x10(%rbp), %rcx
leaq 0x1abf5(%rip), %rdx     # 0x5145b
callq 0x4d3a0
movq -0x10(%rbp), %rcx
movq -0x8(%rbp), %rax
movq %rcx, 0x90(%rax)
movq -0x8(%rbp), %rax
movl $0x88000000, 0x144(%rax) # imm = 0x88000000
movq -0x8(%rbp), %rax
movl $0x8, 0x148(%rax)
jmp 0x369ba
movq -0x8(%rbp), %rax
movl $0x40004, 0x60(%rax)    # imm = 0x40004
movq -0x8(%rbp), %rax
movl $0x4, 0x210(%rax)
movq -0x8(%rbp), %rax
movl $0x8, 0x260(%rax)
movq -0x8(%rbp), %rax
movl $0x1, 0x22c(%rax)
movq -0x8(%rbp), %rdi
addq $0x9c, %rdi
movq -0x8(%rbp), %rsi
callq 0x4dbc0
movq -0x8(%rbp), %rax
movl $0x0, 0x22c(%rax)
movq -0x8(%rbp), %rax
cmpl $0x3, 0x218(%rax)
jne 0x36919
movq -0x8(%rbp), %rdi
addq $0x60, %rdi
addq $0x8, %rdi
leaq 0x1b121(%rip), %rsi     # 0x51a33
callq 0x81c0
jmp 0x36922
movq -0x8(%rbp), %rdi
callq 0x30050
movq -0x8(%rbp), %rax
movl 0x244(%rax), %eax
addl $0x3, %eax
movl %eax, %eax
movl %eax, %ecx
movq -0x8(%rbp), %rax
addq 0x1f0(%rax), %rcx
movq %rcx, 0x1f0(%rax)
movq -0x8(%rbp), %rsi
xorl %edi, %edi
callq 0x4d340
cmpl $0x0, %eax
jne 0x3695a
jmp 0x36c30
movq -0x8(%rbp), %rax
movq 0x1f0(%rax), %rax
subq $0x1, %rax
movzbl (%rax), %eax
movq %rax, -0x10(%rbp)
movq -0x8(%rbp), %rdi
movq -0x8(%rbp), %rsi
addq $0x104, %rsi            # imm = 0x104
movq -0x10(%rbp), %rcx
leaq 0x1aad1(%rip), %rdx     # 0x5145b
callq 0x4d3a0
movq -0x10(%rbp), %rcx
movq -0x8(%rbp), %rax
movq %rcx, 0x90(%rax)
movq -0x8(%rbp), %rax
movl $0x88000000, 0x144(%rax) # imm = 0x88000000
movq -0x8(%rbp), %rax
movl $0x8, 0x148(%rax)
jmp 0x36c2e
movq -0x8(%rbp), %rax
cmpl $0x6, 0x240(%rax)
jne 0x36c23
movq -0x8(%rbp), %rax
cmpl $0x10, 0x20c(%rax)
jne 0x36b05
movq -0x8(%rbp), %rax
movl $0x80004, 0x60(%rax)    # imm = 0x80004
movq -0x8(%rbp), %rax
movl $0x8, 0x210(%rax)
movq -0x8(%rbp), %rax
movl $0x8, 0x260(%rax)
movq -0x8(%rbp), %rax
movl $0x1, 0x230(%rax)
movq -0x8(%rbp), %rdi
addq $0x9c, %rdi
movq -0x8(%rbp), %rsi
callq 0x4dbc0
movq -0x8(%rbp), %rax
movl $0x0, 0x230(%rax)
movq -0x8(%rbp), %rax
cmpl $0x3, 0x218(%rax)
jne 0x36a5f
movq -0x8(%rbp), %rdi
addq $0x60, %rdi
addq $0x8, %rdi
leaq 0x1afe2(%rip), %rsi     # 0x51a3a
callq 0x81c0
jmp 0x36a68
movq -0x8(%rbp), %rdi
callq 0x30050
movq -0x8(%rbp), %rax
movl 0x244(%rax), %eax
addl $0x3, %eax
movl %eax, %eax
movl %eax, %ecx
movq -0x8(%rbp), %rax
addq 0x1f0(%rax), %rcx
movq %rcx, 0x1f0(%rax)
movq -0x8(%rbp), %rsi
xorl %edi, %edi
callq 0x4d340
cmpl $0x0, %eax
jne 0x36aa0
jmp 0x36c30
movq -0x8(%rbp), %rax
movq 0x1f0(%rax), %rax
subq $0x1, %rax
movzbl (%rax), %eax
movq %rax, -0x10(%rbp)
movq -0x8(%rbp), %rdi
movq -0x8(%rbp), %rsi
addq $0x104, %rsi            # imm = 0x104
movq -0x10(%rbp), %rcx
leaq 0x1a98b(%rip), %rdx     # 0x5145b
callq 0x4d3a0
movq -0x10(%rbp), %rcx
movq -0x8(%rbp), %rax
movq %rcx, 0x90(%rax)
movq -0x8(%rbp), %rax
movl $0x88000000, 0x144(%rax) # imm = 0x88000000
movq -0x8(%rbp), %rax
movl $0x8, 0x148(%rax)
jmp 0x36c21
movq -0x8(%rbp), %rax
movl $0x40004, 0x60(%rax)    # imm = 0x40004
movq -0x8(%rbp), %rax
movl $0x4, 0x210(%rax)
movq -0x8(%rbp), %rax
movl $0x8, 0x260(%rax)
movq -0x8(%rbp), %rax
movl $0x1, 0x22c(%rax)
movq -0x8(%rbp), %rdi
addq $0x9c, %rdi
movq -0x8(%rbp), %rsi
callq 0x4dbc0
movq -0x8(%rbp), %rax
movl $0x0, 0x22c(%rax)
movq -0x8(%rbp), %rax
cmpl $0x3, 0x218(%rax)
jne 0x36b83
movq -0x8(%rbp), %rdi
addq $0x60, %rdi
addq $0x8, %rdi
leaq 0x1aebe(%rip), %rsi     # 0x51a3a
callq 0x81c0
jmp 0x36b8c
movq -0x8(%rbp), %rdi
callq 0x30050
movq -0x8(%rbp), %rax
movl 0x244(%rax), %eax
addl $0x3, %eax
movl %eax, %eax
movl %eax, %ecx
movq -0x8(%rbp), %rax
addq 0x1f0(%rax), %rcx
movq %rcx, 0x1f0(%rax)
movq -0x8(%rbp), %rsi
xorl %edi, %edi
callq 0x4d340
cmpl $0x0, %eax
jne 0x36bc1
jmp 0x36c30
movq -0x8(%rbp), %rax
movq 0x1f0(%rax), %rax
subq $0x1, %rax
movzbl (%rax), %eax
movq %rax, -0x10(%rbp)
movq -0x8(%rbp), %rdi
movq -0x8(%rbp), %rsi
addq $0x104, %rsi            # imm = 0x104
movq -0x10(%rbp), %rcx
leaq 0x1a86a(%rip), %rdx     # 0x5145b
callq 0x4d3a0
movq -0x10(%rbp), %rcx
movq -0x8(%rbp), %rax
movq %rcx, 0x90(%rax)
movq -0x8(%rbp), %rax
movl $0x88000000, 0x144(%rax) # imm = 0x88000000
movq -0x8(%rbp), %rax
movl $0x8, 0x148(%rax)
jmp 0x36c2c
movq -0x8(%rbp), %rdi
callq 0x30050
jmp 0x36c2e
jmp 0x36c30
addq $0x10, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)